KR100201940B1 - Error detect method of auxiliary memory appratus in full electronic switching system - Google Patents

Error detect method of auxiliary memory appratus in full electronic switching system Download PDF

Info

Publication number
KR100201940B1
KR100201940B1 KR1019960004652A KR19960004652A KR100201940B1 KR 100201940 B1 KR100201940 B1 KR 100201940B1 KR 1019960004652 A KR1019960004652 A KR 1019960004652A KR 19960004652 A KR19960004652 A KR 19960004652A KR 100201940 B1 KR100201940 B1 KR 100201940B1
Authority
KR
South Korea
Prior art keywords
auxiliary memory
auxiliary
data
memory device
error
Prior art date
Application number
KR1019960004652A
Other languages
Korean (ko)
Other versions
KR970064288A (en
Inventor
이근호
Original Assignee
윤종용
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자주식회사 filed Critical 윤종용
Priority to KR1019960004652A priority Critical patent/KR100201940B1/en
Publication of KR970064288A publication Critical patent/KR970064288A/en
Application granted granted Critical
Publication of KR100201940B1 publication Critical patent/KR100201940B1/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

Abstract

1. 청구범위에 기재된 발명에 속한 기술분야 : 전전자교환시스템에서 보조기억 장치의 에러 검출방법.1. TECHNICAL FIELD OF THE INVENTION Claimed in the Claim: An error detection method of an auxiliary memory device in an electronic switching system.

2. 발명이 해결하려고 하는 기술적 과제 : 전전자 교환시스템의 보조기억장치들에 전원이 공급되어 있음에도 불구하고 동작 상태가 비정상이거나, 상기 보조기억장치들로부터 데이터를 읽거나 기록할 때 에러가 발생될 경우 정확한 에러 발생의 원인을 알 수 없었다. 또한 운용자는 에러 발생의 원인을 찾기 위해 보조기억장치를 제어하는 보드의 점검, 보조기억장치를 연결하는 케이블 점검등 여러 가지 점검을 하여야 하는데 이 점검의 시간이 장시간으로 이어질 경우에 전전자교환시스템 운용에 큰 장애를 유발시켜 시스템 다운(DOWN)이라는 결과를 가져오는 문제점이 있었다.2. The technical problem to be solved by the invention: The operation state is abnormal even if the auxiliary storage devices of the electronic switching system is powered, or an error occurs when reading or writing data from the auxiliary storage devices. The exact cause of the error was not known. In addition, the operator must perform various checks, such as the inspection of the board controlling the auxiliary storage device and the cable connection to the auxiliary storage device, in order to find the cause of the error. There is a problem that causes a big failure in the system resulting in the system (DOWN).

3. 발명의 해결방법의 요지 : 초기프로그램, 과금데이터 및 통계데이터를 기록 독출하고 기록된 데이터를 백업하여 기록하는 보조기억장치와, 상기 보조기억장치의 동작을 제어하는 어뎁터와, 기록된 데이터를 관리하는 유지보수프로세서를 구비한 전전자교환기에서, 상기 보조기억장치의 상태를 일정 주기로 체크하여 비정상 동작 여부를 검출하는 상태 체크과정과, 명령 수행 요구에 따른 명령 수행시 비정상 동작여부를 검출하는 명령 수행과정과, 상기 상태 체크과정과 명령 수행과정에서 비정상 동작이 검출되면 에러의 원인을 체크하는 원인체크과정을 통하여 보조기억장치의 하드웨어적인 에러를 검출하는 방법.3. Summary of the Invention Solution: An auxiliary memory device for recording and reading out initial programs, billing data, and statistical data, and recording and backing up the recorded data, an adapter for controlling the operation of the auxiliary memory device, and recorded data. In the all-electronic switchboard having a maintenance processor for managing, the state checking process of checking the state of the auxiliary storage device at regular intervals to detect whether there is abnormal operation, and the instruction to detect whether abnormal operation is performed when the instruction is executed according to the command execution request. A method of detecting a hardware error of an auxiliary memory device through a cause check process of checking a cause of an error when an abnormal operation is detected in an execution process and a state check process and a command execution process.

4. 발명의 중요한 용도 : 전전자교환시스템.4. Significant use of the invention: electronic switching system

Description

전전자교환시스템에서 보조기억장치의 에러 검출 방법Error Detection Method of Auxiliary Memory in Electronic Electronic Switching System

제1도는 일반적인 입출력장치의 구성 블록도.1 is a block diagram illustrating a general input / output device.

제2도는 본 발명에 따른 보조기억장치의 상태를 체크하기 위한 제어흐름도.2 is a control flow chart for checking the state of the auxiliary memory device according to the present invention.

제3도는 본 발명에 따른 명령을 수행하기 위한 제어흐름도.3 is a control flow diagram for performing a command according to the present invention.

제4도는 본 발명에 따른 하드웨어 에러를 체크하기 위한 서브루틴의 제어흐름도.4 is a control flowchart of a subroutine for checking hardware error according to the present invention.

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

110 : 유지보수프로세서 112 : 어뎁터110: maintenance processor 112: adapter

114 : 보조기억장치 116 : 듀얼포트메모리114: auxiliary memory device 116: dual port memory

118 : CPU 120,122 : 스카시 프로세서 1,2118: CPU 120,122: SCSI processor 1,2

124,126 : SCSI버스 128-134 : DKU124,126: SCSI bus 128-134: DKU

136-140 : MTU136-140: MTU

본 발명은 전전자교환시스템에 관한 것으로, 특히 보조기억장치에서 명령수행시 또는 상태 체크시에 하드웨어적인 에러 발생을 검출하는 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic switching system, and more particularly, to a method of detecting a hardware error when performing an instruction or checking a state in an auxiliary memory device.

일반적으로 전전자교환시스템에서 말하는 입출력장치는 보조기억장치와 입출력포트로 구성되어 진다. 또한 상기 보조기억장치라 함은 시스템 운용에 필요한 프로그램 및 데이터를 저장하는 두 개의 하드디스크 드라이브(Hard Disk Unit, 이하 DKU라함)와 , 통화로 인하여 발생된 과금 데이터를 저장하는 두 개의 DKU와, 상기 DKU에 저장된 과금 데이터를 백업할 수 있는 세 개의 마그네틱테이프 드라이브(Magnetic Tape Unit, 이하 MTU라 함)로 구성되어 진다.In general, the input / output device in the electronic switching system is composed of an auxiliary memory device and an input / output port. In addition, the auxiliary storage device is a hard disk drive (Hard Disk Unit, DKU) for storing the programs and data necessary for operating the system, two DKU for storing the billing data generated by the call, and It consists of three magnetic tape units (MTUs) that can back up billing data stored in the DKU.

전전자교환시스템에서 사용자의 요구에 따라 데이터를 입출력하기 위한 일반적인 입출력장치의 구성은 제1도와 같은 구성을 가진다. 상기 제1도에 도시된 입출력장치의 구성을 살펴보면, 보조기억장치(114)는 고용량의 하드디스크(Hard Disk)와 상기 하드디스크(Hard Disk)의 구동을 제어하는 드라이버(Driver)를 구비하는 DKU(128 -134)와, 마그네틱테이프(Magnetic Tape)와 상기 마그네틱테이프(Magnetic Tape )의 구동을 제어하는 드라이버(Driver)를 구비하는 MTU(136-140)로 구성된다. 또한 상기 DKU(128-134)는 전전자교환시스템의 초기프로그램, 과금 데이터 및 통계 데이터를 저장하며, 어뎁터(ADAPTOR)(112)의 제어에 따라 데이터를 기록하거나 독출한다. 그리고 상기 MTU(136-140)는 상기 DKU(128-134)에 저장된 테이프를 백업 받아 저장한다. 상기 어뎁터(112)는 데이터의 양방향 전송이 가능한 듀얼포트메모리(116)와, 상기 보조기억장치(114)를 제어하는 2개의 스카시프로세서(SCSI Proc essor)(120, 122)와, 스카시(Small Computer System Interface, 이하 SCSI라 함)버스(124,126)를 통하여 상기 보조기억장치(114)의 상태 관리를 3-4초 주기로 수행하는 CPU(118)로 구성된다. 또한 상기 어뎁터(112)는 유지보수프로세서(110)로부터 제공되는 명령 수행 또는 보조기억장치(114)의 상태 체크시에 상기 보조기억장치(114)를 제어한다. 상기 유지보수프로세서(110)는 상기 보조기억장치(114)에 저장된 데이터를 관리하고, 상기 보조기억장치(114)에 데이터를 기록하거나 독출하기 위한 제어를 수행한다. 상기 SCSI버스(124,126)는 두 개의 버스로 구성된다. 상기 SCSI버스(124)에는 두 개의 DKU(128,130)와 두 개의 MTU(136,138)가 접속되며, 또한 상기 SCSI버스(126)에는 두 개의 DKU(132,134)와 하나의 MTU(140)가 접속된다. 상기한 구성에 따른 참조부호는 하기에서도 동일하게 사용됨을 주의하여야 한다.The general input / output device for inputting / outputting data according to a user's request in the electronic switching system has the configuration as shown in FIG. Looking at the configuration of the input and output device shown in FIG. 1, the auxiliary memory device 114 is a DKU having a hard disk (Hard Disk) and a driver (Driver) for controlling the drive of the hard disk (Hard Disk) (128-134) and a magnetic tape (MTU) (136-140) having a driver (Driver) for controlling the drive of the magnetic tape (Magnetic Tape). In addition, the DKU 128-134 stores initial programs, billing data, and statistical data of the electronic switching system, and records or reads data under the control of the adapter (ADAPTOR) 112. The MTU 136-140 backs up and stores the tape stored in the DKU 128-134. The adapter 112 includes a dual port memory 116 capable of bidirectional transmission of data, two SCSI processors 120 and 122 for controlling the auxiliary memory 114, and a small computer. System Interface (hereinafter, referred to as SCSI) includes a CPU 118 that manages the state of the auxiliary storage device 114 at a period of 3-4 seconds through the buses 124 and 126. The adapter 112 also controls the auxiliary memory 114 at the time of performing an instruction provided from the maintenance processor 110 or checking the state of the auxiliary memory 114. The maintenance processor 110 manages data stored in the auxiliary memory 114, and performs control for writing or reading data to the auxiliary memory 114. The SCSI buses 124 and 126 consist of two buses. Two DKUs 128 and 130 and two MTUs 136 and 138 are connected to the SCSI bus 124, and two DKUs 132 and 134 and one MTU 140 are connected to the SCSI bus 126. It should be noted that the reference numerals according to the above configurations are used the same in the following.

상기와 같은 구성을 가지는 전전자교환기의 입출력장치에서 종래에 보조기억장치의 동작상태를 체크하는 과정을 설명하면, 어뎁터(112)에 구비된 CPU(118)는 3-4초를 주기로 하여 스카시 프로세서(120,122)를 통하여 SCSI버스(124,126)에 접속된 보조기억장치(114)의 상태를 순치적으로 체크한다. 이때 상태 체크과정에서 체크중인 상기 보조기억장치(114)의 상태가 정상에서 비정상으로 바뀌거나, 비정상에서 정상으로 바뀔 때마다 변화된 내용을 보고 받아 백업 작업을 수행한다. 상기 상태를 체크하는 방법은 SCSI정합 방식에서 공통으로 사용하고 있는 TUR(Test Unit Ready)이라는 명령을 상기 보조기억장치(114)에 전송한 후 이에 응답하는 상태값을 분석하여 정상인지 아닌지를 확인한다. 상기 TUR명령은 보조기억장치(114)들의 동작 준비 완료 상태를 확인하기 위해 제공되어지는 명령어이다.Referring to the process of checking the operation state of the auxiliary memory device in the input / output device of the all-electronic exchanger having the above configuration, the CPU 118 provided in the adapter 112 has a SCSI processor every 3-4 seconds. The state of the auxiliary storage device 114 connected to the SCSI buses 124 and 126 via 120 and 122 is checked in order. At this time, whenever the state of the auxiliary memory device 114 being checked in the state checking process changes from normal to abnormal or changes from abnormal to normal, the changed contents are received and the backup operation is performed. The method of checking the state transmits a test unit ready (TUR) command commonly used in the SCSI matching method to the auxiliary storage device 114, and then analyzes the state value in response thereto to check whether or not it is normal. . The TUR command is a command provided to confirm an operation ready state of the auxiliary memory 114.

그리고 상기 보조기억장치(114)가 정상 상태일지라도 유지보수프로세서(110)로부터 데이터를 읽거나 기록하라는 명령이 입력되어 작업을 수행할 때 정상적으로 작업이 수행되지 않는 경우가 있다. 이때 상기 어뎁터(112)는 유지보수프로세서(110)로 읽기 또는 기록에 대한 에러메세지를 제공한다. 그러나 보조기억장치(114)들에 전원이 공급되어 있음에도 불구하고 상태가 비정상이거나, 상기 보조기억장치(114)들로부터 데이터를 읽거나 기록할 때 에러가 발생될 경우 정확한 에러 발생의 원인을 알 수 없었다. 또한 운용자는 에러발생의 원인을 찾기 위해 보조기억장치(114)를 제어하는 보드의 점검, 보조기억장치(114)를 연결하는 케이블 점검 등 여러 가지 점검을 하여야 하는데 이 점검의 시간이 장시간으로 이어질 경우에 전전자교환시스템 운용에 큰 장애를 유발시켜 시스템다운(DOWN)이라는 결과를 가져오는 문제점이 있었다.In addition, even when the auxiliary storage device 114 is in a normal state, a command may be inputted to read or write data from the maintenance processor 110, and thus the work may not be normally performed. In this case, the adapter 112 provides an error message for reading or writing to the maintenance processor 110. However, despite the power supply to the auxiliary memory 114, if the state is abnormal or if an error occurs when reading or writing data from the auxiliary memory 114, the exact cause of the error can be known. There was no. In addition, the operator should perform various checks such as the inspection of the board controlling the auxiliary storage device 114 and the cable check connecting the auxiliary storage device 114 to find the cause of the error. There was a problem that causes a big obstacle in the operation of the electronic switching system, resulting in a system down (DOWN).

따라서 본 발명에 따른 목적은 데이터의 기록 또는 독출 명령이 입력되면 해당 보조기억장치의 하드웨어 에러의 발생을 체킹하여 알리는 방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide a method of checking and informing occurrence of a hardware error of a corresponding auxiliary memory device when a command to write or read data is input.

본 발명의 다른 목적은 주기적인 보조기억장치의 상태를 체크하는 과정에서 하드웨어 에러가 발생된 보조기억장치를 검출하여 알리는 방법을 제공하는데 있다.Another object of the present invention is to provide a method for detecting and informing a secondary memory device having a hardware error in a process of checking a state of a periodic secondary memory device.

본 발명에 따른 목적을 달성하기 위하여, 데이터의 기록 또는 독출 명령에 따라 보조기억장치를 제어시 보조기억장치가 비정상적으로 동작하는 경우 보조기억장치에 센스 데이터를 요구하여 하드웨어 에러 발생 여부를 검출하여 알리는 과정과, 주기적인 보조기억장치의 상태를 체크할 시 보조기억장치가 비정상적으로 동작하는 경우 보조기억장치에 센스 데이터를 요구하여 하드웨어 에러 발생 여부를 검출하여 알리는 과정으로 이루어짐을 특징으로 한다.In order to achieve the object according to the present invention, when the auxiliary memory device is abnormally operated when controlling the auxiliary memory device in accordance with the recording or reading command of the data to detect the presence of a hardware error by requesting the sense data to the auxiliary memory device; Process and, if the auxiliary memory device operates abnormally when checking the state of the periodic auxiliary memory device, detects and informs whether or not a hardware error occurs by requesting sense data from the auxiliary memory device.

이하 도시된 도면을 참조하여 상세히 설명한다.Hereinafter, with reference to the drawings shown in detail.

본 발명을 수행하는 전전자교환기의 입출력장치의 일반적인 구성은 상기한 제1도의 동일한 구성을 가지며, 참조 부호도 동일하게 사용되어짐에 유의하여야 한다.It should be noted that the general configuration of the input / output device of the all-electronic exchange which carries out the present invention has the same configuration as in FIG. 1 and the same reference numerals are used.

제2도는 본 발명에 따른 보조기억장치의 상태를 체크하기 위한 제어흐름도로서, 3-4초 주기로 상태를 체크할 보조기억장치를 선택하는 과정과, TUR 명령 블록을 구성하여 선택된 보조기억장치로 송출하는 과정과, 상기 TUR 명령에 응답하여 수신되는 결과 상태값을 분석하여 분석된 상태값에 따라 비정적으로 동작하고 있는가를 판단하는 과정과, 비정상적으로 동작하고 있다고 판단되면 에러원인체크모드를 수행하는 과정으로 이루어진다.2 is a control flow chart for checking the state of the auxiliary memory device according to the present invention, the process of selecting the auxiliary memory device to check the status every 3-4 seconds, and configured to send the TUR command block to the selected auxiliary memory device And analyzing the resultant state value received in response to the TUR command to determine whether it is operating non-statically according to the analyzed state value, and performing an error cause check mode if it is determined to be abnormally operated. Is done.

제3도는 본 발명에 따른 명령을 수행하기 위한 제어흐름도로서, CPB의 명령 수신요구가 등록되는 영역을 주기적으로 체크하여 명령수신요구가 있는가를 검색하는 과정과, 명령수신요구의 등록이 검색되는 경우에는 상기 CPB로부터 명령 수행에 필요한 데이터를 검색하는 과정과, 명령을 수행할 보조기억장치로 데이터 전송작업을 수행하는 과정과, 명령처리에 따른 결과 상태값이 수신되면 상태값을 분석하여 비정상적으로 동작하고 있는가를 판단하는 과정과, 비정상적으로 동작하고 있다고 판단되면 에러원인체크모드를 수행하는 과정으로 이루어진다.3 is a control flow chart for performing a command according to the present invention. The process of periodically checking an area where a command reception request of a CPB is registered to search for a command reception request, and when a registration of a command reception request is detected, Searching for data necessary for executing the command from the CPB; performing a data transmission operation to the auxiliary storage device to perform the command; and analyzing the status value when the resultant status value is received according to the command processing. And determining that there is an abnormal operation and performing an error cause check mode.

제4도는 본 발명에 따른 제2도와 제3도에서 비정상적인 동작이 감지되면 수행되는 하드웨어 에러를 체크하기 위한 서브루틴의 제어흐름도로서, 보조기억장치의 상태를 읽어 조사하기 위한 센스요구 명령 블록을 구성하여 전송하는 과정과, 상기 센스요구 명령에 응답하여 센스 데이터가 수신되면 수신된 센스 데이터를 분석하는 과정과, 상기 센스 데이터로부터 하드웨어 에러를 나타내는 데이터가 검출되면 하드웨어 에러 메시지를 전송하는 과정으로 이루어진다.4 is a control flowchart of a subroutine for checking a hardware error performed when abnormal operation is detected in FIGS. 2 and 3 according to the present invention, and constitutes a sense request command block for reading and inspecting the state of the auxiliary memory device. And a process of analyzing the received sense data when the sense data is received in response to the sense request command, and transmitting a hardware error message when data indicating a hardware error is detected from the sense data.

이하 본 발명의 바람직한 일 실시예를 첨부된 도면인 제2,3,4도를 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to FIGS. 2, 3, and 4.

먼저 어뎁터(112)에서 보조기억장치의 상태를 체크하는 과정을 제2도를 참조하여 설명하면, CPU(118)는 210단계에서 상태를 체크할 보조기억장치(114)가 접속된 SCSI버스(124,126)와 상태 체크할 보조기억장치(114)의 고유 번호(I.D)를 선택한다. 상기 210단계에서 필요한 데이터가 선택되면, 212단계로 진행하여 상기 보조기억장치(114)의 동작준비 상태를 체크하기 위한 명령인 TUR명령 블록을 구성한다. 상기 TUR명령 블록의 구성의 구성이 완료되면, 상기 스카시 프로세서(120,122)는 214단계에서 상기 구성된 TUR명령 블록을 선택된 SCSI버스(124,126)를 통해 해당 번호(I.D)의 보조기억장치(114)로 송출한다. 그리고 상기 스카시 프로세서(120,122)는 216단계에서 상기 TUR명령에 대응하여 보조기억장치(114)로부터 결과 상태값에 해당하는 데이터를 수신한다. 상기 216단계에서 결과 상태값이 수신되면, 상기 CPU(118)는 218단계에서 상기 수신된 상태값을 분석한다. 그리고 상기 CPU(118)는 220단계로 진행하여 상기 218단계에서 분석된 상태값이 해당 보조기억장치(114)가 정상 동작을 할 수 없는 상태인가를 판단한다. 일반적으로 상기 220단계에서 수행되는 판단과정은 상기 218단계에서 분석된 상태값이 0으로 분석되면 정상 상태라고 판단하며, 상태값이 2로 분석되면 비정상적인 동작 상태라고 판단한다. 따라서 상기 220단계에서 비정상 상태를 나타내는 2라는 데이터가 검색되면 222단계로 진행한다. 상기 2라는 상태값은 보조기억장치(114)가 이전에 요구되었던 명령을 실행하지 못하고 어떤 요인에 의하여 실행이 되지 못하였음을 알려주고, 호스트에게 상태값을 체크하라는 의미이다. 하지만 정상 상태를 나타내는 0이라는 데이터가 검출되면 224단계로 진행하여 모든 보조기억장치(114)의 상태 체크가 완료되었는가를 판단하여 완료되지 않은 경우에는 상기 210단계로 리턴하여 상태 체크과정을 수행하며, 완료되었다고 판단되면 상태 체크과정을 종료한다. 상기 222단계에서는 보조기억장치(114)가 정상적인 동작을 수행할 수 없는 원인을 체크하기 위한 모드를 수행한다. 상기 222단계의 상세한 수행 과정은 하기 제4도를 참조하여 상세히 설명될 것이다.First, the process of checking the state of the auxiliary memory device in the adapter 112 will be described with reference to FIG. 2. In step 210, the CPU 118 connects the SCSI buses 124 and 126 to which the auxiliary memory device 114 to check the state is connected. And the unique number (ID) of the auxiliary storage device 114 to be checked. If necessary data is selected in step 210, the control proceeds to step 212 to configure a TUR command block which is a command for checking the operation readiness state of the auxiliary memory device 114. When the configuration of the configuration of the TUR command block is completed, the SCSI processors 120 and 122 transmit the configured TUR command block to the auxiliary storage device 114 of the corresponding number (ID) through the selected SCSI buses 124 and 126 in step 214. do. In operation 216, the SCSI processors 120 and 122 receive data corresponding to the result state value from the auxiliary memory device 114 in response to the TUR command. When the resultant state value is received in step 216, the CPU 118 analyzes the received state value in step 218. The CPU 118 proceeds to step 220 and determines whether the state value analyzed in step 218 is a state in which the corresponding auxiliary memory device 114 cannot operate normally. In general, the determination process performed in step 220 determines that the state value analyzed in step 218 is 0 when it is analyzed as a normal state, and when the state value is analyzed by 2, it is determined that it is an abnormal operation state. Therefore, if the data of 2 representing the abnormal state is found in step 220, the process proceeds to step 222. A state value of 2 indicates that the auxiliary memory 114 did not execute a command previously requested and was not executed by some factor, and checks the state value to the host. However, if 0 data indicating a normal state is detected, the process proceeds to step 224 to determine whether the state check of all the auxiliary storage devices 114 is completed. If not, the process returns to step 210 to perform the state check process. If it is determined that it is completed, the status check process is terminated. In step 222, the auxiliary memory 114 performs a mode for checking the cause of the inability to perform a normal operation. A detailed execution process of step 222 will be described in detail with reference to FIG. 4 below.

다음으로 어뎁터(112)에서 보조기억장치에 데이터를 기록하거나 읽기 위한 명령을 수행하는 과정을 제3도를 참조하여 설명하면, CPU(118)는 310단계에서 듀얼포트메모리(116)에 기록된 CPB에서 명령 수신요구가 등록되는 특정 영역을 주기적으로 체크하며, 312단계에서는 상기 310단계의 체크과정에서 명령 수신요구가 등록되어 있을 경우에는 314단계로 진행하고 등록되어 있지 않는 경우에는 상기 310단계로 리턴하여 체크과정을 주기적으로 수행한다. 일반적으로 상기 312단계에서 수행 여부의 판단은 특정 영역에 명령 수신 요구인 a5a5라는 데이터 등록되어 있는가를 검색함으로써 결정된다. 또한 상기 CPU(118)는 명령 수신요구가 등록되어 314단계로 진행되며, 상기 듀얼포트메모리(116)에 등록된 CPB를 분석하여 등록된 명령을 수행하는데 필요한 데이터를 제공받는다. 상기 등록된 명령이라 함은 보조기억장치(114)에 등록된 데이터를 읽거나 기록하는 명령을 말한다. 상기 314단계에서 명령 수행에 필요한 데이터의 분석이 완료되어 제공되면 상기 CPU(118)의 상기 스카시 프로세서(120,122)중 하나의 해당 스카시 프로세서(120,122)를 316단계에서 선택하여 SCSI버스(124,126)를 통해 명령을 수행할 보조기억장치(114)로 데이터 전송작업을 수행한다. 그리고 상기 스카시 프로세서(120,122)는 318단계에서 상기 316단계에서 전송된 명령의 수행 결과에 따른 상태값을 해당 보조기억장치(114)로부터 수신한다. 상기 결과 상태값이 수신되면, 상기 CPU(118)는 320단계에서 수신된 결과 상태값을 분석한다. 상기 320단계에서 결과 상태값의 분석이 안료되면, 322단계로 진행하여 상기 320단계에서 분석된 상태값이 해당 보조기억장치(114)가 명령을 정상적으로 수행할 수 없는 상태인가를 판단한다. 일반적으로 상기 322단계에서 수행되는 판단과정은 상기 320단계에서 분석된 상태값이 0으로 분석되면 정상 상태라고 판단하며, 상태값이 2로 분석되면 비정상적인 동작 상태라고 판단한다. 따라서 상기 322단계에서 비정상 상태를 나타내는 2라는 데이터가 검색되면 324단계로 진행한다. 하지만 정상 상태를 나타내는 0이라는 데이터가 검출되면 326단계로 진행하여 명령이 정상적으로 수행되었음을 상기 듀얼포트메모리(116)를 통하여 유지보수프로세서(110)로 알린 후 수행과정을 종료한다. 상기 324단계에서는 보조기억장치(114)가 정상적인 동작을 수행할 수 없는 원인을 체크하기 위한 에러원인 체크모드를 수행한다. 상기 324단계의 상세한 수행과정은 하기 제4도를 참조하여 상세히 설명될 것이다.Next, referring to FIG. 3, the adapter 112 performs a command for writing or reading data to the auxiliary memory device. In operation 310, the CPU 118 records the CPB recorded in the dual port memory 116. In step 312, if the command receiving request is registered in the check process of step 310, the process proceeds to step 314, and returns to step 310 if it is not registered. Check process periodically. In general, the determination of whether or not to perform in step 312 is determined by searching whether a data, a5a5, which is a command reception request is registered in a specific area. In addition, the CPU 118 registers a command receiving request and proceeds to step 314. The CPU 118 analyzes a CPB registered in the dual port memory 116 and receives data necessary to perform a registered command. The registered command refers to a command for reading or recording data registered in the auxiliary memory device 114. When the analysis of the data necessary for the execution of the command is provided in step 314, the corresponding SCSI processor 120 or 122 of one of the SCSI processors 120 and 122 of the CPU 118 may be selected in step 316 through the SCSI buses 124 and 126. A data transmission operation is performed to the auxiliary memory 114 to perform a command. In operation 318, the SCSI processors 120 and 122 may receive a state value according to the execution result of the command transmitted in operation 316 from the corresponding auxiliary memory device 114. When the result status value is received, the CPU 118 analyzes the result status value received in step 320. When the analysis of the resultant state value is pigmented in step 320, the process proceeds to step 322 to determine whether the state value analyzed in step 320 is a state in which the corresponding auxiliary memory device 114 cannot normally execute a command. In general, the determination process performed in step 322 determines that the state value analyzed in step 320 is 0, and when the state value is analyzed as 2, it is determined that the state is abnormal. Therefore, if the data "2" indicating an abnormal state is found in step 322, the process proceeds to step 324. However, if data of 0 indicating a normal state is detected, the process proceeds to step 326 and the maintenance processor 110 is notified to the maintenance processor 110 through the dual port memory 116 and the execution process ends. In step 324, the auxiliary memory 114 performs an error cause check mode for checking the cause of the inability to perform a normal operation. A detailed process of step 324 will be described in detail with reference to FIG. 4 below.

상기한 제2도 및 제3도에서 비정상적인 동작이 검출되는 경우에 수행되는 에러원인 체크모드의 서브루틴을 제4도를 참조하여 상세히 설명한다.The subroutine of the check mode, which is an error source performed when abnormal operation is detected in FIGS. 2 and 3, will be described in detail with reference to FIG.

CPU(118)는 제2도의 220단계와 제3도의 322단계에서 비정상적인 동작이 감지되면 410단계로 진행하여 보조기억장치(1401)의 하드웨어적인 상태를 조사하기 위한 센스 데이터를 요구하는 센스요구 명령 블록을 구성한다. 상기 센스요구 명령 블록의 구성이 완료되면, 상기 스카시 프로세서(120,122)는 412단계에서 상기 센스요구 명령 블록을 SCSI버스(124,126)를 통하여 해당 보조기억장치(140)로 전송한다. 그리고 상기 스카시 프로세서(120,122)는 414단계에서 상기 센스요구 명령에 응답하여 상기 보조기억장치(140)로부터 14바이트(byte)의 크기를 가지는 센스 데이터를 상기 SCSI버스(124,126)를 통하여 수신한다. 상기 14바이트의 센스 데이터 수신이 감지되면, 상기 CPU(118)는 416단계로 진행하여 수신된 센스 데이터를 분석한다. 그리고 상기 CPU(118)는 수신된 센스 데이터의 분석이 완료되면 418단계에서 해당 보조기억장치(114)의 비정상적인 동작이 하드웨어 에러로 인한 것인가를 판단한다. 상기 판단단계는 상기 414단계에서 수신된 14바이트의 센스데이터에서 3번째 바이트의 0,1,2,3비트를 체크하여 체크된 값이 4인가를 판단함으로서 체크할 수 있다. 만약 상기 418단계에서 4라는 데이터가 검출되면, 상기 CPU(118)는 420단계로 진행하여 하드웨어 에러 메시지를 듀얼포트메모리(116)를 통하여 유지보수프로세서(110)에 제공된 후 기능을 종료하기 위해 리턴한다. 상기 유지보수프로세서(110)로 전송되는 에러 메시지는 하드웨어 에러가 발생된 보조기억장치(114)의 이름, 번호 및 하드웨어 에러를 알리는 코드로 구성된다. 그러나 상기 418단계에서 하드웨어 에러가 아니라고 판단되면, 상기 스카시 프로세서(120,122)는 422단계로 진행하여 하나의 명령마다 걸어주는 타이머를 정지시키고 기능을 종료하기 위해 리턴 한다.If an abnormal operation is detected in steps 220 and 322 of FIG. 2, the CPU 118 proceeds to step 410 to request a sense request instruction block for sensing data for examining the hardware state of the auxiliary memory device 1401. Configure When the configuration of the sense request command block is completed, the SCSI processors 120 and 122 transmit the sense request command block to the corresponding auxiliary storage device 140 through the SCSI buses 124 and 126 in step 412. In operation 414, the SCSI processors 120 and 122 receive sense data having a size of 14 bytes from the auxiliary memory device 140 in response to the sense request command through the SCSI buses 124 and 126. If the 14-byte sense data is received, the CPU 118 proceeds to step 416 to analyze the received sense data. When the analysis of the received sense data is completed, the CPU 118 determines whether an abnormal operation of the auxiliary storage device 114 is caused by a hardware error in step 418. The determination step may be checked by checking whether the checked value is 4 by checking the 0, 1, 2, 3 bits of the 3rd byte in the 14-byte sense data received in step 414. If the data of 4 is detected in step 418, the CPU 118 proceeds to step 420 and provides a hardware error message to the maintenance processor 110 through the dual port memory 116 and then returns to terminate the function. do. The error message transmitted to the maintenance processor 110 includes a name, a number, and a code indicating a hardware error of the auxiliary storage device 114 in which a hardware error has occurred. However, if it is determined in step 418 that it is not a hardware error, the SCSI processor 120 or 122 proceeds to step 422 and stops the timer for each command and returns to terminate the function.

상술한 바와 같이 본 발명에 따라 하드디스크 드라이브와 마그네틱테이프 드라이브로 구성되는 보조기억장치의 하드웨어적인 에러 발생 유무를 시스템 자체적으로 신속히 진단하여 하드웨어 에러가 발생될 시 사용자에게 신속히 통보함으로서 장시간 시스템의 장애가 발생할 수 있는 요소를 제거하여 과금 데이터, 초기프로그램 및 통계 데이터를 보호할 수 있으며, 시스템이 다운되는 것을 방지함으로 인하여 효율적인 서비스를 공급할 수 있다는 효과가 있다.As described above, according to the present invention, the system itself is quickly diagnosed whether or not a hardware error occurs in the auxiliary memory device consisting of a hard disk drive and a magnetic tape drive, and a user can be notified quickly when a hardware error occurs. It can protect billing data, initial program and statistical data by eliminating possible factors, and can provide efficient service by preventing system from crashing.

Claims (2)

초기프로그램, 과금 데이터 및 통계 데어터를 기록 독출하고 기록된 데어터를 백업하여 기록하는 다수의 보조기억장치들과, 상기 보조기억장치들의 동작을 제어하는 어뎁터와, 기록된 데이터를 관리하는 유지보수프로세서를 구비한 전전자교환기에서 어뎁터가 보조기억장치의 하드웨어 에러를 검출하는 방법에 있어서, 소정 주기로 상기 보조기억장치들의 동작 상태를 순차적으로 체크하기 위해 보조기억장치를 지정하는 식별코드와 명령을 출력하는 제1과정과, 상기 유지보수프로세서로부터 제공되는 읽기/쓰기 명령에 대응하여 상기 명령과 해당 보조기억장치를 지정하는 식별코드를 포함하도록 메시지를 구성하여 출력하는 제2과정과, 상기 제1과정과 제2과정에서 출력한 명령 또는 메시지에 응답하여 해당 보조기억장치로부터 결과 상태값을 수신하면 상기 수신한 결과 상태값을 분석하여 해당 보조기억장치의 동작 상태를 판단하는 제3과정과, 상기 제3과정에 의해 해당 보조기억장치의 비정상적인 동작을 검출할 시센서데이터 요구 명령을 상기 비정상적인 동작을 검출한 보조기억장치로 전송하는 제4과정과, 상기 센서데이터 요구 명령에 응답하여 해당 보조기억장치로부터 센스데어터를 수신하면 상기 수신한 센스데이터를 분석하여 상기 검출된 비정상적인 동작이 하드웨어 에러로 인한 것인가를 판단하는 제5과정과, 상기 제5과정에서 상기 검출된 비정상적인 동작의 원인이 하드웨어 에러라 판단하면 상기 유지보수프로세서로 하드웨어 장애가 발생한 보조기억장치의 식별코드와 하드웨어 장애를 나타내는 정보를 포함하는 하드웨어 에러 메시지를 구성하여 전송함으로서 사용자에게 알리는 제6과정으로 이루어짐을 특징으로 하는 보조기억장치의 에러 검출방법.A plurality of auxiliary memory devices for recording and reading initial programs, billing data and statistical data, and backing up and recording recorded data, an adapter for controlling the operation of the auxiliary memory devices, and a maintenance processor for managing the recorded data. A method of detecting, by an adapter, a hardware error of an auxiliary memory device in an all-electronic switch, the method comprising: outputting an identification code and a command for designating the auxiliary memory device in order to sequentially check an operation state of the auxiliary memory devices at predetermined intervals; A second step of constructing and outputting a message to include an identification code designating the command and a corresponding auxiliary storage device in response to a read / write command provided from the maintenance processor; In response to the command or message output in step 2, the resultant status value can be received from the auxiliary And a third process of determining an operation state of the auxiliary storage device by analyzing the received state value, and a sensor data request command for detecting abnormal operation of the auxiliary storage device by the third process. And transmitting the sensed data from the auxiliary storage device in response to the sensor data request command, analyzing the received sense data to detect the abnormal operation due to a hardware error. A fifth step of determining whether the second operation is performed; and if it is determined that the cause of the abnormal operation detected in the fifth step is a hardware error, the maintenance processor includes an identification code of the auxiliary memory device having a hardware failure and information indicating a hardware failure. Notify users by configuring and sending hardware error messages The error detection method of the auxiliary memory device, characterized in that the sixth process. 제1항에 있어서, 상기 제5과정은, 상기 센서데이터 요구 명령에 응답하여 해당 보조기억장치로부터 14바이트로 구성된 센스 데이터를 수신하면 상기 센스 데어터를 구성하는 14바이트 중 3번째 바이트를 분석하여 상기 검출된 비정상적인 동작이 하드웨어 에러로 인한 것인가를 판단함을 특징으로 하는 보조기억장치의 에러 검출방법.The method of claim 1, wherein in response to receiving the sensor data request from the auxiliary storage device in response to the sensor data request command, the fifth process analyzes a third byte of the 14 bytes constituting the sense data. And determining whether the detected abnormal operation is due to a hardware error.
KR1019960004652A 1996-02-26 1996-02-26 Error detect method of auxiliary memory appratus in full electronic switching system KR100201940B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960004652A KR100201940B1 (en) 1996-02-26 1996-02-26 Error detect method of auxiliary memory appratus in full electronic switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960004652A KR100201940B1 (en) 1996-02-26 1996-02-26 Error detect method of auxiliary memory appratus in full electronic switching system

Publications (2)

Publication Number Publication Date
KR970064288A KR970064288A (en) 1997-09-12
KR100201940B1 true KR100201940B1 (en) 1999-06-15

Family

ID=19451790

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960004652A KR100201940B1 (en) 1996-02-26 1996-02-26 Error detect method of auxiliary memory appratus in full electronic switching system

Country Status (1)

Country Link
KR (1) KR100201940B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100405601B1 (en) * 2000-12-12 2003-11-15 엘지전자 주식회사 Method for call information memory management in MSC

Also Published As

Publication number Publication date
KR970064288A (en) 1997-09-12

Similar Documents

Publication Publication Date Title
US5247659A (en) Method for bootstrap loading in a data processing system comprising searching a plurality of program source devices for a bootstrap program if initial data indicating a bootstrap program source device fails a validity check
WO2021169260A1 (en) System board card power supply test method, apparatus and device, and storage medium
EP0671691B1 (en) Storage controller and bus control method for use therewith
KR100530710B1 (en) Method and apparatus for reporting global errors on heterogeneous partitioned systems
US6345369B1 (en) Environmental and power error handling extension and analysis for systems with redundant components
CN100375960C (en) Method and apparatus for regulating input/output fault
US5423000A (en) Operation control technique for computer system by driving a command procedure with reference to events recorded on a logging storage computer operation control by automatic decision making based on events on a logging storage
JP2005339561A (en) Method and device for storing track data cross reference with respect to related application
US7395368B2 (en) Information processing system, storage unit, and storage control program recorded computer-readable recording medium
US20100083043A1 (en) Information processing device, recording medium that records an operation state monitoring program, and operation state monitoring method
US5878377A (en) Environmental and power error handling extension and analysis
JPH06231008A (en) On-line monitoring system for computer system
US5365526A (en) Trace system for an I/O channel
KR100201940B1 (en) Error detect method of auxiliary memory appratus in full electronic switching system
CN108399116A (en) A kind of server power-up state monitoring system and method
US20030115382A1 (en) Peripheral device testing system and a peripheral device testing method which can generally test whether or not a peripheral device is normally operated
US5379389A (en) Method for transmitting commands excluded from a predefined command set
CN108304290A (en) Server power-up state monitors system and method, computer storage and equipment
CN101154144B (en) Peripheral device, peripheral-device recognizing method, and computer product
JP2570995B2 (en) Disk controller
JP2543640B2 (en) Virtual computer system
JPH10307763A (en) Bus monitor device
JP2751263B2 (en) Diagnostic information collection method for data transmission equipment
JPH0619638A (en) Automatic scheduling method in on-line diagnosis for disk device
JPS581249A (en) Error interrrupting system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070208

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee