Browse Prior Art Database

Method For Reflective, Self-Adapting Services Based on Dynamic Interfaces in Peer Based Networks.

IP.com Disclosure Number: IPCOM000020060D
Original Publication Date: 2003-Oct-22
Included in the Prior Art Database: 2003-Oct-22
Document File: 5 page(s) / 16K

Publishing Venue

IBM

Abstract

In today's computing environment, the notion of a service interface is static. Once a service is 'published' its interface, and therefore, it's behavior is static. A service has no opportunity to alter in any way the behavior it provides. This invention provides a method for services to dynamically compose their interfaces and, therefore, make themselves 'self-adapting' to their environment

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 54% of the total text.

Page 1 of 5

  Method For Reflective, Self-Adapting Services Based on Dynamic Interfaces in Peer Based Networks.

  In today's computing environment, the notion of a service interface is static. Once a service is 'published' its interface, and therefore, it's behavior is static. A service has no opportunity to alter in any way the behavior it provides. This invention provides a method for services to dynamically compose their interfaces and, therefore, make themselves 'self-adapting' to their environment.

This invention achieves an advantage by allowing services to introspect on the messages that they are asked to service. The service also introspects on the result of it forwarding on the message in order to determine who can satisfy the request. Based upon this information and a pluggable algorithm, the service can decide to either add this service to its own interface, thus composing a new interface and becoming a 'dynamic aggregate service'. In similar fashion, the service could decide to offer some 'value add' to the existing interface.

The following diagrams present several usage scenarios for these kinds of services. Please note that the diagrams presented below only represent a portion of the connectivity in the peer network.

Scenario 1: Self-aggregation based on interface composition

In this example, multiple clients are searching for a service that provides the current temperature. This is illustrated in Figure 1. Service 1,2,3, & 4 receive these requests and attempt to discover who can answer the request. During this process, Service 1 discovers Service 5 and forwards the message appropriately. Based on a pluggable algorithm, Service 1 determines that it is beneficial to be recognized as a provider of the current temperature. Therefore, Service 1 dynamically modifies its interface to offer the current temperature as represented in Figure 2.

1

Page 2 of 5

Peer Network

Service 5

Current Temp

Service 1

My Behvior

Current Temp

Service 2

Service 3

Service 4

Clients

Figure 2

Scenario 2: Self-aggregation based on interface composition with value add.

In the second scenario, the Service 1 is able to dynamically add value to the original request by either 'decorating' it with specialized beh...