KR20060080780A - A method and apparatus for role management in duplicated system - Google Patents

A method and apparatus for role management in duplicated system Download PDF

Info

Publication number
KR20060080780A
KR20060080780A KR1020050001231A KR20050001231A KR20060080780A KR 20060080780 A KR20060080780 A KR 20060080780A KR 1020050001231 A KR1020050001231 A KR 1020050001231A KR 20050001231 A KR20050001231 A KR 20050001231A KR 20060080780 A KR20060080780 A KR 20060080780A
Authority
KR
South Korea
Prior art keywords
role
module
information
primary
modules
Prior art date
Application number
KR1020050001231A
Other languages
Korean (ko)
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 KR1020050001231A priority Critical patent/KR20060080780A/en
Publication of KR20060080780A publication Critical patent/KR20060080780A/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A41WEARING APPAREL
    • A41CCORSETS; BRASSIERES
    • A41C5/00Machines, appliances, or methods for manufacturing corsets or brassieres
    • A41C5/005Machines, appliances, or methods for manufacturing corsets or brassieres by moulding
    • AHUMAN NECESSITIES
    • A41WEARING APPAREL
    • A41CCORSETS; BRASSIERES
    • A41C3/00Brassieres
    • A41C3/10Brassieres with stiffening or bust-forming inserts
    • AHUMAN NECESSITIES
    • A41WEARING APPAREL
    • A41CCORSETS; BRASSIERES
    • A41C3/00Brassieres
    • A41C3/12Component parts
    • A41C3/14Stiffening or bust-forming inserts
    • A41C3/144Pads
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C51/00Shaping by thermoforming, i.e. shaping sheets or sheet like preforms after heating, e.g. shaping sheets in matched moulds or by deep-drawing; Apparatus therefor
    • B29C51/002Shaping by thermoforming, i.e. shaping sheets or sheet like preforms after heating, e.g. shaping sheets in matched moulds or by deep-drawing; Apparatus therefor characterised by the choice of material
    • B29C51/004Textile or other fibrous material made from plastics fibres

Landscapes

  • Engineering & Computer Science (AREA)
  • Textile Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Mechanical Engineering (AREA)
  • Hardware Redundancy (AREA)

Abstract

본 발명은, 이중화된 모듈로 구성되는 이중화 그룹들의 상태 정보를 통해 해당 모듈들의 역할을 관리하는 이중화 시스템에 있어서, 상기 이중화 그룹들 각각을 구성하는 모듈들을 구분하는 멤버 정보와, 상기 모듈들 각각의 상태 정보로 구성되는 이중화 정보를 상기 이중화 그룹 별로 구분하여 저장하는 역할 데이터 베이스 블록과, 상기 이중화된 모듈들로부터 역할 질의들을 수신하고, 상기 이중화 정보를 통해 해당 모듈의 역할을 결정하고, 상기 결정된 역할을 해당 모듈로 통보하는 상기 역할 매니저를 포함하여 구성되어 기존의 프라이머리 모듈 선출 과정에서 요구되는 존재 여부가 불확실한 상태 모듈의 상태 정보 수신을 위해 일정시간동안 대기하는 지연 시간을 제거함으로써, 이중화 그룹의 모듈들은 빠른 서비스 개시 및 전체 시스템의 로딩 시간을 크게 단축시킬 수 있으며, 프라이머리 모듈 선출 과정에 발생한 상태 정보 유실로 인한 시스템의 비정상 상태 천이를 방지하여 보다 안정적인 서비스를 제공할 수 있다.
The present invention provides a system for managing a role of a corresponding module through state information of duplication groups composed of duplex modules. A role database block for storing redundancy information consisting of state information for each redundancy group, receiving role queries from the duplicated modules, determining a role of the corresponding module through the redundancy information, and determining the determined role. It is configured to include the role manager for notifying the relevant module is configured to remove the delay waiting for a certain time to receive the status information of the status module of the status module that is uncertain whether existed in the existing primary module selection process, Modules provide fast service startup and full system loading Time can be greatly reduced, and more stable service can be provided by preventing abnormal state transition of the system due to the loss of state information generated during the primary module selection process.

CDMA, Primary, Back-Up, Duplicated Module CDMA, Primary, Back-Up, Duplicated Module

Description

이중화된 시스템의 이중화 모듈들의 역할 관리 방법 및 장치{A Method And Apparatus For Role Management In Duplicated System} A Method and Apparatus For Role Management In Duplicated System             

도 1은 일반적인 이중화된 통신 시스템의 블록 구조를 보여주는 도면.1 is a block diagram of a general redundant communication system.

도 2는 본 발명의 바람직한 실시예에 따른 이중화된 통신 시스템의 블록 구조를 보여주는 도면.2 is a block diagram of a redundant communication system according to a preferred embodiment of the present invention.

도 3은 본 발명의 바람직한 실시예에 따른 역할 매니저의 동작을 나타내는 도면.
3 illustrates the operation of a role manager in accordance with a preferred embodiment of the present invention.

본 발명은 이중화된 이동통신 시스템에 관한 것으로서, 특히 상기 이중화된 이동통신 시스템의 모듈들의 역할을 관리하는 방법 및 장치에 관한 것이다.The present invention relates to a redundant mobile communication system, and more particularly, to a method and apparatus for managing a role of modules of the redundant mobile communication system.

일반적으로 통신 시스템에서의 오류가 발생하면, 상기 통신 시스템의 서비스가 진행 중 이었을 경우 더 이상 서비스를 지속할 수 없는 상황이 발생하게 되고, 상기 오류로 인해 상기 통신시스템에 치명적인 손실을 가져오게 된다. 이러한 경 우, 상기 진행 중이던 서비스를 계속해서 제공하고, 상기 손실들을 줄이기 위해서, 상기 통신 시스템들에서 높은 수준의 가용성을 보장해야 할 필요가 있다. 따라서, 시스템들은 가용성을 확보하기 위해서, 장애가 발생할 여지가 있는 모듈들에 대한 이중화, 혹은 다중화를 통해 특정 모듈에서의 장애가 전체 시스템의 장애로 확산되지 않도록 하고 있다.In general, when an error occurs in a communication system, when a service of the communication system is in progress, a situation in which the service can not continue anymore occurs, and the error causes a fatal loss to the communication system. In this case, there is a need to ensure a high level of availability in the communication systems in order to continue to provide the service in progress and to reduce the losses. Thus, to ensure availability, systems are designed to prevent the failure of a particular module from spreading to the failure of the entire system through redundancy or multiplexing of the modules which may cause the failure.

이러한 이중화 구조에는 프로세서(Processor) 통신 모듈에 의한 데이터 백업을 이용하는 프라이머리-백업(primary-backup)구조가 있다. 이 경우, 클라이언트의 요청을 우선적으로 처리하는 프라이머리 모듈의 선출 과정이 필요하며, 동시에 로딩된 이중화 프로세서는 프라이머리 모듈 선출을 하기 위한 상호간의 협약 및 일정한 수준의 정보 교환이 요구된다. 즉, 로딩을 시작한 프로세서는 자신과 이중화되어야할 프로세서의 존재 여부를 묻고, 또한 자신이 현재의 이중화 구조에서 프라이머리 역할을 할 수 있는 지에 대한 자격을 보장 받아야 한다.This duplication structure includes a primary-backup structure that utilizes data backup by a processor communication module. In this case, a process of selecting a primary module that preferentially processes a client's request is required, and at the same time, the loaded redundant processor requires mutual agreement and a certain level of information exchange to select a primary module. In other words, the processor which started loading should be asked whether there is a processor to be duplicated with itself, and also have to be guaranteed whether it can play a primary role in the current redundant structure.

상기 프라이머리 정보 교환은 네트워크를 통한 통신을 기초로 하며여 네트워크 지연 및 프로세스의 처리 지연을 수반하게 된다. 따라서, 총체적 지연 현상을 대비하고, 안정적인 정보 교환이 이루어지도록 일정한 이중화 프로세스 간의 상태 정보 수신 대기 시간이 요구된다. 특히, 존재 유무가 불확실한 동일 이중화 그룹 내의 다른 멤버의 상태 정보 수신에는 더 많은 대기 시간이 요구된다. The primary information exchange is based on communication over the network, which entails network delays and processing delays in the process. Therefore, a waiting time for receiving status information between certain duplication processes is required in order to prepare for a total delay and to ensure stable information exchange. In particular, more waiting time is required to receive status information of other members in the same redundancy group whose existence is uncertain.

또한, 이중화된 하나의 프로세스에 이중화 모듈이 다수 존재하는 경우, 각 이중화 모듈의 상태 정보 수신 지연 시간이 누적되게 되므로 심각한 로딩 시간 지연을 유발하게 된다. 이러한 수신 대기 시간은 다양한 시험에 의한 값으로 결정될 수도 있는데, 이 경우 시스템의 부하에 따라 다른 값이 요구될 수도 있다. 또한, 이중화된 모듈들 간의 상태 정보 교환 방식은 네트워크 단에서의 메시지 유실로 인해 시스템의 활성화 모드가 비정상적으로 천이할 수 있는 문제점이 있었다.
In addition, when a plurality of duplication modules exist in a single duplication process, since a delay time of receiving state information of each duplication module is accumulated, a serious loading time delay is caused. This reception latency may be determined by various tests, in which case different values may be required depending on the load of the system. In addition, the state information exchange method between the redundant modules has a problem that the activation mode of the system can be abnormally transitioned due to the loss of messages in the network.

따라서 상기한 바와 같이 동작되는 종래 기술의 문제점을 해결하기 위하여 창안된 본 발명의 목적은, 프라이머리 모듈 선출 과정에 요구되는 각 프로세스 간의 상태 정보 및 수신 대기 시간을 제거함으로써 서비스 개시 시점을 앞당길 수 있는 방법 및 장치를 제공하는 것이다.Therefore, an object of the present invention, which was created to solve the problems of the prior art operating as described above, can advance the service start time by eliminating the state information and the reception waiting time between the processes required for the primary module selection process. It is to provide a method and apparatus.

본 발명의 다른 목적은, 하나의 프로세스에 포함된 다중의 이중화 모듈들에 의한 누적 지연 시간을 최소화함으로써 전체 시스템 로딩 시간을 단축시킬 수 있는 방법 및 장치를 제공하는 것이다. It is another object of the present invention to provide a method and apparatus that can shorten the overall system loading time by minimizing the cumulative delay time by multiple redundant modules included in one process.

본 발명의 또 다른 목적은, 네트워크 상에서 동일 이중화 그룹 내의 존재의 유무가 불확실한 멤버의 상태 정보 유실 여부를 정확히 판단할 수 없어 비정상 상태로 천이되는 것을 방지할 수 있도록 하는 방법을 제공하는 것이다.It is still another object of the present invention to provide a method for preventing the transition to an abnormal state because it is not possible to accurately determine whether the presence or absence of the presence in the same redundant group on the network is lost.

상기한 바와 같은 목적을 달성하기 위하여 창안된 본 발명의 실시예에 따른 장치는,Apparatus according to an embodiment of the present invention created to achieve the object as described above,

이중화된 모듈로 구성되는 이중화 그룹들의 상태 정보를 통해 해당 모듈들의 역할을 관리하는 이중화 시스템에 있어서,In the redundancy system that manages the role of the corresponding module through the status information of the redundancy groups composed of duplicated modules,

상기 이중화 그룹들 각각을 구성하는 모듈들을 구분하는 멤버 정보와, 상기 모듈들 각각의 상태 정보로 구성되는 이중화 정보를 상기 이중화 그룹 별로 구분하여 저장하는 역할 데이터 베이스 블록과,A role database block for dividing member information for distinguishing modules constituting each of the redundancy groups and redundancy information composed of state information of each of the modules for each redundancy group;

상기 이중화된 모듈들로부터 역할 질의들을 수신하고, 상기 이중화 정보를 통해 해당 모듈의 역할을 결정하고, 상기 결정된 역할을 해당 모듈로 통보하는 상기 역할 매니저를 포함하여 구성되는 것을 특징으로 한다.And a role manager for receiving role queries from the redundant modules, determining a role of the corresponding module through the duplication information, and notifying the determined role to the corresponding module.

본 발명의 실시예에 따른 방법은, 이중화 시스템에서 이중화된 모듈로 구성되는 이중화 그룹들의 상태 정보를 통해 해당 모듈들의 역할을 관리하는 방법에 있어서,In the method according to an embodiment of the present invention, in the method for managing the role of the corresponding module through the status information of the redundancy groups composed of the redundant module in the redundancy system,

상기 이중화 그룹들 각각을 구성하는 모듈들을 구분하는 멤버 정보와, 상기 모듈들 각각의 상태 정보로 구성되는 이중화 정보를 상기 이중화 그룹 별로 구분하여 수집하는 과정과,Dividing and collecting member information for dividing modules constituting each of the duplication groups and duplication information composed of state information of each module for each duplication group;

상기 이중화된 모듈들로부터 역할 질의들을 수신하는 과정과,Receiving role queries from the duplicated modules,

상기 이중화 정보를 통해 해당 모듈의 역할을 결정하는 과정과,Determining the role of the module based on the duplication information;

상기 결정된 역할을 해당 모듈로 통보하는 과정을 포함하여 구성되는 것을 특징으로 한다.
It characterized in that it comprises a process of notifying the determined role to the module.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대한 동작 원리를 상세히 설명한다. 도면상에 표시된 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 참조번호로 나타내었으며, 하기에서 본 발 명을 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Hereinafter, with reference to the accompanying drawings will be described in detail the operating principle of the preferred embodiment of the present invention. Like reference numerals refer to the same elements as shown in the drawings, even though they may be shown on different drawings, and in the following description of the present invention, a detailed description of related well-known functions or constructions will be directed to the gist of the present invention. If it is determined that it can be unnecessarily blurred, detailed description thereof will be omitted. Terms to be described later are terms defined in consideration of functions in the present invention, and may be changed according to intentions or customs of users or operators. Therefore, the definition should be made based on the contents throughout the specification.

도 1은 일반적인 이중화된 통신 시스템의 블록 구조를 보여주는 도면이다.1 is a block diagram of a general redundant communication system.

도 1을 참조하면, 통신 시스템은 2개의 프로세서1, 2들(110,120)로 구성되고, 상기 프로세서 1(110)의 모듈들 중 모듈 1(132)과 상기 프로세서 2(120)의 모듈들 중 모듈 2(134)는 이중화 그룹(130)의 구성 요소이다.Referring to FIG. 1, a communication system includes two processors 1 and 2 110 and 120, and a module 1 132 of the modules of the processor 1 110 and a module of the processors 2 120. 2 134 is a component of redundancy group 130.

지연시간(Time Delay, 이하 'td'라 칭함)(148)은 상기 이중화 그룹(130)내의 미확인된 다른 멤버들로부터의 상태 정보 수신 대기 시간으로, 서비스 시작 시점, 그리고 전체 시스템의 로딩 시간과 밀접한 관련이 있다.Time Delay (hereinafter referred to as 'td') 148 is a waiting time for receiving status information from other unidentified members in the redundancy group 130, which is closely related to the start time of the service and the loading time of the entire system. It is related.

이하, 일반적인 프라이머리 모듈 선출 절차를 설명한다.Hereinafter, a general primary module selection procedure will be described.

140단계 내지 142단계에서 상기 모듈 1(132) 혹은 모듈 2(134)는 프라이머리 모듈 선출에 참여하기 위한 '초기 선출 메시지'를 상기 모듈 2(134) 혹은 모듈 1(132)로 전달한다.In steps 140 to 142, the module 1 132 or the module 2 134 transmits an 'initial selection message' to the module 2 134 or the module 1 132 to participate in the primary module selection.

상기 초기 선출 메시지를 통해, 프라이머리 모듈 선출을 요청한 상기 이중화 그룹내의 모듈들(132,134) 중 최종 프라이머리 모듈이 결정되면, 144단계 내지 146단계에서 상기 결정된 최종 프라이머리 모듈을 알려주는 '선출 완료 메시지'가 상기 모듈 1 혹은 모듈 2(132, 134)들로 각각 수신된다. 이때, 상기 선출 완료 메시 지는 상기 이중화 그룹(130)내의 미확인 된 다른 멤버들로부터 발생하는 td(148)만큼 지연된 후, 상기 모듈 1(132) 혹은 모듈 2(134)들로 각각 수신된다. If the final primary module among the modules 132 and 134 in the redundancy group requesting the primary module election is determined through the initial election message, an election completion message indicating the final primary module determined in steps 144 to 146. 'Is received by the module 1 or module 2 (132, 134), respectively. At this time, the elected completion message is delayed by td 148 generated from other unidentified members in the duplication group 130, and then received by the module 1 132 or the module 2 134, respectively.

도 1과 같이, 이중화 된 프로세스들 중 프라이머리 모듈을 선출하는 과정에서 발생하는 td(148)로 인해 상기 프라이머리 모듈 선출 시간이 지연되게 된다.  As shown in FIG. 1, the primary module selection time is delayed due to the td 148 generated during the election of the primary module among the duplicated processes.

따라서, 본 발명은 클라이언트의 요청을 처리할 프라이머리 모듈의 선출 시간을 단축하여 전체 시스템 로딩 시간을 개선하고, 데이터 유실로 인한 비 정상적 프라이머리 모듈 선출을 방지하기 위해서, 이중화 모듈의 프라이머리 선출을 담당하는 역할 메니저(Role Manager)를 제안한다. 상기 역할 메니저는 다중의 이중화된 모듈들로 구성된 이중화 그룹 각각의 이중화 모듈들에 대한 상태 정보 및 이중화를 구성하는 그룹의 멤버 정보들로 구성되는 '이중화 정보'를 구조화하여 저장하고, 상기 저장된 이중화 정보들을 기초로 클라이언트의 요청에 따라 각 멤버의 역할을 할당하거나 역할을 할당받을 수 있는 기본 정보를 제공한다. Accordingly, the present invention improves the overall system loading time by shortening the selection time of the primary module to handle the client's request, and in order to prevent abnormal primary module selection due to data loss, Propose the role manager in charge. The role manager constructs and stores 'redundancy information' composed of status information of each duplication module composed of multiple duplication modules and member information of a group constituting duplication, and stores the stored duplication information. Based on these information, basic information for assigning or receiving role of each member is provided according to client's request.

이후, 프라이머리로써의 자격을 인증받은 선행 멤버가 생성되면, 상기 역할 메니저는 자신의 이중화 정보 영역에 상기 생성된 멤버가 프라이머리임을 나타내는 정보를 갱신하여, 이후 동일 이중화 그룹의 다른 멤버의 프라이머리 선출 요청이 있을 경우, 이미 프라이머리 역할을 할당받은 멤버가 있음을 알린다.Subsequently, when a preceding member who is authenticated as a primary is created, the role manager updates information indicating that the created member is a primary in its redundancy information area, and then a primary of another member of the same redundancy group. If there is a request for election, it informs that a member has already been assigned a primary role.

도 2는 본 발명의 바람직한 실시예에 따른 이중화된 통신 시스템의 블록 구조를 보여주는 도면이다.2 is a block diagram of a redundant communication system according to a preferred embodiment of the present invention.

도 2를 참조하면, 통신 시스템은 2개의 프로세서1,2들(210,220)로 구성되고, 상기 프로세서 1(210)의 모듈들 중 모듈 1(232)과 상기 프로세서 2(220)의 모듈들 중 모듈 2(234)는 이중화 그룹(230)의 멤버들이다. 상기 이중화 구룹(230)의 멤버들은 상기 모듈 1(232) 및 모듈 2(234)외에도 확인되지 않은 다수가 존재할 수 있다.Referring to FIG. 2, the communication system includes two processors 1, 2, 210, and 220, and a module 1 232 of the modules of the processor 1 210 and a module of the processors 2, 220. 2 234 are members of redundancy group 230. There may be a plurality of members of the redundancy group 230 that are not identified in addition to the module 1 232 and the module 2 234.

역할 데이터 베이스 블록(240)은 상기 이중화 그룹(230)을 구성하는 모듈 1(232)과 모듈 2(234)로 구성되는 이중화 그룹의 멤버 정보와, 상기 모듈 1(232)과 모듈 2(234) 각각의 상태 정보를 포함하는 '이중화 정보'를 구조화하여 저장한다.The role database block 240 includes member information of a redundancy group consisting of Module 1 232 and Module 2 234 constituting the redundancy group 230, and the Module 1 232 and Module 2 234. Structured and stored 'redundancy information' including each state information.

역할 매니저(242)는 이중화 그룹들 각각을 대표하는 키값을 이용하여 시스템에 분산되어있는 각각의 이중화 그룹별로 구분한다. 상기 역할 메니저(242)는 상기 역할 데이터 블록(240)의 이중화 정보들을 기초로 클라이언트의 요청에 따라 상기 모듈 1(232)과 상기 모듈 2(234)의 역할을 할당하거나, 역할을 할당받을 수 있는 기본 정보를 제공하며, 상기 모듈 1,2(232,234)들 중 프라이머리 모듈의 선출을 담당한다. The role manager 242 distinguishes each replication group distributed in the system by using a key value representing each replication group. The role manager 242 may allocate a role of the module 1 232 and the module 2 234 or may be assigned a role according to a request of a client based on duplication information of the role data block 240. Provides basic information, and is responsible for the selection of the primary module of the modules 1,2 (232,234).

구체적으로, 상기 역할 메니저(242)는 초기에 상기 모듈 1,2들(232, 234)에 대한 이중화 정보를 각 모듈의 서비스 위치 등록 시에 생성하여 상기 역할 데이터 베이스 블록(240)에 저장한다. 즉, 일반적인 분산 환경 시스템에서 채택하고 있는 위치 투명성을 확보하기 위해 사용되는 네이밍 서버(Naming Server)의 특성을 이용한다. Specifically, the role manager 242 initially generates redundancy information for the modules 1,2 and 232 and 234 at the time of registering the service location of each module and stores the redundancy information in the role database block 240. In other words, it uses the characteristics of a naming server used to secure location transparency adopted by general distributed environment systems.

상기 모듈 1,2(232,234) 각각은 서비스 개시 전, 자신의 서비스 가능 위치를 네이밍 서비스에 등록하고, 상기 역할 매니저(242)가 관리할 수 있는 이중화 그룹(230)에 대한 정보를 동시에 전달한다. 또한, 상기 모듈 1,2(232,234)는 프라이 머리 모듈 선출을 완료하기 위해 상기 역할 매니저(242)로 자신의 역할이 프라이 머리인지 백업인지를 묻는 '역할 질의'를 수행한다.  Each of the modules 1, 2, 232, 234 registers its serviceable location in a naming service and simultaneously transmits information about the duplication group 230 managed by the role manager 242 before starting the service. In addition, the module 1,2 (232,234) performs a 'role query' asking the role manager 242 whether its role is a primary or a backup to complete the selection of the primary module.

이후, 상기 역할 매니저(242)로부터 역할을 할당 또는 자격 인증을 받은 상기 모듈 1(232) 혹은 모듈 2(234)는, 즉시 자신의 상태를 프라이 머리 혹은 백업으로 변경하여 해당 서비스를 개시한다. Thereafter, the module 1 232 or the module 2 234 which has been assigned a role assignment or certification by the role manager 242 immediately changes its state to a primary or backup to start a corresponding service.

도 3은 본 발명의 바람직한 실시예에 따른 역할 매니저의 동작을 나타내는 도면이다.3 is a diagram illustrating an operation of a role manager according to an exemplary embodiment of the present invention.

도 3을 참조하면, 310단계에서 역할매니저는 이중화 그룹들의 이중화 정보를 수집하여 역할 데이터 베이스 블록에 저장한다. 여기서, 이중화 정보는 상기 이중화 그룹들 각각을 구성하는 모듈들의 멤버 정보와, 상기 모듈들 각각의 상태 정보를 나타낸다.Referring to FIG. 3, in step 310, the role manager collects duplication information of duplication groups and stores the duplication information in a role database block. Here, the duplication information indicates member information of modules constituting each of the duplication groups and state information of each of the modules.

320단계에서 상기 역할매니저는 상기 모듈들로부터 프라이머리 선출 여부를 묻는 '역할 질의'를 수신한다. 상기 역할 질의를 수신한 상기 역할 매니저는, 330단계에서 상기 역할 데이터 베이스 블록의 이중화 정보에서 해당 모듈의 상태가 프라이머리 자격이 있는지 혹은 현재 프라이머리 자격을 할당받은 모듈이 있는지를 조사한다.In step 320, the role manager receives a 'role query' asking whether a primary is selected from the modules. In step 330, the role manager receiving the role query checks whether the state of the corresponding module has a primary qualification or a module to which the primary qualification is assigned in the duplication information of the role database block.

340단계에서 상기 역할 매니저는 프라이머리 자격 여부 등을 나타내는 모듈의 역할을 해당 모듈로 통보한다. 상기 역할 통보를 수신한 이중화 모듈은, 즉시 자신의 역할로 상태를 변경하고 서비스를 개시한다.In step 340, the role manager notifies the module of the role of the module indicating whether the primary qualification is present. Upon receiving the role notification, the redundancy module immediately changes state to its role and starts a service.

상기한 바와 같이, 역할 매니저의 이중화 정보를 통해서, 기존의 프라이머리 모듈 선출 과정에서 요구되는 존재 여부가 불확실한 상태 모듈의 상태 정보 수신을 위해 일정시간동안 대기하는 지연 시간을 제거함으로써, 이중화 그룹의 모듈들은 빠른 서비스 개시 및 전체 시스템의 로딩 시간을 크게 단축시킬 수 있으며, 프라이머리 모듈 선출 과정에 발생한 상태 정보 유실로 인한 시스템의 비정상 상태 천이를 방지하여 보다 안정적인 서비스를 제공할 수 있게 된다.As described above, through the duplication information of the role manager, by eliminating the waiting time for a certain time to receive the state information of the state module that is not known whether the presence required in the existing primary module selection process, the module of the duplication group They can significantly shorten the fast service start-up and load time of the entire system, and can provide a more stable service by preventing an abnormal state transition of the system due to the loss of state information generated during the primary module selection process.

한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되지 않으며, 후술되는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.
Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the scope of the following claims, but also by those equivalent to the scope of the claims.

이상에서 상세히 설명한 바와 같이 동작하는 본 발명에 있어서, 개시되는 발명 중 대표적인 것에 의하여 얻어지는 효과를 간단히 설명하면 다음과 같다.In the present invention operating as described in detail above, the effects obtained by the representative ones of the disclosed inventions will be briefly described as follows.

본 발명은, 다중의 이중화 모듈을 포함하는 프로세스가 서비스를 개시하기 위한 각 모듈들의 프라이머리 선출 과정의 생략을 통해서, 상태 정보 교환을 위해 요구되는 네트워크 통신으로 인한 초기화 지연 시간을 크게 단축하여 전체적인 시스템 로딩 시간이 크게 개선되는 효과가 있다. 또한, 기존의 서비스 위치 정보를 저장 관리하는 프로세스에 이중화 정보를 관리하는 역할 매니저를 이용함으로써, 역할 할당에 요구되는 네트워크 자원을 효율적으로 개선 관리할 수 있는 효과가 있다. The present invention provides a complete system by greatly reducing the initialization delay due to network communication required for exchanging state information, by omitting the process of primary selection of modules for starting a service by a process including multiple redundant modules. The loading time is greatly improved. In addition, by using the role manager that manages the redundant information in the process of storing and managing the existing service location information, there is an effect that can efficiently improve and manage the network resources required for role assignment.                     

또한, 다중의 이중화 모듈을 포함하고 있는 통신 시스템 프로세스 내에서 실행되는, 각 이중화 모듈들의 순차적인 구조의 프라이머리 모듈 선출과정에서 발생하는 누적 지연을 크게 개선하여 성능 향상을 도모할 수 있는 효가가 있다. 또한, 초기 프라이머리 모듈 선출 시 상태 정보의 교환 과정에서 발생하는 정보 유실로 인한 시스템의 비정상 상태 천이를 방지할 수 있어 보다 효율적이고 안정적인 서비스 제공할 수 있는 효과가 있다.In addition, there is an effect that the performance can be improved by greatly improving the cumulative delay that occurs in the process of selecting a primary module of a sequential structure of each redundant module, which is executed in a communication system process including multiple redundant modules. . In addition, it is possible to prevent an abnormal state transition of the system due to the loss of information generated during the exchange of state information when the initial primary module is selected, thereby providing a more efficient and stable service.

Claims (8)

이중화된 모듈로 구성되는 이중화 그룹들의 상태 정보를 통해 해당 모듈들의 역할을 관리하는 이중화 시스템에 있어서,In the redundancy system that manages the role of the corresponding module through the status information of the redundancy groups composed of duplicated modules, 상기 이중화 그룹들 각각을 구성하는 모듈들을 구분하는 멤버 정보와, 상기 모듈들 각각의 상태 정보로 구성되는 이중화 정보를 상기 이중화 그룹 별로 구분하여 저장하는 역할 데이터 베이스 블록과,A role database block for dividing member information for distinguishing modules constituting each of the redundancy groups and redundancy information composed of state information of each of the modules for each redundancy group; 상기 이중화된 모듈들로부터 역할 질의들을 수신하고, 상기 이중화 정보를 통해 해당 모듈의 역할을 결정하고, 상기 결정된 역할을 해당 모듈로 통보하는 상기 역할 매니저를 포함하여 구성되는 것을 특징으로 하는 장치.And the role manager for receiving role queries from the redundant modules, determining the role of the module through the duplication information, and notifying the module of the determined role. 제 1 항에 있어서, 상기 역할 질의는,The method of claim 1, wherein the role query, 상기 이중화 된 모듈들의 프라이머리 모듈 선출 여부인 것을 특징으로 하는 장치.Device for the selection of the primary module of the duplicated module. 제 1항에 있어서, 상기 역할 매니저는,The method of claim 1, wherein the role manager, 상기 이중화 정보에서 상기 역할 질의를 전송한 해당 모듈의 상태 정보를 통해서, 해당 모듈이 프라이머리 역할을 수행할 것인지 아니면 백업 역할을 수행할 것인지를 판단하여 해당 모듈의 역할을 결정하는 것을 특징으로 하는 장치.The device characterized in that the module determines the role of the module by determining whether to perform the primary role or the backup role, based on the state information of the module that transmitted the role query in the duplication information. . 제 1항에 있어서, 상기 결정된 역할을 수신한 모듈은,According to claim 1, The module receiving the determined role, 상기 결정된 역할에 따라 프라이머리 혹은 백업으로 동작하는 것을 특징으로 하는 장치.And act as a primary or a backup according to the determined role. 이중화 시스템에서 이중화된 모듈로 구성되는 이중화 그룹들의 상태 정보를 통해 해당 모듈들의 역할을 관리하는 방법에 있어서,In the method of managing the role of the corresponding module through the status information of the redundancy groups composed of duplicated modules in the redundant system, 상기 이중화 그룹들 각각을 구성하는 모듈들을 구분하는 멤버 정보와, 상기 모듈들 각각의 상태 정보로 구성되는 이중화 정보를 상기 이중화 그룹 별로 구분하여 수집하는 과정과,Dividing and collecting member information for dividing modules constituting each of the duplication groups and duplication information composed of state information of each module for each duplication group; 상기 이중화된 모듈들로부터 역할 질의들을 수신하는 과정과,Receiving role queries from the duplicated modules, 상기 이중화 정보를 통해 해당 모듈의 역할을 결정하는 과정과,Determining the role of the module based on the duplication information; 상기 결정된 역할을 해당 모듈로 통보하는 과정을 포함하여 구성되는 것을 특징으로 하는 방법.The method comprising the step of notifying the determined role to the module. 제 5 항에 있어서, 상기 역할 질의는,The method of claim 5, wherein the role query, 상기 이중화된 모듈들의 프라이머리 모듈 선출 여부인 것을 특징으로 하는 방법.Method for selecting a primary module of the duplicated module. 제 5항에 있어서, 상기 결정하는 과정은,The method of claim 5, wherein the determining is, 상기 이중화 정보에서 상기 역할 질의를 전송한 해당 모듈의 상태 정보를 통해서, 해당 모듈이 프라이머리 역할을 수행할 것인지 아니면 백업 역할을 수행할 것인지를 판단하여 해당 모듈의 역할을 결정하는 것을 특징으로 하는 방법.A method for determining the role of the module by determining whether the module performs the primary role or the backup role, based on the state information of the corresponding module that has transmitted the role query in the duplication information. . 제 1항에 있어서, 상기 결정된 역할을 수신한 모듈은,According to claim 1, The module receiving the determined role, 상기 결정된 역할에 따라 프라이머리이면 혹은 백업으로 동작하는 것을 특징으로 하는 방법If it is a primary or backup according to the determined role
KR1020050001231A 2005-01-06 2005-01-06 A method and apparatus for role management in duplicated system KR20060080780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050001231A KR20060080780A (en) 2005-01-06 2005-01-06 A method and apparatus for role management in duplicated system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050001231A KR20060080780A (en) 2005-01-06 2005-01-06 A method and apparatus for role management in duplicated system

Publications (1)

Publication Number Publication Date
KR20060080780A true KR20060080780A (en) 2006-07-11

Family

ID=37171995

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050001231A KR20060080780A (en) 2005-01-06 2005-01-06 A method and apparatus for role management in duplicated system

Country Status (1)

Country Link
KR (1) KR20060080780A (en)

Similar Documents

Publication Publication Date Title
US20240205073A1 (en) System and method for data replication using a single master failover protocol
US20210406279A1 (en) System and method for maintaining a master replica for reads and writes in a data store
CN113169952B (en) Container cloud management system based on block chain technology
CN114787781B (en) System and method for enabling high availability managed failover services
US10509680B2 (en) Methods, systems and apparatus to perform a workflow in a software defined data center
US20200125738A1 (en) Systems and methods for providing multi-node resiliency for blockchain peers
US20080244552A1 (en) Upgrading services associated with high availability systems
US11271814B2 (en) Online capacity-expanding and online capacity-reducing methods and apparatuses for distributed consensus system
US7865763B2 (en) Data replication method
WO2016150066A1 (en) Master node election method and apparatus, and storage system
US20120303912A1 (en) Storage account migration between storage stamps
US20100174807A1 (en) System and method for providing configuration synchronicity
CN110602108B (en) Data communication method, device, equipment and storage medium based on block chain network
JP2010500673A (en) Storage management system for maintaining consistency of remote copy data (storage management system, storage management method, and computer program)
KR20010013112A (en) Method for transaction within a distributed database
US20170308446A1 (en) System and method for disaster recovery of cloud applications
CN113268471B (en) Method, proxy connection pool, system, device and medium for processing distributed transaction
KR20100099319A (en) Node system, server switching method, server device, and data transfer method
US20050234919A1 (en) Cluster system and an error recovery method thereof
CN114130035A (en) User matching method, device, equipment and storage medium
CN110351122A (en) Disaster recovery method, device, system and electronic equipment
KR20060080780A (en) A method and apparatus for role management in duplicated system
CN115438021A (en) Resource allocation method and device for database server
CN114185691A (en) Sidecar-based UDP multicast method and system
CN113821334A (en) Method, device and system for configuring edge side equipment

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination