KR100753817B1 - Web-based enterprise management client, server, system and the method thereof - Google Patents

Web-based enterprise management client, server, system and the method thereof Download PDF

Info

Publication number
KR100753817B1
KR100753817B1 KR1020050110184A KR20050110184A KR100753817B1 KR 100753817 B1 KR100753817 B1 KR 100753817B1 KR 1020050110184 A KR1020050110184 A KR 1020050110184A KR 20050110184 A KR20050110184 A KR 20050110184A KR 100753817 B1 KR100753817 B1 KR 100753817B1
Authority
KR
South Korea
Prior art keywords
http
request message
message
server
encoding scheme
Prior art date
Application number
KR1020050110184A
Other languages
Korean (ko)
Other versions
KR20070052491A (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 KR1020050110184A priority Critical patent/KR100753817B1/en
Publication of KR20070052491A publication Critical patent/KR20070052491A/en
Application granted granted Critical
Publication of KR100753817B1 publication Critical patent/KR100753817B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

웹 기반 시스템 관리 클라이언트, 서버, 시스템 및 그 방법이 개시된다. 이 클라이언트는, 서버에 대한 요청 메시지의 부호화 방식을 미리 설정된 기준에 따라 XML 부호화 방식 또는 fast Infoset 부호화 방식 중에서 선택하고, 상기 요청 메시지를 상기 선택된 부호화 방식으로 부호화하는 메시지 부호화부; 상기 부호화된 메시지를 HTTP 프로토콜에 따라, HTTP 요청 메시지로 변환하는 HTTP 변환부; 및 상기 HTTP 요청 메시지를 상기 서버로 송신하는 서버 연결부를 포함하는 것을 특징으로 한다. 본 발명에 따르면, 웹 기반 시스템을 관리하는 환경에서 메시지 전송을 효율적으로 할 수 있으며, 앞으로의 국제 표준에 대한 호환성을 높일 수 있다.Disclosed are a web-based system management client, server, system, and method thereof. The client includes a message encoding unit which selects an encoding scheme of a request message to a server from an XML encoding scheme or a fast Infoset encoding scheme according to a preset criterion, and encodes the request message using the selected encoding scheme; An HTTP conversion unit for converting the encoded message into an HTTP request message according to the HTTP protocol; And a server connection unit which transmits the HTTP request message to the server. According to the present invention, it is possible to efficiently transmit a message in an environment for managing a web-based system, and to improve compatibility with future international standards.

Description

웹 기반 시스템 관리 클라이언트, 서버 및 그 방법{Web-based enterprise management client, server, system and the method thereof}Web-based enterprise management client, server, system and the method

도 1은 WBEM 표준에 기반한 일반적인 시스템을 나타내는 도면이다.1 is a diagram illustrating a general system based on the WBEM standard.

도 2는 본 발명의 일실시예에 따른 웹 기반 시스템을 관리하는 시스템의 구성을 나타내는 블록도이다.2 is a block diagram showing the configuration of a system for managing a web-based system according to an embodiment of the present invention.

도 3은 본 발명의 일실시예에 따른 웹 기반 시스템을 관리하는 시스템 및 방법의 동작을 나타내는 흐름도이다.3 is a flowchart illustrating the operation of a system and method for managing a web-based system according to an embodiment of the present invention.

도 4는 본 발명의 일실시예에 따른 웹 기반 시스템 관리 클라이언트 및 요청 방법의 동작을 나타내는 흐름도이다.4 is a flowchart illustrating operations of a web-based system management client and a request method according to an embodiment of the present invention.

도 5는 본 발명의 일실시예에 따른 웹 기반 시스템 관리 서버 및 응답 방법의 동작을 나타내는 흐름도이다.5 is a flowchart illustrating an operation of a web-based system management server and a response method according to an embodiment of the present invention.

본 발명은 웹 기반 시스템을 관리하는 방법에 관한 것으로, 보다 상세하게는 웹 기반 시스템에 있어서, 서버와 클라이언트간에 시스템 관리를 위한 메시지를 송수신하는 방법에 관한 것이다.The present invention relates to a method for managing a web-based system, and more particularly, to a method for transmitting and receiving a message for system management between a server and a client in a web-based system.

WBEM 표준 기반 시스템에서 공통 정보 모델(Common Information Model : 이하, CIM이라 칭함) 오퍼레이션(operation)은 이기종의 플랫폼과 동일 플랫폼 상의 여러 시스템 자원들을 효과적으로 제어하고 감시하며 관리하기 위해 사용된다. WBEM 표준에 따르면, XML DTD(Document Type Definition) 형식에 따라, 공통정보모델 오퍼레이션을 XML(eXtensible Markup Language)로만 표현한 다음, 이를 HTTP 프로토콜을 이용하여 WBEM 클라이언트와 WBEM 서버 사이에 송수신하는 것으로 규정하고 있다. In the WBEM standards-based system, Common Information Model (hereinafter referred to as CIM) operation is used to effectively control, monitor and manage heterogeneous platforms and various system resources on the same platform. According to the WBEM standard, a common information model operation is expressed only in XML (eXtensible Markup Language) according to the XML Document Type Definition (DTD) format, and then it is transmitted and received between the WBEM client and the WBEM server using the HTTP protocol. .

XML의 가장 대표적인 장점으로는 강력한 확장성으로서, XML 메시지를 주고 받는 양측이 합의만 한다면 어떤 태그(tag)든지 추가할 수 있으며, 또 컴퓨터 프로그램이나 사람에 의해 쉽게 해석될 수도 있다. 그러나, XML은 그 고유 속성상 정보를 텍스트로 저장하기 때문에 문서의 크기가 상대적으로 크며, 이로 인해 네트워크를 통해 XML 데이터를 주고 받는 것은 다량의 트래픽을 유발시키고 상대적으로 많은 대역폭을 요구할 수 있는 단점이 상존한다. 더욱이 시스템 관리의 특성상 관리 대상 시스템의 자원을 최소한으로만 활용해야 하는 제약이 따르며, 또한 유비쿼터스 환경과 같이 관리 대상 시스템이 소형화 및 경량화 되는 경우에는 성능 문제가 중요한 현안으로 부각될 수 있다.The most significant advantage of XML is its strong extensibility, which allows you to add any tag as long as both parties send and receive XML messages, and can be easily interpreted by a computer program or a person. However, because XML stores information in text because of its inherent nature, the size of a document is relatively large. Therefore, sending and receiving XML data over a network can cause a large amount of traffic and require a relatively large amount of bandwidth. It exists. In addition, due to the nature of system management, there is a restriction to minimize the resources of the managed system. Also, when the managed system is miniaturized and lightened, such as a ubiquitous environment, performance may be an important issue.

최근, ITU-T 표준인 동시에 ISO/IEC 24824-1 국제 표준으로 채택된 Fast Infoset 기술은 위와 같은 XML의 단점을 해소하면서도 가장 우려되는 호환성의 문제도 표준을 통해 해소될 수 있다.Recently, Fast Infoset technology, adopted as an ITU-T standard and ISO / IEC 24824-1 international standard, solves the above disadvantages of XML and can solve the most problematic compatibility problem through the standard.

본 발명이 이루고자 하는 기술적 과제는, 웹 기반 시스템을 관리하는 메시지의 전송을 효율적으로 할 수 있는 웹 기반 시스템 관리 클라이언트, 서버, 및 관리하는 시스템을 제공하는 데 있다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a web-based system management client, a server, and a management system capable of efficiently transmitting a message for managing a web-based system.

본 발명이 이루고자 하는 다른 기술적 과제는, 웹 기반 시스템을 관리하는 메시지의 전송을 효율적으로 할 수 있는 웹 기반 시스템 관리 클라이언트의 요청 방법, 관리 서버의 응답 방법 및 웹 기반 시스템을 관리하는 방법을 제공하는 데 있다.Another technical problem to be achieved by the present invention is to provide a request method of a web-based system management client, a response method of a management server, and a method of managing a web-based system that can efficiently transmit a message for managing a web-based system. There is.

상기의 기술적 과제를 이루기 위한, 본 발명에 의한 웹 기반 시스템 관리 클라이언트는 서버에 대한 요청 메시지의 부호화 방식을 미리 설정된 기준에 따라 XML 부호화 방식 또는 fast Infoset 부호화 방식 중에서 선택하고, 상기 요청 메시지를 상기 선택된 부호화 방식으로 부호화하는 메시지 부호화부; 상기 부호화된 메시지를 HTTP 프로토콜에 따라, HTTP 요청 메시지로 변환하는 HTTP 변환부; 및 상기 HTTP 요청 메시지를 상기 서버로 송신하는 서버 연결부를 포함하는 것을 특징으로 한다.In order to achieve the above technical problem, the web-based system management client according to the present invention selects an encoding scheme of a request message to a server from an XML encoding scheme or a fast Infoset encoding scheme according to a preset criterion, and selects the selected request message from the selected scheme. A message encoding unit encoding the encoding method; An HTTP conversion unit for converting the encoded message into an HTTP request message according to the HTTP protocol; And a server connection unit which transmits the HTTP request message to the server.

상기의 다른 기술적 과제를 이루기 위한, 본 발명에 의한 웹 기반 시스템 관리 서버는 클라이언트로부터 HTTP 요청 메시지를 수신하는 클라이언트 연결부; 상기 수신된 HTTP 요청 메시지를 HTTP 프로토콜에 따라, 부호화된 요청 메시지로 역변환하고, 상기 부호화된 요청 메시지의 부호화 방식을 검출하는 HTTP 역변환부; 및 상기 부호화된 요청 메시지를, 상기 검출된 부호화 방식에 대응하는 복호화 방 식으로 복호화하는 메시지 복호화부를 포함하는 것을 특징으로 한다.In order to achieve the above technical problem, a web-based system management server according to the present invention includes a client connection unit for receiving an HTTP request message from a client; An HTTP inverse transform unit which inversely converts the received HTTP request message into an encoded request message according to an HTTP protocol and detects an encoding scheme of the encoded request message; And a message decoder which decodes the encoded request message by a decoding method corresponding to the detected encoding method.

상기의 다른 기술적 과제를 이루기 위한, 본 발명에 의한 웹 기반 시스템을 관리하는 시스템은 요청 메시지의 부호화 방식을 미리 설정된 기준에 따라 XML 부호화 방식 또는 fast Infoset 부호화 방식 중에서 선택하고, 상기 요청 메시지를 상기 선택된 부호화 방식으로 부호화하여, HTTP 프로토콜로 송신하는 클라이언트; 및 수신된 상기 부호화된 요청 메시지의 부호화 방식을 검출하여, 상기 부호화된 요청 메시지를 복호화하는 서버를 포함하는 것을 특징으로 한다.In order to achieve the above technical problem, a system for managing a web-based system according to the present invention selects an encoding scheme of a request message from an XML encoding scheme or a fast Infoset encoding scheme according to a preset criterion, and selects the selected request message from the selected scheme. A client that encodes using an encoding scheme and transmits the encoding by the HTTP protocol; And a server that detects an encoding scheme of the received encoded request message and decodes the encoded request message.

상기의 다른 기술적 과제를 이루기 위한, 본 발명에 의한 웹 기반 시스템 관리 클라이언트의 요청 방법은 (a) 서버에 대한 요청 메시지의 부호화 방식을 미리 설정된 기준에 따라 XML 부호화 방식 또는 fast Infoset 부호화 방식 중에서 선택하고, 상기 요청 메시지를 상기 선택된 부호화 방식으로 부호화하는 단계; (b) 상기 부호화된 메시지를 HTTP 프로토콜에 따라, HTTP 요청 메시지로 변환하는 단계; 및 (c) 상기 HTTP 요청 메시지를 상기 서버로 송신하는 단계를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, a method for requesting a web-based system management client according to the present invention includes (a) selecting an encoding method of a request message to a server from an XML encoding method or a fast Infoset encoding method according to a preset criterion; Encoding the request message by the selected encoding scheme; (b) converting the encoded message into an HTTP request message according to the HTTP protocol; And (c) transmitting the HTTP request message to the server.

상기의 다른 기술적 과제를 이루기 위한, 본 발명에 의한 웹 기반 시스템 관리 서버의 응답 방법은 (a) 클라이언트로부터 HTTP 요청 메시지를 수신하는 단계; (b) 상기 수신된 HTTP 요청 메시지를 HTTP 프로토콜에 따라, 부호화된 요청 메시지로 역변환하고, 상기 부호화된 요청 메시지의 부호화 방식을 검출하는 단계; 및 (c)상기 부호화된 요청 메시지를, 상기 검출된 부호화 방식에 대응하는 복호화 방식으로 복호화하는 메시지 복호화부를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, a method for responding to a web-based system management server according to the present invention includes: (a) receiving an HTTP request message from a client; (b) inversely converting the received HTTP request message into an encoded request message according to an HTTP protocol and detecting an encoding scheme of the encoded request message; And (c) a message decoder which decodes the encoded request message by a decoding method corresponding to the detected encoding method.

상기의 다른 기술적 과제를 이루기 위한, 본 발명에 의한 웹 기반 시스템을 관리하는 방법은 (a) 클라이언트가, 서버에 대한 요청 메시지의 부호화 방식을 미리 설정된 기준에 따라 XML 부호화 방식 또는 fast Infoset 부호화 방식 중에서 선택하고, 상기 요청 메시지를 상기 선택된 부호화 방식으로 부호화하여, HTTP 프로토콜로 송신하는 단계; 및 (b) 서버가, 수신된 상기 부호화된 요청 메시지의 부호화 방식을 검출하여, 상기 부호화된 요청 메시지를 복호화하는 단계를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a method for managing a web-based system according to the present invention, wherein (a) a client encodes a request message to a server according to a preset criterion. Selecting, encoding the request message using the selected encoding scheme and transmitting the same by using the HTTP protocol; And (b) the server detecting the encoding scheme of the received encoded request message and decoding the encoded request message.

이하, 첨부된 도면들을 참조하여 본 발명에 따른 방법 및 장치에 대해 상세히 설명한다.Hereinafter, a method and an apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

본 명세서에서는, 편의상 WBEM(Web-based Enterprise Management) 환경을 전제로 설명할 것이나, 본 발명은 일반적인 웹 기반 시스템을 관리하는 데에도 적용될 수 있음은 물론이다.In this specification, for convenience, description will be made on the assumption of a Web-based Enterprise Management (WBEM) environment. However, the present invention can be applied to managing a general web-based system.

본 발명은 공통정보모델 오퍼레이션을 WBEM 표준에서 규정하고 있는 XML로의 표현 방식 이외에, 별도로 Fast Infoset을 통한 표현 방식도 제공하여, 시스템 운용 환경 등에 따라 사용자가 적절한 방식을 선택하도록 하는 것이다. XML의 단점을 해소하고, 또 그 장점을 최대한 유지할 수 있기 때문에 서버와 클라이언트 간 메시지의 송수신 성능을 높일 수 있다. Fast Infoset 기술은 ITU-T X.891 인 동시에 ISO/IEC 24824-1 표준으로 제정된 기술로서, 동일한 XML 문서에 비해 인코딩과 디코딩은 더욱 빠른 동시에 생성된 문서의 크기도 훨씬 작은 특징을 가지며, XML은 강한 확장성을 가지기 때문에 본 발명에 의하면, 각 표현 방식의 장점을 취할 수 있어 효율적인 메시지 전송을 얻을 수 있다.The present invention provides a method of expressing a common information model operation through Fast Infoset in addition to the expression method of XML defined in the WBEM standard, so that a user selects an appropriate method according to a system operating environment. By eliminating the shortcomings of XML and maintaining its advantages, it can improve the performance of sending and receiving messages between server and client. Fast Infoset is an ITU-T X.891 and ISO / IEC 24824-1 standard. Faster encoding and decoding than the same XML document, while the size of the generated document is much smaller. Has a strong extensibility, and according to the present invention, it is possible to take advantage of each representation method and obtain efficient message transmission.

단, Fast Infoset을 이용하여 CIM 오퍼레이션 요청 메시지 또는 CIM 오퍼레이션 응답 메시지를 부호화할 때, 실제 XML로 부호화한 다음 이를 Fast Infoset을 통해 Fast Infoset 문서(document)로 변환하는 것이 아니라, CIM 오퍼레이션 요청 메시지 또는 CIM 오퍼레이션 응답 메시지를 대응되는 XML Infoset으로 개념적으로 변환한 다음 Fast Infoset 문서(document)로 변환한다. 즉, 실제 처리되는 과정은 CIM 오퍼레이션 요청 메시지 또는 CIM 오퍼레이션 응답 메시지가 직접적으로 Fast Infoset 문서(document)로 인코딩된다. 이는 Fast Infoset 문서(document)를 복호화할 때에도 동일하게 적용된다.However, when encoding CIM operation request message or CIM operation response message using Fast Infoset, CIM operation request message or CIM is not converted into actual XML and then converted into Fast Infoset document through Fast Infoset. Conceptually convert the operation response message to the corresponding XML Infoset and then to a Fast Infoset document. That is, the actual processing process is a CIM operation request message or a CIM operation response message is directly encoded into a Fast Infoset document. The same applies to decrypting a Fast Infoset document.

도 1은 WBEM 표준에 기반한 일반적인 시스템을 나타내는 도면이다.1 is a diagram illustrating a general system based on the WBEM standard.

WBEM 클라이언트(101)는 일반적으로 CIM 오퍼레이션을 XML로 표현한 다음 HTTP 메시지로 생성하여 WBEM 서버(102)에게 시스템 관리 정보를 요청한다. WBEM 서버(102)로 전송된 요청 메시지는 WBEM 클라이언트와의 직접적인 정합을 담당하는 클라이언트 인터페이스(Client Interface)(111)를 통해 HTTP 메시지 헤더를 분석한 후 메시지의 본문인 XML을 해석한 다음, 브로커 역할을 수행하는 CIM 객체 관리부(CIM Object Manager)(113)에게 전달한다. CIM 객체 관리부(113)는 요청된 메시지의 종류에 따라, 저장소(Repository)(117)에서 정보를 추출하여 응답하고자 할 경우에는 저장소 인터페이스(Repository Interface)(116)을 통해 저장소(117)로부터 관련 정보를 추출하거나, 관리 대상(managed elements)(105)으로부터 직접 정보를 추출하여 응답하고자 할 경우에는 프로바이더 인터페이스(provider interface)(115)를 통해 프로바이더(provider)(104)에게 관련 정보를 관리 대상(105)으로부터 추출하도록 요청한다. The WBEM client 101 typically expresses a CIM operation in XML and then generates an HTTP message to request system management information from the WBEM server 102. The request message sent to the WBEM server 102 analyzes the HTTP message header through the client interface 111 responsible for direct matching with the WBEM client, and then parses the XML, the body of the message, and then acts as a broker. The CIM object manager 113 transmits the CIM object manager 113. When the CIM object manager 113 wants to extract information from the repository 117 and respond to it according to the type of the requested message, the CIM object manager 113 may store related information from the repository 117 through the repository interface 116. If the user wants to extract information from the managed elements 105 or extracts the information directly from the managed elements 105, the related information is managed by the provider interface 115 through the provider interface 115. Request to extract from 105.

추출된 시스템 관리 정보는 다시 CIM 객체 관리부(113)을 통해 클라이언트 인터페이스(111)로 전달되며, 클라이언트 인터페이스(111)에서 응답 메시지를 XML로 표현한 다음 HTTP 메시지로 생성하여 정보를 호출했던 WBEM 클라이언트(101)에게 반환한다.The extracted system management information is transferred back to the client interface 111 through the CIM object management unit 113, and the WBEM client 101 that has expressed the response message in XML and then generated the HTTP message to call the information. Return).

단, WBEM 서버(102)에서 사용자의 인증 관련 기능이 별도로 필요한 경우에는 보안 인터페이스(security interface)(114)를 통해 인증 서버(Authentication Server)(103)로부터 사용자를 인증할 수 있으며, 만일 WBEM 클라이언트(101)가 아닌 동적 인디케이션 정보를 수신하는 WBEM 리스너(listener)(101)의 경우에는 WBEM 서버(102)와의 인터페이스는 인디케이션 핸들러(indication handler)(112)가 된다.However, if the WBEM server 102 requires the user's authentication function separately, the WBEM server 102 may authenticate the user from the authentication server 103 through the security interface 114. In the case of the WBEM listener 101 that receives dynamic indication information other than 101, the interface with the WBEM server 102 is an indication handler 112.

도 2는 본 발명의 일실시예에 따른 웹 기반 시스템을 관리하는 시스템의 구성을 나타내는 블록도로서, 크게, 클라이언트(200), 서버(220), 프로바이더(provider)(240), 저장소(repository)(250) 및 관리대상(managed elements)(260)을 포함하여 이루어진다.2 is a block diagram showing a configuration of a system for managing a web-based system according to an embodiment of the present invention, and is generally, a client 200, a server 220, a provider 240, a repository. ) 250 and managed elements 260.

클라이언트(200)는, 상술한 바와 같이, 사용자의 명령에 따른 HTTP 요청 메시지를 작성하여 서버(220)에 송신한 후, 서버로부터 HTTP 응답 메시지를 수신하여 메시지를 복호화하는 기능을 수행한다. 이러한 클라이언트(200)는, 구체적으로, 관리 어플리케이션(Management Application)(201), 클라이언트 어플리케이션 인터페이스(Client Aplication Interface)(202), 메시지 부호화부(203), 메시지 복호화부 (204), HTTP 변환 및 역변환부(Encapsulator/Decapsulator)(209) 및 서버 연결부(212)를 포함하여 이루어질 수 있다.As described above, the client 200 prepares an HTTP request message according to a user's command and transmits it to the server 220, and then receives an HTTP response message from the server to decode the message. Specifically, the client 200 may include a management application 201, a client application interface 202, a message encoder 203, a message decoder 204, HTTP conversion and inverse conversion. An encapsulator / decapsulator 209 and a server connection unit 212 may be included.

시스템 관리자(또는 사용자)는 관리 어플리케이션(201)을 통해 사용하고자 하는 CIM 오퍼레이션 메시지의 표현 방식을 선택하게 되며 그 결과는 클라이언트의 환경변수로 저장된다. 즉, Fast Infoset 부호화 방식인지, XML 부호화 방식인지 선택된다. 이러한 부호화 방식의 선택 기준의 예로는, CIM 오퍼레이션 요청 메시지의 데이터량, 네트워크의 트래픽 상태 등을 들 수 있으나, 반드시, 이에 한정되는 것은 아니다.The system administrator (or user) selects a representation method of the CIM operation message to be used through the management application 201 and the result is stored as an environment variable of the client. That is, it is selected whether it is a Fast Infoset encoding method or an XML encoding method. Examples of the selection criterion of the coding scheme include, but are not limited to, the data amount of the CIM operation request message, the traffic state of the network, and the like.

시스템 관리자(또는 사용자)가 관리 어플리케이션(201)을 통해 WBEM 서버와의 HTTP 연결을 설정한 다음, 임의의 시스템 관리 정보를 요청한다.The system administrator (or user) establishes an HTTP connection with the WBEM server through the management application 201 and then requests arbitrary system management information.

클라이언트 어플리케이션 인터페이스(202)는 상기 요청을 CIM 오퍼레이션 요청 메시지로 생성한 후, 상기 환경변수에 저장된 값 즉, 부호화 방식에 따라, 상기 생성한 CIM 오퍼레이션 요청 메시지를 메시지 부호화부(203)에 제공한다.The client application interface 202 generates the request as a CIM operation request message and then provides the generated CIM operation request message to the message encoder 203 according to a value stored in the environment variable, that is, an encoding scheme.

메시지 부호화부(203)는, FastInfoset 부호화부(205) 및 XML 부호화부(206)를 포함하여 이루어진다. 한편, 부호화 방식의 결정 주체는 클라이언트 어플리케이션 인터페이스(202)에 한하지 않고, 메시지 부호화부(203) 자체가 상기 환경 변수를 억세스하여 부호화 방식을 독자적으로 결정할 수도 있음은 물론이다.The message encoder 203 includes a FastInfoset encoder 205 and an XML encoder 206. Note that the determining method of the encoding method is not limited to the client application interface 202, and the message encoding unit 203 itself may access the environment variable to determine the encoding method independently.

FastInfoset 부호화부(205)는 클라이언트 어플리케이션 인터페이스(202)로부터 제공받은 CIM 오퍼레이션 요청 메시지를 FastInfoset 방식으로 표현하는 부호화를 수행한다. XML 부호화부(206)도 마찬가지로, 클라이언트 어플리케이션 인터페이 스(202)로부터 제공받은 CIM 오퍼레이션 요청 메시지를 XML 방식으로 표현하는 부호화를 수행한다.The FastInfoset encoder 205 performs encoding that expresses the CIM operation request message provided from the client application interface 202 by the FastInfoset method. Similarly, the XML encoder 206 performs encoding that expresses the CIM operation request message provided from the client application interface 202 in an XML manner.

HTTP 변환 및 역변환부(209)는 HTTP 변환부(encapsulator)(210) 및 HTTP 역변환부(decapsulator)(211)를 포함하여 이루어진다. HTTP 변환부(210)는, 부호화된 CIM 오퍼레이션 요청 메시지에 HTTP 헤더를 추가하여, HTTP 요청 메시지를 생성한다.The HTTP converting and inverse transforming unit 209 includes an HTTP encapsulator 210 and an HTTP decapsulator 211. The HTTP conversion unit 210 generates an HTTP request message by adding an HTTP header to the encoded CIM operation request message.

서버 연결부(212)는 초기에 연결한 서버에서 설정된 HTTP 포트로 상기 생성된 HTTP 요청 메시지를 송신한다. 서버 연결부(212)는 HTTP 요청 메시지 전송 후, 일정 시간동안 HTTP 연결을 유지한 채 계속하여 HTTP 응답 메시지를 기다리다가 시간이 경과하면 재연결을 시도하거나 오류를 결과로 반환한다. 서버 연결부(212)는, HTTP 응답 메시지를 서버(220)로부터 수신하면, 상기 수신된 HTTP 응답 메시지를 HTTP 역변환부(209)에 전달한다.The server connection unit 212 transmits the generated HTTP request message to the HTTP port set in the server connected initially. After transmitting the HTTP request message, the server connection unit 212 keeps waiting for the HTTP connection for a predetermined time and continues to wait for the HTTP response message, and when the time elapses, attempts to reconnect or returns an error as a result. When the server connection unit 212 receives the HTTP response message from the server 220, the server connection unit 212 transmits the received HTTP response message to the HTTP inverse transform unit 209.

HTTP 역변환부(211)는 HTTP 응답 메시지에서 HTTP 헤더를 제거한 후 메시지 복호화부(204)에 전달된다. 메시지 복호화부(204)는 Fast Infoset 복호화부(207) 및 XML 복호화부(208)를 포함하여 이루어진다. 즉, HTTP 헤더가 제거된 메시지는 HTTP 헤더의 MIME(Multipurpose Internet Mail Extension) Type에 대한 Content-Type 값 또는 상기 환경 변수에 저장된 값에 따라 Fast Infoset 복호화부(207) 또는 XML 복호화부(208)에 전달되어, Fast Infoset 복호화 방식 또는 XML 복호화 방식으로 복호화된다. 복호화 방식은 공통 정보 모델 오퍼레이션 요청 메시지의 부호화 방식에 대응하는 복호화 방식으로 수행된다.The HTTP reverse converter 211 removes the HTTP header from the HTTP response message and then delivers the message to the message decoder 204. The message decoder 204 includes a fast infoset decoder 207 and an XML decoder 208. That is, the message from which the HTTP header is removed is sent to the Fast Infoset decryption unit 207 or the XML decryption unit 208 according to the Content-Type value for the Multipurpose Internet Mail Extension (MIME) Type of the HTTP header or the value stored in the environment variable. It is delivered and decrypted by Fast Infoset decryption or XML decryption. The decoding method is performed by a decoding method corresponding to the encoding method of the common information model operation request message.

클라이언트 어플리케이션 인터페이스(202)는 Fast Infoset 복호화부(207) 또는 XML 복호화부(208)로부터 제공받은 CIM 오퍼레이션 응답 메시지를 관리 어플리케이션(201)에 최종적으로 반환한다.The client application interface 202 finally returns the CIM operation response message provided from the fast infoset decoder 207 or the XML decoder 208 to the management application 201.

서버(220)는, 상술한 바와 같이, 수신된 HTTP 요청 메시지에 따라 프로바이더(240), 저장소(250) 및 관리대상(260)를 이용하여 작업을 수행한 후, HTTP 응답 메시지를 생성하여 클라이언트(200)에 송신하는 기능을 수행한다. 이러한 서버(220)는, 구체적으로, 클라이언트 연결부(221), HTTP 변환 및 역변환부(Encapsulator/Decapsulator)(222), 메시지 부호화부(225), 메시지 복호화부(226) 및 CIM 객체 관리부(231)를 포함하여 이루어질 수 있다.As described above, the server 220 performs an operation using the provider 240, the storage 250, and the management target 260 according to the received HTTP request message, and then generates an HTTP response message. Perform a function of transmitting to (200). Specifically, the server 220 includes a client connection unit 221, an HTTP conversion and inverse conversion unit (Encapsulator / Decapsulator) 222, a message encoder 225, a message decoder 226, and a CIM object manager 231. It may be made, including.

클라이언트 연결부(221)는 WBEM 클라이언트(200)와 HTTP 연결이 된 이후로 계속 포트를 모니터링하고 있다가 HTTP 요청 메시지가 도착하면 해당 포트번호를 기록하고, HTTP 변환 및 역변환부(222)에 전달한다.The client connection unit 221 continuously monitors the port since the HTTP connection with the WBEM client 200 is made, records the corresponding port number when an HTTP request message arrives, and transmits the port number to the HTTP conversion and reverse conversion unit 222.

HTTP 변환 및 역변환부(222)는 HTTP 변환부(223) 및 HTTP 역변환부(224)를 포함하여 이루어진다. HTTP 역변환부(224)는, HTTP 메시지의 오류 여부를 확인한 다음, 헤더의 MIME Type에 대한 Content-Type 값을 읽어 부호화 방식이 XML인지 Fast Infoset인지 확인하고 HTTP 요청 메시지의 본문을 메시지 복호화부(226)의 Fast Infoset 복호화부(229) 또는 XML 복호화부(230)로 전달한다. 만일 XML과 Fast Infoset이 서로 다른 HTTP 포트를 사용하도록 설정한다면 포트번호를 통해 부호화 방식을 확인할 수도 있으며, 이 경우 HTTP 헤더의 Content-Type을 확인하는 단계를 생략할 수 있다. 후자의 방법은 WBEM 표준에서 규정하고 있는 HTTP 및 HTTPS의 포 트 번호 5998, 5989 이외에, Fast Infoset 용 HTTP 및 HTTPS 포트 번호를 각각 별도로 정의하여 CIM 오퍼레이션 요청 메시지가 전송된 포트 번호를 통하여 해당 부호화 방식을 검출하는 것이다.The HTTP conversion and reverse conversion unit 222 includes an HTTP conversion unit 223 and an HTTP reverse conversion unit 224. The HTTP inverse transform unit 224 checks whether the HTTP message is in error, and then reads the Content-Type value for the MIME Type of the header to determine whether the encoding method is XML or Fast Infoset, and decodes the body of the HTTP request message as the message decoder 226. ) To the Fast Infoset decoder 229 or the XML decoder 230. If the XML and Fast Infoset are set to use different HTTP ports, the encoding method can also be checked by the port number. In this case, the step of checking the Content-Type of the HTTP header can be omitted. In the latter method, HTTP and HTTPS port numbers for Fast Infoset are separately defined in addition to HTTP and HTTPS port numbers 5998 and 5989 specified in the WBEM standard, and the corresponding encoding method is defined through the port number to which the CIM operation request message is sent. To detect.

메시지 복호화부(226)는, FastInfoset 복호화부(229) 및 XML 복호화부(230)를 포함하여 이루어진다. FastInfoset 복호화부(229) 또는 XML 복호화부(230)는 HTTP 역변환부(224)로부터 전달받은 메시지를 제공받은 Fast Infoset 복호화 방식 또는 XML 복호화 방식으로 복호화하여, CIM 오퍼레이션 요청 메시지를 복원한다.The message decoder 226 includes a FastInfoset decoder 229 and an XML decoder 230. The FastInfoset decoding unit 229 or the XML decoding unit 230 decodes the message received from the HTTP inverse transform unit 224 by the Fast Infoset decoding method or the XML decoding method, and restores the CIM operation request message.

CIM 객체 관리부(231)는 CIM 객체를 라우팅하는 브로커(broker) 기능을 수행한다. 구체적으로, CIM 객체 관리부(231)는 CIM 오퍼레이션 요청 메시지의 종류에 따라 저장소(250) 또는 각각의 관리 대상(260)에 대한 프로바이더(240)로부터 그 결과값을 추출한다. 그 다음, CIM 객체 관리부(231)는 CIM 요청 메시지의 부호화 방식대로, 상기 생성된 결과값이 CIM 오퍼레이션 응답 메시지로 부호화되도록, 상기 생성된 CIM 오퍼레이션 응답 메시지를 메시지 부호화부(225)의 Fast Infoset 부호화부(227) 또는 XML 부호화부(228)에 전달한다.The CIM object manager 231 performs a broker function for routing the CIM object. In detail, the CIM object manager 231 extracts a result value from the provider 240 for the repository 250 or each management target 260 according to the type of the CIM operation request message. Then, the CIM object management unit 231 encodes the generated CIM operation response message by Fast Infoset encoding of the message encoding unit 225 so that the generated result value is encoded into the CIM operation response message, according to the encoding method of the CIM request message. The data is transmitted to the unit 227 or the XML encoder 228.

메시지 부호화부(225)는 Fast Infoset 부호화부(227) 및 XML 부호화부(228)을 포함하여 이루어진다. FastInfoset 부호화부(227)는 CIM 객체 관리부(231)로부터 제공받은 CIM 오퍼레이션 응답 메시지를 FastInfoset 방식으로 표현하는 부호화를 수행한다. XML 부호화부(228)도 마찬가지로, CIM 객체 관리부(231)로부터 제공받은 CIM 오퍼레이션 응답 메시지를 XML 방식으로 표현하는 부호화를 수행한다.The message encoder 225 includes a fast infoset encoder 227 and an XML encoder 228. The FastInfoset encoder 227 encodes the CIM operation response message provided from the CIM object manager 231 by using the FastInfoset method. Similarly, the XML encoder 228 performs encoding that expresses the CIM operation response message provided from the CIM object manager 231 in an XML manner.

HTTP 변환부(223)는, 부호화된 CIM 오퍼레이션 응답 메시지에 HTTP 헤더를 추가하여, HTTP 응답 메시지를 생성한다.The HTTP conversion unit 223 adds an HTTP header to the encoded CIM operation response message to generate an HTTP response message.

클라이언트 연결부(221)는 HTTP 연결이 유지되고 있는 동시에 정보를 요청했던 클라이언트(200)에게 동일한 HTTP 포트로 HTTP 응답 메시지를 전송한다.The client connection unit 221 transmits an HTTP response message to the client 200 requesting information while maintaining the HTTP connection.

도 3은 본 발명의 일실시예에 따른 웹 기반 시스템을 관리하는 시스템 및 방법의 동작을 나타내는 흐름도이다.3 is a flowchart illustrating the operation of a system and method for managing a web-based system according to an embodiment of the present invention.

먼저, 클라이언트(200)가, 공통 정보 모델 오퍼레이션 요청 메시지를 XML 부호화 방식 또는 Fast Infoset 부호화 방식으로 부호화하여, HTTP 프로토콜로 송신한다(S300). 여기서, 부호화 방식의 결정 기준의 예로는, 상기 공통 정보 모델 오퍼레이션 요청 메시지의 데이터량, 네트워크의 트래픽 상태를 들 수 있다. 데이터량이 많을 경우 또는 네트워크의 트래픽이 폭주하는 경우 일반적으로 Fast Infoset 방식이 유리할 수 있기 때문이다.First, the client 200 encodes the common information model operation request message by using the XML encoding method or the Fast Infoset encoding method, and transmits the information by the HTTP protocol (S300). Here, examples of the criterion for determining the encoding scheme include the data amount of the common information model operation request message and the traffic state of the network. This is because the fast infoset method may generally be advantageous when there is a large amount of data or when there is a heavy traffic on the network.

서버(220)가, 상기 부호화된 공통 정보 모델 오퍼레이션 요청 메시지를 수신한 후, 상기 부호화된 공통 정보 모델 오퍼레이션 요청 메시지의 부호화 방식을 검출한다. 다음, 상기 부호화된 공통 정보 모델 오퍼레이션 요청 메시지를 상기 검출된 부호화 방식에 대응하는 복호화 방식으로 복호화하고, 요청된 작업을 수행한다(S310). 부호화 방식 검출 방법의 예로는, 상기 HTTP 프로토콜 헤더의 MIME Type에 대응하는 Contents Type값으로부터 상기 부호화 방식을 검출하는 방법, 상기 클라이언트(200)의 포트 번호를 이용하여, 상기 부호화 방식을 검출하는 방법 등을 들 수 있으나, 반드시 이에 한정되는 것은 아니다.After the server 220 receives the encoded common information model operation request message, the server 220 detects an encoding scheme of the encoded common information model operation request message. Next, the encoded common information model operation request message is decoded by a decoding scheme corresponding to the detected encoding scheme, and the requested operation is performed (S310). Examples of a method of detecting an encoding scheme include a method of detecting the encoding scheme from a Contents Type value corresponding to the MIME Type of the HTTP protocol header, a method of detecting the encoding scheme using a port number of the client 200, and the like. It may include, but is not necessarily limited to this.

상기 S310 단계 후에, 서버(220)는, 상기 작업 수행에 따른 공통 정보 모델 오퍼레이션 응답 메시지를 상기 검출된 부호화 방식에 따라 부호화하여, HTTP 프로토콜로 상기 클라이언트(200)에게 송신한다(S320).After the step S310, the server 220 encodes the common information model operation response message according to the execution of the operation according to the detected encoding scheme and transmits the same to the client 200 through the HTTP protocol (S320).

클라이언트(200)는, HTTP 프로토콜로 상기 부호화된 공통 정보 모델 오퍼레이션 응답 메시지를 수신한 후, 상기 공통 정보 모델 오퍼레이션 요청 메시지의 부호화 방식에 대응하는 복호화 방식으로, 상기 부호화된 공통 정보 모델 오퍼레이션 응답 메시지를 복호화한다(S330).After receiving the encoded common information model operation response message using the HTTP protocol, the client 200 may decode the encoded common information model operation response message using a decoding method corresponding to the encoding method of the common information model operation request message. Decode (S330).

도 4는 본 발명의 일실시예에 따른 웹 기반 시스템 관리 클라이언트(200) 및 요청 방법의 동작을 나타내는 흐름도이다. 즉, 클라이언트(200)의 CIM 오퍼레이션 요청 및 응답에 대한 처리 절차를 나타내며, 도 3의 S300 단계 및 S330 단계의 구체적인 예를 나타내는 것이다.4 is a flowchart showing the operation of the web-based system management client 200 and the request method according to an embodiment of the present invention. That is, the procedure of the CIM operation request and response of the client 200 is shown, and specific examples of steps S300 and S330 of FIG. 3 are shown.

먼저, 클라이언트(200)를 초기화하는 등의 일련의 과정을 거친 다음, 시스템 관리자(또는 사용자)가 관리 어플리케이션(201)을 통해 CIM 오퍼레이션을 호출하면(S400), 클라이언트 어플리케이션 인터페이스(202)를 통해 CIM 오퍼레이션 요청 메시지가 생성되며, 초기화시 설정된 환경변수 값을 기반으로 Fast Infoset을 적용할 것인지 또는 XML을 적용할 것인지가 판단된다(S405).First, after a series of processes such as initializing the client 200, the system administrator (or user) calls the CIM operation through the management application (201) (S400), CIM through the client application interface 202 An operation request message is generated and it is determined whether to apply Fast Infoset or XML based on the environment variable value set at initialization (S405).

Fast Infoset이 적용되는 것으로 판단되면(S405), Fast Infoset 부호화부(205)에 의한 부호화가 상기 CIM 오퍼레이션 요청 메시지에 적용되며(S410), Fast Infoset이 적용되지 않는 것으로 판단되면(S405), XML 부호화부(206)에 의한 부호화가 상기 CIM 오퍼레이션 요청 메시지에 적용된다(S415).When it is determined that Fast Infoset is applied (S405), encoding by the Fast Infoset encoder 205 is applied to the CIM operation request message (S410), and when it is determined that Fast Infoset is not applied (S405), XML encoding The encoding by the unit 206 is applied to the CIM operation request message (S415).

부호화된 CIM 오퍼레이션 요청 메시지는 HTTP 변환부(210)에 의해, HTTP 헤 더가 추가된 후(S420), 서버 연결부(212)에 의해 초기에 연결한 서버(220)에서 설정된 HTTP 포트로 전달된다(S425).The encoded CIM operation request message is transmitted by the HTTP conversion unit 210 to the HTTP port set in the server 220 initially connected by the server connection unit 212 after the HTTP header is added (S420) ( S425).

다음, 서버(220)로부터의 HTTP 응답 메시지 도착여부가 서버 연결부(212)에 의해 모니터링된다(S430). HTTP 응답 메시지를 수신하지 않으면(S430), 도착할 때까지 계속 모니터링된다. 다만, 서버 연결부(212)는 HTTP 요청 메시지 전송 후, 일정 시간동안 HTTP 연결을 유지한 채 계속하여 HTTP 응답 메시지를 기다리다가 시간이 경과하면 재연결을 시도하거나 오류를 결과로 반환할 수도 있다. HTTP 응답 메시지를 수신하면(S430), 수신된 HTTP 응답메시지로부터 HTTP 역변환부(211)에 의해 HTTP 헤더가 제거된 후(S435), 상기 환경 변수에 저장된 값 또는 HTTP 헤더의 MIME Type 값에 따라 Fast Infoset 복호화부(207) 또는 XML 복호화부(208)에 의해 복호화되어, CIM 오퍼레이션 응답 메시지가 복원된다. 즉, 상기 환경 변수에 저장된 값 또는, HTTP 헤더의 MIME Type 값을 확인하여, S405 내지 S410 단계에서 CIM 오퍼레이션 요청 메시지가 Fast Infoset 부호화 방식으로 부호화되었다면(S440), 상기 HTTP 헤더가 제거된 메시지는 Fast Infoset 복호화 방식으로 복호화되며(S445), CIM 오퍼레이션 요청 메시지가 XML 부호화 방식으로 부호화되었다면(S440), 상기 HTTP 헤더가 제거된 메시지는 XML 복호화 방식으로 복호화된다(S450). 다시 말하면, 요청 메시지에서 적용된 방식과 동일한 방식에 따라 응답 메시지를 복호화하는 것이다.Next, the arrival of the HTTP response message from the server 220 is monitored by the server connection unit 212 (S430). If you do not receive the HTTP response message (S430), it continues to monitor until it arrives. However, after transmitting the HTTP request message, the server connection unit 212 may continue to wait for the HTTP response message while maintaining the HTTP connection for a predetermined time, and attempt to reconnect or return an error if the time elapses. When the HTTP response message is received (S430), after the HTTP header is removed by the HTTP inverse transform unit 211 from the received HTTP response message (S435), Fast according to the value stored in the environment variable or the MIME Type value of the HTTP header. Decoded by the Infoset decoder 207 or the XML decoder 208 to restore the CIM operation response message. That is, by checking the value stored in the environment variable or the MIME Type value of the HTTP header, if the CIM operation request message is encoded in the Fast Infoset encoding method in steps S405 to S410 (S440), the message from which the HTTP header is removed is Fast. If the CIM operation request message is encoded by the XML encoding scheme (S440), the message from which the HTTP header is removed is decoded by the XML decryption scheme (S450). In other words, the response message is decrypted according to the same method applied to the request message.

복원된 CIM 오퍼레이션 응답 메시지는 클라이언트 어플리케이션 인터페이스(202)에 의해, 관리 어플리케이션(201)에 최종적으로 반환된다(S455). 그 다음, 관 리 어플리케이션(201)은 CIM 오퍼레이션 응답메시지에 담긴 정보를 사용자에게 제공한다. 위와 같은 일련의 과정을 거치게 되면, 하나의 CIM 오퍼레이션에 대한 요청 및 응답 처리가 종료된다.The restored CIM operation response message is finally returned to the management application 201 by the client application interface 202 (S455). The management application 201 then provides the user with the information contained in the CIM operation response message. Through the above process, request and response processing for one CIM operation is terminated.

도 5는 본 발명의 일실시예에 따른 웹 기반 시스템 관리 서버(220) 및 응답 방법의 동작을 나타내는 흐름도이다. 즉, 요청 메시지에 대한 서버(220)의 응답 절차를 나타내며, 도 3의 S310 단계 및 S320 단계의 구체적인 예를 나타내는 것이다.5 is a flowchart illustrating the operation of the web-based system management server 220 and the response method according to an embodiment of the present invention. That is, the response procedure of the server 220 to the request message is shown, and specific examples of steps S310 and S320 of FIG. 3 are shown.

서버(220)가 구동되어 초기화된다. 그 다음, 서버(220)의 클라이언트 연결부(221)는 임의의 클라이언트(200)로부터의 HTTP 연결 요청을 수락하고 연결을 초기화한 후(S500), HTTP 요청 메시지의 전송을 기다린다(S505).The server 220 is driven and initialized. Next, the client connection unit 221 of the server 220 accepts the HTTP connection request from any client 200 and initializes the connection (S500), and waits for transmission of the HTTP request message (S505).

HTTP 요청 메시지가 수신되지 않으면(S505), 계속 대기 상태에 있게 되며, HTTP 요청 메시지가 클라이언트 연결부(221)에 의해 수신되면(S505), 수신된 HTTP 요청 메시지는 HTTP 역변환부(224)에 의해 HTTP 헤더가 분석된 후, HTTP 헤더가 제거된다(S510). 만일 S510 단계의 헤더 분석 결과 HTTP 요청 메시지가 오류가 있다고 판단되면(S515), HTTP 에러 메시지가 HTTP 역변환부(224)에 의해 생성된 후(S520), 클라이언트(200)에게 전송된다(S570). 만일 S510 단계의 헤더 분석 결과 HTTP 요청 메시지가 오류가 없다고 판단되면, HTTP 요청 메시지 본문이 Fast Infoset 부호화 방식이 적용되었는지, HTTP 역변환부(224)에 의해 판단된다(S525).If the HTTP request message is not received (S505), it is still in a waiting state, and if the HTTP request message is received by the client connection unit 221 (S505), the received HTTP request message is HTTP by the HTTP reverse converter 224 After the header is analyzed, the HTTP header is removed (S510). If it is determined in step S510 of the header analysis that the HTTP request message is in error (S515), after the HTTP error message is generated by the HTTP inverse converter 224 (S520), it is transmitted to the client 200 (S570). If it is determined that the HTTP request message is error free as a result of header analysis in step S510, the HTTP inverse transform unit 224 determines whether the HTTP request message body has been subjected to the Fast Infoset encoding method (S525).

HTTP 요청 메시지 본문이 Fast Infoset 부호화 방식이 적용되었다고 판단되면(S525), HTTP 요청 메시지 본문은 Fast Infoset 복호화부(229)에 의해 Fast Infoset 복호화된다(S530). HTTP 요청 메시지 본문이 Fast Infoset 부호화 방식이 적용되지 않았다고 판단되면(S525), HTTP 요청 메시지 본문은 XML 복호화부(230)에 의해 XML 복호화된다(S535). 여기서, Fast Infoset 부호화 방식이 적용되었는지를 판단하는 방법의 예로는, HTTP 헤더의 MIME Type에 대한 Content-Type 값을 읽어 부호화 방식이 XML인지 Fast Infoset인지 확인하는 방법이 있다. 다른 방법으로는, XML 부호화된 HTTP 메시지와 Fast Infoset 부호화된 HTTP 메시지가 서로 다른 HTTP 포트를 사용하도록 설정되었다면, 포트번호를 통해 부호화 방식을 확인할 수도 있으며, 이 경우 HTTP 헤더의 Content-Type을 확인하는 단계를 생략할 수 있다.If the HTTP request message body is determined that the Fast Infoset encoding scheme is applied (S525), the HTTP request message body is Fast Infoset decoded by the Fast Infoset decoder 229 (S530). If the HTTP request message body is determined that the Fast Infoset encoding method is not applied (S525), the HTTP request message body is XML decoded by the XML decoder 230 (S535). Here, as an example of a method of determining whether the Fast Infoset encoding scheme is applied, a method of determining whether the encoding scheme is XML or Fast Infoset by reading the Content-Type value for the MIME Type of the HTTP header. Alternatively, if the XML-encoded HTTP message and the Fast Infoset-encoded HTTP message are set to use different HTTP ports, the encoding method may be determined by the port number. In this case, the Content-Type of the HTTP header may be checked. The step can be omitted.

복호화된 CIM 오퍼레이션 요청 메시지의 오류가 있는지 Fast Infoset 복호화부(229) 또는 XML 복호화부(230)에 의해 판단된다(S540). CIM 오퍼레이션 요청 메시지의 오류가 있다면(S540), CIM 에러 메시지가 생성된 후(S520), S570 단계로 진행한다. CIM 오퍼레이션 요청 메시지의 오류가 없다면(S540), CIM 오퍼레이션 요청 메시지의 종류에 따라, CIM 객체 관리부(231)에 의해, 저장소(250) 또는 각각의 관리 대상(260)에 대한 프로바이더(240)로부터 요청 결과 값이 추출된다. 추출된 요청 결과 값을 기반으로, CIM 객체 관리부(231)에 의해, CIM 오퍼레이션 응답 메시지가 생성된다(S545).It is determined by the Fast Infoset decoder 229 or the XML decoder 230 whether there is an error in the decrypted CIM operation request message (S540). If there is an error in the CIM operation request message (S540), after the CIM error message is generated (S520), the flow proceeds to step S570. If there is no error in the CIM operation request message (S540), according to the type of the CIM operation request message, by the CIM object management unit 231, from the provider 240 for the storage 250 or each management target 260 The request result value is extracted. Based on the extracted request result value, the CIM object management unit 231 generates a CIM operation response message (S545).

상기 S545 단계후에, 상기 HTTP 요청 메시지의 본문이 Fast Infoset 부호화 방식으로 부호화되었는지 판단되면(S550), 생성된 CIM 오퍼레이션 응답 메시지는 Fast Infoset 부호화부(227)에 의해, Fast Infoset 부호화되며(S555), Fast Infoset 부호화 방식으로 부호화되지 않았다고 판단되면(S550), 생성된 CIM 오퍼레이션 응답 메시지는 XML 부호화부(228)에 의해 XML 부호화된다(S560).After the step S545, if it is determined whether the body of the HTTP request message is encoded by the Fast Infoset encoding method (S550), the generated CIM operation response message is Fast Infoset encoded by the Fast Infoset encoder 227 (S555), If it is determined that the information is not encoded by the fast infoset encoding method (S550), the generated CIM operation response message is XML encoded by the XML encoding unit 228 (S560).

부호화된 CIM 오퍼레이션 응답 메시지는 HTTP 변환부(223)에 의해, 헤더가 부가되어, HTTP 응답 메시지로서 클라이언트 연결부(221)에 제공된다(S565). HTTP 응답 메시지는, 클라이언트 연결부(221)에 의해, HTTP 연결이 유지되고 있는 동시에 정보를 요청했던 클라이언트(200)에게 동일한 HTTP 포트로 전송된다(S570). 이러한 일련의 과정을 거치게 되면 하나의 WBEM 클라이언트로부터 전송된 요청 메시지에 대한 응답 처리가 종료된다.The encoded CIM operation response message is added to the header by the HTTP conversion unit 223 and provided to the client connection unit 221 as an HTTP response message (S565). The HTTP response message is transmitted by the client connection unit 221 to the client 200 which has requested the information while maintaining the HTTP connection (S570). Through this series of processes, response processing for request message sent from one WBEM client is terminated.

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의해 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치 등이 있으며, 또한 케리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한, 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 본 발명을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다. The invention can also be embodied as computer readable code on a computer readable recording medium. Computer-readable recording media include all kinds of recording devices that store data that can be read by a computer system. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like, which are also implemented in the form of carrier waves (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. In addition, functional programs, codes, and code segments for implementing the present invention can be easily inferred by programmers in the art to which the present invention belongs.

이러한 본원 발명인 방법 및 장치는 이해를 돕기 위하여 도면에 도시된 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 분야에서 통상적 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범 위에 의해 정해져야 할 것이다.Such a method and apparatus of the present invention have been described with reference to the embodiments shown in the drawings for clarity, but these are merely exemplary, and various modifications and equivalent other embodiments are possible to those skilled in the art. Will understand. Therefore, the true technical protection scope of the present invention will be defined by the appended claims.

본 발명에 따르면, 공통정보모델에 대한 오퍼레이션 요청 메시지를 WBEM 표준 방식인 XML 표현 방식 뿐만 아니라, 부복호화 속도가 빠르고, 적은 데이터량을 발생시키는 Fast Infoset 표현 방식을 적용함으로써, 효율적인 메시지 전송을 할 수 있다. 또한 ITU-T 표준인 동시에 ISO/IEC 국제 표준인 Fast Infoset 기술을 채택함으로써, 자칫 제기될 수 있는 호환성의 문제를 동시에 해결할 수 있다.According to the present invention, an efficient message transmission can be carried out by applying the operation request message for the common information model, as well as the XML representation of the WBEM standard, as well as the Fast Infoset representation of the fast decoding and generating a small amount of data. have. In addition, by adopting Fast Infoset technology, an ITU-T standard and an ISO / IEC international standard, it is possible to solve the compatibility problem that may arise.

또한, 시스템 관리의 특성상, 관리 대상 시스템의 자원을 최소한으로만 활용해야 하는 환경에 본 발명이 유리하게 적용될 수 있으며, 시스템 자원을 최소화할 수 있기 때문에, 유비쿼터스 환경과 같이 관리 대상 시스템이 소형화 및 경량화되는 환경에 효과적으로 적용될 수 있다.In addition, the present invention can be advantageously applied to an environment in which the resources of the managed system must be utilized to the minimum, and the system resources can be minimized due to the characteristics of the system management, so that the managed system can be made smaller and lighter, such as a ubiquitous environment. It can be effectively applied to the environment.

Claims (16)

서버에 대한 요청 메시지의 부호화 방식을 상기 요청 메시지의 데이터량, 네트워크의 트래픽 상태 중 적어도 하나를 기초로 XML 부호화 방식 또는 fast Infoset 부호화 방식 중에서 선택하고, 상기 요청 메시지를 상기 선택된 부호화 방식으로 부호화하는 메시지 부호화부;A message that selects an encoding scheme of a request message to a server from an XML encoding scheme or a fast Infoset encoding scheme based on at least one of the data amount of the request message and the traffic state of a network, and encodes the request message using the selected encoding scheme. An encoder; 상기 부호화된 메시지를 HTTP 프로토콜에 따라, HTTP 요청 메시지로 변환하는 HTTP 변환부; 및An HTTP conversion unit for converting the encoded message into an HTTP request message according to the HTTP protocol; And 상기 HTTP 요청 메시지를 상기 서버로 송신하는 서버 연결부를 포함하는 것을 특징으로 하는 웹 기반 시스템 관리 클라이언트.And a server connection unit for transmitting the HTTP request message to the server. 삭제delete 제1항에 있어서,The method of claim 1, 상기 서버 연결부는, 상기 요청 메시지에 대응하는 HTTP 응답 메시지를 상기 서버로부터 수신하고,The server connection unit receives an HTTP response message corresponding to the request message from the server, 상기 HTTP 응답 메시지를 HTTP 프로토콜에 따라, 부호화된 응답메시지로 역변환하는 HTTP 역변환부; 및An HTTP inverse transform unit which inversely converts the HTTP response message into an encoded response message according to an HTTP protocol; And 상기 부호화된 응답 메시지를 상기 요청 메시지의 부호화 방식에 대응하는 복호화 방식으로 복호화하는 메시지 복호화부를 더 포함하는 것을 특징으로 하는 웹 기반 시스템 관리 클라이언트.And a message decoder which decodes the encoded response message by a decoding method corresponding to an encoding method of the request message. 클라이언트로부터 HTTP 요청 메시지를 수신하는 클라이언트 연결부;A client connection unit for receiving an HTTP request message from a client; 상기 수신된 HTTP 요청 메시지를 HTTP 프로토콜에 따라, 부호화된 요청 메시지로 역변환하고, 상기 부호화된 요청 메시지의 부호화 방식을 검출하는 HTTP 역변환부; 및An HTTP inverse transform unit which inversely converts the received HTTP request message into an encoded request message according to an HTTP protocol and detects an encoding scheme of the encoded request message; And 상기 부호화된 요청 메시지를, 상기 검출된 부호화 방식에 대응하는 XML 복호화 또는 fast infoset 복호화 방식으로 복호화하는 메시지 복호화부를 포함하는 것을 특징으로 하는 웹 기반 시스템 관리 서버.And a message decoder which decodes the encoded request message by an XML decoding or a fast infoset decoding method corresponding to the detected encoding method. 제4항에 있어서, 상기 HTTP 역변환부는,The method of claim 4, wherein the HTTP inverse transform unit, 상기 HTTP 프로토콜 헤더의 MIME Type에 대응하는 Contents Type값으로부터 상기 부호화 방식을 검출하는 것을 특징으로 하는 웹 기반 시스템 관리 서버.The web-based system management server, characterized in that for detecting the encoding scheme from the Contents Type value corresponding to the MIME Type of the HTTP protocol header. 제4항에 있어서, 상기 HTTP 역변환부는,The method of claim 4, wherein the HTTP inverse transform unit, 상기 클라이언트의 포트 번호를 이용하여, 상기 부호화 방식을 검출하는 것을 특징으로 하는 웹 기반 시스템 관리 서버.And detecting the encoding scheme by using the port number of the client. 제4항에 있어서, The method of claim 4, wherein 상기 복호화된 요청 메시지에 따라 응답 메시지를 생성하는 CIM 객체 관리부;A CIM object manager generating a response message according to the decrypted request message; 상기 응답 메시지를 상기 검출된 부호화 방식에 따라 부호화하는 메시지 부호화부; 및A message encoder which encodes the response message according to the detected encoding scheme; And 상기 부호화된 응답 메시지를 HTTP 프로토콜에 따라, HTTP 응답 메시지로 변환하는 HTTP 변환부를 더 포함하고,The apparatus further includes an HTTP converter configured to convert the encoded response message into an HTTP response message according to the HTTP protocol. 상기 클라이언트 연결부는, 상기 HTTP 응답 메시지를 상기 클라이언트로 송신하는 것을 특징으로 하는 웹 기반 시스템 관리 서버.The client connection unit, the web-based system management server, characterized in that for transmitting the HTTP response message to the client. 삭제delete 삭제delete (a) 서버에 대한 요청 메시지의 부호화 방식을 상기 요청 메시지의 데이터량, 네트워크의 트래픽 상태 중 적어도 하나를 기초로 XML 부호화 방식 또는 fast Infoset 부호화 방식 중에서 선택하고, 상기 요청 메시지를 상기 선택된 부호화 방식으로 부호화하는 단계;(a) selecting an encoding scheme of a request message to a server from an XML encoding scheme or a fast Infoset encoding scheme based on at least one of a data amount of the request message and a traffic state of a network, and selecting the request message as the selected encoding scheme. Encoding; (b) 상기 부호화된 메시지를 HTTP 프로토콜에 따라, HTTP 요청 메시지로 변환하는 단계; 및(b) converting the encoded message into an HTTP request message according to the HTTP protocol; And (c) 상기 HTTP 요청 메시지를 상기 서버로 송신하는 단계를 포함하는 것을 특징으로 하는 웹 기반 시스템 관리 클라이언트의 요청 방법.and (c) transmitting the HTTP request message to the server. 삭제delete 제10항에 있어서,The method of claim 10, (d) 상기 요청 메시지에 대응하는 HTTP 응답 메시지를 상기 서버로부터 수신하는 단계;(d) receiving an HTTP response message corresponding to the request message from the server; (e) 상기 HTTP 응답 메시지를 HTTP 프로토콜에 따라, 부호화된 응답메시지로 역변환하는 단계; 및(e) inversely converting the HTTP response message into an encoded response message according to the HTTP protocol; And (f) 상기 부호화된 응답 메시지를 상기 요청 메시지의 부호화 방식에 대응하는 복호화 방식으로 복호화하는 단계를 더 포함하는 것을 특징으로 하는 웹 기반 시스템 관리 클라이언트의 요청 방법.and (f) decoding the encoded response message by a decoding scheme corresponding to the encoding scheme of the request message. (a) 클라이언트로부터 HTTP 요청 메시지를 수신하는 단계;(a) receiving an HTTP request message from a client; (b) 상기 수신된 HTTP 요청 메시지를 HTTP 프로토콜에 따라, 부호화된 요청 메시지로 역변환하고, 상기 부호화된 요청 메시지의 부호화 방식을 검출하는 단계; 및(b) inversely converting the received HTTP request message into an encoded request message according to an HTTP protocol and detecting an encoding scheme of the encoded request message; And (c)상기 부호화된 요청 메시지를, 상기 검출된 부호화 방식에 대응하는 XML 복호화 또는 fast infoset 복호화 방식으로 복호화하는 메시지 복호화부를 포함하는 것을 특징으로 하는 웹 기반 시스템 관리 서버의 응답 방법.and (c) a message decoder which decodes the encoded request message by an XML decoding or a fast infoset decoding method corresponding to the detected encoding method. 제13항에 있어서, 상기 (b) 단계는,The method of claim 13, wherein step (b) comprises: 상기 HTTP 프로토콜 헤더의 MIME Type에 대응하는 Contents Type값으로부터 상기 부호화 방식을 검출하는 것을 특징으로 하는 웹 기반 시스템 관리 서버의 응답 방법.And the encoding method is detected from a contents type value corresponding to the MIME type of the HTTP protocol header. 제13항에 있어서, 상기 (b) 단계는,The method of claim 13, wherein step (b) comprises: 상기 클라이언트의 포트 번호를 이용하여, 상기 부호화 방식을 검출하는 것을 특징으로 하는 웹 기반 시스템 관리 서버의 응답 방법.Response method of the web-based system management server, characterized in that for detecting the encoding scheme using the port number of the client. 제13항에 있어서, The method of claim 13, (d) 상기 복호화된 요청 메시지에 따라 응답 메시지를 생성하는 단계;(d) generating a response message according to the decrypted request message; (e) 상기 응답 메시지를 상기 검출된 부호화 방식에 따라 부호화하는 단계; (e) encoding the response message according to the detected encoding scheme; (f) 상기 부호화된 응답 메시지를 HTTP 프로토콜에 따라, HTTP 응답 메시지로 변환하는 단계; 및(f) converting the encoded response message into an HTTP response message according to the HTTP protocol; And (g) 상기 HTTP 응답 메시지를 상기 클라이언트로 송신하는 단계를 포함하는 것을 특징으로 하는 웹 기반 시스템 관리 서버의 응답 방법.(g) transmitting the HTTP response message to the client.
KR1020050110184A 2005-11-17 2005-11-17 Web-based enterprise management client, server, system and the method thereof KR100753817B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050110184A KR100753817B1 (en) 2005-11-17 2005-11-17 Web-based enterprise management client, server, system and the method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050110184A KR100753817B1 (en) 2005-11-17 2005-11-17 Web-based enterprise management client, server, system and the method thereof

Publications (2)

Publication Number Publication Date
KR20070052491A KR20070052491A (en) 2007-05-22
KR100753817B1 true KR100753817B1 (en) 2007-08-31

Family

ID=38275134

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050110184A KR100753817B1 (en) 2005-11-17 2005-11-17 Web-based enterprise management client, server, system and the method thereof

Country Status (1)

Country Link
KR (1) KR100753817B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101696500B1 (en) * 2012-12-12 2017-01-13 한국전자통신연구원 Data interworking gateway structure based on cim

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050003501A (en) * 2003-06-27 2005-01-12 가림정보기술(주) The converting system for abstracting snmp operation into xml operation and the method therefor, and computer program product using the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050003501A (en) * 2003-06-27 2005-01-12 가림정보기술(주) The converting system for abstracting snmp operation into xml operation and the method therefor, and computer program product using the same

Also Published As

Publication number Publication date
KR20070052491A (en) 2007-05-22

Similar Documents

Publication Publication Date Title
CN111600909A (en) Data processing method, device, protocol conversion equipment and storage medium
US9191347B2 (en) Methods of routing messages using a listener registry
JP4681968B2 (en) Service request apparatus, service request method, service request program, and recording medium
US7512691B2 (en) Message request response server and processor
JP4925960B2 (en) Method, apparatus, and machine-readable medium for processing a data processing request of a multifunction machine
JP2008524879A (en) File transmission method, system, virtual printer apparatus and restoration apparatus in network
WO2011150818A1 (en) Common message header bearer method and device for converting simple object access protocol application programming interface (soap api) into representional state transfer application programming interface (rest api)
US20110131584A1 (en) The method and apparatus for the resource sharing between user devices in computer network
TWI275007B (en) Font data processing system and method
US7292160B1 (en) Context sensitive encoding and decoding
KR100833494B1 (en) Apparatus for lightweighting application through duplicating management of application in environment of OSGi middleware for embedded terminal and method thereof
KR100753817B1 (en) Web-based enterprise management client, server, system and the method thereof
US20070239911A1 (en) Implementing device support in a web-based enterprise application
US20070002739A1 (en) Data processing method, program, device, message structure, message generation method, and message transmission method
US7860987B2 (en) Apparatus for providing service in response to user request and method therefor
JP5091003B2 (en) Information processing system, information processing method, program, and recording medium
WO2014146248A1 (en) Video transmission method, device, and system applied to remote desktop
CN111629014B (en) Request agent implementation method, implementation device, server and storage medium
KR100463823B1 (en) SOAP based gateway for connecting regacy system and content provider, and protocol changing method using thereof
KR102181608B1 (en) Apparatus for federated authentication and method thereof
Park et al. A method for representing and transporting CIM operations using Binary XML in the WBEM architecture
CN110247841B (en) Information sending method and device, service server and storage medium
KR100395501B1 (en) Apparatus and method of interface between SDL system and CORBA
JP4447373B2 (en) Data exchange computer
KR100660057B1 (en) Storing and restoring method of binary xml using fast infoset

Legal Events

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

Payment date: 20100802

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee