KR100385861B1 - Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon - Google Patents

Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon Download PDF

Info

Publication number
KR100385861B1
KR100385861B1 KR10-2001-0040870A KR20010040870A KR100385861B1 KR 100385861 B1 KR100385861 B1 KR 100385861B1 KR 20010040870 A KR20010040870 A KR 20010040870A KR 100385861 B1 KR100385861 B1 KR 100385861B1
Authority
KR
South Korea
Prior art keywords
standby
state
loading
standby loading
function
Prior art date
Application number
KR10-2001-0040870A
Other languages
Korean (ko)
Other versions
KR20030005531A (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 KR10-2001-0040870A priority Critical patent/KR100385861B1/en
Publication of KR20030005531A publication Critical patent/KR20030005531A/en
Application granted granted Critical
Publication of KR100385861B1 publication Critical patent/KR100385861B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • G06F11/2033Failover techniques switching over of hardware resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2038Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant with a single idle spare processing component

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

본 발명은, 액티브, 스탠바이 모드로 운용하는 이중화된 시스템의 소프트웨어 패키지를 변경함에 있어 시스템 전체를 다운시키지 않고 대기 상태에 있는 스탠바이 시스템을 이용하여 변경한 다음 변경된 패키지가 정상적이라고 판단되면 시스템 서비스의 중단없이 새로운 패키지로 이동하여 정상 수행을 계속할 수 있도록 하는 스탠바이 로딩 방법과 그리고 상기 방법을 실현하는 프로그램이 수록된 컴퓨터로 읽을 수 있는 기록 매체를 제공한다.According to the present invention, when changing a software package of a redundant system operating in an active or standby mode, the system service is interrupted if it is determined that the changed package is normal after a change is made using a standby system in standby state without bringing down the entire system. There is provided a standby loading method for moving to a new package and continuing normal execution, and a computer-readable recording medium containing a program for realizing the method.

Description

이중화된 시스템에 이용되는 스탠바이 로딩 방법 및 그 방법을 실현하는 프로그램이 수록된 컴퓨터 판독가능 기록매체 {Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon}Standby loading method for duplex architecture and a computer-readable medium having a program for performing the method embedded thereon

본 발명은 이중화된 시스템을 위한 스탠바이 로딩 방법에 관한 것이다.The present invention relates to a standby loading method for a redundant system.

이중화된 시스템이란 시스템 서비스의 연속성 보장을 위하여 동일한 두개의 시스템을 구비하여 하나의 시스템에서 서비스 제공 중에 문제가 발생하면 준비되어 있는 또 하나의 예비 시스템에서 계속적으로 서비스를 제공할 수 있도록 운용하는 시스템을 일컫는다. 이때 두 시스템은 액티브 모드와 스탠바이 모드를 갖게 되는데 두 시스템이 긴밀하게 결합되어 서로의 상태를 감시하면서 운용되게 된다. 현재동작 중인 상태의 시스템을 액티브 시스템이라고 하며 대기 중인 시스템을 스탠바이 시스템이라 부른다. 중단없는 서비스를 제공하도록 항상 운용되어야하는 무정지 시스템은 시스템의 장애에 대처하기 위하여 이러한 이중화 구조를 채택하게 된다.A redundant system is a system in which two identical systems are provided to guarantee the continuity of system services, so that if a problem occurs while providing a service in one system, the service is continuously provided in another spare system that is ready. It is called. The two systems have an active mode and a standby mode. The two systems are tightly coupled to each other to monitor each other's status. The system that is currently operating is called the active system and the standby system is called the standby system. Non-disruptive systems that must be operational at all times to provide uninterrupted service will adopt this redundancy scheme to cope with system failures.

이중화되지 않은 종래의 시스템은 하나의 시스템이 장애가 발생하면 그 시스템이 복구될 때까지 시스템 서비스가 정지되는 단점이 있었다.Conventional non-redundant systems have the disadvantage that if one system fails, system services are suspended until the system is restored.

또한 종래의 이중화로 운용되는 시스템에 있어서 시스템 상에 문제가 생길 경우에 대비하기 위해서 스탠바이 프로세서를 사용하였으나, 시스템에 새로운 패키지를 로딩 하고자 할 경우 현재 액티브로 동작하는 시스템의 서비스를 중단해야 하는 문제점이 있었다.In addition, the standby processor was used to prepare for a problem in the system of the conventional redundancy, but when a new package is to be loaded into the system, the problem of stopping the service of the currently active system is required. there was.

상기한 바와 같은 문제점을 해결하기 위하여 안출된 본 발명은, 액티브, 스탠바이 모드로 운용하는 이중화된 시스템의 소프트웨어 패키지를 변경함에 있어 시스템 전체를 다운시키지 않고 대기 상태에 있는 스탠바이 시스템을 이용하여 변경한 다음 변경된 패키지가 정상적이라고 판단되면 시스템 서비스의 중단없이 새로운 패키지로 이동하여 정상 수행을 계속할 수 있도록 하는 스탠바이 로딩 방법과 그리고 상기 방법을 실현하는 프로그램이 수록된 컴퓨터로 읽을 수 있는 기록 매체를 제공하는데 그 목적이 있다.In order to solve the problems as described above, the present invention, in changing the software package of the redundant system operating in the active, standby mode, using the standby system in the standby state without changing the whole system The purpose of the present invention is to provide a standby loading method that allows the user to move to a new package without interruption of system service and continue normal operation if it is determined that the changed package is normal, and a computer-readable recording medium containing a program for realizing the method. have.

도 1a는 본 발명이 적용되는 하드웨어 시스템의 일예를 도시한 블록 구성도.1A is a block diagram illustrating an example of a hardware system to which the present invention is applied.

도 1b는 본 발명에 따른 이중화 동작 모드를 나타내는 블록 구성도.1B is a block diagram illustrating a redundant operation mode according to the present invention.

도 2a는 본 발명에 따른 사용자 프리미티브의 기술도.2A is a technical diagram of user primitives in accordance with the present invention;

도 2b는 본 발명에 따른 NVRAM의 구조 및 상태값을 보인 도면.2b illustrates the structure and state values of NVRAM according to the present invention;

도 3a은 본 발명에 따른 사용자 프리미티브 입력 및 그에 따른 액티브 스탠바이간의 통신 시그널을 보인 도면.3A illustrates a communication signal between a user primitive input and an active standby according to the present invention.

도 3b는 본 발명에 따른 액티브, 스탠바이간의 시그널 설명도.3B is an explanatory diagram of signals between active and standby according to the present invention;

도 4는 본 발명의 전체 흐름도.4 is an overall flow chart of the present invention.

도 5a는 본 발명에 따른 시작기능부의 액티브측 흐름도.5A is a flowchart of an active side of a start function unit according to the present invention;

도 5b는 본 발명에 따른 시작기능부의 스탠바이측 흐름도.5B is a standby side flowchart of a start function unit according to the present invention;

도 6a는 본 발명에 따른 취소기능부의 스탠바이측 흐름도.6A is a standby side flowchart of a cancel function unit according to the present invention;

도 6b는 본 발명에 따른 취소기능부의 액티브측 흐름도.6b is a flowchart of an active side of a cancellation function according to the present invention;

도 7a는 본 발명에 따른 진행기능부의 액티브측 흐름도.7A is a flowchart of an active side of a progress function unit according to the present invention;

도 7b는 본 발명에 따른 진행기능부의 스탠바이측 흐름도.7B is a standby side flowchart of a progress function unit according to the present invention;

도 8a는 본 발명에 따른 완료기능부의 스탠바이측 흐름도.8A is a standby side flowchart of a completion function unit according to the present invention;

도 8b는 본 발명에 따른 완료기능부의 액티브측 흐름도.8B is a flowchart of an active side of a completion function unit according to the present invention;

도 9a는 본 발명에 따른 복구기능부의 스탠바이측 흐름도.9A is a standby side flowchart of a recovery function unit according to the present invention;

도 9b는 본 발명에 따른 복구기능부의 액티브측 흐름도.9B is an active side flowchart of a recovery function unit according to the present invention;

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

401 : 스탠바이 로딩 시작 기능부 402 : 스탠바이 로딩 취소 기능부401: standby loading start function unit 402: standby loading cancel function unit

403 : 스탠바이 로딩 진행 기능부 404 : 스탠바이 로딩 완료 기능부403: standby loading progress function unit 404: standby loading completion function unit

405 : 스탠바이 로딩 복구 기능부405: standby loading recovery function

상기 목적을 달성하기 위한 본 발명은, 이중화된 시스템에 이용되는 스탠바이 로딩 기능 제공 방법에 있어 사용자로부터 스탠바이 로딩 요구를 입력받아 스탠바이 로딩 시작 기능부를 통하여 현재 스탠바이 모드인 시스템을 스탠바이 로딩 모드로 재시동하는 제 1단계; 상기 1단계 이후 스탠바이 로딩 취소요구가 입력되면 스탠바이 로딩 취소 기능부를 통하여 스탠바이 로딩 모드로 재시동 된 시스템을 정상 스탠바이 모드로 환원하는 제 2단계; 상기 1단계 이후 스탠바이 로딩 진행 요구가 입력되면 스탠바이 로딩 진행 기능부를 통하여 현재 액티브 시스템의 모든 사용자 프로세스의 실행을 중단시키고 새로이 스탠바이 로딩으로 시동된 시스템의 모든 사용자 프로세스를 실행시키는 제 3단계; 상기 3단계 이후 스탠바이 로딩 완료 요구가 입력되면 스탠바이로딩 완료 기능부를 통하여 새로이 스탠바이 로딩을 받은 시스템을 액티브로 하여 정상 이중화 상태로 운용하는 제 4단계; 상기 3단계 이후 스탠바이 로딩 철회 요구가 입력되면 스탠바이 로딩 복구 기능부를 통하여 현재까지 진행된 스탠바이 로딩 상태를 처음으로 되돌려 정상 이중화 상태로 만드는 제 5단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a method for providing a standby loading function for a redundant system, and receiving a standby loading request from a user and restarting a system currently in standby mode through a standby loading start function. Stage 1; A second step of returning the system restarted in the standby loading mode to the normal standby mode through the standby loading cancel function if the standby loading cancellation request is input after the first step; A third step of stopping execution of all user processes of the current active system and executing all user processes of the system newly started by standby loading through a standby loading progress function unit when a standby loading progress request is input after the first step; A fourth step of activating a newly received standby loading system through a standby loading completion function unit and operating in a normal redundancy state when a standby loading completion request is input after the step 3; After the step 3, if the standby loading revocation request is input, the standby loading recovery function may include a fifth step of returning the standby loading state, which has been performed so far, to a normal redundant state.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1a는 본 발명이 적용되는 하드웨어 시스템의 일예를 도시한 블록 구성도이다. 도 1에 도시된 바와 같이, 이중화 시스템(100)은 동일한 시스템, 즉 액티브 시스템(101)과 스탠바이 시스템(102)을 구비하며, 이들은 각각 네트워크(103)에 연결되어 있다. 여기서, 액티브는 네트워크에 연결되어 통신 가능한 상태이며, 스탠바이는 네트워크에 연결은 되어 있으나 실제적인 통신이 불능인 상태를 나타낸다.각 시스템은 CPU(104, 105)와 메모리(106, 107)를 구비하고 각종 입출력 디바이스 제어를 위한 I/O 제어 장치(108, 109)와 네트워크 정합 디바이스(110, 111), 시리얼 장치(112, 113), NVRAM(114, 115)을 구비하고 있다. 시리얼 장치(112, 113)를 통하여 액티브와 스탠바이간의 시그널을 주고 받을 수 있다. 또한 이중화 상태 관리를 위해서 시스템 전원을 꺼도 내용이 남아있는 비휘발성 메모리의 사용이 필요한데 이를 위해 NVRAM(114, 115)이 사용된다. 또한, 이중화 운용에서, 스탠바이 시스템은 액티브 시스템의 내용을 그대로 가지고 있어야 하므로 고속 메모리 동기화 장치(116,117)를 통하여 액티브 시스템 측의 메모리 내용이 그대로 스탠바이 시스템측으로 전달되도록 한다.1A is a block diagram illustrating an example of a hardware system to which the present invention is applied. As shown in FIG. 1, the redundancy system 100 has the same system, namely the active system 101 and the standby system 102, which are each connected to the network 103. Here, the active state is connected to the network and can communicate, and the standby state is connected to the network but the actual communication is not possible. Each system includes a CPU 104 and 105 and a memory 106 and 107. I / O control devices 108 and 109 for controlling various input / output devices, network matching devices 110 and 111, serial devices 112 and 113, and NVRAM 114 and 115 are provided. The serial devices 112 and 113 may exchange signals between active and standby. In addition, the redundancy state management requires the use of nonvolatile memory that retains its contents even when the system is powered off. NVRAM (114, 115) is used for this purpose. In addition, in a redundant operation, since the standby system must have the contents of the active system as it is, the memory contents of the active system side are transferred to the standby system side through the high speed memory synchronization devices 116 and 117.

도 1b는 본 발명에 따른 이중화 동작 모드를 나타내는 블록구성도로서 이중화 동작 모드는 두가지로 분류되는데 이는 연결모드(150)와 단절모드(151)이다. 연결모드란 액티브 시스템(101)과 스탠바이 시스템(102)으로의 정상적인 운용으로 액티브 시스템(101)측의 메모리 내용이 스탠바이 시스템(102)측의 메모리 내용에 씌여지는 동작 상태를 말한다. 단절모드란 스탠바이 로딩 모드로서 액티브 시스템(101)측의 메모리 내용이 스탠바이 시스템(102)측에 씌여지지 않도록 동작함을 의미한다.FIG. 1B is a block diagram illustrating a redundant operation mode according to the present invention. The duplex operation mode is classified into two types, that is, a connection mode 150 and a disconnection mode 151. The connection mode refers to an operation state in which the memory contents of the active system 101 are written to the memory contents of the standby system 102 in the normal operation of the active system 101 and the standby system 102. The disconnection mode is a standby loading mode, in which the memory contents of the active system 101 are operated so that the contents of the standby system 102 are not written to the standby system 102.

본 발명의 바람직한 실시예로서, 이중화 시스템(100)에서 스탠바이 로딩 방법을 제공하기 위해서는 이중화 시스템(100)에서 시리얼 장치(112, 113)를 구동하여 액티브와 스탠바이간의 상태와 시그널을 전달하고, NVRAM(114, 115)에 주요 상태 정보들을 기록하며 이중화 운용 시 연결모드(150)와 단절모드(151)의 적절한 전환을 수행하여 스탠바이 시스템(102)에 새로운 패키지를 로딩하여 실행하고 새로운 패키지가 로딩된 시스템을 새로운 액티브 시스템으로 만들어 시스템 서비스의 중단이 없는 스탠바이 로딩 기능을 제공하도록 관리한다.As a preferred embodiment of the present invention, in order to provide a standby loading method in the redundancy system 100, the serial devices 112 and 113 are driven in the redundancy system 100 to transmit a state and a signal between active and standby, and NVRAM ( 114, 115, the main status information is recorded, and in a redundant operation, the switch mode 150 and the disconnect mode 151 are appropriately switched to load and execute a new package in the standby system 102, and the new package is loaded. To make the new active system manage to provide standby loading without interruption to system services.

도 2a는 본 발명에 따른 사용자 프리미티브의 기술도이다.2A is a technical diagram of a user primitive according to the present invention.

본 발명에서는 스탠바이 로딩의 각 단계를 사용자가 제어할 수 있는 프리미티브를 제공하는데 이는 하나의 아규먼트를 가진 프리미티브로 사용된다(201).The present invention provides primitives that allow the user to control each stage of standby loading, which is used as a primitive with one argument (201).

아규먼트는 START(202), CANCEL(203), PROCEDE(204), CONFIRM(205), UNDO(206)의 다섯 종류가 있으며 START는 스탠바이 로딩의 시작을 의미하며 현재 액티브인 시스템에서 요청해야 한다. 현재 액티브인 시스템은 이후 스탠바이가 될 시스템이므로 OLD(207)라고 표기하였다. CANCEL은 스탠바이 로딩 취소요구이며 현재 스탠바이이고 새로이 액티브가 될 시스템에서 이루어진다. PROCEDE는 START이후 스탠바이 로딩을 계속 진행하라는 의미이며 OLD에서 이루어진다. CONFIRM은 스탠바이 로딩 완료의 의미이며 NEW(208)에서 이루어진다. NEW는 현재는 스탠바이이지만 새로이 액티브가 될 시스템을 의미한다. UNDO는 현재까지 진행된 과정을 복원하고자 할 경우에 사용되며 NEW에서 이루어진다.There are five types of arguments: START (202), CANCEL (203), PROCEDE (204), CONFIRM (205), and UNDO (206). START means start of standby loading and must be requested from the currently active system. The system that is currently active is referred to as OLD (207) because it will be standby later. CANCEL is a standby loading cancellation request and is made on the current standby and newly active system. PROCEDE means to continue standby loading after START. CONFIRM means standby loading complete and is done in NEW 208. NEW refers to a system that is currently standby but newly active. UNDO is used when you want to restore the progress that has been made so far and is done in NEW.

도 2b는 본 발명에 따른 NVRAM의 데이터 구조 및 상태값의 기술도이다.2B is a technical diagram of the data structure and state values of the NVRAM according to the present invention.

이중화 운용은 시스템을 재 시동하여서 이루어지므로 시스템 전원을 껏다 켜더라도 이전의 상태값을 알수 있어야 한다. 따라서 비휘발성 메모리를 사용하는데 이에는 우선 자신의 상태를 위한 영역인 SELF_STATE(250), 상대편 상태 저장을 위한 OTHER_STATE(251), 자신의 동작을 알기위한 SELF_ACTION(252), 상대편 동작을알기위한 OTHER_ACTION(253), 스탠바이 로딩 중인지 아닌지를 판별하기 위한 SBYLD_FLAG(254), 스탠바이 로딩 중일 경우 자신이 NEW인지 OLD인지를 판별하기 위한 SBYLD_SITE(255)가 있다. 상태를 알기 위한 SELF_STATE(250)와 OTHER_STATE(251)는 액티브(ACTIVE), 스탠바이(STANDBY), 단절(DISCON), 스탠바이 로딩 중(SLOADING), 스탠바이 로딩 신 사이트(SLOADING_NEW), 스탠바이 로딩 구 사이트(SLOADING_OLD) 상태값을 갖는다. 동작을 알기 위한 SELF_ACTION(252)과 OTHER_ACTION(253)은 단일 동작인 SINGLE_RUNNING, 이중화 동작인 DUAL_RUNNING 값을 갖는다. 스탠바이 로딩 플래그(SBYLD_FLAG)(254)는 스탠바이 로딩중(SBYLOADING), 스탠바이 로딩중이 아님(NOSBYLD) 상태값으로 현재 스탠바이 로딩 중인지 아닌지를 표시한다. 스탠바이 로딩 사이트(SBYLD_SITE)(255)는 구 사이트(OLD_SITE), 신 사이트(NEW_SITE) 값을 갖는다.Redundant operation is performed by rebooting the system, so the previous status value should be known even if the system is powered off and on. Therefore, it uses non-volatile memory, which includes SELF_STATE (250) for its own state, OTHER_STATE (251) for storing the opponent's state, SELF_ACTION (252) for knowing its own behavior, and OTHER_ACTION (for knowing its behavior). 253), there is SBYLD_FLAG 254 for determining whether or not it is in standby loading, and SBYLD_SITE 255 for determining whether it is NEW or OLD when it is in standby loading. SELF_STATE (250) and OTHER_STATE (251) to know the status are ACTIVE, STANDBY, DISCON, STAND LOADING, SLOADING_NEW, STAND LOADING old site SLOADING_OLD ) Has a status value. SELF_ACTION 252 and OTHER_ACTION 253 for knowing the operation have a single operation, SINGLE_RUNNING and a redundant operation, DUAL_RUNNING. The standby loading flag (SBYLD_FLAG) 254 indicates whether the standby loading flag (SBYLOADING), the standby loading is not (NOSBYLD) status value whether the current standby loading. The standby loading site SBYLD_SITE 255 has an old site OLD_SITE and a new site NEW_SITE.

도 3a는 본 발명에 따른 사용자 프리미티브 입력 및 그에 따른 액티브, 스탠바이 간의 통신 시그널 기술도이다.3A is a diagram illustrating a communication signal between a user primitive input according to the present invention and an active and standby mode according to the present invention.

우선 OLD 사이트에서 START(301)가 입력되면 NEW 사이트로 STARTUP(302) 시그널을 보낸다. 다음으로 NEW 사이트에서 CANCEL(303)이 입력되면 OLD 사이트로 OLD_TO_ACTIVE(304) 시그널을 보낸다. PROCEDE(305)가 입력되면 NEW 사이트로 RUNNING_PROCESS(306) 시그널을 보낸다. NEW 사이트에서 CONFIRM(307) 이 입력되면 OLD 사이트로 DUALCOPYSTART(308), NEW에서 UNDO(309)가 입력되면 OLD 사이트로 REACT(310) 시그널을 보낸다.First, when START (301) is input from the OLD site, a STARTUP (302) signal is sent to the NEW site. Next, when CANCEL (303) is input from the NEW site, an OLD_TO_ACTIVE (304) signal is sent to the OLD site. When PROCEDE (305) is input, it sends RUNNING_PROCESS (306) signal to NEW site. When CONFIRM (307) is input from NEW site, DUALCOPYSTART (308) is sent to OLD site, and when UNDO (309) is input from NEW, it sends REACT (310) signal to OLD site.

도 3b는 본 발명에 따른 액티브, 스탠바이간의 시그널 설명도이다.3B is an explanatory diagram of signals between active and standby according to the present invention.

STARTUP(350)시그널은 스탠바이 사이트를 단절 모드로 하여 재시동 하라는 의미이다. OLD_TO_ACTIVE(351) 시그널은 OLD 사이트를 다시 액티브로 복원하라는 의미이다. RUNNING_PROCESS(352) 시그널을 받으면 OLD 사이트에서는 새로운 패키지를 실행하게 된다. DUALCOPYSTART(353) 시그널은 스탠바이 로딩 완료 단계이므로 OLD 사이트를 스탠바이 모드로 재시동하여 새 액티브 사이트의 내용으로 복사하게 된다. REACT(354) 시그널은 복원 요구이므로 OLD 사이트를 다시 액티브로 복구하게 된다.The STARTUP 350 signal means to restart the standby site in disconnection mode. The OLD_TO_ACTIVE (351) signal means to restore the OLD site back to active. When the RUNNING_PROCESS (352) signal is received, the OLD site will execute the new package. Since the DUALCOPYSTART (353) signal is in the standby loading completion phase, the OLD site is restarted in standby mode and copied to the contents of the new active site. The REACT 354 signal is a restore request and therefore restores the OLD site to active again.

도 4는 본 발명의 전체 흐름도이다.4 is an overall flow chart of the present invention.

본 발명은 사용자로부터 스탠바이 로딩 요구가 입력 되면(401) 스탠바이 로딩 시작 기능부를 통하여 현재 스탠바이 모드인 시스템을 스탠바이 로딩 모드로 재시동하여 새로운 패키지를 로딩한다.(402). 이후 새로운 패키지의 문제점이 발견되어 스탠바이 로딩 취소요구가 입력되면(403) 스탠바이 로딩 취소 기능부를 수행하여 스탠바이 로딩 모드로 재시동 된 시스템을 정상 스탠바이 모드로 환원한다(404). 취소 요구가 아닌 스탠바이 로딩을 계속하라는 요구가 입력되면(405) 스탠바이 로딩 진행 기능부(406)에서 현재 액티브 시스템의 모든 사용자 프로세스의 실행을 중단시키고 새로이 스탠바이 로딩으로 시동된 시스템의 모든 사용자 프로세스를 실행시킨다. 이후 스탠바이 로딩을 완료하라는 요구가 입력되면(407) 스탠바이로딩 완료 기능부를 통하여 새로이 스탠바이 로딩을 받은 시스템을 액티브로 하여 정상 이중화 상태로 운용하게 된다(408). 스탠바이 로딩 기능을 철회하고자 하는 요구가 입력되면(409) 스탠바이 로딩 복구 기능부를 통하여 현재까지 진행된 스탠바이 로딩 상태를 처음으로 되돌려 정상 이중화 상태로 만든다(410).When the standby loading request is input from the user (401), the system, which is currently in the standby mode, is restarted in the standby loading mode through the standby loading start function to load a new package (402). Then, if a problem with the new package is found and a standby loading cancel request is input (403), the standby loading cancel function is performed to return the system restarted to the standby loading mode to the normal standby mode (404). If a request is entered to continue standby loading rather than a cancel request (405), the standby loading progress function 406 stops execution of all user processes of the currently active system and executes all user processes of the newly started system with standby loading. Let's do it. Then, when a request for completing the standby loading is input (407), the new standby loading system is activated through the standby loading completion function to operate in a normal redundancy state (408). When a request for withdrawing the standby loading function is input (409), the standby loading state, which has been advanced so far, is returned to the first state through the standby loading recovery function (410).

상기한 바와 같은 이중화된 시스템에서 스탠바이 로딩 방법에 대한 상세 관리 방법을 설명하면 다음과 같다.A detailed management method for the standby loading method in the redundant system as described above is as follows.

도 5a는 시작 기능부의 액티브측의 흐름도이다.5A is a flowchart of the active side of the start function unit.

먼저, 시스템의 상태를 판단하여 스탠바이 로딩을 시작할 수 있는 조건인지를 판단해야 하는데 자신의 상태(SELF_STATE)가 액티브(ACTIVE)이고 상태측의 상태(OTHER_STATE)가 스탠바이(STANDBY)이고 자신의 동작(SELF_ACTION)과 상대측의 동작(OTHER_ACTION)이 모두 연결(DUAL_RUNNING) 동작 중인지를 판단한다(501). 이 조건이 모두 만족해야 스탠바이 로딩을 시작할 수 있는 것이고 만족하지 않으면 에러 리턴으로 수행을 끝낸다(502). 만족되는 상태이면 상대측인 스탠바이로 STARTUPBOOT 시그널을 보낸다(503). 다음으로 자신의 상태를 단절 모드(DISCONN)로, 스탠바이 로딩 사이트(SL_SITE)를 OLD_SITE로 변경하고 자신의 동작을 단일 동작인 SINGLE_RUNNING으로 변경한다(504).First of all, it is necessary to judge the state of the system to determine if it is a condition that can start standby loading. ) And whether the other party's operation (OTHER_ACTION) is in the connection (DUAL_RUNNING) operation (501). All of these conditions must be satisfied to start standby loading. If not, the operation ends with an error return (502). If the state is satisfied, a STARTUPBOOT signal is sent to the other party's standby (503). Next, the state is changed to disconnect mode DISCONN, the standby loading site SL_SITE is changed to OLD_SITE, and the operation is changed to SINGLE_RUNNING, which is a single operation (504).

도 5b는 시작 기능부의 스탠바이측 흐름도이다.5B is a standby side flowchart of the start function.

우선, STARTUPBOOT 시그널을 받음으로써 기능이 시작된다(505). SBYLD_FLAG를 SBYLOADING으로 변경하고(506), 시스템을 재시동한다(507). NVRAM의 SBYLD_FLAG를 참조하여 시동되므로 정상 스탠바이가 아닌 스탠바이 로딩 모드로 초기화하여 살아나서 단절 모드의 실행으로 사용자 패키지를 로딩받는 일을 실행하게 된다(508). 이때 새로운 패키지를 준비해 두면 패키지 변경이라는 소기의 목적을달성할 수 있으며, 물론 동일한 패키지로 다른 사이트에서 시험하고자 하는 용도로도 본 스탠바이 로딩의 기능을 사용할 수 있으며 이것은 사용자가 임의로 선택할 수 있다.First, the function is started by receiving a STARTUPBOOT signal (505). Change SBYLD_FLAG to SBYLOADING (506) and restart the system (507). Since it is started by referring to the SBYLD_FLAG of NVRAM, it is initialized to the standby loading mode, not the normal standby, to survive, and the user package is loaded by executing the disconnect mode (508). At this time, if you prepare a new package, you can achieve the intended purpose of changing the package. Of course, you can use this standby loading function to test other sites with the same package.

도 6a는 본 발명에 따른 취소 기능부의 스탠바이측 흐름도이다. 취소 명령은 스탠바이측, 즉 새로이 액티브가 되고자하는 사이트, NEW 사이트에서 내려진다. 우선, 상태를 판단하여(601) 자신의 상태가 스탠바이 로딩 상태이고 상대측 상태가 단절 상태가 아니면 에러 리턴으로 종료한다(602). 상태가 정확하면 취소 기능을 수행하는데 우선 스탠바이 로딩 플래그를 NOSBYLD로 지우고 스탠바이 로딩 사이트 정보도 NOSBYLD로 지운다(603). 다음으로 OLD 측으로 OLD_TO_ACTIVE라는 시그널을 보내서 OLD 사이트가 다시 액티브로 환원되도록 한다(604). 자신의 상태는 스탠바이로 변경하고(605) 시스템을 재시동하면(606), NVRAM의 상태값을 보고 시동되어 정상 스탠바이 상태로 살아나게 된다(607).6A is a standby side flowchart of a cancellation function unit according to the present invention. The cancel command is issued from the standby side, that is, the NEW site and the NEW site. First, the state is determined (601) and if its own state is a standby loading state and the partner state is not a disconnected state, it ends with an error return (602). If the status is correct, the cancel function is performed. First, the standby loading flag is deleted as NOSBYLD, and the standby loading site information is also deleted as NOSBYLD (603). Next, a signal of OLD_TO_ACTIVE is sent to the OLD side so that the OLD site is returned to active state (604). When its state is changed to standby (605) and the system is restarted (606), it is started by seeing the state value of the NVRAM and is restored to the normal standby state (607).

도 6b는 본 발명에 따른 취소 기능부의 액티브측 흐름도이다.6B is a flowchart of an active side of a cancellation function unit according to the present invention.

OLD_TO_ACTIVE 시그널을 받음으로써 기능이 시작되는데(608), 이때 시작 기능부에서 시스템을 재시동한 것이 아니라 단지 상태만을 변경하였으므로 여기서도 역시 다시 상태를 환원하면 간단히 복원이 되어서 시스템 서비스의 연속성은 유지할 수가 있다. 즉, 스탠바이 로딩 플래그를 NOSBYLD로 스탠바이 로딩 중이 아님으로 변경하고 스탠바이 로딩 사이트도 NOSBYLD로 변경한다(609). 다음으로 자신의 상태를 액티브로 변경한다(610).The function is started by receiving the OLD_TO_ACTIVE signal (608). At this time, the start function does not restart the system, but only changes the state. In this case, the state can be restored simply by restoring the state again, thereby maintaining the continuity of the system service. That is, the standby loading flag is changed to not being standby loaded to NOSBYLD and the standby loading site is also changed to NOSBYLD (609). Next, it changes its state to active (610).

도 7a는 본 발명에 따른 진행 기능부의 액티브측 흐름도이다.7A is a flowchart of an active side of a progress function unit according to the present invention.

우선, 시작 기능부가 수행된 단계이므로 시스템의 상태가 자신은 단절 상태이고 상대측 상태는 스탠바이 로딩 상태인지를 판단한다(701). 이 상태가 아니면 에러 리턴하여 수행을 종료한다(702). 상태가 정확하면 현재 수행 중인 모든 프로세스의 수행은 종료시킨다(703). 다음으로 NEW 사이트를 액티브로 돌리고 자신은 스탠바이로 빠질 것이므로 외부 네트워크와의 통신이 일어나지 않도록 한다(704). 그리고 스탠바이 로딩 플래그를 NOSBYSYS로 지운다(705). 다음으로 자신의 상태는 SBYLD_OLD, 상대측 상태는 SBYLD_NEW라고 변경하고 상대측으로 RUNNING_PROCESS 시그널을 보낸다(707).First, since the start function is performed, it is determined whether the state of the system is the disconnected state and the counterpart state is the standby loading state (701). If it is not in this state, an error is returned and execution ends (702). If the state is correct, execution of all currently running processes ends (703). Next, the NEW site is turned active and the user will be put into standby so that communication with the external network does not occur (704). The standby loading flag is cleared to NOSBYSYS (705). Next, it changes its state to SBYLD_OLD and the counterpart to SBYLD_NEW, and sends a RUNNING_PROCESS signal to the counterpart (707).

도 7b는 본 발명에 따른 진행 기능부의 스탠바이측 흐름도이다.7B is a standby side flowchart of a progress function unit according to the present invention.

RUNNING_PROCESS 시그널을 받음으로서 그 기능이 시작되는데(708), 스탠바이 로딩 플래그를 지우고, 자신의 상태는 SLOAING_NEW, 상태측의 상태는 SLOAING_OLD로 설정하고(709), 이제는 자신이 액티브가 되어 정상 동작을 수행해야 하므로 네트워크와의 통신이 정상적으로 이루어지도록 그 모드를 변경하고(710). 새로이 로딩된 모든 사용자 프로세스들을 실행시킨다(711).The function begins by receiving the RUNNING_PROCESS signal (708), clears the standby loading flag, sets its state to SLOAING_NEW, and sets the state side to SLOAING_OLD (709), and now it becomes active and performs normal operation. Therefore, the mode is changed so that communication with the network is normally performed (710). Run all newly loaded user processes (711).

도 8a는 본 발명에 따른 완료 기능부의 스탠바이측 흐름도이다.8A is a standby side flowchart of a completion function unit according to the present invention.

상기의 진행 기능부의 실행으로 스탠바이 측에는 새로이 로딩된 패키지가 실행되고 있는 상태이다. 이때 운용자는 새로운 패키지가 신뢰할 만하다고 판단되면 완료 명령을 내릴 수 있다. 완료 명령을 받으면 우선, 자신의 상태는 SLOADING_NEW이고 상대측의 상태는 SLOADING_OLD인지를 판단한다(801). 이러한 상태가 아니면 에러 리턴하여 수행을 종료한다(802). 올바른 상태에서 입력된 명령이라면 이제 자신의 상태를 ACTIVE로 설정하고 스탠바이 로딩 사이트 데이터 구조에는 이젠 스탠바이 로딩 상태가 아님을 기록하고(803) 상대측으로 DUALCOPYSTART 시그널을 보낸다(804).The newly loaded package is being executed on the standby side by the execution of the advance function unit. At this point, the operator can issue a completion command if it is determined that the new package is reliable. Upon receiving the completion command, first, it is determined whether its own state is SLOADING_NEW and its counterpart is SLOADING_OLD (801). If this is not the case, an error is returned and execution ends (802). If the command was entered in the correct state, it now sets its state to ACTIVE, notifies the standby loading site data structure that it is no longer in the standby loading state (803) and sends a DUALCOPYSTART signal to the opponent (804).

도 8b는 본 발명에 따른 완료 기능부의 액티브측 흐름도이다.8B is a flowchart of an active side of a completion function unit according to the present invention.

DUALCOPYSTART 시그널을 받으면(805) 스탠바이 로딩 플래그를 이젠 스탠바이 로딩 상태가 아니라고 기록하고(806) 시스템을 재시동한다(807). 이후 시스템은 재시동 시에 NVRAM에 기록해 둔 상태 값을 참조로 하여 정상 스탠바이 상태로 살아나게 된다(808).Upon receiving the DUALCOPYSTART signal (805), the standby loading flag is recorded as no longer in the standby loading state (806) and the system restarted (807). The system then comes back to normal standby state with reference to the state value recorded in NVRAM at restart (808).

도 9a는 본 발명에 따른 복구 기능부의 스탠바이측 흐름도이다.9A is a standby side flowchart of a recovery function unit according to the present invention.

이 기능은 스탠바이 측에 새로운 패키지를 로딩하여 실행시켜본 결과 운용자가 이전 패키지로 돌아가야 겠다는 판단을 내렸을때 실행된다. 우선, 자신의 상태가 SLOADING_NEW이고 상대측 상태가 SLOADING_OLD인지를 판단하여(901) 이러한 상태가 아니면 에러 리턴하여 수행을 종료하고(902) 상태가 일치하면 상대측으로 REACT 시그널을 보낸다(903). 다음으로 자신은 다시 스탠바이로 바뀌어야 하므로 네트워크 정합 장치를 비활성화 시키고(904) 스탠바이 로딩 플래그와 사이트 정보를 지운다(905). 다음으로 재시동을 하게 되는데(906), 이때 NVRAM의 상태값을 참조하여 시동되므로 스탠바이로 살아나게 되므로서 지금까지 스탠바이 측에 새롭게 로딩받았던 패키지는 사용하지 않게 된다(907).This function is executed when the new package is loaded and executed on the standby side and the operator decides to go back to the previous package. First, it is determined whether its own state is SLOADING_NEW and the counterpart state is SLOADING_OLD (901). If this is not the case, an error is returned and execution is terminated (902). If the states match, a REACT signal is sent (903). Next, since the user must change back to standby, the network matching device is disabled (904) and the standby loading flag and site information are cleared (905). Next, a restart is performed (906). At this time, it is started with reference to the state value of NVRAM, so it is saved as a standby, and thus the package that has been newly loaded on the standby side is not used (907).

도 9b는 본 발명에 따른 복구 기능부의 액티브측 흐름도이다.9B is a flowchart of an active side of a recovery function unit according to the present invention.

우선 상대측으로부터 REACT 시그널을 받음으로서 기능이 시작되는데(908) 이사이트에는 이전에 수행되던 사용자 프로세스들이 수행만 멈춘 상태로 있기 때문에 이전 패키지로 다시 정상 이중화 상태로 복귀하기 위해서는 적절한 상태 변경과 실행을 멈춘 이 프로세스들을 다시 실행시켜주기만 하면 된다. 즉, 자신의 상태를 액티브로 설정하고(909) 비활성화 시켰던 네트워크 정합 장치를 활성화 시키고(910) 스탠바이 로딩 플래그 및 사이트를 지우고(911) 모든 사용자 프로세스들을 실행시킴으로서 수행을 종료한다(912).First, the function starts by receiving a REACT signal from the other party (908). Since the user process that was previously executed is stopped, the proper state change and execution is stopped to return to the normal redundancy state of the previous package. Just run these processes again. That is, the execution is terminated by setting its state to active (909), activating the network matching device which has been deactivated (910), clearing the standby loading flag and site (911), and executing all user processes (912).

상술한 바와 같은 본 발명은, 이중화된 시스템에서 단순히 대기 상태에만 있었던 스탠바이 시스템을 이용하여 기존 패키지를 새로운 시스템에서 수행시킬 수 있으며 시스템 서비스의 중단없이 새로운 패키지로 변경할 수 있어 항상 가동되어야 하는 무정지 시스템의 신뢰성을 높이는 효과가 있다.As described above, the present invention can be performed in a redundant system by using a standby system, which was simply in standby state, to execute an existing package in a new system and to change to a new package without interruption of system services. It is effective to increase the reliability.

Claims (7)

이중화된 시스템에 이용되는 스탠바이 로딩 기능 제공 방법에 있어서,In the standby loading function providing method used in a redundant system, 사용자로부터의 스탠바이 로딩 요구 입력 시, 스탠바이 로딩 시작 기능부를 통하여 현재 스탠바이 모드인 시스템을 스탠바이 로딩 모드로 재시동하는 제 1단계;Upon inputting a standby loading request from a user, restarting a system currently in standby mode to a standby loading mode through a standby loading start function; 상기 1단계 이후 스탠바이 로딩 취소요구가 입력되면 스탠바이 로딩 취소 기능부를 통하여 스탠바이 로딩 모드로 재시동 된 시스템을 정상 스탠바이 모드로 환원하는 제 2단계;A second step of returning the system restarted in the standby loading mode to the normal standby mode through the standby loading cancel function if the standby loading cancellation request is input after the first step; 상기 1단계 이후 스탠바이 로딩 진행 요구가 입력되면 스탠바이 로딩 진행 기능부를 통하여 현재 액티브 시스템의 모든 사용자 프로세스의 실행을 중단시키고 새로이 스탠바이 로딩으로 시동된 시스템의 모든 사용자 프로세스를 실행시키는 제 3단계;A third step of stopping execution of all user processes of the current active system and executing all user processes of the system newly started by standby loading through a standby loading progress function unit when a standby loading progress request is input after the first step; 상기 3단계 이후 스탠바이 로딩 완료 요구가 입력되면 스탠바이로딩 완료 기능부를 통하여 새로이 스탠바이 로딩을 받은 시스템을 액티브로 하여 정상 이중화 상태로 운용하는 제 4단계; 및A fourth step of activating a newly received standby loading system through a standby loading completion function unit and operating in a normal redundancy state when a standby loading completion request is input after the step 3; And 상기 3단계 이후 스탠바이 로딩 기능 철회 요구가 입력되면 스탠바이 로딩 복구 기능부를 통하여 현재까지 진행된 스탠바이 로딩 상태를 처음으로 되돌려 정상 이중화 상태로 만드는 제 5단계를 포함하는 것을 특징으로 하는 이중화 시스템을 위한 스탠바이 로딩 방법.And a fifth step of returning the standby loading state, which has been performed so far, to a normal redundancy state through the standby loading recovery function unit when the standby loading function withdrawal request is input after the third step. . 제1항에 있어서,The method of claim 1, 상기 제1단계는The first step is 우선, 액티브측에서의 시스템의 상태를 판단하여 자신의 상태가 액티브이고 상태측의 상태가 스탠바이이고 자신의 동작과 상대측의 동작이 모두 연결 동작 중인지를 판단하는 제 1단계;First, a first step of judging the state of the system on the active side to determine whether its own state is active, the state of the state side is standby, and both its operation and the other side's operation are in connection operation; 상기 상태 조건을 만족하지 않으면 에러 리턴으로 수행을 끝내는 제 2단계;A second step of ending execution with an error return if the state condition is not satisfied; 상기 상태 조건이 만족되는 상태이면 상대측인 스탠바이로 STARTUPBOOT 시그널을 보내는 제 3단계;A third step of sending a STARTUPBOOT signal to a standby of a counterpart if the state condition is satisfied; 자신의 상태를 단절 모드로, 그리고 스탠바이 로딩 사이트를 OLD_SITE로 변경하고 자신의 동작을 단일 동작 모드로 변경하는 제 4단계;Changing the state of the user to the disconnected mode and the standby loading site to the OLD_SITE and changing the operation to the single operation mode; 다음으로, 스탠바이측에서, STARTUPBOOT 시그널을 받으면 NVRAM의 스탠바이 로딩 플래그를 스탠바이 로딩 중으로 표기하고 시스템을 재시동하는 제 5단계; 및Next, when the standby side receives the STARTUPBOOT signal, a fifth step of displaying the standby loading flag of the NVRAM as standby loading and restarting the system; And 상기 플래그를 참조하여 시동하여 정상 스탠바이가 아닌 스탠바이 로딩 모드로 초기화하여 살아나서 단절 모드의 실행으로 사용자 패키지를 로딩받는 일을 실행하게 되는 제 6단계를 포함하는 이중화 시스템을 위한 스탠바이 로딩 방법.And a sixth step of starting by referring to the flag to initialize the standby loading mode instead of the normal standby, to survive the loading of the user package by executing the disconnection mode. 제1항에 있어서,The method of claim 1, 상기 제2단계는,The second step, 우선, 스탠바이 측에서 자신의 상태가 스탠바이 로딩 상태이고 상대측 상태가 단절 상태인지를 판단하는 제 1단계;First, a first step of determining whether the state of the standby state is the standby loading state and the opponent state is disconnected; 상태가 일치하지 않으면 에러 리턴으로 종료하는 제 2단계;A second step of ending with an error return if the states do not match; 상태가 정확하면 취소 기능을 수행하는데 우선 스탠바이 로딩 플래그와 스탠바이 로딩 사이트 정보를 지우는 제 3단계;Canceling the standby loading flag and the standby loading site information if the status is correct; 다음으로, 액티브 측으로 OLD_TO_ACTIVE 시그널을 보내는 제 4단계;Next, a fourth step of sending an OLD_TO_ACTIVE signal to the active side; 자신의 상태를 스탠바이로 변경하고 시스템을 재시동하는 제 5단계;A fifth step of changing its state to standby and restarting the system; NVRAM의 상태값을 보고 시동되어 정상 스탠바이 상태로 살게 되는 제 6단계;A sixth step of starting to view a state value of the NVRAM and living in a normal standby state; 다음으로 액티브 측에서는 OLD_TO_ACTIVE 시그널을 받으면 스탠바이 로딩 플래그와 스탠바이 로딩 사이트 데이터 값을 스탠바이 로딩 중이 아님으로 변경하는 제 7단계; 및Next, in response to receiving the OLD_TO_ACTIVE signal, the active side changes the standby loading flag and the standby loading site data value to not being in standby loading; And 자신의 상태를 액티브로 변경하는 제 8단계를 포함하는 이중화 시스템을 위한 스탠바이 로딩 방법.A standby loading method for a redundant system, comprising the eighth step of changing its state to active. 제1항에 있어서,The method of claim 1, 상기 제3단계는,The third step, 우선, 액티브 측에서 자신은 단절 상태이고 상대측 상태는 스탠바이 로딩 상태인지를 판단하는 제 1단계;First, a first step of determining whether the active side is in a disconnected state and the opposite state is in a standby loading state; 이 상태가 아니면 에러 리턴하여 수행을 종료하는 제 2단계;If not in this state, returning an error to terminate execution; 상태가 정확하면 현재 수행 중인 모든 프로세스의 수행을 종료시키는 제 3단계;Terminating the execution of all currently running processes if the state is correct; 다음으로, 외부 네트워크와의 통신이 일어나지 않도록 하는 제 4단계;Next, a fourth step of preventing communication with the external network occurs; 그리고 스탠바이 로딩 플래그를 NOSBYSYS로 지우고 자신의 상태는 구 사이트(SBYLD_OLD), 상대측 상태는 신 사이트(SBYLD_NEW)라고 변경하는 제 5단계;A fifth step of deleting the standby loading flag as NOSBYSYS and changing its state to an old site (SBYLD_OLD) and a counterpart state to a new site (SBYLD_NEW); 상대측으로 RUNNING_PROCESS 시그널을 보내는 제 6단계;Transmitting a RUNNING_PROCESS signal to the counterpart; 다음으로 스탠바이 측에서는 RUNNING_PROCESS 시그널을 받으면 스탠바이 로딩 플래그를 지우고, 자신의 상태는 SLOAING_NEW, 상태측의 상태는 SLOAING_OLD로 설정하는 제 7단계;Next, when the standby side receives the RUNNING_PROCESS signal, the standby loading flag is cleared and its state is set to SLOAING_NEW and the state is set to SLOAING_OLD; 네트워크와의 통신이 정상적으로 이루어지도록 그 모드를 변경하는 제 8단계; 및An eighth step of changing the mode so that communication with the network is normally performed; And 새로이 로딩된 모든 사용자 프로세스들을 실행시키는 제 8단계를 포함하는 이중화 시스템을 위한 스탠바이 로딩 방법.A standby loading method for a redundant system, comprising an eighth step of executing all newly loaded user processes. 제1항에 있어서,The method of claim 1, 상기 제4단계는,The fourth step, 우선, 스탠바이 측에서 자신의 상태는 SLOADING_NEW이고 상대측의 상태는 SLOADING_OLD인지를 판단하는 제 1단계;First, the first step of determining whether the state of the standby side is SLOADING_NEW and the state of the opponent side is SLOADING_OLD; 이러한 상태가 아니면 에러 리턴하여 수행을 종료하는 제 2단계;If not in this state, returning an error to terminate execution; 올바른 상태에서 입력된 명령이라면 이제 자신의 상태를 ACTIVE로 설정하고 스탠바이 로딩 사이트 데이터 구조에는 이젠 스탠바이 로딩 상태가 아님을 기록하는 제 3단계;A third step of, if the command is entered in the correct state, now sets its state to ACTIVE and records in the standby loading site data structure that it is no longer in the standby loading state; 다음으로, 상대측으로 DUALCOPYSTART 시그널을 보내는 제 4단계;Next, a fourth step of sending a DUALCOPYSTART signal to the counterpart; 액티브측에서는 DUALCOPYSTART 시그널을 받으면 스탠바이 로딩 플래그를 스탠바이 로딩 상태가 아니라고 기록하고 시스템을 재시동하는 제 5단계; 및A fifth step of, on the active side, upon receiving the DUALCOPYSTART signal, recording the standby loading flag as not being in the standby loading state and restarting the system; And 이후 시스템 재시동 시에 NVRAM에 기록해 둔 상태 값을 참조하여 정상 스탠바이 상태로 살아나게 되는 제 6단계를 포함하는 이중화 시스템을 위한 스탠바이 로딩 방법.And a sixth step of resuming a normal standby state by referring to a state value recorded in NVRAM at system restart. 제1항에 있어서,The method of claim 1, 상기 제5단계는,The fifth step, 우선, 스탠바이 측에서 자신의 상태가 SLOADING_NEW이고 상대측 상태가 SLOADING_OLD인지를 판단하는 제 1단계;First, the first step of determining whether the standby state is SLOADING_NEW and the opponent state is SLOADING_OLD; 이러한 상태가 아니면 에러 리턴하여 수행을 종료하는 제 2단계;If not in this state, returning an error to terminate execution; 상태가 일치하면 상대측으로 REACT 시그널을 보내는 제 3단계;A third step of sending a REACT signal to the counterpart when the states match; 다음으로, 네트워크 정합 장치를 비활성화 시키고 NVRAM의 스탠바이 로딩 플래그와 사이트 정보를 지우고 나서 재시동을 하는 제 4단계;Next, the fourth step of deactivating the network matching device and clearing the standby loading flag and site information of the NVRAM and restarting; NVRAM의 상태값을 참조하여 시동하여 지금까지 스탠바이 측에 새롭게 로딩받았던 패키지는 사용하지 않게 되는 제 5단계;A fifth step of starting by referring to the state value of the NVRAM and not using the newly loaded package up to the standby side; 다음으로 액티브 측에서는 REACT 시그널을 받으면 자신의 상태를 액티브로 설정하고 비활성화 시켰던 네트워크 정합 장치를 활성화 시키며 스탠바이 로딩 플래그 및 사이트를 지우는 제 6단계; 및Next, when the active side receives the REACT signal, the sixth step of activating the network matching device which has set its state as active and deactivated, and clears the standby loading flag and the site; And 모든 사용자 프로세스들을 실행시킴으로서 수행을 종료하는 제 7단계를 포함하는 이중화 시스템을 위한 스탠바이 로딩 방법.A standby loading method for a redundant system, comprising a seventh step of terminating execution by executing all user processes. 사용자로부터 스탠바이 로딩 요구를 입력 받아 스탠바이 로딩 시작 기능부를 통하여 현재 스탠바이 모드인 시스템을 스탠바이 로딩 모드로 재시동하는 제 1기능;A first function of receiving a standby loading request from a user and restarting a system currently in standby mode in a standby loading mode through a standby loading start function; 상기 1.기능 이후 스탠바이 로딩 취소요구가 입력되면 스탠바이 로딩 취소 기능부를 통하여 스탠바이 로딩 모드로 재시동 된 시스템을 정상 스탠바이 모드로 환원하는 제 2기능;A second function of returning the system restarted in the standby loading mode to the normal standby mode through the standby loading cancellation function if a standby loading cancellation request is input after the first function; 상기 1기능 이후 스탠바이 로딩 진행 요구가 입력되면 스탠바이 로딩 진행 기능부를 통하여 현재 액티브 시스템의 모든 사용자 프로세스의 실행을 중단시키고 새로이 스탠바이 로딩으로 시동된 시스템의 모든 사용자 프로세스를 실행시키는 제 3기능;A third function of stopping execution of all user processes of the current active system and executing all user processes of the system newly started by standby loading through a standby loading progress function, when a standby loading progress request is input after the first function; 상기 3기능 이후 스탠바이 로딩 완료 요구가 입력되면 스탠바이로딩 완료 기능부를 통하여 새로이 스탠바이 로딩을 받은 시스템을 액티브로 하여 정상 이중화 상태로 운용하는 제 4기능; 및A fourth function of activating a newly received standby loading system through a standby loading completion function unit and operating in a normal redundancy state when a standby loading completion request is input after the three functions; And 상기 3기능 이후 스탠바이 로딩 기능 철회 요구가 입력되면 스탠바이 로딩 복구 기능부를 통하여 현재까지 진행된 스탠바이 로딩 상태를 처음으로 되돌려 정상 이중화 상태로 만드는 제 5기능을 실현시키기 위한 프로그램이 수록된 컴퓨터로 읽을 수 있는 기록 매체.A computer-readable recording medium containing a program for realizing a fifth function for reverting the standby loading state progressed to the first to a normal redundancy state through the standby loading recovery function unit when a standby loading function revocation request is input after the above three functions. .
KR10-2001-0040870A 2001-07-09 2001-07-09 Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon KR100385861B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0040870A KR100385861B1 (en) 2001-07-09 2001-07-09 Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0040870A KR100385861B1 (en) 2001-07-09 2001-07-09 Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon

Publications (2)

Publication Number Publication Date
KR20030005531A KR20030005531A (en) 2003-01-23
KR100385861B1 true KR100385861B1 (en) 2003-06-02

Family

ID=27714009

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0040870A KR100385861B1 (en) 2001-07-09 2001-07-09 Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon

Country Status (1)

Country Link
KR (1) KR100385861B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100408653B1 (en) * 2001-08-31 2003-12-06 주식회사 현대시스콤 Method for dual supporting of OS in a 3G asynchronous system
US7870241B2 (en) * 2002-11-27 2011-01-11 International Business Machines Corporation Automated power control policies based on application-specific redundancy characteristics
KR101250881B1 (en) * 2011-04-07 2013-04-04 주식회사 넥스알 Method for doubly processing data of block storage service
KR101940311B1 (en) * 2014-02-12 2019-01-18 한국전자통신연구원 Method for controlling process based on network operation mode and apparatus therefor
KR102210408B1 (en) * 2014-03-26 2021-01-29 에스케이텔레콤 주식회사 Method for duplication of virtualization server and Virtualization control apparatus thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05204880A (en) * 1992-01-30 1993-08-13 Yokogawa Electric Corp Dual computer system
JPH06222942A (en) * 1993-01-28 1994-08-12 Fuji Electric Co Ltd Control switch holding method for duplexed control system
JPH08242474A (en) * 1995-03-02 1996-09-17 Toshiba Corp File update method for private branch of digital exchange
KR19980045662A (en) * 1996-12-10 1998-09-15 유기범 Interprocessor communication path redundancy
JPH113240A (en) * 1997-06-13 1999-01-06 Yokogawa Electric Corp Computer system for control
KR20000021883A (en) * 1998-09-30 2000-04-25 강병호 Method for down-loading data of device control board having dual structure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05204880A (en) * 1992-01-30 1993-08-13 Yokogawa Electric Corp Dual computer system
JPH06222942A (en) * 1993-01-28 1994-08-12 Fuji Electric Co Ltd Control switch holding method for duplexed control system
JPH08242474A (en) * 1995-03-02 1996-09-17 Toshiba Corp File update method for private branch of digital exchange
KR19980045662A (en) * 1996-12-10 1998-09-15 유기범 Interprocessor communication path redundancy
JPH113240A (en) * 1997-06-13 1999-01-06 Yokogawa Electric Corp Computer system for control
KR20000021883A (en) * 1998-09-30 2000-04-25 강병호 Method for down-loading data of device control board having dual structure

Also Published As

Publication number Publication date
KR20030005531A (en) 2003-01-23

Similar Documents

Publication Publication Date Title
US7607037B1 (en) SAR restart and going home procedures
US7657718B1 (en) Storage automated replication processing
US8161009B2 (en) Remote copying system with consistency guaranteed between a pair
US7434094B2 (en) Remote copy processing method, program, and system
KR100411978B1 (en) Fault tolerant system and duplication method thereof
US6654880B1 (en) Method and apparatus for reducing system down time by restarting system using a primary memory before dumping contents of a standby memory to external storage
KR100385861B1 (en) Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon
JP2002123406A (en) High reliability system
WO2011158367A1 (en) Technology for updating active program
US7107485B2 (en) Method, apparatus, and computer readable medium for managing multiple system
US20050268188A1 (en) Backup method, backup system, disk controller and backup program
US6721882B1 (en) Method and apparatus for warm starting a system where the system includes region(s) of software code incapable of warm starting
JP3394189B2 (en) Uninterrupted update system for program / data of any processor
CN114035831A (en) CPLD upgrading method, system and computer readable storage medium
JP2010146436A (en) Monitoring system, control method and program
JPH09288590A (en) Virtual computer system
JP2003337702A (en) Dynamic change system for module structure of software wireless device
JP2768267B2 (en) Hot standby switching system management method
JP3589433B2 (en) Database guarantee method
JP2001216146A (en) Uninterrupted film updating processing system and its method
JP2002044693A (en) Controller of electronic exchange
JPH11265361A (en) Multicomputer system, communication processor, transaction processing system, method for transferring operation of transaction processing system, and recording medium recording transaction processing system operation transferring program
JP3346670B2 (en) Central processing unit switching method and switching system
JP2000082006A (en) Information backup system
US7627871B2 (en) Instructing management support software of a first software component to set up a communication channel between the first software component and a second software component

Legal Events

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

Payment date: 20130430

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20140508

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee