简体   繁体   English

GSM 网络运营商可以访问设备固件版本吗?

[英]Can a GSM network operator access device firmware version?

Can a GSM network operator access the device firmware version? GSM 网络运营商可以访问设备固件版本吗?

As far as I know they can read IMSI and IMEI or the extended IMEI namely IMEI-SV which encodes some sort of version numbering (but is not used by all manufacturers.据我所知,他们可以读取 IMSI 和 IMEI 或扩展的 IMEI,即 IMEI-SV,它编码某种版本编号(但并非所有制造商都使用。

Can a telecommunication provider by any other means derive the firmware version of the modem or somehow query the devices?电信供应商能否通过任何其他方式获得调制解调器的固件版本或以某种方式查询设备?

Could AT commandas be used?可以使用AT命令吗? Can they be executed at scale to query a whole network with millions of devices (if this would give the firmware version number)它们是否可以大规模执行以查询具有数百万台设备的整个网络(如果这会给出固件版本号)

Firstly, it's worth saying that most of the discussion below is related to mobile networks in general, rather than just a 'GSM' network.首先,值得一提的是,下面的大部分讨论都与一般的移动网络有关,而不仅仅是“GSM”网络。

Most operators have networks that share and mix technology from '2G', '3G' '4G etc networks and even these terms are not strict definitions (see for some more background on the different generation networks and common naming: https://stackoverflow.com/a/25592213/334402 )大多数运营商的网络共享和混合来自“2G”、“3G”、“4G”等网络的技术,甚至这些术语也不是严格的定义(有关不同代网络和通用命名的更多背景信息,请参见: https://stackoverflow。 com/a/25592213/334402 )

3GPP, the standards body behind most mobile networks, has discussed device management and there exist at least some drafts which cover details like firmware and OS version etc - for example:大多数移动网络背后的标准机构 3GPP 已经讨论了设备管理,并且至少存在一些涵盖固件和操作系统版本等细节的草案——例如:

The Open Mobile Alliance has also developed a specification for device management and this likely has more traction.开放移动联盟还制定了设备管理规范,这可能具有更大的吸引力。 You can see that the firmware version is included in the data covered in their specifications:您可以看到固件版本包含在其规格中涵盖的数据中:

The term firmware is also a little ambiguous - if what you want is a feel for the OS version of mobile phone and iPads etc connection to the network, you may be able to work at a higher level and look at the headers in HTTP requests from the devices, specifically at the User Agent string.固件这个术语也有点含糊不清——如果你想要的是手机和 iPad 等操作系统版本的网络连接,你可以在更高的层次上工作并查看来自 HTTP 请求的标头设备,特别是用户代理字符串。 For example, a query from a browser on an iPhone might include:例如,来自 iPhone 浏览器的查询可能包括:

Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1 Mozilla/5.0(iPhone;CPU iPhone OS 10_3_1,如 Mac OS X) AppleWebKit/603.1.30(KHTML,如 Gecko)版本/10.0 Mobile/14E304 Safari/602.1

(see more examples here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent ) (在此处查看更多示例: https : //developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent

For Modems in particular, it is also worth mentioning the TR-069 specification for managing CPE (Customer Premise Equipment).特别是对于调制解调器,还值得一提的是用于管理 CPE(用户端设备)的 TR-069 规范。 This spec is from the broadband world and driven by ISP and Broadband operators need to manage wireless (and wired) modems in their customers homes and premises.该规范来自宽带世界,由 ISP 推动,宽带运营商需要在其客户家中和场所管理无线(和有线)调制解调器。 It is also built into some GSM modems so worth being aware of also - spec is here:它也内置在一些 GSM 调制解调器中,因此也值得注意 - 规格在这里:

Note, links above are correct at time of writing - if broken just search for the spec numbers.请注意,上面的链接在撰写本文时是正确的 - 如果损坏,只需搜索规格编号。

I'm not aware of any protocol level standard forcing a cellular device (not only a GSM one) to notify its FW version.我不知道有任何协议级别标准强制蜂窝设备(不仅是 GSM 设备)通知其固件版本。 In fact it has not any role in network registration like, for example, IMEI and IMSI (that are used to guarantee subscriber's and device's identities).事实上,它在网络注册中没有任何作用,例如 IMEI 和 IMSI(用于保证用户和设备的身份)。

Anyway several operators control FW (and SW) versions of the devices through protocols defined by OMA Alliance:无论如何,几个运营商通过 OMA 联盟定义的协议控制设备的固件(和软件)版本:


  1. OMA-DM protocol, which allows the network operator to retrieve (and set!) several settings: not only FW versions (used in order to deploy FW updates) but also SMS mode settings or APN and so on. OMA-DM协议,允许网络运营商检索(和设置!)多个设置:不仅是固件版本(用于部署固件更新),还有 SMS 模式设置或 APN 等。

    For example in specification document OMA-TS-DM_StdObj-V1_2-20070209-A is described DevDetail management object :例如在规范文档OMA-TS-DM_StdObj-V1_2-20070209-A中描述了DevDetail 管理对象

     DevDetail _____ [...] |__ DevType |__ OEM |__ FwV |__ Swv |__ Hwv |__ [...]

    Each information is got/set/executed by providing a CMD URI command such as通过提供CMD URI命令来获取/设置/执行每个信息,例如

     GET /DevDetail/FwV

  1. LwM2M protocol (Light Weight Machine To Machine), a more recent standard suitable for low throughput networks (for exemple LTE CAT-M, specific for IoT devices). LwM2M协议(轻量级机器到机器),一种适用于低吞吐量网络的更新标准(例如 LTE CAT-M,专用于物联网设备)。

    In this light protocol, data is exchanged through CoAP over UDP (or its secure dual CoAPs , based on DTLS).在这种轻量级协议中,数据通过 UDP 上的CoAP (或其安全双CoAP ,基于 DTLS)进行交换。 Each information is reachable with an URI made up by (up to) four UINT16 :每个信息都可以通过由(最多)四个UINT16组成的 URI 访问:

     <Obj ID>[/<Obj Instance>[/<Resource ID>[/<ResourceInstance>]]]

    For example in specification document LwM2M Specification 1.1 is described Device Object (Obj ID 3):例如,在规范文档LwM2M 规范 1.1中描述了设备对象(对象 ID 3):

     /3/0/3 : FW version /3/0/18 : HW version /3/0/19 : SW version

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM