390 likes | 551 Views
Challenges. Development. Result. Conclusion. Bluetooth. V SEBT. An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Presentation Contents. Bluetooth. Challenges. Development. Result. Conclusion. A Presentation of CEG 499 project. Supervisor :
E N D
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Presentation Contents Bluetooth Challenges Development Result Conclusion A Presentation of CEG 499 project Supervisor : Dr Nova Ahmed Assistant Professor, Department of EECS, North South University. Presented by : M Rubaiyat Bin Sattar ID Number # 061 – 671 - 044
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Presentation Contents Bluetooth Challenges Development Result Conclusion A Presentation of CEG 499 project Supervisor : Dr Nova Ahmed Assistant Professor, Department of EECS, North South University. Presented by : M Rubaiyat Bin Sattar ID Number # 061 – 671 - 044
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. What is Bluetooth ? ● Tenth-century Danish viking & king HaraldBlatand (Bluetooth) ● Bluetooth - radio technology- frequency-hopping spread spectrum ● ISM band: 2.4 GHz. ● Short-range, Low cost , Low power connectivity solution Special Interest Group (SIG) ● Bluetooth first developed in Ericsson’s research laboratory 1994. ● SIG was formed in 1998 to promote the technology ● IEEE 802.15 is the standardization of Bluetooth ● v2.1+EDR adopted in July 2007 – Transmission rate 3Mbits/s ● v3.0 + HS adopted in April 2009 –transmission rate 24Mbit/s ● In July 2010 SIG reveled Bluetooth v4 , High speed based on Wi-Fi Application of Bluetooth ● Data transfer, audio streaming, GPS navigation ,video streaming. ● Video streaming – Spy cam , Monitoring system , Sharing movie ● In general - range is 10 meter
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Bluetooth Protocol Stack The Logical Link Control and Adaptation Protocol (L2CAP) receives application data and adapts it to the Bluetooth format . √ Maintains a packet queue, √ Essential for streaming application Link Management Protocol (LMP) is responsible for radio link set up between nodes by the baseband layer . Other responsibility - manage piconets , monitors service quality. The service Discovery protocol (SDP) is used for investigation of connection between devices. The LMP uses the service Discovery protocol (SDP) to find out what service is available
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Bluetooth Protocol Stack The baseband layer maintains Synchronous Connection-Oriented (SCO) links for voice & Asynchronous Connectionless (ACL) links for data. It controls and send data over the radio link HCI is the dividing line between software and hardware. The L2CAP and layers above it are currently implemented in software, and the LMP and lower layers are in hardware. The BTnode structure for simulation (video Streaming) - where upper part is default ns-2 agent and middle is the bluetooth extension . Bluetooth Network Encapsulation Protocol (BNEP) layer provided a consistent interface to (LL), transfer IP packets in PAN Profile via L2CAP channel , run PPP and emulates Ethernet
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Bluetooth Protocol Stack Alternative controller besides EDR , √ consists three layer :- (1) Protocol Adaptation layer (2) alternative mac protocol (3) alternative Physical layer
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Connection Establishment • 3 steps : • INQUIRY -> PAGE -> CONNECTION • First standby mode and listen for message over 32 hop frequency . • In a new environment, the device automatically initiates an inquiry to find an access point. All nearby access points respond with their addresses, and the device picks access point. Inquiry Scan Inquiry Scan Inquiry Search Inquiry Scan
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Connection Establishment • 3 steps : • INQUIRY-> PAGE -> CONNECTION • - If inquiry is successful • Paging procedure synchronizes the device with access point. • Link Manager Protocol (LMP) establishes a link with the access point • LMP uses SDP for available service information & create L2CAP channel . Page Scan Page Scan Page Inquiry Scan
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Connection Establishment • 3 steps : • INQUIRY-> PAGE -> CONNECTION • In active state master and slave listen, transmit and receive data • Point to be noted , in Inquiry state if there is no reply from a devices , then it stay as undiscoverable . Slave Slave Master Inquiry Scan
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. What is Piconet ? • Piconet refers following key points: • 1. Short range • 2. Master - Slave • 3. Frequency Hopping • 4. Master + n slave ;n ≤ 7 • 5. Additional slaves- parked • ●Standard piconet -7 slaves • ● Up to 255 parked slaves • ● Active devices are assigned a 3- • bit active member address • ● Parked devices are assigned an 8- bit parked member address • ● Standby devices do not need an address
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Presentation Contents Bluetooth Challenges Development Result Conclusion Video files & other tools http://www.vsebt.okzbd.com
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Video Streaming in Bluetooth : ● (LAN) or (Wi-Fi) - has band-width, delay and loss requirements ● Bluetooth link is little bit challenging ; many potential reason : □ Low bandwidth , out of range device , time –varying feature and interference with other devices or external sources Bluetooth Simulation in ns-2 : • ● BlueHoc (2001) - Developed at IBM – now out dated • ● UCBT (2005)- Developed at University of Cincinnati - support v2+EDR • ● HSBT (2010 NOV) - Developed at Cairo University • – Support latest Bluetooth v3+HS • ● However – Works only in ns-2.29 , need native linux machine . • Very Hard to simulate in modern machine without significant effort ; • such as downgrading the compiler
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Insufficient Documentation : ● Working with ns-2 is hard where there is no proper documentation ● One have to create their own documentation for works ● Question : is it possible to do video streaming in BT node ? Information Compare with Bluetooth related papers/survey for video streaming over Bluetooth network. Ex : M.H.Chia , Salim Beg, Wang Xiaohang • Findings : • ● Streaming Via IP • -Some connection with existing simulation . • IP ?? > By BNEP, L2CAP • ● MPEG-4 Video Codec Existing video streaming schemes in “Wired” and “Wi-Fi” Ex :China-Henry , frank They Integrated ns2 for streaming & evaluation in wired and wi-fi
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Machine Preparation – Environment Settings : ns-2.29 Bug Fixing Integration of Evaluation method Bluetooth Library fixing for ns-2 Machine prepared for simulation Appropriate Video Compression format VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network AWK command Rtptools in cygwin for evaluation Evalvid Tools in Cygwin for evaluation
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Presentation Contents Bluetooth Challenges Development Result Conclusion Video files & other tools http://www.vsebt.okzbd.com
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. VSEBT SORRY CURRENTLY NOT ALLOWED TO SHOW DEVELOPMENT PART
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Presentation Contents Bluetooth Challenges Development Result Conclusion Video files & other tools http://www.vsebt.okzbd.com
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Video Files and Extra tools www.vsebt.okzbd.com Video files & other tools
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Presentation Contents Bluetooth Challenges Development Result Conclusion Video files & other tools http://www.vsebt.okzbd.com
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Performance Parameter : ● Delay :Time taker for a packet ,transmit from source to destination Delay :End time – Start Time ● Jitter : Represents variance of delay Jitter = {End to End Delay (j) – End to End Delay (i)} / (j-i), where j>i ● Throughput : Defines the Number of bits from (A to B / Observation) Throughput for each packet = {(CBR packet size in Bytes * 8 ) / End to End Delay /1000} (kbps) ● Loss : No, as we follow time manner strictly
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis • Data rate : 14250.000000 ( bytes) • [ total received bytes / data stream (114000/8.000000) ] • set-statist 7 15 1 adjust l2cap hdr • [represents collecting statistic {End(15) – Begin (7)} /steps (1) = 8, • the period of statistics or data stream time ] • Average Delay : 0.405847 (s) • [Total Delay for burst / Total hops (63.717970/157 ) ] • AODV routing protocol - determine the hopping Delay Ratio: 1.000000 (1- 0/569) [1- Lost packets / send packets ) ] Total of 569 packets send by ffmpeg
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis 0 0.065330 1 0.070330 2 0.075330 3 0.080330 4 0.085330 5 0.090330 ……………………………. ……………………………. 564 3.856445 565 3.859070 566 3.903811 567 3.833695 568 3.843010 0 0.032330 1 0.037330 2 0.042330 3 0.044598 4 0.016466 5 0.236756 ……………………………. ……………………………. 551 4.044206 552 3.961486 553 3.972132 554 3.996185 555 4.000924 0 0.059330 1 0.064330 2 0.069330 3 0.074330 4 0.079330 5 0.084330 ……………………………. ……………………………. 851 14.112449 852 14.122622 853 14.171409 854 14.206409 855 14.217985 x264_EDR (average delay) Xvid_EDR (average delay) ffmpeg_EDR (average delay) 1.308045 (172.661882/132) 0.638100 (89.972166/141) 0.405847 (63.717970/157)
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis Peak delay 17ms , Xvid – less fluctuation Compare to others
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis X264 – 290 kbps ; Xvid & ffmpeg - 40kbps & 37kbps respectively
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis x264 & ffmpeg peak at near 30000 kbps , after 17s later Xvid also touch peak value.
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis No big difference -17ms - but invalid packet is observed in output flow
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis (VSEBT_Rtp) Delay increase gradually from 0 to 37 seconds Extraordinary performance of HS is ultimately Incomparable With EDR Delay record less than 1ms in HS system ( constant )
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Graphs and Analysis (VSEBT_Rtp) Peak at 53ms when system is EDR and Constant Zero when system is HS
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Possibly Live test and graphs analysis Test between two HP laptop : - Support EDR 2.1 functionality -a assumption that unicast streaming in EDR (ns-2) gives the same output.
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Possibly Live test and graphs analysis
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Possibly Live test and graphs analysis Finally Throughput where peak at 755 kbps and low value at 11kbps. We assume our experimental live streaming test is very similar like the output data. Peak Delay 345ms and most of the time delay range is in between 20ms & 260 ms In some point jitter goes to 250 ms and rest of the cases stay in acceptable range
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Presentation Contents Bluetooth Challenges Development Result Conclusion Video files & other tools http://www.vsebt.rangan.nopayhost.com
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Conclusion We have developed - ●Method for video streaming and evaluation over -Bluetooth (v2.1 & v3) -in maximum possible salves (7) -which support any video duration ●Two frameworks - can be applied over upcoming Bluetooth specification (v4) Findings : √Encoding method is extremely important – √ The packet size & type 3-DH5 It can be believe that this research work is the first work with High speed Bluetooth connection as it is adopted very recently
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Conclusion Further research- we consider experimenting with scatternet topology and to supports any video format To face this challenge – Critical implementation methods (ex: new protocol design, node formation) have to be addressed for realistic video transmission and evaluation . However, if we only concern with piconet another new topology can be created . If we can merge master of piconet with Wifi Router . Wifi Cum Bluetooth ( WB )
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Conclusion Wi-fi Cum Bluetooth ( Future work ) High Cost Low Cost
Challenges Development Result Conclusion Bluetooth VSEBT An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network. Presentation Contents Bluetooth Challenges Development Result Conclusion Questions www.vsebt.okzbdcom Video files & other tools