# US 2015/0312037 A1 · Data scrambling initialization

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0312037 A1
- Document ID: US20150312037A1
- Status: Published application
- Kind: A1
- Application number: 14/267,653
- Filed: 2014-05-01
- Published: 2015-10-29
- Earliest claimed: 2014-04-24
- Assignees: LSI Corporation
- Applicants: LSI Corporation
- Inventors: Harvey J Newman
- Web page: https://patentgrep.com/patent/US20150312037A1

## CPC

- H04L 9/0869: {involving random numbers or seeds}
- G09C 1/00: Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system (cryptographic typewriters G09C3/00)
- H04L 9/065: {Encryption by serially and continuously modifying data stream elements, e.g. stream cipher systems, RC4, SEAL or A5/3}
- H04L 9/12: Transmitting and receiving encryption devices synchronised or initially set up in a particular manner
- H04L 2209/34: Encoding or coding, e.g. Huffman coding or error correction
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G09C: CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY

## Abstract

Systems and methods for improved synchronization between a transmit device and a receive device in a communication system. In one embodiment, an apparatus for transmitting bits of data over a link includes a scrambler to scramble data and circuitry configured to insert the scrambled data into frames and to transmit the frames in data blocks over the link. The apparatus also includes an initialization module configured to generate an unscrambled pseudo-random sequence. The circuitry is further configured to periodically insert the unscrambled pseudo-random sequence into a frame, to initialize the scrambler to a starting point based on the insertion of the unscrambled pseudo-random sequence into the frame, and to transmit the frame in a data block over the link.

## Claims

### Claim 1

An apparatus for transmitting bits of data over a link, comprising:
a scrambler configured to scramble data;
circuitry configured to insert the scrambled data into frames, and to transmit the frames in data blocks over the link; and
an initialization module configured to generate an unscrambled pseudo-random sequence;
the circuitry further configured to periodically insert the unscrambled pseudo-random sequence into a frame, to initialize the scrambler to a starting point based on the insertion of the unscrambled pseudo-random sequence into the frame, and to transmit the frame in a data block over the link.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising:
a link maintenance module configured to insert maintenance bits into frames to balance ones and zeroes transmitted on the link;
wherein the initialization module is configured to generate the unscrambled pseudo-random sequence based on a seed value; and
wherein a portion of the unscrambled pseudo-random sequence includes the seed value, and the seed value is selected to have a threshold hamming distance from the maintenance bits.

### Claim 3 (depends on 1)

The apparatus of claim 1, further comprising:
a forward error correction module configured to generate correction bits for the frame that includes the unscrambled pseudo-random sequence, and to attach the correction bits to the data block that includes the frame;
wherein the initialization module is configured to generate the unscrambled pseudo-random sequence based on a seed value; and
wherein the seed value is selected to produce a minimal threshold of disparity of total ones and zeroes between the unscrambled pseudo-random sequence and the correction bits.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein:
the forward error correction module generates correction bits based on a Bose-Chaudhuri-Hocquenghem (BCH) encoding algorithm.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein:
the data block includes a 2-bit header, a 128-bit frame, and a 16-bit error correction field;
the initialization module includes a linear feedback shift register configured to generate a 127-bit repeating sequence based on a 7-bit seed value.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein:
the apparatus is compliant with Serial Attached Small Computer System Interface architecture;
the circuitry is further configured to prepare first block types that include a header that indicates inclusion of control bits and a frame that includes scrambled primitives of the Serial Attached Small Computer System Interface architecture and unscrambled link maintenance bits;
the circuitry is further configured to prepare second block types that include a header that indicates inclusion of control bits and a frame that includes the unscrambled pseudo-random sequence; and
the initialization module generates the unscrambled pseudo-random sequence based on a seed value selected to produce a threshold hamming distance between the unscrambled pseudo-random sequence and the unscrambled link maintenance bits to distinguish the first block types from the second block types.

### Claim 7

A method comprising:
scrambling data with a scrambler;
inserting the scrambled data into frames;
transmitting the frames in data blocks over a link;
generating an unscrambled pseudo-random sequence;
periodically inserting the unscrambled pseudo-random sequence into a frame;
initializing the scrambler to a starting point based on the insertion of the unscrambled pseudo-random sequence into the frame; and
transmitting the frame in a data block over the link.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
inserting maintenance bits into frames to balance ones and zeroes transmitted on the link; and
generating the unscrambled pseudo-random sequence based on a seed value;
wherein a portion of the unscrambled pseudo-random sequence includes the seed value, and the seed value is selected to have a threshold hamming distance from the maintenance bits.

### Claim 9 (depends on 7)

The method of claim 7, further comprising:
generating correction bits for the frame that includes the unscrambled pseudo-random sequence; and
attaching the correction bits to the data block that includes the frame;
wherein the generation of the unscrambled pseudo-random sequence is based on a seed value, and the seed value is selected to produce a minimal threshold of disparity of total ones and zeroes between the unscrambled pseudo-random sequence and the correction bits.

### Claim 10 (depends on 9)

The method of claim 9, wherein:
the generation of correction bits is based on a Bose-Chaudhuri-Hocquenghem (BCH) encoding algorithm.

### Claim 11 (depends on 7)

The method of claim 7, wherein:
the data block includes a 2-bit header, a 128-bit frame, and a 16-bit error correction field;
the method further includes generating a 127-bit repeating sequence based on a 7-bit seed value with a linear feedback shift register.

### Claim 12 (depends on 7)

The method of claim 7, further comprising:
preparing first block types that include a header that indicates inclusion of control bits and a frame that includes scrambled primitives of the Serial Attached Small Computer System Interface architecture and unscrambled link maintenance bits;
preparing second block types that include a header that indicates inclusion of control bits and a frame that includes the unscrambled pseudo-random sequence; and
generating the unscrambled pseudo-random sequence based on a seed value selected to produce a threshold hamming distance between the unscrambled pseudo-random sequence and the unscrambled link maintenance bits to distinguish the first block types from the second block types.

### Claim 13

A system comprising:
a transmitter device configured to scramble data with a scrambler, to insert the scrambled data into frames, and to transmit the frames in data blocks over a link; and
a receiver device configured to receive the data blocks over the link, to detect the scrambled data in the frames of the data blocks, and to descramble the scrambled data with a descrambler;
the transmitter device further configured to periodically transmit a data block that includes a frame with an unscrambled pseudo-random sequence over the link, and to initialize the scrambler based on the periodic transmission of the unscrambled pseudo-random sequence;
the receiver device further configured to receive the data block over the link, to detect the unscrambled pseudo-random sequence in the frame of the data block, and to initialize the descrambler based on the periodic transmission of the unscrambled pseudo-random sequence.

### Claim 14 (depends on 13)

The system of claim 13, wherein:
the transmitter device generates the unscrambled pseudo-random sequence with a linear feedback shift register; and
the receiver device detects the unscrambled pseudo-random sequence with a linear feedback shift register.

### Claim 15 (depends on 13)

The system of claim 13, wherein:
the data blocks include a 2-bit header, a 128-bit frame, and a 16-bit forward error correction field.

### Claim 16 (depends on 15)

The system of claim 15, wherein:
the unscrambled pseudo-random sequence is a 128-bit value that is generated with a linear feedback shift register based on a 7-bit seed value input.

### Claim 17 (depends on 16)

The system of claim 16, wherein:
the last bit of the unscrambled pseudo-random sequence is cleared to zero to maintain balance of ones and zeroes.

### Claim 18 (depends on 13)

The system of claim 13, wherein:
the scrambler generates a sequence and the initialization of the scrambler restarts the sequence; and
the descrambler generates a corresponding sequence and the initialization of the descrambler restarts the corresponding sequence.

### Claim 19 (depends on 13)

The system of claim 13, wherein:
the transmitter device and the receiver device are complaint with the Serial Attached Small Computer System Interface protocol.

### Claim 20 (depends on 13)

The system of claim 13, wherein:
the transmitter device and the receiver device communicate over a serial link.
