IoT device positioning service: GPS, mobile base station, WiFi
ポータル:動画プレゼンテーション 5 本、シーン事例 30 件
Alibaba Cloud IoT エンタープライズ IoT プラットフォームは、GPS、携帯電話基地局、Wi-Fi ホットスポットなどの情報に基づくデバイス位置測位の補助サービスを提供します。メーカーはデバイスの実際の状況に応じて、異なる測位方式を選択できます。
GPS 測位方式
リファレンスドキュメント https://help.aliyun.com/document_detail/108675.html
GPS 測位を使用するデバイスの時間オブジェクトモデル - 地理的位置属性の説明
デバイス側のデータレポート例
Topic:
/sys/{productKey}/{deviceName}/thing/event/property/post
Payload:
{
"id":"123",
"version":"1.0",
"params":{
"GeoLocation":{
"value":{
"Longitude":115.2334,
"Latitude":39.4563,
"Altitude":235,
"CoordinateSystem":2
}
}
},
"method":"thing.event.property.post"
}
Wi-Fi ホットスポット測位方式
物理モデル - イベント記述
Wi-Fi を使用したデバイス位置通信の例:
Topic:
/sys/{productKey}/{deviceName}/thing/event/LocationInfo/post
Payload:
{
"id":"123",
"version":"1.0",
"params":{
"mmac":"4c:48:da:26:ea:d9,-56,iot",
"macs":"4c:48:da:26:ea:d8,-56,iot|e6:a4:71:6e:45:83,-58,iot-LV4mshO"
},
"method":"thing.event.LocationInfo.post"
}
携帯電話基地局測位方式
物理モデル - イベント記述
非 CDMA 基地局の場合、デバイスのデータレポート例:
Topic:
/sys/{productKey}/{deviceName}/thing/event/LocationInfo/post
Payload:
{
"id":"123",
"version":"1.0",
"params":{
"imei":"352315052834187",
"smac":"E0:DB:55:E4:C7:49",
"cdma":"0",
"bts":"460,01,40977,2205409,-65",
"nearbts":"460,01,40977,2205409,-65|460,01,40 977,2205409,-65|460,01,40977,2205409,-65"
},
"method":"thing.event.LocationInfo.post"
}
CDMA 基地局の場合、デバイスのデータレポート例:
Topic:
/sys/{productKey}/{deviceName}/thing/event/LocationInfo/post
Payload:
{
"id":"123",
"version":"1.0",
"params":{
"imei":"0000",
"smac":"E0:DB:55:E4:C7:49",
"cdma":"1",
"bts":"13824,1,1838,1674723,575739,-52"
},
"method":"thing.event.LocationInfo.post"
}
クラウド業務システムのデバイス位置情報取得 API
業務システムが QueryDevicePropertyData を呼び出して IoT デバイスの位置情報をクエリする
業務システムは QueryDevicePropertyData API を通じて、特定デバイスの位置情報をクエリします
CommonRequest request = new CommonRequest();
1:request.setSysMethod(MethodType.POST);
2:request.setSysDomain("iot.cn-shanghai.aliyuncs.com");
3:request.setSysVersion("2018-01-20");
4:request.setSysAction("QueryDevicePropertyData");
5:request. putQueryParameter("RegionId", "cn-shanghai");
6:request. putQueryParameter("StartTime", "1618330349204");
7:request. putQueryParameter("Identifier", "GeoLocation");
8:request. putQueryParameter("Asc", "0");
9:request. putQueryParameter("EndTime", "1629330349204");
10:request. putQueryParameter("PageSize", "10");
11:request. putQueryParameter("IotInstanceId", "iot-068a03kg");
12:request. putQueryParameter("ProductKey", "g7palBDnzmT");
13:request. putQueryParameter("DeviceName", "dk003");
CommonResponse response = client.getCommonResponse(request);
戻り値:
{
"RequestId": "C56790F8-AC96-492C-BA86-D7F57F090795",
"Data": {
"NextValid": false,
"NextTime": 1619330564810,
"List": {
"PropertyInfo": [
{
"Value": "
"Time": 1619330564811
}
]
}
},
"Code": "",
"Success": true
}
デバイス地理情報リリース marke.
Alibaba Cloud IoT エンタープライズ IoT プラットフォームは、GPS、携帯電話基地局、Wi-Fi ホットスポットなどの情報に基づくデバイス位置測位の補助サービスを提供します。メーカーはデバイスの実際の状況に応じて、異なる測位方式を選択できます。
GPS 測位方式
リファレンスドキュメント https://help.aliyun.com/document_detail/108675.html
GPS 測位を使用するデバイスの時間オブジェクトモデル - 地理的位置属性の説明
デバイス側のデータレポート例
Topic:
/sys/{productKey}/{deviceName}/thing/event/property/post
Payload:
{
"id":"123",
"version":"1.0",
"params":{
"GeoLocation":{
"value":{
"Longitude":115.2334,
"Latitude":39.4563,
"Altitude":235,
"CoordinateSystem":2
}
}
},
"method":"thing.event.property.post"
}
Wi-Fi ホットスポット測位方式
物理モデル - イベント記述
Wi-Fi を使用したデバイス位置通信の例:
Topic:
/sys/{productKey}/{deviceName}/thing/event/LocationInfo/post
Payload:
{
"id":"123",
"version":"1.0",
"params":{
"mmac":"4c:48:da:26:ea:d9,-56,iot",
"macs":"4c:48:da:26:ea:d8,-56,iot|e6:a4:71:6e:45:83,-58,iot-LV4mshO"
},
"method":"thing.event.LocationInfo.post"
}
携帯電話基地局測位方式
物理モデル - イベント記述
非 CDMA 基地局の場合、デバイスのデータレポート例:
Topic:
/sys/{productKey}/{deviceName}/thing/event/LocationInfo/post
Payload:
{
"id":"123",
"version":"1.0",
"params":{
"imei":"352315052834187",
"smac":"E0:DB:55:E4:C7:49",
"cdma":"0",
"bts":"460,01,40977,2205409,-65",
"nearbts":"460,01,40977,2205409,-65|460,01,40 977,2205409,-65|460,01,40977,2205409,-65"
},
"method":"thing.event.LocationInfo.post"
}
CDMA 基地局の場合、デバイスのデータレポート例:
Topic:
/sys/{productKey}/{deviceName}/thing/event/LocationInfo/post
Payload:
{
"id":"123",
"version":"1.0",
"params":{
"imei":"0000",
"smac":"E0:DB:55:E4:C7:49",
"cdma":"1",
"bts":"13824,1,1838,1674723,575739,-52"
},
"method":"thing.event.LocationInfo.post"
}
クラウド業務システムのデバイス位置情報取得 API
業務システムが QueryDevicePropertyData を呼び出して IoT デバイスの位置情報をクエリする
業務システムは QueryDevicePropertyData API を通じて、特定デバイスの位置情報をクエリします
CommonRequest request = new CommonRequest();
1:request.setSysMethod(MethodType.POST);
2:request.setSysDomain("iot.cn-shanghai.aliyuncs.com");
3:request.setSysVersion("2018-01-20");
4:request.setSysAction("QueryDevicePropertyData");
5:request. putQueryParameter("RegionId", "cn-shanghai");
6:request. putQueryParameter("StartTime", "1618330349204");
7:request. putQueryParameter("Identifier", "GeoLocation");
8:request. putQueryParameter("Asc", "0");
9:request. putQueryParameter("EndTime", "1629330349204");
10:request. putQueryParameter("PageSize", "10");
11:request. putQueryParameter("IotInstanceId", "iot-068a03kg");
12:request. putQueryParameter("ProductKey", "g7palBDnzmT");
13:request. putQueryParameter("DeviceName", "dk003");
CommonResponse response = client.getCommonResponse(request);
戻り値:
{
"RequestId": "C56790F8-AC96-492C-BA86-D7F57F090795",
"Data": {
"NextValid": false,
"NextTime": 1619330564810,
"List": {
"PropertyInfo": [
{
"Value": "
"Time": 1619330564811
}
]
}
},
"Code": "",
"Success": true
}
デバイス地理情報リリース marke.
Related Articles
-
A detailed explanation of Hadoop core architecture HDFS
Knowledge Base Team
-
What Does IOT Mean
Knowledge Base Team
-
6 Optional Technologies for Data Storage
Knowledge Base Team
-
What Is Blockchain Technology
Knowledge Base Team
Explore More Special Offers
-
Short Message Service(SMS) & Mail Service
50,000 email package starts as low as USD 1.99, 120 short messages start at only USD 1.00
