KR100462986B1 - Process State Management Method Using Peculiar Process Information - Google Patents

Process State Management Method Using Peculiar Process Information Download PDF

Info

Publication number
KR100462986B1
KR100462986B1 KR10-2002-0042872A KR20020042872A KR100462986B1 KR 100462986 B1 KR100462986 B1 KR 100462986B1 KR 20020042872 A KR20020042872 A KR 20020042872A KR 100462986 B1 KR100462986 B1 KR 100462986B1
Authority
KR
South Korea
Prior art keywords
information
shape
managed
state
storage space
Prior art date
Application number
KR10-2002-0042872A
Other languages
Korean (ko)
Other versions
KR20040009055A (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-2002-0042872A priority Critical patent/KR100462986B1/en
Publication of KR20040009055A publication Critical patent/KR20040009055A/en
Application granted granted Critical
Publication of KR100462986B1 publication Critical patent/KR100462986B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/04Registration at HLR or HSS [Home Subscriber Server]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

본 발명은 운영체제가 관리 대상 프로세스에게 부여한 고유 정보만을 이용하여 관리 대상 프로세스의 구동 여부를 판단하여 관리 대상 프로세스나 시스템에 부하를 주지 않으면서 다중 프로세스들의 상태를 관리하도록 한 고유 정보를 사용한 프로세스 상태 관리 방법에 관한 것으로, HLR 시스템의 초기 구동시 외부 저장 장치에 저장된 관리 대상 프로세스들의 형상 및 고유 정보를 수집하여 내부의 프로세스 형상 정보 저장 공간에 저장하는 과정과; 상기 형상 정보 저장 공간 내 프로세스 형상 리스트에 등록된 프로세스의 아이디가 운영체제 내 구동 프로세스 정보 저장 공간에 존재하는지를 확인하여 관리 대상 프로세스의 구동 여부를 판단하는 과정과; 상기 형상 정보 저장 공간 내 프로세스 형상 리스트에 등록된 프로세스의 아이디가 운영체제 내 구동 프로세스 정보 저장 공간에 존재하지 않는 경우, 해당 아이디의 관리 대상 프로세스가 구동되지 않거나 비정상 상태로 인식하고 해당 프로세스를 재구동시켜 초기화 작업을 종료하는 과정과; 상기 구동되는 관리 대상 프로세스로부터 고유 정보가 포함된 메시지를 수신하여 처리함과 동시에, 기설정된 프로세스 상태 점검 주기인지를 확인하는 과정과; 상기 프로세스 상태 점검 주기 이전인 경우에 새롭게 구동된 프로세스로부터의 메시지 수신을 인식하고 상기 고유 정보를 이용해 프로세스 상태 정보를 변경하는 과정을 포함하여 이루어진 것을 특징으로 한다.The present invention uses the unique information assigned to the managed process by the operating system to determine whether the managed process is driven and process state management using the unique information to manage the state of multiple processes without putting a load on the managed process or the system. A method comprising: collecting shape and inherent information of managed processes stored in an external storage device at an initial driving time of an HLR system and storing the collected shape information in an internal process shape information storage space; Determining whether the process to be managed is driven by checking whether an ID of a process registered in the process shape list in the shape information storage space exists in the drive process information storage space in the operating system; If the ID of the process registered in the process shape list in the shape information storage space does not exist in the drive process information storage space in the operating system, the process to be managed by the ID is recognized as not running or abnormal and restarted. Terminating the initialization operation; Receiving and processing a message including unique information from the driven management target process and confirming whether a predetermined process state check period is established; And before the process state checking period, recognizing the reception of a message from a newly driven process and changing the process state information using the unique information.

Description

프로세스 고유 정보를 사용한 프로세스 상태 관리 방법{Process State Management Method Using Peculiar Process Information}Process State Management Method Using Peculiar Process Information

본 발명은 프로세스 고유 정보를 사용한 프로세스 상태 관리 방법에 관한 것으로, 특히 운영체제가 관리 대상 프로세스에게 부여한 고유 정보만을 이용하여 관리 대상 프로세스의 구동 여부를 판단하여 관리 대상 프로세스나 시스템에 부하를 주지 않으면서 다중 프로세스들의 상태를 관리하도록 한 고유 정보를 사용한 프로세스 상태 관리 방법에 관한 것이다.The present invention relates to a process state management method using the process-specific information, and in particular, by using only the unique information assigned to the managed process by the operating system to determine whether to run the managed process without putting a load on the managed process or system multiple A process state management method using unique information to manage the state of processes.

일반적으로, 이동통신 HLR(Home Location Register) 시스템은 도1에 도시된 바와 같이 이동통신 망 구성도 내 HLR 역할을 담당하는 HLR 시스템(100)과 해당 HLR 시스템 내 설치된 하드웨어, 응용 소프트웨어(이하, "프로세스"라 칭함)의 운영 상태 및 시스템의 리소스(Resource) 사용 상황 등을 운영자에게 알리고 제어할 수 있도록 하는 운영자 작업석(20), 그리고 운영 도중에 발생하는 모든 로그를 출력하도록 하는 프린터(30) 등으로 구성된다.In general, a mobile communication home location register (HLR) system, as illustrated in FIG. 1, includes an HLR system 100 that plays an HLR role in a mobile communication network configuration, and hardware and application software installed in the HLR system. The operator's work seat 20 for notifying and controlling the operation status of the process (referred to as a " process ") and the system's resource usage status, and the printer 30 for outputting all logs generated during the operation. It consists of.

HLR 시스템은 대량의 가입자 정보를 저장하고 교환기나 VLR(Visiter Location Register) 등에서 요청한 가입자 정보를 제공하는 역할을 담당하는데 이와 같은 역할을 정상적으로 수행하기 위해 HLR 시스템 내에는 많은 응용 프로세스들이 존재한다. HLR 시스템을 비롯한 통신망 요소는 원칙적으로 서비스를 중단할 수 없기 때문에 시스템의 하드웨어적 장애나 소프트웨어의 이상 작동, 또는 비정상 종료에 의해 서비스가 중단되었을 경우 서비스 제공 중단 시간을 최소화하기 위해 자동적으로 하드웨어나 소프트웨어의 상태를 실시간으로 감시, 제어, 복구하는 기능을 제공한다.The HLR system is responsible for storing a large amount of subscriber information and providing subscriber information requested by an exchange or a VLR (Visitor Location Register). There are many application processes in the HLR system to perform such a role normally. Network elements, including HLR systems, are in principle unable to interrupt service, so that hardware or software can be automatically minimized to minimize service downtime if the service is interrupted by a hardware failure, abnormal operation or abnormal termination of the system. Provides the ability to monitor, control, and recover the status of the server in real time.

이를 위해 HLR 시스템은 하드웨어나 소프트웨어의 상태를 감시, 관리하는 기능과, 운영자가 HLR 시스템의 상태를 확인, 제어, 복구할 수 있는 운영자 작업석(20)이 제공된다. HLR 시스템 내에는 많은 응용 프로세스들 중 프로세스 관리 블럭(10)은 HLR 시스템 내부의 소프트웨어들이 비정상적으로 종료하거나 이상 작동을 감시하기 위한 응용 프로세스이다.To this end, the HLR system is provided with a function of monitoring and managing the state of hardware or software, and an operator work seat 20 that allows an operator to check, control and recover the state of the HLR system. Among many application processes in the HLR system, the process management block 10 is an application process for monitoring abnormal operation or abnormal termination of software inside the HLR system.

해당 프로세스 관리 블럭(10)은 크게 응용 프로세스 형상 및 상태 관리 기능, 과부하 제어 기능, 응용 프로세스 상태 정보를 제공하는 기능을 수행한다. 또한, 프로세스 관리 블럭(10)은 응용 프로세스의 정상, 비정상 유무를 판별하고 상황에 따라 프로세스의 상태를 제어할 수 있는 권한을 갖는 유일한 소프트웨어이다.The process management block 10 performs a function of providing an application process shape and state management function, an overload control function, and application process state information. In addition, the process management block 10 is the only software having the authority to determine whether the application process is normal or abnormal and to control the state of the process according to the situation.

따라서, 운영자가 프로세스의 상태를 제어하고자 하는 경우 운영자의 요구는 프로세스 관리 블럭(10)으로 전송 및 처리된다. 그리고 프로세스 관리 블럭(10)에서 사용하는 프로세스 상태 정보는 HLR 시스템의 운영자나 이동통신 망 관리 시스템의 운영자에게 HLR 시스템의 동작 상태를 파악할 수 있는 중요한 정보이므로 실시간으로 상태가 변경되어 모든 운영자에게 제공된다. 또한, 프로세스 관리 블럭(10)은 시스템의 리소스 부족으로 인해 프로세스가 정상적으로 동작할 수 없는 경우 가능한 빨리 HLR 시스템을 서비스 제공 가능 상태로 복구하는 과부하 제어 기능을 수행한다. 다시 말해서, 프로세스 관리 블럭(10)은 주기적으로 프로세스의 상태 및 시스템 부하 상태를 관리하고 비주기적으로 발생하는 프로세스 상태 관리 요구나 프로세스 상태 정보 요구 등을 처리한다.Thus, if the operator wants to control the state of the process, the operator's request is sent to the process management block 10 and processed. In addition, since the process state information used in the process management block 10 is important information for identifying the operation state of the HLR system to the operator of the HLR system or the mobile communication network management system, the state is changed in real time and is provided to all the operators. . In addition, the process management block 10 performs an overload control function to restore the HLR system to the service provision state as soon as possible when the process cannot operate normally due to a lack of system resources. In other words, the process management block 10 periodically manages the state of the process and the system load state, and processes the process state management request, the process state information request, etc. that occur aperiodically.

전술한 프로세스 관리 블럭(10)은 응용 프로세스의 상태를 관리하기 위해 주기적으로 응용 프로세스들과 메시지를 주고받는 방식을 사용했었다. 이 방식은 프로세스 관리 블럭(10)이 관리 대상 프로세스들에게 지정된 메시지를 전송하면, 대상 프로세스들이 이에 대한 응답으로 프로세스 관리 블럭(10)으로 응답 메시지를 전송하는 것이다. 그러나, 어떤 응용 프로세스가 n회 이상 응답하지 않는다면 프로세스 관리 블럭(10)은 해당 응용 프로세스가 구동하지 않거나 비정상 상태로 동작한다고 판단하여 응용 프로세스의 실행을 중단시키고 새롭게 응용 프로세스를 구동시키도록 하는 일련의 과정을 거치도록 하였다.The above-described process management block 10 used a method of periodically sending and receiving messages with the application processes to manage the state of the application process. In this manner, when the process management block 10 transmits a designated message to the managed processes, the target processes transmit a response message to the process management block 10 in response. However, if an application process does not respond n or more times, the process management block 10 determines that the application process is not running or operates abnormally, and thus stops the execution of the application process and starts a new application process. I went through the process.

전술한 메시지를 송수신하는 방식은 시스템의 리소스를 사용하는 방식이기 때문에 시스템에 과부하 상태가 발생된다면 응용 프로세스들의 상태를 관리할 수 없게 되고, 해당 응용 프로세스가 일시적으로 처리하여야 할 메시지의 양이 과다하여 메시지를 응답할 수 없는 상황일 경우 프로세스의 상태를 정확히 파악할 수 없을 뿐만 아니라, 프로세스의 중단/비정상 상태를 감지하기까지 상당한 시간이 소모되는 문제점이 있었다.Since the above-described method of transmitting and receiving a message uses a system resource, if an overload condition occurs in the system, the state of the application processes cannot be managed, and the amount of messages to be temporarily processed by the application process is excessive. If the message can not be responded to the situation, not only can not accurately determine the state of the process, but also has a problem that a considerable time is spent to detect the interrupted / abnormal state of the process.

본 발명은 전술한 바와 같은 제반적인 문제점을 해결하기 위한 것으로, 그 목적은 프로세스가 구동될 때 운영체제로부터 부여받은 고유 정보를 이용하여 다중 프로세스들의 구동 여부를 판단하여 프로세스나 시스템에 부하를 주지 않으면서 해당 프로세스들의 운용 상태를 점검하며, 비정상 상태가 발생할 경우에 해당 프로세스를 정상적으로 수행할 수 있도록 처리하는데 있다.The present invention has been made to solve the above-mentioned general problems, and its object is to determine whether to drive multiple processes by using unique information given from an operating system when a process is running, without putting a load on a process or a system. It checks the operation status of the processes and handles them so that they can be executed normally when an abnormal condition occurs.

또한, 본 발명의 목적은 HLR 시스템 내 응용 프로세스들을 관리하는데 있어, 운영체제가 동작 중인 응용 프로세스에 부여한 고유 정보를 이용하여 해당 응용 프로세스의 구동 상태를 실시간으로 정확하게 판별하며, 실행 중단 또는 비정상 상태에 있는 응용 프로세스를 신속하게 복구하여 재구동시키는데 있다.In addition, an object of the present invention in managing the application processes in the HLR system, by using the unique information given to the application process running in the operating system to accurately determine the running state of the application process in real time, the execution interruption or abnormal state It is to recover and restart the application process quickly.

도1은 일반적인 HLR 시스템을 도시한 도,1 illustrates a typical HLR system;

도2는 HLR 시스템 내 프로세스 관리 블럭의 구성을 상세하게 도시한 도,2 is a diagram showing in detail the configuration of a process management block in the HLR system;

도3은 본 발명의 실시 예에 따른 HLR 시스템 내 프로세스 관리 블럭의 동작 흐름을 도시한 도,3 is a flowchart illustrating an operation of a process management block in an HLR system according to an embodiment of the present invention;

도4는 본 발명의 실시 예에 따른 HLR 시스템 프로세스 관리 수행을 리스트를 통해 상세하게 도시한 도,4 is a detailed diagram illustrating an HLR system process management execution according to an embodiment of the present invention;

도5는 본 발명의 실시 예에 따른 프로세스 고유 정보를 사용한 프로세스 상태 관리 방법을 도시한 순서도.5 is a flowchart illustrating a process state management method using process specific information according to an embodiment of the present invention.

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

100 : HLR 시스템100: HLR system

10 : 프로세스 관리 블럭10: process management block

11 : 시스템 과부하 정보 수집기11: System Overload Information Collector

12 : 프로세스 상태 정보 수집기12: process status information collector

13 : 메시지 처리기13: message handler

14 : 프로세스 구동기14: process driver

15 : 운영체제 내 시스템 리소스 사용 정보 저장부15: System resource usage information storage unit in the operating system

16 : 프로세스 형상 정보 저장부16: process shape information storage unit

17 : 운영체제 내 구동 프로세스 정보 저장부17: operating process information storage unit in the operating system

상기한 바와 같은 목적을 달성하기 위한 본 발명의 프로세스 고유 정보를 사용한 프로세스 상태 관리 방법은 HLR 시스템의 초기 구동시 외부 저장 장치에 저장된 관리 대상 프로세스들의 형상 및 고유 정보를 수집하여 내부의 프로세스 형상 정보 저장 공간에 저장하는 과정과; 상기 형상 정보 저장 공간 내 프로세스 형상 리스트에 등록된 프로세스의 아이디가 운영체제 내 구동 프로세스 정보 저장 공간에 존재하는지를 확인하여 관리 대상 프로세스의 구동 여부를 판단하는 과정과; 상기 형상 정보 저장 공간 내 프로세스 형상 리스트에 등록된 프로세스의 아이디가 운영체제 내 구동 프로세스 정보 저장 공간에 존재하지 않는 경우, 해당 아이디의 관리 대상 프로세스가 구동되지 않거나 비정상 상태로 인식하고 해당 프로세스를 재구동시켜 초기화 작업을 종료하는 과정과; 상기 구동되는 관리 대상 프로세스로부터 고유 정보가 포함된 메시지를 수신하여 처리함과 동시에, 기설정된 프로세스 상태 점검 주기인지를 확인하는 과정과; 상기 프로세스 상태 점검 주기 이전인 경우에 새롭게 구동된 프로세스로부터의 메시지 수신을 인식하고 상기 고유 정보를 이용해 프로세스 상태 정보를 변경하는 과정을 포함하여 이루어진 것을 특징으로 한다.Process state management method using the process-specific information of the present invention for achieving the above object is to collect the shape and the unique information of the management target processes stored in the external storage device during the initial operation of the HLR system to store the internal process shape information Storing in space; Determining whether the process to be managed is driven by checking whether an ID of a process registered in the process shape list in the shape information storage space exists in the drive process information storage space in the operating system; If the ID of the process registered in the process shape list in the shape information storage space does not exist in the drive process information storage space in the operating system, the process to be managed by the ID is recognized as not running or abnormal and restarted. Terminating the initialization operation; Receiving and processing a message including unique information from the driven management target process and confirming whether a predetermined process state check period is established; And before the process state checking period, recognizing the reception of a message from a newly driven process and changing the process state information using the unique information.

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

본 발명에 의한 프로세스 고유 정보를 사용한 프로세스 상태 관리하기 위한 프로세스 관리 블럭은 도2에 도시된 바와 같이, 리소스 사용률에 대한 정보를 수집하는 동시에 수집된 정보를 바탕으로 프로세스의 이상 동작 여부, 리소스 과다 사용에 따른 시스템 과부하 여부 등을 감시하는 시스템 과부하 정보 수집기(11)와, 주기적으로 프로세스에 대한 상태 정보를 수집, 변경하는 프로세스 상태 정보 수집기(12)와, 관리 대상 프로세스 및 운영자 작업석과 정보를 주고받을 수 있는 메시지 처리기(13)와, 프로세스 관리 블럭(10)을 제외한 프로세스인 타 응용 프로세스를 구동시킬 수 있는 프로세스 구동기(14)를 포함하여 이루어져 있다.As shown in FIG. 2, the process management block for managing the process state using the process-specific information according to the present invention collects information on resource utilization and at the same time collects information on resource utilization, whether the process abnormally operates, or excessive resource usage. System overload information collector 11 for monitoring system overload and the like, and process status information collector 12 for periodically collecting and changing status information about a process, and communicating with a managed process and an operator task seat. And a process driver 14 capable of driving other application processes that are processes other than the process management block 10.

또한, 프로세스 관리 블럭(10)은 상기 시스템 과부하 정보 수집기(11)에 의해 시스템 및 관리 대상 프로세스의 리소스 사용률 등 시스템 과부하를 판단할 수 있는 정보를 저장하는 운영체제 내 시스템 리소스 사용 정보 저장부(15)와, HLR 시스템의 일정 공간에 저장된 프로세스들의 형상 정보를 읽어들여 저장하는 프로세스 형상 정보 저장부(16)와, 프로세스 상태 관리를 위해 관리 대상 프로세스들로부터 전송받은 운영체제(Operating System : OS) 내 프로세스 고유 정보를 저장하는 운영체제 내 구동 프로세스 정보 저장부(17)를 더 포함한다.In addition, the process management block 10 is a system resource usage information storage unit 15 in the operating system for storing information that can determine the system overload, such as the resource utilization rate of the system and the management process by the system overload information collector 11 And a process shape information storage unit 16 which reads and stores shape information of processes stored in a predetermined space of the HLR system, and processes in an operating system (OS) received from managed objects for process state management. It further includes a drive process information storage unit 17 in the operating system for storing information.

프로세스 관리 블럭(10)은 도3에 도시된 바와 같이, 고유 정보를 이용하여 프로세스 상태 관리를 수행하는데, HLR 시스템 설계 때에 미리 정의되어 HLR 시스템 내 하드디스크인 외부 저장 장치에 저장된 HLR 내 응용 프로세스들의 형상 정보 및 해당 프로세스 고유값으로 정의된 프로세스 이름, 메시지 큐 키 값, 프로세스 버전, 프로세스 구동 방식 등에 대한 정보를 초기 구동시에 읽어 들여 내부 메모리 공간인 프로세스 형상 정보 저장부(16)에 저장한다(단계 S31).As shown in FIG. 3, the process management block 10 performs process state management using unique information. The process management block 10 includes application processes in the HLR stored in an external storage device, which is a hard disk in the HLR system, which is predefined at the time of designing the HLR system. The shape information and information on the process name, message queue key value, process version, and process driving method defined by the corresponding process unique value are read at the time of initial driving and stored in the process shape information storage unit 16 which is an internal memory space (step) S31).

프로세스 관리 블럭(10)의 프로세스 상태 정보 수집기(12)는 형상 정보 저장부(16) 내 프로세스 형상 리스트를 통해 등록된 관리 대상 프로세스의 구동 여부를 판단한다(단계 S32). 만약, 관리 대상 프로세스가 중단되어 있을 경우, 프로세스 구동기(14)를 사용하여 해당 응용 프로세스를 구동시킨다(단계 S33, 단계 S34).The process state information collector 12 of the process management block 10 determines whether the registered management target process is driven through the process shape list in the shape information storage unit 16 (step S32). If the process to be managed is interrupted, the corresponding application process is driven using the process driver 14 (step S33, step S34).

해당 응용 프로세스는 프로세스 구동을 위한 초기화 작업이 끝나고 정상 동작 상태로 돌입하기 직전의 프로세스 관리 블럭(10)으로 자신이 운영체제로부터 부여받은 고유 프로세스 아이디 및 고유 메시지 큐 아이디 등의 프로세스 고유 정보가 포함된 메시지를 전송한다(단계 S35). 프로세스 관리 블럭 내 메시지 처리기(13)는 이 메시지를 수신하여 운영체제 내 구동 프로세스 정보 저장부(17)에서 해당 데이터를 변경한다(단계 S36). 프로세스 관리 블럭 내 프로세스 상태 정보 수집기(12)는 주기적으로 프로세스 상태 정보 공간에 저장된 관리 대상 프로세스들의 고유 프로세스 아이디가 운영체제 내 구동 프로세스 정보 저장부(17)의 형상 리스트에 존재하는지를 확인하며, 만약에 존재하지 않을 경우에 해당 프로세스가 중단되었음을 인지하여 해당 프로세스를 구동시킨다.The application process is a process management block 10 immediately after the initialization operation for running the process is finished, and the message containing the process-specific information, such as unique process ID and unique message queue ID received from the operating system to the process management block (10) Is transmitted (step S35). The message processor 13 in the process management block receives this message and changes the corresponding data in the operating process information storage unit 17 in the operating system (step S36). The process state information collector 12 in the process management block periodically checks whether a unique process ID of managed objects stored in the process state information space exists in the shape list of the operating process information storage unit 17 in the operating system. If not, it recognizes that the process has been stopped and starts the process.

한편, 도4는 도3과 유사하게 HLR 시스템 프로세스 관리 방법을 리스트를 이용하여 상세하게 도시한 도로, 외부 기억 장치에 저장된 형상 정보를 포함하는 프로세스 정보 리스트로부터 형상 정보를 읽어와서 프로세스 형상 정보 저장부(16)에 저장하고, 프로세스 관리 블럭 내 정보는 프로세스 관리 블럭(10)의 내부 메모리에 저장되는 형상 정보, 상태 정보를 모두 포함한다. 예컨대, 프로세스 관리 블럭 내정보는 프로세스 이름, 프로세스 아이디, 프로세스 상태 정보 등을 포함한다.On the other hand, Figure 4 is a process shape information storage unit by reading the shape information from the process information list including the shape information stored in the road, the external storage device showing the details of the HLR system process management method using the list similarly to FIG. The information in the process management block stored in (16) includes both shape information and state information stored in the internal memory of the process management block 10. For example, the information in the process management block includes a process name, a process ID, process status information, and the like.

프로세스 아이디 정보는 운영체제 내 구동 프로세스 정보 저장부(17)의 운영 체제 내 구동 프로세스 정보 리스트의 번호와 HLR 시스템 내 구동 프로세스 이름과 아이디 정보를 비교한다.The process ID information compares the number of the operating process information list of the operating system of the operating process information storage unit 17 of the operating system with the driving process name and ID information of the HLR system.

예컨대, HLR 시스템 내 프로세스 1이 구동 중(HLR 시스템 내 구동 프로세스)이고, 해당 프로세스 아이디가 307(운영체제 내 구동 정보 리스트)이면, 프로세스 관리 블럭 내 정보의 프로세스 아이디 1에 대해 아이디가 307이고, 현재 동작중(exist, 운영체제 내 구동 프로세스 정보 리스트에 등록되어 있음을 의미)이라고 표시된다.For example, if process 1 in the HLR system is running (drive process in the HLR system), and the corresponding process ID is 307 (list of operating information in the operating system), the ID is 307 for the process ID 1 of the information in the process management block. It is displayed as being in operation (exists, which means it is registered in the operating process information list of the operating system).

다른 예로, HLR 시스템 내 프로세스 2가 구동 중(HLR 시스템 내 구동 프로세스)이 아니고, 해당 프로세스 아이디가 운영체제 내 구동 정보 리스트에 존재하지 않으면, 프로세스 관리 블럭 내 정보의 프로세스 아이디에 대해 현재 동작중이 아님(none, 운영체제 내 구동 프로세스 정보 리스트에 등록되어 있지 않음을 의미)이라고 표시된다. 따라서, 프로세스 2를 재구동시킨 후, 프로세스 2에 대한 고유 정보를 프로세스 관리 블럭(10)에 등록하게 된다.As another example, if process 2 in the HLR system is not running (a running process in the HLR system) and the process ID is not present in the operating information list in the operating system, the process ID of the information in the process management block is not currently running. (none, meaning that it is not registered in the operating process information list of the operating system). Therefore, after restarting the process 2, the unique information about the process 2 is registered in the process management block 10.

본 발명의 실시 예에 따른 프로세스 고유 정보를 사용한 프로세스 상태 관리 방법은 도5의 순서도를 참조하여 설명하면 다음과 같다.A process state management method using process specific information according to an embodiment of the present invention will be described with reference to the flowchart of FIG. 5.

먼저, 프로세스 관리 블럭(10)은 초기화(단계 S51) 과정 중 관리 대상 프로세스의 관리 및 복구를 위하여 외부 기억 장치에 저장된 관리 대상 프로세스 형상리스트 및 각각의 프로세스에게 미리 정의된 데이터를 읽어 프로세스 형상 정보 저장부(16)에 수집 및 저장한다(단계 S52). 여기서, 수집 및 저장된 데이터는 형상 정보 저장부(16)의 프로세스 내 형상 리스트에 등록되고, 단계 S52의 미리 정의된 데이터는 프로세스 아이디(ID), 메시지 큐 값, 프로세스 버전, 프로세스 구동 방식을 포함한다.First, the process management block 10 reads the managed process shape list stored in the external storage device and the data defined in advance to each process during the initialization (step S51) to manage and recover the managed process, and stores the process shape information. Collected and stored in the unit 16 (step S52). Here, the collected and stored data is registered in the shape list in the process of the shape information storage unit 16, and the predefined data of step S52 includes a process ID (ID), a message queue value, a process version, and a process driving method. .

