KR102567541B1 - Edge service instance distribution apparatus and control method thereof - Google Patents

Edge service instance distribution apparatus and control method thereof Download PDF

Info

Publication number
KR102567541B1
KR102567541B1 KR1020210135276A KR20210135276A KR102567541B1 KR 102567541 B1 KR102567541 B1 KR 102567541B1 KR 1020210135276 A KR1020210135276 A KR 1020210135276A KR 20210135276 A KR20210135276 A KR 20210135276A KR 102567541 B1 KR102567541 B1 KR 102567541B1
Authority
KR
South Korea
Prior art keywords
edge service
service instance
new version
redistribution
instance
Prior art date
Application number
KR1020210135276A
Other languages
Korean (ko)
Other versions
KR20230052111A (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 KR1020210135276A priority Critical patent/KR102567541B1/en
Publication of KR20230052111A publication Critical patent/KR20230052111A/en
Application granted granted Critical
Publication of KR102567541B1 publication Critical patent/KR102567541B1/en

Links

Classifications

    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0859Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions
    • H04L41/0863Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions by rolling back to previous configuration versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Abstract

본 발명은 엣지 서비스 인스턴스 배포 장치 및 그 제어방법에 관한 것이다. 본 발명에 따른 엣지 서비스 인스턴스 배포 장치의 제어방법은, 소정의 서비스에 대응되는 신규 버전 엣지 서비스 인스턴스를 배포하는 단계와; 상기 신규 버전 엣지 서비스 인스턴스의 동작 상태를 확인하는 단계와; 상기 확인 결과 해당 신규 버전 엣지 서비스 인스턴스의 동작에 장애가 발생한 경우 해당 장애가 발생된 신규 버전 엣지 서비스 인스턴스의 재배포를 수행하는 단계와; 상기 재배포 이후에, 해당 재배포된 신규 버전 엣지 서비스 인스턴스의 동작 상태를 확인하는 단계와; 상기 확인 결과 해당 재배포된 신규 버전 엣지 서비스 인스턴스의 동작에 장애가 발생한 경우 그 장애가 발생한 신규 버전 엣지 서비스 인스턴스의 재배포 횟수를 판단하는 단계와; 상기 판단 결과 재배포 횟수가 기 설정된 재배포 기준값 이상인 경우에는 이전 버전 엣지 서비스 인스턴스를 배포하여 롤백 처리를 제어하는 단계를 포함하는 단계를 포함하는 것을 특징으로 한다.The present invention relates to an edge service instance distribution device and a control method thereof. A control method of an edge service instance distribution apparatus according to the present invention includes distributing a new version edge service instance corresponding to a predetermined service; checking an operating state of the new version edge service instance; As a result of the check, when a failure occurs in the operation of the corresponding new version edge service instance, redistributing the new version edge service instance where the corresponding failure occurs; After the redistribution, checking the operating state of the redistributed new version edge service instance; determining the number of redistributions of the new version edge service instance in which the failure occurs, when a failure occurs in the operation of the corresponding redistributed new version edge service instance as a result of the check; As a result of the determination, when the number of redistribution is equal to or greater than the preset redistribution reference value, the method may include a step of distributing an edge service instance of a previous version and controlling rollback processing.

Description

엣지 서비스 인스턴스 배포 장치 및 그 제어방법{EDGE SERVICE INSTANCE DISTRIBUTION APPARATUS AND CONTROL METHOD THEREOF}Edge service instance distribution device and its control method {EDGE SERVICE INSTANCE DISTRIBUTION APPARATUS AND CONTROL METHOD THEREOF}

본 발명은 엣지 서비스 인스턴스 배포 장치 및 그 제어방법에 관한 것으로, 보다 상세하게는 엣지 서비스가 버전업(갱신) 됨에 따라 새로운 엣지 서비스 인스턴스를 배포하는 장치 및 그 제어방법에 관한 것이다.The present invention relates to an edge service instance distribution apparatus and a control method thereof, and more particularly, to an apparatus and a control method for distributing a new edge service instance as an edge service is upgraded (updated).

일명 클라우드 컴퓨팅이란 "클라우드", 즉 인터넷을 통해 서버, 저장소, 소프트웨어, 분석 등의 컴퓨팅 서비스를 제공하는 것을 의미한다. 예를 들어 네이버의 엔드라이브, 구글 Docs, 윈도우를 설치하면 함께 설치되는 OneDrive 등이 이런 서비스의 대표적인 예라 할 수 있다는데, 현재 많은 사용자들이 클라우드 기능을 손쉽게 사용하고 있다.Cloud computing, also known as cloud computing, refers to the provision of computing services such as servers, storage, software, and analytics over the "cloud," or the Internet. For example, Naver's Endlive, Google Docs, and OneDrive, which are installed together with Windows, are representative examples of such services, and many users are currently using cloud functions easily.

그런데 이런 클라우드 컴퓨팅에도 여러 문제점이 있다.However, cloud computing also has several problems.

클라우드 서비스를 이용하는 사람들이 기하급수적으로 늘어나면서 서버 및 데이터 센터에서 처리할 수 있는 데이터의 양을 넘어서기 시작하고, 이에 더해 수집한 데이터를 분석하고 송신하는 과정에서 발생하는 데이터 지연 현상이 발생되고 있다.As the number of people using cloud services increases exponentially, they begin to exceed the amount of data that can be processed by servers and data centers, and in addition, data delays occur in the process of analyzing and transmitting the collected data. .

이러한 종래의 클라우드 컴퓨팅에서의 문제점 특히 데이터 처리 속도 및 용량과 관련된 문제를 해결할 방식 중 하나로서 엣지 컴퓨팅이 도입되었다.Edge computing has been introduced as one of methods to solve problems related to the conventional cloud computing, particularly data processing speed and capacity.

포그 컴퓨팅, MEC(Mobile Edge Computing) 등 여러 가지로 불리는 엣지 컴퓨팅은 말단 기기, 즉 '엣지'에서 컴퓨팅을 수행하는 것을 의미한다.Edge computing, also called fog computing or MEC (Mobile Edge Computing), refers to computing at the end device, that is, the 'edge'.

클라우드 컴퓨팅처럼 데이터를 처리하고 연산하는 곳이 멀리 떨어진 데이터 센터에 있는 게 아니라, 사용자들이 사용하는 단말 장치들과 가까운 곳에 컴퓨팅 장치가 위치한다는 것을 의미한다.This means that the computing device is located close to the terminal devices used by users, rather than a place where data is processed and computed in a far away data center like cloud computing.

특히 지금까지 '엣지'에 위치한 장비들이 단순히 데이터 전송의 역할만을 수행하거나 데이터 저장의 역할만 수행한다면, 엣지 컴퓨팅에서는 이 '엣지' 장비에 컴퓨팅 능력을 부가하여 데이터 분석이나 기타 다양한 서비스를 제공하도록 하고 있다.In particular, if equipment located at the 'edge' so far only plays the role of data transmission or data storage, edge computing adds computing power to this 'edge' equipment to provide data analysis or other various services. there is.

이러한 엣지 컴퓨팅은 그 단독으로 구성되기 보다는 클라우드의 한 변형된 형태로 이용될 수 있고, 이를 클라우드 엣지 컴퓨팅이라 할 수 있는데, 최근 이러한 클라우드 엣지 컴퓨팅에 대한 논의 및 서비스 구현이 활발히 이루어지고 있다.Such edge computing can be used as a modified form of cloud rather than being configured alone, and this can be referred to as cloud edge computing.

그런데 이러한 클라우드 엣지 컴퓨팅을 구현하기 위해 만들어진 시스템, 즉, 클라우드 엣지 시스템에서는 다양한 서비스가 제공될 수 있는데, 예를 들어 서비스 제공 기반은 '컨테이너'일 수 있다.However, various services may be provided in a system created to implement such cloud edge computing, that is, a cloud edge system. For example, a service provision base may be a 'container'.

여기서 컨테이너는 일종의 가상화 기술의 하나로서, 각 서비스 제공에 필요한 데이터, 프로그램, 정보들을 포함하고 있으므로, 동일한 컨테이너는 서버 운영체제 버전 등에 상관없이 동일한 기능을 수행할 수 있어서 널리 이용되고 있다.Here, a container is a kind of virtualization technology, and since it includes data, programs, and information necessary for providing each service, the same container is widely used because it can perform the same function regardless of the version of the server operating system.

클라우드 엣지 시스템 내에 구비된 서비스들 각각은 엣지 서비스 또는 엣지 서비스 인스턴스라고 부를 수 있는데, 각각 클라우드 엣지 시스템 내의 자원을 소모하면서 서비스를 제공한다.Each of the services provided in the cloud edge system may be referred to as an edge service or an edge service instance, and each provides a service while consuming resources in the cloud edge system.

이러한 각 서비스에 대응되는 엣지 서비스 인스턴스는 새로운 버전으로 주기적으로 또는 간헐적으로 교체될 수도 있다.Edge service instances corresponding to each of these services may be periodically or intermittently replaced with new versions.

예를 들어 메시지 제공 서비스에 대응되는 엣지 서비스 인스턴스가 설치된 상태에서 그 엣지 서비스 인스턴스에 대한 새로운 버전이 등록된 경우에는 새로운 버전의 엣지 서비스 인스턴스로 기존의(이전 버전의) 엣지 서비스 인스턴스로 교체 또는 갱신될 수 있는 것이다.For example, if a new version of the edge service instance is registered while an edge service instance corresponding to a message providing service is installed, replace or renew the existing (old version) edge service instance with the new version edge service instance. It can be.

이는 일반적인 애플리케이션의 버전 관리에 해당할 수 있다.This may correspond to version management of general applications.

그런데 새로운 버전이 생성되어 그 새로운 버전으로 엣지 서비스 인스턴스를 배포한 이후, 그 새로운 버전의 엣지 서비스 인스턴스가 동작되고 있던 중 장애가 발생한 경우에는, 해당 새로운 버전의 엣지 서비스 인스턴스를 재배포하여 설치 및 운영되도록 할 수 있다.However, after a new version is created and the edge service instance is deployed with the new version, if a failure occurs while the edge service instance of the new version is in operation, the new version of the edge service instance can be redeployed to install and operate the instance. can

이는 장시간 엣지 서비스 인스턴스가 동작으로 인해 몇몇 기능이 내부적인 처리 과정에서 장애가 발생할 수 있고, 이에 따라 엣지 서비스 인스턴스의 전체적인 기능 동작이 수행되지 않을 수 있는데, 이때 관리자가 수동으로 그 기능 고장된 부분을 일일이 찾거나 하는 것은 상당히 번거롭고 시간이 많이 걸리는 과정이므로, 종래에는 손쉽게 새로운 버전의 엣지 서비스 인스턴스를 다시 재배포하여 설치 및 운영되도록 하였다.This means that due to the operation of the edge service instance for a long time, some functions may fail in the internal processing process, and accordingly, the overall functional operation of the edge service instance may not be performed. Finding or searching is a very cumbersome and time-consuming process, so in the past, a new version of the edge service instance was easily redistributed to install and operate.

그런데 이처럼 새로운 버전의 엣지 서비스 인스턴스의 기능에 반복적으로 장애가 발생한 경우 다시 그 동일한 버전(즉, 새로운 버전)의 엣지 서비스 인스턴스를 무한 재배포함에 따라 또 다른 문제가 발생하고 있다.However, if the function of the new version of the edge service instance repeatedly fails, another problem arises as the edge service instance of the same version (ie, the new version) is infinitely redeployed.

즉, 상술한 바와 같이 갱신된 엣지 서비스 인스턴스의 구동 중에 발생하는 장애가 해당 버전의 엣지 서비스 인스턴스 자체(패키지 자체)에 내재된 문제로 인해 발생되는 경우에는, 동일한 버전의 엣지 서비스 인스턴스를 재배포한다 하여도 동일한 장애가 반복적으로 발생할 수 있고, 이는 서비스 운영의 연속성을 해치는 결과를 초래한다.That is, as described above, if the failure that occurs during the operation of the updated edge service instance is caused by a problem inherent in the edge service instance itself (package itself) of the corresponding version, even if the edge service instance of the same version is redistributed. The same failure may occur repeatedly, resulting in harming the continuity of service operation.

따라서 갱신된 엣지 서비스 인스턴스의 재배포와 관련된 이러한 문제점을 해결할 방안의 제시가 요청되고 있다.Therefore, it is requested to propose a method to solve this problem related to the redistribution of the updated edge service instance.

공개특허 제10-2021-0095457호Publication No. 10-2021-0095457

본 발명은 상기한 종래의 요청에 부응하기 위해 안출된 것으로서, 그 목적은 엣지 서비스 인스턴스를 재배포함에 있어서, 엣지 서비스 인스턴스 그 자체에 내재된 문제로 인해 장애가 반복되는 경우를 방지하기 위한 장치 및 그 제어방법을 제공하는 것이다.The present invention has been devised to meet the above-mentioned conventional request, and its purpose is to redeploy an edge service instance, a device for preventing repetition of failure due to a problem inherent in the edge service instance itself and its control is to provide a way

상기한 목적을 달성하기 위해 본 발명에 따른 엣지 서비스 인스턴스 배포 장치의 제어방법은, 소정의 서비스에 대응되는 신규 버전 엣지 서비스 인스턴스를 배포하는 단계와; 상기 신규 버전 엣지 서비스 인스턴스의 동작 상태를 확인하는 단계와; 상기 확인 결과 해당 신규 버전 엣지 서비스 인스턴스의 동작에 장애가 발생한 경우 해당 장애가 발생된 신규 버전 엣지 서비스 인스턴스의 재배포를 수행하는 단계와; 상기 재배포 이후에, 해당 재배포된 신규 버전 엣지 서비스 인스턴스의 동작 상태를 확인하는 단계와; 상기 확인 결과 해당 재배포된 신규 버전 엣지 서비스 인스턴스의 동작에 장애가 발생한 경우 그 장애가 발생한 신규 버전 엣지 서비스 인스턴스의 재배포 횟수를 판단하는 단계와; 상기 판단 결과 재배포 횟수가 기 설정된 재배포 기준값 이상인 경우에는 이전 버전 엣지 서비스 인스턴스를 배포하여 롤백 처리를 제어하는 단계를 포함하는 단계를 포함하여 이루어질 수 있다.In order to achieve the above object, a control method of an edge service instance distribution device according to the present invention includes distributing a new version edge service instance corresponding to a predetermined service; checking an operating state of the new version edge service instance; As a result of the check, when a failure occurs in the operation of the corresponding new version edge service instance, redistributing the new version edge service instance where the corresponding failure occurs; After the redistribution, checking the operating state of the redistributed new version edge service instance; determining the number of redistributions of the new version edge service instance in which the failure occurs, when a failure occurs in the operation of the corresponding redistributed new version edge service instance as a result of the check; As a result of the determination, when the number of redistribution is equal to or greater than a preset redistribution reference value, a step of distributing an edge service instance of a previous version and controlling rollback processing may be included.

여기서, 상기 판단 결과 재배포 횟수가 기 설정된 재배포 기준값 미만인 경우에는 해당 신규 버전 엣지 서비스 인스턴스를 재배포할 수 있다.Here, as a result of the determination, if the number of redistribution times is less than a preset redistribution reference value, the corresponding new version edge service instance may be redistributed.

여기서, 상기 신규 버전 엣지 서비스 인스턴스의 최초 배포 시점을 저장하고, 복수의 신규 버전 엣지 서비스 인스턴스별로 최초 배포 시점으로부터의 경과 시간에 비례하여 상기 재배포 기준값을 동적으로 변경시킬 수 있다.Here, the initial distribution time of the new version edge service instance may be stored, and the redistribution reference value may be dynamically changed in proportion to the elapsed time from the initial distribution time for each of the plurality of new version edge service instances.

여기서, 상기 신규 버전 엣지 서비스 인스턴스에 대응되는 소켓 통신에 대한 주기적 접근을 수행한 후, 그 결과에 따라 장애 발생 여부를 판단할 수 있다.Here, after performing periodic access to the socket communication corresponding to the new version edge service instance, it is possible to determine whether or not a failure has occurred according to the result.

상기한 목적을 달성하기 위해 본 발명에 따른 엣지 서비스 인스턴스 배포 장치는, 자체적으로 또는 원격에 설치된 엣지 서비스 인스턴스의 동작 상태를 확인하는 동작 상태 확인부와;소정의 서비스에 대응되는 신규 버전 엣지 서비스 인스턴스를 배포한 후, 상기 동작 상태 확인부에서 상기 신규 버전 엣지 서비스 인스턴스의 동작 상태를 확인한 결과 장애가 발생한 것으로 확인된 경우, 해당 장애가 발생된 신규 버전 엣지 서비스 인스턴스의 재배포를 수행하고, 그 재배포된 신규 버전 엣지 서비스 인스턴스의 동작 상태에 장애가 발생한 것으로 상기 동작 상태 확인부에서 확인된 경우, 그 장애가 발생한 신규 버전 엣지 서비스 인스턴스의 재배포 횟수를 판단하고, 판단 결과재배포 횟수가 기 설정된 재배포 기준값 이상인 경우에는 이전 버전 엣지 서비스 인스턴스를 배포하여 롤백 처리 제어를 수행하는 인스턴스 배포 제어부를 포함하여 구성될 수 있다.In order to achieve the above object, an apparatus for distributing an edge service instance according to the present invention includes an operating state checking unit for checking the operating state of an edge service instance installed on its own or remotely; and a new version edge service instance corresponding to a predetermined service. After deploying, if it is confirmed that a failure has occurred as a result of checking the operating state of the new version edge service instance in the operation status check unit, redistribution of the new version edge service instance with the corresponding failure occurs, and the redistributed new version If it is confirmed by the operation status check unit that the operation state of the edge service instance has failed, the number of redistributions of the new version edge service instance where the failure has occurred is determined, and as a result of the determination, if the number of redistributions is greater than the preset redistribution reference value, the previous version edge It can be configured to include an instance distribution control unit that deploys service instances and performs rollback processing control.

여기서, 상기 인스턴스 배포 제어부는 재배포 횟수가 기 설정된 재배포 기준값 미만인 경우에는 해당 신규 버전 엣지 서비스 인스턴스를 재배포할 수 있다.Here, the instance distribution control unit may redistribute the corresponding new version edge service instance when the number of redistribution is less than a preset redistribution reference value.

여기서, 상기 인스턴스 배포 제어부에 의한 신규 버전 엣지 서비스 인스턴스의 최초 배포 시점을 저장하는 배포 시점 관리부와;복수의 신규 버전 엣지 서비스 인스턴스별로 최초 배포 시점으로부터의 경과 시간에 비례하여 상기 재배포 기준값을 동적으로 변경시키는 설정값 변경부를 더 포함할 수 있다.Here, a distribution time management unit for storing the initial distribution time of the new version edge service instance by the instance distribution control unit; and dynamically changing the redistribution reference value in proportion to the elapsed time from the initial distribution time for each of a plurality of new version edge service instances. It may further include a setting value changer to do.

여기서, 상기 동작 상태 확인부는, 각 엣지 서비스 인스턴스에 대응되는 소켓 통신에 대한 주기적 접근을 수행한 후, 그 결과에 따라 장애 발생 여부를 판단할 수 있다.Here, the operating status check unit may perform periodic access to socket communication corresponding to each edge service instance and determine whether or not a failure has occurred according to the result.

이상 설명한 바와 같이 본 발명에 따르면, 신규 버전의 엣지 서비스 인스턴스가 배포된 이후 반복적으로 해당 엣지 서비스 인스턴스에 대한 장애가 발생하는 경우, 기 설정된 재배포 기준값을 초과하는 경우에는 다시 이전 버전의 엣지 서비스 인스턴스를 배포하여 롤백하도록 함으로써, 패키지 자체의 오류에 따른 문제를 최소화시킬 수 있다.As described above, according to the present invention, if a failure of the corresponding edge service instance repeatedly occurs after a new version of the edge service instance is deployed, or if the preset redistribution threshold value is exceeded, the edge service instance of the previous version is deployed again. By making rollback by doing so, problems caused by errors in the package itself can be minimized.

특히, 재배포 기준값을 최초 배포 시점으로부터 경과한 시간에 따라 동적으로 변경시킴으로써, 패키지 문제인지 다른 하드웨어 문제인지를 구체적으로 판단하지 않더라도 높은 확률로 패키지 문제가 없는 엣지 서비스 인스턴스는 계속하여 재배포하고, 패키지에 문제가 있는 것은 이전 버전으로 롤백하도록 할 수 있다.In particular, by dynamically changing the redistribution reference value according to the elapsed time from the initial distribution, even if it is not specifically determined whether it is a package problem or another hardware problem, edge service instances that do not have a package problem with a high probability are continuously redistributed, and Anything that has problems can be rolled back to a previous version.

도 1은 본 발명의 일 실시예에 따른 엣지 서비스 인스턴스 배포 장치를 포함하는 전체 시스템의 개략 구성도이고,
도 2는 도 1의 엣지 서비스 인스턴스 배포 장치의 기능 블록도이고,
도 3은 본 발명의 일 실시예에 따른 엣지 서비스 인스턴스 배포 장치의 전체적인 제어흐름도이다.
1 is a schematic configuration diagram of an entire system including an edge service instance distribution device according to an embodiment of the present invention;
2 is a functional block diagram of the edge service instance distribution device of FIG. 1;
3 is an overall control flow diagram of an edge service instance distribution device according to an embodiment of the present invention.

이하에서는 첨부도면을 참조하여 본 발명에 대해 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

이하 본 발명에 따른 각 실시예는 본 발명의 이해를 돕기 위한 하나의 예에 불과하고, 본 발명이 이러한 실시예에 한정되는 것은 아니다. 특히 본 발명은 각 실시예에 포함되는 개별 구성, 개별 기능, 또는 개별 단계 중 적어도 어느 하나 이상의 조합으로 구성될 수 있다.Hereinafter, each embodiment according to the present invention is only one example to aid understanding of the present invention, and the present invention is not limited to these embodiments. In particular, the present invention may be composed of at least one or more combinations of individual components, individual functions, or individual steps included in each embodiment.

특히, 편의상 청구 범위의 일부 청구항에는 '(a)'와 같은 알파벳을 포함시켰으나, 이러한 알파벳이 각 단계의 순서를 규정하는 것은 아니다.In particular, although alphabets such as '(a)' are included in some claims of the claims for convenience, these alphabets do not prescribe the order of each step.

본 발명의 일 실시예에 따른 엣지 서비스 인스턴스 배포 장치(100)를 포함하는 전체 시스템의 개략 구성은 도 1에 도시된 바와 같다.A schematic configuration of the entire system including the edge service instance distribution device 100 according to an embodiment of the present invention is as shown in FIG.

동 도면에 도시된 바와 같이 전체 통신 시스템은 엣지 서비스 인스턴스 배포 장치(100) 및 엣지 서버(200)를 포함하여 구성될 수 있다.As shown in the figure, the entire communication system may include an edge service instance distribution device 100 and an edge server 200.

우선, 엣지 서버(200)는 적어도 하나의 엣지 서비스 인스턴스를 포함하여 사용자나 고객에게 특정 서비스를 제공하는 것으로서, 여기서 엣지 서비스 인스턴스는 클라우드 엣지 시스템 내에 구비된 각종 서비스를 수행하기 위한 각각의 모듈을 의미할 수 있는데, 이는 공지된 기술에 해당하므로 보다 상세한 설명은 생략한다.First of all, the edge server 200 includes at least one edge service instance to provide a specific service to a user or customer. Here, the edge service instance refers to each module for performing various services provided in the cloud edge system. However, since this corresponds to a known technique, a detailed description thereof will be omitted.

이러한 엣지 서비스 인스턴스는 하나의 엣지 서버(200)에 복수개 구동될 수도 있다.A plurality of such edge service instances may be driven in one edge server 200 .

한편, 엣지 서비스 인스턴스 배포 장치(100)는 이러한 각 엣지 서버(200)와 통신하면서, 엣지 서버(200)에 필요한 엣지 서비스 인스턴스를 배포하는 기능을 수행한다.Meanwhile, the edge service instance distribution device 100 performs a function of distributing edge service instances required for the edge server 200 while communicating with each edge server 200 .

본 실시예에서는 엣지 서버(200)와 엣지 서비스 인스턴스 배포 장치(100)가 물리적으로 구분되는 것을 일 예로 하고 있으나, 실제로 하나의 물리적 장치에서 이러한 엣지 서비스 인스턴스 배포 장치(100)의 기능과 엣지 서버(200)의 기능이 포함될 수도 있음은 물론이다.In this embodiment, the edge server 200 and the edge service instance distribution device 100 are physically separated as an example, but in fact, the functions of the edge service instance distribution device 100 and the edge server ( 200) may be included as a matter of course.

도 2에는 엣지 서비스 인스턴스 배포 장치(100)의 구체적인 기능 블록이 개시되었다.2, specific functional blocks of the edge service instance distribution device 100 are disclosed.

동 도면에 도시된 바와 같이 엣지 서비스 인스턴스 배포 장치(100)는 동작 상태 확인부(110), 인스턴스 배포 제어부(120), 배포 시점 관리부(130), 설정값 변경부(140)를 포함하여 구성될 수 있다.As shown in the figure, the edge service instance distribution device 100 is configured to include an operating status check unit 110, an instance distribution control unit 120, a distribution time management unit 130, and a setting value change unit 140. can

동작 상태 확인부(110)는 자체적으로 설치된 또는 원격에 설치된 엣지 서비스 인스턴스의 동작 상태를 확인하는 기능을 수행한다.The operating state checking unit 110 performs a function of checking the operating state of an edge service instance installed on its own or remotely installed.

예를 들어 동작 상태 확인부(110)는 엣지 서비스 인스턴스 배포 장치(100)내에 엣지 서비스 인스턴스가 설치된 경우에는 그 자체 설치된 엣지 서비스 인스턴스의 동작 상태를 확인하고, 다른 예로써 원격의 엣지 서버(200)에 엣지 서비스 인스턴스가 설치되어 있는 경우에는 해당 엣지 서버(200)의 엣지 서비스 인스턴스의 동작 상태를 확인하는 것이다.For example, when an edge service instance is installed in the edge service instance distribution device 100, the operating state check unit 110 checks the operating state of the edge service instance itself installed, and as another example, the remote edge server 200 When an edge service instance is installed in , the operating state of the edge service instance of the corresponding edge server 200 is checked.

즉, 동작 상태 확인부(110)는 각 엣지 서비스 인스턴스에 대응되는 소켓 통신에 대한 주기적 접근을 수행한 후, 그 결과에 따라 장애 발생 여부를 판단할 수 있는 것이다.That is, the operating state check unit 110 performs periodic access to socket communication corresponding to each edge service instance, and then determines whether or not a failure has occurred according to the result.

엣지 서비스 인스턴스의 동작 상태를 확인하는 방법으로는, 해당 엣지 서비스 인스턴스가 사용하는 포트로 기 설정된 시간 간격으로 더미 패킷을 전송한 후 그에 대해 정상응답이 수신되는지 여부를 판단하는 방법이 이용될 수 있고, 이때 웹 기반으로 접속하거나 또는 소켓 통신을 통해 직접 통신할 수 있다.As a method of checking the operating state of the edge service instance, a method of transmitting a dummy packet to a port used by the corresponding edge service instance at a preset time interval and then determining whether a normal response is received may be used. , At this time, it can be accessed on a web basis or directly communicated through socket communication.

더 나아가 해당 엣지 서비스 인스턴스로 들어가는 요청과 그로부터 나오는 응답간의 비율에 대한 판단 등에 의해 해당 엣지 서비스 인스턴스의 동작 상태를 확인할 수도 있다.Furthermore, the operating state of the corresponding edge service instance may be checked by determining the ratio between the request to the corresponding edge service instance and the response coming from it.

인스턴스 배포 제어부(120)는 소정의 서비스에 대응되는 각종 버전의 엣지 서비스 인스턴스를 배포하는 기능을 수행한다.The instance distribution control unit 120 performs a function of distributing edge service instances of various versions corresponding to a predetermined service.

예를 들어 특정 엣지 서비스 인스턴스에 대해 제1 버전(이전 버전) 및 제2 버전(갱신된 버전 또는 신규 버전)이 존재하는 경우 상황에 따라 그 중 어느 하나를 배포할 수 있는 것이다.For example, if a first version (old version) and a second version (updated version or new version) exist for a specific edge service instance, either one of them can be deployed according to circumstances.

엣지 서비스 인스턴스의 배포 그 자체는 공지된 기술에 해당하므로 보다 상세한 설명은 생략한다.Since the distribution of edge service instances per se corresponds to a known technology, a detailed description thereof will be omitted.

이하에서는 상황별 어떤 버전의 엣지 서비스 인스턴스를 배포할지를 판단하는 과정에 대해 상세히 설명한다.Hereinafter, the process of determining which version of edge service instance to deploy for each situation will be described in detail.

인스턴스 배포 제어부(120)는 소정의 엣지 서비스 인스턴스에 대해서 신규 버전이 존재하는 경우 그 신규 버전 엣지 서비스 인스턴스를 우선적으로 배포할 수 있다.If a new version exists for a given edge service instance, the instance distribution control unit 120 may preferentially distribute the new version edge service instance.

즉, 인스턴스 배포 제어부(120)는 한 번도 해당 엣지 서비스 인스턴스를 수행하지 않은 엣지 서버(200)에 대해서는 그 신규 버전 엣지 서비스 인스턴스를 설치 및 구동하도록 배포할 수 있고, 이미 해당 엣지 서비스 인스턴스의 이전 버전을 구동하고 있는 엣지 서버(200)에 대해서는 신규 버전의 엣지 서비스 인스턴스로 갱신(업데이트)하도록 제어할 수 있다.That is, the instance distribution control unit 120 can deploy the new version edge service instance to be installed and run for the edge server 200 that has never performed the corresponding edge service instance, and already has the previous version of the corresponding edge service instance. The edge server 200 that is running can be controlled to be updated (updated) with a new version of the edge service instance.

이렇게 신규 버전 엣지 서비스 인스턴스를 배포한 이후, 동작 상태 확인부(110)에서 신규 버전 엣지 서비스 인스턴스의 동작 상태를 확인한 결과 장애가 발생한 것으로 확인된 경우에는, 인스턴스 배포 제어부(120)는 그 장애가 발생된 신규 버전 엣지 서비스 인스턴스의 재배포를 수행한다.After deploying the new version edge service instance, if it is confirmed that a failure has occurred as a result of checking the operating state of the new version edge service instance in the operation status check unit 110, the instance distribution control unit 120 checks the new version edge service instance where the failure has occurred. Perform redeployment of version edge service instances.

여기서 신규 버전 엣지 서비스 인스턴스의 동작 상태에 장애가 발생하였다는 것은, 해당 엣지 서비스 인스턴스 자체에 버그만을 의미하는 것이 아니라, 여하한의 이유로 해당 신규 버전 엣지 서비스 인스턴스의 동작 상태가 원활하지 않은 경우를 모두 포함한다.Here, failure in the operating state of the new version edge service instance does not mean only a bug in the corresponding edge service instance itself, but includes all cases where the operating state of the new version edge service instance is not smooth for any reason. do.

예를 들어 하드웨어 부하로 인해 배포/재배포된 신규 버전 엣지 서비스 인스턴스의 일부 데이터가 손상됨으로써 발생하는 경우도 모두 포함한다.For example, it includes all cases where some data of a new version edge service instance that was deployed/redistributed due to hardware load is damaged.

이러한 재배포 과정은 반복적으로 이루어질 수 있다.This redistribution process may be repeated.

즉, 재배포된 신규 버전 엣지 서비스 인스턴스의 동작 상태에 장애가 발생할 때마다 인스턴스 배포 제어부(120)는 해당 신규 버전 엣지 서비스 인스턴스의 재배포를 반복적으로 수행하는 것이다.That is, whenever a failure occurs in the operating state of the redistributed new version edge service instance, the instance distribution controller 120 repeatedly redistributes the corresponding new version edge service instance.

다만 이때 제한 사항이 있는데, 인스턴스 배포 제어부(120)는 재배포 횟수를 판단하고, 그 판단된 재배포 횟수에 따라 다른 처리를 수행할 수 있다.However, there is a limitation in this case. The instance distribution controller 120 may determine the number of redistributions and perform other processing according to the determined number of redistributions.

즉, 인스턴스 배포 제어부(120)는 장애가 발생한 신규 버전 엣지 서비스 인스턴스의 재배포 횟수를 판단하고, 판단 결과 재배포 횟수가 기 설정된 재배포 기준값 미만인 경우에는 다시 신규 버전 엣지 서비스 인스턴스를 재배포한다.That is, the instance distribution control unit 120 determines the number of redistributions of new version edge service instances that have failed, and redistributes new version edge service instances again if the number of redistributions is less than the preset redistribution reference value.

그러나 판단 결과 재배포 횟수가 기 설정된 기준값 이상인 경우에는 인스턴스 배포 제어부(120)는 이전 버전(상술한 제1 버전)의 엣지 서비스 인스턴스를 배포하여 롤백 처리를 하도록 제어하는 것이다.However, as a result of the determination, if the number of redistribution is equal to or greater than the predetermined reference value, the instance distribution control unit 120 distributes the edge service instance of the previous version (the above-described first version) and controls the rollback processing.

이에 따라 단지 버전이 높다는 이유만으로 신규 버전의 엣지 서비스 인스턴스를 반복적으로 재배포함으로써, 실제 서비스가 이루어지지 않게 되는 상황을 최소화할 수 있다.Accordingly, by repeatedly redistributing edge service instances of a new version just because the version is higher, it is possible to minimize a situation in which an actual service is not performed.

즉, 해당 신규 버전 엣지 서비스 인스턴스에 대한 장애가 패키지 자체 오류로 인한 것일 수도 있는데, 신규 버전만을 고집하여 반복적으로 재배포하는 경우에는 오히려 서비스 중단 시간이 길어지게 될 수 있는데, 본 발명은 이러한 문제 발생을 최소화할 수 있는 것이다.In other words, the failure of the new version edge service instance may be due to an error in the package itself, but in the case of repeatedly redistributing only the new version, the service interruption time may rather increase. The present invention minimizes the occurrence of such problems It can be done.

한편 배포 시점 관리부(130)는 인스턴스 배포 제어부(120)에 의한 신규 버전 엣지 서비스 인스턴스의 최초 배포 시점을 저장하는 기능을 수행한다.Meanwhile, the distribution time management unit 130 performs a function of storing the initial distribution time of the new version edge service instance by the instance distribution control unit 120 .

예를 들어 복수의 엣지 서버(200)에 신규 버전 엣지 서비스 인스턴스를 배포하는 경우, 배포 시점 관리부(130)는 그 중 최초의 배포 시점을 저장하는 것이다.For example, when a new version edge service instance is distributed to a plurality of edge servers 200, the distribution time management unit 130 stores the first distribution time among them.

설정값 변경부(140)는 복수의 신규 버전 엣지 서비스 인스턴스별로 최초 배포 시점으로부터의 경과 시간에 비례하여 재배포 기준값을 동적으로 변경시키는 기능을 수행한다.The setting value changing unit 140 performs a function of dynamically changing the redistribution reference value in proportion to the elapsed time from the initial distribution time for each of the plurality of new version edge service instances.

앞서 설명한 바와 같이 인스턴스 배포 제어부(120)는 신규 버전 엣지 서비스 인스턴스의 동작 이상이 발생한 경우 재배포 여부를 판단함에 있어서, 재배포 횟수를 기 설정된 재배포 기준값과 비교하여 판단하고 있는데, 설정값 변경부(140)는 이러한 재배포 기준값을 해당 신규 버전 엣지 서비스 인스턴스의 최초 배포 시점으로부터의 경과 시간에 비례하여 동적으로 변경시키는 것이다.As described above, the instance distribution control unit 120 compares the number of redistributions with a preset redistribution reference value when determining whether to redistribute when an operation failure of a new version edge service instance occurs. is to dynamically change the redistribution reference value in proportion to the elapsed time from the initial distribution of the corresponding new version edge service instance.

이에 따라 최초로 배포된 지 오래 시간이 경과한 신규 버전 엣지 서비스 인스턴스(일 예로 검색 서비스를 위한 신규 버전 엣지 서비스 인스턴스)에 대해서는 상대적으로 재배포 기준값이 증가하게 되고, 최초로 배포된 시점으로부터 얼마 되지 않은 신규 버전 엣지 서비스 인스턴스(일 예로 메신저 서비스를 위한 신규 버전 엣지 서비스 인스턴스)에 대해서는 상대적으로 재배포 기준값이 작아지게 되는 것이다.As a result, the redistribution threshold is relatively increased for new version edge service instances (eg, new version edge service instances for search services) that have been first deployed for a long time, and the new version not long after the initial deployment. For an edge service instance (eg, a new version edge service instance for a messenger service), the redistribution reference value becomes relatively small.

이는 최초 배포 시점부터 오랜 시간이 경과한 엣지 서비스 인스턴스는 그간 에러 발생 원인에 대한 분석이 충분히 이루어지게 되고, 따라서 패키지 자체 오류가 아닐 가능성이 높으므로, 추가적인 재배포를 수행하는 것이다.This means that edge service instances where a long time has elapsed from the time of initial distribution have been fully analyzed for the cause of the error, and therefore, it is highly likely that the error in the package itself is not the case, so additional redistribution is performed.

그러나 최초 배포 시점부터 얼마 지나지 않은 엣지 서비스 인스턴스는 아직 패킷 자체 오류에 대한 분석이 제대로 이루어지지 않았을 가능성이 높으므로, 몇 번의 재배포 이후에는 오히려 이전 버전으로 롤백하도록 제어하는 것이 서비스 유지 측면에서 바람직하다.However, it is highly likely that edge service instances that have not yet been deployed have properly analyzed packet errors, so it is preferable to roll back to the previous version after several redeployments in terms of service maintenance.

이하에서는 도 3을 참조하여 본 발명의 일 실시예에 따른 엣지 서비스 인스턴스 배포 장치(100)의 제어 흐름을 설명한다.Hereinafter, a control flow of the edge service instance distribution device 100 according to an embodiment of the present invention will be described with reference to FIG. 3 .

우선, 엣지 서비스 인스턴스 배포 장치(100)는 엣지 서비스 인스턴스별 관리 정책을 등록한다(단계 S1). 이러한 정책 등록 그 자체는 공지된 기술에 해당하므로 보다 상세한 설명은 생략한다.First, the edge service instance distribution device 100 registers a management policy for each edge service instance (step S1). Since this policy registration itself corresponds to a known technology, a detailed description thereof will be omitted.

여기서 관리 정책에는 장애 상태 감지를 위한 정보(health check용 포트 번호 등), 롤백 기준 등에 대한 정보로써 재배포 허용 횟수 등이 포함될 수 있다.Here, the management policy may include information for detecting a failure state (port number for health check, etc.), and the number of allowed redistribution as information for a rollback criterion.

엣지 서비스 인스턴스 배포 장치(100)는 특정 엣지 서비스 인스턴스에 대해 신규 버전의 등록이 감지된 경우(단계 S3), 해당 신규 버전 엣지 서비스 인스턴스를 배포한다(단계 S5).The edge service instance distribution device 100, when registration of a new version is detected for a specific edge service instance (step S3), deploys the corresponding new version edge service instance (step S5).

이후 엣지 서비스 인스턴스 배포 장치(100)는 해당 신규 버전 엣지 서비스 인스턴스의 동작 상태를 지속적으로 모니터링 하고, 서비스 장애 상태를 확인한다(단계 S7).Thereafter, the edge service instance distribution device 100 continuously monitors the operating state of the corresponding new version edge service instance and checks the service failure state (step S7).

서비스 장애 상태가 확인된 경우, 엣지 서비스 인스턴스 배포 장치(100)는 해당 엣지 서비스 인스턴스의 재배포 허용 횟수와 실제 재배포된 횟수를 비교하고(단계 S), 그 결과 재배포 허용 횟수를 초과하지 않은 경우에는 다시 해당 신규 버전 엣지 서비스 인스턴스를 재배포한다(단계 S11).When a service failure state is confirmed, the edge service instance deployment device 100 compares the number of allowed redistribution of the corresponding edge service instance with the number of actual redistribution (step S), and if the result does not exceed the allowed number of redistribution, redistribution is performed again. The new version edge service instance is redeployed (step S11).

만일 비교 결과 실제 재배포된 횟수가 재배포 허용 횟수를 초과한 경우에는(단계 S9) 엣지 서비스 인스턴스 배포 장치(100)는 이전 버전의 엣지 서비스 인스턴스를 배포하여 롤백 처리를 제어한다(단계 S13).If, as a result of the comparison, the actual number of redistribution exceeds the allowable number of redistribution (step S9), the edge service instance distribution device 100 distributes the edge service instance of the previous version to control rollback processing (step S13).

이에 따라 신규 버전 엣지 서비스 인스턴스 패키지 자체에 문제가 있는 경우에는 신속한 이전 버전의 엣지 서비스 인스턴스로 롤백되도록 하여, 원활한 서비스 운영이 가능하게 된다.Accordingly, if there is a problem with the new version edge service instance package itself, it is quickly rolled back to the edge service instance of the previous version, enabling smooth service operation.

한편, 상술한 각 실시예를 수행하는 과정은 소정의 기록 매체(예를 들어 컴퓨터로 판독 가능한)에 저장된 프로그램 또는 애플리케이션에 의해 이루어질 수 있음은 물론이다. 여기서 기록 매체는 RAM(Random Access Memory)과 같은 전자적 기록 매체, 하드 디스크와 같은 자기적 기록 매체, CD(Compact Disk)와 같은 광학적 기록 매체 등을 모두 포함한다.Meanwhile, it goes without saying that the process of performing each of the above-described embodiments may be performed by a program or application stored in a predetermined recording medium (for example, computer-readable). Here, the recording medium includes all of an electronic recording medium such as RAM (Random Access Memory), a magnetic recording medium such as a hard disk, an optical recording medium such as a CD (Compact Disk), and the like.

이때, 기록 매체에 저장된 프로그램은 컴퓨터나 스마트폰 등과 같은 하드웨어 상에서 실행되어 상술한 각 실시예를 수행할 수 있다. 특히, 상술한 본 발명에 따른 엣지 서비스 인스턴스 배포 장치(100)의 기능 블록 중 적어도 어느 하나는 이러한 프로그램 또는 애플리케이션에 의해 구현될 수 있다.At this time, the program stored in the recording medium may be executed on hardware such as a computer or smart phone to perform each of the above-described embodiments. In particular, at least one of the functional blocks of the edge service instance distribution device 100 according to the present invention described above may be implemented by such a program or application.

또한, 본 발명은 상기한 특정 실시예에 한정되는 것이 아니라 본 발명의 요지를 벗어나지 않는 범위 내에서 여러 가지로 변형 및 수정하여 실시할 수 있는 것이다. 이러한 변형 및 수정이 첨부되는 청구범위에 속한다면 본 발명에 포함된다는 것은 자명할 것이다. In addition, the present invention is not limited to the specific embodiment described above, but can be implemented by various modifications and variations within the scope of the present invention. It will be apparent that such variations and modifications are included in the present invention provided they come within the scope of the appended claims.

100 : 엣지 서비스 인스턴스 배포 장치 200 : 엣지 서버
110 : 동작 상태 확인부 120 : 인스턴스 배포 제어부
130 : 배포 시점 관리부 140 : 설정값 변경부
100: Edge service instance distribution device 200: Edge server
110: operation status check unit 120: instance distribution control unit
130: distribution time management unit 140: set value change unit

Claims (10)

(a) 소정의 서비스에 대응되는 신규 버전 엣지 서비스 인스턴스를 배포하는 단계와;
(b) 상기 신규 버전 엣지 서비스 인스턴스의 동작 상태를 확인하는 단계와;
(c) 상기 (b) 단계의 확인 결과 해당 신규 버전 엣지 서비스 인스턴스의 동작에 장애가 발생한 경우 해당 장애가 발생된 신규 버전 엣지 서비스 인스턴스의 재배포를 수행하는 단계와;
(d) 상기 (c) 단계의 재배포 이후에, 해당 재배포된 신규 버전 엣지 서비스 인스턴스의 동작 상태를 확인하는 단계와;
(e) 상기 (d) 단계의 확인 결과 해당 재배포된 신규 버전 엣지 서비스 인스턴스의 동작에 장애가 발생한 경우 그 장애가 발생한 신규 버전 엣지 서비스 인스턴스의 재배포 횟수를 판단하는 단계와;
(f) 상기 (e) 단계의 판단 결과 재배포 횟수가 기 설정된 재배포 기준값 이상인 경우에는 이전 버전 엣지 서비스 인스턴스를 배포하여 롤백 처리를 제어하는 단계를 포함하고,
상기 (a) 단계에서는 상기 신규 버전 엣지 서비스 인스턴스의 최초 배포 시점을 저장하고,
복수의 신규 버전 엣지 서비스 인스턴스별로 최초 배포 시점으로부터의 경과 시간에 비례하여 상기 재배포 기준값을 동적으로 변경시키되, 최초로 배포된 후 기 설정된 시간보다 더 오랜 시간이 경과한 신규 버전 엣지 서비스 인스턴스에 대해서는 재배포 기준값을 기 설정된 기준에 따라 재배포 기준값이 커지도록 하고, 최초로 배포된 후 기 설정된 시간 이내인 신규 버전 엣지 서비스 인스턴스에 대해서는 기 설정된 기준에 따라 재배포 기준값이 작아지도록 하는 것을 특징으로 하는 엣지 서비스 인스턴스 배포 장치의 제어방법.
(a) distributing a new version edge service instance corresponding to a predetermined service;
(b) checking an operating state of the new version edge service instance;
(c) when a failure occurs in the operation of the corresponding new version edge service instance as a result of checking in step (b), redistributing the new version edge service instance where the corresponding failure occurred;
(d) after the redistribution in step (c), checking the operation state of the redistributed new version edge service instance;
(e) determining the number of redistributions of the new version edge service instance where the failure occurred, if a failure occurred in the operation of the redeployed new version edge service instance as a result of checking in step (d);
(f) if the number of redistributions as a result of the determination in step (e) is equal to or greater than the preset redistribution reference value, distributing the previous version edge service instance to control rollback processing;
In step (a), the initial distribution time of the new version edge service instance is stored,
The redistribution reference value is dynamically changed in proportion to the elapsed time from the initial distribution for each of the plurality of new version edge service instances, but the redistribution reference value for the new version edge service instances for which a longer time than the preset time has elapsed since the initial distribution. The redistribution reference value increases according to a preset criterion, and the redistribution reference value decreases according to a preset criterion for a new version edge service instance within a preset time after being first deployed. control method.
제1항에 있어서,
상기 (f) 단계에서는 상기 (e) 단계의 판단 결과 재배포 횟수가 기 설정된 재배포 기준값 미만인 경우에는 해당 신규 버전 엣지 서비스 인스턴스를 재배포하는 것을 특징으로 하는 엣지 서비스 인스턴스 배포 장치의 제어방법.
According to claim 1,
In the step (f), if the number of redistributions is less than a predetermined redistribution reference value as a result of the determination in the step (e), the corresponding new version edge service instance is redistributed.
삭제delete 제1항에 있어서,
상기 (b) 단계에서는, 상기 신규 버전 엣지 서비스 인스턴스에 대응되는 소켓 통신에 대한 주기적 접근을 수행한 후, 그 결과에 따라 장애 발생 여부를 판단하는 것을 특징으로 하는 엣지 서비스 인스턴스 배포 장치의 제어방법.
According to claim 1,
In the step (b), after performing periodic access to the socket communication corresponding to the new version edge service instance, it is characterized in that it is determined whether a failure occurs according to the result.
제1항, 제2항, 제4항 중 어느 한 항의 방법을 실행시키기 위한 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium recording a program for executing the method of any one of claims 1, 2, and 4. 하드웨어와 결합되어 제1항, 제2항, 제4항 중 어느 한 항의 방법을 실행시키기 위하여 컴퓨터 판독 가능 기록 매체에 저장된 응용 프로그램.An application program stored in a computer readable recording medium in order to execute the method of any one of claims 1, 2, and 4 in combination with hardware. 자체적으로 또는 원격에 설치된 엣지 서비스 인스턴스의 동작 상태를 확인하는 동작 상태 확인부와;
소정의 서비스에 대응되는 신규 버전 엣지 서비스 인스턴스를 배포한 후, 상기 동작 상태 확인부에서 상기 신규 버전 엣지 서비스 인스턴스의 동작 상태를 확인한 결과 장애가 발생한 것으로 확인된 경우, 해당 장애가 발생된 신규 버전 엣지 서비스 인스턴스의 재배포를 수행하고, 그 재배포된 신규 버전 엣지 서비스 인스턴스의 동작 상태에 장애가 발생한 것으로 상기 동작 상태 확인부에서 확인된 경우, 그 장애가 발생한 신규 버전 엣지 서비스 인스턴스의 재배포 횟수를 판단하고, 판단 결과재배포 횟수가 기 설정된 재배포 기준값 이상인 경우에는 이전 버전 엣지 서비스 인스턴스를 배포하여 롤백 처리 제어를 수행하는 인스턴스 배포 제어부를 포함하고,
상기 인스턴스 배포 제어부에 의한 신규 버전 엣지 서비스 인스턴스의 최초 배포 시점을 저장하는 배포 시점 관리부와;
복수의 신규 버전 엣지 서비스 인스턴스별로 최초 배포 시점으로부터의 경과 시간에 비례하여 상기 재배포 기준값을 동적으로 변경시키되, 최초로 배포된 후 기 설정된 시간보다 더 오랜 시간이 경과한 신규 버전 엣지 서비스 인스턴스에 대해서는 재배포 기준값을 기 설정된 기준에 따라 재배포 기준값이 커지도록 하고, 최초로 배포된 후 기 설정된 시간 이내인 신규 버전 엣지 서비스 인스턴스에 대해서는 기 설정된 기준에 따라 재배포 기준값이 작아지도록 하는 설정값 변경부를 더 포함하는 것을 특징으로 하는 엣지 서비스 인스턴스 배포 장치.
an operating state checking unit that checks the operating state of an edge service instance installed on its own or remotely;
After deploying a new version edge service instance corresponding to a predetermined service, if it is confirmed that a failure has occurred as a result of checking the operating state of the new version edge service instance in the operation status check unit, the new version edge service instance with the corresponding failure has occurred. redistribution is performed, and if it is confirmed by the operation status checking unit that the operation state of the redistributed new version edge service instance has a failure, the number of redistributions of the new version edge service instance with the failure is determined, and as a result of the determination, the number of redistributions Including an instance distribution control unit that deploys an edge service instance of a previous version when the value is greater than the preset redistribution reference value and controls rollback processing;
a distribution time management unit for storing the initial distribution time of the new version edge service instance by the instance distribution control unit;
For each of the plurality of new version edge service instances, the redistribution reference value is dynamically changed in proportion to the elapsed time from the initial distribution. It is characterized by further comprising a setting value changing unit that increases the redistribution reference value according to a preset standard and reduces the redistribution reference value according to a preset standard for a new version edge service instance within a preset time after the first deployment. edge service instance deployment device.
제7항에 있어서,
상기 인스턴스 배포 제어부는 재배포 횟수가 기 설정된 재배포 기준값 미만인 경우에는 해당 신규 버전 엣지 서비스 인스턴스를 재배포하는 것을 특징으로 하는 엣지 서비스 인스턴스 배포 장치.
According to claim 7,
Wherein the instance distribution control unit redistributes the corresponding new version edge service instance when the number of redistributions is less than a preset redistribution reference value.
삭제delete 제7항에 있어서,
상기 동작 상태 확인부는, 각 엣지 서비스 인스턴스에 대응되는 소켓 통신에 대한 주기적 접근을 수행한 후, 그 결과에 따라 장애 발생 여부를 판단하는 것을 특징으로 하는 엣지 서비스 인스턴스 배포 장치.


According to claim 7,
The operation state check unit performs periodic access to socket communication corresponding to each edge service instance, and then determines whether a failure occurs according to the result.


KR1020210135276A 2021-10-12 2021-10-12 Edge service instance distribution apparatus and control method thereof KR102567541B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210135276A KR102567541B1 (en) 2021-10-12 2021-10-12 Edge service instance distribution apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210135276A KR102567541B1 (en) 2021-10-12 2021-10-12 Edge service instance distribution apparatus and control method thereof

Publications (2)

Publication Number Publication Date
KR20230052111A KR20230052111A (en) 2023-04-19
KR102567541B1 true KR102567541B1 (en) 2023-08-21

Family

ID=86142443

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210135276A KR102567541B1 (en) 2021-10-12 2021-10-12 Edge service instance distribution apparatus and control method thereof

Country Status (1)

Country Link
KR (1) KR102567541B1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7549042B2 (en) * 2003-12-16 2009-06-16 Microsoft Corporation Applying custom software image updates to non-volatile storage in a failsafe manner
US8856585B2 (en) * 2011-08-01 2014-10-07 Alcatel Lucent Hardware failure mitigation
KR20210095457A (en) 2020-01-23 2021-08-02 삼성전자주식회사 Method and apparatus for edge computing service

Also Published As

Publication number Publication date
KR20230052111A (en) 2023-04-19

Similar Documents

Publication Publication Date Title
US10048996B1 (en) Predicting infrastructure failures in a data center for hosted service mitigation actions
US10884806B1 (en) Systems and methods of optimized tuning of resources
US10797952B1 (en) Intelligent rollback analysis of configuration changes
US7065740B2 (en) System and method to automate the management of computer services and programmable devices
CN110365762B (en) Service processing method, device, equipment and storage medium
US10728316B2 (en) Rolling capacity upgrade control
CN111045854B (en) Method, apparatus and computer readable medium for managing service containers
US11556369B2 (en) Virtual machine deployment method and OMM virtual machine
US20110173319A1 (en) Apparatus and method for operating server using virtualization technique
US10404568B2 (en) Agent manager for distributed transaction monitoring system
CN105450759A (en) System mirror image management method and device
CN107453932B (en) Distributed storage system management method and device
US20130262916A1 (en) Cluster monitor, method for monitoring a cluster, and computer-readable recording medium
CN105306507A (en) Disaster tolerance processing method and disaster tolerance processing device in distributed architecture
CN111416836B (en) Nginx-based server maintenance method and device, computer equipment and storage medium
CN114546587A (en) Capacity expansion and reduction method of online image recognition service and related device
KR102567541B1 (en) Edge service instance distribution apparatus and control method thereof
US20210263721A1 (en) Method, device, and computer program product for managing virtual machine upgrage
CN110008681B (en) Access control method, device and system
CN115543393B (en) Upgrade method, electronic device and storage medium
US10110502B1 (en) Autonomous host deployment in managed deployment systems
US10348814B1 (en) Efficient storage reclamation for system components managing storage
US7350065B2 (en) Method, apparatus and program storage device for providing a remote power reset at a remote server through a network connection
CN113138772B (en) Construction method and device of data processing platform, electronic equipment and storage medium
CN110266762B (en) Data uploading method, system, device and storage medium

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right