KR100606339B1 - System and method for managing process status of the hlr system - Google Patents

System and method for managing process status of the hlr system Download PDF

Info

Publication number
KR100606339B1
KR100606339B1 KR1020030099204A KR20030099204A KR100606339B1 KR 100606339 B1 KR100606339 B1 KR 100606339B1 KR 1020030099204 A KR1020030099204 A KR 1020030099204A KR 20030099204 A KR20030099204 A KR 20030099204A KR 100606339 B1 KR100606339 B1 KR 100606339B1
Authority
KR
South Korea
Prior art keywords
information
state
message
processes
state information
Prior art date
Application number
KR1020030099204A
Other languages
Korean (ko)
Other versions
KR20050070168A (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 KR1020030099204A priority Critical patent/KR100606339B1/en
Publication of KR20050070168A publication Critical patent/KR20050070168A/en
Application granted granted Critical
Publication of KR100606339B1 publication Critical patent/KR100606339B1/en

Links

Images

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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

본 발명은 이동통신 구성망의 구성요소인 HLR(Home Location Register: 홈 위치 등록기, 이하 "HLR"이라 함) 시스템 내에 존재하는 응용 프로세스들의 상태를 관리하는 시스템 및 그 방법에 관한 것으로, 특히 운영체제가 관리 대상 프로세스에 부여한 고유정보를 사용하여 프로세스 상태를 관리함으로써 시스템의 부하를 주지 않고 응용 프로세스의 동작 상태를 실시간에 가깝게 관리할 수 있는 HLR 시스템으 프로세스 상태 관리 시스템 및 그 방법에 관한 것이다.The present invention relates to a system and method for managing a state of application processes existing in a home location register (HLR) system, which is a component of a mobile communication network. The present invention relates to a process state management system and method for managing the process state using unique information assigned to a process to be managed by the HLR system that can manage the operation state of an application process in near real time without burdening the system.

상기와 같이 제안된 본 발명의 구성수단은, 외부 저장 장치에 저장된 프로세스 형상 정보를 읽어 들여 저장하고, 프로세스들의 상태를 반영하는 프로세스 형상/상태 정보부와; 주기적으로 프로세스에 대한 상태 정보를 수집하여 프로세스를 관리하고, 상기 프로세스 형상/상태 정보부의 상태 정보를 변경하는 프로세스 상태 정보 수집부와; 상기 프로세스 상태 정보 수집기의 명령에 따라 프로세스들을 구동하는 프로세스 구동부와; 상기 프로세스들 및 운용자 작업석과 정보를 주고 받을 수 있는 메시지 처리부와; 리소스 사용율에 대한 정보를 수집하여 시스템 과부하 여부를 감시하는 시스템 과부하 정보 수집부;를 포함하여 이루어진 것을 특징으로 한다.The constitutional means of the present invention proposed as described above comprises: a process shape / state information unit for reading and storing process shape information stored in an external storage device and reflecting states of processes; A process state information collecting unit which periodically collects state information about the process to manage the process and changes state information of the process shape / state information unit; A process driver which drives the processes according to the command of the process state information collector; A message processing unit which can exchange information with the processes and the operator's work seat; And a system overload information collecting unit configured to collect information on resource usage rates and monitor whether the system is overloaded.

HLR 시스템, 프로세스 관리HLR system, process management

Description

에이치엘알 시스템의 프로세스 상태 관리 시스템 및 그 방법{SYSTEM AND METHOD FOR MANAGING PROCESS STATUS OF THE HLR SYSTEM}Process status management system and method thereof of H.L system {SYSTEM AND METHOD FOR MANAGING PROCESS STATUS OF THE HLR SYSTEM}

도 1은 HLR 시스템의 전체적 구성도이다.1 is an overall configuration diagram of an HLR system.

도 2는 종래의 HLR 시스템의 프로세스 상태 관리 방법의 절차도이다2 is a flowchart illustrating a process state management method of a conventional HLR system.

도 3은 본 발명인 프로세스 상태 관리 시스템의 구성도이다.3 is a block diagram of a process state management system of the present invention.

도 4는 본 발명인 프로세스 상태 관리 방법에 관한 절차도이다.4 is a flowchart illustrating a process state management method of the present invention.

도 5는 본 발명의 일실시예인 프로세스 구동여부 판별에 따른 절차도이다.5 is a flowchart illustrating process driving determination according to an embodiment of the present invention.

도 6은 본 발명의 일실시예인 프로세스 정상 상태 판별에 따른 절차도이다.6 is a flowchart illustrating a process steady state determination according to an embodiment of the present invention.

도 7은 본 발명의 일실시예인 메시지 처리 방법에 관한 절차도이다.7 is a flowchart illustrating a message processing method according to an embodiment of the present invention.

본 발명은 이동통신 구성망의 구성요소인 HLR(Home Location Register: 홈 위치 등록기, 이하 "HLR"이라 함) 시스템 내에 존재하는 응용 프로세스들의 상태를 관리하는 시스템 및 그 방법에 관한 것으로, 특히 운영체제가 관리 대상 프로세스에 부여한 고유정보를 사용하여 프로세스 상태를 관리함으로써 시스템의 부하를 주지 않고 응용 프로세스의 동작 상태를 실시간에 가깝게 관리할 수 있는 HLR 시스템 으 프로세스 상태 관리 시스템 및 그 방법에 관한 것이다.The present invention relates to a system and method for managing a state of application processes existing in a home location register (HLR) system, which is a component of a mobile communication network. The present invention relates to a process state management system and method for managing an operating state of an application process in real time without burdening the system by managing process state using unique information assigned to a process to be managed.

일반적으로 HLR 시스템은 도 1에서 보여주는 것처럼 이동통신 망 구성도 내 HLR 역할을 담당하는 주 컴퓨터(이하, "타겟 시스템"이라 함)와 타겟 시스템 내 설치된 하드웨어, 응용 소프트웨어의 운용 상태 및 시스템의 리소스 사용 상황 등을 운용자에게 알리고 제어할 수 있도록 하는 운용자 작업석(OSM) 그리고 운용 도중 발생하는 모든 로그를 출력하는 프린터 등으로 구성된다. 그리고, 상기 타겟 시스템은 HLR 시스템의 기능을 수행하기 위한 수개의 프로세스와 이들의 정상적인 동작 상태를 관리하는 프로세스 관리 블록으로 구성되어 있다.In general, as shown in FIG. 1, the HLR system uses a host computer (hereinafter, referred to as a "target system"), a hardware installed in a target system, an operating state of an application software, and the use of system resources as shown in FIG. It consists of an operator work area (OSM) that informs and controls the operator and the situation, and a printer that prints out all logs generated during operation. The target system is composed of several processes for performing the functions of the HLR system and process management blocks for managing their normal operating states.

이동통신 HLR 시스템은 대량의 가입자 정보를 저장하고 교환기나 VLR(Visitor Location Registor: 방문자 위치 등록기) 등에서 요청한 가입자 정보를 제공하는데 이를 정상적으로 수행하기 위해 HLR 시스템 내에는 도 1에서 보여주는 것처럼 많은 프로세스들이 존재한다.The mobile HLR system stores a large amount of subscriber information and provides subscriber information requested by an exchange or visitor location register (VLR). There are many processes in the HLR system as shown in FIG. .

HLR 시스템을 비롯한 통신 망 요소는 원칙적으로 서비스 제공을 중단할 수 없기 때문에 시스템의 하드웨어적 장애나 프로세스(동작 중인 응용 소프트웨어)의 이상 작동 또는 비정상 종료에 의해 서비스가 중단되었을 경우 서비스 제공 중단 시간을 최소화하기 위해 자동적으로 하드웨어나 프로세스의 상태를 실시간으로 감시, 제어, 복구하는 기능을 제공한다.Communication network elements, including HLR systems, are in principle unable to interrupt service provision, minimizing downtime in the event of disruption of service due to a system failure or abnormal operation or abnormal termination of a process (operating application software). It automatically monitors, controls and restores the hardware or process status in real time.

이를 위하여 상기와 같이 HLR 시스템은 하드웨어나 프로세스의 상태를 감시, 관리하는 기능과 운용자가 HLR 시스템의 상태를 확인, 제어, 복구할 수 있는 운용자 작업석(OMS)이 제공된다. 이 중, 상기 프로세스의 상태를 감시, 관리하는 기능 은 프로세스 관리 블록에서 담당하는데, 이 프로세스 관리 블록은 HLR 시스템 내부의 프로세스들이 비정상적으로 종료하거나 이상 작동을 감시하기 위한 응용 프로세스이다.To this end, as described above, the HLR system is provided with a function of monitoring and managing the state of hardware and processes, and an operator task seat (OMS) that allows an operator to check, control, and recover the state of the HLR system. Among them, a function of monitoring and managing the status of the process is handled by a process management block. The process management block is an application process for abnormally terminating or abnormal operation of processes in the HLR system.

종래의 프로세스 관리 블록을 이용한 프로세스 상태를 관리하는 방법은 크게, 관리 대상 프로세스의 메시지 큐를 통해 요구한 결과 전달된 상태 정보에 의거하여 프로세스 상태를 관리한거나, 관리 대상 프로세스가 사용하는 락 파일 검사를 통하여 관리 대상 프로세스의 상태를 관리하는 방법이 있다.The conventional method for managing the process state using the process management block is to manage the process state based on the state information delivered as a result of request through the message queue of the managed process, or to check the lock file used by the managed process. There is a way to manage the state of the managed process through.

메시지 큐를 통한 방법은 정상적으로 동작하고 있는 관리 대상 프로세스를 비정상으로 판단하거나 시스템 과부하 상황시 불필요한 메시지가 발생하는 경우가 발생하게 되고, 락 파일 검사를 통한 방법은 외부 환경 요인(락 파일 라이브러리 오동작 등)에 의해 관리 대상 프로세스의 존재 여부를 정확하게 판단할 수 없다는 문제점이 있다.The message queue method can be used to determine whether a managed process that is operating normally is abnormal or to generate unnecessary messages when the system is overloaded. There is a problem that can not accurately determine the existence of the process to be managed by.

프로세스 상태 관리 방법에 관한 절차도를 보여주는 도 2를 참조하여 종래의 프로세스 상태 관리 방법에 관한 구체적인 실시예를 설명하고, 종래 기술에 의한 경우 발생하는 문제점을 살펴본다.A specific embodiment of the conventional process state management method will be described with reference to FIG. 2, which shows a process diagram of the process state management method, and looks at the problems that occur in the prior art.

일단 프로세스 관리 블럭에서 해당 관리 대상 프로세스에게 지정된 메시지를 전송하고(S1), 상기 메시지가 전달된 관리 대상 프로세스로부터 응답이 있는지 판단을 하게된다(S2). In the process management block, the designated message is transmitted to the corresponding managed object process (S1), and it is determined whether there is a response from the managed object process to which the message is delivered (S2).

상기 응답이 있는지 판단한 결과 해당 프로세스로부터 일정한 응답이 있는 경우에는 메지지가 전달된 관리 대상 프로세스는 정상 상태인 것으로 판단되어 다 음 해당 관리 대상 프로세스에게 지정된 메시지를 전달하면 되는 것이고(S3), 상기 판단 결과 메시지가 전달된 관리 대상 프로세스로부터 응답이 없는 경우에는, 응답이 없는 횟수가 일정한 횟수(n) 이상인가 판단을 한다(S4).If there is a response from the process as a result of determining whether there is a response, it is determined that the managed target process to which the message is delivered is in a normal state, and then delivers a designated message to the corresponding managed target process (S3). If there is no response from the managed object process to which the result message is delivered, it is determined whether the number of times of no response is equal to or more than a predetermined number n (S4).

상기 판단 결과 불응한 횟수가 일정 횟수 이상인 경우에는 해당 관리 대상 프로세스는 비정인 것으로 판단을 하여 운용자는 적정한 조치를 취해 정상 복구를 해야 할 것이고(S5), 불응한 횟수가 일정 횟수 이상이 아닌 경우에는 재차 상태를 점검하기 위하여 다시 한번 지정된 메시지를 전송하는 절차를 거친다.If the number of non-compliance is determined to be more than a certain number of times as a result of the determination, the management target process is determined to be indeterminate and the operator should take proper measures to restore normal operation (S5). In order to check the status again, the procedure of transmitting the designated message is once again performed.

상기의 종래의 기술을 정리하면, 프로세스 관리 블록이 관리 대상 프로세스들에게 지정된 메시지를 전송하면 대상 프로세스들이 이에 대한 응답을 프로세스 관리 블록으로 응답하는 것을 가지고, 프로세스 관리 블록은 어떤 응용 프로세스가 N회 이상 응답하지 않는 경우에 해당 응용 프로세스가 구동하지 않거나 , 비정상 상태로 동작한다고 판단하여 응용 프로세스의 실행을 중단시키고 새롭게 응용 프로세스를 구동시키도록 하는 일련의 과정을 거쳤다.In summary, the process management block transmits a designated message to the managed processes, and the target processes respond to the process management block with the response. If it did not respond, the application process did not start or was determined to be in an abnormal state. Therefore, the application process was interrupted and a new process was started to start the application process.

즉, 종래의 프로세스 관리 블록은 응용 프로세스의 상태를 관리하기 위하여 주기적으로 응용 프로세스들과 메시지를 주고 받는 방식을 사용한 것이다. 그러나 이와 같은 메시지를 송수신하는 종래의 방식은 시스템의 리소스를 사용하는 방식이기 때문에 시스템에 과부하 상태가 발생한다면, 응용 프로세스들의 상태를 관리할 수 없게 되는 문제점이 발생한다.That is, the conventional process management block uses a method of periodically sending and receiving messages with the application processes in order to manage the state of the application process. However, the conventional method of transmitting and receiving such a message uses a system resource, and thus, if an overload condition occurs in the system, there is a problem that the state of application processes cannot be managed.

또, 해당 응용 프로세스가 일시적으로 처리하여야 할 메시지의 양이 과다하여 메시지를 응답할 수 없는 상황일 경우에는 프로세스의 상태를 정확히 파악할 수 없고, 프로세스의 중단 또는 비정상 상태를 감지하기까지 상당한 시간이 소모되는 문제점이 발생한다.In addition, when the application process is temporarily unable to respond to a message because the amount of messages to be processed is excessive, it may not be able to accurately determine the state of the process, and it takes considerable time to detect the interruption or abnormal state of the process. Problem occurs.

본 발명은 상기와 같은 종래 기술의 문제점을 해결하기 위하여 창안된 것으로, HLR 시스템 내의 프로세스들의 상태를 관리함에 있어 시스템의 부하를 주지 않고 응용 프로세스의 동작 상태를 실시간에 가깝게 정확히 판별하고, 프로세스들에게 비정상 상황이 발생하면 신속하게 복구가 가능하게 하는 HLR 시스템의 프로세스 상태 관리 시스템 및 그 방법을 제공하는 것을 그 목적을 한다.The present invention was devised to solve the problems of the prior art as described above. In managing the state of processes in the HLR system, it is possible to accurately determine the operating state of an application process in real time and close to the processes without putting a load on the system. It is an object of the present invention to provide a process state management system and method of the HLR system that can be recovered quickly when an abnormal situation occurs.

상기와 같은 목적을 달성하기위한 본 발명은 외부 저장 장치에 저장된 프로세스 형상 정보를 읽어 저장하고, 프로세스들의 상태를 반영하는 프로세스 형상/상태 정보부와;The present invention for achieving the above object is a process shape / state information unit for reading and storing the process shape information stored in the external storage device, and reflects the state of the process;
상기 프로세스들에 대한 상태 정보를 주기적으로 수집하여 프로세스를 관리하고, 상기 프로세스 형상/상태 정보부의 상태 정보를 변경하는 프로세스 상태 정보 수집부와;A process state information collecting unit which periodically collects state information about the processes to manage the process and change state information of the process shape / state information unit;
상기 프로세스 상태 정보 수집부의 명령에 따라 프로세스들을 구동하는 프로세스 구동부와;A process driver which drives the processes according to the command of the process state information collecting unit;
상기 프로세스들로부터 전달받은 메시지를 분석하여 새로운 운용 정보를 프로세스 상태 정보 수집부로 전달하는 메시지 처리부와;A message processor which analyzes the messages received from the processes and delivers new operation information to the process state information collector;
상기 프로세스들이 사용하는 시스템 리소스를 실시간으로 관리하고 변경된 정보를 일정공간에 저장하는 운영체제 내 저장공간으로부터 시스템 리소스 정보 중 메시지 큐에 대한 정보를 수집하여 시스템 과부하 여부를 감시하는 시스템 과부하 정보 수집부를 포함하여 이루어진 HLR 시스템의 프로세스 상태 관리 시스템을 제공한다.Including a system overload information collection unit for managing the system resources used by the process in real time and collects information on the message queue of the system resource information from the storage space in the operating system for storing the changed information in a certain space to monitor whether the system is overloaded It provides a process state management system of the made HLR system.
또한 본 발명의 다른 특징은 이동통신망의 HLR 시스템의 활성화에 따라 관리 대상인 프로세스들의 상태를 관리, 복구하기 위해 프로세스 형상/상태 정보부를 초기화시키는 초기화단계와;In addition, another aspect of the present invention is the initialization step of initializing the process shape / state information unit for managing and recovering the state of the processes to be managed according to activation of the HLR system of the mobile communication network;
상기 프로세스 상태 정보 수집기가 상태 정보를 수집하는 단계와, 상기 수집된 상태 정보에 의해 프로세스 리스트에 관리 대상 프로세스가 모두 존재하는지 판단하는 단계와, 상기 단계중에 판단한 결과 존재 하지 않는 프로세스가 있는 경우 프로세스 구동기를 사용하여 해당 프로세스를 구동시키는 단계를 포함하는 비구동 프로세스 구동단계와;Collecting status information by the process state information collector; determining whether all of the processes to be managed are present in the process list based on the collected state information; and if there is a process that does not exist as a result of the determination during the process, the process driver A non-driven process driving step comprising driving a corresponding process using;
상기 구동되는 프로세스들이 정상 상태로 유지되는지 판단하고 일정 시간 이상 비정상 상태인 경우 정상 복구시켜 구동시키는 정상복구 구동단계와;A normal recovery driving step of determining whether the driven processes remain in a normal state and recovering the normal process when the abnormal state is abnormal for a predetermined time;
상기 구동된 프로세스들로부터 메시지 처리부가 메시지를 수신하는 단계와;Receiving, by a message processing unit, a message from the driven processes;
상기 메시지 수신 후, 상태 확인 주기에 도달하였는지 판단하여 도달하였으면 다시 프로세스 상태를 확인하고, 도달하지 않았으면 수신된 메시지를 처리하는 메시지 처리단계를 포함하여 이루어진 HLR 시스템의 프로세스 상태 관리 방법을 제공한다.After receiving the message, it is determined whether the status check period has been reached, and if so, checks the process status again, and if not, provides a process state management method of the HLR system comprising a message processing step of processing the received message.

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

이하, 첨부된 도면을 참조하여 상기와 같은 구성수단으로 이루어져 있는 본 발명인 HLR 시스템의 프로세스 상태 관리 시스템 및 그 방법에 관한 작용과 바람직한 실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the operation and preferred embodiment of the process state management system and method of the HLR system of the present invention consisting of the above configuration means.

도 3은 본 발명인 HLR 시스템의 프로세스 상태 관리 시스템을 보여주는 구성도인데, 이를 참조하여 관련된 구성요소들의 작용과 실시예를 상세히 설명한다. 한편, 프로세스 상태 관리 시스템은 프로세스 관리 블록의 기능과, 프로세스 관리 블록의 작용을 위해 필요로 하는 프로세스 형상 정보, 운영체제 내 구동 프로세스 정보 저장 공간, 운영체제 내 시스템 리소스 사용 정보 저장 공간들의 기능에 의해 구현되는 것이다.Figure 3 is a block diagram showing a process state management system of the present invention HLR system, with reference to this will be described in detail the operation and embodiment of the relevant components. On the other hand, the process state management system is implemented by the function of the process management block, process shape information required for the operation of the process management block, the drive process information storage space in the operating system, the system resource usage information storage spaces in the operating system will be.

프로세스 관리 블록(10) 내의 프로세스 형상/상태 정보부(11)는 프로세스 관리 블록이 관리 대상 프로세스(50)들의 상태를 적절하게 관리하기 위하여 외부 저장 장치에 저장된 프로세스 형상 정보를 읽어 들여 저장을 하고, 프로세스들의 상태를 반영하는 역할을 담당한다. 즉, 관리 대상의 프로세스들의 상태와 형상을 외 부 저장 장치로부터 읽어 들여 반영하고, 또 후술할 프로세스 상태 정보 수집부와 시스템 과부하 정보 수집부에서 수집된 정보들을 지속적을 반영하여 총체적인 프로세스 상태 정보를 저장하고 있다. 이 총체적인 프로세스 정보를 저장하고 있는 프로세스 형상/상태 정보부의 저장 상태는 아래 표 1과 같다.The process shape / state information unit 11 in the process management block 10 reads and stores process shape information stored in an external storage device in order for the process management block to appropriately manage the states of the processes to be managed 50. It is responsible for reflecting their condition. That is, the state and shape of the processes to be managed are read and reflected from an external storage device, and the overall process state information is stored by continuously reflecting the information collected by the process state information collecting unit and the system overload information collecting unit to be described later. Doing. The storage state of the process shape / state information unit which stores this overall process information is shown in Table 1 below.

- 표 1 -Table 1

Process NameProcess Name Process NumberProcess number Process IDProcess ID Queue KeyQueue Key Queue IDQueue ID Queue R-timeQueue R-time Queue S-timeQueue S-time Process StatusProcess Status Abnormal CountAbnormal Count 1One AAAAAA 80008000 307307 20002000 223223 10:15:0310:15:03 10:15:0310:15:03 SLEEPSLEEP 00 22 BBBBBB 81008100 20012001 224224 10:02:4810:02:48 10:02:4810:02:48 NONENONE 00 33 CCCCCC 82008200 581581 20022002 225225 10:15:0310:15:03 10:15:0310:15:03 SLEEPSLEEP 00 44 DDDDDD 83008300 894894 20032003 226226 10:15:0310:15:03 10:15:0310:15:03 RUNNINGRUNNING 33 55 EEEEEE 90009000 28902890 30003000 227227 10:15:0310:15:03 10:15:0310:15:03 SLEEPSLEEP 00 66 FFFFFF 91009100 156156 30013001 228228 10:15:0310:15:03 10:15:0310:15:03 SLEEPSLEEP 00 77 GGGGGG 92009200 49284928 30023002 1212 10:15:0310:15:03 10:15:0310:15:03 SLEEPSLEEP 00 88 HHHHHH 94009400 33093309 30033003 1313 10:15:0310:15:03 10:15:0310:15:03 SLEEPSLEEP 00 99 IIIIII 95009500 349349 30043004 1414 10:14:5310:14:53 10:14:5310:14:53 SLEEPSLEEP 00 1010 JJJJJJ 96009600 303303 30053005 189189 10:15:0310:15:03 10:15:0310:15:03 SLEEPSLEEP 00

상기 표 1을 자세히 들여다 보면 Process Name이 BBB 인 프로세스는 프로세스 구동시 운영체제가 부여하는 프로세스 ID 가 기록되어 있지 않고, 프로세스 상태도 SLEEP 인지 RUNNING 인지 알 수가 없는 상태이다. 따라서 후술하겠지만 이 프로세스 형상/상태 정보부의 저장 상태를 프로세스 상태 정보 수집기가 반영을 하여 프로세스 이름이 BBB 인 프로세스를 프로세스 구동부를 통하여 구동시키는 동작을 수행하고, 그 운용 정보를 전달받아 상기 프로세스 형상/상태 정보부에 정보 내용을 변경하는 작용을 한다.If you look closely at Table 1, the process name BBB process is not recorded the process ID assigned by the operating system when the process is running, it is not known whether the process state is SLEEP or RUNNING. Therefore, as will be described later, the process state information collector reflects the storage state of the process shape / state information unit to drive the process having the process name BBB through the process driver, and receives the operation information and receives the process shape / state It acts to change the content of information in the information part.

상기 외부 저장 장치에 저장된 프로세스 형상 정보(20)는, 디스크와 같은 저장 외부 저장 공간에 저장되어 있는 정보로서 HLR 서비스를 제공하기 위한 소프트 웨어의 목록에 관한 정보를 저장하고 있는데, 이 정보에는 소프트웨어의 목록, 소프트웨어 구동 시 사용하게 될 메시지 큐 키, HLR 시스템에서 자체적으로 소프트웨어를 인식할 프로세스 번호, 소프트웨어 버전 등이 있다. 상기의 외부 디스크에 저장되는 프로세스 정보의 저장 형태는 아래 표 2과 같이 저장이 된다.The process shape information 20 stored in the external storage device stores information on a list of software for providing the HLR service as information stored in a storage external storage space such as a disk. The list includes the message queue key that will be used to run the software, the process number that the HLR system will recognize for itself, and the software version. The storage form of the process information stored in the external disk is stored as shown in Table 2 below.

- 표 2 -Table 2

Process name  Process name Process Number  Process number Queue Key  Queue Key Version  Version 1 One AAA    AAA 8000   8000 2000   2000 2.0   2.0 2 2 BBB    BBB 8100   8100 2001   2001 2.5   2.5 3 3 CCC    CCC 8200   8200 2002   2002 1.2   1.2 4 4 DDD    DDD 8300   8300 2003   2003 1.9   1.9 5 5 EEE    EEE 9000   9000 3000   3000 3.1   3.1 6 6 FFF    FFF 9100   9100 3001   3001 1.0   1.0 7 7 GGG    GGG 9200   9200 3002   3002 2.2   2.2 8 8 HHH    HHH 9400   9400 3003   3003 5.4   5.4 9 9 III    III 9500   9500 3004   3004 2.8   2.8 10 10 JJJ    JJJ 9600   9600 3005   3005 1.5   1.5

프로세스 관리 블록(10) 내의 프로세스 상태 정보 수집부(12)는 주기적으로 프로세스에 대한 상태 정보를 수집하여 프로세스를 관리하고, 프로세스에 대한 새로운 운용 정보가 있는 경우에는 상기 프로세스 형상/상태 정보부의 정보를 변경하여 반영하는 역할을 담당한다. 즉, 프로세스의 상태 관리 동작이 시작되면 프로세스 형상/상태 정보부에 있는 정보 내용과 운영체제 내 구동 프로세스 정보 저장 공간에 저장되어 있는 정보 내용을 근거로 하여 관리 대상 프로세스들이 모두 동작하고 있는지 또는 정상적을 동작하고 있는지 판단을 하여, 구동되고 있지 않거나 비 정상 상태에 있는 경우에는 후술할 프로세스 구동부를 통해 해당 프로세스를 구동 또는 중단/재구동을 하는 역할을 담당한다.The process state information collecting unit 12 in the process management block 10 periodically manages a process by collecting state information about the process and, when there is new operation information about the process, provides information on the process shape / status information unit. It is responsible for changing and reflecting. That is, when the state management operation of a process is started, whether the managed processes are all operating normally or normally based on the information content in the process shape / status information unit and the information content stored in the operating process information storage space of the operating system. If it is determined that it is not being driven or in an abnormal state, it plays a role of driving or stopping / restarting the corresponding process through a process driving unit to be described later.

한편, 상기 프로세스 상태 정보 수집부가 관리 대상 프로세스들이 모두 구동 되는지 판단하기 위하여 읽어들이는 정보를 저장하고 있는 운영체제 내 구동 프로세스 정보 저장 공간에는 현재 구동되고 있는 프로세스들의 상태를 저장하고 있다. 즉, 운영체제가 일정 공간에 파일 형식으로 현재 시스템 내부에서 동작 중인 프로세스의 정보를 운영체제 내 구동 프로세스 정보 저장 공간에 주기적으로 저장을 하면 프로세스 상태 정보 수집부(12)가 정보 수집을 위하여 상기 운영체제 내 구동 프로세스 정보 저장 공간에 있는 정보를 읽어들이는 것이다. On the other hand, the process state information collecting unit stores the state of the currently running processes in the drive process information storage space of the operating system that stores the information to read in order to determine whether all the processes to be managed. That is, when the operating system periodically stores information of a process currently operating in the system in a file format in a predetermined space in a driving process information storage space of the operating system, the process state information collecting unit 12 operates in the operating system to collect information. Read information from the process information storage space.

상기 운영체제 내 구동 프로세스 정보 저장 공간에는 운영체제가 프로세스 동작 시 부여한 프로세스 아이디, 프로세스 이름, 프로세스 구동 시간, 프로세스 우선 순위, 프로세스 크기, 프로세스 동작 상태 등에 관한 정보를 저장하고 있는데, 그 저장되는 정보는 아래 표 3와 같다.The operating process information storage space in the operating system stores information on a process ID, a process name, a process driving time, a process priority, a process size, a process operation state, etc. assigned by the operating system, and the stored information is shown in the table below. Same as 3.

- 표 3 -Table 3

Process NameProcess Name Process IDProcess ID Process StatusProcess Status Process Start TimeProcess Start Time 1 One sched   sched 112   112 SLEEP   SLEEP 07:03:56   07:03:56 2 2 FFF   FFF 156   156 SLEEP   SLEEP 11:12:31   11:12:31 3 3 JJJ   JJJ 303   303 SLEEP   SLEEP 10:07:52   10:07:52 4 4 AAA   AAA 307   307 SLEEP   SLEEP 10:07:51   10:07:51 5 5 III   III 349   349 SLEEP   SLEEP 10:08:02   10:08:02 6 6 fsflush   fsflush 1126   1126 SLEEP   SLEEP 03:45:22   03:45:22 7 7 EEE   EEE 2890   2890 SLEEP   SLEEP 09:43:36   09:43:36 8 8 DDD   DDD 894   894 RUNNING   RUNNING 09:43:36   09:43:36 9 9 HHH   HHH 3309   3309 SLEEP   SLEEP 09:43:41   09:43:41 10 10 CCC   CCC 581   581 SLEEP   SLEEP 09:43:42   09:43:42 11 11 -csh   -csh 755   755 SLEEP   SLEEP 19:50:34   19:50:34 12 12 GGG   GGG 4928   4928 SLEEP   SLEEP 10:08:03   10:08:03 ...... ...   ... ...   ... ...   ... ...   ...

프로세스 관리 블록(10) 내의 프로세스 구동부(13)는 상기 프로세스 상태 정보 수집부(12)에서 수집된 정보를 근거로 하여 관리 대상 프로세스 중에 구동되지 않는 프로세스가 있는 것으로 판단이 되는 경우에 프로세스 상태 정보 수집부의 명령에 따라 해당 프로세스를 구동시키는 역할을 수행한다.The process driver 13 in the process management block 10 collects process state information when it is determined that there is a process that is not driven among the managed processes based on the information collected by the process state information collecting unit 12. It executes the process according to the negative command.

프로세스 관리 블록(10) 내의 메시지 처리부(14)는 관리 대상 프로세스들이 일정한 메시지를 프로세스 관리 블록에 전달하는 경우 이를 받아 분석하여 처리하고, 운용자 작업석에서 오는 메시지를 관리 대상 프로세스에게 전달하는 역할을 담당한다. 즉, 상기 프로세스 구동부에 의하여 해당 프로세스가 구동이 되는 경우 해당 프로세스는 새로운 운용 정보를 프로세스 관리 블록에게 전달하게 되는데, 이를 메시지 처리부가 전달받아 분석하여 새로운 운용 정보를 프로세스 상태 정보 수집부에 전달하게 된다. 그러면 프로세스 상태 정보 수집부는 이를 바탕으로 프로세스 형상/상태 정보부의 정보를 변경한다.The message processing unit 14 in the process management block 10 is responsible for receiving and analyzing a message when the managed processes deliver a predetermined message to the process management block, and processing the message. do. That is, when the process is driven by the process driver, the process delivers new operation information to the process management block. The message processing unit receives and analyzes the message and delivers the new operation information to the process state information collecting unit. . Then, the process state information collecting unit changes the information of the process shape / state information unit based on this.

프로세스 관리 블록(10) 내의 시스템 과부하 정보 수집부(15)는 시스템의 리소스 사용율에 대한 정보를 수집하여 시스템 과부하 여부를 감시하는 역할을 수행한다. 즉, 운영체제 내에 시스템 리소스 사용 정보 저장 공간에 저장되어 있는 정보와 프로세스 형상/상태 정보부에 기록되어 있는 정보와 관리 대상 프로세스들로부터 전달받은 리소스 사용 정보를 근거로 하여 시스템 과부하 여부를 감시하게 된다. 한편 상기 운영체제 내 시스템 리소스 사용 정보 저장 공간은 프로세스들이 사용하는 시스템 리소스를 실시간으로 관리하고 변경된 정보를 지속적으로 저장하는 공간으로서 동작 메모리, 메시지 큐, 공유 메모리, 세마포어 등의 시스템 리소스를 저장하게 되는데, 이 중 메시지 큐에 대한 정보를 상기 시스템 과부하 정보 수집부에서 읽어들여 시스템 과부하 여부를 감시하는 것이다. 상기 메시지 큐에 대한 정 보에는 프로세스에 할당된 메시지 큐 키, 운영체제가 메시지 큐 키에게 부여한 메시지 큐 아이디, 메시지 큐에 최종 메시지 수신 시간(R-time), 메시지 큐의 최종 메시지 송신 시간(S-time), 해당 메시지 큐에 메시지를 전송한 블록, 메시지 큐에 남은(수신하지 않은) 메시지 크기 및 개수, 메시지 큐의 사용자 정보 등이 해당하며, 운영체제 내부에 저장되는 리소스 사용 정보는 표 4과 같이 저장된다.The system overload information collecting unit 15 in the process management block 10 collects information on resource utilization rates of the system and monitors whether the system is overloaded. That is, system overload is monitored based on the information stored in the system resource usage information storage space in the operating system, the information recorded in the process shape / status information section, and the resource usage information received from the processes to be managed. Meanwhile, the system resource usage information storage space in the operating system is a space for managing system resources used by processes in real time and continuously storing changed information, and stores system resources such as an operation memory, a message queue, a shared memory, and a semaphore. Among them, information on the message queue is read by the system overload information collecting unit to monitor whether the system is overloaded. The information on 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 message reception time (R-time) in the message queue, and the last message transmission time (S-) of the message queue. time), the block that sent the message to the corresponding message queue, the size and number of messages remaining (not received) in the message queue, and the user information of the message queue.The resource usage information stored inside the operating system is shown in Table 4. Stored.

- 표 4 -Table 4

Queue IDQueue ID Queue KeyQueue Key Queue R-timeQueue R-time Queue S-timeQueue S-time Queue BytesQueue Bytes Queue NumberQueue Number 1  One 12  12 3002  3002 10:15:03 10:15:03 10:15:03 10:15:03 0   0 0   0 2  2 13  13 3003  3003 10:15:03 10:15:03 10:15:03 10:15:03 0   0 0   0 3  3 14  14 3004  3004 10:14:53 10:14:53 10:14:53 10:14:53 0   0 0   0 4  4 223  223 2000  2000 10:15:03 10:15:03 10:15:03 10:15:03 0   0 0   0 5  5 224  224 2001  2001 10:02:48 10:02:48 10:02:48 10:02:48 249   249 3   3 6  6 225  225 2002  2002 10:15:03 10:15:03 10:15:03 10:15:03 40   40 1   One 7  7 226  226 2003  2003 10:15:03 10:15:03 10:15:03 10:15:03 0   0 0   0 8  8 227  227 3000  3000 10:15:03 10:15:03 10:15:03 10:15:03 0   0 0   0 9  9 228  228 3001  3001 10:15:03 10:15:03 10:15:03 10:15:03 0   0 0   0 10  10 189  189 3005  3005 10:15:03 10:15:03 10:15:03 10:15:03 0   0 0   0 ...  ... ...  ... ...  ... ... ... ... ... ...   ... ...   ...

다음은, 상기의 프로세스 상태 관리 시스템의 구성요소들의 작용에 의하여 달성되는 본 발명인 HLR 시스템의 프로세스 상태 관리 방법에 관한 절차와 바람직할 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Next, a procedure and a preferred embodiment of a process state management method of an HLR system of the present invention, which is achieved by the operation of the components of the process state management system described above, will be described in detail with reference to the accompanying drawings.

첨부된 도 4 내지 도 7을 참조하여 본 발명인 HLR 시스템의 프로세스 상태 관리 방법에 관한 절차를 살펴보면 다음과 같다. 도 4는 본 발명인 프로세스 상태 관리 방법에 관한 절차도이고, 도 5는 본 발명의 일실시예인 프로세스 구동여부 판별에 따른 절차도이고, 도 6은 본 발명의 일실시예인 프로세스 정상 상태 판별에 따른 절차도이며, 도 7은 본 발명의 일실시예인 메시지 처리 방법에 관한 절차도이 다.Referring to the attached FIG. 4 to FIG. 7, the procedure regarding the process state management method of the present invention HLR system is as follows. 4 is a flowchart illustrating a method for managing a process state according to the present invention, FIG. 5 is a flowchart illustrating a process driving determination according to an embodiment of the present invention, and FIG. 6 is a procedure according to a process normal state determination according to an embodiment of the present invention. 7 is a flowchart illustrating a message processing method according to an embodiment of the present invention.

