Discovery protocol WS Discovery - universAAL/middleware GitHub Wiki
- Define the role of the protocol
- Define significant scenarios where the protocol is actually involved
- Provide and overview of protocol architecture
- quick protocol stack snippet by providing a concise description of every layer
- Define existing device constraints for protocol adoption: general purpose device vs specific one. This section aims at quickly mark those protocols designed for unrealistic AAL Node
As introduced into the first section, WS-Discovery architecture defines two different modes, next two sections provide a concise description for both of the modes. In order to clarify the actors evolved into the mode descriptions few definitions have to be provided:
- Target service: an endpoint providing services available to clients
- Client: endpoint that search for Target Services
- Discovery Proxy: endpoint providing support for service announce and service discovery
In ad-hoc mode all the communications are sent in multicast while response message are sent through unicast. Figure 1 reports the collaboration diagram:
- Target Service announces with multicast message as soon as service joins the network
- Client listens for multicast announce message, letting the client be aware of new registered services. The client send a multicast Probe message in order to localize the Target Service
- Target Service checks if the Probe message matches the service specification. In this case Target Service replies to the Probe with a Probe Match (PM) message
- Client is free to send a multicast Resolve message in order to retrieve network transport information related to Target Service
- Target Service replies to the Resolve message by sending a unicast Resolve Match (RM)
- Target Service sends a multicast Bye message in order to leave the network
In Managed mode all the messages are sent in unicast to the Discovery Proxy. Figure 2 reports the collaboration diagram:
- Target Service announces with a unicast message to the Discovery Proxy as soon as service joins the network
- Client sends a request unicast Probe message to the Discovery Proxy in order to locate the service
- Discovery Proxy replies on behalf of the Target Service by sending a Probe Match message towards the client if such a service has been previously announced
- Client sends a Resolve message in order to retrieve network transport information related to Target Service
- Discovery Proxy responds with a unicast message by sending a unicast Resolve Match (RM)
- Target Service sends a multicast Bye message in order to leave the network
- Define how the selected protocol answers to node discover challenge
- Try to provide the ad-hoc definition of “node-addressing” for the specific protocol. (Maybe there exist different definitions of “addressing” for the reviewed protocols)
- Provide examples and simple scenarios where discovering is involved
- Define well-know limitations and possible draw-backs in protocol adoption
- WS-Discovery java implementation http://code.google.com/p/java-ws-discovery/