KR100622621B1 - Method and system for synchronizing configuration data between active system and standby system in internet protocol communication system replicated in active-standby mode - Google Patents

Method and system for synchronizing configuration data between active system and standby system in internet protocol communication system replicated in active-standby mode Download PDF

Info

Publication number
KR100622621B1
KR100622621B1 KR1020040080613A KR20040080613A KR100622621B1 KR 100622621 B1 KR100622621 B1 KR 100622621B1 KR 1020040080613 A KR1020040080613 A KR 1020040080613A KR 20040080613 A KR20040080613 A KR 20040080613A KR 100622621 B1 KR100622621 B1 KR 100622621B1
Authority
KR
South Korea
Prior art keywords
configuration data
synchronization
data synchronization
module
sub
Prior art date
Application number
KR1020040080613A
Other languages
Korean (ko)
Other versions
KR20060031539A (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 KR1020040080613A priority Critical patent/KR100622621B1/en
Publication of KR20060031539A publication Critical patent/KR20060031539A/en
Application granted granted Critical
Publication of KR100622621B1 publication Critical patent/KR100622621B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 운영-대기(Active-Standby) 모드로 이중화된 IP 통신 시스템에서 주 시스템과 부 시스템간 구성 데이터를 동기화하기 위한 방법 및 그 시스템에 관한 것으로, 더욱 상세하게는 이중화 기능을 포함하는 고가의 데이터베이스 시스템 및 메모리상의 데이터 동기화 방식에 의존하지 않고도 주 시스템과 부 시스템간 전체 구성 데이터의 동기화가 용이하게 수행될 수 있도록 하는 구성 데이터 동기화 방법 및 그 시스템에 관한 것이다.The present invention relates to a method and a system for synchronizing configuration data between a primary system and a secondary system in an IP communication system which is duplicated in an active-standby mode, and more particularly, to an expensive system including a duplication function. The present invention relates to a configuration data synchronization method and a system for easily synchronizing entire configuration data between a main system and a sub-system without relying on a data synchronization scheme on a database system and a memory.

본 발명에 따른 구성 데이터 동기화 방법은 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 부 시스템 내 소정의 메모리 참조 영역에 동기화 시작 식별자를 기록하는 단계, 상기 부 시스템의 구성 데이터 동기화 모듈이 주 시스템의 데이터베이스에 접속하여 구성 데이터를 검색하는 단계, 상기 구성 데이터 동기화 모듈이 상기 부 시스템의 데이터베이스에 기록된 데이터를 삭제하고, 상기 검색된 구성 데이터를 삽입하는 단계, 상기 구성 데이터 동기화 모듈이 구성 데이터 동기화가 완료되면 상기 메모리 참조 영역에 동기화 완료 식별자를 기록하는 단계 및 상기 부 시스템 내 소정의 프로세스 모듈이 상기 부 시스템의 데이터베이스에 삽입된 구성 데이터를 상기 부 시스템 내 소정의 공유 메모리로 로딩(Loading)하는 단계를 포함하고, 상기 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 부 시스템의 구성 데이터 동기화 모듈이 상기 주 시스템의 구성 데이터 동기화 모듈로 동기화 시작 메시지를 전달하고, 상기 구성 데이터 동기화가 완료되면 상기 부 시 스템의 구성 데이터 동기화 모듈이 상기 주 시스템의 구성 데이터 동기화 모듈로 동기화 완료 메시지를 전달하며, 상기 주 시스템의 구성 데이터 동기화 모듈이 상기 동기화 시작 메시지를 수신한 시점부터 상기 동기화 완료 메시지를 수신한 시점까지의 변경 데이터를 상기 부 시스템의 구성 데이터 동기화 모듈로 전송하는 것을 특징으로 한다.The method for synchronizing configuration data according to the present invention comprises the steps of recording a synchronization start identifier in a predetermined memory reference area within the sub-system when initial configuration data synchronization of the sub-system is executed, and the configuration data synchronization module of the sub-system is configured to be a database of the main system. Accessing and retrieving configuration data; deleting, by the configuration data synchronization module, data recorded in a database of the sub-system; inserting the retrieved configuration data; and when the configuration data synchronization module completes synchronization of configuration data. Recording a synchronization completion identifier in the memory reference area, and loading a configuration data inserted into a database of the sub-system into a predetermined shared memory in the sub-system by a predetermined process module in the sub-system Doing the above When the initial configuration data synchronization of the system is executed, the configuration data synchronization module of the secondary system sends a synchronization start message to the configuration data synchronization module of the primary system, and when the configuration data synchronization is completed, the configuration data synchronization module of the secondary system The synchronization completion message is transmitted to the configuration data synchronization module of the main system, and the change data from the time point at which the configuration data synchronization module of the main system receives the synchronization completion message to the time point at which the synchronization completion message is received is added. It is characterized in that the transmission to the configuration data synchronization module of the system.

IP 통신 시스템, Active-Standby, 구성 데이터, 이중화, 동기화IP communication system, Active-Standby, configuration data, redundancy, synchronization

Description

운영-대기(Active-Standby) 모드로 이중화된 IP 통신 시스템에서 주 시스템과 부 시스템간 구성 데이터를 동기화하기 위한 방법 및 그 시스템{METHOD AND SYSTEM FOR SYNCHRONIZING CONFIGURATION DATA BETWEEN ACTIVE SYSTEM AND STANDBY SYSTEM IN INTERNET PROTOCOL COMMUNICATION SYSTEM REPLICATED IN ACTIVE-STANDBY MODE}METHODO AND SYSTEM FOR SYNCHRONIZING CONFIGURATION DATA BETWEEN ACTIVE SYSTEM AND STANDBY SYSTEM IN INTERNET PROTOCOL COMMUNICATION SYSTEM REPLICATED IN ACTIVE-STANDBY MODE}

도 1은 본 발명에 따른 구성 데이터 동기화 시스템에 있어서, 주 시스템과 부 시스템의 구성 데이터 동기화 모듈이 주 시스템의 데이터베이스와 부 시스템의 데이터베이스에 연결되어 데이터 동기화를 실행하는 모습을 개략적으로 도시한 도면이다.1 is a diagram schematically illustrating a configuration data synchronization module of a main system and a sub system connected to a database of a main system and a database of a sub system to perform data synchronization in a configuration data synchronization system according to the present invention. .

도 2는 본 발명의 일실시예에 따른 구성 데이터 동기화 방법을 도시한 흐름도이다.2 is a flowchart illustrating a configuration data synchronization method according to an embodiment of the present invention.

도 3은 본 발명의 또 다른 실시예에 따른 구성 데이터 동기화 방법을 도시한 흐름도이다.3 is a flowchart illustrating a configuration data synchronization method according to another embodiment of the present invention.

도 4는 본 발명에 따른 구성 데이터 동기화 방법을 수행하는 데 채용될 수 있는 범용 컴퓨터 장치의 내부 블록도이다.4 is an internal block diagram of a general purpose computer device that may be employed to perform the method of synchronizing configuration data according to the present invention.

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

110 : 주 시스템 120 : 부 시스템110: main system 120: sub-system

210 : 구성 데이터 동기화 모듈 220 : 프로세스 모듈210: configuration data synchronization module 220: process module

본 발명은 운영-대기(Active-Standby) 모드로 이중화된 IP 통신 시스템에서 주 시스템과 부 시스템간 구성 데이터를 동기화하기 위한 방법 및 그 시스템에 관한 것으로, 더욱 상세하게는 이중화 기능을 포함하는 고가의 데이터베이스 시스템 및 메모리상의 데이터 동기화 방식에 의존하지 않고도 주 시스템과 부 시스템간 전체 구성 데이터의 동기화가 용이하게 수행될 수 있도록 하는 구성 데이터 동기화 방법 및 그 시스템에 관한 것이다.The present invention relates to a method and a system for synchronizing configuration data between a primary system and a secondary system in an IP communication system which is duplicated in an active-standby mode, and more particularly, to an expensive system including a duplication function. The present invention relates to a configuration data synchronization method and a system for easily synchronizing entire configuration data between a main system and a sub-system without relying on a data synchronization scheme on a database system and a memory.

종래의 통신 시스템에서는 주 시스템과 부 시스템간 구성 데이터 이중화를 수행함에 있어서, 이중화 기능을 지니고 있는 상용 데이터베이스 시스템에 의존하거나 메모리상의 데이터 동기화 방식을 따르고 있었다. In the conventional communication system, in performing configuration data duplication between the main system and the sub-system, the system relies on a commercial database system having a duplication function or follows a data synchronization scheme in memory.

그러나, 상용 데이터베이스 시스템은 그 가격이 매우 고가임으로 인해 구성 데이터 이중화에 많은 비용이 소요될 수 밖에 없다는 문제점이 있었다. 또한, 종래의 통신 시스템에서는 시스템 운영 도중 주 시스템이 부 시스템으로부터 전체 구성 데이터의 로딩(Loading)을 수행함으로 인해 주 시스템에 매우 높은 부하가 걸리게 되는 문제점도 존재하였다. However, the commercial database system has a problem that the cost of the configuration data duplication due to the high price is very expensive. In addition, in the conventional communication system, there is a problem in that a very high load is applied to the main system because the main system performs loading of the entire configuration data from the sub system during system operation.

한편, 메모리상의 데이터 동기화 방식은 각각의 메모리 별 동기화가 수행되어야 하므로 그 개발 자체의 어려움이 존재할 뿐만 아니라, 주 시스템에서 부 시스 템으로 다량의 데이터를 송출할 경우 주 시스템에 매우 높은 부하가 걸리고, 그 결과 주 시스템의 성능이 크게 저하될 수 밖에 없다는 문제점이 존재하였다. 또한, 메모리상의 데이터 동기화 방식은 각각의 메모리 별 동기화가 수행되어야 함으로 인해, 데이터의 동기화가 실패할 가능성이 그만큼 높아진다는 부담도 존재하였다. On the other hand, in the data synchronization method in memory, the synchronization of each memory has to be performed, and therefore, there is a difficulty in developing itself, and when a large amount of data is sent from the main system to the sub system, a very high load is placed on the main system. As a result, there has been a problem that the performance of the main system is greatly reduced. In addition, the data synchronization scheme in memory has a burden that the possibility of data synchronization fails because the synchronization for each memory has to be performed.

이에, 종래의 통신 시스템에서 발생한 상기와 같은 문제점을 획기적으로 극복할 수 있는 새로운 기술의 출현이 요청되어 왔다.Therefore, the emergence of a new technology that can significantly overcome the above problems occurred in the conventional communication system has been requested.

본 발명은 상술한 바와 같은 종래기술의 문제점을 해결하기 위해 안출된 것으로서, 이중화 기능을 포함하는 고가의 데이터베이스 시스템 및 메모리상의 데이터 동기화 방식에 의존하지 않고도 주 시스템과 부 시스템간 전체 구성 데이터의 동기화가 용이하게 수행될 수 있도록 하는 새로운 방식의 구성 데이터 동기화 방법 및 그 시스템을 제공하는 것을 그 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the problems of the prior art as described above, and it is possible to synchronize the entire configuration data between the main system and the sub-system without relying on an expensive database system including a redundancy function and a data synchronization method in memory. It is an object of the present invention to provide a method and system for synchronizing configuration data in a manner that can be easily performed.

본 발명에 따른 구성 데이터 동기화 방법 및 그 시스템은 기존 고가의 상용 데이터베이스 시스템을 이용한 이중화 방식을 사용하지 않음으로써 데이터 이중화에 따라 소요되는 비용을 크게 절감하는 것을 그 목적으로 한다.The method and system for synchronizing configuration data according to the present invention are intended to greatly reduce the cost of data duplication by not using a duplication scheme using an existing expensive commercial database system.

본 발명에 따른 구성 데이터 동기화 방법 및 그 시스템은 주 시스템과 부 시스템에서 사용되는 데이터베이스의 기능과는 독립적으로, IP 통신 시스템 운영 중 전체 구성 데이터의 동기화가 가능하도록 하는 것을 그 목적으로 한다.The method and system for synchronizing configuration data according to the present invention are intended to enable synchronization of the entire configuration data during the operation of an IP communication system, independently of the functions of the database used in the main system and the sub-system.

본 발명에 따른 구성 데이터 동기화 방법 및 그 시스템은 IP 통신 시스템 운영 중에 주 시스템과 부 시스템간 전체 구성 데이터의 동기화를 수행하여도 주 시 스템의 부하에 아무런 영향이 없도록 하는 것을 그 목적으로 한다.The method and system for synchronizing configuration data according to the present invention are intended to have no effect on the load of the main system even when the entire configuration data is synchronized between the main system and the sub-system during the operation of the IP communication system.

본 발명에 따른 구성 데이터 동기화 방법 및 그 시스템은 구성 데이터의 메모리 동기화를 실행하지 않음으로써 구성 데이터를 조작하는 프로세스간의 연결 관계가 존재할 필요가 없도록 하고, 또한 구성 데이터를 변경하는 프로세스들이 상대 시스템의 데이터 변경에 관여하지 않도록 함으로써 개발을 용이하게 하고 데이터 동기화의 실패 가능성을 현저히 감소시키는 것을 그 목적으로 한다.The method and system for synchronizing configuration data according to the present invention do not perform memory synchronization of configuration data so that there is no need for a connection relationship between processes for manipulating configuration data, and also processes for changing configuration data are stored in the data of the partner system. The goal is to facilitate development and significantly reduce the likelihood of data synchronization failure by not being involved in change.

상기의 목적을 달성하고, 상술한 종래기술의 문제점을 해결하기 위하여, 본 발명의 일실시예에 따른 구성 데이터 동기화 방법은 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 부 시스템 내 소정의 메모리 참조 영역에 동기화 시작 식별자를 기록하는 단계, 상기 부 시스템의 구성 데이터 동기화 모듈이 주 시스템의 데이터베이스에 접속하여 구성 데이터를 검색하는 단계, 상기 구성 데이터 동기화 모듈이 상기 부 시스템의 데이터베이스에 기록된 데이터를 삭제하고, 상기 검색된 구성 데이터를 삽입하는 단계, 상기 구성 데이터 동기화 모듈이 구성 데이터 동기화가 완료되면 상기 메모리 참조 영역에 동기화 완료 식별자를 기록하는 단계 및 상기 부 시스템 내 소정의 프로세스 모듈이 상기 부 시스템의 데이터베이스에 삽입된 구성 데이터를 상기 부 시스템 내 소정의 공유 메모리로 로딩(Loading)하는 단계를 포함하고, 상기 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 부 시스템의 구성 데이터 동기화 모듈이 상기 주 시스템의 구성 데이터 동기화 모듈로 동기화 시작 메시지를 전달하고, 상기 구성 데이터 동기화가 완료되면 상기 부 시 스템의 구성 데이터 동기화 모듈이 상기 주 시스템의 구성 데이터 동기화 모듈로 동기화 완료 메시지를 전달하며, 상기 주 시스템의 구성 데이터 동기화 모듈이 상기 동기화 시작 메시지를 수신한 시점부터 상기 동기화 완료 메시지를 수신한 시점까지의 변경 데이터를 상기 부 시스템의 구성 데이터 동기화 모듈로 전송하는 것을 특징으로 한다.In order to achieve the above object and to solve the above-mentioned problems of the prior art, the configuration data synchronization method according to an embodiment of the present invention is a predetermined memory reference region in the sub-system when the initial configuration data synchronization of the sub-system is executed. Recording a synchronization start identifier at the sub-system, the configuration data synchronization module of the sub-system accessing a database of the main system, and retrieving configuration data; the configuration data synchronization module deletes the data recorded in the database of the sub-system and Inserting the retrieved configuration data, writing, by the configuration data synchronization module, a synchronization completion identifier in the memory reference area when configuration data synchronization is completed, and a predetermined process module in the subsystem is stored in a database of the subsystem. Inserted configuration data And loading into a predetermined shared memory in the base system, wherein when the initial configuration data synchronization of the sub system is executed, the configuration data synchronization module of the sub system starts synchronization with the configuration data synchronization module of the main system. Forwards a message, and when the configuration data synchronization is completed, the configuration data synchronization module of the secondary system sends a synchronization completion message to the configuration data synchronization module of the main system, and the configuration data synchronization module of the main system starts the synchronization. The change data from the time point at which the message is received to the time point at which the synchronization completion message is received is transmitted to the configuration data synchronization module of the subsystem.

본 발명의 또 다른 실시예에 따른 구성 데이터 동기화 방법은 주 시스템이 소정의 운영자로부터 구성 데이터 변경 요청을 수신하는 단계, 상기 구성 데이터 변경 요청의 수신에 응답하여 상기 주 시스템의 제1 구성 데이터 동기화 모듈이 제1 구성 데이터의 변경을 수행하는 단계, 상기 제1 구성 데이터의 변경이 성공적으로 수행된 경우 상기 제1 구성 데이터 동기화 모듈이 상기 구성 데이터 변경 요청을 부 시스템의 제2 구성 데이터 동기화 모듈로 전달하는 단계 및 상기 제2 구성 데이터 동기화 모듈이 상기 제1 구성 데이터 동기화 모듈의 수행 방식과 동일한 방식으로 제2 구성 데이터의 변경을 수행하는 단계를 포함하는 것을 특징으로 한다.The configuration data synchronization method according to another embodiment of the present invention comprises the steps of: receiving, by a main system, a configuration data change request from a predetermined operator, and in response to receiving the configuration data change request, a first configuration data synchronization module of the main system; Performing a change of the first configuration data, and when the first configuration data is successfully changed, the first configuration data synchronization module transmits the configuration data change request to the second configuration data synchronization module of the sub-system. And performing a change of the second configuration data by the second configuration data synchronization module in the same manner as that of the first configuration data synchronization module.

한편, 본 발명의 일실시예에 따른 구성 데이터 동기화 시스템은 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 부 시스템 내 소정의 메모리 참조 영역에 동기화 시작 식별자를 기록하는 제1 프로세스 모듈, 주 시스템의 데이터베이스에 접속하여 구성 데이터를 검색하고, 상기 부 시스템의 데이터베이스에 기록된 데이터를 삭제하고, 상기 부 시스템의 데이터베이스에 상기 검색된 구성 데이터를 삽입하며, 구성 데이터 동기화가 완료되면 상기 메모리 참조 영역에 동기화 완료 식별자를 기록하는 구성 데이터 동기화 모듈 및 상기 부 시스템의 데이터베이스에 삽 입된 구성 데이터를 상기 부 시스템 내 소정의 공유 메모리로 로딩(Loading)하는 제2 프로세스 모듈을 포함하고, 상기 제2 프로세스 모듈은 상기 동기화 시작 식별자를 감지하여 상기 구성 데이터 동기화가 완료될 때까지 대기(Waiting) 상태를 유지하고, 상기 동기화 완료 식별자를 감지한 후 상기 부 시스템의 데이터베이스에 삽입된 구성 데이터를 상기 공유 메모리로 로딩하는 것을 특징으로 한다.On the other hand, the configuration data synchronization system according to an embodiment of the present invention is a first process module for recording a synchronization start identifier in a predetermined memory reference area in the sub-system when the initial configuration data synchronization of the sub-system is executed, the database of the main system. Connect to retrieve configuration data, delete data recorded in the database of the sub-system, insert the retrieved configuration data into the database of the sub-system, and synchronize synchronization of the configuration data to the memory reference area when configuration data synchronization is completed. And a second process module for loading configuration data inserted into a database of the sub-system into a predetermined shared memory in the sub-system, wherein the second process module starts the synchronization. Detect the identifier by the identifier After until the data synchronization is completed, maintaining the standby state (Waiting), and detects the completion of the synchronization identifier is characterized in that for loading the configuration data into the database of the system unit to the shared memory.

이하, 첨부된 도면을 참조하여 본 발명에 따른 구성 데이터 동기화 방법 및 그 시스템에 대하여 상세히 설명하도록 한다.Hereinafter, a method and a system for synchronizing configuration data according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 구성 데이터 동기화 시스템에 있어서, 주 시스템과 부 시스템의 구성 데이터 동기화 모듈이 주 시스템의 데이터베이스와 부 시스템의 데이터베이스에 연결되어 데이터 동기화를 실행하는 모습을 개략적으로 도시한 도면이다.1 is a diagram schematically illustrating a configuration data synchronization module of a main system and a sub system connected to a database of a main system and a database of a sub system to perform data synchronization in a configuration data synchronization system according to the present invention. .

부 시스템(120)의 초기 구성 데이터 동기화가 실행되면 부 시스템(120)은 내부 프로세스들에게 부 시스템(120)이 초기화 상태에 있음을 알리기 위해 메모리 참조 영역에 소정의 동기화 시작 식별자를 기록하며, 상기 동기화 시작 식별자를 통해 내부 프로세스들은 구성 데이터 동기화가 완료될 때까지 대기(Waiting) 상태를 유지하게 된다. When the initial configuration data synchronization of the sub-system 120 is executed, the sub-system 120 writes a predetermined synchronization start identifier in the memory reference area to inform internal processes that the sub-system 120 is in an initialization state. The synchronization start identifier allows internal processes to wait for configuration data synchronization to complete.

부 시스템(120)의 구성 데이터 동기화 모듈(121)은 주 시스템(110)의 데이터베이스(112)에 접속하여 구성 데이터를 검색하고, 부 시스템(120)의 데이터베이스(122)에 기록된 데이터를 삭제하며, 상기 검색된 구성 데이터를 부 시스템(120)의 데이터베이스(122)에 삽입한다. The configuration data synchronization module 121 of the sub-system 120 accesses the database 112 of the main system 110 to retrieve configuration data, and deletes the data recorded in the database 122 of the sub-system 120. The searched configuration data is inserted into the database 122 of the sub-system 120.

구성 데이터 동기화가 완료되면 부 시스템(120)은 상기 메모리 참조 영역에 소정의 동기화 완료 식별자를 기록하며, 부 시스템(120) 내 프로세스들은 상기 동기화 완료 식별자를 감지하여 구성 데이터 동기화가 완료되었음을 인식한 후, 부 시스템(120)의 데이터베이스(122)에 삽입된 구성 데이터를 부 시스템 내 공유 메모리로 로딩(Loading)하게 된다.When the configuration data synchronization is completed, the sub system 120 records a predetermined synchronization completion identifier in the memory reference area, and the processes in the sub system 120 detect the synchronization completion identifier to recognize that configuration data synchronization is completed. The configuration data inserted into the database 122 of the secondary system 120 is loaded into the shared memory of the secondary system.

상기와 같은 과정을 통해 부 시스템(120)이 초기화되는 경우, 주 시스템(110)의 구성 데이터가 모두 부 시스템(120)으로 로딩되어 구성 데이터의 동기화가 용이하게 수행될 수 있다.When the sub-system 120 is initialized through the above process, all configuration data of the main system 110 is loaded into the sub-system 120, so that synchronization of the configuration data can be easily performed.

또한, 부 시스템(120)에서 전체 데이터 로딩시에 부 시스템(120)의 구성 데이터 동기화 모듈(121)은 주 시스템(110)의 구성 데이터 동기화 모듈(111)로 동기화 시작 메시지와 동기화 종료 메시지를 전달할 수 있다. 이에 따라, 주 시스템(110)의 구성 데이터 동기화 모듈(111)은 부 시스템(120)의 구성 데이터 동기화 모듈(121)로부터 동기화 종료 메시지를 받는 즉시 동기화 시작 메시지를 받은 이후부터의 변경 데이터를 부 시스템(120)의 구성 데이터 동기화 모듈(121)로 전송하게 된다. 상기 동기화 시작 메시지와 동기화 종료 메시지는 동기화 시작 후 동기화가 완료되지 않은 시점에서 주 시스템(110)에서 변경된 내용에 대해서도 동기화를 보장하기 위한 것이다.In addition, the configuration data synchronization module 121 of the sub-system 120 may deliver the synchronization start message and the synchronization end message to the configuration data synchronization module 111 of the main system 110 when the sub-system 120 loads the entire data. Can be. Accordingly, the configuration data synchronization module 111 of the primary system 110 receives the change data after receiving the synchronization start message immediately after receiving the synchronization termination message from the configuration data synchronization module 121 of the secondary system 120. Configuration data synchronization module 121 of 120 is transmitted. The synchronization start message and the synchronization end message are for guaranteeing synchronization even with the contents changed in the main system 110 at the time when synchronization is not completed after the synchronization start message.

한편, 주 시스템(110)이 운영자로부터 구성 데이터 변경 요청을 수신하면, 주 시스템(110)의 구성 데이터 동기화 모듈(111)은 주 시스템(110) 내 구성 데이터의 변경을 수행한다. On the other hand, when the main system 110 receives a configuration data change request from the operator, the configuration data synchronization module 111 of the main system 110 performs the change of the configuration data in the main system 110.

주 시스템(110)의 구성 데이터 동기화 모듈(111)은 변경이 성공적으로 수행된 경우, 운영자로부터 수신된 상기 구성 데이터 변경 요청을 부 시스템(120)의 구성 데이터 동기화 모듈(121)로 전달하며, 부 시스템(120)의 구성 데이터 동기화 모듈(121)은 주 시스템(110)의 구성 데이터 동기화 모듈(111)이 주 시스템(110) 내 구성 데이터의 변경을 수행한 방식과 동일한 방식으로 부 시스템(120) 내 구성 데이터의 변경을 수행하게 된다.The configuration data synchronization module 111 of the primary system 110 transmits the configuration data change request received from the operator to the configuration data synchronization module 121 of the secondary system 120 when the change is successfully performed. The configuration data synchronization module 121 of the system 120 uses the sub-system 120 in the same manner as the configuration data synchronization module 111 of the main system 110 performed the change of the configuration data in the main system 110. You will be making changes to your configuration data.

상기와 같은 과정을 통해 IP 통신 시스템의 운영 도중 운영자가 구성 데이터 변경을 요청할 경우에도 주 시스템(110) 및 부 시스템(120)간 구성 데이터의 동기화가 용이하게 수행될 수 있다.When the operator requests configuration data change during the operation of the IP communication system through the above process, synchronization of configuration data between the main system 110 and the sub-system 120 may be easily performed.

도 2는 본 발명의 일실시예에 따른 구성 데이터 동기화 방법을 도시한 흐름도로서, 부 시스템이 초기화되는 경우에 따른 구성 데이터 동기화 방법을 도시한 것이다. 2 is a flowchart illustrating a configuration data synchronization method according to an embodiment of the present invention, and illustrates a configuration data synchronization method according to a case where a sub system is initialized.

본 실시예에 따른 구성 데이터 동기화 방법은 소정의 구성 데이터 동기화 시스템에 의해 수행될 수 있으며, 상기 구성 데이터 동기화 시스템은 부 시스템 내 위치하는 구성 데이터 동기화 모듈(210)과 프로세스 모듈(220)을 포함하여 구성될 수 있다.The configuration data synchronization method according to the present embodiment may be performed by a predetermined configuration data synchronization system, and the configuration data synchronization system includes a configuration data synchronization module 210 and a process module 220 located in a sub system. Can be configured.

단계(S201)에서 프로세스 모듈(220)은 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 부 시스템 내 소정의 메모리 참조 영역에 동기화 시작 식별자를 기록한다. In step S201, when synchronization of the initial configuration data of the subsystem is performed, the process module 220 records the synchronization start identifier in a predetermined memory reference area in the subsystem.

이 경우, 프로세스 모듈(220)을 비롯한 부 시스템 내 모든 프로세스들은 상 기 메모리 참조 영역에 기록된 상기 동기화 시작 식별자를 감지하여 구성 데이터 동기화가 완료될 때까지 대기(Waiting) 상태를 유지할 수 있게 된다.In this case, all the processes in the sub-system including the process module 220 may detect the synchronization start identifier recorded in the memory reference area and maintain the waiting state until the configuration data synchronization is completed.

한편, 구성 데이터 동기화 모듈(210)은 부 시스템의 초기 구성 데이터 동기화가 실행되면 주 시스템의 구성 데이터 동기화 모듈(230)로 동기화 시작 메시지를 전달한다(S202).On the other hand, the configuration data synchronization module 210 transmits the synchronization start message to the configuration data synchronization module 230 of the main system when the initial configuration data synchronization of the secondary system is executed (S202).

단계(S203)에서 구성 데이터 동기화 모듈(210)은 구성 데이터 이중화를 위해 주 시스템의 데이터베이스에 접속하고, 부 시스템의 데이터베이스에 접속한다.In step S203, the configuration data synchronization module 210 accesses a database of the primary system for configuration data redundancy, and accesses a database of the secondary system.

구성 데이터 동기화 모듈(210)은 단계(S204)에서 주 시스템의 데이터베이스에서 구성 데이터를 검색하고, 단계(S205)에서 부 시스템의 데이터베이스에 기록된 데이터를 삭제한 후, 단계(S206)에서 상기 검색된 구성 데이터를 부 시스템의 데이터베이스에 삽입한다. 이러한 과정을 통해 주 시스템의 구성 데이터가 부 시스템상에서 이중화되어 구성 데이터 동기화가 완료될 수 있다. The configuration data synchronization module 210 retrieves the configuration data from the database of the main system in step S204, deletes the data recorded in the database of the sub-system in step S205, and then retrieves the configuration in the step S206. Insert data into the subsystem's database. Through this process, configuration data of the main system can be duplicated on the sub-system to complete configuration data synchronization.

구성 데이터 동기화 모듈(210)은 단계(S207)에서 구성 데이터 동기화가 완료되면 상기 메모리 참조 영역에 동기화 완료 식별자를 기록하며, 주 시스템의 구성 데이터 동기화 모듈(230)로 동기화 완료 메시지를 전달한다.The configuration data synchronization module 210 records the synchronization completion identifier in the memory reference area when the configuration data synchronization is completed in step S207, and transmits a synchronization completion message to the configuration data synchronization module 230 of the main system.

주 시스템의 구성 데이터 동기화 모듈(230)은 상기 동기화 시작 메시지를 수신한 시점부터 상기 동기화 완료 메시지를 수신한 시점까지의 변경 데이터를 부 시스템의 구성 데이터 동기화 모듈(210)로 전송하며(S209), 부 시스템의 구성 데이터 동기화 모듈(210)은 상기 수신된 변경 데이터에 기초하여 프로세스 모듈(220)로 데이터 변경 요청을 전달한다(S210). 이와 같이 상기 동기화 시작 메시지와 동기화 종료 메시지는 동기화 시작 후 동기화가 완료되지 않은 시점에서 주 시스템에서 변경된 내용에 대해서도 동기화를 보장하기 위한 것이다.The configuration data synchronization module 230 of the primary system transmits the change data from the time point at which the synchronization start message is received to the time point at which the synchronization completion message is received to the configuration data synchronization module 210 of the secondary system (S209). The configuration data synchronization module 210 of the sub system transmits a data change request to the process module 220 based on the received change data (S210). As such, the synchronization start message and the synchronization end message are for guaranteeing synchronization with respect to contents changed in the main system at the time when synchronization is not completed after the synchronization start message.

한편, 프로세스 모듈(220)은 상기 메모리 참조 영역에 기록된 상기 동기화 완료 식별자를 감지하여 구성 데이터 동기화가 완료되었음을 인식한 후, 부 시스템의 데이터베이스에 삽입된 구성 데이터를 부 시스템 내 소정의 공유 메모리로 로딩(Loading)할 수 있게 된다(S210).Meanwhile, the process module 220 detects the synchronization completion identifier recorded in the memory reference area and recognizes that the configuration data synchronization is completed, and then transfers the configuration data inserted into the database of the sub system to a predetermined shared memory in the sub system. Loading can be made (S210).

본 실시예에 의하면, 주 시스템과 부 시스템에서 사용되는 데이터베이스의 기능과는 별개로 전체 구성 데이터의 동기화가 가능함으로 인해, 기존 고가의 상용 데이터베이스 시스템을 이용한 이중화 방식을 사용하지 않음으로써 데이터 이중화에 따라 소요되는 비용을 크게 절감할 수 있게 된다. 더욱이, 주 시스템과 부 시스템간 전체 구성 데이터의 동기화를 수행하여도 주 시스템의 부하에는 아무런 영향이 미치지 않게 된다.According to the present embodiment, since the entire configuration data can be synchronized separately from the functions of the database used in the main system and the sub-system, the data duplication method is not performed by using a duplication method using an existing expensive commercial database system. The cost can be greatly reduced. Moreover, the synchronization of the entire configuration data between the main system and the sub system does not affect the load of the main system.

그 결과 본 발명에 따르면, 이중화 기능을 포함하는 고가의 데이터베이스 시스템 및 메모리상의 데이터 동기화 방식에 의존하지 않고도 주 시스템과 부 시스템간 전체 구성 데이터의 동기화가 용이하게 수행되는 획기적 효과가 발생한다.As a result, according to the present invention, a significant effect occurs that the entire configuration data is easily synchronized between the main system and the sub-system without relying on an expensive database system including a redundancy function and a data synchronization method in memory.

도 3은 본 발명의 또 다른 실시예에 따른 구성 데이터 동기화 방법을 도시한 흐름도로서, IP 통신 시스템의 운영 도중 운영자로부터 구성 데이터 변경 요청을 수신하는 경우에 따른 구성 데이터 동기화 방법을 도시한 것이다.3 is a flowchart illustrating a configuration data synchronization method according to another embodiment of the present invention, and illustrates a configuration data synchronization method according to a case where a configuration data change request is received from an operator during an operation of an IP communication system.

본 실시예에 따른 구성 데이터 동기화 방법은 소정의 구성 데이터 동기화 시스템에 의해 수행될 수 있으며, 상기 구성 데이터 동기화 시스템은 주 시스템 내 위치하는 제1 구성 데이터 동기화 모듈(310)과 제1 프로세스 모듈(330) 및 부 시스템 내 위치하는 제2 구성 데이터 동기화 모듈(320)과 제2 프로세스 모듈(340)을 포함하여 구성될 수 있다.The configuration data synchronization method according to the present embodiment may be performed by a predetermined configuration data synchronization system, and the configuration data synchronization system may include a first configuration data synchronization module 310 and a first process module 330 located in a main system. And a second configuration data synchronization module 320 and a second process module 340 located in the subsystem.

단계(S301)에서 제1 구성 데이터 동기화 모듈(310)은 소정의 운영자로부터 구성 데이터 변경 요청을 수신하고, 상기 구성 데이터 변경 요청의 수신에 응답하여 주 시스템 내 구성 데이터의 변경을 수행한다. In step S301, the first configuration data synchronization module 310 receives a configuration data change request from a predetermined operator, and performs configuration data change in the main system in response to receiving the configuration data change request.

이를 위해, 제1 구성 데이터 동기화 모듈(310)은 단계(S302)에서 제1 프로세스 모듈(330)에게 상기 구성 데이터의 변경을 요구할 수 있으며, 제1 프로세스 모듈(330)은 단계(S303)에서 상기 변경 요구를 수신하고 상기 변경 결과를 제1 구성 데이터 동기화 모듈(310)로 전송할 수 있다.To this end, the first configuration data synchronization module 310 may request the first process module 330 to change the configuration data in step S302, and the first process module 330 may perform the step S303. A change request may be received and the change result may be transmitted to the first configuration data synchronization module 310.

제1 구성 데이터 동기화 모듈(310)은 제1 프로세스 모듈(330)로부터 상기 변경 결과를 수신하고, 주 시스템 내 구성 데이터의 변경이 성공적으로 수행된 경우 단계(S304)에서 운영자의 구성 데이터 변경 요청을 부 시스템의 제2 구성 데이터 동기화 모듈(320)로 전달한다.The first configuration data synchronization module 310 receives the change result from the first process module 330, and if the change of the configuration data in the main system is successfully performed, in step S304, the operator requests to change the configuration data. Transfer to the second configuration data synchronization module 320 of the subsystem.

이 경우, 제2 구성 데이터 동기화 모듈(320)은 주 시스템에서 제1 구성 데이터 동기화 모듈(310)이 수행한 방식과 동일한 방식으로 부 시스템 내 구성 데이터의 변경을 수행할 수 있다.In this case, the second configuration data synchronization module 320 may change the configuration data in the sub-system in the same manner as that performed by the first configuration data synchronization module 310 in the main system.

이를 위해, 제2 구성 데이터 동기화 모듈(320)은 단계(S305)에서 제2 프로세스 모듈(340)에게 상기 구성 데이터의 변경을 요구할 수 있으며, 제2 프로세스 모듈(340)은 단계(S306)에서 상기 변경 요구를 수신하고 상기 변경 결과를 제2 구성 데이터 동기화 모듈(320)로 전송할 수 있다.To this end, the second configuration data synchronization module 320 may request the second process module 340 to change the configuration data in step S305, and the second process module 340 may perform the step S306. A change request may be received and the change result may be transmitted to the second configuration data synchronization module 320.

제2 구성 데이터 동기화 모듈(320)은 제2 프로세스 모듈(340)로부터 상기 변경 결과를 수신하고, 부 시스템 내 구성 데이터의 변경이 성공적으로 수행된 경우 구성 데이터 동기화를 완료할 수 있다.The second configuration data synchronization module 320 may receive the change result from the second process module 340, and may complete configuration data synchronization when the change of the configuration data in the sub-system is successfully performed.

이와 달리 부 시스템 내 구성 데이터의 변경이 성공적으로 수행되지 않은 경우, 제2 구성 데이터 동기화 모듈(320)은 단계(S307)에서 큐(Queue)에 제1 구성 데이터 동기화 모듈(310)로부터 전달받은 운영자의 구성 데이터 변경 요청을 기록한다. 이 경우, 제2 구성 데이터 동기화 모듈(320)은 상기 큐에 기록된 운영자의 구성 데이터 변경 요청에 기초하여 주기적으로 부 시스템 내 구성 데이터의 변경을 수행하게 된다.On the contrary, when the configuration data in the sub-system is not successfully changed, the second configuration data synchronization module 320 receives the operator from the first configuration data synchronization module 310 to the queue in step S307. Record the configuration data change request. In this case, the second configuration data synchronization module 320 periodically changes the configuration data in the sub-system based on the configuration data change request of the operator recorded in the queue.

한편, 상기 큐에 기록된 상기 구성 데이터 변경 요청의 개수가 소정의 개수를 초과한 경우, 제2 구성 데이터 동기화 모듈(320)은 추가적인 부 시스템 내 구성 데이터의 변경을 수행하지 않으며, 단계(S308)에서 부 시스템의 초기 데이터 동기화를 실행하게 된다.On the other hand, if the number of configuration data change requests recorded in the queue exceeds a predetermined number, the second configuration data synchronization module 320 does not change the configuration data in the additional sub-system, in step S308. Will perform the initial data synchronization of the subsystem.

본 실시예에 의하면, 주 시스템과 부 시스템에서 사용되는 데이터베이스의 기능과는 독립적으로, IP 통신 시스템 운영 도중 운영자가 구성 데이터 변경을 명령하더라도 주 시스템과 부 시스템간에 실시간으로 구성 데이터의 동기화가 가능하게 된다. 더욱이, 구성 데이터를 조작하는 프로세스간의 연결 관계가 존재할 필요가 없고, 구성 데이터를 변경하는 프로세스들이 상대 시스템의 데이터 변경에는 관여하지 않도록 함으로써 개발을 용이하게 하고 데이터 동기화의 실패 가능성이 현 저히 감소하게 된다.According to this embodiment, independent of the functions of the database used in the main system and the sub-system, the configuration data can be synchronized in real time between the main system and the sub-system even if an operator commands configuration data change during the operation of the IP communication system. do. Moreover, there is no need for a connection relationship between the processes for manipulating the configuration data, and the process of changing the configuration data does not participate in changing the data of the partner system, facilitating development and significantly reducing the possibility of data synchronization failure. .

그 결과 본 발명에 따르면, 이중화 기능을 포함하는 고가의 데이터베이스 시스템 및 메모리상의 데이터 동기화 방식에 의존하지 않고도 주 시스템과 부 시스템간 실시간으로 구성 데이터의 동기화가 수행되는 획기적 효과가 발생한다.As a result, according to the present invention, there is a significant effect that synchronization of configuration data is performed in real time between the main system and the sub-system without relying on an expensive database system including a redundancy function and a data synchronization method in memory.

본 발명에 따른 구성 데이터 동기화 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 상기 매체는 프로그램 명령, 데이터 구조 등을 지정하는 신호를 전송하는 반송파를 포함하는 광 또는 금속선, 도파관 등의 전송 매체일 수도 있다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역 도 마찬가지이다.The method for synchronizing configuration data according to the present invention can be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. The medium may be a transmission medium such as an optical or metal wire, a waveguide, or the like including a carrier wave for transmitting a signal specifying a program command, a data structure, or the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

도 4는 본 발명에 따른 구성 데이터 동기화 방법을 수행하는 데 채용될 수 있는 범용 컴퓨터 장치의 내부 블록도이다.4 is an internal block diagram of a general purpose computer device that may be employed to perform the method of synchronizing configuration data according to the present invention.

컴퓨터 장치(400)는 램(RAM: Random Access Memory)(420)과 롬(ROM: Read Only Memory)(430)을 포함하는 주기억장치와 연결되는 하나 이상의 프로세서(410)를 포함한다. 프로세서(410)는 중앙처리장치(CPU)로 불리기도 한다. 본 기술분야에서 널리 알려져 있는 바와 같이, 롬(430)은 데이터(data)와 명령(instruction)을 단방향성으로 CPU에 전송하는 역할을 하며, 램(420)은 통상적으로 데이터와 명령을 양방향성으로 전송하는 데 사용된다. 램(420) 및 롬(430)은 컴퓨터 판독 가능 매체의 어떠한 적절한 형태를 포함할 수 있다. 대용량 기억장치(Mass Storage)(440)는 양방향성으로 프로세서(410)와 연결되어 추가적인 데이터 저장 능력을 제공하며, 상기된 컴퓨터 판독 가능 기록 매체 중 어떠한 것일 수 있다. 대용량 기억장치(440)는 프로그램, 데이터 등을 저장하는데 사용되며, 통상적으로 주기억장치보다 속도가 느린 하드 디스크와 같은 보조기억장치이다. CD 롬(460)과 같은 특정 대용량 기억장치가 사용될 수도 있다. 프로세서(410)는 비디오 모니터, 트랙볼, 마우스, 키보드, 마이크로폰, 터치스크린 형 디스플레이, 카드 판독기, 자기 또는 종이 테이프 판독기, 음성 또는 필기 인식기, 조이스틱, 또는 기타 공지된 컴퓨터 입출력장치와 같은 하나 이상의 입출력 인터페이스(450)와 연결된다. 마지막으로, 프로세서(410)는 네트워크 인터페이스(470)를 통하여 유선 또는 무선 통신 네트워크에 연결될 수 있다. 이러한 네트워크 연결을 통하여 상기된 방법의 절차를 수행 할 수 있다. 상기된 장치 및 도구는 컴퓨터 하드웨어 및 소프트웨어 기술 분야의 당업자에게 잘 알려져 있다. 한편, 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있다.Computer device 400 includes one or more processors 410 coupled with a main memory device including random access memory (RAM) 420 and read only memory (ROM) 430. The processor 410 is also called a central processing unit (CPU). As is well known in the art, the ROM 430 serves to transfer data and instructions to the CPU unidirectionally, and the RAM 420 typically transfers data and instructions bidirectionally. Used to. RAM 420 and ROM 430 may include any suitable form of computer readable media. Mass storage 440 is bidirectionally coupled to processor 410 to provide additional data storage capabilities, and may be any of the computer readable recording media described above. The mass storage device 440 is used to store programs, data, and the like, and is a secondary memory device such as a hard disk which is generally slower than the main memory device. Certain mass storage devices such as CD ROM 460 may be used. The processor 410 may include one or more input / output interfaces, such as a video monitor, trackball, mouse, keyboard, microphone, touchscreen display, card reader, magnetic or paper tape reader, voice or handwriting reader, joystick, or other known computer input / output device. Connected with 450. Finally, the processor 410 may be connected to a wired or wireless communication network through the network interface 470. Through this network connection, the procedure of the method described above can be performed. The apparatus and tools described above are well known to those skilled in the computer hardware and software arts. On the other hand, the hardware device described above may be configured to operate as one or more software modules to perform the operations of the present invention.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, although the present invention has been described with reference to limited embodiments and drawings, the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.

그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the claims below but also by the equivalents of the claims.

본 발명에 따르면, 이중화 기능을 포함하는 고가의 데이터베이스 시스템 및 메모리상의 데이터 동기화 방식에 의존하지 않고도 주 시스템과 부 시스템간 전체 구성 데이터의 동기화가 용이하게 수행될 수 있도록 하는 새로운 방식의 구성 데이터 동기화 방법 및 그 시스템이 제공된다.According to the present invention, a novel method for synchronizing configuration data between a main system and a sub-system can be easily performed without relying on an expensive database system including a redundancy function and a data synchronization method on a memory. And the system.

본 발명에 따른 구성 데이터 동기화 방법 및 그 시스템에 의하면, 기존 고가의 상용 데이터베이스 시스템을 이용한 이중화 방식을 사용하지 않음으로써 데이터 이중화에 따라 소요되는 비용을 크게 절감할 수 있는 효과를 얻을 수 있다.According to the method and system for synchronizing the configuration data according to the present invention, it is possible to significantly reduce the cost of data duplication by not using a duplication method using an existing expensive commercial database system.

본 발명에 따른 구성 데이터 동기화 방법 및 그 시스템에 의하면, 주 시스템과 부 시스템에서 사용되는 데이터베이스의 기능과는 독립적으로, IP 통신 시스템 운영 중 전체 구성 데이터의 동기화가 가능하도록 하는 효과를 얻을 수 있다. According to the configuration data synchronization method and the system according to the present invention, independent of the functions of the database used in the primary system and the secondary system, it is possible to obtain the effect of enabling the synchronization of the entire configuration data during the operation of the IP communication system.                     

본 발명에 따른 구성 데이터 동기화 방법 및 그 시스템에 의하면, IP 통신 시스템 운영 중에 주 시스템과 부 시스템간 전체 구성 데이터의 동기화를 수행하여도 주 시스템의 부하에 아무런 영향이 없도록 하는 효과를 얻을 수 있다.According to the method and system for synchronizing configuration data according to the present invention, even when the entire configuration data is synchronized between the main system and the sub-systems during the operation of the IP communication system, the load of the main system can be obtained.

본 발명에 따른 구성 데이터 동기화 방법 및 그 시스템에 의하면, 구성 데이터의 메모리 동기화를 실행하지 않음으로써 구성 데이터를 조작하는 프로세스간의 연결 관계가 존재할 필요가 없도록 하고, 또한 구성 데이터를 변경하는 프로세스들이 상대 시스템의 데이터 변경에 관여하지 않도록 함으로써 개발을 용이하게 하고 데이터 동기화의 실패 가능성을 현저히 감소시키는 효과를 얻을 수 있다.According to the method and system for synchronizing configuration data according to the present invention, there is no need for a connection relationship between processes for manipulating configuration data by not performing memory synchronization of the configuration data, and processes for changing the configuration data are not included in the partner system. By not being involved in data changes in the system, it is easy to develop and significantly reduce the possibility of data synchronization failure.

Claims (13)

운영-대기(Active-Standby) 모드로 이중화된 IP 통신 시스템에서 주 시스템과 부 시스템간 구성 데이터를 동기화하기 위한 방법에 있어서,A method for synchronizing configuration data between a primary system and a secondary system in an IP communication system duplexed in an active-standby mode, 상기 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 부 시스템 내 소정의 메모리 참조 영역에 동기화 시작 식별자를 기록하는 단계;Writing a synchronization start identifier to a predetermined memory reference area in the subsystem when synchronization of the initial configuration data of the subsystem is performed; 상기 부 시스템의 구성 데이터 동기화 모듈이 상기 주 시스템의 데이터베이스에 접속하여 전체 구성 데이터를 검색하는 단계;The configuration data synchronization module of the secondary system accessing the database of the primary system to retrieve the entire configuration data; 상기 구성 데이터 동기화 모듈이 상기 부 시스템의 데이터베이스에 기록된 데이터를 삭제하고, 상기 검색된 전체 구성 데이터를 삽입하는 단계;Deleting, by the configuration data synchronization module, data recorded in a database of the sub-system, and inserting the retrieved entire configuration data; 상기 구성 데이터 동기화 모듈이 구성 데이터 동기화가 완료되면 상기 메모리 참조 영역에 동기화 완료 식별자를 기록하는 단계; 및Writing, by the configuration data synchronization module, a synchronization complete identifier to the memory reference area when configuration data synchronization is completed; And 상기 부 시스템 내 소정의 프로세스 모듈이 상기 부 시스템의 데이터베이스에 삽입된 구성 데이터를 상기 부 시스템 내 소정의 공유 메모리로 로딩(Loading)하는 단계Loading, by a predetermined process module in the subsystem, into configuration data inserted into a database of the subsystem into a predetermined shared memory in the subsystem; 를 포함하는 것을 특징으로 하는 구성 데이터 동기화 방법.Configuration data synchronization method comprising a. 제1항에 있어서,The method of claim 1, 상기 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 부 시스템의 구성 데이터 동기화 모듈이 상기 주 시스템의 구성 데이터 동기화 모듈로 동기화 시 작 메시지를 전달하는 단계;Forwarding, by the configuration data synchronization module of the sub-system to the configuration data synchronization module of the main system, when initial configuration data synchronization of the sub system is executed; 상기 구성 데이터 동기화가 완료되면 상기 부 시스템의 구성 데이터 동기화 모듈이 상기 주 시스템의 구성 데이터 동기화 모듈로 동기화 완료 메시지를 전달하는 단계; 및Transmitting, by the configuration data synchronization module of the sub-system, to the configuration data synchronization module of the main system when the configuration data synchronization is completed; And 상기 주 시스템의 구성 데이터 동기화 모듈이 상기 동기화 시작 메시지를 수신한 시점부터 상기 동기화 완료 메시지를 수신한 시점까지의 변경 데이터를 상기 부 시스템의 구성 데이터 동기화 모듈로 전송하는 단계Transmitting, by the configuration data synchronization module of the main system, the change data from the time point at which the synchronization start message is received to the time point at which the synchronization completion message is received to the configuration data synchronization module of the sub system. 를 더 포함하는 것을 특징으로 하는 구성 데이터 동기화 방법.Configuration data synchronization method further comprises. 제1항에 있어서,The method of claim 1, 상기 프로세스 모듈은 상기 메모리 참조 영역에 기록된 상기 동기화 시작 식별자를 감지하여 상기 구성 데이터 동기화가 완료될 때까지 대기(Waiting) 상태를 유지하는 것을 특징으로 하는 구성 데이터 동기화 방법.And the process module detects the synchronization start identifier recorded in the memory reference area and maintains a waiting state until the configuration data synchronization is completed. 제1항에 있어서,The method of claim 1, 상기 프로세스 모듈이 상기 부 시스템의 데이터베이스에 삽입된 구성 데이터를 상기 공유 메모리로 로딩하는 상기 단계는The step of loading the configuration data inserted into the database of the subsystem into the shared memory by the process module 상기 프로세스 모듈이 상기 메모리 참조 영역에 기록된 상기 동기화 완료 식별자를 감지한 후 상기 부 시스템의 데이터베이스에 삽입된 구성 데이터를 상기 공유 메모리로 로딩하는 단계인 것을 특징으로 하는 구성 데이터 동기화 방법.And loading, by the process module, the configuration data inserted into the database of the sub-system into the shared memory after detecting the synchronization completion identifier recorded in the memory reference area. 운영-대기(Active-Standby) 모드로 이중화된 IP 통신 시스템에서 주 시스템과 부 시스템간 구성 데이터를 동기화하기 위한 방법에 있어서,A method for synchronizing configuration data between a primary system and a secondary system in an IP communication system duplexed in an active-standby mode, 상기 주 시스템이 소정의 운영자로부터 구성 데이터 변경 요청을 수신하는 단계;Receiving, by the main system, a configuration data change request from a predetermined operator; 상기 구성 데이터 변경 요청의 수신에 응답하여 상기 주 시스템의 제1 구성 데이터 동기화 모듈이 제1 구성 데이터의 변경을 수행하는 단계;In response to receiving the configuration data change request, a first configuration data synchronization module of the master system performing a change of the first configuration data; 상기 제1 구성 데이터의 변경이 성공적으로 수행된 경우, 상기 제1 구성 데이터 동기화 모듈이 상기 구성 데이터 변경 요청을 상기 부 시스템의 제2 구성 데이터 동기화 모듈로 전달하는 단계; 및When the change of the first configuration data is successfully performed, transmitting, by the first configuration data synchronization module, the configuration data change request to a second configuration data synchronization module of the subsystem; And 상기 제2 구성 데이터 동기화 모듈이 상기 제1 구성 데이터 동기화 모듈의 수행 방식과 동일한 방식으로 제2 구성 데이터의 변경을 수행하는 단계The second configuration data synchronization module performing a change of the second configuration data in the same manner as that of the first configuration data synchronization module; 를 포함하는 것을 특징으로 하는 구성 데이터 동기화 방법.Configuration data synchronization method comprising a. 제5항에 있어서,The method of claim 5, 상기 제1 구성 데이터 동기화 모듈이 상기 제1 구성 데이터의 변경을 수행하는 상기 단계는The step of the first configuration data synchronization module to perform the change of the first configuration data is 상기 제1 구성 데이터 동기화 모듈이 상기 주 시스템의 소정의 제1 프로세스 모듈에게 상기 제1 구성 데이터의 변경을 요구하는 단계; 및The first configuration data synchronization module requesting a predetermined first process module of the main system to change the first configuration data; And 상기 제1 프로세스 모듈로부터 변경 결과를 수신하는 단계Receiving a change result from the first process module 를 포함하고,Including, 상기 제2 구성 데이터 동기화 모듈이 상기 제2 구성 데이터의 변경을 수행하는 상기 단계는The step of the second configuration data synchronization module to perform the change of the second configuration data is 상기 제2 구성 데이터 동기화 모듈이 상기 부 시스템의 소정의 제2 프로세스 모듈에게 상기 제2 구성 데이터의 변경을 요구하는 단계; 및The second configuration data synchronization module requesting a predetermined second process module of the subsystem to change the second configuration data; And 상기 제2 프로세스 모듈로부터 변경 결과를 수신하는 단계Receiving a change result from the second process module 를 포함하는 것을 특징으로 하는 구성 데이터 동기화 방법.Configuration data synchronization method comprising a. 제5항에 있어서,The method of claim 5, 상기 제2 구성 데이터의 변경이 성공적으로 수행되지 않은 경우, 큐(Queue)에 상기 구성 데이터 변경 요청을 기록하는 단계;If the change of the second configuration data is not successfully performed, recording the configuration data change request in a queue; 상기 큐에 기록된 상기 구성 데이터 변경 요청에 기초하여 주기적으로 상기 제2 구성 데이터의 변경을 수행하는 단계; 및Periodically changing the second configuration data based on the configuration data change request recorded in the queue; And 상기 큐에 기록된 상기 구성 데이터 변경 요청의 개수가 소정의 개수를 초과한 경우, 상기 부 시스템의 초기 데이터 동기화를 실행하는 단계Executing initial data synchronization of the sub-system when the number of configuration data change requests recorded in the queue exceeds a predetermined number. 를 더 포함하는 것을 특징으로 하는 구성 데이터 동기화 방법.Configuration data synchronization method further comprises. 제1항 내지 제7항 중 어느 한 항의 방법을 실행하기 위한 프로그램이 기록되어 있는 것을 특징으로 하는 컴퓨터에서 판독 가능한 기록 매체.A computer-readable recording medium in which a program for executing the method of any one of claims 1 to 7 is recorded. 운영-대기(Active-Standby) 모드로 이중화된 IP 통신 시스템에서 주 시스템과 부 시스템간 구성 데이터를 동기화하기 위한 시스템에 있어서,In a system for synchronizing configuration data between a primary system and a secondary system in an IP communication system duplexed in an active-standby mode, 상기 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 부 시스템 내 소정의 메모리 참조 영역에 동기화 시작 식별자를 기록하는 제1 프로세스 모듈;A first process module that writes a synchronization start identifier to a predetermined memory reference area in the subsystem when synchronization of initial configuration data of the subsystem is performed; 상기 주 시스템의 데이터베이스에 접속하여 전체 구성 데이터를 검색하고, 상기 부 시스템의 데이터베이스에 기록된 데이터를 삭제하고, 상기 부 시스템의 데이터베이스에 상기 검색된 전체 구성 데이터를 삽입하며, 구성 데이터 동기화가 완료되면 상기 메모리 참조 영역에 동기화 완료 식별자를 기록하는 구성 데이터 동기화 모듈; 및Access the database of the main system to retrieve the entire configuration data, delete data recorded in the database of the sub-system, insert the retrieved entire configuration data into the database of the sub-system, and when synchronization of the configuration data is completed, A configuration data synchronization module for recording the synchronization completion identifier in the memory reference area; And 상기 부 시스템의 데이터베이스에 삽입된 구성 데이터를 상기 부 시스템 내 소정의 공유 메모리로 로딩(Loading)하는 제2 프로세스 모듈A second process module for loading configuration data inserted into a database of the sub-system into a predetermined shared memory in the sub-system 을 포함하고,Including, 상기 제2 프로세스 모듈은 상기 동기화 시작 식별자를 감지하여 상기 구성 데이터 동기화가 완료될 때까지 대기(Waiting) 상태를 유지하고, 상기 동기화 완료 식별자를 감지한 후 상기 부 시스템의 데이터베이스에 삽입된 구성 데이터를 상기 공유 메모리로 로딩하는 것을 특징으로 하는 구성 데이터 동기화 시스템.The second process module detects the synchronization start identifier and maintains a waiting state until the configuration data synchronization is completed, and detects the synchronization completion identifier and stores the configuration data inserted into the database of the subsystem. And loading the shared memory into the shared memory. 제9항에 있어서,The method of claim 9, 상기 구성 데이터 동기화 모듈은 The configuration data synchronization module 상기 부 시스템의 초기 구성 데이터 동기화가 실행되면 상기 주 시스템의 구 성 데이터 동기화 모듈로 동기화 시작 메시지를 전달하고, 상기 구성 데이터 동기화가 완료되면 상기 주 시스템의 구성 데이터 동기화 모듈로 동기화 완료 메시지를 전달하며, 상기 주 시스템의 구성 데이터 동기화 모듈로부터 상기 동기화 시작 메시지를 수신한 시점부터 상기 동기화 완료 메시지를 수신한 시점까지의 변경 데이터를 수신하는 것을 특징으로 하는 구성 데이터 동기화 시스템.When the initial configuration data synchronization of the secondary system is executed, the synchronization start message is transmitted to the configuration data synchronization module of the main system. And receiving change data from a time point at which the synchronization start message is received to a time point at which the synchronization completion message is received from the configuration data synchronization module of the main system. 운영-대기(Active-Standby) 모드로 이중화된 IP 통신 시스템에서 주 시스템과 부 시스템간 구성 데이터를 동기화하기 위한 시스템에 있어서,In a system for synchronizing configuration data between a primary system and a secondary system in an IP communication system duplexed in an active-standby mode, 소정의 운영자로부터 상기 주 시스템으로의 구성 데이터 변경 요청을 수신하고, 제1 구성 데이터의 변경을 수행하며, 상기 제1 구성 데이터의 변경이 성공적으로 수행된 경우 상기 구성 데이터 변경 요청을 상기 부 시스템으로 전달하는 제1 구성 데이터 동기화 모듈; 및Receive a configuration data change request from a given operator to the primary system, perform a change of the first configuration data, and if the change of the first configuration data is successfully performed, send the configuration data change request to the secondary system. A first configuration data synchronization module for transmitting; And 제1 구성 데이터 동기화 모듈로부터 상기 구성 데이터 변경 요청을 수신하고, 상기 제1 구성 데이터 동기화 모듈의 수행 방식과 동일한 방식으로 제2 구성 데이터의 변경을 수행하는 제2 구성 데이터 동기화 모듈A second configuration data synchronization module configured to receive the configuration data change request from a first configuration data synchronization module and to change the second configuration data in the same manner as that of the first configuration data synchronization module; 을 포함하는 것을 특징으로 하는 구성 데이터 동기화 시스템.Configuration data synchronization system comprising a. 제11항에 있어서,The method of claim 11, 상기 제1 구성 데이터 동기화 모듈로부터 상기 제1 구성 데이터에 대한 변경 요구를 수신하고, 상기 변경 결과를 상기 제1 구성 데이터 동기화 모듈로 전송하는 제1 프로세스 모듈; 및A first process module for receiving a change request for the first configuration data from the first configuration data synchronization module and transmitting the result of the change to the first configuration data synchronization module; And 상기 제2 구성 데이터 동기화 모듈로부터 상기 제2 구성 데이터에 대한 변경 요구를 수신하고, 상기 변경 결과를 상기 제2 구성 데이터 동기화 모듈로 전송하는 제2 프로세스 모듈A second process module that receives a change request for the second configuration data from the second configuration data synchronization module and transmits the result of the change to the second configuration data synchronization module 을 더 포함하는 것을 특징으로 하는 구성 데이터 동기화 시스템.Configuration data synchronization system further comprises. 제11항에 있어서,The method of claim 11, 상기 제2 구성 데이터의 변경이 성공적으로 수행되지 않은 경우, 상기 제2 구성 데이터 동기화 모듈은 큐(Queue)에 상기 구성 데이터 변경 요청을 기록하고, 상기 큐에 기록된 상기 구성 데이터 변경 요청에 기초하여 주기적으로 상기 제2 구성 데이터의 변경을 수행하며, If the change of the second configuration data has not been successfully performed, the second configuration data synchronization module writes the configuration data change request to a queue, and based on the configuration data change request recorded in the queue. Periodically changing the second configuration data, 상기 큐에 기록된 상기 구성 데이터 변경 요청의 개수가 소정의 개수를 초과한 경우, 상기 부 시스템의 초기 데이터 동기화가 실행되는 것을 특징으로 하는 구성 데이터 동기화 시스템.And, when the number of configuration data change requests recorded in the queue exceeds a predetermined number, initial data synchronization of the sub system is executed.
KR1020040080613A 2004-10-08 2004-10-08 Method and system for synchronizing configuration data between active system and standby system in internet protocol communication system replicated in active-standby mode KR100622621B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040080613A KR100622621B1 (en) 2004-10-08 2004-10-08 Method and system for synchronizing configuration data between active system and standby system in internet protocol communication system replicated in active-standby mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040080613A KR100622621B1 (en) 2004-10-08 2004-10-08 Method and system for synchronizing configuration data between active system and standby system in internet protocol communication system replicated in active-standby mode

Publications (2)

Publication Number Publication Date
KR20060031539A KR20060031539A (en) 2006-04-12
KR100622621B1 true KR100622621B1 (en) 2006-09-19

Family

ID=37141278

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040080613A KR100622621B1 (en) 2004-10-08 2004-10-08 Method and system for synchronizing configuration data between active system and standby system in internet protocol communication system replicated in active-standby mode

Country Status (1)

Country Link
KR (1) KR100622621B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100940962B1 (en) * 2007-12-28 2010-02-05 엘지노텔 주식회사 Method of duplicating mac address in ethernet duplication system

Also Published As

Publication number Publication date
KR20060031539A (en) 2006-04-12

Similar Documents

Publication Publication Date Title
JP4303688B2 (en) Data access response system and method for accessing data access response system
US20090144345A1 (en) System and article of manufacture for consistent copying of storage volumes
US7340551B2 (en) Bridge permitting access by multiple hosts to a single ported storage drive
US7996643B2 (en) Synchronizing logical systems
US20160034582A1 (en) Computing device and method for executing database operation command
US20070006020A1 (en) Inter-host data transfer method, program, and system
US7069305B2 (en) Computer system and a data transfer method thereof using remote direct memory access
JP2001184248A (en) Data access management device in distributed processing system
JP2007079749A (en) Storage device and disk control method
US9043283B2 (en) Opportunistic database duplex operations
KR100622621B1 (en) Method and system for synchronizing configuration data between active system and standby system in internet protocol communication system replicated in active-standby mode
US20160011791A1 (en) Storage control apparatus, storage system, and program
US20140310458A1 (en) Data transferring method and apparatus and storage system
JP2006031446A (en) Data storage device, data storage method and data storage program
WO2021082877A1 (en) Method and apparatus for accessing solid state disk
US20100241817A1 (en) Storage apparatus and method thereof
JPH1185594A (en) Information processing system for remote copy
KR100669949B1 (en) System and method for forwarding exclusive sms
JP4193754B2 (en) Data duplication method and program
JP3477056B2 (en) Data transfer device
US7568121B2 (en) Recovery from failure in data storage systems
US8782366B2 (en) Executing host data transfer operations during setup of copy services operations
US9380114B1 (en) Techniques for peer messaging across multiple storage processors of a data storage array
JPH10187523A (en) Method and system for sharing terminal information for loosely coupled system
WO2022126534A1 (en) Data processing method and related device

Legal Events

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

Payment date: 20110714

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20120801

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee