Network Coding

Module

IN2315

Course

Network Coding (NC)

Lecturers

Prof. Dr.-Ing. Georg Carle
Prof. Dr.-Ing. Wolfgang Utschick
Dipl.-Ing. Stephan M. Günther, M.Sc.
Maurice Leclaire, M.Sc.

SWS

3V + 2VU

ECTS Credits

6.0

News

2016/01/20

The (written) exam will take place on February 11th, 2015 from 12:00-01:00pm in room 03.07.023. Allowed tools are one sheet of hand-written A4 paper (both sides), one non-programmable pocket calculator, and one non-digital dictionary native language / English. Please remember to bring your student card.

2015/10/27

Lecture material and git are currently unavailable.
Update 10/28 00:26am: problem resolved and mirror went down.
Update 10/27 23:00pm: a mirror is available at http://moepi.net/nc (HTTP only).

2015/10/06

Although there are no more places available according to TUMOnline, please register anyway on the waiting list. It is likely that some places become available again during the next couple of weeks.

2015/08/11

The website for this lecture is online.

Lecture material

Lecture material is available at http://nc.net.in.tum.de and can be cloned using git clone http://nc.net.in.tum.de/.git.

Previous knowledge

Please note that we expect firm knowledge in the following areas:

  • Grundlagen Rechnernetze und Verteilte Systeme (IN0010)
  • Diskrete Strukturen (IN0015)
  • Diskrete Wahrscheinlichkeitstheorie (IN0018)
  • good programming skills in C (or C++)
  • full compliance with kernel coding guidelines (we do not plan to do kernel programming)

Lecture

Conventional routing is unable to achieve a network's capacity as given by the min-cut max-flow theorem - a rather theoretical point of view. Network Coding (NC) is an approach to achieve this very capacity in practice and can thus be considered a generalization of routing. Just think about it: Intermediate nodes (let us call them "router") normally only send identical copies of previously received packets (forget about the headers). NC extends their capability by demanding that sent packets are arbitrary linear combinations of previously received packets. Sounds strange? It is...

Here is a brief example to make you curious:
Assume A wants to transmit n packets over a lossy link to B. With conventional approaches, B would have to acknowledge successful receipt of each individual packet such that A can retransmit any packets that got lost in transmission.  If you use NC, A does not send the actual information contained in each individual packet but linear combinations of all packets. Obviously, B needs n linear independent packets to decode. If any packet gets lost during transmission, B does not need to signal a specific loss to A. Instead, A continues to transmit random (independent) linear combinations of those n packets until B has assembled enough packets to decode the whole batch.

This example is very basic, and actually only even a degenerated case of NC. But it gives you the underlying idea. Now just assume there are not only A and B but a number of intermediate nodes, each of them listening, buffering packets, and sending linear combinations. Instead of deciding which specific packet to send where, those nodes have to decide how often a random linear combination is being broadcast.

The lecture is a combination of usual classes combined with practical sessions during classes, i.e., you are encouraged to bring your notebooks and participate in the projects.

The theoretic part of the lecture covers the following topics:

  • NC as generalization of routing
  • min-cut/max-flow theorem
  • linear programming
  • packet loss and channel estimation
  • ARQ mechanisms
  • random linear network coding (RLNC)
  • applications of NC
  • bidirectional coding
  • NC in transport and link-layer protocols
  • NC in wireless networks
  • acknowledgement schemes for NC
  • combination of NC on different layers

The practical part (projects) cover the following topics:

  • socket programming
  • IEEE 802.11 raw sockets
  • implementation of RLNC and acknowledgement schemes
  • window protocols for NC
  • many more if you want

Exercise

Lecture with integrated exercises.

Projects

The lecture is complemented by integrated exercises and demonstrations. On that basis, students are encouraged to propose individual practical projects, which are worked on in the second half of the lecture. Those projects may be done in groups of at most two students and are supervised during class hours. At the end of the lecture period students should present their projects to their class mates by presentation and/or demonstration.

Registration

Lecture:
You can register for the lecture via TUMonline. Please note that you have to register for exams separately.

Projects:

tba

Exam:
tba

Exam and bonus

Written or oral exam (60%) and project (40%). Credits earned in the project are added to the exam result and considered as bonus if and only if the exam itself (without project) is passed with grading "4.0" or better. The project cannot worsen your final grade. The duration of the written exam is 60 minutes. In case of a written exam you may use

  • 1 sheet of paper (A4, both sides, hand-written) and
  • a (non-electronic) dictionary without any additional comments.

Please bring your student card or identity card to the exam.