Global unified code distance encoding method
A coding method and code distance technology, applied in the computer field, can solve problems such as difficult coding, and achieve the effect of easy use and reduced complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0015] 1) Determine the code distance W to be extended according to requirements;
[0016] 2) Determine the basic code word B and its quantity, and calculate the required number of binary digits C with the smallest power of 2 greater than this quantity; for example, if the number 250 needs to be coded, at least 1 byte is required, From 0 to 0xFA (the hexadecimal representation of 250).
[0017] 3) Expand the coding according to the specific code distance requirements, and the extended coding adopts the following formula:
[0018] X = X i = 0 W - 1 B X 2 C X i
[0019] X is the code after extending the code distance, W is the code distance required to be expanded, B is the basic codeword, C is the binary digits required by the basic codeword, and C×W≤64.
[0020] For example: 4 bits of code distance (W) are required, 0 to 0xFA code (B), because a maximum of 8 bits (C) are required to represent the basic code. then:
[0021] When B=0x0, calcula...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 