KR101783097B1 - Method for recording/reading operation log information in router network based on software defined networking and apparatus thereof - Google Patents

Method for recording/reading operation log information in router network based on software defined networking and apparatus thereof Download PDF

Info

Publication number
KR101783097B1
KR101783097B1 KR1020150119391A KR20150119391A KR101783097B1 KR 101783097 B1 KR101783097 B1 KR 101783097B1 KR 1020150119391 A KR1020150119391 A KR 1020150119391A KR 20150119391 A KR20150119391 A KR 20150119391A KR 101783097 B1 KR101783097 B1 KR 101783097B1
Authority
KR
South Korea
Prior art keywords
log
information
controller
service component
network device
Prior art date
Application number
KR1020150119391A
Other languages
Korean (ko)
Other versions
KR20160025472A (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 주식회사 케이티
Publication of KR20160025472A publication Critical patent/KR20160025472A/en
Application granted granted Critical
Publication of KR101783097B1 publication Critical patent/KR101783097B1/en

Links

Images

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/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers

Abstract

SDN 기반의 라우터 망에서 오퍼레이션 로그 정보를 기록 및 열람하는 방법과 이를 수행하는 장치가 개시된다. 라우터 망에서 오퍼레이션 로그 정보를 기록하는 방법은, 네트워크 장치에서 오퍼레이션이 수행됨에 따라 발생하는 로그 이벤트를 검출하는 단계와; 네트워크 장치에 설정된 로그 서비스 컴포넌트에 따라 검출된 로그 이벤트에 상응하는 로그 정보를 기록하는 단계를 포함한다. 따라서, SDN에 기반한 라우팅 시스템 구조에서 기록되는 로그 정보에 다양한 파라미터를 정의함으로써 컨트롤러가 라우터의 장애 상황을 보다 효과적으로 추적할 수 있는 기능을 제공할 수 있다.Disclosed is a method for recording and viewing operation log information in an SDN-based router network and an apparatus for performing the method. A method of recording operation log information in a router network includes: detecting a log event occurring as an operation is performed in a network device; And recording log information corresponding to the detected log event according to the log service component set in the network device. Accordingly, by defining various parameters in the log information recorded in the SDN-based routing system structure, the controller can provide a function of more effectively tracking the failure situation of the router.

Description

SDN 기반의 라우터 망에서 오퍼레이션 로그 정보를 기록/열람하는 방법 및 그 장치{METHOD FOR RECORDING/READING OPERATION LOG INFORMATION IN ROUTER NETWORK BASED ON SOFTWARE DEFINED NETWORKING AND APPARATUS THEREOF}TECHNICAL FIELD The present invention relates to a method and apparatus for recording / viewing operation log information in an SDN-based router network.

본 발명은 소프트웨어 정의 네트워킹(SDN: Software Defined Networking)에 관한 것으로, 더욱 상세하게는 SDN 기반의 라우터 망에서 오퍼레이션 로그 정보를 기록 및 열람하는 방법과 이를 수행하는 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to software defined networking (SDN), and more particularly, to a method and apparatus for recording and viewing operation log information in an SDN-based router network.

통신 네트워크의 유연한 운영과 비용절감을 위해 통신 시스템을 포워딩 평면(forwarding plane)과 제어 평면(control plane)으로 독립적으로 구분하여, 소프트웨어 프로그래밍을 하듯 네트워크를 중앙에서 소프트웨어적으로 정의하고 제어할 수 있는 소프트웨어 정의 네트워킹(SDN, software defined networking) 기술에 대한 연구가 진행되고 있다.Software that can define and control the network centrally as if it is software programming by dividing communication system independently into forwarding plane and control plane for flexible operation and cost reduction of communication network. Research is underway on software defined networking (SDN) technology.

ONF(Open Networking Foundation)에서는 중앙 집중형 컨트롤러와 패킷 포워딩 장비들간 통신을 위한 OpenFlow 프로토콜을 정의하고 있다. 상세하게는, ONF는 L2/L3 패킷 포워딩 평면만을 갖는 장비에 중앙의 컨트롤러 장비를 통해 패킷 포워딩 경로 설정을 할 수 있도록 OpenFlow 프로토콜에 대해 정의하고 있다. The Open Networking Foundation (ONF) defines the OpenFlow protocol for communication between centralized controllers and packet forwarding devices. Specifically, ONF defines the OpenFlow protocol to allow packet forwarding routing through centralized controller equipment to equipment with only L2 / L3 packet forwarding plane.

또한, 최근 ONF의 예하 조직인 OTWG(Optical Transport Working Group)은 OAM(Operations, Administration and Management) 및 보호절체 기능이 정의된 패킷 전달망(packet transport network) 및 광 전달망(optical transport network)에 대해서도 외부 컨트롤러로 분리된 제어 평면을 통해 전달망 장비들의 포워딩 평면을 제어하기 위한 표준 인터페이스를 정의하고 있다.Recently, the Optical Transport Working Group (OTWG), a subordinate organization of the ONF, has also developed an OAM (Operation, Administration and Management) and packet transmission network and an optical transport network And defines a standard interface for controlling the forwarding plane of the transport network equipment through a separate control plane.

한편, 포워딩 평면과 제어 평면이 분리되지 않은 기존의 레거시 라우팅 장비를 포함한 라우팅 시스템에 대해서도 외부 컨트롤러를 이용한 제어를 지원하는 Interface to Routing System(I2RS) 기술이 라우팅 시스템을 위한 SDN 기술로 큰 관심을 받고 있다. On the other hand, the Interface to Routing System (I2RS), which supports control using an external controller, is very interested in the routing system including the existing legacy routing equipment which does not separate the forwarding plane and the control plane from the SDN technology for the routing system have.

I2RS 기술은 현재 IETF에서 표준화가 진행 중에 있으며, 외부 컨트롤러와 기존 또는 신규 라우터 장비 간 커뮤니케이션을 수행할 수 있는 프레임워크 및 인터페이스 등이 정의되고 있다.I2RS technology is currently being standardized by the IETF, and frameworks and interfaces are being defined to enable communication between external controllers and existing or new router equipment.

SDN 기반의 라우팅 시스템에서 컨트롤러는 라우터에게 다양한 오퍼레이션 수행 명령을 내릴 수 있으며, 라우터는 해당하는 오퍼레이션을 수행한 결과 정보를 실시간으로 컨트롤러에 전달할 수 있다. 또한, 라우터는 라우터 내부적으로 수행된 오퍼레이션의 결과 정보가 생성될 때마다 컨트롤러에 전달할 수 있다. In the SDN-based routing system, the controller can issue various operation execution commands to the router, and the router can transmit information to the controller in real time as a result of performing the corresponding operation. In addition, the router can transmit to the controller whenever the result information of an operation performed within the router is generated.

그러나, 컨트롤러부터 전달되는 오퍼레이션 수행 명령의 양이 증가되거나 다수의 컨트롤러로부터 오퍼레이션 수행 명령이 동시에 라우터로 전달될 경우, 오퍼레이션의 경쟁 상황(race condition) 및 이로 인한 성능 저하로 오퍼레이션 정보에 대한 손실이 발생될 수 있으며, 이에 따라 라우터 내부에서 실행 중인 서비스들에 오동작 또는 중단 등의 문제를 발생시킬 수 있다. However, when the amount of operation execution commands transmitted from the controller is increased, or when an operation execution command is transmitted from the plurality of controllers to the router at the same time, there is a loss of operation information due to a race condition of operation and a performance deterioration thereof Thereby causing problems such as malfunction or interruption in services running inside the router.

또한, SDN 기반의 라우팅 시스템에서는 기존의 CLI(Command Line Interface) 방식 및 SNMP(Simple Network Management Protocol) 등의 라우터 제어를 허용한다. 따라서, 운영자가 SDN에 기반하는 컨트롤러의 구조가 아닌 CLI 및 SNMP 기반의 라우터 접속을 통한 오퍼레이션을 수행할 경우, 해당 오퍼레이션이 SDN에 기반하는 컨트롤러에 기초하여 설정된 오퍼레이션에 영향을 줌으로써 실행중인 서비스에 오동작 또는 중단 등의 문제를 발생시킬 수 있다. In addition, the SDN-based routing system permits control of routers such as the existing CLI (Command Line Interface) and SNMP (Simple Network Management Protocol). Therefore, when an operator performs an operation through connection of a CLI and an SNMP-based router rather than a structure of a controller based on the SDN, the operation affects an operation set based on the SDN-based controller, Or a problem such as interruption may occur.

이와 같은 문제는 SDN 기반의 라우팅 시스템의 구조상에 발생되는 문제가 아닌 운영시 발생될 수 있는 문제로써 운영자는 발생된 문제의 원인 분석 및 문제 해결을 수행할 수 있어야 한다. This problem is not a problem occurring in the structure of the SDN based routing system, but it is a problem that can be occurred in operation. The operator should be able to analyze the cause of the problem and solve the problem.

그러나, 현재까지 정의된 SDN 기반의 라우팅 시스템 기술은 이와 같은 운영시에 문제의 원인을 추적하는 기술을 고려하고 있지 않다.However, the SDN-based routing system technology defined so far does not consider a technique for tracking the cause of the problem during such operation.

상기와 같은 문제점을 해결하기 위한 본 발명의 목적은, SDN 기반의 라우터 망에서 오퍼레이션 로그 정보를 기록하는 방법을 제공하는데 있다.In order to solve the above problems, an object of the present invention is to provide a method of recording operation log information in an SDN-based router network.

상기와 같은 문제점을 해결하기 위한 본 발명의 다른 목적은, SDN 기반의 라우터 망에서 오퍼레이션 로그 정보를 열람하는 방법을 제공하는데 있다.It is another object of the present invention to provide a method for browsing operation log information in an SDN-based router network.

상기와 같은 문제점을 해결하기 위한 본 발명의 또 다른 목적은, SDN 기반의 라우터 망에서 오퍼레이션 로그 정보를 처리하는 방법을 제공하는데 있다.It is another object of the present invention to provide a method for processing operation log information in an SDN-based router network.

상기 목적을 달성하기 위한 본 발명의 실시예에 따른 라우터 망에서 오퍼레이션 로그 정보를 기록하는 방법은, 네트워크 장치가 로그 정보를 기록하는 방법에 있어서, 네트워크 장치에서 오퍼레이션이 수행됨에 따라 발생하는 로그 이벤트를 검출하는 단계와; 네트워크 장치에 설정된 로그 서비스 컴포넌트에 따라 검출된 로그 이벤트에 상응하는 로그 정보를 기록하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of recording operation log information in a router network, the method comprising: receiving a log event generated when an operation is performed in a network device, Detecting; And recording log information corresponding to the detected log event according to the log service component set in the network device.

여기에서, 상기 네트워크 장치에 설정된 로그 서비스 컴포넌트는, 로그 서비스 컴포넌트의 서비스 네임 및 버전 정보, 로그 서비스 컴포넌트를 이용하는 컨트롤러 리스트 및 컨트롤러 리스트에 속하는 컨트롤러 별로 설정되는 서브 파라미터에 대한 정보를 포함할 수 있다. Here, the log service component set in the network device may include service name and version information of the log service component, a controller list using the log service component, and information about sub-parameters set for each controller belonging to the controller list.

여기에서, 상기 서브 파라미터는, 컨트롤러의 식별 정보, 로그 파일 네임, 로그 파일 사이즈, 로그 파일 개수, 로그 정보의 저장 기준을 나타내는 로그 레벨, 로그 파일 저장 공간 부족시 정책 및 로그 이벤트 발생시 상기 컨트롤러 리스트에 속하는 컨트롤러에 통보 유무에 대한 정보 중 적어도 하나를 포함할 수 있다. Here, the subparameter includes at least one of a controller's identification information, a log file name, a log file size, a log file number, a log level indicating a storage criterion of log information, a policy when a log file storage space is insufficient, And information on the presence / absence of notification to the controller to which it belongs.

여기에서, 상기 검출된 로그 이벤트에 상응하는 로그 정보는, 로그 식별 정보, 로그 이벤트 발생 시간, 로그 이벤트 발생 주체의 식별 정보 및 오퍼레이션 정보를 포함할 수 있다. Here, the log information corresponding to the detected log event may include log identification information, a log event occurrence time, a log event occurrence entity identification information, and operation information.

여기에서, 상기 오퍼레이션 정보는, 오퍼레이션 네임 정보, 오퍼레이션 파라미터 정보, 오퍼레이션 그룹 코드 정보, 오퍼레이션 결과 코드 정보 중 적어도 하나를 포함할 수 있다. Here, the operation information may include at least one of operation name information, operation parameter information, operation group code information, and operation result code information.

여기에서, 상기 검출된 로그 이벤트에 상응하는 로그 정보는, 네트워크 어플리케이션 식별 정보 및 로그 관련 서비스 네임 정보 중 적어도 하나를 더 포함할 수 있다. Here, the log information corresponding to the detected log event may further include at least one of network application identification information and log related service name information.

상기 다른 목적을 달성하기 위한 본 발명의 실시예에 따른 라우터 망에서 오퍼레이션 로그 정보를 열람하는 방법은, 컨트롤러가 로그 정보를 열람하는 방법에 있어서, 열람 대상이 되는 로그 정보를 지정하는 열람 대상 정보를 포함하는 로그 열람 메시지를 생성하는 단계와; 열람 대상 정보에 상응하는 로그 정보에 대한 열람을 위해 로그 열람 메시지를 네트워크 장치로 전달하는 단계와; 네트워크 장치로부터 열람 대상 정보에 상응하는 로그 정보를 수신하는 단계를 포함한다. According to another aspect of the present invention, there is provided a method for browsing operation log information in a router network, the method comprising: Generating a log browse message including the log browse message; Transmitting a log browsing message to a network device for browsing log information corresponding to the information to be browsed; And receiving log information corresponding to the browsing object information from the network device.

여기에서, 상기 열람 대상 정보는, 로그 이벤트 발생 주체의 식별 정보 또는 로그 관련 서비스 네임 정보에 의해 특정될 수 있다. Here, the browsing object information can be specified by the log event generating entity or log related service name information.

여기에서, 상기 열람 대상 정보는, 로그 식별 정보, 로그 이벤트 발생 시간, 오퍼레이션 정보 중 하나에 의해 특정될 수 있다. Here, the browsing object information may be specified by one of log identification information, log event occurrence time, and operation information.

여기에서, 상기 네트워크 장치는 컨트롤러에 의해 설정된 로그 서비스 컴포넌트에 따라 로그 정보를 기록하며, 상기 로그 서비스 컴포넌트는 로그 서비스 컴포넌트의 서비스 네임 및 버전 정보, 로그 서비스 컴포넌트를 이용하는 컨트롤러 리스트 및 컨트롤러 리스트에 속하는 컨트롤러 별로 설정되는 서브 파라미터에 대한 정보를 포함할 수 있다. Here, the network device records log information according to a log service component set by the controller, and the log service component includes a service name and version information of the log service component, a controller list using the log service component, And may include information on sub-parameters that are individually set.

상기 또 다른 목적을 달성하기 위한 본 발명의 실시예에 따른 라우터 망에서 오퍼레이션 로그 정보를 처리하는 방법은, 소프트웨어 정의 네트워킹 환경에서 로그 정보를 처리하는 방법에 있어서, 네트워크 장치가 컨트롤러로부터 제어되는 로그 서비스 컴포넌트를 설정하는 단계와; 네트워크 장치가 네트워크 장치에서 오퍼레이션이 수행됨에 따라 발생하는 로그 이벤트를 검출하는 단계와; 네트워크 장치가 로그 서비스 컴포넌트에 따라 상기 검출된 로그 이벤트에 상응하는 로그 정보를 처리하는 단계를 포함한다. According to another aspect of the present invention, there is provided a method of processing operation log information in a router network, the method comprising: Setting a component; Detecting a log event that occurs as a network device performs an operation on a network device; And the network device processing the log information corresponding to the detected log event according to the log service component.

여기에서, 상기 로그 서비스 컴포넌트는, 로그 서비스 컴포넌트의 서비스 네임 및 버전 정보, 로그 서비스 컴포넌트를 이용하는 컨트롤러 리스트 및 컨트롤러 리스트에 속하는 컨트롤러 별로 설정되는 서브 파라미터에 대한 정보를 포함할 수 있다. Here, the log service component may include service name and version information of the log service component, a controller list using the log service component, and information about sub-parameters set for each controller belonging to the controller list.

여기에서, 상기 검출된 로그 이벤트에 상응하는 로그 정보를 처리하는 단계는, 로그 식별 정보, 로그 이벤트 발생 시간, 로그 이벤트 발생 주체의 식별 정보 및 오퍼레이션 정보를 포함하는 로그 정보를 기록할 수 있다. Herein, the step of processing log information corresponding to the detected log event may record log information including log identification information, log event occurrence time, identification information of a log event occurrence entity, and operation information.

여기에서, 상기 오퍼레이션 정보는, 오퍼레이션 네임 정보, 오퍼레이션 파라미터 정보, 오퍼레이션 그룹 코드 정보, 오퍼레이션 결과 코드 정보 중 적어도 하나를 포함할 수 있다. Here, the operation information may include at least one of operation name information, operation parameter information, operation group code information, and operation result code information.

여기에서, 상기 검출된 로그 이벤트에 상응하는 로그 정보를 처리하는 단계는, 네트워크 어플리케이션 식별 정보 및 로그 관련 서비스 네임 정보 중 적어도 하나를 더 포함시킨 로그 정보를 기록할 수 있다. Here, the step of processing log information corresponding to the detected log event may record log information further including at least one of network application identification information and log related service name information.

여기에서, 상기 검출된 로그 이벤트에 상응하는 로그 정보를 처리하는 단계는, 로그 서비스 컴포넌트에 따라 검출된 로그 이벤트에 상응하는 로그 정보를 컨트롤러로 전송할 수 있다.Here, the processing of the log information corresponding to the detected log event may transmit log information corresponding to the log event detected according to the log service component to the controller.

상기와 같은 본 발명에 따른 SDN 기반의 라우터 망에서 오퍼레이션 로그 정보를 기록 및 열람하는 방법은, SDN에 기반한 라우팅 시스템 구조에서 기록되는 로그 정보에 다양한 파라미터를 정의함으로써 컨트롤러가 라우터의 장애 상황을 보다 효과적으로 추적할 수 있는 기능을 제공할 수 있다.The method of recording and browsing the operation log information in the SDN-based router network according to the present invention defines various parameters in the log information recorded in the SDN-based routing system structure so that the controller can more effectively It is possible to provide a function of tracking.

또한, 로그 서비스를 컴포넌트 형태로 정의하고 다중 컨트롤러 환경을 위한 파라미터 구성을 통해 다중 컨트롤러 환경에서 개별적으로 로그를 기록할 수 있고, 이를 통하여 컨트롤러 별 로그 정책을 다양화할 수 있다.In addition, the log service can be defined as a component type, and the log configuration can be separately recorded in a multi-controller environment through parameter configuration for a multi-controller environment, thereby diversifying the log policy for each controller.

도 1은 본 발명의 실시예에 따른 SDN 기반의 라우팅 시스템의 구조를 설명하기 위한 블록도이다.
도 2는 본 발명의 실시예에 따른 네트워크 장치에 설정되는 로그 서비스 컴포넌트를 설명하기 위한 개념도이다.
도 3은 본 발명의 실시예에 따른 네트워크 장치에 설정되는 로그 서비스 컴포넌트를 설명하기 위한 예시도이다.
도 4는 본 발명의 실시예에 따른 네트워크 장치의 로그 데이터베이스에 저장되는 로그 정보의 구조를 설명하기 위한 개념도이다.
도 5는 본 발명의 실시예에 따른 네트워크 장치의 로그 데이터베이스에 저장되는 로그 정보를 설명하기 위한 예시도이다.
도 6은 본 발명의 일 실시예에 따라 컨트롤러를 통하여 오퍼레이션 로그 정보 열람하는 방법을 설명하기 위한 순서도이다.
도 7은 본 발명의 다른 실시예에 따라 컨트롤러를 통하여 오퍼레이션 로그 정보 열람하는 방법을 설명하기 위한 순서도이다.
도 8은 본 발명의 또 다른 실시예에 따라 컨트롤러를 통하여 오퍼레이션 로그 정보 열람하는 방법을 설명하기 위한 순서도이다.
도 9는 본 발명의 실시예에 따라 오퍼레이션 그룹 기반의 로그 정보 처리를 설명하기 위한 순서도이다.
1 is a block diagram illustrating a structure of an SDN-based routing system according to an embodiment of the present invention.
2 is a conceptual diagram illustrating a log service component set in a network device according to an embodiment of the present invention.
3 is an exemplary diagram illustrating a log service component set in a network device according to an embodiment of the present invention.
4 is a conceptual diagram illustrating a structure of log information stored in a log database of a network device according to an embodiment of the present invention.
5 is an exemplary diagram illustrating log information stored in a log database of a network device according to an embodiment of the present invention.
6 is a flowchart for explaining a method of browsing operation log information through a controller according to an embodiment of the present invention.
7 is a flowchart for explaining a method of browsing operation log information through a controller according to another embodiment of the present invention.
8 is a flowchart for explaining a method of browsing operation log information through a controller according to another embodiment of the present invention.
9 is a flowchart for explaining operation group-based log information processing according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다. While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. Like reference numerals are used for like elements in describing each drawing.

제1, 제2, A, B 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. The terms first, second, A, B, etc. may be used to describe various elements, but the elements should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.
Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the contextual meaning of the related art and are to be interpreted as either ideal or overly formal in the sense of the present application Do not.

이하, 본 발명에서 언급되는 컨트롤러는 통합 SDN 컨트롤러(Unified SDN controller)로, 트래픽의 흐름을 제어하기 위해 관련 구성 요소(예를 들면, 스위치, 라우터 등)를 제어하는 기능 요소(entity)를 의미할 수 있다. Hereinafter, the controller referred to in the present invention refers to an integrated SDN controller, which is a functional entity that controls related components (e.g., switches, routers, etc.) .

또한, 컨트롤러는 물리적인 구현 형태나 구현 위치 등에 의해 한정되지 않는다. 예를 들어, 컨트롤러는 ONF(OpenFlow), IETF(Internet Engineering Task Force), ETSI(European Telecommunication Standards Institute) 및/또는 ITU-T(International Telecommunication Union Telecommunication) 등에서 정의하고 있는 컨트롤러 기능 요소(entity)를 의미할 수 있다. Further, the controller is not limited by the physical implementation form or the location of the implementation. For example, the controller means a controller functional entity defined by ONF (OpenFlow), IETF (Internet Engineering Task Force), ETSI (International Telecommunication Standards Institute) and / or ITU-T (International Telecommunication Union Telecommunication) can do.

본 발명에서 언급되는 네트워크 장치는 '스위치(switch)' 또는 '라우터(router)'와 같이 트래픽(또는 패킷)을 실질적으로 포워딩하거나 스위칭 또는 라우팅하는 기능 요소를 의미할 수 있다. 따라서, 본 발명에서 네트워크 장치는 스위치 또는 라우터로 명명될 수 있다. The network device referred to in the present invention may refer to a functional element that substantially forwards, switches, or routes traffic (or packets), such as a 'switch' or a 'router. Thus, in the present invention, the network device may be referred to as a switch or a router.

예를 들어, 네트워크 장치는 ONF, IETF, ETSI 및/또는 ITU-T 등에서 정의하고 있는 스위치, 라우터, 스위치 요소(Switching Element), 라우터 요소(Routing Element), 포워딩 요소(Forwarding Element) 등을 의미할 수 있다.For example, a network device means a switch, a router, a switching element, a routing element, and a forwarding element defined in ONF, IETF, ETSI and / or ITU-T .

이하, 본 발명의 실시예에 따른 SDN 기반의 라우터 망에서 오퍼레이션 로그 정보를 기록/열람하는 방법을 위한 동작과정에서 정의된 파라미터 및/또는 메시지 형태는 후술하는 특정 메시지에 한정되지 않는다.
Hereinafter, parameters and / or message types defined in an operation procedure for recording / browsing operation log information in an SDN-based router network according to an embodiment of the present invention are not limited to the specific messages described below.

이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시예에 따른 SDN 기반의 라우팅 시스템의 구조를 설명하기 위한 블록도이다. 1 is a block diagram illustrating a structure of an SDN-based routing system according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 실시예에 따른 라우팅 시스템은 다수의 컨트롤러(110, 120)가 다수의 라우터(210, 210)를 제어하도록 구성될 수 있으며, 라우터(210, 220)의 제어 평면(Control Plane) 상에 존재하는 Agent(211, 221)와 컨트롤러(110, 120)의 Client(111, 121)는 표준화된 라우팅 시스템 인터페이스인 I2RS(Interface to Routing System)을 통해 상호 간에 통신을 수행할 수 있다. Referring to FIG. 1, a routing system according to an embodiment of the present invention may be configured such that a plurality of controllers 110 and 120 control a plurality of routers 210 and 210, The agents 211 and 221 existing on the control plane and the clients 111 and 121 of the controllers 110 and 120 communicate with each other through an interface to routing system (I2RS), which is a standardized routing system interface .

컨트롤러(110, 120)는 라우터(210, 220)를 제어하기 위한 서비스 모듈로 Client(111, 121)를 가질 수 있다. 다만, 본 발명에 있어 Client(111, 121)는 컨트롤러(110, 120)와 동등한 개념을 가질 수 있다. The controllers 110 and 120 may have clients 111 and 121 as service modules for controlling the routers 210 and 220. However, in the present invention, the clients 111 and 121 may have the same concept as the controllers 110 and 120.

라우터(210, 220)는 기능에 따라 제어 평면(control plane)과 데이터 평면(data plane)으로 구분될 수 있다. 라우터(210, 220)는 컨트롤러(110, 120)로부터 전달되는 오퍼레이션을 수신 및 수행하기 위한 모듈로 Agent(211, 221)를 가진다. 여기서, Agent(211, 221)는 라우터(210, 220)의 제어 평면 상에 존재할 수 있다. 또한, Forwarding information base 모듈(217, 227)은 라우터(210, 210)의 데이터 평면 상에 존재할 수 있다.The routers 210 and 220 may be divided into a control plane and a data plane according to functions. The routers 210 and 220 have modular agents 211 and 221 for receiving and performing operations transmitted from the controllers 110 and 120, respectively. Here, the Agents 211 and 221 may exist on the control planes of the routers 210 and 220. In addition, the forwarding information base modules 217 and 227 may reside on the data planes of the routers 210 and 210.

라우터(210, 220)의 Agent(211, 221)은 로그(log) 정보에 대한 기록 및 열람을 제어하는 서비스 기능 블록으로 Log 서비스 블록(213, 223) 및 로그를 저장하는 데이터베이스(DB)(215, 225)를 가질 수 있다. 다만, Log 서비스 블록(213, 223)과 데이터베이스(DB)(215, 225)는 Agent(211, 221)에 포함되는 것으로 도시되었으나, Agent(211, 221)와는 별개의 모듈이나 매체로 라우터(210, 220) 상에 위치할 수 있음은 물론이다. The agents 211 and 221 of the routers 210 and 220 are service functional blocks for controlling recording and viewing of log information and include a log service block 213 and 223 and a database 215 , 225). Although the Log service blocks 213 and 223 and the databases 215 and 225 are shown as being included in the Agents 211 and 221 but may be a module or medium separate from the Agents 211 and 221, , 220).

Log 서비스 블록(213, 223)은 라우터(210, 220) 내부적으로 오퍼레이션이 수행되도록 하고, 컨트롤러(110, 120)의 Client(111, 121)로 전달되는 오퍼레이션 수행 결과에 대한 로그 정보를 DB(215, 225)에 기록하도록 한다. 또한, Log 서비스 블록(213, 223)은Client(111, 121)의 요청에 따라 로그 정보를 컨트롤러(110, 120)로 전달하는 기능을 수행할 수 있다. The log service blocks 213 and 223 allow operations to be performed internally in the routers 210 and 220 and log information on the operation execution results transmitted to the clients 111 and 121 of the controllers 110 and 120 through the DB 215 , And 225, respectively. The log service blocks 213 and 223 may transmit log information to the controllers 110 and 120 at the request of the clients 111 and 121. [

보다 상세하게는, 라우터(210, 220)가 오퍼레이션 수행에 따라 발생하는 로그 정보를 기록 또는 열람하는 기능 등을 지원하도록 하는 컴포넌트 모델에 대한 정의가 필요하다. More specifically, it is necessary to define a component model in which routers 210 and 220 support a function of recording or browsing log information generated according to an operation.

본 발명에서는 로그 정보를 기록 또는 열람하는 기능 등을 지원하도록 하는 컴포넌트 모델을 로그 서비스 컴포넌트로 설정 또는 정의할 수 있다. 즉, 로그 서비스 컴포넌트는 컴포넌트 모델과 동등한 개념을 의미할 수 있다. In the present invention, a component model supporting a function of recording or browsing log information can be set or defined as a log service component. In other words, the log service component may refer to a concept equivalent to the component model.

따라서, 라우터(210, 220)의 Log 서비스 블록(213, 223)에 로그 서비스 컴포넌트를 설정할 필요가 있고, 로그 서비스 컴포넌트를 명세(모델화)하는 다양한 파라미터는 도 2를 참조하여 후술한다.
Accordingly, it is necessary to set the log service component in the Log service blocks 213 and 223 of the routers 210 and 220, and various parameters for specifying (modeling) the log service component will be described later with reference to FIG.

도 2는 본 발명의 실시예에 따른 네트워크 장치에 설정되는 로그 서비스 컴포넌트를 설명하기 위한 개념도이다. 2 is a conceptual diagram illustrating a log service component set in a network device according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 실시예에 따라 네트워크 장치에 설정되는 로그 서비스 컴포넌트는 다양한 파라미터에 의해 정의될 수 있다. 즉, 도 2에 도시된 로그 서비스 컴포넌트는 다양한 파라미터에 의해 정의될 수 있으며, 로그 정보에 대한 처리를 규정하는 정책(policy)의 개념을 가질 수 있다. Referring to FIG. 2, a log service component set in a network device according to an embodiment of the present invention may be defined by various parameters. That is, the log service component shown in FIG. 2 may be defined by various parameters, and may have a concept of a policy that defines processing for log information.

도 2의 파라미터의 의미 및 표기 형식은 표 1과 같다. 상세하게는, 표 1은 로그 서비스 컴포넌트의 파라미터 정보를 나타낸다. The meanings of the parameters and the notation format of Fig. 2 are shown in Table 1. In detail, Table 1 shows parameter information of the log service component.

파라미터parameter 표기 형식Notation type 파라미터 항목 설명Parameter Item Description Service NameService Name String (문자열)String (string) 로그 서비스 컴포넌트의 서비스 네임 정보Service name information of log service component Component VersionComponent Version Integer (정수값)Integer (integer value) 로그 서비스 컴포넌트 버전 정보Log service component version information Client ListClient List Array (배열)Array (array) 로그 서비스 컴포넌트를 이용하는 Client 리스트Client list using log service component Client IDClient ID String (문자열)String (string) Client ID 정보About Client ID Log File NameLog File Name String (문자열)String (string) 로그 파일 네임Log file name Log File SizeLog File Size Integer (정수값)Integer (integer value) 로그 파일 사이즈Log file size Log File NumberLog File Number Integer (정수값)Integer (integer value) 로그 파일 개수Number of log files Log LevelLog Level Integer (정수값)Integer (integer value) 로그 레벨 정보Log level information
Level “1”- critical error (시스템 에러 정보)Level "1" - critical error (system error information)
Level “2”- operational error & warningLevel "2" - operational error & warning
Level “3”- debugging (디버깅 정보)Level "3" - debugging (debugging information)
Log File Saturation PolicyLog File Saturation Policy Integer (Integer ( 정수값Integer value )) 로그 파일 저장 공간 부족시 정책Policy when the log file storage space is insufficient
Policy “1”- rewrite (기존 파일에 덮어쓰기)Policy "1" - rewrite (overwrite existing file)
Policy “2”- transmit log filePolicy " 2 " - transmit log file
(Client에게 모든 로그 정보 전달)           (Pass all log information to Client)
Policy “3”- stop & notificationPolicy "3" - stop & notification
(로그 생성 중단 및 Client에게 통보)           (Stop log generation and notify Client)
Publish-Subscriber SupportPublish-Subscriber Support BooleanBoolean 로그 이벤트 발생시 로그 서비스 컴포넌트를 이용하는 Client에게 통보 유무Whether or not the client using the log service component is notified when a log event occurs

표 1을 참조하여 로그 서비스 컴포넌트의 파라미터를 설명하면 다음과 같다. The parameters of the log service component will be described with reference to Table 1 below.

Service Name과 Component Version 정보는 로그 서비스 컴포넌트의 서비스 네임 및 버전 정보를 의미하며, Client List는 로그 서비스 컴포넌트를 이용하는 컨트롤러 리스트 또는 클라이언트 리스트를 의미할 수 있다. The Service Name and Component Version information means the service name and version information of the log service component, and the Client List can refer to a controller list or a client list using the log service component.

또한, 컨트롤러 리스트에 속하는 컨트롤러 별로 설정되는 서브 파라미터가 정의될 수 있다. 서브 파라미터는 컨트롤러의 식별 정보(Client ID 정보), 로그 파일 네임(Log File Name), 로그 파일 사이즈(Log File Size), 로그 파일 개수(Log File Number), 로그 정보의 저장 기준을 나타내는 로그 레벨(Log Level), 로그 파일 저장 공간 부족시 정책(Log File Saturation Policy) 및 로그 이벤트 발생시 컨트롤러 리스트에 속하는 컨트롤러에 통보 유무에 대한 정보(Publish-Subscriber Support)를 포함할 수 있다. In addition, subparameters set for each controller belonging to the controller list can be defined. The subparameters include a log file name, a log file size, a log file number, and a log level indicating a storage criterion of log information (client ID information), a log file name Log Level), a log file storage policy (Log File Saturation Policy), and information on the presence or absence of a notification (Publish-Subscriber Support) in a controller belonging to the controller list when a log event occurs.

예를 들어, 서브 파라미터 중 로그 레벨(Log Level)의 경우 3가지의 레벨로 설정될 수 있다. 발생되는 모든 로그 정보를 저장하는 debugging 레벨(Log Level: 3)이 존재할 수 있고, 오퍼레이션 수행시 발생되는 warning 및 error 정보 발생시에만 로그를 저장하는 operational warning & error 로그 레벨(Log Level: 2) 및 라우터 시스템의 문제가 발생시에만 로그를 저장하는 critical error 로그 레벨(Log Level: 1)이 존재할 수 있다. For example, in the case of a log level among the subparameters, three levels can be set. (Log Level: 3), which stores all the log information generated, and operational warning & error log level (Log Level: 2), which stores the log only when warning and error information occur when the operation is performed. There can be a critical error log level (Log Level: 1) that stores the log only when a system problem occurs.

한편, 로그 레벨의 큰 정수값은 자신보다 작은 정수값의 로그 레벨을 포함하여 동작한다. 예를 들어, Log Level이 2로 설정되는 경우 Log Level이 1인 critical error 로그 정보를 포함하여 로그 정보를 저장할 수 있다. On the other hand, a large integer value of the log level operates with a log level of an integer value smaller than itself. For example, when the Log Level is set to 2, the log information including the critical error log information having the Log Level of 1 can be stored.

Log File Saturation Policy 파라미터는 로그 파일 공간이 부족하여 더 이상 로그 정보를 저장하지 못하는 경우 사용되는 정책을 의미하고, 설정 값에 따라 기존 파일 중 가장 오래된 로그 파일에 로그 정보를 덮어쓰거나 가장 오래된 로그 파일의 내용을 삭제 후 로그 정보를 저장할 수 있다. 또한, Client로 로그 정보를 전달 후 로그 정보를 계속해서 저장하거나, 로그 정보를 더 이상 저장하지 않고 로그 저장 공간의 부족을 Client로 통보할 수도 있다. The Log File Saturation Policy parameter refers to a policy used when the log file space is insufficient to store log information. Depending on the setting value, the oldest log file of the existing file is overwritten with the log information, or the oldest log file After deleting the contents, log information can be saved. In addition, it is also possible to store log information continuously after delivering log information to a client, or to notify a client of insufficient log storage space without storing log information.

Publish-Subscriber Support 파라미터는 로그 이벤트가 발생될 때마다 로그 서비스를 이용하는 client에게 통보하는 기능을 의미하며, Client List의 Client ID 정보를 기반으로 로그 이벤트가 발생하였음을 통보할 수 있다. The Publish-Subscriber Support parameter is a function that notifies the client using the log service whenever a log event occurs, and can notify that a log event has occurred based on the Client ID information of the Client List.

로그 서비스 컴포넌트의 파라미터를 참조하면, 각 Client 별로 로그 정보 파일에 대한 처리를 설정하는 것이 가능한 구조를 갖지만, 공통으로 로그 정보 파일에 대한 처리를 설정할 경우 다수의 client가 하나의 로그 파일을 공유할 수도 있다. 예를 들어, 컨트롤러에 의한 오퍼레이션의 로드 분산을 위해 복수의 Client가 설정되는 경우, 하나의 로그 파일을 통해 로그 정보가 저장될 필요가 있다. If you refer to the parameters of the log service component, it is possible to configure the processing of the log information file for each client. However, when processing the log information file in common, it is possible that a plurality of clients share one log file have. For example, when a plurality of clients are set for load distribution of operations by a controller, log information needs to be stored through one log file.

한편, 도 2에 도시한 로그 서비스 컴포넌트를 복수의 컨트롤러에 공통적으로 사용될 수 있는 공통 컴포넌트와 각각의 컨트롤러에 적응적으로 사용될 수 있는 컨트롤러 별 컴포넌트인 하위 컴포넌트를 구성할 수 있다. 이러한 경우 공통 컴포넌트에는 컨트롤러들 간의 로그 정보 파일에 공통적으로 이용되는 정보, 예를 들어, Service name, Component version, Client list 등의 파라미터들이 정의될 수 있다. Meanwhile, the log service component shown in FIG. 2 can be configured as a common component that can be commonly used by a plurality of controllers and a sub-component that is a controller-specific component that can be used adaptively to each controller. In this case, parameters commonly used in the log information file between the controllers, such as Service name, Component version, and Client list, may be defined in the common component.

또한, 동일 라우터에 접속하는 모든 컨트롤러에 공통되는 파라미터 정보뿐만 아니라 일부 컨트롤러들 간에만 공통되는 파라미터 정보를 공통 컴포넌트로 구성할 수도 있다. 예를 들어, Log File Saturation Policy가 3(stop & notification)인 컨트롤러들 간에는 해당 공통 파라미터를 일부 서브셋 컨트롤러들간의 공통 컴포넌트로 정의할 수도 있다. In addition, parameter information common to all controllers connected to the same router, as well as parameter information common to only some controllers, may be configured as common components. For example, between controllers with a Log File Saturation Policy of 3 (stop & notification), the common parameters may be defined as common components between some subset controllers.

Log File Saturation Policy만을 예시적으로 설명하였지만 이에 국한되지 않고 다양한 변형이 가능함은 물론이다. 이와 같은, 공통 컴포넌트는 다수의 컨트롤러로부터 정책을 받은 라우터가 자체적으로 생성할 수 있고, 동일한 라우터에 연결되어 있는 다수의 컨트롤러들이 합의에 기초하여 라우터가 공통 컴포넌트를 생성하도록 할 수도 있다. Only the Log File Saturation Policy has been exemplarily described, but it goes without saying that various modifications are possible. Such a common component may be generated by a router that has received a policy from a plurality of controllers, and a plurality of controllers connected to the same router may cause the router to generate a common component based on the agreement.

한편, 컨트롤러 별 컴포넌트는 Client ID 등 컨트롤러 또는 클라이언트 별로 적응적으로 설정되는 다양한 파라미터들에 의해 정의될 수 있다. 따라서, 로그 서비스 컴포넌트는 공통 컴포넌트와 컨트톨러 별 컴포넌트를 조합 또는 매핑하여 로그 서비스를 제공하도록 구성될 수 있다.
On the other hand, a controller-specific component can be defined by various parameters such as a client ID, which are set adaptively for each controller or client. Thus, the log service component can be configured to provide a log service by combining or mapping common components and component by controller.

도 3은 본 발명의 실시예에 따른 네트워크 장치에 설정되는 로그 서비스 컴포넌트를 설명하기 위한 예시도이다. 3 is an exemplary diagram illustrating a log service component set in a network device according to an embodiment of the present invention.

도 3은 도 2와 표 1에서 정의된 로그 서비스 컴포넌트를 사용한 실시예를 나타낸다. 도 3을 참조하면, 컨트롤러 A(110)와 컨트롤러 B(120)가 라우터 A(210)에 대해 로그 서비스 컴포넌트의 파라미터를 설정한 내역을 나타낸다. Figure 3 shows an embodiment using the log service component defined in Figure 2 and Table 1; Referring to FIG. 3, the controller A 110 and the controller B 120 show the details of the parameter setting of the log service component with respect to the router A 210.

먼저, 컨트롤러 A(110)가 로그 서비스 컴포넌트의 Client 1과 매칭된다고 가정할 경우, 512k 사이즈의 로그 파일 5개를 로그 레벨 2로 설정하였음 알 수 있고, Publish-subscriber support는 true이므로 로그 정보가 설정될 때마다 client로 통보를 해야함을 알 수 있다. 또한, 5개의 로그 파일의 공간이 부족할 경우, 기존 로그 파일에 덮어씌우는 정책을 사용하는 것을 알 수 있다. Assuming that the controller A 110 is matched with the client 1 of the log service component, it is known that five log files of 512k size are set to log level 2. Publish-subscriber support is true, You can tell that you need to notify the client every time. In addition, if there is insufficient space in the five log files, you can see that the existing log files use a policy to overwrite them.

다음으로, 컨트롤러 B(120)가 로그 서비스 컴포넌트의 Client 2와 매칭된다고 가정할 경우, 256k 사이즈의 로그 파일 2개를 로그 레벨 3로 설정하였음을 알 수 있고, Publish-subscriber support는 false이므로 로그 정보가 설정되어 Client로 통보하지 않음을 알 수 있다. 또한, 2개의 로그 파일의 공간이 부족할 경우, 더 이상 기록하지 않고 Client로 통보함을 알 수 있다. Next, when it is assumed that the controller B 120 is matched with the client 2 of the log service component, it is found that two log files of the size of 256 k are set to the log level 3, and since the publish-subscriber support is false, Is set and the client is not notified. In addition, if the space of two log files is insufficient, it is not notified to the client without recording.

따라서, 상기와 같이 로그 서비스 컴포넌트가 정의됨을 참조하면, 로그 서비스 컴포넌트의 설정을 위해 컨트롤러 별 파라미터를 설정으로써 다중 컨트롤러 환경에서 컨트롤러 별로 로그 정보를 기록하는 것이 가능해지며, 컨트롤러 별 로그 정책을 다르게 설정하는 것이 가능해진다. 또한, 필요에 따라 로그 정책을 동적으로 설정하는 것도 가능해진다.Therefore, by referring to the definition of the log service component as described above, it is possible to record log information for each controller in a multi-controller environment by setting parameters for each controller for setting the log service component, Lt; / RTI > It is also possible to dynamically set log policies as needed.

한편, 도 2의 로그 서비스 컴포넌트를 통해 로그 이벤트가 발생되는 경우 실제로 데이터베이스에 저장되는 로그 정보의 구조는 도 4 및 표 2를 참조하여 후술한다.
Meanwhile, when a log event is generated through the log service component of FIG. 2, the structure of log information actually stored in the database will be described with reference to FIG. 4 and Table 2.

도 4는 본 발명의 실시예에 따른 네트워크 장치의 로그 데이터베이스에 저장되는 로그 정보의 구조를 설명하기 위한 개념도이다. 4 is a conceptual diagram illustrating a structure of log information stored in a log database of a network device according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 실시예에 따른 네트워크 장치의 로그 데이터베이스에 저장되는 로그 정보는 로그 식별 정보(Log ID), 로그 이벤트 발생 시간(Timestamp), 로그 이벤트 발생 주체의 식별 정보(Origin ID), 오퍼레이션 정보(Operation information), 네트워크 어플리케이션 식별 정보(Network Application ID) 및 로그 관련 서비스 네임 정보(Service Name)를 포함하여 구성될 수 있다. 여기서, 오퍼레이션 정보는 오퍼레이션 네임 정보(Operation Name), 오퍼레이션 파라미터 정보(Operation Parameters), 오퍼레이션 그룹 코드 정보(Operation Group Code), 오퍼레이션 결과 코드 정보(Operation Result Code)를 포함할 수 있다. 4, the log information stored in the log database of the network device according to an exemplary embodiment of the present invention includes log identification information (Log ID), a log event occurrence time (Timestamp), an Origin ID Operation information, network application ID, and log-related service name (Service Name). Here, the operation information may include operation name information, operation parameter information, operation group code information, and operation result code information.

표 2는 로그 정보의 파라미터 정보를 나타낸다.Table 2 shows parameter information of the log information.

파라미터parameter 표기 형식Notation type 파라미터 항목 설명Parameter Item Description Log IDLog ID String (문자열)String (string) 로그 ID 정보Log ID information TimestampTimestamp String (문자열)String (string) 로그 이벤트 발생 시간 Log event occurrence time Origin IDOrigin ID String (문자열)String (string) 로그 이벤트 생성 주체의 ID 정보ID information of the log event generation subject Network Application IDNetwork Application ID String (문자열)String (string) 네트워크 network 어플리케이션application ID 정보 ID information Service NameService Name String (문자열)String (string) 로그 관련 서비스 Log-related services 네임Name 정보 Information Operation InformationOperation Information 오퍼레이션 정보Operation Information Operation NameOperation Name String (문자열)String (string) 오퍼레이션 operation 네임Name 정보 Information Operation ParametersOperation Parameters Integer (Integer ( 정수값Integer value )) 오퍼레이션 파라미터 정보Operation parameter information Operation Group CodeOperation Group Code Integer (Integer ( 정수값Integer value )) 오퍼레이션 그룹 코드 정보Operation group code information Operation Result CodeOperation Result Code Integer (Integer ( 정수값Integer value )) 오퍼레이션 결과 코드 정보Operation result code information

표 2를 참조하여 로그 정보의 파라미터 정보를 설명하면 다음과 같다. The parameter information of the log information will be described with reference to Table 2 below.

Log ID 파라미터는 로그의 ID 정보를 나타내며, 로그 이벤트가 발생되는 경우 라우터가 자체적으로 유일한 값으로 설정할 수 있다. The Log ID parameter indicates the ID information of the log. If a log event occurs, the router can set it to its own unique value.

Timestamp 파라미터는 로그 이벤트가 발생된 시간을 의미하며 라우터 시스템이 설정한 시간 정보를 기반으로 하여 타임존 정보, 날짜 정보 및 ms 단위까지의 시간 정보가 표기될 수 있다. The Timestamp parameter indicates the time at which the log event occurred, and time zone information, date information, and time information up to ms units may be displayed based on the time information set by the router system.

Origin ID 정보는 로그 이벤트 생성 주체의 ID 정보로 Client로부터의 수행된 오퍼레이션에 의해 로그가 발생된 경우 해당 Client ID 정보가 설정되며, 라우터 내에서 자체적으로 수행된 오퍼레이션에 의해 로그가 발생된 경우 Agent ID 값으로 설정이 이루어진다. Origin ID information is the ID information of the log event generating entity. When the log is generated by the operation performed from the client, the corresponding Client ID information is set. If the log is generated by the self-performed operation in the router, Value is set.

Network Application ID 파라미터는 Client로부터 전달된 오퍼레이션의 경우 Client 상위에 존재하는 Network Application의 ID 정보를 의미하며, 라우터 내에서 자체적으로 수행된 오퍼레이션으로부터 로그 정보가 생성된 경우 Network Application ID 정보는 설정되지 않을 수 있다. The Network Application ID parameter refers to the ID information of the Network Application that exists in the upper part of the Client in the case of operation transmitted from the Client. If log information is generated from the operation performed in the router itself, the Network Application ID information may not be set have.

Service Name 파라미터 정보는 Agent 내에서 로그 이벤트를 발생시킨 서비스 컴포넌트의 이름을 나타낸다. Service Name Parameter information indicates the name of the service component that generated the log event in the Agent.

Operation Information은 해당하는 서비스 컴포넌트가 정의하는 다양한 오퍼레이션에 대한 정보를 나타낸다. Operation Information indicates information about various operations defined by the corresponding service component.

Operation Information의 하부 파라미터 정보로는 오퍼레이션의 이름을 나타내는 Operation Name, 오퍼레이션의 파라미터 값을 나타내는 Operation Parameters, 그룹화된 오퍼레이션 코드를 나타내는 Operation Group Code, 오퍼레이션의 결과 값을 나타내는 Operation Result Code 등을 포함한다. 여기서, Operation Result Code 정보는 서비스 모델이 갖는 오퍼레이션의 결과 값을 의미할 수 있다. The sub-parameter information of the Operation Information includes an Operation Name indicating an operation name, Operation Parameters indicating an operation parameter value, an Operation Group Code indicating a grouped operation code, and an Operation Result Code indicating a result value of the operation. Here, the operation result code information may mean the operation result value of the service model.

보다 상세하게는, Operation Group Code 정보는 실제 Client로부터 전달되는 오퍼레이션이 단일 오퍼레이션이 아닌 그룹화된 오퍼레이션으로 전달될 경우에 필요한 파라미터 항목으로 Client 입장에서 그룹화된 대표 코드를 기반으로 로그 정보 열람을 가능하게 해준다. More specifically, the Operation Group Code information allows the log information to be browsed based on a representative code grouped in the client as a parameter item required when an operation transmitted from an actual client is transferred as a grouped operation rather than as a single operation .

또한, 도 2에서 기술한 바와 같이 다수의 Client가 공통으로 로그 정보 파일에 대한 처리를 설정하여 하나의 로그 파일을 공유할 수도 있기 때문에, Operation Group Code는 다수의 Client들로부터의 그룹화된 Operation을 나타내는 코드로 부여될 수 있음은 물론이다.
Also, as described with reference to FIG. 2, since a plurality of clients can commonly set processing for a log information file and share one log file, the Operation Group Code is a group operation indicating a grouped operation from a plurality of clients It is a matter of course that it can be given by code.

도 5는 본 발명의 실시예에 따른 네트워크 장치의 로그 데이터베이스에 저장되는 로그 정보를 설명하기 위한 예시도이다. 5 is an exemplary diagram illustrating log information stored in a log database of a network device according to an embodiment of the present invention.

도 5는 도 4와 표 2에서 설명된 로그 정보 저장의 실시예를 나타낸다. FIG. 5 shows an embodiment of the log information storage described in FIG. 4 and Table 2. FIG.

도 5를 참조하면, 컨트롤러(ID 정보 - KT.Controller.OperatorA)(110)는 라우터 망의 제어 기능을 담당하는 Network Application(ID 정보 - KT.Controller)을 가지며, 라우터 A(210)에게 OSPF 라우팅 프로토콜의 Hello Timer Interval 및 Hold Time 정보 설정을 위한 오퍼레이션의 수행을 요청한 상태이다. 컨트롤러(110)는 Northbound interface를 통하여 Network Appilcation(300)과 연동할 수 있다. 5, a controller (ID information - KT.Controller.OperatorA) 110 has a Network Application (ID information - KT.Controller) for controlling a router network, Protocol has been requested to perform operation for setting Hello Timer Interval and Hold Time information. The controller 110 may interwork with the network appilcation 300 through a northbound interface.

라우터 A(210)의 Agent(211)는 로그 서비스 컴포넌트에 기반하여 데이터베이스(215)를 통해 컨트롤러(110)로부터 전달된 두 개의 OSPF 관련 명령을 처리한 후, 도 4의 로그 정보의 구조 기반하여 로그 정보를 저장할 수 있다.The Agent 211 of the router A 210 processes the two OSPF related commands transmitted from the controller 110 through the database 215 based on the log service component and then transmits the OSPF related commands to the log Information can be stored.

Log ID 정보는 라우터 A(210)의 Agent(211)로부터 자동적으로 생성이 이루어지고 로그 이벤트가 발생된 시간 정보는 라우터의 시간 정보를 바탕으로 자동적으로 timestamp 항목에 저장된다. Log ID information is automatically generated from the Agent 211 of the router A 210 and the time information of the log event is automatically stored in the timestamp item based on the time information of the router.

Origin ID 정보는 컨트롤러 A(110)의 Client ID 주소인 KT.Controller.OperatorA가 저장이 되며, 해당 컨트롤러 A(110)의 Network Application ID 정보가 추가적으로 저장된다. The Origin ID information is stored as KT.Controller.OperatorA, which is the Client ID address of the controller A 110, and the Network Application ID information of the controller A 110 is additionally stored.

Service Name 정보는 OSPF 라우팅 프로토콜을 담당하는 서비스 모델인 OSPF 모델의 서비스 모델 이름이 저장되며, 오퍼레이션 정보는 각 로그 별로 Hello Interval에 대한 정보와 Hold Time에 대한 파라미터 정보가 저장된다. The service name information stores the service model name of the OSPF model, which is a service model for OSPF routing protocol, and the operation information stores information about Hello Interval and parameter information about Hold Time for each log.

또한, Operation Group Code 정보는 두 개의 개별적인 오퍼레이션이 OSPF 타이머 관련 제어 관련임을 나타내는 OSPF_Timer_Control 정보로 저장이 되고, 이러한 그룹 정보는 오퍼레이션을 요청하는 컨트롤러 A(110)로부터 생성되어 전달되거나, Agent(211)가 OSPF 서비스 모델의 오퍼레이션 체계를 기반으로 자동적으로 분류하여 생성이 이루어질 수 있다. In addition, the operation group code information is stored as OSPF_Timer_Control information indicating that two separate operations are associated with the OSPF timer related control. The group information is generated and transmitted from the controller A 110 requesting the operation, It can be automatically classified based on the operation system of the OSPF service model and generated.

로그 정보를 참조하면, 컨트롤러로부터 Hello Interval 오퍼레이션에 대해서 30초로 설정했음을 알 수 있으며, 리턴 코드 0을 통해서 해당 오퍼레이션이 제대로 수행되었음을 알 수 있다. If you refer to the log information, you can see from the controller that the Hello Interval operation is set to 30 seconds, and return code 0 tells you that the operation was performed correctly.

반면에, hold time에 대해서는 90초로 설정되었으나 리턴 코드 값이 유효한 값이 아님을 나타내는 10인 결과로 보아 제대로 설정이 이루어지지 않았음을 알 수 있다. 따라서, 해당 오퍼레이션 요청을 수행한 Client는 결과적으로 OSPF 타이머 제어를 위한 오퍼레이션이 성공적으로 이루어지지 않았음을 Agent(211)로부터 전달되는 오퍼레이션 결과 코드를 통해서 실시간으로 알 수 있다. 또한, 로그 정보 기록을 바탕으로 보다 정확한 원인 분석의 수행이 가능하며, Client의 요청이 아닌 다른 원인으로부터 서비스 중단 및 임의의 서비스의 오퍼레이션 장애 상황이 발생될 때, Operation Group Code 정보, Service Model 정보 및 Origin ID 정보 등에 기초하여 로그 정보를 열람함으로써 운영자 입장에서 장애 원인의 분석이 용이할 수 있다.On the other hand, the hold time is set to 90 seconds, but the result is 10, indicating that the return code is not a valid value. Accordingly, the client that has performed the operation request can know in real time that the operation for the OSPF timer control has not been successfully performed, through the operation result code transmitted from the agent 211. In addition, it is possible to perform more accurate cause analysis based on the log information recording, and when an operation failure occurs in a service interruption or an arbitrary service due to a cause other than the request of the client, operation group code information, service model information, By viewing the log information based on the Origin ID information and the like, it is possible to easily analyze the cause of the trouble from the viewpoint of the operator.

따라서, 본 발명의 실시예에 따른 네트워크 장치가 로그 정보를 기록하는 방법에 따르면, 네트워크 장치는 네트워크 장치에서 오퍼레이션이 수행됨에 따라 발생하는 로그 이벤트를 검출할 수 있고, 네트워크 장치에 설정된 로그 서비스 컴포넌트에 따라 검출된 로그 이벤트에 상응하는 로그 정보를 기록할 수 있다.
Therefore, according to the method for recording log information by the network device according to the embodiment of the present invention, the network device can detect a log event that occurs according to the operation performed in the network device, The log information corresponding to the detected log event can be recorded.

도 6은 본 발명의 일 실시예에 따라 컨트롤러를 통하여 오퍼레이션 로그 정보 열람하는 방법을 설명하기 위한 순서도이고, 도 7은 본 발명의 다른 실시예에 따라 컨트롤러를 통하여 오퍼레이션 로그 정보 열람하는 방법을 설명하기 위한 순서도이며, 도 8은 본 발명의 또 다른 실시예에 따라 컨트롤러를 통하여 오퍼레이션 로그 정보 열람하는 방법을 설명하기 위한 순서도이다.FIG. 6 is a flowchart illustrating a method for browsing operation log information through a controller according to an embodiment of the present invention. FIG. 7 illustrates a method for browsing operation log information through a controller according to another embodiment of the present invention And FIG. 8 is a flowchart for explaining a method of browsing operation log information through a controller according to another embodiment of the present invention.

도 6을 참조하면, 컨트롤러가 Origin ID를 기반으로 컨트롤러로부터 요청된 오퍼레이션에 대한 로그 정보를 열람하는 예를 보여준다. Referring to FIG. 6, an example in which a controller reads log information about an operation requested from a controller based on an Origin ID is shown.

먼저, 컨트롤러 내부의 Client는 Agent에 접속하여 로그 정보 구조의 Origin ID에 컨트롤러 자신의 ID 정보를 입력하여 로그 정보 전달을 요청할 수 있다(S610). First, the client inside the controller can access the Agent and input the ID information of the controller itself to the Origin ID of the log information structure to request the log information transfer (S610).

라우터의 Agent는 Log 서비스 블록에게 Origin ID에 입력된 Client ID 정보를 기반으로 데이터베이스로부터 로그 정보를 요청할 수 있다(S620, S630). 라우터의 Agent는 Log 서비스 블록을 통하여 데이트베이스로부터 Origin ID에 입력된 Client ID 정보에 상응하는 로그 파일 데이터를 수신할 수 있다(S640, S650). 따라서, 라우터의 Agent는 Log 서비스 블록으로부터 수신한 로그 파일 데이터를 컨트롤러의 Client로 전달할 수 있다(S660). The agent of the router can request the log information from the database based on the Client ID information inputted to the Log service block in the Origin ID (S620, S630). The agent of the router can receive the log file data corresponding to the Client ID information input to the Origin ID from the date base through the Log service block (S640, S650). Accordingly, the agent of the router can forward the log file data received from the Log service block to the client of the controller (S660).

만일, 다중 Client를 위한 데이터베이스를 공유하는 형태가 아니고 Client별로 데이터베이스를 관리하는 경우, Agent는 Client 별로 관리되는 로그 정보 파일을 그대로 해당 Client에게 전달할 수 있다.If the database is managed for each client rather than sharing the database for multiple clients, the Agent can transmit the log information file managed by the client to the corresponding client as it is.

도 7을 참조하면, Origin ID를 기반으로 컨트롤러가 제어하는 라우터 내부에서 수행된 오퍼레이션에 대한 로그 정보를 열람하는 예를 보여준다. Referring to FIG. 7, an example of browsing log information about operations performed in a router controlled by a controller based on Origin ID is shown.

도 6의 실시예와 마찬가지로, 컨트롤러 내부의 Client는 Origin ID 정보에 Agent ID를 입력하여 Agent에게 로그 정보를 요청할 수 있다(S710).As in the embodiment of FIG. 6, the client inside the controller can request the log information from the Agent by inputting the Agent ID in the Origin ID information (S710).

라우터의 Agent는 Log 서비스 블록에게 Origin ID에 입력된 Agent ID 정보를 기반으로 데이터베이스로부터 로그 정보를 요청할 수 있다(S720, S730). 라우터의 Agent는 Log 서비스 블록을 통하여 데이트베이스로부터 Origin ID에 입력된 Agent ID 정보에 상응하는 로그 파일 데이터를 수신할 수 있다(S740, S750). 따라서, 라우터의 Agent는 Log 서비스 블록으로부터 수신한 로그 파일 데이터를 컨트롤러의 Client로 전달할 수 있다(S760).The agent of the router can request the log information from the database based on the Agent ID information input in the Origin ID to the Log service block (S720, S730). The agent of the router can receive the log file data corresponding to the Agent ID information input to the Origin ID from the date base through the Log service block (S740, S750). Accordingly, the agent of the router can forward the log file data received from the Log service block to the client of the controller (S760).

도 8을 참조하면, 서비스 네임을 기반으로 오퍼레이션 수행의 로그 정보를 열람하는 예를 보여준다. Referring to FIG. 8, an example of browsing log information of an operation performed based on a service name is shown.

라우터의 Agent는 Log 서비스 블록에게 Service Name에 입력된 OSPF를 기반으로 데이터베이스로부터 로그 정보를 요청할 수 있다(S820, S830). 라우터의 Agent는 Log 서비스 블록을 통하여 데이트베이스로부터 Service Name에 입력된 OSPF에 상응하는 로그 파일 데이터를 수신할 수 있다(S840, S850). 따라서, 라우터의 Agent는 Log 서비스 블록으로부터 수신한 로그 파일 데이터를 컨트롤러의 Client로 전달할 수 있다(S860).The agent of the router can request log information from the database based on the OSPF inputted in the service name to the log service block (S820, S830). The agent of the router can receive the log file data corresponding to the OSPF inputted in the service name from the data base through the log service block (S840, S850). Accordingly, the agent of the router can forward the log file data received from the Log service block to the client of the controller (S860).

SDN기반의 라우팅 시스템 내부에는 다양한 서비스 컴포넌트들이 존재하며, 서비스 컴포넌트에 따라 수행되는 오퍼레이션에 따라 로깅 이벤트가 발생되기 때문에, 로그 생성의 원천이 되는 서비스 컴포넌트가 존재한다. There are various service components in the SDN-based routing system, and there is a service component that is a source of log generation because a logging event is generated according to an operation performed according to a service component.

즉, Client는 로그 정보 열람시 특정 서비스 컴포넌트 정보를 명시하여 Agent에게 요청할 수 있고, Agent는 해당 서비스 컴포넌트의 수행으로 생성된 로그 정보만을 Client에게 응답할 수 있다. That is, the client can request the agent to specify specific service component information when browsing the log information, and the agent can respond only to the log information generated by the execution of the corresponding service component.

따라서, 본 발명의 실시예에 따른 컨트롤러가 로그 정보를 열람하는 방법에 따르면, 컨트롤러는 열람 대상이 되는 로그 정보를 지정하는 열람 대상 정보를 포함하는 로그 열람 메시지를 생성할 수 있고, 열람 대상 정보에 상응하는 로그 정보에 대한 열람을 위해 로그 열람 메시지를 네트워크 장치로 전달할 수 있으며, 네트워크 장치로부터 열람 대상 정보에 상응하는 로그 정보를 수신할 수 있다. Therefore, according to the method for the controller according to the embodiment of the present invention to browse the log information, the controller can generate the log browse message including the browse target information specifying the log information to be browsed, The log browsing message can be transmitted to the network device for browsing the corresponding log information, and the log information corresponding to the browsing object information can be received from the network device.

여기서, 열람 대상 정보는, 로그 이벤트 발생 주체의 식별 정보, 로그 관련 서비스 네임 정보, 로그 식별 정보, 로그 이벤트 발생 시간, 오퍼레이션 정보 등에 의해 특정될 수 있다.
Here, the browsing object information can be specified by identification information of a log event generating entity, log related service name information, log identification information, log event occurrence time, operation information, and the like.

도 9는 본 발명의 실시예에 따라 오퍼레이션 그룹 기반의 로그 정보 처리를 설명하기 위한 순서도이다.9 is a flowchart for explaining operation group-based log information processing according to an embodiment of the present invention.

도 9는 SDN 기반의 라우팅 시스템에서 특정 오퍼레이션 그룹을 기반으로 오퍼레이션 수행이 수행되는 예를 보여준다.9 shows an example in which an operation is performed based on a specific operation group in an SDN-based routing system.

라우팅 시스템에 적용되는 오퍼레이션은 단일 오퍼레이션이 아닌 복수의 오퍼레이션을 기반으로 동작될 수 있으며, SDN 기반의 라우팅 시스템의 컨트롤러도 이러한 복수의 오퍼레이션을 라우터에게 전달할 수 있다. Operations applied to the routing system can be performed based on a plurality of operations rather than a single operation, and the controller of the SDN-based routing system can transmit the plurality of operations to the router.

따라서, 복수의 오퍼레이션은 하나의 그룹화된 메시지 형태로 라우터에게 전달이 이루어지며, 로그 정보 역시 이러한 오퍼레이션들을 대표할 수 있는 그룹 코드(Operation Group Code)를 통해서 저장이 이루어질 수 있다. Accordingly, a plurality of operations are delivered to the router in the form of a grouped message, and the log information can also be stored through an operation group code that can represent these operations.

도 9를 참조하면, 복수의 오퍼레이션이 Client부터 Agent에게 전달될 수 있고, 오퍼레이션 수행 결과에 따라 그룹화된 그룹 코드를 기반으로 로그 정보가 생성될 수 있다. Referring to FIG. 9, a plurality of operations can be transmitted from a client to an agent, and log information can be generated based on a group code grouped according to an operation result.

예를 들어, Client는 OSPF 타이머 설정을 라우터에게 요청하고 있으며 이때 설정되는 hello timer와 holdoff timer의 설정 오퍼레이션들을 그룹화한 그룹 코드인 “Add OSPF Timer”로 설정하여 라우터의 agent에게 요청할 수 있다(S910). 여기서, 그룹 코드는 Client에서 Agent로 요청시 복수의 오퍼레이션 행위를 대표하는 코드로 할당이 이루어질 수 있으며, Client에서는 요청하는 오퍼레이션 그룹에 대한 그룹 코드 정보를 관리할 수 있다. 따라서, 컨트롤러는 향후 로그 정보 열람시에 해당하는 그룹 코드 정보를 기반으로 로그 정보 열람을 Agent에 요청할 수 있고, 이를 통하여 필요한 로그 정보만을 Agent로부터 전달받을 수 있게 된다.For example, the client requests the router to set the OSPF timer, and can set the hello timer and the holdoff timer to be set at that time as a group code "Add OSPF Timer", which is a grouping, and request the router's agent (S910) . Here, the group code can be assigned to a code representing a plurality of operation actions when requesting from the client to the agent, and the client can manage the group code information for the requested operation group. Accordingly, the controller can request the agent to browse the log information based on the group code information corresponding to the log information in the future, and only the necessary log information can be received from the agent.

Agent는 요청받은 OSPF 타이머 설정을 OSPF 서비스 컴포넌트에 요청할 수 있다(S920). OSPF 서비스 컴포넌트는 Agent의 요청에 따라 타이머를 설정하고, 그 결과값을 Agent로 응답할 수 있다(S930, S940). 따라서, Agent는 OSPF 타이머 설정에 대한 결과를 Client로 응답할 수 있다(S950). The Agent may request the OSPF service component to set the requested OSPF timer (S920). The OSPF service component sets a timer according to the request of the agent and responds the result to the agent (S930, S940). Accordingly, the Agent can reply the result of the OSPF timer setting to the client (S950).

또한, Agent는 OSPF 타이머 설정에 대한 결과값에 기초한 로그 생성을 Log 서비스 블록에 요청할 수 있고(S960), Log 서비스 블록은 생성된 로그 정보를 데이터베이스에 저장시킬 수 있다(S970). 따라서, Agent는 로그 정보에 대한 저장 결과의 응답을 Log 서비스 블록을 통하여 수신할 수 있다. In step S960, the agent can request the log service block based on the result of the OSPF timer setting in step S960, and the log service block can store the generated log information in the database in step S970. Therefore, the agent can receive the response of the storage result of the log information through the log service block.

따라서, 소프트웨어 정의 네트워킹 환경에서 로그 정보를 처리하는 방법에 따르면, 컨트롤러가 로그 서비스 컴포넌트를 네트워크 장치에 설정할 수 있고, 네트워크 장치가 네트워크 장치에서 오퍼레이션이 수행됨에 따라 발생하는 로그 이벤트를 검출할 수 있으며, 네트워크 장치가 로그 서비스 컴포넌트에 따라 검출된 로그 이벤트에 상응하는 로그 정보를 처리할 수 있다. Thus, according to a method of processing log information in a software-defined networking environment, the controller can configure a log service component on the network device, and the network device can detect a log event that occurs as an operation is performed on the network device, The network device can process the log information corresponding to the log event detected according to the log service component.

보다 상세하게는, 네트워크 장치는 로그 식별 정보, 로그 이벤트 발생 시간, 로그 이벤트 발생 주체의 식별 정보, 오퍼레이션 정보, 네트워크 어플리케이션 식별 정보 및 로그 관련 서비스 네임 정보를 포함하는 로그 정보를 기록할 수 있다. More specifically, the network device may record log information including log identification information, log event occurrence time, log event occurrence entity identification information, operation information, network application identification information, and log related service name information.

또한, 네트워크 장치는 로그 서비스 컴포넌트에 따라 검출된 로그 이벤트에 상응하는 로그 정보를 컨트롤러로 전송할 수 있다.
Also, the network device may transmit log information corresponding to the detected log event to the controller according to the log service component.

상술한 본 발명의 실시예에 따른 SDN 기반의 라우터 망에서 오퍼레이션 로그 정보를 기록 및 열람하는 방법은, SDN에 기반한 라우팅 시스템 구조에서 기록되는 로그 정보에 다양한 파라미터를 정의함으로써 컨트롤러가 라우터의 장애 상황을 보다 효과적으로 추적할 수 있는 기능을 제공할 수 있다.The method of recording and viewing the operation log information in the SDN-based router network according to the embodiment of the present invention defines various parameters in the log information recorded in the SDN-based routing system structure, It is possible to provide a function of tracking more effectively.

또한, 로그 서비스를 컴포넌트 형태로 정의하고 다중 컨트롤러 환경을 위한 파라미터 구성을 통해 다중 컨트롤러 환경에서 개별적으로 로그를 기록할 수 있고, 이를 통하여 컨트롤러 별 로그 정책을 다양화할 수 있다. In addition, the log service can be defined as a component type, and the log configuration can be separately recorded in a multi-controller environment through parameter configuration for a multi-controller environment, thereby diversifying the log policy for each controller.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the present invention as defined by the following claims It can be understood that

110: Controller A 120: Controller B
111, 121: Client
210: Router A 220: Router B
211, 221: Agent 213, 223: Log 서비스 블록
215, 225: 데이터베이스(DB)
217, 227: Forwarding information base 모듈
300: Network Application
110: Controller A 120: Controller B
111, 121: Client
210: Router A 220: Router B
211, 221: Agent 213, 223: Log service block
215, 225: Database (DB)
217, 227: Forwarding information base module
300: Network Application

Claims (16)

네트워크 장치가 로그 정보를 기록하는 방법에 있어서,
상기 네트워크 장치에서 오퍼레이션이 수행됨에 따라 발생하는 로그 이벤트를 검출하는 단계; 및
상기 네트워크 장치에 설정된 로그 서비스 컴포넌트에 따라 상기 검출된 로그 이벤트에 상응하는 로그 정보를 기록하는 단계를 포함하고,
상기 네트워크 장치에 설정된 로그 서비스 컴포넌트는 상기 로그 서비스 컴포넌트의 서비스 네임 및 버전 정보, 상기 로그 서비스 컴포넌트를 이용하는 컨트롤러 리스트 및 상기 컨트롤러 리스트에 속하는 적어도 둘 이상의 컨트롤러 별로 설정되는 서브 파라미터에 대한 정보를 포함하고,
상기 서브 파라미터는, 컨트롤러의 식별 정보, 로그 파일 네임, 로그 파일 사이즈, 로그 파일 개수, 로그 정보의 저장 기준을 나타내는 로그 레벨, 로그 파일 저장 공간 부족시 정책 및 로그 이벤트 발생시 상기 컨트롤러 리스트에 속하는 컨트롤러에 통보 유무에 대한 정보 중 적어도 하나를 포함하는,
라우터 망에서 오퍼레이션 로그 정보를 기록하는 방법.
A method for a network device to record log information,
Detecting a log event occurring as an operation is performed in the network device; And
And recording log information corresponding to the detected log event according to a log service component set in the network device,
Wherein the log service component set in the network device includes a service name and version information of the log service component, a controller list using the log service component, and information about sub-parameters set for each of at least two controllers belonging to the controller list,
The subparameter includes at least one of a controller identification information, a log file name, a log file size, a log file number, a log level indicating a storage criterion of log information, a policy when a log file storage space is insufficient, And information on the presence or absence of the notification.
A method for recording operation log information in a router network.
삭제delete 삭제delete 청구항 1에 있어서,
상기 검출된 로그 이벤트에 상응하는 로그 정보는,
로그 식별 정보, 로그 이벤트 발생 시간, 로그 이벤트 발생 주체의 식별 정보 및 오퍼레이션 정보를 포함하는,
라우터 망에서 오퍼레이션 로그 정보를 기록하는 방법.
The method according to claim 1,
The log information corresponding to the detected log event is,
A log event occurrence time, a log event occurrence subject identification information, and operation information,
A method for recording operation log information in a router network.
청구항 4에 있어서,
상기 오퍼레이션 정보는,
오퍼레이션 네임 정보, 오퍼레이션 파라미터 정보, 오퍼레이션 그룹 코드 정보, 오퍼레이션 결과 코드 정보 중 적어도 하나를 포함하는,
라우터 망에서 오퍼레이션 로그 정보를 기록하는 방법.
The method of claim 4,
The operation information includes:
Wherein the operation information includes at least one of operation name information, operation parameter information, operation group code information,
A method for recording operation log information in a router network.
청구항 4에 있어서,
상기 검출된 로그 이벤트에 상응하는 로그 정보는,
네트워크 어플리케이션 식별 정보 및 로그 관련 서비스 네임 정보 중 적어도 하나를 더 포함하는,
라우터 망에서 오퍼레이션 로그 정보를 기록하는 방법.
The method of claim 4,
The log information corresponding to the detected log event is,
Further comprising at least one of network application identification information and log related service name information.
A method for recording operation log information in a router network.
컨트롤러가 로그 정보를 열람하는 방법에 있어서,
열람 대상이 되는 로그 정보를 지정하는 열람 대상 정보를 포함하는 로그 열람 메시지를 생성하는 단계;
상기 열람 대상 정보에 상응하는 로그 정보에 대한 열람을 위해 상기 로그 열람 메시지를 네트워크 장치로 전달하는 단계; 및
상기 네트워크 장치로부터 상기 열람 대상 정보에 상응하는 로그 정보를 수신하는 단계를 포함하고,
상기 네트워크 장치는 컨트롤러에 의해 설정된 로그 서비스 컴포넌트에 따라 로그 정보를 기록하며, 상기 로그 서비스 컴포넌트는 상기 로그 서비스 컴포넌트의 서비스 네임 및 버전 정보, 상기 로그 서비스 컴포넌트를 이용하는 컨트롤러 리스트 및 상기 컨트롤러 리스트에 속하는 적어도 둘 이상의 컨트롤러 별로 설정되는 서브 파라미터에 대한 정보를 포함하고,
상기 서브 파라미터는, 컨트롤러의 식별 정보, 로그 파일 네임, 로그 파일 사이즈, 로그 파일 개수, 로그 정보의 저장 기준을 나타내는 로그 레벨, 로그 파일 저장 공간 부족시 정책 및 로그 이벤트 발생시 상기 컨트롤러 리스트에 속하는 컨트롤러에 통보 유무에 대한 정보 중 적어도 하나를 포함하는,
라우터 망에서 오퍼레이션 로그 정보를 열람하는 방법.
In a method for the controller to view log information,
Generating a log browse message including browse target information specifying log information to be browsed;
Transmitting the log viewing message to a network device for browsing log information corresponding to the information to be browsed; And
And receiving log information corresponding to the browsing object information from the network device,
Wherein the network device records log information according to a log service component set by a controller, the log service component including a service name and version information of the log service component, a controller list using the log service component, Information about sub-parameters set for each of two or more controllers,
The subparameter includes at least one of a controller identification information, a log file name, a log file size, a log file number, a log level indicating a storage criterion of log information, a policy when a log file storage space is insufficient, And information on the presence or absence of the notification.
A method for browsing operation log information in a router network.
청구항 7에 있어서,
상기 열람 대상 정보는,
로그 이벤트 발생 주체의 식별 정보 또는 로그 관련 서비스 네임 정보에 의해 특정되는,
라우터 망에서 오퍼레이션 로그 정보를 열람하는 방법.
The method of claim 7,
The reading target information includes:
And the log-related service name information, which is specified by the log-
A method for browsing operation log information in a router network.
청구항 7에 있어서,
상기 열람 대상 정보는,
로그 식별 정보, 로그 이벤트 발생 시간, 오퍼레이션 정보 중 하나에 의해 특정되는,
라우터 망에서 오퍼레이션 로그 정보를 열람하는 방법.
The method of claim 7,
The reading target information includes:
Which is specified by one of log identification information, log event occurrence time, and operation information,
A method for browsing operation log information in a router network.
삭제delete 소프트웨어 정의 네트워킹 환경에서 로그 정보를 처리하는 방법에 있어서,
네트워크 장치가 컨트롤러로부터 제어되는 로그 서비스 컴포넌트를 설정하는 단계;
상기 네트워크 장치가 상기 네트워크 장치에서 오퍼레이션이 수행됨에 따라 발생하는 로그 이벤트를 검출하는 단계; 및
상기 네트워크 장치가 상기 로그 서비스 컴포넌트에 따라 상기 검출된 로그 이벤트에 상응하는 로그 정보를 처리하는 단계를 포함하고,
상기 로그 서비스 컴포넌트는, 상기 로그 서비스 컴포넌트의 서비스 네임 및 버전 정보, 상기 로그 서비스 컴포넌트를 이용하는 컨트롤러 리스트 및 상기 컨트롤러 리스트에 속하는 적어도 둘 이상의 컨트롤러 별로 설정되는 서브 파라미터에 대한 정보를 포함하고,
상기 서브 파라미터는, 컨트롤러의 식별 정보, 로그 파일 네임, 로그 파일 사이즈, 로그 파일 개수, 로그 정보의 저장 기준을 나타내는 로그 레벨, 로그 파일 저장 공간 부족시 정책 및 로그 이벤트 발생시 상기 컨트롤러 리스트에 속하는 컨트롤러에 통보 유무에 대한 정보 중 적어도 하나를 포함하는,
라우터 망에서 오퍼레이션 로그 정보를 처리하는 방법.
A method for processing log information in a software defined networking environment,
Setting a log service component in which a network device is controlled from a controller;
Detecting a log event occurring as the network device performs an operation in the network device; And
The network device processing log information corresponding to the detected log event according to the log service component,
Wherein the log service component includes information on a service name and version information of the log service component, a controller list using the log service component, and information on sub-parameters set for each of at least two controllers belonging to the controller list,
The subparameter includes at least one of a controller identification information, a log file name, a log file size, a log file number, a log level indicating a storage criterion of log information, a policy when a log file storage space is insufficient, And information on the presence or absence of the notification.
A method for processing operation log information in a router network.
삭제delete 청구항 11에 있어서,
상기 검출된 로그 이벤트에 상응하는 로그 정보를 처리하는 단계는,
로그 식별 정보, 로그 이벤트 발생 시간, 로그 이벤트 발생 주체의 식별 정보 및 오퍼레이션 정보를 포함하는 로그 정보를 기록하는 것을 특징으로 하는,
라우터 망에서 오퍼레이션 로그 정보를 처리하는 방법.
The method of claim 11,
Wherein the processing of the log information corresponding to the detected log event comprises:
Log information including the log identification information, the log event occurrence time, the log event occurrence subject identification information, and the operation information,
A method for processing operation log information in a router network.
청구항 13에 있어서,
상기 오퍼레이션 정보는,
오퍼레이션 네임 정보, 오퍼레이션 파라미터 정보, 오퍼레이션 그룹 코드 정보, 오퍼레이션 결과 코드 정보 중 적어도 하나를 포함하는,
라우터 망에서 오퍼레이션 로그 정보를 처리하는 방법.
14. The method of claim 13,
The operation information includes:
Wherein the operation information includes at least one of operation name information, operation parameter information, operation group code information,
A method for processing operation log information in a router network.
청구항 13에 있어서,
상기 검출된 로그 이벤트에 상응하는 로그 정보를 처리하는 단계는,
네트워크 어플리케이션 식별 정보 및 로그 관련 서비스 네임 정보 중 적어도 하나를 더 포함시킨 로그 정보를 기록하는 것을 특징으로 하는,
라우터 망에서 오퍼레이션 로그 정보를 처리하는 방법.
14. The method of claim 13,
Wherein the processing of the log information corresponding to the detected log event comprises:
The network application identification information, and the log related service name information.
A method for processing operation log information in a router network.
청구항 11에 있어서,
상기 검출된 로그 이벤트에 상응하는 로그 정보를 처리하는 단계는,
상기 로그 서비스 컴포넌트에 따라 상기 검출된 로그 이벤트에 상응하는 로그 정보를 상기 컨트롤러로 전송하는 것을 특징으로 하는,
라우터 망에서 오퍼레이션 로그 정보를 처리하는 방법.
The method of claim 11,
Wherein the processing of the log information corresponding to the detected log event comprises:
And transmits log information corresponding to the detected log event to the controller according to the log service component.
A method for processing operation log information in a router network.
KR1020150119391A 2014-08-27 2015-08-25 Method for recording/reading operation log information in router network based on software defined networking and apparatus thereof KR101783097B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20140112606 2014-08-27
KR1020140112606 2014-08-27

Publications (2)

Publication Number Publication Date
KR20160025472A KR20160025472A (en) 2016-03-08
KR101783097B1 true KR101783097B1 (en) 2017-09-28

Family

ID=55534443

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150119391A KR101783097B1 (en) 2014-08-27 2015-08-25 Method for recording/reading operation log information in router network based on software defined networking and apparatus thereof

Country Status (1)

Country Link
KR (1) KR101783097B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107347024B (en) * 2017-07-19 2020-04-28 华为技术有限公司 Method, equipment and system for storing operation log
CN108449252B (en) * 2018-02-26 2020-11-06 杭州迪普科技股份有限公司 Dump method and device for access log

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5500272B2 (en) * 2011-02-09 2014-05-21 富士通株式会社 Relay device, relay history recording method, and data processing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5500272B2 (en) * 2011-02-09 2014-05-21 富士通株式会社 Relay device, relay history recording method, and data processing device

Also Published As

Publication number Publication date
KR20160025472A (en) 2016-03-08

Similar Documents

Publication Publication Date Title
US9806983B2 (en) System and method for control flow management in software defined networks
US9825835B2 (en) Systems and methods for implementing a traffic visibility network
CN111787073A (en) Current-limiting fusing platform and method for unified service
US6330601B1 (en) Management system for a multi-level communication network
US11184267B2 (en) Intelligent in-band telemetry auto-configuration for IP networks
EP3695568A1 (en) Systems and methods for controlling switches to record network packets using a traffice monitoring network
CN107003983A (en) Configuration network
US20030105801A1 (en) Method, system and agent for connecting event consumers to event producers in a distributed event management system
CN102938794A (en) Address resolution protocol (ARP) message forwarding method, exchanger and controller
US9479323B2 (en) Communication system, forwarding node, control device, communication control method, and program
KR20110014943A (en) Method for managing network and for providing service qos
JP5530864B2 (en) Network system, management server, and management method
CN102045192A (en) Apparatus and system for estimating network configuration
CN104243205A (en) Message processing method and device used during virtual switch fault
CN103262046A (en) Server management apparatus, server management method, and program
KR101783097B1 (en) Method for recording/reading operation log information in router network based on software defined networking and apparatus thereof
US8064466B2 (en) Method for specifying input edge router
JP4673532B2 (en) Comprehensive alignment process in a multi-manager environment
KR20070074867A (en) Apparatus and system for monnitoring distributed environment network
US20150304200A1 (en) Traffic information collection system and collection control node
KR20190114126A (en) Software-defined network controller for controlling message transmission to switch based on processing completion delay time of message and method thereof
CN101217485B (en) A flexible grouping link management method
CN108683540B (en) Cross-platform lightweight implementation method and system for network management protocol channel
CN107248935B (en) System and method for network management to discover and monitor network elements
JP4589939B2 (en) Connection information management method, apparatus and program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant