Closed alevinru closed 11 years ago
а есть лог того, какие данные приходят?
да, обычные данные, например:
<?xml version="1.0" encoding="utf-8"?>
<post xmlns="https://github.com/sys-team/ASA.chest">
<d name="STGTBatteryStatus" xid="9579D39A-C9F1-473C-8136-B8CADDAC7D45">
<date name="cts">2013-04-10 13:50:26 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<double name="batteryLevel">0.9</double>
<string name="batteryState">Unplugged</string>
</d>
<d name="STGTLocation" xid="049900C6-E1CE-4C71-9BBA-475D43403615">
<date name="cts">2013-04-10 13:57:57 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<double name="altitude">135.3968658447266</double>
<double name="course">40.12499924054946</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.80637273960882</double>
<double name="longitude">37.6673669776721</double>
<double name="speed">3.79192558660526</double>
<double name="verticalAccuracy">14.19690808002003</double>
<d name="STGTTrack" xid="491B809F-E40C-4466-841B-3F9FE76350D6"/>
</d>
<d name="STGTBatteryStatus" xid="4C7ED70E-DCEB-4D2D-B98F-E90B5049962A">
<date name="cts">2013-04-10 14:32:06 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<double name="batteryLevel">0.95</double>
<string name="batteryState">Unplugged</string>
</d>
<d name="STGTLocation" xid="43F31118-33CA-478E-855B-690D18399ED4">
<date name="cts">2013-04-10 16:00:05 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<double name="altitude">143.6190490722656</double>
<double name="course">101.1573653609711</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.81773257451501</double>
<double name="longitude">37.70918080908038</double>
<double name="speed">6.030256857564971</double>
<double name="verticalAccuracy">12.44699666054176</double>
<d name="STGTTrack" xid="26A1230B-FE9D-48EC-9882-F0CF1160E95D"/>
</d>
<d name="STGTLocation" xid="E93BC9DF-8D25-4CE9-B7CB-21F61ABB13A4">
<date name="cts">2013-04-10 16:10:42 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<double name="altitude">153.7414398193359</double>
<double name="course">137.7697525332411</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.82129052720586</double>
<double name="longitude">37.76288388526683</double>
<double name="speed">4.775046104508434</double>
<double name="verticalAccuracy">10.9240864488533</double>
<d name="STGTTrack" xid="26A1230B-FE9D-48EC-9882-F0CF1160E95D"/>
</d>
<d name="STGTLocation" xid="9F9A5332-39E7-48F6-BA5A-ACF596B95DA9">
<date name="cts">2013-04-10 16:30:28 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<double name="altitude">153.9987487792969</double>
<double name="course">355.3033176261065</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.81753549868344</double>
<double name="longitude">37.7981635224364</double>
<double name="speed">1.405423937094154</double>
<double name="verticalAccuracy">11.7861873494503</double>
<d name="STGTTrack" xid="26A1230B-FE9D-48EC-9882-F0CF1160E95D"/>
</d>
<d name="STGTLocation" xid="451B6F04-BFFF-4CA9-8E17-3C3E36384132">
<date name="cts">2013-04-10 16:41:12 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<double name="altitude">151.6079559326172</double>
<double name="course">313.3846931740397</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.86633705105954</double>
<double name="longitude">37.75721681707574</double>
<double name="speed">36.37038640433034</double>
<double name="verticalAccuracy">16.91374134979571</double>
<d name="STGTTrack" xid="26A1230B-FE9D-48EC-9882-F0CF1160E95D"/>
</d>
<d name="STGTLocation" xid="856276AE-68E0-43CC-9A55-EBA12CFF00D8">
<date name="cts">2013-04-10 16:50:29 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<double name="altitude">179.3370666503906</double>
<double name="course">315.0378558296687</double>
<double name="horizontalAccuracy">5</double>
<double name="latitude">55.91297048151484</double>
<double name="longitude">37.57393749306063</double>
<double name="speed">1.570275350061189</double>
<double name="verticalAccuracy">9.5</double>
<d name="STGTTrack" xid="26A1230B-FE9D-48EC-9882-F0CF1160E95D"/>
</d>
<d name="STGTTrack" xid="395A4ACF-0C68-40B6-84DC-EDDF93E94F8A">
<date name="cts">2013-04-10 13:29:24 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:30:33 +0000</date>
<date name="finishTime">2013-04-10 13:30:33 +0000</date>
<double name="overallDistance">75.96786870270898</double>
<date name="startTime">2013-04-10 13:29:24 +0000</date>
</d>
<d name="STGTLocation" xid="009E80FF-071E-4E95-9609-A58A89C16818">
<date name="cts">2013-04-10 13:29:24 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:29:24 +0000</date>
<double name="altitude">160.2739105224609</double>
<double name="course">207.7638480831345</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.79399038019985</double>
<double name="longitude">37.59214631151487</double>
<double name="speed">0.5567246315299481</double>
<double name="verticalAccuracy">19</double>
<d name="STGTTrack" xid="395A4ACF-0C68-40B6-84DC-EDDF93E94F8A"/>
</d>
<d name="STGTLocation" xid="92D7ADFE-2CDD-4662-9D99-EEA12C2265CE">
<date name="cts">2013-04-10 13:29:56 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:29:56 +0000</date>
<double name="altitude">170.1855773925781</double>
<double name="course">238.2506344826756</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.79370447266481</double>
<double name="longitude">37.5918610035836</double>
<double name="speed">0.172310695675678</double>
<double name="verticalAccuracy">19</double>
<d name="STGTTrack" xid="395A4ACF-0C68-40B6-84DC-EDDF93E94F8A"/>
</d>
<d name="STGTLocation" xid="FEC19F70-F609-4C27-88E6-FAD96E1B4FD4">
<date name="cts">2013-04-10 13:30:33 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:30:33 +0000</date>
<double name="altitude">176.8497619628906</double>
<double name="course">287.7783117402408</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.7936546340249</double>
<double name="longitude">37.59123831933049</double>
<double name="speed">0.3894357916178485</double>
<double name="verticalAccuracy">19</double>
<d name="STGTTrack" xid="395A4ACF-0C68-40B6-84DC-EDDF93E94F8A"/>
</d>
<d name="STGTSettings" xid="84751EC7-A0F6-49C3-BB85-74F0FBD96304">
<date name="cts">2013-03-22 06:27:06 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:50:42 +0000</date>
<double name="checkingBattery">1</double>
<double name="desiredAccuracy">10</double>
<double name="distanceFilter">35</double>
<double name="fetchLimit">20</double>
<double name="localAccessToSettings">1</double>
<double name="mapHeading">0</double>
<double name="mapType">0</double>
<double name="requiredAccuracy">20</double>
<double name="syncInterval">240</double>
<string name="syncServerURI">https://system.unact.ru/asa/?_host=asa0&_svc=chest</string>
<double name="timeFilter">25</double>
<double name="trackDetectionTime">300</double>
<double name="trackScale">1.5</double>
<double name="trackerAutoStart">1</double>
<double name="trackerFinishTime">21</double>
<double name="trackerStartTime">7</double>
<string name="xmlNamespace">https://github.com/sys-team/ASA.chest</string>
</d>
<d name="STGTTrack" xid="491B809F-E40C-4466-841B-3F9FE76350D6">
<date name="cts">2013-04-10 13:50:42 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 14:01:53 +0000</date>
<date name="finishTime">2013-04-10 14:01:53 +0000</date>
<double name="overallDistance">7465.646050037287</double>
<date name="startTime">2013-04-10 13:50:42 +0000</date>
</d>
<d name="STGTLocation" xid="9F75E689-B4CD-4E06-99BA-BCBB53290BD1">
<date name="cts">2013-04-10 13:50:42 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:50:43 +0000</date>
<double name="altitude">175.668701171875</double>
<double name="course">-1</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.79213335357868</double>
<double name="longitude">37.59584221334549</double>
<double name="speed">3.005975734956507</double>
<double name="verticalAccuracy">17.65054590597704</double>
<d name="STGTTrack" xid="491B809F-E40C-4466-841B-3F9FE76350D6"/>
</d>
<d name="STGTBatteryStatus" xid="935B9FB8-B968-420F-87CF-571E73A3056E">
<date name="cts">2013-04-10 13:50:42 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:50:58 +0000</date>
<double name="batteryLevel">0.95</double>
<string name="batteryState">Unplugged</string>
</d>
<d name="STGTLocation" xid="3DAE6E8D-2AE3-4389-A892-1108877AD2EE">
<date name="cts">2013-04-10 13:51:10 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:51:10 +0000</date>
<double name="altitude">152.7171630859375</double>
<double name="course">81.06784857457019</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.7923143480934</double>
<double name="longitude">37.59894348662609</double>
<double name="speed">7.528137193466501</double>
<double name="verticalAccuracy">10.03262080696311</double>
<d name="STGTTrack" xid="491B809F-E40C-4466-841B-3F9FE76350D6"/>
</d>
<d name="STGTBatteryStatus" xid="BD20669A-5E6F-43C3-B1DD-A7330FA685EC">
<date name="cts">2013-04-10 13:51:17 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:51:20 +0000</date>
<double name="batteryLevel">0.95</double>
<string name="batteryState">Charging</string>
</d>
<d name="STGTLocation" xid="A781F800-9412-418B-A861-96974AD519E5">
<date name="cts">2013-04-10 13:51:39 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:51:39 +0000</date>
<double name="altitude">159.3187713623047</double>
<double name="course">85.45866185903321</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.79251219518156</double>
<double name="longitude">37.6019310041267</double>
<double name="speed">7.194379486182054</double>
<double name="verticalAccuracy">11.39631477147792</double>
<d name="STGTTrack" xid="491B809F-E40C-4466-841B-3F9FE76350D6"/>
</d>
<d name="STGTLocation" xid="EDD61158-5EF5-42FD-9C16-4B0A59C84D12">
<date name="cts">2013-04-10 13:52:06 +0000</date>
<date name="sts">2013-04-10 17:04:07 +0000</date>
<date name="ts">2013-04-10 13:52:07 +0000</date>
<double name="altitude">167.4957885742188</double>
<double name="course">85.67129471940079</double>
<double name="horizontalAccuracy">10</double>
<double name="latitude">55.79269363231118</double>
<double name="longitude">37.60571937851865</double>
<double name="speed">13.69029573739139</double>
<double name="verticalAccuracy">14.19547309936393</double>
<d name="STGTTrack" xid="491B809F-E40C-4466-841B-3F9FE76350D6"/>
</d>
</post>
хм… интересно, почему у некоторых объектов разница между временем последнего изменения и временем, когда они были отправлены на сервер составляет более трёх часов
потому что поздно уже!
что поздно?
Человек данные собрал давно уже, и наверное спит, а айфон его продолжает долбиться на сервер без токена каждые несколько минут. Я взял этот кусок из свежей части лога. Там запросов именн с этими даными 88шт с 2013-04-10 15:46:03.465
странно
Это была моя ошибка в прокси
получают в ответ
наверное, это синкер от сдохшей сессии или еще что-то в этом роде