KR0131950B1 - Method for reporting state of common bus on initializing - Google Patents

Method for reporting state of common bus on initializing

Info

Publication number
KR0131950B1
KR0131950B1 KR1019940031653A KR19940031653A KR0131950B1 KR 0131950 B1 KR0131950 B1 KR 0131950B1 KR 1019940031653 A KR1019940031653 A KR 1019940031653A KR 19940031653 A KR19940031653 A KR 19940031653A KR 0131950 B1 KR0131950 B1 KR 0131950B1
Authority
KR
South Korea
Prior art keywords
common bus
processor
state
reason
bus
Prior art date
Application number
KR1019940031653A
Other languages
Korean (ko)
Other versions
KR960020561A (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 KR1019940031653A priority Critical patent/KR0131950B1/en
Publication of KR960020561A publication Critical patent/KR960020561A/en
Application granted granted Critical
Publication of KR0131950B1 publication Critical patent/KR0131950B1/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Hardware Redundancy (AREA)

Abstract

본 발명은 하나의 주 프로세서(10)와 다수개의 보조 프로세서(20)들이 이중화된 제 1 및 제 2 공통 버스를 통하여 상호 연결되어 있으며, 상기 보조 프로세서(20)들은 상기 제 1 및 제 2 공통 버스(60)의 이상 상태를 상기 주 프로세서(10)로부터 제공되는 클럭 펄스, 프레임 싱크 펄스 및 상기 제 1 또는 제 2 공통 버스(60)에 대한 점유 시간을 이용한 하드웨어적 검사 및 루프백 데이터를 이용한 소프트웨어적 검사를 통하여 행할 수 있고, 상기 제 1 및 제 2 공통 버스(60)를 통하여 입출력 프로세서(30)가 상기 주 프로세서(10)와 연결되고, 상기 입출력 프로세서(30)는 상기 주 프로세서(10)로부터의 정보를 입출력 터미널(40)을 통하여 표시할 수 있는 전전자 교환기에서 프로세서 초기화시 공통 버스 상태를 운영자에게 보고하는 방법에 관한 것으로서, 보조 프로세서(10)는 초기화시 제1 및 제 2 공통 버스(60)의 상태를 하드웨어적 및 소프트웨어적으로 검사하여 정상 상태의 제1/제2 공통 버스(60)의 상태를 하드웨어적 및 소프트웨어적으로 검사하여 정상 상태의 제1/제2 공통 버스(60)를 검출하고, 정상 상태의 공통 버스(60)를 주 프로세서(10)로 전송하는 제1 과정과; 제1 과정의 수행 결과 제1/제2 공통 버스(60)가 동시에 이상 상태이면, 보조 프로세서(20)는 이상 상태 이유를 주 프로세서(10)로 전송하는 제 2 과정과; 주 프로세서(10)는 보조 프로세서(20)로부터의 사용중인 제1/제2 공통 버스(60) 및 제1 및 제2 공통 버스(60)의 이상 상태 이유를 상기 입출력 프로세서(30)에 인가하여 입출력 프로세서(30)가 입출력 터미널(40)을 통하여 운용자에게 사용중인 제1/제2 공통 버스(60) 및 제 1 및 제 2 공통 버스(60)의 이상 상태 이유를 표시하도록 하는 제 3 과정을 포함한다.According to the present invention, one main processor 10 and a plurality of coprocessors 20 are interconnected through redundant first and second common buses, and the coprocessors 20 are connected to the first and second common buses. Hardware check using the clock pulse, the frame sync pulse, and the occupancy time for the first or second common bus 60 provided from the main processor 10 and the software state using the loopback data. And an input / output processor 30 is connected to the main processor 10 through the first and second common buses 60, and the input / output processor 30 is connected to the main processor 10. The present invention relates to a method for reporting a common bus state to an operator when a processor is initialized in an electronic switchgear that can display information of the information through an input / output terminal (40). (10) checks the state of the first and second common bus 60 in hardware and software state upon initialization by checking the state of the first and second common bus 60 in a normal state. A first process of detecting the first / second common bus 60 in the steady state and transmitting the common bus 60 in the steady state to the main processor 10; If the first / second common bus 60 is in an abnormal state at the same time as a result of performing the first process, the second processor 20 transmits a reason for the abnormal state to the main processor 10; The main processor 10 applies the reason for the abnormal state of the first and second common bus 60 and the first and second common bus 60 in use from the coprocessor 20 to the input / output processor 30. A third process is performed by the input / output processor 30 to display the reason for the abnormal state of the first / second common bus 60 and the first and second common bus 60 in use to the operator through the input / output terminal 40. Include.

Description

전전자 교환기에서 프로세서 초기화시 공통 버스 상태 보고 방법How to Report Common Bus Status During Processor Initialization at Electronic Switching

제1도는 본 발명에 적용된 하드웨어 시스템의 블록 구성.1 is a block diagram of a hardware system applied to the present invention.

제2도는 다수의 보조 프로세어와 주 프로세서간의 정합을 도시한 블록 구성도.2 is a block diagram illustrating the matching between a number of auxiliary processors and a main processor.

제3도는 프로세서 초기화시 프로세서 초기화 이유 및 공통 버스 상태 보고 과정을 보여주는 흐름도.3 is a flowchart illustrating a processor initialization reason and a process of reporting a common bus state when the processor is initialized.

제4도는 본 발명의 하드웨어에서 감지한 공통 버스 이상 상태 발생시 보고 과정을 보여주는 흐름도.4 is a flowchart illustrating a reporting process when a common bus fault condition detected by the hardware of the present invention occurs.

제5도는 본 발명의 소프트웨어에서 감지한 공통 버스 이상 상태 발생시 보고 과정을 보여주는 흐름도.5 is a flowchart showing a reporting process when a common bus fault condition detected by the software of the present invention occurs.

제6도는 본 발명의 특정 또는 다수 프로세서에서 수신한 초기화 이유 및 공통 버스 상태 정보 수신시 처리 흐름도.6 is a process flow diagram upon receipt of initialization reason and common bus state information received by a particular or multiple processor of the present invention.

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

10 : 주프로세서 20 : 보조프로세서10: main processor 20: coprocessor

30 : 입출력프로세서 40 : 입출력터미널30: I / O Processor 40: I / O Terminal

50 : 디버깅터미널 60 : 공통버스50: debugging terminal 60: common bus

본 발명은 전전자 교환기에서 프로세서 초기화시 프로세서가 사용하는 공통 버스의 상태 보고 방법에 관한 것으로서, 특히 공통 버스 사용시에 발생하는 장애를 시스템 운영자에게 신속히 알려 복구 동작을 적절히 수행할 수 있도록 한 전전자 교환기에서 프로세서 초기화시 공통 버스의 상태 보고 방법에 관한 것이다.The present invention relates to a method for reporting a status of a common bus used by a processor when a processor is initialized in an electronic switch, and in particular, an electronic switch that promptly informs a system operator of a failure occurring when a common bus is used to perform a recovery operation appropriately. The present invention relates to a state reporting method of a common bus at processor initialization.

일반적으로, 종래의 전형적인 전전자 교환기의 상위 레벨 프로세서인 주 프로세서와 다수의 하위 레벨 프로세서인 보조 프로세서들 사이에서 공유하는 공통 버스는 프로세서들 사이에서 통신 데이터를 송수신 할 수 있도록 한 물리적인 하드웨어 경로이다. 따라서, 공통 버스가 이상 상태이면 프로세서들 간의 통신을 수행할 수 없으므로 전전자 교환기의 서비스는 일시적인 중단 상태 또는 장기적인 서비스 중단 현상을 유발할 수 있다.In general, a common bus shared between the main processor, which is the upper level processor of a conventional typical electronic switch, and the coprocessors, which are the plurality of lower level processors, is a physical hardware path that allows communication data to be transmitted and received between the processors. . Therefore, when the common bus is in an abnormal state, communication between processors cannot be performed, so that the service of the electronic switchboard may cause a temporary interruption state or a long-term service interruption phenomenon.

한편, 상기 공통 버스의 이상 상태로는 하드웨어적으로 감지할 수 있는 클럭 폴트(fault), 프레임 싱크 폴트, 특정 프로세서가 한계치 이상의 시간 동안 공통 버스를 점유하는 것 등이고, 소프트 웨어적으로 감지할 수 있는 것은, 공통 버스를 이용하여 프로세서가 송신한 데이터를 다시 자신이 수신하여 비교함으로서 공통 버스 이상 상태를 파악하는 루프백 테스트 등을 들 수 있다.On the other hand, the abnormal state of the common bus may include a hardware-detectable clock fault, a frame sync fault, a particular processor occupying the common bus for a time greater than or equal to a threshold value, and the like. For example, a loopback test for identifying a common bus abnormality state by receiving and comparing data transmitted by a processor again using a common bus.

따라서, 종래 기술에서는 상기한 바와 같은 공통 버스 이상 상태 발생에 대하여 각각의 프로세서에서 공통 버스 이상 상태가 감지되면 인터럽트를 발생하여 해당 이상 상태를 파악하여 클럭 폴트, 프레임 싱크 폴트, 루프백 테스트 실패의 경우에 이중화되어 있는 공통 버스를 절체하는 방법으로 복구 동작을 수행하였고, 또한, 특정 프로세서가 한계치 이상의 시간 동안 공통 버스를 독점하고 있을 경우에는 강제적으로 공통 버스 점유를 해제시키는 방법으로 복구 동작을 수행하였다.Therefore, in the prior art, when a common bus fault condition is detected in each processor with respect to the occurrence of a common bus fault condition as described above, an interrupt is generated and the corresponding fault condition is detected so that a clock fault, frame sync fault, or loopback test failure occurs. The recovery operation was performed by switching the duplicated common bus. In addition, when a specific processor monopolized the common bus for a time exceeding a threshold, the recovery operation was forcibly released by occupying the common bus.

그러나, 상술한 종래의 방법은 각각의 프로세서의 내부에서 복구 동작이 수행되기 때문에 운용자 정합 프로세서인 입출력 프로세서에 연결되어 있는 운용자 터미널인 입출력 터미널을 통해서 운용자가 상태를 파악할 수 없고, 공통 버스 상태를 확인해야 한다는 의무 사항이 없으므로 운용자가 특정 프로세서의 공통 버스 상태를 일부러 확인하지 않으면 계속적인 공통 버스 이상 발생시 각 프로세서는 공통 버스 절체 동작이나 공통 버스 점유 해제 동작만을 수행하고 정상적인 프로세서간의 통신 기능을 수행하지 못하므로 전전자 교환기의 서비스 중단 현상을 가져올 수 있다.However, in the above-described conventional method, since the recovery operation is performed in each processor, the operator cannot determine the state through the I / O terminal, which is the operator terminal connected to the I / O processor, which is the operator matching processor, and check the common bus state. Since there is no obligation to do so, if the operator does not deliberately check the common bus status of a particular processor, in case of continuous common bus failure, each processor will only perform common bus switchover operation or common bus de-occupation operation and fail to perform normal inter-processor communication functions. As a result, service interruption of the electronic exchange may be brought about.

또한, 운영자가 특정 프로세서의 공통 버스 상태(예를 들면, 이중화되어 있는 공통 스 중에 현재 사용하고 있는 공통 버스, 공통 버스에 이상 상태 발생 여부 등)를 확인하기 위해서는 RS-232C 방식으로 정합이 가능한 디버깅 터미널을 연결하여 검사하고자 하는 프로세서에서 제공하는 명령어를 이용하여 공통 버스 상태를 확인할 수 있으나 이는 운용자가 확인하고자 하는 각각의 프로세서마다 터미널을 연결하여 확인하는 번거로움이 있다.In addition, the debugging can be matched by RS-232C method in order for the operator to check the common bus status of a specific processor (for example, the common bus currently used among the redundant common buses or whether an abnormal condition occurs on the common bus). You can check the common bus status by using the instructions provided by the processor you want to test by connecting the terminals, but this is cumbersome to connect and check the terminals for each processor you want to check.

이상 설명한 바와 같이 종래 기술에서는 프로세서가 공유하는 공통 버스의 이상 상태 발생시 운용자가 확인할 방법이 한정되어 있으므로서, 운용자가 공통 버스 이상 상태 발생시에 적절한 복구 조치(예를 들면, 프로세서 보드 교체, 공통 버스 연결 케이블 확인 등)를 신속히 수행할 수 없는 문제점이 있었다.As described above, in the related art, there is a limited method for an operator to check when an abnormal state of a common bus shared by a processor occurs, and thus, when an operator encounters a common bus abnormal state, appropriate recovery measures (for example, processor board replacement and common bus connection) are performed. There was a problem that can not be carried out quickly).

본 발명은 상술한 종래 기술의 문제점을 해결하기 위하여 안출한 것으로서, 본 발명의 목적은 전전자 교환기의 프로세서 초기화시에 프로세서가 이용하는 공통 버스의 이상 상태 및 복구 상황을 운영자가 인지할 수 있도록 한 전전자 교환기의 프로세서 초기화시 공통 버스 상태 보고 방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems of the prior art, and an object of the present invention is to provide an operator with an ability to recognize an abnormal state and a recovery state of a common bus used by a processor at the time of processor initialization of an electronic switchboard. The present invention provides a method for reporting a common bus state at processor initialization of an electronic exchange.

이러한 목적을 달성하기 위하여 본 발명은, 하나의 주 프로세서와 다수개의 보조 프로세서들이 이중화된 제 1 및 제 2 공통 버스를 통하여 상호 연결되어 있으며, 보조 프로세서(20)들은 제 1 및 제 2 공통 버스의 이상 상태를 주 프로세서로부터 제공되는 클럭 펄스, 프레임 싱크 펄스 및 제 1 또는 제 2 공통 버스에 대한 점유시간을 이용한 하드웨어적 검사 및 루프백 데이터를 이용한 소프트웨어적 검사를 통하여 행할 수 있고, 제 1 및 제 2 공통 버스를 통하여 입출력 프로세서가 상기 주 프로세서와 연결되고, 입출력 프로세서는 주 프로세서부터의 정보를 입출력 터미널을 통하여 표시할 수 있는 전전자 교환기에서 프로세서 초기화시 공통 버스 상태를 운영자에게 보고하는 방법에 관한 것으로서, 보조 프로세서는 초기화시 제 1 및 제 2 공통 버스의 상태를 하드웨어적 및 소프트웨어적으로 검사하여 정상 상태의 제 1/제 2 공통 버스를 검출하고, 정상 상태의 공통 버스를 주 프로세서로 전송하는 제 1 과정과; 제 1 과정의 수행 결과 제 1/제 2 공통 버스가 동시에 이상 상태이면, 보조 프로세서는 이상 상태 이유를 주 프로세서로 전송하는 제 2 과정과; 주 프로세서는 보조 프로세서로부터의 사용중인 제 1/제 2 공통 버스 및 제 1 및 제 2 공통 버스의 이상 상태 이유를 입출력 프로세서에 인가하여 입출력 프로세서가 입출력 터미널을 통하여 운용자에게 사용중인 제 1/제 2 공통 버스 및 제 1 및 제 2 공통 버스의 이상 상태 이유를 표시하도록 하는 제 3 과정을 포함한다.In order to achieve this object, the present invention provides that one main processor and a plurality of coprocessors are interconnected through redundant first and second common buses, and the coprocessors 20 are connected to the first and second common buses. The abnormal state can be performed through a hardware check using a clock pulse, a frame sync pulse, and an occupancy time for the first or second common bus provided from the main processor, and a software check using loopback data. An I / O processor is connected to the main processor through a common bus, and the I / O processor relates to a method of reporting a common bus state to an operator when the processor is initialized in an electronic switch that can display information from the main processor through an I / O terminal. The coprocessor, upon initialization, initializes the phase of the first and second common buses. Checking a state in hardware and software, detecting a first / second common bus in a steady state, and transmitting the common bus in a steady state to a main processor; A second step of, if the first / second common bus is in an abnormal state simultaneously as a result of performing the first process, the coprocessor sends a reason for the abnormal state to the main processor; The primary processor applies the first / second common bus in use from the coprocessor and the reason for the abnormal states of the first and second common buses to the input / output processor so that the first / second processor is in use to the operator via the input / output terminal. And a third process of displaying the reason for the abnormal state of the common bus and the first and second common buses.

본 발명의 기타 목적과 여러 가지 장점은 이 기술 분야에 숙련된 사람들에게 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바림직한 실시예로부터 더욱 명확하게 될 것이다.Other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings by those skilled in the art.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.

제1도는 본 발명에 적용된 하드웨어 시스템의 블록 구성도이다. 동 도면에 도시된 바와 같이 본 발명에 적용된 하드웨어 시스템은, 주 프로세서(10), 다수개의 보조 프로세서(20), 입출력 프로세서(30), 입출력 터미널(40), 디버깅 터미널(50), 공통 버스(60)를 포함한다.1 is a block diagram of a hardware system applied to the present invention. As shown in the figure, the hardware system applied to the present invention includes a main processor 10, a plurality of coprocessors 20, an input / output processor 30, an input / output terminal 40, a debugging terminal 50, and a common bus ( 60).

주 프로세서(10)는 전전자 교환기의 상위 레벨 프로세서로 운영 체제 및 호처리, 번호 번역, 운용 보전 관련 등의 응용 프로그램이 탑재되어 전전자 교환기의 전반적인 동작을 제어하고 공통 버스(60)에 클럭과 프레임 싱크를 제공한다.The main processor 10 is a high-level processor of the electronic switchboard, and includes application programs such as an operating system, call processing, number translation, and operation maintenance related to controlling the overall operation of the electronic switchboard, and the clock and the common bus 60. Provide frame sync.

그리고, 보조 프로세서(20)는 전전자 교환기의 하위 프로세서로 운영 체제 및 신호 처리, 중계 제어, 상태 감지 등의 관련 프로그램이 탑재되어 공통 버스(60)를 통하여 프로세서(10)로부터 버스 사용 권한을 획득한 경우에 통신 데이터를 송수신한다.In addition, the coprocessor 20 is a sub-processor of the electronic switchboard, and includes an operating system and related programs such as signal processing, relay control, and state sensing, and acquires a bus usage right from the processor 10 through the common bus 60. In one case, communication data is transmitted and received.

또한, 입출력 프로세서(30)는 운용자 정합을 위한 프로세서로서 명령어의 적합성 검사, 결과 메시지 출력, 시스템 메시지 출력 등 시스템에서 발생하는 메시지를 입출력 터미널(40)로 출력하기 위한 입출력 제어 전용 프로세서이다.In addition, the input / output processor 30 is a processor for operator matching, and is an input / output control-only processor for outputting a message generated in the system to the input / output terminal 40 such as command conformity check, result message output, system message output, and the like.

한편, 입출력 터미널(40)은 입출력 프로세서(30)에 연결되어 운용자가 명령어 입력, 입력 결과의 출력, 시스템 메시지 확인 등의 기능을 수행하기 위하여 사용하는 입출력 전용 터미널이며, 디버깅 터미널(50)은 실제 운영자가 디버깅을 목적으로 사용하는 더미 터미널로서 주 프로세서(10) 및 다수의 보조 프로세서(20)와 RS-232C 정합 방식으로 연결하여 사용한다.Meanwhile, the input / output terminal 40 is an input / output terminal that is connected to the input / output processor 30 and used by an operator to perform a function such as inputting a command, outputting an input result, checking a system message, and the debugging terminal 50. As a dummy terminal used by the operator for debugging purposes, the operator connects the main processor 10 and the plurality of coprocessors 20 in an RS-232C matching manner.

그리고, 공통 버스(60)는 다수의 프로세서가 동일한 버스 자원을 공유한 상태에서 동작할 수 있도록 하기 위한 물리적인 하드웨어 버스로서 신뢰성을 보장하기 위해 이중화로 동작하는 물리적인 송수신 경로이며, 주 프로세서(10)와 보조 프로세서(20)간과 주 프로세서(10)와 입출력 프로세서(30)간에 송수신 데이터를 전송하기 위한 경로이다.In addition, the common bus 60 is a physical hardware bus for allowing a plurality of processors to operate in a state in which the same bus resources are shared, and is a physical transmission / reception path that operates in a redundant manner to ensure reliability, and the main processor 10 ) Is a path for transmitting and receiving data between the coprocessor 20 and the main processor 10 and the input / output processor 30.

다음에, 상기한 구성부를 포함하는 본 발명에 적용되는 하드웨어 시스템에서 본 발명의 바람직한 실시예에 따른 전전자 교환기에서 프로세서 초기화시 공통 버스 상태 보고 방법을 첨부된 도면을 참조하여 상세히 설명한다.Next, a method of reporting a common bus state upon processor initialization in an electronic switch according to a preferred embodiment of the present invention in a hardware system applied to the present invention including the above-described configuration will be described in detail with reference to the accompanying drawings.

제2도는 다수의 보조 프로세서(20)와 주 프로세서(10) 간의 정합을 도시한 블록 구성도로서, 버스 정합부(25)에서 공통 버스(60)의 이상상태(예를 들면, 클럭 폴트, 프레임 싱크 폴트, 특정 프로세서의 한계 시간 이상 버스 점유)를 감지하는데 이때, 이상 상태가 감지되면 이를 주 프로세서(10)로 공통 버스 폴트가 발생되었음을 공통 버스 폴트 인터럽트를 발생시켜 알려주고 이에 대한 원인을 일정 영역에 저장하며, 주 프로세서(10)는 인터럽트 서비스 루틴에서 상기 일정 영역에 저장되어 있는 공통 버스 폴트 발생 원인을 검사하여 해당 원인에 따라 적절한 복구 동작을 수행한다.FIG. 2 is a block diagram illustrating a match between a plurality of coprocessors 20 and a main processor 10. The abnormal state of the common bus 60 in the bus matcher 25 (for example, a clock fault or a frame). Sync fault, which occupies the bus over the time limit of a specific processor) .In this case, if a fault condition is detected, it informs the main processor 10 that a common bus fault has occurred by generating a common bus fault interrupt. The main processor 10 checks the cause of the common bus fault stored in the predetermined area in the interrupt service routine and performs an appropriate recovery operation according to the cause.

제3도는 본 발명의 바람직한 실시예의 세부 흐름도로서, 보조 프로세서(20) 초기화시 프로세서 초기화 이유 및 공통 버스 상태 보고 과정을 보여주는 흐름도이다.3 is a detailed flowchart of a preferred embodiment of the present invention, and shows a process of reporting a processor initialization and a common bus state when the coprocessor 20 is initialized.

먼저, 보조 프로세서(20)는 초기화시 초기화 이유를 일정 영역에서 읽고, 통신 데이터를 이용하여 주 1프로세서(10)로 송신한다(단계 300).First, the coprocessor 20 reads the initialization reason in a predetermined area at the time of initialization and transmits it to the main processor 1 using communication data (step 300).

다음에, 공통 버스 상태를 검사하기 위하여 제 1 공통 버스(60)의 동작이 정상인지를 검사하여(단계 302) 정상이면, 프로세서(20)가 헌재 사용하고 있는 공통 버스(60)가 제 1 공통 버스임을 주 프로세서로 전송하고(단계 304) 종료하며, 상기 단계 302에서 제 1 공통 버스(60)가 비정상이면 , 제 2공통 버스(60)로 절체한 후 (단계 306),제 2 공통 버스(60)의 동작이 정상인지를 검사한다(단계 308). 이때, 정상이면, 상기 단계 304와 유사하게 프로세서(20)가 현재 사용하는 공통 버스(60)가 제 2 공통 버스임을 주 프로세서(10)로 전송하고(단계 310) 종료하며, 비정상일 경우에 정상적으로 공통 버스(60)를 사용할 수 없으므로 공통 버스 사용 불가라는 이유를 초기화 이유를 저장하는 영역에 저장하고(단계 312) 다시 프로세서의 초기화 과정을 수행한다.Next, to check whether the operation of the first common bus 60 is normal (step 302) to check the common bus state, and if it is normal, the common bus 60 used by the processor 20 is first common. Transfer the bus to the main processor (step 304), and if the first common bus 60 is abnormal in step 302, transfer to the second common bus 60 (step 306), and then the second common bus ( It is checked whether the operation of 60) is normal (step 308). At this time, if it is normal, similarly to step 304, the common bus 60 currently used by the processor 20 is transmitted to the main processor 10 as the second common bus (step 310), and terminates normally. Since the common bus 60 is not available, the reason why the common bus is not available is stored in an area for storing the initialization reason (step 312), and the initialization process of the processor is performed again.

다음에, 제4도는 본 발명의 하드웨어에서 감지한 공통 버스 이상 상태 발생시 보고 과정을 보여주는 흐름도이다.Next, FIG. 4 is a flowchart illustrating a reporting process when a common bus error condition detected by the hardware of the present invention occurs.

먼저, 공통 버스 폴트 인터럽트가 발생되면(단계 400) 일정 영역에 저장해 놓은 공통 버스 폴트 발생 이유를 읽는다(단계 402). 그리고, 발생된 폴트를 판단하여(단계 402,404) 발생된 폴트가 클럭 폴트이면 공통 버스 폴트 발생 이유에 클럭 폴트가 발생했음을 저장하고 클럭 폴트 발생카운트를 증가시키고(단계 408), 발생된 폴트가 프레임 싱크 폴트이면 공통 버스 폴트 발생 이유에 프레임 싱크 폴트가 발생했음을 저장하고 프레임 싱크 폴트 발생 카운트를 증가시키고(단계 410), 발생된 폴트가 특정 프로세서가 한계치 이상의 시간 동안 공통 버스를 점유하고 있는 폴트이면 공통 버스 폴트 발생 이유에 한계치 이상 버스 점유 폴트가 발생했음을 저장시키고 한계치 이상의 시간 동안 버스 점유 카운트를 증가시킨 후(단계 412), 버스 점유를 강제로 해제시키고(단계 420) 발생한 공통 버스 폴트의 종류와 폴트 상태인 공통 버스가 어느 버스인지를 주 프로세서(10)로 전송한다(단계 426).First, when a common bus fault interrupt is generated (step 400), the reason for generating the common bus fault stored in a predetermined area is read (step 402). If the generated fault is a clock fault (step 402, 404), if the generated fault is a clock fault, the clock fault is stored and the clock fault generation count is increased (step 408). If it is a fault, store the fact that a frame sync fault has occurred for the reason for the common bus fault and increase the frame sync fault occurrence count (step 410), and if the fault is a fault that a particular processor has occupied the common bus for more than the threshold, then the common bus Store the fact that a bus occupied fault above the threshold was raised for the reason for the fault, increase the bus occupancy count for a time above the threshold (step 412), force release of the bus occupancy (step 420), and the type and common status of the common bus fault that occurred. Which bus is the common bus, to the main processor 10 (step 426). ).

다음에, 상기 단계 408,410 후에 폴트가 발생된 버스가 제 1 공통 버스인지 제 2 공통 버스인지를 판단하여(단계 414) 제 1 공통 버스이면 제 2 공통 버스로 절체하고(단계 416), 반대로 제 2 공통 버스이면 제 1 공통 버스로 절체하고(단계 418) 버스 절체가 수행된 횟수가 소정의 한계치 이상인지를 비교하여(단계 422) 한계치를 넘어서면 공통 버스 사용 불가라는 프로세서 초기화 이유를 일정 영역에 저장하고(단계 428) 프로세서 초기화를 수행한다.Next, after step 408,410, it is determined whether the bus in which the fault has occurred is the first common bus or the second common bus (step 414), and if the first common bus is switched to the second common bus (step 416), on the contrary, If it is a common bus, switch to the first common bus (step 418), and compare the number of times the bus switching is performed to a predetermined threshold value or more (step 422). If the threshold is exceeded, the reason for the processor initialization that the common bus is not available is stored in a certain area. (Step 428) and perform a processor initialization.

또한, 상기 단계 422에서 버스 절체가 수행된 횟수가 한계치 이상이 아니면, 버스 절체가 수행된 횟수를‘1’증가시키고(단계 424) 발생한 공통 버스 폴트의 종류와 폴트 상태인 공통 버스가 어느 버스인지를 주 프로세서(10)로 전송하고(단계 426) 종료한다.In addition, if the number of times bus switching is performed in step 422 is not greater than or equal to the threshold value, the number of times bus switching is performed is increased by 1 (step 424). Is sent to the main processor 10 (step 426) and ends.

한편, 루프백 테스트 실패가 감지되면 제5도의 본 발명의 소프트웨어에서 감지한 공통 버스 이상 상태 발생시 보고 과정을 보여주는 흐름도가 수행된다.On the other hand, when a loopback test failure is detected, a flowchart showing a reporting process when a common bus abnormality condition detected by the software of the present invention of FIG. 5 is performed is performed.

먼저, 공통 버스 폴트 발생 이유를 루프백 테스트 실패로 저장하고(단계 500), 공통 버스 폴트가 발생한 버스를 판단하여(단계 502) 제 1 공통 버스이면 제 2 공통 버스로 절체하여 복구 동작을 수행하며(단계 5040), 반대로, 제 2 공통 버스가 폴트이면 제 1 공통 버스로 절체하여 복구 동작을 수행한다(단계 506).First, the reason for generating the common bus fault is stored as a loopback test failure (step 500), the bus in which the common bus fault has occurred is determined (step 502), and if the first common bus is replaced, the recovery operation is performed by switching to the second common bus ( In step 5040, on the contrary, if the second common bus is faulted, the transfer operation is performed by switching to the first common bus (step 506).

다음에, 연속적으로 버스 절체가 수행된 횟수와 한계치를 비교하여(단계 508) 한계치 이상이면 공통 버스 사용 불가라는 프로세서 초기화 이유를 일정 영역에 저장하고(단계 514) 프로세서 초기화를 수행한다.Next, the threshold number is successively compared with the number of times bus switching is performed (step 508). If the threshold value is greater than or equal to the threshold value, the processor initialization reason that the common bus is unavailable is stored in a predetermined area (step 514), and the processor initialization is performed.

한편, 상기 단계(508)에서 연속적인 버스 절체가 수행된 횟수가 한계치 이하이면 연속적으로 버스 절체가 수행된 횟수를‘1’증가시키고(단계 510) 발생한 공통 버스 폴트의 종류와 폴트가 발생한 공통 버스가 어느 버스인지를 주 프로세서(10)로 전송하고(단계 512) 종료한다.On the other hand, if the number of consecutive bus changes in step 508 is less than or equal to the threshold, the number of consecutive bus changes is increased by '1' (step 510) and the type of common bus fault and the common bus in which the fault occurs Transmits to the main processor 10 (step 512) and terminates.

다음에, 상기한 과정에 의거하여 특정 또는 다수 프로세서로부터 프로세서 초기화시 초기화 이유와 공통 버스 상태 및 공통 버스 폴트 발생시 공통 버스 폴트 발생 이유와 공통 버스가 발생한 버스를 주 프로세서(10)가 수신하면, 제6도에 도시된 바와 같이 수신된 프로세서별로 초기화 이유와 공통 버스에서 폴트가 발생한 이유, 또 공통 버스 폴트가 발생한 버스가 이중화되어 있는 버스 중에서 어느 버스인지를 운용자가 알 수 있는 형식으로 재 구성하여 입출력 프로세서(30)에 연결되어 있는 입출력 터미널(40)을 통하여 출력하게 된다.Next, when the main processor 10 receives the initialization reason, the common bus status, the common bus fault occurrence reason, and the bus in which the common bus occurred when the processor is initialized from the specific or multiple processors according to the above process, As shown in FIG. 6, I / O is reconfigured for each processor to receive the initialization reason, the reason why the fault occurred on the common bus, and the bus in which the bus where the common bus fault occurred is duplicated. It is output through the input / output terminal 40 connected to the processor 30.

먼저, 수신한 통신 데이터가 정상인지를 판단하여(단계 600) 정상이면, 수신한 메시지를 판단하여(단계 602,606) 수신한 메시지가 프로세서 초기화시에 초기화 이유 및 공통 버스 상태에 관한 것이면 송신한 각 프로세서(20)를 구분하여 프로세서 초기화 이유 및 사용하는 공통 버스의 상태를 운용자가 알 수 있는 형식으로 재구성하여(단계 604), 입출력 프로세서(30)에 연결되어 있는 입출력 터미널(40)을 통하여 출력시키고(단계 610), 수신한 메시지가 공통 버스 폴트 발생시에 관련된 통신 데이터이면 송신한 각 프로세서(20)를 구분하여 프로세서별로 공통 버스 폴트가 발생한 버스를 운용자가 알 수 있는 형식으로 재 구성하여(단계 608) 상기 단계 610과 같이 입출력 터미널(40)을 통하여 출력한다.First, it is determined whether the received communication data is normal (step 600). If it is normal, the received message is determined (step 602, 606). If the received message relates to the initialization reason and common bus state at the time of processor initialization, each transmitted processor Reclassify the 20 and reconfigure the reason for the processor initialization and the state of the common bus to a format known to the operator (step 604), and output it through the input / output terminal 40 connected to the input / output processor 30 ( In step 610, if the received message is communication data related to the occurrence of a common bus fault, the processor 20 divides each transmitted processor 20 and reconfigures the bus in which the common bus fault occurs for each processor in a format that an operator can know (step 608). The output is performed through the input / output terminal 40 as in step 610.

이상 설명한 바와 같이 본 발명에 따르면, 운용자가 손쉽게 특정 프로세서의 장애 상황 및 복구를 수행할 수 있도록 함으로써 공통 버스 자원에 대한 유지 보수, 공통 버스 장애 발생에 대한 통계 데이터를 쉽게 추출할 수 있고, 더불어 장시간 동안의 시스템 서비스 중단을 막는 등의 장점을 갖고 있다.As described above, according to the present invention, the operator can easily perform the failure and recovery of a specific processor, thereby easily extracting the maintenance of the common bus resource and the statistical data on the occurrence of the common bus failure, It has the advantage of preventing system service interruption.

Claims (5)

하나의 주 프로세서(10)와 다수개의 보조 프로세서(20)들이 이중화된 제 1 및 제 2 공통 버스(60)를 통하여 상호 연결되어 있으며, 상기 보조 프로세서(20)들은 상기 제 1 및 제 2 공통 버스(60)의 이상 상태를 상기 주 프로세서(10)로부터 제공되는 클럭 펄스, 프레임 싱크 펄스 및 상기 제 1 또는 제 2 공통 버스(60)에 대한 점유 시간을 이용한 하드웨어적 검사 및 루프백 데이터를 이용한 소프트웨어적 검사를 통하여 행할 수 있고, 상기 제 2 및 제 2 공통 버스(60)를 통하여 입출력 프로세서(30)가 상기 주 프로세서(10)와 연결되고, 상기 입출력 프로세서(30)는 상기 주 프로세서(10)로부터 정보를 입출력 터미널(40)을 통하여 표시할 수 있는 전전자 교환기에서 프로세서 초기화시 공통 버스 상태를 운영자에게 보고하는 방법에 있어서, 상기 보조 프로세서(10)는 초기화시 상기 제 1 및 제 2 공통 버스(60)의 상태를 하드웨어적 및 소프트웨어적으로 검사하여 정상 상태의 제 1/제 2 공통 버스(60)를 검출하고, 정상 상태의 공통 버스(60)를 상기 주 프로세서(10)로 전송하는 제 1 과정과; 상기 제 1 과정에 수행 결과 상기 제 1/제 2 공통 버스(60)가 동시에 이상 상태이면, 상기 보조 프로세서(20)는 이상 상태 이유를 상기 주 프로세서(10)로 전송하는 제 2 과정과; 상기 주 프로세서(10)는 상기 보조 프로세서(20)로부터 사용중인 제 1/제 2 공통 버스(60) 및 상기 제 1 및 제 2 공통 버스(60)의 이상 상태 이유를 상기 입출력 프로세서(30)에 인가하여 상기 입출력 프로세서(30)가 상기 입출력 터미널(40)을 통하여 운용자에게 사용중인 제 1/제 2 공통 버스(60) 및 상기 제 1 및 제 2 공통 버스(60)의 이상 상태 이유를 표시하도록 하는 제 3 과정을 포함하는 전전자 교환기에서 프로세서 초기화시 공통 버스 상태 보고 방법.One main processor 10 and a plurality of coprocessors 20 are interconnected via redundant first and second common buses 60, and the coprocessors 20 are connected to the first and second common buses. Hardware check using the clock pulse, the frame sync pulse, and the occupancy time for the first or second common bus 60 provided from the main processor 10 and the software state using the loopback data. And an input / output processor 30 is connected to the main processor 10 through the second and second common buses 60, and the input / output processor 30 is connected to the main processor 10. In a method for reporting a common bus state to an operator at processor initialization in an electronic switch that can display information through an input / output terminal (40), the coprocessor (10) is initially initialized. In order to detect the state of the first and second common bus 60 in hardware and software, the first and second common bus 60 in the normal state are detected, and the common bus 60 in the normal state is detected. A first process of transmitting to the main processor 10; If the first / second common bus (60) is in an abnormal state at the same time as a result of performing the first process, the second processor (20) transmits a reason for the abnormal state to the main processor (10); The main processor 10 informs the input / output processor 30 of the reason for the abnormal state of the first / second common bus 60 and the first and second common bus 60 in use from the coprocessor 20. So that the input / output processor 30 displays an error state reason of the first / second common bus 60 and the first and second common bus 60 in use to the operator through the input / output terminal 40. The common bus state reporting method at the time of processor initialization in the electronic switch comprising a third process. 제1항에 있어서, 상기 제 1 과정은, 일정 영역에서 프로세서 초기화 이유를 읽어 상기 주 프로세서(10)로 프로세서 초기화 이유를 전송하는 단계와; 상기 이중화된 공통 버스(60) 중에서 상기 제 1 공통 버스(60)의 동작을 검사하여 정상이면 현재 사용하고 있는 공통 버스(60)가 제 1 공통 버스(60)임을 상기 주 프로세서(10)로 전송하고, 이상 상태면 제 2 공통 버스(60)로 절체하고 제 2 공통 버스(60)의 동작을 검사하는 단계와; 상기 제 2 공통 버스(60)의 동작이 정상이면 현재 사용하고 있는 공통 버스(60)가 제 2 공통 버스임을 상기 주 프로세서(10)로 전송하고, 이상 상태면 공통 버스(60) 사용불가임을 프로세서 초기화 이유를 저장하는 상기 일정 영역에 저장하는 단계로 이루어진 것을 특징으로 하는 전전자 교환기에서 프로세서 초기화시 공통 버스 상태 보고 방법.The method of claim 1, wherein the first process comprises: reading a processor initialization reason in a predetermined area and transmitting a processor initialization reason to the main processor (10); The operation of the first common bus 60 is inspected among the redundant common bus 60, and if the operation is normal, the common bus 60 currently used is the first common bus 60 to the main processor 10. And switching to the second common bus 60 and checking the operation of the second common bus 60 in the abnormal state. If the operation of the second common bus 60 is normal, the current common bus 60 is transmitted to the main processor 10 when the operation is normal. If the abnormal state occurs, the common bus 60 cannot be used. And storing the reason for initialization in the predetermined area for storing the initialization reason. 제1항에 있어서, 상기 제 2 과정은, 하드웨어에 의한 감지로 공통 버스 폴트 인터럽트가 발생되면 일정 영역에서 하드웨어에서 감지하여 저장해 놓은 공통 버스 이상 상태 이유를 읽는 단계와; 공통 버스(60)의 이상 상태가 클록 폴트이면 공통 버스 이상 상태 이유를 클록 폴트로 저장하고 클록 폴트 발생 카운트를 증가시키고 이상 상태인 공통 버스(60)를 이중화된 다른 공통 버스로 절체하고, 프레임 싱크 폴트이면 이상 상태 발생 이유를 프레임 싱크 폴트로 저장하고 프레임 싱크 폴트 발생 카운트를 증가시키고 이상 상태인 공통 버스를 이중화된 다른 공통 버스로 절체하며, 특정 프로세서의 한계치 이상 버스 점유로 판별되면 한계치 이상 버스 점유로 인한 이상 상태임을 저장하고 한계치 이상 버스 점유 폴트 발생 카운트를 증가시키고 공통 버스의 점유를 강제로 해제하는 단계와; 카운트된 절체 횟수가 설정된 한계치 이상인지를 비교하여 한계치 이상이면 공통 버스 사용불가라는 프로세서 초기화 이유를 일정 영역에 저장하고 다시 초기화를 수행하고, 한계치 이하이면 버스 절체 수행 횟수를 증가시키고 발생한 공통 버스 이상 상태 종류와 발생된 공통 버스를 상기 주 프로세서(10)로 전송하는 단계로 이루어진 것을 특징으로 하는 전전자 교환기에서 프로세서 초기화시 공통 버스 상태 보고 방법.The method of claim 1, wherein the second process comprises: reading a common bus error state reason detected and stored in hardware in a predetermined area when a common bus fault interrupt occurs due to detection by hardware; If the fault condition of the common bus 60 is a clock fault, store the common bus fault condition reason as a clock fault, increase the clock fault occurrence count, switch the faulty common bus 60 to another redundant common bus, and frame sync If it is a fault, it stores the reason for the abnormal condition as frame sync fault, increases the count of frame sync fault occurrences, transfers the common bus in abnormal status to another redundant common bus, and if it is determined to occupy the bus above the threshold of a specific processor, occupies the threshold above the threshold. Storing an abnormal state due to a value, increasing a bus occupancy fault occurrence count above a threshold and forcibly releasing the occupancy of the common bus; If the counted number of transfers is greater than or equal to the set threshold, if the threshold is greater than or equal to the threshold, the processor initializes the reason for not using the common bus in a certain area and reinitializes it. A method of reporting a common bus state when a processor is initialized in an electronic switch, characterized in that the step of transmitting the kind and the generated common bus to the main processor (10). 제1항에 있어서, 상기 제 2 과정은, 소프트웨어에 의한 루프백 테스트 실패가 감지되면 공통 버스(60) 이상 상태 발생이유를 루프백 테스트로 저장하는 단계와; 이상 상태인 공통 버스(60)를 판별하여 이중화된 다른 공통 버스(60)로 절체하는 단계와; 공통 버스(60) 절체 횟수를 비교하여 절체된 횟수가 설정된 한계치 이상이면 공통 버스 사용 불가라는 프로세서 초기화 이유를 일정 영역에 저장하고 프로세서 초기화를 수행하고, 절체 횟수가 설정된 횟수보다 작으면 절체 횟수를 증가시키고 발생한 공통 버스 이상 상태 종류와 이상 상태가 발생된 공통 버스(60)를 상기 주 프로세서(10)로 전송하는 단계로 이루어진 것을 특징으로 하는 전전자 교환기에서 프로세서 초기화시 공통 버스 상태 보고 방법.2. The method of claim 1, wherein the second process comprises: storing a reason why a common bus (60) abnormal condition occurs as a loopback test when a loopback test failure is detected by software; Determining a common bus 60 in an abnormal state and transferring the redundant common bus 60 to another redundant bus; Comparing the number of switching times of the common bus 60, if the number of times of switching is greater than or equal to the set threshold, the processor initialization reason that the common bus cannot be used is stored in a certain area and the processor is initialized. And transmitting a common bus abnormal state type and a common bus (60) having an abnormal state to the main processor (10). 제 1항에 있어서, 상기 제 3 과정은, 다수 보조 프로세서(20)로부터 프로세서 초기화 이유, 공통 버스 상태, 공통 버스 이상 상태 종류, 이상 상태가 발생한 공통 버스(60)가 발생한 버스를 포함하는 데이터를 수신할 경우에 상기 수신한 데이터가 정상적으로 수신되는 상태인지를 판단하여 정상적으로 수신되면 어떤 데이터인지를 판단하는 단계와; 상기 수신한 데이터를 송신한 보조 프로세서(20)별로 구분하여 상기 운용자가 알 수 있는 형식으로 재구성하여 상기 입출력 프로세서(30)에 연결된 입출력 터미널로 출력하는 단계로 이루어진 것을 특징으로 하는 전전자 교환기에서 프로세서 초기화시 공통 상태 보고 방법.The method of claim 1, wherein the third process includes: data from the plurality of coprocessors 20 including a bus for which a processor initialization reason, a common bus state, a common bus abnormal state type, and a common bus 60 in which an abnormal state has occurred are generated. Determining whether the received data is normally received when receiving and determining what data is normally received; The processor in the electronic switchboard, characterized in that the divided data for each of the coprocessor 20 that transmits the received data to be reconfigured in a format known to the operator and output to the input and output terminals connected to the input and output processor 30. How to report common status at initialization.
KR1019940031653A 1994-11-29 1994-11-29 Method for reporting state of common bus on initializing KR0131950B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940031653A KR0131950B1 (en) 1994-11-29 1994-11-29 Method for reporting state of common bus on initializing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940031653A KR0131950B1 (en) 1994-11-29 1994-11-29 Method for reporting state of common bus on initializing

Publications (2)

Publication Number Publication Date
KR960020561A KR960020561A (en) 1996-06-17
KR0131950B1 true KR0131950B1 (en) 1998-04-21

Family

ID=19399379

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940031653A KR0131950B1 (en) 1994-11-29 1994-11-29 Method for reporting state of common bus on initializing

Country Status (1)

Country Link
KR (1) KR0131950B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100670075B1 (en) * 1999-09-08 2007-01-18 유티스타콤코리아 유한회사 Connection administrate method by checking trunk of a cellular communication system
KR100518452B1 (en) * 2003-12-03 2005-09-30 한국전자통신연구원 Method for processing fallacy data of router

Also Published As

Publication number Publication date
KR960020561A (en) 1996-06-17

Similar Documents

Publication Publication Date Title
US4775976A (en) Method and apparatus for backing up data transmission system
JPH0746322B2 (en) Faulty device identification system
US4727548A (en) On-line, limited mode, built-in fault detection/isolation system for state machines and combinational logic
US4541031A (en) Loop fault isolator
CN104283718A (en) Network device and hardware fault diagnosis method used for network device
KR0131950B1 (en) Method for reporting state of common bus on initializing
KR0140302B1 (en) Apparatus for integrated testing the packet in the full electronic switching system and method thereof1 h 04 l 12/56
JPS6032374B2 (en) data transmission equipment
KR960010879B1 (en) Bus duplexing control of multiple processor
JPH095125A (en) Monitoring apparatus of on-off sensor
JP2600614B2 (en) An exchange system that can collect fault information
KR19990053849A (en) Bus monitor in common bus structure
KR920007140B1 (en) Electronic switching maintenance system
JP2569892B2 (en) Switching control monitoring circuit
KR970002883B1 (en) Method for requiring the right of possession of common bus in a multi-processor
JPS62175044A (en) Duplexing loop-shaped transmission line
KR100605998B1 (en) Method for node operation maintenance in inter communication processor network of exchanging system
KR0176085B1 (en) Error detecting method of processor node and node network of parallel computer system
JP3291729B2 (en) Redundant computer system
KR930010950B1 (en) Error-detecting device
JP3330261B2 (en) Digital protection and control equipment
CN117478492A (en) Fault diagnosis method and device of clock system in time Zhong Jitong
KR930006861B1 (en) Input/output port faults process method
JPH0332126Y2 (en)
JPS63281539A (en) Error data generating circuit

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
LAPS Lapse due to unpaid annual fee