forked from brian09088/NB-IoT-support-for-NTN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccess_handover.m
35 lines (26 loc) · 902 Bytes
/
access_handover.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
%% Satellite access and handover strategy
%% Algorithm for decision transmit or relay routing path use ISL (Inter-Satellite Links)
%% Access and handover strategy
function [] = access_handover()
if new UE arrive:
determine the current geographic coordinates,
send location information and access request to GS
GS sends : satellite coverage matrix to UE
for i in N :
if t(s,i) < t(now) < t(theta,i)
popup the element i in S
end
for m in S:
select the satellite which has
end
end
end
if X service-cycle is ended:
pop the satellite j which can service to get the Q(ij,t) for each j in [S'' ...
return j which satellite has the maximum Q(ij,t)
if j != x :
handover to satellite j
else:
service continue
end
end