Skip to main content
. 2019 Dec 30;20(1):213. doi: 10.3390/s20010213
Algorithm 1 Geo-location information aided spectrum sensing.
Input:Θq,L, Cq,L, Tqk, WFPD. % for the q-th SUE, q=1,2,,Q
Output:PUT_Flag_q.
  •  1:

    train the q-th T1-SVM classifier via {Θq,L,Cq,L(1)}

  •  2:

    train the q-th T2-SVM classifier via {Θ˘q,h,Cq,h(2)}h=02P-1

  •  3:

    the q-th SUE estimates K TOAs (fingerprint) from the K BSs over F1

  •  4:

    ifβq<ψ and it satisfies (15) then

  •  5:

        the estimated fingerprint best matches the q-th WFP in the WFPD

  •  6:

        the q-th SUE is located in the q-th grid

  •  7:

    else return to step 2

  •  8:

    end if

  •  9:

    the q-th SUE reads the labels in the q-th WFP and obtain

  • 10:

       PUT_Position_Flag_q,Update_Timer_q,PUT_Flag_q

  • 11:

    ifPUT_Position_Flag_q=1then

  • 12:

        if Update_Timer_q<φ then

  • 13:

            if PUT_Flag_q0 then

  • 14:

               output PUT_Flag_q=PUT_Flag_q

  • 15:

               Exit to step 33

  • 16:

            end if

  • 17:

        end if

  • 18:

    end if

  • 19:

    ifUpdate_Timer_q=φ or PUT_Flag_q=0 then the q-th SUE

  • 20:

        % single-SUE prediction

  • 21:

        obtains the sensing observation θq over the LFB F2

  • 22:

        predicts the state of the PUTs as C^q(1) via θq and the trained T1-SVM classifier

  • 23:

        predicts PUT_Flag_q as C^q(2) via θq,C^q(1) and the trained T2-SVM classifier

  • 24:

        if Joint-SUE prediction is required then

  • 25:

            reads received signals of the |Qq| grids that neighbor the q-th grid

  • 26:

            predicts PUT_Flags_q,q{Qq} independently, via single-SUE prediction

  • 27:

            obtains PUT_Flag_q by HDF voting based on PUT_Flags_q,q{Qq{q}}

  • 28:

        end if

  • 29:

        update PUT_Flag_q in the q-th WFP

  • 30:

        clear and restart Updata_Timer_q in the q-th WFP

  • 31:

    end if

  • 32:

    output PUT_Flag_q=PUT_Flag_q

  • 33:

    if A new sensing request occurs then return to step 2

  • 35:

    Exit