KR20000040160A - Method for obtaining data on reason of stopped operation of main controller in switching center - Google Patents

Method for obtaining data on reason of stopped operation of main controller in switching center Download PDF

Info

Publication number
KR20000040160A
KR20000040160A KR1019980055720A KR19980055720A KR20000040160A KR 20000040160 A KR20000040160 A KR 20000040160A KR 1019980055720 A KR1019980055720 A KR 1019980055720A KR 19980055720 A KR19980055720 A KR 19980055720A KR 20000040160 A KR20000040160 A KR 20000040160A
Authority
KR
South Korea
Prior art keywords
main controller
abnormal state
data
controller
reason
Prior art date
Application number
KR1019980055720A
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 KR1019980055720A priority Critical patent/KR20000040160A/en
Publication of KR20000040160A publication Critical patent/KR20000040160A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/18Electrical details
    • H04Q1/20Testing circuits or apparatus; Circuits or apparatus for detecting, indicating, or signalling faults or troubles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13521Indexing scheme relating to selecting arrangements in general and for multiplex systems fault management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/16Service observation; Fault circuit; Testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Monitoring And Testing Of Exchanges (AREA)
  • Exchange Systems With Centralized Control (AREA)

Abstract

PURPOSE: A method for obtaining data on a reason of a stopped operation of a main controller in a switching center is provided to supply the data which enables a tracking of the reason why the controller has entered an abnormal state, by storing the values of registers and stacks in the controller in a secondary memory, when the controller returns to a normal state again after the abnormal state. CONSTITUTION: If an abnormal state occurs while a main controller executes a program(ST1), it is stopped and then operated again(ST2). The controller stores the values of registers and stacks temporarily in itself(ST3), and stores them in a secondary memory(ST4). A main memory is initialized(ST5). If the data in the secondary memory is requested to be searched by a secondary memory searching tool(ST7), the main controller outputs the data in the secondary memory to a print or monitor(ST8). A system operator can analyze the output data, and thereby check that the main controller executes what part of the program before it enters the abnormal state in order to track the reason why the main controller enters the abnormal state.

Description

교환기 주제어장치의 동작 정지 원인 정보 확보방법How to obtain information on the reason for the operation stop of the main controller

본 발명은 교환기에 관한 것으로, 특히 교환기에 구비된 주제어장치가 돌연히 비정상 상태에 빠져 동작 정지되었다가 재시동 과정을 거쳐 정상 상태로 복귀하는 경우 보조기억장치에 주제어장치의 프로그램 카운터 등 레지스터들의 값과 스택(Stack) 값을 저장하여 주제어장치가 비정상 상태에 진입하게된 원인을 용이하게 추적할 수 있는 데이터를 제공하도록 하는 교환기 주제어장치의 동작 정지 원인 정보 확보방법에 관한 것이다.The present invention relates to an exchange, and in particular, when the main control unit provided in the exchange suddenly enters into an abnormal state and stops operation and returns to a normal state through a restart process, the value and stack of registers such as a program counter of the main control unit in the auxiliary storage unit is returned. (Stack) relates to a method for obtaining operation stop cause information of an exchange main controller to store data to easily track the cause of the main controller entering an abnormal state.

일반적으로 교환기와 같은 시스템에는 여러 회로부를 제어하기 위한 주제어장치를 구비하고 있는데, 이 주제어장치가 정상적으로 동작 수행하여야 만이 교환기를 정상 가동할 수 있으므로, 주제어장치에 비정상 상태가 발생되어 주제어장치가 동작 정지하는 경우에 해당 비정상 상태에 진입하게된 원인을 추적하여 해당 원인을 해소시켜야 할 필요성이 있다.In general, a system such as an exchanger is provided with a main controller for controlling various circuit parts. Since the main controller can operate normally only when the main controller is operated normally, an abnormal state occurs in the main controller and the main controller is stopped. In this case, it is necessary to trace the cause of entering the abnormal state and to solve the cause.

종래에는 교환기를 운용하는 중에 교환기의 주제어장치에 비정상 상태가 발생되어 동작 정지하였다가 재시동 과정을 거쳐서 정상 상태로 복귀하는 경우 주제어장치에서 처리되던 내부 데이터를 모두 초기화하므로, 주제어장치의 비정상 상태를 추적 가능케하는 데이터가 제공되지 않아서, 이와같은 데이터를 얻기 위해서는 고가의 로직 분석기와 같은 장비를 동원하여야 하는 문제점이 있다.Conventionally, when an abnormal state occurs in the main control unit of the exchange during operation of the exchange, and the operation stops and returns to a normal state through a restart process, all the internal data processed by the main control unit is initialized, thereby tracking the abnormal state of the main control unit. Since no data is available, there is a problem of mobilizing equipment such as an expensive logic analyzer to obtain such data.

본 발명은 상술한 바와같은 문제점을 해결하기 위하여 안출된 것으로, 그 목적은 교환기에 구비된 주제어장치가 돌연히 비정상 상태에 빠져 동작 정지되었다가 재시동 과정을 거쳐 정상 상태로 복귀하는 경우 보조기억장치에 주제어장치의 프로그램 카운터 등 레지스터들의 값과 스택 값을 저장하여 주제어장치가 비정상 상태에 진입하게된 원인을 용이하게 추적할 수 있는 데이터를 제공하도록 하는 교환기 주제어장치의 동작 정지 원인 정보 확보방법을 제공함에 있다.The present invention has been made to solve the problems described above, the object is that the main control unit provided in the exchanger suddenly enters into the abnormal state when the operation stops and stops to return to the normal state through the restart process, the main control unit The present invention provides a method of obtaining operation stop cause information of an exchange main control unit that stores data of registers such as a program counter of a device and a stack value so that the main controller can be easily traced to a cause of entering an abnormal state. .

도1은 본 발명에 따른 교환기의 구성도.1 is a block diagram of an exchanger according to the present invention;

도2는 본 발명에 따른 교환기 주제어장치의 동작 정지 원인 정보 확보과정을 도시한 흐름도.2 is a flowchart illustrating a process of securing operation stop cause information of an exchange main controller according to the present invention;

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

11 : 가입자 정합부 12 : 주제어장치11: subscriber matching unit 12: main controller

13 : 주메모리 14 : 보조 메모리 장치13: main memory 14: auxiliary memory device

15 : 신호장치 정합부 16 : 중계선 정합부15: signal device matching unit 16: relay line matching unit

17 : 중계신호 정합부17: relay signal matching unit

이상과 같은 목적을 달성하기 위한 본 발명의 특징은, 교환기의 주제어장치가 동작 정지되었다가 재시동되어 정상 상태로 복귀하는 때에 주제어장치의 레지스터 값과 스택값을 자체에 저장하는 과정과; 상기 저장된 레지스터 값과 스택값을 보조 메모리 장치에 저장하는 과정과; 상기 보조 메모리 장치에 대한 조회 요청이 발생되면 상기 보조 메모리 장치의 레지스터 값과 스택값을 읽어내어 출력하는 과정을 포함하는데 있다.A feature of the present invention for achieving the above object comprises the steps of: storing the register value and the stack value of the main controller in itself when the main controller of the exchanger is stopped and restarted to return to a normal state; Storing the stored register value and stack value in an auxiliary memory device; And when the inquiry request for the auxiliary memory device is generated, reading and outputting a register value and a stack value of the auxiliary memory device.

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

본 발명에 따른 교환기는 도1에 도시된 바와같이 가입자 정합부(11), 주제어장치(12), 주메모리(13), 보조 메모리 장치(14), 신호장치 정합부(15), 중계선 정합부(16), 중계신호 정합부(17)를 구비하여 이루어진다. 가입자 정합부(11)는 가입자 전화기(TP)를 정합하여 주고, 신호장치 정합부(15)는 가입자 전화기(TP)에 대한 신호를 처리하는 신호장치를 정합한다. 주제어장치(12)는 자체에 접속된 각 회로부를 제어하여 교환 처리를 위한 동작을 제어하고, 주메모리(13)는 주제어장치(12)의 동작 수행시 발생되는 데이터를 저장하는 기능을 수행하고, 보조 메모리 장치(14)는 주제어장치(12)의 제어에 따라 데이터를 저장하는 기능을 수행한다. 중계선 정합부(16)는 일반 교환망에 연결되는 중계선을 정합하여 주고, 중계신호 정합부(17)는 중계선에 대한 신호를 처리하는 신호장치를 정합하여 준다.As shown in FIG. 1, the switch according to the present invention includes a subscriber matching unit 11, a main control unit 12, a main memory 13, an auxiliary memory device 14, a signal device matching unit 15, and a relay line matching unit. (16), a relay signal matching section 17 is provided. The subscriber matching unit 11 matches the subscriber telephone TP, and the signaling device matching unit 15 matches the signaling apparatus for processing the signal for the subscriber telephone TP. The main controller 12 controls each circuit unit connected to itself to control an operation for the exchange process, and the main memory 13 performs a function of storing data generated when the main controller 12 performs an operation. The auxiliary memory device 14 performs a function of storing data under the control of the main controller 12. The relay line matching unit 16 matches the relay lines connected to the general switching network, and the relay signal matching unit 17 matches the signal devices for processing signals for the relay lines.

본 발명에서는 교환기의 주제어장치(12)에 비정상 상태가 발생되어 주제어장치(12)가 동작 정지하는 경우에 주제어장치(12)가 비정상 상태에 진입하게된 원인을 용이하게 추적할 수 있게 하기 위하여, 주제어장치(12)가 돌연히 비정상 상태에 빠져 동작 정지되었다가 재시동 과정을 거쳐 정상 상태로 복귀할때에 보조 메모리 장치(14)에 주제어장치(12)의 프로그램 카운터 및 다수의 레지스터 값과 스택 값을 저장한다. 즉, 주제어장치(12)의 내부에는 산술적, 논리적 연산이나 정보해석, 전송 등을 할 수 있는 일정 길이의 2진 정보를 저장하기 위한 프로그램 카운터 등의 다수의 레지스터를 구비하고 있고, 자체에서 처리하는 스택의 어드레스를 조정하기 위한 스택 포인터를 구비하고 있고, 주제어장치(12)의 동작 정지시에 가지고 있던 레지스터 값과 스택 포인터의 스택값을 분석하면 프로그램의 어느 부분을 실행하다가 비정상 상태가 발생되었는지를 추적할 수 있는 바, 주제어장치(12)가 돌연히 비정상 상태에 빠져 동작 정지되었다가 재시동 과정을 거쳐 정상 상태로 복귀할때에 보조 메모리 장치(14)에 주제어장치(12)의 레지스터 값과 스택 값을 저장함으로써 이후에 보조 메모리 장치(14)의 데이터를 이용하여 주제어장치(12)가 비정상 상태에 진입하게된 원인을 용이하게 추적할 수 있게 한다.In the present invention, when an abnormal state occurs in the main control device 12 of the exchange and the main control device 12 stops operation, the main control device 12 can easily track the cause of entering the abnormal state, When the main controller 12 suddenly enters into an abnormal state, stops operation, and restarts to a normal state, the auxiliary memory device 14 stores the program counter of the main controller 12 and a plurality of register values and stack values. Save it. That is, the main controller 12 is provided with a plurality of registers such as a program counter for storing binary information of a predetermined length capable of performing arithmetic and logical operations, information analysis, transmission, and the like. A stack pointer is provided for adjusting the stack address, and if the register value and the stack value of the stack pointer that the main controller 12 has stopped operating are analyzed, it is determined that an abnormal state has occurred while executing the program. As can be traced, the register value and the stack value of the main control unit 12 are stored in the auxiliary memory device 14 when the main control unit 12 suddenly enters an abnormal state, stops operation, and returns to a normal state through a restart process. By storing the data, the main controller 12 easily enters into an abnormal state by using the data of the auxiliary memory device 14 later. It makes it possible to trace.

이와같이 주제어장치(12)의 동작 정지 원인을 추적할 수 있는 데이터를 확보하는 과정을 도2의 흐름도를 참조하여 설명하면 다음과 같다.As described above, a process of securing data capable of tracking the cause of the operation stop of the main controller 12 will be described with reference to the flowchart of FIG. 2.

먼저, 주제어장치(12)가 프로그램을 실행하여 동작하는 중에 비정상 상태가 발생되는 경우(스텝 ST1), 주제어장치(12)는 동작 정지하였다가 재시동된다(스텝 ST2). 이때, 주제어장치(12)는 자체의 레지스터들에 기록되어 있는 레지스터 값과 스택 포인터에 기록되어 있는 스택값을 자체에 저장하였다가(스텝 ST3), 보조 메모리 장치(14)에 저장한후(스텝 ST4), 주메모리(13)를 초기화시키고(스텝 ST5), 주제어장치(12)가 정상 동작을 시작한다(스텝 ST6). 그후에, 보조 메모리 조회 도구(보조 메모리의 정보를 조회하는 기능을 가진 프로그램)를 통하여 보조 메모리 장치(14)의 데이터 조회가 요구되면(스텝 ST7), 주제어장치(12)는 보조 메모리 장치(14)에 저장된 데이터를 모니터나 프린터를 통해 출력한다(스텝 ST 8). 이에따라, 시스템 운용자는 출력된 데이터들을 분석함으로써 주제어장치(12)가 프로그램의 어느 부분을 실행하다가 비정상 상태에 진입하였는지를 파악하여 비정상 상태 진입 원인을 추적하게 된다.First, when an abnormal state occurs while the main controller 12 executes a program and operates (step ST1), the main controller 12 stops operation and is restarted (step ST2). At this time, the main controller 12 stores the register value recorded in its registers and the stack value recorded in the stack pointer in itself (step ST3), and then in the auxiliary memory device 14 (step ST4). ), The main memory 13 is initialized (step ST5), and the main controller 12 starts normal operation (step ST6). Subsequently, if data inquiry of the auxiliary memory device 14 is requested through the auxiliary memory inquiry tool (a program having a function of inquiring the information of the auxiliary memory) (step ST7), the main controller 12 is connected to the auxiliary memory device 14; The data stored in the file is output through a monitor or a printer (step ST 8). Accordingly, the system operator analyzes the output data to determine which part of the program the main controller 12 enters into an abnormal state to track the cause of the abnormal state entry.

이상과 같이, 본 발명에서는 주제어장치(12)가 돌연히 비정상 상태에 빠져 동작 정지되었다가 재시동 과정을 거쳐 정상 상태로 복귀할때에 보조 메모리 장치(14)에 주제어장치(12)의 레지스터 값과 스택 값을 저장함으로써 이후에 보조 메모리 장치(14)의 데이터를 이용하여 주제어장치(12)가 비정상 상태에 진입하게된 원인을 용이하게 추적할 수 있게 한다.As described above, in the present invention, when the main controller 12 suddenly enters into an abnormal state, stops operation, returns to a normal state through a restart process, the register value and stack of the main controller 12 are stored in the auxiliary memory device 14. By storing the value, the data of the secondary memory device 14 can later be used to easily track the cause of the main controller 12 entering an abnormal state.

이상 설명한 바와같이, 본 발명은 교환기에 구비된 주제어장치가 돌연히 비정상 상태에 빠져 동작 정지되었다가 재시동 과정을 거쳐 정상 상태로 복귀하는 경우 보조기억장치에 주제어장치의 프로그램 카운터 등 레지스터들의 값과 스택 값을 저장하여 주므로, 고가의 로직 분석기를 사용하지 않더라도 주제어장치의 비정상 상태 진입 원인을 용이하게 추적할 수 있게 된다.As described above, in the present invention, when the main controller provided in the exchanger suddenly enters into an abnormal state and stops operation, and then returns to a normal state through a restart process, the values of the registers and the stack value of the main controller are stored in the auxiliary memory. Because it stores, it is possible to easily trace the cause of entering the abnormal state of the main controller even without using an expensive logic analyzer.

Claims (1)

교환기의 주제어장치가 동작 정지되었다가 재시동되어 정상 상태로 복귀하는 때에 주제어장치의 레지스터 값과 스택값을 자체에 저장하는 과정과; 상기 저장된 레지스터 값과 스택값을 보조 메모리 장치에 저장하는 과정과; 상기 보조 메모리 장치에 대한 조회 요청이 발생되면 상기 보조 메모리 장치의 레지스터 값과 스택값을 읽어내어 출력하는 과정을 포함하는 것을 특징으로 하는 교환기 주제어장치의 동작 정지 원인 정보 확보방법.Storing a register value and a stack value of the main control unit in a state where the main control unit of the exchange is stopped and restarted to return to a normal state; Storing the stored register value and stack value in an auxiliary memory device; And reading out the register value and the stack value of the auxiliary memory device when the inquiry request for the auxiliary memory device is generated.
KR1019980055720A 1998-12-17 1998-12-17 Method for obtaining data on reason of stopped operation of main controller in switching center KR20000040160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980055720A KR20000040160A (en) 1998-12-17 1998-12-17 Method for obtaining data on reason of stopped operation of main controller in switching center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980055720A KR20000040160A (en) 1998-12-17 1998-12-17 Method for obtaining data on reason of stopped operation of main controller in switching center

Publications (1)

Publication Number Publication Date
KR20000040160A true KR20000040160A (en) 2000-07-05

Family

ID=19563390

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980055720A KR20000040160A (en) 1998-12-17 1998-12-17 Method for obtaining data on reason of stopped operation of main controller in switching center

Country Status (1)

Country Link
KR (1) KR20000040160A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100815669B1 (en) * 2001-09-27 2008-03-20 엘지노텔 주식회사 Method for Cut Off Call Detecting in Switching System

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100815669B1 (en) * 2001-09-27 2008-03-20 엘지노텔 주식회사 Method for Cut Off Call Detecting in Switching System

Similar Documents

Publication Publication Date Title
US20060150023A1 (en) Debugging apparatus
KR20000040160A (en) Method for obtaining data on reason of stopped operation of main controller in switching center
CN100576182C (en) The real-time monitoring system of computer documents and method
US5121393A (en) System for testing a microprocessor
KR0182677B1 (en) Data back-up information output method in switching system
US5293572A (en) Testing system of computer by generation of an asynchronous pseudo-fault
US20040030958A1 (en) Integrated circuit with direct debugging architecture
US20030177280A1 (en) Imbedded interrupt handler
JP2002182951A (en) Maintenance method for information processor and information processor
KR100256561B1 (en) Method for processor fault information save/confirmation
JP2001014027A (en) Fault analysis assisting system for process controller
KR0154501B1 (en) Method for outputing charging data in the full electronic switching system
KR100260087B1 (en) Method for loading program in full electronic exchange system
CN117376229B (en) FTP file system software cross debugging method and system based on embedded equipment
KR960009918B1 (en) Inter processor communication of the tdx
KR960006951B1 (en) Method for analyzing on-line statistics magnetic tape
US20030033552A1 (en) Apparatus and method for wait state analysis in a digital signal processing system
KR19990043049A (en) Remote board control method using packet network
KR0182695B1 (en) Management between host switching module and remote switching module
KR100246606B1 (en) A method of alarm and fault statistic using system log file
KR20000039688A (en) Method for providing error cause information in switching system
KR19990009477A (en) Error History Management Method Using Memory of Communication Processing System
JP2928707B2 (en) Interrupt reporting device
US20040117487A1 (en) Apparatus and method for capturing an event or combination of events resulting in a trigger signal in a target processor
JP2002123408A (en) Method and device for processing procedure step

Legal Events

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