프로세스 관리 블럭(10)의 프로세스 상태 정보 수집기(12)는 형상 정보 저장부(16) 내 프로세스 형상 리스트에 등록된 관리 대상 프로세스의 구동 여부를 판단한다(단계 S53). 이때, 관리 대상 프로세스의 구동 여부 판단 방법은 형상 정보 저장부(16) 내 프로세스 형상 리스트에 등록된 프로세스에 대한 고유 정보(고유 ID)가 운영체제 내 구동 프로세스 정보 저장부(17)에 존재하는지를 통해 판단한다.The process state information collector 12 of the process management block 10 determines whether to drive the managed target process registered in the process shape list in the shape information storage unit 16 (step S53). In this case, the method of determining whether the managed process is driven is determined based on whether unique information (unique ID) of a process registered in the process shape list in the shape information storage unit 16 exists in the drive process information storage unit 17 in the operating system. do.

만약, 형상 정보 저장부(16)에 저장된 관리 대상 프로세스들의 고유 프로세스 ID가 운영체제 내 구동 프로세스 정보 저장부(17)에 존재하지 않을 경우 해당 프로세스가 중단되거나 비정상 상태인 경우로 판단하여, 프로세스 구동기(14)를 이용하여 해당 프로세스를 구동시킨다(단계 S54). 한편, 단계 S53에서 형상 정보 저장부(16)에 저장된 관리 대상 프로세스들의 고유 프로세스 ID가 운영체제 내 구동 프로세스 정보 저장부(17)에 존재할 경우, 프로세스 구동을 위한 초기화 작업이 끝나며, 해당 구동된 프로세스(정상 동작 상태로 돌입하기 직전의 응용 프로세스)로부터 고유 프로세스 아이디(운영체제로부터 부여받은 프로세스 아이디) 및 고유 메시지 큐 아이디 등 프로세스 고유 정보가 포함된 메시지를 메시지 처리기(13)가 수신(단계 S55)하여 이를 아래와 같이 처리한다.If the unique process IDs of the management target processes stored in the shape information storage unit 16 do not exist in the operating process information storage unit 17 in the operating system, the process is determined to be suspended or abnormal, and the process driver ( The process is driven using 14) (step S54). On the other hand, if the unique process ID of the management target processes stored in the shape information storage unit 16 in the step S53 exists in the drive process information storage unit 17 in the operating system, the initialization operation for driving the process is finished, the corresponding driven process ( The message processor 13 receives (step S55) a message containing process specific information such as a unique process ID (process ID given from the operating system) and a unique message queue ID from an application process immediately before entering the normal operation state. Process as follows.

메시지 처리 중 기설정된 프로세스 상태 점검 주기를 확인하는데(단계 S56), 이때, 프로세스 상태를 확인하는 주기를 최대한 작게 설정한다. 이후, 설정된 상태 점검 주기 전에 새롭게 구동된 프로세스로부터 운영체제의 고유 정보가 포함된 메시지가 전송되었는지 여부를 판단하여(단계 S57), 해당 프로세스로부터 고유 정보가 포함된 메시지가 전송되었을 경우, 해당 고유 정보를 사용하여 프로세스 상태 정보 수집기(12)에서 프로세스 상태 정보를 변경한다(단계 S58). 그러나, 프로세스로부터 고유 정보가 포함된 메시지가 전송되지 않을 경우, 타 메시지를 처리한다(단계 S59).During the processing of the message, a predetermined process state checking period is checked (step S56). At this time, the period for checking the process state is set as small as possible. Subsequently, it is determined whether or not a message including the unique information of the operating system has been transmitted from the newly started process before the set state check period (step S57). When the message including the unique information is transmitted from the corresponding process, the corresponding unique information is determined. To change the process status information in the process status information collector 12 (step S58). However, if a message containing unique information is not transmitted from the process, another message is processed (step S59).

한편, 단계 S56에서 메시지 처리 중 프로세스 상태 점검 주기가 되면 단계 S52 이하의 프로세스 상태 점검 단계로 돌아가 각 프로세스의 상태를 점검한 후, 중단되었거나 비정상 상태의 프로세스가 있다면 구동시키는 과정과 해당 과정 완료 후 메시지를 처리하는 과정을 반복하게 된다.On the other hand, when the process status check cycle during the message processing in step S56, the process returns to the process status checking step of step S52 or less and checks the status of each process, if there is a process that is interrupted or abnormal status, and the message after the completion of the process It will repeat the process of processing.

이상으로 본 발명의 바람직한 실시 예에 대해 상세히 기술되었지만, 본 발명이 속하는 기술 분야에 있어서 통상의 지식을 가진 사람이라면, 본 발명을 여러 가지로 변형 또는 변경하여 실시할 수 있음을 알 수 있을 것이다. 따라서, 본 발명의 실시 예들의 변경은 본 발명의 기술적 범위를 벗어날 수 없을 것이다.Although the preferred embodiments of the present invention have been described in detail above, it will be understood by those skilled in the art that the present invention may be modified or modified in various ways. Therefore, changes of the embodiments of the present invention will not be able to escape the technical scope of the present invention.

이상에서 설명한 바와 같이, 본 발명은 운영체제가 동작 중인 프로세스에 부여하는 고유 정보를 이용하여 프로세스 구동 상태를 확인하여, 실행이 중단되었거나 비정상 상태에 있는 프로세스를 중단/재구동시키는 프로세스 관리 블럭 내 프로세스 관리 기능에 대한 것으로, 종래 관리 대상 프로세스들과 메시지를 주고받음으로써 프로세스 상태를 파악하는 방식을 벗어나, 시스템 리소스를 사용하지 않고 프로세스에게 부하를 주지 않는 프로세스 관리 방법에 대한 것이다. 시스템의 운영체제가 제공하는 프로세스 운영 정보(고유 정보)는 시스템 내에서 가장 신뢰할 수 있는 정보이므로, 관리 대상 프로세스의 상태를 가장 정확하게 파악할 수 있으며, 이에 해당 운영체제의 고유 정보를 이용한 프로세스 상태 확인 방법은 시스템에 부하를 주지 않기 때문에 프로세스 상태를 확인하는 주기를 최대한 작게 설정하여 실시간에 가깝게 프로세스의 상태를 확인 및 복구할 수 있다.As described above, the present invention checks the process running state by using the unique information given to the process in which the operating system is operating, and manages the process in the process management block to stop / restart the process in which execution is stopped or in an abnormal state. The present invention relates to a process management method that does not use a system resource and does not put a load on a process beyond a method of grasping a process state by exchanging a message with a conventionally managed process. Since the process operation information (unique information) provided by the operating system of the system is the most reliable information in the system, it is possible to determine the state of the managed process most accurately, and the process status checking method using the unique information of the corresponding operating system is Because no load is applied to the process, the process checks the status of the process as small as possible so that the status of the process can be checked and restored in near real time.

Claims (5)

HLR 시스템의 초기 구동시 외부 저장 장치에 저장된 관리 대상 프로세스들의 형상 및 고유 정보를 수집하여 내부의 프로세스 형상 정보 저장 공간에 저장하는 과정과;Collecting the shape and the unique information of the processes to be managed stored in the external storage device during the initial driving of the HLR system and storing them in the internal process shape information storage space; 상기 형상 정보 저장 공간 내 프로세스 형상 리스트에 등록된 프로세스의 아이디가 운영체제 내 구동 프로세스 정보 저장 공간에 존재하는지를 확인하여 관리 대상 프로세스의 구동 여부를 판단하는 과정과;Determining whether the process to be managed is driven by checking whether an ID of a process registered in the process shape list in the shape information storage space exists in the drive process information storage space in the operating system; 상기 형상 정보 저장 공간 내 프로세스 형상 리스트에 등록된 프로세스의 아이디가 운영체제 내 구동 프로세스 정보 저장 공간에 존재하지 않는 경우, 해당 아이디의 관리 대상 프로세스가 구동되지 않거나 비정상 상태로 인식하고 해당 프로세스를 재구동시켜 초기화 작업을 종료하는 과정과;If the ID of the process registered in the process shape list in the shape information storage space does not exist in the drive process information storage space in the operating system, the process to be managed by the ID is recognized as not running or abnormal and restarted. Terminating the initialization operation; 상기 구동되는 관리 대상 프로세스로부터 고유 정보가 포함된 메시지를 수신하여 처리함과 동시에, 기설정된 프로세스 상태 점검 주기인지를 확인하는 과정과;Receiving and processing a message including unique information from the driven management target process and confirming whether a predetermined process state check period is established; 상기 프로세스 상태 점검 주기 이전인 경우에 새롭게 구동된 프로세스로부터의 메시지 수신을 인식하고 상기 고유 정보를 이용해 프로세스 상태 정보를 변경하는 과정을 포함하여 이루어진 것을 특징으로 하는 프로세스 고유 정보를 사용한 프로세스 상태 관리 방법.And recognizing reception of a message from a newly driven process when the process state check period is before the process state check period, and changing process state information by using the unique information. 삭제delete 제1항에 있어서,The method of claim 1, 상기 프로세스 상태 점검 주기인 경우에 외부 저장 장치에 저장된 관리 대상 프로세스들의 형상 및 고유 정보를 수집하여 내부의 프로세스 형상 정보 저장 공간에 저장하는 과정으로 복귀하여 각 프로세스의 상태를 점검하는 과정을 더 포함하여 이루어진 것을 특징으로 하는 프로세스 고유 정보를 사용한 프로세스 상태 관리 방법.In the case of the process state checking cycle, the process of collecting the shape and the unique information of the management target processes stored in the external storage device and returning to the process of storing the process shape information storage space therein further includes checking the state of each process. Process status management method using the process specific information, characterized in that made. 삭제delete 삭제delete
KR10-2002-0042872A 2002-07-22 2002-07-22 Process State Management Method Using Peculiar Process Information KR100462986B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0042872A KR100462986B1 (en) 2002-07-22 2002-07-22 Process State Management Method Using Peculiar Process Information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0042872A KR100462986B1 (en) 2002-07-22 2002-07-22 Process State Management Method Using Peculiar Process Information

Publications (2)

Publication Number Publication Date
KR20040009055A KR20040009055A (en) 2004-01-31
KR100462986B1 true KR100462986B1 (en) 2004-12-23

Family

ID=37318016

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0042872A KR100462986B1 (en) 2002-07-22 2002-07-22 Process State Management Method Using Peculiar Process Information

Country Status (1)

Country Link
KR (1) KR100462986B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100832890B1 (en) * 2001-12-29 2008-05-28 엘지엔시스(주) Process obstacle lookout method and recovery method for information communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960018936A (en) * 1994-11-28 1996-06-17 김주용 Hit failure processing device and method for virtual address translator with multi-page structure
KR19990070724A (en) * 1998-02-24 1999-09-15 김영환 Dynamic Management Method of Operation Process
KR20000067429A (en) * 1999-04-28 2000-11-15 김영환 Inter process communication using message routing function in home location register
KR20010049074A (en) * 1999-11-30 2001-06-15 서평원 System and Method of Controlling Management and Maintenance of Process

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960018936A (en) * 1994-11-28 1996-06-17 김주용 Hit failure processing device and method for virtual address translator with multi-page structure
KR19990070724A (en) * 1998-02-24 1999-09-15 김영환 Dynamic Management Method of Operation Process
KR20000067429A (en) * 1999-04-28 2000-11-15 김영환 Inter process communication using message routing function in home location register
KR20010049074A (en) * 1999-11-30 2001-06-15 서평원 System and Method of Controlling Management and Maintenance of Process

Also Published As

Publication number Publication date
KR20040009055A (en) 2004-01-31

Similar Documents

Publication Publication Date Title
CN100417081C (en) Method, system for checking and repairing a network configuration
US6708297B1 (en) Method and system for monitoring errors on field replaceable units
US7430688B2 (en) Network monitoring method and apparatus
US11706080B2 (en) Providing dynamic serviceability for software-defined data centers
US20070168201A1 (en) Formula for automatic prioritization of the business impact based on a failure on a service in a loosely coupled application
US11848889B2 (en) Systems and methods for improved uptime for network devices
US20050038888A1 (en) Method of and apparatus for monitoring event logs
CN112764956A (en) Database exception handling system, and database exception handling method and device
US10842041B2 (en) Method for remotely clearing abnormal status of racks applied in data center
US10754722B1 (en) Method for remotely clearing abnormal status of racks applied in data center
EP3852363A1 (en) Device state monitoring method and apparatus
EP1929706B1 (en) Device management system using log management object and method for generating and controlling logging data therein
JP2013061840A (en) Machine management system, fault management device, machine management device, fault management program, and machine management program
CN111342986A (en) Distributed node management method and device, distributed system and storage medium
US8677323B2 (en) Recording medium storing monitoring program, monitoring method, and monitoring system
US20060053021A1 (en) Method for monitoring and managing an information system
KR100462986B1 (en) Process State Management Method Using Peculiar Process Information
CN110521233B (en) Method for identifying interrupt, access point, method for remote configuration, system and medium
US20200305300A1 (en) Method for remotely clearing abnormal status of racks applied in data center
CN113542001B (en) OSD (on-screen display) fault heartbeat detection method, device, equipment and storage medium
KR100784595B1 (en) Method for Managing Process State in Mobile Communication System
KR101556781B1 (en) fault and lifetime prediction information service supply system for network eauipment
JP2006154991A (en) Information processing system, control method of information processing system, monitoring device, monitoring program, and maintenance program
KR100580103B1 (en) The method for Server Process Remote Monitoring of the Telecommunication Network Management System
CN111464357A (en) Resource allocation method and device

Legal Events

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

Payment date: 20121115

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20131115

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20141119

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee