KR100953732B1 - Apparatus for managing a task - Google Patents
Apparatus for managing a task Download PDFInfo
- Publication number
- KR100953732B1 KR100953732B1 KR1020080135739A KR20080135739A KR100953732B1 KR 100953732 B1 KR100953732 B1 KR 100953732B1 KR 1020080135739 A KR1020080135739 A KR 1020080135739A KR 20080135739 A KR20080135739 A KR 20080135739A KR 100953732 B1 KR100953732 B1 KR 100953732B1
- Authority
- KR
- South Korea
- Prior art keywords
- task
- unit
- manager
- state
- information
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
본원발명은 미들웨어 구조와는 별도의 독립성과 자율성을 가지고 있으며, 응용 테스크와 TCP 통신 단절시에도 태스크의 상태 체크가 가능하도록 하는 테스크 관리 장치에 관한 것이다. The present invention is independent of the middleware structure and has an autonomy, and relates to a task management device that enables the status check of the task even when the application task and TCP communication is disconnected.
기존에 여러 분야에서 다양한 종류의 미들웨어(Middleware)가 존재하고 있고, 이들은 각 특성에 맞게 컴퓨터 간의 연결을 담당하는 시스템 소프트웨어로 존재한다. 사용자는 상위 레벨의 응용 프로그램을 생성하여 관리하고 있으나, 미들웨어 내에서는 테스크에 대한 서비스 지원을 주목적으로 하고 있기에, 테스크를 수행하는 응용 프로그램의 상태 및 생사 여부는 미들웨어의 상태에 의존적일 수밖에 없다. 특히, 철강 분야에서 실제 사용되는 응용 프로그램들은 상당히 고속이면서 정확한 제어를 필요로 하는 것들이 많다. 한순간의 통신 이상이나, 응용 프로그램의 오동작이 큰 사고를 일으킬 수 있다. Various kinds of middleware exist in various fields, and they exist as system software that manages connections between computers according to their characteristics. The user creates and manages a high level application, but since the main purpose is to support services for tasks in the middleware, the state and death of the application performing the task are dependent on the state of the middleware. In particular, many practical applications in the field of steel require high speed and precise control. An abnormal communication error or malfunction of an application program may cause a big accident.
따라서, 미들웨어 내/외적의 문제, 즉, 커널의 비정상적인 종료 혹은 서비스를 지원하는 오브젝트의 이상 동작, 네크워크 상의 문제로 인한 통신 두절과 같은 현상으로 인해 응용 프로그램이 비정상 동작이나 종료가 되는 문제를 방지하고자 하는 시스템 개발이 요구된다.Therefore, in order to prevent problems such as abnormal operation or termination of the application due to problems such as internal / external middleware, that is, abnormal termination of the kernel, abnormal operation of an object supporting the service, and communication loss due to network problems. System development is required.
본 발명이 해결하고자 하는 기술적 과제는 시스템의 자원을 최소화하면서, 미들웨어의 기능이나 동작에 최대한 독립적으로 설계함으로써, 미들웨어의 통신 부하를 최소화하여 통신 문제 발생시에도 테스크 수행의 상태정보를 안정적으로 제공할 수 있도록 하는 테스크 관리 장치를 제공한다.The technical problem to be solved by the present invention is to minimize the resources of the system, by designing as independent as possible to the function or operation of the middleware, thereby minimizing the communication load of the middleware, it is possible to stably provide the status information of the task performance in the event of a communication problem. It provides a task management device to ensure that.
상기의 과제를 이루기 위해, 본 발명에 의한 테스크 관리 장치는 테스크의 수행 상태를 감시 및 관리하는 테스크 관리부; 상기 테스크 관리부의 비정상 종료시에 상기 테스크 관리부를 재실행시키는 재실행부; 및 상기 테스크 관리부와 독립적으로 통신 채널을 형성하고, 상기 테스크 관리부로부터 상기 테스크의 수행 상태에 대한 감시 결과를 주기적으로 수신하여 상기 테스크의 수행 상태를 체크하는 테스크 상태 체크부를 포함하고, 상기 테스크 관리부는, 상기 테스크를 수행하는 응용 프로그램의 등록정보를 관리하는 등록정보 관리부; 상기 등록된 응용 프로그램의 상기 테스크의 수행 상태를 감시하는 테스크 감시부; 상기 등록정보 관리부 및 상기 테스크 감시부의 업데이트된 정보를 주기적으로 인터페이스하는 업데이트 정보 인터페이스부; 및 상기 업데이트된 정보를 저장하는 테스크 정보 저장부를 포함하고, 상기 테스크 상태 체크부는 상기 테스크를 지원하는 미들웨어 상에 구비되어 있는 것을 특징으로 한다.
상기의 과제를 이루기 위해, 본 발명에 의한 테스크 관리 장치는 테스크의 수행 상태를 감시 및 관리하는 테스크 관리부; 상기 테스크 관리부의 비정상 종료시에 상기 테스크 관리부를 재실행시키는 재실행부; 상기 테스크 관리부와 독립적으로 통신 채널을 형성하고, 상기 테스크 관리부로부터 상기 테스크의 수행 상태에 대한 감시 결과를 주기적으로 수신하여 상기 테스크의 수행 상태를 체크하는 테스크 상태 체크부; 및 상기 테스크 관리부에 저장되는 테스크 관련 로그정보를 백업하는 데이터 백업부를 포함하고, 상기 테스크 상태 체크부는 상기 테스크를 지원하는 미들웨어 상에 구비되어 있는 것을 특징으로 한다.In order to achieve the above object, the task management apparatus according to the present invention includes a task management unit for monitoring and managing the performance of the task; A redo unit that re-executes the task manager when the task manager abnormally terminates; And a task state check unit for forming a communication channel independently from the task manager, and periodically receiving a monitoring result of the task execution state from the task manager to check the task execution state of the task. A registration information management unit managing registration information of an application program performing the task; A task monitoring unit configured to monitor a performance state of the task of the registered application; An update information interface unit periodically interfaced with updated information of the registration information management unit and the task monitoring unit; And a task information storage unit for storing the updated information, wherein the task status check unit is provided on middleware that supports the task.
In order to achieve the above object, the task management apparatus according to the present invention includes a task management unit for monitoring and managing the performance of the task; A redo unit that re-executes the task manager when the task manager abnormally terminates; A task state check unit for establishing a communication channel independently from the task manager, and periodically receiving a monitoring result of the task execution state from the task manager to check the task execution state of the task; And a data backup unit for backing up task related log information stored in the task manager, wherein the task state check unit is provided on middleware that supports the task.
본 발명에 따르면, 미들웨어 구조와는 별도의 독립성과 자율성을 가지고 있으며, 응용 프로그램과 TCP 통신 단절시에도 테스크 수행 상태의 체크가 가능하다. 테스크의 수행 상태 변화에 따른 미들웨어의 신속한 대응이 가능하고 사용자는 테스크의 상태 정보를 안정적으로 제공받을 수 있다. 따라서, 시스템의 자원을 최소화 하면서, 미들웨어의 통신 부하를 최소화할 수 있다. 또한, 테스크의 상태 로그 정보를 관리하며 독립 통신 채널을 이용함으로써 미들웨어와는 별도로 본 시스템의 자율성을 확보하고, 비정상 종료 시 재실행이 가능토록 한다.According to the present invention, the independence and autonomy of the middleware structure is independent, and the task execution status can be checked even when TCP communication with the application program is lost. The middleware can quickly respond to changes in the execution state of the task, and the user can be stably provided with the state information of the task. Therefore, it is possible to minimize the communication load of the middleware while minimizing the resources of the system. In addition, by managing the status log information of the task and using the independent communication channel to ensure the autonomy of the system separately from the middleware, it is possible to re-execute at abnormal termination.
이하, 본 발명에 의한 테스크 관리 장치를 첨부된 도면을 참조하여 상세히 설명한다. Hereinafter, a task management apparatus according to the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명에 따른 테스크 관리 장치를 설명하기 위할 일 실시예의 블록도로서, 클라이언트(100), 미들웨어(140)를 포함한다.1 is a block diagram of an embodiment for describing a task management apparatus according to the present invention, and includes a
클라이언트(100)는 테스크 관리부(104), 재실행부(102), 데이터 백업부(106)를 포함한다.The
테스크 관리부(104)는 테스크의 수행 상태를 감시 및 관리하고, 감시 결과를 미들웨어(140)로 출력한다. 테스크 관리부(104)는 감시 결과를 미들웨어로 전송하기 위해 클라이언트(100)와 미들웨어(140)를 연결하는 일반 통신채널(미도시) 이외에 별도의 통신 채널(120)을 미들웨어의 테스크 상태 체크부(142)와 형성하고 있다. The
도 2는 도 1에 도시된 테스크 관리부(104)를 설명하기 위한 일 실시예의 블록도로서, 등록정보 관리부(200), 테스크 감시부(202), 업데이트 정보 인터페이스부(204) 및 테스크 정보 저장부(206)를 포함한다.FIG. 2 is a block diagram of an exemplary embodiment for explaining the
등록정보 관리부(200)는 테스크를 수행하는 각각의 응용 프로그램의 등록정보를 관리하고, 관리하는 등록정보를 테스크 감시부(202) 및 업데이트 정보 인터페이스부(204)로 출력한다. 등록정보는 테스크를 수행하는 응용 프로그램에 대한 종 류, 아이디, 테스크 명령 시간, 테스크 데이터 크기 등에 대한 정보를 포함한다.The registration
테스크 감시부(202)는 등록정보 관리부(200)로부터 제공되는 등록된 응용 프로그램들에 대해 테스크의 수행 상태를 감시하고, 감시한 결과를 업데이트 정보 인터페이스부(204)로 출력한다. 테스크의 수행 상태는 응용 프로그램에 의해 사용자가 요청한 테스크가 정상적으로 수행되고 있는지, 아니면, 어떠한 장애로 인해 테스크 수행이 중단되고 있는지를 감시한 결과를 의미한다. The
테스크 감시부(202)는 등록된 응용 프로그램들 각각에 대한 감시 스레드(observer thread)를 가지고 있으며, 이를 통해 태스크의 수행 상태를 감시한다. 감시 스레드는 등록된 응용 프로그램들의 수행 상태를 체크하기 위한 소단위의 프로그램을 갖는다. 테스크 감시부(202)는 스레드 풀(thread pool)을 이용하여 최적의 스레드 개수를 미리 생성하여 각각의 응용 프로그램들에 대한 테스크의 수행상태를 감시한다. 스레드 풀을 이용함으로써, 스레드 생성과 삭제에 따른 비용을 감소시켜서 시스템의 부하를 감소시킨다.The
업데이트 정보 인터페이스부(204)는 등록정보 관리부(200) 및 테스크 감시부(202)의 업데이트된 정보를 주기적으로 미들웨어(140)으로 전송할 수 있도록 인터페이스한다. 즉, 업데이트 정보 인터페이스부(204)는 등록 정보 관리부(200)에서 테스크에 대한 업데이트되는 등록정보 또는 테스크 감시부(202)에서 감시되는 테스크의 수행상태에 대한 업데이트된 감시정보를 확인하고, 이렇게 업데이트되는 정보를 테스크 정보 저장부(206) 및 출력단자 OUT1을 통해 미들웨어(140)의 테스크 상태 체크부(142)로 출력한다. The update
테스크 정보 저장부(206)는 업데이트 정보 인터페이스부(204)로부터 제공되는 업데이트된 등록 정보 및 감시 정보를 저장하며, 저장된 업테이트 정보를 업데이트 정보 인터페이스부(204)의 인출 요청에 따라, 업데이터 정보 인터페이스부(204)로 출력한다.The task
한편, 재실행부(102)는 테스크 관리부(104)의 비정상 종료시에 테스크 관리부(104)를 재실행시킨다. 테스크의 실행 중에 서비스를 지원하는 오브젝트의 이상 동작, 네트워크 상의 문제로 인한 통신 두절로 인해, 응용 프로그램이 비정상 동작 또는 비정상 종료를 하게 되어, 테스크 관리부(104)가 비정상적으로 종료할 수가 있다. 이러한 경우에, 재실행부(102)는 비정상적으로 종료된 테스크 관리부(104)를 재실행시키는 기능을 담당한다. 이를 위해, 재실행부(102)는 테스크 관리부(104)를 재실행시키기 위한 프로그램을 램(RAM)에 상주 저장하고 있다.On the other hand, the
데이터 백업부(106)는 테스크 관리부(104)에 저장되는 테스크 관련 로그정보를 백업하여 저장하고 있다. 데이터 백업부(106)는 테스크 관리부(104)의 오동작에 대비하여, 응용 프로그램, 클라이언트 상태 정보 및 기타 테스크 수행과 관련된 로그 정보를 주기적으로 백업하여 저장한다.The
미들웨어(140)는 OS나 시스템에 의존적이지 않고 사용자가 편히 사용할 수 있도록 테스크 작업을 지원하는 기능을 담당한다. 이러한 미들웨어(140)는 테스크 상태 체크부(142)를 포함하고 있으며, 이 테스크 상태 체크부(142)는 클라이언트(100)와 독립된 형태의 통신 채널(120)을 형성하고 있다. The
테스크 상태 체크부(142)는 테스크 관리부(104)의 업데이트 정보 인터페이스 부(204)로부터 테스크의 수행 상태에 대한 감시 결과를 주기적으로 수신하여, 클라이언트(100)에서 수행되는 테스크의 수행 상태를 체크한다. 여기서, 테스크의 수행상태에 대한 감시결과는 응용 프로그램에 의해 사용자가 요청한 테스크가 정상적으로 수행되고 있는지, 또는 어떠한 장애로 인해 테스크 수행이 중단되고 있는지를 확인한 결과를 의미한다. The
미들웨어(140)의 테스크 상태 체크부(142)가 테스크 관리부(104)의 테스크 수행 상태를 별도의 통신 채널(120)을 통해 독립적으로 확인할 수 있으므로, 미들웨어(140)의 내/외적인 문제로 인해 클라이언트(100)에서 수행 중인 테스크의 중단이 발생하더라도 이를 복구하여 다시 테스크가 수행될 수 있도록 하는 기능을 담당한다. Since the
한편, 상술한 본 발명은 컴퓨터에서 읽을 수 있는 코드/명령들(instructions)/프로그램으로 구현될 수 있다. 예를 들면, 컴퓨터로 읽을 수 있는 기록 매체를 이용하여 상기 코드/명령들/프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 상기 컴퓨터로 읽을 수 있는 기록 매체는 마그네틱 저장 매체(예를 들어, 롬, 플로피 디스크, 하드디스크, 마그네틱 테이프 등), 광학적 판독 매체(예를 들면, 시디롬, 디브이디 등) 및 캐리어 웨이브(예를 들면, 인터넷을 통한 전송)와 같은 저장 매체를 포함한다. 또한, 본 발명의 실시예들은 컴퓨터로 읽을 수 있는 코드를 내장하는 매체(들)로서 구현되어, 네트워크를 통해 연결된 다수개의 컴퓨터 시스템들이 분배되어 처리 동작하도록 할 수 있다. 본 발명을 실현하는 기능적인 프로그램들, 코드들 및 코드 세그먼트(segment)들은 본 발명이 속하 는 기술 분야의 프로그래머들에 의해 쉽게 추론될 수 있다.Meanwhile, the above-described present invention may be implemented by computer-readable codes / instructions / programs. For example, it may be implemented in a general-purpose digital computer for operating the code / instructions / program using a computer-readable recording medium. The computer-readable recording medium may include a magnetic storage medium (eg, ROM, floppy disk, hard disk, magnetic tape, etc.), an optical reading medium (eg, CD-ROM, DVD, etc.) and a carrier wave (eg Storage media, such as through the Internet). In addition, embodiments of the present invention may be implemented as a medium (s) containing computer readable code, such that a plurality of computer systems connected through a network may be distributed and processed. Functional programs, codes and code segments for realizing the present invention can be easily inferred by programmers in the art to which the present invention belongs.
이러한 본원 발명인 테스크 관리 장치는 이해를 돕기 위하여 도면에 도시된 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 분야에서 통상적 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위에 의해 정해져야 할 것이다.Although the task management apparatus of the present invention has been described with reference to the embodiments shown in the drawings for clarity, this is merely an example, and those skilled in the art may have various modifications and other equivalent embodiments therefrom. Will understand. Therefore, the true technical protection scope of the present invention will be defined by the appended claims.
도 1은 본 발명에 따른 테스크 관리 장치를 설명하기 위할 일 실시예의 블록도이다.1 is a block diagram of an embodiment for explaining a task management apparatus according to the present invention.
도 2는 도 1에 도시된 테스크 관리부를 설명하기 위한 일 실시예의 블록도이다.FIG. 2 is a block diagram of an embodiment for describing the task manager shown in FIG. 1.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080135739A KR100953732B1 (en) | 2008-12-29 | 2008-12-29 | Apparatus for managing a task |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080135739A KR100953732B1 (en) | 2008-12-29 | 2008-12-29 | Apparatus for managing a task |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100953732B1 true KR100953732B1 (en) | 2010-04-19 |
Family
ID=42220111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080135739A KR100953732B1 (en) | 2008-12-29 | 2008-12-29 | Apparatus for managing a task |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100953732B1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101217677B1 (en) * | 2011-05-12 | 2013-01-02 | 주식회사 안랩 | Malicious program blocking apparatus and method |
KR20160077431A (en) * | 2014-12-23 | 2016-07-04 | 주식회사 포스코 | Time period based framework system of steel process middleware |
KR20160077432A (en) * | 2014-12-23 | 2016-07-04 | 주식회사 포스코 | Event managing system of steel process middleware |
WO2017069468A1 (en) * | 2015-10-21 | 2017-04-27 | 주식회사 포스코 | Event service method of steel process middleware, and framework system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0561696A (en) * | 1991-09-05 | 1993-03-12 | Kyushu Nippon Denki Software Kk | Task status protecting system |
JP2002259155A (en) * | 2001-02-26 | 2002-09-13 | Hitachi Ltd | Multiprocessor system |
KR20030054752A (en) * | 2001-12-26 | 2003-07-02 | 엘지전자 주식회사 | Method of task managing in mobile communication exchange system |
-
2008
- 2008-12-29 KR KR1020080135739A patent/KR100953732B1/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0561696A (en) * | 1991-09-05 | 1993-03-12 | Kyushu Nippon Denki Software Kk | Task status protecting system |
JP2002259155A (en) * | 2001-02-26 | 2002-09-13 | Hitachi Ltd | Multiprocessor system |
KR20030054752A (en) * | 2001-12-26 | 2003-07-02 | 엘지전자 주식회사 | Method of task managing in mobile communication exchange system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101217677B1 (en) * | 2011-05-12 | 2013-01-02 | 주식회사 안랩 | Malicious program blocking apparatus and method |
KR20160077431A (en) * | 2014-12-23 | 2016-07-04 | 주식회사 포스코 | Time period based framework system of steel process middleware |
KR20160077432A (en) * | 2014-12-23 | 2016-07-04 | 주식회사 포스코 | Event managing system of steel process middleware |
KR101639911B1 (en) * | 2014-12-23 | 2016-07-15 | 주식회사 포스코 | Time period based framework system of steel process middleware |
KR101639912B1 (en) | 2014-12-23 | 2016-07-25 | 주식회사 포스코 | Event managing system of steel process middleware |
WO2017069468A1 (en) * | 2015-10-21 | 2017-04-27 | 주식회사 포스코 | Event service method of steel process middleware, and framework system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5128944B2 (en) | Method and system for minimizing data loss in computer applications | |
US8473783B2 (en) | Fault tolerance in distributed systems | |
US10162708B2 (en) | Fault tolerance for complex distributed computing operations | |
US7802128B2 (en) | Method to avoid continuous application failovers in a cluster | |
US8046632B2 (en) | Backup management method based on mode of failure | |
US8332443B2 (en) | Masterless distributed batch scheduling engine | |
US9448895B2 (en) | Recording activity of software threads in a concurrent software environment | |
EP2518627B1 (en) | Partial fault processing method in computer system | |
US8046540B2 (en) | Shared closures on demand | |
US10353786B2 (en) | Virtualization substrate management device, virtualization substrate management system, virtualization substrate management method, and recording medium for recording virtualization substrate management program | |
US9244719B2 (en) | Batch processing system | |
US20120304184A1 (en) | Multi-core processor system, computer product, and control method | |
EP2524302B1 (en) | Persistent application activation and timer notifications | |
JP2012173996A (en) | Cluster system, cluster management method and cluster management program | |
US9049101B2 (en) | Cluster monitor, method for monitoring a cluster, and computer-readable recording medium | |
KR100953732B1 (en) | Apparatus for managing a task | |
US7600148B1 (en) | High-availability data center | |
CN115309417A (en) | Software update without application interruption on legacy systems | |
JP4572581B2 (en) | Database processing method and system, and processing program therefor | |
US8327378B1 (en) | Method for gracefully stopping a multi-threaded application | |
KR101883251B1 (en) | Apparatus and method for determining failover in virtual system | |
JP2020181272A (en) | Managing device and program | |
CN115080199A (en) | Task scheduling method, system, device, storage medium and program product | |
JP2010160822A (en) | Data base processing method, data base processing system and data base processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
N231 | Notification of change of applicant | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130326 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |