Method and device for calculating CRC value of any data
A data and numerical technology, which is applied in the field of CRC value calculation method and device for arbitrary data, can solve the problems of low efficiency and long time consumption of CRC check code, and achieve saving of hardware resources, fast calculation speed, and less hardware resource occupation Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] refer to figure 1 As shown, this embodiment provides a method for calculating the CRC value of arbitrary data, including:
[0057] S100, performing zero padding on high bits of the data sequence to obtain the target data sequence, the length of the target data sequence being an integer multiple of the width of the parallel operation module;
[0058] In the specific implementation process, refer to figure 2 As shown, the process of padding the high bits of the data sequence to obtain the target data sequence includes:
[0059] S101, obtain the length N of the data sequence; when many existing communication protocols perform data encapsulation and transmission, the length information of the data sequence will be stored in the set bit of the encapsulation data, such as the data length information stored in the Ethernet frame, by reading Get the data in the set bit to get the length of the data sequence.
[0060] S102, dividing the length N of the data sequence by the w...
Embodiment 2
[0146] refer to Figure 5 As shown, this embodiment provides a device for calculating the CRC value of arbitrary data, including a data sequence parameter processing module, the data sequence parameter processing module is used to obtain the length of the data sequence, and divide the length of the data sequence by the parallel operation module Get and save the quotient and remainder of the width;
[0147] A zero padding module, the zero padding module is used to obtain the remainder from the data sequence parameter processing module and use the remainder to calculate the number of zero padding, perform zero padding at the high position of the data sequence according to the number of zero padding, and generate the target data sequence for storage;
[0148] A grouping module, the grouping module is used to group the target data sequence generated by the zero padding module into several sub-target data sequences according to the width of the parallel computing module;
[0149] ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



