📄 g7-2.htm
字号:
lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN><FONT face=楷体_GB2312
color=#000066>SIM卡采用新的单片机及存储器管理结构,因此处理功能大大增强。SIM卡中存有三类数据信息:</FONT><FONT
color=#000066><O:P> </O:P></FONT></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-ALIGN: justify"><FONT
color=#000066 size=3><SPAN
style="mso-hansi-font-family: Times New Roman"><SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN>(1)<SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'">
<FONT
face=楷体_GB2312>与持卡者相关的信息以及SIM卡将来准备提供的所有业务信息,这种类型的数据存储在根目录下。<O:P>
</O:P></FONT></SPAN></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-ALIGN: justify"><FONT
color=#000066 size=3><SPAN
style="mso-hansi-font-family: Times New Roman"><SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN>(2)<SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'">
<FONT face=楷体_GB2312>GSM应用中特有的信息,这种类型的数据存储在GSM目录下。<O:P>
</O:P></FONT><O:P></O:P></SPAN></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify"><FONT
color=#000066 size=3><SPAN
style="mso-hansi-font-family: Times New Roman">(3)<SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'">
<FONT face=楷体_GB2312>GSM应用所使用的信息,此信息可与其它电信应用或业务共享,位于电信目录下。<O:P>
</O:P></FONT></SPAN></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3> <O:P> </O:P></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN><B><FONT color=#0099cc>3.SIM卡中的保密算法及密钥</FONT></B><O:P>
</O:P></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN><FONT face=楷体_GB2312
color=#000066>SIM卡中最敏感的数据是保密算法A3、A8算法、密约Ki、PIN、PUK和Kc。A3、A8算法是在生产SIM卡的同时写入的,一般人都无法读A3、A8算法;HN码可由客户在手机上自己设定;PUK码由运营者持有;Kc是在加密过程中由Ki导出;Ki需要根据客户的IMSI和写卡时用的母钥(Kki),由运营部门提供的一种高级算法DES,即Ki=DES(IMSI,Kki),经写卡机产生并写入SIM卡中,同时要将IMSI、Ki这一对数据送入GSM网路单元AUC鉴权中心。<O:P>
</O:P></FONT></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-ALIGN: justify"><FONT
face=楷体_GB2312 color=#000066><SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN>如何保证Ki在传送过程中安全保密是一件非常重要的事情。Ki在写卡时生成,同时加密,然后进入HLR/AUC后再解密,那么连写卡和HLR/AUC的操作人员也不知道Ki的真实数据。<O:P>
</O:P></FONT></SPAN></FONT><FONT color=#000066><SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><O:P></O:P></FONT></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify"><FONT
color=#000066><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
face=楷体_GB2312 size=3>一般流行的做法是用一高级方程<SPAN
lang=EN-US>DES对Ki进行加密,DES方程需要一把密钥Kdes,加密和解密都用同一把密钥。由运营部门提供DES方程给HLR/AUC设备供应商,运营部门制定严格的保密制度,管理好密钥Kdes就能保证Ki传递的安全性,此过程见图7-1所示。</SPAN></FONT></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify"><FONT
color=#000066><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
face=楷体_GB2312 size=3><SPAN
lang=EN-US><O:P></O:P></SPAN></FONT></SPAN></FONT><FONT
face=楷体_GB2312><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><SPAN lang=EN-US><O:P></O:P></SPAN></FONT></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 52.5pt; TEXT-ALIGN: justify; mso-char-indent-count: 5.0; mso-char-indent-size: 10.5pt"><SPAN
lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3>
<IMG height=115 src="g7-2.files/g7-2.H40.gif" width=378
v:shapes="_x0000_i1025"><O:P> </O:P></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3> <O:P> </O:P></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"
align=center><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
face=楷体_GB2312 color=#000066 size=3>图<SPAN lang=EN-US>7-1<SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN>SIM卡写卡流程<O:P> </O:P></SPAN></FONT><FONT face=楷体_GB2312
size=3><SPAN lang=EN-US><O:P></O:P></SPAN></FONT><FONT
face=楷体_GB2312 size=3><SPAN
lang=EN-US><O:P></O:P></SPAN></FONT><FONT size=3><SPAN
lang=EN-US><O:P></O:P></SPAN></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"
align=center><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><SPAN lang=EN-US><O:P></O:P></SPAN></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN><O:P></O:P></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><SPAN
lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><B><FONT color=#0099cc>4. 数据和参数<O:P>
</O:P></FONT><O:P></O:P></B><O:P></O:P></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><SPAN
lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
face=楷体_GB2312 color=#000066
size=3>SIM卡中存有数据:ISDN、Ki、PIN、PUK、TMSI、LAI和ICCID(SIM卡号码)。其中ISDN、Ki、PIN、PUK上面已提到;TMSI和LAI是随着客户移动,网路随时写入的;ICCID号码是SIM卡号,它的数据格式定义如下:<O:P>
</O:P></FONT><FONT color=#000066
size=3><O:P></O:P></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-ALIGN: justify"><FONT
color=#000066><SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3><SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN>898600<SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes">
</SPAN>9F SS YY G xxxxxX Chk<O:P> </O:P></FONT></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><FONT
color=#000066><SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3>898600<SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes"><FONT
face=楷体_GB2312> </FONT></SPAN><FONT face=楷体_GB2312><SPAN
style="mso-hansi-font-family: Times New Roman; mso-tab-count: 1">
</SPAN>固定不变<O:P> </O:P></FONT><O:P></O:P></FONT></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><FONT
color=#000066><SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3>9<SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes"> </SPAN><SPAN
style="mso-hansi-font-family: Times New Roman; mso-tab-count: 1">
</SPAN><FONT face=楷体_GB2312>代表移动业务接入号的末位<O:P>
</O:P></FONT></FONT></SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN-TOP: 0px; TEXT-JUSTIFY: inter-ideograph; MARGIN-BOTTOM: 0px; TEXT-INDENT: 21pt; TEXT-ALIGN: justify; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><FONT
color=#000066><SPAN lang=EN-US
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3>F<SPAN
style="mso-hansi-font-family: Times New Roman; mso-spacerun: yes"> </SPAN><SPAN
style="mso-hansi-font-family: Times New Roman; mso-tab-count: 1">
</SPAN><FONT face=楷体_GB2312>代表功能位,暂定为0<O:P>
</O:P></FONT></FONT></SPAN></FONT></P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -