フレーム()とは、コンピュータネットワークや電気通信にて回線上で送受信されるデジタルデータの伝送単位である。OSI参照モデルでは主にデータリンク層に位置づけられ、データの開始と終了の識別、宛先指定、誤り検出を行うために用いられる。

パケット交換 OSI参照モデルでは、データリンク層におけるprotocol data unit(PDU)をフレームと呼ぶ。フレームは、データが物理層を介して伝送される前の最後の層でカプセル化された結果である。フレームは、リンク層プロトコルの伝送単位であり、リンク層ヘッダとそれに続くパケットで構成される。フレームは、フレーム同期ビット、パケットペイロード、フレームチェックシーケンスで構成される一連のビットである。フレームと次のフレームの間にはフレーム間隔が置かれる。パケット交換のフレームには、イーサネットフレーム、Point-to-Point Protocol(PPP)フレーム、ファイバーチャネルフレーム、V.42モデムフレームなどがある。

多くの場合、複数の異なるサイズのフレームが入れ子構造になっている。例えば、上でPPPを使用する場合、まず8ビットのバイトごとにスタートビットとストップビットでフレーム化され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."、それがヘッダとフッタでフレーム化され、さらにフレーム境界オクテットでフレーム化される "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."。

脚注

関連項目 データグラム ジャンボフレーム 多重化