KR19990052721A - Process Monitoring Method in Electronic Switching System - Google Patents

Process Monitoring Method in Electronic Switching System Download PDF

Info

Publication number
KR19990052721A
KR19990052721A KR1019970072252A KR19970072252A KR19990052721A KR 19990052721 A KR19990052721 A KR 19990052721A KR 1019970072252 A KR1019970072252 A KR 1019970072252A KR 19970072252 A KR19970072252 A KR 19970072252A KR 19990052721 A KR19990052721 A KR 19990052721A
Authority
KR
South Korea
Prior art keywords
operating system
status
state
type
restarting
Prior art date
Application number
KR1019970072252A
Other languages
Korean (ko)
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 KR1019970072252A priority Critical patent/KR19990052721A/en
Publication of KR19990052721A publication Critical patent/KR19990052721A/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

본 발명은 전전자 교환기에 있어서 프로세스들의 상태를 감시하여 프로세스의 타입에 따라 재기동 등 적절한 조치를 취할 수 있게 하는 프로세스 감시방법에 관한 것이다.The present invention relates to a process monitoring method that monitors the state of processes in an electronic switchboard and takes appropriate measures such as restarting according to the type of process.

이러한 본 발명은 운영체계로부터 프로세스 어보트가 수신되면 장애 발생을 운용자에게 알리는 단계; 운영체계에 해당 프로세스의 상태를 질의하는 단계; 운영체계로부터 해당 프로세스의 상태에 대한 응답이 수신되면, 프로세스 번호를 추출하고 해당 프로세스의 타입을 판별하는 단계; 및 판별된 프로세스의 타입에 따라 조치를 취하는 단계를 포함한다.The present invention comprises the steps of notifying the operator of the occurrence of a failure when the process abbot from the operating system; Querying the operating system for the status of the process; If a response to the status of the process is received from the operating system, extracting a process number and determining the type of the process; And taking an action according to the type of the determined process.

따라서, 본 발명은 프로세스들의 상태를 감시하다가 임의의 프로세스가 어보트되면 해당 프로세스의 관련정도에 따라 해당되는 부분만 재시동하므로써 프로세스 복구시간을 단축할 수 있다Therefore, the present invention can reduce the process recovery time by monitoring only the state of the processes and restarting only the corresponding parts according to the related degree of the process when any process is aborted.

Description

전전자 교환기에 있어서 프로세스 감시방법(Method of monitoring processes in electric switching system)Method of monitoring processes in electric switching system

본 발명은 전전자 교환기에 있어서 프로세스들의 상태를 감시하는 방법에 관한 것으로 특히, 프로세스의 타입에 따라 재기동 등 적절한 조치를 취할 수 있게 하는 프로세스 감시방법에 관한 것이다.The present invention relates to a method for monitoring the status of processes in an electronic switchboard, and more particularly, to a process monitoring method that enables to take appropriate measures such as restarting according to the type of process.

일반적으로 전전자교환기에서 운용되는 소프트웨어는 호처리관련 프로그램과 운용 및 유지보수관련 프로그램으로 구분되는데, 운용 및 유지보수 관련 프로그램은 통계, HMI, 과금, 시각관리, 입출력 유지보수, 스위치 유지보수, 가입자 유지보수, 프로세서 유지보수, 경보관리, 형상관리 프로그램등으로 이루어진다.In general, the software operated at the electronic switchgear is divided into call processing related programs and operation and maintenance related programs. The operation and maintenance related programs include statistics, HMI, billing, time management, I / O maintenance, switch maintenance, and subscribers. It consists of maintenance, processor maintenance, alarm management and configuration management program.

이러한 전전자 교환기의 소프트웨어는 각 프로세서들에 탑재되어 운영체계에 의해 프로세스(process)라는 단위로 수행된다. 그리고 프로세스의 처리상태는 소프트웨어의 처리상태를 의미하며, 이는 결국 소프트웨어가 처리하는 기능의 수행과 밀접한 관계가 있다. 예컨대, 교환기의 프로세서 계통을 간략히 살펴보면, 운용 및 유지보수 프로세서(OMP)와 주변 프로세서(PP) 등으로 구분되어 분산환경에서 각자 자신의 운영체계(OS) 상에 각 기능의 프로세스를 활성화시켜 전체적으로 교환기능을 달성하게 된다.The software of such an electronic switch is mounted on each processor and executed by the operating system in a unit called process. In addition, the processing state of the process refers to the processing state of the software, which is closely related to the performance of the functions processed by the software. For example, the processor system of the exchange can be briefly divided into an operation and maintenance processor (OMP) and a peripheral processor (PP), and each process is activated on its own operating system (OS) in a distributed environment. Function.

한편, 이러한 프로세스는 여러 가지 이유에 의해 정상적으로 처리되지 않고 소멸하거나 처리 불능상태로 빠질 수도 있다. 이러한 프로세스의 비정상 상태로의 천이는 프로세스의 성격에 따라 치명적인 장애가 될 수도 있으며, 이로 인해 서비스의 전면적인 중단도 가능하다.On the other hand, such a process may not be processed normally for a variety of reasons, but may disappear or fall into an unprocessable state. This transition to an abnormal state can be a catastrophic failure, depending on the nature of the process, which can lead to a complete disruption of service.

그런데, 종래의 전전자 교환기술에서는 이러한 프로세스들의 상태를 감시하기 위한 기능이 없었으므로, 소프트웨어 문제 발생시 해당 프로세스를 단순히 소멸시키거나 장애가 심각한 경우 해당 프로세서를 재시동(리셋)시키는 방법에 의해 정상상태로 복구하였다. 이러한 종래의 소프트웨어 트러블 해소방법은 복구에 시간이 많이 소요되고, 장애가 발생된 프로세스를 찾기도 어려운 문제점이 있었다.However, in the conventional electronic switching technology, there is no function for monitoring the status of these processes, so when a software problem occurs, the process is restored to a normal state by simply destroying the process or restarting the processor in case of serious failure. It was. The conventional software trouble shooting method has a problem that it takes a long time to recover, and it is difficult to find a process in which a failure occurs.

본 발명은 상기와 같은 문제점을 해소하기 위하여 전전자 교환기에서 소프트웨어 장애로 인해 프로세스에 장애가 발생할 경우 이를 검출 및 보고하고, 해당 프로세스의 기능에 따라 소멸, 복구, 로딩 등의 방법으로 신속히 복구할 수 있도록 하는 전전자 교환기에 있어서 프로세스 감시방법을 제공하는데 그 목적이 있다.In order to solve the above problems, the present invention detects and reports a failure in a process due to a software failure in the electronic switchboard, and quickly recovers by a method such as extinction, recovery, and loading according to the function of the process. The purpose of the present invention is to provide a process monitoring method in an electronic exchange.

상기와 같은 목적을 달성하기 위하여 본 발명은, 다수개의 프로세서가 분산되어 있고, 각 프로세서 상에는 운영체계(OS)가 수행되고 있으며, 상기 운영체계(OS)에 의해 생성된 다수의 프로세스들이 각 기능들을 수행하여 전체적으로 교환기의 기능을 달성할 수 있도록 된 전전자 교환기에 있어서, 상기 운영체계로부터 프로세스 어보트가 수신되면 장애 발생을 운용자에게 알리는 단계; 상기 운영체계에 해당 프로세스의 상태를 질의하는 단계; 상기 운영체계로부터 해당 프로세스의 상태에 대한 응답이 수신되면, 프로세스 번호를 추출하고 해당 프로세스의 타입을 판별하는 단계; 및 상기 판별된 프로세스의 타입에 따라 조치를 취하는 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, in the present invention, a plurality of processors are distributed, an operating system (OS) is performed on each processor, and a plurality of processes generated by the operating system (OS) are configured to perform respective functions. An electronic switching system, which is capable of performing a function of an exchange as a whole, comprising: informing an operator of a failure when a process abbot is received from the operating system; Querying the operating system for the status of the process; If a response to the status of the process is received from the operating system, extracting a process number and determining a type of the process; And taking an action according to the type of the determined process.

도 1은 전전자 교환기에 있어서 본 발명이 적용되는 프로세스 구조를 도시한 도면,1 is a diagram showing a process structure to which the present invention is applied in an electronic exchanger;

도 2는 본 발명에 따른 프로세스 감시방법의 흐름을 도시한 흐름도이다.2 is a flowchart illustrating a process monitoring method according to the present invention.

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

101∼104: 프로세스 110: 운영체계101-104 process 110: operating system

120: 프로세서 하드웨어 130: 프로세스 감시기능모듈120: processor hardware 130: process monitoring module

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 자세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 전전자 교환기에 있어서 본 발명이 적용되는 프로세스 구조를 도시한 도면이고, 도 2는 본 발명에 따른 프로세스 감시방법의 흐름을 도시한 흐름도이다.1 is a diagram illustrating a process structure to which the present invention is applied in an electronic switch, and FIG. 2 is a flowchart illustrating a process monitoring method according to the present invention.

먼저, 프로세스가 운용되는 하드웨어인 프로세서의 유지보수 동작을 간략히 설명하면, 프로세서의 유지보수는 크게 프로세서 상태관리 부분과 로딩 및 회복 부분으로 나누어진다. 프로세서 상태관리는 프로세서 상태를 감시하여 프로세서의 재시동 및 모드 변경을 수행하고, 프로세서의 형상을 알려준다. 로딩 및 회복은 시스템 설치시 프로세서에 전원이 공급된 상태에서 정상적인 수행상태로 천이될 때까지 초기 로딩과정을 관리하고, 시스템이 정상 운용중 각종 하드웨어 장애나 소프트웨어 장애로 기능이 수행되지 못할 때 다시 정상 상태로 회복하는 기능을 수행한다.First, the maintenance operation of the processor, which is hardware in which the process is operated, will be briefly described. The maintenance of the processor is largely divided into a processor state management part and a loading and recovery part. Processor state management monitors processor state, restarts and modifies the processor, and informs the processor's geometry. Loading and recovery manages the initial loading process until the system transitions from the powered state to the normal execution state when the system is installed, and resumes normal operation when the system fails to perform due to various hardware or software failures during normal operation. Perform a function to recover to a state.

이와 같이 하드웨어인 프로세서의 상태를 감시하는 프로세스들은 종래에도 있었으나 프로세서에서 운용되는 프로세스들의 상태를 감시하는 프로그램은 없었다.As such, processes for monitoring the state of a hardware processor have been conventionally known, but no program monitors the state of processes running on the processor.

도 1을 참조하면, 프로세서 하드웨어(120) 상에 운영체계(OS:110)가 수행되고, 운영체계 상에 많은 프로세스들(101~104)이 수행되고 있다. 각 프로세스들은 운영체계의 프로세스 메니져(110)에 의해 생성 및 소멸되는데, 본 발명에 따른 프로세스 감시 프로그램(PSMF:130)은 운영체계(110)와 상호 협력하여 프로세스들의 상태를 감시하고 있다.Referring to FIG. 1, an operating system (OS) 110 is performed on the processor hardware 120, and many processes 101 to 104 are performed on the operating system. Each process is created and destroyed by the process manager 110 of the operating system. The process monitoring program (PSMF) 130 according to the present invention monitors the status of processes in cooperation with the operating system 110.

즉, 프로세스 감시 프로그램(130)이 운영체계에 상태요구신호(status req)를 보내면 운영체계(110)는 해당 프로세스의 상태를 체크하여, 그 결과(status rep)를 알려준다. 각 프로세스들(101~104)은 생성(create)된 후 활성화(active) 상태에서 특정한 기능들을 수행하고, 대기(wait) 상태에서 이벤트의 발생을 대기하고, 일시적으로 슬립(sleep)상태에 빠지거나 완전히 소멸 상태에 빠지기도 한다.That is, when the process monitoring program 130 sends a status request signal (status req) to the operating system, the operating system 110 checks the status of the process, and informs the result (status rep). Each process 101-104 is created and then performs certain functions in the active state, waits for the occurrence of an event in the wait state, temporarily goes to sleep, or It can be completely destroyed.

프로세스는 초기 생성시 운영체계에 의해 할당된 프로세스 번호를 가지고 있는데, 이 프로세스번호를 매개하여 정상상태에서는 해당 프로세스의 상태를 주기적으로 감시하고, 비정상상태로 천이시에는 이를 검출하여 보고한다.The process has a process number assigned by the operating system at the time of initial creation.It monitors the status of the process periodically in the normal state through this process number and detects and reports it when it transitions to an abnormal state.

본 발명에 따라 프로세스들의 상태를 감시하는 프로세스는 도 2에 도시된 바와 같이, 단계 201 내지 단계 212로 구성되어 프로세스 타입에 따라 적절한 방식으로 복구한다.The process of monitoring the status of processes in accordance with the present invention consists of steps 201 to 212, as shown in FIG. 2, to recover in an appropriate manner depending on the process type.

본 발명에 따라 프로세스를 관리하기 위하여 다음 표 1과 같이 프로세스 상태 테이블을 이용한다.In order to manage the process according to the present invention, a process state table is used as shown in Table 1 below.

블록 명칭Block name 프로세스 번호Process number 등급Rating 관련블록의 명칭Name of related block ------------ 12435671243567 매우 중요Very important ASTF, DTIFASTF, DTIF ------------ 13456011345601 중요important self 블록self block ---------- 12455661245566 보통usually self 프로세스self process

상기 표 1에서와 같이 프로세스의 상태는 블록 명칭, 프로세스 번호, 등급 등으로 구분되어 데이터 베이스상에 관리되는데, 해당 프로세스가 다른 블록들과 관련되는 프로세스는 매우 중요한 등급(critical)이고, 자신의 블록에만 해당되는 프로세스는 중요한 등급(major)이며, 자신의 프로세스만 해당되는 경우에는 보통인 등급(minor)으로 구분된다.As shown in Table 1, the state of a process is divided into block names, process numbers, and grades, and managed on a database. Processes in which the process is associated with other blocks are critical, and their own blocks Processes that are specific to this are important majors, and if only your own process is applicable, they are divided into ordinary minors.

도 2를 참조하면, 단계 201에서 운영체계로부터 프로세스 어보트가 수신되면 단계 202에서 운용자에게 장애를 보고한다. 이어 단계 203에서 운영체계에 프로세스의 상태를 질의하고, 응답을 대기한다. 단계 204에서 프로세스의 상태에 대한 응답이 운영체계로부터 수신되면, 단계 205에서 프로세스를 정의하는 프로세스번호(process ID)를 추출한다. 단계 206에서는 해당 프로세스 번호의 프로세스 타입을 독출하여, 단계207에서 프로세스 타입에 따라 적절한 조치를 취한다.Referring to FIG. 2, when a process abort is received from the operating system in step 201, a failure is reported to the operator in step 202. In step 203, the operating system is queried for the status of the process and waits for a response. If in step 204 a response to the status of the process is received from the operating system, in step 205 a process number (process ID) defining the process is extracted. In step 206, the process type of the corresponding process number is read out, and in step 207, appropriate measures are taken according to the process type.

예컨대, 해당 프로세스 타입이 불필요한 프로세스이면 아무런 조치를 취하지 않고(208), 해당 프로세스에 관련되면 해당 프로세스를 다시 시동한다(209). 만일 해당 프로세스가 동일 블록에 관련될 경우 그 블록을 재시동하고(210), 해당 프로세스가 다른 블록에 관련된 경우에는 관련된 다른 블록도 재시동한다(211). 만일 해당 프로세스가 모든 블록에 관련되면 해당 프로세서를 리셋하여 전체 프로세스를 재기동한다(212).For example, if the process type is an unnecessary process, no action is taken (208), and if related to the process, the process is restarted (209). If the process is related to the same block, the block is restarted (210). If the process is related to another block, another related block is restarted (211). If the process is related to all blocks, the processor is reset to restart the entire process (212).

이와 같이 장애가 발생된 프로세스의 관련정도에 따라 해당되는 부분만 재시동하므로써 전체적으로 프로세스의 복구시간을 단축할 수 있다.In this way, the recovery time of the process can be shortened by restarting only the relevant parts depending on the degree of relevance of the failed process.

이상에서 살펴본 바와 같이, 본 발명은 프로세스들의 상태를 감시하다가 임의의 프로세스가 어보트되면 해당 프로세스의 관련정도에 따라 해당되는 부분만 재시동하므로써 프로세스 복구시간을 단축할 수 있다As described above, the present invention can reduce the process recovery time by monitoring only the state of the processes and restarting only the corresponding parts according to the related degree of the process when any process is aborted.

Claims (2)

다수개의 프로세서가 분산되어 있고, 각 프로세서 상에는 운영체계(OS)가 수행되고 있으며, 상기 운영체계(OS)에 의해 생성된 다수의 프로세스들이 각 기능들을 수행하여 전체적으로 교환기의 기능을 달성할 수 있도록 된 전전자 교환기에 있어서,A plurality of processors are distributed, an operating system (OS) is running on each processor, and a plurality of processes generated by the operating system (OS) can perform each function to achieve the function of the exchange as a whole. In the electronic exchanger, 상기 운영체계로부터 프로세스 어보트가 수신되면 장애 발생을 운용자에게 알리는 단계;Notifying an operator of a failure when a process abbot is received from the operating system; 상기 운영체계에 해당 프로세스의 상태를 질의하는 단계;Querying the operating system for the status of the process; 상기 운영체계로부터 해당 프로세스의 상태에 대한 응답이 수신되면, 프로세스 번호를 추출하고 해당 프로세스의 타입을 판별하는 단계; 및If a response to the status of the process is received from the operating system, extracting a process number and determining a type of the process; And 상기 판별된 프로세스의 타입에 따라 조치를 취하는 단계를 포함하는 것을 특징으로 하는 전전자 교환기에 있어서 프로세스 감시방법.And taking an action according to the type of the determined process. 제1항에 있어서, 상기 조치를 취하는 단계는 해당 프로세스가 자신에만 한정될 경우 해당 프로세스를 재시동하는 단계; 해당 프로세스가 동일 블록에만 관련되면 그 블록만 재시동하는 단계; 해당 프로세스가 다른 블록에도 관련되면, 관련 블록들도 재시동하는 단계를 포함하는 것을 특징으로 하는 전전자 교환기에 있어서 프로세스 감시방법.The method of claim 1, wherein the taking of the action further comprises: restarting the process if the process is limited to itself; Restarting only the block if the process is related to the same block only; If the process is related to another block, then restarting the related blocks.
KR1019970072252A 1997-12-23 1997-12-23 Process Monitoring Method in Electronic Switching System KR19990052721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970072252A KR19990052721A (en) 1997-12-23 1997-12-23 Process Monitoring Method in Electronic Switching System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970072252A KR19990052721A (en) 1997-12-23 1997-12-23 Process Monitoring Method in Electronic Switching System

Publications (1)

Publication Number Publication Date
KR19990052721A true KR19990052721A (en) 1999-07-15

Family

ID=66098964

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970072252A KR19990052721A (en) 1997-12-23 1997-12-23 Process Monitoring Method in Electronic Switching System

Country Status (1)

Country Link
KR (1) KR19990052721A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010003096A (en) * 1999-06-21 2001-01-15 김영환 Process pending monitoring method of mobile communication system
KR100671684B1 (en) * 1999-12-30 2007-01-18 주식회사 케이티 Method for monitoring process and data using data intermediary server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010003096A (en) * 1999-06-21 2001-01-15 김영환 Process pending monitoring method of mobile communication system
KR100671684B1 (en) * 1999-12-30 2007-01-18 주식회사 케이티 Method for monitoring process and data using data intermediary server

Similar Documents

Publication Publication Date Title
US6502206B1 (en) Multi-processor switch and main processor switching method
US6622261B1 (en) Process pair protection for complex applications
US6859889B2 (en) Backup system and method for distributed systems
US7730029B2 (en) System and method of fault tolerant reconciliation for control card redundancy
CN110618864A (en) Interrupt task recovery method and device
JPH10214208A (en) System for monitoring abnormality of software
KR19990052721A (en) Process Monitoring Method in Electronic Switching System
KR0133337B1 (en) Tarket system control
KR100832890B1 (en) Process obstacle lookout method and recovery method for information communication
JP3325785B2 (en) Computer failure detection and recovery method
CN112612652A (en) Distributed storage system abnormal node restarting method and system
CN112148535A (en) Rack-type equipment double-monitoring system
KR100328758B1 (en) Method for protection switching of SDH optical transmission equipment by using FSM
JP3183227B2 (en) Redundant startup method
KR100256561B1 (en) Method for processor fault information save/confirmation
JP2500745B2 (en) Service control node
KR100206472B1 (en) Error manage & recover method of switching system
KR20020090511A (en) Device and method for checking operation process status in mobile communication system
JPH0668034A (en) Online system monitor system
KR100309678B1 (en) Process Monitoring and Failure Recovery
JP2000163655A (en) Commodity sales data processing system
JP2677240B2 (en) Automatic restart processor for AIN system
JP2000207237A (en) Check system for dual-computer hardware constitution and hardware checking method
KR19990070727A (en) How to recover software failure of home location register
JP2513122B2 (en) Hot standby switching system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application