먼저, HLR 시스템의 프로세스들의 상태를 관리, 변경 또는 복구를 하기 위하여 HLR 시스템이 활성화되면 관리 대상 프로세스들의 상태 정보를 가지고 있는 프로세스 형상/상태 정보부를 초기화하는 동작을 수행한다. 즉, 초기 구동이 이루어지면 HLR 시스템 설계 시 미리 정의되어 외부 저장 장치에 저장된 HLR 내 응용 프로세스 형상 및 해당 프로세스 고유 값으로 정의된 프로세스 이름, 메시지 큐 키 값, 프로세스 버젼, 프로세스 구동 방식 등에 대한 정보를 읽어들여 내부의 프로세스 형상/상태 정보부에 저장을 한다(S10).First, when the HLR system is activated to manage, change, or recover the states of the processes of the HLR system, the process shape / state information unit having state information of the managed processes is initialized. That is, when the initial driving is performed, the information on the shape of the application process defined in the HLR system and stored in the external storage device and stored in the external storage device, and the process name, message queue key value, process version, and process driving method defined by the corresponding process unique value are displayed. The data is read and stored in the internal process shape / state information unit (S10).

상기 초기화 작업이 완료되면 상기 프로세스 형상/상태 정보부에 저장이 되어 있는 프로세스 리스트 내에 프로세스들이 모두 구동되고 있는지를 판단하여, 구동되지 않는 프로세스가 존재하는 경우에는 이들을 구동시키는 작업을 수행한다. 즉, 초기화 시 외부 저장 공간에 저장된 정보와 운영체제 내 구동 프로세스 상태 정보와 운영체제 내 시스템 리소스 사용 정보를 읽어들여 저장하고 있는 프로세스 형상/상태 정보부를 참조하여 프로세스 상태 정보 수집부는 구동되고 있지 않는 프로세스가 있는지 판단하여 구동되지 않는 프로세스가 있으면 프로세스 구동부를 통해 구동시킨다(S20). 앞에서 보여준 표 1을 보면 프로세스 이름이 BBB인 프로세스는 프로세스 ID가 없음을 확인할 수 있는데, 이는 프로세스 BBB가 구동되지 않는다는 것이므로 BBB 프로세스 구동을 위한 조치가 필요로 하는 것이다.When the initialization is completed, it is determined whether all the processes are driven in the process list stored in the process shape / state information unit, and if there are processes that are not driven, the process of driving them is performed. In other words, the process state information collecting unit reads information stored in the external storage space, operating process state information of the operating system, and system resource usage information of the operating system, and stores the process state information collecting unit if there is a process that is not running. If there is a process that is not determined and driven, the process is driven through the process driver (S20). Looking at Table 1 above, we can see that a process with a process name of BBB does not have a process ID, which means that process BBB is not running, so action is required to run the BBB process.

도 5를 참조하여 프로세스 구동여부 판단에 따른 구동 절차를 설명하면, 먼저 프로세스 상태 정보 수집부가 상태 정보를 수집을 실시한다(S21). 즉, 상태 정 보를 수집하여 시스템 내에 있는 관리 대상 프로세스임에도 불구하고 운영체제 내에서 부여하는 프로세스 ID가 없어 구동되고 있는 것이 아닌지 판단을 하는 것이다. 상기 수집된 정보를 근거로 하여 관리 대상 프로세스들의 고유 프로세스 아이디가 운영체제 내 구동 프로세스 리스트에 등록되어 있는지 확인을 한다(S22). 상기 확인 결과 구동 프로세스 리스트에 관리 대상 프로세스가 모두 등록되어 있는 경우에는 다음 절차인 프로세스들이 정상 상태에 있는지 판단을 하면 되고, 프로세스 리스트에 관리 대상 프로세스가 없는 경우에는 해당 프로세스를 프로세스 구동부를 통하여 구동시킨후 다음 절차인 프로세스 정상 상태 유무를 판단하면 된다(S23).Referring to FIG. 5, the driving procedure according to the process driving determination will be described. First, the process state information collecting unit collects state information (S21). That is, it collects state information and determines whether it is running because there is no process ID assigned in the operating system even though it is a managed process in the system. On the basis of the collected information, it is checked whether unique process IDs of the management target processes are registered in the operating process list in the operating system (S22). If all of the processes to be managed are registered in the driving process list as a result of the checking, it may be determined whether the processes, which are the next procedure, are in a normal state. After that, it may be determined whether a process is in a normal state (S23).

상기 구동되지 않는 프로세스를 구동시키는 절차가 완료되면, 구동되는 프로세스들이 정상 상태로 유지되는지 판단을 하여야 하고, 판단 결과 일정 시간 이상 비정상 상태인 경우에는 정상적으로 복구시켜 구동시키는 절차를 수행한다. 즉, 관리 대상 프로세스가 운영체제 내 구동 프로세스 리스트에 등록되어 있고, 이 정보를 읽어들인 프로세스 형상/상태 정보부에도 구동 프로세스 리스트에 등록되어 있을지라도 프로세스가 모두 정상 상태라고 할 수는 없으므로 정상 상태에 있는지 판단을 하여야 한다(S30). 앞에서 보여준 표 1을 보면 프로세스 BBB는 프로세스 상태가 SLEEP 또는 RUNNING이 아니고 NONE으로 되어 있어 비정상 상태에 있는 것임을 알 수 있어 이러한 상태가 일정 시간 이상 지속되는 경우에는 비정상 상태로 판단하고 해당 프로세스를 중단시킨 후 다시 재구동시키는 작업을 수행한다.When the procedure for driving the non-driven process is completed, it is necessary to determine whether the driven processes remain in a normal state. If the determination result is abnormal for more than a predetermined time, the procedure for restoring and driving normally is performed. In other words, even if the process to be managed is registered in the operating process list in the operating system and the process shape / status information unit which reads this information is also registered in the driving process list, it is not possible to say that all processes are in a normal state. Should be (S30). In Table 1, the process BBB knows that the process state is NONE, not SLEEP or RUNNING, and it is in an abnormal state. If this state persists for a certain time, it is considered abnormal and the process is stopped. Perform the operation of restarting again.

상기 프로세스 정상 상태 유무를 판단하여 해당 절차를 수행하는 단계를 첨 부된 도 6을 참조하여 설명하면, 먼저 구동 프로세스 상태를 주기적으로 확인하여 정상인가 확인을 한다(S31). 상기 확인 결과 정상 상태인 것으로 확인이 되면 비정상 상태 지속 카운터를 초기화를 수행한 후 다음 절차인 구동 프로세스들로부터 메시지를 수신하고(S32, S36), 구동 프로세스가 비정상 상태인 것으로 확인이 된 경우에는 비정상 상태 지속 카운터(특정 프로세스가 비정상 상태인 것으로 최종 판단하기 위한 카운터 값)를 증가시킨 후 카운터 값이 일정 값(비정상 상태로 최종 판단하는 카운터 값)을 초과하는지 판단을 하게 된다(S33, S34). 상기 판단 결과 카운터 값이 일정 값을 초과하는 경우에는 해당 프로세스가 비정상 상태인 것으로 최종 판단하여 해당 프로세스를 중단시킨 후 재구동시키는 절차를 수행한다(S35).The step of determining whether the process is in a normal state and performing the corresponding procedure will be described with reference to FIG. 6, which first checks the driving process state periodically to confirm whether it is normal (S31). If the check result is confirmed to be in a normal state, after initializing the abnormal state sustain counter and receiving a message from the driving process, the next procedure (S32, S36), if it is confirmed that the driving process is abnormal state is abnormal After increasing the state persistence counter (counter value for final determination that a specific process is abnormal), it is determined whether the counter value exceeds a predetermined value (counter value for final determination as an abnormal state) (S33 and S34). If the counter value exceeds the predetermined value as a result of the determination, the process is finally determined to be in an abnormal state, and the process is stopped and restarted (S35).

상기 구동 또는 재구동되는 프로세스들은 운영체제로부터 부여받은 고유 프로세스 아이디 및 고유 메시지 큐 아이디 등 프로세스 고유 운영 정보가 포함된 메시지를 메시지 처리부에 전달하고 메시지 처리부는 이 메지지를 분석하는 절차를 수행한다(S40).The driven or restarted processes transmit a message including process-specific operation information such as a unique process ID and a unique message queue ID received from an operating system to the message processing unit, and the message processing unit performs a procedure of analyzing the message (S40). ).

상기 메시지 수신 후 해당 메시지를 처리하기 전에 상태 확인 주기에 도달을 하였는지 판단을 하여, 상태 확인 주기에 도달하였으면 다시 프로세스 상태를 확인하여 구동되지 않는 프로세스가 있거나 비정상 상태의 프로세스가 있는 경우에는 구동 또는 중단/재구동 절차를 수행하고, 상태 확인 주기에 도달하지 않았으면 수신된 메시지를 처리하는 절차를 수행한다(S50, 560). 즉, 메시지 수신후 곧바로 메시지를 처리하는 것이 아니라, 실시간에 가까운 프로세스 상태 관리를 위하여 주기적으로 상태 확인을 위한 상태 확인 주기를 지정하고 이 주기기 도달하면 메시지 처리를 수행하지 않고 바로 프로세스 상태 확인으로 되돌아가서 프로세스 상태를 관리한다. 상기 메시지 처리는 프로세스에 대한 새로운 운영 정보가 있는 경우에는 이를 프로세스 상태 정보 수집부에 전달을 하게 되고, 이 새로운 정보는 프로세스 형상/상태 정보부에 반영하여 새로운 정보로 변경된다.After receiving the message, it is determined whether the status check cycle is reached before processing the message. If the status check cycle is reached, the process status is checked again to start or stop the process if there is a process that is not running or there is an abnormal process. / Perform a restart procedure, and if the status check cycle has not reached the procedure to process the received message (S50, 560). In other words, rather than processing the message immediately after receiving the message, the status check period for checking status is designated periodically for near-real-time process status management. When this period is reached, the process returns to process status checking without performing message processing. Go ahead and manage the process state. When there is new operation information on the process, the message processing is transferred to the process state information collecting unit, and the new information is changed to new information by reflecting the process shape / state information unit.

상기 메시지 처리 단계에 대해 첨부된 도 7을 참조하여 더 상세히 설명하면, 구동 프로세스로부터 메시지가 수신되고, 상태 확인 주기에 도달하지 않는 경우에는 메시지 처리 작업을 계속 수행하게 된다(S61). 상기 수신된 메시지는 메시지 처리부에 의해 분석이 되는데, 메시지 처리부는 수신된 메시지가 새로운 운영 정보에 대한 내용을 포함하고 있는지 판단을 하여 프로세스 ID와 같은 새로운 운영 정보가 있는 경우에는 이를 프로세스 상태 정보 수집부에 전달을 하게 된다(S62, S63). 그러면 상기 새로운 운용 정보를 전달받은 프로세스 상태 정보 수집부는 새로운 운영 정보를 가지고 프로세스 형상/상태 정보부에 해당 프로세스의 정보를 변경시킴에 따라 해당 프로세스의 상태를 관리 변경하는 것이다(S64).Referring to FIG. 7, the message processing step will be described in more detail. If a message is received from the driving process and the status check period is not reached, the message processing operation is continued (S61). The received message is analyzed by the message processing unit. The message processing unit determines whether the received message includes the contents of the new operation information, and if there is new operation information such as a process ID, the process state information collecting unit. It is delivered to (S62, S63). Then, the process state information collecting unit that has received the new operation information changes the state of the process as the process information is changed to the process shape / state information unit with the new operation information (S64).

상기와 같은 구성수단과 바람직한 실시예를 가지고 있는 본 발명인 HLR 시스템의 프로세스 상태 관리 시스템 및 그 방법에 의하면, 프로세스가 구동 될 때 운영체제로부터 부여되는 고유 정보를 이용하여 다중 프로세스 상태를 관리할 수 있어, 관리 대상 프로세스나 또는 HLR 시스템에 부하를 주지 않으면서 프로세스의 상태를 관리할 수 있는 장점이 있다.According to the process state management system and method of the present invention HLR system having the above configuration means and preferred embodiments, it is possible to manage the multi-process state by using the unique information provided from the operating system when the process is running, The advantage is that the state of the process can be managed without overloading the managed process or the HLR system.

즉, 운영체제가 동작 중인 프로세스에 부여하는 고유 정보를 이용하여 프로 세스 구동 상태를 확인, 실행이 중단되었거나 비정상 상태에 있는 프로세스를 중단/재구동 시키는 프로세스 관리 블록 내 프로세스 관리 기능에 대한 것으로 종래 관리 대상 프로세스들과 메시지를 주고 받음으로써 프로세스 상태를 파악하는 방식을 벗어나 시스템 리소스를 사용하지 않고 프로세스에게 부하를 주지않는 효과가 있다.That is, the process management function in the process management block that checks the process running state by using the unique information given to the running process by the operating system and stops / restarts the process in which the execution is stopped or abnormal. By sending and receiving messages to and from processes, you can get out of the way of knowing the state of a process and not load the process without using system resources.

또한, 프로세스의 존재 유무 및 시스템 리소스 사용 여부와 관계없이 프로세스 동작 상태를 운영체제로부터 얻어 프로세스 비정상 동작 여부까지 판별할 수 있는 효과가 있다.In addition, regardless of whether a process exists or whether system resources are used, a process operation state may be obtained from an operating system to determine whether a process abnormally operates.

Claims (10)

외부 저장 장치에 저장된 프로세스 형상 정보를 읽어 저장하고, 프로세스들의 상태를 반영하는 프로세스 형상/상태 정보부와;A process shape / state information unit for reading and storing process shape information stored in an external storage device and reflecting state of processes; 상기 프로세스들에 대한 상태 정보를 주기적으로 수집하여 프로세스를 관리하고, 상기 프로세스 형상/상태 정보부의 상태 정보를 변경하는 프로세스 상태 정보 수집부와;A process state information collecting unit which periodically collects state information about the processes to manage the process and change state information of the process shape / state information unit; 상기 프로세스 상태 정보 수집부의 명령에 따라 프로세스들을 구동하는 프로세스 구동부와;A process driver which drives the processes according to the command of the process state information collecting unit; 상기 프로세스들로부터 전달받은 메시지를 분석하여 새로운 운용 정보를 프로세스 상태 정보 수집부로 전달하는 메시지 처리부와;A message processor which analyzes the messages received from the processes and delivers new operation information to the process state information collector; 상기 프로세스들이 사용하는 시스템 리소스를 실시간으로 관리하고 변경된 정보를 일정공간에 저장하는 운영체제 내 저장공간으로부터 시스템 리소스 정보 중 메시지 큐에 대한 정보를 수집하여 시스템 과부하 여부를 감시하는 시스템 과부하 정보 수집부를 포함하여 이루어진 것을 특징으로 하는 HLR 시스템의 프로세스 상태 관리 시스템.Including a system overload information collection unit for managing the system resources used by the process in real time and collects information on the message queue of the system resource information from the storage space in the operating system for storing the changed information in a certain space to monitor whether the system is overloaded Process status management system of the HLR system, characterized in that made. 제1항에 있어서, 상기 프로세스 형상 정보는 소프트웨어의 목록, 소프트웨어 구동 시 사용하게 될 메시지 큐 키, HLR 시스템에서 자체적으로 소프트웨어를 인식할 프로세스 번호, 소프트웨어 버젼 등 HLR 서비스를 제공하기 위한 소프트웨어의 목록에 관한 정보를 저장하는 것을 특징으로 HLR 시스템의 프로세스 상태 관리 시스템.The method of claim 1, wherein the process shape information is included in a list of software for providing an HLR service, such as a list of software, a message queue key to be used when the software is running, a process number for recognizing the software by the HLR system, and a software version. Process status management system of the HLR system, characterized in that storing information about. 제1항에 있어서, 상기 프로세스 상태 정보 수집부는 프로세스 형상/상태 정보부에 저장된 정보와, 일정 공간에 파일 형식으로 현재 시스템 내부에서 동작 중인 운영 체제 내 구동 프로세스 정보 저장 공간에 저장된 프로세스의 정보를 읽어 들여 수집하는 것을 특징으로 하는 HLR 시스템의 프로세스 상태 관리 시스템.The method of claim 1, wherein the process state information collecting unit reads the information stored in the process shape / state information unit and the process information stored in the drive process information storage space of the operating system currently operating inside the system in a file format in a predetermined space. Process state management system of the HLR system, characterized in that the collection. 제3항에 있어서, 상기 운영 체제 내 구동 프로세스 정보 저장 공간에는 운영체제가 프로세스 구동 시 부여한 프로세스 아이디, 프로세스 이름, 프로세스 구동 시간, 프로세스 우선 순위, 프로세스 크기, 프로세스 동작 상태 등 프로세스 동작에 필요한 정보를 포함하여 저장되는 것을 특징으로 하는 HLR 시스템의 프로세스 상태 관리 시스템.The method of claim 3, wherein the operating process information storage space of the operating system includes information required for process operation, such as a process ID, a process name, a process running time, a process priority, a process size, a process operating state, etc. assigned by the operating system. Process status management system of the HLR system, characterized in that the storage. 삭제delete 삭제delete 이동통신망의 HLR 시스템의 활성화에 따라 관리 대상인 프로세스들의 상태를 관리, 복구하기 위해 프로세스 형상/상태 정보부를 초기화시키는 초기화단계와;An initialization step of initializing a process shape / status information unit for managing and restoring states of processes to be managed according to activation of an HLR system of a mobile communication network; 상기 프로세스 상태 정보 수집기가 상태 정보를 수집하는 단계와, 상기 수집된 상태 정보에 의해 프로세스 리스트에 관리 대상 프로세스가 모두 존재하는지 판단하는 단계와, 상기 단계중에 판단한 결과 존재 하지 않는 프로세스가 있는 경우 프로세스 구동기를 사용하여 해당 프로세스를 구동시키는 단계를 포함하는 비구동 프로세스 구동단계와;Collecting status information by the process state information collector; determining whether all of the processes to be managed are present in the process list based on the collected state information; and if there is a process that does not exist as a result of the determination during the process, the process driver A non-driven process driving step comprising driving a corresponding process using; 상기 구동되는 프로세스들이 정상 상태로 유지되는지 판단하고 일정 시간 이상 비정상 상태인 경우 정상 복구시켜 구동시키는 정상복구 구동단계와;A normal recovery driving step of determining whether the driven processes remain in a normal state and recovering the normal process when the abnormal state is abnormal for a predetermined time; 상기 구동된 프로세스들로부터 메시지 처리부가 메시지를 수신하는 단계와;Receiving, by a message processing unit, a message from the driven processes; 상기 메시지 수신 후, 상태 확인 주기에 도달하였는지 판단하여 도달하였으면 다시 프로세스 상태를 확인하고, 도달하지 않았으면 수신된 메시지를 처리하는 메시지 처리단계를 포함하여 이루어진 것을 특징으로 하는 HLR 시스템의 프로세스 상태 관리 방법.After receiving the message, it is determined whether the status check cycle has been reached, and if so, checks the process status again, and if it does not reach the process state management method of the HLR system, characterized in that it comprises a message processing step of processing the received message. . 삭제delete 제7항에 있어서, 상기 정상복구 구동단계에는 구동 프로세스 상태가 정상인지를 주기적으로 판단하는 단계와, 상기 단계중에 판단한 결과 정상인 경우 비정상 상태 지속 카운터를 초기화한 후 프로세스로부터 메시지를 수신하고, 비정상인 경우에는 비정상 상태 지속 카운터를 증가시킨 후 카운터 값이 일정 값을 초과하는지 판단하는 단계와, 상기 단계중에 판단한 결과 초과한 경우 해당 프로세스를 중단 후 재구동시키는 단계를 포함하여 이루어진 것을 특징으로 하는 HLR 시스템의 프로세스 상태 관리 방법.The method of claim 7, wherein the normal recovery driving step includes: periodically determining whether the driving process state is normal; if the determination result is normal, initializing an abnormal state sustain counter and receiving a message from the process. In the case of increasing the abnormal state persistence counter and determining whether the counter value exceeds a predetermined value, and if the result of the determination in the above step comprises the step of stopping and restarting the process after restarting the HLR system, characterized in that made Process status management 제7항에 있어서, 상기 메시지 처리 단계에는 프로세스들로부터 메시지를 수신받고 상태 확인 주기가 미도달된 것을 확인하는 단계와, 상기 수신받은 메시지를 메시지 처리부에서 분석하는 단계와, 상기 분석에 의하여 새로운 운영 정보가 발견된 경우에는 이를 프로세스 상태 정보 수집기에 전달하는 단계와, 상기 새로운 운용 정보를 가지고 프로세스 형상/상태 정보부의 정보를 변경시키는 단계를 포함하여 이루어진 것을 특징으로 하는 HLR 시스템의 프로세스 상태 관리 방법.The method of claim 7, wherein the processing of the message comprises: receiving a message from the processes and confirming that the status check period is not reached; analyzing the received message in a message processing unit; And when the information is found, transferring the information to the process state information collector, and changing the information of the process shape / state information unit with the new operation information.
KR1020030099204A 2003-12-29 2003-12-29 System and method for managing process status of the hlr system KR100606339B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030099204A KR100606339B1 (en) 2003-12-29 2003-12-29 System and method for managing process status of the hlr system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030099204A KR100606339B1 (en) 2003-12-29 2003-12-29 System and method for managing process status of the hlr system

Publications (2)

Publication Number Publication Date
KR20050070168A KR20050070168A (en) 2005-07-07
KR100606339B1 true KR100606339B1 (en) 2006-07-28

Family

ID=37260280

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030099204A KR100606339B1 (en) 2003-12-29 2003-12-29 System and method for managing process status of the hlr system

Country Status (1)

Country Link
KR (1) KR100606339B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174442B (en) * 2022-06-24 2024-04-05 硕橙(厦门)科技有限公司 Multi-mode process data transmission method and device

Also Published As

Publication number Publication date
KR20050070168A (en) 2005-07-07

Similar Documents

Publication Publication Date Title
US6904458B1 (en) System and method for remote management
JP4353005B2 (en) System switching method for clustered computer systems
US6502206B1 (en) Multi-processor switch and main processor switching method
JP2001101033A (en) Fault monitoring method for operating system and application program
US7428655B2 (en) Smart card for high-availability clustering
EP0409604A2 (en) Processing method by which continuous operation of communication control program is obtained
JP2010160660A (en) Network interface, computer system, operation method therefor, and program
KR100857036B1 (en) Method and apparatus for recovering the fault using the transaction log file in the charging system
JP5625605B2 (en) OS operation state confirmation system, device to be confirmed, OS operation state confirmation device, OS operation state confirmation method, and program
KR100606339B1 (en) System and method for managing process status of the hlr system
CN113542001B (en) OSD (on-screen display) fault heartbeat detection method, device, equipment and storage medium
US7359833B2 (en) Information processing system and method
KR100784595B1 (en) Method for Managing Process State in Mobile Communication System
US11812487B2 (en) Method, device, extender, and computer medium for automatically restoring connection
JP2001331330A (en) Process abnormality detection and restoration system
KR100462986B1 (en) Process State Management Method Using Peculiar Process Information
KR100270918B1 (en) Method for process management in mobile communication hlr system
JP3691272B2 (en) Distributed processing system and failure analysis information storage method
CN116996505B (en) File exchange control method and system based on scheduling engine
CN117593172B (en) Process management method, device, medium and equipment
JPH10171769A (en) Composite computer system
KR100428765B1 (en) Management information transmitting system and method in asynchronous transfer mode
CN112532525B (en) Processing method, device and system for equipment recovery service
CN114553900B (en) Distributed block storage management system, method and electronic equipment
JP2003036210A (en) Agent program monitoring method, agent program monitoring system and agent monitoring 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: 20130617

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140616

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150615

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee