UICC 之 USIM 详解全系列——USIM App文件结构
本人就职于国际知名终端厂商,负责modem芯片研发。
在5G早期负责终端数据业务层、核心网相关的开发工作,目前牵头6G算力网络技术标准研究。
文章目录
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)如下图:
相关文章
- App Cleaner & Uninstaller 应用程序卸载清理工具,彻底清除残留文件垃圾!
- 跨平台移动APP开发进阶(三):hbuilder+mui mobile app 开发心酸路
- IOS APP开发:苹果app从开发到上架教程详解
- ipa上传到APP store
- 关于手机app或者小程序自动化如何移动滑块
- ArgoCD 用户管理、RBAC 控制、脚本登录、App 同步
- 腾讯开放平台申请上架APP/开发者注册攻略(原应用宝)
- 京东App-营销短信怎么关闭
- Spartacus 4.3.x 版本导入 Cart 到 App Module 构造函数的错误消息
- 如何在自己APP中接入在线客服系统,App接入第三方在线客服系统方法
- 5分钟教你打造一个秒开的 Android App
- vue main.js中app绑定的是index.html还是App.vue中详解编程语言
- 工信部整治 APP 开屏弹窗骚扰用户 68 家企业完成整改
- 网信办推进摄像头偷窥等黑产集中治理 14家App厂商被约谈
- 微软 xCloud 云游戏已支持通过 Win11/Win10 版 Xbox App 运行
- App无缝连接远程MySQL数据库(app连接远程mysql)
- APP构建MySQL数据库无缝连接(app连接mysql)
- APP与MySQL实现无缝连接让你办公更轻松(app连接mysql实例)
- App测试技术利用Mysql助力质量保障(app测试mysql)
- APP如何连接MySQL数据库(app怎样链接mysql)
- MySQL在App开发中的应用(app开发mysql)
- App与MySQL搭建美好互联网空间(app与mysql)
- 轻松学习MYSQL下载文档App分享(MYSQL下载文档app)
- 使用MYSQL技术打造高效电影App下载平台(MYSQL下载电影app)
- nodejs教程安装express及配置app.js文件的详细步骤