- Syncword
-
In computer networks, a syncword, sync character or preamble is used to synchronize a transmission by indicating the end of header information and the start of data.
Contents
Examples
For example an audio receiver is receiving a bit stream of data. An example of a syncword is 0x0B77 for an AC-3 encoded stream. The bisync protocol of the 1960s used a minimum of two ASCII "SYN" characters (0x16…0x16) to achieve character synchronization in an undifferentiated bit stream, then other special characters to synchronize to the beginning of a frame of characters.[1][2]
Various techniques are used to "disguise" bytes of data at the data link layer that might otherwise be (incorrectly) recognized as the sync word. For example, HDLC uses bit stuffing or "octet stuffing", while other systems use ASCII armor.
Alternatives
In some communication systems, a receiver can achieve character synchronization from an undifferentiated bit stream, or start-of-header synchronization from a byte stream, without the overhead of an explicit syncword. For example, the FSK441 protocol achieves character synchronization by synchronizing on any "space" characters in the message -- in effect, every "space" character in the message does double duty as a syncword. For example, CRC-based framing achieves character and start-of-header synchronization.
In a self-synchronizing code, every character is, in effect, a syncword, and can be used to achieve character synchronization in an undifferentiated bit stream..
Preamble
In digital communication, preamble is a sequence of known bits are sent in each frame. It is used for both frame synchronization such as for Ethernet frames, as well as channel estimation.
References
- ^ "BiSync, BSC". Connectivity Knowledge Platform. Made IT. http://ckp.made-it.com/bisync.html. Retrieved July 5, 2011.
- ^ John R. Freer (1996). Computer communications and networks (2nd ed.). Taylor & Francis. p. 12. ISBN 9781857283792. http://books.google.com/books?id=ye4DwILZhq0C&pg=PA12.
See also
- Start Frame Delimiter
- Synchronous idle
- Magic number (programming)
- Bit slip marks
Categories:- Synchronization
- Data transmission
- Packets (information technology)
Wikimedia Foundation. 2010.