ArticleslgStudy

computer science

Hidden node problem

Hidden node problem 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 Hidden node problem rather than just read about it. In short: In wireless networking, the hidden node problem or hidden terminal problem occurs when a node can communicate with a wireless access point (AP), but cannot directly communicate with other nodes that are communicating with that AP. This leads to difficulties in medium access control sublayer since multiple nodes can send data packets to the AP simultaneously, which creates interference at the AP, resulting in no pack…

Hidden node problem — main illustration
Hidden node problem — illustration

Key takeaways

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

Reference excerpt

In wireless networking, the hidden node problem or hidden terminal problem occurs when a node can communicate with a wireless access point (AP), but cannot directly communicate with other nodes that are communicating with that AP. This leads to difficulties in medium access control sublayer since multiple nodes can send data packets to the AP simultaneously, which creates interference at the AP, resulting in no packet getting through. Although some loss of packets is normal in wireless networking, and the higher layers will resend them, if one of the nodes is transferring a lot of large packets over a long period, the other node may get very little goodput. Practical protocol solutions exist to the hidden node problem. For example, Request To Send/Clear To Send (RTS/CTS) mechanisms where nodes send short packets to request permission of the AP to send longer data packets. As responses from the AP are seen by all the nodes, the nodes can synchronize their transmissions to not interfere. However, the mechanism introduces latency, and the overhead can often be greater than the cost, particularly for short data packets.

Background Hidden nodes in a wireless network are nodes that are out of range of other nodes or a collection of nodes. Consider a physical star topology with an AP with many nodes surrounding it in a circular fashion: each node is within communication range of the AP, but the nodes cannot communicate with each other. For example, in a wireless network, it is likely that the node at the far edge of the AP's range, which is known as A, can see the AP, but it is unlikely that the same node can communicate with a node on the opposite end of the AP's range, C. These nodes are known as hidden. Another example would be where A and C are on either side of an obstacle that reflects or strongly absorbs radio waves, but nevertheless they can both still see the same AP. The problem is when nodes A and C start to send packets simultaneously to the AP B. As nodes A and C cannot receive each other's signals, they cannot detect the collision before or while transmitting; carrier-sense multiple access with collision detection (CSMA/CD) does not work, and collisions occur, which then corrupt the data received by the AP. To overcome the hidden node problem, request-to-send/clear-to-send (RTS/CTS) handshaking (IEEE 802.11 RTS/CTS) is implemented at the AP in conjunction with the Carrier sense multiple access with collision avoidance (CSMA/CA) scheme. The same problem exists in a mobile ad hoc network (MANET). IEEE 802.11 uses 802.11 RTS/CTS acknowledgment and handshake packets to partly overcome the hidden node problem. RTS/CTS is not a complete solution and may decrease throughput even further, but adaptive acknowledgements from the base station can help too. The comparison with hidden stations shows that RTS/CTS packages in each traffic class are profitable (even with short audio frames, which cause a high overhead on RTS/CTS frames). In the experimental environment, the following traffic classes are included: data (not time critical), data (time critical), video, audio. Examples for notations: (0|0|0|2) means 2 audio stations; (1|1|2|0) means 1 data station (not time critical), 1 data station (time critical), 2 video stations.

The other methods that can be employed to solve the hidden node problem include:

Increase transmitting power from the nodes Use omnidirectional antennas Remove obstacles Move the node Use protocol enhancement software Use antenna diversity

Solutions

Increasing transmitting power Increasing the transmission power of the nodes can solve the hidden node problem by allowing the cell around each node to increase in size, encompassing all of the other nodes. This configuration enables the non-hidden nodes to detect, or hear, the hidden node. If the non-hidden nodes can hear the hidden node, the hidden node is no longer hidden. As wireless LANs use the CSMA/CA protocol, nodes will wait their turn before communicating with the AP. This solution only works if one increases the transmission power on nodes that are hidden. In the typical case of a WiFi network, increasing transmission power on the AP only will not solve the problem because typically the hidden nodes are the clients (e.g. laptops, mobile devices), not the AP itself, and the clients will still not be able to hear each other. Increasing transmission power on the AP is actually likely to make the problem worse, because it will put new clients in range of the AP and thus add new nodes to the network that are hidden from other clients.

Omnidirectional antennas Since nodes using directional antennas are nearly invisible to nodes that are not positioned in the direction the antenna is aimed at, directional antennas should be used only for very small networks (e.g., dedicated point-to-point connections). Use omnidirectional antennas for widespread networks consisting of more than two nodes.

Removing obstacles Increasing the power on mobile nodes may not work if, for example, the reason one node is hidden is that there is a concrete or steel wall preventing communication with other nodes. It is doubtful that one would be able to remove such an obstacle, but removal of the obstacle is another method of remedy for the hidden node problem.

Moving the node Another method of solving the hidden node problem is moving the nodes so that they can all hear each other. If it is found that the hidden node problem is the result of a user moving his computer to an area that is hidden from the other wireless nodes, it may be necessary to have that user move again. The alternative to forcing users to move is extending the wireless LAN to add proper coverage to the hidden area, perhaps using additional access points.

Protocol enhancement There are several software implementations of additional protocols that essentially implement a polling or token passing strategy. Then, a master (typically the AP) dynamically polls clients for data. Clients are not allowed to send data without the master's invitation. This eliminates the hidden node problem at the cost of increased latency and lower maximum throughput. The Wi-Fi IEEE 802.11 RTS/CTS is one handshake protocol that is used. Clients that wish to send data send an RTS frame. The AP then sends a CTS frame when it is ready for that particular node. For short packets, the overhead is quite large, so short packets do not usually use it; the minimum size is generally configurable.

… excerpt ends here. Continue reading the full article.

Illustrations

Hidden node problem: In one scenario, Station A can communicate with station B. Station C can also communicate with station B. However, stations A and C cannot communicate with each other as they are out of range of each other, and thus may start to transmit simultaneously preventing B from receiving messages intended for it.
In one scenario, Station A can communicate with station B. Station C can also communicate with station B. However, stations A and C cannot communicate with each other as they are out of range of each other, and thus may start to transmit simultaneously preventing B from receiving messages intended for it.
Hidden node problem: Benchmarks: Net Throughput with/without RTS/CTS (Pommer, p.179)
Benchmarks: Net Throughput with/without RTS/CTS (Pommer, p.179)

Worked examples

Example 1 — a first encounter with Hidden node problem

Start with the simplest possible case. Write down what Hidden node problem 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 Hidden node problem 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 Hidden node problem 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 Hidden node problem

In research
Hidden node problem 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 Hidden node problem 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
Hidden node problem is common in secondary-school and first-year university syllabi. It links to neighbouring topics IEEE 802.11, Wireless networking, so understanding it makes those chapters shorter.
In everyday life
Look for Hidden node problem 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 “Hidden node problem” →

How to study Hidden node problem in 20 minutes

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

Frequently asked questions

What is Hidden node problem in simple terms?

In wireless networking, the hidden node problem or hidden terminal problem occurs when a node can communicate with a wireless access point (AP), but cannot directly communicate with other nodes that are communicating with that AP. This leads to difficulties in medium access control sublayer since m…

Why does Hidden node problem 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 Hidden node problem?

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 Hidden node problem.

Tags

  • IEEE 802.11
  • Wireless networking

Keep exploring