QR CODE: Final coding

Interspersed

If you think we can start drawing, you are wrong. The chaotic technique of the two-dimensional code has not yet been played, and it is also to put together the codewords of the data code and the error correction code. How to alternate, the rules are as follows:

For the data code: first take the first codewords of each block and arrange them by the smoothness, then take the second one of the first block, and so on. For example, the Data Codewords in the above example are as follows:

Block 167857013487388519411950618610338
Block 224624666711813424273886twenty two1981991466
Block 31822302471195071181348738826134151507
Block 4702471188619461515016236172361723617236

Let's take the first column: 67, 246, 182, 70

Then take the second column: 67, 246, 182, 70, 85, 246, 230, 247

And so on: 67, 246, 182, 70, 85, 246, 230, 247 ....................., 38,6,50,17,7,236

The same is true for the error correction code:

Block 121319911451152472412232292481541171541118616111139
Block 28720496602021821241572001342712920917163163120133
Block 314811617721276133752422387619523018910108240192141
Block 42351595173twenty four14759331064025517282213132178236

As with the data code, get: 213, 87, 148, 235, 199, 204, 116, 159, ... ...... 39, 133, 141, 236
Then, put the two groups together (the error correction code is placed after the data code) to get:
67, 246, 182, 70, 85, 246, 230, 247, 70, 66, 247, 118, 134, 7, 119, 86, 87, 118, 50, 194, 38, 134, 7, 6, 85, 242, 118, 151, 194, 7, 134, 50, 119, 38, 87, 16, 50, 86, 38, 236, 6, 22, 82, 17, 18, 198, 6, 236, 6, 199, 134, 17, 103, 146, 151, 236, 38, 6, 50, 17, 7, 236, 213, 87, 148, 235, 199, 204, 116, 159, 11, 96, 177, 5, 45, 60, 212, 173, 115, 202, 76, 24, 247, 182, 133, 147, 241, 124, 75, 59, 223, 157, 242, 33, 229, 200, 238, 106, 248, 134, 76, 40, 154, 27, 195, 255, 117, 129, 230, 172, 154, 209, 189, 82, 111, 17, 10, 2, 86, 163, 108, 131, 161, 163, 240, 32, 111, 120, 192, 178, 39, 133, 141, 236
This is our data area.

Remainder Bits

Finally, with Reminder Bits, for some Versions of Version, the above is not enough length, plus Remainder Bits, such as: the above 5Q version of the QR code, plus 7 bits, Remainder Bits plus zero Enough. See the Table-1 definition table on page 15 of the QR Code Spec for the number of Reemainder bits required for Version