KR100784595B1 - Method for Managing Process State in Mobile Communication System - Google Patents
Method for Managing Process State in Mobile Communication System Download PDFInfo
- Publication number
- KR100784595B1 KR100784595B1 KR1020020055702A KR20020055702A KR100784595B1 KR 100784595 B1 KR100784595 B1 KR 100784595B1 KR 1020020055702 A KR1020020055702 A KR 1020020055702A KR 20020055702 A KR20020055702 A KR 20020055702A KR 100784595 B1 KR100784595 B1 KR 100784595B1
- Authority
- KR
- South Korea
- Prior art keywords
- information
- message queue
- message
- resource usage
- managed
- Prior art date
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
본 발명은 이동통신 시스템에서 프로세스 상태 관리 방법에 관한 것으로, 특히 프로세스가 구동될 때 운영체제로부터 부여받는 고유 정보 및 운영체제에서 관리하는 리소스 사용 정보를 이용하여 다중 프로세스의 상태를 관리할 수 있도록 한 이동통신 시스템에서 프로세스 상태 관리 방법에 관한 것이다.The present invention relates to a process state management method in a mobile communication system, and in particular, a mobile communication to manage the state of multiple processes using the unique information received from the operating system and resource usage information managed by the operating system when the process is running. A process state management method in a system.
본 발명의 실시예에 따른 이동통신 시스템에서 프로세스 상태 관리 방법은 HLR 내 초기 구동 시 외부 저장 장치에 저장된 관리 대상 프로세스들의 상태 정보를 수집 및 저장하는 과정과; 상기 관리 대상 프로세스 중 중단된 프로세스를 재시동 후, 운용체제로부터 고유 정보 및 리소스 사용 정보를 수신하여 수집 및 저장하는 과정과; 상기 관리 대상 프로세스의 리소스 사용 정보를 통해 메시지 큐의 상태를 검색하여 해당 관리 대상 프로세스에서 정상적으로 리소스 사용이 이루어지는지를 확인하는 과정과; 상기 리소스 사용이 정상적으로 이루어지지 않을 경우, 리소스 사용 정보의 이상 검출 횟수에 따라 해당 관리 대상 프로세스를 중단 또는 재시동하는 과정을 포함하여 이루어진 것을 특징으로 한다.The process state management method in a mobile communication system according to an embodiment of the present invention includes the steps of: collecting and storing state information of managed target processes stored in an external storage device when the HLR is initially driven; Receiving and collecting and storing unique information and resource usage information from an operating system after restarting an interrupted process among the management target processes; Retrieving the state of the message queue based on the resource usage information of the managed target process and checking whether the resource is normally used in the managed target process; When the resource usage is not normally performed, the process includes stopping or restarting the corresponding management target process according to the number of abnormality detections of the resource usage information.
Description
도1은 일반적인 HLR 시스템을 나타낸 도.1 illustrates a typical HLR system.
도2는 HLR 시스템 내 프로세스 관리 블럭을 상세하게 나타낸 도.2 illustrates in detail the process management block within the HLR system;
도3은 본 발명의 실시예에 따른 HLR 내 프로세스 관리 블럭과 관리 대상 프로세스 및 운용체제와의 상관 관계를 나타낸 도.3 is a diagram illustrating a correlation between a process management block in an HLR, a managed process, and an operating system according to an embodiment of the present invention;
도4는 본 발명의 실시예에 따른 이동통신 시스템에서 프로세스 관리 방법을 나타낸 도.4 is a diagram illustrating a process management method in a mobile communication system according to an embodiment of the present invention.
도5는 도4에 있어서, 이동통신 시스템에서 프로세스 관리 방법을 보다 상세하게 나타낸 도.5 is a diagram showing in more detail the process management method in the mobile communication system in FIG.
*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
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
본 발명은 이동통신 시스템에서 프로세스 상태 관리 방법에 관한 것으로, 특히 프로세스가 구동될 때 운영체제로부터 부여받는 고유 정보 및 운영체제에서 관리하는 리소스 사용 정보를 이용하여 다중 프로세스의 상태를 관리할 수 있도록 한 이동통신 시스템에서 프로세스 상태 관리 방법에 관한 것이다.
The present invention relates to a process state management method in a mobile communication system, and in particular, a mobile communication to manage the state of multiple processes using the unique information received from the operating system and resource usage information managed by the operating system when the process is running. A process state management method in a system.
일반적으로, 이동통신 HLR(Home Location Register) 시스템은 도1에 도시된 바와 같이 이동통신 망 구성도 내 HLR 역할을 담당하는 HLR 시스템(100)과, 해당 HLR 시스템 내 설치된 하드웨어, 응용 소프트웨어(이하, "프로세스"라 칭함)의 운영 상태 및 시스템의 리소스(Resource) 사용 상황 등을 운영자에게 알리고 제어할 수 있도록 하는 운영자 작업석(20), 그리고 운영 도중에 발생하는 모든 로그를 출력하도록 하는 프린터(30) 등으로 구성된다.In general, a mobile communication home location register (HLR) system, as shown in FIG. 1, has an
HLR 시스템(100)은 대량의 가입자 정보를 저장하고 교환기나 VLR(Vister Location Register) 등에서 요청한 가입자 정보를 제공하는 역할을 담당하는데 이와 같은 역할을 정상적으로 수행하기 위해 HLR 시스템 내에는 많은 응용 프로세스들이 존재한다. HLR 시스템을 비롯한 통신망 요소는 원칙적으로 서비스를 중단할 수 없기 때문에 시스템의 하드웨어 장애나 소프트웨어의 이상 작동, 또는 비정상 종료에 의해 서비스가 중단되었을 경우 서비스 중단 시간을 최소화하기 위해 자동적으로 하드웨어나 소프트웨어의 상태를 실시간으로 감시, 제어, 복구하는 기능을 제공한다.The
HLR 시스템 내 많은 응용 프로세스들 중 프로세스 관리 블럭(10)은 HLR 시스템 내부의 소프트웨어들이 비정상적으로 종료하거나 이상 작동을 감시하기 위한 응용 프로세스이다. Among many application processes in the HLR system, the
해당 프로세스 관리 블럭(10)은 크게 프로세스 형상 및 상태 관리 기능, 과부하 제어 기능, 프로세스 상태 정보를 제공하는 기능을 수행한다. 또한, 프로세스 관리 블럭(10)은 응용 프로세스의 정상, 비정상 유무를 판별하고 상황에 따라 프로세스의 상태를 제어할 수 있는 권한을 갖는 유일한 소프트웨어이다.The
따라서, 운영자가 프로세스의 상태를 제어하고자 하는 경우 운영자의 요구는 프로세스 관리 블럭(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
전술한 프로세스 관리 블럭(10)은 응용 프로세스의 상태를 관리하기 위해 주기적으로 응용 프로세스들과 메시지를 주고받는 방식을 사용했었다. 이 방식은 프로세스 관리 블럭(10)이 관리 대상 프로세스들에게 지정된 메시지를 전송하면, 대상 프로세스들이 이에 대한 응답으로 프로세스 관리 블럭(10)으로 응답 메시지를 전송한다. 그러나, 어떤 응용 프로세스가 n회 이상 응답하지 않는다면 프로세스 관리 블럭(10)은 해당 응용 프로세스가 구동하지 않거나 비정상 상태로 동작한다고 판단하여 응용 프로세스의 실행을 중단시키고 새롭게 응용 프로세스를 구동시키도록 하는 일련의 과정을 거치도록 했었다. The above-described
전술한 메시지를 주고받는 방식은 시스템의 리소스를 사용하는 방식이기 때문에 시스템에 과부하 상태가 발생하거나, 해당 응용 프로세스가 일시적으로 처리하여야 할 메시지의 양이 과다하여 메시지를 응답할 수 없는 상황일 경우 프로세스의 상태를 정확히 파악할 수 없을 뿐만 아니라, 프로세스의 중단/비정상 상태를 감지하기까지 상당한 시간이 소모되는 문제점이 있었다.
The above-mentioned method of sending and receiving messages uses system resources, so if the system is overloaded, or the application process cannot respond to the message due to the excessive amount of messages to process temporarily, Not only can not accurately determine the state of the, but also has a problem that it takes a considerable time to detect the interruption / abnormal state of the process.
본 발명은 전술한 바와 같은 제반적인 문제점을 해결하기 위한 것으로, 그 목적은 프로세스가 구동될 때 운영체제로부터 부여받는 고유 정보 및 운영체제에서 관리하는 리소스 사용 정보를 이용하여 다중 프로세스의 상태를 관리함으로써 시스템에 부하를 주지 않고 응용 프로세스의 상태 관리를 실시간에 가깝도록 정확히 판 별하여 비정상 상황이 발생하면 신속하게 복구하는데 있다.
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned general problems, and an object thereof is to manage a state of multiple processes by using unique information received from an operating system and resource usage information managed by an operating system when a process is run. Accurately determine the state management of application processes in real time without load, and recover quickly when abnormal situations occur.
상기한 바와 같은 목적을 달성하기 위한 본 발명의 실시예에 따른 이동통신 시스템에서 프로세스 상태 관리 방법은 HLR 내 초기 구동 시 외부 저장 장치에 저장된 관리 대상 프로세스들의 상태 정보를 수집 및 저장하는 과정과; 상기 관리 대상 프로세스 중 중단된 프로세스를 재시동 후, 운용체제로부터 고유 정보 및 리소스 사용 정보를 수신하여 수집 및 저장하는 과정과; 상기 관리 대상 프로세스의 리소스 사용 정보를 통해 메시지 큐의 상태를 검색하여 해당 관리 대상 프로세스에서 정상적으로 리소스 사용이 이루어지는지를 확인하는 과정과; 상기 리소스 사용이 정상적으로 이루어지지 않을 경우, 리소스 사용 정보의 이상 검출 횟수에 따라 해당 관리 대상 프로세스를 중단 또는 재시동하는 과정을 포함하여 이루어진 것을 특징으로 한다.
The process state management method in the mobile communication system according to an embodiment of the present invention for achieving the above object comprises the steps of: collecting and storing state information of the management target processes stored in the external storage device when the HLR is initially driven; Receiving and collecting and storing unique information and resource usage information from an operating system after restarting an interrupted process among the management target processes; Retrieving the state of the message queue based on the resource usage information of the managed target process and checking whether the resource is normally used in the managed target process; When the resource usage is not normally performed, the process includes stopping or restarting the corresponding management target process according to the number of abnormality detections of the resource usage information.
이하, 본 발명의 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
본 발명에 의한 이동통신 시스템에서 프로세스 상태 관리를 위한 프로세스 관리 블럭은 도2에 도시된 바와 같이, 리소스 사용율에 대한 정보를 수집하는 동시에 수집된 정보를 바탕으로 프로세스의 이상 동작 여부, 리소스 과다 사용에 따른 시스템 과부하 여부 등을 감시하는 시스템 과부하 정보 수집기(11)와, 주기적으로 프로세스에 대한 상태 정보를 수집, 변경하는 프로세스 상태 정보 수집기(12)와, 관리 대상 프로세스 및 운영자 작업석과 정보를 주고받을 수 있는 메시지 처리기(13)와, 프로세스 관리 블럭(10)을 제외한 프로세스인 타 응용 프로세스를 구동시킬 수 있는 프로세스 구동기(14)를 포함하여 이루어져 있다. In the mobile communication system according to the present invention, the process management block for managing the process state collects information on the resource utilization rate as shown in FIG. System
또한, 프로세스 관리 블럭(10)은 상기 시스템 과부하 정보 수집기(11)에 의해 시스템 및 관리 대상 프로세스의 리소스 사용율 등 시스템 과부하를 판단할 수 있는 정보를 저장하는 운영체제 내 시스템 리소스 사용 정보 저장부(15)와, HLR 시스템의 일정 공간에 저장된 프로세스들의 형상 정보를 읽어들여 저장하는 프로세스 형상 정보 저장부(16)와, 프로세스 상태 관리를 위해 관리 대상 프로세스들로부터 전송받은 운영체제(Operating System : OS) 내 프로세스 고유 정보를 저장하는 운영체제 내 구동 프로세스 정보 저장부(17)를 더 포함한다.In addition, the
도3은 프로세스 관리 블럭과 관리 대상 프로세스 및 운영체제와의 상관 관계를 나타낸 것이다.3 illustrates a correlation between a process management block and a process to be managed and an operating system.
프로세스 관리 블럭(10)은 고유 정보를 이용하여 프로세스 상태 관리를 수행하는데, HLR 시스템 내 하드디스크인 외부 저장 장치에 저장된 HLR 내 응용 프로세스들의 형상 정보 즉, 표1에 나타낸 바와 같이, 해당 프로세스 고유값으로 정의된 프로세스 이름, 프로세스 번호, 메시지 큐 값, 프로세스 버전 등에 대한 정보를 읽어 들여 내부 메모리 공간인 프로세스 형상 정보 저장부(16)에 저장한다.The
여기서 표1은 저장 장치에 저장된 프로세스 형상 정보 내역 중 일부를 나타낸 것으로, HLR 서비스를 제공하기 위해 필요한 소프트웨어 목록이다. 이 정보에는 각 프로세스 이름, 프로세스가 구동 시 사용하게 될 메시지 큐 키, HLR 시스템에서 자체적으로 프로세스를 인식할 프로세스 번호, 프로세스 버전 등을 포함한다.Here, Table 1 shows a part of the process configuration information stored in the storage device, and lists the software required to provide the HLR service. This information includes the name of each process, the message queue key that the process will use to run, the process number that the HLR system will recognize for itself, and the process version.
프로세스 형상 정보 저장부(16)에 해당 형상 정보를 저장한 후, 프로세스 관리 블럭(10)의 프로세스 상태 정보 수집기(12)는 표2에 나타낸 바와 같은 프로세스 형상 정보 저장부(16) 내 프로세스 형상 리스트를 통해 등록된 관리 대상 프로세스의 구동 여부를 판단한다.After storing the shape information in the process shape
한편, 해당 프로세스 형상 정보 저장부(16) 내 프로세스 형상 리스트를 통해 등록된 관리 대상 프로세스의 구동 여부를 판단하는 방법은 운영체제 내 구동 프로세스 정보 저장부(17)의 운영체제 내 구동 프로세스 정보(표3)와 HLR 시스템 내 프로세스 관리 블럭 내 저장되는 프로세스 형상 정보(표2)를 비교한다.On the other hand, the method of determining whether to drive the registered management target process through the process shape list in the process shape
예컨대, HLR 시스템 내 프로세스 1이 구동 중(HLR 시스템 내 구동 프로세스)이고, 해당 프로세스 아이디가 307(운영체제 내 구동 정보 리스트)이면, 프로세스 관리 블럭 내 프로세스 아이디 1에 대해 아이디가 307이고, 현재 동작 중(exist, 운영체제 내 구동 프로세스 정보 리스트에 등록되어 있음을 의미)이라고 표시한다.
For example, if
그러나, HLR 시스템 내 프로세스 2가 구동 중(HLR 시스템 내 구동 프로세스)이 아니고, 해당 프로세스 관리 블럭 내 프로세스 아이디가 운영체제 내 구동 정보 리스트에 존재하지 않으면, 프로세스 관리 블럭 내 정보의 프로세스 아이디에 대해 현재 동작중이 아님(none, 운영체제 내 구동 프로세스 정보 리스트에 등록되어 있지 않음을 의미)이라고 표시하고, 관리 대상 프로세스가 중단되어 있다고 판단한다.However, if the
여기서 표2는 프로세스 관리 블럭 내부의 프로세스 형상/상태 정보 내역의 일부를 나타낸 것으로, 프로세스 관련 정보에는 프로세스 이름, HLR 시스템에서 정의한 프로세스 번호, 운용체제가 부여한 프로세스 아이디, 해당 프로세스의 메시지 큐 정보(예컨대, 메시지 큐 키, 메시지 큐 아이디, 메시지 큐에 남은 데이터의 크기 및 개수, 메시지 큐 송/수신 시각 등) 등이 포함된다.Here, Table 2 shows a part of the process configuration / status information in the process management block, and the process related information includes the process name, the process number defined by the HLR system, the process ID assigned by the operating system, and the message queue information of the process (eg, , Message queue key, message queue ID, size and number of data remaining in message queue, message queue transmission / reception time, etc.).
여기서 표3은 운영체제 내 저장된 현재 동작 중인 프로세스의 정보 내역 중 일부를 나타낸 것이다. 운영체제는 일정 공간에 파일 형식으로 현재 시스템 내부에서 동작 중인 프로세스의 정보를 저장한다. 이 정보에는 운용체제가 프로세스 시작 시 부여한 프로세스 아이디, 프로세스 이름, 프로세스 시작 시간, 프로세스의 우선 순위, 프로세스의 크기, 프로세스의 동작 상태 등 프로세스 동작에 필요한 모든 정보가 포함된다. Here, Table 3 shows some of the information of the currently running process stored in the operating system. The operating system stores information about processes currently running inside the system in a file format. This information includes all the information necessary for the operation of the process, such as the process ID, process name, process start time, process priority, process size, and process status that the operating system assigns to the process.
전술한 관리 대상 프로세스(프로세스 2)가 중단되어 있을 경우, 프로세스 구동기(14)를 사용하여 해당 응용 프로세스를 구동시킨 후, 프로세스 2에 대한 고유 정보를 프로세스 관리 블럭(10)에 등록하게 된다.When the above-described management target process (process 2) is stopped, the corresponding application process is driven using the
해당 응용 프로세스는 프로세스 구동을 위한 초기화 작업이 끝나고 정상 동작 상태로 돌입하기 직전 프로세스 관리 블럭(10)으로 자신이 운영체제로부터 부여받은 고유 프로세스 아이디 및 고유 메시지 큐 아이디 등 프로세스 고유 정보가 포함된 메시지를 전송한다. 프로세스 관리 블럭 내 메시지 처리기(13)는 이 메시지를 수신하여 같은 운영체제 내 구동 프로세스 정보 저장부(17)에서 해당 데이터를 변 경한다. The application process transmits a message including process-specific information, such as a unique process ID and a unique message queue ID, which are granted from the operating system to the
프로세스 관리 블럭 내 프로세스 상태 정보 수집기(12)는 주기적으로 프로세스 상태 정보 공간에 저장된 관리 대상 프로세스들의 고유 프로세스 아이디가 운영체제 내 구동 프로세스 정보 저장부(17)의 형상 리스트에 등록되어 있는지 확인한다. 만일, 해당 관리 대상 프로세스의 프로세스 고유 아이디가 운영체제 내 구동 프로세스 정보 저장부(17)에 등록되어 있지 않을 경우 해당 프로세스가 중단되었음을 판단하여 해당 프로세스를 재구동시킨다.The process
또한, 프로세스 관리 블럭(10)은 주기적으로 표4와 같은 운영체제 내 시스템 리소스 사용 정보 저장부(15)로부터 관리 대상 프로세스들의 메시지 큐의 상태 정보를 검색하여 프로세스가 정상적으로 메시지를 처리하고 있는지를 확인한다.In addition, the
여기서 표4는 운영체제 내부에 저장된 시스템 리소스 사용 정보 중 메시지 큐에 대한 정보 내역의 일부를 나타낸 것이다. 운영체제는 프로세스가 사용하는 리소스(예컨대, 동작 메모리, 메시지 큐, 공유 메모리, 세마포어 등)를 실시간으로 관리하고 변경된 정보를 특정 공간에 저장한다. 메시지 큐에 대한 정보로는 프로세스에 할당된 메시지 큐 키, 운영체제가 메시지 큐 키에게 부여한 메시지 큐 아이디, 메시지 큐의 최종 메시지 수신 시간, 메시지 큐의 최종 메시지 송신 시간, 해당 메시지 큐에 메시지를 전송한 블럭, 메시지 큐에 남은 메시지 크기 및 개수, 메시지 큐의 사용자 정보 등이 있다. Here, Table 4 shows a part of information history of the message queue among the system resource usage information stored in the operating system. The operating system manages resources used by a process (eg, working memory, message queues, shared memory, semaphores, etc.) in real time and stores changed information in a specific space. Information about the message queue includes the message queue key assigned to the process, the message queue ID assigned to the message queue key by the operating system, the last time message received in the message queue, the last time message sent in the message queue, and the message sent to that message queue. Block, message size and number of messages left in the message queue, and user information of the message queue.
만일, 어떤 메시지 큐의 최종 송신 시간이 이전 주기의 최종 송신 시간과 다른데, 최종 수신 시간이 이전 주기의 최종 수신 시간과 같고, 어떤 메시지 큐에 수신하지 않은 메시지 개수나 메시지 크기가 일정 수준 이상이면 해당 메시지 큐로 메시지를 수신하는 프로세스의 동작에 문제가 생겼다고 판단하고 특별 관리 프로세스(도면에 도시하지 않음)에서 해당 프로세스를 저장한다. 프로세스 관리 블럭(10)은 프로세스의 상태를 확인하는 주기마다 특별 관리 프로세스에 등록된 프로세스들이 메시지 큐의 사용 정보 이상 검출 횟수를 세어 일정 횟수 이상 동작 이상이 검출되면 프로세스 동작에 이상이 발생했다고 판단하여 프로세스의 존재 유무와 상관없이 프로세스를 중단 또는 재시동시킨다.
If the last send time of a message queue is different from the last send time of a previous cycle, the last receive time is the same as the last receive time of a previous cycle, and the number or size of messages not received in a message queue is above a certain level. It is determined that there is a problem with the operation of the process of receiving a message into the message queue and the process is stored in a special management process (not shown). The
본 발명의 실시예에 따른 이동통신 시스템에서 프로세스 상태 관리 방법은 도4의 순서도를 참조하여 설명하면 다음과 같다.Process state management method in a mobile communication system according to an embodiment of the present invention will be described with reference to the flowchart of FIG.
먼저, 외부 기억 장치에 저장된 프로세스 형상 리스트 및 각각의 프로세스에게 미리 정의된 데이터를 읽어 프로세스 형상 정보 저장부(16)에 수집 및 저장한다(단계 S41). First, the process shape list stored in the external storage device and the data predefined for each process are read and collected and stored in the process shape information storage unit 16 (step S41).
프로세스 관리 블럭(10)의 프로세스 상태 정보 수집기(12)는 형상 정보 저장부(16) 내 프로세스 형상 리스트를 통해 관리 대상 프로세스 중 중단된 프로세스가 존재하는지를 판단한다(단계 S42). The process
만약, 관리 대상 프로세스 중 중단된 프로세스가 존재할 경우, 중단된 프로세스가 존재한다고 판단하여, 프로세스 구동기(14)를 이용하여 해당 프로세스를 재구동시킨다(단계 S43). If there is an interrupted process among the management target processes, it is determined that the suspended process exists, and the process is restarted using the process driver 14 (step S43).
프로세스 상태 정보 수집이 완료된 후, 운영체제로부터 부여받은 리소스 사용 정보를 수집 및 저장한다(단계 S44). After the process state information collection is completed, resource usage information received from the operating system is collected and stored (step S44).
이후, 프로세스 관리 블럭(10)은 주기적으로 운영체제 내 시스템 리소스 사용 정보 저장부(15)에서 관리 대상 프로세스들의 리소스 사용 정보를 검색하여 프로세스가 정상적으로 메시지를 처리하고 있는지를 확인한다(단계 S45). 여기서, 만일, 프로세스의 메시지 큐 최종 송신 시간이 이전 주기의 최종 송신 시간과 달라야 정상 동작을 수행하는 것인데, 최종 수신 시간이 이전 주기의 최종 수신 시간과 같거나 메시지 큐에 수신하지 않은 메시지 개수나 메시지 크기가 일정 수준 이상이면 해당 프로세스를 특별 관리 프로세스에 저장한다(단계 S46).Thereafter, the
이후, 프로세스 관리 블럭(10)은 프로세스의 상태를 확인하는 주기마다 특별 관리 프로세스 리스트에 등록된 프로세스들의 메시지 큐의 사용 정보 이상 검출 횟수를 세어(단계 S47) 일정 횟수 이상 동작 이상이 검출되면 프로세스 동작에 이상이 발생했다고 판단하여 프로세스의 존재 유무와 상관없이 프로세스를 중단 또는 재시동한다(단계 S48).
Thereafter, the process management block 10 counts the number of times of detecting the use information abnormality of the message queue of the processes registered in the special management process list for each period of checking the status of the process (step S47). It is determined that an abnormality has occurred, and the process is stopped or restarted regardless of the presence or absence of the process (step S48).
도5는 도4에 있어서, 본 발명의 실시예에 따른 이동통신 시스템에서 프로세스 상태 관리 방법을 더욱 상세하게 나타낸 것이다.FIG. 5 illustrates in more detail the process state management method in the mobile communication system according to the embodiment of the present invention.
먼저, 프로세스 관리 블럭(10)은 초기화(단계 S51) 과정 중 관리 대상 프로세스의 관리 및 복구를 위하여 외부 기억 장치에 저장된 관리 대상 프로세스 형상 리스트 및 각각의 프로세스에게 미리 정의된 데이터를 읽어 프로세스 형상 정보 저장부(16)에 수집 및 저장한다(단계 S52). 여기서, 수집 및 저장된 데이터는 형상 정보 저장부(16)의 프로세스 내 형상 리스트에 등록되고, 단계 S52에서 미리 정의된 데이터는 프로세스 아이디(ID), 메시지 큐 값, 프로세스 버전, 프로세스 구동 방식을 포함한다.First, the
프로세스 관리 블럭(10)의 프로세스 상태 정보 수집기(12)는 형상 정보 저장부(16) 내 프로세스 형상 리스트를 통해 관리 대상 프로세스 중 중단된 프로세스가 존재하는지를 판단한다(단계 S53). 이때, 관리 대상 프로세스의 구동 여부 판단 방법은 형상 정보 저장부(16) 내 프로세스 형상 리스트에 등록된 프로세스에 대한 고유 정보(고유 ID)가 운영체제 내 구동 프로세스 정보 저장부(17)에 존재하는지를 통해 판단한다.The process
만약, 형상 정보 저장부(16)에 저장된 관리 대상 프로세스들의 고유 프로세스 ID가 운영체제 내 구동 프로세스 정보 저장부(17)에 존재하지 않을 경우, 중단된 프로세스가 존재한다고 판단하여, 프로세스 구동기(14)를 이용하여 해당 프로세 스를 재구동시킨다(단계 S54). 한편, 단계 S53에서 형상 정보 저장부(16)에 저장된 관리 대상 프로세스들의 고유 프로세스 ID가 운영체제 내 구동 프로세스 정보 저장부(17)에 존재할 경우, 중단된 프로세스가 존재하지 않은 것으로 판단하고, 운영체제로부터 부여받은 리소스 사용 정보를 수집 및 저장한다(단계 S55). If the unique process IDs of the management target processes stored in the shape
이후, 프로세스 관리 블럭(10)은 주기적으로 운영체제의 시스템 리소스 사용 정보 저장부(15)에서 관리 대상 프로세스들의 리소스 사용 정보를 검색하여 프로세스가 정상적으로 메시지를 처리하고 있는지를 확인한다(단계 S56). 여기서, 만일, 프로세스의 메시지 큐 최종 송신 시간이 이전 주기의 최종 송신 시간과 달라야 정상 동작을 수행하는 것인데, 최종 수신 시간이 이전 주기의 최종 수신 시간과 같거나 메시지 큐에 수신하지 않은 메시지 개수나 메시지 크기가 일정 수준 이상이면 해당 프로세스를 특별 관리 프로세스에 저장한다(단계 S57).Thereafter, the
이후, 프로세스 관리 블럭(10)은 프로세스의 상태를 확인하는 주기마다 특별 관리 프로세스 리스트에 등록된 프로세스들의 메시지 큐의 사용 정보 이상 검출 횟수를 세어(단계 S58) 일정 횟수 이상 동작 이상이 검출되면 프로세스 동작에 이상이 발생했다고 판단하여 프로세스의 존재 유무와 상관없이 프로세스를 중단 또는 재시동한다(단계 S59).Thereafter, the process management block 10 counts the number of times of detecting the use information abnormality of the message queue of the processes registered in the special management process list for each period of checking the status of the process (step S58). It is determined that an abnormality has occurred, and the process is stopped or restarted regardless of the presence or absence of the process (step S59).
프로세스 구동을 위한 초기화 작업이 끝나고 정상 동작 상태로 돌입하기 직전의 응용 프로세스로부터 고유 프로세스 아이디(운영체제로부터 부여받은 프로세스 아이디) 및 고유 메시지 큐 아이디 등 프로세스 고유 정보가 포함된 메시지를 메시지 처리기(13)가 수신(단계 S60)하여 이를 처리한다.
The
메시지 처리 중 프로세스 상태 점검 주기를 확인하는데(단계 S61), 이때, 프로세스 상태를 확인하는 주기를 최대한 작게 설정한다. 이후, 설정된 상태 점검 주기 전에 새롭게 구동된 프로세스로부터 운영체제의 고유 정보가 포함된 메시지가 전송되었는지 여부를 판단하여(단계 S62), 해당 프로세스로부터 고유 정보가 포함된 메시지가 전송되었을 경우, 해당 고유 정보를 사용하여 프로세스 상태 정보 수집기(12)에서 프로세스 상태 정보를 변경한다(단계 S63). 그러나, 프로세스로부터 고유 정보가 포함된 메시지가 전송되지 않을 경우, 타 메시지를 처리한다(단계 S64).To check the process status checking period during message processing (step S61), at this time, the period for checking the process status 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 S62). 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 S63). However, if a message containing unique information is not transmitted from the process, another message is processed (step S64).
한편, 단계 S60에서 메시지 처리 중 프로세스 상태 점검 주기가 되면 단계 S51 이하의 프로세스 상태 점검 단계로 돌아가 각 프로세스의 상태를 점검한 후, 중단되었거나 비정상 상태의 프로세스가 있다면 구동시키는 과정과 해당 과정 완료 후 메시지를 처리하는 과정을 반복하게 된다.
On the other hand, when the process status check cycle during the processing of the message in step S60 returns to the process status checking step of step S51 or less to check the status of each process, if there is a process that is interrupted or abnormal status, and the process after 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 manages the state of multiple processes by using unique information provided from an operating system and process resource usage information managed by the operating system when the process is running, and thus does not burden the system. By setting the cycle as small as possible, it is possible to accurately determine the state management of the application process close to real time and recover quickly when an abnormal situation occurs.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020020055702A KR100784595B1 (en) | 2002-09-13 | 2002-09-13 | Method for Managing Process State in Mobile Communication System |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020020055702A KR100784595B1 (en) | 2002-09-13 | 2002-09-13 | Method for Managing Process State in Mobile Communication System |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20040024172A KR20040024172A (en) | 2004-03-20 |
KR100784595B1 true KR100784595B1 (en) | 2007-12-11 |
Family
ID=37327441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020020055702A KR100784595B1 (en) | 2002-09-13 | 2002-09-13 | Method for Managing Process State in Mobile Communication System |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100784595B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101014284B1 (en) * | 2008-11-13 | 2011-02-14 | 장석은 | wine refrigerator with cosmetic cooler with folderble table |
CN111625560B (en) * | 2019-02-28 | 2024-04-09 | 北京沃东天骏信息技术有限公司 | Information processing method, device, medium and electronic equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100194771B1 (en) * | 1996-09-30 | 1999-06-15 | 이계철 | Subscription management device for personal communication service (PCS) and its method |
-
2002
- 2002-09-13 KR KR1020020055702A patent/KR100784595B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100194771B1 (en) * | 1996-09-30 | 1999-06-15 | 이계철 | Subscription management device for personal communication service (PCS) and its method |
Also Published As
Publication number | Publication date |
---|---|
KR20040024172A (en) | 2004-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3836485B1 (en) | Switching method, device and transfer control separation system of control plane device | |
US7418627B2 (en) | Cluster system wherein failover reset signals are sent from nodes according to their priority | |
JP3701303B2 (en) | Computer system monitoring method and apparatus | |
US5835765A (en) | Computer operation management system for a computer operating system capable of simultaneously executing plural application programs | |
CN101510167B (en) | A kind of method of plug-in component operation, Apparatus and system | |
JP2001101033A (en) | Fault monitoring method for operating system and application program | |
US7698399B2 (en) | Advanced IPMI system with multi-message processing and configurable performance and method for the same | |
CN106330523A (en) | Cluster server disaster recovery system and method, and server node | |
CN110618864A (en) | Interrupt task recovery method and device | |
CN111565135A (en) | Method for monitoring operation of server, monitoring server and storage medium | |
CN111970339B (en) | Request control method and device and electronic equipment | |
WO2016193118A1 (en) | Load balancing server for forwarding prioritized traffic from and to one or more prioritized auto-configuration servers | |
EP1390848A2 (en) | Task supervision | |
CN110580168A (en) | Informatization asset management system and upgrading method thereof | |
CN112416594A (en) | Micro-service distribution method, electronic equipment and computer storage medium | |
KR100784595B1 (en) | Method for Managing Process State in Mobile Communication System | |
CN110825505B (en) | Task scheduling method, device, computer equipment and storage medium | |
JP4673532B2 (en) | Comprehensive alignment process in a multi-manager environment | |
KR100462986B1 (en) | Process State Management Method Using Peculiar Process Information | |
JP2001331330A (en) | Process abnormality detection and restoration system | |
KR100606339B1 (en) | System and method for managing process status of the hlr system | |
CN111464357A (en) | Resource allocation method and device | |
CN109361620B (en) | Data sending method, device, equipment and storage medium | |
CN113542001A (en) | OSD (on-screen display) fault heartbeat detection method, device, equipment and storage medium | |
CN112148535A (en) | Rack-type equipment double-monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
A201 | Request for examination | ||
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: 6 |
|
FPAY | Annual fee payment |
Payment date: 20131115 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20141119 Year of fee payment: 8 |
|
LAPS | Lapse due to unpaid annual fee |