MC 小结:计算机中各种数据文件的格式 Container format A container or wrapper format is a meta-file format whose specification describes how different data elements and metadata coexist in a computer file. Among the earliest cross-platform container formats were Distinguished Encoding Rules and the 1985 Interchange File Format.Containers are frequently used in multimedia applications. Since the container does not describe how data or metadata is encoded,a program able to identify and open a container file might not be able to decode the contained data.This may be caused by the program lacking the required decoding algorithm,or the meta-data not providing enough information 6 ynh,cxh@ustc.edu.cn
{ynh,cxh}@ustc.edu.cn 小结:计算机中各种数据文件的格式 Container format A container or wrapper format is a meta-file format whose specification describes how different data elements and metadata coexist in a computer file. Among the earliest cross-platform container formats were Distinguished Encoding Rules and the 1985 Interchange File Format. Containers are frequently used in multimedia applications. Since the container does not describe how data or metadata is encoded, a program able to identify and open a container file might not be able to decode the contained data. This may be caused by the program lacking the required decoding algorithm, or the meta-data not providing enough information. 6
KC裸数据的组织 ◆现有网络中数据组织的方式 口计算机:各种数据文件的格式 ▣网络:数据包格式 口哪些信息需要合理表示? 口交换数据格式 ◆主流音视频流的数据组织方式 口数字音乐CD-DA ▣音乐文件MP3 口数字音频广播DAB ▣数字电视MPEG2 ▣MPEG-4AVC/H.264 7 ynh.cxh @ustc.edu.cn
{ynh,cxh}@ustc.edu.cn 裸数据的组织 现有网络中数据组织的方式 计算机:各种数据文件的格式 网络:数据包格式 哪些信息需要合理表示? 交换数据格式 主流音视频流的数据组织方式 数字音乐 CD-DA 音乐文件 MP3 数字音频广播 DAB 数字电视 MPEG2 MPEG-4 AVC / H.264 7
MC 网络:数据包格式 IP/UDP数据包格式 Version IHL Type of Service Total Length Identification Flag Fragment Offset Time-to-live Protocol Header Checksum Source Address IP Datagram Destination Address Options Padding UDP Datagram Source Port Destination Port Length Checksum UDP Datagram Data begins here... 8 ynh.cxh @ustc.edu.cn
{ynh,cxh}@ustc.edu.cn 网络:数据包格式 IP/UDP数据包格式 8
Me 网络:数据包格式 IP/TCP数据包格式 Version IHL Type of Service Total Length Identification Flags Fragment Offset JapeaH dl Time to Live Protocol=6 Header Checksum Source Address Destination Address Options Padding Source Port Destination Port Sequence Number Acknowledgment Number Data Window Offset Checksum Urgent Pointer TCP Options Padding TCP Data 9 ynh.cxh @ustc.edu.cn
{ynh,cxh}@ustc.edu.cn 网络:数据包格式 IP/TCP数据包格式 9
Me 网络:数据包格式 Ethernet帧格式 源地址字段6字节 P数据报 P层 字节 6 2 46-1500 4 以太网V2 MAC帧 目的地址 源地址 类型 数 据 FCS MAC层 === MAC帧 物理层 Head Head Head Data 以太网 IP TCP 应用层 标头 标头 标头 数据包 10 ynh,cxh @ustc.edu.cn
{ynh,cxh}@ustc.edu.cn 网络:数据包格式 Ethernet帧格式 10