Transcript Bluetooth

Bluetooth
Challenges
Development
Result
Conclusion
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 :
Presented by :
Dr Nova Ahmed
M Rubaiyat Bin Sattar
Assistant Professor,
Department of EECS,
North South University.
ID Number # 061 – 671 - 044
Bluetooth
Challenges
Development
Result
Conclusion
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 :
Presented by :
Dr Nova Ahmed
M Rubaiyat Bin Sattar
Assistant Professor,
Department of EECS,
North South University.
ID Number # 061 – 671 - 044
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
What is Bluetooth ?
● Tenth-century Danish viking & king Harald Blatand (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
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Bluetooth Protocol Stack
The
Link
Control
and(LMP)
Adaptation
Protocol
(L2CAP)
receives
application
data and
adapts
Link Logical
service
Management
Discovery
Protocol
protocol
(SDP)
is responsible
is used
for investigation
for
radio link
of
setconnection
up
between
between
nodes
by
devices.
the
it
to LMP
the Bluetooth
format
. √ Maintains
a packet
queue,
√out
Essential
for streaming
application
baseband
The
uses
layerthe
. Other
service
responsibility
Discovery
protocol
- manage
(SDP)
piconets
to find
, monitors
what service
quality.
is available
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Bluetooth Protocol Stack
The
baseband
layerline
maintains
Synchronous
Connection-Oriented
(SCO)
for
voice it
& are
HCI
is
BTnode
the dividing
structure
for
between
simulation
software
(video
and
Streaming)
hardware.
The L2CAP
andlinks
layers
above
Bluetooth
Network
Encapsulation
Protocol
(BNEP)
layer provided
a consistent
interface
to (LL),
Asynchronous
Connectionless
(ACL)
links
forchannel
data.
It ,controls
and
data
over
-currently
where upper
part in
is PAN
default
in software,
ns-2
agent
and
the
and
LMP
middle
and
isrun
lower
thePPP
bluetooth
layers
areextension
in
hardware.
. the radio link
transfer
IPimplemented
packets
Profile
via
L2CAP
andsend
emulates
Ethernet
Bluetooth
Challenges
Development
Result
Conclusion
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
Bluetooth
Challenges
Development
Result
Conclusion
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 Search
Inquiry Scan
Inquiry Scan
Bluetooth
Challenges
Development
Result
Conclusion
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
Page Scan
Inquiry Scan
Bluetooth
Challenges
Development
Result
Conclusion
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
Master
Slave
Inquiry Scan
Bluetooth
Challenges
Development
Result
Conclusion
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 3bit active member address
● Parked devices are assigned an 8bit parked member address
● Standby devices do not need an
address
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Presentation Contents
Bluetooth
Challenges
Development
Result
Video files & other tools
http://www.vsebt.okzbd.com
Conclusion
Bluetooth
Challenges
Development
Result
Conclusion
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
Bluetooth
Challenges
Development
Result
Conclusion
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
Existing video
streaming schemes in
“Wired” and “Wi-Fi”
Ex :China-Henry , frank
They
Integrated ns2 for
streaming & evaluation
in wired and wi-fi
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
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Machine Preparation – Environment Settings :
ns-2.29
Bug Fixing
Appropriate
Video
Compression
format
Integration
of
Evaluation
method
Bluetooth
Library
fixing for
ns-2
Machine
prepared
for
simulation
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
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Presentation Contents
Bluetooth
Challenges
Development
Result
Video files & other tools
http://www.vsebt.okzbd.com
Conclusion
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
VSEBT
SORRY CURRENTLY NOT
ALLOWED TO SHOW
DEVELOPMENT PART
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Presentation Contents
Bluetooth
Challenges
Development
Result
Video files & other tools
http://www.vsebt.okzbd.com
Conclusion
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Video Files and Extra tools
Video files & other tools
www.vsebt.okzbd.com
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Presentation Contents
Bluetooth
Challenges
Development
Result
Video files & other tools
http://www.vsebt.okzbd.com
Conclusion
Bluetooth
Challenges
Development
Result
Conclusion
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
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
ffmpeg_EDR (Total Packet sent 569)
Node
Data Rate
Delay
An Adaptive Approach for VideoAverage
Streaming
and Evaluation OverDelivery
BluetoothRatio
Network.
1
13171.000000 (105368/8.000000)
2
0.654149 (97.468215/149)
1.000000 (1- 0/569)
13036.125000 (104289/8.000000)
0.668224 (98.897152/148)
1.000000 (1- 0/569)
3
12882.875000 (103063/8.000000)
0.714865 (104.370289/146)
1.000000 (1- 0/569)
4
12739.000000 (101912/8.000000)
0.780605 (112.407126/144)
1.000000 (1- 0/569)
5
14250.000000
14250.000000 (114000/8.000000)
(114000/8.000000)
0.405847
0.405847 (63.717970/157)
(63.717970/157)
1.000000
1.000000 (1(1-0/569)
0/569)
6
13305.875000 (106447/8.000000)
0.620212 (93.031778/150)
1.000000 (1- 0/569)
7
13172.000000 (105368/8.000000)
0.643671 (95.906965/149)
1.000000 (1- 0/569)
Graphs and Analysis
Delayrate
Data
Average
Ratio:
Delay
: 14250.000000
1.000000
: 0.405847
(1( bytes
(s)
0/569)
)
[ total
[Total
[1Lost
Delay
received
packets
for bytes
burst
/ send
/ Total
data
packets
stream
hops
) ] (63.717970/157
(114000/8.000000)
)] ]
AODV
routing
protocol
- determine
the hopping
Total
of
569
packets
send
by hdr
ffmpeg
set-statist
7 15
1 adjust
l2cap
[represents collecting statistic {End(15) – Begin (7)} /steps (1) = 8,
the period of statistics or data stream time ]
Bluetooth
5
Challenges
Development
Result
Conclusion
VSEBT
X264_EDR (Total Packet sent 556)
14250.000000 (114000/8.000000) 0.405847 (63.717970/157) 1.000000 (1- 0/569)
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Node Data Rate
Average Delay
Delivery Ratio
1
2
3
4
5
5
6
7
12137.625000
(97101/8.000000)
Graphs
and Analysis
12137.625000 (97101/8.000000)
12040.500000 (96324/8.000000)
12040.500000 (96324/8.000000)
12015.625000
12015.625000 (96125/8.000000)
(96125/8.000000)
13265.875000 (106127/8.000000)
12280.875000 (98247/8.000000)
0.595006
0.597427
0.620612
0.633261
0.638100
0.638100
0.286577
0.538133
(85.085839/143)
(85.432089/143)
(88.126857/142)
(89.923107/142)
(89.972166/141)
(89.972166/141)
(44.992525/157)
(79.105536/147)
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
(1- 0/556)
(1- 0/556)
(1- 0/556)
(1- 0/556)
(1(1- 0/556)
0/556)
(1- 0/556)
(1- 0/556)
Bluetooth
5
Challenges
Development
Result
Conclusion
VSEBT
14250.000000 (114000/8.000000) 0.405847 (63.717970/157) 1.000000 (1- 0/569)
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
5
12015.625000 (96125/8.000000)
Graphs and Analysis
0.638100 (89.972166/141) 1.000000 (1- 0/556)
Xvid_EDR (Total Packet sent 856)
Nod
e
1
2
3
4
5
6
7
Data Rate
14422.125000
14422.125000
14084.125000
13813.375000
15512.500000
14557.000000
14422.125000
Average Delay
Delivery Ratio
(115377/8.00000) 1.480219 (182.066989/123) 1.000000 (1 -0/856)
(115377/8.00000) 1.496256 (184.039489/123) 1.000000 (1 -0/856)
(112673/8.00000) 1.509867 (181.184077/120) 1.000000 (1 -0/856)
(110515/8.00000) 1.556477 (183.664253/118) 1.000000 (1 -0/856)
(124100/8.00000) 1.308045 (172.661882/132) 1.000000 (1 -0/856)
(124100/8.00000)
(116456/8.00000) 1.452801 (180.147276/124) 1.000000 (1 -0/856)
(115377/8.00000) 1.467587 (180.513239/123) 1.000000 (1 -0/856)
Bluetooth
5
Challenges
Development
Result
Conclusion
VSEBT
14250.000000 (114000/8.000000) 0.405847 (63.717970/157) 1.000000 (1- 0/569)
ffmpeg_EDR (average
delay)
x264_EDR
(average
delay)
An Adaptive
Approach
for Video(average
Streamingdelay)
and EvaluationXvid_EDR
Over Bluetooth
Network.
50.405847
12015.625000
(96125/8.000000)
(89.972166/141)
1.000000
(1- 0/556)
(63.717970/157)
0.6381000.638100
(89.972166/141)
1.308045
(172.661882/132)
Graphs and Analysis
0
0.065330
0
0.032330
0
0.059330
5 1 15512.500000
(124100/8.00000)
1.308045
(172.661882/132)
1.000000
(1 -0/856)
0.070330
1
0.037330
1
0.064330
2
0.075330
2
0.042330
2
0.069330
3
0.080330
3
0.044598
3
0.074330
4
0.085330
4
0.016466
4
0.079330
5
0.090330
5
0.236756
5
0.084330
…………………………….
…………………………….
…………………………….
…………………………….
…………………………….
…………………………….
564
3.856445
551
4.044206
851
14.112449
565
3.859070
552
3.961486
852
14.122622
566
3.903811
553
3.972132
853
14.171409
567
3.833695
554
3.996185
854
14.206409
568
3.843010
555
4.000924
855
14.217985
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Graphs and Analysis
ffmpeg_HS (Total Packet sent 569)
Challenges Development Result Conclusion
Bluetooth
Node Data Rate
Average Delay
Delivery Ratio
1
19759.875000 (158079/8.000000)
0.000445 (0.096508/217)
1.000000 (1- 0/569)
2
19759.875000 (158079/8.000000)
0.001123 (0.243630/217)
1.000000 (1- 0/569)
3
19759.875000 (158079/8.000000)
0.001801 (0.390763/217)
1.000000 (1- 0/559)
An Adaptive
Approach for Video0.002479
Streaming
and Evaluation Over1.000000
Bluetooth(1Network.
4
19759.875000
(158079/8.000000)
(0.537913/217)
-0/559)
5
19759.875000 (158079/8.000000)
0.003157 (0.685070/217) 1.000000 (1 -0/559)
6
23867.875000
(190943/8.000000)
0.003363 (0.837374/249)
1.000000 (1 - 0/601)
Graphs
and Analysis
7
23867.875000 (190943/8.000000)
0.003937 (0.980428/249)
1.000000 (1- 0/601)
X264_HS (Total Packet sent 556)
Node Data Rate
Average Delay
Delivery Ratio
VSEBT
1
2
3
4
5
6
7
Node
1
2
3
4
5
6
7
15955.000000
15955.000000
15955.000000
15955.000000
15955.000000
20063.000000
20063.000000
(127640/8.000000)
(127640/8.000000)
(127640/8.000000)
(127640/8.000000)
(127640/8.000000)
(160504/8.000000)
(160504/8.000000)
0.000278
0.000584
0.000889
0.001195
(0.051691/186)
(0.108554/186)
(0.165426/186)
(0.222306/186)
0.001501 (0.279190/186)
0.001544 (0.336597/218)
0.001801 (0.392541/218)
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
(1- 0/556)
(1- 0/556)
(1- 0/556)
(1- 0/556)
(1- 0/556)
(1- 0/588)
(1- 0/588)
Xvid_HS (Total Packet sent 856)
Data Rate
Average Delay
Delivery Ratio
40179.250000 (321434/8.000000)
0.001780 (0.635539/357)
1.000000 (1- 0/856)
40179.250000 (321434/8.000000)
0.002620 (0.935359/357)
1.000000 (1- 0/856)
40179.250000 (321434/8.000000)
0.003460 (1.235191/357)
1.000000 (1- 0/856)
40179.250000 (321434/8.000000)
0.004300 (1.535052/357)
1.000000 (1- 0/856)
40179.250000 (321434/8.000000)
0.005140 (1.834931/357) 1.000000 (1- 0/856)
44287.250000
(354298/8.000000)
(2.144318/389)
Peak
delay 17ms , Xvid –0.005512
less fluctuation
Compare to1.000000
others (1- 0/888)
44287.250000 (354298/8.000000)
0.006275 (2.440909/389)
1.000000 (1- 0/888)
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Graphs and Analysis
X264 – 290 kbps ; Xvid & ffmpeg - 40kbps & 37kbps respectively
Bluetooth
Challenges
Development
Result
Conclusion
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.
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Xvid_HS_ with Traffic ((Total Packet sent 856)
Node
Average Delay
Delivery Ratio
1
Data Rate Graphs and Analysis
67779.875000 (542239/8.000000)
0.001287 (0.736427/572)
1.000000 (1 - 0/1172)
2
67779.875000 (542239/8.000000)
0.001824 (1.043099/572)
1.000000 (1 - 0/1172)
3
67779.875000 (542239/8.000000)
0.002360 (1.349661/572)
1.000000 (1 - 0/1172)
4
67779.875000 (542239/8.000000)
0.002894 (1.655550/572)
1.000000 (1 - 0/1172)
5
67779.875000 (542239/8.000000)
0.003433 (1.963446/572)
1.000000 (1 - 0/1172)
6
67779.875000 (542239/8.000000)
0.003969 (2.270099/572)
1.000000 (1 - 0/1222)
7
67908.250000 (543266/8.000000)
0.004498 (2.577290/573)
1.000000 (1 - 0/1223)
No big difference -17ms - but invalid packet is observed in output flow
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Graphs and Analysis (VSEBT_Rtp)
increase
gradually
from
0 to Incomparable
37
seconds) With EDR
Extraordinary
DelayDelay
record
performance
less than
of1ms
HS is
inultimately
HS
system
( constant
Bluetooth
Challenges
Development
Result
Conclusion
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
Bluetooth
Challenges
Development
Result
Conclusion
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.
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Possibly Live test and graphs analysis
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Possibly Live test and graphs analysis
Finally
Throughput
where
at 755
and
atin11kbps.
Peak
In
some
Delay
point
345ms
jitterand
goes
most
topeak
250
of the
ms
time
andkbps
rest
delay
of
range
thelow
cases
isvalue
instay
between
acceptable
20ms & 260
range
ms
We assume our experimental live streaming test is very similar like the output data.
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Presentation Contents
Bluetooth
Challenges
Development
Result
Video files & other tools
http://www.vsebt.rangan.nopayhost.com
Conclusion
Bluetooth
Challenges
Development
Result
Conclusion
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
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Conclusion
Further researchwe 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 )
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Conclusion
Wi-fi Cum Bluetooth ( Future work )
High Cost
Low Cost
Bluetooth
Challenges
Development
Result
Conclusion
VSEBT
An Adaptive Approach for Video Streaming and Evaluation Over Bluetooth Network.
Presentation Contents
Bluetooth
Challenges
Development
Result
Questions
Video files & other tools
www.vsebt.okzbdcom
Conclusion