KR100447394B1 - method for processing a message of the communication system - Google Patents

method for processing a message of the communication system Download PDF

Info

Publication number
KR100447394B1
KR100447394B1 KR10-2001-0068087A KR20010068087A KR100447394B1 KR 100447394 B1 KR100447394 B1 KR 100447394B1 KR 20010068087 A KR20010068087 A KR 20010068087A KR 100447394 B1 KR100447394 B1 KR 100447394B1
Authority
KR
South Korea
Prior art keywords
message
priority
processing
processed
messages
Prior art date
Application number
KR10-2001-0068087A
Other languages
Korean (ko)
Other versions
KR20030035681A (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 KR10-2001-0068087A priority Critical patent/KR100447394B1/en
Publication of KR20030035681A publication Critical patent/KR20030035681A/en
Application granted granted Critical
Publication of KR100447394B1 publication Critical patent/KR100447394B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Abstract

본 발명은 통신시스템의 임의의 모듈로부터 Time값이 포함된 이벤트 메시지를 수신하여 저장시키는 메시지수신단계와, 상기 메시지수신단계후에 설정된 우선 순위조건에 따라 큐에 저장된 메시지의 우선순위값(Priority)을 결정하여 소트시키는 메시지 우선순위 설정단계와, 상기 메시지 우선순위 설정단계후에 설정된 우선순위에 따라 타임값을 참조하여 최우선순위를 갖는 메시지부터 순차적으로 처리하는 메시지처리단계와, 상기 메시지처리단계후에 현재 처리된 메시지중에서 그 설정된 전송시간이 타임아웃됨에 따라 정상적으로 처리되지 못한 메시지가 존재하는 지를 확인하는 메시지 오류확인단계와, 상기 메시지 오류확인단계에 의해 현재 처리된 메시지중에서 그 전송시간이 타임아웃됨에 따라 정상적으로 처리되지 못한 메시지가 존재함이 확인될 경우 그 정상적으로 처리되지 못한 해당 메시지를 큐에 다시 넣어 재처리하는 메시지 재처리단계로 이루어진 통신시스템의 메시지처리방법을 제공한다.The present invention provides a message receiving step of receiving and storing an event message including a time value from an arbitrary module of a communication system, and a priority value of a message stored in a queue according to a priority condition set after the message receiving step. A message priority setting step of determining and sorting, a message processing step of sequentially processing a message having a highest priority by referring to a time value according to the priority set after the message priority setting step, and present processing after the message processing step A message error checking step of checking whether there is a message that has not been processed normally as the set transmission time of the message has been timed out, and as the transmission time is timed out among the messages currently processed by the message error checking step. An unprocessed message exists When the offer message processing method of the communication system of the messages that could not be successfully re-processed by a message processing step of reprocessing put back into the queue.

상기와 같은 본 발명은 모듈간의 프로토콜 메시지 전송시 메시지 전송시간에 따른 타임값이 설정된 메시지를 전송하고 이 전송된 메시지들을 설정된 우선순위에 따라 순차적으로 처리하므로써, 메시지가 적체되는 일없이 원할하게 처리되므로 그에 따라 프로토콜 메시지전송의 효율성을 상당히 향상시킨다.In the present invention as described above, when a protocol message is transmitted between modules, a message having a time value according to a message transmission time is transmitted, and the transmitted messages are processed sequentially according to a set priority, so that the message is processed smoothly without being accumulated. This significantly improves the efficiency of protocol message transmission.

Description

통신시스템의 메시지처리방법{method for processing a message of the communication system}Method for processing a message of the communication system

본 발명은 통신시스템의 메시지처리방법에 관한 것으로, 특히 모듈간의 프로토콜 메시지 전송시 메시지 전송시간에 따른 타임값이 설정된 메시지를 전송하고 이 전송된 메시지들을 설정된 우선순위에 따라 순차적으로 처리하는 통신시스템의 메시지처리방법에 관한 것이다.The present invention relates to a message processing method of a communication system, and more particularly to a communication system for transmitting a message having a time value set according to a message transmission time when a protocol message is transmitted between modules, and sequentially processing the transmitted messages according to a set priority. The message processing method.

일반적으로 산업사회가 발전함에 따라 일정지점에서 원하는 다른 지점으로데이터를 보다 적절히 그리고 신속히 전송시키기 위한 통신시스템들이 널리 사용되고 있는데, 이러한 통신시스템들은 통상 지리적으로 분산되어 있는 동종간 또는 이기종간 통신기기 혹은 정보기기 또는 프로세서와 또다른 프로세서간을 연결하여 상호간에 자원의 공유와 통신을 가능하도록 네트워크로 연결되는 것이 대부분이다.In general, as the industrial society develops, communication systems are widely used to transfer data more appropriately and quickly from a certain point to another desired point. These communication systems are usually geographically dispersed homogeneous or heterogeneous communication devices or information. In most cases, a device or a processor is connected to another processor and is connected to a network to enable sharing and communication of resources with each other.

예를들어, 교환기와 교환기간이나 혹은 은행과 같은 금융기관의 단말기와 서버간의 연결 또는 프로세서와 프로세서간의 프로토콜을 이용한 연결등 다수 활용되고 있다. 그런데, 상기와 같은 통신시스템에는 대개 통신을 위해 프로토콜을 사용하게 되는대, 이러한 프로토콜을 이용하여 메시지를 다른 프로세서나 모듈로 전송하여 타스크를 처리하게된다.For example, the exchange and exchange period, or the connection between the terminal and the server of a financial institution such as a bank, or the connection between the processor and the protocol using the protocol is widely used. However, in the above communication systems, protocols are generally used for communication, so that messages are transmitted to other processors or modules using these protocols to process tasks.

그러면, 상기와 같은 종래 프로토콜 메시지처리장치를 도 1을 참고로 살펴보면, 통신시스템내에 설치되어 일정모듈(70)로부터 생성된 각종 이벤트 예컨대, 다른 모듈(71)의 장애를 검출하는 메시지를 수신하여 그 발생순서대로 순차적으로 저장출력하는 프리큐(72)와, 상기 프리큐(72)로부터 로드된 처리메시지를 저장처리하는 타스크큐(73)와, 상기 프리큐(72)와 타스큐(73)의 내용을 모니터링하고 그 처리기능을 제어하는 메인모듈(74)로 이루어진다.Then, referring to the conventional protocol message processing apparatus as described above with reference to FIG. 1, various events generated from a certain module 70, for example, a message for detecting a failure of another module 71 and installed in a communication system, are received. A pre-queue 72 for storing and outputting sequentially in the order of occurrence; a task queue 73 for storing and processing a process message loaded from the pre-queue 72; and the pre-queue 72 and the task queue 73 It consists of a main module 74 that monitors the content and controls its processing functions.

여기서, 상기 처리메시지의 구성항목은 통상 사용자의 처리정보가 들어있는 key와, 이전에 처리했던 모듈의 번지가 기록된 prev와, 다음에 처리할 모듈의 번지가 기록된 next로 이루어진다.In this case, the configuration item of the processing message generally includes a key containing the processing information of the user, a prev in which the address of a previously processed module is recorded, and a next in which the address of a module to be processed next is recorded.

한편, 상기와 같은 종래 프로토콜 메시지처리장치의 처리방법을 살펴보면, 먼저 임의 모듈(70)에서 자신이 원하는 이벤트 메시지를 생성하여 메인 모듈(74)이double linked list 큐로 관리하는 프리큐(72)로 전송할 경우 이 프리큐(72)는 메인 모듈(74)의 제어에 따라 각각의 모듈(70)로부터 발생된 메시지를 발생순서에 따라 차례차례 저장한다. 이때, 상기 프리큐(72)는 메인 모듈(74)의 처리제어에 따라 그 발생순서가 가장 오래된 메시지를 타스크큐(73)로 로드시킨다. 그리고, 상기 타스크큐(73)는 메시지 전달 잡(job) 스케쥴링하는 하는 메인모듈(74)로 전달해야 할 메지시들을 프리큐(72)로부터 할당받아 적재한다. 그러면, 상기 메인모듈(74)은 타스크큐(73)를 모니터링하다가 메시지가 로드되면 이 로드된 메시지를 분석하여 해당 목적지의 모듈(71)로 전송한다. 여기서, 상기 프리큐(72)는 메인모듈(74)의 제어에 따라 상기와 같은 과정을 거쳐 하나씩 그 발생순서에 따라 메시지를 처리한다. 이때, 상기 프리큐(72)와 타스크큐(73)는 처리 메시지의 처음을 알리는 Head와 끝을 알리는 Tail로 구성된다. 그리고, 상기 프리큐(72)에서 꺼내어진 메시지는 필요한 처리과정이 종료될 경우 해당 메시지를 프리큐(72)의 끝으로 복귀시켜 프리큐(72)가 empty가 되지않도록 한다.On the other hand, referring to the processing method of the conventional protocol message processing apparatus as described above, first, the desired module generates a desired event message in the arbitrary module 70 and transmits it to the prequeue 72 that the main module 74 manages as a double linked list queue. In this case, the precue 72 sequentially stores the messages generated from the respective modules 70 under the control of the main module 74 in the order of generation. At this time, the prequeue 72 loads the message with the oldest generation order into the task queue 73 according to the process control of the main module 74. The task queue 73 receives and loads messages to be delivered from the prequeue 72 to the main module 74 for scheduling a message delivery job. Then, the main module 74 monitors the task queue 73 and when the message is loaded, analyzes the loaded message and transmits it to the module 71 of the corresponding destination. Here, the prequeuing 72 processes the messages according to the generation order one by one through the above process under the control of the main module 74. At this time, the prequeu 72 and the task cue 73 is composed of a head indicating the beginning of the processing message and a tail indicating the end. The message taken out of the prequeuing 72 returns the message to the end of the prequeuing 72 when the necessary processing is terminated so that the prequeuing 72 does not become empty.

그러나, 상기와 같은 종래 프로토콜 메시지처리장치의 처리방법은 각 계층간 발생한 메시지 전달시 이벤트가 발생한 순서대로 메시지를 처리하기 때문에 아무리 긴급한 메시지라도 순위가 뒤질 경우 앞의 메시지가 모두 처리된 후에야 비로소 처리되므로 그에 따라 메시지 처리의 효율성이 상당히 저하되었으며, 또한, 메시지의 전송시간이 길더라도 설정된 처리시간이 경과하면 이 메시지의 처리를 중단하고 다음 순위의 메시지를 처리하게 되므로 그에 따라 메시지의 전송에러가 발생되는 문제점이 발생되었다.However, the conventional method of processing a protocol message processing device as described above processes the messages in the order in which the events occur when delivering messages between the layers, so that even if an urgent message is out of order, it is processed only after all of the preceding messages have been processed. As a result, the efficiency of message processing is considerably degraded. Also, even if the transmission time of the message is long, when the set processing time elapses, processing of the message is stopped and the next priority message is processed, thereby causing a transmission error of the message. This occurred.

이에 본 발명은 상기와 같은 종래 제반 문제점을 해결하기 위해 발명된 것으로, 모듈간의 프로토콜 메시지 전송시 메시지 전송시간에 따른 타임값이 설정된 메시지를 전송하고 이 전송된 메시지들을 설정된 우선순위에 따라 순차적으로 처리하므로써, 메시지가 적체되는 일없이 원할하게 처리되므로 그에 따라 프로토콜 메시지전송의 효율성을 상당히 향상시키는 통신시스템의 메시지처리방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been invented to solve the above conventional problems, and transmits a message in which a time value according to a message transmission time is set when transmitting a protocol message between modules, and sequentially processes the transmitted messages according to a set priority. Accordingly, the object of the present invention is to provide a message processing method of a communication system that can smoothly process a message without accumulating, thereby significantly improving the efficiency of protocol message transmission.

본 발명의 다른 목적은 메시지 전송시간에 따른 타임값을 이용하여 메시지 처리시간을 제어하므로 그에 따라 메시지 처리의 오류도 상당히 저감시키는 통신시스템의 메시지처리방법을 제공하는데 있다.Another object of the present invention is to provide a message processing method of a communication system which controls a message processing time by using a time value according to a message transmission time, thereby significantly reducing an error in message processing.

상기와 같은 목적을 달성하기 위한 본 발명은 통신시스템의 임의의 모듈로부터 Time값이 포함된 이벤트 메시지를 수신하여 저장시키는 메시지수신단계와, 상기 메시지수신단계후에 설정된 우선순위조건에 따라 큐에 저장된 메시지의 우선순위값(Priority)을 결정하여 소트시키는 메시지 우선순위 설정단계와, 상기 메시지 우선순위 설정단계후에 설정된 우선순위에 따라 타임값을 참조하여 최우선순위를 갖는 메시지부터 순차적으로 처리하는 메시지처리단계와, 상기 메시지처리단계후에 현재 처리된 메시지중에서 그 설정된 전송시간이 타임아웃됨에 따라 정상적으로 처리되지 못한 메시지가 존재하는 지를 확인하는 메시지 오류확인단계와, 상기 메시지 오류확인단계에 의해 현재 처리된 메시지중에서 그 전송시간이 타임아웃됨에 따라 정상적으로 처리되지 못한 메시지가 존재함이 확인될 경우 그 정상적으로 처리되지 못한 해당 메시지를 큐에 다시 넣어 재처리하는 메시지 재처리단계로 이루어진 통신시스템의 메시지처리방법을 제공한다.The present invention for achieving the above object is a message receiving step of receiving and storing an event message containing a Time value from any module of the communication system, and a message stored in the queue according to the priority condition set after the message receiving step A message priority setting step of determining and sorting a priority value of the message; and a message processing step of sequentially processing a message having the highest priority by referring to a time value according to the priority set after the message priority setting step; A message error checking step of checking whether there is a message that has not been normally processed as the set transmission time has timed out among the messages currently processed after the message processing step, and among the messages currently processed by the message error checking step. As the transmission time times out, If the message could not be re-confirmed that presence provides a message processing method of the communication system of the messages that could not be successfully re-processed by a message processing step of reprocessing put back into the queue.

도 1은 종래 프로토콜 메시지 처리방법을 설명하는 설명도.1 is an explanatory diagram for explaining a conventional protocol message processing method.

도 2는 본 발명의 방법이 적용되는 장치를 설명하는 설명도.2 is an explanatory diagram illustrating an apparatus to which the method of the present invention is applied.

도 3은 본 발명의플로우차트.3 is a flowchart of the present invention.

<부호의 상세한 설명><Detailed Description of Codes>

1 : 모듈 2 : 제어대상 모듈1 module 2 control module

3 : 프리큐 4 : 타스크큐3: pre-Q 4: task queue

5 : 메인모듈5: main module

이하, 본 발명을 첨부된 예시도면에 의거 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 방법이 적용되는 메시지처리장치는 도 2에 도시된 바와같이 메시지의 구성항목에 메시지전송시간에 따른 타임(time)값을 포함하여 생성하는 개별모듈(1)과, 상기 개별모듈(1)로부터 생성된 각종 이벤트 예컨대, 제어대상 모듈(2)의 장애를 검출하는 메시지를 수신하여 저장하는 프리큐(3)와, 상기 프리큐(3)로부터 할당된 처리메시지를 메시지 전달 잡 스케쥴링에 따라 적재하는 타스크큐(4)와, 상기 프리큐(3)와 타스크큐(4)의 내용을 모니터링하고 그 저장된 메시지를 우선순위에 따라 소트(sort)저장하여 처리하는 메인모듈(5)을 포함한다.The message processing apparatus to which the method of the present invention is applied includes an individual module (1) for generating a configuration item of a message including a time value according to a message transmission time, and the individual module (1). Prequeu 3 for receiving and storing a message for detecting a failure of the control target module 2, and a processing message allocated from the prequeu 3 according to a message delivery job scheduling. A task queue 4 to be loaded, and a main module 5 for monitoring the contents of the pre-queue 3 and the task queue 4 and sorting and storing the stored messages according to priorities. .

여기서, 상기 메시지의 구성항목에는 메인모듈이 설정된 우선순위조건에 따라 그 메시지처리순서를 기입하는 priority와, 이벤트를 발생하는 측에서 작성하는 메시지 전송시간에 따른 타임값을 설정하는 time와, 사용자의 처리정보가 들어있는 key와, 이전에 처리했던 모듈의 번지가 기록된 prev와, 다음에 처리할 모듈의 번지가 기록된 next로 이루어진다.The message configuration item includes a priority for writing the message processing order according to the priority condition set by the main module, a time for setting a time value according to the message transmission time created by the event generator, and It consists of a key containing the processing information, prev in which the address of the previously processed module is recorded, and next in which the address of the next module to be processed is recorded.

다음에는 상기와 같은 장치에 적용되는 메시지처리방법을 설명한다.Next, a message processing method applied to the above apparatus will be described.

본 발명의 방법은 도 3에 도시된 바와같이, 초기상태(S1)에서 메시지수신단계(S2)로 진행하여 임의의 모듈로부터 Time값이 포함된 이벤트 메시지를 수신하여 저장시킨다. 그리고, 상기 메시지수신단계(S2)후에 메시지 우선순위 설정단계(S3)로 진행하여 해당 메시지가 어느 지점으로부터 입력되었는지에 따라 기 설정된 우선순위조건을 참조하여 큐에 저장된 메시지의 priority값을 결정하여 소트시킨다. 또한, 상기 메시지 우선순위 설정단계(S3)후에 메시지처리단계(S4)로 진행하여 설정된 우선순위에 따라 타임값을 참조하여 최우선순위를 갖는 메시지부터 순차적으로 처리한다. 그리고, 상기 메시지처리단계(S4)후에 메시지오류판단단계(S5)로 진행하여 현재 처리된 메시지중에서 전송시간의 타임아웃에 따라 정상적으로 처리되지 못한 메시지가 존재하는 지를 판단한다. 이때, 상기 메시지오류판단단계(S5)중에 판단한 결과 만약 현재 처리된 메시지중에서 전송시간의 타임아웃에 따라 정상적으로 처리되지 못한 메시지가 존재하지 않을 경우는 종료단계로 진행한다.As shown in FIG. 3, the method of the present invention proceeds from the initial state S1 to the message receiving step S2 to receive and store an event message including a time value from an arbitrary module. After the message receiving step S2, the message priority setting step S3 is performed to determine the priority value of the message stored in the queue with reference to the preset priority condition according to which point the message is input. Let's do it. In addition, after the message priority setting step S3, the message processing step S4 is performed to sequentially process the message having the highest priority with reference to the time value according to the set priority. After the message processing step (S4), the process proceeds to the message error determination step (S5) to determine whether there is a message that is not normally processed according to the timeout of the transmission time among the currently processed messages. At this time, if it is determined during the message error determination step (S5), if there is no message that is not normally processed according to the timeout of the transmission time in the currently processed message, the process proceeds to the end step.

그러나, 상기 메시지오류판단단계(S5)중에 판단한 결과 만약 현재 처리된 메시지중에서 전송시간의 타임아웃에 따라 정상적으로 처리되지 못한 메시지가 존재할 경우에는 메시지 재처리단계(S6)로 진행하여 정상적으로 처리되지 못한 해당 메시지를 큐에 넣어 다시 처리한다.However, as a result of the determination during the message error determination step S5, if there is a message that is not normally processed according to the timeout of the transmission time in the currently processed message, the message proceeds to the message reprocessing step S6 and fails to be processed normally. Put the message on the queue and process it again.

환언하면, 통신시스템의 임의의 각 모듈(1)에서 자신이 원하는 이벤트 메시지를 생성할 필요가 있을 경우 이 발생되는 메시지의 구성항목에 전송시간에 따른 Time값을 기록한 다음 해당 메시지를 프리큐(3)에 저장한다. 그러면, 상기 프리큐(3)와 타스크큐(4)를 double linked list 큐로 관리하는 메인 모듈(5)은 이들을 모니터링하고 있다가 각각의 모듈(1)로부터 메시지들이 입력될 경우 이들 메시지의 구성항목에 설정된 우선순위조건에 따라 Priority값을 설정하여 소트(sort)시킨다.In other words, when any module 1 of the communication system needs to generate an event message of its own desired, the time value according to the transmission time is recorded in the configuration item of the generated message, and then the message is prequeued (3). ). Then, the main module 5 which manages the prequeue 3 and the task queue 4 as a double linked list queue monitors them, and when the messages are inputted from the respective module 1, they are added to the configuration items of these messages. It sorts by setting Priority value according to the set priority condition.

즉, 상기 메인모듈(5)은 메시지 구성항목의 priority값을 설정된 우선순위조건 예컨대, 외부 디바이스로부터 전송된 메시지는 제1순위를, 유저에 의해서 설정된 메시지는 제2 순위를, 상위계층으로 전송되는 메시지는 제3 순위를 부여하여 Priority값을 결정한다. 물론, 상기 우선순위조건들을 사용자의 필요에 의해 변경가능하다.That is, the main module 5 may be configured to set a priority value of a message configuration item, for example, a first priority for a message transmitted from an external device and a second priority for a message set by a user. The message is assigned a third rank to determine the Priority value. Of course, the priority conditions can be changed by the needs of the user.

한편, 상기 메인모듈(5)은 프리큐(3)에 들어있는 메시지중에서 priority값이 최우선순위에 있는 메시지순서대로 꺼내어 타스크큐(4)에 넣는다. 즉, 상기 타스크큐(4)는 메시지 전달 잡(job) 스케쥴링하는 하는 메인모듈(5)로 전달해야 할 메지시들을 프리큐(3)로부터 할당받아 적재한다. 그러면, 상기 메인모듈(5)은 최우선순위로 로드된 메시지를 분석하여 해당 목적지의 모듈(2)로 전송하여 메시지를 처리한다.On the other hand, the main module 5 takes out the message in the order of the message having the priority value among the messages contained in the prequeue 3 and puts it in the task queue 4. That is, the task queue 4 allocates and loads messages to be delivered from the prequeue 3 to the main module 5 which schedules a message delivery job. Then, the main module 5 analyzes the message loaded with the highest priority and transmits the message to the module 2 of the corresponding destination to process the message.

상기와 같은 과정을 통해 메인모듈(5)은 메시지를 처리하는데, 이때 상기 메시지를 전달받은 모듈은 메시지 항목에 들어있는 데이터들을 참조하여 그에 해당하는 처리를 행한 후 다른 모듈로 전달할 사항이 있으면 메시지 항목에 다시 해당 데이터를 붙여서 타스크큐(4)에 넣는다. 그리고, 상기와 같이 프리큐(3)에서 꺼내어진 메시지는 필요한 처리과정이 종료되면 다시 프리큐(3)의 끝으로 복귀되어 프리큐(3)가 empty상태가 되지 않도록한다.Through the above process, the main module 5 processes the message. At this time, the module, which has received the message, refers to the data contained in the message item, performs a corresponding process, and if there is a matter to be delivered to another module, the message item. The data is pasted back into the task queue (4). As described above, the message taken out from the prequeu 3 is returned to the end of the prequeu 3 when the necessary processing is completed, so that the prequeu 3 is not empty.

여기서, 상기 메시지 항목의 time값은 일정시간 간격마다 발생되는 인터럽터에 의해 수행되는 타이머루틴을 이용한 것으로 일정시간마다 감소되는 값이다.In this case, the time value of the message item is a value that is decremented by a predetermined time by using a timer routine performed by an interrupter that is generated at a predetermined time interval.

따라서, 상기 메인모듈(5)은 우선순위에 따라 메시지를 처리하면서 상기 time값도 체킹하게되는데, 이때 상기 메시지가 해당 모듈로 모두 전송되기도 전에 상기 time값이 0로 되어 메시지가 time out되는 비정상적인 처리결과가 발생될 경우 이 메시지를 프리큐(3)에 넣어 다시 전송되도록 한다.Therefore, the main module 5 checks the time value while processing the message according to the priority. At this time, the time value becomes 0 before the message is transmitted to the corresponding module. If a result occurs, it is put in the prequeue 3 to be sent again.

이상 설명에서와 같이 본 발명은 모듈간의 프로토콜 메시지 전송시 메시지 전송시간에 따른 타임값이 설정된 메시지를 전송하고 이 전송된 메시지들을 설정된 우선순위에 따라 순차적으로 처리하므로써, 메시지가 적체되는 일없이 원할하게 처리되므로 그에 따라 프로토콜 메시지전송의 효율성을 상당히 향상시키는 장점을 가지고 있다.As described above, the present invention transmits a message in which a time value according to a message transmission time is set when a protocol message is transmitted between modules, and processes the transmitted messages sequentially according to a set priority, so that messages are not accumulated. As a result, it has the advantage of significantly improving the efficiency of protocol message transmission.

또한, 본 발명에 의하면, 메시지 전송시간에 따른 타임값을 이용하여 메시지 처리시간을 제어하므로 그에 따라 메시지 처리의 오류도 상당히 저감시키는 효과도 있다.In addition, according to the present invention, since the message processing time is controlled using a time value corresponding to the message transmission time, there is also an effect of significantly reducing the error of the message processing.

Claims (3)

통신시스템의 임의의 모듈로부터 Time값이 포함된 이벤트 메시지를 수신하여 저장시키는 메시지수신단계와, 상기 메시지수신단계후에 설정된 우선순위조건에 따라 큐에 저장된 메시지의 우선순위값(Priority)을 결정하여 소트시키는 메시지 우선순위 설정단계와, 상기 메시지 우선순위 설정단계후에 설정된 우선순위에 따라 타임값을 참조하여 최우선순위를 갖는 메시지부터 순차적으로 처리하는 메시지처리단계와, 상기 메시지처리단계후에 현재 처리된 메시지중에서 그 설정된 전송시간이 타임아웃됨에 따라 정상적으로 처리되지 못한 메시지가 존재하는 지를 확인하는 메시지 오류확인단계와, 상기 메시지 오류확인단계에 의해 현재 처리된 메시지중에서 그 전송시간이 타임아웃됨에 따라 정상적으로 처리되지 못한 메시지가 존재함이 확인될 경우 그 정상적으로 처리되지 못한 해당 메시지를 큐에 다시 넣어 재처리하는 메시지 재처리단계로 이루어진 것을 특징으로 하는 통신시스템의 메시지처리방법.A message receiving step of receiving and storing an event message including a time value from an arbitrary module of a communication system, and determining a priority value of a message stored in a queue according to a priority condition set after the message receiving step, and sorting. A message prioritization step, a message processing step of sequentially processing the message having the highest priority by referring to the time value according to the priority set after the message priority setting step, and among the messages currently processed after the message processing step The message error checking step of checking whether there is a message that has not been normally processed as the set transmission time has timed out, and the message which has not been normally processed as the transmission time has timed out among the messages currently processed by the message error checking step. If it is confirmed that the message exists Message reprocessing method comprising a message reprocessing step of re-putting the message that was not processed normally put back to the queue. 삭제delete 삭제delete
KR10-2001-0068087A 2001-11-02 2001-11-02 method for processing a message of the communication system KR100447394B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0068087A KR100447394B1 (en) 2001-11-02 2001-11-02 method for processing a message of the communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0068087A KR100447394B1 (en) 2001-11-02 2001-11-02 method for processing a message of the communication system

Publications (2)

Publication Number Publication Date
KR20030035681A KR20030035681A (en) 2003-05-09
KR100447394B1 true KR100447394B1 (en) 2004-09-04

Family

ID=29567679

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0068087A KR100447394B1 (en) 2001-11-02 2001-11-02 method for processing a message of the communication system

Country Status (1)

Country Link
KR (1) KR100447394B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100724859B1 (en) * 2005-05-18 2007-06-04 삼성전자주식회사 Pop-up event processing method in digital multimedia broadcasting receiving equipment
CN113138883B (en) * 2021-05-14 2024-02-02 北京字节跳动网络技术有限公司 Message processing method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0630472A (en) * 1992-07-10 1994-02-04 Mazda Motor Corp Multiplex transmission equipment
KR960015862A (en) * 1994-10-27 1996-05-22 토마스 더블유. 벅맨 Trays for parts and devices for precise placement of parts in trays
KR100221202B1 (en) * 1997-05-26 1999-09-15 전주범 Multi-channel transmission delay compensation device and method for telecommunication system
EP0991231A1 (en) * 1998-09-10 2000-04-05 International Business Machines Corporation Packet switch adapter for variable length packets
KR20000074195A (en) * 1999-05-19 2000-12-15 강병호 Apparatus and method for resequencing cell of multipath atm switch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0630472A (en) * 1992-07-10 1994-02-04 Mazda Motor Corp Multiplex transmission equipment
KR960015862A (en) * 1994-10-27 1996-05-22 토마스 더블유. 벅맨 Trays for parts and devices for precise placement of parts in trays
KR100221202B1 (en) * 1997-05-26 1999-09-15 전주범 Multi-channel transmission delay compensation device and method for telecommunication system
EP0991231A1 (en) * 1998-09-10 2000-04-05 International Business Machines Corporation Packet switch adapter for variable length packets
KR20000074195A (en) * 1999-05-19 2000-12-15 강병호 Apparatus and method for resequencing cell of multipath atm switch

Also Published As

Publication number Publication date
KR20030035681A (en) 2003-05-09

Similar Documents

Publication Publication Date Title
CA2077061C (en) Scheduling system for distributed multimedia resources
CN111371892A (en) High-concurrency distributed message pushing system and method
US5960178A (en) Queue system and method for point-to-point message passing having a separate table for storing message state and identifier of processor assigned to process the message
US5293377A (en) Network control information without reserved bandwidth
JPH0563706A (en) Local area network for digital data processing system
JPH0411057B2 (en)
CN101179553A (en) Efficient order-preserving delivery method and device for concurrent messages
CN104579905A (en) Message passing method and system, MOM (message oriented middleware) server and receiving terminal
WO2019096046A1 (en) Data processing system and method, and token management method
CN109120713A (en) Message sends the processing method and system, device and storage medium of failure
EP0366344B1 (en) Multiprocessor load sharing arrangement
KR100447394B1 (en) method for processing a message of the communication system
JPH0630078B2 (en) Terminal device initial load control method
CN117032987A (en) Distributed task scheduling method, system, equipment and computer readable medium
RU2566953C2 (en) Information delivery method and device
CN111049730A (en) RabbitMQ message retransmission and power of consumption idempotent solution method
CN116467091A (en) Message processing method, device, equipment and medium based on message middleware
WO2020067872A1 (en) A method of prioritizing message handling in a publisher/subscriber broker
CN102164384A (en) Method, device and system for improving service success rate
CN115550284A (en) Message processing method, device and equipment
HU224795B1 (en) Method and system for transmitting a chain of messages for database
KR100311619B1 (en) How to send and receive messages between processors in a distributed processing system
US20200401446A1 (en) Intermediary system for data streams
CN110247808A (en) Method for sending information, device, equipment and readable storage medium storing program for executing
KR19990053527A (en) Client-server communication method using multilevel priority queue

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120727

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20130724

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20140724

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20150724

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20160722

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee