Академический Документы
Профессиональный Документы
Культура Документы
EE, NDHU
Mobile Networking
Manufacturing Consumer and Services Government Services on the Edge Of the Network 3
Performance
Header structure better organized No fragmentation No checksum Addressing architecture can be more aggregated
Security
IPv6 integrateds IPSec inside the protocol IPv4 needs to add IPsec IPSec (ESP) and IKE
QoS
IPv6 improves the performance Header and its processing Reduces jitter and processing delay New specific fields in the header
4
Network : IPv6
Revenue streams from the existing PSTN PSTN replacement/upgrades with lifetimes of 20+ years Reluctant to invest money if voice traffic migrates from the PSTN to IP technology Deutsch Telecom Announced to January 2004 that by 2020 all telephone traffic will run over IP
Consumer
Cost savings Integrated data and voice networks Device interoperability using standards-based protocols Flexibility in deriving new services
VoIP + IPv6 is better solution than VoIP + IPv4
What is VoIP?
Carrying voice or/and video conservations over Internet protocol packet networks
IP Network
G.729 8kbps compression, 20 msec frame size = 24 kbps 1544 / 24 = 64 calls per T1
10
Consumer: IP-to-IP
Uses PC software to make calls over public and private internets Free!! But, no quality of service guarantees Examples:
Microsoft NetMeeting Skype
TM TM
Hybrids
PC2Phone
TM
The Internet
PC Modem Modem PC
11
A Scenario of Applications
IP-to-PSTN Gateway
INTERNET
PSTN
Edge Router
Edge Router
IP Telephones
IP Telephones
12
13
Delay
Processing Delay
Actual process of encoding and collecting the encoded samples into a packet for transmission over the packet network. The encoding delay is a function of both the processor execution time and the type of algorithm used
Network Delay
Physical medium and protocols used to transmit the voice data and by the buffers used to remove packet jitter on the receive side. Network delay is a function of the capacity of the links in the network and the processing.
14
Talker overlap
One talker stepping on the other talker's speech The one-way delay becomes greater than 250 milliseconds. (ITU G.114)
15
Jitter
Variable delay caused by network traverses
Removing jitter : buffering packets and waiting for the slowest packets to arrive in time to be played in the correct sequence. Causes additional delay
16
Lost-Packet Compensation
Lost packets can be an even more severe problem, depending on the type of packet network that is being used.
Interpolate for lost speech packets by replaying the last packet received during the interval. Send redundant information. Use a hybrid approach with a much lower bandwidth voice coder to provide redundant information. Avoiding and managing network congestion
17
Echo Compensation
For network, usually
Round-trip delay > 50 milliseconds
18
CODEC
Voice codecs create blocks of data at fixed intervals
Usually 10 ms
Each block contains a fixed number of bytes depending on the coding scheme used
10-80 bytes/block
Codecs can typically be parameterized to put a given number of voice data bytes into a single IP packet
10, 20, 30, , 240 bytes
Tradeoffs
Small packets = less delay, but more layer 2/3 overhead Large packets = more delay, less layer 2/3 overhead
19
CODEC Characteristics
Codec Compression Method Codec Bit Rate 64000 64000 5300 6300 5300 6300 16000 24000 32000 16000 8000 8000 Block Length Block Size (bytes) 80 80 7 8 7 8 20 30 40 20 10 10 Blocks per Packet 2 2 2 2 2 2 2 2 2 2 2 2 Voice Call Bandwidth Required
(Excl. L2 o/h)
g711alaw g711ulaw g723ar53 g723ar63 g723r53 g723r63 g726r16 g726r24 g726r32 g728 g729r8 g729br8
PCM PCM ACELP MP-MLQ ACELP MP-MLQ ADPCM ADPCM ADPCM LD-CELP CS-ACELP CS-ACELP
10 ms 10 ms 10 ms 10 ms 10 ms 10 ms 10 ms 10 ms 10 ms 10 ms 10 ms 10 ms
80000 80000 22000 23000 22000 23000 32000 40000 48000 32000 24000 24000
0.75
3.65 3.9
30 30
3.85
1 3-5
3.92 3.7
10 10
20
Streaming Video
Video Challenges Raw to Compression
21
Network Challenges
Bandwidth : depend on
Codec H.261 H.263 Display size 640 x 480 320 x 240
22
Network Issues
23
24
Payload Timestamp
Sequence Number
25
Timestamp
The receiver The receiver Synchronized play Synchronized play-out out Calculate the jitter Calculate the jitter Support silence suppression Support silence suppression The initial timestamp is a random number chosen by the sending application.
Many voice- and video standards coding standards A payload type identifier in the RTP header
A payload type identifier in the RTP header Specified in RFC 1890 and RFC 3551. New coding schemes have become available A sender has no idea what coding schemes a receiver could handle Negotiated by signaling protocols like SIP.
27
28
SIP Components
SIP UA
Hardware or software running SIP protocols
SIP Proxy
Ordinary, service provided by ISP
Media Gateway
Connects different networks SIP-to-PSTN SIP-to-{other VoIP signaling protocol}
30
SIP Proxy
IPv6 Network
IP Phone (bob@opnet.com)
Voice/Video packets flow between IP telephones
IP Phone (joe@sip.com)
OK 200 From: bob@opnet.com To:joe@sip.com Call-ID:12345@opnet.com
ACK joe@sip.com
31
SIP UA Choice
32
PC + SIP UA software
Windows Messenger CCL + PCA X-Lite It is upset whenever making a phone call after waiting for a computer booted.
33
Operating System
Embedded Linux VxWork
Efficiency and system requirement Performance Time-to-prototype and time-to-market Size : easy to be packed into a standalong phone Maintainability
34
CODECs
Voice G.711, G.723, G.729 Video H.261, H.263
Application
Transport
TCP/UDP
UDP
Transport
RTP
Network
IPv6
2G/3G
WIFI
XDSL Ethernet
35
Signaling Network Management Module Voice Voice CODECs Module Telephony Signaling Module Network Video Video CODECs Module DSP Embedded System Protocol Module Video, Voice, Signal Packets
36
Voice/Video Module
Digital-signal processor (DSP)
Telephony-Signaling Module
Translating signaling into state changes used by the network protocol module to set up connections
Network-Management Module
Management interface to configure and maintain the other modules
37
38
Reference Software
Purpose
Compile programs for the ADM5120 Assemble programs for ADM5120 and DSP Load software into the Embedded System Communicate with the Embedded system and interact with running software Start the embedded system running Example programs for the ADM5120 that show how to implement basic functions
39
Reference Hardware
Quantity or Size
1 8 4 5 1 2 1
Item
Infenion-ADM5120 (175 MHz) Mbytes of SDRAM memory Mbytes of Flash ROM memory 10/ 100 Ethernet ports Serial interface (console) MINI-PCI bus interface DSP
40
Host
Functionalities of host
Compiling software for embedded system Software includes OS kernel, device drivers and applications Console of embedded system normally through serial port Show debug messages
41
Development Flow
Let the OS kernel support IPv6
Configure the OS kernel source to support IPv6 IPv6 Ready Logo Test If failed for IPv6 Ready Logo Test, the network protocol stack in OS kernel should be modified.
42
Audio Codec
G.711, G723, G.728, G.729a
43
LCD Display
Signaling
44
45
Documentation References
H.323 ITU Standard for Voice/Video over IP SIP Session Initialization Protocol, IETF RFC 2543 RTP Real-time Transport Protocol, IETF RFC 1889 ITU-T.37 Procedures for the Transfer of Facsimile Data Via Store-and-forward on the Internet ITU-T.38 Procedures for Real-time Group 3 Facsimile Communication over IP Networks
46
Thank You
47