KR910003941B1 - Calling and call-restoring method by use of communications between processors - Google Patents

Calling and call-restoring method by use of communications between processors Download PDF

Info

Publication number
KR910003941B1
KR910003941B1 KR1019880003402A KR880003402A KR910003941B1 KR 910003941 B1 KR910003941 B1 KR 910003941B1 KR 1019880003402 A KR1019880003402 A KR 1019880003402A KR 880003402 A KR880003402 A KR 880003402A KR 910003941 B1 KR910003941 B1 KR 910003941B1
Authority
KR
South Korea
Prior art keywords
processor
call
data
standby
state
Prior art date
Application number
KR1019880003402A
Other languages
Korean (ko)
Other versions
KR890015548A (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 KR1019880003402A priority Critical patent/KR910003941B1/en
Publication of KR890015548A publication Critical patent/KR890015548A/en
Application granted granted Critical
Publication of KR910003941B1 publication Critical patent/KR910003941B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing

Abstract

The stand by processor receives the data base of the current acting microprocessor to maintaining the loop when a fatal abnormality occurs. The method includes steps: (A) initializing the system by the stand-by microprocessor; (B) maintaining the data base of special service function and the current control loop and initializing other data; (C) reconstructing the loop according to the special service function and loop data stored in a memory; (D) checking another call; and (E) processing the call, storing the call data on the memory and transmitting the data to the stand- by microprocessor.

Description

사설교환 시스템의 통화 복구방법Call recovery method of private exchange system

제 1 도는 종래의 시스템 흐름도.1 is a conventional system flow diagram.

제 2 도는 본 발명을 수행하기 위한 사설교환기의 시스템 블록도.2 is a system block diagram of a private exchange for carrying out the invention.

제 3 도는 본 발명을 따른 시스템 동작 흐름도.3 is a flowchart of a system operation in accordance with the present invention.

제 4 도는 본 발명을 따른 통화 복구 흐름도.4 is a call recovery flow diagram in accordance with the present invention.

제 5 도는 본 발명을 따른 또다른 일실시예의 웨이크업 기능등록 흐름도.5 is a flowchart illustrating another example of a wake-up function registration according to the present invention.

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

10 : 제1제어부 20 : 제2제어부10: first control unit 20: second control unit

30 : 버스 감시 및 선택회로 40 : 국선 가입자회로30: bus monitoring and selection circuit 40: trunk line subscriber circuit

50 : 통화 교환회로 60 : 내선가입자회로50: currency exchange circuit 60: extension subscriber circuit

본 발명은 사설교환기의 통화복구 방법에 관한 것으로, 특히 사설교환기의 이중화 프로세서에 의해 동작 중 시스템 에러가 발생하더라도 통화 상태 및 특수기능을 유지할 수 있는 방법에 관한 것이다.The present invention relates to a method for recovering a call of a private exchange, and more particularly, to a method of maintaining a call state and a special function even when a system error occurs during operation by a redundant processor of a private exchange.

제 1 도는 종래의 사설교환기에서 통화 및 기능 서비스 흐름도로서, 하기와 같이 진행된다.1 is a flowchart of a call and function service in a conventional private exchange, which proceeds as follows.

(A1)단계에서 시스템이 동작개시(starting)되는 순간에 시스템의 모든 하드웨어 및 기억장치에 있는 모든 데이타를 초기화 시킨다. 이후 호가 발생되면 (A2)단계에서 시스템내의 통화로를 형성하여 해당 가입자의 통화서비스를 수행하며, 특수기능이 발생되면 (A3)단계에서 해당 각 기능을 서비스 하게 된다.In the step (A1), the system initializes all the data in the hardware and memory of the system at the moment of starting. When a call is generated, a call path is formed in the system in step (A2) to perform a call service of the corresponding subscriber. When a special function is generated, each function is serviced in step (A3).

이때 시스템이 동작중에 예기치 못한 심각한 에러가 발생하면 시스템은 다시 시스템 초기화 과정을 재수행하게되며, 이때 시스템 초기화과정에서는 하드웨어 및 서비스중이던 모든 데이타 베이스를 초기화 시키므로서, 서비스 상태의 모든 라인이 끊어지게 되고, 사용자가 등록한 특수기능들도 모두 지워지게 되었다. 또한 프로세서에 치명적인 이상이 발생하였을시는 시스템 전체 기능이 정지되는 문제점등이 있었다.At this time, if an unexpected serious error occurs while the system is running, the system re-performs the system initialization process again.In this case, all the lines in the service state are disconnected by initializing all databases that were in hardware and service. All special functions registered by users are also deleted. In addition, when a fatal abnormality occurred in the processor, there was a problem that the whole system is stopped.

따라서 본 발명의 목적은 이중화 프로세서의 사설교환기에서 동작중인 프로세서가 필요한 메시지를 대기상태 프로세서에 제공하여, 동작중인 프로세서에 이상이 발생하더라도 대기중인 프로세서가 제어권을 인수하여 통화상태를 유지할 수 있는 통화복구 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a message to the standby processor, the processor operating in the private exchange of the redundant processor, the call recovery can maintain the call state by taking over control of the waiting processor even if an error occurs in the running processor In providing a method.

본 발명의 또다른 목적은 동작중인 프로세서에 이상현상 발생시 대기프로세서가 동작하여 특수기능 복구 및 서비스 할 수 있는 방법을 제공함에 있다.Another object of the present invention is to provide a method for recovering and servicing a special function by operating a standby processor when an abnormal phenomenon occurs in a running processor.

이하 본 발명을 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

제 2 도는 사설교환기의 시스템 블록도로서 동작프로세서(active processor) 및 대기프로세서(standbyprocessor)로 동작하여 시스템을 제어하는 제1 및 제2제어부(10,20)와, 상기 제1 및 제2제어부(10,20)의 버스를 감시하며 에러발생시 제어권을 전환하고 에러 상태를 표시하는 버스 감시 및 선택회로(30)와, 상기 제어부(10,20)의 제어하에 국선과 시스템을 인터페이싱하는 국선 가입짜회로(40)와, 상기 제어부(10,20)의 제어하에 통화로를 스위칭하는 통화교환회로(50)와, 상기 제어부(10,20)의 제어하에 가입자와 시스템을 인터페이싱하는 내선가입자회로(60)로 구성된다.FIG. 2 is a system block diagram of a private exchange. The first and second controllers 10 and 20 control the system by operating as an active processor and a standby processor, and the first and second controllers ( A bus monitoring and selection circuit 30 for monitoring the buses of 10 and 20, switching control rights when an error occurs, and displaying an error state, and a trunk line subscription circuit for interfacing the trunk line with the system under the control of the controllers 10 and 20. 40, a call exchange circuit 50 for switching a communication path under the control of the controllers 10 and 20, and an extension subscriber circuit 60 for interfacing the subscriber and the system under the control of the controllers 10 and 20. It consists of.

제 3 도는 본 발명을 따른 시스템의 동작 과정도로서, 시스템 스타트시 시스탬의 하드웨어를 초기화하는 과정과, 상기 하드웨어 초기화후 기억장치 내의 통화 및 기능관련 데이타를 세이브하고 나머지 데이타를 초기화하는 과정과, 상기 데이타 초기화 수행후 동작 프로세서가 정상 상태에서 발생하는 통화 및 기능 메시지를 대기중인 프로세서로 전송하는 제3과정으로 이루어진다.3 is a flowchart illustrating an operation of a system according to the present invention, the process of initializing the hardware of the system at system startup, saving the call and function related data in the storage device after initializing the hardware, and initializing the remaining data; After performing data initialization, a third process of transmitting a call and a function message generated in a normal state to a waiting processor is performed.

제 4 도는 본 발명을 따른 통화복구 방법의 흐름도로서, 제 4 도(a)는 동작중인 프로세서의 통화흐름도이다. 제 4b 도는 대기프로세서의 통화 흐름도이다.4 is a flowchart of a call recovery method according to the present invention, and FIG. 4 (a) is a call flow diagram of an operating processor. 4b is a call flow diagram of a standby processor.

여기서 상기 동작프로세서는, 시스템 기동시 시스템의 하드웨어 구성을 초기화시킨다. 이후 기억장치내에 저장하고 있는 데이타에서 통화 및 기능 관련 데이타를 제외한 나머지 데이타를 초기화시키고, 상기 통화 및 기능 관련 데이타에 의해 통화 상태를 복구시킨다. 상기 초기화 과정 종료후 호상태가 발생되면 해당호에 관련된 서비스를 수행하고, 서비스 결과를 대기프로세서로 전송한다. 이때 상기 호서비스 과정중 치명적인 에러가 발생되면, 대기프로세서로 제어전환 데이타를 전송하고 동작프로세서는 대기상태로 전환된다.Here, the operation processor initializes the hardware configuration of the system at system startup. After that, the data stored in the storage device is initialized except for call and function related data, and the call state is restored by the call and function related data. If a call state occurs after the initialization process, the service related to the call is performed, and the service result is transmitted to the standby processor. At this time, if a fatal error occurs during the call service process, the control transfers data to the standby processor and the operating processor is switched to the standby state.

또한 상기 대기프로세서는, 시스템 기동시 시스템의 하드웨어 구성을 초기화시키고, 역시 기억장치내에 저장하고 있는 데이타에서 통화 및 기능관련 데이타를 제외한 나머지 데이타를 초기화 시킨다. 이후 동작프로세서로부터 서비스 처리 결과 메시지를 수신하면, 해당 수신 메시지를 깅억장치내에 저장한다.상기 과정을 반복하는 중에 동작프로세서로부터 제어 전환 데이타를 수신하면 확인 메시지를 송출하고, 동작프로세서로 전환되어 제어권을 인수하며, 이후 동작프로세서의 초기화 과정을 수행한다.In addition, the standby processor initializes the hardware configuration of the system at system startup, and initializes the remaining data except for call and function related data from data also stored in the storage device. Thereafter, when the service processing result message is received from the operating processor, the received message is stored in the storage device. If the control switching data is received from the operating processor while the above process is repeated, an acknowledgment is sent and the control is switched to the operating processor. Argument, and then initializes the operating processor.

제 5 도는 본 발명을 따른 일실시예인 웨이크업 기능의 흐름도로서 제 5a 도는 동작중인 프로세서의 웨이크업 기능 등록 흐름도이고, 제 5b 도는 대기중인 프로세서의 흐름도이다.5 is a flowchart of a wake up function according to an embodiment of the present invention. FIG. 5A is a flowchart of registering a wake up function of a running processor, and FIG. 5B is a flowchart of a waiting processor.

상술한 구성에 의거 본 발명을 제 2, 3, 4, 5 도를 참조하여 상세히 설명한다.Based on the above-described configuration, the present invention will be described in detail with reference to FIGS. 2, 3, 4, and 5.

제 2 도는 이중화 프로세서에 의한 사설교환기의 블록도이다.2 is a block diagram of a private exchange with a redundant processor.

상기 구성중 제1 및 제2제어부(10,20)는 사설교환기를 제어하는 이중화프로세서부로서, 여기서 제1제어부(50)는 동작 제어부, 제2제어부(20)를 대기제어부라고 가정한다. 따라서 제1프로세서(11)를 내장하여 시스템의 전반적인 동작을 제어하는 상기 제1제어부(10)는 국선가입자회로(40), 통화 교환회로(50) 및 내선가입자회로(6)를 제어하며, 호발생시 통화로를 형성하여 이에 관련되는 통화 및 기능데이타를 기억장치인 램(13)에 저장한다. 또한, 버스감시 및 선택회로(30)는 2개의 프로세서(11,21)중 동작중인 제1프로세서(11)를 선택하여 스위칭부, 서비스부, 종단부 등을 제어하는데, 동작중인 제1프로세서(11)가 고장일때는 대기중인 제2프로세서(21)로 자동전환 시켜주는 릴레이 스위칭회로, 자동/수동(Auto/MANUAL) 전환회로, CPU 전환회로, 에러표시회로등이 내장되어 있다.In the above configuration, the first and second controllers 10 and 20 are redundant processor units for controlling the private exchanger. Here, the first controller 50 assumes the operation controller and the second controller 20 as the standby controller. Accordingly, the first controller 10, which controls the overall operation of the system by incorporating the first processor 11, controls the trunk line subscriber circuit 40, the call exchange circuit 50, and the internal subscriber circuit 6. When a call occurs, a call path is formed and the call and function data related thereto are stored in the RAM 13 as a storage device. In addition, the bus monitoring and selection circuit 30 selects the first processor 11 operating among the two processors 11 and 21 to control the switching unit, the service unit, the termination unit, and the like. 11) In case of a failure, a relay switching circuit, an auto / manual switching circuit, a CPU switching circuit, an error display circuit, etc., which automatically switch to the waiting second processor 21 are built in.

본 발명에서는 동작 및 대기프로세서 상호간에 통신(IPC:Inter processor communication)을 수행함으로써, 동작중인 제1프로세서(11)에 이상이 발생한 경우, 대기중인 제2프로세서(21)가 이후의 일(job)을 이어받아 서비스의 중단없이 시스템의 기능을 구현한다. 따라서 결국 시스템에 이상(fault)이 발생되더라도 사용자에게 대한 중단없는 서비스 제공하는 시스템을 구현할 수 있으며, 그 동작은 하기와 같이 진행한다.According to the present invention, when an error occurs in the operating first processor 11 by performing interprocessor communication (IPC) between the operation and the standby processors, the waiting second processor 21 may perform a subsequent job. It takes over and implements the functions of the system without interrupting service. Therefore, even in the event of a fault in the system, a system that provides a service without interruption to a user may be implemented. The operation proceeds as follows.

우선 시스템 초기화시 필요한 데이타를 보존한 후 이중화 프로세서에 의해 메시지를 송수신하는 과정을 제 3 도를 참조하여 설명한다.First, a process of preserving data required for system initialization and transmitting and receiving a message by the redundant processor will be described with reference to FIG.

먼저 (B1)단계에서 시스템 기동(system start)시에 제1제어부(10)내의 FDD(FLOPPY DISK DRIVER)(17), DMA 회로(15) 및 국선가입자회로(40), 통화교환회로(50), 내선가입자회로(60)등 관련 하드웨어 부분들을 제1프로세서(11)가 초기화한다. 또한 대기상태의 제2프로세서(21)도 제2제어부(20)내의 하드웨어 구성들을 초기화 시킨다. 이후 상기 프로세서(11,21)는 (B2)단계로 진행하여 각각 기억장치인 램(13,23)에 저장하고 있는 데이타중에서 통화에 관련된 데이타와 기능에 관련된 데이타는 셀프리스타트(self restart)를 고려해 기동시에 초기화하지 않고 현재의 데이타 값을 그대로 유지시킨다. 그리고 상기 제1프로세서(11) 및 제2프로세서(21)의 각각은 (B3)단계에서 램(13,23)에 있는 데이타중에서 통화와 관련된 데이타와 기능에 관련된 데이타를 제외한 모든 데이타를 초기화한다. 이후 정상상태에서 (B4)단계를 통해 동작상태의 제1프로세서(11)는 발생되는 통화상태 메시지, 기능상태 메시지, 기능상태 메시지등은 정보교환버스(18)에 의해 대기상태의 제2프로세서(21)로 전송하며, 반대로 필요한 경우 대기상태의 제2프로세서(21)에서도 메시지를 정보교환버스(18)를 통해 동작상태의 제1프로세서(11)로 전송한다. 또한 (B5)단계에서 통화교환회로(50), 버스구동회로(52) 및 내선가입자회로(60), 국선가입자회로(40) 등을 통해 통화서비스를 제공한다.First, in the step (B1), the FDD (FLOPPY DISK DRIVER) 17, the DMA circuit 15, the trunk line subscriber circuit 40, and the call exchange circuit 50 in the first control unit 10 at the system start. The first processor 11 initializes relevant hardware parts, such as the extension subscriber circuit 60. In addition, the second processor 21 in the standby state initializes the hardware components in the second control unit 20. After that, the processor 11 or 21 proceeds to step B2, and among the data stored in the RAMs 13 and 23, which are memory devices, data related to a call and data related to a function are considered in consideration of self restart. The current data value is kept as it is without initialization at startup. Each of the first processor 11 and the second processor 21 initializes all data except for data related to a call and data related to a function among data in the RAM 13 and 23 in step (B3). After the normal state (B4) through the operation state of the first processor 11, the call state message, the function state message, the function state message, etc. generated by the information exchange bus 18 21, and if necessary, the second processor 21 in the standby state also transmits a message to the first processor 11 in the operating state through the information exchange bus 18. In addition (B5) provides a call service through the call exchange circuit 50, the bus drive circuit 52 and the extension subscriber circuit 60, the trunk line subscriber circuit 40 and the like.

제 4a 도를 참조하여 동작 프로세서에 의한 통화 복구과정을 설명한다.A call recovery process by the operation processor will be described with reference to FIG. 4A.

먼저 제1프로세서(11)는 (C1)단계에서 통화교환회로(50), FDD(17), DMA회로(15)등의 관련 하드웨어를 초기화한다. 그리고 (C2)단계에서 램(13)에 저장중이던 데이타에서 통화 및 기능에 관련데이타를 제외한 모든 데이타들을 초기화 시킨다. 이후 (C3)단계에서 상기 제1프로세서(11)눈 상기 램(13)에 저장중인 데이타를 참조하여 통화상태를 복구시킨다. 즉, 시스템이 셀프 리스타트(self-restart)하거나, 대기중이던 프로세서가 전환(take over)되어 동작프로세서를 기동될 때, 동작프로세서는 램에 저장중인 데이타를 참조하여 기통화 상태의 가입자에 대해서는 통화교환회로(50)를 제어하여 국선가입자회로(40) 및 내선가입자회로(60)의 통화로를 대신 형성시켜 줌으로서, 통화상태를 보구시킨다.First, in step C1, the first processor 11 initializes related hardware such as the call exchange circuit 50, the FDD 17, the DMA circuit 15, and the like. In step (C2), all data except for data related to a call and a function are initialized from the data stored in the RAM 13. Thereafter, in step (C3), the first processor 11 recovers the call state by referring to the data stored in the RAM 13. That is, when the system self-restarts or the waiting processor takes over and starts the operating processor, the operating processor refers to the data stored in the RAM and makes a call to the subscriber in the active state. The exchange circuit 50 is controlled to form a communication path for the CO line subscriber circuit 40 and the internal subscriber circuit 60, thereby saving the call state.

이후 상기 제1프로세서(11)는 호상태가 발생되면, (C4)단계에서 이를 인지하고, (C5)단계에서 해당 호에 대한 통화 서비스 기능을 제공하며 통화상태에 관련되는 정보들을 램(13)에 저장한다. 그리고 (C6)단계에서는 통화서비스에 대한 결과를 정보교환버스(18)를 통해 대기상태인 제2프로세서(21)로 전송한다. 이는 제1제어부(20)가 제어권을 인수하여 본래의 상태로 시스템을 제어하기 위함이다.Then, when a call state occurs, the first processor 11 recognizes this in step (C4), provides a call service function for the call in step (C5), and stores information related to the call state in the RAM 13. Store in In step (C6), the result of the call service is transmitted to the second processor 21 in the standby state through the information exchange bus 18. This is for the first control unit 20 to take over the control right and to control the system in its original state.

그러나 호서비스 중에 예기치 못한 에러상황이 발생되면, 제1프로세서(11)는 대기상태의 프로세서로 전환된다.However, if an unexpected error condition occurs during the call service, the first processor 11 switches to the standby processor.

두 번째로 제 4b 도를 참조하여 대기측의 제2프로세서(21)의 동작과정을 살펴본다.Secondly, the operation of the second processor 21 on the standby side will be described with reference to FIG. 4B.

먼저 제2프로세서(21)는 (D1)단계에서 FDD(27), DMA회로(25) 관련 하드웨어 구성들을 초기화한다. 그리고 (D2)단계에서 램(23), 저장중인 데이타 통화 및 기능에 관련데이타를 제외하고 모두 초기화 시킨다.First, in step D1, the second processor 21 initializes the hardware configurations related to the FDD 27 and the DMA circuit 25. In step (D2), all of the RAM 23 and the data currency and functions being stored are initialized except for the related data.

이후 제2프로세서(21)는 정보교환버스(18)를 통해 메시지가 수신되는가 검사하는데, 상기 정보교환버스(18)를 통해 제1프로세서(11)로부터 발생되는 호상태 메시지가 수신되면, (D3)단계에서 이를 인지하고 (D4)단계에서 수신되는 메시지를 수신하여 램(23)에 저장한다. 상기와 같은 과정을 통해 동작프로세서에서 처리한 호메세지는 대기상태의 프로세서에서도 동일한 형태로 저장되므로, 이후 제어권이 전환되더라도 대기 프로세서가 동작프로세서로 전환된 후, 램(123)에 저장중인 데이타에 의해 통한 상태를 복수할 수 있게된다.Thereafter, the second processor 21 checks whether a message is received through the information exchange bus 18. If a call state message generated from the first processor 11 is received through the information exchange bus 18, (D3). In step) it recognizes and receives the message received in step (D4) and stores in the RAM (23). Since the message processed by the operating processor through the above process is stored in the same form in the standby processor, even after the control right is switched, the standby processor is switched to the operating processor, and by the data stored in the RAM 123 Through this, the state can be plural.

