KR20020039752A - Apparatus and method for transmitting event between task - Google Patents

Apparatus and method for transmitting event between task Download PDF

Info

Publication number
KR20020039752A
KR20020039752A KR1020000069547A KR20000069547A KR20020039752A KR 20020039752 A KR20020039752 A KR 20020039752A KR 1020000069547 A KR1020000069547 A KR 1020000069547A KR 20000069547 A KR20000069547 A KR 20000069547A KR 20020039752 A KR20020039752 A KR 20020039752A
Authority
KR
South Korea
Prior art keywords
event
destination
message
received
task
Prior art date
Application number
KR1020000069547A
Other languages
Korean (ko)
Other versions
KR100713392B1 (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 KR1020000069547A priority Critical patent/KR100713392B1/en
Publication of KR20020039752A publication Critical patent/KR20020039752A/en
Application granted granted Critical
Publication of KR100713392B1 publication Critical patent/KR100713392B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Hardware Redundancy (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE: A device and method for transmitting an event between tasks is provided to transmit and receive event information conveniently in a system, which uses many processors as a switching system. CONSTITUTION: A message transmission unit maintains a wait state(100). The message transmission unit checks whether event data are received or not in the wait state(102). If event data do not received, the message transmission unit checks whether an update signal of destination transmission table data is received(104). If update signal of destination transmission table data is received, the message transmission unit updates data using the destination data received from a man machine processor(106). If event data are received, the message transmission unit reads the destination transmission table and checks the destination of the received event(108). The message transmission unit checks whether a receiving task corresponded to the destination as the checking result is existed(110). If the receiving task corresponded to the destination is existed, the message transmission unit transmits the generated event message to the corresponding destinations(112).

Description

타스크간 이벤트 전달 장치 및 방법{APPARATUS AND METHOD FOR TRANSMITTING EVENT BETWEEN TASK}Apparatus and method for event transfer between tasks {APPARATUS AND METHOD FOR TRANSMITTING EVENT BETWEEN TASK}

본 발명은 신호를 전달하는 장치 및 방법에 관한 것으로, 특히 교환 시스템과 같이 복잡한 시스템에서 신호를 전달하는 장치 및 방법에 관한 것이다.TECHNICAL FIELD The present invention relates to apparatus and methods for transmitting signals, and more particularly, to apparatus and methods for transmitting signals in complex systems such as exchange systems.

통상적으로 교환 시스템, 전송 시스템, 기지국 시스템 및 기지국 제어기 등의 시스템은 내부에 적어도 하나 이상의 프로세서를 가지고 운용된다. 이와 같이 적어도 하나 이상의 프로세서를 가지는 시스템들은 프로세서간 이벤트가 발생할 경우 상기 발생된 이벤트의 정보를 처리하는 타스크가 동작하게 된다. 이와 같이 각타스크들은 이벤트에 대한 처리를 수행하게 되며, 특정한 경우에는 발생된 이벤트를 다른 프로세서의 소정 타스크로 이벤트 발생 상황을 알리거나 다른 타스크의 제어에 의해 동작하는 경우가 있다.Typically, systems such as switching systems, transmission systems, base station systems and base station controllers operate with at least one processor therein. As such, in systems having at least one processor, a task for processing information about the generated event is operated when an interprocessor event occurs. As described above, each task performs an event, and in some cases, the generated event may be notified to a predetermined task of another processor or may be operated by the control of another task.

상술한 바와 같이 적어도 둘 이상의 프로세서에서 각 타스크간 이벤트에 대한 정보를 주고받아야 하는 경우는 프로세서가 많아지는 경우 더욱 빈번해지게 된다. 이러한 타스크간 이벤트의 정보를 주고받기 위해서는 각 타스크간 주고 받는 메시지의 양식을 설정하고, 그에 맞도록 프로그램의 변경 등이 이루어져야 한다. 즉, 각 이벤트에 대하여 데이터를 정의하기 위해서는 각 프로세서에 탑재되는 프로그램들을 수정해야 한다. 이러한 작업은 프로세서의 종류가 많아질수록 시스템이 복잡해질수록 어려워진다. 이와 같이 시스템을 구성해야 하는 이유는 각 타스크간 밀결합되어야 하기 때문이다. 따라서 교환 시스템과 같이 많은 프로세서를 실장하는 시스템에서는 이벤트의 정보를 전달할 경우 많은 프로세서의 프로그램들을 수정해야 하는 문제가 있었다. 또한 이러한 현상으로 시스템의 프로그램 재 설계라는 문제와 함께 많은 시간과 인력이 소요되는 문제가 있었다.As described above, when at least two processors need to exchange information about events between tasks, more and more processors become more frequent. In order to send and receive the information of the inter-task event, the form of the message sent and received between the tasks must be set, and the program must be changed accordingly. That is, in order to define data for each event, programs loaded in each processor must be modified. This task becomes more difficult as more types of processors become more complex. The reason for this system is that it must be tightly coupled between tasks. Therefore, in a system implementing many processors, such as an exchange system, there is a problem in that programs of many processors need to be modified when delivering event information. In addition, this phenomenon caused a lot of time and manpower as well as the problem of redesigning the system.

따라서 본 발명의 목적은 교환 시스템과 같이 많은 프로세서를 사용하는 시스템에서 각 타스크간 이벤트 정보를 간편하게 주고받을 수 있는 장치 및 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide an apparatus and method that can easily exchange event information between tasks in a system using many processors, such as an exchange system.

본 발명의 다른 목적은 교환 시스템과 같이 많은 프로세서를 사용하는 시스템에서 타스크간 전달되는 메시지에 의한 시스템 개발 시간을 단축할 수 있는 장치 및 방법을 제공함에 있다.Another object of the present invention is to provide an apparatus and method capable of shortening a system development time by a message transmitted between tasks in a system using many processors such as an exchange system.

상기한 목적들을 달성하기 위한 본 발명은 둘 이상의 프로세서를 가지는 시스템에서 각 타스크간 이벤트를 전달하기 위한 장치로서, 각 장치들의 동작의 상태 및 하위 장치들의 동작 상태를 감시하여 이벤트 발생을 검출하고 상기 검출된 이벤트를 출력하는 발신 타스크들을 구비하는 상기 각 프로세서들과, 상기 각 발신 타스크들로부터 이벤트 메시지를 수신하며, 상기 수신된 이벤트 메시지를 전달하기 위한 목적지 전송 테이블을 구비하는 메시지 전달부를 구비하는 프로세서와, 상기 메시지 전달부에 의해 메시지를 전달받을 각 타스크들이 구동하는 프로세서 및 장치들로 구성됨을 특징으로 한다.The present invention for achieving the above object is an apparatus for transferring events between tasks in a system having two or more processors, the operation of each of the devices and the operation of the sub-devices to detect the event occurrence and the detection of the event occurrence And a processor comprising: a plurality of processors each having outgoing tasks for outputting an event, a message forwarding unit for receiving an event message from the outgoing tasks, and having a destination transmission table for delivering the received event message; And a processor and a device for driving each task to receive the message by the message transfer unit.

또한 상기 메시지 전달부의 목적지 전송 테이블을 갱신하기 위한 운용자 명령을 수신하여 목적지 갱신을 수행할 수 있는 장치를 더 구비할 수 있다.The apparatus may further include an apparatus for receiving an operator command to update the destination transmission table of the message transfer unit and performing destination update.

상기한 목적들을 달성하기 위한 방법은 소정 장치의 상태를 검사하여 이벤트 발생 시 이를 검출하여 전송하는 발신 타스크들과 상기 이벤트 메시지를 수신하는 수신 타스크들로 구성되는 둘 이상의 프로세서로 구성된 시스템의 메시지 전달부에서 메시지를 전달하기 위한 방법으로, 상기 발신 타스크들로부터 이벤트 메시지가 수신되는가를 검사하는 과정과, 상기 검사결과 이벤트 메시지가 수신되는 경우 상기 이벤트에 대응하여 목적지 전송 테이블을 검사하여 목적지를 검사하는 과정과, 상기 목적지 검사 결과 목적지가 존재하는 경우 상기 발생된 이벤트 메시지를 해당하는 목적지들로 전달하는 과정으로 이루어짐을 특징으로 한다.The method for achieving the above object is a message delivery unit of a system consisting of two or more processors consisting of outgoing tasks for inspecting the state of a device and detects and transmits an event when the event occurs and receiving tasks for receiving the event message. A method for delivering a message in a method, the method comprising: checking whether an event message is received from the originating tasks; and checking a destination transmission table in response to the event when the event message is received as a result of the inspection. And, if there is a destination as a result of the destination check characterized in that the process of delivering the generated event message to the corresponding destinations.

또한 상기 발생된 이벤트의 목적지가 존재하지 않은 경우 예외 루틴에서 처리하도록 하는 과정을 더 구비할 수 있으며,In addition, if there is no destination of the generated event may be further provided to process in an exception routine,

상기 목적지 전송 테이블의 데이터 갱신 요구 신호가 수신되는 경우 상기 수신된 데이터에 따라 목적지 전송 테이블의 데이터를 갱신하는 과정을 더 구비할 수 있다.The method may further include updating data of the destination transmission table according to the received data when the data update request signal of the destination transmission table is received.

도 1은 본 발명이 적용되는 각 타스크들과 타스크들의 메시지를 전달하는 메시지 전달부간의 연결관계를 도시한 블록 구성도,1 is a block diagram illustrating a connection relationship between each task to which the present invention is applied and a message transfer unit that delivers a message of tasks;

도 2는 본 발명의 바람직한 실시 예에 따라 메시지 전달부에서 수행되는 이벤트 메시지 전달 시의 제어 흐름도.2 is a control flowchart of event message delivery performed in a message delivery unit according to an exemplary embodiment of the present invention.

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

도 1은 본 발명이 적용되는 각 타스크들과 타스크들의 메시지를 전달하는 메시지 전달부간의 연결관계를 도시한 블록 구성도이다. 이하 도 1을 참조하여 본 발명에 따른 타스크들의 동작 및 메시지 전달부의 동작에 대하여 상세히 설명한다.1 is a block diagram illustrating a connection relationship between each task to which the present invention is applied and a message transfer unit that delivers a message of tasks. Hereinafter, an operation of tasks and a message transfer unit according to the present invention will be described in detail with reference to FIG. 1.

발신 제1타스크(11)와, 발신 제2타스크(12)는 서로 다른 프로세서에 실장되어 운용되는 타스크일 수도 있으며 동일한 프로세서에 실장되어 운용되는 타스크일 수도 있다. 그러나 본 발명에서 다루고자 하는 내용은 서로 다른 프로세서에서 이벤트를 전달하는 방법을 설명하고자 하므로 서로 다른 프로세서에 실장되는 것으로 가정하여 설명한다. 또한 이하의 설명에서는 상기 각 타스크들이 교환 시스템에서 서로 다른 프로세서에 실장되는 경우 각 프로세서(도 1에서는 프로세서를 도시하지 않음) 내부에 구비되는 것으로 가정하여 설명한다.The originating first task 11 and the originating second task 12 may be tasks that are mounted and operated on different processors, or may be tasks that are mounted and operated on the same processor. However, the contents to be dealt with in the present invention will be described on the assumption that they are implemented in different processors because they describe a method of delivering events from different processors. In addition, in the following description, it is assumed that each of the tasks is provided in each processor (not shown in FIG. 1) when the tasks are mounted on different processors in the switching system.

상기 발신 제1타스크(11)와 발신 제2타스크(12)는 소정의 루틴을 수행하며, 각기 자신에게 이벤트가 발생하는가를 검사한다. 이러한 이벤트는 실장된 카드의타입에 따른 장애를 검출하거나 또는 링크들의 타입에 따른 장애를 검출하거나 또는 프로세서의 장애 및 통신 장애 등으로 각종 장애 등을 검출하게 된다. 이는 하나의 프로세서에서 검출하는 것이 아니라, 이러한 기능을 가지는 타스크를 구비한 프로세서에서 처리하도록 구성할 수 있다. 상기 각 타스크들은 이벤트를 검출하면, 종래기술에서와 같이 전달할 목적지의 타스크로 직접 전달하지 않고 이를 전달하기 위한 메시지 전달부(21)로 전달한다. 즉, 발생된 장애의 정보만을 메시지 전달부(21)로 전달한다. 또한 상기 발송 타스크들은 수신하는 측의 타스크 즉, 상기 발생된 이벤트를 전달하고자 하는 메시지를 생성하여 시스템에 포함시킨다. 이를 통해 각 이벤트들은 고유한 이름을 가지게 되며, 메시지 전달부(21)에서 읽어와 목적지의 타스크에 포함된다. 이때 송신 타스크가 생성하는 예를 표로 도시하면 하기 <표 1>과 같이 도시할 수 있다.The originating first task 11 and the originating second task 12 perform a predetermined routine and check whether an event occurs in each of them. Such an event detects a failure according to the type of card mounted, a failure according to the type of links, or detects various failures such as a processor failure and a communication failure. It can be configured to process on a processor with a task having this function, rather than on one processor. When each of the tasks detects an event, it delivers the message to the message delivery unit 21 for delivering the event, instead of directly delivering it to the task of the destination to be delivered. That is, only the information on the generated failure is transmitted to the message transfer unit 21. In addition, the dispatch tasks generate and include in the system a task on the receiving side, that is, a message for delivering the generated event. Through this, each event has a unique name and is read from the message transfer unit 21 and included in the task of the destination. In this case, an example generated by the transmission task may be illustrated as shown in Table 1 below.

이벤트-카테고리Event-Category 이벤트-이름Event-name LocationLocation StateState OnOffOnoff OperationsOperations OAM&P_OperStateChangeOAM & P_OperStateChange STM_1STM_1 Function_FailFunction_Fail ONON OperationsOperations OAM&P_AdminStateChangeOAM & P_AdminStateChange STM_1STM_1 Function_failFunction_fail ONON

상기 <표 1>에 도시한 바와 같이 이벤트 카테고리를 생성하고, 상기 생성된 이벤트 카테고리에 따라 이벤트의 이름과 위치 및 상태의 구분을 정의하여 놓으면 이를 메시지 전달부(21)에서 읽어가 메시지를 송신하게 된다. 이하의 설명에서 상기 <표 1>과 같은 형태의 데이터를 "이벤트 정의 메시지"라 칭한다.As shown in Table 1, an event category is generated, and when the event name, location, and status are defined according to the generated event category, the message transmission unit 21 reads it and transmits a message. do. In the following description, data of a type such as <Table 1> will be referred to as an "event definition message".

상기 메시지 전달부(21)는 장애 정보를 수신하며, 수신한 장애 정보마다 전달한 타스크에 대한 목적지 주소의 데이터 베이스를 테이블화하여 저장하고 있다.이와 같은 저장은 미리테이블화하여 저장할 수도 있으며, 시스템의 초기화 시에 각 타스크들이 시스템에 포함할 데이터를 생성한 경우 이를 읽어와 처리할 수 있다. 즉, 상기 <표 1>에 도시된 바와 같이 이벤트 정의 메시지가 생성된 경우에 이를 읽어와 처리하도록 구성할 수도 있다. 또한 이러한 정보의 변경은 운용자가 직접 데이터를 변경하도록 구성할 수도 있다.The message transfer unit 21 receives the failure information and stores a database of a destination address for the task delivered for each received failure information. This storage may be stored in a table in advance. When each task generates data to be included in the system, it can be read and processed. That is, as shown in Table 1, when an event definition message is generated, it may be configured to read and process it. This change of information can also be configured to allow the operator to change the data directly.

상기한 장애 정보를 전달해야하는 타스크별 목적지 주소의 테이블을 이하의 설명에서는 "목적지 전송 테이블"이라 칭하며, 이를 예로 도시하면 하기 <표 2>과 같다.The table of destination address for each task to which the failure information should be delivered is referred to as a "destination transfer table" in the following description, which is shown in Table 2 below.

이벤트 이름Event name 이벤트 목적지Event destination 카드타입-1 장애Card Type 1 Failure Fault 기능Fault function CLI 기능CLI function GUI 기능GUI function Log 기능Log function -- 카드타입-2 장애Card Type 2 Failure Fault 기능Fault function CLI 기능CLI function GUI 기능GUI function -- -- 링크타입-1 장애Link Type 1 Failure Fault 기능Fault function CLI 기능CLI function GUI 기능GUI function -- -- 링크타입-2 장애Link Type 2 Failure Fault 기능Fault function CLI 기능CLI function GUI 기능GUI function -- -- 프로세서 장애Processor failure Alarm 기능Alarm function CLI 기능CLI function GUI 기능GUI function -- -- 통신장애Communication failure Alarm 기능Alarm function CLI 기능CLI function GUI 기능GUI function -- --

상기 <표 2>에 도시되어 있는 바와 같이 이벤트의 이름에 대응하여 각각 해당 이벤트를 송신할 타스크들의 이름이 기재되어 있다. 상기 도시되어 있는 <표 2>에는 타스크의 이름에 대응하는 기능별로 구분하여 정리하였다. 또한 상기 메시지 전달부(21)는 교환 시스템에 실장되는 경우 유지보수를 수행하는 프로세서인 OMP(Operation & Maintenance Processor)에 실장될 수 있다. 상기 메시지 전달부(21)는 소정 이벤트 정보를 수신하면 이를 상기 목적지 전송 테이블에 의거하여 상기 수신된 이벤트에 따라 전송할 목적지를 검사한다. 그리고 상기 검사된 타스크들로 메시지를 전송한다.As shown in Table 2, the names of the tasks for transmitting the corresponding events are described corresponding to the names of the events. Table 2 shown above summarizes the functions by function corresponding to the name of the task. In addition, the message transfer unit 21 may be mounted in an operation & maintenance processor (OPM) that is a processor that performs maintenance when mounted in an exchange system. Upon receiving the predetermined event information, the message transfer unit 21 checks a destination to be transmitted according to the received event based on the destination transmission table. The message is then sent to the checked tasks.

상기 수신 제1타스크(31)와 수신 제2타스크(32), …, 수신 제N타스크(33)가 각각 목적지 주소에 대응하는 타스크들이 된다. 따라서 종래에는 각 발신 타스크와 수신 타스크가 밀결합되어 있으므로, 이벤트를 추가해서 송신할 타스크를 변경해야 하는 경우 송신 타스크와 수신 타스크를 모두 수정해야 하며, 이를 위해 각각 실장되는 프로그램들을 전체적으로 수정해야 하는 문제를 해결할 수 있다. 즉, 수신 타스크는 이벤트에 대한 메시지를 수신하여 이를 처리하도록 하며, 발신 타스크는 장애를 검출하는 종류만을 증가 또는 감소하도록 하고, 검출된 장애는 메시지 전달부로 전달하도록 구성할 수 있다. 이에 따라 하나의 메시지가 또 다른 타스크로 전달되어야 하는 경우 메시지 전달부(21)의 목적지 전송 테이블에 타스크를 추가함으로써 구성할 수 있다.The receiving first task 31 and receiving second task 32,... The reception N-th task 33 becomes tasks corresponding to the destination address, respectively. Therefore, in the related art, each outgoing task and the receiving task are tightly coupled. Therefore, when it is necessary to change an event to be transmitted by adding an event, it is necessary to modify both the sending task and the receiving task. Can be solved. That is, the reception task may be configured to receive a message about an event and process it, the originating task may increase or decrease only a type for detecting a failure, and deliver the detected failure to a message delivery unit. Accordingly, when one message is to be delivered to another task, the message may be configured by adding the task to the destination transmission table of the message delivery unit 21.

따라서 이와 같이 구성할 경우 발신 타스크들은 이벤트가 발생할 때마다 상기 발생돈 이벤트에 대하여 각 수신 타스크들로 하나씩 검사하는 시간적인 부하를 줄일 수 있게 된다. 그러면 상기 메시지 전달부(21)에서 수행되는 메시지 전달에 따른 과정을 도 2를 참조하여 설명한다.Therefore, when configured in this way, the outgoing tasks can reduce the time load of inspecting the received event one by one for each outgoing event whenever an event occurs. Next, a process according to the message transfer performed by the message transfer unit 21 will be described with reference to FIG. 2.

도 2는 본 발명의 바람직한 실시 예에 따라 메시지 전달부에서 수행되는 이벤트 메시지 전달 시의 제어 흐름도이다. 이하 도 1 내지 도 2를 참조하여 메시지 전달부에서 이벤트를 전달하기 위한 제어 과정을 상세히 설명한다.2 is a control flowchart of event message delivery performed in a message delivery unit according to an exemplary embodiment of the present invention. Hereinafter, a control process for delivering an event in a message transfer unit will be described in detail with reference to FIGS. 1 and 2.

상기 메시지 전달부(21)는 100단계예서 대기상태를 유지한다. 이와 같은 대기 상태는 초기화 과정을 수행한 상태이다. 즉, 상기 도 1의 설명에서 기술한 바와 같이 발신 타스크들이 자신의 검출하는 이벤트의 종류를 시스템에 포함하기 위해상술한 이벤트 정의 메시지를 읽어와 목적지 전송 테이블을 구성한 상태이거나 또는 시스템의 구성 시 미리 설정된 목적지 전송 테이블을 가져와 사용할 수 있는 상태를 말한다. 상기한 대기상태에서 상기 메시지 전달부(21)는 102단계로 진행하여 이벤트 데이터가 수신되는가를 검사한다. 이러한 이벤트 데이터의 수신은 상기 도 1의 송신 타스크들로부터 수신되는 것을 말한다. 상기 검사결과 이벤트 데이터가 수신된 경우 108단계로 진행하고 그렇지 않은 경우 104단계로 진행한다.The message transfer unit 21 maintains the standby state in step 100. This standby state is a state in which an initialization process is performed. That is, as described in the description of FIG. 1, the originating tasks are configured to read the above-described event definition message to include the type of event they detect in the system, and to configure a destination transmission table, or preset in the configuration of the system. Refers to a state where the destination transfer table can be obtained and used. In the standby state, the message transfer unit 21 proceeds to step 102 and checks whether event data is received. The reception of such event data refers to the reception from the transmission tasks of FIG. If event data is received as the result of the check, the process proceeds to step 108;

상기 메시지 전달부(21)는 이벤트 데이터가 수신되지 않은 경우 즉, 104단계로 진행하는 경우 목적지 전송 테이블 데이터의 갱신 신호가 수신되는가를 검사한다. 이러한 목적지 전송 테이블의 데이터 갱신 신호는 운용자가 입력하는 것으로 도 1에는 연결관계를 도시하지 않았으나, 일반적으로 교환 시스템의 경우 MMP(Man Machine Processor)를 통해 데이터를 수신하며, 상기 MMP의 소정 타스크에서 메시지를 생성하여 전달하게 된다. 상기 메시지 전달부(21)는 104단계에서 상기한 방법을 통해 목적지 전송 테이블의 데이터 갱신을 요구하는 신호가 수신되었는가를 검사한다. 상기 검사결과 목적지 전송 테이블의 데이터 갱신 요구가 있는 경우 106단계로 진행하고 그렇지 않은 경우 100단계로 진행한다. 상기 메시지 전달부(21)는 목적지 갱신 요구 신호가 존재하는 경우 106단계에서 상기 MMP로부터 수신된 목적지 데이터를 이용하여 데이터를 갱신한다. 즉, 목적지의 삭제 또는 추가 또는 변경의 동작을 수행한다. 이와 같이 목적지 전송 테이블을 갱신한 후 100단계의 대기상태를 유지한다.The message transfer unit 21 checks whether an update signal of the destination transmission table data is received when event data is not received, that is, when proceeding to step 104. The data update signal of the destination transmission table is input by the operator, but the connection relationship is not shown in FIG. 1. Create and pass In step 104, the message transfer unit 21 checks whether a signal for requesting data update of the destination transmission table has been received. If there is a data update request of the destination transmission table as a result of the check, the process proceeds to step 106; otherwise, the process proceeds to step 100. If there is a destination update request signal, the message transfer unit 21 updates the data using the destination data received from the MMP in step 106. That is, the operation of deleting or adding or changing the destination is performed. After updating the destination transfer table in this manner, the standby state of step 100 is maintained.

한편 상기 이벤트 데이터가 수신되어 102단계에서 108단계로 진행하는 경우상기 메시지 전달부(21)는 상기 목적지 전송 테이블을 읽어온 후 상기 수신된 이벤트의 목적지를 검사한다. 즉, 상기 <표 2>에 도시된 바와 같이 카드의 타입별, 링크의 타입별, 프로세서의 장애 및 통신 장애 등의 종류에 따라 이를 알리기 위한 수신 타스크들을 검사한다. 그리고 상기 메시지 전달부(21)는 110단계로 진행하여 상기 검사결과 목적지에 해당하는 수신 타스크가 존재하는가를 검사한다. 상기 검사결과 즉 목적지가 존재하는 경우 112단계로 진행하고, 그렇지 않은 경우 114단계로 진행한다. 상기 메시지 전달부(21)는 목적지가 존재하는 것으로 검사되면, 즉, 112단계로 진행하면 해당하는 목적지들로 상기 발생된 이벤트 메시지를 전달한다. 반면에 해당하는 목적지가 존재하지 않는 경우 즉, 114단계로 진행하는 경우 예외 루틴에 이를 통보한다. 그리고 상기한 처리를 수행한 후 100단계로 진행하여 대기상태를 유지한다.Meanwhile, when the event data is received and the process proceeds from step 102 to step 108, the message transfer unit 21 reads the destination transmission table and checks the destination of the received event. That is, as shown in Table 2, the reception tasks for notifying each other are examined according to the type of the card, the type of the link, the processor failure, and the communication failure. In step 110, the message transfer unit 21 checks whether a reception task corresponding to a destination exists. If the result of the inspection, that is, the destination exists, the flow proceeds to step 112; otherwise, the flow proceeds to step 114. If the message delivery unit 21 checks that the destination exists, that is, proceeds to step 112, the message transfer unit 21 delivers the generated event message to the corresponding destinations. On the other hand, if the corresponding destination does not exist, that is, proceed to step 114, the exception routine is notified. After performing the above process, the process proceeds to step 100 to maintain the standby state.

상술한 바와 같이 교환 시스템과 같이 많은 프로세서에 각 타스크간 전달되는 메시지를 메시지 전달부에서 수행함으로써 프로그램의 변경이 용이해지며, 개발의 시간과 인력을 줄일 수 있는 이점이 있다. 또한 각 타스크에서 메시지를 전달하기 위한 시간이 줄어들게 됨으로 시스템의 부하가 줄어드는 이점이 있다.As described above, by performing a message transmitted from each task to many processors, such as an exchange system, in the message transfer unit, the program can be easily changed and the development time and manpower can be reduced. It also has the advantage of reducing the load on the system by reducing the time for delivering messages in each task.

Claims (5)

둘 이상의 프로세서를 가지는 시스템에서 각 타스크간 이벤트를 전달하기 위한 장치에 있어서,An apparatus for communicating events between tasks in a system having two or more processors, the apparatus comprising: 각 장치들의 동작의 상태 및 하위 장치들의 동작 상태를 감시하여 이벤트 발생을 검출하고 상기 검출된 이벤트를 출력하는 발신 타스크들을 구비하는 상기 각 프로세서들과,Each of said processors having outgoing tasks that monitor the state of operation of each device and the state of operation of subordinate devices to detect occurrence of an event and output the detected event; 상기 각 발신 타스크들로부터 이벤트 메시지를 수신하며, 상기 수신된 이벤트 메시지를 전달하기 위한 목적지 전송 테이블을 구비하는 메시지 전달부를 구비하는 프로세서와,A processor for receiving an event message from each originating task, the processor comprising a message delivery unit having a destination transmission table for delivering the received event message; 상기 메시지 전달부에 의해 메시지를 전달받을 각 타스크들이 구동하는 프로세서 및 장치들로 구성됨을 특징으로 하는 타스크간 이벤트 전달 장치.Inter-task event delivery device, characterized in that consisting of a processor and a device for driving each task to receive a message by the message delivery unit. 제1항에 있어서,The method of claim 1, 상기 메시지 전달부의 목적지 전송 테이블을 갱신하기 위한 운용자 명령을 수신하여 목적지 갱신을 수행할 수 있는 장치를 더 구비함을 특징으로 하는 타스크간 이벤트 수신 장치.And an apparatus for receiving an operator command for updating a destination transmission table of the message transfer unit to perform a destination update. 소정 장치의 상태를 검사하여 이벤트 발생 시 이를 검출하여 전송하는 발신 타스크들과 상기 이벤트 메시지를 수신하는 수신 타스크들로 구성되는 둘 이상의 프로세서로 구성된 시스템의 메시지 전달부에서 메시지를 전달하기 위한 방법에 있어서,In the method for delivering a message in a message delivery unit of a system consisting of two or more processors consisting of outgoing tasks for detecting the state of a predetermined device and detecting and transmitting when an event occurs and receiving tasks for receiving the event message , 상기 발신 타스크들로부터 이벤트 메시지가 수신되는가를 검사하는 과정과,Checking whether an event message is received from the originating tasks; 상기 검사결과 이벤트 메시지가 수신되는 경우 상기 이벤트에 대응하여 목적지 전송 테이블을 검사하여 목적지를 검사하는 과정과,Checking a destination by checking a destination transmission table in response to the event when an event message is received as a result of the inspection; 상기 목적지 검사 결과 목적지가 존재하는 경우 상기 발생된 이벤트 메시지를 해당하는 목적지들로 전달하는 과정으로 이루어짐을 특징으로 하는 타스크간 이벤트 전달 방법.And transmitting the generated event message to the corresponding destinations when the destination exists as a result of the destination checking. 제3항에 있어서,The method of claim 3, 상기 발생된 이벤트의 목적지가 존재하지 않은 경우 예외 루틴에서 처리하도록 하는 과정을 더 구비함을 특징으로 하는 타스크간 이벤트 전달 방법.And processing the exception routine if the destination of the generated event does not exist. 제3항 또는 제4항에 있어서,The method according to claim 3 or 4, 상기 목적지 전송 테이블의 데이터 갱신 요구 신호가 수신되는 경우 상기 수신된 데이터에 따라 목적지 전송 테이블의 데이터를 갱신하는 과정을 더 구비함을특징으로 하는 타스크간 이벤트 전달 방법.And when the data update request signal of the destination transmission table is received, updating the data of the destination transmission table according to the received data.
KR1020000069547A 2000-11-22 2000-11-22 Apparatus and method for transmitting event between task KR100713392B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000069547A KR100713392B1 (en) 2000-11-22 2000-11-22 Apparatus and method for transmitting event between task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000069547A KR100713392B1 (en) 2000-11-22 2000-11-22 Apparatus and method for transmitting event between task

Publications (2)

Publication Number Publication Date
KR20020039752A true KR20020039752A (en) 2002-05-30
KR100713392B1 KR100713392B1 (en) 2007-05-04

Family

ID=19700528

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000069547A KR100713392B1 (en) 2000-11-22 2000-11-22 Apparatus and method for transmitting event between task

Country Status (1)

Country Link
KR (1) KR100713392B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007089066A1 (en) * 2006-02-02 2007-08-09 Samsung Electronics Co., Ltd. Method and system for controlling network device and recording medium storing program for executing the method
CN113157461A (en) * 2020-01-22 2021-07-23 北京京东振世信息技术有限公司 Method and device for transmitting message in process of executing task list

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007089066A1 (en) * 2006-02-02 2007-08-09 Samsung Electronics Co., Ltd. Method and system for controlling network device and recording medium storing program for executing the method
US9319233B2 (en) 2006-02-02 2016-04-19 Samsung Electronics Co., Ltd. Method and system for controlling network device and recording medium storing program for executing the method
CN113157461A (en) * 2020-01-22 2021-07-23 北京京东振世信息技术有限公司 Method and device for transmitting message in process of executing task list
CN113157461B (en) * 2020-01-22 2023-09-26 北京京东振世信息技术有限公司 Method and device for transmitting message in task list execution process

Also Published As

Publication number Publication date
KR100713392B1 (en) 2007-05-04

Similar Documents

Publication Publication Date Title
US6850992B2 (en) Address assignment method for at least one bus device that has recently been connected to a bus system
US5148433A (en) Transfer network interface
US8108736B2 (en) Multi-partition computer system, failure handling method and program therefor
KR100713392B1 (en) Apparatus and method for transmitting event between task
US5056090A (en) Data transmission apparatus to be connected to multiplexed transmission line
US4649534A (en) Telecomputer package switching system
KR100241557B1 (en) Data processing method of dual network
JP2580113B2 (en) Virtual computer system
JP4061153B2 (en) Loop type transmission line fault monitoring system
EP0507540A2 (en) Method for operating a networked computer system to minimize data conversion overhead
JPH0865331A (en) Monitor and control device
US5592680A (en) Abnormal packet processing system
KR100277830B1 (en) Device for managing redundancy of base station in mobile communication system and method of changing its operation
KR0121970B1 (en) Common-bus managing method in an exchanger
JPH04186465A (en) On-line fault information system
JPS63204457A (en) Control system for decentralized processing system
JPS6160042A (en) Identification system of arrangement order of node
JPS60136448A (en) Communication system
JPH0253171A (en) Fault countermeasure system for decentralized system
JPH06103251A (en) Monitor and control system for information processor
KR20000013254A (en) Base station control processor failure investigating method in cdma system
JPH05153140A (en) Communication system for network
KR20010059644A (en) Method for Overcoming disagreement in state and failure contents of Porcessor and device of base station or base station controller in Mobile Communication system
JP2000151809A (en) Duplicate information repeater and changeover control method
JPS62264796A (en) Information supervising 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
FPAY Annual fee payment
LAPS Lapse due to unpaid annual fee