文章目錄
-
- introduction
- PLMN selection相關卡檔案
- 卡檔案分析
- 下期預告
原創,原作發于今日頭條,後續陸續遷移
introduction
PLMN選擇有兩種模式:自動選網、手動選網。
按照PLMN選擇類型,包括開機選網、使用者重選網、OOS選網、高優先級選網等。
如果MS能夠提供需要注冊的服務,則MS将在PLMN上執行注冊。 在自動和手動模式下,都使用PLMN上的注冊。 如果滿足以下條件,MS将成功在PLMN上注冊:
- MS已經在PLMN上找到了一個suitable 小區駐留
- 在MS駐留的小區所屬的注冊區域,發起注冊請求被接受
PLMN selection相關卡檔案
如果MS能夠提供需要注冊的服務,則需要在選擇的PLMN和區域内發起注冊,否則可以不發起。
ME應該使用儲存在SIM卡中和PLMN選擇相關的資訊,下面列舉部分,
EFIMSI (IMSI);
EFHPLMNwACT(HPLMN selector with access technology);
EFUPLMNwACT(user controlled PLMN selector with access technology);
EFOPLMNwACT (Operator controlled PLMN selector with Access Technology) ;
EFHPLMNwAcT (HPLMN selector with Access Technology);
EFNASCONFIG (Non Access Stratum Configuration) ;
EFFPLMN (Forbidden PLMNs) ;
EFLRPLMNSI (Last RPLMN Selection Indication) ;
EFEHPLMN (Equivalent HPLMN) ;
EFEHPLMNPI (Equivalent HPLMN Presentation Indication);
EFHPPLMN (Higher Priority PLMN search period) ;
卡檔案分析
以上便列舉了大緻需要的卡檔案了,本篇将會對卡檔案的使用進行分析:
- EFHPLMNwACT(HPLMN selector with access technology):
Home Plmn選擇器,包含接入技術,是按照優先級的順序存儲的,這個檔案非常特殊,裡面雖然包含了帶優先級的PLMN+RAT,但是裡面的PLMN并不能用于選網。"HPLMN Selector with Access Technology"檔案隻用在擷取EHPLMN或推導出的HPLMN相關的RAT及優先級的。
在卡裡的存儲格式:
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiIyVGduV2YfNWawNyZuBnL1MzM4ATN1IjM5ATNwAjMwIzLc52YucWbp5GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.png)
其中PLMN占據了3個Bytes,接入技術占了2個bytes,接入技術是根據這2Bytes中每個bit的值确定是否支援某個接入技術,以5n-1 Bytes為例:
從上圖的bitmap映射中可以看出,如果需要支援NG-RAN,則必須是b4置為1才可以。另外,該bitmap中的多個支援的接入技術并不存在優先級,不過按照正常,我們認為定義NR>LTE>3G>2G這種順序。
- EFUPLMNwACT(user controlled PLMN selector with access technology)
- EFOPLMNwACT (Operator controlled PLMN selector with Access Technology)
這個是使用者/營運商控制PLMN及接入技術選擇器檔案,編碼的格式和EFHPLMNwACT是一的
- EFNASCONFIG (Non Access Stratum Configuration) :
這個是NAS配置檔案,包含很多參數的預設值,PLMN選擇會用到其中的周期搜尋定時器最小時長(MinimumPeriodicSearchTimer)和快速高優先級搜網時長(Fast First Higher Priority PLMN value)
-
EFFPLMN (Forbidden PLMNs) :
禁止的PLMN,在自動選網時,在該禁止清單的PLMN是不允許被選擇的,手動選網時,則不需要考慮該限制。
- EFLRPLMNSI (Last RPLMN Selection Indication) :
This EF contains an indication to the ME for the selection of the RPLMN or the home network at switch on, or following recovery from lack of coverage.
- ‘00’ - The UE shall attempt registration on the last RPLMN at switch-on or recovery from out-of-coverage as described in TS 23.122 [31]
- ‘01’ - The UE shall attempt registration either on the HPLMN or the last RPLMN at switch-on or recovery from out-of-coverage as described in TS 23.122 [31]
意思就是訓示是否使用上一次的RPLMN進行首先嘗試駐網。
- EFEHPLMN (Equivalent HPLMN)
等效PLMN,這個清單在注冊後需要替換或更新,這個清單包含了注冊PLMN,該清單中的PLMN在所有支援的rat内,在PLMN選擇、小區選擇、小區重選過程中國,都認為等效的PLMN。如果EHPLMN不存在,則可以用IMSI推導出HPLMN用在plmn選擇中
- EFEHPLMNPI (Equivalent HPLMN Presentation Indication)
該檔案用于訓示,在手動選網時,是否是否全部的EHPLMN檔案中的PLMN用于選網,亦或是最高優先級的PLMN用于選網。
Coding:
- ‘00’ - No preference for the display mode
- ‘01’ - Display the highest-priority available EHPLMN only
- ‘02’ - Display all the available EHPLMNs
- EFHPPLMN (Higher Priority PLMN search period)
該檔案定義了高優先級搜網的周期,該檔案并非直接給出周期,而是需要進行解析的,解析規則和制式有關系:
(1)For UEs not using any of the following at the time of starting the timer: NB-IoT, GERAN EC-GSM-IoT and Category M1 of E-UTRAN enhanced-MTC as specified in 3GPP TS 36.306 [85], the time interval is coded in integer multiples of n minutes. The range is from n minutes to a maximum value. The encoding is:
‑ ‘00’: No higher priority PLMN search attempts;
‑ ‘01’: n minutes;
‑ ‘02’: 2n minutes;
‑ ‘YZ’: (16Y+Z)n minutes (maximum value).
(2)For UEs using any of the following at the time of starting the timer: NB-IoT, GERAN EC-GSM-IoT and Category M1 of E-UTRAN enhanced-MTC as specified in 3GPP TS 36.306 [85], the time interval is coded as follows. The range is from n hours to a maximum value. The encoding is:
‑ ‘00’: No higher priority PLMN search attempts;
‑ ‘01’: n hours (2 hours);
‑ ‘02’ to ‘28’: 2n hours (i.e. range from 4 hours to 80 hours with step of 2 hours);
‑ ‘29’ to ‘50’: 4n-80 hours (i.e. range from 84 hours to 240 hours with step of 4 hours).
- All other values shall be interpreted by the ME as a default period.
以(1)為例,假如配置的是14(10進制),
經過計算(16*(1)+4)* n min = 20n分鐘,其中n是協定23122中規定的間隔(6min)。
下期預告
下一期講一下選網過程。