KR19980022190A - Message output device and method of ATM switch - Google Patents

Message output device and method of ATM switch Download PDF

Info

Publication number
KR19980022190A
KR19980022190A KR1019960041282A KR19960041282A KR19980022190A KR 19980022190 A KR19980022190 A KR 19980022190A KR 1019960041282 A KR1019960041282 A KR 1019960041282A KR 19960041282 A KR19960041282 A KR 19960041282A KR 19980022190 A KR19980022190 A KR 19980022190A
Authority
KR
South Korea
Prior art keywords
message
file
stored
file name
queue
Prior art date
Application number
KR1019960041282A
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 KR1019960041282A priority Critical patent/KR19980022190A/en
Publication of KR19980022190A publication Critical patent/KR19980022190A/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 ATM 교환기의 메시지 출력 장치 및 그 방법에 관한 것으로, 본 발명의 장치는 메시지를 출력하기 위해 프린터(20)와 연결되어 있는 워크스테이션(30)에 있어서, 파일을 저장하는 스풀 디렉토리(31)와 ; 메시지 종류별로 마련되어 있어 파일명을 저장하는 다수개의 큐(32) ; 출력해야 할 메시지를 ATM 교환기(10)로부터 수신하면, 상기 메시지의 종류를 분석하여 파일로 만든 후, 상기 생성된 파일을 상기 스풀 디렉토리(31)에 저장하는 동시에 파일명을 해당 큐(32)에 저장하고, 우선 순위에 의해 일정 시간 간격으로 상기 큐(32)에 저장된 파일명이 있는가를 검색하여 저장된 파일명이 있으면 상기 스풀 디렉토리(31)에 저장된 해당 파일을 상기 프린터(20)로 전송하는 제어부(33)로 구성되어 있어, 메시지에 대한 종류별 출력 및 우선 순위별 출력, 특정 메시지 출력이 가능하도록 함으로써, 워크스테이션의 자료를 보다 효율적으로 이용한다는 데 그 효과가 있다.The present invention relates to a message output device and method thereof of an ATM switch, and the device of the present invention, in the workstation 30 is connected to the printer 20 for outputting a message, a spool directory (31) for storing files )Wow ; A plurality of queues 32 provided for message types and storing file names; When the message to be output is received from the ATM switch 10, the message type is analyzed and made into a file, and the generated file is stored in the spool directory 31 and the file name is stored in the queue 32. Search for whether there is a file name stored in the queue 32 at a predetermined time interval by priority, and if the file name is stored, the control unit 33 transmits the corresponding file stored in the spool directory 31 to the printer 20. It is configured to enable the output of the message by type, priority, and specific message output, which makes the data of the workstation more efficient.

Description

ATM 교환기의 메시지 출력 장치 및 그 방법 (An apparatus for and method of printing a message of a ATM exchanger )An apparatus for and method of printing a message of a ATM exchanger

본 발명은 ATM 교환기의 메시지 출력 장치 및 방법에 관한 것으로, 특히 메시지의 종류에 따라 우선 순위를 두어 출력하거나 혹은 특정 메시지만을 출력하도록 되어진 ATM 교환기의 메시지 출력 장치 및 그 방법에 관한 것이다.The present invention relates to a message output device and method of the ATM switch, and more particularly, to a message output device and method of the ATM switch that is configured to output a priority or output only a specific message according to the type of message.

일반적으로 ATM 교환기는 워크스테이션(Work-Station)에서 타교환기와의 인터페이스를 관장하고 있어, MMC( Man-Machine Command ) 메시지, 경보(Alarm) 메시지, 결함(Fault) 메시지, 상태(Status) 메시지를 워크스테이션에 연결된 라인 프린터를 통해 출력된다.In general, ATM exchanges manage the interface with other exchanges at the work-station, and can provide Man-Machine Command (MMC) messages, alarm messages, fault messages, and status messages. The output is via a line printer connected to the workstation.

그러나 ATM 교환기의 메시지를 워크스테이션을 통해 프린터로 출력하고자 하는 경우, 스풀 디렉토리에 쌓인 메시지가 FIFO( First Input First Output ) 원칙에 따라 출력되도록 되어 있기 때문에, 선택적인 메시지 출력이 불가능하다는 문제점이 있었다.However, when a message of an ATM exchanger is to be outputted to a printer through a workstation, a message accumulated in the spool directory is to be output according to the FIFO (First Input First Output) principle, which makes it impossible to selectively output a message.

이에 본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로, 메시지 종류( MMC, Alarm, Fault, Status )에 따라 별도의 큐를 마련하여 운용자에 의해 출력 메시지가 선택되도록 되어진 ATM 교환기의 메시지 출력 장치 및 그 방법을 제공하는 데 그 목적이 있다.Accordingly, the present invention has been made to solve the above problems, the message output device of the ATM switch is to be selected by the operator by providing a separate queue according to the message type (MMC, Alarm, Fault, Status) And a method thereof.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 ATM 교환기의 메시지 출력장치는, 메시지를 출력하기 위해 프린터와 연결되어 있는 워크스테이션에 있어서, 파일을 저장하는 스풀 디렉토리와 ; 메시지 종류별로 마련되어 있어 파일명을 저장하는 다수개의 큐 ; 출력해야 할 메시지를 ATM 교환기로부터 수신하면, 상기 메시지의 종류를 분석하여 파일로 만든 후, 상기 생성된 파일을 상기 스풀 디렉토리에 저장하는 동시에 파일명을 해당 큐에 저장하고, 우선 순위에 의해 일정 시간 간격으로 상기 큐에 저장된 파일명이 있는가를 검색하여 저장된 파일명이 있으면 상기 스풀 디렉토리에 저장된 해당 파일을 상기 프린터로 전송하는 제어부로 구성되어 있는 것을 특징으로 한다.The message output device of the ATM switch according to the present invention for achieving the above object, in the workstation connected to the printer for outputting the message, a spool directory for storing the file; A plurality of queues to store file names, prepared for each message type; When a message to be output is received from an ATM exchanger, the type of the message is analyzed and made into a file, the generated file is stored in the spool directory, the file name is stored in the corresponding queue, and a predetermined time interval according to the priority. It is characterized in that it comprises a control unit for retrieving whether there is a file name stored in the queue, and if there is a stored file name, transmitting the file stored in the spool directory to the printer.

즉, 본 발명에 따르면 ATM 교환기로부터 메시지가 입력되면 상기 메시지의 종류를 분석하여 파일링한 후, 상기 파일은 스풀 디렉토리에 저장하고 파일명은 해당 큐에 저장하여, 우선 순위에 의해 일정 시간 간격으로 상기 큐를 검색하여 큐에 저장된 파일명이 있으면, 스풀 디렉토리에 저장되어 있는 해당 파일을 프린터로 전송함으로써, 메시지에 대한 종류별 출력 및 우선 순위별 출력, 특정 메시지 출력이 가능하도록 한다.That is, according to the present invention, when a message is input from an ATM exchanger, the type of the message is analyzed and filed, and the file is stored in a spool directory, and the file name is stored in a corresponding queue. If there is a file name stored in the queue, the corresponding file stored in the spool directory is transmitted to the printer, so that the message can be printed by type, priority, and specific message.

도 1 은 본 발명에 따른 ATM 교환기의 메시지 출력 장치를 도시한 블럭도,1 is a block diagram showing a message output apparatus of an ATM switch according to the present invention;

도 2 는 본 발명에 따른 ATM 교환기의 메시지 출력 방법을 도시한 흐름도이다.2 is a flowchart illustrating a message output method of an ATM switch according to the present invention.

* 도면의 주요 부분에 따른 부호의 명칭* Names of symbols according to the main parts of the drawings

10 : ATM 교환기 20 : 워크스테이션10: ATM exchanger 20: workstation

30 : 프린터 31 : 스풀 디렉토리30: printer 31: spool directory

32 : 큐 33 : 제어부32: cue 33: control unit

이하 첨부된 도면을 참조하여 본 발명의 일실시예에 대하여 자세히 살펴보도록 한다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명에 따른 ATM 교환기의 메시지 출력 장치를 도시한 블럭도이다.1 is a block diagram showing a message output apparatus of an ATM switch according to the present invention.

본 발명에 따른 장치는 도 1 에 도시된 바와 같이, ATM 교환기(10)와 프린터(20) 및 워크스테이션(30)으로 구성되어 있다.The apparatus according to the invention consists of an ATM switch 10, a printer 20 and a workstation 30, as shown in FIG.

여기서 상기 워크스테이션(20)은 스풀 디렉토리(31)와, 큐(32) 및 제어부(33)로 구성되어 있다.The workstation 20 is composed of a spool directory 31, a queue 32, and a controller 33.

아울러, 도 2 는 본 발명에 ATM 교환기의 메시지 출력 방법을 도시한 흐름도로서, 본 발명에 따른 제어부(33)는 도 2a,2b 에 도시된 바와 같이 두 개의 프로세스(S1,S2)로 구현될 수 있다.In addition, Figure 2 is a flow chart illustrating a message output method of the ATM switch in the present invention, the control unit 33 according to the present invention can be implemented in two processes (S1, S2) as shown in Figures 2a, 2b. have.

즉, 출력해야 할 메시지를 ATM 교환기(10)로부터 수신하는 단계(S1-1) ; 상기 수신된 메시지의 종류를 식별하는 단계(S1-2) ; 상기 수신된 메시지로 파일를 생성하는 단계(S1-3) ; 상기 생성된 파일을 상기 스풀 디렉토리(31)에 저장하는 동시에 파일명을 전송하는 단계(S1-4)로 구성되어 있는 제 1 처리 과정(S1)과, 상기 전송된 파일명을 수신하는 단계(S2-1) ; 상기 파일명을 분석하여 메시지 종류를 식별하는 단계(S2-2) ; 상기 파일명을 저장해야 할 해당 큐(32)가 꽉차있는가를 판단하여, 꽉차있으면 수신된 파일 이름을 삭제하는 동시에 상기 스풀 디렉토리(31)에 저장된 해당 파일을 삭제하는 단계(S2-3) ; 상기 단계에서 판단한 결과 해당 큐(32)가 꽉차있지 않으면 상기 파일명을 해당 큐(32)에 저장하는 단계(S2-4) ; 각각의 큐(32)에 저장된 파일명이 있는가를 우선 순위별로 검색하여, 파일명이 저장되어 있으면 상기 스풀 디렉토리(31)에 저장된 해당 파일을 상기 프린터(20)로 전송하는 단계(S2-5)로 구성되어 있는 제 2 처리 과정(S2)을 순차적으로 동작한다.That is, step S1-1 of receiving a message to be output from the ATM switch 10; Identifying the type of the received message (S1-2); Generating a file from the received message (S1-3); Storing the generated file in the spool directory 31 and simultaneously transmitting a file name (S1-4) and receiving the transferred file name (S2-1). ); Analyzing the file name to identify a message type (S2-2); Determining whether the corresponding queue 32 to store the file name is full, and deleting the received file name and deleting the corresponding file stored in the spool directory 31 when the file name is full (S2-3); If the queue 32 is not full as a result of the determination in the above step, storing the file name in the queue 32 (S2-4); Searching whether there is a file name stored in each queue 32 by priority, and if the file name is stored, transmitting the corresponding file stored in the spool directory 31 to the printer 20 (S2-5). The second process S2 is sequentially operated.

이어서 상기와 같이 구성된 본 발명의 동작 및 효과를 살펴보도록 한다.Then look at the operation and effect of the present invention configured as described above.

상기 큐(32)는 MMC( Man-Machine Command ) 메시지를 담고 있는 파일의 파일명을 저장하기 위한 제 1 큐(32-1)와, 경보(Alarm)를 담고 있는 파일의 파일명을 저장하기 위한 제 2 큐(32-2), 결함(Fault) 메시지를 담고 있는 파일의 파일명을 저장하기 위한 제 3 큐(32-3), 및 상태(Status) 메시지를 담고 있는 파일의 파일명을 저장하기 위한 제 4 큐(32-4)로 구성되어 있다.The queue 32 includes a first queue 32-1 for storing a file name of a file containing a Man-Machine Command (MMC) message, and a second file for storing a file name of a file containing an alarm. Queue 32-2, third queue 32-3 for storing the file name of the file containing the Fault message, and fourth queue for storing the file name of the file containing the Status message. It consists of (32-4).

본 발명에 따른 제어부(33)는 도 2 에 도시된 바와 같이 두 개의 처리 과정(S1,S2)로 구현될 수 있는데, 먼저 제 1 처리 과정에서 ( 도 2a 에 도시된 바와 같음 ), 출력해야 할 메시지를 ATM 교환기(10)로부터 수신하면(S1-1), 상기 수신된 메시지의 종류를 분석한 후(S1-2), 파일링한다(S1-3).As shown in FIG. 2, the controller 33 according to the present invention may be embodied in two processes S1 and S2. First, in the first process (as shown in FIG. 2A), the controller 33 should be output. When the message is received from the ATM switch 10 (S1-1), the type of the received message is analyzed (S1-2) and then filed (S1-3).

이때 상기 수신된 메시지가 MMC 메시지라고 가정하자. 상기 생성된 파일은 상기 스풀 디렉토리(31)에 저장되는 동시에, 파일명은 제 2 처리 과정(S2)으로 전송된다(S1-4).In this case, assume that the received message is an MMC message. The generated file is stored in the spool directory 31 and the file name is transferred to the second processing step S2 (S1-4).

이에 따라 제 2 처리 과정에서는( 도 2b에 도시된 바와 같음 ), 상기 파일명을 수신받아(S2-1), 상기 파일명을 분석하여 메시지 종류를 식별한다(S2-2).Accordingly, in the second process (as shown in FIG. 2B), the file name is received (S2-1), and the message type is analyzed to identify the message type (S2-2).

메시지 종류가 식별되고 나면, 상기 파일명을 저장해야 할 해당 큐, 즉 제 1 큐(32-1)가 꽉차있는가를 판단하여, 꽉차있으면 수신된 파일 이름을 무시하는 동시에 상기 스풀 디렉토리(31)에 저장된 해당 파일을 삭제하고(S2-3), 해당 큐(32-1)가 꽉차있지 않으면 상기 파일명을 상기 해당 큐(32-1)에 저장한다(S2-4). 이에 따라 어떠한 경우에도 상기 큐(32) 및 스풀 디렉토리(31)가 넘치지 않게 되어, 데이터의 손실을 방지할 수 있다.After the message type is identified, it is determined whether the corresponding queue to store the file name, that is, the first queue 32-1, is full, and if it is full, the corresponding file stored in the spool directory 31 is ignored while the received file name is ignored. If the file is deleted (S2-3), and the queue 32-1 is not full, the file name is stored in the queue 32-1 (S2-4). In this case, the queue 32 and the spool directory 31 do not overflow in any case, and data loss can be prevented.

한편, 상기 제 2 처리 과정(S2)에서는, 각각의 큐(32)에 저장된 파일명이 있는가를 우선 순위별로 검색하여, 파일명이 저장되어 있으면 상기 프린터(20)로 출력하기 위해 상기 스풀 디렉토리(31)에 저장된 해당 파일을 상기 프린터(20)로 전송한다(S2-5).On the other hand, in the second processing step (S2), the file name stored in each queue 32 is searched by priority, and if the file name is stored in the spool directory 31 to output to the printer 20 The stored file is transmitted to the printer 20 (S2-5).

즉, 우선 순위가 가장 높은 큐(32)에 파일명이 저장되어 있는가를 제일 먼저 검색하여, 파일명이 저장되어 있으면 상기 스풀 드렉토리(31)에 저장되어 있는 해당 파일을 출력하고, 파일명이 저장되어 있지 않으면 그 다음 우선 순위의 큐(32)를 검색한다.That is, the first search is made to see if the file name is stored in the queue 32 having the highest priority, and if the file name is stored, the corresponding file stored in the spool directory 31 is outputted. The queue 32 of priority is then searched.

이상에서 살펴본 바와 같이 본 발명은 ATM 교환기(10)로부터 메시지가 입력되면 상기 메시지의 종류를 분석하여 파일링한 후, 상기 파일은 스풀 디렉토리(31)에 저장하고 파일명은 해당 큐(32)에 저장하여, 우선 순위에 의해 일정 시간 간격으로 상기 큐(32)를 검색하여 큐(32)에 저장된 파일명이 있으면, 스풀 디렉토리(31)에 저장되어 있는 해당 파일을 프린터(20)로 전송함으로써, 메시지에 대한 종류별 출력 및 우선 순위별 출력, 특정 메시지 출력이 가능하도록 한다는 데 그 효과가 있다.As described above, in the present invention, when a message is input from the ATM switcher 10, the message is analyzed and filed, and the file is stored in the spool directory 31 and the file name is stored in the queue 32. If there is a file name stored in the queue 32 by searching the queue 32 at a predetermined time interval according to the priority, the corresponding file stored in the spool directory 31 is transmitted to the printer 20, thereby transmitting the message. This has the effect of enabling output by type, priority output, and specific message output.

Claims (2)

메시지를 출력하기 위해 프린터(20)와 연결되어 있는 워크스테이션(30)에 있어서, 파일을 저장하는 스풀 디렉토리(31)와 메시지 종류별로 마련되어 있어 파일명을 저장하는 다수개의 큐(32) 출력해야 할 메시지를 ATM 교환기(10)로부터 수신하면, 상기 메시지의 종류를 분석하여 파일로 만든 후, 상기 생성된 파일을 상기 스풀 디렉토리(31)에 저장하는 동시에 파일명을 해당 큐(32)에 저장하고, 우선 순위에 의해 일정 시간 간격으로 상기 큐(32)에 저장된 파일명이 있는가를 검색하여 저장된 파일명이 있으면 상기 스풀 디렉토리(31)에 저장된 해당 파일을 상기 프린터(20)로 전송하는 제어부(33)로 구성되어 있는 것을 특징으로 하는 ATM 교환기의 메시지 출력 장치.In the workstation 30 connected to the printer 20 to output a message, a spool directory 31 for storing files and a plurality of queues 32 for storing file names are provided for each message type. Is received from the ATM exchanger 10, the type of the message is analyzed and made into a file, the generated file is stored in the spool directory 31 and the file name is stored in the queue 32, and the priority is given. Is configured by the control unit 33 for retrieving whether there is a file name stored in the queue 32 at a predetermined time interval and transmitting the file stored in the spool directory 31 to the printer 20 if there is a stored file name. A message output device for an ATM switch. 제 1 항에 있어서, 출력해야 할 메시지를 ATM 교환기(10)로부터 수신하는 단계(S1-1), 상기 수신된 메시지의 종류를 식별하는 단계(S1-2), 상기 수신된 메시지로 파일를 생성하는 단계(S1-3), 상기 생성된 파일을 상기 스풀 디렉토리(31)에 저장하는 동시에 파일명을 전송하는 단계(S1-4)로 구성되어 있는 제 1 처리 과정(S1)과, 상기 전송된 파일명을 수신하는 단계(S2-1) , 상기 파일명을 분석하여 메시지 종류를 식별하는 단계(S2-2), 상기 파일명을 저장해야 할 해당 큐(32)가 꽉차있는가를 판단하여, 꽉차있으면 수신된 파일 이름을 삭제하는 동시에 상기 스풀 디렉토리(31)에 저장된 해당 파일을 삭제하는 단계(S2-3), 상기 단계에서 판단한 결과 해당 큐(32)가 꽉차있지 않으면 상기 파일명을 해당 큐(32)에 저장하는 단계(S2-4), 각각의 큐(32)에 저장된 파일명이 있는가를 우선 순위별로 검색하여, 파일명이 저장되어 있으면 상기 스풀 디렉토리(31)에 저장된 해당 파일을 상기 프린터(20)로 전송하는 단계(S2-5)로 구성되어 있는 제 2 처리 과정(S-2)을 순차적으로 동작하는 것을 특징으로 하는 ATM 교환기의 메시지 출력 방법.The method of claim 1, further comprising: receiving a message to be output from the ATM switch 10 (S1-1), identifying a type of the received message (S1-2), and generating a file from the received message. A first processing step S1 consisting of step S1-3, storing the generated file in the spool directory 31 and transmitting a file name (S1-4); Receiving step (S2-1), analyzing the file name to identify the message type (S2-2), it is determined whether the corresponding queue 32 to store the file name is full, and if it is full, the received file name Deleting the corresponding file stored in the spool directory 31 at the same time (S2-3), and if the queue 32 is not full as a result of the determination in the step, storing the file name in the corresponding queue 32 ( S2-4) It is determined whether there is a file name stored in each queue 32. A second process (S-2) consisting of the step (S2-5) of transferring the file stored in the spool directory (31) to the printer (20) if the file name is searched by priority and stored in the spool directory (31). Message output method of the ATM switch characterized in that it operates sequentially.
KR1019960041282A 1996-09-20 1996-09-20 Message output device and method of ATM switch KR19980022190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960041282A KR19980022190A (en) 1996-09-20 1996-09-20 Message output device and method of ATM switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960041282A KR19980022190A (en) 1996-09-20 1996-09-20 Message output device and method of ATM switch

Publications (1)

Publication Number Publication Date
KR19980022190A true KR19980022190A (en) 1998-07-06

Family

ID=66520450

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960041282A KR19980022190A (en) 1996-09-20 1996-09-20 Message output device and method of ATM switch

Country Status (1)

Country Link
KR (1) KR19980022190A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100312533B1 (en) * 1999-08-31 2001-11-03 김진찬 Apparatus and method for processing a message in a printer disk spool

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100312533B1 (en) * 1999-08-31 2001-11-03 김진찬 Apparatus and method for processing a message in a printer disk spool

Similar Documents

Publication Publication Date Title
KR920018567A (en) Data processing systems
DE69427129D1 (en) FAULT-TOLERANT QUEUE DEVICE AND METHOD THEREFOR
KR0157989B1 (en) Atm exchange
KR880006593A (en) Command selector and command input method
EP0683949B1 (en) A method for handling redundant switching planes in packet switches and a switch for carrying out the method
KR19980022190A (en) Message output device and method of ATM switch
KR100298782B1 (en) Database management method of electronic exchange
US4356547A (en) Device for processing telephone signals, including a processor and a preprocessor sharing a common memory
KR100413526B1 (en) Method and apparatus for processing call control data stored on an Hash Table in implementing BICC Protocol, and recording medium therefor
KR20000006575A (en) system and method for managing buffers using free pointer FIFO's containing pointers to empty buffers
KR100378371B1 (en) Method for searching idle relay line of switching system
KR0161165B1 (en) Switching system capable of output multinational language operating message
KR0154472B1 (en) Apparatus for adaptive processing special service available procedure in the full electronic switching system and method
KR100312533B1 (en) Apparatus and method for processing a message in a printer disk spool
JPH1185697A (en) Operation information managing method
KR100551834B1 (en) Composite Link Management Method in Network Management System
KR100218669B1 (en) Atm switch address error deleting method
JP2921289B2 (en) Method and apparatus for preventing abolished subscribers from being abolished
JPH1013435A (en) Data exchange device
Ackley The multi-sequence computer as a communications tool
KR970056228A (en) How to manage the maintenance and operation data history of broadband circuit distribution system in network management subsystem
JPH03225444A (en) File control job start system
JPH06224937A (en) Document automatic flow equipment
JPH05207135A (en) System for changing output route selection information
KR950020165A (en) Common Line Signal Network General Title Translation Method and Data Structure

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid