KR20000002753A - Real time clock watching device of exchanger - Google Patents

Real time clock watching device of exchanger Download PDF

Info

Publication number
KR20000002753A
KR20000002753A KR1019980023657A KR19980023657A KR20000002753A KR 20000002753 A KR20000002753 A KR 20000002753A KR 1019980023657 A KR1019980023657 A KR 1019980023657A KR 19980023657 A KR19980023657 A KR 19980023657A KR 20000002753 A KR20000002753 A KR 20000002753A
Authority
KR
South Korea
Prior art keywords
time clock
count value
real time
counter
dummy cycle
Prior art date
Application number
KR1019980023657A
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 KR1019980023657A priority Critical patent/KR20000002753A/en
Publication of KR20000002753A publication Critical patent/KR20000002753A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/20Automatic or semi-automatic exchanges with means for interrupting existing connections; with means for breaking-in on conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/12Counting circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/18Comparators
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Exchange Systems With Centralized Control (AREA)
  • Monitoring And Testing Of Exchanges (AREA)

Abstract

PURPOSE: A real time clock watching device of an exchanger is provided to perform a prior maintenance by generating a real time clock error detection signal before duplexing division is performed. CONSTITUTION: A system comprises: a dummy cycle sensor(2) to sense the dummy cycle after receiving the dummy cycle information from its own CPU whenever the real time clock is generated; a counter(4) cleared whenever the dummy cycle is sensed and to count; a first comparator(6) to output a real time clock error detection signal; and a second comparator(8) to output an interrupt signal to perform the duplexing division.

Description

교환기의 실시간 클록 감시 장치Real time clock monitoring device of the exchange

본 발명은 교환기의 실시간 클록(real time clock) 감시 장치에 관한 것으로서, 특히 교환기에서 CPU(Central Processing Unit)를 각각 구비하는 두 보드(board)가 액티브(active) 및 스탠바이(standby)의 이중화로 동작하는 시스템에 있어서 액티브측 및 스탠바이측의 실시간 클록을 감시하도록 하는 교환기의 실시간 클록 감시 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for monitoring a real time clock of an exchange, and in particular, two boards each equipped with a central processing unit (CPU) in an exchange operate with redundancy of active and standby. The present invention relates to a real-time clock monitoring device of an exchange to monitor real-time clocks on the active and standby sides.

이와 관련하여, 교환기 프로세서 보드에서는 주기적인 실시간 작업을 수행하기 위하여 실시간 클록을 사용한다. 예를 들어, 텔레포니 프로세서(Telephony Processor; TP)가 몇 msec마다 가입자 라인을 스캐닝, 또는 큐(queue)에 쌓인 IPC(Inter Processor Communication) 데이터를 읽어오는 작업 등에서 주기적인 실시간 작업을 수행하기 위하여 실시간 클록을 사용한다.In this regard, the exchange processor board uses a real-time clock to perform periodic real-time tasks. For example, a real-time clock for performing periodic real-time tasks such as a telephony processor (TP) scanning subscriber lines every few milliseconds or reading interprocessor communication (IPC) data accumulated in a queue. Use

따라서, 교환기의 프로세서 보드에 실시간 클록이 정상적으로 제공되지 않는다면 상기 예에서와 같은 실시간 작업에 문제가 발생할 것이다.Therefore, if the real time clock is not normally provided to the processor board of the exchanger, problems will occur in the real time operation as in the above example.

일반적으로 교환기의 프로세서 보드에서는 실시간 클록을 감시하고 있다가 규정된 주기에 실시간 클록이 발생하지 않는다면 일명 "watch doc"을 발생하여, 이로인한 장애 신호를 스탠바이 프로세서 보드에 전달해서 이중화 절체를 시도한다.In general, a processor's processor board monitors a real-time clock and generates a so-called "watch doc" if a real-time clock does not occur in a specified period, and attempts to perform redundant switching by transmitting a fault signal to the standby processor board.

이와 같이 "watch doc"이 발생하는 경우 액티브 프로세서 보드의 정상 동작이 불가능함을 의미하는 한편, "watch doc"이 발생하면 레벨 7 인터럽트(level 7 interrupt, 가장 우선적으로 처리해야 하는 인터럽트)를 발생시켜 이중화된 두 프로세서 보드가 절체하도록 해서 스탠바이 프로세서 보드가 액티브 프로세서 보드로 활성화되도록 한다.If a "watch doc" occurs like this, it means that the active processor board cannot operate normally. If a "watch doc" occurs, a level 7 interrupt is generated. Allow two redundant processor boards to switch over, allowing the standby processor board to become active processor board.

종래의 기술에 따른 교환기에서 CPU를 각각 구비하는 두 보드가 액티브 및 스탠바이의 이중화로 동작하는 시스템에 있어서 액티브측에서 실시간 클록이 발생할 때마다 카운터를 클리어(clear)해서 이 시점부터 다시 카운트하도록 한다. 이때, 실시간 클록의 발생에 문제가 생겨 카운터가 클리어되지 않고 규정된 한계치까지 카운트하면 "watch doc" 인터럽트를 발생시켜 결국, 레벨 7 인터럽트를 발생해서 이중화된 두 프로세서 보드가 절체하도록 한다.In a switch system according to the related art, two boards each having a CPU operate in a redundant operation and standby mode, so that a counter is cleared every time a real time clock occurs on the active side and counted again from this time point. At this time, if a real-time clock is generated and the counter is not cleared and counts up to a specified threshold, a "watch doc" interrupt is generated, which eventually causes a level 7 interrupt to switch between the two redundant processor boards.

그러나 이와 같은 종래의 기술에 있어서는 실시간 클록의 발생에 문제가 생겨 카운터가 클리어되지 않고 규정된 한계치까지 카운트하면 "watch doc" 인터럽트를 발생시키기 때문에 결국, 실시간 클록의 발생에 문제가 있을 경우 레벨 7 인터럽트를 발생해서 이중화 절체를 수행하는 것이 유일한 유지 보수(maintenance)일 수밖에 없었다.However, in this conventional technique, there is a problem in generating a real time clock, and if the counter is not cleared and counts up to a prescribed limit, a "watch doc" interrupt is generated. The only maintenance was to perform a redundancy switchover.

본 발명은 상기 결점을 개선하기 위하여 안출한 것으로서, 교환기에서 CPU를 각각 구비하는 두 보드가 액티브 및 스탠바이의 이중화로 동작하는 시스템에 있어서 액티브측에서 실시간 클록의 발생에 문제가 생길 경우 "watch doc" 인터럽트가 발생하여 이중화 절체가 수행되기 전에 실시간 클록 에러 검출 신호를 발생시켜 사전에 유지 보수가 이루어지도록 할 수 있는 교환기의 실시간 클록 감시 장치를 제공하는 데 그 목적이 있다.The present invention has been made to solve the above-mentioned shortcomings. In a system in which two boards each having a CPU at an exchange operate in a dual operation of active and standby, when a problem occurs in generation of a real time clock on the active side, a "watch doc" It is an object of the present invention to provide a real-time clock monitoring device of an exchange that can generate a real-time clock error detection signal before an interrupt occurs and the redundant switching is performed so that maintenance can be performed in advance.

이와 같은 목적을 달성하기 위한 본 발명은, 교환기에서 CPU를 각각 구비하는 두 보드가 액티브 및 스탠바이의 이중화로 동작하는 시스템에 있어서, 실시간 클록 발생시마다 자신의 CPU로부터 더미 사이클(dummy cycle) 정보를 받아 더미 사이클을 감지하는 더미 사이클 감지부와, 상기 더미 사이클 감지부의 더미 사이클 감지시마다 클리어되어 카운트하는 카운터와, 상기 카운터의 카운트 값과 제 1 기준 카운트 값을 비교하여 상기 카운터의 카운트 값이 상기 제 1 기준 카운트 값을 초과할 경우 이중화 절체를 수행하기 전의 예비적인 유지 보수를 위한 실시간 클록 에러 검출 신호를 출력하는 제1 비교부와, 상기 카운터의 카운트 값과 제 2 기준 카운트 값을 비교하여 상기 카운터의 카운트 값이 상기 제 2 기준 카운트 값을 초과할 경우 이중화 절체를 수행하기 위한 인터럽트 신호를 출력하는 제2 비교부를 포함하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a system in which two boards each having a CPU at an exchange operate in a redundant operation and standby, and receive dummy cycle information from their CPU whenever a real time clock is generated. A dummy cycle detection unit for detecting a dummy cycle, a counter that is cleared and counted every time the dummy cycle detection unit detects a dummy cycle, and a count value of the counter is determined by comparing the count value of the counter with a first reference count value. When the reference count value is exceeded, a first comparator for outputting a real-time clock error detection signal for preliminary maintenance before performing redundant switching, and comparing the counter value with the second reference count value of the counter If the count value exceeds the second reference count value, redundancy switching is performed. And a second comparator for outputting an interrupt signal to the controller.

도 1은 본 발명에 따른 교환기의 실시간 클록 감시 장치의 일 실시 예를 나타낸 블록도,1 is a block diagram showing an embodiment of a real time clock monitoring apparatus of an exchange according to the present invention;

도 2는 도 1에 따른 교환기의 실시간 클록 감시 장치의 동작을 설명하기 위한 타이밍도.2 is a timing diagram for explaining the operation of the real-time clock monitoring apparatus of the switch according to FIG.

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

2 : 더미 사이클 감지부 4 : 카운터2 dummy cycle detection unit 4 counter

6,8 : 제1,제2 비교부6,8: first and second comparison unit

이하, 이와 같은 본 발명의 실시 예를 상세히 설명하면 다음과 같다.Hereinafter, the embodiment of the present invention as described in detail as follows.

도 1은 본 발명에 따른 교환기의 실시간 클록 감시 장치의 일 실시 예를 나타낸 블록도로 먼저, 더미 사이클 감지부(2)는 실시간 작업을 위한 도 2b와 같은 실시간 클록의 발생시마다 자신의 CPU로부터 더미 사이클 정보를 받아 도 2c와 같은 더미 사이클을 감지해서 이때마다 카운터(4)에 클리어 신호를 인가한다.1 is a block diagram showing an embodiment of a real time clock monitoring apparatus of an exchange according to the present invention. First, the dummy cycle detection unit 2 performs a dummy cycle from its CPU whenever a real time clock is generated as shown in FIG. 2B for a real time operation. Upon receiving the information, a dummy cycle as shown in FIG. 2C is sensed, and a clear signal is applied to the counter 4 at this time.

이때, 도 2a는 기준 클록이다.2A is a reference clock.

예를 들면, 더미 사이클 감지부(2)는 도 2b의 첫 번째 실시간 클록의 발생시 자신의 CPU로부터 더미 사이클 정보를 받아 도 2c의 첫 번째 더미 사이클을 감지해서 카운터(4)에 클리어 신호를 인가한다.For example, the dummy cycle detector 2 receives dummy cycle information from its CPU when the first real time clock of FIG. 2b is generated, senses the first dummy cycle of FIG. 2c, and applies a clear signal to the counter 4. .

또한, 더미 사이클 감지부(2)는 도 2b의 두 번째 실시간 클록의 발생시 자신의 CPU로부터 더미 사이클 정보를 받아 도 2c의 두 번째 더미 사이클을 감지해서 카운터(4)에 클리어 신호를 인가한다.In addition, the dummy cycle detection unit 2 receives dummy cycle information from its CPU when the second real time clock of FIG. 2B is generated, detects the second dummy cycle of FIG. 2C, and applies a clear signal to the counter 4.

다음, 카운터(4)는 더미 사이클 감지부(2)의 클리어 신호에 따라 클리어될 때마다 도 2d와 같이 "0"부터 "k"까지 반복적으로 카운트한다.Next, the counter 4 repeatedly counts from "0" to "k" as shown in FIG. 2D whenever it is cleared according to the clear signal of the dummy cycle detecting unit 2.

이때, "k"는 임의의 수이다.At this time, "k" is any number.

이어, 제1 비교부(6)는 카운터(4)의 카운트 값과 기설정된 자신의 기준 카운트 값(n)을 비교하여 카운터(4)의 카운트 값이 도 2e와 같이 "k"를 초과하게 되어 자신의 기준 카운트 값을 초과할 경우 이중화 절체를 수행하기 전의 예비적인 유지 보수를 위한 도 2f와 같이 "n"번째 카운트에서 실시간 클록 에러 검출 신호를 출력하여 시스템에서 유지 보수에 이용할 수 있도록 한다.Subsequently, the first comparator 6 compares the count value of the counter 4 with its preset reference count value n so that the count value of the counter 4 exceeds "k" as shown in FIG. 2E. When the reference count value is exceeded, a real time clock error detection signal is output at the "n" count as shown in FIG. 2F for preliminary maintenance before the redundant switching is performed, so that the system can be used for maintenance.

그리고 제2 비교부(8)는 카운터(4)의 카운트 값과 기설정된 자신의 기준 카운트 값(n+m)을 비교하여 카운터(4)의 카운트 값이 도 2e와 같이 되어 자신의 기준 카운트 값을 초과할 경우 이중화 절체를 수행하기 위한 도 2g와 같이 "n+m"번째 카운트에서 "watch doc" 인터럽트 신호를 출력한다.Then, the second comparison unit 8 compares the count value of the counter 4 with its own reference count value n + m, and the count value of the counter 4 becomes as shown in FIG. If exceeds, the "watch doc" interrupt signal is output at the "n + m" th count as shown in FIG. 2G to perform the redundant switching.

이때, 제2 비교부(8)의 기준 카운트 값(n+m)이 제1 비교부(6)의 기준 카운트 값(n)보다 크며, 상술한 바와 같은 액티브측의 실시간 클록을 감시하는 기술을 스탠바이측에 적용시켜 스탠바이측의 실시간 클록에 문제가 발생할 경우 액티브측에 이를 통지하여 액티브측에서 스탠바이측의 상태를 알 수 있도록 할 수도 있다.At this time, the reference count value (n + m) of the second comparator 8 is larger than the reference count value (n) of the first comparator 6, the technique for monitoring the real-time clock of the active side as described above It may be applied to the standby side to notify the active side when a problem occurs in the real time clock of the standby side so that the active side can know the state of the standby side.

이상에서 설명한 바와 같이 본 발명은 교환기에서 CPU를 각각 구비하는 두 보드가 액티브 및 스탠바이의 이중화로 동작하는 시스템에 있어서 액티브측에서 실시간 클록의 발생에 문제가 생길 경우 "watch doc" 인터럽트가 발생하여 이중화 절체가 수행되기 전에 실시간 클록 에러 검출 신호를 발생시켜 사전에 유지 보수가 이루어지도록 함으로써 이중화 절체의 회수를 줄일 수 있으므로 서비스의 중단 가능성이 작아지는 효과가 있다.As described above, in the present invention, in a system in which two boards each having a CPU at an exchange are operated with dual redundancy of active and standby, a "watch doc" interrupt is generated when a problem occurs in generation of a real time clock at the active side. Since the maintenance is performed in advance by generating a real-time clock error detection signal before the switching is performed, the number of redundant switching can be reduced, thereby reducing the possibility of service interruption.

또한, 제1 비교부(6)의 실시간 클록 에러 검출 신호를 이용하여 실시간 클록 장애를 교환기 운용자가 볼 수 있도록 표시하는 등의 수단을 통해 별도로 관리할 수 있다.In addition, the real-time clock error detection signal of the first comparator 6 may be separately managed through a means such as displaying a real-time clock failure for the exchange operator to see.

Claims (1)

교환기에서 CPU를 각각 구비하는 두 보드가 액티브 및 스탠바이의 이중화로 동작하는 시스템에 있어서:In a system where two boards, each with a CPU at the exchange, operate with active and standby redundancy: 실시간 클록 발생시마다 자신의 CPU로부터 더미 사이클 정보를 받아 더미 사이클을 감지하는 더미 사이클 감지부;A dummy cycle detection unit configured to detect dummy cycles by receiving dummy cycle information from a CPU whenever a real time clock is generated; 상기 더미 사이클 감지부의 더미 사이클 감지시마다 클리어되어 카운트하는 카운터;A counter that is cleared and counted each time the dummy cycle detection unit detects a dummy cycle; 상기 카운터의 카운트 값과 제 1 기준 카운트 값을 비교하여 상기 카운터의 카운트 값이 상기 제 1 기준 카운트 값을 초과할 경우 이중화 절체를 수행하기 전의 예비적인 유지 보수를 위한 실시간 클록 에러 검출 신호를 출력하는 제1 비교부;Comparing the count value of the counter with the first reference count value and outputting a real time clock error detection signal for preliminary maintenance before performing the redundant switching when the count value of the counter exceeds the first reference count value. A first comparator; 상기 카운터의 카운트 값과 제 2 기준 카운트 값을 비교하여 상기 카운터의 카운트 값이 상기 제 2 기준 카운트 값을 초과할 경우 이중화 절체를 수행하기 위한 인터럽트 신호를 출력하는 제2 비교부를 포함하는 교환기의 실시간 클록 감시 장치.A second comparator including a second comparator configured to compare the count value of the counter with a second reference count value and output an interrupt signal for performing redundancy switching when the count value of the counter exceeds the second reference count value; Clock monitoring device.
KR1019980023657A 1998-06-23 1998-06-23 Real time clock watching device of exchanger KR20000002753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980023657A KR20000002753A (en) 1998-06-23 1998-06-23 Real time clock watching device of exchanger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980023657A KR20000002753A (en) 1998-06-23 1998-06-23 Real time clock watching device of exchanger

Publications (1)

Publication Number Publication Date
KR20000002753A true KR20000002753A (en) 2000-01-15

Family

ID=19540455

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980023657A KR20000002753A (en) 1998-06-23 1998-06-23 Real time clock watching device of exchanger

Country Status (1)

Country Link
KR (1) KR20000002753A (en)

Similar Documents

Publication Publication Date Title
KR20000002753A (en) Real time clock watching device of exchanger
JPH05207637A (en) Digital relay
KR20000037966A (en) Apparatus for controlling duplexing of processor having sensing function of software abnormal operation state and switching function
KR100232869B1 (en) The device and its method of detecting eject of modules previously in communication system with redundant structure
JP2731594B2 (en) Parity error detection monitoring system
KR930007469B1 (en) Error dectecting &amp; correcting method in electronic exchange
KR100394736B1 (en) Method And Apparatus For Fail Recovery And Board Selecting In Dual System
JPS61169036A (en) System supervisory device
KR100202398B1 (en) Isdn device control system having duplication structure
KR100220228B1 (en) Apparatus for controlling state transfer in the duplication architecture
KR930010292B1 (en) Default detection and correction method
JP2834062B2 (en) Information processing system
KR100294407B1 (en) Detection apparatus for instability of power supply
KR20000004103A (en) Apparatus for detecting a fault relative to a real time clock in a processor board having a duplex structure
JPH07202866A (en) Clock path control system
JP2004134969A (en) Method and apparatus for receiving control packet
JP2002320346A (en) Distributed monitor/control system
JPS63191434A (en) Clock circuit
KR19990031056U (en) Clock switching device using multiplexer
JPH0527998A (en) Switching control system
JPH0259833A (en) Data processor
KR20010094293A (en) Managing method of the state of processors
JP2001142732A (en) Control system switching device
JPH04341028A (en) Transmitter
JPH0296840A (en) Runaway prevention circuit of central processing unit

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