电脑网络中,封装(英语:Encapsulation)是一种通讯协定的设计方法,将网络功能抽象出来,对高层功能隐藏底层功能的资讯。封装是各种网络协定的基本实作方法,包括OSI模型TCP/IP都应用了封装概念在其中。

TCP/IP协定堆叠,封装了使用者资料之后的结果

根据图片,application, presentation 和 session layer转换讯息去data,过后送给transport。 Transport layer转换data去segment,过后送给network。 Network转换segment去packet,过后送给data link layer。 Data Link layer 转换packet去frame,过后送给physical layer。 Physical layer 转换frame 去1's 或0’s,也就是我们说的binary state。

Wikiwand in your browser!

Seamless Wikipedia browsing. On steroids.

Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.

Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.