SlideShare a Scribd company logo
Special Study
Simple Implementation of Network Coding

            Kishoj Bajracharya st111224

                 Asian Institute of Technology


                         July 06, 2011




      Kishoj Bajracharya st111224   Network Coding
IMPLEMENTATION OF NETWORK CODING (XOR)
 Assumptions
  1   Sources send string as message in wireless network.
  2   Both source data contain equal number of bits.
  3   Encoding is done at intermediate node i.e. C
  4   Decoding are performed at both the source nodes A & B.




          Fig1: Simple Implementaion of Network Coding

                Kishoj Bajracharya st111224   Network Coding
IMPLEMENTATION OF NETWORK CODING (Contd.)


 Test Example
   1   Source A & Source B send the string “Network Coding is
       complex and hard” and “Performing experiments in Interlab”
       respectively to intermediate node C.
   2   Node C performs XOR operations betweens bits from source
       A & source B and then broadcasts the coded message.
   3   Nodes A & B decode the message from coded data and data
       it contains.
   4   Node A decodes message “Performing experiments in
       Interlab” from source node B.
   5   Node B decodes message “Network Coding is complex and
       hard” from source node A.



                Kishoj Bajracharya st111224   Network Coding
XOR Implementation on Butterfly Network (contd.)




       Fig2: Implementation of XOR on Butterfly Network
             Kishoj Bajracharya st111224   Network Coding
XOR Implementation on other Networks (contd.)




       Fig3: Network 1                                   Fig4: Network 2
              Kishoj Bajracharya st111224   Network Coding
Random Linear Coding




     Fig5: Implementaion of Random Linear Network Coding
             Kishoj Bajracharya st111224   Network Coding
Random Linear Coding (contd.)




      Fig6: Implementaion of Random LNC on mobile devices
              Kishoj Bajracharya st111224   Network Coding
Random Linear Coding (Another Approach)




        Fig7: Another Approach of Implementaion RLNC
             Kishoj Bajracharya st111224   Network Coding
Demo on Python
  XOR Demo:




         Fig8: Data encoded by Intermediate Node C

              Kishoj Bajracharya st111224   Network Coding
Demo on Pyton (Contd.)




                Fig9: Data decoded by Node A

            Kishoj Bajracharya st111224   Network Coding
Demo on Python (Contd.)




               Fig10: Data decoded by Node B

            Kishoj Bajracharya st111224   Network Coding
Demo on Python(Contd.)
  RLNC Demo:




       Fig11: Client encodes the message & send to Server




     Fig12: Server decodes the encoded message from Client

               Kishoj Bajracharya st111224   Network Coding
THANK YOU
               QUESTIONS???




Kishoj Bajracharya st111224   Network Coding

More Related Content

What's hot (20)

PPTX
Bluetooth security
Shantanu Krishna
 
PPTX
Diffie Hellman Key Exchange
SAURABHDHAGE6
 
PPT
Mobile IP
DanielaSalazar3
 
PDF
IoT Security Challenges and Solutions
Intel® Software
 
PDF
2. Stream Ciphers
Sam Bowne
 
PPTX
CS8792 - Cryptography and Network Security
vishnukp34
 
PDF
AODV protocol
Shanka Mahakumbura
 
PPTX
Network Security
moviebro1
 
PDF
CRYPTOGRAPHY AND NETWORK SECURITY
Kathirvel Ayyaswamy
 
PPTX
Nmap 9 truth "Nothing to say any more"
abend_cve_9999_0001
 
PPTX
MANET routing protocols Issues and Classifications
ArunChokkalingam
 
PPTX
Intrusion Prevention System
Vishwanath Badiger
 
PPTX
Network scanning
oceanofwebs
 
PPTX
Packet sniffing
Shyama Bhuvanendran
 
PPTX
Dynamic source routing
Ashraf Uddin
 
PPTX
DIGITAL SIGNATURE PPT.pptx
Ranga91
 
PDF
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
Kathirvel Ayyaswamy
 
PDF
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
Kathirvel Ayyaswamy
 
PPTX
Chapter 3 -Wireless_Networks_Principles_Lec.pptx
abenimelos
 
PPTX
Mobile ad hoc network
skobu
 
Bluetooth security
Shantanu Krishna
 
Diffie Hellman Key Exchange
SAURABHDHAGE6
 
Mobile IP
DanielaSalazar3
 
IoT Security Challenges and Solutions
Intel® Software
 
2. Stream Ciphers
Sam Bowne
 
CS8792 - Cryptography and Network Security
vishnukp34
 
AODV protocol
Shanka Mahakumbura
 
Network Security
moviebro1
 
CRYPTOGRAPHY AND NETWORK SECURITY
Kathirvel Ayyaswamy
 
Nmap 9 truth "Nothing to say any more"
abend_cve_9999_0001
 
MANET routing protocols Issues and Classifications
ArunChokkalingam
 
Intrusion Prevention System
Vishwanath Badiger
 
Network scanning
oceanofwebs
 
Packet sniffing
Shyama Bhuvanendran
 
Dynamic source routing
Ashraf Uddin
 
DIGITAL SIGNATURE PPT.pptx
Ranga91
 
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
Kathirvel Ayyaswamy
 
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
Kathirvel Ayyaswamy
 
Chapter 3 -Wireless_Networks_Principles_Lec.pptx
abenimelos
 
Mobile ad hoc network
skobu
 

Similar to Network Coding (20)

PDF
Lecture
saeed alqhtany
 
PDF
Network aware source coding and communication 1st Edition Nima Sarshar
phjwimxyw631
 
PPTX
Conference presentation final
ALYAA AL-BARRAK
 
PDF
Networkaware Source Coding And Communication 1st Edition Nima Sarshar Et Al
qanlinassih
 
PDF
Coding theory.pdf
230231060
 
PDF
Network Coding Applications Christina Fragouli Emina Soljanin
sungsuboedi
 
PDF
Binary_Codes.pdfhfkhvfkdhvbhfvfdhfgffhfdhyf
KusumitaSahoo1
 
PDF
Coding
Dayal Sati
 
PDF
New Structure of Channel Coding: Serial Concatenation of Polar Codes
ijwmn
 
PDF
New Structure of Channel Coding: Serial Concatenation of Polar Codes
ijwmn
 
PDF
New Structure of Channel Coding: Serial Concatenation of Polar Codes
ijwmn
 
PPT
Source coding
Shankar Gangaju
 
PDF
UAN (Underwater Acoustic Network)
Prof Ansari
 
PPT
15CS46 - Data communication or computer networks 1_Module-3.ppt
ranjan317165
 
PPTX
computer networks Module 4.pptx for MCA students
ssuser898779
 
PPT
Humming code error detector 7_communications.ppt
nesarahmad37
 
PPTX
Information & Communication System --Syndrome.pptx
logeswarisaravanan
 
DOCX
Error dectation and correction
fg657
 
PPTX
Lecture-10.pptx
AparnaDas827261
 
PPT
06 ET 351_Lecture_06_January_07_2023.ppt
OmmyOmar
 
Network aware source coding and communication 1st Edition Nima Sarshar
phjwimxyw631
 
Conference presentation final
ALYAA AL-BARRAK
 
Networkaware Source Coding And Communication 1st Edition Nima Sarshar Et Al
qanlinassih
 
Coding theory.pdf
230231060
 
Network Coding Applications Christina Fragouli Emina Soljanin
sungsuboedi
 
Binary_Codes.pdfhfkhvfkdhvbhfvfdhfgffhfdhyf
KusumitaSahoo1
 
Coding
Dayal Sati
 
New Structure of Channel Coding: Serial Concatenation of Polar Codes
ijwmn
 
New Structure of Channel Coding: Serial Concatenation of Polar Codes
ijwmn
 
New Structure of Channel Coding: Serial Concatenation of Polar Codes
ijwmn
 
Source coding
Shankar Gangaju
 
UAN (Underwater Acoustic Network)
Prof Ansari
 
15CS46 - Data communication or computer networks 1_Module-3.ppt
ranjan317165
 
computer networks Module 4.pptx for MCA students
ssuser898779
 
Humming code error detector 7_communications.ppt
nesarahmad37
 
Information & Communication System --Syndrome.pptx
logeswarisaravanan
 
Error dectation and correction
fg657
 
Lecture-10.pptx
AparnaDas827261
 
06 ET 351_Lecture_06_January_07_2023.ppt
OmmyOmar
 
Ad

More from Kishoj Bajracharya (8)

PDF
Tutorial for RDF Graphs
Kishoj Bajracharya
 
PDF
Comparison of Agent-based platforms
Kishoj Bajracharya
 
PDF
IPv6 examples
Kishoj Bajracharya
 
PDF
Galios: Python Programming
Kishoj Bajracharya
 
PDF
OLSR setup
Kishoj Bajracharya
 
PDF
DBpedia mobile
Kishoj Bajracharya
 
PDF
Manual orange
Kishoj Bajracharya
 
PDF
Random Number Generation
Kishoj Bajracharya
 
Tutorial for RDF Graphs
Kishoj Bajracharya
 
Comparison of Agent-based platforms
Kishoj Bajracharya
 
IPv6 examples
Kishoj Bajracharya
 
Galios: Python Programming
Kishoj Bajracharya
 
OLSR setup
Kishoj Bajracharya
 
DBpedia mobile
Kishoj Bajracharya
 
Manual orange
Kishoj Bajracharya
 
Random Number Generation
Kishoj Bajracharya
 
Ad

Recently uploaded (20)

PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PPTX
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PPTX
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
community health nursing question paper 2.pdf
Prince kumar
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 

Network Coding

  • 1. Special Study Simple Implementation of Network Coding Kishoj Bajracharya st111224 Asian Institute of Technology July 06, 2011 Kishoj Bajracharya st111224 Network Coding
  • 2. IMPLEMENTATION OF NETWORK CODING (XOR) Assumptions 1 Sources send string as message in wireless network. 2 Both source data contain equal number of bits. 3 Encoding is done at intermediate node i.e. C 4 Decoding are performed at both the source nodes A & B. Fig1: Simple Implementaion of Network Coding Kishoj Bajracharya st111224 Network Coding
  • 3. IMPLEMENTATION OF NETWORK CODING (Contd.) Test Example 1 Source A & Source B send the string “Network Coding is complex and hard” and “Performing experiments in Interlab” respectively to intermediate node C. 2 Node C performs XOR operations betweens bits from source A & source B and then broadcasts the coded message. 3 Nodes A & B decode the message from coded data and data it contains. 4 Node A decodes message “Performing experiments in Interlab” from source node B. 5 Node B decodes message “Network Coding is complex and hard” from source node A. Kishoj Bajracharya st111224 Network Coding
  • 4. XOR Implementation on Butterfly Network (contd.) Fig2: Implementation of XOR on Butterfly Network Kishoj Bajracharya st111224 Network Coding
  • 5. XOR Implementation on other Networks (contd.) Fig3: Network 1 Fig4: Network 2 Kishoj Bajracharya st111224 Network Coding
  • 6. Random Linear Coding Fig5: Implementaion of Random Linear Network Coding Kishoj Bajracharya st111224 Network Coding
  • 7. Random Linear Coding (contd.) Fig6: Implementaion of Random LNC on mobile devices Kishoj Bajracharya st111224 Network Coding
  • 8. Random Linear Coding (Another Approach) Fig7: Another Approach of Implementaion RLNC Kishoj Bajracharya st111224 Network Coding
  • 9. Demo on Python XOR Demo: Fig8: Data encoded by Intermediate Node C Kishoj Bajracharya st111224 Network Coding
  • 10. Demo on Pyton (Contd.) Fig9: Data decoded by Node A Kishoj Bajracharya st111224 Network Coding
  • 11. Demo on Python (Contd.) Fig10: Data decoded by Node B Kishoj Bajracharya st111224 Network Coding
  • 12. Demo on Python(Contd.) RLNC Demo: Fig11: Client encodes the message & send to Server Fig12: Server decodes the encoded message from Client Kishoj Bajracharya st111224 Network Coding
  • 13. THANK YOU QUESTIONS??? Kishoj Bajracharya st111224 Network Coding