| Algorithm 1 The code rate calculation process of the SIR protocol. |
| Step 1 Obtain the channel capacity C(s) based on the practical SNR. |
| Step 2 Determine the target reconciliation efficiency . |
| Step 3 Sort the bits in descending order of reliability . |
| Step 4 Obtain the optimal code rate using Equation (2). |
| Step 5 Determine the to disclose using Equation (7). |