KR100798997B1 - Restarting Method of Dual Processor - Google Patents
Restarting Method of Dual Processor Download PDFInfo
- Publication number
- KR100798997B1 KR100798997B1 KR1020010021511A KR20010021511A KR100798997B1 KR 100798997 B1 KR100798997 B1 KR 100798997B1 KR 1020010021511 A KR1020010021511 A KR 1020010021511A KR 20010021511 A KR20010021511 A KR 20010021511A KR 100798997 B1 KR100798997 B1 KR 100798997B1
- Authority
- KR
- South Korea
- Prior art keywords
- processor
- state
- redundant
- disk
- standby
- Prior art date
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47C—CHAIRS; SOFAS; BEDS
- A47C7/00—Parts, details, or accessories of chairs or stools
- A47C7/62—Accessories for chairs
- A47C7/72—Adaptations for incorporating lamps, radio sets, bars, telephones, ventilation, heating or cooling arrangements or the like
- A47C7/74—Adaptations for incorporating lamps, radio sets, bars, telephones, ventilation, heating or cooling arrangements or the like for ventilation, heating or cooling
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D25/00—Pumping installations or systems
- F04D25/02—Units comprising pumps and their driving means
- F04D25/08—Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D29/00—Details, component parts, or accessories
- F04D29/58—Cooling; Heating; Diminishing heat transfer
- F04D29/582—Cooling; Heating; Diminishing heat transfer specially adapted for elastic fluid pumps
- F04D29/584—Cooling; Heating; Diminishing heat transfer specially adapted for elastic fluid pumps cooling or heating the machine
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Thermal Sciences (AREA)
- Hardware Redundancy (AREA)
Abstract
본 발명은 교환기의 이중화 프로세서가 스탠바이 로딩 진행 중에 듀얼 다운이 발생한 경우 재시동시 듀얼 다운 발생 이전의 프로세서 상태를 복원하여 중단된 스탠바이 로딩을 속행할 수 있도록 한 이중화 프로세서의 재시동 방법에 관한 것이다.The present invention relates to a method of restarting a redundant processor in which the redundant processor of the exchange can resume the standby state by restoring the processor state before the dual down occurs when the dual down occurs during the standby loading process.
교환기에서 스탠바이 로딩이 진행되는 중에, 듀얼 다운(Dual Down) 현상이 발생한 경우, 이중화 프로세서를 재시동할 때, 이중화 프로세서의 각 사이드로 로딩된 운영체계가 자신이 로딩되어 있는 프로세서의 이전의 상태정보를 보존하고 있지 않기 때문에 이중화 프로세서의 액티브 사이드와 스탠바이 사이드 모두 절대경로를 통해 이중화 디스크의 액티브 사이드에 저장되어 있는 구 소프트웨어 패키지를 로딩 받아 재시동하도록 되어 있으며, 운용자는 이전에 수행하던 스탠바이 로딩절차를 처음부터 다시 수행하여야 하는 문제점이 있다.If a dual down occurs during standby loading at the exchange, when the redundant processor is restarted, the operating system loaded to each side of the redundant processor may return the previous state information of the processor that is loaded. Since it is not preserved, both active and standby sides of the redundant processor are loaded via absolute path and restarted by the old software package stored on the active side of the redundant disk. There is a problem that must be performed again.
본 발명은 교환기의 이중화 프로세서가 스탠바이 로딩 진행 중에 이중화 프로세서의 상태를 외부에 존재하는 프로세서 상태 서버에 저장함으로써 스탠바이 로딩 진행 중에 듀얼 다운이 발생하더라도 재시동시 프로세서 상태 서버에 저장되어 있는 상태 정보를 이용하여 듀얼 다운 발생 이전의 프로세서 상태를 복원함으로써 중단된 스탠바이 로딩을 속행할 수 있게 된다The present invention stores the state of a redundant processor in an external processor state server during a standby loading process by using the state information stored in the processor state server during restart even if a dual down occurs during standby loading. Restoring a suspended standby loading by restoring the processor state before the dual down occurred.
Description
도 1은 교환기를 구성하는 프로세서 및 디스크를 도시한 블록도.1 is a block diagram illustrating a processor and a disk constituting an exchanger.
도 2는 교환기를 구상하는 프로세서 및 디스크의 이중화 구조를 도시한 블록도.2 is a block diagram showing a redundant structure of a processor and a disk envisioning an exchanger;
도 3은 본 발명에 따른 프로세서 재시동시 듀얼 다운 이전의 상태를 복원하기 위한 장치를 도시한 블록도.3 is a block diagram illustrating an apparatus for restoring a state before dual down upon restarting a processor according to the present invention.
도 4는 프로세서 상태 서버에 이중화 프로세서를 구성하는 각 사이드의 프로세서 상태 정보를 저장하는 과정을 도시한 흐름도.4 is a flowchart illustrating a process of storing processor state information of each side constituting a redundant processor in a processor state server.
도 5는 듀얼 다운 이전의 상태를 복원하여 스탠바이 로딩을 속행하는 과정을 도시한 흐름도.5 is a flowchart illustrating a process of restoring a state prior to dual down to continue standby loading.
도 6은 도 5에서 전송한 상태 정보 요청에 대하여 프로세서 상태 서버가 프로세서 상태 정보를 전송하는 과정을 도시한 흐름도.6 is a flowchart illustrating a process of transmitting processor state information by a processor state server in response to the state information request transmitted from FIG. 5.
*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
40 : 디스크 50 : 프로세서 상태 서버40: Disk 50: Processor Status Server
60 : 이중화 프로세서60: redundant processor
60a, 60b : 이중화 프로세서의 액티브 사이드 및 스탠바이 사이드60a, 60b: active side and standby side of redundant processors
70 : 이중화 디스크 70: redundant disk
70a, 70b : 이중화 디스크의 액티브 사이드 및 스탠바이 사이드70a, 70b: active side and standby side of redundant disk
본 발명은 이중화 프로세서의 재시동 방법에 관한 것으로 특히, 교환기의 이중화 프로세서가 스탠바이 로딩 진행 중에 듀얼 다운이 발생한 경우 재시동시 듀얼 다운 발생 이전의 프로세서 상태를 복원하여 중단된 스탠바이 로딩을 속행할 수 있도록 한 이중화 프로세서의 재시동 방법에 관한 것이다.The present invention relates to a method for restarting a redundant processor. In particular, the redundant processor of the switch exchanges the redundant processor to resume the standby state by restoring the processor state before the dual down occurs when the dual processor occurs during the standby loading process. It relates to a restart method of the processor.
일반적으로, 교환기는 도 1에 도시한 바와 같은 다수의 메인 프로세서(Main Processor,이하 '프로세서' 라고 함)(10)로 구성되어 있는 바, 교환기를 구성하는 프로세서(10)를 시동하면, 프로세서(10) 운용에 필요한 프로그램을 저장하고 있는 디스크(Disk)(12)로부터 먼저, 운영체계(OS;Operation System)(10a)가 로딩되고, 이 운영체계(10a)에 의해 프로그램 로더(Program Loader)(10b)가 시동된다. 상기 프로그램 로더(10b)는 상기 디스크(12)로부터 프로세서(10) 운용에 필요한 소프트웨어 패키지를 로딩 받아 실행시킴으로써 프로세서(10)의 기능을 수행할 수 있도록 한다.In general, the exchanger is composed of a plurality of main processors (hereinafter, referred to as 'processors') 10 as shown in FIG. 1. When the exchanger starts up the
그리고, 교환기에서는 시스템의 안정적인 운용을 위해 도 2에 도시한 바와 같이, 프로세서(20) 및 디스크(30)가 모두 액티브 사이드(Active Side)(20a,30a)와 스탠바이 사이드(Standby Side)(20b,30b)로 이중화 되어 있으며, 운용 중인 교환기에서 프로그램을 변경해야 할 경우에는 서비스 중단을 최소화 하기 위한 방안으로, 이중화된 프로세서(20)의 스탠바이 사이드(20b)를 이용한 스탠바이 로딩(Standby Loading) 기능을 사용한다.In the exchange, the
상기 스탠바이 로딩이란 운용 중 발생되는 소프트웨어 패키지(이하 '패키지'라 약칭함)를 교체하는 방법으로 이중화 구조를 가지는 프로세서(20)의 액티브 사이드(20a)는 정상적으로 서비스를 계속하고, 스탠바이 사이드(20b)에 신(NEW) 패키지를 적재하여 그 패키지의 정상 동작유무를 확인한 후, 그 패키지를 액티브 사이드(20a)에 적용하는 것을 의미한다. 이는 단순히 신 패키지를 덤프(Dump)하고 프로세서를 재 시동시키는 방법과는 달리 서비스 중단 시간을 최소화하기 위하여 고안된 방법이다.The standby loading is a method of replacing a software package (hereinafter, referred to as 'package') generated during operation, and the
상기 스탠바이 로딩 기능을 이용하여 이중화 프로세서(20)에서 실행되는 패키지를 변경하는 방법을 보다 상세히 설명하면, 먼저, 신 패키지를 덤프하기 위해 디스크(30)를 액티브 사이드(30a)와 스탠바이 사이드(30b)로 이중화한다. 현재 이중화 프로세서(20)의 액티브/스탠바이 사이드(20a,20b)와 이중화 디스크(30)의 액티브/스탠바이 사이드(30a,30b) 내에는 모두 구(OLD) 패키지가 저장되어 있는 상태이다.A method of changing a package executed in the
이후, 이중화 디스크(30)의 스탠바이 사이드(30b)에 신 패키지를 덤프함과 동시에 이중화 프로세서(20)의 스탠바이 사이드(20b)에 상기 신 패키지를 로딩한다. 이제, 이중화 프로세서(20) 및 이중화 디스크(30)의 액티브 사이드(20a,30a)는 모두 구 패키지를 저장하고 있으며, 이중화 프로세서(20) 및 이중화 디스크(30)의 스탠바이 사이드(20b,30b)에는 모두 신 패키지가 저장되어 있는 상태이다.Thereafter, the scene package is dumped to the
이때, 상기 이중화 프로세서(20)의 스탠바이 사이드(20b)의 상태를 액티브 상태로 전환시키고, 상기 이중화 프로세서(20)의 액티브 사이드(20a)의 상태는 스탠바이 상태로 전환시킨다. 마찬가지로, 상기 이중화 디스크(30)의 스탠바이 사이드(30b)의 상태를 액티브 상태로 전환시키고, 이중화 디스크(30)의 액티브 사이드(30a)의 상태는 스탠바이 상태로 전환시킨다. 즉, 이전에 액티브 상태였던 프로세서 A(20a)는 스탠바이 상태가 되고, 이전에 스탠바이 상태였던 프로세서 B(20b)는 액티브 상태가 되며, 이전에 액티브 상태였던 디스크 a(30a)는 스탠바이 상태가 되고, 이전에 스탠바이 상태였던 디스크 b(30b)는 액티브 상태가 된다. 이에 따라, 이중화 프로세서(20) 및 이중화 디스크(30)의 액티브 사이드(20b,30b)는 신 패키지를 저장하고 있으며, 이중화 프로세서(20) 및 이중화 디스크(30)의 스탠바이 사이드(20a,30a)는 구 패키지를 저장하고 있게 된다.At this time, the state of the
최종적으로, 이중화 디스크(30)의 스탠바이 사이드(30a)에 저장되어 있는 구 패키지를 신 패키지로 갱신하고, 이중화 프로세서(20)의 액티브 사이드(20b)에서 실행되는 모든 데이터를 기존의 구 패키지가 실행되고 있던 이중화 프로세서(20)의 스탠바이 사이드(20a)로 듀얼 카피(Dual Copy)한다. 스탠바이 로딩이 종료한 현재, 이중화 프로세서(20) 및 이중화 디스크(30)의 액티브/스탠바이 사이드(20a,20b,30a,30b)는 모두 새 패키지를 저장하고 있게 된다.Finally, the old package stored in the
전술한 스탠바이 로딩 방법을 수행하는 각각의 단계에서, 이중화 프로세서(20)와 이중화 디스크(30)의 상태변화를 표 1에 도시하였다. 여기서 '액티브' 또는 '스탠바이'는 이중화 이중화 프로세서(20) 또는 이중화 디스크(30)의 동작상태를 나타내며, 'OLD' 또는 'NEW'는 이중화 이중화 프로세서(20) 또는 디스크(30)에 저장되어 있는 패키지 상태를 나타낸다.In each step of performing the above-described standby loading method, the state change of the
그런데, 전술한 교환기에서 이중화된 프로세서의 스탠바이 사이드를 이용한 스탠바이 로딩 방법은 스탠바이 로딩이 진행되는 과정 중에, 이중화 프로세서를 구성하는 액티브 사이드와 스탠바이 사이드가 함께 동작 수행을 정지해 버리는 듀얼 다운(Dual Down) 현상이 발생한 경우, 이중화 프로세서를 재시동할 때, 이중화 프로세서의 각 사이드로 로딩된 운영체계가 자신이 속해 있는 프로세서의 이전 상태, 예컨대, 액티브인지 스탠바이인지 또는 로딩된 패키지가 신 패키지인지 구 패키지인지에 대한 상태정보를 보존하고 있지 않기 때문에 이중화 프로세서의 액티브 사이드와 스탠바이 사이드 모두 절대경로를 통해 이중화 디스크의 액티브 사이드에 저장되어 있는 구 패키지를 로딩 받아 재시동하도록 되어 있으며, 운용자는 이전에 수행하던 스탠바이 로딩절차를 처음부터 다시 수행하여야 하는데, 이는 전체적인 시스템의 안정적이고 신뢰성 있는 동작 수행을 방해할 뿐만 아니라, 최소화 해야 하는 서비스 중단 시간이 길어지는 문제점이 있다.However, in the above-described exchange, the standby loading method using the standby side of the redundant processor is a dual down in which the active side and the standby side constituting the redundant processor stop performing their operations during standby loading. If a symptom occurs, when restarting the redundant processor, the operating system loaded on each side of the redundant processor is in the previous state of the processor to which it belongs, such as whether it is active or standby, or whether the loaded package is a new or old package. Since the state information of the redundant processor is not preserved, both the active side and the standby side of the redundant processor are loaded with the old package stored in the active side of the redundant disk through the absolute path and restarted by the operator. The loading procedure must be performed from the beginning again, which not only prevents the stable and reliable operation of the whole system, but also causes a long service downtime to be minimized.
본 발명은 전술한 바와 같은 문제점을 해결하기 위한 것으로 그 목적은, 교환기의 이중화 프로세서가 스탠바이 로딩 진행 중에 이중화 프로세서의 상태를 외부에 존재하는 프로세서 상태 서버에 저장함으로써 스탠바이 로딩 진행 중에 듀얼 다운이 발생하더라도 재시동시 프로세서 상태 서버에 저장되어 있는 상태 정보를 이용하여 듀얼 다운 발생 이전의 프로세서 상태를 복원함으로써 중단된 스탠바이 로딩을 속행할 수 있도록 하는 데 있다. SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object thereof is that even if a dual down occurs during a standby loading process, the redundant processor of the exchange stores the state of the redundant processor in an external processor state server during the standby loading process. When restarting, the state information stored in the processor state server is used to restore the state of the processor before the dual down occurs so that the suspended standby loading can be continued.
상기와 같은 목적을 달성하기 위한 본 발명의 특징은, 스탠바이 로딩 진행 중에 이중화 프로세서의 상태 정보를 프로세서 상태 서버로 전송하여 디스크에 저장하는 단계와; 듀얼 다운 이후 상기 이중화 프로세서를 재시동하는 경우, 상기 프로세서 상태 서버에게 상기 이중화 프로세서 중 어느 하나가 상태 정보를 요청하는 단계와; 상기 상태 정보 요청이 상기 듀얼 다운 이후 처음 수신한 상태 요청인 경우 상기 상태정보를 요청한 프로세서를 액티브 상태로 설정하여 상기 디스크에 저장하는 단계와; 상기 이중화 프로세서를 구성하는 타 프로세서의 동작 상태를 스탠바이 상태로 설정하여 상기 디스크에 저장하는 단계와; 상기 설정한 이중화 프로세서의 동작 상태와 상기 듀얼 다운 이전의 이중화 프로세서의 동작 상태가 동일하지 않은 경우 소프트웨어 패키지의 상태를 교환해서 설정하여 상기 디스크에 저장하는 단계와; 상기 설정한 이중화 프로세서의 동작 상태와 상기 듀얼 다운 이전의 이중화 프로세서의 동작 상태가 동일한 경우 상기 소프트웨어 패키지의 상태를 상기 듀얼 다운 이전의 소프트웨어 패키지 상태와 동일하게 설정하여 상기 디스크에 저장하는 단계와; 상기 디스크에 저장되어 있는 이중화 프로세서의 상태 정보를 전송하는 단계와; 상기 이중화 프로세서의 상태 정보를 수신하여 상기 이중화 프로세서의 현재 상태를 설정함과 동시에 상기 듀얼 다운 이후 중단된 스탠바이 로딩을 속행하는 단계를 포함하는 것을 특징으로 하는 이중화 프로세서의 재시동 방법을 제공하는 데 있다.In order to achieve the above object, a feature of the present invention includes: transmitting state information of a redundant processor to a processor state server and storing the disk in a disk during standby loading; Requesting state information from one of the redundant processors to the processor state server when restarting the redundant processor after the dual down; If the state information request is a state request first received after the dual down, setting the processor requesting the state information to an active state and storing the state information in the disk; Setting an operating state of another processor constituting the redundant processor to a standby state and storing the operating state in the disk; If the operating state of the configured redundant processor and the operating state of the redundant processor before the dual down are not the same, exchanging and setting states of a software package and storing the same in the disk; Setting the state of the software package to be identical to the state of the software package before the dual down and storing the same on the disk when the operating state of the redundant processor is identical to that of the redundant processor before the dual down; Transmitting status information of the redundant processor stored in the disk; Receiving the state information of the redundant processor to set the current state of the redundant processor and at the same time to continue the standby loading suspended after the dual down to provide a method for restarting the redundant processor.
이하, 본 발명에 따른 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명에 따른 프로세서 재시동시 듀얼 다운 이전의 상태를 복원하기 위한 장치는 첨부한 도면 도 3에 도시한 바와 같이, 이중화 프로세서(60)와, 이중화 디스크(70)와, 프로세서 상태 서버(50) 및 디스크(40)로 이루어진다. 여기서, 상기 이중화 프로세서(60)와 이중화 디스크(70)는 도 2에 도시한 이중화 프로세서(20) 및 이중화 디스크(30)의 기능을 포함하고 있으므로 동일한 기능에 대한 중복 설명은 생략하기로 한다.The apparatus for restoring the state before the dual down upon restarting the processor according to the present invention, as shown in FIG. 3, the
여기서, 프로세서 상태 서버(50)는 스탠바이 로딩 과정을 진행하고 있는 이중화 프로세서(60)의 프로세서 A(60a)와 프로세서 B(60b)의 상태 정보를 전송 받아 이를 디스크(40)에 저장하고 있다가 이중화 프로세서(60)의 프로세서 A(60a) 및 프로세서 B(60b)가 듀얼 다운된 이후 재시동할 때, 디스크(40)에 저장되어 있는 프로세서 상태 정보를 프로세서 A(60a) 또는 프로세서 B(60b)에게 전송해 준다. 그리고, 이중화 프로세서를 구성하는 프로세서 A(60a) 또는 프로세서 B(60b)는 스탠바이 로딩 과정 중에 자신의 상태가 변하는 경우 변화된 자신의 상태 정보를 프로세서 상태 서버(50)로 전송하는 한편, 듀얼 다운 이후 재시동 할 때, 프로세서 상태 서버(50)에게 프로세서 상태 정보를 요청하여 자신의 현재 상태를 파악한 후, 듀얼 다운 이후 중단된 스탠바이 로딩 과정을 속행한다. 이때, 상기 프로세서 상태 정보는 이중화 프로세서(60)의 동작 상태인 액티브/스탠바이 상태 정보와, 이중화 프로세서(60)에 로딩되어 있는 패키지의 상태인 신(NEW)/구(OLD) 상태 정보를 의미한다.Here, the
도 4는 프로세서 상태 서버(50)에 이중화 프로세서(60)를 구성하는 각 사이드(60a,60b)의 프로세서 상태 정보를 저장하는 과정을 도시한 흐름도이다.4 is a flowchart illustrating a process of storing processor state information of each
프로세서 상태 서버(50)에 상기 프로세서 상태 정보를 저장하는 단계는 크게 이중화 프로세서(60)를 구성하는 각 프로세서(60a,60b)가 자신의 현재 상태 정보를 포함하는 상태 정보 저장 요청 메시지를 전송하는 단계와, 프로세서 상태 서버(50)가 상기 상태 정보 저장 요청 메시지를 수신하여 이에 포함되어 있는 상기 프로세서 상태 정보를 디스크(40)에 저장하는 과정으로 이루어진다. 여기서, 상기 이중화 프로세서(60)의 각 사이드(60a,60b)와 프로세서 상태 서버(50) 사이에서 TCP/IP 패킷 교환 방식에 의해 메시지를 송ㆍ수신하는 것이 바람직하다.The storing of the processor state information in the
이를 보다 상세히 설명하면, 먼저, 이중화 프로세서(60)를 구성하는 각 프로세서(프로세서 내부의 운영체계 또는 프로그램 로더)(60a 또는 60b)가 상기 상태 정보 저장 요청 메시지를 구성하는 패킷의 프로세서 정보 필드에 자신이 속해 있는 시스템의 이름 및 프로세서의 이름을 설정하고(S41), 상기 패킷의 상태 필드에 프로세서의 상태 정보를 설정한다(S42). 그리고, 패킷의 길이와 첵섬(CHECKSUM)을 계산하여 설정한 후(S43), 메시지 타입 필드값을 예컨대 '1'로 설정하여(S44) 후, 상태 정보 저장 요청 메시지를 패킷으로 구성하여 프로세서 상태 서버(50)로 전송한다(S45).In more detail, first, each processor (operating system or program loader) 60a or 60b constituting the
이에, 프로세서 상태 서버(50)는 상기 패킷으로 구성된 상태 정보 저장 요청 메시지를 수신하여 이를 분석한 후(S51), 우선 수신한 메시지의 메시지 타입이 '1'인지 여부를 판단하여(S52), 상기 메시지 타입이 '1'인 경우, 상기 메시지에 포함되어 있는 프로세서 상태 정보를 추출하여 디스크(40)에 저장한다(S53). 상기 디스크(40)는 예컨대, 표 2와 같이 시스템 이름, 프로세서 이름 및 프로세서 상태 등의 정보로 구성되어 있는 상태 정보 테이블을 가지고 있으며, 상기 상태 정보 테이블에 상기 프로세서 상태 정보를 저장한다. Accordingly, the
(ACT:액티브 상태, SBY:스탠바이 상태, OLD:구 패키지, NEW:신 패키지)(ACT: Active state, SBY: Standby state, OLD: Old package, NEW: New package)
상기 표 2는 ISDN 교환기의 이중화 OMP를 구성하는 프로세서 A의 동작 상태는 액티브 상태이고 구 패키지가 로딩되어 있으며, 프로세서 B의 동작 상태는 스탠바이 상태이고 신 패키지가 로딩되어 있음을 나타내고 있다.Table 2 shows that the operating state of the processor A constituting the redundant OMP of the ISDN exchange is the active state and the old package is loaded, the operating state of the processor B is the standby state and the new package is loaded.
한편, 디스크(40)에 프로세서 상태 정보를 저장한 이후, 상기 상태 정보 저장 요청 메시지에 대하여, 메시지 타입을 예컨대, '2'로 설정한 상태 저장 확인 메시지를 구성하여 상기 상태 정보 저장 요청 메시지를 송신한 프로세서에게 전송한다(S54).On the other hand, after the processor state information is stored in the
그러나, 상기 S52의 과정에서 상기 수신한 메시지의 메시지 타입이 '1'이 아닌 경우에는 수신한 메시지를 폐기 처리한다(S55). However, if the message type of the received message is not '1' in step S52, the received message is discarded (S55).
이와 같이, 상기 상태 정보 저장 요청 메시지에 대하여 프로세서 상태 서버(50)가 전송한 확인 메시지를 수신한 프로세서(60a 또는 60b)는 상기 확인 메시지를 분석하여(S46) 우선, 확인 메시지의 메시지 타입이 '2'인지 여부를 판단해서(S47), 상기 확인 메시지 타입이 '2'인 경우 상기 확인 메시지를 분석하여 첵섬이 상기 상태 저장 요청 메시지의 첵섬과 동일한지 여부를 판단함으로써, 자신이 전송한 데이터와 일치하는지 여부를 확인한다(S48). 상기 판단 결과, 상기 첵섬이 서로 동일한 경우, 상기 확인 메시지에 대하여, 메시지 타입을 예컨대, '3'으로 설정한 응답 메시지를 구성하여 프로세서 상태 서버(50)에게 전송한다(S49).As such, when the
그러나, 상기 S47의 과정에서 메시지 타입이 '2'가 아닌 경우 또는 상기 S48의 과정에서 첵섬이 동일하지 않은 경우에는 상기 확인 메시지를 폐기 처리한다(S50).However, when the message type is not '2' in the process of S47 or when the checksum is not the same in the process of S48, the confirmation message is discarded (S50).
도 5는 듀얼 다운 이후 프로세서를 재시동하는 경우 듀얼 다운 이전의 상태를 복원하여 스탠바이 로딩을 속행하는 과정을 도시한 흐름도이다.FIG. 5 is a flowchart illustrating a process of continuing standby loading by restoring a state before dual down when restarting a processor after dual down.
스탠바이 로딩 진행 중에 듀얼 다운이 발생하여 이중화 프로세서(60)를 구성하는 각 프로세서(60a 또는 60b)를 재시동하면, 우선 운영체계가 상기 도 4에 도시한 과정에 따라 프로세서 상태 서버(50)에게 프로세서 상태 정보를 요청한 후(S510), 상기 프로세서 상태 정보를 수신하여 수신한 프로세서 상태 정보에 따라 프로세서(60a 또는 60b)의 현재 상태를 설정한다(S520). 상기 프로세서(60a 또는 60b)의 상태를 설정 결과 프로세서(60a 또는 60b)에 로딩되어 있는 패키지의 상태가 구 패키지인지 여부를 판단하여(S530), 상기 프로세서(60a 또는 60b)에 구 패키지가 로딩되어 있는 경우, 이중화 디스크(70)의 액티브 사이드(70a)로부터 프로그램 로더를 로딩하며(S540), 상기 프로세서(60a 또는 60b)에 신 패키지가 로딩되어 있는 경우에는, 이중화 디스크(70)의 스탠바이 사이드(70b)로부터 프로그램 로더를 로딩한다(S550).When a dual down occurs during standby loading and restarts each of the
이에, 프로그램 로더가 프로세서(60a 또는 60b)에 로딩되면, 이번에는 프로그램 로더가 상기 도 4에 도시한 과정에 따라 프로세서 상태 서버(50)에게 프로세서 상태 정보를 요청한 후(S560), 상기 프로세서 상태 정보를 수신하여 프로세서(60a 또는 60b)의 현재 상태를 설정한다(S570). 이후, 설정된 프로세서(60a 또는 60b)의 현재 상태를 분석하여 듀얼 다운이 발생할 때까지 진행된 스탠바이 로딩 단계를 파악하여 상기 단계의 다음 단계부터 스탠바이 로딩을 속행한다(S580).When the program loader is loaded on the
도 6은 도 5의 S510 또는 S560 과정에서 운영체계 또는 프로그램 로더가 전송한 상태 정보 요청에 대하여 프로세서 상태 서버(50)가 프로세서 상태 정보를 전송하는 과정을 도시한 흐름도이다. FIG. 6 is a flowchart illustrating a process in which the
먼저, 프로세서 상태 서버(50)가 프로세서(60a 또는 60b)의 운영체계 또는 프로그램 로더로부터 상태 정보 요청을 수신하면(S610), 상기 상태 정보 요청이 운영체계로부터 전송된 것인지, 아니면 프로그램 로더로부터 전송된 것인지 여부를 판단하여(S620), 상기 상태 정보 요청이 운영체계로부터 전송된 것인 경우, 이번에는 듀얼 다운 이후 처음으로 수신한 상태 정보 요청인지 여부를 판단한다(S630).First, when the
여기서, 상기 상태 정보 요청이 듀얼 다운 이후 처음으로 수신한 상태 정보 요청인 경우, 상기 상태 정보 요청을 전송한 운영체계가 속해 있는 프로세서(60a 또는 60b)를 액티브 상태로 설정함(S640)과 동시에 이중화 프로세서(60)를 구성하는 타 프로세서(60a 또는 60b)를 스탠바이 상태로 설정한다(S650).In this case, when the state information request is the first state information request received after the dual down, the
이후, 상기 S640과 S650의 과정에서 새로 설정한 프로세서(60a 또는 60b)의 동작 상태가 디스크(40)에 저장되어 있는 듀얼 다운 이전의 동작 상태와 동일한지 여부를 판단하여(S660), 설정된 프로세서의 동작 상태가 디스크(40)에 저장되어 있는 듀얼 다운 이전의 동작 상태와 동일하지 않는 경우, 패키지의 상태를 서로 교환하여 설정한다(S670). 예컨대, 듀얼 다운 이전에 프로세서 A(60a)가 액티브 상태이 면서 구 패키지가 로딩 되어 있고, 프로세서 B(60b)는 스탠바이 상태이면서 신 패키지가 로딩 되어 있는 것으로 디스크(40)에 상태 정보가 저장되어 있는 경우, 스탠바이 상태였던 프로세서 B(60b)의 운영체계가 먼저 상태 정보 요청을 전송하면 프로세서 상태 서버(50)가 프로세서 B(60b)를 액티브 상태로 설정하고, 프로세서 A(60a)는 스탠바이 상태로 설정하는데, 여기서 프로세서 상태 서버(50)가 설정한 프로세서의 동작 상태는 디스크(40)에 저장되어 있는 프로세서의 동작 상태와 반대가 된다. 이 경우, 프로세서 A(60a)의 패키지 상태와 프로세서 B(60b)의 패키지 상태를 교환하여, 스탠바이 상태로 설정된 프로세서 A(60a)의 패키지 상태를 신 패키지로 설정하고, 액티브 상태로 설정된 프로세서 B(60b)의 패키지 상태는 구 패키지로 설정하여 저장한다. 여기서, 결과적으로 프로세서 A(60a)의 상태와 프로세서 B(60b)의 상태가 듀얼 다운 이전의 상태와 반대로 설정되었지만, 이중화 프로세서(60) 전체로 보면 듀얼 다운 이전의 상태 정보가 그대로 복원된 것을 알 수 있다. 상기 예를 표 3에 정리하여 표시한다.Subsequently, it is determined whether the operation state of the newly set
(ACT:액티브 상태, SBY:스탠바이 상태, OLD:구 패키지, NEW:신 패키지)(ACT: Active state, SBY: Standby state, OLD: Old package, NEW: New package)
이와 같이, 프로세서의 동작 상태와 패키지 상태가 설정되면, 상기 상태 정보 요청을 전송한 운영체계에게 상기 프로세서의 상태를 전송한다(S680).As such, when the operating state and the package state of the processor are set, the state of the processor is transmitted to the operating system that has transmitted the state information request (S680).
그러나, 상기 S660의 과정에서 새로 설정한 프로세서의 동작 상태가 디스크(40)에 저장되어 있는 듀얼 다운 이전의 동작 상태와 동일한 경우에는, 패키지 상태를 교환하지 않고 디스크(40)에 저장되어 있던 패지지 상태를 그대로 현재의 패키지 상태로 설정한 후, 현재의 프로세서 상태 정보를 전송하는 상기 S680의 과정을 수행한다. 예컨대, 듀얼 다운 이전에 프로세서 A(60a)가 액티브 상태이면서 구 패키지가 로딩 되어 있고, 프로세서 B(60b)는 스탠바이 상태이면서 신 패키지가 로딩 되어 있는 것으로 디스크에 상태 정보가 저장되어 있는 경우, 액티브 상태였던 프로세서 A(60a)의 운영체계가 먼저 상태 정보 요청을 전송하면 프로세서 상태 서버(50)는 프로세서 A(60a)의 상태를 전과 같이 동작 상태는 액티브 상태로 설정하고 패키지 상태는 구 패키지로 설정하는 한편, 프로세서 B(60b)의 동작 상태를 전과 같이 스탠바이 상태로 설정하고 패키지 상태는 신 패키지로 설정한다. 이 경우에도 새로 설정한 프로세서 상태 정보가 듀얼 다운 이전의 상태 정보와 동일하게 복원된 것을 알 수 있다. 상기 예를 표 4에 정리하여 표시한다.However, if the operation state of the newly set processor in the process of S660 is the same as the operation state before the dual down stored in the
(ACT:액티브 상태, SBY:스탠바이 상태, OLD:구 패키지, NEW:신 패키지)(ACT: Active state, SBY: Standby state, OLD: Old package, NEW: New package)
한편, 상기 S620의 과정에서 프로세서 상태 서버(50)가 수신한 상태 정보 요청이 프로그램 로더가 전송한 경우이거나, 상기 S630의 과정에서 프로세서 상태 서버(50)가 수신한 상태 정보 요청이 처음이 아니고 두번째로 수신한 상태 정보 요청인 경우에는 듀얼 다운 이후 새로 설정되어 디스크(40)에 저장되어 있는 프로세서 상태 정보를 해당 프로그램 로더 또는 해당 운영체계에게 전송하여 준다(S670).Meanwhile, the state information request received by the
본 발명은 상술한 실시예에 대해서만 상세히 설명되었지만, 본 발명의 사상과 범위 내에서 수정이나 변경할 수 있음은 본 발명이 속하는 분야의 당업자에게 명백한 것이며, 그러한 수정이나 변경은 본 발명의 특허청구범위에 속한다 할 것이다.Although the present invention has been described in detail only with respect to the above-described embodiments, it will be apparent to those skilled in the art that modifications and variations can be made within the spirit and scope of the present invention, and such modifications or changes are within the scope of the claims of the present invention. Will belong.
이상과 같이, 본 발명은 교환기의 이중화 프로세서가 스탠바이 로딩 진행 중에 이중화 프로세서의 상태가 변하는 경우 이를 외부에 존재하는 프로세서 상태 서버에게 전송하여 디스크에 저장하도록 함으로써 스탠바이 로딩 진행 중에 듀얼 다운이 발생하더라도 이후 프로세서 재시동시 상기 프로세서 상태 서버에 저장되어 있는 상태 정보를 이용하여 듀얼 다운 발생 이전의 프로세서 상태를 복원함으로써 중단된 스탠바이 로딩을 속행할 수 있게 된다.As described above, according to the present invention, if the state of the redundant processor changes during the standby loading process, the redundant processor transmits it to an external processor state server and stores the data on the disk so that the processor can be stored even after the dual down occurs during standby loading. Upon restarting, interrupted standby loading can be continued by restoring the processor state before the dual down occurs by using the state information stored in the processor state server.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010021511A KR100798997B1 (en) | 2001-04-20 | 2001-04-20 | Restarting Method of Dual Processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010021511A KR100798997B1 (en) | 2001-04-20 | 2001-04-20 | Restarting Method of Dual Processor |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20020082306A KR20020082306A (en) | 2002-10-31 |
KR100798997B1 true KR100798997B1 (en) | 2008-01-28 |
Family
ID=27702019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020010021511A KR100798997B1 (en) | 2001-04-20 | 2001-04-20 | Restarting Method of Dual Processor |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100798997B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100654713B1 (en) * | 2005-11-04 | 2006-12-06 | 서울통신기술 주식회사 | Management system for having cpu of two and reset control method to thereof |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010003248A (en) * | 1999-06-22 | 2001-01-15 | 김영환 | Error recovery method of call control processor in base station controller of mobile communication system |
-
2001
- 2001-04-20 KR KR1020010021511A patent/KR100798997B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010003248A (en) * | 1999-06-22 | 2001-01-15 | 김영환 | Error recovery method of call control processor in base station controller of mobile communication system |
Also Published As
Publication number | Publication date |
---|---|
KR20020082306A (en) | 2002-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0687975B1 (en) | Method and system for downloading data to network nodes | |
KR101099822B1 (en) | Redundant routing capabilities for a network node cluster | |
US8607219B2 (en) | Information processing device and a firmware updating method of the information processing device | |
KR100744448B1 (en) | Communication system | |
US9787771B2 (en) | Data access and management system as well as a method for data access and data management for a computer system | |
CN100420207C (en) | Method and apparatus for realizing communication take-over and control | |
US5600808A (en) | Processing method by which continuous operation of communication control program is obtained | |
JP2000250771A (en) | Server duplication system | |
KR100798997B1 (en) | Restarting Method of Dual Processor | |
US6832336B2 (en) | Method and apparatus for maintaining consistent data | |
JPH1013494A (en) | Transmission device and its restoration system | |
JP2004185573A (en) | Data writing method and device | |
JPH05257673A (en) | Old file reserving method at the time of updating file | |
KR100426841B1 (en) | Method of Controlling Duplexed Processors | |
TWI839203B (en) | Extended server system and data update method | |
JP3589433B2 (en) | Database guarantee method | |
KR100211585B1 (en) | Method for data recovery for data consistency in pcs system | |
JP2926867B2 (en) | Fault monitoring method for local area network | |
JP3346670B2 (en) | Central processing unit switching method and switching system | |
JP3156673B2 (en) | Failure information transfer device | |
JP2002007367A (en) | Switching method by virtual management of monarch processor | |
KR20010054206A (en) | Device and method for processing billing data file of billing message account duplicated at mobile switching center | |
KR20010045528A (en) | Method for restarting an agent and apparatus thereof | |
KR20030052601A (en) | A Software Loading Method in Device Controller of ATM switch | |
KR20020036349A (en) | Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
A201 | Request for examination | ||
N231 | Notification of change of applicant | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
G170 | Publication of correction | ||
FPAY | Annual fee payment |
Payment date: 20111209 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |