ArticleslgStudy

computer science

Binary Synchronous Communications

Binary Synchronous Communications is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Binary Synchronous Communications rather than just read about it. In short: Binary Synchronous Communication (BSC or Bisync) is an IBM character-oriented, half-duplex link protocol, announced in 1967 after the introduction of System/360. It was used to send data over commercial telecommunications lines, providing framing, error correction and similar functions.

Key takeaways

  • Binary Synchronous Communications belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Binary Synchronous Communications to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Binary Synchronous Communications from memory before moving on to harder problems.

Reference excerpt

Binary Synchronous Communication (BSC or Bisync) is an IBM character-oriented, half-duplex link protocol, announced in 1967 after the introduction of System/360. It was used to send data over commercial telecommunications lines, providing framing, error correction and similar functions. It replaced the synchronous transmit-receive (STR) protocol used with second generation computers, and was itself replaced by SDLC as part of IBM's SNA networking systems in the 1970s. A key aspect of the protocol was that it was character-oriented, meaning the various functions of the protocol were indicated by special characters in the data stream. Those characters were selected so that it could be used with three different character encodings for messages. Six-bit Transcode looked backward to older systems; USASCII with 128 characters and EBCDIC with 256 characters looked forward. Transcode disappeared very quickly but the EBCDIC and ASCII dialects of Bisync continued in use. Because the control characters, like SYN and ETX, could appear in the data itself, Bisync inserted DLE to escape these and provide "data transparency". Bisync was found in a number of widely used IBM systems, like the IBM 2780 remote job entry system (punch cards), some IBM 3270 terminals, and connections to other computers like the System/360 and IBM 1103. This made it, for a time, the most widely used communications protocol. It is still in limited use in 2013.

Basic concepts Bisync is character-oriented, meaning the data inside are considered to be text, as opposed to binary data. This adds complexity as IBM has a number of different character sets being used and these have different byte sizes. For six-bit character sets, which were still common in the 1960s, IBM uses 6-bit Transcode as a lingua franca and applications are expected to convert to and from this format if needed. 7-bit ASCII is padded to 8-bit using odd parity, and 8-bit EBCDIC is sent as-is. This means that the data might be 6 or 8 bit depending on the source. Bisync transmits data in blocks, whose content is defined by the application using it. Transfers are driven by the receiver, typically a mainframe or dedicated control system. The host machines can periodically poll the other devices using a Bisync packet asking for more data, and the devices will respond by either sending data or a message saying they had none. A typical data block consisted of two SYN characters, an STX to indicate the start of the data section, a variable amount of data, an ETB (ASCII's ETX character) to indicate the end of the data, followed by the BCC checksum and finally a single "pad character" of 6 or 8-bits of all 1's. Bisync also allows a separate area in the block used to communicate settings and similar information, using the SOH instead of STX, with the STX indicating the end of the header and start of data, or an ETB indicating the end of the block (and thus no data). A receiver uses the checksum following the ETB, ETX or ITB to detect errors, and informs the sender using ACK or NAK messages. Errors are corrected by re-transmitting the packet. The complete set of control characters and messages is:

One curious feature is that Bisync used two ACK messages; ACK0 was used to acknowledge even-numbered packets and ACK1 for odd. This allowed the sender to determine if a packet had been dropped entirely by matching the ACK value to the low-bit of last sent packet number. A typical connection and transfer using Bisync would include a series of messages, like this:

The checksum, or "block check character" (BCC), came in three forms; the 8-bit longitudinal redundancy check (LRC) used with ASCII, a 16-bit cyclic redundancy check (CRC) for EBCDIC, and a 12-bit CRC for Transcode. The LRC was simply an XOR of the binary values, and the CRC was a two-byte value despite the "character" terminology for the BCC. If a block failed, it was up to the application to decide what to do, it could resend the block or simply fail out of the transfer. One interesting feature of Bisync was the ability to insert a BCC at any point in the data, not just the end of the packet. This was indicated with the ITB character, followed by the BCC. This was added to allow the blocks to be any length that the application desired, but break up lengthy data into packet-like sections that could be individually re-sent to avoid having to sent the entire block again. So one could, for instance, send a large text file as a single block, and use ITB/BCC to break it down into packets. Bisync blocks are similar to the ones in later file transfer protocols like XMODEM that emerged in the late 1970s. Both used lead-in characters to indicate the start of the packet, followed by data and then a checksum or CRC, as well as using ACK and NAK to indicate success or failure. They differ in that Bisync allows any amount of data in the packet, and this is up to the applications to decide, whereas file transfer protocols generally used fixed-size blocks that were determined during connection setup. Bisync is more complex than most of these systems, as it offers a variety of message formats to convey different information and control.

Link control Bisync was designed to work on half-duplex 2-wire systems. These were often commercial telephone wires, often using dedicated leased lines, which could have significant latency. In these setups, the time needed to return the ACK or NAK back to the sending side included a number of factors:

the reversal of transmission direction, quiescing of line echo, resyncing. These delays could be considerable, even on the order of the time needed to send the packet. Where additional speed was required, some datasets supported full-duplex operation on 4-wire systems. In this case, the ACK/NAKs were sent continually on the other pair of lines, reducing or eliminating the delays.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Binary Synchronous Communications

Start with the simplest possible case. Write down what Binary Synchronous Communications claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Binary Synchronous Communications before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Binary Synchronous Communications ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Binary Synchronous Communications

In research
Binary Synchronous Communications appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Binary Synchronous Communications in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Binary Synchronous Communications is common in secondary-school and first-year university syllabi. It links to neighbouring topics IBM computer hardware, Link protocols, so understanding it makes those chapters shorter.
In everyday life
Look for Binary Synchronous Communications outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Binary Synchronous Communications” →

How to study Binary Synchronous Communications in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Binary Synchronous Communications means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Binary Synchronous Communications out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Binary Synchronous Communications in simple terms?

Binary Synchronous Communication (BSC or Bisync) is an IBM character-oriented, half-duplex link protocol, announced in 1967 after the introduction of System/360. It was used to send data over commercial telecommunications lines, providing framing, error correction and similar functions.

Why does Binary Synchronous Communications matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Binary Synchronous Communications?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Binary Synchronous Communications.

Tags

  • IBM computer hardware
  • Link protocols

Keep exploring