已解决问题
在Gn口怎么区别2G和3G的终端接入?  (进入论坛模式)
提问者:yellowsun   |  提问时间:2011-7-23 16:21
在Gn口怎么区别2G和3G的终端接入?是不是通过SAI的值判断?
关闭所有答案回应     最佳答案
CREATE_PDP_REQ中有rattype,1是3G, 2是2G
 |  回应该答案 (0)  |  回答时间:2011-7-25 16:52
其他答案 ( 4 条 )
不知道这个还
 |  回应该答案 (0)  |  回答者:li99099   |  2011-7-23 17:15
找个Gn的数据包解开看看不就知道了
[img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAC+CAIAAACZJMPfAAARwUlEQVR4nO2dXa/UthaG87P5KfyCUp2LihtU1EotUIm2EhLqRqJQKrWIfqgFKqBsRiob5VwczjTEXq+XnQ87meeRtTXj2GstO8l6x9mZTNcDAABUoqsdAAAAnC6IEAAAVKNFEeoGWFtbi2p92okEAKCYprNYOyLUYLpHhABgB8Sz2NVb9y5dvhaWq7fuJczNulbw21k6Hefa7z5koagAALZOPD9eunwtq/69rUG2tV6Hm0SaDjuG7buAaF9RqV2E9j1G/PaP7ZPxR0Pyu0ARAaBBTBG6uHj77t3bd+/edl13cfH24uKfw5u/hQjppKlbZlVqX6IyVzxCnXCiRSh8bWlPMgDnPHhMAQBUwRShw+H8cDg/HF53XffmzeuXL57++vgHRMhJdNlhvS1WDucAc+cBAGA1TBE6P385ugb106Oz2UUoeWUp15czBo/ZWVYP1mCt1U9WAH4RivoFAKiOKUKvXv314sWz589/77ruzz+ePPn54aP7d+YVoYLLTUlfzhg8Zue6hJUlNtFNE5c4qA4ANIspQr88fvjjg7sP7n3bdd39726f3blx95vPp9+YYK0AFhKhkUfN1kXIaokIAUCzmCJ0dufL2198cuv6xzevX7l5/cqNTz/66rP/aBHqjf+FjOrFFaqwl+Ul17UOOxqPJ5KkkdBOuEkbT0qUZwh6ngEAahHPR8XfE/rXbjPJrpEwAAAgZMEE3YIOtRADAABY7DZBc+kJAKB9yNEAAFANRAgAAKqBCAEAQDUQIQAAqA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UCgUSpWCCFEoFAqlWtmSCA2/yeGpp8w158RAoVAWKps8t62UtIlUNUtK1XrsbDzXPGv7uR8arE2b2LkUCiW3NPEhNzdFThQh3SyZx6dkw2PfWYwM3x4DS45u+iQLI9HY/LtsruApFMpWSs2zWucy/WE516C/WfSTe1Z7p18rQQ/fRich623xFImZd4qQJzDRfkr8FAplK6XaKe3Plf4rM9NFKBSGpM3pIuRx519hzCVCor5sWeMUIb3cRIQolJ2VFkUombyaEqHiIYdvs+bEStZ+I7lTpJUvGYmnQXJhhAhRKDsrjYrQCGff/YlQdBJGrz0LjtyB6DkXLkSzAk2aOAoKhdJ+aVSEyvpOv9YUil9FERLC4zebNTOiffKTQVacniARIQrlFErNU7pYS5YToehbbVZkZOHC42suESpI3HpQ/k3JcYnuiBCFcgql8iltfbjWH7qni5BzxTPMoVY8uSIUHaw1Cs/8WIPyBK9DdW7Se0oHL7oU718KhbKhwllNMUtTSb+pYCgUylyFE5uiStbiaccxUCiUhQrnNoVCoVCqFUSIQqFQKNUKIkShUCiUaoVfVgUAgGogQgAAUA1EaD26jtkGAPiA002L/7vx198ybB9+OVQbR4QAAEZUTotWEu/tPG61z/U7epHb0dp0DAwRAgBIUjMt6qQclaWs9k6/liBFrVkuPJIzVCkECQCgb1aEQmFIZu3pIuRx51cmaxmnewEAnBStXI4L660XszjVb7MUyKpPro0QIQCAVvJg8hJZdRGarkyIEADAiIby4FBvwhsQ6oqQ58phsh4RAgAY0VAeTN4gMNeNCbm+ChQouon/CQEAjKh8Y8JoudOn/r8S7TLcVOA69JLlVA8qHFrUDgDAaUIqBACAaiBCAABQDUQIAACqgQgBAEA1ECEAAKgGIgQAANVAhAAAoBr/BX1W/FKQTeCPAAAAAElFTkSuQmCC[/img]
 |  回应该答案 (0)  |  回答者:neutrino0718   |  2011-7-29 16:05
rattype是可选字段,如果有3G终端,是不是网络默认打开?
 |  回应该答案 (0)  |  回答者:yellowsun   |  2011-8-1 21:59
有3G终端不代表这个终端一定要用3G网络。核心网侧只有SGSN才明确的知道这个用户现在用的是2G还是3G(Gb还是Iu)。
中国移动现网rattype是明确要求打开的,除了部分很老的SGSN还使用GTPV0外,其他SGSN都是会上报rattype的。联通情况不清楚,但是估计也会有类似要求。
从SAI来获取对应的2/3G关系,实现起来太麻烦了,主要是运营商会不会把这个数据给你。而且不知道是否规划了2/3G公用RAI的情况。另外如果你从近GGSN侧Gn采数据的话,roamer的情况你怎么处理?
综上,只有rattype最有效。
 |  回应该答案 (0)  |  回答者:hycl5410   |  2011-8-2 11:32
热点问题