将iOS 7常量映射到2G,3G,4G,LTE等 [英] Mapping iOS 7 constants to 2G, 3G, 4G, LTE etc

查看:216
本文介绍了将iOS 7常量映射到2G,3G,4G,LTE等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看起来好像我们可以在7之前确定iOS上的无线接入技术....如果我错了,请纠正我。

It does not appear as though we can determine the radio access technology on iOS before 7....please correct me if I am wrong.

考虑以下因素iOS 7中可用的常量,有人可以验证哪些常量映射到通用标准2G,3G,4G,LTE等?

Considering the following constants available in iOS 7, can someone verify which constant maps to which general standard 2G, 3G, 4G, LTE etc?

CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyGPRS          __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyEdge          __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyWCDMA         __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyHSDPA         __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyHSUPA         __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyCDMA1x        __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyCDMAEVDORev0  __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyCDMAEVDORevA  __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyCDMAEVDORevB  __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyeHRPD         __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyLTE           __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);


推荐答案

实际上很难映射上面的无线电接入最终标准为'2G','3G'等。

It is actually very hard to map the above radio access standards definitively to '2G', '3G' etc.

这是因为'2G','3G''4G'不是真正的标准,而是标准的分组,在某些情况下,确实有更多的营销术语。它们还涵盖了核心网络架构,而不仅仅是无线电接入网络,尽管后者更为普遍。一个非常简单的概述:

This is because '2G', '3G' '4G' are not really standards, but groupings of standards, and in some cases really more marketing terms. They also cover the core network architecture and not just the radio access network, although the latter is more generally discussed. A very simple overview:


  • 1G - 模拟移动网络

  • 2G - 数字移动网络。多个区域标准和变体(欧洲的GSM,NA的CDMA,日本的PDC等)

  • 3G - 最初旨在提供更高速的数据访问并规范各种接入技术。实际上,按照今天的标准(200kbs),有资格作为3G的数据速率相对较低,而一些演进的2G技术(有时称为2.5G,EDGE就是一个例子)实际上符合3G速度要求。作为参考,原始定义包含在国际电联IMT-2000规范中,国际电联自称:在国际电联的领导下经过十多年的努力,在2000年做出了一项历史性的决定:一致批准技术IMT-2000品牌的第三代系统规格。我认为可以说品牌'IMT-2000'输给了'3G'品牌......

  • 4G - 这是符合下一代网络的名称国际电联IMT标准,名为IMT-Advanced。实际上,供应商和运营商使用该名称来指代那些不符合这些标准允许的数据速率水平的网络,但只要3G上的性能提升很大,国际电联似乎就允许这样做。 LTE和WiMAX属于这一领域。从技术上讲,4G改变了无线电接入技术,放弃了扩频系统,并取消了接入和核心中电路交换路径的概念,转向基于所有分组IP的传输(这是电话方面的一个重大变化。网络)。

  • 1G - Analogue Mobile Networks
  • 2G - Digital mobile networks. Multiple regional standards and variations (GSM in Europe, CDMA in NA, PDC in Japan etc)
  • 3G - Originally intended to provide higher speed data access and to normalise the various access technologies. In fact the data rate to qualify as 3G is relatively low by today's standards (200kbs) and some evolved 2G technologies, sometimes referred as 2.5G with EDGE being an example, actually meet the 3G speed requirements. For reference the original definitions are included in the ITU IMT-2000 specification and the ITU say themselves: "After over ten years of hard work under the leadership of the ITU, a historic decision was taken in the year 2000 : unanimous approval of the technical specifications for third generation systems under the brand IMT-2000." I think it could be argued that the brand 'IMT-2000' lost out to the brand '3G'...
  • 4G - This is the name for networks that comply with the next generation of the ITU IMT standard, named IMT-Advanced. In practice the name is being used by vendors and operators to refer to networks which do not meet the data rate levels these standards allow, but this seems to have been allowed by the ITU so long as the performance gain over 3G is substantial. LTE and WiMAX fall into this area. Technically 4G changes the radio access technology, dropping 'spread spectrum' systems and removes the concept of 'circuit switched' paths in the access and core, moving to an all packet IP based transport (this is a significant change for the telephony side of the networks).

总而言之,这有点令人困惑!如果您感兴趣,有一份很好的国际电联文件可以更详细地记录这一点:

So in summary, it is all a bit confusing! There is a good ITU document which captures this in much more detail if you are interested:

http://www.itu.int/ITU-D/tech/FORMER_PAGE_IMT2000/DocumentsIMT2000/What_really_3G.pdf

考虑到上述情况,以及可能存在多个或altrenative映射的警告,下面是我认为您正在寻找的粗略映射:

With the above in mind, and the warning that there may be multiple or altrenative mappings, below is a rough mapping along the lines I think you were looking for:


  • CTRadioAccessTechnologyGPRS - 2G

  • CTRadioAccessTechnologyEdge - 2G(有时称为2.5G)

  • CTRadioAccessTechnologyWCDMA - 3G

  • CTRadioAccessTechnologyHSDPA - 3G(有时称为3.5G)

  • CTRadioAccessTechnologyHSUPA - 3G

  • CTRadioAccessTechnologyCDMA1x - 2G

  • CTRadioAccessTechnologyCDMAEVDORev0 - 3G

  • CTRadioAccessTechnologyCDMAEVDORevA - 3G

  • CTRadioAccessTechnologyCDMAE VDORevB - 3G

  • CTRadioAccessTechnologyeHRPD - 3G(或3.5 - eHRPD允许从CDMA EVDO迁移到LTE)

  • CTRadioAccessTechnologyLTE - 4G(允许为国际电联称4G为上面的mentioend)

  • CTRadioAccessTechnologyGPRS - 2G
  • CTRadioAccessTechnologyEdge - 2G (sometimes called 2.5G)
  • CTRadioAccessTechnologyWCDMA - 3G
  • CTRadioAccessTechnologyHSDPA - 3G (sometimes called 3.5G)
  • CTRadioAccessTechnologyHSUPA - 3G
  • CTRadioAccessTechnologyCDMA1x - 2G
  • CTRadioAccessTechnologyCDMAEVDORev0 - 3G
  • CTRadioAccessTechnologyCDMAEVDORevA - 3G
  • CTRadioAccessTechnologyCDMAEVDORevB - 3G
  • CTRadioAccessTechnologyeHRPD - 3G (or 3.5 - eHRPD is to allow migration from CDMA EVDO to LTE)
  • CTRadioAccessTechnologyLTE - 4G (allowed to be called 4G by the ITU as mentioend above)

最后,如果您感兴趣的是连接将是什么(通常...... 。)快或慢以下答案提供了一个很好的方法:
https://stackoverflow.com/a/20840971/334402

Finally, if all you are interested in is whehter the connection will be (generaly...) fast or slow the following answer provides a nice approach: https://stackoverflow.com/a/20840971/334402

这篇关于将iOS 7常量映射到2G,3G,4G,LTE等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