KR960010879B1 - Bus duplexing control of multiple processor - Google Patents

Bus duplexing control of multiple processor Download PDF

Info

Publication number
KR960010879B1
KR960010879B1 KR1019930024532A KR930024532A KR960010879B1 KR 960010879 B1 KR960010879 B1 KR 960010879B1 KR 1019930024532 A KR1019930024532 A KR 1019930024532A KR 930024532 A KR930024532 A KR 930024532A KR 960010879 B1 KR960010879 B1 KR 960010879B1
Authority
KR
South Korea
Prior art keywords
bus
state
recovery
abnormal
abnormal state
Prior art date
Application number
KR1019930024532A
Other languages
Korean (ko)
Other versions
KR950016418A (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 KR1019930024532A priority Critical patent/KR960010879B1/en
Publication of KR950016418A publication Critical patent/KR950016418A/en
Application granted granted Critical
Publication of KR960010879B1 publication Critical patent/KR960010879B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q5/00Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange
    • H04Q5/24Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange for two-party-line systems

Landscapes

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

Abstract

selecting available normal buses; cutting a bus to recover according to the kind of the fault occurring in the recovery of the abnormal state; and recovering the failure of a processor and the abnormal state of the bus. The method utilizes stand-by bus source, responding to any abnormal or emergency state.

Description

공통의 버스 자원을 공유한 다수 프로세서의 버스 이중화 제어 및 버스 이상 상태 발생시 복구 처리방법Bus redundancy control of multiple processors sharing common bus resources and recovery method in the event of a bus fault condition

제1도는 본 발명의 적용되는 하드웨어 구성도.1 is a hardware configuration diagram of the present invention.

제2도는 프로세서의 세부 블럭도.2 is a detailed block diagram of a processor.

제3도는 초기 버스 선택을 위한 제어 흐름도.3 is a control flow diagram for initial bus selection.

제4도는 하드웨어에서 감지한 공통 버스 폴트 인터럽트 발생시 비정상 상태에서의 복구를 위한 처리흐름도,4 is a flow chart for recovering from an abnormal state when a common bus fault interrupt detected by hardware is detected.

제5도는 소프트웨어의 폴트 감시 동작에 의해 감지한 비정상 상태에서의 복구를 위한 처리 흐름도,5 is a processing flowchart for recovering from an abnormal state detected by a fault monitoring operation of software;

제6도는 장시간 동안 특정 프로세서에 버스 점유시 복구를 위한 처리 흐름도.6 is a process flow diagram for recovery when a bus is occupied by a particular processor for a long time.

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

1 : 네트워크 2 : 이중화된 버스1과 버스21: network 2: redundant bus 1 and bus 2

3 : 프로세서3: processor

본 발명은 전전자 교환기에서 버스 자원을 공유하여 사용하는 다수 프로세서가 버스 이중화 제어 및 버스 이상상태 발생시 복구 처리하는 방법에 관한것으로, 구체적으로는 초기 기동시 이중화된 버스 중 정상 동작하는 버스를 선택하는 방법 및 하드웨어에서 감지한 폴트 인터럽트 발생시 비정상 상태에서는 이중화 버스절체에 의한 복구와 이중화된 버스가 모두 비정상 상태일때 복구를 위해 다시 초기화부터 수행하는 방법, 정상 운용중 폴트 감시 동작에 의해 감지된 비정상 상태에 대해서는 절체 가능한 경우 이중화 버스 절체에 의한 복구와 이중화된 버스 모두 비정상 상태일때 복구를 위해 사용자 프로그램에 버스 비정상 상태를 전달하여 복구 절차에 들어가는 동작 및 특정 프로세서의 장시간(정해진 한계치 이상) 버스 점유를 방지하는 방법에 관한 것이다.The present invention relates to a bus redundancy control and recovery method in the event of a bus abnormality caused by a plurality of processors sharing a bus resource in an electronic switch, specifically selecting a bus that operates normally among the redundant buses at initial startup. In case of fault interrupt detected by the method and hardware, in case of an abnormal state, recovery by redundant bus switching and reinitialization is performed to recover when both redundant buses are abnormal.In case of abnormal interrupt detected by fault monitoring during normal operation If the switchover is possible, both the recovery by redundant bus switching and the redundant bus are delivered to the user program for recovery when the redundant bus is abnormal, thereby preventing the operation of entering the recovery procedure and the long-term (above a predetermined limit) bus occupancy of a specific processor. On the way It is about.

종래에는 버스 자원을 공유하는 다수의 프로세서를 구비하는 전전자 교환기에 있어서 각 프로세서마다 독립된 패스를 가지고 있고 더군다나 송·수신 패스가 분리되어 있는 등 구조적으로 송·수신 방식에서는 제한되어 있지 않으나 이중화 방식으로 되어 있지 않아 패스상에서 문제 발생(물리적 절단, 폴트 발생 등)시 프로세서 전체가 송·수신을 할 수 없는 현상을 초래하며 설자 폴트를 감지한다고 해도 복구를 위한 초기화동작을 수행하는 외에는 복구 방법이 존재하지 않아 비정상 상태 발생시 장시간 서비스 중단 등의 단점이 있다.Conventionally, in an electronic switch having a plurality of processors sharing bus resources, each processor has independent paths, and further, the transmission and reception paths are separated. If the problem occurs on the path (physical cutting, fault, etc.), the whole processor cannot send or receive. Even if a fault is detected, there is no recovery method except performing an initialization operation for recovery. Therefore, when an abnormal condition occurs, there is a disadvantage such as long service interruption.

따라서, 상기 종래 기술의 문제점을 해결하기 위하여 안출된 본 발명은, 고통의 버스 자원을 공유한 다수프로세서의 버스 이중화 제어 및 버스 이상상태 발생시 현재 동작중인 버스 이외에 항상 대기하고 있는 버스 자원을 활용하여 비정상 상태 등 장애 발생 상황에 대처할 수 있고 유효 시간의 적절한 활용 및 최소의 자원으로 최대의 효율적 사용을 가능케 하는 복구 처리 방법을 제공하는데 그 목적이 있다.Accordingly, the present invention devised to solve the problems of the prior art, by using a bus redundancy control of a bus sharing the bus resources of the multiple processors and the bus resources that are always waiting in addition to the bus currently operating when a bus abnormal condition occurs The purpose of the present invention is to provide a recovery processing method that can cope with a failure situation such as a state, and to enable the effective use of the effective time and the maximum efficient use with the minimum resources.

상기 목적을 달성하기 위하여 본 발명은, 타 프로세서와의 통신을 위해 통신 데이타의 분배기능을 수해하는 네트워크와, 상기 네트워크에 연결되며 버스 자원을 공유한 다수의 프로세서에서 타 프로세서와의 송수신을 위한 물리적인 송·수신 경로인 이중화 버스, 및 상기 버스에 연결되어 버스 사용권한을 획득한 경우에만 송신 기능을 수행 할 수 있는 다수의 프로세서를 구비하는 통신 시스템에 적용되며, 초기의 버스 선택시 사용가능한 버스를 검사하여 사용 가능 버스를 선택하고 선택된 버스를 루프백 시험하여 정상인 경우에만 실체 사용할 수 있는 버스로 선택하며 초기에 이중화된 버스 중 어느 것도 선택할 수 없는 상태일 경우에는 비정상 상태에서이 복구를 위해 다시 초기화부터 수행하는 제1단계와, 정상 운용 중 하드웨어에서 감지한 공통 버스 폴트인터럽트에 의해 특정 버스의 비정상 상태에 대한 복구를 수행하는데 발생한 폴트 종류에 따라 사용중인 버스 상태와 이중화 대기중인 버스 상태를 검사하여 버스 절체에 의해 복수 가능한 상태이면 버스를 절체하여 복구하여 현재 사용중인 버스와 비사용(이중화 대기중)버스 모두가 비정상 상태일 경우에는 비정상 상태에서의 복구를 위해 다시 초기화부터 수행하는 제2단계와, 정상 운용중 소프트웨어에 의한 폴트 감시 동작에 의해 감지된 버스이 비정상 상태와 특정 프로세서의 장애에 대한 복구를 수행처리하는 제3단계를 구비하여 수행한다.In order to achieve the above object, the present invention provides a physical network for transmitting and receiving data to and from other processors in a network that performs a function of distributing communication data for communication with another processor, and a plurality of processors connected to the network and sharing a bus resource. Applied to a communication system having a redundant bus, which is an inbound / receive path, and a plurality of processors connected to the bus and capable of performing a transmission function only when bus usage rights are obtained, and a bus usable at the time of initial bus selection Check the available bus, select the available bus, and loop back test the selected bus to select the bus that can be used only if it is normal.If none of the redundant buses are initially selected, reinitialize for recovery from abnormal state. The first step to perform and common sense detected by the hardware during normal operation It checks the bus status in use and the status of waiting bus for redundancy according to the fault type occurred in performing recovery for abnormal status of a specific bus by bus fault interrupt. If both the busy bus and the unused (redundant standby) bus are abnormal, the second step of re-initialization for recovery from the abnormal status and the bus detected by the fault monitoring operation by the software during normal operation are abnormal. And a third step of performing recovery on a state and a failure of a specific processor.

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

제1도는 본 발명이 적용되는 하드웨어 구성도로서, 도면에서 1은 네트워크, 2는 버스1과 버스2,3은 다수의 프로세서를 각각 나타낸다.FIG. 1 is a hardware configuration diagram to which the present invention is applied, in which 1 represents a network, 2 represents bus 1 and 2 and 3 represent a plurality of processors, respectively.

도면에 도시한 바와 같이 본 발명이 적용되는 하드웨어는, 전전자 교환기드의 통신시스팀에 실장되어 타프로세서와의 통신을 위해 통신 데이타의 분배기능을 수행하는 네트워크(1)(CIN : Control Interworking Network)와, 상기 네트워크(1)에 연결되며 버스 자원을 공유한 다수의 프로세서에서 타 프로세서와의 송수신을 위한 물리적인 송·수신 경로인 이중화 버스 1,2(2), 및 상기 버스 1,2(2)에 연결되어 버스 사용권한을 획득한 경우에만 송신 기능을 수행할 수 있는 다수의 프로세서(3)를 구비한다.As shown in the figure, the hardware to which the present invention is applied is a network (1) (CIN: Control Interworking Network) which is mounted in a communication system of an electronic switchboard and performs a distribution function of communication data for communication with another processor. And a redundant bus 1,2 (2), which is a physical transmission / reception path for transmitting / receiving with other processors in a plurality of processors connected to the network 1 and sharing a bus resource, and the bus 1,2 (2). It is provided with a plurality of processors (3) capable of performing a transmission function only when the bus connection rights are obtained.

제2도는 본 발명에 따른 각 프로세서(3)의세부적인 구성도로서, 4는 버스정합부, 5는 주처리 제어부를 각각 나타낸다.2 is a detailed configuration diagram of each processor 3 according to the present invention, where 4 is a bus matching section and 5 is a main processing control section, respectively.

버스 정합부(4)는 버스 1,2(2)에 연결되어 버스 1,2(2)의 이상상태 발생을 감지하기 위한 동작을 수행하며, 버스(2)의 이상상태 감지시 버스 폴트 인터럽트을 통해 주처리 제어부(5)에 이 사싱을 알려주는 동시에 폴트가 발생된 원인을 미리 약속되어 있는 영역에 써넣어 주처리 제어부(5)에서 판단할 수 있는 근거를 제공한다.The bus matching unit 4 is connected to the bus 1,2 (2) to perform an operation for detecting occurrence of an abnormal state of the bus 1,2 (2), and through a bus fault interrupt when detecting an abnormal state of the bus 2 This sourcing is notified to the main processing control section 5, and the reason why the fault has occurred is written in a predetermined area to provide a basis for the main processing control section 5 to determine.

상기 버스 폴트 인터럽트를 받아 이에 대한 서비스를 수행하는 주처리 제어부(5)에서는 폴트가 발생한 원인에 따라 적절한 조치를 취해 비정상 상태에서의 복구 동작을 수행한다.The main processing control unit 5 which receives the bus fault interrupt and performs a service for the interrupt fault takes appropriate measures according to the cause of the fault and performs a recovery operation in an abnormal state.

제3도는 초기 버스 선택을 위한 제어 흐름도이다.3 is a control flow diagram for initial bus selection.

먼저, 소프트웨어에 의한 버스1(2)의 상태 및 하드웨어에 의한 버스 1(2) 상태에 따라 버스 1(2)의 사용 가능성을 검사한다(101). 상기 검사(101)결과, 사용가능한 것으로 판명되면 사용버스로서 버스 1(2)을 선택한다(103). 선택된 버스 1(2)에 대하 루프백 시험을 수행하고 결과를 체크하여(105) 정상인 경우에는 버스 선택을 완료한다. 그러나, 비정상 이거나 상기 검사(101)결과 사용 불가능으로 판명되면 버스 2(2)에대한 사용 가능성 검사를 수행한다(102).First, the availability of the bus 1 (2) is checked according to the state of the bus 1 (2) by software and the state of the bus 1 (2) by hardware (101). As a result of the inspection 101, if the bus is found to be usable, bus 1 (2) is selected as the bus to be used (103). Perform a loopback test on the selected bus 1 (2) and check the result (105) to complete the bus selection if normal. However, if it is abnormal or found to be unavailable as a result of the check 101, a usability check for bus 2 (2) is performed (102).

버스 2(2)에 대한 사용가능성 검사결과, 사용가능하면 사용버스를 버스 2(2)를선택하고(104), 루프백 시험을 수행하여 정상이면 버스 선택을 완료하고, 사용 불가능하거나 루프백 시험결과 비정상이면(106), 복구를 위한 초기화 루틴으로 천이한다(107).Availability check result for bus 2 (2), select bus 2 (2) for use bus if available (104), perform loopback test to complete bus selection if normal, disable or loopback test result Back 106, transition to an initialization routine for recovery (107).

제4도는 하드웨어에서 감지한 공통버스 폴트 인터럽트 발생시 비정상 상태에서의 복구를 위한 처리 흐름도로서, 폴트가 발생한 원인에 따라 이중화 버스 절체에 의해 복구가능한 상태이면 버스 절체로 복구 동작을 수행하고 이중화된 버스 모두 비정상 상태일 경우에는 복구를 위한 초기화 과정은 수행하여 비정상 상태에서의 복구를 수행하는 처리 흐름도이다.4 is a flow chart for recovering from an abnormal state when a common bus fault interrupt is detected by the hardware. If the state is recoverable by redundant bus switching depending on the cause of the fault, the recovery operation is performed by switching the bus. In case of an abnormal state, an initialization process for recovery is performed to perform a recovery in an abnormal state.

폴트 발생 원인인 클럭 폴트, 특정 프로세서에 의한 제한 시간 이상의 버스 점유 등의 비정상 상태를 버스 정합부(4)가 감지하여 인터럽트를 통해 주처리 제어부(5)에 알려주면(110), 버스 1,2(2) 모두에 클럭장애가 발생하였는지 검사하여(111), 모두에 클럭장애가 발생하였으면 복구를 위한 초기화 루틴으로 천이하고(112), 버스 1,2(2) 모두에 클럭장애가 발생하지 않았으면 버스 1(2)에 클럭장애가 발생하였는지 조사한다(113), 버스 1(2)에 클럭장애가 발생하였으면 사용중인 버스가 버스 1(2)이고 버스 2(2)는 정상인지 조사한다(114). 버스 1(2)이 사용중이었고 버스 2(2)가 정상이면 사용버스를 버스 2(2)로 변경하여 선택하고 종료하고(115), 그렇지 않으면 사용중인 버스가 버스 2(2)이고 버스 2(2)가 정상상태인지 조사한다(116).When the bus matching unit 4 detects an abnormal state such as a clock fault that causes a fault or a bus occupied by a specific processor for more than the time limit and informs the main processing controller 5 through an interrupt (110), the bus 1,2 (2) Check if all clock failures have occurred (111). If all clock failures have occurred, the process proceeds to the initialization routine for recovery (112). If all clock failures have not occurred at bus 1,2 (2), bus 1 Check if clock failure occurs in (2) (113). If clock failure occurs in bus 1 (2), check whether the bus being used is bus 1 (2) and bus 2 (2) is normal (114). If bus 1 (2) was in use and bus 2 (2) is normal, change the bus to bus 2 (2) and select and exit (115); otherwise, the bus being used is bus 2 (2) and bus 2 ( Investigate whether 2) is normal (116).

상기 조사(116) 결과, 버스 2(2)가 사용중이면서 정상상태이면 버스 1(2)만 비정상상태로 천이시키고 종료하고(117), 그렇지 않으면 사용중인 버스가 버스 2(2)이고 상태가 비정상인지 조사한다(118). 버스 2가 사용중이면서 비정상이면 복구를 위한 초기화 루틴으로 천이하고(119), 그렇지 않으면 종료한다.As a result of the investigation 116, if bus 2 (2) is busy and normal, only bus 1 (2) transitions to abnormal status and terminates (117), otherwise the bus being used is bus 2 (2) and the status is abnormal Investigate cognition (118). If bus 2 is busy and abnormal, transition to an initialization routine for recovery (119), otherwise terminate.

한편, 버스 1(2)에 클럭장애가 발생하였는지 조사하는 상기 다녜(113), 수행결과 버스 1(2)에 클럭장애가 발생하지 않았으면, 버스 2(2)에 클럭장애가 발생하였는지 조사한다(120). 버스 2에 클럭장애가 발생하였으면 사용중인 버스가 버스 2(2)이고 버스 1(2)의 상태가 정상인지 조사하여(121), 그럴경우 사용버스를 버스 1(2)로 변경하여 선택처리하고 종료하며(122), 그렇지 않으면 사용중인 버스가 버스 2(2)이고 버스 1(2)의 상태가 비정상인지를 조사한다(123). 조사결과 버스 2(2)가 사용중이고 버스 1(2)의 상태가 비정상이면 복구를 위한 초기화 루틴으로 천이하고(124), 그렇지 않으면 사용중이 버스가 버스 1(2)이고 버스 1(2)의 상태가 정상인지 조사한다(125).On the other hand, if the clock failure has not occurred in the bus 1 (2) as a result of the check (113) for checking whether a clock failure has occurred in the bus 1 (2), it is investigated whether a clock failure has occurred in the bus 2 (2) (120). . If there is a clock failure on bus 2, check if the bus being used is bus 2 (2) and if the state of bus 1 (2) is normal (121). If so, change the bus to bus 1 (2) and process it. Otherwise, it checks whether the bus being used is bus 2 (2) and the state of bus 1 (2) is abnormal (123). If the investigation indicates that bus 2 (2) is in use and the state of bus 1 (2) is abnormal, it transitions to an initialization routine for recovery (124), otherwise the bus in use is bus 1 (2) and the bus 1 (2) Check if the condition is normal (125).

상기 조사(125)결과, 버스 1(2)이 사용중이고 정상상태이면 버스 2(2)만 비정상상태로 천이하고 종료하며(126), 그렇지 않으면 사용중인 버스가 버스 1(2)이고 버스 1(2)의 상태가 비정상인지 조사한다(127).As a result of the check 125, if bus 1 (2) is busy and normal, only bus 2 (2) transitions to abnormal status and terminates (126), otherwise the bus being used is bus 1 (2) and bus 1 ( Check whether the state of 2) is abnormal (127).

버스 1(2)이 사용중이고 비정상상태이면 복구를 위한 초기화 루틴으로 천이하고(128), 그렇지 않으면 종료한다.If bus 1 (2) is busy and abnormal, it transitions to an initialization routine for recovery (128), otherwise terminates.

그리고 버스 2(2)에 클럭장애가 발생하였는지를 조사하는 상기 단계(120) 수행 후, 클럭장애가 발생하지 않았으면 특정프로세서에 의한 제한 시간이상의 버스 점유가 발생하였는지 조사하여(130), 그렇지 않으면 종료하고, 제한시간 이상의 버스 점유가 발생하였으면 사용중인 버스가 버스 1(2)이고 버스 2(2)의 상태가 정상인지를 조사한다(131).After performing step 120 of checking whether a clock failure has occurred in bus 2 (2), if the clock failure has not occurred, it is checked whether a bus occupancy is exceeded by a specific processor (130). If the bus occupies more than the time limit occurs, it is checked whether the bus being used is bus 1 (2) and the state of bus 2 (2) is normal (131).

사용중인 버스가 버스 1(2)이고 버스 2(2)의 상태가 정상이면 사용버스를 버스 2(2)로 변경하여 선택처리하고(132) 종료하며, 그렇지 않으면 사용중인 버스가 버스 1(2)이고 버스 2(2) 상태가 비정상인지를 조사한다(133), 버스 1(2)이 사용중이고 버스 2(2) 상태가 비정상이면 복구를 위한 초기화 루틴으로 천이하고 종료하며(134), 그렇지 않으면 사용중인 버스가 버스 2(2)이고 버스 1(2)의 상태가 정상인지를 조사한다(135).If the bus being used is bus 1 (2) and the state of bus 2 (2) is normal, change the bus to bus 2 (2) and process it (132), otherwise the bus being used is bus 1 (2). Then check whether the bus 2 (2) state is abnormal (133), if the bus 1 (2) is busy and the bus 2 (2) state is abnormal, transition to the initialization routine for recovery and terminate (134). If not, then check whether the bus being used is bus 2 (2) and the state of bus 1 (2) is normal (135).

조사(135) 결과, 버스 2(2)가 사용중이고 버스 1(2)이 정상이면, 사용버스를 버스 1(2)로 변경하여 선택처리하고 종료하며(136), 그렇지 않으면 사용중인 버스가 버스 2(2)이고 버스 1(2)의 상태가 비정상인지를 조사한다(137). 버스 2(2)가 사용중이고 버스 1(2)이 비정상이면 복구를 위한 초기화 루틴으로 천이하고 종료하며(138), 그렇지 않으면 종료한다.As a result of investigation 135, if bus 2 (2) is in use and bus 1 (2) is normal, change the bus to bus 1 (2), select and exit (136), otherwise the bus in use 2 (2) and check whether the state of bus 1 (2) is abnormal (137). If bus 2 (2) is busy and bus 1 (2) is abnormal, it transitions to an initialization routine for recovery and terminates (138), otherwise it terminates.

제5도는 폴트 감시 동작에 의해 감지한 비정상 상태에서의 복구를 위한 처리 흐름도로서, 운용중 계속적으로 프로세서마다 하드웨어 패스의 정상 동작 여부를 시험하는 루프백 시험에 의해 비정상 동작 여부를 검출하는데 시험 결과가 실패되었을때 복구를 위한 동작을 수행하며, 이중화된 버스의 절체에 의해 복구가능한 상태이면 버스 절체 동작에 의해 복구하고 이중화된 버스 모두가 비정상일 경우에는 복구를 위해 사용자 프로그램과의 정합에 의해 비정상 상태로 천이되었다는상태를 일치시킨 후 절체 동작에 들어가는 처리 흐름도이다.5 is a flow chart for recovering from an abnormal state detected by a fault monitoring operation. The operation result is failed by a loopback test that continuously tests the hardware path for each processor during operation. When recovery is performed, the recovery operation is performed by the transfer of the redundant bus. If the recovery is performed by the bus switching operation, when the redundant buses are all abnormal, the operation is restored by matching with the user program for recovery. This is a process flow for entering the transfer operation after matching the transitioned state.

먼저, 루프백 시험 결과를 검사하여 비정상이면(140), 사용중인 버스가 버스 1(2)이고 버스 2(2)가 정상상태인지 조사한다(141). 버스 1(2)이 사용중이고 버스 2(2)가 정상상태이면 사용버스를 버스 2(2)로 변경하여 선택처리하고 종료하며(142), 그렇지 않으면 사용중인 버스가 버스 1(2)이고 버스 2(2)가 비정상상태인지 조사한다(143). 버스 1(2)이 사용중이고 버스 2(2)가 비정상상태이면 상태의 일치를 위해 사용자 프로그램에 버스 비정상 상태를 전달하고 종료하며(144), 그렇지 않으면 사용중인 버스가 버스 2(2)이고 버스 1(2)이 정상상태인지 조사한다(145). 그 결과 버스 2(2)가 사용중이고 버스 1(2)이 정상상태이면 사용버스를 버스 1(2)로 변경하여 선택처리하고(146) 종료하며, 그렇지 않으면 사용중인 버스가 버스 2(2)이고 버스 1(2)이 비정상상태이지 조사한다(147). 버스 2(2)가 사용중이고 버스 1(2)이 비정상 상태이면 상태의 일치를 위해 사용자 프로그램에 버스 비정상상태를 전달하고(148), 그렇지 않으면 종료한다.First, by checking the loopback test result (140), it is checked whether the bus being used is bus 1 (2) and bus 2 (2) is in a normal state (141). If bus 1 (2) is busy and bus 2 (2) is in a normal state, change the bus to bus 2 (2) for processing and exit (142), otherwise the bus in use is bus 1 (2) and the bus Investigate whether 2 (2) is abnormal (143). If bus 1 (2) is in use and bus 2 (2) is in an abnormal state, it communicates and terminates the bus abnormal state to the user program for state matching (144), otherwise the bus being used is bus 2 (2) and the bus Investigate whether 1 (2) is in a steady state (145). As a result, if bus 2 (2) is in use and bus 1 (2) is in a normal state, the bus is changed to bus 1 (2) for selection processing (146) and the bus being used is bus 2 (2). And check whether bus 1 (2) is abnormal (147). If bus 2 (2) is in use and bus 1 (2) is in an abnormal state, a bus abnormal state is communicated to the user program (148) to match the state, otherwise terminate.

제6도는 장시간 동안(지정 한계치 이상) 특정 프로세서가 버스 점유시 복구를 위한 처리 흐름도로서, 통신 데이타 송신 가능상태에서 송신 하드웨어 채널의 휴지 상태를 검색하여 계속 사용상태일 경우, 즉 버스 점유시간이 한계치 이상의 시간동안 계속해서 점유하고 있을 경우에 특성 프로세서에 의한 공유 자원인 버스의 독점을 방지하기 위해 사용중인 버스 사용권한을 해제함으로서 복구 동작을 수행하는 처리 흐름도이다.6 is a flow chart for recovering when a specific processor occupies a bus for a long time (above a specified limit), and when the communication data transmission is enabled, the idle state of the transmission hardware channel is searched for and kept in use, that is, the bus occupancy time is limited In the case of continuing to occupy for the above time period, it is a process flow for performing a recovery operation by releasing the bus usage right in use to prevent monopoly of the bus which is a shared resource by the characteristic processor.

특정 프로세서가 통신 데이타 송신 기능상태인지를 조사하여(150), 송신 가능상태가 아니면 종료하고, 송신 가능상태이면 통신 데이타송신 하드웨어 채널 휴지상태인지를 검색한(151), 검색결과, 휴지상태이면 통신 데이타를 송신하게 하고 종료하며(152), 사용상태이면 지정 한계치 이상 계속버스를 점유하고 있는지 조사하여(153), 지정 한계치 이상 점유하고 있으면 사용중인 버스에 대한 사용권한을 해제시키고(154)종료하며, 그렇지 않으면 바로 종료한다.It checks whether the specific processor is in the communication data transmission function state (150), terminates if it is not in the transmittable state, and if it is in the transmit state, detects whether the communication data transmission hardware channel is in the idle state (151). It sends data and terminates (152), and if it is in use, checks whether the bus is occupied more than the designated limit (153), and if it is occupied more than the specified limit, releases the permission for the bus being used (154). , Otherwise exit immediately.

따라서, 상기와 같은 처리절차에 의해 수행되는 본 발명은, 공통의 버스 자원을 공유한 다수 프로세서의 버스 이중화 제어 및 버스 이상상태 발생시 현재 동작중인 버스 이외에 항상 대기하고 있는 버스 자원을 활용하여 비정상 상태 등 장애 발생 상황에 대처할 수 있고 유휴 시간이 적절한 활용 및 최소의 자원으로 최대의 효율적인 사용과 더불어 기존 성능의 최대한 활용할 수 있는 효과가 있다.Therefore, the present invention carried out by the above processing procedure, the bus redundancy control of a plurality of processors sharing a common bus resource and abnormal state by utilizing the bus resources that are always waiting in addition to the bus currently operating when a bus abnormal condition occurs It can cope with the occurrence of failures, and the effective use of idle time and the maximum efficiency with the minimum resources can make the most of the existing performance.

Claims (2)

타 프로세서와의 통신을 위해 통신 데이타의 분배기능을 수행하는 네트워크(1)와, 상기 네트워크(1)에 연결되며 버스 자원을 공유한 다수의 프로세서에서 타 프로세서와의 송수신을 위한 물리적인 송·수신 경로인 이중화 버스 1,2(2)와, 상기 버스 1,2(2)에 연결되어 버스 사용권한을 획득한 경우에만 송신 기능을 수행할 수 있는 다수의 프로세서(3)를 구비하는 통신시스템에 적용되어 공통의 버스 자원을 공유한 다수 프로세서의 버스 이중화 제어 및 버스 이상상태 발생시 복구 처리 방법에 있어서, 초기의 버스 선택시 사용 가능한 버스를 검사하여 사용가능 버스를 선택하고 선택된 버스를 루프백 시험하여 정상인 경우에만 실제 사용할 수 있는 버스로 선택하며 초기에 이주화된 버스 중 어느 것도 선택할 수 없는 상태일 경우에는 비정상 상태에서의 복구를 위해 다시 초기화부터 수행하는 제1단계(101 내지 107)와, 사익 제1단계(101 내지 107) 수행후, 정상 운용 중 하드웨어에서 감지한 공통 버스 폴트 인터럽트에 의해 특정 버스의 비정상상태에 대한 복구를 수행하는데 발생한 폴트 종류에 따라 사용중인 버스 상태와 이중화 대기중인 버스 상태를 검사하여 버스 절체에 의해 복구 가능한 상태이면 버스를 절체하여 복구하고현재 사용중인 버스와 비사용 버스 모두가 비정상 상태일 경우에는 비정상 상태에서의 복구를 위해 다시 초기화부터 수행하는 제2단계(101 내지 138)와, 상기 제1단계(101 내지 107) 수행후, 정상 운용중 소프트웨어에 의한 폴트 감시 동작에 의해 감지된 버스의 비정상 상태와 특정 프로세서의 장애에 대한 복구를 수행처리하는 제3단계(140 내지 48, 150 내지 154)를 구비하여 수행하는 것을 특징으로 하는 공통의 버스자원을 공유한 다수 프로세서의 버스 이중화 제어 및 버스 이상상태 발생시 복구 처리 방법.A network 1 that performs a function of distributing communication data for communication with another processor, and a plurality of processors connected to the network 1 and sharing a bus resource, for physical transmission / reception with another processor A communication system having a redundant bus 1,2 (2), which is a path, and a plurality of processors (3) connected to the buses 1,2 (2) and capable of performing a transmission function only when a bus permission is obtained. In the bus redundancy control of multiple processors and common bus resources, and the recovery process in the event of a bus fault condition, an available bus is checked by selecting an available bus at the time of initial bus selection, and a loopback test is performed on the selected bus. Select only if the bus is actually available, or return to an abnormal state if none of the initially migrated buses can be selected. After performing the first steps (101 to 107) to perform the initialization from the initial stage, and after the first steps (101 to 107), the common bus fault interrupt detected by the hardware during normal operation for the abnormal state of the specific bus Depending on the type of fault that occurred during the recovery, checks the status of the bus in use and the state of the bus waiting for redundancy, and recovers by switching over the bus. In the second step (101 to 138) to perform from the initialization to recover from the abnormal state, and after performing the first step (101 to 107), the bus detected by the fault monitoring operation by the software during normal operation And performing a third step (140 to 48, 150 to 154) for performing recovery for abnormal conditions and failure of a specific processor. Or more redundant control bus and a bus of a number of processors share a common bus resources to the ranging state in case the recovery processing method. 제1항에 있어서, 상기 제3단계(140 내지 148,150 내지 154)는, 루프백 시험 결과 비정상 상태라고 판단되어 사용중인 버스 상태와 대기중인 버스상태를 검사하여 버스 절체에 의해 복구 가능한 상태이면 버스를 절체하여 복구하고 현재사용중인 버스와 비사용 버스 모두가 비정상 상태인 경우에는 비정상 상태에서의 복구를 위해 사용자 프로그램에 버스 비정상 상태를 전달하여 상태를 일치시킨 후 복구를 위한 절차에 들어가는 단계(140 내지 148)와, 정상적인 통신 데이타 송신 동작 수행 중 특정 프로세서의 계속적인 버스사용 권한을 유지하는 것을 방지하기 위해 일정 한계치 이상 버스 사용 권한 유지시 버스 사용 권한을 강제로 해제하는 단계(150 내지 154)를 구비하는 것을 특징으로 하는 공통의 버스 자원을 공유한 다스 프로세서의 버스 이중화 제어 및 버스 이상상태 발생시 복구 처리 방법.The method of claim 1, wherein the third step (140 to 148, 150 to 154) is determined to be an abnormal state as a result of the loopback test, and checks the bus state in use and the waiting bus state and transfers the bus if the state is recoverable by the bus transfer. If both the current bus and the unused bus are in an abnormal state, a process of acquiring the bus abnormal state to the user program to match the state and then entering the procedure for recovery (140 to 148) is performed. And forcibly releasing bus usage rights (150 to 154) when the bus usage rights are maintained above a certain limit to prevent the continuous use of the bus usage rights of a particular processor during normal communication data transmission operation. Bus redundancy control of dozens of processors sharing a common bus resource, and How to recover from a bus fault condition.
KR1019930024532A 1993-11-17 1993-11-17 Bus duplexing control of multiple processor KR960010879B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930024532A KR960010879B1 (en) 1993-11-17 1993-11-17 Bus duplexing control of multiple processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930024532A KR960010879B1 (en) 1993-11-17 1993-11-17 Bus duplexing control of multiple processor

Publications (2)

Publication Number Publication Date
KR950016418A KR950016418A (en) 1995-06-17
KR960010879B1 true KR960010879B1 (en) 1996-08-10

Family

ID=19368335

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930024532A KR960010879B1 (en) 1993-11-17 1993-11-17 Bus duplexing control of multiple processor

Country Status (1)

Country Link
KR (1) KR960010879B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100620902B1 (en) * 2004-12-10 2006-09-07 한국전자통신연구원 Reliable management communication method in service switch management system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970058243A (en) * 1995-12-27 1997-07-31 김광호 Data Transceiver Over Redundant Buses

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100620902B1 (en) * 2004-12-10 2006-09-07 한국전자통신연구원 Reliable management communication method in service switch management system

Also Published As

Publication number Publication date
KR950016418A (en) 1995-06-17

Similar Documents

Publication Publication Date Title
US6202170B1 (en) Equipment protection system
US6859889B2 (en) Backup system and method for distributed systems
US20070288585A1 (en) Cluster system
CN112181660A (en) High-availability method based on server cluster
US20020120884A1 (en) Multi-computer fault detection system
JP3537281B2 (en) Shared disk type multiplex system
CN111585835B (en) Control method and device for out-of-band management system and storage medium
KR960010879B1 (en) Bus duplexing control of multiple processor
JP2001344125A (en) Dual node system
KR0152229B1 (en) Low price duplication node
KR100303344B1 (en) A method for managing protocol and system switching priority for system redundancy
JPH04239831A (en) Inter processor backup system
JPH06197112A (en) Management system
JP2606107B2 (en) Processor redundancy
KR100228306B1 (en) Hot-standby multiplexer and implementation method
JP4779948B2 (en) Server system
JP2000295236A (en) Atm transmitter
JP3244247B2 (en) Clock signal working spare switching method
KR100306482B1 (en) N:1 Duplex System And Duplex Control Method In That System
CN116347489A (en) Service processing method based on data center
KR100194983B1 (en) Blocking method of faulty board in private exchange
KR19990051279A (en) Fault monitoring method of cell processor of ATM switch
KR19990020337A (en) Transfer data bus redundancy method in exchange
JPH09160875A (en) Multi-agent mutual back-up system
JPS63279646A (en) Automatic restart processing system for network management equipment

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19990602

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee