[go: up one dir, main page]

KR20100045656A - A method of interoperability between dpws and web services - Google Patents

A method of interoperability between dpws and web services Download PDF

Info

Publication number
KR20100045656A
KR20100045656A KR1020080104696A KR20080104696A KR20100045656A KR 20100045656 A KR20100045656 A KR 20100045656A KR 1020080104696 A KR1020080104696 A KR 1020080104696A KR 20080104696 A KR20080104696 A KR 20080104696A KR 20100045656 A KR20100045656 A KR 20100045656A
Authority
KR
South Korea
Prior art keywords
service
information
genie
lookup
adapter
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
KR1020080104696A
Other languages
Korean (ko)
Other versions
KR101006924B1 (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 KR1020080104696A priority Critical patent/KR101006924B1/en
Publication of KR20100045656A publication Critical patent/KR20100045656A/en
Application granted granted Critical
Publication of KR101006924B1 publication Critical patent/KR101006924B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Automation & Control Theory (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

본 발명은 유비쿼터스 환경에서 Jini 서비스와 웹서비스간의 연동을 위한 장치 및 상기 장치를 이용한 Jini 서비스와 웹서비스간의 연동방법에 관한 것으로서, 더욱 상세하게는 룩업서비스, 어댑터, 등록 에이전트, 질의 에이전트, 디바이스/서비스 레지스트리, 컨텍스트 레지스트리 및 UDDI를 포함하는 Jini 서비스와 웹서비스간의 연동을 위한 장치 및 그 장치를 이용한 연동방법에 관한 것이다.The present invention relates to a device for interworking between a Jini service and a web service in a ubiquitous environment, and a method for interworking between a Jini service and a web service using the device. More specifically, a lookup service, an adapter, a registration agent, a query agent, and a device / An apparatus for interworking between a Jini service and a web service including a service registry, a context registry, and UDDI, and an interworking method using the device.

본 발명에 의하면, 웹서비스 사용자는 지니 서비스를 발견 및 사용할 수 있게 되고, 지니 시스템 사용자도 웹서비스를 발견 및 사용할 수 있게 되므로, 결국 모든 사용자가 유비쿼터스 환경의 모든 서비스를 발견하고 사용할 수 있게 된다.According to the present invention, the web service user can discover and use the Genie service, and the user of the Genie system can also find and use the Web service, so that all users can discover and use all the services of the ubiquitous environment.

Description

Jini서비스와 웹서비스간의 연동을 위한 장치 및 방법{A Method of Interoperability between DPWS and Web Services }Apparatus and method for interworking between Web services and web services {A Method of Interoperability between DPS and Web Services}

본 발명은 유비쿼터스 환경에서 Jini 서비스와 웹서비스간의 연동을 위한 장치 및 상기 장치를 이용한 Jini 서비스와 웹서비스간의 연동방법에 관한 것이다.The present invention relates to a device for interworking between a Jini service and a web service in a ubiquitous environment, and a method for interworking between a Jini service and a web service using the device.

컴퓨팅 및 네트워크의 발전은 정보가전의 기능을 다양화하고 지능화를 촉진시키고 있다. 이러한 정보가전의 발전으로 유비쿼터스에 대한 관심이 증가하고 있다. 유비쿼터스는 언제, 어디서든, 어떤 네트워크에 있는 어떤 디바이스의 어떤 서비스도 이용 가능하도록 지원하는 환경이다(M. Satyanarayanan. Pervasive Computing: Vision and Challenges. IEEE Personal Communications, pp.10-17, 2001). 유비쿼터스 환경을 실현하기 위하여 서비스 동적 발견 및 바인딩을 제공하는 다양한 서비스 디스커버리 미들웨어(Jini(Sun Microsystems. Jini Architecture Specification. http://www.sun.com/jini/), DPWS(Hendrik Bohn, "SIRENA - Service Infrastructure for Real-time Embedded Networked Devices: A service oriented framework for different domains" , 2006), Havi(The Havi Organization, Havi Version 1.1 Specific ation. http://www.havi.org) 등)들이 개발되었다. 본 문서에서는 서비스 디스커버리 미들웨어를 서브네트워크라 칭한다. 하지만 이러한 서브네트워크들은 하기 표 1과 같이 서비스 기술방식, 통신방식, 시스템 기술 언어에서 차이점을 갖는다. 각각의 서브네트워크는 각각 서비스를 사용하기 위하여 필요한 정보를 자바 클래스, WSDL, 구조체를 이용하여 서비스를 기술하고 있다. 그리고 자바의 통신방식은 RMI, HTTP기반의 SOAP메시지, 무선통신 기반인 IEEE1394를 이용하여 각각 통신을 하고 있으며, Jini와 Havi는 자바를 이용하여 구현을 하고 있으며, DPWS는 C++ 및 자바를 이용하여 구현이 가능하다.Advances in computing and networks are diversifying and facilitating intelligence in information appliances. The development of information appliances is increasing interest in ubiquitous. Ubiquitous is an environment that supports any service of any device on any network anytime, anywhere (M. Satyanarayanan.Pervasive Computing: Vision and Challenges. IEEE Personal Communications, pp.10-17, 2001). Various service discovery middleware (Jini (Sun Microsystems. Jini Architecture Specification. Http://www.sun.com/jini/), DPWS (Hendrik Bohn, "SIRENA-) which provides service dynamic discovery and binding to realize ubiquitous environment. Service Infrastructure for Real-time Embedded Networked Devices: A service oriented framework for different domains ", 2006), and Havi (The Havi Organization, Havi Version 1.1 Specific ation. Http://www.havi.org). In this document, the service discovery middleware is called a subnetwork. However, these subnetworks have a difference in service description method, communication method, and system description language as shown in Table 1 below. Each subnetwork describes a service using Java classes, WSDL, and structures, each of which contains the information needed to use the service. In addition, Java communication method uses RMI, HTTP based SOAP message, and wireless communication based IEEE1394. Jini and Havi are implemented using Java, and DPWS is implemented using C ++ and Java. This is possible.

Figure 112008073936897-PAT00001
Figure 112008073936897-PAT00001

이와 같은 다양한 서브네트워크 간의 상호운용을 해결함으로써 진정한 유비쿼터스를 이룰 수 있게 된다.By solving the interoperability between these various subnetworks, it becomes possible to achieve true ubiquitous.

서브네트워크의 상호운용을 위한 방식으로는 서브네트워크 간의 개별 브릿지 방식과 통합 미들웨어 구조 기반 방식이 있다.Methods for interoperation of subnetworks include individual bridges between subnetworks and an integrated middleware architecture-based approach.

서브네트워크 간의 브릿지 연동 방식은 이기종 서브 네트워크들을 연동하기 위한 서브네트워크간 1:1브릿지 방식으로 상호 운용을 해결하는 방식이다. 지니 시스템에서 이질 서브네트워크과의 상호운용을 각각 브릿지를 생성을 해야한다. 이 방식은 두 서브네트워크간의 연동은 용이한 반면, 다양한 서브네트워크간의 연동을 해결하지는 못하였다. 새로운 서브네트워크가 등장하게 되면 현재 존재하는 서브네트워크에 대하여 n(n-1)만큼의 브릿지를 생성해야한다. n은 현재 존재하는 서브네트워크의 수를 나타낸다. 새로운 서브네트워크의 등장은 브릿지의 개수도 증가할 뿐만 아니라 연결에 있어서 복잡성을 갖게 되며, 서브 네트워크간의 연결을 위해 일관된 방법을 제시하지 못하고 있으며, 확장성에도 문제가 있다.The bridge interworking method between subnetworks is a method for solving interoperability by using a 1: 1 bridge between subnetworks for interworking heterogeneous subnetworks. In Genie systems, you must create bridges for interoperation with heterogeneous subnetworks. While this method facilitates interworking between two subnetworks, it does not solve the interworking between various subnetworks. When a new subnetwork appears, it is necessary to create n (n-1) bridges for the existing subnetwork. n represents the number of currently existing subnetwork. The emergence of new sub-networks not only increases the number of bridges, but also introduces complexity in connection, and does not provide a consistent method for connecting between sub-networks, and also has scalability problems.

통합 미들웨어 방식은 하나의 추상화된 공통 계층을 통하여 각 서브네트워크들을 연결하는 구조를 가지고 있다. 이러한 구조는 새로운 미들웨어가 출현하더라도 해당 어댑터만 구현되면 쉽게 다른 서브 네트워크들과 통합될 수 있다. Integrated middleware has a structure that connects each subnetwork through an abstracted common layer. This architecture can be easily integrated with other sub-networks even if new middleware emerges, as long as the adapter is implemented.

지니 시스템은 자바를 기반으로 다양한 방식으로 네트워크에 접속되어 있는 지능형 기기들이나 소프트웨어들이 동적으로 상호 작용을 할 수 있는 기술로서, 도 1에 도시된 바와 같은 구조를 갖는다.The Genie system is a technology in which intelligent devices or software that are connected to a network in various ways based on Java can dynamically interact, and have a structure as shown in FIG. 1.

지니 서비스는 플록시(Proxy)에 서비스를 검색하고 사용하기 위한 정보를 담아 룩업서비스(Lookup Service)에 등록한다. 룩업서비스는 서비스와 사용자 간의 브로커 역할을 담당한다. 그리고 지니 시스템은 RMI를 이용하여 서로 간에 통신을 한다.The Genie service registers a lookup service with information to search and use the service on the proxy. Lookup service acts as broker between service and user. The Genie system communicates with each other using RMI.

지니 시스템은 플록시에 서비스 아이디(ServiceID), 서비스 인터페이스 오브젝트(Service Interface Object), 어트리뷰트세트(AttributeSets)정보를 제공한다. 어트리뷰트세트에는 서비스에 대한 추가 정보로, 주소, 위치, 서비스 설명, 서비스 상태 정보관련 정보를 담게 된다. 그리고 지니 시스템은 그룹정보를 활용함으로써 서비스에 대한 이용제한을 하기위한 방법으로 활용한다. 모든 사용자가 사용가능한 서비스는 'Publish'의 그룹에 속하게 되며, 그룹정보는 관리자에 의해서 등록, 삭제, 변경 될 수 있다. 관리자에 의해서 등록된 그룹은 그룹에 속한 클라이언트만이 사용이 가능하다.The Genie system provides the proxy with ServiceID, Service Interface Object, and AttributeSets information. The attribute set contains additional information about the service, including information about the address, location, service description, and service status information. In addition, the Genie system uses group information as a way to limit the use of services. Services available to all users belong to 'Publish' group, and group information can be registered, deleted and changed by administrator. A group registered by an administrator can only be used by clients belonging to the group.

지니 시스템은 룩업서비스의 서비스레지스터럴(ServiceRegistrar)에 이벤트 정보를 저장하게 된다. 저장된 이벤트 정보는 다음 표 2에 나타낸 바와 같은 세 가지 범주로 되어 있다.The Genie system stores the event information in the ServiceRegistrar of the lookup service. Stored event information is divided into three categories as shown in Table 2 below.

Figure 112008073936897-PAT00002
Figure 112008073936897-PAT00002

지니 클라이언트는 서비스레지스터럴에 저장된 이벤트를 위의 세 가지 범주를 이용하여 지니 서비스와 관련한 이벤트를 처리할 수 있다.The Genie client can process events related to the Genie service using the above three categories of events stored in the service register.

지니 시스템은 서비스를 기술함에 있어서 자바 클래스를 이용하여 기술하고 RMI를 통하여 서비스를 발견하고 사용하게 된다. 반면에, 웹서비스는 WSDL을 이용하여 서비스를 기술하고 SOAP메시지를 기반으로 서비스를 발견하고 사용하는 형태를 갖는다. 따라서 이러한 지니 시스템과 웹서비스 간의 차이로 인하여 서로간의 서비스를 사용할 수 없다. The Genie system uses Java classes to describe services and discovers and uses them through RMI. Web services, on the other hand, use WSDL to describe services and to discover and use services based on SOAP messages. Therefore, due to the difference between the Genie system and the web service, you cannot use each other's services.

지니와 웹서비스 사용자가 서비스를 발견하고 사용하기 위해서 GOAL(General brOkering Architecture Layer)과 같은 기법이 고안된 바 있다. Techniques such as GOAL (General brOkering Architecture Layer) have been devised for Genie and Web service users to discover and use services.

GOAL은 웹서비스를 지니 서비스로 변환하여 룩업서비스에 등록하고, 지니 서비스를 웹서비스로 변환하여 UDDI에 등록한다. GOAL은 웹서비스를 UDDI에 등록하고 동일 웹서비스에 대하여 지니 서비스로 변환을 하여 룩업서비스에도 등록한다. 지니 서비스는 룩업 서비스에 등록될 뿐만 아니라 웹서비스로 변환이 되어 UDDI에도 등록된다. 이렇게 각각 등록된 서비스에 대하여 웹서비스 클라이언트는 UDDI를 검색을 하여 웹서비스 및 지니 서비스를 사용하게 되며, 지니 클라이언트는 룩업서비스를 통하여 웹서비스 및 지니 서비스를 검색하고 사용할 수 있게 된다.GOAL converts a web service into a Genie service and registers it with a lookup service. GOAL converts a Web service into a Web service and registers it with UDDI. GOAL registers a web service with UDDI, converts it to a Genie service, and registers it with the lookup service. The Genie service is not only registered with the lookup service but also converted into a web service and registered with UDDI. For each registered service, the web service client searches the UDDI to use the web service and the genie service, and the genie client can search and use the web service and the genie service through the lookup service.

하지만 GOAL은 이벤트 정보를 활용할 수 없는 구조이므로, 웹서비스 클라이언트가 지니 서비스를 사용함에 있어서 지니 서비스가 현재 사용가능한가를 판단할 수 없으며, 서비스의 현재 위치를 고려하지 않음으로써 클라이언트의 위치에서 사용가능한 서비스 검색이 불가능하다. 지니 클라이언트가 웹서비스를 사용함에 있어서도 새롭게 등장한 서비스에 대하여 검색이 불가능하다. However, since GOAL cannot use event information, it is not possible to determine whether the Genie service is currently available when the Web service client uses the Genie service, and it does not consider the current location of the service. Search is not possible. Even when the Genie client uses the web service, it is impossible to search for the newly emerged service.

또한 GOAL은 모든 웹서비스를 지니 서비스로 1 대 1 변환을 함으로써 지니 서비스를 저장하기 위하여 대용량의 룩업서비스를 필요로 한다. 그리고 룩업서비스가 재부팅되는 경우 등록되어 있던 모든 정보가 사라지게 됨으로써, 지니 서비스를 재등록시키고, 웹서비스에 대하여 다시 지니 서비스로 변환 및 등록이 이루어져야하는 단점이 있다. In addition, GOAL needs a large-scale lookup service to store Genie services by converting all web services into Genie services one-to-one. In addition, when the lookup service is rebooted, all registered information disappears, thus re-registering the Genie service and converting and registering the Genie service again for the Web service.

본 발명은 유비쿼터스 환경에서 Jini 기반의 서비스와 웹서비스를 연동하여 사용할 수 있게 하는 장치 및 그를 이용한 연동방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a device and an interworking method using the same Jini-based services and web services in the ubiquitous environment.

전술한 과제를 해결하기 위한 본 발명은, 유비쿼터스 환경에서 서브네트워크의 서비스 동적 상태 반영을 위한 장치 및 방법을 제공한다.The present invention for solving the above problems, an apparatus and method for reflecting the service dynamic state of the sub-network in the ubiquitous environment.

(1) Jini 서비스와 웹서비스간의 연동을 위한 장치(1) Device for interworking between Jini service and web service

본 발명은, 룩업서비스, 어댑터, 등록 에이전트, 질의 에이전트, 디바이스/서비스 레지스트리, 컨텍스트 레지스트리 및 UDDI를 포함하는 것으로서, (A) 상기 룩업서비스는, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여, 이들의 메타데이터 정보 및 이벤트 정보를 저장하며; (B) 상기 어댑터는, ① 상기 룩업서비스에 지니 서비스와 관련한 소스파일을 요청하여 전달받아 이를 등록 에이전트에 전달하고 ② 지니 서비스에 대한 웹서비스를 생성하고, 생성된 웹서비스의 서비스 정보를 등록 에이전트로 전달하며; (C) 상기 등록 에이전트는, 상기 어댑터로부터 전달받은 소스파일 중에서 지니 서비스의 명세 정보와 동적상태 정보를 각각 상기 UDDI, 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 등록하며; (E) 상기 질의 에이전트는, 상기 룩업서비스에 의해 저장된 서비스가 상기 디바이스/서비스 레지스트리와 컨텍스트 레지스트리에 이미 등록이 되어 있는 상태인가를 파악하여 그 정보를 상기 어댑터로 전달하는(이미 등록되어 있는 서비스의 중복등록을 방지); Jini 서비스와 웹서비스간의 연동을 위한 장치에 관한 것이다.The present invention includes a lookup service, an adapter, a registration agent, a query agent, a device / service registry, a context registry, and a UDDI, wherein (A) the lookup service searches for Jini devices and services existing in a network, Stores metadata information and event information of the; (B) The adapter, ① requests the source file associated with the Genie service to the lookup service, receives and delivers it to the registration agent, ② generates a web service for the Genie service, and registers the service information of the generated web service as a registration agent. To; (C) the registration agent registers specification information and dynamic state information of the Genie service among the source files received from the adapter in the UDDI, device / service registry, and context registry, respectively; (E) The query agent determines whether the service stored by the lookup service is already registered in the device / service registry and the context registry, and transmits the information to the adapter (the service of the already registered service). Prevent duplicate registration); A device for interworking between a Jini service and a web service.

(2) 서비스 동적 상태 반영을 위한 방법(2) Method for reflecting service dynamic status

또한 본 발명은 상기 장치를 이용한 것으로서, 각각 다음과 같은 단계로 이루어지는 훅업 과정, 지니 서비스 등장 과정, 서비스 상태정보 변경 과정, 서비스 기술정보 변경 과정, 서비스 그룹정보 등록 과정, 서비스 그룹정보 삭제 과정, 룩업서비스 퇴장 과정 및 지니 서비스 퇴장 과정을 포함하는 Jini 서비스와 웹서비스간의 연동방법에 관한 것이다.In addition, the present invention uses the above device, the hook-up process, genie service appearance process, service state information change process, service technology information change process, service group information registration process, service group information deletion process, lookup each consisting of It relates to the interworking method between Jini service and web service including service exit process and Genie service exit process.

(A) 훅업 (Hook-up) 과정 : ⓐ 상기 룩업서비스가, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여 이들의 메타데이터 정보 및 이벤트 정보를 저장하는 단계 ⓑ 상기 어댑터가, 룩업서비스를 검색하여 룩업서비스에 등록된 Jini 디바이스 또는 서비스에 대한 정보를 획득하는 단계 ⓒ 상기 어댑터가, 검색된 Jini 서비스들을 웹서비스로 변환하여 하고, 생성된 웹서비스의 정보 및 상기 검색된 Jini 디바이스 또는 서비스의 메타 정보를 등록 에이전트로 전송하는 단계 ⓓ 등록 에이전트가 상기 메타 정보를 각각 UDDI, 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 등록하는 단계. (A) Hook-up process: ⓐ the lookup service searches for Jini devices and services existing in the network and stores their metadata information and event information ⓑ The adapter searches for a lookup service Acquiring information about the Jini device or service registered in the lookup service. The adapter converts the retrieved Jini services into a web service, and registers the generated web service information and the meta information of the retrieved Jini device or service. Step of sending to the agent, the registration agent registers the meta information in the UDDI, device / service registry and context registry, respectively.

(B) 지니 서비스 등장 과정 : ⓐ 상기 룩업서비스가, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여 이들의 메타데이터 정보 및 이벤트 정보를 저장하는 단계 ⓑ 새로운 서비스가 등장하여 이벤트가 발생하면, 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계 ⓒ 상기 어댑터가 질의 에이전트를 통해, 상기 이벤트가 발생한 서비스가 이미 등록되어 있는 것인지를 확인하는 단계 ⓓ 이미 등록되어 있는 서비스라면, 상기 컨텍스트 레지스트리에서 해당 서비스에 대를 "사용가능" 상태로 전환하는 단계 ⓔ 신규 서비스일 경우, 상기 어댑터가, 룩업서비스로부터 상기 서비스에 대한 정보를 요청하고 획득하는 단계 ⓕ 상기 서비스에 대한 가상 웹서비스를 생성하여, 생성된 웹서비스의 서비스 정보 및 관련 메타 정보를 등록 에이전트로 전송하는 단계 ⓖ 상기 등록 에이전트가 상기 메타 정보를 각각 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 등록하는 단계. (B) Genie service appearance process: ⓐ the lookup service to search for Jini devices and services existing in the network and to store their metadata information and event information ⓑ When a new service appears and the event occurs, the lookup The service transmits the event information to the adapter. The adapter checks whether the service in which the event occurs is already registered through the query agent. Step of transitioning the stand to the "available" state In the case of a new service, the adapter, requesting and obtaining information about the service from the lookup service ⓕ create a virtual web service for the service, the generated web Agencies to register service information and related meta information of services Step ⓖ the registration step in which the agent registers the meta information on each device / service registry and the registry context to be transmitted to.

(C) 서비스 상태정보 변경 과정 : ⓐ 상기 룩업서비스가, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여 상태정보 변경 이벤트가 발생한 디바이스 또는 서비스의 정보를 저장하는 단계 ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계 ⓒ 이벤트 정보를 등록 에이전트로 전송하여, 상기 등록 에이전트가 상기 디바이스/서비스 레지스트리에 저장된 상기 이벤트가 발생한 서비스에 대한 상태정보를 변경 등록하는 단계. (C) Service state information change process: ⓐ the lookup service searches for Jini devices and services existing in the network and stores the information of the device or service in which the state information change event occurred ⓑ the lookup service recalls the event information Transmitting the event information to the registration agent to the adapter, the registration agent to change the status information for the service in which the event occurred stored in the device / service registry.

(D) 서비스 기술정보 변경 과정 : ⓐ 상기 룩업서비스가, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여 기술정보 변경 이벤트가 발생한 정보를 저장하는 단계 ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계 ⓒ 상기 어댑터가 이벤트 정보를 등록 에이전트로 전송하여, 상기 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 저장된 상기 이벤트가 발생한 서비스의 기술정보를 변경 등록하는 단계. (D) Service technology information change process: ⓐ the lookup service to search for the Jini device and service existing in the network and to store the information of the technology information change event occurs ⓑ the lookup service to deliver the event information to the adapter Step © The adapter transmits the event information to the registration agent, to change the registration information of the service that the event occurred stored in the device / service registry and the context registry.

(E) 서비스 그룹정보 등록 과정 : ⓐ 상기 룩업서비스가, 새로운 지니 서비스 그룹을 입력받는 단계 ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계 ⓒ 상기 질의 에이전트가, 상기 이벤트가 발생한 서비스가 이미 등록되어 있는 것인지를 확인하는 단계 ⓓ 이미 등록되어 있는 서비스라면, 상기 컨텍스트 레지스트리에서 해당 서비스에 대를 "사용가능" 상태로 전환하는 단계 ⓔ 신규 서비스라면, 상기 어댑터가, 룩업서비스로부터 상기 서비스에 대한 정보를 요청하고 획득한 후, 상기 서비스에 대한 가상 웹서비스를 생성하여 생성된 웹서비스의 서비스 정보 및 관련 메타 정보를 등록 에이전트로 전송하는 단계 ⓕ 상기 등록 에이전트가 상기 메타 정보를 각각 UDDI, 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 등록하는 단계. (E) Service group information registration process: ⓐ the lookup service receives a new Genie service group ⓑ the lookup service delivers event information to the adapter © the query agent, the service where the event has already occurred Step of confirming whether the service is already registered. Ⓓ If the service is already registered, transitioning the service to the "available" state for the service in the context registry. After requesting and acquiring the information, generating a virtual web service for the service and transmitting the generated service information and related meta information to the registration agent. The registration agent transmits the meta information to the UDDI, device / Registering in the service registry and context registry .

(F) 서비스 그룹정보 삭제 과정 : ⓐ 상기 룩업서비스가, 지니 서비스 그룹을 삭제하는 정보를 입력받는 단계 ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계 ⓒ 이벤트 정보를 등록 에이전트로 전송하면, 상기 등록 에이전트가 상기 디바이스/서비스 레지스트리에 저장된 상기 이벤트가 발생한 서비스 그룹에 대한 상태정보를 변경 등록하는 단계. (F) process of deleting service group information: ⓐ step of receiving, by the lookup service, information for deleting the genie service group ⓑ the step of delivering the event information to the adapter ⓒ when the lookup service transmits event information to the registration agent, And registering, by the registration agent, state information on a service group in which the event occurred, stored in the device / service registry.

(G) 룩업서비스 퇴장 과정 : ⓐ 상기 룩업서비스가, 룩업서비스에 등록된 모든 지니 디바이스에 대한 룩업서비스 기능을 중단하는 단계 ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계 ⓒ 이벤트 정보를 등록 에이전트로 전송하면, 상기 등록 에이전트가 상기 디바이스/서비스 레지스트리에 저장된 상기 이벤트가 발생한 모든 지니 디바이스에 대한 상태정보를 변경 등록하는 단계. (G) Step of exiting lookup service: ⓐ the lookup service stops the lookup service function for all Genie devices registered in the lookup service ⓑ the lookup service delivers event information to the adapter © registers event information Transmitting, by the registration agent, the status information of all Genie devices in which the event is stored in the device / service registry.

(G) 지니 서비스 퇴장 과정 : ⓐ 상기 룩업서비스가, 소정의 시간간격으로 Jini 디바이스들에게 서비스 가능여부를 문의하는 단계 ⓑ 상기 서비스 가능여부 문의에 대한 응답이 소정의 시간동안 회신되지 않거나, 연결종료(Bye) 메시지가 있는 디바이스에 대하여, 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계 ⓒ 상기 어댑터가 상기 이벤트 정보를 등록 에이전트에 전달하면, 상기 등록 에이전트가 디바이스/서비스 레지스트리에 등록된 상기 디바이스에 대한 상태정보를 "사용 불가능" 상태로 변경 및 등록하는 단계. (G) Genie service exit process: ⓐ the look-up service, inquiries Jini devices whether the service availability at a predetermined time interval ⓑ The response to the service availability query is not returned for a predetermined time, or the connection is terminated (Bye) for the device having the message, the lookup service delivers event information to the adapter. When the adapter delivers the event information to a registration agent, the registration agent is registered in the device / service registry. Changing and registering the status information for the "unavailable" status.

본 발명에 의하면, 통합미들웨어 방식으로 Web Services on Universal Networks(WSUN)을 기반으로 지니 어댑터를 이용하여 Jini와 웹서비스간의 상호운용이 가능하게 된다. 따라서 웹서비스 사용자는 지니 서비스를 발견 및 사용할 수 있게 되고, 지니 시스템 사용자도 웹서비스를 발견 및 사용할 수 있게 되므로, 결국 모든 사용자가 유비쿼터스 환경의 모든 서비스를 발견하고 사용할 수 있게 된다.According to the present invention, interoperability between Jini and web services is possible by using a Genie adapter based on Web Services on Universal Networks (WSUN) as an integrated middleware method. Therefore, Web service users can discover and use Gini services, and Gini system users can discover and use Web services, so that all users can discover and use all services in the ubiquitous environment.

보다 구체적으로, 본 발명에 의하여 웹서비스 클라이언트가 서비스를 검색하고 사용하기 위한 방법과 지니 클라이언트가 웹서비스를 발견하고 사용할 수 있게 되므로 각각 다음과 같은 장점을 갖는다.More specifically, according to the present invention, a method for a web service client to search for and use a service and a Genie client to discover and use a web service have the following advantages.

(1) 웹서비스 클라이언트의 지니 서비스 검색 및 사용에서, 웹서비스 클라이언트는 서비스 상태 정보를 활용하여 현재 사용가능한 서비스를 목록을 받을 수 있으며, 또한 서비스의 위치를 제공받음으로써 서비스의 사용면에서 근접한 서비스의 활용이 가능하게 된다.(1) In Genie service search and use of web service clients, web service clients can use the service status information to receive a list of currently available services, and by providing the location of services, the service is close in terms of service usage. Can be used.

(2) 지니 클라이언트의 웹서비스 검색 및 사용에서, Generic 웹서비스를 활용함으로써 웹서비스를 지니서비스로 변환이 불필요하며, 룩업 서비스의 디바이스가 소량화가 가능하고, 나아가 UDDI를 직접 검색함으로써, 새롭게 등장한 웹서비스의 검색 및 사용이 가능하게 된다. (2) In the search and use of web services of Genie clients, it is unnecessary to convert web services to Genie services by utilizing Generic web services, and the device of lookup service can be reduced in size, and further newly appeared web by directly searching UDDI. It is possible to search for and use the service.

이하 첨부된 도면을 참조하여 본 발명에서의 각 구성요소들의 구조와 작용, 본 발명에 의한 장치/방법을 활용한 유비쿼터스 환경하에서의 디바이스/서비스 검색 및 이용방법을 보다 상세히 설명한다. 그러나 이러한 시도는 본 발명의 기술적 사상의 내용과 범위를 쉽게 설명하기 위한 예시일 뿐, 이에 의해 본 발명의 기술적 범위가 한정되거나 변경되는 것은 아니다. 또한 이러한 예시에 기초하여 본 발명의 기술적 사상의 범위 안에서 다양한 변형과 변경이 가능함은 당업자에게는 당연할 것이다. Hereinafter, with reference to the accompanying drawings will be described in more detail the structure and operation of the components in the present invention, device / service search and use method in the ubiquitous environment utilizing the device / method according to the present invention. However, this attempt is only an example for easily explaining the content and scope of the technical idea of the present invention, and thus the technical scope of the present invention is not limited or changed. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the technical idea of the present invention based on these examples.

이하에서 상기 어댑터는 '어댑터' 또는 '지니 어댑터'로 표현한다.Hereinafter, the adapter is referred to as ' adapter ' or ' genie adapter '.

본 발명은, 룩업서비스, 어댑터, 등록 에이전트, 질의 에이전트, 디바이스/서비스 레지스트리, 컨텍스트 레지스트리 및 UDDI를 이용하여 Jini 서비스와 웹서비스간의 연동을 하기 위한 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and a method for interworking a Jini service and a web service using a lookup service, an adapter, a registration agent, a query agent, a device / service registry, a context registry, and a UDDI.

본 발명의 설명에서, '메타데이터'는 디바이스의 위치나 서비스 종류에 관한 정보이며, '이벤트 정보'는 서비스의 등장 또는 퇴장에 관한 정보를 의미한다.In the description of the present invention, 'metadata' refers to information regarding a location or a service type of a device, and 'event information' refers to information regarding the appearance or exit of a service.

본 발명에서 지니 어댑터는 지니 클라이언트, 룩업서비스, 웹서비스 클라이언트를 확장하여 이벤트 처리, 서비스 검색, 웹서비스 생성, 웹서비스 검색, 메시지 변환 기능을 담당한다. In the present invention, the Genie adapter extends the Genie client, the lookup service, and the web service client to perform event processing, service search, web service generation, web service search, and message conversion functions.

본 발명에 의한 장치에 의하면, 지니 클라이언트를 이용하여 지니 서비스 검색 및 이벤트 처리를 하게 되며, 룩업서비스를 확장하여 웹서비스를 검색하는 기능을 담당한다. 그리고 웹서비스를 사용하기 위하여 웹서비스 클라이언트 기능을 활용하게 된다. 그리고 추가적으로 메시지 및 프로토콜의 차이를 해결하기 위하여 메시지 변환 기능을 갖게 된다(도 3 참조).According to the apparatus of the present invention, the Genie service is searched and processed by the Genie client, and the lookup service is extended to search for a web service. And to use web service, we use web service client function. In addition, it has a message conversion function to solve the difference between the message and the protocol (see Fig. 3).

본 발명에 의한 장치의 예시적 구조를 보여주는 블록도(A)와, 본 발명에 의한 장치와 방법에 있어서, 어댑터와 룩업서비스, UDDI, 웹서비스 및 지니서비스 사이의 상호관계를 도 4에 예시적으로 도시하였다.A block diagram (A) showing an exemplary structure of a device according to the invention and the interrelationships between the adapter and lookup service, UDDI, web service and genie service in the device and method according to the invention are illustrated in FIG. As shown.

본 발명에 의하면, 지니 서비스와 다른 종류의 서비스와의 상호작용을 위해 중간매개체로 웹서비스를 사용한다. 따라서 지니 서비스를 가상의 웹서비스로 변환하고, 변환·생성된 웹서비스가 저장되며, 생성된 웹서비스의 서비스 이름과 서비스 주소 값 같은 서비스 정보를 UDDI에 등록한다. 지니 클라이언트는 지니 어댑터를 통하여 UDDI에 등록된 웹서비스를 검색하여 지니 서비스를 사용하게 된다. 그리고 지니 클라이언트는 지니 어댑터를 통하여 웹서비스를 검색하고 사용하게 된다. 다시 정리하면, 지니 서비스는 가상의 웹서비스로 변환·생성되고 서비스 자체는 WSUN의 웹서비스 저장 공간에 저장된다. UDDI에는 생성된 서비스의 이름이나 서비스 주소 값(위치)과 같은 정보가 저장되는데, 이 정보를 통하여 다른 서비스들이 지니 서비스를 이용할 수 있게 되는 것이다. 참고로 도 5에 "Virture Service"라 되어있는데 이는 실질적인 서비스가 전달되는 것이 아니라 서비스에 대한 정보만 전달된다는 의미이다. According to the present invention, a web service is used as an intermediary for interaction between a Genie service and another kind of service. Therefore, the Genie service is converted into a virtual web service, the converted and generated web service is stored, and the service information such as service name and service address value of the generated web service is registered in UDDI. The Genie client uses the Genie service by searching for the web service registered in UDDI through the Genie adapter. The Genie client then retrieves and uses the web service through the Genie adapter. In summary, the Genie service is transformed into a virtual web service, and the service itself is stored in WSUN's web service storage space. In UDDI, information such as the name of a created service or a service address value (location) is stored. This information makes other services available to Genie. For reference, it is referred to as "Virture Service" in FIG. 5, which means that only the information about the service is delivered, not the actual service.

본 발명에 의하면, 지니 어댑터 아키텍처에 따라서 (I) 웹서비스 클라이언트가 지니 서비스를 발견 및 사용과 (II) 지니 클라이언트가 웹서비스를 발견하고 사용하는 부분으로 나눌 수 있다.According to the present invention, according to the Genie adapter architecture, it can be divided into (I) Web service client discovering and using Genie service and (II) Genie client discovering and using Web service.

(I) 웹서비스 클라이언트의 지니 서비스를 발견하고 사용하기(I) Discover and use the Genie service of a web service client

웹서비스 클라이언트가 지니 서비스를 발견하고 사용하기 위해서는 지니 서비스를 UDDI 및 디바이스/서비스 레지스트리에 등록하고, 지니 서비스를 웹서비스로 변환하는 과정을 필요로 한다. In order for the web service client to discover and use the Genie service, the Genie service needs to be registered in the UDDI and the device / service registry, and the Genie service is converted into a Web service.

지니 어댑터는 지니 시스템에 존재하는 모든 서비스들을 검색하여 등록 에이전트에게 알려주고, 등록 에이전트는 이 서비스들을 WSUN의 저장공간인 디바이스/서비스 레지스트리와 컨텍스트 레지스트리에 등록한다. 또한 앞의 과정에서 지니서비스를 변환한 웹서비스에 대한 정보를 UDDI에 등록한다.The Genie adapter retrieves all services present in the Genie system and informs the registration agent. The registration agent registers these services in the device / service registry and context registry, which are the storage of WSUN. In addition, the information about the web service converted from the Gini service is registered in UDDI.

지니 서비스를 웹서비스로 변환하는 과정과, 지니 이벤트 처리과정 및 웹서비스 클라이언트가 지니 서비스의 발견 및 사용하는 과정을 순서대로 설명한다.The following describes the process of converting a Genie service into a web service, the process of processing a Genie event, and the process of discovering and using a Genie service by a web service client.

1<웹서비스 생성>1 <Create Web Service>

이질의 네트워크 클라이언트가 지니 서비스를 발견하고 사용하기 위해서는 웹서비스로의 변환 과정을 거치게 된다. 웹서비스를 생성하기 위해서는 다음과 같이 4단계를 필요로 한다.In order to discover and use Genie services, heterogeneous network clients are converted to Web services. To create a web service, four steps are required:

① 지니 어댑터에서 지니 서비스와 관련한 소스파일을 요청한다. (1) Request a source file related to the Genie service from the Genie adapter.

② 지니 어댑터에서 지니 서비스와 관련한 소스파일을 다운로드 한다.② Download source file related to Genie service from Genie adapter.

③ Axis를 이용하여 웹서비스를 생성한다.③ Create a web service using Axis.

④ WSDL 주소 값을 레지스트리에 저장한다.4. Save the WSDL address in the registry.

위와 같은 과정을 거쳐 생성된 웹서비스는 UDDI에 등록하기 위하여 비즈니스 엔터티에는 WSUN, 비즈니스 서비스에서는 지니 서비스 이름을 등록한다.In order to register the web service created through the above process to UDDI, WSUN is registered in the business entity and Genie service name is registered in the business service.

2<지니 이벤트 처리>2 <Genie event processing>

지니 시스템은 서비스에 대한 상태 정보를 제공한다. 이와 같은 정보를 활용하여 웹서비스 클라이언트에게 현재 사용 가능한 지니 서비스를 제공한다. 지니 시스템과 이질의 시스템이 각각 운용되고 있는 환경에서 유니버설 서비스 브로커가 등장하였을 때의 이벤트와 지니 시스템에서 발생하는, 훅업 과정, 지니 서비스 등장 과정, 서비스 상태정보 변경 과정, 서비스 기술정보 변경 과정, 서비스 그룹정보 등록 과정, 서비스 그룹정보 삭제 과정, 룩업서비스 퇴장 과정 및 지니 서비스 퇴장 과정 등의 이벤트에 대하여 소정의 작용을 하게 된다.The Genie system provides status information about the service. Using this information, we provide the currently available Genie service to the web service client. In the environment where the Genie system and the heterogeneous system are operated, the event when the Universal Service Broker appears and the hook-up process, the Genie service appearance process, the service status information change process, the service technical information change process, and the service that occur in the Genie system A predetermined action is performed on events such as group information registration process, service group information deletion process, lookup service exit process, and genie service exit process.

(A) Hook-Up (A) Hook-Up

Hook-Up은 디자인 타임으로 지니 시스템과 이질의 시스템이 각각 운용되고 있는 환경에서 유니버설 서비스 브로커가 등장하여 지니 어댑터가 동작을 시작하면서 발생하는 이벤트이다. 지니 어댑터는 우선 지니 시스템에 있는 룩업 서비스들에서 각 룩업 서비스에 등록되어 있는 모든 서비스를 등록한다. 이 때 룩업 서비스에 저장되어 있던 이벤트 정보를 활용하여 서비스를 등록하며 도 5와 같은 과정을 거치게 된다.Hook-Up is an event that occurs when the Genie adapter starts running in the environment where the Genie system and the heterogeneous system are operated at design time. The Genie adapter first registers all services registered with each lookup service in the lookup services in the Genie system. At this time, the service is registered using the event information stored in the lookup service, and the process as shown in FIG. 5 is performed.

지니 어댑터가 등장하여 현재 존재하는 지니 서비스들을 찾기 위해 지니 클라이언트 모듈을 이용하여 현재 시스템에 있는 룩업 서비스를 멀티캐스트 메시지를 이용하여 찾는다(1-2). 룩업 서비스들을 찾고 나면 각 룩업 서비스로 유티캐스트 메시지를 이용하여 각 룩업 서비스에 등록된 서비스들에 대한 정보를 얻어온다(3-4). 그리고 서비스를 사용하기 위한 서비스 인터페이스 정보를 얻기 위해 다시 한 번 유니캐스트 메시지를 보내고 응답을 받아온다(5-6). 한 개의 지니 서비스가 여러 개의 룩업서비스에 등록이 가능하기 때문에, (7)에서 서비스에 대하여 ServiceID를 판별하여 전에 등록이 되었던 서비스인가를 판별하고 등록된 서비스가 아니라면 다음을 진행한다. 지니 서비스를 다른 종류의 서비스에서도 사용하기 위해 지니 서비스를 웹서비스로 생성하는 과정(8)을 거쳐 각각의 레지스트리에 저장하기 위하여 추출된 서비스 정보를 저장하기 위하여 등록 에이전트에게 인자 값을 넘기게 된다(9). 등록 에이전트는 생성한 웹서비스에 관한 정보를 UDDI에 저장을 하고(10-11), 지니 서비스에 대한 메타데이터 및 위지 정보를 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 저장한다.(12-16).In order to find the existing Genie services by using the Genie adapter, the Genie client module is used to find the lookup service in the current system using the multicast message (1-2). After looking up the lookup services, information about the services registered in each lookup service is obtained by using a uticast message to each lookup service (3-4). It then sends a unicast message and receives a response to get service interface information for using the service (5-6). Since one Genie service can be registered to several lookup services, the service ID is determined for the service in (7) to determine whether the service has been registered before. In order to use the Genie service in other types of services, the process of creating the Genie service as a web service (8) is passed to the registration agent to store the extracted service information for storage in each registry. 9). The registration agent stores information about the generated web service in UDDI (10-11), and stores metadata and location information about the genie service in the device / service registry and the context registry (12-16).

다음에 기술하는 이벤트 처리는 런타임으로 지니 어댑터가 동작하고 있는 상태에서 지니 시스템에서 발생하는 이벤트이다.The event handling described below is an event that occurs in the Genie system while the Genie adapter is running at runtime.

(B) 지니 서비스 등장 (B) Genie service appearance

지니 서비스 등장 이벤트는 지니 어댑터가 동작하고 있는 상태에서 지니 시스템의 룩업서비스에 새로운 서비스가 등장 하였을 때를 말한다. 이와 관련된 이벤트는 룩업서비스의 Registrar에 등록된 이벤트를 활용하게 된다.The Genie service appearance event is when a new service appears in the lookup service of the Genie system while the Genie adapter is running. The related event will use the event registered in the Registrar of the lookup service.

지니 서비스 등장과 관련하여 이벤트를 처리하는 과정은 도 6과 같다. (1-5)과정은 지니 시스템에서 서비스가 룩업서비스에 등록되는 과정과 동일하다. 서비스가 등록되어 이벤트가 발생하게 되면 지니 어댑터는 룩업서비스로부터 관련 이 벤트 정보를 받아오게 된다(6-7). 등록 이벤트에 관한 관련 정보를 받아오게 되면 서비스의 SerivceID를 이용하여 질의 에이전트를 통하여 동일 서비스가 레지스트리에 등록이 되어 있는 상태인가를 판별하게 된다(8-11). 지니 서비스에 대한 정보가 존재할 경우, 그 서비스는 웹서비스로 등록이 되었던 지니 서비스이다. 그러한 서비스의 경우 (13-16)의 과정을 거치게 된다. (13-16)과정은 현재의 서비스가 예전에 등록이 되었으나, 퇴장을 했다가 다시 등장한 경우 이므로 서비스의 상태를 사용 불가능 상태를 사용 가능 상태로 바꾸는 과정을 처리한다.The process of processing an event related to the appearance of the Genie service is shown in FIG. 6. The process (1-5) is the same as the process in which the service is registered with the lookup service in the Genie system. When a service is registered and an event occurs, the Genie adapter receives relevant event information from the lookup service (6-7). When the related information about the registration event is received, it is determined whether the same service is registered in the registry through the query agent using the SerivceID of the service (8-11). If information about the Genie service exists, the service is a Genie service registered as a web service. In the case of such services, the process goes to (13-16). Process (13-16) handles the process of changing the state of the service from the unavailable state to the available state because the current service is registered in the past, but is exited and reappeared.

하지만 존재하지 않는 서비스의 경우, 지니 어댑터는 관련 서비스에 대한 정보를 룩업서비스에 요청하게 되고, 서비스의 정보를 받아오게 된다(17-18). (19-27)은 Hook-Up단계에서 서비스를 저장하기 위한 과정과 동일하다.However, in the case of a service that does not exist, the Genie adapter requests the lookup service for information about the related service and receives the service information (17-18). 19-27 is the same as the procedure for storing a service in the hook-up step.

(C) 서비스 상태정보 변경 (C) changing service status information

서비스 상태 정보 변경 이벤트는 서비스가 현재 사용 중이거나 서비스에서 오류가 발생하여 사용하지 못하는 경우를 말한다(도 7 참조). The service state information change event refers to a case in which the service is currently in use or an error occurs in the service and thus cannot be used (see FIG. 7).

지니 서비스는 상태정보가 변경이 발생하게 되면, 발생한 이벤트에 관한 정보를 룩업서비스에 등록하게 된다(1). 지니 어댑터는 일정 시간 간격마다 룩업 서비스에 이벤트가 발생했는지를 유니캐스트 메시지로 물어보고 새로운 이벤트가 있을 경우 룩업서비스로부터 관련 이벤트 정보를 받아오게 된다(2-3). 지니 어댑터는 관련 이벤트를 이용하여 레지스트리에 등록된 서비스의 상태정보를 변경하기 위한 과정을 거치게 된다(4-7). 지니 서비스는 상태정보를 다양하게 처리하고 있지 만, 본 발명의 예시적 설명에서는 서비스의 상태정보를 사용가능과 사용불가능으로 구분하고 있다. 현재 서비스가 사용 중이거나 오류가 발생하게 되면 다른 사용자는 서비스를 사용할 수 없기 때문이다.When the status information changes, the Genie service registers information about the event in the lookup service (1). The Genie adapter asks the lookup service whether the event has occurred at regular intervals as a unicast message, and receives new event information from the lookup service when there is a new event (2-3). Genie adapter goes through the process of changing the status information of the service registered in the registry by using the related event (4-7). Although the Gini service processes the status information in various ways, the exemplary description of the present invention divides the status information of the service into usable and unusable. If the service is currently in use or an error occurs, other users will not be able to use the service.

(D) 서비스 기술정보 변경 (D) Change of service technical information

지니 서비스는 이동성을 갖고 있다. 서비스 기술정보 변경은 지니 서비스의 주소, 위치와 같은 정보가 변경이 되어, 룩업서비스에 등록되는 경우이다(도 8 참조).Genie services are mobile. The change of the service technical information is a case where information such as the address and location of the Genie service is changed and registered in the lookup service (see FIG. 8).

지니 서비스는 관련 이벤트를 룩업서비스에 등록하게 되고(1), 지니 어댑터는 관련 이벤트 정보를 룩업서비스로부터 받아오게 된다(2-3). 관련 정보에 대하여 레지스트리에 등록된 서비스정보를 변경하게 된다(4-9).The Genie service registers the related event in the lookup service (1), and the Genie adapter receives the related event information from the lookup service (2-3). The service information registered in the registry is changed for the related information (4-9).

(E) 지니 서비스 그룹정보 등록 (E) Genie service group information registration

지니 시스템은 관리자에 의하여 그룹정보를 활용하여 서비스를 사용을 제한하고 있다. 그룹정보 등록 이벤트는 관리자에 의하여 추가된 그룹에 대하여 서비스가 등록되어 처리되는 과정을 나타낸다(도 9 참조). The Genie system restricts the use of the service by using group information by the administrator. The group information registration event indicates a process in which a service is registered and processed for a group added by an administrator (see FIG. 9).

관리자는 룩업서비스에 새로운 그룹을 추가하고 그룹에 속하는 서비스를 등록하게 된다(1-5). 지니 어댑터는 관련 이벤트를 룩업서비스로부터 받아오게 되고(7-8), 이 후의 과정은(9-28) 지니 서비스 등장과 동일한 과정을 거치게 된다. The administrator adds a new group to the lookup service and registers a service belonging to the group (1-5). The Genie adapter receives the related events from the lookup service (7-8), and the subsequent process (9-28) goes through the same process as the Genie service appearance.

(F) 지니 서비스 그룹정보 삭제 (F) Delete Genie service group information

지니 서비스 그룹정보 삭제는 관리자에 의해서 그룹정보가 삭제되면서 그룹에 속해있던 서비스에 대하여 사용이 불가능한 상태가 발생하기 때문에 이를 처리하는 과정을 나타낸다(도 10 참조).The deletion of the Genie service group information indicates a process of processing the deletion because the group information is deleted by the administrator and thus an unusable state is generated for the services belonging to the group (see FIG. 10).

룩업서비스에 등록된 그룹정보를 삭제하기 위해서 그룹에 등록된 모든 지니 서비스에 알리게 되고 모든 서비스가 떠나게 되면 룩업서비스로부터 그룹정보를 삭제하게 된다(1,4). 이러한 서비스 그룹 퇴장 이벤트는 지니 어댑터에서 요청할 경우 관련 이벤트 정보를 전달한다(2-3). 지니 어댑터는 등록 에이전트를 통해 퇴장한 그룹에 포함되어 있던 모든 서비스에 대하여 서비스의 상태정보를 사용 불가능 상태로 변경하는 과정을 거친다(5-8).In order to delete the group information registered in the lookup service, all genie services registered in the group are notified, and when all the services leave, the group information is deleted from the lookup service (1, 4). These service group exit events carry relevant event information when requested by the Genie adapter (2-3). The Genie adapter goes through a process of changing the status information of the service to the unavailable state for all services included in the group that has been left out through the registration agent (5-8).

(G) 룩업서비스의 퇴장 (G) Exit of Lookup Service

룩업서비스 퇴장은 룩업서비스의 기능을 하지 않을 경우에 룩업서비스에 등록된 서비스는 더 이상 서비스를 사용할 수 없는 상태가 된다. 따라서 이와 관련된 이벤트를 처리할 필요가 있다(도 11 참조). If the lookup service exit does not function as a lookup service, the service registered in the lookup service is no longer available. Therefore, it is necessary to handle the event associated with it (see FIG. 11).

룩업서비스는 더 이상 기능을 하지 않기를 원할 경우 모든 디바이스에게 정보를 알리고 응답을 받게 되면 룩업서비스 기능을 중지한다(1-3). 지니 어댑터는 알림 메시지를 받아 룩업서비스와 관련된 모든 서비스에 대하여 서비스의 상태를 변경한다(4-7).If the lookup service no longer functions, it informs all devices and stops the lookup service function when a response is received (1-3). The Genie adapter receives the notification message and changes the state of the service for all services related to the lookup service (4-7).

(H) 지니 서비스 퇴장 (H) Genie service exit

지니 서비스 퇴장은 룩업서비스에 등록된 서비스가 더 이상 제공되지 않는 경우를 말한다. 지니 서비스의 퇴장은 두 개로 나누어 볼 수 있는데, 퇴장하는 서비스가 정상적으로 룩업서비스에 알리고 서비스 기능을 중지하는 경우와 디바이스의 문제로 인하여 서비스를 중지하는 경우로 나누어 볼 수 있다. 전자의 경우 룩업서비스에 관련 이벤트 정보가 등록되지만, 후자의 경우 리즈 시간을 활용하여 이벤트를 처리하게 된다.Genie service exit refers to the case when the service registered in the lookup service is no longer provided. The exit of the Genie service can be divided into two types. The exiting service can be divided into a case in which the exiting service notifies the lookup service and stops the service function and the case in which the service is stopped due to a problem in the device. In the former case, the relevant event information is registered in the lookup service, but in the latter case, the event is processed using the lease time.

지니 서비스가 정상적으로 퇴장(도 12 참조)을 하게 되면, 룩업서비스에 퇴장 이벤트를 알리고(1), 지니 어댑터는 관련 이벤트를 룩업서비스로부터 받아오게 된다(2-3). 그리고 이벤트와 관련된 서비스에 대하여 서비스 상태 정보를 사용불가능 상태로 변경한다(4-7).When the Genie service exits normally (see FIG. 12), the exit event is notified to the lookup service (1), and the Genie adapter receives the related event from the lookup service (2-3). The service state information is changed to the unavailable state for the service related to the event (4-7).

만약 지니 서비스가 비정상적으로 퇴장(도 13 참조)하게 되면 디바이스에서 서비스 제공시간을 늘리는 리즈 이벤트가 발생되지 않는다. 룩업서비스는 리즈 시간이 되었을 때 퇴장한 서비스가 있다는 것을 알고 퇴장한 서비스에 대한 이벤트를 처리하기 위해 룩업서비스로부터 이벤트 정보를 얻어온다(1-2). 그리고 지니 어댑터는 퇴장한 서비스에 대한 상태 정보를 사용불가능 형태로 변경한다(3-6).If the Genie service is abnormally exited (see FIG. 13), a Lease event that increases the service providing time does not occur in the device. The lookup service knows that there is an exited service at the time of the lease time, and obtains event information from the lookup service to process an event for the exited service (1-2). The Genie adapter then changes the status information for the exited service to unavailable (3-6).

3<웹서비스 클라이언트가 지니 서비스의 발견 및 사용하는 과정>3 <Web service client discovery and use of Genie service>

지니 어댑터는 모든 이벤트를 레지스트리에 반영하게 된다. 웹서비스 클라이언트는 도 14와 같은 흐름으로 서비스를 발견하고 사용하게 된다.The Genie adapter will reflect all events in the registry. The web service client discovers and uses a service in the flow shown in FIG. 14.

웹서비스 클라이언트는 서비스를 발견하기 위하여 질의 에이전트(Query Agent)를 통하여 서비스를 발견하게 된다(1-4). 웹서비스의 경우, 바로 서비스를 사용을 한다. 하지만 지니 시스템에서 제공하는 서비스의 경우 디바이스/서비스 레지스트리에서 서비스의 상태정보를 검색하게 된다(7-10). 웹서비스 클라이언트는 상태정보를 반영하여 서비스를 사용하기 위하여 가상의 웹서비스를 호출하여 서비스를 사용하게 된다(11-12). The web service client discovers the service through a query agent to discover the service (1-4). In the case of web services, the service is used immediately. However, for the services provided by the Genie system, the service status information is retrieved from the device / service registry (7-10). The web service client uses the service by calling a virtual web service to use the service by reflecting the status information (11-12).

(II) 지니 클라이언트가 웹서비스를 발견하고 사용하기(II) Genie Clients Discover and Use Web Services

지니 시스템은 멀티 캐스트 메시지를 이용하여 룩업서비스를 찾게 된다. 지니 클라이언트는 발견한 룩업서비스로부터 서비스레지스트럴(ServiceRegistrar) 객체를 이용하여 Lookup()메소드를 호출하여 서비스를 발견하게 된다. 서비스를 발견하기 위하여 서비스템플릿(ServiceTemplate)를 활용하게 되는데, 서비스템플릿은 ServiceID, ServiceType, AttributeSetTemplate를 포함하며, ServiceType을 활용하여 서비스를 검색하게 된다.The Genie system uses a multicast message to find a lookup service. The Gini client finds the service by calling the Lookup () method from the found lookup service using the ServiceRegistrar object. In order to find a service, a service template (ServiceTemplate) is used. The service template includes a ServiceID, a ServiceType, and an AttributeSetTemplate, and a service is searched using a ServiceType.

지니 시스템에서 지니 서비스를발견하고 사용하기위한 메시지를 활용하여 웹서비스를 검색하기 위해서 서로간의 매핑관계를 표 3에 나타내었다.Table 3 shows the mapping relationship between each other to search web services using messages for discovering and using Genie services in the Genie system.

Figure 112008073936897-PAT00003
Figure 112008073936897-PAT00003

지니 시스템은 룩업서비스에 있는 서비스를 검색하기 위하여 ServiceID, ServiceType, AttributeSetTemplate를 이용하여 서비스를 검색한다. 이러한 정보 중에서 ServiceType을 이용하여 서비스를 검색한다. 본 발명에서는 웹서비스를 검색하기 위하여 ServiceType을 이용하여 웹서비스를 검색하게 된다. 이것을 통하여 웹서비스를 지니 서비스로 변환하지 않고 웹서비스를 발견할 수 있게 된다.The Genie system uses the ServiceID, ServiceType, and AttributeSetTemplate to find a service in the lookup service. Among these informations, a service is searched using ServiceType. In the present invention, a web service is searched using a ServiceType to search for a web service. This makes it possible to discover web services without converting them to Genie services.

지니 클라이언트는 서비스검색 결과에 대하여 룩업서비스로부터 ServiceID, ServiceName, Endpoint, Service Interface를 받게 된다. 이와 매핑되는 웹서비스 정보는 표 4와 같다. The Genie client receives the ServiceID, ServiceName, Endpoint, and Service Interface from the lookup service. The web service information mapped to this is shown in Table 4.

Figure 112008073936897-PAT00004
Figure 112008073936897-PAT00004

지니 어댑터는 지니 클라이언트에게 웹서비스의 UUID, 비즈니스 서비스 이름, 어댑터 주소 및 라우팅 플록시 내의 Generic Web Service를 호출하기 위한 인터페이스 받게 된다. 지니 클라이언트는 인터페이스를 통하여 Generic Web Service 호출하게 되고 웹서비스와 바인딩이 된다.The Genie adapter receives the Genie client's interface to call the web service's UUID, business service name, adapter address, and generic web service within the routing proxy. Genie client calls Generic Web Service through interface and binds with Web service.

1<Generic 웹서비스>1 <Generic Web Service>

Generic 웹서비스는 라우팅 플록시 내에 존재한다. Generic 웹서비스는 모든 웹서비스를 사용할 수 있는 서비스이다. 도 15에 도시된 바와 같이 지니 클라이언트는 지니 어댑터로부터 Generic 웹서비스를 호출할 수 있는 인터페이스를 통하여 웹서비스를 사용하게 된다.Generic web services reside in routing proxies. Generic web service is a service that can use all web services. As shown in FIG. 15, the Genie client uses the web service through an interface capable of calling a Generic web service from the Genie adapter.

2<지니 클라이언트가 웹서비스를 발견 및 사용하는 과정>2 <The process by which Genie client discovers and uses web services>

본 발명에서는 룩업서비스를 확장하여 wsLookup() 메소드를 활용함으로써 질의 에이전트(Query Agent)를 호출하여 UDDI에 등록된 서비스를 검색하게 된다.In the present invention, the lookup service is extended to utilize a wsLookup () method to call a query agent to retrieve a service registered in UDDI.

지니 클라이언트가 웹서비스 발견하고 사용함에 있어서는 도 16과 같은 과정을 거치게 된다. When a Genie client discovers and uses a web service, the process is performed as shown in FIG. 16.

지니 클라이언트는 룩업서비스에 서비스 검색을 요청하게 되면 ServiceType을 이용하여 UDDI 및 디바이스/서비스 레지스트리를 검색하게 된다(3-8). 지니 클라이언트는 웹서비스를 사용하기 위하여 지니 어댑터에 웹서비스를 호출하게 되고 라우팅 플록시(Routing Proxy)내의 Generic 웹서비스를 통하여 웹서비스를 사용한다(11-14).When the Genie client requests the service to the lookup service, the Genie client searches the UDDI and the device / service registry using the ServiceType (3-8). The Genie client calls the Web service to the Genie adapter to use the web service and uses the web service through the Generic web service in the Routing Proxy (11-14).

본 발명과 종래 기술을 비교하면 다음과 같다.Comparing the present invention with the prior art is as follows.

본 발명에서 어댑터는 지니 시스템에서 발생하는 이벤트를 처리하여 검색에 활용을 하였다. 이를 통하여, 웹서비스 클라이언트에서 지니 서비스를 발견하고 사용함에 있어서 서비스 상태정보 및 위치 정보를 활용하여 서비스 정보를 제공할 수 있다.In the present invention, the adapter processes the events occurring in the Genie system and utilizes them in the search. Through this, in discovering and using the Genie service in the web service client, service information may be provided by using service state information and location information.

지니 클라이언트에서 웹서비스를 발견하고 사용함에 있어서 룩업서비스를 확장하여 UDDI를 검색하여 웹서비스를 발견하게 되며, 웹서비스를 사용함에 있어서 Generic웹서비스를 이용하여 웹서비스를 사용하게 된다.In discovering and using web services in Genie clients, the lookup service is extended to search UDDI to discover web services. In using web services, web services are used using generic web services.

GOAL과 지니 어댑터를 비교하였을 때 다음과 같은 사항으로 비교가 가능하다.When comparing GOAL and Genie adapters, the following points can be compared.

(1) 웹서비스 클라이언트의 지니 서비스 검색 및 사용상의 비교(1) Comparison of Genie Service Search and Usage of Web Service Clients

GOAL과 지니 어댑터를 웹서비스 클라이언트가 지니 서비스를 발견하고 사용함에 있어서 서로간의 서비스 검색, 이벤트 정보, 웹서비스 생성시점에 따른 비교를 하면 표 5와 같다. When the GOAL and Genie adapters are used by the web service client to discover and use the Genie service, the service search, event information, and web service creation time are compared with each other.

Figure 112008073936897-PAT00005
Figure 112008073936897-PAT00005

두 시스템은 서비스를 동일하게 검색이 가능하지만 지니 어댑터는 이벤트 정보를 활용하여 서비스를 제공받을 수 있다. 이는 현재 사용 가능한 정보의 검색이 가능하게 된다. 또한 실행이 되고 있는 Run Time에도 웹서비스가 생성됨으로써 새롭게 등장한 지니 서비스도 검색이 가능하게 된다.Both systems can search for the same service, but the Genie adapter can use the event information to receive the service. This enables the retrieval of currently available information. In addition, new Web Genie service can be searched by creating web service at Run Time.

(2) 지니 클라이언트의 웹서비스 검색 및 사용상의 비교(2) Web service search and use comparison of Genie client

GOAL과 지니 어댑터를 지니 클라이언트가 웹서비스를 발견하고 사용함에 있어서 서로간의 서비스 검색, 검색 대상, 서비스 변환 및 새롭게 등장한 웹서비스 검색에 따른 비교를 하면 표 6과 같다. Table 6 shows the comparison between the service search, the search target, the service conversion, and the newly discovered web service search between the client and the GOAL and the Genie adapter.

Figure 112008073936897-PAT00006
Figure 112008073936897-PAT00006

두 시스템은 동일하게 웹서비스를 검색이 가능하나 서로간의 검색대상이 GOAL은 룩업서비스인 반면, 지니 어댑터는 UDDI를 활용하게 된다. 지니 어댑터는 새롭게 등장한 웹서비스에 대하여 검색이 가능하게 한다. 또한 검색대상의 차이에 따라 GOAL은 모든 웹서비스를 지니 서비스로 1:1 생성을 해야한다. 그러나 지니 어댑터는 Generic 웹서비스를 활용함으로써 서비스 변환이 없이 서비스 사용이 가능하게 한다.Both systems can search the web service in the same way, but GOAL is the lookup service while the search target is the other, while Genie adapter uses UDDI. Genie adapters make it possible to search for emerging Web services. Also, according to the difference of search targets, GOAL has to create 1: 1 as a service having all web services. However, Genie adapter can use service without service conversion by utilizing Generic web service.

도 1은 지니 시스템의 예시적 구조를 보여주는 블록도.1 is a block diagram illustrating an exemplary structure of a Genie system.

도 2는 종래 알려진 GOAL 시스템의 구성부 및 상호관계를 보여주는 개념도.Figure 2 is a conceptual diagram showing the components and the interrelationship of the GOAL system known in the prior art.

도 3은 본 발명의 장치가 수행하는 기능을 예시적으로 보여주는 블록도.3 is a block diagram illustrating an example of a function performed by an apparatus of the present invention.

도 4는 본 발명에 의한 장치의 예시적 구조를 보여주는 블록도(A)와, 본 발명에 의한 장치와 방법에 있어서, 어댑터와 룩업서비스, UDDI, 웹서비스 및 지니서비스 사이의 상호관계에 대한 예시도(B).4 is a block diagram (A) showing an exemplary structure of an apparatus according to the present invention, and an example of the interrelationship between an adapter and a lookup service, a UDDI, a web service and a genie service in the apparatus and method according to the present invention. (B).

도 5는 본 발명에 의한 장치와 방법에 있어서, 서비스의 훅-업 과정을 나타낸 흐름도.5 is a flowchart illustrating a hook-up process of a service in an apparatus and method according to the present invention.

도 6은 본 발명에 의한 장치와 방법에 있어서, 지니 서비스 등장 과정을 보여주는 흐름도.6 is a flow chart showing a Genie service appearance process in the apparatus and method according to the present invention.

도 7은 본 발명에 의한 장치와 방법에 있어서, 서비스 상태정보 변경 과정을 보여주는 흐름도.7 is a flowchart illustrating a process of changing service state information in an apparatus and method according to the present invention.

도 8은 본 발명에 의한 장치와 방법에 있어서, 서비스 기술정보 변경 과정을 보여주는 흐름도.8 is a flowchart illustrating a process of changing service description information in an apparatus and method according to the present invention.

도 9는 본 발명에 의한 장치와 방법에 있어서, 지니 서비스 그룹정보 등록 과정을 보여주는 흐름도.9 is a flowchart illustrating a process of registering genie service group information in an apparatus and method according to the present invention.

도 10은 본 발명에 의한 장치와 방법에 있어서, 지니 서비스 그룹정보 삭제 과정을 보여주는 흐름도.10 is a flowchart illustrating a process of deleting genie service group information in an apparatus and method according to the present invention.

도 11은 본 발명에 의한 장치와 방법에 있어서, 룩업서비스의 퇴장 과정을 보여주는 흐름도.11 is a flowchart illustrating an exit process of a lookup service in an apparatus and a method according to the present invention.

도 12는 본 발명에 의한 장치와 방법에 있어서, 지니 서비스의 정상적인 퇴장 과정을 보여주는 흐름도.12 is a flowchart illustrating a normal exit process of the Genie service in the apparatus and method according to the present invention.

도 13은 본 발명에 의한 장치와 방법에 있어서, 지니 서비스의 비정상적인 퇴장 과정을 보여주는 흐름도.13 is a flow chart showing an abnormal exit process of the Genie service in the apparatus and method according to the present invention.

도 14는 본 발명에 의한 장치와 방법에 있어서, 웹서비스 클라이언트가 지니 서비스를 발견하고 사용하는 과정을 보여주는 흐름도.14 is a flowchart illustrating a process of a web service client discovering and using a Genie service in an apparatus and method according to the present invention.

도 15는 본 발명에 의한 장치와 방법에 있어서, Generic 웹서비스의 작용을 보여주는 블록도.15 is a block diagram showing the operation of a generic web service in the device and method according to the present invention.

도 16은 본 발명에 의한 장치와 방법에 있어서, 지니 클라이언트가 웹서비스를 발견하고 사용하는 과정을 보여주는 흐름도.16 is a flowchart illustrating a process of a Genie client discovering and using a web service in the apparatus and method according to the present invention.

Claims (2)

룩업서비스, 어댑터, 등록 에이전트, 질의 에이전트, 디바이스/서비스 레지스트리, 컨텍스트 레지스트리 및 UDDI를 포함하는 Jini 서비스와 웹서비스간의 연동을 위한 장치에 있어서,An apparatus for interworking between a Jini service and a web service including a lookup service, an adapter, a registration agent, a query agent, a device / service registry, a context registry, and a UDDI, (A) 상기 룩업서비스는, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여, 이들의 메타데이터 정보 및 이벤트 정보를 저장하며; (A) the lookup service retrieves Jini devices and services present in the network and stores their metadata information and event information; (B) 상기 어댑터는, ① 상기 룩업서비스에 지니 서비스와 관련한 소스파일을 요청하여 전달받아 이를 등록 에이전트에 전달하고 ② 지니 서비스에 대한 웹서비스를 생성하고, 생성된 웹서비스의 서비스 정보를 등록 에이전트로 전달하며; (B) The adapter, ① requests the source file associated with the Genie service to the lookup service, receives and delivers it to the registration agent, ② generates a web service for the Genie service, and registers the service information of the generated web service as a registration agent. To; (C) 상기 등록 에이전트는, 상기 어댑터로부터 전달받은 소스파일 중에서 지니 서비스의 명세 정보와 동적상태 정보를 각각 상기 UDDI, 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 등록하며; (C) the registration agent registers specification information and dynamic state information of the Genie service among the source files received from the adapter in the UDDI, device / service registry, and context registry, respectively; (E) 상기 질의 에이전트는, 상기 룩업서비스에 의해 저장된 서비스가 상기 디바이스/서비스 레지스트리와 컨텍스트 레지스트리에 이미 등록이 되어 있는 상태인가를 파악하여 그 정보를 상기 어댑터로 전달하는(이미 등록되어 있는 서비스의 중복등록을 방지하는; (E) The query agent determines whether the service stored by the lookup service is already registered in the device / service registry and the context registry, and transmits the information to the adapter (the service of the already registered service). Preventing duplicate registrations; 것을 특징으로 하는 Jini 서비스와 웹서비스간의 연동을 위한 장치.Apparatus for interworking between Jini services and Web services, characterized in that. 제 1 항에 의한 장치를 이용한 Jini 서비스와 웹서비스간의 연동방법에 있어서,In the interworking method between the Jini service and the web service using the device according to claim 1, (A) 다음의 단계로 이루어지는 훅업 (Hook-up) 과정 (A) Hook-up process consisting of the following steps ⓐ 상기 룩업서비스가, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여 이들의 메타데이터 정보 및 이벤트 정보를 저장하는 단계Ⓐ the lookup service searches for Jini devices and services existing in the network and stores their metadata information and event information ⓑ 상기 어댑터가, 룩업서비스를 검색하여 룩업서비스에 등록된 Jini 디바이스 또는 서비스에 대한 정보를 획득하는 단계The adapter acquiring information about the Jini device or service registered in the lookup service by searching for the lookup service; ⓒ 상기 어댑터가, 가상 웹서비스를 생성하여 상기 어댑터에 저장하고, 상기 검색된 Jini 디바이스 또는 서비스의 메타 정보를 등록 에이전트로 전송하는 단계Ⓒ generating, by the adapter, a virtual web service in the adapter and transmitting meta information of the retrieved Jini device or service to a registration agent; ⓓ 등록 에이전트가 상기 메타 정보를 각각 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 등록하는 단계:The registration agent registers the meta information in the device / service registry and context registry, respectively: (B) 다음의 단계로 이루어지는 지니 서비스 등장 과정 (B) Genie service appearance process consisting of the following steps ⓐ 상기 룩업서비스가, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여 이들의 메타데이터 정보 및 이벤트 정보를 저장하는 단계Ⓐ the lookup service searches for Jini devices and services existing in the network and stores their metadata information and event information ⓑ 이벤트가 발생하면, 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계When an event occurs, the lookup service delivers event information to the adapter. ⓒ 상기 질의 에이전트가, 상기 이벤트가 발생한 서비스가 이미 등록되어 있는 것인지를 확인하는 단계Ⓒ checking by the query agent whether the service where the event has occurred is already registered; ⓓ 이미 등록되어 있는 서비스라면, 상기 컨텍스트 레지스트리에서 해당 서비스에 대를 "사용가능" 상태로 전환하는 단계If a service is already registered, switching the state of the service to the "available" state in the context registry ⓔ 신규 서비스라면, 상기 어댑터가, 룩업서비스로부터 상기 서비스에 대한 정보를 요청하고 획득한 후, Ⓔ If the service is new, the adapter requests and obtains information about the service from a lookup service. 상기 서비스에 대한 가상 웹서비스를 생성하여 상기 어댑터에 저장하고, Create a virtual web service for the service and store it in the adapter; 관련 메타 정보를 등록 에이전트로 전송하면, 상기 등록 에이전트가 상기 메타 정보를 각각 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 등록하는 단계:When the related meta information is transmitted to a registration agent, the registration agent registering the meta information in a device / service registry and a context registry, respectively: (C) 다음의 단계로 이루어지는 서비스 상태정보 변경 과정 (C) Service status information change process consisting of the following steps ⓐ 상기 룩업서비스가, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여 상태정보 변경 이벤트가 발생한 정보를 저장하는 단계Ⓐ the lookup service searches for a Jini device and a service existing in a network and stores information on a state information change event; ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계The lookup service forwarding event information to the adapter; ⓒ 이벤트 정보를 등록 에이전트로 전송하면, 상기 등록 에이전트가 상기 디바이스/서비스 레지스트리에 저장된 상기 이벤트가 발생한 서비스에 대한 상태정보를 변경 등록하는 단계:When the event information is transmitted to the registration agent, the registration agent changes and registers state information on the service in which the event occurred in the device / service registry: (D) 다음의 단계로 이루어지는 서비스 기술정보 변경 과정 (D) Service technology information change process consisting of the following steps ⓐ 상기 룩업서비스가, 네트워크에 존재하는 Jini 디바이스 및 서비스를 검색하여 기술정보 변경 이벤트가 발생한 정보를 저장하는 단계Ⓐ the lookup service searches for Jini devices and services existing in the network and stores the information on which the technology information change event has occurred; ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계The lookup service forwarding event information to the adapter; ⓒ 이벤트 정보를 등록 에이전트로 전송하면, 상기 등록 에이전트가 상기 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 저장된 상기 이벤트가 발생한 서비스에 대한 기술정보를 변경 등록하는 단계:When the event information is transmitted to the registration agent, the registration agent changes and registers the technical information on the service in which the event occurred in the device / service registry and the context registry: (E) 다음의 단계로 이루어지는 서비스 그룹정보 등록 과정 (E) Service group information registration process consisting of the following steps ⓐ 상기 룩업서비스가, 새로운 지니 서비스 그룹을 입력받는 단계Ⓐ the lookup service receives a new genie service group ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계The lookup service forwarding event information to the adapter; ⓒ 상기 질의 에이전트가, 상기 이벤트가 발생한 서비스가 이미 등록되어 있는 것인지를 확인하는 단계Ⓒ checking by the query agent whether the service where the event has occurred is already registered; ⓓ 이미 등록되어 있는 서비스라면, 상기 컨텍스트 레지스트리에서 해당 서비스에 대를 "사용가능" 상태로 전환하는 단계If a service is already registered, switching the state of the service to the "available" state in the context registry ⓔ 신규 서비스라면, 상기 어댑터가, 룩업서비스로부터 상기 서비스에 대한 정보를 요청하고 획득한 후, Ⓔ If the service is new, the adapter requests and obtains information about the service from a lookup service. 상기 서비스에 대한 가상 웹서비스를 생성하여 상기 어댑터에 저장하고, Create a virtual web service for the service and store it in the adapter; 관련 메타 정보를 등록 에이전트로 전송하면, 상기 등록 에이전트가 상기 메타 정보를 각각 디바이스/서비스 레지스트리 및 컨텍스트 레지스트리에 등록하는 단계:When the related meta information is transmitted to a registration agent, the registration agent registering the meta information in a device / service registry and a context registry, respectively: (F) 다음의 단계로 이루어지는 서비스 그룹정보 삭제 과정 (F) Process of deleting service group information consisting of the following steps ⓐ 상기 룩업서비스가, 지니 서비스 그룹을 삭제하는 정보를 입력받는 단계Ⓐ the step of receiving, by the lookup service, information for deleting a genie service group ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계The lookup service forwarding event information to the adapter; ⓒ 이벤트 정보를 등록 에이전트로 전송하면, 상기 등록 에이전트가 상기 디바이스/서비스 레지스트리에 저장된 상기 이벤트가 발생한 서비스 그룹에 대한 상태정보를 변경 등록하는 단계:When the event information is transmitted to the registration agent, the registration agent changes and registers state information on the service group in which the event is stored in the device / service registry: (G) 다음의 단계로 이루어지는 룩업서비스 퇴장 과정 (G) the lookup service exit process consisting of the following steps: ⓐ 상기 룩업서비스가, 룩업서비스에 등록된 모든 지니 디바이스에 대한 룩업서비스 기능을 중단하는 단계Ⓐ the lookup service stops the lookup service function for all Genie devices registered in the lookup service ⓑ 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하는 단계The lookup service forwarding event information to the adapter; ⓒ 이벤트 정보를 등록 에이전트로 전송하면, 상기 등록 에이전트가 상기 디바이스/서비스 레지스트리에 저장된 상기 이벤트가 발생한 모든 지니 디바이스에 대한 상태정보를 변경 등록하는 단계:When the event information is transmitted to the registration agent, the registration agent changes and registers state information on all Genie devices in which the event is stored in the device / service registry: (G) 다음의 단계로 이루어지는 지니 서비스 퇴장 과정 (G) Genie service exit process consisting of the following steps: ⓐ 상기 룩업서비스가, 소정의 시간간격으로 Jini 디바이스들에게 서비스 가능여부를 문의하는 단계Ⓐ wherein the lookup service inquires whether Jini devices are available for service at a predetermined time interval; ⓑ 상기 서비스 가능여부 문의에 대한 응답이 소정의 시간동안 회신되지 않거나, 연결종료(Bye) 메시지가 있는 디바이스에 대하여, Ⓑ For a device that does not reply to the service availability query for a predetermined time or has a connection termination (Bye) message, 상기 룩업서비스가 이벤트 정보를 상기 어댑터에 전달하고, 상기 등록 에이전트는 상기 이벤트 정보를 등록 에이전트에 전달하면, If the lookup service delivers event information to the adapter, and the registration agent delivers the event information to a registration agent, 상기 등록 에이전트가 디바이스/서비스 레지스트리에 등록된 상기 디바이스에 대한 상태정보를 "사용 불가능" 상태로 변경등록하는 단계:Registering, by the registration agent, changing state information of the device registered in the device / service registry to a "unavailable" state: 를 포함하는 것을 특징으로 하는 Jini 서비스와 웹서비스간의 연동방법.Interworking method between Jini services and web services, characterized in that it comprises a.
KR1020080104696A 2008-10-24 2008-10-24 Apparatus and method for interworking between Web services and web services Active KR101006924B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080104696A KR101006924B1 (en) 2008-10-24 2008-10-24 Apparatus and method for interworking between Web services and web services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080104696A KR101006924B1 (en) 2008-10-24 2008-10-24 Apparatus and method for interworking between Web services and web services

Publications (2)

Publication Number Publication Date
KR20100045656A true KR20100045656A (en) 2010-05-04
KR101006924B1 KR101006924B1 (en) 2011-01-10

Family

ID=42273276

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080104696A Active KR101006924B1 (en) 2008-10-24 2008-10-24 Apparatus and method for interworking between Web services and web services

Country Status (1)

Country Link
KR (1) KR101006924B1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101572008B1 (en) * 2015-09-18 2015-11-25 이상동 Built-in tools for deburring unit automatic control of the load

Also Published As

Publication number Publication date
KR101006924B1 (en) 2011-01-10

Similar Documents

Publication Publication Date Title
EP1542409B1 (en) Protocol for multi-hop ad-hoc networks
KR100440583B1 (en) A Method and Apparatus of Management and Control of UPnP Device in Home Network from the Internet
KR100694155B1 (en) Method and apparatus for providing a home network device service outside the home network through a web service
US20030140119A1 (en) Dynamic service discovery
EP2151095B1 (en) Method and apparatus for discovering universal plug and play device using resource information
JP2008283670A (en) Equipment and service access, connectivity and interoperability
US9059891B2 (en) Method for providing wireless application privilege management
Raverdy et al. A multi-protocol approach to service discovery and access in pervasive environments
KR100901281B1 (en) Ubiquitous Web Service Method
CN101355492A (en) Simple object access protocol routing method, routing system and related equipment
CN100421432C (en) Method for Routing to Media Resource Servers
CN102891763A (en) Method and device for acquiring CIM (Common Information Model) resource
KR101006924B1 (en) Apparatus and method for interworking between Web services and web services
KR100661856B1 (en) Agent-based Service Discovery System and Service Discovery Method and Recording Media Recording the Same
KR100965458B1 (en) Broker for Interworking Ubiquitous Subnetwork
JP2004201201A (en) WAP terminal, communication method, and communication program
Zaplata et al. Realizing mobile web services for dynamic applications
KR101348927B1 (en) Openapi adaptor for wsun
JP2015201758A (en) Relay device, communication system, information processing method, and program
CN115766687B (en) Home gateway ipv6 file system and interaction method thereof
JP2008021325A (en) Multi-agent system
JP3968066B2 (en) Name resolution system
JP2004030058A (en) Multi-agent system
KR102775246B1 (en) Edge computing service providing method and apparatus therefor
CN102118378A (en) 3C (Computer Communication Consumer electronic) cooperation device, communication system and communication methods

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

R18-X000 Changes to party contact information recorded

St.27 status event code: A-3-3-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-3-3-R10-R18-oth-X000

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

T11-X000 Administrative time limit extension requested

St.27 status event code: U-3-3-T10-T11-oth-X000

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

T11-X000 Administrative time limit extension requested

St.27 status event code: U-3-3-T10-T11-oth-X000

T11-X000 Administrative time limit extension requested

St.27 status event code: U-3-3-T10-T11-oth-X000

T11-X000 Administrative time limit extension requested

St.27 status event code: U-3-3-T10-T11-oth-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

FPAY Annual fee payment

Payment date: 20131231

Year of fee payment: 4

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

FPAY Annual fee payment

Payment date: 20141231

Year of fee payment: 5

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

FPAY Annual fee payment

Payment date: 20160113

Year of fee payment: 6

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 6

FPAY Annual fee payment

Payment date: 20170103

Year of fee payment: 7

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 7

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 8

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

FPAY Annual fee payment

Payment date: 20190103

Year of fee payment: 9

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 9

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

FPAY Annual fee payment

Payment date: 20200103

Year of fee payment: 10

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 10

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 11

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 12

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 13

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 14

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301