KR20170131001A - System for controlling application sever based on data distribution service - Google Patents

System for controlling application sever based on data distribution service Download PDF

Info

Publication number
KR20170131001A
KR20170131001A KR1020160062069A KR20160062069A KR20170131001A KR 20170131001 A KR20170131001 A KR 20170131001A KR 1020160062069 A KR1020160062069 A KR 1020160062069A KR 20160062069 A KR20160062069 A KR 20160062069A KR 20170131001 A KR20170131001 A KR 20170131001A
Authority
KR
South Korea
Prior art keywords
application
standby
execution
mode
message
Prior art date
Application number
KR1020160062069A
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 KR1020160062069A priority Critical patent/KR20170131001A/en
Publication of KR20170131001A publication Critical patent/KR20170131001A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • H04L51/36
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • 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

Abstract

The present invention discloses a system and a method for controlling an operation server in a message dispersion service environment. According to an embodiment of the present invention, an execution application and a standby application are dualized and mounted on an operation server when providing a message dispersion service in the message dispersion service environment, so that performance degradation due to an execution of a high availability algorithm of the operation server can be prevented in advance and a performance time of the high availability algorithm can be minimized. The operation server comprises: the execution application setting an action mode for processing a normal DDS message received from a standby mode as an execution mode; and the standby application setting the action mode as the standby mode according to a trigger message of the execution application, and storing the received normal DDS message in a temporary storing place.

Description

메시지분산 서비스 환경에서의 운영 서버 제어 시스템{SYSTEM FOR CONTROLLING APPLICATION SEVER BASED ON DATA DISTRIBUTION SERVICE} BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates generally to a distributed control service

본 발명은 메시지분산 서비스 환경에서의 운영 서버 제어 시스템에 관한 것으로, 보다 상세하게는 메시지 분산 서비스 망 기반으로 분산 노드 간의 메시지 통신 시 운영 서버에서 실행 어플리케이션 및 대기 어플리케이션으로 이원화하여 동작함에 따라, 운영 서버의 고가용성 알고리즘 수행으로 인한 성능 저하를 미연에 방지할 수 있도록 한 기술에 관한 것이다.The present invention relates to an operation server control system in a message distribution service environment, and more particularly, to an operation server control system in a message distribution service environment, The present invention relates to a technique for preventing performance degradation due to high-availability algorithm execution.

메시지 분산 서비스(Data Distribution Service)는 토픽(topic)이라 불리는 메시지를 중심으로 서비스를 제공하기 위해 N개의 분산 단말들이 서로 통신을 주고받아 메시지를 처리하는 분산 처리 환경을 의미한다. The message distribution service (Data Distribution Service) refers to a distributed processing environment in which N distributed terminals communicate with each other to process a message in order to provide a service centered on a message called a topic.

이러한 메시지 분산 서비스 기반의 응용 시스템을 개발하기 위해서는 시스템을 구성하고 각 단말들을 개발하는 다수의 응용 개발자가 동시에 시스템을 개발하는 경우가 존재한다.In order to develop an application system based on the distributed message service, a plurality of application developers who construct a system and develop respective terminals may simultaneously develop a system.

이때 메시지 분산 서비스 기반의 응용프로그램이 사용하는 엔티티 및 토픽과 QoS 정책 관리 모듈을 통해 인식 및 파악된 정보를 토대로 시스템 운영자는 실행 중인 응용프로그램이 시스템 정보, 엔티티-토픽 간의 관계가 설정되어 있는 QoS 정보를 수집 및 관리한다.At this time, based on the entities and topics used by the application programs based on the message distribution service and the information recognized and grasped through the QoS policy management module, the system operator can determine the QoS information .

이러한 메시지 분산 서비스는 메시지를 중심으로 분산 처리를 지원하는 미들웨어로서 분산 노드 환경에서 메시지 통신을 수행하는 운영 서버가 고가용성 알고리즘 수행하는 경우 운영 서버의 성능이 저하되는 문제점이 있었다. This message distribution service is a middleware that supports distributed processing centered on messages, and has a problem that performance of an operation server is deteriorated when an operation server performing message communication in a distributed node environment performs a high availability algorithm.

이에 본 발명은 메시지 분산 서비스 기반의 응용 프로그램을 실행하는 운영 서버에서 실행 프로세서 및 대기 프로세서로 이원화하여 운영함에 따라 고가용성 알고리즘 실행에 따라 저하되는 성능을 향상시키는 방안을 제안하고자 한다. Accordingly, the present invention proposes a method of improving performance deteriorated according to the execution of a high-availability algorithm as an operating server that executes an application program based on a message distribution service and is operated by being run from an execution processor and a standby processor.

본 발명은 이러한 문제점을 해결하기 위해 안출된 것으로, 본 발명의 목적은, 메시지 분산 서비스 기반의 응용 프로그램을 운영하는 운영 서버에서 실행 프로세서 및 대기 프로세서로 이원화하여 운영함에 따라 고가용성 알고리즘 실행에 따라 저하되는 성능을 향상시키는 메시지분산 서비스 환경에서의 운영 서버 제어 시스템을 제공하고자 한다. SUMMARY OF THE INVENTION The present invention has been made to solve such problems, and it is an object of the present invention to provide a message distribution service based on an application server operating an application server and a standby processor, And to provide an operational server control system in a distributed message service environment.

이러한 기술적 과제를 달성하기 위한 본 발명의 일 태양으로, 메시지 분산 서비스 망을 통해 DDS 메시지를 토대로 응용 프로그램을 실행하는 운영 서버에 있어서, 상기 운영 서버는 대기 모드에서 수신된 정상적인 DDS 메시지를 처리하기 위해 동작 모드를 실행 모드로 설정하는 실행 어플리케이션; 및 상기 실행 어플리케이션의 트리거 메시지에 따라 동작 모드를 대기 모드로 설정하고 이후 수신된 정상 DDS 메시지를 임시 저장소에 저장하는 대기 어플리케이션을 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided an operating server for executing an application program based on a DDS message through a message distribution service network, the operating server for processing a normal DDS message received in a standby mode An execution application for setting the operation mode to the execution mode; And a waiting application for setting an operation mode to a standby mode according to a trigger message of the execution application and storing the received normal DDS message in a temporary storage.

바람직하게 상기 실행 어플리케이션과 대기 어플리케이션 각각은 실행 어플리케이션과 대기 어플리케이션 간에 대기 모드로 동기시키기 위한 트리거 메시지를 송수신하는 트리거 메시지 송수신 모듈; 정상 DDS 메시지 수신 시 처리하여 분산 노드로 전달하는 DDS 메시지 처리 모듈; 및 상기 실행 어플리케이션의 장애 판정 시 장애 복구 후 상기 실행 어플리케이션의 동작 모드를 대기 모드로 설정하고 대기 어플리케이션의 동작 모드를 실행 모드로 전환하는 장애 절체 및 복구 모듈을 포함할 수 있다.Preferably, the execution application and the standby application each include a trigger message transmission / reception module for transmitting / receiving a trigger message for synchronization in a standby mode between an execution application and a standby application; A DDS message processing module for processing the received normal DDS message and delivering it to the distributed node; And a failure switching and recovery module for setting an operation mode of the executing application to a standby mode and restoring an operation mode of the standby application to an execution mode after a failure recovery in the case of the failure determination of the executing application.

본 발명의 다른 태양으로, 실행 어플리케이션과 대기 어플리케이션을 포함하는 운영 서버 제어 방법에 있어서, (a) 상기 실행 어플리케이션에서 대기 어플리케이션의 동작 모드를 대기 모드로 설정하기 위한 트리거 메시지를 생성하여 대기 어플리케이션으로 전달하고 대기 어플리케이션의 동작 모드를 대기 모드로 설정하는 단계; (b) 상기 실행 어플리케이션과 대기 어플리케이션 각각에 정상적인 DDS 메시지 수신 시 실행 어플리케이션의 동작 모드를 실행 모드로 설정하여 수신된 DDS 메시지를 처리한 후 처리 결과를 분산 노드로 전달하는 단계; (c) 상기 대기 어플리케이션에서 수신된 DDS 메시지를 임시 저장소에 저장한 후 동작 모드를 대기 모드로 설정하는 단계를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided an operating server control method including an execution application and a standby application, the method comprising the steps of: (a) generating a trigger message for setting the operation mode of the standby application to the standby mode in the execution application, And setting an operation mode of the standby application to a standby mode; (b) receiving a normal DDS message in each of the executing application and the waiting application, setting the operation mode of the execution application to the execution mode, processing the received DDS message, and transmitting the processing result to the distribution node; (c) storing the DDS message received in the standby application in the temporary storage and setting the operation mode to the standby mode.

바람직하게 상기 (c) 단계 이 후에 (d) 상기 실행 어플리케이션에서 장애 발생 시 오류 진단 후 복귀하고 이 후 동작 모드를 대기 모드로 설정하는 단계; (e) 상기 대기 어플리케이션에서 실행 어플리케이션의 장애 발생으로 인해 트리거 메시지 미 수신 시 동작 모드를 실행 모드로 전환하고 임시 저장소에 저장된 DDS 메시지를 처리하여 분산 단말로 전달하고 동작 모드를 대기 모드로 설정하는 단계; 및 (f) 상기 대기 어플리케이션에서 동작 모드를 대기 모드로 전환하기 위한 트리거 메시지를 상기 실행 어플리케이션으로 전달하여 실행 어플리케이션의 동작 모드를 대기 모드로 설정하여 실행 어플리케이션과 대기 어플리케이션의 동작 모드를 동기시키는 단계를 더 포함할 수 있다. Preferably, the step (c) further comprises: (d) returning from the error diagnosis upon occurrence of a failure in the execution application, and then setting the operation mode to a standby mode; (e) switching the operation mode to the execution mode upon receiving no trigger message due to the failure of the execution application in the standby application, processing the DDS message stored in the temporary storage and delivering the DDS message to the distributed terminal, and setting the operation mode to the standby mode ; And (f) transmitting a trigger message for switching the operation mode to the standby mode in the standby application to the execution application to set the operation mode of the execution application to the standby mode to synchronize the operation mode of the execution application and the standby application .

본 발명에 따르면, 메시지 분산 서비스 환경에서 메시지 분산 서비스 제공 시 운영 서버에 실행 어플리케이션 및 대기 어플리케이션을 이원화하여 탑재함에 따라, 운영 서버의 고 가용성 알고리즘 실행에 따른 성능 저하를 미연에 방지할 수 있고, 고가용성 알고리즘 수행 시간을 최소로 단축할 수 있는 효과를 얻는다. According to the present invention, when a message distribution service is provided in a message distribution service environment, an execution application and a standby application are mounted on an operating server in a binary manner, so that performance degradation due to execution of a high availability algorithm of the operation server can be prevented in advance The effect of the availability algorithm execution time can be minimized.

본 명세서에서 첨부되는 다음의 도면들은 본 발명의 바람직한 실시 예를 예시하는 것이며, 후술하는 발명의 상세한 설명과 함께 본 발명의 기술사상을 더욱 이해시키는 역할을 하는 것이므로, 본 발명은 그러한 도면에 기재된 사항에만 한정되어 해석되어서는 아니 된다.
도 1은 본 발명의 실시 예에 따른 메시지분산 서비스 환경에서의 운영 서버 제어 시스템의 개략적인 구성을 보인 도이다.
도 2는 본 발명의 실시 예에 따른 메시지분산 서비스 환경에서의 운영 서버의 동작 과정을 보인 도이다.
도 3은 본 발명의 실시 예에 따른 메시지분산 서비스 환경에서의 운영 서버의 세부적인 구성을 보인 도이다.
BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate preferred embodiments of the invention and, together with the description of the invention given below, serve to further understand the technical idea of the invention. And should not be construed as limiting.
FIG. 1 is a diagram illustrating a schematic configuration of an operation server control system in a message distribution service environment according to an embodiment of the present invention. Referring to FIG.
2 is a flowchart illustrating an operation of an operation server in a message distribution service environment according to an embodiment of the present invention.
3 is a detailed configuration diagram of an operation server in a message distribution service environment according to an embodiment of the present invention.

이하의 내용은 단지 본 발명의 원리를 예시한다. 그러므로 당업자는 비록 본 명세서에 명확히 설명되거나 도시되지 않았지만 본 발명의 원리를 구현하고 본 발명의 개념과 범위에 포함된 다양한 장치를 발명할 수 있는 것이다. 또한, 본 명세서에 열거된 모든 조건부 용어 및 실시예들은 원칙적으로, 본 발명의 개념이 이해되도록 하기 위한 목적으로만 명백히 의도되고, 이와 같이 특별히 열거된 실시예들 및 상태들에 제한적이지 않는 것으로 이해되어야 한다. 또한, 본 발명의 원리, 관점 및 실시예들 뿐만 아니라 특정 실시예를 열거하는 모든 상세한 설명은 이러한 사항의 구조적 및 기능적 균등물을 포함하도록 의도되는 것으로 이해되어야 한다. 또한, 이러한 균등물들은 현재 공지된 균등물뿐만 아니라 장래에 개발될 균등물 즉 구조와 무관하게 동일한 기능을 수행하도록 발명된 모든 소자를 포함하는 것으로 이해되어야 한다.The following merely illustrates the principles of the invention. Thus, those skilled in the art will be able to devise various apparatuses which, although not explicitly described or shown herein, embody the principles of the invention and are included in the concept and scope of the invention. Furthermore, all of the conditional terms and embodiments listed herein are, in principle, intended only for the purpose of enabling understanding of the concepts of the present invention, and are not intended to be limiting in any way to the specifically listed embodiments and conditions . It is also to be understood that the detailed description, as well as the principles, aspects and embodiments of the invention, as well as specific embodiments thereof, are intended to cover structural and functional equivalents thereof. It is also to be understood that such equivalents include all elements contemplated to perform the same function irrespective of currently known equivalents as well as equivalents to be developed in the future.

따라서, 프로세서 또는 이와 유사한 개념으로 표시된 기능 블록을 포함하는 도면에 도시된 다양한 소자의 기능은 전용 하드웨어뿐만 아니라 적절한 소프트웨어와 관련하여 소프트웨어를 실행할 능력을 가진 하드웨어의 사용으로 제공될 수 있다. 프로세서에 의해 제공될 때, 기능은 단일 전용 프로세서, 단일 공유 프로세서 또는 복수의 개별적 프로세서에 의해 제공될 수 있고, 이들 중 일부는 공유될 수 있다. 또한, 프로세서, 제어 또는 이와 유사한 개념으로 제시되는 용어의 사용은 소프트웨어를 실행할 능력을 가진 하드웨어를 배타적으로 인용하여 해석되어서는 아니 되고, 제한 없이 디지털 신호 프로세서(DSP) 하드웨어, 소프트웨어를 저장하기 위한 롬(ROM), 램(RAM) 및 비휘발성 메모리를 암시적으로 포함하는 것으로 이해되어야 한다. 주지 관용의 다른 하드웨어도 포함될 수 있다.Thus, the functions of the various elements shown in the drawings, including the functional blocks shown in the figures or similar concepts, may be provided by use of dedicated hardware as well as hardware capable of executing software in connection with appropriate software. When provided by a processor, the functions may be provided by a single dedicated processor, a single shared processor, or a plurality of individual processors, some of which may be shared. Also, the use of terms such as processor, control, or similar concepts should not be construed as exclusive reference to hardware capable of executing software, but may include, without limitation, digital signal processor (DSP) hardware, (ROM), random access memory (RAM), and non-volatile memory. Other hardware may also be included.

상술한 목적, 특징 및 장점들은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 더욱 분명해 질 것이다. 본 발명을 설명함에 있어서, 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략하거나 간략하게 설명하는 것으로 한다.The above objects, features and advantages will become more apparent from the following detailed description in conjunction with the accompanying drawings. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the following description of the present invention, a detailed description of related arts will be omitted or briefly explained when it is determined that the gist of the present invention may be unnecessarily obscured.

한편 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라, 다른 구성요소를 더 포함할 수 있는 것을 의미한다.On the other hand, when an element is referred to as "including " an element, it does not exclude other elements unless specifically stated to the contrary.

이하 첨부된 도면을 참조로 본 발명의 여러 실시 예들을 상세히 설명하기 전에, 다음의 상세한 설명에 기재되거나 도면에 도시된 구성요소들의 구성 및 배열들의 상세로 그 응용이 제한되는 것이 아니라는 것을 알 수 있을 것이다. 본 발명은 다른 실시예들로 구현되고 실시될 수 있고 다양한 방법으로 수행될 수 있다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing in detail several embodiments of the present invention with reference to the accompanying drawings, it is to be understood that the present invention is not limited to the details of construction and the arrangement of components shown in the following detailed description or illustrated in the drawings will be. The invention may be embodied and carried out in other embodiments and carried out in various ways.

도 1은 본 발명의 본 발명에 따른 메시지분산 서비스 환경에서의 운영 서버 제어 시스템의 개략적인 구성을 보인 도이고, 도 2는 도 1에 도시된 각 실행 어플리케이션 및 대기 어플리케이션의 다이어그램을 보인 도이며, 도 3은 도 1에 도시된 실행 어플리케이션 및 대기 어플리케이션 각각의 세부적인 구성을 보인 도로서, 도 1 내지 도 3을 참조하여 본 발명의 실시 예에 따른 메시지분산 서비스 환경에서의 운영 서버 제어 시스템(S)은, 실행 어플리케이션(110)과 대기 어플리케이션(120)을 포함하는 운영 서버(100)와 메시지 분산 서비스 망을 이용하여 운영 서버(100)와 메시지 통신을 통해 응용 프로그램을 실행하는 복수의 분산 노드(200)를 포함할 수 있다. FIG. 1 is a diagram showing a schematic configuration of an operation server control system in a message distribution service environment according to the present invention. FIG. 2 is a diagram showing a diagram of each execution application and a standby application shown in FIG. FIG. 3 is a block diagram showing detailed configurations of the execution application and the standby application shown in FIG. 1. Referring to FIGS. 1 to 3, the operation server control system S Includes an operation server 100 including an execution application 110 and a standby application 120 and a plurality of distributed nodes that execute an application program through message communication with the operation server 100 using a message distribution service network 200).

여기서, 운영 서버(100)의 실행 어플리케이션(110)은, 대기 어플리케이션과대기 모드로 설정한 후 수신된 DDS 메시지를 처리하는 실행 모드로 설정할 수 있다. 이때 대기 어플리케이션(120)은, 상기 실행 어플리케이션(110)의 트리거 메시지에 따라 동작 모드를 대기 모드로 설정하고 이후 수신된 정상 DDS 메시지를 임시 저장소에 저장할 수 있다. Here, the execution application 110 of the operation server 100 may be set to an execution mode for processing the received DDS message after setting the standby application and the standby application. At this time, the standby application 120 sets the operation mode to the standby mode according to the trigger message of the execution application 110, and stores the received normal DDS message in the temporary storage.

즉, 실행 어플리케이션(110)는 대기 어플리케이션(120)의 동작 모드를 대기 모드로 설정하기 위한 트리거 메시지를 생성하여 대기 어플리케이션(120)으로 전달하고 이에 대기 어플리케이션(120)의 동작 모드는 대기 모드로 설정될 수 있다.That is, the execution application 110 generates a trigger message for setting the operation mode of the standby application 120 to the standby mode and transfers the generated trigger message to the standby application 120, and sets the operation mode of the standby application 120 to the standby mode .

이 후 실행 어플리케이션(110)과 대기 어플리케이션(120) 각각에 정상적인 DDS 메시지를 수신되면, 실행 어플리케이션(10)은 동작 모드를 실행 모드로 설정한 후 수신된 DDS 메시지를 처리하고 처리 결과는 메시지 분산 서비스 망을 이용하여 복수의 분산 노드(200)로 전달될 수 있다.Thereafter, when a normal DDS message is received in each of the executing application 110 and the waiting application 120, the executing application 10 sets the operation mode to the execution mode, processes the received DDS message, And may be transmitted to a plurality of distributed nodes 200 using a network.

이때 대기 어플리케이션(120)은 수신된 DDS 메시지를 임시 저장소에 저장한다.At this time, the waiting application 120 stores the received DDS message in the temporary storage.

이어 대기 어플리케이션(120)은 실행 어플리케이션(110)으로부터 대기 모드로 설정하기 위한 트리거 신호가 수신되지 아니한 경우 실행 어플리케이션(110)에 장애가 발생한 것으로 판단하고 The standby application 120 determines that a failure has occurred in the execution application 110 when a trigger signal for setting the standby mode from the execution application 110 is not received

상기 대기 어플리케이션(120)에서 실행 어플리케이션(110)로부터 기 정해진 시간 내에 트리거 메시지 미 수신 시 실행 어플리케이션(110)의 장애로 판정하여 동작 모드를 실행 모드로 전환하고 임시 저장소에 저장된 DDS 메시지를 처리하여 분산 단말(200)로 전달한 후 동작 모드를 대기 모드로 설정할 수 있다.The standby application 120 determines that the execution application 110 has failed in receiving the trigger message within a predetermined time from the execution application 110, switches the operation mode to the execution mode, processes the DDS message stored in the temporary storage, The mobile terminal 200 can set the operation mode to the standby mode.

그리고, 실행 어플리케이션(110)은 장애 발생 시 오류 진단 후 복구한 후 동작 모드를 대기 모드로 설정하고 대기 모드 설정 후 대기 어플리케이션(120)을 대기 모드로 동기화하기 위해 트리거 메시지를 대기 어플리케이션(120)로 전달할 수 있다.Then, the execution application 110 sets the operation mode to the standby mode after recovering from the error diagnosis after the failure, sets the operation mode to the standby mode, and sends the trigger message to the standby application 120 to synchronize the standby application 120 to the standby mode .

이에 따라 실행 어플리케이션(110)과 대기 어플리케이션(120) 각각은 실행 어플리케이션(110)과 대기 어플리케이션(120)의 동작 모드를 대기 모드로 동기시키기 위한 트리거 메시지를 송수신하는 트리거 메시지 송수신 모듈(111, 121)와, 정상 DDS 메시지 수신 시 처리하여 분산 노드로 전달하는 DDS 메시지 처리 모듈(112, 122)와, 상기 실행 어플리케이션(110)의 장애 판정 시 장애 복구 후 상기 실행 어플리케이션(110)의 동작 모드를 대기 모드로 설정하고 대기 어플리케이션(120)의 동작 모드를 실행 모드로 전환하는 장애 절체 및 복구 모듈(113, 123)을 포함할 수 있다.The execution application 110 and the standby application 120 each include trigger message transmission and reception modules 111 and 121 for transmitting and receiving a trigger message for synchronizing the operation mode of the execution application 110 and the standby application 120 to the standby mode, A DDS message processing module 112, 122 for processing the received normal DDS message and delivering it to a distributed node, and a DDS message processing module 112, 122 for transmitting the operation mode of the executing application 110 to the standby mode And a failure switching and recovery module 113 and 123 for setting the operation mode of the standby application 120 to the execution mode.

즉, 상기 트리거 메시지 송수신 모듈(111, 112)는 실행 어플리케이션(110)의 트리거 신호를 대기 어플리케이션(120)로 전달하여 실행 어플리케이션(110)과 대기 어플리케이션(120)의 동작 모드를 대기 모드로 동기시킬 수 있다.That is, the trigger message transmission / reception module 111 or 112 transmits the trigger signal of the execution application 110 to the standby application 120 to synchronize the operation mode of the execution application 110 and the standby application 120 in the standby mode .

그리고 DDS 메시지 처리 모듈(112, 122)는 실행 어플리케이션(110)과 대기 어플리케이션(120의 대기 모드에서 정상 DDS 메시지가 수신되는 경우 실행 어플리케이션(110)의 동작 모드를 실행 모드로 전환한 후 수신된 DDS 메시지를 처리하여 데이터 분산 서비스 망을 통해 복수의 분산 노드(200)로 전달할 수 있다. The DDS message processing modules 112 and 122 convert the operation mode of the execution application 110 into the execution mode when the normal DDS message is received in the standby mode of the execution application 110 and the standby application 120, Message to the plurality of distributed nodes 200 through the data distribution service network.

이때 수신된 정상 DDS 메시지를 수신된 대기 어플리케이션(120)은 수신된 DDS 신호를 임시 저장소에 저장한 후 대기 모드를 유지할 수 있다.At this time, the standby application 120 receiving the received normal DDS message can maintain the standby mode after storing the received DDS signal in the temporary storage.

한편, 장애 절체 및 복구 모듈(113, 123)는 실행 어플리케이션(110)의 장애 발생 시 장애 복구한 후 동작 모드를 대기 모드로 설정할 수 있다. 이에 따라 실행 어플리케이션(110)은 대기 어플리케이션(120)으로 절체될 수 있다.On the other hand, the failure switching and recovery modules 113 and 123 can set the operation mode to the standby mode after the failure of the execution application 110 occurs. Accordingly, the executing application 110 can be switched to the waiting application 120. [

이때 대기 어플리케이션(120)은 실행 어플리케이션(110)으로부터 기 정해진 일정 시간 동안 트리거 신호가 수신되지 아니한 경우 동작 모드를 실행 모드로 전환한 후 임시 저장소의 DDS 메시지를 실행하여 실행 결과를 데이터분산 서비스 망을 이용하여 복수의 분산 노드(200)로 전달할 수 있다. 이에 대기 어플리케이션(120)은 실행 어플리케이션(110)으로 절체될 수 있다. 이 후 대기 어플리케이션(120)는 대기 모드로 설정한 후 트리거 신호를 실행 어플리케이션(110)으로 제공하여 실행 어플리케이션(110) 및 대기 어플리케이션(120)은 대기 모드로 동기화될 수 있고 이에 따라 이 후 수신되는 DDS 메시지가 처리 가능하다.At this time, if the triggering signal is not received from the execution application 110 for a predetermined period of time, the standby application 120 switches the operation mode to the execution mode, and then executes the DDS message of the temporary storage to transmit the execution result to the data distribution service network To the plurality of distributed nodes 200. [ The standby application 120 may be switched to the execution application 110. [ The standby application 120 then sets the standby mode and provides the trigger signal to the executing application 110 so that the executing application 110 and the standby application 120 can be synchronized to the standby mode, DDS messages can be processed.

본 발명의 다른 실시 태양으로, (a) 상기 실행 어플리케이션에서 대기 어플리케이션의 동작 모드를 대기 모드로 설정하기 위한 트리거 메시지를 생성하여 대기 어플리케이션으로 전달하고 대기 어플리케이션의 동작 모드를 대기 모드로 설정하는 단계; (b) 상기 실행 어플리케이션과 대기 어플리케이션 각각에 정상적인 DDS 메시지 수신 시 실행 어플리케이션의 동작 모드를 실행 모드로 설정하여 수신된 DDS 메시지를 처리한 후 처리 결과를 분산 노드로 전달하는 단계; (c) 상기 대기 어플리케이션에서 수신된 DDS 메시지를 임시 저장소에 저장한 후 동작 모드를 대기 모드로 설정하는 단계를 포함할 수 있다.(A) generating a trigger message for setting an operation mode of a standby application to a standby mode in the executing application, transmitting the trigger message to the standby application, and setting an operation mode of the standby application to a standby mode; (b) receiving a normal DDS message in each of the executing application and the waiting application, setting the operation mode of the execution application to the execution mode, processing the received DDS message, and transmitting the processing result to the distribution node; (c) storing the received DDS message in the standby application in the temporary storage and setting the operation mode to the standby mode.

그리고, 상기 (c) 단계 이 후에 (d) 상기 실행 어플리케이션에서 장애 발생 시 오류 진단 후 복귀하고 이 후 동작 모드를 대기 모드로 설정하는 단계; (e) 상기 대기 어플리케이션에서 실행 어플리케이션의 장애 발생으로 인해 트리거 메시지 미 수신 시 동작 모드를 실행 모드로 전환하고 임시 저장소에 저장된 DDS 메시지를 처리하여 분산 단말로 전달하고 동작 모드를 대기 모드로 설정하는 단계; 및 (f) 상기 대기 어플리케이션에서 동작 모드를 대기 모드로 전환하기 위한 트리거 메시지를 상기 실행 어플리케이션으로 전달하여 실행 어플리케이션의 동작 모드를 대기 모드로 설정하여 실행 어플리케이션과 대기 어플리케이션의 동작 모드를 동기시키는 단계를 더 포함할 수 있다.(D) returning to the execution application after the error diagnosis when the failure occurs, and then setting the operation mode to the standby mode; (e) switching the operation mode to the execution mode upon receiving no trigger message due to the failure of the execution application in the standby application, processing the DDS message stored in the temporary storage and delivering the DDS message to the distributed terminal, and setting the operation mode to the standby mode ; And (f) transmitting a trigger message for switching the operation mode to the standby mode in the standby application to the execution application to set the operation mode of the execution application to the standby mode to synchronize the operation mode of the execution application and the standby application .

상기의 운영 서버 제어 방법의 각 단계는 전술한 실행 어플리케이션(110)과 대기 어플리케이션(120)에서 수행되는 기능으로 자세한 원용은 생략한다. Each step of the operation server control method is performed by the execution application 110 and the standby application 120, and detailed explanations thereof are omitted.

이에 따라, 본 발명은 메시지 분산 서비스 환경에서 메시지 분산 서비스 제공 시 운영 서버에 실행 어플리케이션 및 대기 어플리케이션을 이원화하여 탑재함에 따라, 운영 서버의 고 가용성 알고리즘 실행에 따른 성능 저하를 미연에 방지할 수 있고, 고가용성 알고리즘 수행 시간을 최소로 단축할 수 있게 된다.Accordingly, when a message distribution service is provided in a message distribution service environment, an execution application and a standby application are binarized and mounted on an operation server, so that performance degradation due to execution of a high availability algorithm of the operation server can be prevented in advance, The execution time of the high availability algorithm can be minimized.

지금까지 본 발명을 바람직한 실시 예를 참조하여 상세히 설명하였다. 그러나 본 발명이 상기한 실시 예에 한정되는 것은 아니며, 이하의 특허청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 또는 수정이 가능한 범위까지 본 발명의 기술적 사상이 미친다 할 것이다. The present invention has been described in detail with reference to preferred embodiments. It will be apparent to those skilled in the art that the present invention is not limited to the embodiments described above and that various modifications and changes may be made by one of ordinary skill in the art without departing from the scope of the present invention, It is to be understood that the technical idea of the present invention extends to the extent possible.

Claims (4)

메메시지 분산 서비스 망을 통해 DDS 메시지를 토대로 응용 프로그램을 실행하는 운영 서버에 있어서,
상기 운영 서버는
대기 모드에서 수신된 정상적인 DDS 메시지를 처리하기 위해 동작 모드를 실행 모드로 설정하는 실행 어플리케이션; 및
상기 실행 어플리케이션의 트리거 메시지에 따라 동작 모드를 대기 모드로 설정하고 이후 수신된 정상 DDS 메시지를 임시 저장소에 저장하는 대기 어플리케이션을 포함하는 것을 특징으로 하는 메시지분산 서비스 환경에서의 운영 서버 제어 시스템.
An operation server for executing an application program based on a DDS message through a distributed message service network,
The operating server
An execution application for setting an operation mode to an execution mode for processing a normal DDS message received in a standby mode; And
And a waiting application for setting an operation mode to a standby mode according to a trigger message of the execution application and storing a received normal DDS message in a temporary storage.
제1항에 있어서, 상기 실행 어플리케이션 및 대기 어플리케이선 각각은,
상기 실행 어플리케이션과 대기 어플리케이션 각각은 실행 어플리케이션과 대기 어플리케이션 간에 대기 모드로 동기시키기 위한 트리거 메시지를 송수신하는 트리거 메시지 송수신 모듈;
정상 DDS 메시지 수신 시 처리하여 분산 노드로 전달하는 DDS 메시지 처리 모듈; 및
상기 실행 어플리케이션의 장애 판정 시 장애 복구 후 상기 실행 어플리케이션의 동작 모드를 대기 모드로 설정하고 대기 어플리케이션의 동작 모드를 실행 모드로 전환하는 장애 절체 및 복구 모듈을 포함하는 것을 특징으로 하는 메시지분산 서비스 환경에서의 운영 서버 제어 시스템.
2. The apparatus of claim 1, wherein each of the execution application and the standby application line includes:
Wherein each of the execution application and the standby application includes a trigger message transmission / reception module for transmitting and receiving a trigger message for synchronization in a standby mode between an execution application and a standby application;
A DDS message processing module for processing the received normal DDS message and delivering it to the distributed node; And
And a failover and recovery module for setting an operation mode of the execution application to a standby mode and restoring an operation mode of the standby application to an execution mode after a failure recovery when the failure of the execution application is determined. The operating server control system.
실행 어플리케이션과 대기 어플리케이션을 포함하는 운영 서버 제어 방법에 있어서,
(a) 상기 실행 어플리케이션에서 대기 어플리케이션의 동작 모드를 대기 모드로 설정하기 위한 트리거 메시지를 생성하여 대기 어플리케이션으로 전달하고 대기 어플리케이션의 동작 모드를 대기 모드로 설정하는 단계;
(b) 상기 실행 어플리케이션과 대기 어플리케이션 각각에 정상적인 DDS 메시지 수신 시 실행 어플리케이션의 동작 모드를 실행 모드로 설정하여 수신된 DDS 메시지를 처리한 후 처리 결과를 분산 노드로 전달하는 단계; 및
(c) 상기 대기 어플리케이션에서 수신된 DDS 메시지를 임시 저장소에 저장한 후 동작 모드를 대기 모드로 설정하는 단계를 포함하는 것을 특징으로 하는 메시지분산 서비스 환경에서의 운영 서버 제어 방법.

1. An operating server control method including an executing application and a waiting application,
(a) generating a trigger message for setting the operation mode of the standby application to the standby mode in the execution application, delivering the trigger message to the standby application, and setting the operation mode of the standby application to the standby mode;
(b) receiving a normal DDS message in each of the executing application and the waiting application, setting an operation mode of the execution application as an execution mode, processing the received DDS message, and transmitting the processing result to the distribution node; And
(c) storing the DDS message received from the standby application in a temporary storage, and setting an operation mode to a standby mode.

제3항에 있어서, 상기 (c) 단계 이 후에
(d) 상기 실행 어플리케이션에서 장애 발생 시 오류 진단 후 복귀하고 이 후 동작 모드를 대기 모드로 설정하는 단계;
(e) 상기 대기 어플리케이션에서 실행 어플리케이션의 장애 발생으로 인해 트리거 메시지 미 수신 시 동작 모드를 실행 모드로 전환하고 임시 저장소에 저장된 DDS 메시지를 처리하여 분산 단말로 전달하고 동작 모드를 대기 모드로 설정하는 단계; 및
(f) 상기 대기 어플리케이션에서 동작 모드를 대기 모드로 전환하기 위한 트리거 메시지를 상기 실행 어플리케이션으로 전달하여 실행 어플리케이션의 동작 모드를 대기 모드로 설정하여 실행 어플리케이션과 대기 어플리케이션의 동작 모드를 동기시키는 단계를 더 포함하는 것을 특징으로 하는 메시지분산 서비스 환경에서의 운영 서버 제어 방법.

4. The method of claim 3, wherein step (c)
(d) returning after error diagnosis in the event of a failure in the execution application, and then setting the operation mode to a standby mode;
(e) switching the operation mode to the execution mode upon receiving no trigger message due to the failure of the execution application in the standby application, processing the DDS message stored in the temporary storage and transferring the DDS message to the distributed terminal, and setting the operation mode to the standby mode ; And
(f) transmitting a trigger message for switching the operation mode to the standby mode in the standby application to the execution application to set the operation mode of the execution application to the standby mode to synchronize the operation mode of the execution application and the standby application And controlling the operation server in the message distribution service environment.

KR1020160062069A 2016-05-20 2016-05-20 System for controlling application sever based on data distribution service KR20170131001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160062069A KR20170131001A (en) 2016-05-20 2016-05-20 System for controlling application sever based on data distribution service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160062069A KR20170131001A (en) 2016-05-20 2016-05-20 System for controlling application sever based on data distribution service

Publications (1)

Publication Number Publication Date
KR20170131001A true KR20170131001A (en) 2017-11-29

Family

ID=60812369

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160062069A KR20170131001A (en) 2016-05-20 2016-05-20 System for controlling application sever based on data distribution service

Country Status (1)

Country Link
KR (1) KR20170131001A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11297156B1 (en) 2020-12-24 2022-04-05 Coupang Corp. System for processing data using distributed messaging system and data processing method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11297156B1 (en) 2020-12-24 2022-04-05 Coupang Corp. System for processing data using distributed messaging system and data processing method thereof

Similar Documents

Publication Publication Date Title
US11172023B2 (en) Data synchronization method and system
CN105743692B (en) Policy-based framework for application management
EP3210367B1 (en) System and method for disaster recovery of cloud applications
US9992058B2 (en) Redundant storage solution
US20060271812A1 (en) Systems and methods for providing redundant application servers
CN114787781A (en) System and method for enabling high availability managed failover services
JP2017525008A (en) Arbitration processing method, quorum storage device, and system after cluster brain division
KR20150088559A (en) Method and apparatus for restoring failure of network
WO2016095344A1 (en) Link switching method and device, and line card
WO2021185169A1 (en) Switching method and apparatus, and device and storage medium
CN110895469A (en) Method and device for upgrading dual-computer hot standby system, electronic equipment and storage medium
JP5775473B2 (en) Edge device redundancy system, switching control device, and edge device redundancy method
US20220286350A1 (en) Systems and methods for seamless failover in branch deployments by superimposing clustering solution on vrrp
KR101358995B1 (en) Method and system for managing high availability
CN117201507A (en) Cloud platform switching method and device, electronic equipment and storage medium
CN115801642B (en) RDMA communication management module, method, equipment and medium based on state control
KR20170131001A (en) System for controlling application sever based on data distribution service
CN116193481A (en) 5G core network processing method, device, equipment and medium
CN115484208A (en) Distributed drainage system and method based on cloud security resource pool
US10491544B2 (en) Consistency control of a logical path passing through a relay device
CN107995022B (en) Session synchronization method and device, storage medium and electronic equipment
CN112367386A (en) Ignite-based automatic operation and maintenance method, apparatus and computer equipment
KR101401006B1 (en) Method and appratus for performing software upgrade in high availability system
US10122588B2 (en) Ring network uplink designation
US11902083B1 (en) Techniques to provide a flexible witness in a distributed system