DETECTING GEO-FENCE EVENTS USING VARYING CONFIDENCE LEVELS

Information

  • Patent Application
  • 20140370910
  • Publication Number
    20140370910
  • Date Filed
    June 14, 2013
    11 years ago
  • Date Published
    December 18, 2014
    9 years ago
Abstract
The location of a computing device is determined, and the location of an area of interest that is a geographic area referred to as a geo-fence is identified. The accuracy of the determined location of the computing device has an associated uncertainty, so the exact position of the computing device cannot typically be pinpointed. In light of this, the uncertainty associated with the determined location is evaluated relative to the size of the geo-fence in order to determine whether the computing device is inside the geo-fence or outside the geo-fence. Based on this determination, various actions can be taken if the user is entering the geo-fence, exiting the geo-fence, remaining in the geo-fence for at least a threshold amount of time, and so forth.
Description
BACKGROUND

As computing technology has advanced, increasingly powerful mobile devices have become available. For example, smart phones have become commonplace. The mobility of such devices has resulted in different types of functionality being developed, such as location-based functionality in which certain actions are taken by the device based on the location of the device. While this functionality has many benefits, it is not without its problems. One such problem is that it remains difficult to determine an exact location of a device. This can lead to situations in which particular actions that should be taken based on the location of the device are not taken, and/or situations in which particular actions should not be taken based on the location of the device are actually taken, leading to user frustration and a poor user experience when using the device.


SUMMARY

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.


In accordance with one or more aspects, a size of a geo-fence (e.g., an area of interest) is identified. A size of a position uncertainty area for a location determination module is also identified, the position uncertainty area being based on an estimated accuracy error of a location for a computing device provided by the location determination module. The occurrence of one or more geo-fence events for the geo-fence (e.g., entering the geo-fence, exiting the geo-fence, staying in the geo-fence for a particular amount of time, etc.) is determined based on a confidence level that varies based at least in part on both the size of the geo-fence and the size of the position uncertainty area.


In accordance with one or more aspects, a computing device includes a data store, one or more location determination modules, and a geo-fence event detection module. The data store is configured to store geo-fence data for multiple geo-fences, the geo-fence data for each geo-fence identifying an area of the geo-fence. The one or more location determination modules are each configured to provide a location of the computing device, the location of the computing device having an associated position uncertainty area. The geo-fence event detection module detects the occurrence of one or more geo-fence events for at least one of the multiple geo-fences based on a confidence level that varies based at least in part on a size of at least one of the multiple geo-fences and on the size of the position uncertainty area.





BRIEF DESCRIPTION OF THE DRAWINGS

The same numbers are used throughout the drawings to reference like features.



FIG. 1 illustrates an example system in which the detecting geo-fence events using varying confidence levels discussed herein can be used.



FIG. 2 is a block diagram illustrating an example system implementing the detecting geo-fence events using varying confidence levels in accordance with one or more embodiments.



FIG. 3 illustrates an example user interface that can be displayed to a user to allow the user to select whether locations are to be determined in accordance with one or more embodiments.



FIG. 4 is a flowchart illustrating an example process for detecting geo-fence events using varying confidence levels in accordance with one or more embodiments.



FIG. 5 is a flowchart illustrating another example process for detecting geo-fence events using varying confidence levels in accordance with one or more embodiments.



FIGS. 6 and 7 illustrate examples of overlapping position uncertainty areas and geo-fences in accordance with one or more embodiments.



FIG. 8 illustrates an example table showing an example confidence that can be achieved given a geo-fence and different location determination modules in accordance with one or more embodiments.



FIG. 9 is a flowchart illustrating another example process for detecting geo-fence events using varying confidence levels in accordance with one or more embodiments.



FIG. 10 illustrates an example table that indicates the desired location accuracy for different geo-fence sizes in accordance with one or more embodiments.



FIG. 11 illustrates multiple overlapping geo-fences in accordance with one or more embodiments.



FIG. 12 illustrates an example system that includes an example computing device that is representative of one or more systems and/or devices that may implement the various techniques described herein.





DETAILED DESCRIPTION

Detecting geo-fence events using varying confidence levels is discussed herein. The location of a computing device is determined, and the location of an area of interest is identified. The area of interest is a geographic area that is also referred to as a geo-fence. The accuracy of the determined location of the computing device has an associated uncertainty, so the exact position of the computing device cannot typically be pinpointed. In light of this uncertainty, the uncertainty associated with the determined location is evaluated relative to the size of the geo-fence in order to determine whether the computing device is inside the geo-fence or outside the geo-fence. Based on this determination, various actions can be taken if the user is entering the geo-fence, exiting the geo-fence, remaining in the geo-fence for at least a threshold amount of time, and so forth.


The determination of whether the computing device is inside the geo-fence or outside the geo-fence is made by varying a confidence level based at least in part on the size of the geo-fence. The confidence level that is varied can take various forms, such as a threshold confidence value that is based on a proportion of the geo-fence area to the position uncertainty area, or how much error in accuracy of a location determination module is acceptable for the geo-fence area (and thus how much confidence there is in the determination of whether the computing device is inside or outside the geo-fence). By varying the confidence level, the determination of whether the computing device is inside or outside the geo-fence adapts to geo-fences of different sizes, allowing false alarms (situations where the computing device is incorrectly determined to be inside a geo-fence) to be reduced as well as allowing missed geo-fences (situations where the computing device is incorrectly determined to be outside a geo-fence) to be reduced.



FIG. 1 illustrates an example system 100 in which the detecting geo-fence events using varying confidence levels discussed herein can be used. The system 100 includes a computing device 102, which can be any of a variety of types of devices, although typically is a mobile device. For example, the computing device 102 can be a smart phone or other wireless phone, a laptop or netbook computer, a tablet or notepad computer, a wearable computer, a mobile station, an entertainment appliance, an audio and/or video playback device, a game console, an automotive computer, and so forth. The computing device 102 is typically referred to as being a mobile device because the device 102 is designed or intended to be moved to multiple different locations (e.g., taken by a user with him or her as the user goes to different locations).


The location of the computing device 102 can be determined using any of a variety of different techniques, such as wireless networking (e.g., Wi-Fi) triangulation, cellular positioning, Global Navigation Satellite System (GNSS) positioning, network address (e.g., Internet Protocol (IP) address) positioning, and so forth as discussed in more detail below. Different location determination techniques can have different accuracy errors or associated uncertainties. For example, a location determination technique may be accurate to 10 meters (m) or 10 kilometers (km). The exact position of the computing device 102 is thus not pinpointed, but is illustrated as an area 104 surrounding the computing device 102. The area 104 represents the uncertainty in the determined location or position of the computing device 102, so although the computing device is determined to be at a particular location or position (e.g., approximately the center of the area 104), the computing device 102 may actually be anywhere within the area 104.


The system 100 also illustrates multiple geo-fences 112, 114, 116, and 118. Each geo-fence 112-118 can be any of a variety of different places of interest to the computing device 102, to the user of the computing device 102, to a program running on the computing device 102, and so forth. For example, a geo-fence 112-118 can be the user's home, the user's workplace, restaurants or businesses that may be visited by the user, educational facilities, public services (e.g., hospitals or libraries), geographic places (e.g., cities or states), and so forth.


The location of geo-fences 112-118 is maintained in or otherwise accessible to the computing device 102. It should be noted that different users of the computing device 102 can optionally have different geo-fences maintained or accessed. The computing device 102 is mobile and can enter and exit geo-fences 112-118. At any given time, the computing device 102 can be within one of geo-fences 112-118, or within no geo-fence. If the computing device 102 is determined to be within the area that encompasses a particular geo-fence, then the computing device 102 is referred to as being inside or within that particular geo-fence. However, if the computing device 102 is determined to not be within the area that encompasses a particular geo-fence, then the computing device 102 is referred to as being outside or not within that particular geo-fence. Situations can also arise in which two or more geo-fences overlap, in which case the computing device 102 can be within two or more geo-fences 112-118 at one time. It should be noted that the illustration of FIG. 1 is not to scale, and that geo-fences 112-118 can be, and typically are, significantly larger in size than the computing device 102.


In the illustrated example, the area 104 does not intersect any of the geo-fences 112-118, and thus the computing device 102 is outside each of the geo-fences 112-118. However, if the area 104 were to at least partially overlap one of the geo-fences 112-118, then the computing device 102 is possibly inside the geo-fence that is overlapped. Whether the computing device 102 is determined to be inside the geo-fence or outside the geo-fence in such situations is determined based on varying confidence levels, as discussed in more detail below.



FIG. 2 is a block diagram illustrating an example system 200 implementing the detecting geo-fence events using varying confidence levels in accordance with one or more embodiments. The system 200 can be implemented by a single device such as the computing device 102 of FIG. 1, or alternatively multiple devices such as the computing device 102 and one or more server computers accessed via a network (e.g., a cellular or other wireless phone network, the Internet, etc.). The system 200 includes one or more location determination modules 202, a geo-fence determination module 204, a geo-fence event detection module 206, a geo-fence triggering module 208, and a data store 210.


The data store 210 maintains various data used by the techniques discussed herein. The data store 210 can be implemented using any of a variety of different storage devices, such as system memory (e.g., random access memory (RAM)), Flash memory or other solid state memory, magnetic disks, optical discs, and so forth. The data maintained in the data store 210 identifies multiple geo-fences, including geo-fence data for each of multiple geo-fences. Geo-fence data can be obtained from various sources, such as from a distributer or reseller of the data store 210 that stores the data on the data store 210, from a program running on a computing device implementing the system 200, from another device or service, and so forth. The geo-fence data for a geo-fence describes the boundary of the geo-fence (including an indication of the shape of the geo-fence), as well as the criteria to be satisfied in order for the geo-fence to be triggered.


The criteria to be satisfied can refer to a device entering the geo-fence, exiting the geo-fence, staying within the geo-fence for a particular amount of time (e.g., at least a threshold amount of time, no more than a threshold amount of time, etc.), a time period for the geo-fence (e.g., a start time and end time, a start time and a duration), combinations thereof, and so forth. One or more actions that are taken in response to the geo-fence being triggered (the criteria being satisfied) can also be included as part of the geo-fence data. Any of a variety of actions can be taken when a geo-fence is triggered, such as a particular program being notified, particular content being displayed or otherwise played back by the computing device, the geo-fence data being deleted from the data store 210, combinations thereof, and so forth. Multiple different actions can be taken based on the manner in which the geo-fence is triggered, such as one action taken in response to the device entering the geo-fence, and another action taken in response to the device exiting the geo-fence.


The boundary of the geo-fence can be specified in any of a variety of different manners. For example, the geo-fence can be specified as a position (e.g., latitude and longitude coordinates) and a radius, as a set of positions (e.g., latitude and longitude coordinates of corners of the geo-fence), as a series of vectors, and so forth. In the discussions herein, reference is made to the geo-fences being approximately circular in shape. However, it should be noted that the geo-fences can be any of a variety of regular geometric shapes (e.g., triangles, rectangles, octagons, and so forth), other geometric shapes (e.g., freeform shapes or blobs), and so forth.


The data store 210 is illustrated in FIG. 2 as being part of the system 200. It should be noted that the data maintained in the data store 210 can be obtained from the programs 230 (e.g., from the programs 230 as they are loaded in a computing device implementing the system 200). Alternatively, one or more of the programs 230 can include a data store that is used in addition to, or in place of, the data store 210.


The geo-fences can be used in a variety of different manners. For example, a geo-fence and action to be taken can be to alert a user of a computing device implementing at least part of the system 200 when they are approaching a bus stop, to give the user a coupon when they enter a shopping mall or store, to notify a parent when their child has left school or entered their home, to display weather information for a current location when the user travels to a different city, and so forth.


The location determination modules 202 include one or more modules that determine the location of the computing device 102. In the illustrated example, the location determination modules 202 include a Wi-Fi module 212, a GNSS module 214, a network address module 216, and a cellular module 218. It should be noted, however, that these modules 212-218 are examples and that the location determination modules 202 need not include each of the modules 212-218 and/or that the location determination modules 202 can include one or more additional modules that determine a location of the computing device 102 in different manners. For example, the location determination modules can include MEMS (Microelectromechanical systems), cameras, microphones, and so forth.


The Wi-Fi module 212 uses Wi-Fi signals, such as triangulation of Wi-Fi signals, to determine the location of the computing device 102. The Wi-Fi module 212 can receive signals from various wireless access points, including an identifier of a particular wireless access point and/or a particular wireless network from which a signal is received. For example, a wireless access point may send a media access control (MAC) address of the wireless access point, a basic service set identifier (BSSID) of a wireless network supported by the wireless access point, and so forth. The Wi-Fi module 212 can also measure a strength (e.g., received signal strength indicator (RSSI) values) of these received signals. It should be noted that the Wi-Fi module 212 can, at any given time for any given position of the computing device, receive signals from multiple wireless access points. The Wi-Fi module 212 can maintain or otherwise access a record of wireless access points, signal strengths, and corresponding locations to determine the location of the computing device at any particular time given the wireless access points from which signals are received and the strength of those signals at the particular given time. Alternatively, the Wi-Fi module 212 can provide an indication of the wireless access points from which signals are received and the strength of those signals at a particular given time to a remote service (e.g., accessed via any of a variety of different types of networks) that determines and returns to the Wi-Fi module 212 an indication of the location of the computing device at that particular given time.


The GNSS module 214 uses GNSS positioning to determine the location of the computing device 102, determining a location of the computing device based on a particular number of satellites (e.g., four or more satellites) from which the GNSS module 214 can receive signals or otherwise communicate. The GNSS module 214 can implement the GNSS functionality using a variety of different technologies, including but not limited to the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou (or Compass) navigation system, the Galileo positioning system, combinations thereof, and so forth. The GNSS module 214 operates in any of a variety of public and/or proprietary manners to determine, given the one or more satellites from which the GNSS module 214 can receive signals or otherwise communicate at any particular given time, the location of the computing device at that particular given time.


The network address module 216 uses network address positioning to determine the location of the computing device 102. The network address used can be any of a variety of network addresses, such as the IP address of the computing device. The network address module 216 can maintain or otherwise access a record of IP addresses or address ranges and corresponding locations to determine the location of the computing device at any particular time given the IP address assigned to the computing device at the particular given time. Alternatively, the network address module 216 can provide an indication of the IP address of the computing device at a particular given time to a remote service (e.g., accessed via any of a variety of different types of networks) that determines and returns to the network address module 216 an indication of the location of the computing device at that particular given time.


