KR20020085216A - Apparatus and Method for Management of Database State in Switching System - Google Patents

Apparatus and Method for Management of Database State in Switching System Download PDF

Info

Publication number
KR20020085216A
KR20020085216A KR1020010024612A KR20010024612A KR20020085216A KR 20020085216 A KR20020085216 A KR 20020085216A KR 1020010024612 A KR1020010024612 A KR 1020010024612A KR 20010024612 A KR20010024612 A KR 20010024612A KR 20020085216 A KR20020085216 A KR 20020085216A
Authority
KR
South Korea
Prior art keywords
state
database
request signal
current
status
Prior art date
Application number
KR1020010024612A
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 KR1020010024612A priority Critical patent/KR20020085216A/en
Publication of KR20020085216A publication Critical patent/KR20020085216A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/26Arrangements for supervision, monitoring or testing with means for applying test signals or for measuring
    • H04M3/28Automatic routine testing ; Fault testing; Installation testing; Test methods, test equipment or test arrangements therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/05Aspects of automatic or semi-automatic exchanges related to OAM&P
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/55Aspects of automatic or semi-automatic exchanges related to network data storage and management
    • H04M2203/558Databases

Abstract

PURPOSE: An apparatus and a method for managing the state of a DB(DataBase) in an exchange are provided to periodically manage the state of a database so that a DB state can be periodically outputted to a system operator, even though a DB state confirmation request from the system operator is not generated. CONSTITUTION: A DB state management part stores a DB state, received from a DB, in a memory part(S41). At the same time, the DB state management part registers and activates a timer(S42). Then the DB state management part initializes values of T1 and T2, inputted from a system operator(S43). If a DB state confirmation request signal is received from the system operator(S44,S45), the DB state management part transmits a DB state request signal to the DB and receives the present state of the DB(S46). At this moment, the DB state management part judges whether the present DB state has been received according to an operator confirmation request signal or a periodical update request signal(S47). In case that the present DB state has been received according to the operator confirmation request signal, the DB state management part outputs the present DB state through an operator terminal(S51).

Description

교환기에서 데이터 베이스 상태 관리 장치 및 방법{Apparatus and Method for Management of Database State in Switching System}Apparatus and Method for Management of Database State in Switching System

본 발명은 교환기에서 데이터 베이스 상태 관리 장치 및 방법에 관한 것으로 특히, 데이터 베이스의 상태를 주기적으로 관리하여 데이터 베이스의 현재 상태를 출력함은 물론, 데이터 베이스에 문제가 발생하는 경우 이를 자동으로 수정하기 위한 교환기에서 데이터 베이스 상태 관리 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for managing a database state in an exchange, and in particular, to periodically manage the state of the database to output the current state of the database, as well as to automatically correct it when a problem occurs in the database. An apparatus and method for database state management in an exchange for

도 1은 종래에 교환기 내에서 운용되는 데이터 베이스(DB ; Database)에 관한 일련의 운용 및 유지, 보수 등의 관리 기능을 수행하기 위한 시스템 구성도로서, 운용자 단말(10)과, DB 상태 처리부(12a)를 구비하고 있는 시스템 관리 프로세서(SMP ; System Management Processor)(12)와, 관리 대상인 DB(14)를 포함하여 이루어진다.1 is a system configuration diagram for performing a series of management functions, such as operation, maintenance, and maintenance of a database (DB; Database) that is conventionally operated in an exchange, including an operator terminal 10 and a DB state processing unit ( A system management processor (SMP) 12 having 12a) and a DB 14 to be managed are included.

여기서, 상기 SMP(12)는 교환기 내에 구비된 프로세서와 DB 등의 운용 및 유지, 보수와 관련된 관리 기능을 수행하는 메인 프로세서(Main Processor)이고, 상기 운용자 단말(10)은 SMP(12)와 시스템 운용자 사이의 인터페이스를 제공한다. 그리고, SMP(12) 내에 구비되어 있는 DB 상태 처리부(12a)는 SMP(12)의 제어에 따라 DB(14)의 상태를 운용자 단말(10)을 통해 출력하는 기능을 수행한다.Here, the SMP 12 is a main processor that performs management functions related to the operation, maintenance, and maintenance of the processor and the DB provided in the exchange, and the operator terminal 10 is the SMP 12 and the system. Provides an interface between operators. Then, the DB state processing unit 12a provided in the SMP 12 performs a function of outputting the state of the DB 14 through the operator terminal 10 under the control of the SMP 12.

이와 같이 구성된 종래의 DB 관리 시스템의 동작 과정을 도 2에 도시된 흐름도를 참조하여 상세히 설명한다.An operation process of the conventional DB management system configured as described above will be described in detail with reference to the flowchart shown in FIG. 2.

먼저, 시스템 운용자가 DB(14)의 상태를 확인하기 위해 운용자 단말(10)을 통해 SMP(12)에게 DB 상태를 확인할 것을 요청하는 신호를 전송하면, SMP(12)는 상기 DB 상태 확인 요청 신호를 수신하여(S21), DB 상태 처리부(12a)를 제어해서 DB(14)에게 DB(14)의 현재 상태를 요구하는 DB 상태 요구 신호를 전송한다(S22). DB(14)가 상기 DB 상태 요구 신호에 따라 자신의 현재 상태를 DB 상태 처리부(12a)로 전송하면, DB 상태 처리부(12a)는 이를 수신하여 운용자 단말(10)을 통해 DB(14)의 현재 DB 상태를 운용자 단말을 통해 출력한다(S23). 시스템 운용자는 운용자 단말(10)을 통해 출력된 상기 DB 상태를 확인하여 DB(14)의 현재 상태에서 필요한 조치를 취하게 된다. 여기서, 상기 DB 상태란, DB(14)에 저장되어 있는 데이터를 판독(Read)할 수 있지만 DB(14)에 데이터를 기록(Write)하는 것은 금지된 상태인 '기록 금지 상태'와, DB(14)에 저장되어 있는 데이터를 판독할 수 있을 뿐만 아니라 DB(14)에 새로운 데이터를 기록하는 것도 허용하는 상태인 '기록 허용 상태'를 의미한다.First, when the system operator transmits a signal requesting the SMP 12 to check the DB status through the operator terminal 10 to check the status of the DB 14, the SMP 12 is the DB status check request signal (S21), the DB state processor 12a is controlled to transmit the DB state request signal for requesting the current state of the DB 14 to the DB 14 (S22). When the DB 14 transmits its current state to the DB state processing unit 12a according to the DB state request signal, the DB state processing unit 12a receives it and the current state of the DB 14 through the operator terminal 10. Outputs the DB status through the operator terminal (S23). The system operator checks the DB state output through the operator terminal 10 and takes necessary measures in the current state of the DB 14. Here, the DB state is a "write prohibited state" and DB (which can read data stored in the DB 14, but write data to the DB 14 is prohibited). It means a 'write allowed state', which is a state that not only can read data stored in 14) but also write new data to the DB 14.

전술한 종래의 DB 상태 관리 방법은 다음과 같은 문제점이 있다.The conventional DB state management method described above has the following problems.

즉, 종래에는 시스템 운용자의 요청이 있는 경우에만 수동적으로 데이터 베이스의 상태를 출력하기 때문에 만일, 데이터 베이스에 문제가 발생한 경우, 시스템 운용자가 직접 이를 확인하여 수정하지 못하면 교환기 운용에 치명적인 악영향을 미칠 수 있으며, 교환기 운용 중에 데이터 베이스가 기록 금지 상태를 유지해야 하는 특수한 상황이 아닌 경우에도 데이터 베이스의 상태가 장시간 동안 기록 금지 상태를 유지하는 경우, 교환기를 운용하는 프로그램 블록들이 데이터 베이스에 새로운 데이터를 기록할 수 없기 때문에 프로그램 블록에 자체 오류가 발생할 수 있으며 또한, 계속적인 데이터 베이스에의 기록 시도로 인해서 교환기의 성능 및 기능의 저하를 초래하여 교환기의 운용에 치명적인 악영향을 미칠 수 있는 문제점이 있었다.That is, conventionally, the status of the database is manually output only when requested by the system operator. If a problem occurs in the database, if the system operator cannot check and correct it directly, the operation of the exchange may be fatal. If the state of the database remains in the prohibition state for a long time even when the database is not in a special situation in which the database should remain in the prohibition state during the operation of the exchange, the program blocks operating the exchange record new data in the database. Since it is impossible to do so, a program error may occur in the program block, and the continuous attempt to write to the database may cause a deterioration in performance and function of the exchange, thereby causing a fatal adverse effect on the operation of the exchange.

본 발명은 전술한 바와 같은 문제점을 해결하기 위한 것으로 그 목적은, 데이터 베이스의 상태를 주기적으로 관리하여 시스템 운용자의 데이터 베이스 상태확인 요청이 없는 경우에도 데이터 베이스 상태를 시스템 운용자에게 주기적으로 출력해 줄 뿐만 아니라, 데이터 베이스의 기록 금지 상태가 일정 시간 이상 유지되어 문제가 발생하는 경우, 이를 자동으로 수정할 수 있도록 하는 데 있다.The present invention is to solve the problems as described above, the purpose is to periodically manage the state of the database to output the database state to the system operator periodically even if there is no request to check the database state of the system operator In addition, if a problem occurs because the write-protection state of the database is maintained for a certain time, it is possible to automatically correct it.

도 1은 종래의 데이터 베이스 상태 관리 시스템을 도시한 블록도.1 is a block diagram showing a conventional database state management system.

도 2는 종래의 데이터 베이스 상태 관리 방법을 도시한 흐름도.2 is a flowchart illustrating a conventional database state management method.

도 3은 본 발명에 따른 데이터 베이스 상태 관리 시스템을 도시한 블록도.3 is a block diagram illustrating a database state management system in accordance with the present invention.

도 4는 본 발명에 따른 데이터 베이스 상태 관리 방법을 도시한 흐름도.4 is a flowchart illustrating a database state management method according to the present invention.

도 5는 본 발명에 따른 데이터 베이스 상태 감사 방법을 도시한 흐름도.5 is a flow chart illustrating a database state audit method in accordance with the present invention.

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

300 : 시스템 관리 프로세서 32 : 타이머300: system management processor 32: timer

34 : 데이터 베이스 상태 관리부 36 : 메모리부34: database state management unit 36: memory unit

38 : 운용자 단말 40 : 데이터 베이스38: operator terminal 40: database

상기와 같은 목적을 달성하기 위한 본 발명의 특징은, 일정한 시간이 경과할 때마다 데이터 베이스의 상태를 확인하도록 요청하는 주기적 갱신 요구 신호를 전송하기 위한 타이머와; 상기 주기적 갱신 요구 신호를 수신하여 상기 DB 상태를 주기적으로 관리하여 상기 DB 상태를 감사 및 저장함과 동시에 상기 DB 상태를 운용자 단말을 통해 출력하는 DB 상태 관리부와; 상기 DB 상태를 저장하기 위한 저장 수단인 메모리부를 포함하여 이루어진 것을 특징으로 하는 교환기에서 DB 상태 관리 장치를 제공하는 데 있다.A feature of the present invention for achieving the above object is a timer for transmitting a periodic update request signal for requesting to check the state of the database each time a certain time elapses; A DB state management unit which receives the periodic update request signal and periodically manages the DB state to audit and store the DB state and output the DB state through an operator terminal; The present invention provides a DB state management apparatus in an exchange comprising a memory unit which is a storage means for storing the DB state.

또한, 본 발명은 DB의 상태 확인을 요청하는 DB 상태 확인 요청 신호에 따라 현재 DB 상태를 확인하는 과정과; 상기 DB 상태 확인 요청 신호가 일정한 주기로 전송되는 주기적 갱신 요구 신호이면, 이전 DB 상태와 상기 현재 DB 상태가 동일한지 여부를 판단하는 과정과; 상기 이전 DB 상태와 상기 현재 DB 상태가 동일한 경우, 상기 DB의 상태 유지 시간을 증가시킴과 동시에 증가된 상태 유지 시간이 상태 유지 최대 허용 시간을 초과하는지 여부를 판단하는 과정과; 상기 증가된 상태 유지 시간이 상기 최대 허용 시간을 초과하는 경우, 상기 현재 DB 상태가 기록 금지 상태이면 상기 DB의 상태를 수정하여 DB 상태 감사 기능을 수행하는 과정을 포함하는 것을 특징으로 하는 교환기에서 DB 상태 관리 방법을 제공하는 것을 특징으로한다.In addition, the present invention comprises the steps of checking the current DB status according to the DB status check request signal for requesting the status check of the DB; If the DB status check request signal is a periodic update request signal transmitted at a predetermined cycle, determining whether a previous DB status and the current DB status are the same; If the previous DB state and the current DB state are the same, increasing the state holding time of the DB and determining whether the increased state holding time exceeds a state holding maximum allowable time; If the increased state holding time exceeds the maximum allowable time, if the current DB state is a write inhibited state, modifying the state of the DB to perform a DB state auditing function; It is characterized by providing a state management method.

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

본 발명에 따른 교환기에서의 DB 상태 관리 시스템은 도3 에 도시한 바와 같이, 운용자 단말(38)과, 타이머(32), DB 상태 관리부(34), 및 메모리부(36)를 구비하고 있는 SMP(300)로 이루어진다. 여기서, 상기 운용자 단말(38)과 SMP(300)는 도 1에 도시한 운용자 단말(10) 및 SMP(12)의 기능을 포함하고 있으므로 동일한 기능에 대한 중복 설명은 생략하기로 한다.As shown in Fig. 3, the DB state management system in the switch according to the present invention is an SMP including an operator terminal 38, a timer 32, a DB state management unit 34, and a memory unit 36. It consists of 300. Here, since the operator terminal 38 and the SMP 300 includes the functions of the operator terminal 10 and the SMP 12 shown in FIG. 1, redundant description of the same function will be omitted.

상기, DB 상태 관리부(34)는 DB(40)의 상태를 주기적으로 관리함과 동시에 DB 상태를 저장하는 한편, 이를 운용자 단말(38)을 통해 출력하는 기능을 수행한다. 그리고, 상기 타이머(32)는 일정한 주기 T0마다 DB 상태 확인을 요청하는 주기적 갱신 요구 신호를 DB 상태 관리부(34)에게 전송함으로써, DB 상태 관리부(34)가 주기적으로 DB(40)의 상태를 관리할 수 있도록 한다. 또한, 상기 메모리부(36)는 DB 상태 등을 저장하기 위한 저장소이다.The DB state manager 34 periodically manages the state of the DB 40 and simultaneously stores the DB state and outputs the same through the operator terminal 38. In addition, the timer 32 transmits a periodic update request signal for requesting DB status check to the DB state manager 34 at a predetermined period T 0 so that the DB state manager 34 periodically checks the state of the DB 40. Manage it. In addition, the memory unit 36 is a storage for storing a DB state.

여기서, 상기 DB 상태란, DB(40)에 저장되어 있는 데이터를 판독(Read)할 수 있지만 DB(40)에 데이터를 기록(Write)하는 것은 금지된 상태인 '기록 금지 상태'(Inhibit 상태 ; 이하 'INH 상태' 라고 함)와, DB(40)에 저장되어 있는 데이터를 판독할 수 있을 뿐만 아니라 DB(40)에 새로운 데이터를 기록하는 것도 허용하는 상태인 '기록 허용 상태'(Allow 상태 ; 이하 'ALW 상태' 라고 함)를 의미한다.Here, the DB state is a 'write inhibit state' (inhibit state) in which data stored in the DB 40 can be read, but writing of data to the DB 40 is prohibited. Hereinafter referred to as an 'INH state' and a 'write allowed state' (Allow state), which is a state not only capable of reading data stored in the DB 40 but also writing new data to the DB 40. Hereafter referred to as 'ALW state'.

또한, DB 상태 관리부(34)에 의해 수행되는 DB 상태 관리란 DB 상태 감시(Observation)와 DB 상태 감사(Audit)를 포함하는 것으로서, 상기 DB 상태 감시는 DB의 현재 상태를 파악하여 이를 보고하는 기능을 의미하며, 상기 DB 상태 감사는 DB 상태 감시 중에 DB(40)에 발생한 문제점을 수정하는 기능을 의미한다.In addition, the DB status management performed by the DB status management unit 34 includes DB status monitoring and DB status audit, and the DB status monitoring functions to identify and report the current status of the DB. The DB status audit refers to a function of correcting a problem occurring in the DB 40 during DB status monitoring.

이와 같이 구성된 DB 상태 관리 시스템의 동작 과정을 도 4에 도시한 흐름도를 참조하여 상세히 설명한다.An operation process of the DB state management system configured as described above will be described in detail with reference to the flowchart shown in FIG. 4.

먼저, DB 상태 관리부(34)는 초기 시동시 DB(40)에게 DB 상태를 요구하여 수신한 DB 상태를 메모리부(36)에 저장함(S41)과 동시에, 주기 T0인 타이머(32)를 등록하여 가동시킨다(S42). 이후, 시스템 운용자로부터 T1의 값을 입력받아 설정하는 한편, T2의 값을 초기화한다(S43). 이때, 상기 T2는 DB(40)가 동일한 상태를 유지하는 시간을 나타내는 상태 유지 시간이며, DB(40)가 동일한 상태를 유지하는 동안은 주기 T0가 경과할 때마다 그 값이 증가한다. 도 4에 도시한 실시예에서는 상기 T2를 '0'으로 초기화(즉, T2의 초기값을 '0'으로 설정함)하며, 후술하는 바와 같이, T2의 값은 주기 T0가 경과 할 때마다 이전의 T2값에 T0의 값을 합산한 값으로 갱신된다. 그리고, 시스템 운용자에 의해 입력되는 값인 상기 T1은 DB 상태가 INH 상태로 유지되는 것을 허용하는 상태 유지 최대 허용 시간이며, 후술하는 바와 같이, DB(40)가 상태 유지 시간인 T2의 값이 상기 T1의 값을 초과하는 경우 DB 상태 관리부(34)가 본 발명에 따른 감사 기능을 수행한다.First, the DB state management unit 34 requests the DB state from the DB 40 at initial startup, stores the received DB state in the memory unit 36 (S41), and simultaneously registers the timer 32 having a period T 0 . To operate (S42). Thereafter, while receiving and setting the value of T 1 from the system operator, it initializes the value of T 2 (S43). At this time, T 2 is a state holding time indicating the time that the DB 40 maintains the same state, and the value increases every time the period T 0 elapses while the DB 40 maintains the same state. In the embodiment shown in FIG. 4, the T 2 is initialized to '0' (that is, the initial value of T 2 is set to '0'). As will be described later, the value of T 2 is a period T 0 elapsed. Each time it is updated, the previous T 2 value is added to the value of T 0 . Also, the T 1 value input by the system operator is the minimum time allowed persistence to allow the DB state is maintained in the INH state, the value of T 2, DB (40) the state holding time, as described below When the value of T 1 is exceeded, the DB state manager 34 performs an audit function according to the present invention.

상기 T1,T2값의 설정 또는 초기화 작업을 완료하면, DB 상태 관리부(34)는 수신 대기 상태가 되어 DB 상태 확인 요청 신호가 수신되기를 기다린다(S44). 여기서, 상기 DB 상태 확인 요청 신호는 시스템 운용자가 DB의 상태를 확인하기 위해 운용자 단말을 통해 DB 상태 관리부(34)에게 전송하는 운용자 확인 요청 신호와, 타이머(32)가 상기 운용자 확인 요청 신호와는 별도로 일정한 시간(상기 주기 T0)이 경과할 때마다 DB 상태 관리부(34)에게 전송하여 주기적으로 DB 상태의 감시 또는 감사기능을 수행하도록 하는 주기적 갱신 요구 신호를 포함한다.When the setting or initialization of the T 1 and T 2 values is completed, the DB state manager 34 enters a reception waiting state and waits for a DB state check request signal to be received (S44). Here, the DB status confirmation request signal is an operator confirmation request signal transmitted by the system operator to the DB state management unit 34 through the operator terminal to confirm the state of the DB, and the timer 32 is different from the operator confirmation request signal. In addition, each time a predetermined time (the period T 0 ) elapses, the DB state management unit 34 includes a periodic update request signal for periodically performing a monitoring or auditing function of the DB state.

이후, DB 상태 관리부(34)는 상기 DB 상태 확인 요청 신호를 수신하면(S45), DB(40)에게 DB 상태를 요구하는 DB 상태 요구 신호를 전송하여, 상기 DB 상태 요구에 따라 DB(40)가 전송해준 현재 DB 상태를 수신한다(S46).After that, when the DB state management unit 34 receives the DB state check request signal (S45), the DB state manager 34 transmits a DB state request signal for requesting the DB state to the DB 40, and the DB 40 requests the DB state request. Receives the current DB status transmitted by the S46.

여기서, 상기 S46의 과정에서 DB 상태 관리부(34)가 수신한 현재 DB 상태가, 시스템 운용자에 의해 전송된 상기 운용자 확인 요청 신호에 따라 DB(40)에게 DB 상태를 요구하여 수신한 것인지, 아니면 타이머(32)로부터 전송된 상기 주기적 갱신 요구 신호에 따라 DB(40)에게 DB 상태를 요구하여 수신한 것인지를 판단하는데, 이는 상기 S45의 과정에서 DB 상태 관리부(34)가 수신한 DB 상태 확인 요청 신호가 상기 운용자 확인 요청 신호인지, 아니면 상기 주기적 갱신 요구 신호인지를 판단하여 알 수 있다(S47).Here, whether the current DB status received by the DB status manager 34 in step S46 is a request for the DB status from the DB 40 according to the operator confirmation request signal transmitted by a system operator, or a timer. In response to the periodic update request signal transmitted from the 32, the DB 40 determines whether the DB status is requested and received, which is the DB status check request signal received by the DB status manager 34 in step S45. It may be determined by determining whether is the operator confirmation request signal or the periodic update request signal (S47).

상기 판단 결과, 상기 현재 DB 상태가 상기 운용자 상태 요청 신호에 따라 수신한 것인 경우, DB 상태 관리부(34)는 상기 현재 DB 상태를 운용자 단말(38)을통해 출력한다(S51). 이후, DB 상태 관리 기능을 계속 수행할 것인지 여부를 판단하여(S52), 계속해서 DB 상태 관리 기능을 수행하는 경우, 상기 S44의 과정으로 회귀하여 수신 대기 상태에서 DB 상태 확인 요청 신호를 기다린다.As a result of the determination, when the current DB status is received according to the operator status request signal, the DB status manager 34 outputs the current DB status through the operator terminal 38 (S51). Thereafter, it is determined whether to continue the DB state management function (S52), and if the DB state management function is continuously performed, the process returns to step S44 and waits for the DB state check request signal in the reception waiting state.

그러나, 상기 S45의 과정에서 수신한 현재 DB 상태가 상기 주기적 갱신 요구 신호에 따라 수신한 것인 경우, DB 상태 관리부(34)는 메모리부(36)에 저장되어 있는 DB(40)의 이전 DB 상태와 상기 현재 DB 상태가 동일한지 여부를 판단하여(S48), 상기 이전 DB 상태와 현재 DB 상태가 동일하지 않은 경우 즉, DB 상태가 변경된 경우(INH 상태 →ALW 상태 또는 ALW 상태 →INH 상태), DB 상태를 상기 현재 DB 상태로 설정하여 메모리부(36)에 저장하는(S49) 한편, 상기 T2 값을 '0'으로 초기화 한 후(S50), 상기 현재 DB 상태를 운용자 단말(38)을 통해 출력한다(S51). 이후, 계속해서 DB 상태 관리 기능을 수행하는 경우에는 상기 S44의 과정으로 회귀하여 수신 대기 상태에서 DB 상태 확인 요청 신호를 기다린다.However, when the current DB state received in step S45 is received according to the periodic update request signal, the DB state manager 34 stores the previous DB state of the DB 40 stored in the memory 36. It is determined whether and the current DB state is the same (S48), if the previous DB state and the current DB state is not the same, that is, the DB state is changed (INH state → ALW state or ALW state → INH state), The DB state is set to the current DB state and stored in the memory unit 36 (S49). After initializing the T2 value to '0' (S50), the current DB state is stored through the operator terminal 38. Output it (S51). Subsequently, in the case where the DB state management function is continuously performed, the process returns to step S44 and waits for the DB state check request signal in the reception waiting state.

그러나, 상기 S48의 판단 과정에서 상기 이전 DB 상태와 현재 DB 상태가 동일한 경우 즉, DB 상태가 이전과 동일하게 유지된 경우(INH 상태 →INH 상태 또는 ALW 상태 →ALW 상태), 이전의 T2값에 상기 T0값을 합산한 값으로 갱신하여 현재의 T2값을 설정한 후, 이를 메모리부(36)에 저장한다(S53).However, when the previous DB state and the current DB state is the same in the determination process of S48, that is, when the DB state remains the same as before (INH state → INH state or ALW state → ALW state), the previous T 2 value The T 0 value is updated to the sum of the T 0 values, and the current T 2 value is set, and then stored in the memory unit 36 (S53).

상기 T2의 값이 갱신되면 DB 상태 관리부(34)의 DB 상태 감사 기능이 활성화 상태인지 여부를 판단한다(S54). 본 발명에 따른 DB 상태 감사기능은 시스템 운용자의 모드(Mode) 선택에 따라 활성화(Enable) 상태 또는 비활성화(Disable) 상태로있게 된다. 따라서, 상기 DB 상태 감사 기능이 비활성화 상태인 경우 상기 S52의 과정으로 회귀하며, 상기 DB 상태 감사 기능이 활성화 상태인 경우에는 도 5에 도시된 과정을 수행하여 DB 상태 감사 기능을 수행하게 된다.When the value of T 2 is updated, it is determined whether the DB state audit function of the DB state manager 34 is activated (S54). The DB status auditing function according to the present invention is in an enabled state or a disabled state according to a mode selection by a system operator. Therefore, when the DB state audit function is in an inactive state, the process returns to the process of S52. When the DB state audit function is in an activated state, the process shown in FIG. 5 is performed to perform the DB state audit function.

도 5는 본 발명에 따른 DB 상태 감사 방법을 도시한 흐름도이다.5 is a flowchart illustrating a DB status auditing method according to the present invention.

상기 도 4의 S54 과정의 판단 결과, DB 상태 감사 기능이 활성화 상태인 경우, 상기 T2의 값이 최대 허용 시간인 상기 T1의 값을 초과했는지 여부를 판단하여(S55), 상기 T2의 값이 상기 T1을 초과하지 않은 경우, 도 4의 상기 S51의 과정으로 회귀한다.The diagram of the 4 S54 process, the determination result, DB state auditing is enabled, in case the to the value of T 2 determines whether or not to exceed the maximum allowed time, the value of the T 1 (S55), the T 2 If the value does not exceed the T 1 , the flow returns to the process of S51 of FIG. 4.

그러나, 상기 T2의 값이 상기 T1의 값을 초과한 경우, 현재 DB 상태가 INH 상태인지 여부를 판단한다(S56). 만일 DB 상태가 T1을 초과하는 시간 동안 INH 상태를 유지했다면, DB(40)가 INH 상태로 있어야 하는 특수 상황을 제외하고는, 교환기 운용에 문제를 발생시킬 수 있으므로 이에 대한 수정이 필요하다. 여기서, DB(40)가 INH 상태로 있어야 하는 특수 상황이란, 교환기가 현재 백업(Backup) 중인 경우, 덤프(Dump) 중인 경우, 스탠바이 로딩(Standby Loading) 중인 경우, 및 DB 무결성 검사 중인 경우를 말한다.However, if the value of T 2 exceeds the value of T 1 , it is determined whether the current DB state is an INH state (S56). If the DB state is maintained in the INH state for a time exceeding T 1 , except for a special situation in which the DB 40 should be in the INH state, it may cause problems in the operation of the exchange, so a correction is necessary. Here, the special situation in which the DB 40 should be in the INH state refers to a case in which the exchanger is currently backing up, dumping, standby loading, and DB integrity checking. .

따라서, 현재 DB 상태가 INH 상태인 경우 DB(40)가 INH 상태로 있어야 하는 특수 상황인지 여부 즉, 현재 교환기가 백업 중인지, 덤프 중인지, 스탠바이 로딩 중인지, 또는 DB 무결성 검사 중인지 여부를 판단한다(S57, S58, S59, S60). 상기 판단 결과, 만일 DB(40)가 INH 상태로 있어야 하는 특수 상황이 아니라면, DB(40)의 상태를 ALW 상태로 전환하는(S61) 한편, DB 상태를 ALW 상태로 설정하여 메모리부(36)에 저장한(S62) 후, 운용자 단말(38)을 통해 DB 상태를 출력하는 상기 S51의 과정으로 회귀한다.Therefore, when the current DB state is INH state, it is determined whether the DB 40 is a special situation that should be in the INH state, that is, whether the current exchanger is backing up, dumping, standby loading, or checking DB integrity (S57). , S58, S59, S60). As a result of the determination, if the DB 40 is not in a special situation in which it is to be in the INH state, the state of the DB 40 is changed to the ALW state (S61), while the DB state is set to the ALW state and the memory unit 36 is set. After storing (S62), the process returns to the process of S51 to output the DB state through the operator terminal 38.

그러나, 상기 S57, S58, S59 및 S60의 판단과정에서, DB(40)가 INH 상태를 유지해야 하는 상기 4가지 특수 상황 중에 어느 하나에 해당하는 경우에는 DB(40)의 상태를 ALW 상태로 변경하면 안되므로 DB(40)의 상태를 INH 상태 그대로 유지하고, 상기 S51의 과정으로 회귀한다.However, in the determination process of S57, S58, S59, and S60, if the DB 40 corresponds to any one of the four special situations in which the INH state is to be maintained, the state of the DB 40 is changed to the ALW state. In this case, the state of the DB 40 is maintained in the INH state, and the process returns to the process of S51.

본 발명은 상술한 실시예에 대해서만 상세히 설명되었지만, 본 발명의 사상과 범위 내에서 수정이나 변경할 수 있음은 본 발명이 속하는 분야의 당업자에게 명백한 것이며, 그러한 수정이나 변경은 본 발명의 특허청구범위에 속한다 할 것이다.Although the present invention has been described in detail only with respect to the above-described embodiments, it will be apparent to those skilled in the art that modifications or variations can be made within the spirit and scope of the present invention, and such modifications or changes are within the scope of the claims Will belong.

이상과 같이, 본 발명은 DB의 상태를 주기적으로 관리하여, 시스템 운용자의 DB 상태 확인 요청이 없는 경우에도 DB 상태를 시스템 운용자에게 주기적으로 출력해 줄 뿐만 아니라, DB의 기록 금지 상태가 일정 시간 이상 유지되어 문제가 발생하는 경우, 이를 자동으로 수정할 수 있게 된다.As described above, the present invention periodically manages the state of the DB, and outputs the DB state periodically to the system operator even when there is no DB status check request from the system operator, and the DB prohibition state for more than a predetermined time. If the problem persists, you can fix it automatically.

Claims (5)

일정한 시간이 경과할 때마다 데이터 베이스의 상태를 확인하도록 요청하는 주기적 갱신 요구 신호를 전송하기 위한 타이머와;A timer for transmitting a periodic update request signal requesting to check the state of the database each time a predetermined time elapses; 상기 주기적 갱신 요구 신호를 수신해서 상기 DB 상태를 주기적으로 관리하여 상기 DB 상태를 감사 및 저장함과 동시에 상기 DB 상태를 운용자 단말을 통해 출력하는 DB 상태 관리부와;A DB state manager which receives the periodic update request signal and periodically manages the DB state to audit and store the DB state and output the DB state through an operator terminal; 상기 데이터 베이스 상태를 저장하기 위한 저장 수단인 메모리부를 포함하여 이루어진 것을 특징으로 하는 교환기에서 데이터 베이스 상태 관리 장치.And a memory unit which is a storage means for storing the database state. 데이터 베이스 상태 확인을 요청하는 데이터 베이스 상태 확인 요청 신호에 따라 현재 데이터 베이스 상태를 확인하는 과정과;Checking a current database state according to a database state check request signal requesting database state check; 상기 데이터 베이스 상태 확인 요청 신호가 일정한 주기로 전송되는 주기적 갱신 요구 신호이면, 이전 데이터 베이스 상태와 상기 현재 데이터 베이스 상태가 동일한지 여부를 판단하는 과정과;If the database status check request signal is a periodic update request signal transmitted at a predetermined period, determining whether a previous database state and the current database state are the same; 상기 이전 데이터 베이스 상태와 상기 현재 데이터 베이스 상태가 동일한 경우, 데이터 베이스 상태 유지 시간을 상기 주기만큼 증가시킴과 동시에 증가된 상태 유지 시간이 상태 유지 최대 허용 시간을 초과하는지 여부를 판단하는 과정과;When the previous database state and the current database state are the same, increasing a database state holding time by the period and determining whether the increased state holding time exceeds a state holding maximum allowable time; 상기 증가된 상태 유지 시간이 상기 최대 허용 시간을 초과하는 경우, 상기 현재 데이터 베이스 상태가 기록 금지 상태이면 상기 데이터 베이스의 상태를 수정하여 데이터 베이스 상태 감사 기능을 수행하는 과정을 포함하는 것을 특징으로 하는 교환기에서 데이터 베이스 상태 관리 방법.If the increased state holding time exceeds the maximum allowable time, and performing a database state audit function by modifying the state of the database if the current database state is a write inhibited state. How to manage database state at the exchange. 제2항에 있어서,The method of claim 2, 상기 현재 데이터 베이스 상태를 확인하는 과정은,The process of checking the current database state, 초기 시동시 데이터 베이스로부터 전송 받은 데이터 베이스 상태를 저장함과 동시에 상기 주기를 가지는 타이머를 등록하는 단계와;Registering a timer having the period at the same time as storing the database state received from the database at initial startup; 상기 상태 유지 시간을 초기화함과 동시에 상기 최대 허용 시간을 설정하는 단계와;Initializing the state holding time and simultaneously setting the maximum allowable time; 상기 데이터 베이스 상태 확인 요청 신호를 수신하는 단계와;Receiving the database status check request signal; 상기 데이터 베이스에게 데이터 베이스 상태 요구 신호를 전송하여 현재 데이터 베이스 상태를 수신하는 단계를 포함하는 것을 특징으로 하는 교환기에서 데이터 베이스 상태 관리 방법.Transmitting a database status request signal to the database to receive a current database status. 제2항에 있어서,The method of claim 2, 상기 이전 데이터 베이스 상태와 상기 현재 데이터 베이스 상태가 동일하지 않은 경우, 상기 데이터 베이스 상태를 상기 현재 데이터 베이스 상태로 설정하여 저장함과 동시에, 상기 상태 유지 시간을 초기화하는 과정과;If the previous database state and the current database state are not the same, setting and storing the database state as the current database state and initializing the state holding time; 상기 현재 데이터 베이스 상태를 출력하는 과정을 더 포함하는 것을 특징으로 하는 교환기에서 데이터 베이스 상태 관리 방법.And outputting the current database state. 제2항에 있어서,The method of claim 2, 상기 데이터 베이스 상태 감사 기능을 수행하는 과정은,The process of performing the database status audit function, 상기 현재 데이터 베이스 상태가 기록 금지 상태인지 여부를 판단하는 단계와;Determining whether the current database state is a write inhibited state; 상기 현재 데이터 베이스 상태가 기록 금지 상태인 경우, 상기 기록 금지 상태를 유지해야 하는 특수 상황인지 여부를 판단하는 단계와;If the current database state is a write inhibited state, determining whether it is a special situation in which the record inhibited state should be maintained; 상기 특수 상황이 아닌 경우, 상기 데이터 베이스의 상태를 기록 허용 상태로 전환하는 단계와;Switching the state of the database to a write permission state if it is not the special situation; 상기 데이터 베이스 상태를 기록 허용 상태로 설정하여 저장함과 동시에, 상기 전환된 데이터 베이스 상태를 출력하는 단계와;Setting and storing the database state as a write permission state and outputting the converted database state; 상기 기록 금지 상태를 유지해야 하는 특수 상황인 경우, 상기 현재 데이터 베이스 상태를 출력하는 단계를 포함하는 것을 특징으로 하는 교환기에서 데이터 베이스 상태 관리 방법.And outputting the current database state in a special situation in which the write prohibition state is to be maintained.
KR1020010024612A 2001-05-07 2001-05-07 Apparatus and Method for Management of Database State in Switching System KR20020085216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010024612A KR20020085216A (en) 2001-05-07 2001-05-07 Apparatus and Method for Management of Database State in Switching System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010024612A KR20020085216A (en) 2001-05-07 2001-05-07 Apparatus and Method for Management of Database State in Switching System

Publications (1)

Publication Number Publication Date
KR20020085216A true KR20020085216A (en) 2002-11-16

Family

ID=27703868

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010024612A KR20020085216A (en) 2001-05-07 2001-05-07 Apparatus and Method for Management of Database State in Switching System

Country Status (1)

Country Link
KR (1) KR20020085216A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100596548B1 (en) * 2003-10-23 2006-07-06 에스엠시 가부시키가이샤 Constant temperature liquid bath

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100596548B1 (en) * 2003-10-23 2006-07-06 에스엠시 가부시키가이샤 Constant temperature liquid bath

Similar Documents

Publication Publication Date Title
US7114094B2 (en) Information processing system for judging if backup at secondary site is necessary upon failover
US11907561B2 (en) Data backup method and apparatus
US20170149925A1 (en) Processing cache data
US4593391A (en) Machine check processing system
US20050193390A1 (en) Program downloading method, program switching method and network apparatus
US20080007768A1 (en) Network device, network manager, network managing system, and method of performing clone process
US7032019B1 (en) Apparatuses for generation and collection of information based on priority and predetermined collecting conditions
JPS6142052A (en) Initial load controlling system of terminal equipment
JP2003076451A (en) Information processing device and responding method for inquiry of state
KR20020085216A (en) Apparatus and Method for Management of Database State in Switching System
CN110008681A (en) Access control method, equipment and system
JP7139821B2 (en) Information processing device and program
JP2020052956A (en) BMC, determination method and BMC firmware
CN114036164A (en) High-concurrency transaction locking method and system combining optimistic lock and pessimistic lock
KR20000032797A (en) Apparatus and method for processing billing data when occurring abnormality of billing disk of electronic exchange system
US6587893B1 (en) Method and apparatus to determine when all outstanding fetches are complete
JP2001175354A (en) Date/time management system and its program recording medium
US11467790B2 (en) Image processing apparatus and setting data management system
JP2001142361A (en) Remote centralized control system
US11843612B2 (en) Communication device management device, system, method, and non-transitory computer-readable recording medium
WO2020225972A1 (en) Control device, control method, and control program
CN117234605A (en) Startup updating method and device
JPH11272508A (en) Abnormality detection method for monitor object device, device for the same and machine readable recording medium for recording program
JPH07222267A (en) State information collecting system and state managing system
CN117857633A (en) Caching method, device, equipment and medium

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid