KR100246171B1 - Message processing device and method in keyphone system - Google Patents

Message processing device and method in keyphone system Download PDF

Info

Publication number
KR100246171B1
KR100246171B1 KR1019970057765A KR19970057765A KR100246171B1 KR 100246171 B1 KR100246171 B1 KR 100246171B1 KR 1019970057765 A KR1019970057765 A KR 1019970057765A KR 19970057765 A KR19970057765 A KR 19970057765A KR 100246171 B1 KR100246171 B1 KR 100246171B1
Authority
KR
South Korea
Prior art keywords
message
extension
processing
priority
extension terminal
Prior art date
Application number
KR1019970057765A
Other languages
Korean (ko)
Other versions
KR19990038127A (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 KR1019970057765A priority Critical patent/KR100246171B1/en
Publication of KR19990038127A publication Critical patent/KR19990038127A/en
Application granted granted Critical
Publication of KR100246171B1 publication Critical patent/KR100246171B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/005Interface circuits for subscriber lines
    • H04M3/007Access interface units for simultaneous transmission of speech and data, e.g. digital subscriber line [DSL] access interface units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/20Automatic or semi-automatic exchanges with means for interrupting existing connections; with means for breaking-in on conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42187Lines and connections with preferential service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42314Systems providing special services or facilities to subscribers in private branch exchanges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/12Counting circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/14Delay circuits; Timers

Abstract

본 발명은 키폰 시스템에 관한 것으로, 특히 내선 단말기에 대한 메시지를 처리하는 경우, 내선 단말기별 메시지의 양에 따라 메시지 우선순위를 주기적으로 갱신하고, 해당 메시지 우선순위에 따라 메시지를 처리함으로써, 키폰 시스템의 메시지 처리효율을 향상시킴과 동시에 메시지의 유실을 방지하는 키폰 시스템에서의 메시지 처리 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key phone system, and in particular, when processing a message for an extension terminal, by periodically updating the message priority according to the amount of messages for each extension terminal and processing the message according to the message priority, the key phone system The present invention relates to a message processing apparatus and method for improving a message processing efficiency of a message and preventing a loss of a message.

종래의 키폰 시스템에서는 내선 단말기에 대한 메시지를 처리하는 경우 모든 내선 단말기에 균일한 메시지 처리기회를 제공함으로 처리할 메시지가 없는 내선 단말기에도 메시지 처리기회를 제공하게 되어 메시지 처리속도가 저하되는 문제점이 있고, 정상적인 메시지 처리 한계를 초과하는 메시지가 전송되는 경우 메시지가 유실된다는 문제점이 있다.In the conventional key phone system, when processing a message for an extension terminal, a uniform message processing opportunity is provided to all extension terminals, thereby providing a message processing opportunity even for an extension terminal that does not have a message to be processed. However, there is a problem in that a message is lost if a message is transmitted that exceeds the normal message processing limit.

본 발명은 키폰 시스템에서 내선 단말기에 대한 메시지를 처리하고자 하는 경우 내선 단말기별 메시지의 양에 따라 메시지 우선순위를 지정하여 메시지 처리 순서를 설정함으로써, 메시지 처리속도와 처리효율이 향상되고, 해당 메시지 우선순위를 주기적으로 갱신함으로써 메시지 유실을 방지할 수 있게 된다.According to the present invention, when a message for an extension terminal is to be processed in a key phone system, a message processing order is set by specifying a message priority according to the amount of messages for each extension terminal, thereby improving message processing speed and processing efficiency, and corresponding message priority. By periodically updating the rank, it is possible to prevent the loss of messages.

Description

키폰 시스템에서의 메시지 처리 장치 및 방법Apparatus and method for processing messages in keyphone system

본 발명은 키폰 시스템에 관한 것으로, 특히 내선 단말기에 대한 메시지를 처리하는 경우, 내선 단말기별 메시지의 양에 따라 메시지 우선순위를 주기적으로 갱신하고, 해당 메시지 우선순위에 따라 메시지를 처리함으로써, 키폰 시스템의 메시지 처리효율을 향상시킴과 동시에 메시지의 유실을 방지하는 키폰 시스템에서의 메시지 처리 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key phone system, and in particular, when processing a message for an extension terminal, by periodically updating the message priority according to the amount of messages for each extension terminal and processing the message according to the message priority, the key phone system The present invention relates to a message processing apparatus and method for improving a message processing efficiency of a message and preventing a loss of a message.

일반적으로, 종래의 키폰 시스템에서는 내선 단말기를 차례로 접속하여 해당 내선 단말기에 대한 메시지 처리기회를 균일하게 제공하는데, 일반적인 키폰 시스템의 사용 환경에서는 각 내선 단말기에 균일하게 메시지가 발생하지 않기 때문에 각 내선 단말기에 균일한 메시지 처리기회를 제공하는 경우, 처리할 메시지가 없는 내선 단말기에도 메시지 처리기회를 제공함으로 인해 메시지 처리속도가 저하되었다. 또한, 내선 단말기에 정상적인 처리 한계를 초과하는 메시지가 전송되는 경우 해당 내선 단말기에 대응되는 메시지 저장부에 초과하여 전송되는 메시지가 계속적으로 누적되면, 해당 메시지 저장부의 저장 용량을 초과하게 되어 전송되는 메시지가 유실되었다.In general, in the conventional key phone system, the station terminals are connected in sequence to provide message processing opportunities for the corresponding station terminals uniformly. In the use environment of the general key phone system, the messages are not uniformly generated in each station terminal station. In the case of providing a uniform message processing opportunity, the message processing speed is lowered by providing a message processing opportunity even to an extension terminal that has no message to process. In addition, when a message exceeding a normal processing limit is transmitted to an extension terminal, if a message continuously transmitted in excess of the message storage corresponding to the extension terminal accumulates, the storage capacity of the corresponding message storage is exceeded and transmitted. Was lost.

상기와 같이 메시지를 처리하는 종래의 키폰 시스템(KPS1)은 도 1에 도시된 바와 같이, 메시지 저장부(11), 버퍼(12), 중앙처리장치(13), 내선 인터페이스부(14), 이벤트 저장부(15), 인터럽트 발생회로부(16)를 구비하여 이루어진다.As shown in FIG. 1, a conventional key phone system KPS1 for processing a message as described above includes a message storage unit 11, a buffer 12, a central processing unit 13, an extension interface unit 14, and an event. And a storage unit 15 and an interrupt generation circuit unit 16.

메시지 저장부(11)는 내선번호에 대응되는 다수의 메시지 큐(Queue)로 구성되어 해당 내선번호로 전송할 메시지를 내선번호별로 저장하고, 버퍼(12)는 내선 인터페이스부(14)에 접속되어 있는 모든 내선 단말기의 내선번호를 차례로 저장하며, 중앙처리장치(13)는 시스템에서 이루어지는 모든 동작을 제어 처리하는데, 자체의 메모리에 저장되어 있는 메시지 처리 프로그램에 따라 내선 단말기에 대한 메시지 처리 동작을 제어한다. 내선 인터페이스부(14)는 중앙처리장치(13)의 제어에 따라 내선을 접속하여 내선에 대해 입출력되는 신호를 정합하여 주고, 이벤트 저장부(15)는 내선 단말기로부터 전송되는 모든 처리요구 데이터를 저장하며, 인터럽트 발생회로부(16)는 키폰 시스템(KPS1)과 내선 단말기간에 데이터 통신을 하기 위한 인터럽트를 발생하는 역할을 수행한다.The message storage unit 11 is composed of a plurality of message queues corresponding to the extension number to store the message to be transmitted to the extension number for each extension number, the buffer 12 is connected to the extension interface unit 14 The station numbers of all extension terminals are sequentially stored, and the central processing unit 13 controls all operations performed in the system, and controls message processing operations for the extension terminals according to message processing programs stored in its own memory. . The station interface unit 14 connects the stations according to the control of the central processing unit 13 to match signals input and output to the station, and the event storage unit 15 stores all processing request data transmitted from the station terminal. The interrupt generation circuit unit 16 serves to generate an interrupt for data communication between the key phone system KPS1 and the station terminal.

전술한 바와 같은 종래의 키폰 시스템(KPS1)에서의 내선 단말기에 대한 메시지 처리 동작은 도면 도 2에 도시된 바와 같은 순서로 수행된다.The message processing operation for the extension terminal in the conventional key phone system KPS1 as described above is performed in the order as shown in FIG.

먼저, 인터럽트 발생회로부(16)에 의해 메시지 저장부(11)에 저장되어 있는 메시지를 내선 단말기에 전송하기 위한 인터럽트가 발생되면(스텝 S21), 중앙처리장치(13)는 버퍼(12)의 최상위에 저장되어 있는 내선번호를 버퍼(12)로부터 인출한 후(스텝 S22), 해당 내선번호에 대응되는 메시지 저장부(11)에 메시지가 저장되어 있는가를 판단하여(스텝 S23), 메시지가 저장되어 있으면 중앙처리장치(13)는 메시지 저장부(11)로부터 해당 내선번호에 대응되는 한 개의 메시지를 인출한다(스텝 S24). 스텝 S24이후, 인출한 메시지를 전송 가능한 형태로 전환하고(스텝 S25), 내선 인터페이스부(14)를 제어하여 해당 내선번호에 대응되는 내선 단말기와 통화로를 구성하여(스텝 S26), 해당 내선 단말기로 메시지를 전송한다(스텝 S27). 스텝 S27이후, 내선 단말기로부터 처리요구 데이터가 수신되면(스텝 S28), 중앙처리장치(13)는 수신된 처리요구 데이터를 이벤트 저장부(15)에 저장할 수 있는 형태로 전환하여 이벤트 저장부(15)에 저장한다(스텝 S29). 스텝 S29이후, 중앙처리장치(13)는 버퍼(12)를 제어하여 다음 내선번호가 있는가를 판단하여(스텝 S30), 다음 내선번호가 있지 않으면 동작을 종료하고, 다음 내선번호가 있으면 버퍼(12)로부터 해당 내선번호를 인출한 후(스텝 S33), 스텝 S23으로 귀환하여 반복 동작을 수행한다. 한편, 스텝 S23에서 메시지가 저장되어 있지 않으면 중앙처리장치(13)는 내선 인터페이스부(14)를 제어하여 해당 내선번호에 대응되는 내선 단말기와 통화로를 구성하여(스텝 S31), 해당 내선 단말기로 처리할 메시지가 없음을 통지한 후(스텝 S32), 스텝 S30의 동작을 수행한다.First, when an interrupt for transmitting a message stored in the message storage section 11 to the extension terminal is generated by the interrupt generation circuit section 16 (step S21), the central processing unit 13 causes the top of the buffer 12 to be the highest. After the extension number stored in the extension is fetched from the buffer 12 (step S22), it is determined whether or not the message is stored in the message storage unit 11 corresponding to the extension number (step S23). The central processing unit 13 draws out one message corresponding to the extension number from the message storage unit 11 (step S24). After step S24, the retrieved message is switched to a form capable of transmission (step S25), and the extension interface unit 14 is controlled to configure a call path with an extension terminal corresponding to the extension number (step S26). In step S27, the message is transmitted. After step S27, when processing request data is received from the extension terminal (step S28), the central processing unit 13 converts the received processing request data into a form that can be stored in the event storage unit 15, and the event storage unit 15 (Step S29). After step S29, the central processing unit 13 controls the buffer 12 to determine whether there is the next extension number (step S30), and ends the operation if there is no next extension number, and if there is the next extension number, the buffer 12 After the extension number is taken out (Step S33), the flow returns to Step S23 to perform a repeating operation. On the other hand, if no message is stored in step S23, the central processing unit 13 controls the extension interface unit 14 to form a call path with the extension terminal corresponding to the extension number (step S31), and to the extension terminal. After notifying that there are no messages to process (step S32), the operation of step S30 is performed.

전술한 바와 같은 종래의 키폰 시스템에서는 내선 단말기에 대한 메시지를 처리하는 경우 모든 내선 단말기에 균일한 메시지 처리기회를 제공함으로 처리할 메시지가 없는 내선 단말기에도 메시지 처리기회를 제공하게 되어 메시지 처리속도가 저하되는 문제점이 있고, 정상적인 메시지 처리 한계를 초과하는 메시지가 전송되는 경우 메시지가 유실된다는 문제점이 있다.In the conventional key phone system as described above, when processing a message for an extension terminal, a uniform message processing opportunity is provided to all extension terminals, thereby providing a message processing opportunity even for an extension terminal that does not have a message to process. There is a problem that a message is lost, and a message is lost when a message exceeding a normal message processing limit is transmitted.

본 발명은 전술한 바와 같은 문제점을 해결하기 위한 것으로 그 목적은, 키폰 시스템에서 내선 단말기별 메시지의 양에 따라 메시지 처리에 대한 우선순위를 지정한 후, 해당 우선순위에 따라 메시지 처리기회를 차등적으로 제공하여 메시지 처리속도가 향상되도록 하고, 해당 메시지 처리에 대한 우선순위를 주기적으로 갱신하여 메시지 유실을 방지함과 동시에 메시지 처리효율이 향상되도록 함에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object thereof is to specify a priority for message processing according to the amount of messages for each extension terminal in a keyphone system, and then differentially process message processing opportunities according to the priorities. The message processing speed is improved, and the priority for processing the message is periodically updated to prevent message loss and to improve the message processing efficiency.

상기와 같은 목적을 달성하기 위한 본 발명의 특징은, 내선 단말기로 전송할 메시지를 내선번호별로 저장하는 메시지 저장부와; 내선 단말기와 데이터 통신을 하기 위해 인터럽트를 발생하는 인터럽트 발생회로부와; 내선을 접속하여 내선에 대해 입출력되는 신호를 정합하여 주는 내선 인터페이스부와; 내선 단말기로부터 전송되는 처리요구 데이터를 저장하는 이벤트 저장부를 구비하는 키폰 시스템에 있어서, 내선 단말기의 내선번호를 메시지 처리 순서에 따라 저장하는 우선순위 테이블 저장부와; 해당 메시지 처리 순서에 따라 저장된 내선번호에 대응되는 색인 번호를 저장하여 카운트하는 우선순위 카운터와; 상기 메시지 저장부에 메시지가 저장되어 있는 엔트리 수를 계수하여 내선번호별로 저장하는 엔트리 카운터와; 상기 키폰 시스템에서 이루어지는 모든 동작을 제어 처리하는데, 자체의 메모리에 저장되어 있는 메시지 처리 프로그램에 따라 내선 단말기에 대한 메시지 처리 동작을 제어하고, 메시지 우선순위를 설정하며, 해당 메시지 우선순위를 갱신하고자 하는 소정시간을 상기 타이머에 등록하는 중앙처리장치와; 상기 중앙처리장치에 의해 등록되는 소정시간을 카운트하여 해당 소정시간이 종료되면, 상기 중앙처리장치에 "타임 아웃" 메시지를 전송하는 타이머를 포함함에 있다.Features of the present invention for achieving the above object, the message storage unit for storing the message to be transmitted to the extension terminal for each extension number; An interrupt generation circuit unit for generating an interrupt for data communication with the extension terminal; An extension interface unit for connecting an extension to match signals inputted and outputted to the extension; A key phone system having an event storage unit for storing processing request data transmitted from an extension terminal, comprising: a priority table storage unit for storing the extension number of the extension terminal in a message processing order; A priority counter for storing and counting index numbers corresponding to the stored extension numbers according to the message processing order; An entry counter for counting the number of entries in which a message is stored in the message storage unit and storing the number of entries for each extension number; Controls all operations performed in the key phone system, and controls message processing operations for the extension terminal, sets message priorities, and updates corresponding message priorities according to message processing programs stored in its own memory. A central processing unit that registers a predetermined time with the timer; And a timer for counting a predetermined time registered by the central processing unit and transmitting a "time out" message to the central processing unit when the predetermined time expires.

본 발명의 다른 특징은 메시지 우선순위를 갱신하기 위한 소정시간을 등록하여 주기적으로 메시지 우선순위를 갱신하여 저장하는 제 1과정과; 상기 제 1과정에서 저장된 메시지 우선순위에 따라 내선 단말기에 전송할 메시지를 처리하는 제 2과정을 포함함에 있다.Another feature of the present invention includes a first step of registering a predetermined time for updating the message priority and periodically updating and storing the message priority; And a second process of processing a message to be transmitted to the extension terminal according to the message priority stored in the first process.

상기 제 1과정은 메시지 우선순위 갱신을 위해 등록된 소정시간이 종료되어 "타임 아웃" 메시지가 인가되면 내선번호에 대한 엔트리 수를 읽어 들이는 제 1단계와; 상기 제 1단계이후, 해당 엔트리 수가 큰 내선번호부터 차례로 메시지 우선순위를 갱신한 후, 해당 메시지 우선순위에 따라 메시지 처리 순서를 설정하는 제 2단계와; 해당 메시지 처리 순서에 따라 색인 번호를 저장한 후, 상기 제 1단계로 귀환하여 반복 동작을 수행하는 제 3단계를 포함하는 것을 특징으로 한다.The first step includes: a first step of reading the number of entries for the extension number if a predetermined time registered for updating the message priority is expired and a " time out " message is authorized; A second step of updating a message priority in order from an extension number having a large number of entries after the first step, and then setting a message processing order according to the message priority; And storing the index number according to the message processing order, and returning to the first step to perform a repeating operation.

한편, 상기 제 2과정은 인터럽트가 발생되면 최상위 색인 번호를 인출하는 제 1단계와; 상기 제 1단계이후, 해당 색인 번호에 대응되는 내선번호를 인출한 후, 해당 내선번호에 대응되는 한 개의 메시지를 인출하여 전송 가능한 형태로 전환하는 제 2단계와; 상기 제 2단계이후, 내선 단말기와 통화로를 구성하여 해당 메시지를 전송함과 동시에 엔트리 수를 '1' 감소한 후, 처리요구 데이터가 수신되면 해당 처리요구 데이터를 저장 가능한 형태로 전환하여 저장하는 제 3단계와; 상기 제 3단계이후, 다음 색인 번호가 있으면 해당 색인 번호를 인출한 후, 상기 제 2단계로 귀환하여 반복 동작을 수행하는 제 4단계를 포함하는 것을 특징으로 한다.On the other hand, the second process is a first step of withdrawing the highest index number when an interrupt occurs; A second step of fetching an extension number corresponding to the corresponding index number after the first step, and then fetching one message corresponding to the extension number and converting the message into a transferable form; After the second step, by forming a call path with the extension terminal and transmitting the corresponding message and reducing the number of entries by '1', if the processing request data is received, the processing request data is converted into a form that can be stored and stored. Step 3; After the third step, if there is a next index number, the index number is withdrawn, and then returns to the second step, characterized in that it comprises a fourth step of performing a repeating operation.

도 1은 종래 키폰 시스템의 구성 블록도.1 is a block diagram of a conventional key phone system.

도 2는 종래 키폰 시스템에서의 메시지 처리 동작 순서도.2 is a flowchart illustrating a message processing operation in a conventional key phone system.

도 3은 본 발명에 따른 키폰 시스템의 구성 블록도.3 is a block diagram of a key phone system according to the present invention;

도 4는 본 발명에 따른 키폰 시스템에서의 메시지 우선순위 갱신 동작 순서도.4 is a flowchart illustrating a message priority update operation in a key phone system according to the present invention.

도 5는 본 발명에 따른 키폰 시스템에서의 메시지 처리 동작 순서도.5 is a flowchart illustrating a message processing operation in a key phone system according to the present invention.

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

11, 22 : 메시지 저장부 12 : 버퍼11, 22: message storage unit 12: buffer

13, 25 : 중앙처리장치 14, 26 : 내선 인터페이스부13, 25: central processing unit 14, 26: station interface unit

15, 27 : 이벤트 저장부 16, 29 : 인터럽트 발생회로부15, 27: event storage unit 16, 29: interrupt generation circuit unit

21 : 엔트리 카운터 23 : 우선순위 카운터21: entry counter 23: priority counter

24 : 우선순위 테이블 저장부 28 : 타이머24: priority table storage unit 28: timer

이하, 본 발명의 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에 따른 키폰 시스템(KPS2)은 도면 도 3에 도시된 바와 같이, 엔트리 카운터(21), 메시지 저장부(22), 우선순위 카운터(23), 우선순위 테이블 저장부(24), 중앙처리장치(25), 내선 인터페이스부(26), 이벤트 저장부(27), 타이머(28), 인터럽트 발생회로부(29)를 구비하여 이루어진다.Key phone system KPS2 according to the present invention, as shown in Figure 3, the entry counter 21, message storage unit 22, priority counter 23, priority table storage unit 24, central processing A device 25, an extension interface unit 26, an event storage unit 27, a timer 28, and an interrupt generation circuit unit 29 are provided.

엔트리 카운터(21)는 메시지 저장부(22)에 메시지가 저장되어 있는 엔트리 수를 계수하여 내선번호별로 저장하고, 메시지 저장부(22)는 내선번호에 대응되는 메시지 큐로 구성되어 해당 내선번호로 전송할 메시지를 저장하며, 우선순위 카운터(23)는 중앙처리장치(25)의 제어에 따라 우선순위 테이블 저장부(24)의 메시지 처리 순서에 따라 저장된 내선번호에 대응되는 색인 번호를 저장하여 카운트한다. 우선순위 테이블 저장부(24)는 내선 인터페이스부(26)에 접속되어 있는 모든 내선 단말기의 내선번호를 중앙처리장치(25)에 의해 설정된 메시지 처리 순서에 따라 저장한다. 중앙처리장치(25)는 시스템에서 이루어지는 모든 동작을 제어 처리하는데, 자체의 메모리에 저장되어 있는 메시지 처리 프로그램에 따라 각 내선 단말기에 대한 메시지 처리 동작을 제어하며, 메시지 우선순위를 설정하고, 해당 메시지 우선순위를 갱신하고자 하는 소정시간을 타이머(28)에 등록한다. 내선 인터페이스부(26)는 중앙처리장치(25)의 제어에 따라 내선을 접속하여 내선에 대해 입출력되는 신호를 정합하여 주고, 이벤트 저장부(27)는 내선 단말기로부터 전송되는 모든 처리요구 데이터를 저장한다. 타이머(28)는 중앙처리장치(25)에 의해 등록되는 소정시간을 카운트하여 해당 소정시간이 종료되면, 중앙처리장치(25)에 "타임 아웃" 메시지를 전송하며, 인터럽트 발생회로부(29)는 키폰 시스템(KPS2)과 내선 단말기간에 데이터 통신을 하기 위한 인터럽트를 발생하는 역할을 수행한다.The entry counter 21 counts the number of entries in which the message is stored in the message storage unit 22 and stores the number of entries for each extension number, and the message storage unit 22 is composed of a message queue corresponding to the extension number and transmitted to the corresponding extension number. The message is stored, and the priority counter 23 stores and counts the index number corresponding to the stored extension number according to the message processing order of the priority table storage unit 24 under the control of the central processing unit 25. The priority table storage section 24 stores the extension numbers of all extension terminals connected to the extension interface unit 26 in the message processing order set by the central processing unit 25. The central processing unit 25 controls all operations performed in the system, controls message processing operations for each extension terminal according to a message processing program stored in its own memory, sets a message priority, and sends a corresponding message. The timer 28 registers a predetermined time for updating the priority. The station interface unit 26 connects the stations according to the control of the central processing unit 25 to match signals input and output to the station, and the event storage unit 27 stores all processing request data transmitted from the station terminal. do. The timer 28 counts a predetermined time registered by the central processing unit 25 and transmits a "time out" message to the central processing unit 25 when the predetermined time expires, and the interrupt generating circuit unit 29 It serves to generate an interrupt for data communication between the key phone system KPS2 and the extension terminal.

이상과 같이 구성된 본 발명에 따른 키폰 시스템(KPS2)에서의 메시지 처리 과정을 도면 도 4와 도 5를 참조하여 설명하면 다음과 같다.Referring to FIGS. 4 and 5, a message processing process in the key phone system KPS2 according to the present invention configured as described above is as follows.

먼저, 키폰 시스템(KPS2)에서 메시지 우선순위를 갱신하는 동작은 도면 도 4에 도시된 순서로 진행된다.First, the operation of updating the message priority in the key phone system KPS2 proceeds in the order shown in FIG. 4.

중앙처리장치(25)에 의해 타이머(28)에 메시지 우선순위를 갱신하고자 하는 소정시간이 등록되면(스텝 S41), 타이머(28)는 등록된 소정시간을 카운트하여 해당 소정시간이 종료되면, "타임 아웃" 메시지를 발행하여 중앙처리장치(25)에 전송하며(스텝 S42), 중앙처리장치(25)는 엔트리 카운터(21)에 계수된 각 내선번호에 대한 엔트리 수를 읽어 들인다(스텝 S43). 스텝 S43에서 읽어 들인 내선번호별 엔트리 수 중에서 엔트리 수가 큰 내선번호부터 차례로 메시지 우선순위를 지정한 후(스텝 S44), 해당 메시지 우선순위가 높은 내선번호를 다른 내선번호보다 더많이 기록하면서 내선번호에 대한 메시지 처리 순서를 설정한다(스텝 S45). 스텝 S45이후, 중앙처리장치(25)는 해당 메시지 처리 순서에 따른 내선번호를 우선순위 테이블 저장부(24)에 저장하고(스텝 S46), 해당 메시지 처리 순서에 따라 저장된 내선번호에 대응되는 색인 번호를 우선순위 카운터(23)에 저장한 후(스텝 S47), 스텝 S41로 귀환하여 반복 동작을 수행하게 된다.When the predetermined time for updating the message priority is registered in the timer 28 by the central processing unit 25 (step S41), the timer 28 counts the registered predetermined time and when the predetermined time ends, " Timeout " message is issued to the central processing unit 25 (step S42), and the central processing unit 25 reads the number of entries for each extension number counted by the entry counter 21 (step S43). . From the number of entries by extension number read in step S43, the message priority is specified in order from the extension number having the largest number of entries (step S44). Then, the extension number having the highest message priority is recorded more than the other extension number while the extension number is increased. The message processing procedure is set (step S45). After step S45, the central processing unit 25 stores the extension number according to the message processing order in the priority table storage unit 24 (step S46), and the index number corresponding to the extension number stored according to the message processing order. Is stored in the priority counter 23 (step S47), and the flow returns to step S41 to perform the repetitive operation.

이상과 같은 과정을 통해 메시지 우선순위가 갱신되는 상태에서 키폰 시스템(KPS2)은 도 5에 도시된 순서로 동작하여 메시지를 처리한다.In the state where the message priority is updated through the above process, the key phone system KPS2 operates in the order shown in FIG. 5 to process the message.

먼저, 인터럽트 발생회로부(29)에 의해 메시지 저장부(22)에 저장되어 있는 메시지를 내선 단말기에 전송하기 위한 인터럽트가 발생되면(스텝 S51), 중앙처리장치(25)는 우선순위 카운터(23)에 저장되어 있는 최상위의 색인 번호를 인출한 후(스텝 S52), 해당 색인 번호에 대응되는 내선번호를 우선순위 테이블 저장부(24)로부터 인출한다(스텝 S53). 스텝 S53이후, 중앙처리장치(25)는 인출한 내선번호에 대응되는 한 개의 메시지를 메시지 저장부(22)로부터 인출하여(스텝 S54), 내선 단말기에 전송 가능한 형태로 메시지를 전환한 후(스텝 S55), 내선 인터페이스부(26)를 제어해서 해당 내선번호에 대응되는 내선 단말기와 통화로를 구성하여(스텝 S56), 해당 내선 단말기로 메시지를 전송함과 동시에 해당 내선번호에 대응되는 엔트리 카운터(21)의 엔트리 수를 '1'감소한다(스텝 S57). 스텝 S57이후, 내선 단말기로부터 처리요구 데이터가 수신되면(스텝 S58), 중앙처리장치(25)는 수신된 처리요구 데이터를 이벤트 저장부(27)에 저장할 수 있는 형태로 전환하여 이벤트 저장부(27)에 저장한다(스텝 S59). 스텝 S59이후, 중앙처리장치(25)는 우선순위 테이블 저장부(24)를 제어하여 다음 색인 번호가 있는가를 판단하여(스텝 S60), 다음 색인 번호가 있으면 우선순위 카운터(23)로부터 해당 색인 번호를 인출한 후(스텝 S61), 스텝 S53으로 귀환하여 반복 동작을 수행하고, 스텝 S60에서 다음 색인 번호가 있지 않으면 동작을 종료하게 된다.First, when an interrupt for transmitting a message stored in the message storage section 22 to the extension terminal is generated by the interrupt generation circuit section 29 (step S51), the central processing unit 25 receives the priority counter 23. After retrieving the highest index number stored in (step S52), the extension number corresponding to the index number is retrieved from the priority table storage unit 24 (step S53). After step S53, the central processing unit 25 withdraws one message corresponding to the extended extension number from the message storage unit 22 (step S54), switches the message in a form that can be transmitted to the extension terminal (step S54). S55), the extension interface unit 26 is controlled to configure a call path with an extension terminal corresponding to the extension number (step S56), and an entry counter corresponding to the extension number while transmitting a message to the extension terminal (step S56). The number of entries 21) is decreased by one (step S57). After step S57, when processing request data is received from the extension terminal (step S58), the central processing unit 25 converts the received processing request data into a form that can be stored in the event storage unit 27, and the event storage unit 27 ) (Step S59). After step S59, the central processing unit 25 controls the priority table storage unit 24 to determine whether there is a next index number (step S60), and if there is a next index number, the corresponding index number is obtained from the priority counter 23. After drawing out (step S61), the flow returns to step S53 to perform a repeating operation, and the operation ends if there is no next index number in step S60.

이상과 같이, 본 발명은 키폰 시스템에서 내선 단말기에 대한 메시지를 처리하고자 하는 경우 내선 단말기별 메시지의 양에 따라 메시지 우선순위를 지정하여 메시지 처리 순서를 설정함으로써, 메시지 처리속도와 처리효율이 향상되고, 해당 메시지 우선순위를 주기적으로 갱신함으로써 메시지 유실을 방지할 수 있게 된다.As described above, in the present invention, when a message for an extension terminal is to be processed in a key phone system, the message processing speed and processing efficiency are improved by setting a message processing order by specifying a message priority according to the amount of messages for each extension terminal. In this case, the message priority can be updated periodically to prevent the loss of messages.

Claims (4)

내선 단말기로 전송할 메시지를 내선번호별로 저장하는 메시지 저장부와; 내선 단말기와 데이터 통신을 하기 위해 인터럽트를 발생하는 인터럽트 발생회로부와; 내선을 접속하여 내선에 대해 입출력되는 신호를 정합하여 주는 내선 인터페이스부와; 내선 단말기로부터 전송되는 처리요구 데이터를 저장하는 이벤트 저장부를 구비하는 키폰 시스템에 있어서,A message storage unit which stores the message to be transmitted to the extension terminal for each extension number; An interrupt generation circuit unit for generating an interrupt for data communication with the extension terminal; An extension interface unit for connecting an extension to match signals inputted and outputted to the extension; A key phone system having an event storage unit for storing processing request data transmitted from an extension terminal, 내선 단말기의 내선번호를 메시지 처리 순서에 따라 저장하는 우선순위 테이블 저장부와; 해당 메시지 처리 순서에 따라 저장된 내선번호에 대응되는 색인 번호를 저장하여 카운트하는 우선순위 카운터와; 상기 메시지 저장부에 메시지가 저장되어 있는 엔트리 수를 계수하여 내선번호별로 저장하는 엔트리 카운터와; 상기 키폰 시스템에서 이루어지는 모든 동작을 제어 처리하는데, 자체의 메모리에 저장되어 있는 메시지 처리 프로그램에 따라 내선 단말기에 대한 메시지 처리 동작을 제어하고, 메시지 우선순위를 설정하며, 해당 메시지 우선순위를 갱신하고자 하는 소정시간을 상기 타이머에 등록하는 중앙처리장치와; 상기 중앙처리장치에 의해 등록되는 소정시간을 카운트하여 해당 소정시간이 종료되면, 상기 중앙처리장치에 "타임 아웃" 메시지를 전송하는 타이머를 포함하는 것을 특징으로 하는 키폰 시스템에서의 메시지 처리 장치.A priority table storage unit for storing the extension number of the extension terminal in the message processing order; A priority counter for storing and counting index numbers corresponding to the stored extension numbers according to the message processing order; An entry counter for counting the number of entries in which a message is stored in the message storage unit and storing the number of entries for each extension number; Controls all operations performed in the key phone system, and controls message processing operations for the extension terminal, sets message priorities, and updates corresponding message priorities according to message processing programs stored in its own memory. A central processing unit that registers a predetermined time with the timer; And a timer for counting a predetermined time registered by the central processing unit and transmitting a "time out" message to the central processing unit when the predetermined time is ended. 메시지 우선순위를 갱신하기 위한 소정시간을 등록하여 주기적으로 메시지 우선순위를 갱신하여 저장하는 제 1과정과; 상기 제 1과정에서 저장된 메시지 우선순위에 따라 내선 단말기에 전송할 메시지를 처리하는 제 2과정을 포함하는 것을 특징으로 하는 키폰 시스템에서의 메시지 처리 방법.Registering a predetermined time for updating the message priority, and periodically updating and storing the message priority; And a second process of processing a message to be transmitted to an extension terminal according to the message priority stored in the first process. 제 2항에 있어서, 상기 제 1과정은 메시지 우선순위 갱신을 위해 등록된 소정시간이 종료되어 "타임 아웃" 메시지가 인가되면 내선번호에 대한 엔트리 수를 읽어 들이는 제 1단계와; 상기 제 1단계이후, 해당 엔트리 수가 큰 내선번호부터 차례로 메시지 우선순위를 갱신한 후, 해당 메시지 우선순위에 따라 메시지 처리 순서를 설정하는 제 2단계와; 해당 메시지 처리 순서에 따라 색인 번호를 저장한 후, 상기 제 1단계로 귀환하여 반복 동작을 수행하는 제 3단계를 포함하는 것을 특징으로 하는 키폰 시스템에서의 메시지 처리 방법.3. The method of claim 2, wherein the first process comprises: a first step of reading the number of entries for an extension number if a "time out" message is authorized after a predetermined time registered for message priority update ends; A second step of updating a message priority in order from an extension number having a large number of entries after the first step, and then setting a message processing order according to the message priority; And a third step of storing the index number according to the message processing order, and then returning to the first step to perform a repetitive operation. 제 2항에 있어서, 상기 제 2과정은 인터럽트가 발생되면 최상위 색인 번호를 인출하는 제 1단계와; 상기 제 1단계이후, 해당 색인 번호에 대응되는 내선번호를 인출한 후, 해당 내선번호에 대응되는 한 개의 메시지를 인출하여 전송 가능한 형태로 전환하는 제 2단계와; 상기 제 2단계이후, 내선 단말기와 통화로를 구성하여 해당 메시지를 전송함과 동시에 엔트리 수를 '1' 감소한 후, 처리요구 데이터가 수신되면 해당 처리요구 데이터를 저장 가능한 형태로 전환하여 저장하는 제 3단계와; 상기 제 3단계이후, 다음 색인 번호가 있으면 해당 색인 번호를 인출한 후, 상기 제 2단계로 귀환하여 반복 동작을 수행하는 제 4단계를 포함하는 것을 특징으로 하는 키폰 시스템에서의 메시지 처리 방법.3. The method of claim 2, wherein the second process comprises: a first step of fetching the highest index number when an interrupt occurs; A second step of fetching an extension number corresponding to the corresponding index number after the first step, and then fetching one message corresponding to the extension number and converting the message into a transferable form; After the second step, by forming a call path with the extension terminal and transmitting the corresponding message and reducing the number of entries by '1', if the processing request data is received, the processing request data is converted into a form that can be stored and stored. Step 3; And after the third step, if there is a next index number, retrieving the corresponding index number, and then returning to the second step to perform a repetitive operation.
KR1019970057765A 1997-11-03 1997-11-03 Message processing device and method in keyphone system KR100246171B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970057765A KR100246171B1 (en) 1997-11-03 1997-11-03 Message processing device and method in keyphone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970057765A KR100246171B1 (en) 1997-11-03 1997-11-03 Message processing device and method in keyphone system

Publications (2)

Publication Number Publication Date
KR19990038127A KR19990038127A (en) 1999-06-05
KR100246171B1 true KR100246171B1 (en) 2000-03-15

Family

ID=19524061

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970057765A KR100246171B1 (en) 1997-11-03 1997-11-03 Message processing device and method in keyphone system

Country Status (1)

Country Link
KR (1) KR100246171B1 (en)

Also Published As

Publication number Publication date
KR19990038127A (en) 1999-06-05

Similar Documents

Publication Publication Date Title
CN1105361C (en) Full distribution information storaging apparatus in distributive exchanging system
US5642483A (en) Method for efficiently broadcast messages to all concerned users by limiting the number of messages that can be sent at one time
KR100246171B1 (en) Message processing device and method in keyphone system
CA2385074A1 (en) Method and system for transmitting a chain of messages for database
JP2710592B2 (en) Wireless selective call receiver with message transmission function
JP3090830B2 (en) Message delivery request processing device
KR100316285B1 (en) apparatus for voice message outgoing and method for voice message address controlling in switching system
JPH04299458A (en) Information retrieving device
JPH06113048A (en) Control method for facsimile equipment
CN117579413A (en) Control method and device for multi-packet message sending time sequence, electronic equipment and medium
KR100461519B1 (en) Device And Method Of Message Management In Mobile Communication System
JP2938660B2 (en) Electronic switch overload avoidance device
JP3717191B2 (en) Dialed number reception method
JPS61176275A (en) Facsimile equipment
JP2002009793A (en) Atm multiplexing apparatus and method for controlling priority of atm cell transmission
CN113992479A (en) Intelligent gateway and data transmission method thereof
CN114867060A (en) Data transmission method, system, device and readable storage medium in network
JPH09102793A (en) Repeater system
JP2556140B2 (en) Multiple access switching system
JPS60197029A (en) Paging system
JPH0548742A (en) Transfer control system for key telephone system
JPH04342351A (en) Method and device for transmitting caller number
JPS5643864A (en) Facsimile equipment
JPH02302155A (en) Representative connection system
KR19990058880A (en) Call management method in high speed paging system

Legal Events

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

Payment date: 20121115

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20131115

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20141117

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20151112

Year of fee payment: 17

LAPS Lapse due to unpaid annual fee