V2EX  ›  英汉词典
Enqueued related words: Frame Delimiter, Flag Byte

Byte Stuffing

定义 Definition

字节填充(Byte Stuffing):一种数据链路/通信协议中的处理方法,为避免把数据内容误识别为帧定界符、转义符等控制字节,在发送端对特定字节进行插入(填充)转义字节或替换编码;接收端再按规则去填充(反转义)以还原原始数据。常见于面向字节的成帧协议(如 PPP 等)。

发音 Pronunciation (IPA)

/baɪt ˈstʌfɪŋ/

例句 Examples

The protocol uses byte stuffing to escape special characters.
该协议使用字节填充来转义特殊字符。

To ensure the frame delimiter never appears inside the payload, the sender performs byte stuffing and the receiver removes the extra bytes during decoding.
为确保帧定界符不会在负载数据中出现,发送端进行字节填充,接收端在解码时移除这些额外字节。

词源 Etymology

byte(字节)源自计算机术语,表示一组二进制位(通常为 8 位);stuffing 原义为“填塞/填充”。合起来在通信领域引申为:在数据流中“塞入”额外的字节,用来实现转义或避免歧义。类似概念还有按位处理的 bit stuffing(比特填充)。

相关词 Related Words

文学与著作中的用例 Literary / Notable Works

  • RFC 1662 — PPP in HDLC-like Framing:讨论 PPP 成帧与转义机制时会涉及字节填充/转义字节的做法。
  • Andrew S. Tanenbaum, Computer Networks:在数据链路层成帧与透明传输(transparency)章节常用“byte stuffing/character stuffing”作为示例术语。
  • William Stallings, Data and Computer Communications:讲解面向字符/字节的成帧方法时常出现该术语或其近义表达(character stuffing)。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   688 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 19:24 · PVG 03:24 · LAX 11:24 · JFK 14:24
♥ Do have faith in what you're doing.