我是靠谱客的博主 高贵铃铛,最近开发中收集的这篇文章主要介绍UICC 之 USIM 详解全系列——USIM App文件结构USIM App文件结构,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

本人就职于国际知名终端厂商,负责modem芯片研发。
在5G早期负责终端数据业务层、核心网相关的开发工作,目前牵头6G算力网络技术标准研究。

文章目录

  • USIM App文件结构
      • USIM中的文件


USIM App文件结构

解释USIM APP文件结构之前必须要先讲一下EFDIR,这个文件记录着所有UICC中的Application AID,只有获取到应用对应的AID才能激活这个Application。

SELECT EFDIR通过解析response data获取EFDIR的record长度和record数,遍历EFDIR的所有record查询需要的Application AID,EFDIR的record包含以下信息:
在这里插入图片描述
这里面的AID value就是我们想要的,通过AID value便可激活对应的Application,享受对应的Application提供的功能。

USIM中的文件

在这里插入图片描述

Contents of files at the USIM ADF (Application DF) level
EFLI (Language Indication)
EFIMSI (IMSI)
EFKeys (Ciphering and Integrity Keys)
EFKeysPS (Ciphering and Integrity Keys for Packet Switched domain)
EFPLMNwAcT(User controlled PLMN selector with Access Technology)
EFHPPLMN (Higher Priority PLMN search period)
EFACMmax (ACM maximum value)
EFUST (USIM Service Table)
EFACM (Accumulated Call Meter)
EFGID1 (Group Identifier Level 1)
EFGID2 (Group Identifier Level 2)
EFSPN (Service Provider Name)
EFPUCT (Price per Unit and Currency Table)
EFCBMI (Cell Broadcast Message identifier selection)
EFACC (Access Control Class)
EFFPLMN (Forbidden PLMNs)
EFLOCI (Location Information)
EFAD (Administrative Data)
EFCBMID (Cell Broadcast Message Identifier for Data Download)
EFECC (Emergency Call Codes)
EFCBMIR (Cell Broadcast Message Identifier Range selection)
EFPSLOCI (Packet Switched location information)
EFFDN (Fixed Dialling Numbers)
EFSMS (Short messages)
EFMSISDN (MSISDN)
EFSMSP (Short message service parameters)
EFSMSS (SMS status)
EFSDN (Service Dialling Numbers)
EFEXT2 (Extension2)
EFEXT3 (Extension3)
EFSMSR (Short message status reports)
EFICI (Incoming Call Information)
EFOCI (Outgoing Call Information)
EFICT (Incoming Call Timer)
EFOCT (Outgoing Call Timer)
EFEXT5 (Extension5)
EFCCP2 (Capability Configuration Parameters 2)
EFeMLPP (enhanced Multi Level Precedence and Pre-emption)
EFAaeM (Automatic Answer for eMLPP Service)
EFHiddenkey (Key for hidden phone book entries)
EFBDN (Barred Dialling Numbers)
EFEXT4 (Extension4)
EFCMI (Comparison Method Information)
EFEST (Enabled Services Table)
EFACL (Access Point Name Control List)
EFDCK (Depersonalisation Control Keys)
EFCNL (Co-operative Network List)
EFSTART-HFN (Initialisation values for Hyperframe number)
EFTHRESHOLD (Maximum value of START)
EFOPLMNwACT (Operator controlled PLMN selector with Access Technology)
EFHPLMNwAcT (HPLMN selector with Access Technology)
EFARR (Access Rule Reference)
EFNETPAR (Network Parameters)
EFPNN (PLMN Network Name)
EFOPL (Operator PLMN List)
EFMBDN (Mailbox Dialling Numbers)
EFEXT6 (Extension6)
EFMBI (Mailbox Identifier)
EFMWIS (Message Waiting Indication Status)
EFCFIS (Call Forwarding Indication Status)
EFEXT7 (Extension7)
EFSPDI (Service Provider Display Information)
EFMMSN (MMS Notification)
EFEXT8 (Extension 8)
EFMMSICP (MMS Issuer Connectivity Parameters)
EFMMSUP (MMS User Preferences)
EFMMSUCP (MMS User Connectivity Parameters)
EFNIA (Network’s Indication of Alerting)
EFVGCS (Voice Group Call Service)
EFVGCSS (Voice Group Call Service Status)
EFVBS (Voice Broadcast Service)
EFVBSS (Voice Broadcast Service Status)
EFVGCSCA (Voice Group Call Service Ciphering Algorithm)
EFVBSCA (Voice Broadcast Service Ciphering Algorithm)
EFGBABP (GBA Bootstrapping parameters)
EFMSK (MBMS Service Keys List)
EFMUK (MBMS User Key)
EFGBANL (GBA NAF List)
EFEHPLMN (Equivalent HPLMN)
EFEHPLMNPI (Equivalent HPLMN Presentation Indication)
EFLRPLMNSI (Last RPLMN Selection Indication)
EFNAFKCA (NAF Key Centre Address)
EFSPNI (Service Provider Name Icon)
EFPNNI (PLMN Network Name Icon)
EFNCP-IP (Network Connectivity Parameters for USIM IP connections)
EFEPSLOCI (EPS location information)
EFEPSNSC (EPS NAS Security Context)
EFUFC (USAT Facility Control)
EFNASCONFIG (Non Access Stratum Configuration)
EFUICCIARI (UICC IARI)
EFPWS (Public Warning System)
EFFDNURI (Fixed Dialling Numbers URI)
EFBDNURI (Barred Dialling Numbers URI)
EFSDNURI (Service Dialling Numbers URI)
EFIWL (IMEI(SV) White Lists)
EFIPS (IMEI(SV) Pairing Status)
EFIPD (IMEI(SV) of Pairing Device)
EFePDGId (Home ePDG Identifier)
EFePDGSelection (ePDG Selection Information)
EFePDGIdEm (Emergency ePDG Identifier)
EFePDGSelectionEm (ePDG Selection Information for Emergency Services)
EFFromPreferred (From Preferred)
EFIMSConfigData (IMS Configuration Data)
EFTVCONFIG (TV Configuration)
EF3GPPPSDATAOFF (3GPP PS Data Off)
EF3GPPPSDATAOFFservicelist (3GPP PS Data Off Service List)
EFXCAPConfigData (XCAP Configuration Data)
EFEARFCNList (EARFCN list for MTC/NB-IOT UEs)
EFMuDMiDConfigData (MuD and MiD Configuration Data)

Contents of files at the DF SoLSA level
EFSAI (SoLSA Access Indicator)
EFSLL (SoLSA LSA List)

Contents of files at the DF PHONEBOOK level
EFPBR (Phone Book Reference file)
EFIAP (Index Administration Phone book)
EFADN (Abbreviated dialling numbers)
EFEXT1 (Extension1)
EFPBC (Phone Book Control)
EFGRP (Grouping file)
EFAAS (Additional number Alpha String)
EFGAS (Grouping information Alpha String)
EFANR (Additional Number)
EFSNE (Second Name Entry)
EFCCP1 (Capability Configuration Parameters 1)
EFUID (Unique Identifier)
EFPSC (Phone book Synchronisation Counter)
EFCC (Change Counter)
EFPUID (Previous Unique Identifier)
EFEMAIL (e-mail address)
EFPURI (Phonebook URIs)

Contents of files at the DF GSM-ACCESS level (Files required for GSM Access)
EFKc (GSM Ciphering key Kc)
EFKcGPRS (GPRS Ciphering key KcGPRS)
EFCPBCCH (CPBCCH Information)
EFInvScan (Investigation Scan)

Contents of files at the MexE level
EFMexE-ST (MexE Service table)
EFORPK (Operator Root Public Key)
EFARPK (Administrator Root Public Key)
EFTPRPK (Third Party Root Public Key)
EFTKCDF (Trusted Key/Certificates Data Files)

Contents of files at the DF WLAN level
EFPseudo (Pseudonym)
EFUPLMNWLAN (User controlled PLMN selector for I-WLAN Access)
EFOPLMNWLAN (Operator controlled PLMN selector for I-WLAN Access)
EFUWSIDL (User controlled WLAN Specific Identifier List)
EFOWSIDL (Operator controlled WLAN Specific IdentifierList)
EFWRI (WLAN Reauthentication Identity)
EFHWSIDL (Home I-WLAN Specific Identifier List)
EFWEHPLMNPI (I-WLAN Equivalent HPLMN Presentation Indication)
EFWHPI (I-WLAN HPLMN Priority Indication)
EFWLRPLMN (I-WLAN Last Registered PLMN)
EFHPLMNDAI (HPLMN Direct Access Indicator)

Contents of files at the DF HNB level
EFACSGL (Allowed CSG Lists)
EFCSGT (CSG Type)
EFHNBN (Home NodeB Name)
EFOCSGL (Operator CSG Lists)
EFOCSGT (Operator CSG Type)
EFOHNBN (Operator Home NodeB Name)

Contents of files at the DF ProSe level
EFPROSE_MON (ProSe Monitoring Parameters)
EFPROSE_ANN (ProSe Announcing Parameters)
EFPROSEFUNC (HPLMN ProSe Function)
EFPROSE_RADIO_COM (ProSe Direct Communication Radio Parameters)
EFPROSE_RADIO_MON (ProSe Direct Discovery Monitoring Radio Parameters)
EFPROSE_RADIO_ANN (ProSe Direct Discovery Announcing Radio Parameters)
EFPROSE_POLICY (ProSe Policy Parameters)
EFPROSE_PLMN (ProSe PLMN Parameters)
EFPROSE_GC (ProSe Group Counter)
EFPST (ProSe Service Table)
EFPROSE_UIRC (ProSe UsageInformationReportingConfiguration)
EFPROSE_GM_DISCOVERY (ProSe Group Member Discovery Parameters)
EFPROSE_RELAY (ProSe Relay Parameters)
EFPROSE_RELAY_DISCOVERY (ProSe Relay Discovery Parameters)

Contents of files at the DF ACDC level
EFACDC_LIST (ACDC List)
EFACDC_OS_CONFIG (ACDC OS configuration)

Contents of files at the DF TV level
EFTVUSD (TV User Service Description)

Contents of files at the DF5GS level
EF5GS3GPPLOCI (5GS 3GPP location information)
EF5GSN3GPPLOCI (5GS non-3GPP location information)
EF5GS3GPPNSC (5GS 3GPP Access NAS Security Context)
EF5GSN3GPPNSC (5GS non-3GPP Access NAS Security Context)
EF5GAUTHKEYS (5G authentication keys)
EFUAC_AIC (UAC Access Identities Configuration)
EFSUCI_Calc_Info (Subscription Concealed Identifier Calculation Information EF)
EFOPL5G (5GS Operator PLMN List)
EFSUPI_NAI (SUPI as Network Access Identifier)
EFRouting_Indicator (Routing Indicator EF)
EFURSP (URSP)
EFTN3GPPSNN (Trusted non-3GPP Serving network names list)
EFCAG (Pre-configured CAG information list EF)

Contents of Efs at the TELECOM level
EFADN (Abbreviated dialling numbers)
EFEXT1 (Extension1)
EFECCP (Extended Capability Configuration Parameter)
EFSUME (SetUpMenu Elements)
EFARR (Access Rule Reference)
EFICE_DN (In Case of Emergency – Dialling Number)
EFICE_FF (In Case of Emergency – Free Format)
EFRMA (Remote Management Actions)
EFPSISMSC (Public Service Identity of the SM-SC)

Contents of files at the DFGRAPHICS level
EFIMG (Image)
EFIIDF (Image Instance Data Files)
EFICE_graphics (In Case of Emergency – Graphics)

Contents of files at the DFMULTIMEDIA level
EFMML (Multimedia Messages List)
EFMMDF (Multimedia Messages Data File)

Contents of files at the DFMCS level
EFMST (MCS Service Table)
EF~MCS_ CONFIG~ (MCS configuration data)

Contents of files at the DFV2X level
EFVST (V2X Service Table)
EFV2X_CONFIG (V2X configuration data)
EFV2XP_PC5 (V2X data policy over PC5)
EFV2XP_Uu (V2X data policy over Uu)

上述这些文件对应的文件内容,文件格式,以及访问权限要求,参考TS31.102


我们这里介绍几个常用的文件

EFLI (Language Indication)
这个文件是开机必读的文件,它记录了用户的语言优先级,文件结构如下图:
在这里插入图片描述

EFIMSI (IMSI)
这个文件用处很多,例如用户手机初始注网时有可能就会用到这个文件中的值,文件结构如下图:
在这里插入图片描述
IMSI Bit信息如下图:
在这里插入图片描述

EFPLMNwAcT (User controlled PLMN selector with Access Technology)
这文件记录了用户级下的不同网络制式的PLMN优先级列表,可以用于初始搜网过程,文件结构如下图:
在这里插入图片描述
网络制式Bit信息如下表:
在这里插入图片描述
在这里插入图片描述

EFFPLMN (Forbidden PLMNs)
这个文件中记录的PLMN都是禁用的,可以规避一些伪基站和一些异常PLMNs,文件结构如下图:
在这里插入图片描述

EFAD (Administrative Data)
这个文件可以获取MNC的长度,从而确定HPLMN,当然还有一些其他的信息,文件结构如下图(详细信息查阅TS31.102):
在这里插入图片描述
EFNASCONFIG (Non Access Stratum Configuration)
这个文件也是开机必读的,用于NAS配置,关系到用户的网络体验,结构比较复杂(详细信息查阅TS31.102)如下图:
在这里插入图片描述


返回系列目录

在这里插入图片描述

最后

以上就是高贵铃铛为你收集整理的UICC 之 USIM 详解全系列——USIM App文件结构USIM App文件结构的全部内容,希望文章能够帮你解决UICC 之 USIM 详解全系列——USIM App文件结构USIM App文件结构所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部