Mozilla Location Service
   HOME

TheInfoList



OR:

Mozilla Location Service (MLS) is an
open Open or OPEN may refer to: Music * Open (band), Australian pop/rock band * The Open (band), English indie rock band * ''Open'' (Blues Image album), 1969 * ''Open'' (Gotthard album), 1999 * ''Open'' (Cowboy Junkies album), 2001 * ''Open'' (YF ...
geolocation Geopositioning, also known as geotracking, geolocalization, geolocating, geolocation, or geoposition fixing, is the process of determining or estimating the geographic position of an object. Geopositioning yields a set of Geographic coordinate s ...
service which allows devices to find their position by processing their received signals of publicly observable
radio transmitters In electronics and telecommunications, a radio transmitter or just transmitter is an electronic device which produces radio waves with an antenna. The transmitter itself generates a radio frequency alternating current, which is applied to the ...
: cellular network antennae (and their
Cell ID A GSM Cell ID (CID) is a generally unique number used to identify each base transceiver station (BTS) or sector of a BTS within a location area code (LAC) if not within a GSM network. In some cases the first or last digit of CID represents cells ...
s),
Wi-Fi Wi-Fi () is a family of wireless network protocols, based on the IEEE 802.11 family of standards, which are commonly used for local area networking of devices and Internet access, allowing nearby digital devices to exchange data by radio wave ...
access points (and their
BSSID In IEEE 802.11 wireless local area networking standards (including Wi-Fi), a service set is a group of wireless network devices which share a ''service set identifier'' (''SSID'')—typically the natural language label that users see as a network ...
s), and Bluetooth beacons. The service is provided by
Mozilla Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape. The Mozilla community uses, develops, spreads and supports Mozilla products, thereby promoting exclusively free software and open standards, wi ...
since 2013. The service uses Mozilla's
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
software project called
Ichnaea __NOTOC__ In Greek mythology, Ichnaea (Ikhnaia) ( el, Ιχναίη), "the tracker" was an epithet that could be applied to Themis, as in the '' Homeric Hymn to Delian Apollo'', or to Nemesis, who was venerated at Ichnae, a Greek city in Macedon. ...
. In February 2019 MLS had collected more than 44.43 million unique cell networks and 1450 million unique WiFi networks (April 2018: 37.7 million UCN and 1145 million UWN, November 2016: 28 million UCN and 757 million UWN, November 2015: 17 million UCN and 427 million UWN).


Data collection and processing

The
mobile app A mobile application or app is a computer program or software application designed to run on a mobile device such as a phone, tablet, or watch. Mobile applications often stand in contrast to desktop applications which are designed to run on d ...
''Mozilla Stumbler'' for Android could be used to contribute signals of cellular networks and Wi-Fi access points at the device's GPS position. It was available in the
Google Play store Google Play, also known as the Google Play Store and formerly the Android Market, is a digital distribution service operated and developed by Google. It serves as the official app store for certified devices running on the Android operating sys ...
and
F-Droid F-Droid is an app store and software repository for Android, serving a similar function to the Google Play store. The main repository, hosted by the project, contains only free and open source apps. Applications can be browsed, downloaded and ...
from November 2014 to February 2021 at which point it was officially retired. It was noted that contributions from Firefox for Android users "completely overwhelm dthe contributions made by the dedicated Stumbler app." Other apps, such as ''Tower Collector'', are also available for the same purpose, although these are limited to collecting cell information. There are currently no working software capable of contributing Wi-Fi or Bluetooth information. Firefox for Android had the option to contribute to the service in a similar manner to Stumbler up until Firefox version 68, after which Mozilla performed a major rewrite of the browser, and the option to contribute to MLS was not re-added. Mozilla does not collect the SSID name (e.g. "Simpson-family-wifi") from WiFi networks, but does collects the
BSSID In IEEE 802.11 wireless local area networking standards (including Wi-Fi), a service set is a group of wireless network devices which share a ''service set identifier'' (''SSID'')—typically the natural language label that users see as a network ...
(which is often the
MAC address A media access control address (MAC address) is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment. This use is common in most IEEE 802 networking techno ...
of the WiFi device). The service is
opt-out The term opt-out refers to several methods by which individuals can avoid receiving unsolicited product or service information. This option is usually associated with direct marketing campaigns such as e-mail marketing or direct mail. A list of thos ...
, meaning it will be enabled on client applications without the user's consent unless disabled. Mozilla's client applications do not collect information about WiFi access points whose SSID is hidden or ends with the string "_nomap" (e.g. "Simpson-family-wifi_nomap"). When the service is used to request the geolocation of a device by sending it information about nearby radio transmitters, it not only responds with a location estimate, but also uses the data to update its own database. For example, if a device requests its location by sending the service information about 7 nearby Wi-Fi networks, but MLS only knows about 5 of them, the information about the 2 previously undiscovered Wi-Fi networks will be added as a data point at the device's estimated location. These requests are also used to verify that the 5 reported Wi-Fi networks still exist, and that their characteristics, such as their location, orientation, or other factors that might alter the signal, are unchanged. If they are changed, for example, by someone moving their Wi-Fi router to another room, then the device gets the ''Blocked'' status, which means that it isn't taken into account for location queries for 48 hours. If the device then remains stable at its new position, it is considered usable again. If it were to keep moving, it will be considered a moving emitter, and will not be taken into account for location queries. This is used to filter out, for example, Wi-Fi access points on buses and trains, and
mobile hotspots Mobile may refer to: Places * Mobile, Alabama, a U.S. port city * Mobile County, Alabama * Mobile, Arizona, a small town near Phoenix, U.S. * Mobile, Newfoundland and Labrador Arts, entertainment, and media Music Groups and labels * Mobile ( ...
created by phones and laptops. The service does not try to calculate and store the location of the radio transmitters themselves. Instead, it calculates and stores the areas in which their signal can be received. This area is internally represented as a
circle A circle is a shape consisting of all points in a plane that are at a given distance from a given point, the centre. Equivalently, it is the curve traced out by a point that moves in a plane so that its distance from a given point is const ...
whose center is the
weighted average The weighted arithmetic mean is similar to an ordinary arithmetic mean (the most common type of average), except that instead of each of the data points contributing equally to the final average, some data points contribute more than others. The ...
of the location of all the measurements in which the signal was received. Measurements which are deemed to have a higher accuracy, higher signal strength and better
signal-to-noise ratio Signal-to-noise ratio (SNR or S/N) is a measure used in science and engineering that compares the level of a desired signal to the level of background noise. SNR is defined as the ratio of signal power to the noise power, often expressed in deci ...
are given a higher weight. The circle's size is set to be large enough to encompass a
bounding box In geometry, the minimum or smallest bounding or enclosing box for a point set in dimensions is the box with the smallest measure (area, volume, or hypervolume in higher dimensions) within which all the points lie. When other kinds of measure a ...
of all measurements. Mozilla publishes aggregated data set of cell locations (MLS Cell Network Export Data) under a
public domain The public domain (PD) consists of all the creative work A creative work is a manifestation of creative effort including fine artwork (sculpture, paintings, drawing, sketching, performance art), dance, writing (literature), filmmaking, ...
license (
CC-0 A Creative Commons (CC) license is one of several public copyright licenses that enable the free distribution of an otherwise copyrighted "work".A "work" is any creative material made by a person. A painting, a graphic, a book, a song/lyrics ...
).https://wiki.mozilla.org/CloudServices/Location/FAQ
/ref> Unlike the cell database, the raw WiFi database is not made public because the underlying data contains
personally identifiable information Personal data, also known as personal information or personally identifiable information (PII), is any information related to an identifiable person. The abbreviation PII is widely accepted in the United States, but the phrase it abbreviates ha ...
from both the users uploading data and from the owners of Wi-Fi devices. However, Mozilla shares this proprietary data with its corporate partner Combain AB.


Usage

The service is used by default as a geolocation provider fallback in the Beta and Nightly versions of
Mozilla Firefox Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements current and a ...
for
desktop computers A desktop computer (often abbreviated desktop) is a personal computer designed for regular use at a single location on or near a desk due to its size and power requirements. The most common configuration has a case that houses the power supply ...
and
laptops A laptop, laptop computer, or notebook computer is a small, portable personal computer (PC) with a screen and alphanumeric keyboard. Laptops typically have a clam shell form factor with the screen mounted on the inside of the upper li ...
, used when Firefox fails to acquire geolocation data from the
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs. Time-sharing operating systems schedule tasks for efficient use of the system and may also in ...
. Some versions of Firefox distributed by third-parties — especially
Linux distributions A Linux distribution (often abbreviated as distro) is an operating system made from a software collection that includes the Linux kernel and, often, a package management system. Linux users usually obtain their operating system by downloading one ...
— also use MLS. By default, the first-party, stable Firefox releases from Mozilla use a similar alternative service operated by
Google Google LLC () is an American multinational technology company focusing on search engine technology, online advertising, cloud computing, computer software, quantum computing, e-commerce, artificial intelligence, and consumer electronics. ...
. Firefox users have the option to change this setting to force the browser to use MLS instead, by visiting the ''about:config'' page and changing the value of ''geo.provider.network.url'' to https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%. This location data is exposed to websites using the
HTML5 HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It is the fifth and final major HTML version that is a World Wide Web Consortium (W3C) recommendation. The current specification is known as the HTML ...
Geolocation API The W3C Geolocation API is an effort by the World Wide Web Consortium (W3C) to standardize an interface to retrieve the geographical location information for a client-side device. It defines a set of objects, ECMAScript standard compliant, that e ...
after the user has granted the website permission to access their location. It is also the primary location source in the GeoClue library for non-
GPS The Global Positioning System (GPS), originally Navstar GPS, is a Radionavigation-satellite service, satellite-based radionavigation system owned by the United States government and operated by the United States Space Force. It is one of t ...
enabled devices, which is used in the
GNOME A gnome is a mythological creature and diminutive spirit in Renaissance magic and alchemy, first introduced by Paracelsus in the 16th century and later adopted by more recent authors including those of modern fantasy literature. Its characte ...
and
KDE KDE is an international Free software movement, free software community that develops free and open-source software. As a central development hub, it provides tools and resources that allow collaborative work on this kind of software. Well-know ...
environment in location-dependent applications such as the ones providing weather and maps. The service is free to use, but an
API key An application programming interface (API) key is a unique identifier used to authenticate a user, developer, or calling program to an API. However, they are typically used to authenticate a ''project'' with the API rather than a human user. Differ ...
is required for requesting geolocation data. Keys are given out on an individual basis. In order to receive a key, one must fill out a request form. Mozilla does not, as of 2022-11-13, provide keys to commercial or personal projects. Keys are only offered if the person requesting it provides a link to their
software repository A software repository, or repo for short, is a storage location for software packages. Often a table of contents is also stored, along with metadata. A software repository is typically managed by source control or repository managers. Package ...
which must be licensed under an
open source license An open-source license is a type of license for computer software and other products that allows the source code, blueprint or design to be used, modified and/or shared under defined terms and conditions. This allows end users and commercial compan ...
. However, it is possible to anonymously ''submit'' collected data to the service without the need for an API key.


See also

* Wi-Fi positioning system


References


External links


Mozilla Wiki EntryMozilla Location Service
{{Mozilla} Internet geolocation Wireless locating Crowdsourcing Location Service 2013 introductions