KR101639912B1 - Event managing system of steel process middleware - Google Patents

Event managing system of steel process middleware Download PDF

Info

Publication number
KR101639912B1
KR101639912B1 KR1020140186902A KR20140186902A KR101639912B1 KR 101639912 B1 KR101639912 B1 KR 101639912B1 KR 1020140186902 A KR1020140186902 A KR 1020140186902A KR 20140186902 A KR20140186902 A KR 20140186902A KR 101639912 B1 KR101639912 B1 KR 101639912B1
Authority
KR
South Korea
Prior art keywords
timer
event
manager
task
waiting
Prior art date
Application number
KR1020140186902A
Other languages
Korean (ko)
Other versions
KR20160077432A (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 KR1020140186902A priority Critical patent/KR101639912B1/en
Publication of KR20160077432A publication Critical patent/KR20160077432A/en
Application granted granted Critical
Publication of KR101639912B1 publication Critical patent/KR101639912B1/en

Links

Images

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
    • 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/461Saving or restoring of program or task context
    • 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/461Saving or restoring of program or task context
    • G06F9/462Saving or restoring of program or task context with multiple register sets
    • 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/461Saving or restoring of program or task context
    • G06F9/463Program control block organisation

Abstract

본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템은 등록 태스크의 타이머 등록 요구에 따라 목적 태스크 번호, 타이머 아이디(ID) 및 타이머를 저장하도록 관리하는 타이머 관리자; 이벤트 시간에 가장 근접한 타이머를 선택하는 타이머 정보 관리자; 상기 선택된 타이머의 이벤트 시간에 도달한 경우 시간 이벤트를 생성하는 타이머 실행 관리자; 및 상기 시간 이벤트를 대기하는 대기 태스크의 대기 태스크 번호를 저장하도록 관리하고, 이벤트 대기큐에 상기 시간 이벤트를 전달하는 타이머 이벤트 관리자를 포함할 수 있다.The event management system of the steel process middleware according to an embodiment of the present invention includes a timer manager managing a target task number, a timer ID and a timer according to a timer registration request of a registered task; A timer information manager for selecting a timer closest to the event time; A timer execution manager for generating a time event when an event time of the selected timer is reached; And a timer event manager for managing the waiting task number of the waiting task waiting for the time event and delivering the time event to the waiting event queue.

Figure R1020140186902
Figure R1020140186902

Description

철강 공정 미들웨어의 이벤트 관리 시스템{EVENT MANAGING SYSTEM OF STEEL PROCESS MIDDLEWARE}{EVENT MANAGING SYSTEM OF STEEL PROCESS MIDDLEWARE}

본 발명은 철강 공정 미들웨어의 이벤트 관리 시스템에 관한 것이다.
The present invention relates to an event management system of a steel process middleware.

철강 공정 제어 작업에서 미들웨어의 역할은 태스크의 요청을 받아 태스크 간의 통신이나 공정 제어에 관련된 정보의 저장 및 참조 등의 작업을 수행하고, 현재 수행중인 태스크를 관리하는 것이다. The role of middleware in the steel process control work is to manage the tasks currently performed by performing tasks such as storing and referencing information related to communication or process control between tasks in response to a task request.

일반적으로 철강 공정 미들웨어는 수많은 태스크의 생성/삭제가 반복적으로 수행되고, 새로운 서비스가 추가되는 경우 추가된 새로운 서비스의 기능이 미들웨어에 추가되어야 하는 특징을 가지고 있다. 이러한 특징으로 인하여 철강 공정 미들웨어는 유동적인 상황에 맞추어 태스크 자원 할당을 효율적으로 수행하여 미들웨어가 실행되는 시스템의 자원을 효율적으로 관리하여 실행되는 시스템의 전체적인 성능을 높일 수 있어야 한다. 또한, 철강 공정 미들웨어는 미들웨어 개발자 측면에서는 새로운 서비스의 기능을 추가하는 것이 용이해야 한다.In general, steel process middleware has the feature that the creation and deletion of a large number of tasks are repeatedly performed, and when a new service is added, a new service function added to the middleware is added. Because of this feature, steel process middleware should be able to efficiently allocate task resources according to the dynamic situation, efficiently manage the resources of the system in which middleware is executed, and increase the overall performance of the executed system. In addition, steel process middleware should be easy to add new service functionality in terms of middleware developers.

철강 공정이 요구하는 필요 서비스와 응답성, 시스템 플랫폼, 분산 환경 요구가 다양하므로 미들웨어의 가용성(Availability)과 공정에 따른 변화 가능성을 수용할 수 있는 미들웨어 시스템의 구조의 모듈화(Modularity)가 필요하다.Modularity of the structure of the middleware system that can accommodate the availability of the middleware and the possibility of changes due to the process is needed because the required service and responsiveness, system platform, and distributed environment requirements required by the steel process are various.

또한, 철강 공정은 특성상 연속 공정으로 열처리, 수처리, 트랙킹, 실적 수집 등의 시간제어가 중요한 프로세스들을 포함하므로, 철강 공정용 서비스 중 하나인 시간 이벤트 처리 방법의 최적화, 표준화가 요구된다.
In addition, since the steel process includes important processes such as heat treatment, water treatment, tracking, and performance collection in a continuous process due to its characteristics, optimization and standardization of a time event processing method, which is one of services for steel processing, is required.

한국 공개특허공보 KR 10-2010-0076840Korean Patent Publication No. 10-2010-0076840

철강 공정 미들웨어에서 시간 이벤트 관리를 중재하여, 시간 이벤트의 처리 방법을 최적화하고 표준화된 시간 이벤트 서비스를 제공하기 위한 시간 관리 시스템이 요구된다.
There is a need for a time management system for mediating time event management in steel process middleware, optimizing the processing method of time events, and providing a standardized time event service.

본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템은 등록 태스크의 타이머 등록 요구에 따라 목적 태스크 번호, 타이머 아이디(ID), 및 타이머를 저장하도록 관리하는 타이머 관리자; 이벤트 시간에 가장 근접한 타이머를 선택하는 타이머 정보 관리자; 상기 선택된 타이머의 이벤트 시간에 도달한 경우 시간 이벤트를 생성하는 타이머 실행 관리자; 및 상기 시간 이벤트를 대기하는 대기 태스크의 대기 태스크 번호를 저장하도록 관리하고, 이벤트 대기큐에 상기 시간 이벤트를 전달하는 타이머 이벤트 관리자를 포함할 수 있다.
The event management system of the steel process middleware according to an embodiment of the present invention includes a timer manager managing a target task number, a timer ID, and a timer according to a timer registration request of a registered task; A timer information manager for selecting a timer closest to the event time; A timer execution manager for generating a time event when an event time of the selected timer is reached; And a timer event manager for managing the waiting task number of the waiting task waiting for the time event and delivering the time event to the waiting event queue.

본 발명의 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템은 시간 이벤트 처리 방법을 최적화하고 표준화된 시간 이벤트 서비스를 제공할 수 있다.
The event management system of the steel process middleware according to the embodiment of the present invention can optimize the time event processing method and provide the standardized time event service.

도 1은 본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템을 나타내는 블록도이다.
도 2는 본 발명의 일 실시예에 따른 타이머 등록 처리 절차를 나타내는 흐름도이다.
도 3은 본 발명의 일 실시예에 따른 시간 이벤트 발생 및 전달 절차를 나타내는 흐름도이다.
도 4는 본 발명의 일 실시예에 따른 이벤트 서비스 요구 처리 절차를 나타내는 흐름도이다.
1 is a block diagram illustrating an event management system of a steel process middleware according to an embodiment of the present invention.
2 is a flowchart illustrating a timer registration processing procedure according to an embodiment of the present invention.
3 is a flowchart illustrating a time event generation and delivery procedure according to an embodiment of the present invention.
4 is a flowchart illustrating an event service request processing procedure according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시 형태들을 설명한다.Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

그러나, 본 발명의 실시형태는 여러 가지 다른 형태로 변형될 수 있으며, 본 발명의 범위가 이하 설명하는 실시 형태로 한정되는 것은 아니다. 또한, 본 발명의 실시형태는 당해 기술분야에서 평균적인 지식을 가진 자에게 본 발명을 더욱 완전하게 설명하기 위해서 제공되는 것이다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시예에 관련하여 본 발명의 정신 및 범위를 벗어나지 않으면서 다른 실시예로 구현될 수 있다.However, the embodiments of the present invention can be modified into various other forms, and the scope of the present invention is not limited to the embodiments described below. Further, the embodiments of the present invention are provided to more fully explain the present invention to those skilled in the art. It should be understood that the various embodiments of the present invention are different, but need not be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with an embodiment.

또한, 어떤 구성 요소를 '포함'한다는 것은, 특별히 반대되는 기재가 없는 한 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있다는 것을 의미한다.Also, to "include" an element means that it may include other elements, rather than excluding other elements, unless specifically stated otherwise.

본 실시예에서 사용되는 '~관리자'라는 용어는 소프트웨어 또는 FPGA(field-programmable gate array) 또는 ASIC과 같은 하드웨어 구성요소를 의미하며, '~관리자'는 어떤 역할들을 수행한다. 그렇지만 '~관리자'는 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. '~관리자'는 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 '~관리자'는 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들, 및 변수들을 포함한다. 구성요소들과 '~관리자'들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '~관리자'들로 결합되거나 추가적인 구성요소들과 '~관리자'들로 더 분리될 수 있다. 뿐만 아니라, 구성요소들 및 '~관리자'들은 디바이스 또는 시스템 내의 하나 또는 그 이상의 CPU들을 재생시키도록 구현될 수도 있다.
The term " manager " used in this embodiment means a hardware component such as software or an FPGA (field-programmable gate array) or ASIC, and the 'manager' performs certain roles. However, 'manager' is not meant to be limited to software or hardware. The '~ manager' may be configured to reside on an addressable storage medium and may be configured to play one or more processors. Thus, by way of example, 'to manager' may refer to components such as software components, object-oriented software components, class components and task components, and processes, functions, attributes, , Subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables. The functions provided in the components and '~ administrators' may be further combined into a smaller number of components and '~ administrators' or further components and '~ administrators'. In addition, components and 'managers' may be implemented to play one or more CPUs in a device or system.

도 1은 본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템을 나타내는 블록도이다.1 is a block diagram illustrating an event management system of a steel process middleware according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템은 타이머 관리자(210), 타이머 정보 관리자(270), 타이머 실행 관리자(280), 및 타이머 이벤트 관리자(310)을 포함할 수 있다.Referring to FIG. 1, an event management system of a steel manufacturing middleware according to an embodiment of the present invention includes a timer manager 210, a timer information manager 270, a timer execution manager 280, and a timer event manager 310 .

상기 타이머 관리자(210)는 등록 태스크(11)의 타이머 등록 요구에 따라 목적 태스크 번호 및 타이머 아이디(ID)를 저장하도록 관리할 수 있다.The timer manager 210 can manage to store the target task number and the timer ID according to the timer registration request of the registered task 11.

상기 등록 태스크(11)는 시간 이벤트를 발생시키는 타이머를 등록하는 응용 소프트웨어(Software) 태스크로써, 등록할 타이머는 상기 등록 태스크(11) 혹은 다른 태스크가 사용 가능할 수 있다.The registration task 11 is a software task for registering a timer for generating a time event. The timer to register may be available to the registered task 11 or another task.

여기서, 응용 소프트웨어 태스크에서 요청한 서비스 요구(예컨대, 타이머 등록 요구)에 빠른 응답시간을 보장하기 위한 대행 처리 모듈인 태스크-서비스 핸들러(101 내지 104)가 각 태스크 별로 일대일로 할당될 수 있다.Here, task-service handlers 101 to 104, which are substitute processing modules for ensuring a fast response time in response to a service request (for example, a timer registration request) requested by an application software task, can be allocated one-by-one for each task.

또한, 상기 타이머 정보 관리자(270)은 이벤트 시간에 가장 근접한 타이머를 선택할 수 있고, 상기 타이머 실행 관리자(280)은 상기 선택된 타이머의 이벤트 시간에 도달한 경우 시간 이벤트를 생성할 수 있다.Also, the timer information manager 270 may select a timer closest to the event time, and the timer execution manager 280 may generate a time event when the event time of the selected timer is reached.

상기 타이머 이벤트 관리자(310)은 상기 시간 이벤트를 대기하는 대기 태스크의 대기 태스크 번호를 저장하도록 관리하고, 이벤트 대기큐에 상기 시간 이벤트를 전달할 수 있다.
The timer event manager 310 manages to store the waiting task number of the waiting task waiting for the time event, and can forward the time event to the event waiting queue.

또한, 본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템은 목적 태스크 번호 관리자(220), 목적 태스크 번호 풀(Pool)(240). 타이머 아이디 관리자(230), 타이머 아이디 풀(Pool)(250), 및 태스크-타이머 매퍼(260)를 포함할 수 있다.In addition, the event management system of the steel process middleware according to an embodiment of the present invention includes a target task number manager 220 and a target task number pool 240. A timer ID manager 230, a timer ID pool 250, and a task-timer mapper 260. The timer-

상기 목적 태스크 번호 관리자(220)는 목적 태스크 번호들(241 내지 24N)을 생성하고, 상기 목적 태스크 번호들(241 내지 24N)을 상기 목적 태스크 번호 풀(240)에 저장할 수 있다.The target task number manager 220 may generate the target task numbers 241 to 24N and store the target task numbers 241 to 24N in the target task number pool 240.

상기 목적 태스크 번호 풀(240)은 상기 목적 태스크 번호들(241 내지 24N)을 포함하고 상기 목적 태스크 번호들(241 내지 24N)을 추가, 삭제, 검색 가능한 구조를 가질 수 있다.The target task number pool 240 may include the target task numbers 241 to 24N and may have a structure capable of adding, deleting, and searching the target task numbers 241 to 24N.

상기 타이머 아이디(ID) 관리자(230)는 타이머 아이디 설정 문서(230-1)에 따라 타이머 아이디들(251 내지 25N)을 생성하고, 상기 타이머 아이디들(251 내지 25N)을 타이머 아이디 풀(250)에 저장할 수 있다.The timer ID manager 230 generates the timer IDs 251 to 25N according to the timer ID setting document 230-1 and outputs the timer IDs 251 to 25N to the timer ID pool 250, Lt; / RTI >

상기 타이머 아이디 풀(250)은 상기 타이머 아이디들(251 내지 25N)을 포함하고 상기 타이머 아이디들(251 내지 25N)을 추가, 삭제, 검색 가능한 구조를 가질 수 있다.The timer ID pool 250 includes the timer IDs 251 to 25N and may have a structure capable of adding, deleting, and searching the timer IDs 251 to 25N.

상기 태스크-타이머 매퍼(260)는 상기 목적 태스크 번호들(241 내지 24N) 및 타이머 아이디들(251 내지 25N)을 매핑한 태스크-타이머 매핑 정보를 생성하고, 상기 태스크-타이머 매핑 정보를 상기 타이머 관리자(210)에 제공할 수 있다.The task-timer mapper 260 generates task-timer mapping information in which the target task numbers 241 to 24N and the timer IDs 251 to 25N are mapped and outputs the task-timer mapping information to the timer manager (210).

또한, 본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템은 타이머 풀(290)을 포함할 수 있다.In addition, the event management system of the steel process middleware according to an embodiment of the present invention may include a timer pool 290.

상기 타이머 풀(290)은 타이머들(291 내지 294)을 포함하고, 상기 타이머 정보 관리자(270)에 의해 상기 타이머들(291 내지 294)을 추가, 삭제, 검색 가능한 구조를 가질 수 있다.The timer pool 290 includes timers 291 through 294 and may have a structure that allows the timers 291 through 294 to be added, deleted and retrieved by the timer information manager 270.

또한, 상기 타이머 정보 관리자(270)는 타이머 등록 설정 문서(370-1)에 따라 상기 타이머 풀(290)에 포함된 타이머들(291 내지 294)를 추가, 삭제, 검색할 수 있다.Also, the timer information manager 270 may add, delete, and search the timers 291 to 294 included in the timer pool 290 according to the timer registration setting document 370-1.

도 1에는 타이머들(291 내지 294)을 타이머의 종류(예컨대, 데일리, 지연, 주기, 일회성)에 따라 하나씩 도시하였으나 상기 타이머 풀(290)은 동일한 종류의 복수의 타이머를 포함할 수 있다.
In FIG. 1, the timers 291 to 294 are shown one by one according to the types of timers (e.g., daily, delay, period, and one time), but the timer pool 290 may include a plurality of timers of the same type.

한편, 상기 타이머 관리자(210)은 교체 태스크(12)의 타이머 교체 요구에 따라 타이머를 수정하도록 관리할 수 있고, 삭제 태스크(13)의 요구에 따라 목적 태스크 번호, 타이머 아이디, 및 타이머를 삭제하도록 관리할 수 있다.The timer manager 210 can manage to modify the timer in response to the timer replacement request of the replacement task 12 and delete the target task number, the timer ID, and the timer in accordance with the request of the deletion task 13 Can be managed.

구체적으로, 상기 타이머 관리자(210)는 교체 태스크(12)의 요구가 수신된 경우 태스크-타이머 매퍼(260)가 제공한 태스크-타이머 매핑 정보를 검색할 수 있고, 수정이 요구된 타이머가 검색된 경우 태스크-타이머 매퍼(260)를 통해 태스크-타이머 매핑 정보를 수정하고, 타이머 정보 관리자(270)을 통해 해당 타이머를 수정 할 수 있다.Specifically, the timer manager 210 can retrieve the task-timer mapping information provided by the task-timer mapper 260 when a request for the replacement task 12 is received, The task-timer mapping information may be modified through the task-timer mapper 260 and the timer may be modified through the timer information manager 270. [

또한, 상기 타이머 관리자(210)는 삭제 태스크(13)의 요구가 수신된 경우 태스크-타이머 매퍼(260)가 제공한 태스크-타이머 매핑 정보를 검색할 수 있고, 삭제가 요구된 타이머가 검색된 경우 삭제가 요구된 타이머의 목적 태스크 번호, 타이머 아이디, 태스크-타이머 매핑 정보, 및 상기 삭제가 요구된 타이머를 삭제할 수 있다.
Also, the timer manager 210 can retrieve the task-timer mapping information provided by the task-timer mapper 260 when a request for the deletion task 13 is received, The timer ID, the task-timer mapping information, and the timer for which the deletion is requested can be deleted.

또한, 본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템은 대기 태스크 번호 관리자(320), 대기 태스크 번호 풀(Pool)(340). 이벤트 대기큐 관리자(330), 이벤트 대기큐 풀(Pool)(350), 및 태스크-이벤트 매퍼(360)를 포함할 수 있다.In addition, the event management system of the steel process middleware according to an embodiment of the present invention includes a waiting task number manager 320, a waiting task number pool 340, and the like. An event waiting queue manager 330, an event waiting queue pool 350, and a task-event mapper 360. The event-

상기 대기 태스크 번호 관리자(320)는 대기 태스크 번호들(341 내지 34N)을 생성하고, 상기 대기 태스크 번호들(341 내지 34N)을 상기 대기 태스크 번호 풀(340)에 저장할 수 있다.The waiting task number manager 320 may generate waiting task numbers 341 to 34N and store the waiting task numbers 341 to 34N in the standby task number pool 340.

상기 대기 태스크 번호 풀(340)은 상기 대기 태스크 번호들(341 내지 34N)을 포함하고 상기 대기 태스크 번호들(341 내지 34N)을 추가, 삭제, 검색 가능한 구조를 가질 수 있다.The standby task number pool 340 may include the waiting task numbers 341 to 34N and may have a structure capable of adding, deleting, and searching the waiting task numbers 341 to 34N.

상기 이벤트 대기큐 관리자(330)는 이벤트 대기큐들(351 내지 35N)을 생성하고, 상기 이벤트 대기큐들(351 내지 35N)을 이벤트 대기큐 풀(350)에 저장할 수 있다.The event waiting queue manager 330 may generate event waiting queues 351 to 35N and store the event waiting queues 351 to 35N in the event waiting queue pool 350. [

상기 이벤트 대기큐 풀(350)은 상기 이벤트 대기큐들(351 내지 35N)을 포함하고 상기 이벤트 대기큐들(351 내지 35N)을 추가, 삭제, 검색 가능한 구조를 가질 수 있다.The event wait queue pool 350 may include the event wait queues 351 to 35N and may have a structure capable of adding, deleting, and searching the event wait queues 351 to 35N.

상기 태스크-이벤트 매퍼(360)는 상기 대기 태스크 번호들(341 내지 34N) 및 상기 이벤트 대기큐들(351 내지 35N)을 매핑한 태스크-대기큐 매핑 정보를 생성하고, 상기 태스크-대기큐 매핑 정보를 상기 타이머 이벤트 관리자(310)에 제공할 수 있다.The task-event mapper 360 generates task-wait queue mapping information in which the wait task numbers 341 to 34N and the event wait queues 351 to 35N are mapped, To the timer event manager (310).

또한, 본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템은 시간 이벤트 관리자(370) 및 시간 이벤트 풀(380)을 포함할 수 있다.In addition, the event management system of the steel process middleware according to an embodiment of the present invention may include a time event manager 370 and a time event pool 380.

상기 시간 이벤트 풀(380)은 시간 이벤트들(381 내지 384)을 포함하고, 상기 시간 이벤트들(381 내지 384)을 추가, 삭제, 검색 가능한 구조를 가질 수 있다.The time event pool 380 may include time events 381 to 384 and may have a structure capable of adding, deleting, and retrieving the time events 381 to 384.

또한, 상기 시간 이벤트 관리자(370)는 시간 이벤트 설정 문서(360-1)에 따라 상기 시간 이벤트 풀(380)에 포함된 시간 이벤트들(381 내지 384)를 추가, 삭제, 검색할 수 있다.In addition, the time event manager 370 may add, delete, and retrieve the time events 381 to 384 included in the time event pool 380 according to the time event setting document 360-1.

도 1에는 시간 이벤트들(381 내지 384)을 시간 이벤트의 종류(예컨대, 데일리, 지연, 주기, 일회성)에 따라 하나씩 도시하였으나 상기 시간 이벤트 풀(380)은 동일한 종류의 복수의 시간 이벤트를 포함할 수 있다.Although FIG. 1 shows time events 381 to 384 one by one according to types of time events (e.g., daily, delay, period, one time), the time event pool 380 includes a plurality of time events of the same kind .

이에 따라, 시간 이벤트를 발생시키는 타이머와 각 타이머가 발생시킨 시간 이벤트의 관리구조를 이원화 할 수 있으므로, 타이머 추가/삭제 및 시간 이벤트 생성/삭제가 동시에 가능하여 성능을 최적화 할 수 있고, 타이머 부분과 이벤트 부분을 별도로 관리할 수 있다.Accordingly, since the timer for generating the time event and the management structure for the time event generated by each timer can be binarized, it is possible to simultaneously perform timer addition / deletion and time event generation / deletion, thereby optimizing the performance, Event part can be managed separately.

따라서, 본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템에 따르면, 시간 이벤트 처리 방법을 최적화하고 표준화된 시간 이벤트 서비스가 제공될 수 있다.
Therefore, according to the event management system of the steel process middleware according to the embodiment of the present invention, a time event processing method can be optimized and a standardized time event service can be provided.

도 2는 본 발명의 일 실시예에 따른 타이머 등록 처리 절차를 나타내는 흐름도이다.2 is a flowchart illustrating a timer registration processing procedure according to an embodiment of the present invention.

먼저, 본 발명의 일 실시예에 따른 이벤트 관리 시스템의 서비스가 시작되면 타이머 관리자(210, 도1)를 생성할 수 있다(S210).First, when a service of the event management system according to an embodiment of the present invention is started, a timer manager 210 (FIG. 1) may be created (S210).

상기 타이머 관리자는 자신이 생성될 때, 타이머 실행 관리자(280, 도1)을 생성할 수 있고(S310), 타이머 이벤트 관리자(310, 도1)을 생성할 수 있다(S410).When the timer manager is created, the timer manager may generate a timer execution manager 280 (FIG. 1) (S310) and generate a timer event manager 310 (FIG. 1) (S410).

등록 태스크가 시작되어 타이머 등록이 요구되면(S201), 상기 타이머 관리자는 타이머 등록 요구에 따라 샐행될 수 있고(S220), 태스크-타이머 매핑 정보를 확인할 수 있다(S230).When the registration task is started and the timer registration is requested (S201), the timer manager can follow the timer registration request (S220) and confirm the task-timer mapping information (S230).

상기 타이머 관리자는 등록 요구된 타이머에 대한 태스크-타이머 매핑 정보의 존재 여부를 판단하여(S230), 등록 요구된 타이머에 대한 태스크-타이머 매핑 정보가 존재하지 않는 경우 태스크-타이머 매핑 정보를 생성할 수 있고(S250), 등록 요구된 타이머에 대한 태스크-타이머 매핑 정보가 존재하는 경우 태스크-타이머 매핑 정보를 변경할 수 있다(S255).The timer manager determines whether there is task-timer mapping information for the timer requested for registration (S230). If there is no task-timer mapping information for the requested timer, the timer manager can generate task-timer mapping information (S250). If the task-timer mapping information for the requested timer exists, the task-timer mapping information may be changed (S255).

이후, 상기 타이머 관리자는 타이머 등록 완료를 등록 태스크에 전송할 수 있고(S260), 이를 전송 받은 등록 태스크는 타이머 등록 요구 완료를 수신하고(S209), 종료될 수 있다.
Then, the timer manager can transmit the timer registration completion to the registration task (S260), and the registered task having received the timer registration request can receive the completion of the timer registration request (S209) and can be terminated.

도 3은 본 발명의 일 실시예에 따른 시간 이벤트 발생 및 전달 절차를 나타내는 흐름도이다.3 is a flowchart illustrating a time event generation and delivery procedure according to an embodiment of the present invention.

먼저, 타이머 실행 관리자(280, 도1)가 생성된 후(S310), 타이머 정보 관리자(330, 도1)는 이벤트 시간에 가장 근접한 타이머를 선택할 수 있다(S320).First, after the timer execution manager 280 (FIG. 1) is generated (S310), the timer information manager 330 (FIG. 1) may select a timer closest to the event time (S320).

이후, 상기 타이머 실행 관리자는 상기 선택된 타이머의 이벤트 시간에 도달하였는지 확인할 수 있다(S330).Thereafter, the timer execution manager can confirm whether the event time of the selected timer has been reached (S330).

상기 이벤트 시간에 도달하지 않은 경우 이벤트 시간 도달을 대기하고(S340), 이벤트 시간에 도달한 경우 시간 이벤트를 생성할 수 있다(S345).If the event time has not been reached, it is waited for the arrival of the event time (S340). If the event time is reached, a time event can be generated (S345).

다음으로, 상기 시간 이벤트를 대기하는 대기 태스크가 존재하는지 확인하여(S350), 상기 대기 태스크가 존재하는 경우 이벤트 대기큐에 시간 이벤트를 전달할 수 있다(S365).Next, it is determined whether there is a waiting task waiting for the time event (S350). If there is the waiting task, a time event can be delivered to the waiting event queue (S365).

상기 대기 태스크가 존재하지 않는 경우 태스크-이벤트 매핑 정보를 확인하고(S360), 매핑 정보가 존재하는지 판단할 수 있다(S370).If the waiting task does not exist, the task-event mapping information is checked (S360), and it is determined whether mapping information exists (S370).

매핑 정보가 존재하는 경우 이벤트 대기큐를 찾은 후 시간 이벤트를 전달하고(S380), 매핑 정보가 존재하지 않는 경우 태스크-이벤트 매핑 정보를 생성한 후 시간 이벤트를 전달할 수 있다(S385).If the mapping information exists, the event waiting queue is found and the time event is transmitted (S380). If the mapping information does not exist, the task-event mapping information may be generated and the time event may be transmitted (S385).

마지막으로, 타이머 관리자(210, 도1)는 상기 선택된 타이머가 일회성 용도(에컨대, 지연, 일회성)의 타이머라면 타이머에 관련된 정보를 삭제할 수 있다.
Finally, the timer manager 210 (FIG. 1) may delete information related to the timer if the selected timer is a one-time use (e.g., delay, one-time) timer.

도 4는 본 발명의 일 실시예에 따른 이벤트 서비스 요구 처리 절차를 나타내는 흐름도이다.4 is a flowchart illustrating an event service request processing procedure according to an embodiment of the present invention.

먼저, 타이머 이벤트 관리자(310, 도1)가 생성된 후, 수신 태스크가 시작되어 이벤트 서비스가 요구되면(S401), 상기 타이머 이벤트 관리자가 상기 이벤트 서비스 요구에 따라 실행될 수 있고(S420), 태스크-이벤트 매핑 정보를 확인할 수 있다(S430).First, when a receiving task is started and an event service is requested after the timer event manager 310 (FIG. 1) is created (S401), the timer event manager can be executed according to the event service request (S420) The event mapping information can be confirmed (S430).

이후, 상기 타이머 이벤트 관리자는 태스크-이벤트 매핑 정보가 존재하는지 판단하여(S440), 태스크-이벤트 매핑 정보가 존재하면 이벤트 대기큐의 상태를 검사하고(S450), 이미 발생한 시간 이벤트가 존재하는지 확인할 수 있다(S460).Thereafter, the timer event manager determines whether there is task-event mapping information (S440). If there is task-event mapping information, the timer event manager checks the state of the event wait queue (S450) (S460).

이미 발생한 시간 이벤트가 존재하지 않는다면 이벤트 대기큐는 시간 이벤트 발생을 대기할 수 있다(S470).If there is no time event already generated, the event wait queue can wait for the occurrence of the time event (S470).

반대로, 태스크-이벤트 매핑 정보가 존재하지 않으면 상기 타이머 이벤트 관리자는 태스크-이벤트 매핑 정보를 생성할 수 있다(S455).In contrast, if there is no task-event mapping information, the timer event manager can generate task-event mapping information (S455).

이후, 이벤트 대기큐는 시간 이벤트 발생을 대기할 수 있다(S470).Thereafter, the event wait queue can wait for occurrence of a time event (S470).

이미 발생한 시간 이벤트가 존재하거나 이벤트 대기큐에 시간 이벤트가 전달되면(S365), 상기 타이머 이벤트 관리자는 대기 태스크에 시간 이벤트를 전송할 수 있다(S480).If a time event has already occurred or a time event is delivered to the event waiting queue (S365), the timer event manager can transmit a time event to the waiting task (S480).

마지막으로, 수신 태스크는 이벤트 서비스 요구 완료를 수신하고(S409), 종료될 수 있다.
Finally, the receiving task receives the completion of the event service request (S409) and can be terminated.

이에 따라, 타이머가 발생시키는 시간 이벤트가 누락되지 않고 이벤트 대기큐에 전달되어 응용 소프트웨어가 이벤트를 수신 받지 못하고 종료될 경우에도 재실행된 응용 소프트웨어가 미처리되어 저장 되어있던 이벤트 대기큐에 의해 시간 이벤트를 수신할 수 있도록 할 수 있다.Accordingly, even if the time event generated by the timer is not missed and is delivered to the event wait queue so that the application software can not receive the event but is terminated, the re-executed application software is not processed and the time event is received Can be done.

따라서, 본 발명의 일 실시예에 따른 철강 공정 미들웨어의 이벤트 관리 시스템에 따르면, 시간 이벤트 처리 방법을 안정화한 시간 이벤트 서비스가 제공될 수 있다.
Therefore, according to the event management system of the steelworks middleware according to the embodiment of the present invention, a time event service in which the time event processing method is stabilized can be provided.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고 후술하는 특허청구범위에 의해 한정되며, 본 발명의 구성은 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 그 구성을 다양하게 변경 및 개조할 수 있다는 것을 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 쉽게 알 수 있다.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not intended to limit the invention to the particular forms disclosed. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

210: 타이머 관리자
220: 목적 태스크 번호 관리자
230: 타이머 아이디 관리자
240: 목적 태스크 번호 풀
250: 타이머 아이디 풀
260: 태스크-타이머 매퍼
270: 타이머 정보 관리자
280: 타이머 실행 관리자
310: 타이머 이벤트 관리자
320: 대기 태스크 번호 관리자
330: 이벤트 대기큐 관리자
340: 대기 태스크 번호 풀
350: 이벤트 대기큐 풀
210: Timer Manager
220: Destination task number manager
230: Timer ID manager
240: Target task number pool
250: Timer ID Pool
260: Task - Timer Mapper
270: Timer Information Manager
280: Timer execution manager
310: Timer Event Manager
320: Standby task number manager
330: Event Waiting Queue Manager
340: Standby task number pool
350: Event Waiting Queue Pool

Claims (10)

등록 태스크의 타이머 등록 요구에 따라, 목적 태스크 번호 및 타이머 아이디(ID)를 저장하고 타이머를 등록하도록 관리하는 타이머 관리자;
이벤트 시간에 가장 근접한 타이머를 선택하는 타이머 정보 관리자;
상기 선택된 타이머의 이벤트 시간에 도달한 경우 시간 이벤트를 생성하는 타이머 실행 관리자; 및
상기 시간 이벤트를 대기하는 대기 태스크의 대기 태스크 번호를 저장하도록 관리하고, 이벤트 대기큐에 상기 시간 이벤트를 전달하는 타이머 이벤트 관리자;
를 포함하는 철강 공정 미들웨어의 이벤트 관리 시스템.
A timer manager for managing a timer to register a target task number and a timer ID (ID) in accordance with a timer register request of the registered task;
A timer information manager for selecting a timer closest to the event time;
A timer execution manager for generating a time event when an event time of the selected timer is reached; And
A timer event manager for managing the waiting task number of the waiting task waiting for the time event and for delivering the time event to the waiting event queue;
The event management system of the steel process middleware.
제1항에 있어서,
상기 목적 태스크 번호를 포함하는 목적 태스크 번호 풀;
상기 목적 태스크 번호를 생성하고, 상기 목적 태스크 번호를 상기 목적 태스크 번호 풀에 저장하는 목적 태스크 번호 관리자;
상기 타이머 아이디를 포함하는 타이머 아이디 풀; 및
상기 타이머 아이디를 생성하고, 상기 타이머 아이디를 상기 타이머 아이디 풀에 저장하는 타이머 아이디 관리자;
를 더 포함하는 철강 공정 미들웨어의 이벤트 관리 시스템.
The method according to claim 1,
A target task number pool including the target task number;
A target task number manager for generating the target task number and storing the target task number in the target task number pool;
A timer ID pool including the timer ID; And
A timer ID manager for generating the timer ID and storing the timer ID in the timer ID pool;
The event management system of the steel process middleware.
제2항에 있어서.
상기 목적 태스크 번호와 해당 타이머 아이디를 매핑한 태스크-타이머 매핑 정보를 생성하고, 상기 태스크-타이머 매핑 정보를 상기 타이머 관리자에 제공하는 태스크-타이머 매퍼를 더 포함하는 철강 공정 미들웨어의 이벤트 관리 시스템.
The method of claim 2,
And a task-timer mapper for generating task-timer mapping information in which the target task number and the corresponding timer ID are mapped and providing the task-timer mapping information to the timer manager.
제1항에 있어서,
상기 타이머 관리자는 교체 태스크의 타이머 교체 요구에 따라 타이머를 수정하도록 관리하는 철강 공정 미들웨어의 이벤트 관리 시스템.
The method according to claim 1,
Wherein the timer manager manages a timer to be modified according to a timer replacement request of a replacement task.
제1항에 있어서,
상기 타이머 관리자는 삭제 태스크의 타이머 삭제 요구에 따라 목적 태스크 번호, 타이머 아이디. 및 타이머를 삭제하도록 관리하는 철강 공정 미들웨어의 이벤트 관리 시스템.
The method according to claim 1,
The timer manager deletes a target task number and a timer ID according to a timer deletion request of the deletion task. And the timer is managed to delete the event management system of the steel process middleware.
제1항에 있어서,
대기 태스크 번호를 포함하는 대기 태스크 번호 풀;
상기 대기 태스크 번호를 생성하고, 상기 대기 태스크 번호를 상기 대기 태스크 번호 풀에 저장하는 목적 태스크 번호 관리자;
상기 이벤트 대기큐를 포함하는 이벤트 대기큐 풀; 및
상기 이벤트 대기큐를 생성하고, 상기 이벤트 대기큐를 상기 이벤트 대기큐 풀에 저장하는 이벤트 대기큐 관리자;
를 더 포함하는 철강 공정 미들웨어의 이벤트 관리 시스템.
The method according to claim 1,
A waiting task number pool containing the waiting task number;
A target task number manager for generating the standby task number and storing the standby task number in the standby task number pool;
An event wait queue pool including the event wait queue; And
An event wait queue manager for generating the event wait queue and storing the event wait queue in the event wait queue pool;
The event management system of the steel process middleware.
제6항에 있어서.
상기 대기 태스크 번호와 해당 이벤트 대기큐를 매핑한 태스크-대기큐 매핑 정보를 생성하고, 상기 태스크-대기큐 매핑 정보를 상기 타이머 이벤트 관리자에 제공하는 태스크-대기큐 매퍼를 더 포함하는 철강 공정 미들웨어의 이벤트 관리 시스템.
The method of claim 6,
And a task-waiting queue mapper for generating task-waiting queue mapping information in which the waiting task number and the corresponding event waiting queue are mapped and providing the task-waiting queue mapping information to the timer event manager. Event management system.
제1항에 있어서,
상기 타이머 이벤트 관리자는 수신 태스크의 이벤트 서비스 요구에 따라, 상기 대기 태스크 번호를 저장하도록 관리하고 상기 대기 태스크에 이벤트 대기큐를 할당하는 철강 공정 미들웨어의 이벤트 관리 시스템.
The method according to claim 1,
Wherein the timer event manager manages to store the waiting task number according to an event service request of the receiving task and assigns an event waiting queue to the waiting task.
제1항에 있어서,
상기 타이머 정보 관리자에 의해 타이머를 추가, 삭제, 검색 가능한 구조를 가지는 타이머 풀을 더 포함하는 철강 공정 미들웨어의 이벤트 관리 시스템.
The method according to claim 1,
And a timer pool having a structure capable of adding, deleting and searching timers by the timer information manager.
제1항에 있어서,
상기 타이머 실행관리자를 통해 생성된 시간 이벤트들을 추가, 삭제 검색 가능한 구조를 가지는 시간 이벤트 풀; 및
상기 시간 이벤트 풀을 관리하는 시간 이벤트 관리자
를 더 포함하는 철강 공정 미들웨어의 이벤트 관리 시스템.
The method according to claim 1,
A time event pool having a structure capable of adding and deleting time events generated through the timer execution manager; And
The time event manager managing the time event pool
The event management system of the steel process middleware.
KR1020140186902A 2014-12-23 2014-12-23 Event managing system of steel process middleware KR101639912B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140186902A KR101639912B1 (en) 2014-12-23 2014-12-23 Event managing system of steel process middleware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140186902A KR101639912B1 (en) 2014-12-23 2014-12-23 Event managing system of steel process middleware

Publications (2)

Publication Number Publication Date
KR20160077432A KR20160077432A (en) 2016-07-04
KR101639912B1 true KR101639912B1 (en) 2016-07-25

Family

ID=56500884

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140186902A KR101639912B1 (en) 2014-12-23 2014-12-23 Event managing system of steel process middleware

Country Status (1)

Country Link
KR (1) KR101639912B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107871194B (en) * 2016-09-28 2020-10-16 北京北方华创微电子装备有限公司 Scheduling method and device for production line equipment
KR101940878B1 (en) * 2016-12-22 2019-04-10 주식회사 포스코 System for collecting data of steel process

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000105706A (en) 1998-09-29 2000-04-11 Nec Ic Microcomput Syst Ltd Timer managing method of operating system
JP2009199365A (en) 2008-02-21 2009-09-03 Funai Electric Co Ltd Multi-task processing system
KR100953732B1 (en) 2008-12-29 2010-04-19 주식회사 포스코아이씨티 Apparatus for managing a task

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101091325B1 (en) 2008-12-26 2011-12-07 주식회사 포스코 Middleware for controling steel process and method for providing service in the middleware

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000105706A (en) 1998-09-29 2000-04-11 Nec Ic Microcomput Syst Ltd Timer managing method of operating system
JP2009199365A (en) 2008-02-21 2009-09-03 Funai Electric Co Ltd Multi-task processing system
KR100953732B1 (en) 2008-12-29 2010-04-19 주식회사 포스코아이씨티 Apparatus for managing a task

Also Published As

Publication number Publication date
KR20160077432A (en) 2016-07-04

Similar Documents

Publication Publication Date Title
US9519547B2 (en) Systems and methods for supporting transactional message handling
US8139596B2 (en) Communicating prioritized messages to a destination queue from multiple source queues using source-queue-specific priority values
US20140067452A1 (en) Intelligent work management based on satellite navigation system data and network node data
US20110258268A1 (en) Controlling message delivery in publish/subscribe messaging
CN109033814B (en) Intelligent contract triggering method, device, equipment and storage medium
US8886787B2 (en) Notification for a set of sessions using a single call issued from a connection pool
US9189303B2 (en) Shadow queues for recovery of messages
US20160156502A1 (en) Message Broker System with Parallel Persistence
US9529651B2 (en) Apparatus and method for executing agent
US10498681B1 (en) Storage management for ephemeral messages
US9641685B2 (en) Systems and methods for an omni-channel routing broker
US20200159565A1 (en) Predicting transaction outcome based on artifacts in a transaction processing environment
CN103312624A (en) Message queue service system and method
US9900403B2 (en) Method and server for assigning relative order to message by using vector clock and delivering the message based on the assigned relative order under distributed environment
CN102333130A (en) Method and system for accessing cache server and intelligent cache scheduler
KR101639912B1 (en) Event managing system of steel process middleware
CN110740145A (en) Message consumption method, device, storage medium and electronic equipment
US8694462B2 (en) Scale-out system to acquire event data
US7853646B2 (en) Assured validation for facade method invocations
US20190227859A1 (en) Data store device and data management method
JP2008083942A (en) Data backup system via network and computer for the same
CN111835797A (en) Data processing method, device and equipment
US20120102168A1 (en) Communication And Coordination Between Web Services In A Cloud-Based Computing Environment
CN113032125A (en) Job scheduling method, device, computer system and computer-readable storage medium
EP3721604B1 (en) Automatic subscription management of computing services

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant