Description
End Of Block (EOB) is a fundamental control character or signaling concept used to demarcate the boundary of a data block within a serial data stream or protocol data unit. In the context of 3GPP specifications, particularly those related to codecs and terminal acoustics (TS 26.110), EOB is relevant in the framing and transmission of audio data packets. A 'block' in this sense refers to a logical grouping of data, such as a frame of encoded speech from a voice codec (e.g., AMR, EVS) or a set of parameters. The EOB indicator signals to the receiving entity that the last bit or byte of the current block has been received.
Operationally, the transmitter assembles a block of data according to the protocol's rules—this includes payload data and often a header. Once the payload is complete, the transmitter inserts the EOB marker. This marker can be a specific reserved bit pattern, a special character sequence, or implied by the length field in a header. Upon reception, the receiver scans the incoming bitstream. When it detects the EOB pattern or reaches the length specified for the block, it knows it has collected a complete, valid data unit. It can then pass this block to the next processing stage, such as a decoder, for further handling. The use of EOB is critical for synchronization; it allows the receiver to resynchronize with the start of the next block even if some bits were corrupted or lost in the previous one, provided the EOB marker itself is correctly identified.
In digital telephony systems like those defined by 3GPP, voice data is processed in frames (e.g., 20 ms intervals). These frames are packetized for transmission over packet-switched networks (VoIP, VoLTE, VoNR). The EOB concept ensures that the receiving codec can correctly identify the boundaries of each speech frame within the potentially jittery packet stream. This is distinct from, but related to, higher-layer delimiters like End Of Packet in IP. EOB operates at a lower layer of the codec interface or the data link layer. Its correct implementation is essential for maintaining voice quality, as misaligned block boundaries would lead to corrupted audio decoding, resulting in clicks, pops, or complete loss of intelligibility. It is a simple yet vital mechanism for reliable sequential data transfer.
Purpose & Motivation
The purpose of the End Of Block signal is to solve the problem of data framing and synchronization in serial communication. In any system where data is transmitted as a continuous stream of bits, the receiver must have a way to determine where one logical group of data ends and the next begins. Without a delimiter like EOB, the receiver would have no inherent way to segment the stream correctly, leading to misinterpretation of data. This problem is acute in voice communications where time-sensitive frames must be decoded at precise intervals.
Historically, protocols used simple control characters like EOB (and its counterpart, Start Of Block - SOB) to provide this structure. Before sophisticated length-field-based framing became ubiquitous, these in-band delimiters were a primary method. In 3GPP codec specifications, the EOB concept ensures robustness in the interface between hardware and software components handling voice data. It addresses the limitation of assuming fixed block sizes or relying solely on timing, which can be unreliable in systems with variable processing delays or over packet networks where frames can arrive out of order. By providing an explicit 'end' marker, the protocol guarantees that the receiver can always identify a complete data unit, enabling correct decoding and continuous audio playback, which is fundamental for acceptable quality of service in mobile telephony.
Key Features
- Serves as a delimiter marking the conclusion of a transmitted data block
- Enables frame synchronization between transmitter and receiver in a serial data stream
- Can be implemented as a specific bit pattern, control character, or implied via a length field
- Essential for the correct operation of speech codecs by defining audio frame boundaries
- Provides a resynchronization point for the receiver in case of mid-stream errors
- A fundamental low-level protocol mechanism for reliable block-oriented data transfer
Evolution Across Releases
Formally defined within 3GPP codec and terminal specification frameworks, particularly for LTE voice services (VoLTE). Specified the use of block delimiters in the transport of encoded speech frames between network elements and within terminal software/hardware interfaces to ensure reliable frame alignment.
Defining Specifications
| Specification | Title |
|---|---|
| TS 26.110 | 3GPP TS 26.110 |