ArticleslgStudy

computer science

Associativity-based routing

Associativity-based routing 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 Associativity-based routing rather than just read about it. In short: Associativity-based routing (commonly known as ABR) is a mobile routing protocol invented for wireless ad hoc networks, also known as mobile ad hoc networks (MANETs) and wireless mesh networks. ABR was invented in 1993, filed for a U.S. patent in 1996, and granted the patent in 1999.

Key takeaways

  • Associativity-based routing 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 Associativity-based routing to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Associativity-based routing from memory before moving on to harder problems.

Reference excerpt

Associativity-based routing (commonly known as ABR) is a mobile routing protocol invented for wireless ad hoc networks, also known as mobile ad hoc networks (MANETs) and wireless mesh networks. ABR was invented in 1993, filed for a U.S. patent in 1996, and granted the patent in 1999. ABR was invented by Chai Keong Toh while doing his Ph.D. at Cambridge University.

Route discovery phase ABR has three phases. The first phase is the route discovery phase. When a user initiates to transmit data, the protocol will intercept the request and broadcast a search packet over the wireless interfaces. As the search packet propagates node to node, node identity and stability information are appended to the packet. When the packet eventually reaches the destination node, it would have received all the information describing the path from source to destination. When that happens, the destination then chooses the best route (because there may be more than one path from the source to the destination) and sends a REPLY back to the source node, over the chosen path. Note that when the packet transits backwards from destination to the source, each intermediate node will update their routing table, signifying that it will now know how to route when it receives data from the upstream node. When the source node receives the REPLY, the route is successfully discovered and established. This process is done in real-time and only takes a few milli-seconds.

Route reconstruction phase ABR establishes routes that are long-lived or associativity-stable, thus most routes established will seldom experience link breaks; however, if one or more links are broken, their ABR will immediately invoke the RRC – route reconstruction phase. The RRC basically repairs the broken link by having the upstream node (which senses the link break) perform a localized route repair. The localized route repair is performed by carrying out a localized broadcast query that searches for an alternative long-lived partial route to the destination. ABR route maintenance consists of:

(a) partial route discovery, (b) invalid route erasure, (c) valid route update, and (d) new route discovery (worse case).

Route deletion phase When a discovered route is no longer needed, a RD (Route Delete) packet will be initiated by the source node so that all intermediate nodes in the route will update their routing table entries and stop relay data packets associated with this deleted route. In addition to using RD to delete a route, ABR can also implement a soft state approach where route entries are expired or invalidated after timed out, when there is no traffic activity related to the route over a period of time.

Practicality In 1998, ABR was successfully implemented into the Linux kernel, in various different branded laptops (IBM Thinkpad, COMPAQ, Toshiba, etc.) that are equipped with WaveLAN 802.11a PCMCIA wireless adapters. A working 6-node wide wireless ad hoc network spanning a distance of over 600 meters was achieved and the successful event was published in Mobile Computing Magazine in 1999. Various tests were performed with the network:

Transmission of up to 500MBytes of data from source to destination over a 3-hop route. Link breaks and automatic link repairs proven to be working Automatic Route Discovery Route Delete Web Server in Ad Hoc mode – with source being client and destination being the web server Transmission of multimedia information (audio and video) TELNET over Ad Hoc FTP over Ad Hoc HTTP over Ad Hoc Also, network performance measurements on the following were made:

End-to-end delay TCP throughput Packet loss ratio Route discovery delay Route repair delay Impact of packet size on throughput Impact of beaconing interval on throughput and remaining battery life An enhanced version of the protocol was implemented in the field by defense contractor TRW Inc. in 2002. The enhancement made to the protocol include: (a) network-layer QoS additions and (b) route precedence capabilities.

Patent and work extensions ABR was granted a US patent 5987011 and the assignee being King's College, Cambridge, UK. A few other mobile ad hoc routing protocols have incorporated ABR's stability concept or have done extensions of the ABR protocol, including:

Signal Stability-based Adaptive Routing Protocol (SSA) Enhanced Associativity Based Routing Protocol (EABR) Alternative Enhancement of Associativity-Based Routing (AEABR) Optimized Associativity Threshold Routing (OABTR) Associativity-Based Clustering Protocol (ABCP), Fuzzy Based Trust Associativity-Based Routing (Fuzzy-ABR) Associativity Tick Averaged Associativity-Based Routing (ATA-AR), Self-adaptive Q-learning based trust ABR (QTABR) Quality of Service Extensions to ABR (QoSE-ABR) Associativity-based Multicast Routing (ABAM) Multipath Associativity Based Routing (MABR) Associativity routing for Wireless Sensor Networks Associative Vehicular Ad Hoc Networks (VANETs)

References

Worked examples

Example 1 — a first encounter with Associativity-based routing

Start with the simplest possible case. Write down what Associativity-based routing 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 Associativity-based routing 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 Associativity-based routing 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 Associativity-based routing

In research
Associativity-based routing 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 Associativity-based routing 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
Associativity-based routing is common in secondary-school and first-year university syllabi. It links to neighbouring topics Ad hoc routing protocols, Mobile computing, Routing protocols, so understanding it makes those chapters shorter.
In everyday life
Look for Associativity-based routing 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 “Associativity-based routing” →

How to study Associativity-based routing in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Associativity-based routing 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 Associativity-based routing out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Associativity-based routing in simple terms?

Associativity-based routing (commonly known as ABR) is a mobile routing protocol invented for wireless ad hoc networks, also known as mobile ad hoc networks (MANETs) and wireless mesh networks. ABR was invented in 1993, filed for a U.S. patent in 1996, and granted the patent in 1999.

Why does Associativity-based routing 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 Associativity-based routing?

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 Associativity-based routing.

Tags

  • Ad hoc routing protocols
  • Mobile computing
  • Routing protocols
  • Wireless sensor network

Keep exploring