フレーム (ネットワーク)
表示
フレーム(英語: frame)とは、コンピュータネットワークや電気通信にて回線上で送受信されるデジタルデータの伝送単位である。OSI参照モデルでは主にデータリンク層に位置づけられ、データの開始と終了の識別、宛先指定、誤り検出を行うために用いられる。
パケット交換
[編集]OSI参照モデルでは、データリンク層におけるprotocol data unit(PDU)をフレームと呼ぶ。フレームは、データが物理層を介して伝送される前の最後の層でカプセル化された結果である[1]。フレームは、リンク層プロトコルの伝送単位であり、リンク層ヘッダとそれに続くパケットで構成される[2]。フレームは、フレーム同期ビット、パケットペイロード、フレームチェックシーケンスで構成される一連のビットである。フレームと次のフレームの間にはフレーム間隔が置かれる。パケット交換のフレームには、イーサネットフレーム、Point-to-Point Protocol(PPP)フレーム、ファイバーチャネルフレーム、V.42モデムフレームなどがある。
多くの場合、複数の異なるサイズのフレームが入れ子構造になっている。例えば、非同期シリアル通信上でPPPを使用する場合、まず8ビットのバイトごとにスタートビットとストップビットでフレーム化され[3][4]、それがヘッダとフッタでフレーム化され、さらにフレーム境界オクテットでフレーム化される[5]。
脚注
[編集]- ↑ “Data Link Layer (Layer 2)”. The TCP/IP Guide (2005年9月20日). 2010年1月31日閲覧。
- ↑ Requirements for Internet Hosts — Communication Layers (英語). IETF. October 1989. p. 18. doi:10.17487/RFC1122. RFC 1122. 2010年6月7日閲覧.
- ↑ David S.Lawyer and Greg Hankins. "Serial HOWTO". Section "20.4 Forming a Byte (Framing)". 2011. quote: "... a start bit and a stop bit to mark the beginning and end of a byte. This is called framing ... Don't confuse this type of framing with the framing used for a packet of bytes on a network."
- ↑ MATLAB External Interfaces. Section "Serial Data Format". quote: "... one start bit... parity bit ... stop bit[s] ... called framing bits because they frame the data bits."
- ↑ RFC 1661 "The Point-to-Point Protocol (PPP)" quote: "A packet is usually mapped to a frame; the exceptions are when data link layer fragmentation is being performed, or when multiple packets are incorporated into a single frame."