KR20010019816A - Apparatus and method for processing a message in a printer disk spool - Google Patents

Apparatus and method for processing a message in a printer disk spool Download PDF

Info

Publication number
KR20010019816A
KR20010019816A KR1019990036443A KR19990036443A KR20010019816A KR 20010019816 A KR20010019816 A KR 20010019816A KR 1019990036443 A KR1019990036443 A KR 1019990036443A KR 19990036443 A KR19990036443 A KR 19990036443A KR 20010019816 A KR20010019816 A KR 20010019816A
Authority
KR
South Korea
Prior art keywords
message
queue
printer
disk
memory
Prior art date
Application number
KR1019990036443A
Other languages
Korean (ko)
Other versions
KR100312533B1 (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 KR1019990036443A priority Critical patent/KR100312533B1/en
Publication of KR20010019816A publication Critical patent/KR20010019816A/en
Application granted granted Critical
Publication of KR100312533B1 publication Critical patent/KR100312533B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE: The printer spooling apparatus and method in full electronic switching systems is provided to prevent the loss of messages output to a printer in a full electronic switching system. CONSTITUTION: If a message to be provided to the first printer is generated in a switching system, a message storage processor checks a message information storage state in a disk queue(S200). As a result, if the disk queue is not in a full state that the disk queue can store message information, the message storage processor stores the message in a disk file of a relevant printer. Then, the message storage processor stores message information in the disk queue(S202). However, in case that the disk queue is in the full state, the message storage processor clears the disk file and the disk queue(204).

Description

전전자 교환기 시스템의 프린터 스풀링 장치 및 방법 {APPARATUS AND METHOD FOR PROCESSING A MESSAGE IN A PRINTER DISK SPOOL}Printer spooling device and method of electronic changer system {APPARATUS AND METHOD FOR PROCESSING A MESSAGE IN A PRINTER DISK SPOOL}

본 발명은 전전자 교환기 시스템의 프린터 스풀(SPOOL ; Simultaneous Peripheral Operation On-Line)에 관한 것으로, 특히, 전전자 교환기 시스템에서 프린터로 출력되는 메시지들을 관리하는데 적합한 전전자 교환기 시스템의 프린터 스풀링 장치 및 방법에 관한 것이다.The present invention relates to a printer spool (SPOOL; Simultaneous Peripheral Operation On-Line) of the electronic switching system, in particular, a printer spooling device and method of the electronic switching system is suitable for managing messages output to the printer in the electronic switching system It is about.

전전자 교환기 시스템에서는 메모리 스풀 기능을 사용하여 프린터로 출력되는 메시지들을 관리하고 있다.The electronic changer system uses the memory spool function to manage messages output to the printer.

여기서, 메모리 스풀 기능이란, 작업의 스케줄링을 효율적으로 수행하기 위한 것으로, 입력한 작업을 메모리상의 데이터 세트에 임시 저장하고, 그후 스케줄링하여 실행하는 것을 말한다. 마찬가지로, 출력 결과도 메모리상의 데이터 세트에 임시 저장하고, 그후 인쇄를 수행할 수 있다.Here, the memory spool function is used to efficiently schedule a job, and temporarily stores an input job in a data set on a memory, and then schedules and executes the job. Similarly, the output result can also be temporarily stored in a data set on the memory, and then printing can be performed.

즉, 이러한 메모리 스풀 기능에서는, 하나의 공통 버퍼로 전전자 교환기 시스템에서 발생하는 메시지들을 모두 저장하고, 각각의 프린터 포트마다 하나의 큐(queue)를 두어 해당 포트의 메시지들을 관리할 수 있다.That is, in this memory spool function, all the messages generated by the electronic switchgear system can be stored in one common buffer, and one queue can be managed for each printer port.

그런데, 프린터로 메시지가 출력되는 속도가 메시지 발생 속도에 비해 느리기 때문에 메모리 버퍼의 용량이 부족하여 효율적인 관리가 어렵다는 문제가 발생한다. 특히, 여러개의 프린터를 운용하는 경우, 특정 프린터 포트의 큐가 풀(full) 상태가 되면, 그 프린터에 해당하는 메시지들을 클리어(clear)하면 되지만, 공통으로 사용하는 버퍼가 풀 상태가 되면 그 이후에 발생하는 메시지들은 처리가 불가능하다는 문제가 있었다. 즉, 전전자 교환기 시스템에서의 메시지 유실이 발생할 수 있다는 문제가 있었다.However, since the speed at which a message is output to the printer is slower than the rate at which the message is generated, there is a problem that efficient management is difficult due to insufficient capacity of the memory buffer. In particular, when operating multiple printers, if the queue for a specific printer port becomes full, messages for that printer need to be cleared, but if the common buffer becomes full, then There was a problem that the messages that occur in the process could not be processed. That is, there is a problem that a message loss may occur in the electronic switching system.

따라서, 본 발명은 상술한 문제들을 해결하기 위하여 안출한 것으로, 전전자 교환기 시스템에서 프린터로 출력되는 메시지들의 유실(遺失)을 방지하도록 한 전전자 교환기 시스템의 프린터 스풀링 장치 및 방법을 제공하는데 그 목적이 있다.Accordingly, an object of the present invention is to provide a printer spooling apparatus and method for an electronic switching system, which prevents the loss of messages output from the electronic switching system to the printer. There is this.

이러한 목적을 달성하기 위한 본 발명의 일실시예에 따르면, 전전자 교환기로부터의 데이터가 메모리 버퍼를 통하여 다수의 프린터들 중 해당 프린터로 전송되는 프린터 스풀링 장치에 있어서, 프린터들 중 하나에 대응되며, 프린터들 중 기설정된 프린터에 대응하는 데이터들을 입력 저장하고 메모리 버퍼의 데이터 저장 상태에 따라 저장된 데이터를 메모리 버퍼에 선택적으로 제공하는 프린터와 동일 개수의 전송회로와; 전전자 교환기의 데이터들을 전송할 프린터별로 분류하고, 대응 전송회로의 데이터 저장 상태에 따라 전전자 교환기의 데이터들을 대응 전송회로에 선택적으로 제공하는 메인 프로세서를 구비하는 전전자 교환기 시스템의 프린터 스풀링 장치를 제공한다.According to an embodiment of the present invention for achieving the above object, in the printer spooling device in which data from the electronic switchboard is transmitted to the corresponding printer among a plurality of printers, corresponding to one of the printers, The same number of transmission circuits as printers that input and store data corresponding to a preset printer among the printers and selectively provide the stored data to the memory buffer according to the data storage state of the memory buffer; Provides a printer spooling device of an electronic switching system having a main processor for classifying data of the electronic switching system by a printer to be transmitted and selectively providing the data of the electronic switching system to the corresponding transmission circuit according to the data storage state of the corresponding transmission circuit. do.

또한, 본 발명의 다른 실시예에 따르면, 디스크 파일, 디스크 큐, 메모리 큐를 구비하는 전송회로 및 메모리 버퍼를 이용하여 전전자 교환기의 데이터를 프린터로 제공하는 전전자 교환기 시스템의 프린터 스풀링 방법으로서, 디스크 큐의 메시지 저장 상태를 확인하여, 디스크 큐가 풀 상태이면 해당 디스크 파일 및 디스크 큐를 클리어하여 초기 상태로 만들며, 디스크 큐가 풀 상태가 아니면 디스크 파일에 메시지를 저장하고 디스크 큐에 메시지 관리 정보를 저장하는 제 1 단계와; 디스크 큐의 메시지 저장 상태를 확인하여, 디스크 큐가 비어있지 않고 교환기 시스템에서 발생한 메시지가 존재하면, 메모리 버퍼 또는 메모리 큐가 풀 상태인지를 체크하는 제 2 단계와; 메모리 버퍼 또는 메모리 큐가 풀 상태가 아니면, 메모리 버퍼에 메시지를 저장하고 메모리 큐에 메시지 관리 정보를 저장하며, 메모리 버퍼로 전송된 메시지를 디스크 파일 및 디스크 큐에서 클리어하는 제 3 단계와; 메모리 큐의 메시지 저장 상태를 확인하여, 메모리 큐내 관리정보에 대응하는 메시지 정보를 독출하여 프린터로 송출하며, 프린터로 전송된 메시지를 메모리 버퍼 및 메모리 큐에서 클리어하는 제 4 단계를 포함하는 전전자 교환기 시스템의 프린터 스풀링 방법을 제공한다.In addition, according to another embodiment of the present invention, as a printer spooling method of the electronic switchboard system for providing data of the electronic switchboard to the printer using a disk file, a disk queue, a transmission circuit having a memory queue and a memory buffer, Check the message storage status of the disk queue, and if the disk queue is in the pool state, clear the disk file and disk queue to make it initial state. If the disk queue is not in the pool state, store the message in the disk file and manage the message in the disk queue. Storing the first step; Checking a message storage state of the disk queue to check whether the memory buffer or the memory queue is full if the disk queue is not empty and there is a message generated in the exchange system; If the memory buffer or the memory queue is not in the full state, storing the message in the memory buffer, storing the message management information in the memory queue, and clearing the message transmitted to the memory buffer in the disk file and the disk queue; An electronic switch including a fourth step of checking a message storing state of a memory queue, reading message information corresponding to management information in the memory queue, and sending the same to a printer, and clearing a message transmitted to the printer from a memory buffer and a memory queue. Provides a method of printer spooling in the system.

도 1은 본 발명의 바람직한 실시예에 따른 프린터 스풀링 장치의 개략적인 블록도1 is a schematic block diagram of a printer spooling device according to a preferred embodiment of the present invention

도 2a는 본 발명의 바람직한 실시예에 따른 메시지 저장 프로세서에서 행하여지는 프린터 디스크 스풀의 메시지 처리 과정의 흐름도2A is a flow diagram of a message processing procedure of a printer disk spool performed in a message storage processor in accordance with a preferred embodiment of the present invention.

도 2b는 본 발명의 바람직한 실시예에 따른 메시지 전송 프로세서에서 행하여지는 프린터 디스크 스풀의 메시지 처리 과정의 흐름도2B is a flow chart of a message processing procedure of a printer disk spool performed in a message transfer processor according to a preferred embodiment of the present invention.

도 2c는 본 발명의 바람직한 실시예에 따른 메시지 출력 프로세서에서 행하여지는 프린터 디스크 스풀의 메시지 처리 과정의 흐름도2C is a flow chart of a message processing procedure of a printer disk spool performed in a message output processor according to a preferred embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

100 : 메시지 저장 프로세서100: message storage processor

110 : 제 1 전송회로110: first transmission circuit

111 : 디스크 파일111: disk file

112 : 디스크 큐112: disk queue

113 : 메모리 큐113: memory queue

114 : 메시지 전송 프로세서114: message transfer processor

115 : 메시지 출력 프로세서115: message output processor

120 : 제 2 전송회로120: second transmission circuit

130 : 제 3 전송회로130: third transmission circuit

140 : 메모리 버퍼140: memory buffer

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.

도 1은 본 발명에 따른 프린터 스풀링 장치의 개략적인 블록도로서, 메시지 저장 프로세서(100), 제 1 전송회로(110), 제 2 전송회로(120), 제 3 전송회로(130) 및 메모리 버퍼(140)를 포함한다.1 is a schematic block diagram of a printer spooling apparatus according to the present invention, which includes a message storage processor 100, a first transmission circuit 110, a second transmission circuit 120, a third transmission circuit 130 and a memory buffer. 140.

설명에 앞서, 각 전송회로(110),(120),(130)들은 도면에 도시한 바와 같이 3개로 구성되어 있지만, 교환기 시스템의 용량에 따라 더 추가/감소될 수 있으며, 이러한 사실은 본 발명의 기술 분야에서 통상의 지식을 가진 자는 용이하게 알 수 있을 것이다.Prior to the description, each of the transmission circuits 110, 120, 130 is composed of three as shown in the figure, but may be further added / reduced depending on the capacity of the exchange system, this fact is the present invention Those skilled in the art will readily know.

먼저, 각 전송회로(110),(120),(130)들 내에는 디스크 파일(111), 디스크 큐(112), 메모리 큐(113), 메시지 전송 프로세서(114), 메시지 출력 프로세서(115)가 각각 포함되어 있으며, 이하에서는 설명의 편의상 하나의 전송회로, 즉, 제 1 전송회로(110)만 예를 들어 기술하기로 한다.First, in each of the transmission circuits 110, 120, and 130, a disk file 111, a disk queue 112, a memory queue 113, a message transmission processor 114, a message output processor 115. Are included, and for convenience of explanation, hereinafter, only one transmission circuit, that is, only the first transmission circuit 110 will be described by way of example.

먼저, 디스크 파일(111)은 기 설정 프린터, 즉, 제 1 프린터(도시생략)에 전송하고자 하는 메시지만을 저장하기 위한 것으로서, 후술하는 바와 같이 디스크 파일(111)에 저장되는 메시지들에 대한 관리 정보는 디스크 큐(112)에 저장된다.First, the disk file 111 is for storing only a message to be transmitted to a preset printer, that is, a first printer (not shown), and management information about messages stored in the disk file 111 as described below. Is stored in disk queue 112.

따라서, 메시지 저장 프로세서(100)는 디스크 큐(112)내의 관리정보를 이용하여 디스크 파일(111)내에 메시지의 저장 여부 및 그 저장량 등에 대한 정보를 습득할 수 있다. 메시지 저장 프로세서(100)는 디스크 큐(112)내의 관리 정보를 계속해서 체크하며, 예컨대, 제 1 프린터에 제공할 메시지가 존재되면, 이 메시지를 저장할 공간이 디스크 파일(111)내에 있는가를 디스크 큐(112)내의 정보를 이용하여 판단하고, 저장할 공간이 있을 때에 이 메시지를 디스크 파일(111)내에 저장한다.Accordingly, the message storage processor 100 may acquire information on whether the message is stored in the disk file 111 and its storage amount using management information in the disk queue 112. The message storage processor 100 continuously checks the management information in the disk queue 112. For example, if there is a message to be provided to the first printer, the message storage processor 100 checks whether there is space in the disk file 111 to store this message. It judges using the information in 112, and stores this message in the disk file 111 when there is space to store it.

한편, 메모리 버퍼(140)에는 다수개의 프린터들이 연결되며, 디스크 파일(111)내에 저장된 프린터 메시지는 메시지 저장 프로세서(100)의 제어에 따라 메모리 버퍼(140)에 저장된다. 즉, 메시지 저장 프로세서(100)는 메모리 버퍼(140)내에 디스크 파일(111)의 메시지를 저장할 여유 공간이 존재하는지를 체크하여 여유 공간이 있을 때에 디스크 파일(111)내의 메시지를 메모리 버퍼(140)에 저장하는 것이다.Meanwhile, a plurality of printers are connected to the memory buffer 140, and printer messages stored in the disk file 111 are stored in the memory buffer 140 under the control of the message storage processor 100. That is, the message storage processor 100 checks whether there is free space in the memory buffer 140 to store the message of the disk file 111, and when there is free space, the message storage processor 100 sends the message in the disk file 111 to the memory buffer 140. To save.

메모리 버퍼(140)내에 저장되는 메시지에 대한 관리 정보들은 프린터별로 메모리 큐(113)내에 저장되며, 메시지 출력 프로세서(115)는 메모리 큐(113)내의 관리 정보를 이용하여 제 1 프린터에 제공될 메시지가 메모리 버퍼(140)내에 저장되어 있는가를 판단하여 저장되어 있으면, 이를 독출하여 해당 프린터, 예컨대, 제 1 프린터에 제공한다.Management information on the messages stored in the memory buffer 140 is stored in the memory queue 113 for each printer, and the message output processor 115 uses the management information in the memory queue 113 to provide a message to the first printer. If it is stored in the memory buffer 140 is determined and stored, it is read and provided to the corresponding printer, for example, the first printer.

이러한 메모리 버퍼(140)를 이용하는 이유는 메시지 저장 프로세서(100)가 디스크 파일(111)을 액세스하다가 파일 시스템에 문제가 발생하는 경우에 디스크를 거치지 않고 직접 메모리에서만 메시지를 처리하기 위한 것이다.The reason for using the memory buffer 140 is that the message storage processor 100 accesses the disk file 111 and when a problem occurs in the file system, the message storage processor 100 processes the message only in the memory directly without going through the disk.

한편, 상술한 설명에서, 디스크 파일(111)내에 메시지가 가득 차있으면, 즉, 디스크 파일(111)이 풀(full) 상태이면, 메시지 전송 프로세서(114)는 디스크 파일(111) 및 디스크 큐(112)를 클리어시키나, 디스크 파일(111)이 풀 상태가 아니라면 디스크 파일(111)내의 데이터를 메모리 버퍼(140)에 제공한다.On the other hand, in the above description, if the message is full in the disk file 111, i.e., if the disk file 111 is in a full state, the message transfer processor 114 may execute the disk file 111 and the disk queue ( 112 is cleared, but the data in the disk file 111 is provided to the memory buffer 140 if the disk file 111 is not in a pulled state.

즉, 디스크 파일(111)이 풀 상태라 함은, 후술하는 바와 같이, 메모리 버퍼(140)가 풀 상태이므로 디스크 파일(111)내에 저장되어 있는 제 1 프린터의 메시지가 메모리 버퍼(140)에 제공될 수 없는 상태를 의미한다. 이에 따라 제 1 프린터에 제공되어야 하는 메시지를 디스크 버퍼(111)에 저장할 수 없는 상태, 즉, 제 1 프린터에 메시지를 제공할 수 없는 상태이므로, 메시지 전송 프로세서(114)는 디스크 파일(111) 및 디스크 큐(112)내의 데이터들을 클리어한다. 따라서, 제 1 프린터에는 메시지들이 제공되지 않으나 나머지 프린터들, 예컨대, 제 2 프린터 또는 제 3 프린터에는 해당 메시지가 제공될 수 있을 것이다.That is, the disk file 111 is in a full state, as will be described later. Since the memory buffer 140 is in a full state, a message of the first printer stored in the disk file 111 is provided to the memory buffer 140. It means a state that can not be. Accordingly, since the message to be provided to the first printer cannot be stored in the disk buffer 111, that is, the message cannot be provided to the first printer, the message transmission processor 114 may use the disk file 111 and Clear the data in disk queue 112. Thus, no messages are provided to the first printer, but the messages may be provided to the remaining printers, for example, a second printer or a third printer.

또한, 메시지 출력 프로세서(115)는 메모리 큐(113)내의 데이터 정보를 탐색하고, 탐색 결과 메모리 버퍼(140)내에 제 1 프린터에 제공할 데이터가 저장되어 있음이 검출되면, 해당 데이터를 독출하여 제 1 프린터에 제공한다.In addition, the message output processor 115 searches the data information in the memory queue 113, and if it is detected that the data to be provided to the first printer is stored in the memory buffer 140, the message output processor 115 reads out the corresponding data to read the data information. 1 Provide to the printer.

이하에서는 도 2a, 도 2b 및 도 2c의 흐름도를 참조하여 본 발명의 바람직한 실시예에 따른 프린터 디스크 스풀의 메시지 처리 과정을 상세하게 설명한다.Hereinafter, a message processing procedure of a printer disk spool according to a preferred embodiment of the present invention will be described in detail with reference to the flowcharts of FIGS. 2A, 2B, and 2C.

먼저, 메시지 저장 프로세서(100)에서 행하여지는 프린터 디스크 스풀의 메시지 처리 과정을 도 2a를 참조하여 상세하게 설명한다.First, the message processing of the printer disk spool performed in the message storage processor 100 will be described in detail with reference to FIG. 2A.

교환기 시스템에서, 예컨대, 제 1 프린터에 제공할 메시지가 발생하면 메시지 저장 프로세서(100)는 단계(S200)로 진행하여 디스크 큐(112)내의 메시지 정보 저장 상태를 체크한다. 단계(S200)의 판단 결과, 디스크 큐(112)가 메시지 정보를 저장할 수 있는 상태, 즉, 디스크 큐(112)가 풀(full) 상태가 아니면, 메시지 저장 프로세서(100)는 단계(S202)로 진행하여 해당 프린터(110)의 디스크 파일(111)에 메시지를 저장하고, 디스크 큐(112)에 메시지 정보를 저장한다.In the exchange system, for example, when a message to be provided to the first printer occurs, the message storage processor 100 proceeds to step S200 to check the message information storage state in the disk queue 112. As a result of the determination in step S200, if the disk queue 112 is capable of storing message information, that is, the disk queue 112 is not in a full state, the message storage processor 100 proceeds to step S202. The message is stored in the disk file 111 of the printer 110 and the message information is stored in the disk queue 112.

그러나, 단계(S200)의 판단 결과, 디스크 큐(112)가 메시지 정보로 가득 찬 상태, 즉, 풀 상태라면 메시지 저장 프로세서(100)는 단계(S204)로 진행하여 디스크 파일(111) 및 디스크 큐(112)를 클리어시킨다.However, if the determination result of step S200 indicates that the disk queue 112 is full of message information, that is, a full state, the message storage processor 100 proceeds to step S204 and the disk file 111 and the disk queue. Clear 112.

다음으로, 제 1 프린터내의 메시지 전송 프로세서(114)에서 행하여지는 프린터 디스크 스풀의 메시지 처리 과정을 도 2b를 참조하여 상세하게 설명한다.Next, the message processing procedure of the printer disk spool performed by the message transfer processor 114 in the first printer will be described in detail with reference to FIG. 2B.

메시지 전송 프로세서(114)는 단계(S300)에서, 디스크 큐(112)의 메시지 정보 저장 상태를 체크한다. 단계(S300)의 판단 결과, 디스크 큐(112)가 비어있지 않은 상태이고 교환기 시스템에서 발생한 메시지가 존재하면, 메시지 전송 프로세서(114)는 단계(S302)로 진행하여 메모리 큐(113)를 체크하고 메모리 버퍼(140) 또는 메모리 큐(113)내에 메시지 또는 메시지 정보를 저장할 공간이 존재하는지를 판단한다.The message transmission processor 114 checks the message information storage state of the disk queue 112 in step S300. As a result of the determination in step S300, if the disk queue 112 is not empty and there is a message generated in the exchange system, the message transfer processor 114 proceeds to step S302 to check the memory queue 113 and It is determined whether a space for storing a message or message information exists in the memory buffer 140 or the memory queue 113.

단계(S302)의 판단 결과, 메모리 버퍼(140) 및 메모리 큐(113)가 풀 상태가 아니면, 즉, 메모리 버퍼(140)와 메모리 큐(113)내에 메시지 및 메시지 정보를 저장할 수 있는 최소한의 공간이 존재하면, 메시지 전송 프로세서(114)는 단계(S304)로 진행한다.As a result of the determination in step S302, if the memory buffer 140 and the memory queue 113 are not in the full state, that is, the minimum space for storing messages and message information in the memory buffer 140 and the memory queue 113. If so, the message transfer processor 114 proceeds to step S304.

단계(S304)에서 메시지 전송 프로세서(114)는 디스크 파일(111)내의 메시지를 메모리 버퍼(140)에 저장하고 메모리 큐(113)에는 메시지 정보를 저장한 다음, 단계(S306)로 진행하여 디스크 파일(111)과 디스크 큐(112)내에 저장되어 있는 해당 메시지 및 메시지 정보를 클리어시킨다.In step S304, the message transfer processor 114 stores the message in the disk file 111 in the memory buffer 140, stores the message information in the memory queue 113, and then proceeds to step S306 to process the disk file. Clear the corresponding message and message information stored in the 111 and the disk queue 112.

끝으로, 제 1 프린터내의 메시지 출력 프로세서(115)에서 행하여지는 프린터 디스크 스풀의 메시지 처리 과정을 도 2c를 참조하여 상세하게 설명한다.Finally, the message processing procedure of the printer disk spool performed by the message output processor 115 in the first printer will be described in detail with reference to FIG. 2C.

도 2c에 도시한 바와 같이, 메시지 출력 프로세서(115)는 단계(S400)로 진행하여 메모리 큐(113)의 메시지 정보 저장 상태를 체크한다. 단계(S400)의 판단 결과, 메모리 큐(113)가 비어있지 않은 상태, 즉, 최소한의 메시지 및 메시지 정보가 메모리 큐(113)내에 저장되어 있는 상태라면, 메시지 출력 프로세서(115)는 단계(S402)로 진행하여 메모리 버퍼(140)내에 저장되어 있는 메시지들 중 소정 메시지(예컨대, 제 1 프린터에 전송되어야 하는)를 제 1 프린터에 제공한다.As shown in FIG. 2C, the message output processor 115 proceeds to step S400 to check the message information storage state of the memory queue 113. As a result of the determination of step S400, if the memory queue 113 is not empty, that is, a state where the minimum message and message information are stored in the memory queue 113, the message output processor 115 performs the step S402. In step 1), a predetermined message (for example, to be transmitted to the first printer) among the messages stored in the memory buffer 140 is provided to the first printer.

즉, 단계(S402)에서 메시지 출력 프로세서(115)는 메모리 큐(113)를 지속적으로 체크하고 있다가 소정의 메시지가 들어오면 그 메시지의 정보를 보고 메모리 버퍼(140)에서 해당 메시지를 꺼내어 제 1 프린터의 프린터 포트(도시생략)로 출력한다.That is, in step S402, the message output processor 115 continuously checks the memory queue 113, and when a predetermined message comes in, reads the message information from the memory buffer 140 and retrieves the message from the memory buffer 140. Output to the printer port (not shown) of the printer.

그리고, 메시지 출력 프로세서(115)는 단계(S404)로 진행하여 메모리 버퍼(140)와 메모리 큐(113)에서 해당 메시지를 클리어한다.The message output processor 115 proceeds to step S404 to clear the corresponding message in the memory buffer 140 and the memory queue 113.

즉, 본 발명은, 프린터의 운용 중에 소정 프린터에 대한 다량의 메시지가 발생하여 해당 디스크 버퍼(111)가 풀 상태가 되면, 해당되는 프린터의 디스크 버퍼와 디스크 큐를 클리어하고, 메모리 버퍼(140)에서 그 프린터에 해당하는 메시지들을 클리어하므로써 다른 프린터들에 해당하는 다른 메시지들의 유실을 방지할 수 있다.That is, according to the present invention, when a large amount of messages are generated for a given printer while the printer is in operation and the corresponding disk buffer 111 is in a full state, the disk buffer and the disk queue of the corresponding printer are cleared, and the memory buffer 140 By clearing the messages for that printer, we can prevent the loss of other messages for other printers.

이상 설명한 바와 같이, 본 발명은 용량 면에서 거의 제약을 받지 않고 버퍼를 운용할 수 있으므로 메시지의 유실이 없이 프린터를 운용할 수 있다. 또한, 메시지 버퍼의 용량을 늘일 때 디스크 버퍼만 늘이면 되므로 시스템 변환이 간편할 뿐만 아니라, 각각의 프린터마다 따로 디스크 버퍼를 둠으로써 하나의 디스크 버퍼가 풀 상태가 되어도 해당 프린터의 메시지들만 클리어하기 때문에 다른 프린터에는 영향을 주지 않는다. 즉, 각각의 프린터의 독립성을 구현할 수 있는 효과가 있다.As described above, the present invention can operate the buffer without any restriction in terms of capacity, so that the printer can be operated without losing a message. In addition, when the capacity of the message buffer is increased, only the disk buffer needs to be increased, so it is easy to convert the system, and by setting a separate disk buffer for each printer, only the messages of the corresponding printer are cleared even when one disk buffer is full. It does not affect other printers. In other words, the independence of each printer can be implemented.

Claims (6)

전전자 교환기로부터의 메시지가 메모리 버퍼를 통하여 다수의 프린터들 중 해당 프린터로 전송되는 프린터 스풀링 장치에 있어서,In a printer spooling device in which a message from an electronic switch is transmitted to a corresponding printer among a plurality of printers through a memory buffer, 상기 프린터들 중 하나에 대응되며, 상기 프린터들 중 기설정된 프린터에 대응하는 메시지들을 입력 저장하고 상기 메모리 버퍼의 메시지 저장 상태에 따라 상기 저장된 메시지를 상기 메모리 버퍼에 선택적으로 제공하는 상기 프린터와 동일 개수의 전송회로와;The same number as the printers corresponding to one of the printers, which input and store messages corresponding to a preset printer among the printers and selectively provide the stored messages to the memory buffers according to the message storage state of the memory buffers. A transmission circuit of; 상기 전전자 교환기의 메시지들을 전송할 프린터별로 분류하고, 대응 전송회로의 메시지 저장 상태에 따라 상기 전전자 교환기의 메시지들을 상기 대응 전송회로에 선택적으로 제공하는 메시지 저장 프로세서를 구비하는 전전자 교환기 시스템의 프린터 스풀링 장치.A printer of the electronic switching system having a message storage processor for classifying messages of the electronic switching center for each printer to be transmitted and selectively providing the messages of the electronic switching system to the corresponding transmission circuit according to the message storage state of the corresponding transmission circuit. Spooling device. 제 1 항에 있어서, 상기 전송회로는,The method of claim 1, wherein the transmission circuit, 상기 메시지 저장 프로세서로부터의 메시지 저장이 가능한 디스크 파일과;A disk file capable of storing messages from the message storage processor; 상기 디스크 파일내 저장되는 메시지에 관한 정보의 저장이 가능한 디스크 큐와;A disk queue capable of storing information about messages stored in the disk file; 상기 메모리 버퍼에 저장되는 메시지의 정보를 저장할 수 있는 메모리 큐와;A memory queue capable of storing information of messages stored in the memory buffer; 상기 디스크 큐내 저장된 메시지에 관한 정보의 저장 상태에 따라 상기 디스크 파일내 메시지를 상기 메모리 버퍼에 저장하며, 상기 메모리 버퍼에 저장되는 메시지에 대한 정보를 상기 메모리 큐에 저장하는 메시지 전송 프로세서와;A message transfer processor for storing a message in the disk file in the memory buffer according to a storage state of information about a message stored in the disk queue, and for storing information about a message stored in the memory buffer in the memory queue; 상기 메모리 큐에 저장된 정보에 따라 상기 메모리 버퍼에 저장된 메시지들 중 대응 프린터에 해당하는 메시지들만을 상기 대응 프린터에 전송하는 메시지 출력 프로세서를 구비하는 전전자 교환기 시스템의 프린터 스풀링 장치.And a message output processor for transmitting only messages corresponding to the corresponding printer among the messages stored in the memory buffer to the corresponding printer according to the information stored in the memory queue. 제 2 항에 있어서, 상기 메시지 저장 프로세서는, 상기 디스크 큐내 저장된 메시지에 관한 정보의 저장 상태가 풀(full) 상태이면, 상기 디스크 파일 및 디스크 큐를 클리어하는 전전자 교환기 시스템의 프린터 스풀링 장치.3. The printer spooling device of claim 2, wherein the message storage processor clears the disk file and the disk queue when the storage state of the information about the messages stored in the disk queue is full. 제 2 항에 있어서, 상기 메시지 전송 프로세서는, 상기 메모리 버퍼에 저장되는 메시지의 정보를 상기 메모리 큐에 저장하고 난 후, 상기 디스크 파일 및 디스크 큐를 클리어하는 전전자 교환기 시스템의 프린터 스풀링 장치.3. The apparatus of claim 2, wherein the message transfer processor clears the disk file and the disk queue after storing information of a message stored in the memory buffer in the memory queue. 제 2 항에 있어서, 상기 메시지 출력 프로세서는, 상기 대응 프린터에 해당하는 메시지를 상기 대응 프린터에 전송한 후, 상기 메모리 버퍼 및 메모리 큐를 클리어하는 전전자 교환기 시스템의 프린터 스풀링 장치.3. The printer spooling device of claim 2, wherein the message output processor clears the memory buffer and the memory queue after transmitting a message corresponding to the corresponding printer to the corresponding printer. 디스크 파일, 디스크 큐, 메모리 큐를 구비하는 전송회로 및 메모리 버퍼를 이용하여 전전자 교환기의 메시지를 프린터로 제공하는 전전자 교환기 시스템의 프린터 스풀링 방법으로서,A printer spooling method of an electronic switching system for providing a message of an electronic switching system to a printer using a disk file, a disk queue, a transmission circuit including a memory queue, and a memory buffer, 상기 디스크 큐의 메시지 저장 상태를 확인하여, 상기 디스크 큐가 풀 상태이면 상기 디스크 파일 및 디스크 큐를 클리어하여 초기 상태로 만들며, 상기 디스크 큐가 풀 상태가 아니면 상기 디스크 파일에 메시지를 저장하고 상기 디스크 큐에 메시지 관리 정보를 저장하는 제 1 단계와;Check the message storage state of the disk queue, and if the disk queue is full, clears the disk file and disk queue to an initial state, and if the disk queue is not full, stores the message in the disk file and stores the disk. A first step of storing message management information in a queue; 상기 디스크 큐의 메시지 저장 상태를 확인하여, 상기 디스크 큐가 비어있지 않고 상기 교환기 시스템에서 발생한 메시지가 존재하면, 상기 메모리 버퍼 또는 메모리 큐가 풀 상태인지를 체크하는 제 2 단계와;Checking a message storing state of the disk queue, and checking whether the memory buffer or the memory queue is in a full state if the disk queue is not empty and a message generated in the exchange system exists; 상기 메모리 버퍼 또는 메모리 큐가 풀 상태가 아니면, 상기 메모리 버퍼에 메시지를 저장하고 상기 메모리 큐에 메시지 관리 정보를 저장하며, 상기 메모리 버퍼로 전송된 메시지를 상기 디스크 파일 및 디스크 큐에서 클리어하는 제 3 단계와;If the memory buffer or the memory queue is not in a full state, storing a message in the memory buffer, storing message management information in the memory queue, and clearing the message transmitted to the memory buffer in the disk file and the disk queue. Steps; 상기 메모리 큐의 메시지 저장 상태를 확인하여, 상기 메모리 큐내 관리정보에 대응하는 메시지 정보를 독출하여 상기 프린터로 송출하며, 상기 프린터로 전송된 메시지를 상기 메모리 버퍼 및 메모리 큐에서 클리어하는 제 4 단계를 포함하는 것을 특징으로 하는 전전자 교환기 시스템의 프린터 스풀링 방법.A fourth step of checking a message storage state of the memory queue, reading message information corresponding to management information in the memory queue, sending the message information to the printer, and clearing a message transmitted to the printer from the memory buffer and the memory queue; Printer spooling method of an electronic switching system comprising a.
KR1019990036443A 1999-08-31 1999-08-31 Apparatus and method for processing a message in a printer disk spool KR100312533B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990036443A KR100312533B1 (en) 1999-08-31 1999-08-31 Apparatus and method for processing a message in a printer disk spool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990036443A KR100312533B1 (en) 1999-08-31 1999-08-31 Apparatus and method for processing a message in a printer disk spool

Publications (2)

Publication Number Publication Date
KR20010019816A true KR20010019816A (en) 2001-03-15
KR100312533B1 KR100312533B1 (en) 2001-11-03

Family

ID=19609319

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990036443A KR100312533B1 (en) 1999-08-31 1999-08-31 Apparatus and method for processing a message in a printer disk spool

Country Status (1)

Country Link
KR (1) KR100312533B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960008678B1 (en) * 1993-12-21 1996-06-28 조백제 Packet buffer and allocation/clear method in the isdn switching system
KR0160353B1 (en) * 1995-12-08 1998-12-01 정선종 Method of loading using multiple memory buffer in full electronic switching system
KR19980022190A (en) * 1996-09-20 1998-07-06 유기범 Message output device and method of ATM switch
KR100293911B1 (en) * 1998-11-26 2001-08-07 정선종 A buffer management method for mon-real time traffic in atm switching systems

Also Published As

Publication number Publication date
KR100312533B1 (en) 2001-11-03

Similar Documents

Publication Publication Date Title
US5696894A (en) Printing system
US6170003B1 (en) Apparatus and method for communicating messages between data processing nodes using remote reading of message queues
JPS5897944A (en) Data transfer system among microprocessors
CN100586101C (en) Switching between layer 2 switches as destination
US7924447B2 (en) Method and system for workload balancing
JP2003076451A (en) Information processing device and responding method for inquiry of state
KR100312533B1 (en) Apparatus and method for processing a message in a printer disk spool
US5343557A (en) Workstation controller with full screen write mode and partial screen write mode
US7251248B2 (en) Connection device
EP1139228A2 (en) An intelligent bus interconnect unit
JP3288158B2 (en) Channel control method
JPH1049344A (en) Buffer busy control system
KR100413422B1 (en) Multiport controlling method in multiport controller
JP3505540B2 (en) Data transfer device
US6906823B1 (en) Input interface for a raster object memory in a method, system and program
KR0161164B1 (en) Apparatus for storing and outputting system analysis data in the switching system and method thereof
JPH02253457A (en) Host computer
JPH07195802A (en) Power on-of controller of printer
KR940003029B1 (en) Output system control method in electronic exchange
JPH02190960A (en) Queuing control system
US8090891B2 (en) Method of providing communication in distributed systems
JPH03224347A (en) Print data transfer system
JPH05151136A (en) Data transfer device
JPH07104828B2 (en) Data transfer buffer circuit
JPH06103004A (en) Print server device

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20090928

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee