# Patent

## Title
Apparatus and method for profiling users

## Abstract

Provided is a process of profiling a user of a mobile computing device, the process including: obtaining a location history of a user, the location history being based on signals from a mobile computing device of the user; obtaining a location-attribute score of a location identified in, or inferred from, the location history; determining, with a computer, a user-attribute score based on the location-attribute score; and storing the user-attribute score in a user-profile datastore.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is a continuation of U.S. patent application Ser. No. 13/734,674, filed Jan. 4, 2013, which is hereby incorporated by reference in its entirety.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to user profiles and, more specifically, to generating user profiles based on user location.
2. Description of the Related Art
User profiles are useful in a variety of contexts. For example, advertisers often purchase advertising based on a desire to reach potential customers having particular attributes. Such advertisers often employ user profiles to select when, where, or how the advertiser conveys their message. Similarly, market researchers may analyze user profiles to better understand the market for a given good or service based on attributes of buyers of that good or service. In another example, user profiles may be used to customize products or services, for instance by customizing a software application according to the profile of a user of the software application.
User profiles, however, can be difficult to obtain, as users generally have little incentive to generate a profile of themselves for use by others. Such a task can be tedious and unpleasant. Further, user's recollection of their behavior over time can be unreliable.
SUMMARY OF THE INVENTION
The following is a non-exhaustive listing of some aspects of the present techniques. These and other aspects are described in the following disclosure.
In some aspects, the present techniques include a process of profiling a user of a mobile computing device, the process including: obtaining a location history of a user, the location history being based on signals from a mobile computing device of the user; obtaining a location-attribute score of a location identified in, or inferred from, the location history; determining, with a computer, a user-attribute score based on the location-attribute score; and storing the user-attribute score in a user-profile datastore.
Some aspects include a tangible, machine-readable, non-transitory medium storing instructions that when executed by a data processing apparatus, cause the data processing apparatus to perform operations including: obtaining a location history of a user, the location history being based on signals from a mobile computing device of the user; obtaining a location-attribute score of a location identified in, or inferred from, the location history; determining a user-attribute score based on the location-attribute score; and storing the user-attribute score in a user-profile datastore.
Some aspects include a system, including: one or more processors; and memory storing instructions that when executed by the processors cause the processors to perform operations including: obtaining a location history of a user, the location history being based on signals from a mobile computing device of the user; obtaining a location-attribute score of a location identified in, or inferred from, the location history; determining a user-attribute score based on the location-attribute score; and storing the user-attribute score in a user-profile datastore.



BRIEF DESCRIPTION OF THE DRAWINGS
The above-mentioned aspects and other aspects of the present techniques will be better understood when the present application is read in view of the following figures in which like numbers indicate similar or identical elements:
FIG. 1 shows an example of an environment in which a user profiler operates in accordance with some embodiments;
FIG. 2 shows an embodiment of a process for profiling a user;
FIG. 3 shows an embodiment of another process for profiling a user; and
FIG. 4 shows an embodiment of a computer system by which the above-mentioned systems and processes may be implemented.



While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. The drawings may not be to scale. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but to the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
DETAILED DESCRIPTION OF CERTAIN EMBODIMENTS
FIG. 1 shows an example of a computing environment 10 having a user profiler 12 operative to generate user profiles to be stored in a user-profile datastore 14. In some embodiments, the user profiler 12 generates (for example, instantiates or updates) the user profiles based on location histories from mobile devices 16 and attributes of geographic locations stored in a geographic information system 18. The resulting user profiles may reflect the attributes of the locations visited by users. The location histories may be conveyed via the Internet 20 to remote locations, and the user profiles may be used by advertisement servers 22 to select advertisements for presentation to users or for other purposes described below.
The profiles may characterize a variety of attributes of users. In one illustrative use case, a location history may indicate that a user frequently visits geographic locations associated with tourism, and the profile of that user may be updated to indicate that the user frequently engages in tourism, which may be of interest to certain categories of advertisers. Or a user may spend their working hours in geographic areas associated with childcare and residences, and based on their location history, the profile of that user may be updated to indicate that the user likely engages in childcare for children younger than school age. Other examples are described below.
Further, as explained in detail below, the attributes associated with geographic locations may vary over time (for example, an area with coffee shops and bars may have a stronger association with consumption of breakfast or coffee in the morning, an association which weakens in the evening, while an association with entertainment or nightlife may be weaker in the morning and stronger in the evening). User profiles may be generated in accordance with the time-based attributes that predominate when the user is in a geographic area. And in some embodiments, user profiles may also be segmented in time, such that a portion of a given user's profile associated with a weekday morning may have different attributes than another portion of that user's profile associated with a weekend night, for instance.
The user profiles may be used by advertisers and others in a privacy-friendly fashion, such that users are expected to tend to opt in to sharing their location history. For example, the user profiles may be aggregated to identify geographic areas having a high density of a particular type of user at a particular time of the week, such as a sports stadium having a relatively large number of users associated with fishing as a hobby, or a children's soccer field in which a relatively large number of people associated with golfing as a hobby might tend to co-occur on weekend mornings. Such correlations may be presented to advertisers or others without disclosing information by which individual users can be uniquely identified. In other applications, user-specific information may be provided, for example, users who opt in to sharing their profiles may receive user-specific services or communications formulated based on the individual profile of that user.
Accounting for time when characterizing geographic areas is believed to yield relatively accurate characterizations of places, as the activities that people engage in at a given location tend to depend strongly on time of day and week. And for similar reasons, accounting for time when profiling users is expected to yield relatively accurate characterizations of the users. Generating profiles based on location history further offers the benefit of profiling users without imposing the burden of manually doing so on the users themselves, and using attributes of geographic areas in which the user travels is expected to yield relatively privacy-friendly data about the user. That said, not all embodiments offer all, or any, of these benefits, as various engineering and cost trade-offs are envisioned, and other embodiments may offer other benefits, some of which are described below.
As noted above, the user profiler 12 obtains data from the mobile devices 16 and the geographic information system 18 to output user profiles to the user-profile datastore 14 for use by the ad servers 22 or for other purposes. Accordingly, these components are described in this sequence, starting with inputs, and concluding with outputs.
The mobile devices 16 maybe any of a variety of different types of computing devices having an energy storage device (e.g., a battery) and being capable of communicating via a network, for example via a wireless area network or a cellular network connected to the Internet 20. In some cases, the mobile devices 16 are handheld mobile computing devices, such as smart phones, tablets, or the like, or the mobile devices may be laptop computers or other special-purpose computing devices, such as an automobile-based computer (e.g., an in-dash navigation system). The mobile devices 16 may have a processor and a tangible, non-transitory machine-readable memory storing instructions that provide the functionality described herein when executed by the processor. The memory may store instructions for an operating system, special-purpose applications (apps), and a web browser, depending upon the use case. It should be noted, however, that the present techniques are not limited to mobile devices, and other computing devices subject to geolocation may also generate data useful for forming user profiles. For instance, set-top boxes, gaming consoles, or Internet-capable televisions may be geolocated based on IP address, and data from user interactions with these devices may be used to update user profiles, e.g., with user interaction indicating a time at which a user was at the geolocation corresponding to the device.
This software may have access to external or internal services by which the location of the mobile device may be obtained. For example, the mobile device may have a built-in satellite-based geolocation device (for instance a global-positioning system, or GPS, device or components operative to obtain location from other satellite-based systems, such as Russia's GLONASS system or the European Union's Galileo system). In another example, location may be obtained based on the current wireless environment of the mobile device, for example by sensing attributes of the wireless environment (e.g. SSIDs of wireless hotspots, identifiers of cellular towers, and signal strengths) and sending those attributes to a remote server capable of identifying the location of the mobile device. In some embodiments, the location may be obtained based on an identifier of a network node through which the mobile device connects to the Internet, for example by geocoding an IP address of a wireless router or based on a location of a cellular tower to which the mobile device is connected. The location may be expressed as a latitude and longitude coordinate or an area, and in some cases may include a confidence score, such as a radius or bounding box defining area within which the device is expected to be with more than some threshold confidence.
From time to time, the location of the mobile devices 16 may be obtained by the mobile devices. For example, when a user interacts with a special-purpose application, in some cases, the application may have permission to obtain the location of the mobile device and report that location to a third party server associated with the application, such that the location may be obtained by the user profiler 12 from the third party server. In another example, the user may visit a website having code that obtains the current location of the mobile device. This location may be reported back to the server from which the website was obtained or some other third party server, such as an ad server for an affiliate network, and location histories may be obtained from this server. In another example, locations of the mobile devices 16 may be obtained without the participation of the mobile device beyond connecting to a network. For instance, users may opt in to allowing a cellular service provider to detect their location based on cellular signals and provide that location to the user profiler 12. Depending upon how location is obtained, the location may be acquired intermittently, for example at three different times during a day when a user launches a particular application, or relatively frequently, for example by periodically polling a GPS device and reporting the location. In some cases, the location history may include locations obtained more than one-second apart, more than one-minute apart, more than one-hour apart, or more, depending upon the use case.
Locations may be obtained in real time from mobile devices 16 by the user profiler 12, or in some embodiments, location histories may be obtained. Each location history may include records of geographic locations of a given mobile device and when the mobile device was at each location. In some cases, a location history may include records of location over a relatively long duration of time, such as more than over a preceding hour, day, week, or month, as some modes of acquiring location histories report or update location histories relatively infrequently. A location history for a given mobile device may include a plurality (e.g., more than 10 or more than 100) location records, each location record corresponding to a detected location of the mobile device, and each location record including a geographic location and the time at which the mobile device was at the location. The location records may also include a confidence score indicative of the accuracy of the detected location. Geographic locations may be expressed in a variety of formats with varying degrees of specificity, for example as a latitude and longitude coordinates, as tiles in a grid with which a geographic area is segmented (e.g., quantized), or in some other format for uniquely specifying places.
The geographic information system 18 may be configured to provide information about geographic locations in response to queries specifying a location of interest. In some embodiments, the geographic information system 18 organizes information about a geographic area by quantizing (or otherwise dividing) the geographic area into area units, called tiles, that are mapped to subsets of the geographic area. In some cases, the tiles correspond to square units of area having sides that are between 10-meters and 1000-meters, for example approximately 100-meters per side, depending upon the desired granularity with which a geographic area is to be described.
In some cases, the attributes of a geographic area change over time. Accordingly, some embodiments divide each tile according to time. For instance, some embodiments divide each tile into subsets of some period of time, such as one week, one month, or one year, and attributes of the tile are recorded for subsets of that period of time. For example, the period of time may be one week, and each tile may be divided by portions of the week selected in view of the way users generally organize their week, accounting, for instance, for differences between work days and weekends, work hours, after work hours, mealtimes, typical sleep hours, and the like. Examples of such time divisions may include a duration for a tile corresponding to Monday morning from 6 AM to 8 AM, during which users often eat breakfast and commute to work, 8 AM till 11 AM, during which users often are at work, 11 AM till 1 PM, during which users are often eating lunch, 1 PM till 5 PM, during which users are often engaged in work, 5 PM till 6 PM, during which users are often commuting home, and the like. Similar durations may be selected for weekend days, for example 8 PM till midnight on Saturdays, during which users are often engaged in leisure activities. Each of these durations may be profiled at each tile.
In some embodiments, the geographic information system 18 includes a plurality of tile records, each tile record corresponding to a different subset of a geographic area. Each tile record may include an identifier, an indication of geographic area corresponding to the tile (which for regularly size tiles may be the identifier), and a plurality of tile-time records. Each tile-time record may correspond to one of the above-mentioned divisions of time for a given tile, and the tile-time records may characterize attributes of the tile at different points of time, such as during different times of the week. Each tile-time record may also include a density score indicative of the number of people in the tile at a given time. In some embodiments, each tile-time record includes an indication of the duration of time described by the record (e.g. lunch time on Sundays, or dinnertime on Wednesdays) and a plurality of attribute records, each attribute record describing an attribute of the tile at the corresponding window of time during some cycle (e.g., weekly).
The attributes may be descriptions of activities in which users engage that are potentially of interest to consumers of the user-profile datastore 14. For example, some advertisers may be interested in when and where users go to particular types of restaurants, when and where users play golf, when and where users watch sports, when and where users fish, or when and where users work in particular categories of jobs. In some embodiments, each tile-time record may include a relatively large number of attribute records, for example more than 10, more than 100, more than 1000, or approximately 4000 attribute records, depending upon the desired specificity with which the tiles are to be described. Each attribute record may include an indicator of the attribute being characterized and an attribute score indicating the degree to which users tend to engage in activities corresponding to the attribute in the corresponding tile at the corresponding duration of time. In some cases, the attribute score (or tile-time record) is characterized by a density score indicating the number of users expected to engage in the corresponding activity in the tile at the time.
Thus, to use some embodiments of the geographic information system 18, a query may be submitted to determine what sort of activities users engage in at a particular block in downtown New York during Friday evenings, and the geographic information system 18 may respond with the attribute records corresponding to that block at that time. Those attribute records may indicate a relatively high attribute score for high-end dining, indicating that users typically go to restaurants in this category at that time in this place, and a relatively low attribute score for playing golf, for example. Attribute scores may be normalized, for example a value from 0 to 10, with a value indicating the propensity of users to exhibit behavior described by that attribute.
The user profiler 12 may join the location histories and tile records implicated by locations in those location histories to generate user profiles. Thus, users may be characterized according to the attributes of the places those users visit at the time the user visits those places. The generated user profiles may then be stored by the user profiler 12 in the user-profile datastore 14, as described below. To this end, or others, some embodiments of the user profiler 12 includes a location-history acquisition module 24, a location-attribute acquisition module 26, and a user-attribute updater 28 operative to generate user profiles.
The user profiler 12 may be constructed from one or more of the computers described below with reference to FIG. 4. These computers may include a tangible, non-transitory, machine-readable medium, such as various forms of memory storing instructions that when executed by one or more processors of these computers (or some other data processing apparatus) cause the computers to provide the functionality of the user profiler 12 described herein. The components of the user profiler 12 are illustrated as discrete functional blocks, but it should be noted that the hardware and software by which these functional blocks are implemented may be differently organized, for example, code or hardware for providing the this functionality may be intermingled, subdivided, conjoined, or otherwise differently arranged.
The illustrated location-history acquisition module 24 may be configured to acquire location histories of mobile devices 16 via the Internet 20. The location histories may be acquired directly from the mobile devices 16, or the location histories may be acquired from various third parties, such as a third-party hosting Web applications rendered on the mobile devices 16, third parties hosting servers to which location histories are communicated by apps on the mobile devices 16, or third parties providing network access to the mobile devices 16, such as cellular service providers, for example. The location-history acquisition module 24 may include a plurality of sub-modules for obtaining location histories from a plurality of different providers. These sub-modules may be configured to request, download, and parse location histories from a respective one of the different providers via application program interfaces provided by those providers. The sub-modules may translate the location histories from the different providers, which may be in different formats, into a common format for use in subsequent processing. Location histories may be acquired periodically, for example monthly, weekly, or hourly, or more frequently.
The user profiler 12 of this embodiment further includes the location-attribute acquisition module 26. The module 26 may be configured to obtain attributes of locations identified based on the location histories acquired by the location history acquisition module 24. For example, the module 26 may be configured to iterate through each location identified by each location history and query the geographic information system 18 for attributes of those locations at the time at which the user was at the corresponding location. In some cases, the location-attribute acquisition module 26 may also request attributes of adjacent locations, such as adjacent tiles, from the geographic information system 18 so that the user-attribute updater 28 can determine whether a signal from a given tile is consistent with that of surrounding tiles for assessing the reliability of various indications.
The acquired location histories and location attributes may be provided by modules 24 and 26 to the user-attribute updater 28, which in some embodiments, is configured to generate user profiles based on this data. In some cases, the user-attribute updater 28 is operative to perform portions of the processes of FIG. 2 or 3, described in detail below, and attach attributes of places visited by users to the profile of those users. These profiles may be stored by the user attribute updater 28 in the user-profile datastore 14.
The user profile datastore 14 may be operative to store user profiles and, in some embodiments, address queries for data in the user profiles. The illustrated user-profile datastore 14 includes a plurality of user-profile records, each record corresponding to the profile of a given user or a given mobile device 16. Each user-profile record may include an identifier of the record (which may be a value otherwise uncorrelated with the identity of the user to enhance privacy), and an identifier of the source or sources of the location histories from which the profile was created such that subsequent location histories can be matched with the profile (e.g. a account associated with a special-purpose application, a cell phone number, or some other value, which may be hashed to enhance user privacy).
Each user-profile record may also include a plurality of profile time records indicating attributes of the user profile at different times during some cycle of time (e.g., portions of the week or month, or during other periods like those described above with reference to the geographic information system 18). In some cases, the profile-time records may correspond to the same durations of time as those of the time-tile records described above. Each profile-time record may include an indication of the duration of time being described (e.g. Thursday's at dinnertime, or Saturday midmorning) and a plurality of profile attribute records, each profile attribute record indicating the propensity of the corresponding user to engage in an activity described by the attribute during the corresponding time of the profile-time record. The profile time records may allow tracking of when users tend to engage in a given activity (time of day, day of week, week of year). In some embodiments, the profile attribute records correspond to the same set of attribute records described above with reference to the geographic information system 18. Each profile-attribute record may include an indication of the attribute being characterized (e.g., attending a children's soccer game, having brunch at a fast-casual dining establishment, parent running errands, or shopping at a mall) and a score indicating the propensity of the user to engage in the activity at the corresponding time, such as a normalized value from 0 to 10. The attribute records may further include a sample size, indicative of the number of samples upon which the attribute score is based, for weighting new samples, and a measure of variance among these samples (e.g., a standard deviation) for identifying outliers.
As described below, the user-profile records may be used for a variety of purposes. For example, advertisers operating ad servers 22 may submit to the user-profile datastore 14 a query identifying one of the user-profile records, such as the above-mentioned hashed value of a user account number or phone number, and the user-profile datastore 14 may respond with the attributes of the corresponding user at the current time. In some embodiments, to further enhance user privacy, queries may be submitted for a specific attribute to determine whether to serve an advertisement corresponding to the attribute, or a query may request a binary indication of whether the attribute score is above a threshold.
In another example, the user-profile datastore 14 may be used by the user profiler 12 to augment the records in the geographic information system 18. For example, an index may be created for each attribute that identifies tiles where users having relatively strong scores (e.g. above a threshold) for the respective attribute tend to co-occur at given times. These indices may correspond to heat maps (though no visual representation need be created) indicating where, for example, users interested in golf, tend to be during various times of the day, such that advertisers can select advertisements based on this information. In some embodiments, an index may be created for each user attribute at each of the above-described divisions of time in the geographic information system 18, and these indices may be queried to provide relatively prompt responses relating to where users having a given attribute or combination of attributes tend to co-occur at various times. Precalculating the indices is expected to yield faster responses to such queries than generating responsive data at the time the query is received. For instance, using examples of these indices relating to fishing and employment in banking, an advertiser may determine that people who engage in fishing on the weekend and work in banking tend to drive relatively frequently along a particular stretch of road on Mondays during the evening commute, and that advertiser may purchase an advertisement for bass fishing boats on a billboard along that road in response. Other examples relating to customization of software and services and other forms of analysis are described in greater detail below.
In short, some embodiments of the computing environment 10 generate user profiles that are relatively privacy-friendly to users and consume relatively little effort on the part of users or others to create the profiles. These advantages are expected to yield a relatively comprehensive set of relatively high-resolution user profiles that may be used by advertisers and others seeking to provide information and services customized to the unique attributes of each user, facilitating the presentation of high-value and high-relevance advertisements and services to users while respecting the users' interest in privacy. That said, not all embodiments provide these benefits, and some embodiments may forgo some or all of these embodiments in the interest of various engineering trade-offs relating to time, cost, and features.
FIG. 2 illustrates an embodiment of a process 30 that may be performed by the above-describes user profiler 12. The steps of the process 30 (and other processes described herein) may be performed in a different order than the order in which the steps are described. In some embodiments, the process 30 includes obtaining a location history of a user, as illustrated by block 32. This step may be performed by the above-described location-history acquisition module 24. As noted above, location histories may be obtained from a plurality of different providers of location histories, and the location histories may be reformatted into a common format for subsequent processing.
The process 30 of this embodiment further includes obtaining a location-attribute score of a location identified in, or inferred from, the location history, as indicated by block 34. This step may be performed by the above-described location-attribute acquisition module 26. The location-attribute score may be one of a plurality of scores corresponding to a time-tile record described above.
In some embodiments, locations identified in the location history may be relatively sparse, and intermediate locations between those explicitly identified may be inferred. For example, the user profiler 12 may determine that two locations are more than a threshold amount of time apart and a threshold distance apart, indicating that the user likely traveled between the location during the intermediate time. In response, the user profiler 12 may query the geographic information system 18 for locations associated with travel, such as locations corresponding to an interstate highway, between the two locations, and the locations along the interstate highway (or associated with some other mode of travel) may be added to the location history at the intermediate times as inferred locations. Inferring intermediate locations is expected to yield a more comprehensive characterization of the user's profile.
In some embodiments, the process 30 further includes determining a user-attribute score based on the location attribute score, as indicated by block 36. Determining a user-attribute score may include incrementing a sample size for the corresponding attribute in the user profile and calculating an updated average attribute score. An average is one of a variety of different forms of measures of central tendency that may be used to determine the user-attribute score. In other embodiments, previous attribute scores of locations visited by the user may be stored in memory, and a median or mode score may be calculated using the newly obtained location-attribute score and those stored in memory. Thus, deviations indicating one-time instance in which the user engaged in a particular activity will tend to have a relatively small effect on the user profile, as previous location histories will likely indicate a relatively low propensity to engage in a particular activity and dilute the effect of a single instance.
In some embodiments, the process 30 further includes storing the user-attribute score in a user-profile datastore, as indicated by block 38. As noted above, this may include updating indices corresponding to various attributes in a geographic information system, and the stored user profiles may be queried by advertisers and others seeking to provide targeted messaging and services. Targeting may be toward specific users who are profiled or to the places profiled users visit or based on patterns in attribute scores among profiled users.
FIG. 3 illustrates another embodiment of a process 40 for generating user profiles. This process may be performed by the above-mentioned user profiler 12. The illustrated process begins with receiving a location history of a user device from an application executed on the device, as illustrated by block 42. Next, intermediate locations are inferred between locations in the location history, as indicated by block 44. As noted above, some embodiments may identify gaps in the location history and infer intermediate locations based on attributes of tiles between the boundaries of the gap, selecting, for example, intermediate tiles associated with transit. In this embodiment, the process 40 includes determining whether there are any un-analyzed locations in the location history, as indicated by block 46. Upon determining that no such locations remain, the process completes. Alternatively, upon determining that locations remain to be analyzed, the process 40 in this embodiment proceeds to identify a time-bin corresponding to a time-stamp of the next location in the location history, as indicated by block 48. The time-bin may be one of the above-describes durations of time by which tiles or user profiles are characterized. The corresponding time bin may be the time bin in which the timestamp of the use location falls. Next, this embodiment of process 40 includes querying a geographic information system for tile records of the tiles corresponding to the location and adjacent tiles, as indicated by block 50.
In some embodiments, the process 40 further includes determining whether the user is likely at an adjacent location, as indicated by block 52. Such a determination may include making the determination based on the attributes of the adjacent tiles or density scores for the tiles corresponding to the timestamp of the user location in question. For example, attribute scores for the location in the location history may indicate that less than a threshold amount of user activity occurs within the tile corresponding to that location (e.g., a density value indicative of the number of people in the tile may be below a threshold), while attribute scores for one of the adjacent tiles may indicate a relatively high density or amount of activity (e.g., more than a threshold, or more than a threshold difference from the adjacent tile) for one or more attributes. In response to this difference, it may be determined that the location in the location history is in error (for instance, due to an inaccurate GPS reading), and the adjacent location may be selected as being a more likely location of the user. Some embodiments may select the adjacent location having the highest density or aggregation of attribute scores, for example. Thus, some embodiments may designate the adjacent location as the user location, as indicated by block 54, or in response to a negative determination in block 52, some embodiments may proceed to the next step without such a designation occurring.
Embodiments may further include determining whether adjacent tiles have similar location-attribute scores, as indicated by block 56. Because location measurements by mobile devices are often relatively inaccurate, there is some risk that the user is not at the location identified and is instead in an adjacent tile. However, if the adjacent tiles have similar attribute scores, those attributes can be attributed to the user with a relatively high degree of confidence regardless of whether the user is in the exact tile identified by the location in the location history. Accordingly, some embodiments may determine whether the adjacent tiles have similar location attribute scores (at the time in question for the user location), for example attribute scores less than a threshold difference for more than a threshold number of attributes. Other embodiments may calculate a confidence score based on the similarity of adjacent tiles and weight the modification of the user profile based on the confidence score, down weighting signals in instances in which the adjacent tiles are relatively different from one another, or a binary determination may be made as illustrated in FIG. 3. Upon determining that adjacent tiles do not have similar location-attribute scores, some embodiments return to block 46. Alternatively, the process may proceed to the next step.
Some embodiments of process 40 may include determining whether the location-attribute score is an outlier for the user, as indicated by block 58. This step may include iterating through each location attribute score of the user's location and comparing that attribute score at the time in question to a corresponding attribute score in the users profile to identify uncharacteristic behavior indicative of a potentially misleading signal. In some embodiments, attributes may be designated as an outlier in response to the location attribute score exceeding a threshold difference from the average, for example location attribute scores more than three standard deviations higher or lower than the average attribute score in the user profile for a given attribute. In some embodiments, the determination of step 58 is made for each of a plurality of attributes of the location, and those attributes deemed to be outliers may be filtered before proceeding to the next step, or some embodiments may return to step 46 in response to the detection of an outlier. Some implementations may use a similarity model to detect inaccurate signals in acquired location histories. Using such models, embodiments may filter out questionable location readings so as not to pollute profile development. For instance, a reliability database similar to the GIS may be referenced during profile analysis by submitting a query with metadata about entries in a location history (e.g., publisher, time of day, location, OS, device type, location determination method (e.g. GPS vs. WiFiTM or other wireless network)). The reliability database may provide a response indicative of the predicted level of accuracy of the incoming location. The reliability database may store data from sources know to be reliable, and this data may indicate expected levels of activity at a location. If a specific data set diverges significantly from this (e.g., attribute scores for a tile are more than a threshold amount different from those in the reliability database), in response, the user profiler may flag the location history as likely being less accurate, and based on such flags, the data may be discarded or changes to user profiles may be down weighted.
Upon determining that the location-attribute score is not an outlier, the process 40 proceeds to step 60, and a mean user-attribute score is updated based on the location-attribute score. Updating the user-attribute score may include updating each of a plurality of user-attribute scores based on a plurality of location-attribute scores that were not filtered out in step 58. Updating the user-attribute score may include multiplying the current score by a count of measurements upon which that score is based, adding to the resulting product the location-attribute score, and dividing this some by the count plus one to calculate a new average user-attribute score. This value and incremented version of the count may be stored in a corresponding attribute record in the user profile.
The process 40 may be repeated for each of a relatively large number of location histories, each location history corresponding to a different user profile. The process 40 may be repeated periodically, for example nightly, weekly, or monthly to update user profiles and instantiate new user profiles. The resulting user profiles may be stored in the above-mentioned user-profile datastore 14.
In some cases, after updating user profiles, various indices may be formed to expedite certain queries to the geographic information system 18. For example, some embodiments may form an index keyed to each attribute for which a score is maintained in the tile records or the user-profile records. For example, embodiments may calculate an index that identifies each tile in which users having more than a threshold score for a given attribute co-occur during one of the above-described time bins (e.g., by multiplying a density score for each tile with an attribute score and thresholding the resulting product). This index may be used to relatively quickly determine whether a given geographic area at a given time is correlated with a given attribute and has a high density of people exhibiting behavior described by that attribute. Further, some embodiments may use such an index to identify geographic areas in which a collection of attributes are relatively strong, for instance determining the union of the set of values corresponding to each of a plurality of different attributes to identify, for instance, where users associated with golfing, fishing, and tourism are at a relatively high concentration on mid-afternoons on Sundays.
Embodiments of the process 40 may be performed concurrently on multiple computing devices to expedite calculations. For instance, a master computing device may iterate through a list of user device identifiers and assign profiling tasks to each of a plurality of profiling computing devices, each of which determine corresponding profiles for different users at the same time. Using similar techniques, the formation of indices may also be parallelized. For instance, each attribute may be assigned to a different set of computing devices, and that set of computing devices may identify the areas in which the attribute has certain criteria (e.g., greater than a threshold amount of activity), while other sets of computing devices perform the same task for different attributes. Such concurrent operations are expected to facilitate faster computation of profiles and indices than would otherwise be achieved, though not all embodiments provide for concurrent operations.
Other uses of concurrency may expedite data retrieval. For instance, querying a GIS once for each user event (e.g., a particular user being present in a tile at during a particular window of time) may be relatively slow, as the number of such events can be very large. To expedite retrieval from the GIS, some embodiments may group events to reduce queries. Such embodiments may include a master computing device (e.g., a virtualized or physical computing instance) that maps each tile to one of a plurality of other computing devices (e.g., a virtualized or physical computing instance) and instructs those devices (e.g., over a local area network in a data center) to gather data from the GIS about events occurring in their respective assigned tile or tiles. In response, the other computing devices may each filter the user events occurring within their respective tile from the obtained location histories, each forming an event group of events occurring within an assigned tile, and submit one or more queries to the GIS for attributes of the tile during relevant time periods corresponding to user events in the group (e.g., when a user was in the tile). After the responsive data is retrieved, the other computing devices may then iterate through each user having user events in the event group and join the responsive GIS data for each user with the corresponding user profile. Thus a single query, or one query per time period in question, may retrieve relevant data for a plurality of user events, thereby reducing the number of queries to the GIS and expediting analysis of user histories. Further, parallelizing the analysis for different tiles across multiple computing devices is expected to further expedite such analyses.
Further, in the above example of concurrent operation in which different tiles are assigned to different computing devices, each of the other computing devices holds in memory user profiles for users passing through the tile. This user profile data may be aggregated to calculate or update a count for the tile at a particular window of time, e.g., by counting the number of user profiles corresponding to the tile at a particular time and having a particular attribute, such as an attribute score greater than a threshold. Again, concurrent operation is expected to expedite analysis, and aggregating the user profile data corresponding to the respective tiles while this data is in memory for purposes of updating the user profiles is expected to reduce calls to the user-profile data store and speed analysis.
In some embodiments, analysis of user profiles is parallelized according to the combination of user profile and attribute, such that different computing devices analyze different attributes for a given user concurrently and different computing devices analyze different users concurrently (e.g., mapping user A, attribute X to device 1; user A, attribute Y to device 2; user B, attribute X to device 3; etc.). Again, a master computing device may map profile-attribute pairs to each of a plurality of other computing devices and instruct those devices (e.g., over a local area network in a data center) to sum the counts for those attributes for those users across all of the tiles having data for those users. For instance, the above technique may be used to analyze each of a plurality of tiles concurrently with different computing devices mapped to different tiles, and then the technique of this paragraph may be used to aggregate this data for each user profile/attribute pair across the tiles, e.g., by querying the devices analyzing tiles for data about a given user and attribute and summing (or otherwise aggregating) the responses. Again, this technique is expected to offer relatively fast concurrent operation and reduce calls to data stores that might otherwise slow the analysis.
The user-profiles resulting from the above describe processes and systems may be used in a variety of contexts. For example, as noted above, advertisements may be selected based on the user profiles. In another example, the user profiles may be used to do market research, for example, by identifying which attributes score relatively high at each of a business's locations at certain times to characterize the customers of that business. In another example, the user profiles may be used to customize the look and feel or operation of software operated by the user, for instance configuring application differently for a user known to have children relative to the look, feel, or operation presented to a user who has attribute scores that indicate that user likely does not have children.
Thus, the above-describes processes may yield user profiles in an automated fashion, at relatively low expense, and in a privacy friendly manner. Associating attributes of geographic locations visited by the user to the user's profile, and accounting for the time of day at the geographic location, and for the user, are expected to yield relatively accurate user profiles that account for the different ways people behave during different times of the day. Further, inferring intermediate locations is expected to yield a relatively high resolution characterization of users, and determining whether the user is at an adjacent location, whether adjacent locations have consistent attributes, and whether the attributes of a given location are outliers for the user are expected to further improve the quality of the user profile. It should be noted, however, that not all embodiments provide these benefits.
FIG. 4 is a diagram that illustrates an exemplary computing system 1000 in accordance with embodiments of the present technique. Various portions of systems and methods described herein, may include or be executed on one or more computer systems similar to computing system 1000. Further, processes and modules described herein may be executed by one or more processing systems similar to that of computing system 1000.
Computing system 1000 may include one or more processors (e.g., processors 1010a-1010n) coupled to system memory 1020, an input/output I/O device interface 1030 and a network interface 1040 via an input/output (I/O) interface 1050. A processor may include a single processor or a plurality of processors (e.g., distributed processors). A processor may be any suitable processor capable of executing or otherwise performing instructions. A processor may include a central processing unit (CPU) that carries out program instructions to perform the arithmetical, logical, and input/output operations of computing system 1000. A processor may execute code (e.g., processor firmware, a protocol stack, a database management system, an operating system, or a combination thereof) that creates an execution environment for program instructions. A processor may include a programmable processor. A processor may include general or special purpose microprocessors. A processor may receive instructions and data from a memory (e.g., system memory 1020). Computing system 1000 may be a uni-processor system including one processor (e.g., processor 1010a), or a multi-processor system including any number of suitable processors (e.g., 1010a-1010n). Multiple processors may be employed to provide for parallel or sequential execution of one or more portions of the techniques described herein. Processes, such as logic flows, described herein may be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating corresponding output. Processes described herein may be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit). Computing system 1000 may include a plurality of computing devices (e.g., distributed computer systems) to implement various processing functions.
I/O device interface 1030 may provide an interface for connection of one or more I/O devices 1060 to computer system 1000. I/O devices may include devices that receive input (e.g., from a user) or output information (e.g., to a user). I/O devices 1060 may include, for example, graphical user interface presented on displays (e.g., a cathode ray tube (CRT) or liquid crystal display (LCD) monitor), pointing devices (e.g., a computer mouse or trackball), keyboards, keypads, touchpads, scanning devices, voice recognition devices, gesture recognition devices, printers, audio speakers, microphones, cameras, or the like. I/O devices 1060 may be connected to computer system 1000 through a wired or wireless connection. I/O devices 1060 may be connected to computer system 1000 from a remote location. I/O devices 1060 located on remote computer system, for example, may be connected to computer system 1000 via a network and network interface 1040.
Network interface 1040 may include a network adapter that provides for connection of computer system 1000 to a network. Network interface may 1040 may facilitate data exchange between computer system 1000 and other devices connected to the network. Network interface 1040 may support wired or wireless communication. The network may include an electronic communication network, such as the Internet, a local area network (LAN), a wide area (WAN), a cellular communications network or the like.
System memory 1020 may be configured to store program instructions 1100 or data 1110. Program instructions 1100 may be executable by a processor (e.g., one or more of processors 1010a-1010n) to implement one or more embodiments of the present techniques. Instructions 1100 may include modules of computer program instructions for implementing one or more techniques described herein with regard to various processing modules. Program instructions may include a computer program (which in certain forms is known as a program, software, software application, script, or code). A computer program may be written in a programming language, including compiled or interpreted languages, or declarative or procedural languages. A computer program may include a unit suitable for use in a computing environment, including as a stand-alone program, a module, a component, a subroutine. A computer program may or may not correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program may be deployed to be executed on one or more computer processors located locally at one site or distributed across multiple remote sites and interconnected by a communication network.
System memory 1020 may include a tangible program carrier having program instructions stored thereon. A tangible program carrier may include a non-transitory computer readable storage medium. A non-transitory computer readable storage medium may include a machine readable storage device, a machine readable storage substrate, a memory device, or any combination thereof. Non-transitory computer readable storage medium may include, non-volatile memory (e.g., flash memory, ROM, PROM, EPROM, EEPROM memory), volatile memory (e.g., random access memory (RAM), static random access memory (SRAM), synchronous dynamic RAM (SDRAM)), bulk storage memory (e.g., CD-ROM and/or DVD-ROM, hard-drives), or the like. System memory 1020 may include a non-transitory computer readable storage medium may have program instructions stored thereon that are executable by a computer processor (e.g., one or more of processors 1010a-1010n) to cause the subject matter and the functional operations described herein. A memory (e.g., system memory 1020) may include a single memory device and/or a plurality of memory devices (e.g., distributed memory devices). In some embodiments, the program may be conveyed by a propagated signal, such as a carrier wave or digital signal conveying a stream of packets.
I/O interface 1050 may be configured to coordinate I/O traffic between processors 1010a-1010n, system memory 1020, network interface 1040, I/O devices 1060 and/or other peripheral devices. I/O interface 1050 may perform protocol, timing or other data transformations to convert data signals from one component (e.g., system memory 1020) into a format suitable for use by another component (e.g., processors 1010a-1010n). I/O interface 1050 may include support for devices attached through various types of peripheral buses, such as a variant of the Peripheral Component Interconnect (PCI) bus standard or the Universal Serial Bus (USB) standard.
Embodiments of the techniques described herein may be implemented using a single instance of computer system 1000, or multiple computer systems 1000 configured to host different portions or instances of embodiments. Multiple computer systems 1000 may provide for parallel or sequential processing/execution of one or more portions of the techniques described herein.
Those skilled in the art will appreciate that computer system 1000 is merely illustrative and is not intended to limit the scope of the techniques described herein. Computer system 1000 may include any combination of devices or software that may perform or otherwise provide for the performance of the techniques described herein. For example, computer system 1000 may include or be a combination of a cloud-computing system, a data center, a server rack, a server, a virtual server, a desktop computer, a laptop computer, a tablet computer, a server device, a client device, a mobile telephone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a vehicle-mounted computer, or a Global Positioning System (GPS), or the like. Computer system 1000 may also be connected to other devices that are not illustrated, or may operate as a stand-alone system. In addition, the functionality provided by the illustrated components may in some embodiments be combined in fewer components or distributed in additional components. Similarly, in some embodiments, the functionality of some of the illustrated components may not be provided or other additional functionality may be available.
Those skilled in the art will also appreciate that, while various items are illustrated as being stored in memory or on storage while being used, these items or portions of them may be transferred between memory and other storage devices for purposes of memory management and data integrity. Alternatively, in other embodiments some or all of the software components may execute in memory on another device and communicate with the illustrated computer system via inter-computer communication. Some or all of the system components or data structures may also be stored (e.g., as instructions or structured data) on a computer-accessible medium or a portable article to be read by an appropriate drive, various examples of which are described above. In some embodiments, instructions stored on a computer-accessible medium separate from computer system 1000 may be transmitted to computer system 1000 via transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as a network or a wireless link. Various embodiments may further include receiving, sending or storing instructions or data implemented in accordance with the foregoing description upon a computer-accessible medium. Accordingly, the present invention may be practiced with other computer system configurations.
It should be understood that the description and the drawings are not intended to limit the invention to the particular form disclosed, but to the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present invention as defined by the appended claims. Further modifications and alternative embodiments of various aspects of the invention will be apparent to those skilled in the art in view of this description. Accordingly, this description and the drawings are to be construed as illustrative only and are for the purpose of teaching those skilled in the art the general manner of carrying out the invention. It is to be understood that the forms of the invention shown and described herein are to be taken as examples of embodiments. Elements and materials may be substituted for those illustrated and described herein, parts and processes may be reversed or omitted, and certain features of the invention may be utilized independently, all as would be apparent to one skilled in the art after having the benefit of this description of the invention. Changes may be made in the elements described herein without departing from the spirit and scope of the invention as described in the following claims. Headings used herein are for organizational purposes only and are not meant to be used to limit the scope of the description.
As used throughout this application, the word “may” is used in a permissive sense (i.e., meaning having the potential to), rather than the mandatory sense (i.e., meaning must). The words “include”, “including”, and “includes” and the like mean including, but not limited to. As used throughout this application, the singular forms “a”, “an” and “the” include plural referents unless the content explicitly indicates otherwise. Thus, for example, reference to “an element” or “a element” includes a combination of two or more elements, notwithstanding use of other terms and phrases for one or more elements, such as “one or more.” The term “or” is, unless indicated otherwise, non-exclusive, i.e., encompassing both “and” and “or.” Terms describing conditional relationships, e.g., “in response to X, Y,” “upon X, Y,”, “if X, Y,” “when X, Y,” and the like, encompass causal relationships in which the antecedent is a necessary causal condition, the antecedent is a sufficient causal condition, or the antecedent is a contributory causal condition of the consequent, e.g., “state X occurs upon condition Y obtaining” is generic to “X occurs solely upon Y” and “X occurs upon Y and Z.” Such conditional relationships are not limited to consequences that instantly follow the antecedent obtaining, as some consequences may be delayed, and in conditional statements, antecedents are connected to their consequents, e.g., the antecedent is relevant to the likelihood of the consequent occurring. Further, unless otherwise indicated, statements that one value or action is “based on” another condition or value encompass both instances in which the condition or value is the sole factor and instances in which the condition or value is one factor among a plurality of factors. Unless specifically stated otherwise, as apparent from the discussion, it is appreciated that throughout this specification discussions utilizing terms such as “processing”, “computing”, “calculating”, “determining” or the like refer to actions or processes of a specific apparatus, such as a special purpose computer or a similar special purpose electronic processing/computing device. In the context of this specification, a special purpose computer or a similar special purpose electronic processing or computing device is capable of manipulating or transforming signals, for instance signals represented as physical electronic, optical, or magnetic quantities within memories, registers, or other information storage devices, transmission devices, or display devices of the special purpose computer or similar special purpose processing or computing device.

## Claims

1. A method of profiling a user of a mobile computing device, the method comprising:
obtaining a location history of a user, the location history being based on signals from a mobile computing device of the user;
obtaining a location-attribute score of a location identified in, or inferred from, the location history;
determining, with a computer, a user-attribute score based on the location-attribute score; and
storing the user-attribute score in a user-profile datastore, wherein:
the location history comprises an list of geolocation records, each geolocation record including geographic coordinates expressed as a latitude and longitude and a time at which the mobile computing device was at the respective coordinates, each geolocation record being obtained by an end-user portable device having access to a location identifying service;
obtaining a location-attribute score comprises:
inferring locations between locations identified in the location history;
for each identified or inferred location, retrieving respective tile records from a GIS, the tile records corresponding to a tile in which the respective location is disposed and adjacent tiles, each tile record corresponding to a geographic area of between 100 square meters and 100,000 square meters and being associated with one or more location-attribute scores, each location-attribute score corresponding to an activity of interest to advertisers and ordinal values indicative of a likelihood that a user is engaged in the respective activity in the tile during each of a plurality of time-bins, the time-bins defining different subsets of a week;

determining a user-attribute score comprises:
determining that location attribute scores for the tile records for the time-bin in which the user was at the location are consistent among the adjacent tiles; and
in response, determining a plurality of user-attribute scores corresponding the location-attribute scores, the respective user-attribute score being an average of the corresponding location-attribute score for a time-bin including the time at which the user was a the location and previous scores for the attribute from other locations;

storing the user-attribute score comprises:
storing the averaged user-attribute scores in a user profile in the user-profile datastore, user profile being stored on a tangible, non-transitory, machine-readable medium, and the user-profile datastore being operative to respond to queries from advertisers for data relevant to the selection of advertisements;

receiving a query for data relevant to the selection of advertisements; and
responding to the query based on responsive data stored in the user-profile datastore.

2. A tangible, machine-readable, non-transitory medium storing instructions that when executed by a data processing apparatus, cause the data processing apparatus to perform operations comprising:
obtaining a location history of a user, the location history being based on signals from a mobile computing device of the user;
obtaining a location-attribute score of a location identified in, or inferred from, the location history;
determining a user-attribute score based on the location-attribute score; and
storing the user-attribute score in a user-profile datastore, wherein:
the location history comprises an list of geolocation records, each geolocation record including geographic coordinates expressed as a latitude and longitude and a time at which the mobile computing device was at the respective coordinates, each geolocation record being obtained by an end-user portable device having access to a location identifying service;
obtaining a location-attribute score comprises:
inferring locations between locations identified in the location history;
for each identified or inferred location, retrieving respective tile records from a GIS, the tile records corresponding to a tile in which the respective location is disposed and adjacent tiles, each tile record corresponding to a geographic area of between 100 square meters and 100,000 square meters and being associated with one or more location-attribute scores, each location-attribute score corresponding to an activity of interest to advertisers and ordinal values indicative of a likelihood that a user is engaged in the respective activity in the tile during each of a plurality of time-bins, the time-bins defining different subsets of a week;

determining a user-attribute score comprises:
determining that location attribute scores for the tile records for the time-bin in which the user was at the location are consistent among the adjacent tiles; and
in response, determining a plurality of user-attribute scores corresponding the location-attribute scores, the respective user-attribute score being an average of the corresponding location-attribute score for a time-bin including the time at which the user was a the location and previous scores for the attribute from other locations;

storing the user-attribute score comprises:
storing the averaged user-attribute scores in a user profile in the user-profile datastore, user profile being stored on a tangible, non-transitory, machine-readable medium, and the user-profile datastore being operative to respond to queries from advertisers for data relevant to the selection of advertisements;

receiving a query for data relevant to the selection of advertisements; and
responding to the query based on responsive data stored in the user-profile datastore.

3. A system, comprising:
one or more processors; and
memory storing instructions that when executed by the processors cause the processors to perform operations comprising:
obtaining a location history of a user, the location history being based on signals from a mobile computing device of the user;
obtaining a location-attribute score of a location identified in, or inferred from, the location history;
determining a user-attribute score based on the location-attribute score; and
storing the user-attribute score in a user-profile datastore, wherein:
the location history comprises an list of geolocation records, each geolocation record including geographic coordinates expressed as a latitude and longitude and a time at which the mobile computing device was at the respective coordinates, each geolocation record being obtained by an end-user portable device having access to a location identifying service;
obtaining a location-attribute score comprises:
inferring locations between locations identified in the location history;
for each identified or inferred location, retrieving respective tile records from a GIS, the tile records corresponding to a tile in which the respective location is disposed and adjacent tiles, each tile record corresponding to a geographic area of between 100 square meters and 100.000 square meters and being associated with one or more location-attribute scores, each location-attribute score corresponding to an activity of interest to advertisers and ordinal values indicative of a likelihood that a user is engaged in the respective activity in the tile during each of a plurality of time-bins, the time-bins defining different subsets of a week;

determining a user-attribute score comprises:
determining that location attribute scores for the tile records for the time-bin in which the user was at the location are consistent among the adjacent tiles; and
in response, determining a plurality of user-attribute scores corresponding the location-attribute scores, the respective user-attribute score being an average of the corresponding location-attribute score for a time-bin including the time at which the user was a the location and previous scores for the attribute from other locations;

storing the user-attribute score comprises:
storing the averaged user-attribute scores in a user profile in the user-profile datastore, user profile being stored on a tangible, non-transitory, machine-readable medium, and the user-profile datastore being operative to respond to queries from advertisers for data relevant to the selection of advertisements;

receiving a query for data relevant to the selection of advertisements; and
responding to the query based on responsive data stored in the user-profile datastore.

4. The system of claim 3, wherein:
obtaining a location-attribute score of a location comprises:
mapping a location in the location history to a tile in a geographic information system (GIS), the tile being a quantization of a geographic area described by the GIS and including the location; and
retrieving a list of tile-attribute scores for the tile from the GIS, the tile-attribute scores each describing a potential activity of a user while in the tile and a statistical likelihood that a user is engaging in the activity based on behavior of other users while in the tile.

5. The system of claim 3, wherein determining a user-attribute score comprises:
determining a user-attribute score for a user-profile time-bin, the user profile being divided into a plurality of time-bins, with the same attribute having different values in different time-bins of the user profile, the different values corresponding to a propensity of the user to engage in an activity described by the attribute during a time within a given time-bin.

6. The system of claim 3, wherein determining a user-attribute score comprises:
identifying a time-bin of a profile of the user, the time-bin corresponding to a time at which the user was at the location, the user profile having a plurality of time-bins; and
determining a user-attribute score corresponding to the identified time-bin.

7. The system of claim 3, wherein obtaining a location-attribute score comprises:
identifying a time-bin of a record in a GIS, the record corresponding to the location, and the time-bin corresponding to a time at which the user was at the location; and
determining a user-attribute score based on an attribute score of the identified time-bin of the location.

8. The system of claim 3, wherein the location-attribute score is a time-bin specific score for the location, and wherein the user-attribute score is a time-bin specific score for the user based on the location history.

9. The system of claim 3, wherein each user is associated with a plurality of scores for the attribute, each score corresponding to a different duration of time during the week.

10. The system of claim 3, wherein obtaining a location-attribute score of a location identified in, or inferred from, the location history comprises:
identifying a first tile in a GIS, the first tile defining a geographic area including the location identified in the location history.

11. The system of claim 10, wherein identifying a tile comprises:
determining that the user is located in a second tile, adjacent the first tile, based on attribute scores of both the first tile and the second tile.

12. The system of claim 3, wherein obtaining a location-attribute score of a location comprises:
obtaining an initial location of the user at an initial time;
obtaining a subsequent location of the user at a subsequent time, the subsequent time being more than one minute after the initial time;
inferring an intermediate location of the user at an intermediate time based on attributes of locations between the initial location and the subsequent location; and
obtaining a location-attribute score of the intermediate location.

13. The system of claim 12, wherein the intermediate location is associated with a confidence score indicative of a likelihood that the user was at the intermediate location, and wherein the user attribute score is calculated by weighting the location-attribute score with the confidence score.

14. The system of claim 3, wherein determining a user-attribute score based on the location-attribute score comprises:
calculating a measure of central tendency using the location-attribute score and scores for the attribute from previous locations of the user.

15. The system of claim 3, wherein determining a user-attribute score based on the location-attribute score comprises:
determining that the location-attribute score is not an outlier relative to scores for the attribute from previous locations of the user; and
in response, calculating an average of the location-attribute score and scores for the attribute from previous locations of the user.

16. The system of claim 3, wherein determining a user-attribute score based on the location-attribute score comprises:
determining that adjacent locations have attribute scores consistent with the location-attribute score; and
in response, calculating the user-attribute score based on the location-attribute score.

17. The system of claim 16, wherein determining that adjacent locations have attribute scores consistent with the location-attribute score comprises:
determining more than a threshold amount of adjacent tiles have scores for the attribute within a threshold difference from the location-attribute score.

18. The system of claim 3, the operations comprising:
determining user-attribute scores for a plurality of attributes of a plurality of users based on location histories of the plurality of users and attributes of locations identified by the location histories; and
storing the user-attribute scores in a plurality of corresponding user profiles in the user-profile datastore.

19. The system of claim 3, wherein:
the time-bins define different subsets of a week, including a weekday morning bin, a weekday lunch-time bin, and a weekend evening bin, and the attributes include the user being at work, the user engaging in sports, the user shopping, and the user engaging in tourism.

20. The system of claim 3, comprising:
obtaining user profiles of users at each of a plurality of locations corresponding to a business; and
aggregating attributes of the user profiles to characterize the business.

21. The system of claim 3, the operations comprising:
obtaining a user profile of a user operating an application; and
customizing the application based on the user profile.