KR100503826B1 - Xml/snmp gateway for integrated network management - Google Patents

Xml/snmp gateway for integrated network management Download PDF

Info

Publication number
KR100503826B1
KR100503826B1 KR10-2003-0017817A KR20030017817A KR100503826B1 KR 100503826 B1 KR100503826 B1 KR 100503826B1 KR 20030017817 A KR20030017817 A KR 20030017817A KR 100503826 B1 KR100503826 B1 KR 100503826B1
Authority
KR
South Korea
Prior art keywords
xml
snmp
message
delegate
parser
Prior art date
Application number
KR10-2003-0017817A
Other languages
Korean (ko)
Other versions
KR20040083232A (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 KR10-2003-0017817A priority Critical patent/KR100503826B1/en
Publication of KR20040083232A publication Critical patent/KR20040083232A/en
Application granted granted Critical
Publication of KR100503826B1 publication Critical patent/KR100503826B1/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/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • 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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • 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/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0273Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP]
    • 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/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

기존의 네트워크 관리 장비에 내장된 SNMP 대리자와 XML 관리자 사이에서 네트워크 관리를 위해서 송수신되는 요청 및 응답 메시지를 변환시키는 본 발명에 따른 XML/SNMP 게이트웨이는 SNMP 기반의 네트워크 관리에서 SMI를 이용하여 정의한 MIB에 대하여 이에 대응하는 XML 스키마를 형성하고 MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 형성시키는 XML 변환기와, XML 관리자로부터 수신된 XML 요청 메시지를 분석하여 접근하고자 하는 목적 노드를 추출하는 요청 처리 모듈과, MIB의 구조와 정보를 저장하고 있는 XML 스키마와 XML 문서, 목적 노드에 대응되는 OID 정보를 추출하는 XML 파서와, XML 파서에서 추출된 OID 정보에 대응되는 SNMP 요청 메시지를 SNMP 대리자에게 전송하고, SNMP 대리자로부터 SNMP 요청 메시지에 대한 SNMP 응답 메시지를 수신하여 XML 파서에 송신하는 SNMP 스택을 포함한다. The XML / SNMP gateway according to the present invention converts the request and response messages transmitted and received for network management between the SNMP delegate and the XML manager embedded in the existing network management equipment to the MIB defined using SMI in SNMP-based network management. An XML converter for forming an XML schema corresponding to the corresponding XML schema and forming an XML document having the same structure as the MIB tree structure, a request processing module for analyzing the XML request message received from the XML manager and extracting an object node to be accessed; The XML parser extracts the XML schema, the XML document, and the OID information corresponding to the destination node, and the SNMP request message corresponding to the OID information extracted from the XML parser to the SNMP delegate. Receive SNMP response messages for SNMP request messages from delegates and send them to the XML parser It includes SNMP stack.

이상 설명한 바와 같이, 본 발명에서는 XML/SNMP 게이트웨이를 위하여 SMI 형식의 MIB 정보를 손실 없이 XML 기반의 네트워크 관리에서 이해할 수 있는 XML 스키마로 변환시킴으로써, SNMP 대리자의 변경 없이 XML 기반의 네트워크 관리 시스템과 SNMP 대리자간의 유연성을 제공할 수 있다.As described above, in the present invention, by converting MIB information of the SMI format for XML / SNMP gateway into XML schema that can be understood in XML-based network management without loss, the XML-based network management system and SNMP without changing the SNMP delegate It can provide flexibility between agents.

Description

통합 네트워크 관리를 위한 XML/SNMP 게이트웨이 {XML/SNMP GATEWAY FOR INTEGRATED NETWORK MANAGEMENT}GL / SNMP Gateway for Integrated Network Management {XML / SNMP GATEWAY FOR INTEGRATED NETWORK MANAGEMENT}

본 발명은 XML 기반의 네트워크 관리 시스템에 관한 것으로, 특히 SNMP 기반의 네트워크 관리가 가지는 확장성 및 효율성을 극복할 수 있는 XML 기반의 네트워크 관리를 위한 XML/SNMP 게이트웨이에 관한 것이다.The present invention relates to an XML-based network management system, and more particularly, to an XML / SNMP gateway for XML-based network management that can overcome the scalability and efficiency of SNMP-based network management.

1980년대 후반부터 월드와이드웹(WWW : World Wide Web)의 발달과 함께 크게 증가하기 시작한 인터넷은 여러 벤더들에 의해서 생산되는 다양한 네트워크 장비로 이루어진 복잡한 네트워크를 형성하게 되었으며, 결과적으로 네트워크 관리에 대한 중요성이 증가하게 되었다.The Internet, which began to grow significantly with the development of the World Wide Web (WWW) in the late 1980s, formed a complex network of various network devices produced by various vendors. As a result, the importance of network management This increased.

이러한 인터넷을 관리하기 위한 네트워크 관리는 현재 대부분 SNMP(Simple Network Management Protocol)를 기반으로 하고 있다. SNMP는 관리자-대리자 구조에 근거를 두고 있으며, 관리자는 대리자에게 관리 요청을 보내고 대리자는 관리자의 요청에 응답하여 관리 대상에 대하여 작업을 수행한 뒤에 그 결과를 관리자에게 보내게 된다. 대리자는 특정 사건이 발생하면, 이 사실을 자동으로 관리자에게 보고한다. Most of the network management for managing the Internet is based on the Simple Network Management Protocol (SNMP). SNMP is based on the manager-delegate structure, in which an administrator sends a management request to a delegate, who responds to the manager's request, performs a task on the managed object, and sends the result to the manager. The delegate automatically reports this to the manager when a specific event occurs.

SNMP에서는 관리자와 대리자 사이의 통신을 위한 프로토콜, 관리 대상에 대한 관리 정보를 정의하는 방법 등이 표준으로 규정되어 있다. In SNMP, protocols for communication between managers and delegates and methods for defining management information for management targets are defined as standards.

그러나, 이러한 SNMP를 기반으로 하는 네트워크 관리는 날로 증가하는 거대한 네트워크를 관리하는 데에 있어 확장성과 효율성에 한계를 가지고 있다.However, such SNMP-based network management has limitations in scalability and efficiency in managing the ever-growing huge network.

이러한 SNMP 기반의 네트워크 관리가 갖는 한계를 극복하기 위한 대안으로서 최근에는 XML을 기반으로 하는 네트워크 관리가 등장하였다. XML 기반의 네트워크 관리는 SNMP와 같이 관리자-대리자 구조를 기반으로 하고 있으며, XML 기반의 네트워크 관리에서는 관리 정보를 XML로 정의하고 관리자와 대리자 간의 관리 정보 교환을 위해 XML 문서 형식을 사용하며, 관리 정보의 처리를 위해서 XML 문서 처리를 위한 다양한 표준 기술들을 적용하여 보다 확장성 있는 관리 시스템 구조를 제시하고 있다. 이러한 XML 기반의 네트워크 관리는 아래와 같은 장점을 갖고 있다.Recently, XML-based network management has emerged as an alternative to overcome the limitations of SNMP-based network management. XML-based network management is based on manager-delegate structure like SNMP. In XML-based network management, management information is defined as XML, and XML document format is used for exchanging management information between manager and delegate. For the processing of XML, various standard technologies for XML document processing are applied to suggest a more scalable management system structure. XML-based network management has the following advantages.

첫째, XML 기반의 네트워크 관리에서 관리 정보의 정의를 위하여 사용하는 XML 스키마는 SNMP에서 관리 정보의 정의를 위해 사용되는 SMI에 비하여 데이터 타입 및 관리 정보의 구조에 있어서 보다 확장성 있는 모델링 기능을 제공한다.First, XML schema used for defining management information in XML-based network management provides more scalable modeling function in data type and structure of management information than SMI used for defining management information in SNMP. .

둘째, HTTP와 같이 널리 배포된 프로토콜을 사용함으로써 SNMP보다 효율적이고 신뢰할 수 있는 통신 방법을 제공한다.Second, using widely distributed protocols such as HTTP provides a more efficient and reliable communication method than SNMP.

셋째, 관리 시스템에서 요구되는 관리 정보의 분석, 저장, 표현 등과 같은 다양한 관리 절차들을 XSLT(eXtensible Stylesheet Language Transformation), XPath 또는 XQuery 그리고 XML 문서에 대한 최적화된 저장 방법을 제공하는 XML 전용 데이터베이스 등과 같은 XML 관련 기술을 이용하여 쉽게 개발할 수 있다.Third, various management procedures such as analysis, storage, and presentation of management information required by the management system can be applied to XML such as XSLT (eXtensible Stylesheet Language Transformation), XPath or XQuery, and an XML-only database that provides an optimized storage method for XML documents. It can be easily developed using the relevant technology.

넷째, SOAP(Simple Object Access Protocol)을 기반으로 한 WSDL(Web Services Description Language)과 UDDI(Universal Description Discovery and Integration) 시스템과의 통합을 통하여 네트워크 관리를 웹 서비스화 함으로써 보다 고차원적인 관리 오퍼레이션(operation)의 정의가 가능하다.Fourth, higher-level management operation by integrating Web Services Description Language (WSDL) based on Simple Object Access Protocol (SOAP) and Universal Description Discovery and Integration (UDDI) system into a web service. The definition of is possible.

그러나, 이러한 많은 장점에도 불구하고 현실적 XML 기반의 네트워크 관리를 적용하는 데는 한계가 있다. 기존에 배포된 수많은 네트워크 장비들이 SNMP 대리자를 장착하고 있고 현재 생산되는 대부분의 네트워크 장비들 또한 SNMP 대리자를 기본적으로 내장하고 있다는 점을 고려할 때, 이들 장비들을 XML 기반의 관리자로 관리하기 위해서는 기존의 모든 장비에 XML 기반의 대리자를 추가적으로 개발하여야 하는데, 이는 현실적으로 불가능하다.However, despite these many advantages, there are limitations in applying realistic XML-based network management. Given that many existing network devices are equipped with SNMP delegates, and most network devices that are produced now also have built-in SNMP delegates, it is necessary to manage all existing devices as XML-based administrators. You need to develop an additional XML-based delegate for your device, which is practically impossible.

본 발명의 목적은 이와 같은 종래 기술의 문제점을 해결하기 위한 것으로, 관리 정보의 정의에 대한 변환인 규격 변환 (Specification Translation)과 실제 관리 정보의 요청과 전달을 위한 상호 작용 변환 (Interaction Translation)을 제공하는 통합 네트워크 관리를 위한 XML/SNMP 게이트웨이에 관한 것이다.SUMMARY OF THE INVENTION An object of the present invention is to solve the problems of the prior art, and provides a specification translation, which is a transformation for defining management information, and an interaction translation for requesting and delivering actual management information. The present invention relates to an XML / SNMP gateway for integrated network management.

상기와 같은 목적을 달성하기 위하여 본 발명은, XML 관리부과 SNMP 대리자 사이에 설치되어 송수신되는 메시지를 변환시키는 게이트웨이에 있어서, 상기 SNMP 대리자가 관리하는 MIB에 포함된 각각 노드들을 테이블로 저장하며, 상기 테이블에 저장된 관리 정보의 구조와 동일한 구조를 갖는 XML 스키마를 형성하고, 상기 MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 형성시키는 XML 변환기와, 상기 XML 관리자로부터 수신된 XML 요청 메시지를 분석하여 접근하고자 하는 목적 노드를 추출하는 요청 처리 모듈과, 상기 XML 스키마와 XML 문서가 저장되어 있으며, 상기 목적 노드에 대응되는 OID 정보를 추출하는 XML 파서와, 상기 XML 파서에서 추출된 OID 정보에 대응되는 SNMP 대리자에게 SNMP 요청 메시지를 전송하고, 상기 SNMP 대리자로부터 SNMP 요청 메시지에 대한 SNMP 응답 메시지를 수신하여 상기 XML 파서에 송신하는 SNMP 스택을 포함하며, 상기 XML 파서는 상기 SNMP 응답 메시지를 토대로 상기 목적 노드에 MIB 정보를 입력하여 상기 XML 요청 메시지에 대한 XML 문서를 생성하고, 상기 생성된 XML 응답 메시지를 상기 요청 처리 모듈을 통해 상기 XML 관리자에 전송한다.In order to achieve the above object, the present invention, in the gateway for converting messages transmitted and received between the XML management unit and the SNMP delegate, storing the respective nodes included in the MIB managed by the SNMP delegate as a table, To form an XML schema having the same structure as that of the management information stored in the table, and to analyze and access an XML request message received from the XML manager and an XML converter for forming an XML document having the same structure as the MIB tree structure. A request processing module for extracting an object node; an XML parser for storing OID information corresponding to the object node; and an SNMP delegate corresponding to the OID information extracted from the XML parser. An SNMP request message to an SNMP request and an SNMP request message from the SNMP delegate. And an SNMP stack for receiving a response message and transmitting it to the XML parser, wherein the XML parser inputs MIB information to the destination node based on the SNMP response message to generate an XML document for the XML request message, and generates the XML message. The sent XML response message to the XML manager through the request processing module.

또한 본 발명은, SNMP 대리자에(로부터) 송(수)신되는 메시지를 변환시키는 게이트웨이에 있어서, 상기 SNMP 대리자가 관리하는 MIB에 포함된 각각 노드들을 테이블로 저장하며, 상기 테이블에 저장된 관리 정보의 구조와 동일한 구조를 갖는 XML 스키마를 형성하고, 상기 MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 형성시키는 XML 변환기와, 상기 XML 스키마와 XML 문서가 저장되어 있는 XML 파서와, 상기 XML 파서를 호출하여 XML 요청 메시지에 대응되는 목적 노드의 OID 정보를 검출하는 XML 관리자 및 상기 OID 정보에 대응되는 SNMP 대리자에게 SNMP 요청 메시지를 전송하고, 상기 SNMP 대리자로부터 SNMP 요청 메시지에 대한 SNMP 응답 메시지를 수신하여 상기 XML 파서에 송신하는 SNMP 스택과, 기 정의된 이벤트 발생에 따라 상기 SNMP 대리자에서 발생되는 트랩 메시지를 수신하고, 상기 수신된 트랩 메시지의 내용을 상기 XML 파서에 저장된 XML 문서에 반영시키는 트랩 처리 모듈이 일체형으로 구성되며, 상기 XML 파서를 통해 상기 SNMP 응답 메시지를 토대로 상기 목적 노드에 MIB 정보를 입력하여 상기 XML 요청 메시지에 대한 응답 메시지를 생성하고, 상기 생성된 XML 응답 메시지를 상기 XML 관리자에 전송한다.In addition, the present invention, in the gateway for converting messages sent to (received) to and from the SNMP delegate, each node included in the MIB managed by the SNMP delegate is stored in a table, the management information stored in the table An XML converter which forms an XML schema having the same structure as the structure, forms an XML document having the same structure as the MIB tree structure, an XML parser storing the XML schema and the XML document, and the XML parser Sends an SNMP request message to an XML manager that detects OID information of a target node corresponding to an XML request message and an SNMP delegate corresponding to the OID information, and receives an SNMP response message for an SNMP request message from the SNMP delegate. SNMP stacks that send to the parser and trap messages generated by the SNMP delegates according to predefined events A trap processing module configured to receive and reflect the contents of the received trap message in an XML document stored in the XML parser, and input MIB information to the destination node based on the SNMP response message through the XML parser. Generate a response message to the XML request message, and transmit the generated XML response message to the XML manager.

또한 본 발명은, HTTP 서버를 포함한 게이트웨이에 있어서, 관리자로부터 XML 문서의 조회 및 수정을 위한 표현식이 포함된 HTTP 요청 메시지에 대하여 이에 대한 응답 메시지를 전달하기 위하여, SNMP 대리자가 관리하는 MIB에 포함된 각각 노드들을 테이블로 저장하며, 상기 테이블에 저장된 관리 정보의 구조와 동일한 구조를 갖는 XML 스키마를 형성하고, 상기 MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 형성시키는 XML 변환기와, 상기 HTTP 서버를 통해 수신한 HTTP 요청 메시지에서 상기 표현식을 추출하는 요청 처리 모듈과, 상기 표현식을 토대로 목적 노드를 검색하는 표현식 처리 모듈과, 상기 XML 스키마와 XML 문서가 저장되어 있으며, 상기 목적 노드에 대응되는 OID 정보를 추출하는 XML 파서와, 상기 XML 파서에서 추출된 OID 정보에 대응되는 SNMP 대리자에게 SNMP 요청 메시지를 전송하고, 상기 SNMP 대리자로부터 SNMP 요청 메시지에 대한 SNMP 응답 메시지를 수신하여 상기 XML 파서에 송신하는 SNMP 스택과, 기 정의된 이벤트 발생에 따라 상기 SNMP 대리자에서 발생되는 트랩 메시지를 수신하고, 상기 수신된 트랩 메시지의 내용을 상기 XML 파서에 저장된 XML 문서에 반영시키는 트랩 처리 모듈과, 상기 트랩 메시지의 내용이 반영된 XML 문서를 수신하고, 상기 수신된 XML 문서를 상기 XML 파서로부터 수신하여 상기 XML 관리자에 송신하는 HTTP 클라이언트를 포함하며, 상기 XML 파서는 상기 SNMP 응답 메시지를 토대로 상기 목적 노드에 MIB 정보를 입력하여 상기 XML 요청 메시지에 대한 응답 메시지를 생성하고, 상기 생성된 XML 응답 메시지를 상기 요청 처리 모듈 및 HTTP 서버를 통해 상기 XML 관리자에 전송한다. In addition, the present invention, in the gateway including the HTTP server, in order to deliver a response message for the HTTP request message containing the expression for the query and modification of the XML document from the administrator, included in the MIB managed by the SNMP delegate An XML converter which stores nodes as a table, forms an XML schema having the same structure as that of the management information stored in the table, and forms an XML document having the same structure as the MIB tree structure, and the HTTP server. A request processing module for extracting the expression from the received HTTP request message, an expression processing module for searching for an object node based on the expression, the XML schema and an XML document, and storing OID information corresponding to the object node An XML parser to be extracted and an SNMP delegate corresponding to the OID information extracted from the XML parser. Receives an SNMP stack that transmits an SNMP request message, receives an SNMP response message for the SNMP request message from the SNMP delegate, and sends the SNMP stack, and a trap message generated by the SNMP delegate according to a predefined event occurrence. A trap processing module for reflecting the contents of the received trap message in an XML document stored in the XML parser, an XML document reflecting the contents of the trap message, and receiving the received XML document from the XML parser. And an HTTP client for transmitting to an XML manager, wherein the XML parser inputs MIB information to the destination node based on the SNMP response message to generate a response message for the XML request message, and sends the generated XML response message to the XML node. Send to the XML manager through the request processing module and HTTP server.

또한, 본 발명의 다른 목적을 달성하기 위하여 본 발명은, SOAP 서버를 포함한 게이트웨이에 있어서, XML 관리자로부터 XML 문서의 조회 및 수정을 위한 SOAP 요청 메시지에 대한 응답 메시지를 전달하기 위하여, SNMP 대리자가 관리하는 MIB에 포함된 각각 노드들을 테이블로 저장하며, 상기 테이블에 저장된 관리 정보의 구조와 동일한 구조를 갖는 XML 스키마를 형성하고, 상기 MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 형성시키는 XML 변환기와, 상기 XML 관리자로부터 수신한 SOAP 요청 메시지를 분석하여 목적 노드를 검색하고, 상기 SOAP 요청 메시지에 대한 XML 응답 메시지를 SOAP 응답 메시지로 패키징시키는 상기 SOAP 서버와, 상기 XML 스키마와 XML 문서가 저장되어 있으며 상기 목적 노드에 대응되는 OID 정보를 추출하고, 상기 SOAP 요청 메시지를 SNMP 요청 메시지로 변환시키는 XML 파서와, 상기 XML 파서에서 추출된 OID 정보에 대응되는 SNMP 대리자에게 상기 SNMP 요청 메시지를 전송하고, 상기 SNMP 대리자로부터 SNMP 요청 메시지에 대한 SNMP 응답 메시지를 수신하여 상기 XML 파서에 송신하는 SNMP 스택과, 기 정의된 이벤트 발생에 따라 상기 SNMP 대리자에서 발생되는 트랩 메시지를 수신하고, 상기 트랩 메시지를 내용을 상기 XML 파서에 저장된 XML 문서에 반영시키는 트랩 처리 모듈과, 상기 트랩 메시지의 내용이 반영된 XML 문서를 SOAP 트랩 메시지로 패키징시키는 SOAP 클라이언트와, 상기 SOAP 트랩 메시지를 상기 XML 관리자에 제공하는 HTTP 클라이언트를 포함하며, 상기 XML 파서를 통해 상기 SNMP 응답 메시지를 토대로 상기 목적 노드에 MIB 정보를 입력하여 XML 응답 메시지를 생성하되, 상기 생성된 XML 응답 메시지는 상기 SOAP 서버에 의해서 SOAP 응답 메시지로 패키징 된 후에 상기 HTTP 서버를 통해 상기 XML 관리자에 전송된다.In addition, in order to achieve another object of the present invention, the present invention, in a gateway including a SOAP server, is managed by an SNMP delegate to deliver a response message to the SOAP request message for the inquiry and modification of the XML document from the XML manager An XML converter for storing the nodes included in the MIB as a table, forming an XML schema having a structure identical to that of the management information stored in the table, and forming an XML document having the same structure as the MIB tree structure; The SOAP server for analyzing a SOAP request message received from the XML manager, searching for a destination node, and packaging an XML response message for the SOAP request message into a SOAP response message, and the XML schema and an XML document are stored. Extract the OID information corresponding to the target node and send the SOAP request message to the SNMP request message. Sending the SNMP request message to an XML parser for converting the text to an XML parser and an SNMP delegate corresponding to the OID information extracted from the XML parser, receiving an SNMP response message for the SNMP request message from the SNMP delegate, and transmitting the received SNMP response message to the XML parser. A trap processing module for receiving a trap message generated by the SNMP delegate according to an SNMP stack, a predefined event occurrence, and reflecting the trap message to an XML document stored in the XML parser; A SOAP client for packaging the reflected XML document into a SOAP trap message, and an HTTP client for providing the SOAP trap message to the XML manager, and inputs MIB information to the destination node based on the SNMP response message through the XML parser. Generate an XML response message, wherein the generated XML response message is It is packaged into a SOAP response message by a SOAP server and then sent to the XML manager via the HTTP server.

이하, 첨부된 도면을 참조하여 바람직한 실시 예에 대하여 상세히 설명한다.Hereinafter, exemplary embodiments will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 XML/SNMP 게이트웨이의 구조를 도시한 블록도이다고, 도 2는 본 발명에 따른 XML/SNMP 게이트웨이에서 XML 변환기의 내부 구조를 도시한 블록도이다.1 is a block diagram illustrating the structure of an XML / SNMP gateway according to the present invention. FIG. 2 is a block diagram showing the internal structure of an XML converter in an XML / SNMP gateway according to the present invention.

본 발명에 따른 XML 기반의 네트워크 관리 시스템은, 도 1에 도시된 바와 같이, XML 관리자(100), XML/SNMP 게이트웨이(200) 및 SNMP 관리자(300)를 포함하며, 이때 XML/SNMP 게이트웨이(200)는 XML 변환기(210), XML 파서(220), 요청 처리 모듈(230), SNMP 스택(240), 트랩 처리 모듈(250), 트랩 보고 모듈(260)을 포함한다. As shown in FIG. 1, the XML-based network management system according to the present invention includes an XML manager 100, an XML / SNMP gateway 200, and an SNMP manager 300, wherein the XML / SNMP gateway 200 ) Includes an XML translator 210, an XML parser 220, a request processing module 230, an SNMP stack 240, a trap processing module 250, and a trap reporting module 260.

XML 변환기(210)는 XML/SNMP 게이트웨이(200)에서 SNMP에 의거하여 정의된 MIB(Management Information Base) 관리 정보를 XML 규격으로 변환하는 수단으로써, SNMP에서 정의한 MIB 관리 정보의 손실 및 변형 없이 XML 기반의 네트워크 관리에서 이행할 수 있도록 XML 스키마와 XML 문서로 변환시킨다. 이때 XML 변환기(210)는 SMI(Structure of Management Information)를 이용하여 정의된 MIB 정의 문서의 각 구문을 분석하고 MIB 관리 정보에 포함된 각각 노드들을 테이블로 저장하며, 이에 대응되는 XML 엘리먼트(element)를 생성시켜 XML 파서(220)에 제공한다.The XML converter 210 is a means for converting management information base (MIB) management information defined based on SNMP in the XML / SNMP gateway 200 into an XML standard, and is based on XML without losing or modifying MIB management information defined in SNMP. To XML schemas and XML documents for implementation in network management. In this case, the XML converter 210 analyzes each syntax of the MIB definition document defined using the Structure of Management Information (SMI), stores each node included in the MIB management information as a table, and corresponds to an XML element. To generate and provide it to the XML parser 220.

XML 변환기(210)에서 생성된 XML 스키마는 테이블에 저장된 관리 정보의 구조와 동일한 구조를 갖고, XML 문서는 MIB의 트리 구조와 동일한 구조를 갖는다.The XML schema generated by the XML converter 210 has the same structure as that of the management information stored in the table, and the XML document has the same structure as the tree structure of the MIB.

XML 변환기(210)는 기본적으로 MIB의 트리 구조를 그대로 보존하며, 각 SNMP MIB 모듈별로 XML 스키마 문서를 생성한다. 우선 MIB 모듈의 이름을 XML 문서의 최상위 노드로 하는 XML 스키마 문서를 생성하고, MIB의 각 노드에 대응하여 XML 엘리먼트를 생성한다. 이때 각 XML 엘리먼트의 이름은 각 노드의 이름이 되고, MIB 노드의 내부 절은 XML 엘리먼트가 가지는 속성으로 변환된다. 데이터 타입의 변환에 있어서도 SMI의 기본 데이터 타입은 XML 스키마가 제공하는 기본 데이터 타입과 이에 대한 확장 정의를 통하여 변환된다. 데이터 타입 중에서 열거형, 문자열 길이 지정형 및 데이터 범위 지정형과 같은 다양한 사용자 정의형 데이터 타입은 XML 스키마에서 제공하는 데이터 타입의 확장 및 제한 구문을 사용하여 변환된다.The XML converter 210 basically preserves the tree structure of the MIB and generates an XML schema document for each SNMP MIB module. First, an XML schema document having a name of the MIB module as the top node of the XML document is generated, and an XML element is generated corresponding to each node of the MIB. At this time, the name of each XML element becomes the name of each node, and the inner clause of the MIB node is converted into an attribute of the XML element. Even in the conversion of data types, SMI's basic data types are converted through basic data types provided by XML schema and extension definitions. Among the data types, various user-defined data types, such as enumeration, string length specification, and data range specification, are converted using the extension and restriction syntax of the data types provided by XML Schema.

이러한 XML 변환기(210)는, 도 2에 도시된 바와 같이, SMI 구문 분석기(211), 노드 테이블 생성기(212), XML 스키마 생성기(213) 및 XML 문서 생성기(214)를 포함한다.This XML translator 210 includes an SMI parser 211, a node table generator 212, an XML schema generator 213, and an XML document generator 214, as shown in FIG. 2.

SMI 구문 분석기(211)는 입력받은 SNMP MIB을 일련의 토큰으로 분리한 후 이를 분석하여 SMI의 구문에 맞는지의 여부를 검사하고, 검사 결과 구문에 맞지 않은 표현이 존재하는 경우 에러를 발생시키고 구문에 맞지 않은 부분을 알려준다.The SMI parser 211 separates the received SNMP MIB into a series of tokens and analyzes the received SNMP MIBs to determine whether they conform to the syntax of the SMI, generates an error if there is an expression that does not match the syntax, and generates an error. It tells you what is wrong.

노드 테이블 생성기(212)는 구문 분석된 토큰에서 각각의 노드를 자바 클래스로 변환하고 노드 클래스를 테이블 형태로 저장하며, 저장된 테이블에서 노드간의 상관관계를 분석하여 이들 관계에 오류가 존재하는지를 확인한다.The node table generator 212 converts each node into a Java class in the parsed token, stores the node class in a table form, and analyzes correlations between the nodes in the stored table to determine whether there are errors in these relationships.

XML 스키마 생성기(213)는 노드 테이블에 저장된 관리 정보의 구조를 이용하여 XML 스키마를 생성시킨다. 이때 XML 스키마는 XML 문서 생성기(214)에서 생성된 XML 문서에 포함된 관리 정보를 검증하는 용도로 사용된다.The XML schema generator 213 generates an XML schema using the structure of management information stored in the node table. In this case, the XML schema is used to verify management information included in the XML document generated by the XML document generator 214.

XML 문서 생성기(214)는 노드 테이블에 저장된 관리 정보를 이용하여 SNMP 트리 구조와 동일한 구조의 XML 문서를 생성한다. 이때 생성된 XML 문서에는 SNMP MIB 구조와 SNMP 대리자(300)를 통한 관리 정보의 요청을 위해 필요한 기본적인 정보가 저장되어 있다. XML/SNMP 게이트웨이는 XML 문서 생성기(214)에서 생성된 XML 문서를 기반으로 하여 XML 파서(220)를 이용하여 해당되는 관리 정보에 대한 요청을 수행한다.The XML document generator 214 generates an XML document having the same structure as the SNMP tree structure using management information stored in the node table. In this case, the generated XML document stores basic information necessary for requesting management information through the SNMP MIB structure and the SNMP delegate 300. The XML / SNMP gateway performs a request for corresponding management information by using the XML parser 220 based on the XML document generated by the XML document generator 214.

요청 처리 모듈(230)은 XML 관리자(100)로부터 전송된 XML 요청 메시지를 수신하여 분석하고, 적절한 XML 파서의 함수를 호출하여 XML 요청 메시지에 명시된 목적 노드에 접근한다.The request processing module 230 receives and analyzes an XML request message sent from the XML manager 100, and calls a function of an appropriate XML parser to access the destination node specified in the XML request message.

XML 파서(220)는 XML 변환기(210)로부터 제공된 XML 문서와 요청 처리 모듈(230)로부터 제공된 XML 요청 메시지를 근거로 목적 노드에 대한 다양한 방식의 접근, 조작을 가능하게 해주는 수단으로써, 특히 XML 문서에서 목적 노드의 OID(Object IDentification) 등과 같이 SNMP 요청 메시지를 위해 필요한 정보를 추출하여 SNMP 스택(240)에 제공하고, SNMP 스택(240)으로부터 제공받은 SNMP 응답 메시지와 트랩 처리 모듈(250)로부터 제공받은 트랩 메시지를 이용하여 목적 노드에 임의의 값을 입력시켜 XML 요청 메시지에 대한 XML 응답 메시지를 생성하고, 생성된 XML 응답 메시지를 요청 처리 모듈(230) 또는 트랩 보고 모듈(260)을 통해 XML 관리자(100)에게 제공한다.The XML parser 220 is a means for enabling various methods of access and manipulation of the destination node based on the XML document provided from the XML converter 210 and the XML request message provided from the request processing module 230, in particular, an XML document. Extracts the information required for the SNMP request message, such as the object IDentification (OID) of the target node, and provides it to the SNMP stack 240, and from the SNMP response message and trap processing module 250 provided from the SNMP stack 240 Generates an XML response message for the XML request message by inputting an arbitrary value to the destination node using the received trap message, and sends the generated XML response message to the XML manager through the request processing module 230 or the trap reporting module 260. Give 100.

SNMP 스택(240)은 SNMP 대리자(300)와 통신을 수행하는 수단으로써, XML 파서(220)로부터 전달받은 OID 정보에 대응되는 네트워크 관리 장비의 SNMP 대리자(300)에게 SNMP 요청 메시지를 전송한다.The SNMP stack 240 transmits an SNMP request message to the SNMP delegate 300 of the network management device corresponding to the OID information received from the XML parser 220 as a means for communicating with the SNMP delegate 300.

트랩 처리 모듈(250)은 SNMP 대리자(300)로부터 전송된 트랩 메시지를 수신하며, 트랩 메시지에 포함된 정보는 XML 파서(220)에 의해서 XML 문서상에 입력된다. 이러한 과정을 통해 트랩 메시지가 포함된 XML 문서는 XML 파서(220)에 의해서 트랩 보고 모듈(260)에 제공된다.The trap processing module 250 receives a trap message transmitted from the SNMP delegate 300, and the information included in the trap message is input on the XML document by the XML parser 220. Through this process, the XML document including the trap message is provided to the trap report module 260 by the XML parser 220.

트랩 보고 모듈(260)은 XML 관리자(100)와 통신하는 수단으로써, XML 문서화된 트랩 메시지를 XML 관리자(100)에게 제공한다.The trap reporting module 260 is a means of communicating with the XML manager 100 to provide an XML documented trap message to the XML manager 100.

상기와 같은 구성을 갖는 SNMP/XML 게이트웨이에서 이용되는 통신 모델은 요청/응답 모델과 통지 모델을 들 수 있다.The communication model used in the SNMP / XML gateway having the above configuration includes a request / response model and a notification model.

요청/응답 모델은 일반적인 관리 구조에서 사용되는 방법으로, 관리자가 대리자에게 필요한 정보를 요청하는 메시지를 보내면, 대리자가 이에 대한 응답 메시지를 관리자에게 보내는 방식이다.The request / response model is used in a general management structure. When a manager sends a message requesting information required by a delegate, the delegate sends a response message to the manager.

먼저, XML 관리자(100)는 관리자의 요청에 따라 XML 형식을 갖는 요청 메시지를 생성하여 요청 처리 모듈(230)에 전송하며, 요청 처리 모듈(230)은 XML 대리자(100)로부터 수신된 요청 메시지를 분석하고, 분석 결과를 XML 파서(220)에 제공한다.First, the XML manager 100 generates a request message having an XML format and transmits the request message to the request processing module 230 according to the manager's request, and the request processing module 230 sends the request message received from the XML delegate 100. The analysis results are provided to the XML parser 220.

XML 파서(220)는 요청 메시지에서 해당 노드를 조회하여 OID 등과 같이 SNMP 요청에 필요한 정보를 추출하여 SNMP 스택(240)에 제공한다.The XML parser 220 inquires the corresponding node in the request message, extracts information required for the SNMP request, such as an OID, and provides the extracted information to the SNMP stack 240.

SNMP 스택(240)은 SNMP 대리자(300)에게 SNMP 요청 메시지를 보내고, SNMP 대리자(300)로부터 응답 메시지를 수신하여 XML 파서(220)에 제공한다.The SNMP stack 240 sends an SNMP request message to the SNMP delegate 300, receives a response message from the SNMP delegate 300, and provides the response message to the XML parser 220.

XML 파서(220)는 응답 메시지를 이용하여 해당되는 노드에 새로운 MIB 정보를 입력하고, 새로운 MIB 정보를 요청 처리 모듈(230)에 제공한다.The XML parser 220 inputs new MIB information to the corresponding node using the response message and provides the new MIB information to the request processing module 230.

요청 처리 모듈(230)은 XML 문서화된 MIB 정보를 XML 대리자(100)에게 전송한다.The request processing module 230 transmits the XML documented MIB information to the XML delegate 100.

통지 모델은 기 정의된 특정한 이벤트 발생시에 SNMP 대리자(300)들로부터 발생된 트랩 메시지를 관리자에게 통지하는 형태의 모델로써, 그 동작 과정은 아래와 같다.The notification model is a model of notifying a manager of a trap message generated from the SNMP delegates 300 when a specific event occurs, which is described below.

SNMP 대리자(300)는 기 정의된 이벤트가 발생될 때 생성되는 트랩 메시지를 SNMP 트랩을 이용하여 트랩 처리 모듈(250)에 제공한다.The SNMP delegate 300 provides a trap message generated when a predefined event occurs to the trap processing module 250 using the SNMP trap.

트랩 처리 모듈(250)은 수신된 트랩 메시지를 분석하고, 분석된 내용으로 XML 문서상의 트랩에 해당되는 부분을 채운다. 이렇게 XML 문서화된 트랩 메시지는 SNMP/XML 게이트웨이(200)의 트랩 보고 모듈(260)에 의해서 XML 관리자(100)에게 제공된다.The trap processing module 250 analyzes the received trap message and fills the portion corresponding to the trap on the XML document with the analyzed content. The XML documented trap message is provided to the XML manager 100 by the trap report module 260 of the SNMP / XML gateway 200.

다음으로, XML/ SNMP 게이트웨이(200)를 이용한 XML 관리자(100)와 SNMP 대리자(300) 사이에서 교환되는 데이터의 표현과 전달 방법을 설명한다. 본 발명이 제안하는 XML/SNMP 게이트웨이(200)에서는 게이트웨이(200)와 SNMP 대리자(300) 간의 통신 방법은 SNMP를 사용하고, 게이트웨이(200)와 XML 관리자(100)에서는 유연하고 확장성 있는 연동을 제공하기 위하여 XML을 사용한다. Next, a method of expressing and transferring data exchanged between the XML manager 100 and the SNMP delegate 300 using the XML / SNMP gateway 200 will be described. In the XML / SNMP gateway 200 proposed by the present invention, a communication method between the gateway 200 and the SNMP delegate 300 uses SNMP, and the gateway 200 and the XML manager 100 provide flexible and scalable interworking. Use XML to provide

이하, 도 3, 4, 및 도 5를 참조하여 본 발명이 제안하는 XML/SNMP 게이트웨이의 상호 작용 변환 과정을 설명한다. 도 3은 본 발명에 일실시 예에 따른 XML 파서 기반의 상호 작용 변환 과정을 설명하기 위한 블록도이다. 3, 4, and 5, the interaction conversion process of the XML / SNMP gateway proposed by the present invention will be described. 3 is a block diagram illustrating an XML transformation-based interaction transformation process according to an embodiment of the present invention.

XML 파서 기반의 상호 변환에서는 XML/SNMP 게이트웨이(200)가 XML 관리자(100)와 동일한 시스템에 통합되어 있는 내부 게이트웨이이기 때문에, XML/SNMP 게이트웨이(200)에는 XML 관리자(100)와 XML/SNMP 게이트웨이(200)간의 메시지를 분석하고 처리하기 위한 요청 처리 모듈(230)이 불필요하면, XML 관리자(100)가 XML 파서(220)를 직접 호출하여 네트워크 관리 정보에 접근 및 조작한다.In the XML parser-based interconversion, the XML / SNMP gateway 200 is an internal gateway integrated in the same system as the XML manager 100. Therefore, the XML / SNMP gateway 200 includes an XML manager 100 and an XML / SNMP gateway. If the request processing module 230 for analyzing and processing messages between the 200 is unnecessary, the XML manager 100 directly calls the XML parser 220 to access and manipulate network management information.

이를 위하여 도 3을 참조하면, XML 관리자(100)는 XML 파서(220)를 호출하고, 호출된 XML 파서(220)는 트리 구조를 갖는 XML 문서상의 여러 노드 중에서 목적 노드(1)에 대한 OID를 검출하여 SNMP 스택(240)에 제공한다. SNMP 스택(240)은 수신한 OID 정보에 대응되는 SNMP 대리자(300)에 SNMP 요청 메시지를 전달한 후에 이러한 요청에 따라 SNMP 대리자(300)로부터 SNMP 응답 메시지를 수신하여 XML 파서(220)에 전달한다.For this purpose, referring to FIG. 3, the XML manager 100 calls the XML parser 220, and the called XML parser 220 obtains an OID for the destination node 1 among various nodes in the XML document having a tree structure. The detection is provided to the SNMP stack 240. After the SNMP stack 240 transmits an SNMP request message to the SNMP delegate 300 corresponding to the received OID information, the SNMP stack 240 receives an SNMP response message from the SNMP delegate 300 according to the request and delivers the SNMP response message to the XML parser 220.

이후, XML 파서(220)는 SNMP 응답 메시지의 내용을 XML 문서상의 목적 노드(1)에 반영하고, XML 관리자(100)로부터 호출된 XML 파서 함수에 대한 결과 값으로 목적 노드에 포함된 XML 문서(3)를 요청 처리 모듈(230)을 거쳐 XML 관리자(100)에 전송한다.Thereafter, the XML parser 220 reflects the contents of the SNMP response message to the destination node 1 on the XML document, and the XML document included in the destination node as a result value for the XML parser function called from the XML manager 100. 3) is transmitted to the XML manager 100 via the request processing module 230.

또한, 트랩 처리 모듈(250)은 기 설정된 이벤트의 발생에 따라 SNMP 대리자(300)에서 발생된 트랩 메시지를 수신하고, 수신된 트랩 메시지에 포함된 트랩 정보를 해당되는 XML 문서상에 입력한다. XML 문서에 트랩 정보를 입력함에 따라 DOM에서 제공하는 이벤트 인터페이스에 의하여 기 정의된 이벤트 핸들러가 구동되며, 이에 따라 XML/SNMP 게이트웨이(200)는 XML 문서화된 트랩 메시지를 트랩 보고 모듈(260)을 통해 XML 관리자(100)에 전달한다.In addition, the trap processing module 250 receives a trap message generated by the SNMP delegate 300 according to the occurrence of a preset event, and inputs trap information included in the received trap message on a corresponding XML document. As the trap information is input into the XML document, an event handler predefined by the event interface provided by the DOM is driven. Accordingly, the XML / SNMP gateway 200 transmits the XML documented trap message through the trap report module 260. Deliver to XML manager 100.

HTTP 기반의 상호 작용 변환 과정은 도 4를 참조하여 설명한다. 도 4는 본 발명의 다른 실시 예에 따른 HTTP 기반의 상호 작용 변환 절차를 설명하기 위한 블록 도이다.HTTP-based interaction transformation process will be described with reference to FIG. 4 is a block diagram illustrating an HTTP-based interaction transformation procedure according to another embodiment of the present invention.

HTTP 기반의 상호 작용 변환 과정에서는 HTTP 요청 메시지를 생성함에 있어 XML 문서의 조회, 수정을 위한 강력한 기능을 제공하는 XPath, XQuery 및 XUpdate 표현식을 적용하기 때문에 이러한 표현식들을 분석하기 위한 표현식 처리 모듈(274)과 HTTP 기반의 트랩 메시지를 XML 관리자(100)로 전송하기 위한 HTTP 클라이언트(272)가 필요하다.The HTTP-based interaction transformation applies XPath, XQuery, and XUpdate expressions, which provide powerful capabilities for querying and modifying XML documents in generating HTTP request messages. And an HTTP client 272 for transmitting the HTTP-based trap message to the XML manager 100.

이를 위하여 도 4를 참조하면, XML 관리자(100)에서 발생된 URI에 XPath/XUpdate 표현식을 갖는 HTTP 요청 메시지는 HTTP 서버(270)를 통해 요청 처리 모듈(230)에 전달되며, 요청 처리 모듈(230)은 이를 분석하여 XML 요청 메시지에 포함된 각 표현식을 표현식 처리 모듈(274)로 전달한다. 표현식 처리 모듈(274)에서는 각 표현식을 분석하고, XML파서 함수를 사용하여 목적 노드(1)를 검색한다. 이후 위에서 설명한 바와 같이 XML 파서 기반의 상호 변환 과정과 동일한 과정을 거쳐 SNMP 스택(240)을 통해 SNMP 대리자(300)에게 SNMP 요청 메시지를 제공하고, 이에 대한 결과값은 요청 처리 모듈(230)을 통해 XML 관리자(100)에 제공된다.For this purpose, referring to FIG. 4, an HTTP request message having an XPath / XUpdate expression in a URI generated by the XML manager 100 is delivered to the request processing module 230 through the HTTP server 270, and the request processing module 230. ) Parses it and passes each expression included in the XML request message to the expression processing module 274. The expression processing module 274 analyzes each expression and retrieves the destination node 1 using an XML parser function. Thereafter, as described above, an SNMP request message is provided to the SNMP delegate 300 through the SNMP stack 240 through the same process as the XML parser-based interconversion process, and the result value thereof is transmitted through the request processing module 230. Provided to the XML manager 100.

트랩 메시지를 처리하는 과정에서 XML/SNMP 게이트웨이(200)는 XML 파서 기반의 변환 방법에서 사용되는 방법과 동일한 형태로 DOM 이벤트 핸들러를 사용하여 처리되며 HTTP 클라이언트(272)를 통하여 HTTP 기반의 비동기적인 트랩 메시지 전달을 수행한다. In processing the trap message, the XML / SNMP gateway 200 is processed using the DOM event handler in the same manner as that used in the XML parser-based conversion method, and HTTP-based asynchronous trap through the HTTP client 272. Perform message delivery.

SOAP 기반의 상호 작용 변화 과정은 도 5를 참조하여 설명한다. 도 5는 본 발명에 또 다른 실시 예에 따른 SOAP 기반의 상호 적용 변환 절차를 설명하기 위한 블록도이다.The SOAP-based interaction change process will be described with reference to FIG. 5. FIG. 5 is a block diagram illustrating a SOAP-based interapplication conversion procedure according to another embodiment of the present invention. FIG.

SOAP는 분산 환경에서 구조화된 정보를 전달하기 위해 개발된 프로토콜로서, 인터넷상에서 제공되는 다양한 서비스들에 대하여 구현 언어 및 플랫폼에 독립적인 XML 기반의 접근 방법을 제공하는 프로토콜이고, 분산 환경에서의 이종 서버, 서비스, 어플리케이션 및 객체 등에 대한 통합을 위하여 제시된 웹 서비스를 위한 통신 프로토콜이다.SOAP is a protocol developed to deliver structured information in a distributed environment. It is a protocol that provides an XML-based approach independent of implementation language and platform for various services provided on the Internet. Heterogeneous server in a distributed environment Is a communication protocol for Web services proposed for the integration of services, applications, objects, etc.

이러한 SOAP 기반에서 XML 관리자(100)와 SOAP 메시지를 송수신하는 XML/SNMP 게이트웨이(200)와 XML 관리자(100)에는 SOAP 메시지를 송수신하고 SOAP으로 패키징할 수 있는 인터페이스인 HTTP 서버/클라이언트 및 SOAP 클라이언트/서버를 제공한다.An XML server / client and a SOAP client / which are interfaces for transmitting and receiving SOAP messages and packaging them with SOAP are provided in the XML / SNMP gateway 200 and the XML manager 100 that transmit and receive SOAP messages with the XML manager 100 based on the SOAP. Provide a server.

도 5에 도시된 바와 같이, SOAP 기반의 상호 적용 변환을 위하여 XML 관리자(100)와 XML/SNMP 게이트웨이(200)에는 각각 SOAP 엔진인 SOAP 클라이언트(110, 292), SOAP 서버(112, 290), HTTP 서버(122, 280) 및 HTTP 클라이언트(120, 282)가 설치되어 있으며, 이를 이용하여 XML/SNMP 게이트웨이(200)는 SOAP 기반의 통신 방법을 제공한다. As shown in FIG. 5, the XML manager 100 and the XML / SNMP gateway 200 each have SOAP engines 110, 292, SOAP servers 112, 290, and the like. HTTP servers 122 and 280 and HTTP clients 120 and 282 are installed, and using this, the XML / SNMP gateway 200 provides a SOAP-based communication method.

먼저, XML 관리자(100) 내부의 관리 응용 프로그램(105)에서 생성된 XML 요청 메시지는 XML 관리자(100)의 SOAP 클라이언트(110)에서 SOAP 요청 메시지로 패키징되어 HTTP 클라이언트(120)를 통해 XML/SNMP 게이트웨이(200)의 HTTP 서버(280)로 전달되고, HTTP 서버(280)는 이를 SOAP 서버(290)에 전달한다.First, the XML request message generated by the management application 105 inside the XML manager 100 is packaged as a SOAP request message in the SOAP client 110 of the XML manager 100 and then XML / SNMP through the HTTP client 120. It is delivered to the HTTP server 280 of the gateway 200, and the HTTP server 280 delivers it to the SOAP server 290.

SOAP 서버(290)에서는 SOAP 요청 메시지에 포함된 내용을 분석하여 이에 대응되는 서비스를 호출한다. 호출되는 서비스로는 "getrequest"또는 "setrequest"가 있다. 이러한 서비스 호출 이후에의 처리 과정은 HTTP 기반의 변환 방법에서 사용되는 방법과 동일하며, SOAP 요청 메시지에 포함된 인자를 분석하여 XML 파서(220) 및 SNMP 스택(240)을 거쳐 SNMP 요청 메시지를 SNMP 대리자(300)에 제공한다. 서비스 호출 결과 값은 SOAP 서버(290)에서 SOAP 응답 메시지로 패키징되어 HTTP 서버(280)를 통해 XML 관리자(100)에 전송된다. The SOAP server 290 analyzes the contents included in the SOAP request message and calls a service corresponding thereto. The service to be called is "getrequest" or "setrequest". The processing after the service call is the same as that used in the HTTP-based conversion method, and the SNMP request message is analyzed through the XML parser 220 and the SNMP stack 240 by analyzing the factors included in the SOAP request message. Provide to the delegate 300. The service call result value is packaged as a SOAP response message at the SOAP server 290 and sent to the XML manager 100 via the HTTP server 280.

또한, XML/SNMP 게이트웨이(200)는 SNMP 대리자(300)에서 기 설정된 이벤트에 따라 발생되는 트랩 메시지에 대한 XML화된 트랩 메시지를 SOAP 클라이언트(292)를 이용하여 SAOP 트랩 메시지로 패키징한 후에 XML 관리자(100)의 SOAP 서버(112)에 전송한다.Also, the XML / SNMP gateway 200 may package an XML trapped trap message for a trap message generated according to a predetermined event in the SNMP delegate 300 into a SAOP trap message by using the SOAP client 292, and then use an XML manager ( 100 to SOAP server 112).

이상 설명한 바와 같이, 본 발명에서는 XML/SNMP 게이트웨이를 위하여 SMI 형식의 MIB 정보를 손실없이 XML 기반의 네트워크 관리에서 이해할 수 있는 XML 스키마로 변환시킴으로써, SNMP 대리자의 변경 없이 XML 기반의 네트워크 관리 시스템과 SNMP 대리자간의 유연성을 제공할 수 있다.As described above, in the present invention, by converting MIB information in SMI format into XML schema that can be understood in XML-based network management without loss for XML / SNMP gateway, XML-based network management system and SNMP without modification of SNMP delegate It can provide flexibility between agents.

도 1은 본 발명에 따른 XML/SNMP 게이트웨이의 구조를 도시한 블록도이고, 1 is a block diagram showing the structure of an XML / SNMP gateway according to the present invention;

도 2는 본 발명에 따른 XML/SNMP 게이트웨이에서 XML 변환기의 내부 구조를 도시한 블록도이고,2 is a block diagram illustrating an internal structure of an XML converter in an XML / SNMP gateway according to the present invention;

도 3은 본 발명의 일실시 예에 따른 XML 파서 기반의 상호 작용 변환 과정을 설명하기 위한 블록도이고,3 is a block diagram illustrating an XML transformation-based interaction transformation process according to an embodiment of the present invention.

도 4는 본 발명의 다른 실시 예에 따른 HTTP 기반의 상호 작용 변환 절차를 설명하기 위한 블록 도이고,4 is a block diagram illustrating an HTTP-based interaction transformation procedure according to another embodiment of the present invention.

도 5는 본 발명에 또 다른 실시 예에 따른 SOAP 기반의 상호 적용 변환 절차를 설명하기 위한 블록도이다.FIG. 5 is a block diagram illustrating a SOAP-based interapplication conversion procedure according to another embodiment of the present invention. FIG.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

100 : XML 관리자 200 : XML/SNMP 게이트웨이100: XML Manager 200: XML / SNMP Gateway

210 : XML 변환기 220 : XML 파서210: XML Converter 220: XML Parser

230 : 요청 처리 모듈 240 : SNMP 스택 230: request processing module 240: SNMP stack

250 : 트랩 처리 모듈 260 : 트랩 보고 모듈250: trap processing module 260: trap reporting module

300 : SNMP 관리자300: SNMP manager

Claims (5)

XML 관리부과 SNMP 대리자 사이에 설치되어 송수신되는 메시지를 변환시키는 게이트웨이에 있어서,In the gateway for converting messages sent and received between the XML management unit and the SNMP delegate, 상기 SNMP 대리자가 관리하는 MIB에 포함된 각각 노드들을 테이블로 저장하며, 상기 테이블에 저장된 관리 정보의 구조와 동일한 구조를 갖는 XML 스키마를 형성하고, 상기 MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 형성시키는 XML 변환기와,Each node included in the MIB managed by the SNMP delegate is stored in a table, an XML schema having the same structure as that of the management information stored in the table is formed, and an XML document having the same structure as the MIB tree structure is formed. An XML converter, 상기 XML 관리자로부터 수신된 XML 요청 메시지를 분석하여 접근하고자 하는 목적 노드를 추출하는 요청 처리 모듈과,A request processing module for extracting an object node to be accessed by analyzing the XML request message received from the XML manager; 상기 XML 스키마와 XML 문서가 저장되어 있으며, 상기 목적 노드에 대응되는 OID 정보를 추출하는 XML 파서와,An XML parser for storing the XML schema and the XML document and extracting OID information corresponding to the destination node; 상기 XML 파서에서 추출된 OID 정보에 대응되는 SNMP 대리자에게 SNMP 요청 메시지를 전송하고, 상기 SNMP 대리자로부터 SNMP 요청 메시지에 대한 SNMP 응답 메시지를 수신하여 상기 XML 파서에 송신하는 SNMP 스택을 포함하며,A SNMP stack for transmitting an SNMP request message to an SNMP delegate corresponding to the OID information extracted from the XML parser, receiving an SNMP response message for the SNMP request message from the SNMP delegate, and transmitting the received SNMP response message to the XML parser; 상기 XML 파서는 상기 SNMP 응답 메시지를 토대로 상기 목적 노드에 MIB 정보를 입력하여 상기 XML 요청 메시지에 대한 XML 문서를 생성하고, 상기 생성된 XML 응답 메시지를 상기 요청 처리 모듈을 통해 상기 XML 관리자에 전송하는 XML/SNMP 게이트웨이.The XML parser generates an XML document for the XML request message by inputting MIB information to the destination node based on the SNMP response message, and transmits the generated XML response message to the XML manager through the request processing module. XML / SNMP Gateway. SNMP 대리자에(로부터) 송(수)신되는 메시지를 변환시키는 게이트웨이에 있어서,In a gateway that translates messages sent to and received from an SNMP delegate, 상기 SNMP 대리자가 관리하는 MIB에 포함된 각각 노드들을 테이블로 저장하며, 상기 테이블에 저장된 관리 정보의 구조와 동일한 구조를 갖는 XML 스키마를 형성하고, 상기 MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 형성시키는 XML 변환기와,Each node included in the MIB managed by the SNMP delegate is stored in a table, an XML schema having the same structure as that of the management information stored in the table is formed, and an XML document having the same structure as the MIB tree structure is formed. An XML converter, 상기 XML 스키마와 XML 문서가 저장되어 있는 XML 파서와,An XML parser storing the XML schema and the XML document, 상기 XML 파서를 호출하여 XML 요청 메시지에 대응되는 목적 노드의 OID 정보를 검출하는 XML 관리자와,An XML manager which calls the XML parser and detects OID information of a destination node corresponding to an XML request message; 상기 OID 정보에 대응되는 SNMP 대리자에게 SNMP 요청 메시지를 전송하고, 상기 SNMP 대리자로부터 SNMP 요청 메시지에 대한 SNMP 응답 메시지를 수신하여 상기 XML 파서에 송신하는 SNMP 스택 및An SNMP stack for transmitting an SNMP request message to an SNMP delegate corresponding to the OID information, receiving an SNMP response message for an SNMP request message from the SNMP delegate, and transmitting the received SNMP response message to the XML parser; 기 정의된 이벤트 발생에 따라 상기 SNMP 대리자에서 발생되는 트랩 메시지를 수신하고, 상기 수신된 트랩 메시지의 내용을 상기 XML 파서에 저장된 XML 문서에 반영시키는 트랩 처리 모듈이 일체형으로 구성되며, Receives a trap message generated in the SNMP delegate in accordance with a predefined event generation, and a trap processing module for reflecting the contents of the received trap message in the XML document stored in the XML parser, 상기 XML 파서를 통해 상기 SNMP 응답 메시지를 토대로 상기 목적 노드에 MIB 정보를 입력하여 상기 XML 요청 메시지에 대한 응답 메시지를 생성하고, 상기 생성된 XML 응답 메시지를 상기 XML 관리자에 전송하는 네트워크 통합 관리를 위한 XML/SNMP 게이트웨이.For inputting MIB information to the destination node based on the SNMP response message through the XML parser, a response message for the XML request message is generated, and for the network integrated management for transmitting the generated XML response message to the XML manager. XML / SNMP Gateway. HTTP 서버를 포함한 게이트웨이에 있어서, 관리자로부터 XML 문서의 조회 및 수정을 위한 표현식이 포함된 HTTP 요청 메시지에 대하여 이에 대한 응답 메시지를 전달하기 위하여, In a gateway including an HTTP server, in order to deliver a response message for an HTTP request message including an expression for querying and modifying an XML document from an administrator, SNMP 대리자가 관리하는 MIB에 포함된 각각 노드들을 테이블로 저장하며, 상기 테이블에 저장된 관리 정보의 구조와 동일한 구조를 갖는 XML 스키마를 형성하고, 상기 MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 형성시키는 XML 변환기와,Each node included in the MIB managed by the SNMP delegate is stored in a table, and an XML schema having the same structure as that of the management information stored in the table is formed, and an XML document having the same structure as the MIB tree structure is formed. With an XML converter, 상기 HTTP 서버를 통해 수신한 HTTP 요청 메시지에서 상기 표현식을 추출하는 요청 처리 모듈과,A request processing module for extracting the expression from an HTTP request message received through the HTTP server; 상기 표현식을 토대로 목적 노드를 검색하는 표현식 처리 모듈과,An expression processing module for searching for a destination node based on the expression; 상기 XML 스키마와 XML 문서가 저장되어 있으며, 상기 목적 노드에 대응되는 OID 정보를 추출하는 XML 파서와,An XML parser for storing the XML schema and the XML document and extracting OID information corresponding to the destination node; 상기 XML 파서에서 추출된 OID 정보에 대응되는 SNMP 대리자에게 SNMP 요청 메시지를 전송하고, 상기 SNMP 대리자로부터 SNMP 요청 메시지에 대한 SNMP 응답 메시지를 수신하여 상기 XML 파서에 송신하는 SNMP 스택과,An SNMP stack transmitting an SNMP request message to an SNMP delegate corresponding to the OID information extracted from the XML parser, receiving an SNMP response message for the SNMP request message from the SNMP delegate, and transmitting the received SNMP response message to the XML parser; 기 정의된 이벤트 발생에 따라 상기 SNMP 대리자에서 발생되는 트랩 메시지를 수신하고, 상기 수신된 트랩 메시지의 내용을 상기 XML 파서에 저장된 XML 문서에 반영시키는 트랩 처리 모듈과, A trap processing module configured to receive a trap message generated in the SNMP delegate according to a predefined event occurrence and reflect the contents of the received trap message in an XML document stored in the XML parser; 상기 트랩 메시지의 내용이 반영된 XML 문서를 수신하고, 상기 수신된 XML 문서를 상기 XML 파서로부터 수신하여 상기 XML 관리자에 송신하는 HTTP 클라이언트를 포함하며,An HTTP client that receives the XML document reflecting the contents of the trap message, receives the received XML document from the XML parser, and transmits the received XML document to the XML manager; 상기 XML 파서는 상기 SNMP 응답 메시지를 토대로 상기 목적 노드에 MIB 정보를 입력하여 상기 XML 요청 메시지에 대한 응답 메시지를 생성하고, 상기 생성된 XML 응답 메시지를 상기 요청 처리 모듈 및 HTTP 서버를 통해 상기 XML 관리자에 전송하는 네트워크 통합 관리를 위한 XML/SNMP 게이트웨이 .The XML parser generates a response message to the XML request message by inputting MIB information to the destination node based on the SNMP response message, and sends the generated XML response message to the XML manager through the request processing module and the HTTP server. XML / SNMP gateway for integrated network management to send to. SOAP 서버를 포함한 게이트웨이에 있어서, XML 관리자로부터 XML 문서의 조회 및 수정을 위한 SOAP 요청 메시지에 대한 응답 메시지를 전달하기 위하여, In a gateway including a SOAP server, to deliver a response message to a SOAP request message for viewing and modifying an XML document from an XML manager, SNMP 대리자가 관리하는 MIB에 포함된 각각 노드들을 테이블로 저장하며, 상기 테이블에 저장된 관리 정보의 구조와 동일한 구조를 갖는 XML 스키마를 형성하고, 상기 MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 형성시키는 XML 변환기와,Each node included in the MIB managed by the SNMP delegate is stored in a table, and an XML schema having the same structure as that of the management information stored in the table is formed, and an XML document having the same structure as the MIB tree structure is formed. With an XML converter, 상기 XML 관리자로부터 수신한 SOAP 요청 메시지를 분석하여 목적 노드를 검색하고, 상기 SOAP 요청 메시지에 대한 XML 응답 메시지를 SOAP 응답 메시지로 패키징시키는 상기 SOAP 서버와,The SOAP server analyzing the SOAP request message received from the XML manager, searching for a destination node, and packaging an XML response message for the SOAP request message into a SOAP response message; 상기 XML 스키마와 XML 문서가 저장되어 있으며 상기 목적 노드에 대응되는 OID 정보를 추출하고, 상기 SOAP 요청 메시지를 SNMP 요청 메시지로 변환시키는 XML 파서와,An XML parser for storing the XML schema and the XML document, extracting OID information corresponding to the destination node, and converting the SOAP request message into an SNMP request message; 상기 XML 파서에서 추출된 OID 정보에 대응되는 SNMP 대리자에게 상기 SNMP 요청 메시지를 전송하고, 상기 SNMP 대리자로부터 SNMP 요청 메시지에 대한 SNMP 응답 메시지를 수신하여 상기 XML 파서에 송신하는 SNMP 스택과,An SNMP stack for transmitting the SNMP request message to an SNMP delegate corresponding to the OID information extracted from the XML parser, receiving an SNMP response message for the SNMP request message from the SNMP delegate, and transmitting the received SNMP response message to the XML parser; 기 정의된 이벤트 발생에 따라 상기 SNMP 대리자에서 발생되는 트랩 메시지를 수신하고, 상기 트랩 메시지를 내용을 상기 XML 파서에 저장된 XML 문서에 반영시키는 트랩 처리 모듈과,A trap processing module for receiving a trap message generated in the SNMP delegate according to a predefined event occurrence and reflecting the contents of the trap message in an XML document stored in the XML parser; 상기 트랩 메시지의 내용이 반영된 XML 문서를 SOAP 트랩 메시지로 패키징시키는 SOAP 클라이언트와,A SOAP client for packaging an XML document reflecting the contents of the trap message into a SOAP trap message; 상기 SOAP 트랩 메시지를 상기 XML 관리자에 제공하는 HTTP 클라이언트를 포함하며,An HTTP client for providing the SOAP trap message to the XML manager; 상기 XML 파서를 통해 상기 SNMP 응답 메시지를 토대로 상기 목적 노드에 MIB 정보를 입력하여 XML 응답 메시지를 생성하되, 상기 생성된 XML 응답 메시지는 상기 SOAP 서버에 의해서 SOAP 응답 메시지로 패키징 된 후에 상기 HTTP 서버를 통해 상기 XML 관리자에 전송되는 SOAP 기반의 상호작용 변환 방법을 제공하는 XML/SNMP 게이트웨이.Generates an XML response message by inputting MIB information to the destination node based on the SNMP response message through the XML parser, wherein the generated XML response message is packaged as a SOAP response message by the SOAP server and then the HTTP server. XML / SNMP gateway providing a SOAP-based interaction transformation method is transmitted to the XML manager through. 제 1, 2, 3, 또는 4항에 있어서,The method according to claim 1, 2, 3, or 4, 상기 XML 변환기는,The XML converter, SNMP MIB을 일련의 토큰으로 분리하여 SMI의 구문에 맞는지의 여부를 검사하는 SMI 구문 분석기와,An SMI parser that separates the SNMP MIB into a set of tokens and checks whether it conforms to the syntax of SMI; 상기 구문 분석된 토큰에서 각각 노드를 자바 클래스로 변환하고, 상기 변환된 클래스로 노드 테이블을 형성하여 저장하는 노드 테이블 생성기와,A node table generator for converting each node into a Java class in the parsed token, and forming and storing a node table in the converted class; 상기 노드 테이블에 저장된 관리 정보를 이용하여 상기 관리 정보의 구조가 포함된 XML 스키마를 생성시키는 XML 스키마 생성기와,An XML schema generator for generating an XML schema including a structure of the management information by using the management information stored in the node table; 상기 노드 테이블에 저장된 관리 정보를 이용하여 상기 SNMP MIB 트리 구조와 동일한 구조를 갖는 XML 문서를 생성시키는 XML 문서 생성기를 포함하는 XML/SNMP 게이트웨이.And an XML document generator for generating an XML document having the same structure as the SNMP MIB tree structure by using the management information stored in the node table.
KR10-2003-0017817A 2003-03-21 2003-03-21 Xml/snmp gateway for integrated network management KR100503826B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2003-0017817A KR100503826B1 (en) 2003-03-21 2003-03-21 Xml/snmp gateway for integrated network management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2003-0017817A KR100503826B1 (en) 2003-03-21 2003-03-21 Xml/snmp gateway for integrated network management

Publications (2)

Publication Number Publication Date
KR20040083232A KR20040083232A (en) 2004-10-01
KR100503826B1 true KR100503826B1 (en) 2005-07-27

Family

ID=37367116

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2003-0017817A KR100503826B1 (en) 2003-03-21 2003-03-21 Xml/snmp gateway for integrated network management

Country Status (1)

Country Link
KR (1) KR100503826B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7944593B2 (en) * 2004-09-09 2011-05-17 Infoprint Solutions Company, Llc Method and apparatus for efficient processing of color conversion
CN101282333B (en) * 2008-05-22 2012-09-05 上海交通大学 Method for switching information of distributed multiprotocol proxy and center system

Also Published As

Publication number Publication date
KR20040083232A (en) 2004-10-01

Similar Documents

Publication Publication Date Title
Choi et al. XML‐Based Network Management for IP Networks
JP4323516B2 (en) Information access system and method
US7734756B2 (en) Object oriented communication among platform independent systems over networks using soap
Strauß et al. Towards XML oriented internet management
Yoon et al. Development of SNMP‐XML translator and gateway for XML‐based integrated network management
US20070266035A1 (en) Methods, Systems and Computer Program Products for Web Service Interaction with a Resource Management System
Shafer An architecture for network management using netconf and yang
Oh et al. Interaction translation methods for XML/SNMP gateway
KR100503826B1 (en) Xml/snmp gateway for integrated network management
US7007094B1 (en) Object oriented communications system over the internet
KR100560743B1 (en) The method of protocol converting between TL1 and SNMP using XML
KR100510040B1 (en) Intelligent Web service gateway system based on agent and operation method therof
KR20030030600A (en) Protocol Gateway System support interoperability in different network Management Architecture
US7752293B1 (en) Command processing in a telecommunications network
Wu et al. Integrating SNMP agents and CLI with NETCONF-based network management systems
Oh et al. Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies
Matsumura et al. Situated web service: context-aware approach to high-speed web service communication
Choi et al. Towards xml and snmp integrated network management
Shin et al. XNMP-an XML based network management protocol over VoIP
AU2003252172B2 (en) Command processing in a telecommunications network
KR100495834B1 (en) The converting system for abstracting snmp operation into xml operation and the method therefor, and computer program product using the same
KR101042358B1 (en) System for network management of 2tier network
Quirolgico et al. Deriving knowledge for the knowledge plane
Dang et al. NETCONF network management model based on Web Services
KR200299180Y1 (en) XML converter of EMS

Legal Events

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

Payment date: 20090706

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee