Method and apparatus for performing cyclic redundancy check for data packets
A cyclic redundancy check, data packet technology, applied in digital transmission systems, electrical components, error prevention, etc., can solve the problems of occupying RAM access bandwidth, limiting CRC check performance, etc., to improve performance and save access bandwidth. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] Embodiments of the present invention provide a method for performing CRC checks on data packets, such as figure 1 As shown, the method includes:
[0024] 101. The receiving end receives packet information of a data packet that has been reordered and reassembled, where the packet information includes an ID of the data packet.
[0025] 102. The receiving end obtains, according to the packet information of the data packet, the CRC value of each fragment in the data packet, the length of each fragment, and the sequence of each fragment in the data packet.
[0026] 103. The receiving end calculates and obtains the CRC value of the data packet according to the CRC value of each fragment, the length of each fragment, and the order of each fragment in the data packet.
[0027] The receiving end in this embodiment of the present invention may be a receiver, but is not limited thereto.
[0028] In the method for performing CRC check on a data packet provided by the embodiment o...
Embodiment 2
[0030] Embodiments of the present invention provide a method for performing CRC checks on data packets, such as figure 2 As shown, the method includes:
[0031] 201. Receive the fragments of the data packet P, calculate the CRC value of each fragment at the same time, and record the length L of each fragment. Wherein, the fragments carry the ID of the data packet P, and the last fragment of the data packet P carries an end identifier, which is used to mark the current fragment as the last fragment of the data packet P.
[0032] For ease of understanding, the embodiment of the present invention divides the data packet P into m fragments for illustration, and the m fragments are P 1 ,P 2 ,...,P m , whose lengths are L 1 , L 2 ,...,L m , and the corresponding CRC values are CRC(P 1 ), CRC(P 2 ),...,CRC(P m ); then the data packet P can be expressed as:
[0033]
[0034] Among them, the 0' is in the fragment P 1 add after The new bit string obtained by 0, the ...
Embodiment 3
[0088] An embodiment of the present invention provides a device for performing CRC checks on data packets, such as Figure 6 As shown, the device includes:
[0089] The receiving module 601 is configured to receive packet information of a data packet that has been reordered and reassembled, where the packet information includes the ID of the data packet;
[0090] An obtaining module 602, configured to obtain, according to the packet information of the data packet, the cyclic redundancy check CRC value of each fragment in the data packet, the length of each fragment, and the order of each fragment in the data packet ;
[0091] The calculation module 603 is configured to calculate the CRC value of the data packet according to the CRC value of each fragment, the length of each fragment, and the order of each fragment in the data packet.
[0092] Specifically, the obtaining module is specifically configured to obtain the CRC value of each fragment in the data packet, the length ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com