# US 2022/0294560 A1 · Fast Cyclic Redundancy Check: Utilizing Linearity of Cyclic Redundancy Check for Accelerating Correction of Corrupted Network Packets

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

- Number: US 2022/0294560 A1
- Document ID: US20220294560A1
- Status: Published application
- Kind: A1
- Application number: 17/556,029
- Filed: 2021-12-20
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: Aira Technologies, Inc.
- Applicants: Aira Technologies, Inc.
- Inventors: Anand Chandrasekher; RaviKiran Gopalan; Arman Rahimzamani
- Web page: https://patentgrep.com/patent/US20220294560A1

## CPC

- H04L 1/0061: {Error detection codes}
- H03M 13/09: Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
- H03M 13/1108: {Hard decision decoding, e.g. bit flipping, modified or weighted bit flipping}
- H03M 13/45: Soft decoding, i.e. using symbol reliability information (H03M13/41 takes precedence)
- H03M 13/451: {using a set of candidate code words, e.g. ordered statistics decoding [OSD]}
- H04L 1/0045: {Arrangements at the receiver end}
- H04L 1/0052: {Realisations of complexity reduction techniques, e.g. pipelining or use of look-up tables}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

Systems and methods for correcting corrupted network packets are provided. An example method includes receiving a network packet via a communication channel. The network packet includes a payload and a Cyclic Redundancy Check (CRC) associated with the payload. The method continues with calculating a reference CRC based on the received payload and determining, based on the reference CRC and the received CRC, whether the network packet is corrupted. Based on the determination that the network packet is corrupted, the method continues with selecting a predetermined number of positions of bits in the payload of the network packet, precalculating a set of additional CRCs, and determining, based on the reference CRC and the set of additional CRCs, a combination of bit flips at the predetermined number of positions. The method also includes modifying the payload according to the combination of bit flips at the predetermined number of positions.

## Claims

### Claim 1

A system for correcting corrupted network packets, the system comprising:
at least one processor; and
a memory communicatively coupled to the processor, the memory storing instructions executable by the at least one processor to perform a method comprising:
receiving, via a communication channel, a network packet including a payload and a cyclic redundance check (CRC) associated with the payload;
calculating a reference CRC based on the received payload;
determining, based on the reference CRC and the received CRC, that the network packet is corrupted; and
receiving a sequence of a set of sequences, which is an output of a neural packet processor, the sequence having bits of a length a portion of the payload;
selecting a predetermined number of positions of bits in the payload of the network packet;
precalculating a set of additional CRCs, wherein an additional CRC of the set additional CRCs is calculated based on the sequence of the set of sequences, the sequence of the set of sequences including a single non-zero bit at one of the predetermined number of positions, as well as sequential three-byte XOR operations;
determining, based on the reference CRC and the set of additional CRCs, a combination of bit flips at the predetermined number of positions, the combination of bit flips corresponding to a combination of the set of sequences such that a sum of the reference CRC and CRCs of the combination of the set of sequences matches the received CRC; and
generating a modified payload according to the combination of bit flips at the predetermined number of positions; and
transmitting the network packet with the modified payload to a receiver over a wireless network.

### Claim 2 (depends on 1)

The system of claim 1, wherein the predetermined number positions of bits in the payload is fewer than a length of the payload.

### Claim 3 (depends on 1)

The system of claim 1, wherein calculation of an additional CRC of the set additional CRCs requires less operations than calculation of the reference CRC.

### Claim 4 (depends on 1)

The system of claim 1, wherein the set of additional CRCs is obtained from a set of precalculated CRCs for each of the set of sequences, each of the set of sequences having a single non-zero bit position.

### Claim 5 (depends on 1)

The system of claim 1, wherein the determining the combination of bit flips includes iteratively:
selecting a test combination of the set of sequences;
calculating a test sum of the reference CRC and the additional CRCs corresponding to the test combination sequences; and
determining whether the test sum matches the received CRC.

### Claim 6 (depends on 1)

The system of claim 1, wherein the determining the combination of bit flips includes:
generating a set of linear equations, wherein a linear equation of the set of linear equations corresponds to one of possible combinations of the set of sequences; and
solving the set of linear equations to determine the combination of the set of sequences.

### Claim 7 (depends on 6)

The system of claim 6, wherein the set of linear equations is solved by a Gaussian elimination method.

### Claim 8 (depends on 1)

The system of claim 1, wherein the predetermined number of positions of bits are selected based on at least one previous version of the payload transferred via the communication channel.

### Claim 9

(canceled)

### Claim 10

(canceled)

### Claim 11

A method for correcting corrupted network packets, the method comprising:
receiving, via a communication channel, a network packet including a payload and a cyclic redundancy check (CRC) associated with the payload;
calculating a reference CRC based on the received payload;
determining, based on the reference CRC and the received CRC, that the network packet is corrupted; and
receiving a sequence of a set of sequences, which is an output of a neural packet processor, the sequence having bits of a length a portion of the payload;
selecting a predetermined number of positions of bits in the payload of the network packet;
precalculating a set of additional CRCs, wherein an additional CRC of the set additional CRCs is calculated based on the sequence of the set of sequences, the sequence of the set of sequences including a single non-zero bit at one of the predetermined number of positions, as well as sequential three-byte XOR operations;
determining, based on the reference CRC and the set of additional CRCs, a combination of bit flips at the predetermined number of positions, the combination of bit flips corresponding to a combination of the set of sequences such that a sum of the reference CRC and CRCs of the combination of the set of sequences matches the received CRC; and
generating a modified payload according to the combination of bit flips at the predetermined number of positions; and
transmitting the network packet with the modified payload to a receiver over a wireless network.

### Claim 12 (depends on 11)

The method of claim 11, wherein the predetermined number positions of bits in the payload is less than a length of the payload.

### Claim 13 (depends on 11)

The method of claim 11, wherein the calculation of the additional CRC of the set additional CRCs requires fewer operations than a calculation of the reference CRC.

### Claim 14 (depends on 11)

The method of claim 11, wherein the set of additional CRCs is obtained from a set of precalculated CRCs for each of the set of sequences, each of the set of sequences having a single non-zero bit position.

### Claim 15 (depends on 11)

The method of claim 11, wherein the determining the combination of bit flips includes iteratively:
selecting a test combination of the set of sequences;
calculating a test sum of the reference CRC and the additional CRCs corresponding to the test combination sequences; and
determining whether the test sum matches the received CRC.

### Claim 16 (depends on 11)

The method of claim 11, wherein the determining the combination of bit flips includes:
generating a set of linear equations, wherein a linear equation of the set of linear equations corresponds to one of possible combinations of the set of sequences; and
solving the set of linear equations to determine the combination of the set of sequences.

### Claim 17 (depends on 16)

The method of claim 16, wherein the set of linear equations is solved by a Gaussian elimination method.

### Claim 18 (depends on 11)

The method of claim 11, wherein the predetermined number of positions of bits are selected based on at least one previous version of the payload transferred over the communication channel.

### Claim 19

(canceled)

### Claim 20

(canceled)