The cellular module 218 uses cellular positioning to determine the location of the computing device 102. The cellular module 218 can receive signals from various cell transceivers, including an identifier of a particular cell transceiver (e.g., a cell tower or transceiver identifier) from which a signal is received. The cellular module 218 can also measure a strength of these received signals. It should be noted that the cellular module 218 can, at any given time for any given position of the computing device, receive signals from multiple cell transceivers. The cellular module 218 can maintain or otherwise access a record of cell transceivers, signal strengths, and corresponding locations to determine the location of the computing device at any particular time given the cell transceivers from which signals are received and the strength of those signals at the particular given time. Alternatively, the cellular module 218 can provide an indication of the transceivers from which signals are received and the strength of those signals at a particular given time to a remote service (e.g., accessed via any of a variety of different types of networks) that determines and returns to the cellular module 218 an indication of the location of the computing device at that particular given time. Additionally or alternatively, the cellular module 218 can monitor state changes at low power and provide notifications (e.g., to the geo-fence event detection module 206), allowing movement detections at low power without requiring continuous polling.


The locations determined by the location determination modules 202 are typically latitude and longitude coordinates, although the location can alternatively be specified in other manners. Each of the location determination modules 202 has an associated uncertainty in the location that it determines, also referred to as an accuracy error or estimated accuracy error of the location. The amount of this uncertainty can be determined in various manners, such as being reported by the location determination module itself, being pre-configured in or otherwise accessible to other modules of the system 200 (e.g., the geo-fence event detection module 206), and so forth. The uncertainty results in a position uncertainty area for the location determined by a location determination module, the position uncertainty area being an area within which the computing device 102 may actually be for the determined location. In one or more embodiments, the position uncertainty area is an approximately circular area with the location determined by the location determination module being approximately the center of the circular area, and the radius of the approximately circular area being an error radius determined as the uncertainty for the location determination module. Alternatively, the position uncertainty area can be described using various other regular or other geometric shapes. Thus, a position uncertainty area for a location determination module can be a spatial error distribution function. An approximation of the spatial error distribution function can be a flat distribution over an area, although various other approximations or descriptions of the spatial error distribution function can alternatively be used.


The geo-fence determination module 204 determines one or more of the geo-fences identified in the data store 210 for which a determination is to be made as to whether the geo-fence is triggered. Data for numerous different geo-fences can be maintained in the data store 210, and one or more of those geo-fences is selected by the geo-fence determination module 204. The geo-fence determination module 204 can make this determination in a variety of different manners, such as based on a current distance between the geo-fences and the computing device, based on sizes of (areas encompassed by) the geo-fences, based on which geo-fence is most (or nearly most) stringent as discussed in more detail below, and so forth. The one or more geo-fences that are determined by the module 204 are those deemed more likely to be entered or exited based on various criteria, such as the current location of the computing device, and those one or more geo-fences can be the focus of the module 204 until the criteria changes. However, it should be noted that the geo-fence determination module 204 can determine whether a geo-fence is triggered for any of the geo-fences in the data store 210.


The geo-fence event detection module 206 obtains a current location of the computing device at regular or irregular intervals, and detects whether a geo-fence event occurs. These intervals can be selected dynamically based on current conditions (e.g., approximate distance to a closest geo-fence, power budget for the computing device, an estimated speed of movement of the computing device, and so forth). A geo-fence event refers to the device entering the geo-fence, exiting the geo-fence, or staying in the geo-fence for a particular amount of time (e.g., being in the geo-fence and not exiting the geo-fence). The geo-fence event detection module 206 evaluates the uncertainty associated with the determined location relative to the size of the geo-fence in order to determine whether the computing device is inside the geo-fence or outside the geo-fence. The geo-fence event detection module 206 also tracks whether the computing device is inside or outside the geo-fence over time, and thus knows whether the computing device has moved from inside the geo-fence to outside the geo-fence, whether the computing device has moved outside the geo-fence to inside the geo-fence, an amount of time that the computing device has been inside the geo-fence, and so forth.


The geo-fence triggering module 208 analyzes the criteria to be satisfied in order for the geo-fence to be triggered, and determines whether the criteria are satisfied. This determination is made at least in part on the occurrence of one or more geo-fence events as determined by the geo-fence event detection module 206. In response to the criteria being satisfied, the module 208 determines that the geo-fence is triggered and takes the appropriate action. The action taken can be associated with geo-fence data for the triggered geo-fence stored in the data store 210, or can be determined in other manners such as being pre-configured in the geo-fence triggering module 208, being obtained from another module or device, and so forth.


In one or more embodiments, the action taken by the geo-fence triggering module 208 in response to the geo-fence being triggered is to notify one or more programs 230. The one or more programs 230 can include various different types of programs, such as applications, operating system modules or components, and so forth. The one or more programs 230 to be notified can be identified in different manners, such as being configured in the geo-fence triggering module 208, being identified as part of the geo-fence data for the geo-fence in the data store 210, being obtained from another module or service, and so forth. A program 230 can be notified of the geo-fence event that occurred, as well as optionally additional information (e.g., that the computing device was within a geo-fence for at least a threshold amount of time). The program 230 can then take the action it desires based on the geo-fence being triggered.


Although illustrated as modules separate from the location determination modules 202, it should be noted that one or more of the modules 204-208 can alternatively be implemented at least in part in one of the location determination modules 202. For example, at least part of one or more of the modules 204-208 can be implemented in hardware components of the GNSS module 214 or the Wi-Fi module 212.


In one more embodiments, a location is determined by the location determination modules 202 only after receiving user consent to do so. This user consent can be an opt-in consent, where the user takes an affirmative action to request that the location be determined by the location determination modules 202 before any such location is determined. Alternatively, this user consent can be an opt-out consent, where the user takes an affirmative action to request that the location not be determined by the location determination modules 202. If the user does not choose to opt out of determining the location, then it is an implied consent by the user to determine his or her location. Furthermore, it should be noted that the location determined by the location determination modules 202 can be maintained in a computing device receiving the determined location (e.g., the computing device 102 of FIG. 1) and need not be communicated to other devices or services.


Alternatively, user consent may be granted for specific programs and revoked for other programs. In this case, location information will be determined only when the user has consented for at least one program for which geo-fence tracking is used. The location information is used to determine the entry and/or exit of only those geo-fences belonging to the consented programs. Remaining geo-fences from the unapproved programs are not tracked.



FIG. 3 illustrates an example user interface that can be displayed to a user to allow the user to select whether locations are to be determined in accordance with one or more embodiments. A location control window 300 is displayed including a description 302 explaining to the user why the location information is being determined. A link 304 to a privacy statement is also displayed. If the user selects the link 304, a privacy statement of the system 200 is displayed, explaining to the user how the user's information is kept confidential.


Additionally, the user is able to select a radio button 306 to opt-in to the determining of location information, or a radio button 308 to opt-out of the determining of location information. Once a radio button 306 or 308 is selected, the user can select an “OK” button 310 to have the selection saved. It is to be appreciated that radio buttons and an “OK” button are only examples of user interfaces that can be presented to a user to opt-in or opt-out of the determining of location information, and that a variety of other conventional user interface techniques can alternatively be used. The system 200 of FIG. 2 then proceeds to determine the location of the computing device, or not determine the location of the computing device, in accordance with the user's selection.



FIG. 4 is a flowchart illustrating an example process 400 for detecting geo-fence events using varying confidence levels in accordance with one or more embodiments. The process 400 is carried out by a system, such as the system 200 of FIG. 2, and can be implemented in software, firmware, hardware, or combinations thereof. The process 400 is shown as a set of acts and is not limited to the order shown for performing the operations of the various acts. The process 400 is an example process for detecting geo-fence events using varying confidence levels; additional discussions of detecting geo-fence events using varying confidence levels are included herein with reference to different figures.


In process 400, a geo-fence and its size are identified (act 402). The identified geo-fence is a geo-fence selected by the geo-fence determination module 204 of FIG. 2. The size of the geo-fence refers to the area encompassed by the geo-fence (the area within the boundary of the geo-fence), and can be identified in any of a variety of different manners. For example, the size of the geo-fence can be stored as part of the geo-fence data in the data store 210 of FIG. 2, the size of the geo-fence can be determined in act 402 based on a description of the area of the geo-fence included in the geo-fence data in the data store 210, and so forth. Various values can be readily determined given the size of the geo-fence and the shape of the boundary of the geo-fence, such as overlap between the geo-fence and a position uncertainty area for a location of a computing device.


A current position uncertainty area and its size for a location determination module is identified (act 404). The position uncertainty area can be described in various manners using different shapes, functions, and so forth as discussed above. The location determination module in act 404 is the location determination module providing the location of the computing device for purposes of determining geo-fence events for the geo-fence (the geo-fence for which the size is identified in act 402). The position uncertainty area can be identified based on the uncertainty of the location determination module determined in various manners as discussed above. The size of the position uncertainty area refers to the area encompassed by the position uncertainty area, and can be identified in any of a variety of different manners. For example, the size of the position uncertainty area can be provided by the location determination module, the size of the position uncertainty area can be determined in act 404 based on a description of the position uncertainty area, and so forth.


Geo-fence events are determined based on a confidence level that varies based at least in part on the size of the geo-fence and the size of the position uncertainty area (act 406). The confidence level can take various forms. For example, the confidence level can be a threshold confidence value that is based on a proportion of the geo-fence area to the position uncertainty area (e.g., as discussed below with reference to FIG. 5). By way of another example, the confidence level can be how much error in accuracy of a location determination module is acceptable for the geo-fence area, and thus how much confidence there is in the determination of whether the computing device is inside or outside the geo-fence, (e.g., as discussed below with reference to FIG. 9).



FIG. 5 is a flowchart illustrating an example process 500 for detecting geo-fence events using varying confidence levels in accordance with one or more embodiments. In the process 500, the confidence level is a threshold confidence value that is varied based on a proportion of the geo-fence area to the current position uncertainty area. As the proportion increases the threshold confidence value increases, and as the proportion decreases the threshold confidence value decreases.


The process 500 is carried out by a system, such as the system 200 of FIG. 2, and can be implemented in software, firmware, hardware, or combinations thereof. The process 500 is shown as a set of acts and is not limited to the order shown for performing the operations of the various acts. The process 500 is an example process for detecting geo-fence events using varying confidence levels; additional discussions of detecting geo-fence events using varying confidence levels are included herein with reference to different figures.


Different confidence values are discussed herein, such as an acceptable confidence value, a confidence value for a location, and a threshold confidence value. A confidence value is generated based on the area of overlap between the position uncertainty area for a location of the computing device and the geo-fence as well as on the position uncertainty area for the location of the computing device. For example, a confidence value C can be calculated using the following equation:









C
=


A
overlap


A
location






(
1
)







where Aoverlap refers to the area of overlap between the position uncertainty area for a location of the computing device and the geo-fence, and Alocation refers to the position uncertainty area for a location of the computing device.


In process 500, a geo-fence and its size are identified (act 502). The identified geo-fence is a geo-fence selected by the geo-fence determination module, and its size can be determined in various manners analogous to the discussion above regarding act 402 of FIG. 4.


A location determination module to use is selected (act 504). The location determination module is selected based on an acceptable confidence level, which is a confidence level that the location determination module is to be able to provide in order to be selected in act 504. The acceptable confidence level can be determined in different manners, such as empirically by the designer of the system 200 of FIG. 2. The acceptable confidence level can optionally be changed, such as by a user or administrator of the system 200, by a creator of a geo-fence (e.g., identifying the acceptable confidence level in the geo-fence data for the geo-fence), and so forth. In one or more embodiments, the acceptable confidence level is 1%, although this acceptable confidence level is an example and other acceptable confidence levels can alternatively be used.


Whether a particular location determination module can provide the acceptable confidence level can be readily determined given the size of the geo-fence and the position uncertainty area for locations provided by the location determination module. For example, using equation (1) above, assuming the largest possible overlap between the position uncertainty area for locations provided by the location determination module and the geo-fence and assuming an acceptable confidence level of 1%, if the geo-fence area is 1 m2 and the location determination module provides a position uncertainty area for locations of 100 m2, then the confidence level provided by the location determination module would be 1%:






C
=


1
100

=

1

%






and the location determination module provides the example acceptable confidence level of 1%. By way of another example, if the geo-fence area is 1 m2 and the location determination module provides a position uncertainty area for locations of 4,000,000 m2, then the confidence level provided by the location determination module would be 0.00000025%:






C
=


1

4
,
000
,
00


=

.00000025





%






and the location determination module does not provide the example acceptable confidence level of 1%.


Thus, the system 200 can dynamically switch between location determination modules based on the acceptable confidence level provided by those location determination modules and the size of the geo-fence. If a single location determination module provides the acceptable confidence level, then that single location determination module is selected in act 504. However, in situations in which multiple location determination modules provide acceptable confidence levels, one of those multiple location determination modules is selected. Which of the multiple location determination modules is selected in such situations can be determined in different manners based on various factors, such as the location determination module that consumes the smallest amount of power when operating, the location determination module that provides a location in the shortest amount of time, and so forth.


A position uncertainty area and its size for a location determination module is identified (act 506). The location determination module in act 506 is the location determination module selected in act 504. The position uncertainty area can be identified based on the uncertainty or accuracy of the location determination module determined in various manners as discussed above. The size of the position uncertainty area refers to the area encompassed by the position uncertainty area, and can be identified in any of a variety of different manners. For example, the size of the position uncertainty area can be provided by the location determination module, the size of the position uncertainty area can be determined in act 506 based on a description of the position uncertainty area, and so forth.


A confidence value for indicating if the geo-fence has been breached (the computing device has entered the geo-fence) is determined (act 508). The confidence value for the geo-fence breach condition can be determined using equation (1) above, relying on the actual overlap between the position uncertainty area for the determined location of the computing device and the geo-fence.



FIGS. 6 and 7 illustrate examples of overlapping position uncertainty areas and geo-fences in accordance with one or more embodiments. FIG. 6 illustrates an example geo-fence 602 and an example position uncertainty area 604 for a determined location 606. The actual overlap between the position uncertainty area 604 and the geo-fence 602 is illustrated with cross-hatching. FIG. 7 illustrates an example geo-fence 702 and an example position uncertainty area 704 for a determined location 706. The actual overlap between the position uncertainty area 704 and the geo-fence 702 is illustrated with cross-hatching.


Returning to FIG. 5, a threshold confidence value that varies relative to the proportion of the sizes of the location position uncertainty area and the geo-fence is determined (act 510). Thus, the threshold confidence value varies based on the sizes of the position uncertainty area and the geo-fence. For example, the threshold confidence value increases as the proportion of the size of the geo-fence to the size of the position uncertainty area increases, so the greater the area of the geo-fence is than the position uncertainty area is, the higher the threshold confidence value is.


In one or more embodiments, the threshold confidence value is generated based on the ratio of the size of the geo-fence area (as identified in act 502) to the size of the position uncertainty area (as identified in act 506). For example, a ratio value a can be calculated using the following equation or formula:









α
=


A
fence


A
location






(
2
)







where Afence refers to the area of the geo-fence, and Alocation refers to the position uncertainty area for a location of the computing device.


The threshold confidence value can be determined in various manners based on the ratio value α. For example, different ratio values a can be determined for different geo-fence areas and position uncertainty areas. The determined ratio values α and assumed threshold confidence levels can be used to generate a formula that describes the relationship between the determined ratio values α and the assumed threshold confidence levels. The assumed threshold confidence levels can be determined in a variety of different manners, such as empirically by the developer of the system 200.


Table I illustrates an example of assumed threshold confidence levels for different ratio values α. It should be noted that the assumed threshold confidence levels in Table I are examples, and that other values can alternatively be used. In Table I, the confidence level of “not detectable” refers to a geo-fence event not being detectable for the corresponding ratio values α.












TABLE I








Assumed threshold



α value
confidence level



















0.0001
not detectable



0.01
1



0.0625
6.25



0.1
10



0.5
20



1
30



2
50



4
66



5
75



8
90



10
100



100
100



150
100



1000
100










Given the determined ratio values α and the assumed threshold confidence levels, a formula that describes the relationship between the determined ratio values α and the assumed threshold confidence levels can be generated in any of a variety of different manners. For example, the determined ratio values α and corresponding assumed threshold confidence levels can be plotted on a graph and an approximately best fit line determined, the formula for the determined line being the formula that describes the relationship between the determined ratio values α and the assumed threshold confidence levels.


In one or more embodiments, the formula that describes the relationship between the determined ratio values α and the assumed threshold confidence levels has the following form:






C
threshold
=Ma
n  (3)


where Cthreshold is the threshold confidence value, M is a coefficient value, and n is an exponent or index value. Various different coefficient values M and exponent values n can be used. For example, the coefficient value M can be 30.704 and the exponent value n can be 0.5371. However, it should be noted that these are example values and that other coefficient and exponent values can alternatively be used.



FIG. 8 illustrates an example table 800 showing an example confidence (e.g., approximately a maximum confidence) that can be achieved given a geo-fence radius (the rows of the table 800) and different location determination modules (the columns of the table 800) in accordance with one or more embodiments. It should be noted that the table 800 is an example of values, and other threshold values, geo-fence sizes, and/or position uncertainty areas can alternatively be used. Each row of the table 800 is for a particular geo-fence that can be enclosed in an approximately circular area and has a radius as identified in the table 800. Examples of the particular geo-fences are also illustrated. Each column of the table 800 is for a particular position uncertainty area that is approximately circular in area and has a radius as identified in the table 800. Examples of location sources (different location determination modules or different techniques for determining locations) for the particular position uncertainty areas are also illustrated.


By way of example, table 800 shows that the confidence value that can be achieved for a geo-fence having a radius of 10 m (and thus an area of π102=314.159 m2) and a location determination module with a position uncertainty area having a radius of 50 m (and thus an area of π502=7853.982 m2) is 5.45. Values in the table 800 of “N/A” indicate that the acceptable confidence value cannot be satisfied by the location determination module for the geo-fence.


Returning to FIG. 5, given the confidence value determined for indicating if the geo-fence has been breached in act 508 and the threshold confidence value determined in act 510, a check is made as to whether the determined confidence value satisfies the threshold confidence value (act 512). The determined confidence value satisfies the threshold confidence value if, for example, the determined confidence value is greater than and/or equal to the threshold confidence value. Alternatively, the determined confidence value and threshold confidence values can be implemented in other manners, such as being negative numbers or subtracted from another base number so that the determined confidence value satisfies the threshold confidence value if the determined confidence value is less than and/or equal to the threshold confidence value.


If the determined confidence value satisfies the threshold confidence value, then the location provided by the location determination module is determined to be inside the geo-fence (act 514). However, if the determined confidence value does not satisfy the threshold confidence value then the location provided by the location determination module will not result in detection of a geo-fence entry event (act 516).


It should be noted that if the determined confidence value does not satisfy the threshold confidence value then other geo-fence events may be detected, such as a geo-fence exit event, an event of staying within a geo-fence for a particular amount of time, and so forth. Alternatively, the location provided by the location determination module may not result in detection of other geo-fence events unless other criteria are satisfied. For example, a geo-fence exit event may not be detected until the determined confidence value is approximately 0% (e.g., there is substantially no overlap between the position uncertainty area for the determined location of the computing device and the geo-fence). By way of another example, an event of staying with a geo-fence may not be detected until a geo-fence enter event for the geo-fence has been detected and at least a threshold amount of time has elapsed without a geo-fence exit event for the geo-fence being detected.



FIG. 9 is a flowchart illustrating an example process 900 for detecting geo-fence events using varying confidence levels in accordance with one or more embodiments. In the process 900, the confidence level is how much error in accuracy of a location determination module is acceptable for the geo-fence area (and thus how much confidence there is in the determination of whether the computing device is inside or outside the geo-fence). As the size of a geo-fence increases, the amount of error in accuracy of a location determination module that is acceptable can be increased (the acceptable current position uncertainty area can be increased), allowing less accurate location determination modules to be used. As the size of a geo-fence decreases, the amount of error in accuracy of a location determination module that is acceptable can be decreased (the acceptable current position uncertainty area can be decreased), so that more accurate location determination modules are used.


The process 900 is carried out by a system, such as the system 200 of FIG. 2, and can be implemented in software, firmware, hardware, or combinations thereof. The process 900 is shown as a set of acts and is not limited to the order shown for performing the operations of the various acts. The process 900 is an example process for detecting geo-fence events using varying confidence levels; additional discussions of detecting geo-fence events using varying confidence levels are included herein with reference to different figures.


In process 900, a geo-fence and its size are identified (act 902). The identified geo-fence is a geo-fence selected by the geo-fence determination module, and its size can be determined in various manners analogous to the discussion above regarding act 402 of FIG. 4.


Given the size of the geo-fence, a desired location accuracy is identified (act 904). This desired location accuracy can be identified in a variety of different manners, such as a formula, table, and so forth. This desired location accuracy can also be based on the proximity of the geo-fence, as discussed in more detail below. In one or more embodiments, the system 200 is configured with or has access to a desired location accuracy table that indicates the desired location accuracy for different geo-fence sizes. The desired location accuracy table can be populated with desired location accuracies for different geo-fence sizes in various manners, such as empirically by the designer of the system 200.



FIG. 10 illustrates an example table 1000 that indicates the desired location accuracy (e.g., approximately a minimum location accuracy) for different geo-fence sizes in accordance with one or more embodiments. Each row of the table 1000 is for a particular geo-fence that is approximately circular in area and has a radius as identified in the table 1000. A column 1002 of the table 1000 illustrates examples of the particular geo-fences. A column 1004 of the table 1000 illustrates example desired accuracies (e.g., approximately a minimum location accuracy) for the geo-fences. By way of example, table 1000 shows that for a geo-fence with a radius range of 50 m or less, the desired location accuracy is 2 times the geo-fence radius.


The table 1000 illustrates geo-fences that are approximately circular in area and a particular radius, and desired accuracies in terms of radiuses of an approximately circular position uncertainty area of a location. It should be noted that these are examples, and that geo-fences and/or desired accuracies can be identified in other manners for other shapes (e.g., as areas rather than radiuses).


Although specific values are illustrated in the table 1000, it should be noted that other values can alternatively be used. For example, rather than individual values, proportional values may be used. E.g., if the geo-fence radius range is 500 m and the desired accuracy is 500 m, then the desired accuracy for a geo-fence with a radius range of 250 m can be 250 m, the desired accuracy for a geo-fence with a radius range of 125 m can be 125, and so forth.


Returning to FIG. 9, a location determination module to use is selected based on the identified desired location accuracy (act 906). Different location determination techniques can have different associated uncertainty in their accuracies as discussed above, and given the desired location accuracy a location determination module that provides the desired location accuracy can be readily identified (e.g., a location determination module having an associated uncertainty (e.g., error radius) that is less than the desired location accuracy). If a single location determination module provides the desired location accuracy, then that single location determination module is selected in act 906. However, in situations in which multiple location determination modules provide the desired location accuracy, one of those multiple location determination modules is selected. Which of the multiple location determination modules is selected can be determined in different manners, such as the location determination module that consumes the smallest amount of power when operating, the location determination module that provides a location in the shortest amount of time, and so forth.


A position uncertainty area for the location determination module is identified (act 908). The location determination module in act 908 is the location determination module selected in act 906. The position uncertainty area can be identified based on uncertainty of the location determination module determined in various manners as discussed above.


A check is made as to whether the position uncertainty area for the location determination module is acceptable (act 910). Whether the position uncertainty area is acceptable can be determined in a variety of different manners, such as a formula, table, and so forth. In one or more embodiments, the system 200 is configured with or has access to an acceptable uncertainty table that indicates the acceptable uncertainties for different geo-fence sizes. The acceptable uncertainty table can be populated with acceptable uncertainties for different geo-fence sizes in various manners, such as empirically by the designer of the system 200.


In one or more embodiments, the acceptable uncertainty table is included as part of the table 1000 of FIG. 10. Acceptable uncertainties are illustrated as a column 1006 in the table 1000 in terms of radiuses of an approximately circular position uncertainty area of a location. It should be noted that these are examples, and that acceptable errors can be identified in other manners for other shapes (e.g., as areas rather than radiuses).


If the position uncertainty area obtained from the location determination module is not acceptable, then no geo-fence is triggered (act 912). Process 900 may end, or alternatively may return to act 906 to attempt to select a different location determination module to use (e.g., having a higher accuracy than the previously selected location determination module).


However, if the position uncertainty area for the location determination module is acceptable, then the position uncertainty area for the location is used to determine if the location is inside or outside the fence. If the location was previously outside the fence, so the geo-fence event would be entering the geo-fence, then the approximate center of the position uncertainty area is used to determine if the location of the computing device is inside or outside the fence (act 914). If the approximate center of the position uncertainty area is inside the geo-fence then the location is determined to be inside the geo-fence, and if the approximate center of the position uncertainty area is not inside the geo-fence then the location is determined to be outside the geo-fence.


If the location was previously inside the fence, so that the geo-fence event that would be detected would be exiting the geo-fence (or staying in the geo-fence for a particular amount of time), then substantially all of the position uncertainty area is used to determine if the location of the computing device is inside or outside the fence (act 916). If substantially all of the position uncertainty area is outside the geo-fence then the location is determined to be outside the geo-fence, and if substantially all of the position uncertainty area is not outside the geo-fence then the location remains unchanged as being inside the geo-fence.


It should be noted that although act 914 is discussed with reference to the approximate center of the current position uncertainty area being inside the geo-fence and act 916 is discussed with reference to substantially all of the position uncertainty area being outside the geo-fence, different portions of the position uncertainty area can be used. For example, substantially all of the position uncertainty area or only a portion of the position uncertainty area can be used to determine whether the computing device is inside the geo-fence in act 914. By way of another example, the approximate center of the position uncertainty area or another portion of the position uncertainty area can be used to determine whether the computing device is outside the geo-fence in act 916.


It should also be noted that in the table 1000, a column 1004 of desired accuracies for the geo-fences and a column 1006 of acceptable uncertainties is illustrated. The same desired accuracies and acceptable uncertainties can be used for determining both exiting the geo-fence and entering the geo-fence. Alternatively, different desired accuracies and acceptable uncertainties can be used for exiting the geo-fence than are used for entering the geo-fence. For example, the column 1004 can be desired accuracies for the geo-fences when determining entering a geo-fence, and table 1000 can include an additional column of desired accuracies for the geo-fences when determining exiting a geo-fence. The desired accuracies for the geo-fences when determining exiting a geo-fence can be various values, such as two times the values listed in column 1004 (e.g., for determining exiting a geo-fence with a radius range of 35 m or less, the desired accuracy could be 70 m×2=140 m). By way of another example, the column 1006 can be acceptable uncertainties for the geo-fences when determining entering a geo-fence, and table 1000 can include an additional column of acceptable uncertainties for the geo-fences when determining exiting a geo-fence. The acceptable uncertainties for the geo-fences when determining exiting a geo-fence can be various values, such as two times the values listed in column 1006 (e.g., for determining exiting a geo-fence with a radius range of 50 m or less, the acceptable uncertainties could be 150 m×2=300 m).


Referring again to act 904, situations can arise in which multiple different geo-fences are close to the computing device (e.g., are selected by the geo-fence determination module 204 of FIG. 2). In such situations, one of those multiple geo-fences is selected as the geo-fence for which the desired location accuracy is identified in act 904, such as the geo-fence that is the most (or nearly the most) stringent. FIG. 11 illustrates an example of this situation.



FIG. 11 illustrates multiple overlapping geo-fences in accordance with one or more embodiments. A current location 1102 of the computing device is illustrated, and a set of geo-fences 1104, 1106, 1108, and 1110 are selected by the geo-fence determination module 204 of FIG. 2. The geo-fence 1110 is closest to the current location 1102 but also has the largest desired location accuracy of the geo-fences 1104-1110. The geo-fence 1110 could be selected as the geo-fence for which the desired location accuracy is identified in act 904. Alternatively, rather than selecting the geo-fence 1110 as the geo-fence for which the desired location accuracy is identified in act 904, one of the geo-fences 1104-1108 is selected.


Returning to FIG. 9, which geo-fence is determined to be the most (or nearly the most) stringent is determined based on the set of multiple geo-fences and a set of acceptable error radiuses. For example, the geo-fence that is determined to be the most (or nearly the most) stringent can be determined by determining which of the multiple geo-fences has the smallest value for the following equation:





((distance(Gi)+Ai)−distance(G0);0≦i≦n


where “distance( )” refers to the distance between the current location of the computing device and the closest edge of the geo-fence in parentheses, Gi is a geo-fence in a set of geo-fences {G0, G1, . . . , Gn} in distance order from the edge of the largest geo-fence with G0 being the closest geo-fence to the approximate center of the current location (e.g., geo-fence 1104 of FIG. 11), and Ai is an acceptable error radius for the geo-fence Ai as indicated in the table 1000 of FIG. 10.


This determination of which geo-fence is most (or nearly most) stringent is based on geo-fences that are approximately circular in area and have particular radiuses. It should be noted that these are examples, and that geo-fences can be identified in other manners for other shapes (e.g., as areas rather than radiuses).


Alternatively, rather than selecting one geo-fence for which the desired location accuracy is identified in act 904, the desired location accuracies for multiple geo-fences can be combined to identify the desired location accuracy in act 904. This combination can be a weighting of a set of closest geo-fences, such as geo-fences {G0, G1, . . . , Gn} each having its desired location accuracy weighted based on how close the geo-fence is to the current location of the computing device (e.g., with geo-fences closer to the current location of the computing device being weighted higher than geo-fences further from the current location of the computing device). The weighted desired location accuracies can then be combined (e.g., added together) to generate the desired location accuracy for act 904.


Although particular functionality is discussed herein with reference to particular modules, it should be noted that the functionality of individual modules discussed herein can be separated into multiple modules, and/or at least some functionality of multiple modules can be combined into a single module. Furthermore, it should be noted that a particular module discussed herein as performing an action includes that particular module itself performing the action, or alternatively that particular module invoking or otherwise accessing another component or module that performs the action (or performs the action in conjunction with that particular module). Thus, a particular module performing an action includes that particular module itself performing the action and/or another module invoked or otherwise accessed by that particular module performing the action.



FIG. 12 illustrates an example system generally at 1200 that includes an example computing device 1202 that is representative of one or more systems and/or devices that may implement the various techniques described herein. The computing device 1202 may be, for example, a server of a service provider, a device associated with a client (e.g., a client device), an on-chip system, and/or any other suitable computing device or computing system.


The example computing device 1202 as illustrated includes a processing system 1204, one or more computer-readable media 1206, and one or more I/O Interfaces 1208 that are communicatively coupled, one to another. Although not shown, the computing device 1202 may further include a system bus or other data and command transfer system that couples the various components, one to another. A system bus can include any one or combination of different bus structures, such as a memory bus or memory controller, a peripheral bus, a universal serial bus, and/or a processor or local bus that utilizes any of a variety of bus architectures. A variety of other examples are also contemplated, such as control and data lines.


The processing system 1204 is representative of functionality to perform one or more operations using hardware. Accordingly, the processing system 1204 is illustrated as including hardware elements 1210 that may be configured as processors, functional blocks, and so forth. This may include implementation in hardware as an application specific integrated circuit or other logic device formed using one or more semiconductors. The hardware elements 1210 are not limited by the materials from which they are formed or the processing mechanisms employed therein. For example, processors may be comprised of semiconductor(s) and/or transistors (e.g., electronic integrated circuits (ICs)). In such a context, processor-executable instructions may be electronically-executable instructions.


The computer-readable media 1206 is illustrated as including memory/storage 1212. The memory/storage 1212 represents memory/storage capacity associated with one or more computer-readable media. The memory/storage 1212 may include volatile media (such as random access memory (RAM)) and/or nonvolatile media (such as read only memory (ROM), Flash memory, optical disks, magnetic disks, and so forth). The memory/storage 1212 may include fixed media (e.g., RAM, ROM, a fixed hard drive, and so on) as well as removable media (e.g., Flash memory, a removable hard drive, an optical disc, and so forth). The computer-readable media 1206 may be configured in a variety of other ways as further described below.


Input/output interface(s) 1208 are representative of functionality to allow a user to enter commands and information to computing device 1202, and also allow information to be presented to the user and/or other components or devices using various input/output devices. Examples of input devices include a keyboard, a cursor control device (e.g., a mouse), a microphone (e.g., for voice inputs), a scanner, touch functionality (e.g., capacitive or other sensors that are configured to detect physical touch), a camera (e.g., which may employ visible or non-visible wavelengths such as infrared frequencies to detect movement that does not involve touch as gestures), and so forth. Examples of output devices include a display device (e.g., a monitor or projector), speakers, a printer, a network card, tactile-response device, and so forth. Thus, the computing device 1202 may be configured in a variety of ways as further described below to support user interaction.


Computing device 1202 also includes a geo-fence system 1214. Geo-fence system 1214 provides various geo-fence functionality, including detecting geo-fence events using varying confidence levels, as discussed above. Geo-fence system 1214 can implement, for example, the system 200 of FIG. 2.


Various techniques may be described herein in the general context of software, hardware elements, or program modules. Generally, such modules include routines, programs, objects, elements, components, data structures, and so forth that perform particular tasks or implement particular abstract data types. The terms “module,” “functionality,” and “component” as used herein generally represent software, firmware, hardware, or a combination thereof. The features of the techniques described herein are platform-independent, meaning that the techniques may be implemented on a variety of computing platforms having a variety of processors.


An implementation of the described modules and techniques may be stored on or transmitted across some form of computer-readable media. The computer-readable media may include a variety of media that may be accessed by the computing device 1202. By way of example, and not limitation, computer-readable media may include “computer-readable storage media” and “computer-readable signal media.”


“Computer-readable storage media” refers to media and/or devices that enable persistent storage of information and/or storage that is tangible, in contrast to mere signal transmission, carrier waves, or signals per se. Thus, computer-readable storage media refers to non-signal bearing media. The computer-readable storage media includes hardware such as volatile and non-volatile, removable and non-removable media and/or storage devices implemented in a method or technology suitable for storage of information such as computer readable instructions, data structures, program modules, logic elements/circuits, or other data. Examples of computer-readable storage media may include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, hard disks, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or other storage device, tangible media, or article of manufacture suitable to store the desired information and which may be accessed by a computer.


“Computer-readable signal media” refers to a signal-bearing medium that is configured to transmit instructions to the hardware of the computing device 1202, such as via a network. Signal media typically may embody computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as carrier waves, data signals, or other transport mechanism. Signal media also include any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media.


As previously described, hardware elements 1210 and computer-readable media 1206 are representative of instructions, modules, programmable device logic and/or fixed device logic implemented in a hardware form that may be employed in some embodiments to implement at least some aspects of the techniques described herein. Hardware elements may include components of an integrated circuit or on-chip system, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a complex programmable logic device (CPLD), and other implementations in silicon or other hardware devices. In this context, a hardware element may operate as a processing device that performs program tasks defined by instructions, modules, and/or logic embodied by the hardware element as well as a hardware device utilized to store instructions for execution, e.g., the computer-readable storage media described previously.


Combinations of the foregoing may also be employed to implement various techniques and modules described herein. Accordingly, software, hardware, or program modules and other program modules may be implemented as one or more instructions and/or logic embodied on some form of computer-readable storage media and/or by one or more hardware elements 1210. The computing device 1202 may be configured to implement particular instructions and/or functions corresponding to the software and/or hardware modules. Accordingly, implementation of modules as a module that is executable by the computing device 1202 as software may be achieved at least partially in hardware, e.g., through use of computer-readable storage media and/or hardware elements 1210 of the processing system. The instructions and/or functions may be executable/operable by one or more articles of manufacture (for example, one or more computing devices 1202 and/or processing systems 1204) to implement techniques, modules, and examples described herein.


As further illustrated in FIG. 12, the example system 1200 enables ubiquitous environments for a seamless user experience when running applications on a personal computer (PC), a mobile device, and/or other devices. Services and applications run substantially similar in these environments for a common user experience when transitioning from one device to the next while utilizing an application, playing a video game, watching a video, and so on.


In the example system 1200, multiple devices are interconnected through a central computing device. The central computing device may be local to the multiple devices or may be located remotely from the multiple devices. In one or more embodiments, the central computing device may be a cloud of one or more server computers that are connected to the multiple devices through a network, the Internet, or other data communication link.


In one or more embodiments, this interconnection architecture enables functionality to be delivered across multiple devices to provide a common and seamless experience to a user of the multiple devices. Each of the multiple devices may have different physical requirements and capabilities, and the central computing device uses a platform to enable the delivery of an experience to the device that is both tailored to the device and yet common to all devices. In one or more embodiments, a class of target devices is created and experiences are tailored to the generic class of devices. A class of devices may be defined by physical features, types of usage, or other common characteristics of the devices.


In various implementations, the computing device 1202 may assume a variety of different configurations, such as for computer 1216 or mobile 1218 uses. Each of these configurations includes devices that may have generally different constructs and capabilities, and thus the computing device 1202 may be configured according to one or more of the different device classes. For instance, the computing device 1202 may be implemented as the computer 1216 class of a device that includes a personal computer, desktop computer, a multi-screen computer, laptop computer, netbook, and so on. The computing device 1202 may also be implemented as the mobile 1218 class of device that includes mobile devices, such as a mobile phone, portable music player, portable gaming device, a tablet computer, a wearable device, a multi-screen computer, and so on.


The techniques described herein may be supported by these various configurations of the computing device 1202 and are not limited to the specific examples of the techniques described herein. This functionality may also be implemented all or in part through use of a distributed system, such as over a “cloud” 1222 via a platform 1224 as described below.


The cloud 1222 includes and/or is representative of a platform 1224 for resources 1226. The platform 1224 abstracts underlying functionality of hardware (e.g., servers) and software resources of the cloud 1222. The resources 1226 may include applications and/or data that can be utilized while computer processing is executed on servers that are remote from the computing device 1202. Resources 1226 can also include services provided over the Internet and/or through a subscriber network, such as a cellular or Wi-Fi network.


The platform 1224 may abstract resources and functions to connect the computing device 1202 with other computing devices. The platform 1224 may also serve to abstract scaling of resources to provide a corresponding level of scale to encountered demand for the resources 1226 that are implemented via the platform 1224. Accordingly, in an interconnected device embodiment, implementation of functionality described herein may be distributed throughout the system 1200. For example, the functionality may be implemented in part on the computing device 1202 as well as via the platform 1224 that abstracts the functionality of the cloud 1222.


Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims
  • 1. A method comprising: identifying a size of a geo-fence;identifying a size of a position uncertainty area for a location determination module, the position uncertainty area being based on an estimated accuracy error of a location for a computing device provided by the location determination module; anddetermining occurrence of one or more geo-fence events for the geo-fence based on a confidence level that varies based at least in part on both the size of the geo-fence and the size of the position uncertainty area.
  • 2. A method as recited in claim 1, the confidence level comprising a threshold confidence value, and the determining the occurrence of one or more geo-fence events based on a confidence level that varies comprising: varying the threshold confidence value relative to the size of the geo-fence and the position uncertainty area; andcomparing a confidence value for a geo-fence breach condition to the threshold confidence value.
  • 3. A method as recited in claim 2, further comprising determining that the computing device is inside the geo-fence in response to the confidence value for the geo-fence breach condition satisfying the threshold confidence value.
  • 4. A method as recited in claim 2, further comprising generating the confidence value for the geo-fence breach condition using an area of overlap between a position uncertainty area for the location of the computing device and the geo-fence.
  • 5. A method as recited in claim 2, further comprising generating the threshold confidence value for the geo-fence breach condition using a formula based on the size of the geo-fence area and the size of the position uncertainty area.
  • 6. A method as recited in claim 2, further comprising selecting as the location determination module, one of multiple location determination modules that can provide a position with a position uncertainty area that will provide an acceptable confidence level given the size of the geo-fence.
  • 7. A method as recited in claim 1, the confidence level comprising how much error in accuracy of the location determination module is acceptable for the size of the geo-fence, and the determining comprising selecting one of multiple location determination modules that provides at least an acceptable position uncertainty area given the size of the geo-fence.
  • 8. A method as recited in claim 7, further comprising: using a first acceptable position uncertainty area given the size of the geo-fence in response to the computing device being inside the geo-fence; andusing a second acceptable position uncertainty area given the size of the geo-fence in response to the computing device being outside the geo-fence.
  • 9. A method as recited in claim 1, the determining comprising determining, as the occurrence of one or more geo-fence events. the computing device entering the geo-fence.
  • 10. A method as recited in claim 1, the determining comprising determining, as the occurrence of one or more geo-fence events, the computing device exiting the geo-fence.
  • 11. A computing device comprising: a data store configured to store geo-fence data for multiple geo-fences, the geo-fence data for each geo-fence identifying an area of the geo-fence;one or more location determination modules implemented at least in part in hardware each configured to provide a location of the computing device, the location of the computing device having an associated position uncertainty area; anda geo-fence event detection module to detect occurrence of one or more geo-fence events for at least one of the multiple geo-fences based on a confidence level that varies based at least in part on a size of at least one of the multiple geo-fences and on the size of the position uncertainty area.
  • 12. A computing device as recited in claim 11, the confidence level that varies being used by the geo-fence event detection module to detect one or more breach conditions of one or more geo-fences, and one of multiple location determination modules being selected based on an ability of the one location determination module to provide a location with at least an acceptable position uncertainty area given the size of at least one of the multiple geo-fences.
  • 13. A computing device as recited in claim 12, the geo-fence event detection module being further configured to: use one acceptable uncertainty given the size of the at least one of the multiple geo-fences in response to the computing device being inside the geo-fence; anduse a different acceptable uncertainty given the size of the at least one of the multiple geo-fences in response to the computing device being outside the geo-fence.
  • 14. A computing device as recited in claim 11, the confidence level being determined and compared to a threshold confidence level to detect a geo-fence breach condition of a geo-fence, where: the threshold confidence value varies relative to the size of the geo-fence and a current position uncertainty area; andthe confidence value for a current location is compared with the threshold confidence level to determine if the geo-fence breach condition has been met.
  • 15. A computing device as recited in claim 14, wherein the geo-fence event detection module is further configured to: generate the threshold confidence value using a formula based on the size of the geo-fence area and the size of the position uncertainty area; anddetermine that the computing device is inside the geo-fence in response to the confidence value for the current location satisfying the threshold confidence value.
  • 16. A computing device as recited in claim 14, wherein the geo-fence event detection module is further configured to generate the threshold confidence value to detect the geo-fence breach condition using an area of overlap between a position uncertainty area for the current location of the computing device and the geo-fence.
  • 17. A computing device as recited in claim 14, wherein the geo-fence event detection module is further configured to select, as the location determination module, one of multiple location determination modules that can provide a location with an uncertainty area that will provide an acceptable confidence level to detect the geo-fence breach condition given the size of the geo-fence.
  • 18. A computing device as recited in claim 11, wherein to detect the occurrence of the one or more geo-fence events is to detect the computing device entering the geo-fence.
  • 19. A computing device as recited in claim 11, wherein to detect the occurrence of the one or more geo-fence events is to detect the computing device exiting the geo-fence.
  • 20. A method comprising: identifying a size of a geo-fence;selecting, based on the size of the geo-fence, one of multiple location determination modules to use;identifying a size of a position uncertainty area for the selected location determination module, the position uncertainty area being based on an amount of uncertainty in the accuracy of a location for a computing device provided by the location determination module;determining a confidence value that a geo-fence has been breached using the position uncertainty area as well as an area of overlap between the position uncertainty area and the geo-fence;determining a threshold confidence value to indicate a geo-fence breach condition using a formula based on the size of the geo-fence area and the size of the position uncertainty area of a current location of the computing device; anddetermining that the computing device is inside the geo-fence when the confidence value satisfies the threshold confidence value, otherwise determining that the computing device may not be inside the geo-fence.