ArticleslgStudy

computer science

Service discovery

Service discovery is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Service discovery rather than just read about it. In short: Service discovery is the process of automatically detecting devices and services on a computer network. It aims to reduce the manual configuration effort required from users and administrators.

Key takeaways

  • Service discovery belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Service discovery to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Service discovery from memory before moving on to harder problems.

Reference excerpt

Service discovery is the process of automatically detecting devices and services on a computer network. It aims to reduce the manual configuration effort required from users and administrators. A service discovery protocol (SDP) is a network protocol that helps accomplish service discovery. Service discovery requires a common language to allow software agents to make use of one another's services without the need for continuous user intervention.

Protocols There are many service discovery protocols, including:

Bluetooth Service Discovery Protocol (SDP) Bonjour, e.g., Apple AirPrint DNS Service Discovery (DNS-SD), a component of zero-configuration networking DNS, as used for example in Kubernetes Dynamic Host Configuration Protocol (DHCP); its classification as a service discovery protocol is controversial Internet Storage Name Service (iSNS) Jini for Java objects. Lightweight Service Discovery (LSD), for mobile ad hoc networks Link Layer Discovery Protocol (LLDP) standards-based neighbor discovery protocol similar to vendor-specific protocols which find each other by advertising to vendor-specific broadcast addresses (versus all-1's), such Cabletron (Enterasys) and Cisco Discovery Protocol (both referred to as CDP but different formats). Local Peer Discovery, or Local Service Discovery Multicast Source Discovery Protocol (MSDP), usually used for unicast exchange of multicast source information between anycast Rendez-Vous Points (RPs) to service mcast clients. Service Advertising Protocol used in Novell NetWare networks with IPX Service Location Protocol (SLP) Session Announcement Protocol (SAP) used to discover RTP sessions Simple Service Discovery Protocol (SSDP), a component of Universal Plug and Play (UPnP) Universal Description Discovery and Integration (UDDI) for web services Universal Service Discovery Protocol (USDP) Web Proxy Autodiscovery Protocol (WPAD) WS-Discovery (Web Services Dynamic Discovery) XMPP Service Discovery (XEP-0030) XRDS (eXtensible Resource Descriptor Sequence) used by XRI, OpenID, OAuth, etc.

See also Discoverability Semantic web

References

External links Service Discovery S-Cube Knowledge Model Dong, H., Hussain, F.K., Chang, E.: Semantic Web Service matchmakers: State of the art and challenges[Online]. Concurrency and Computation: Practice and Experience 25(7) (May 2013) pp. 961–988. Accessed on June 16, 2015. Sun, L., Dong, H., Hussain, F.K., Hussain, O.K., Chang, E.: Cloud service selection: State-of-the-art and future research directions. Journal of Network and Computer Applications[Online] 45 (October 2014) pp. 134–150. Date accessed: 16 June 2015.

Worked examples

Example 1 — a first encounter with Service discovery

Start with the simplest possible case. Write down what Service discovery claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Service discovery before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Service discovery ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Service discovery

In research
Service discovery appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Service discovery in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Service discovery is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application layer protocols, Computer configuration, Internet protocols, so understanding it makes those chapters shorter.
In everyday life
Look for Service discovery outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Service discovery” →

How to study Service discovery in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Service discovery means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Service discovery out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Service discovery in simple terms?

Service discovery is the process of automatically detecting devices and services on a computer network. It aims to reduce the manual configuration effort required from users and administrators.

Why does Service discovery matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Service discovery?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Service discovery.

Tags

  • Application layer protocols
  • Computer configuration
  • Internet protocols
  • Service-oriented (business computing)
  • Technology stubs

Keep exploring