여기서 상기 정보교환버스(18)는 제1 및 제2제어부(10,20)가 서로 데아타를 통신할 수 있도록 피로(FIFO)에 연결된다.Here, the information exchange bus 18 is connected to the fatigue (FIFO) so that the first and second control units (10, 20) can communicate with each other.

상기와 같이 호메세지를 수신하여 램(23)에 저장하는 중에 버스감시 및 선택회로(30)를 통해 제어전환 데이타가 수신되면, 제2프로세서(21)는 (D5)단계에서 이를 인지하고 (D6)단계에서 상기 제1프로세서(11)로 확인 데이타를 송출하고 동작프로세서로 천이된다. 그러면 동작프로세서로 전환된 제2프로세서(21)는 제 4 도(A)와 같은 흐름을 수행하여 램(23)에 보관중인 통화 데이타에 의해 통화 상태를 복구한다.If the control switching data is received through the bus monitoring and selection circuit 30 while receiving the home message and storing the message in the RAM 23 as described above, the second processor 21 recognizes this in step D5 and recognizes it (D6). In step), the verification data is sent to the first processor 11 and the process proceeds to the operation processor. Then, the second processor 21 switched to the operation processor performs the flow as shown in FIG. 4A to restore the call state by the call data stored in the RAM 23.

상기와 같은 흐름으로 진행되는 동작프로세서와 대기프로세서의 처리과정을 동작 상태에서 대기상태(대기상태에서 동작상태)로 천이되는 과정, 호발생에서 종료사이에 동작프로세서와 대기프로세서에서 각각 수행하는 일련의 과정, 호종료시 동작프로세서와 대기프로세서에서 각각 수행되는 일련의 과정순으로 살펴본다.A process of transitioning the processing of the operating processor and the standby processor from the operating state to the standby state (standby state to the operating state), and a series of operations performed by the operating processor and the standby processor, respectively, between call generation and termination. In this section, we will look at the sequence of processes that are performed in the operation processor and the standby processor at the end of the call.

먼저 동작프로세서가 대기프로세서로 제어권을 전환하는 과정을 살펴본다. 동작 상태의 제1프로세서(11)가 서비스 중인 상태에서 예기치 못한 에러가 발생된 경우, 상기 제1프로세서(11)는 (C7)단계에서 이를 인지하고, (C8)단계에서 버스감시 및 선택회로(30)를 통해 제2프로세서(21)로 제어 전환 데이타를 출력한다. 이 경우 먼저 상기 제1프로세서(11)는 특정번지(0000H)에 특정데이타(1100 0000 : C0H)를 라이트하여 스위치 오버가 가능한 상태로 하고, 다시 특정번지(0030H) 번지에 특정데이타(0000 0000:00H)를 라이트하여 동작프로세서이던 제1프로세서(11)는 대기프로세서로 천이되며, 이후 제어권을 대기상태이던 제2프로세서(21)로 넘어간다.First, the operation processor transfers control to the standby processor. If an unexpected error occurs while the first processor 11 in the operating state is in service, the first processor 11 recognizes this at step (C7), and at step (C8) the bus monitoring and selection circuit ( The control switching data is output to the second processor 21 through 30). In this case, first, the first processor 11 writes a specific data (1100 0000: C0 H ) to a specific address (0000 H ) to enable a switchover state, and then again to the specific address (0030 H ). 0000 0000: 00 H ), and the first processor 11, which was an operating processor, transitions to the standby processor, and then transfers the control right to the second processor 21 in the standby state.

또한 대기상태의 제2프로세서(21)는 상기 (C8)단계에서 상기 제1프로세서(11)가 전송한 데이타를 (D5)단계에서 인지하고, (D6)단계에서 특정번지(0000H)에 특정데이타(0000 0100:05H)를 라이트 함으로서 제2프로세서(21)가 소프트웨어적으로 재기동할 수 있게하고, 다시 특정번지(0020H)에 특정데이타(0000 0001:01H)를 라이트하여 제2프로세서(21)가 동작프로세서로서 재기동 하도록 한다.In addition, the second processor 21 in the standby state recognizes the data transmitted from the first processor 11 in step (D5) in step (C8), and specifies the specific address (0000 H ) in step (D6). By writing the data (0000 0100: 05 H ), the second processor 21 can be restarted by software, and by writing the specific data (0000 0001: 01 H ) at the specific address (0020 H ) again, the second processor Let 21 restart as the operating processor.

따라서 동작프로세서이던 제1프로세서(11)는 대기프로세서인 제2프로세서(21)로 제어권 전환을 위한 데이타를 출력하고 자신은 대기상태로 천이되며, 대기프로세서이던 제2프로세서(12)는 상기 데이타에 의해 동작상태로 천이되어 시스템의 통화 상태를 복구한다.Therefore, the first processor 11, which is an operating processor, outputs data for switching control to the second processor 21, which is a standby processor, and transitions itself to a standby state, and the second processor 12, which is a standby processor, writes to the data. Is shifted to the operating state to restore the call state of the system.

이후 상기 제2프로세서(21)는 제 4 도(a)와 같은 과정을 수행하여 통화상태를 복구한다. 즉, 제2프로세서(21)는 (C1)단계에서 국선가입자회로(40), 통화교환회로(50), 내선가입자회로(60) 및 제2제어부(20)등을 초기화하고, (C2)단계에서 램(23)에는 통화 관련 데이타들이 저장되어 있는 상태이므로, (C3)단계에서 상기 통화 관련 데이타들을 참조로하여 통화 상태를 복구시킨다. 또한 대기상태로 전환된 제1프로세서(11)는 (D1)(D2)단계를 통해 초기화 과정을 수행한다.Thereafter, the second processor 21 recovers the call state by performing the same process as in FIG. That is, the second processor 21 initializes the trunk line subscriber circuit 40, the call exchange circuit 50, the internal subscriber circuit 60, the second control unit 20, and the like in step (C1), and the step (C2). In the RAM 23, since call-related data are stored, the call state is restored with reference to the call-related data in step (C3). In addition, the first processor 11 switched to the standby state performs an initialization process through steps (D1) and (D2).

두 번째로 전환후 호가 발생되어 동작프로세서와 대기프로세서에서 각각 발생호 처리하는 일련의 과정을 살펴본다.Second, we look at a series of processes in which a call is generated and then processed by the operating processor and the standby processor.

먼저 호가 발생되면, 동작 상태의 제2프로세서(21)는 (C4)단계에서 이를 인지하고, (C5)단계에서 해당호에 대한 처리를 수행하고, (C6)단계에서 하기와 같은 메시지를 발생하여 정보교환버스(18)로 통해 제1프로세서(11)로 전송한다.First, when a call is generated, the second processor 21 in the operating state recognizes it in step (C4), performs a process for the call in step (C5), and generates a message as follows in step (C6). The information exchange bus 18 transmits the data to the first processor 11.

MSG ID : 메시지 식별번호MSG ID: Message Identification Number

MSG-counter : 전송되는 총 블럭수MSG-counter: Total number of blocks transmitted

Serial no : 현재의 블럭 일련번호Serial no: Current block serial number

data 1data 1

data 2data 2

data 3 데이타data 3 data

data 4data 4

data 6data 6

상기 데이타 형태중 메시지 카운터(MSG counter)는 호에 관련되어 전송되는 전체의 블록 개수를 의미하며, 일련번호(serial NO)는 전체의 블록갯수중 현재 전송되는 블록의 일련번호를 의미한다.The message counter (MSG counter) of the data type refers to the total number of blocks transmitted in association with the call, and the serial number (serial NO) refers to the serial number of the currently transmitted block among the total number of blocks.

그러면 대기상태의 제1프로세서(11)는 상기와 같은 메시지를 (D3)단계에서 인지하고, (D4)단계에서 수신되는 메시지를 램(13)의 호관련 버퍼에 저장한다. 따라서 제2프로세서(21)와 제1프로세서(11)는 통화에 관련된 데이타 베이스를 상호 동등하게 유지하게 된다.Then, the first processor 11 in the standby state recognizes the above message in step (D3), and stores the message received in step (D4) in the call-related buffer of the RAM 13. Therefore, the second processor 21 and the first processor 11 to maintain a database related to the call to each other.

세 번째로 호종료시 동작프로세서와 대기프로세서에 각각 처리하는 일련의 과정을 살펴본다.Thirdly, we look at the sequence of processing to the working processor and the standby processor at the end of the call.

먼서 호가종료되면, 동작상태의 제2프로세서(21)는 (C4)단계에서 이를 인지하고, (C5)단계에서 호종료와 관련된 일련의 서비스를 수행하고, (C6)단계에서 하기와 같은 메시지 형태를 정보교환버스(18)를 통해 대기상태의 제1프로세서(11)로 전송한다.When the call ends first, the second processor 21 in the operating state recognizes this at step (C4), performs a series of services related to call termination at step (C5), and at step (C6), a message type as follows. Is transmitted to the first processor 11 in the standby state through the information exchange bus (18).

MSG-IDMSG-ID

Call-ID 8byteCall-ID 8byte

dumnydumny

datadata

..

..

..

그러면 대기상태의 제 1 프로세서(11)는 (D3)단계에서 이를 인지하고, (D4)단계에서 호식별 번호(call-ID)를 변환하여 램(13)의 호관련 버퍼 위치를 찾아 해당 버퍼의 내용을 클리어 시킨다. 따라서 종료된 호에 대해서도 동작프로세서와 대기프로세서는 동일한 데이타 베이스를 유지하게 됨을 알 수 있다.Then, the first processor 11 in the standby state recognizes this in step (D3), and converts the call identification number (call-ID) in step (D4) to find the call-related buffer position of the RAM 13 to determine the corresponding buffer. Clear the contents. Therefore, it can be seen that the operating processor and the standby processor maintain the same database even for a closed call.

또한 사설교환기에서는 특수기능을 수행할 수 있게된다. 상기 특수기능에는 웨이크업 서비스(wake-up service)기능, 착신전환 등록, 착신거부등록, 메시지 등록등이 있다. 제 5 도는 상기 특수기능중 웨이크업 서비스 기능의 등록 과정을 예시하고 있다.Private exchanges can also perform special functions. The special functions include a wake-up service function, call forward registration, call rejection registration, and message registration. 5 illustrates a registration process of a wake-up service function among the special functions.

먼저 제 5a 도는 동작프로세서의 흐름도로서, (E1)단계에서 관련 하드웨어를 초기화하고, (E2)단계에서 기능에 관련된 데이타 베이스 램에 있는 값은 초기화하지 않고 그대로 유지한다. 이후 (E3)단계에서 웨이크업(wake up) 서비스가 등록되었는지 검사하며, (E3)과정에서 웨이크업 서비스가 등록된 경우 (E4)단계에서 해당 서비스를 위해 시간(time), 분(minute)등의 데이타를 램에 보관한다. 또한 시스템이 다운되는 경우에도 이미 등록된 웨이크업 서비스를 유지해 주기 위하여, (E5)단계에서 정보교환버스(18)를 통해 대기중인 프로세서로 웨이크업 서비스를 수행키 위해 필요한 시간, 분 포트번호(port number)등의 데이타를 대기프로세서 측으로 전송한다.First, FIG. 5A is a flowchart of an operation processor, in which step (E1) initializes related hardware, and in step (E2), a value in a database RAM related to a function is not initialized and remains as it is. After that, it checks whether a wake up service is registered in step (E3), and when a wake up service is registered in step (E3), time, minute, etc. for the service in step (E4). Data is stored in RAM. In addition, in order to maintain the already registered wake-up service even if the system is down, the time and minute required to perform the wake-up service to the waiting processor through the information exchange bus 18 in step (E5). data such as number) is sent to the standby processor.

또한 제 5a 도는 대기중인 프로세서의 흐름도로서, (F1)(F2)단계는 (E1)(E 2)단계와 동일하다. 상기 (F1)(F2)단계 수행후, (F3)단계에서 웨이크업 등록에 관련된 메시지가 정보교환버스(18)를 통해 입력하는가를 검사한다. 상기 (F3)단계에서 웨이크업 등록에 관련된 메시지가 전달되는 경우 이를 정보교환버스(18)를 통해 수신하여 램에 보관한다. 이 과정을 통해서 마찬가지로 양 프로세서는 웨이크업 서비스에 관한 동일한 데이타 베이스를 유지할 수 있으며, 향후 이를 근거로 시스템 다운시에도 프로세서를 전환하여 서비스 유지가 가능하다.5A is a flowchart of a waiting processor, wherein steps (F1) and (F2) are the same as steps (E1) and (E2). After performing the steps (F1) and (F2), it is checked in step (F3) whether a message related to wake-up registration is input through the information exchange bus 18. When the message related to the wake-up registration is transmitted in step (F3), it is received through the information exchange bus 18 and stored in the RAM. Through this process, both processors can maintain the same database of wake-up services, and based on this, the processors can be switched to maintain the service even when the system is down.

상술한 바와 같이 시스템 동작중 시스템에 치명적인 이상현상이 발생되어 시스템이 다운시에도 대기중인 프로세서가 동일한 데이타 베이스를 유지한채로 제어권을 인수함으로서 통화상태를 중단없이 지속시킬 수 있으며, 사용자가 등록한 웨이크업등 다양한 특수기능 서비스도 지속 수행할 수 있어 시스템의 신뢰성을 향상시킬 수 있는 이점이 있다.As described above, a fatal abnormality occurs in the system during operation, and even when the system is down, the waiting processor can maintain the same database and take control of the call without interruption, and wake-up registered by the user. Various special function services can also be performed continuously, which has the advantage of improving the reliability of the system.

Claims (2)

동작프로세서와 대기프로세서의 이중화 프로세서를 구비한 사설교환 시스템에서 통화복구방법에 있어서, 시스템 초기화시 전환된 동작프로세서가 하드웨어를 초기화하는 제1과정(C1)과, 상기 제1과정(C1)수행후 기억장치내의 통화 및 특수기능에 대한 데이타 베이스를 보존하며 그 이외의 데이타를 초기화하는 제2과정(C2)과, 상기 제2과정(C2)수행후 상기 기억장치내에 보존중인 통화 및 특수기능 관련 데이타에 통화 상태를 복구하는 제3과정(C3)과, 상기 제3과정(C3) 수행후 또다른 호상태 발생인가 검사하는 제4과정(C4)과 싱기 제4과정(C4)에서 동작프로세서에서 호상태 발생일시 해당호를 서비스한 후 통화 관련 데이타를 기억장치에 저장하며, 서비스결과 메시지를 동일한 대항 통화 관련 데이타를 대기프로세서로 전송하고 리턴하는 제5과정(C5,C6)으로 이루어짐을 특징으로 사설교환 시스템이 통화 복구 방법.A method for recovering a call in a private switching system having a redundant processor of an operating processor and a standby processor, the method comprising: performing a first process (C1) of initializing hardware by an operating processor switched at system initialization and after performing the first process (C1) A second process (C2) for preserving a database of calls and special functions in the storage device and initializing other data; and data related to calls and special functions being stored in the storage device after performing the second process (C2). In the third process C3 of restoring the call state, the fourth process C4 of checking whether another call state occurs after the third process C3, and the fourth process C4 When the status occurs, the call-related data is stored in the storage device after service of the corresponding call, and the service result message is transferred to the fifth process (C5, C6) of transmitting and returning the same counter call-related data to the standby processor. A method of recovering a call using a private exchange system, characterized in that it is carried out. 동작프로세서와 대기프로세서로 이루어지는 이중화 프로세서의 제어부를 구비한 사설교환 시스템의 통화 복구 방법에 있어서, 상기 동작프로세서가 시스템 제어중에 에러발생시 제어 전환데이타를 발생하여 상기 대기프로세서로 전송하고 대기상태로 전환하며, 상기 대기중이 프로세서가 상기 제어 전환 데이타를 수신하여 동작상태로 전환하는 제1과정(C7,C8,D5,D6)과, 상기 제1과정(C7,C8,D5,D6) 수행후 상기 전환된 동작프로세서 및 대기프로세서가 각각 기억장치내에 보관중인 통화 및 기능 관련 데이타를 유지하며 나머지 데이타를 초기화했고, 상기 전환 동작프러세서가 상기 통화 및 기능 관련 데이타에 의해 준단된 서비스를 재개할 수 있도록 통화 상태를 본래 상태로 복구하는 제2과정(C1, C2, C3, D1, D2)과, 상기 제 2 과정(C1,C2,C3,D1,D2)수행후, 상기 동작프로세서가 시스템의 동작을 제어하며, 호 및 기능 데이타 발생시 해당 데이타를 처리하여 기억장치에 저장하는 동시에 대기프로세서로 전송하고 상기 대기프로세서가 상기 데이타를 수신하여 가억장치에 저장함으로서 상기 동작프로세서와 대기프로세서 동일한 데이타를 유지하는 제3과정(C4,C5,C6,D3,D4)으로 이루어짐을 특징으로 하는 사설교환시스템의 통화 복구방법.A method for recovering a call in a private switching system having a control unit of a redundant processor comprising an operating processor and a standby processor, wherein the operating processor generates control conversion data when an error occurs during system control, transmits to the standby processor, and switches to a standby state. After the first process (C7, C8, D5, D6) and the first process (C7, C8, D5, D6) that the standby processor receives the control switch data and transitions to the operating state, the switch is performed. The operating and standby processors, respectively, retained the call and function related data stored in the memory and initialized the rest of the data, so that the divert operation processor could resume the service prescribed by the call and function related data. After performing the second process (C1, C2, C3, D1, D2) to restore the state to the original state and the second process (C1, C2, C3, D1, D2), the operation The processor controls the operation of the system, and when the call and function data is generated, the processor processes the data and stores the data in a storage device and transmits the data to a standby processor. The standby processor receives the data and stores the data in a storage device. A method for recovering a currency of a private exchange system, comprising a third process (C4, C5, C6, D3, D4) for maintaining the same data.
KR1019880003402A 1988-03-29 1988-03-29 Calling and call-restoring method by use of communications between processors KR910003941B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019880003402A KR910003941B1 (en) 1988-03-29 1988-03-29 Calling and call-restoring method by use of communications between processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019880003402A KR910003941B1 (en) 1988-03-29 1988-03-29 Calling and call-restoring method by use of communications between processors

Publications (2)

Publication Number Publication Date
KR890015548A KR890015548A (en) 1989-10-30
KR910003941B1 true KR910003941B1 (en) 1991-06-17

Family

ID=19273204

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019880003402A KR910003941B1 (en) 1988-03-29 1988-03-29 Calling and call-restoring method by use of communications between processors

Country Status (1)

Country Link
KR (1) KR910003941B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100224312B1 (en) * 1996-11-29 1999-10-15 이계철 Service Processing Method in Subscriber Network Access Subsystem of ACPS
KR100407347B1 (en) * 2001-10-13 2003-11-28 삼성전자주식회사 Device for safety calling occasion system halt in complex phone and method thereof

Also Published As

Publication number Publication date
KR890015548A (en) 1989-10-30

Similar Documents

Publication Publication Date Title
US6002665A (en) Technique for realizing fault-tolerant ISDN PBX
KR910003941B1 (en) Calling and call-restoring method by use of communications between processors
JPS61234690A (en) Restart processing method for trouble of exchange
KR970002693B1 (en) Private electronic exchanger
JPH05244260A (en) Duplicate operating system by switching external storage device
JPH08316957A (en) Dual network management system
KR19990049842A (en) Redundancy Processing Method of Exchange Protocol Device Processor
JPH07177543A (en) Uninterruptible file update processing system
KR100296403B1 (en) Redundancy Implementation in Communication Systems
JP2606107B2 (en) Processor redundancy
JPS6399653A (en) Fault recovery system for line adaptor
JPS62136155A (en) Redundancy device for subscriber's circuit
JPH0433036A (en) Data processing system
JPS5814201A (en) Bumpless backup device for sequence controller
JPH0433442A (en) Packet switching system
JPH01259654A (en) (n) versus 1 module backup system for automatic line switching equipment
JPH05128011A (en) Firmware control system
JPH02121452A (en) Electronic exchange system
JPH1093617A (en) Standby switching system for communication processing device
KR19990059294A (en) Redundant switching system at the exchange
JPS63114495A (en) Line state managing and controlling method in exchange system
JP2000047893A (en) Fault recovering method for plural on-line systems and on-line processing system
JPH02161534A (en) Information transfer system
JPH07162907A (en) System for simultaneously changing massive station data
JPH0199396A (en) Electronic exchange system

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
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: 20070509

Year of fee payment: 17

EXPY Expiration of term