1-1
1-2
1-3
1-4
1-5
Team: Services Engineering TE (Toby Elliott)
Cost Center: 3210 - Services and Engineering Operations
> 15 KB
2-1
Upload
> 15 KB
2-2
Upload
> 15 KB
2-3
Upload
> 15 KB
2-4
Upload
> 15 KB
3-1
Upload
3-2
3-3
Is there finished stumble?
Is the new location valid?
No
Yes
Exit
Try to upload finished stumble
Collect data
3-4
Yes
No
3-5
3-6
Cell-Tower scan result callback
WiFi AP scan result callback
Prepare the string. (Location Info/Cell Network/WiFi AP)
Trigger a runnable to write stumble
3-7
> 15 KB
4-1
Upload
Is there finished stumble?
Does finished stumble ready to upload?
Yes
No
Exit
Write stumble
Upload stumble
4-2
No
Yes
4-3
4-4
> 15 KB
4-5
Upload
> 15 KB
4-6
Upload
> 15 KB
4-7
Upload
> 15 KB
5-1
Upload
Is request successful?
Yes
Delete the finished stumble.
Do a XMLHttpRequest for uploading.
5-2
No
Keep the finished stumble. Retry to upload it next time.
Wait for the result
https://location.services.mozilla.com/v2/geosubmit?key=<API_KEY>
5-3
> 15 KB
5-4
Upload
6-1
{"items":[
]}
location Information
cell-tower Information
WiFi AP Information
},
{
{
},
{
},
location information
cell-tower information
WiFi AP information
7-1
A better event to trigger the upload. Ideally we would preferentially upload when connected to WiFi.
Currently we trigger the upload by a new location
Maximum upload currently: 15 KB per day.
Maximum attempt of upload is 20 times a day.
Show the contribution of stumbling to users
7-2
Stumbler on B2G: alchen@mozilla.com
MLS server: hschlichting@mozilla.com
number | size |
---|---|
1 item (3 cellTowers, 63 WiFi AP) | 609 bytes |
20 - 30 | 15 KB |
8-2
8-3