Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

CRC computing method and device

A calculation method and a technology of a calculation module, applied in the field of data verification, can solve the problems of high number of XOR operations and low calculation rate, etc.

Active Publication Date: 2017-12-08
BEIJING UNIV OF POSTS & TELECOMM
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the existing CRC calculation method, the input data is regarded as multiple groups (set as P groups) of data sequences, and each group of data sequences includes n data sequences. After performing CRC calculation on each data sequence to obtain the CRC value, it is necessary to calculate P *The XOR operation of n CRC values ​​leads to more times of XOR operations during the entire calculation process, resulting in a lower calculation rate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • CRC computing method and device
  • CRC computing method and device
  • CRC computing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0072] In order to achieve the above purpose, an embodiment of the present invention provides a CRC calculation method, which can be applied to an electronic device, the electronic device includes multiple processors, and in the embodiment of the present invention, n of the multiple processors are used The processor performs CRC calculation, where n is a positive integer. figure 2 It is a flow chart of the CRC calculation method provided by the embodiment of ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a CRC computing method and device. The method comprises the steps that target input data is acquired; the target input data is sequentially divided into n target data sequences with the same sequence length; n processors are utilized to perform cyclic redundancy check (CRC) computing on the n target data sequences to obtain corresponding n first CRC values; target sequence influence coefficients corresponding to all the first CRC values are acquired; Galois domain multiplication is performed on all the first CRC values and the corresponding target sequence influence coefficients to obtain n second CRC values; and XOR operation is performed on the n second CRC values to obtain a target CRC value to realize CRC computing on the target input data. Through the embodiment, the number of times of XOR operation in the CRC computing process can be reduced, so that the computing rate is increased; and besides, the number of times of thread synchronization is reduced, so that the computing rate is further increased.

Description

technical field [0001] The invention relates to the technical field of data verification, in particular to a CRC calculation method and device. Background technique [0002] A cyclic redundancy check (Cyclic Redundancy Check, CRC) method is a commonly used data verification method, which is mainly used to detect errors that may occur in input data during network transmission or after storage and storage. [0003] figure 1 It is a schematic diagram of the existing CRC calculation method. During the CRC calculation process of the input data A, the input data A can be regarded as a plurality of data sequences (A 1 、A 2 …A n ...), each data sequence is composed of a fixed-length sequence and a subsequent zero sequence, and the difference between adjacent data sequences is a fixed-length sequence, and the CRC calculation is performed on each data sequence to obtain the corresponding calculation results, and then all Exclusive OR operation is performed on the calculation resul...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/10
CPCG06F11/1004
Inventor 刘军池沐聪刘芳齐勇刚
Owner BEIJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products