The present disclosure relates to crowd formation and more specifically relates to identifying a location for a new crowd of users, selecting users to attract to the new crowd at the location, and attracting the users to the new crowd at the location.
Location-Based Services (LBSs) are becoming prolific as a result of mobile smartphone devices such as, for example, the Apple® iPhone and smartphones utilizing the Google® Android mobile operating system. One such LBS is described in U.S. patent application Ser. No. 12/645,532, entitled FORMING CROWDS AND PROVIDING ACCESS TO CROWD DATA IN A MOBILE ENVIRONMENT, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,539, entitled ANONYMOUS CROWD TRACKING, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,535, entitled MAINTAINING A HISTORICAL RECORD OF ANONYMIZED USER PROFILE DATA BY LOCATION FOR USERS IN A MOBILE ENVIRONMENT, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,546, entitled CROWD FORMATION FOR MOBILE DEVICE USERS, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,556, entitled SERVING A REQUEST FOR DATA FROM A HISTORICAL RECORD OF ANONYMIZED USER PROFILE DATA IN A MOBILE ENVIRONMENT, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,560, entitled HANDLING CROWD REQUESTS FOR LARGE GEOGRAPHIC AREAS, which was filed Dec. 23, 2009; and U.S. patent application Ser. No. 12/645,544, entitled MODIFYING A USER'S CONTRIBUTION TO AN AGGREGATE PROFILE BASED ON TIME BETWEEN LOCATION UPDATES AND EXTERNAL EVENTS, which was filed Dec. 23, 2009; all of which are commonly owned and assigned and are hereby incorporated herein by reference in their entireties. One feature provided by this LBS is analyzing the current locations of users in order to form or identify existing crowds of users and determining aggregate profile data for those crowds. The locations of the crowds and the aggregate profiles of the crowds may then be presented to users of the LBS. However, in some situations, a user may wish to participate in a crowd, but there may be no crowds of interest to the user. As such, there is a need for a system and method that enables the creation of a new crowd having desired characteristics.
Systems and methods for creating new crowds of users are disclosed. In one embodiment, a number of geographically relevant Points of Interest (POIs) within a geographic bounding region in which the new crowd is to be created are identified. A POI for the new crowd is then selected from the geographically relevant POIs based on a crowd profile defined for the new crowd. Users to attract to the new crowd at the POI selected for the new crowd are selected based on the crowd profile defined for the new crowd, and the selected users are then attracted to the new crowd at the POI selected for the new crowd.
In one embodiment, the POI for the new crowd is selected by first identifying one or more potential POIs for the new crowd from the geographically relevant POIs based on a comparison of the crowd profile defined for the new crowd and profile data for the geographically relevant POIs. User input is then received that selects the POI for the new crowd from the one or more potential POIs identified for the new crowd. In another embodiment, the POI for the new crowd is automatically selected based on a comparison of the crowd profile defined for the new crowd and the profile data for the geographically relevant POIs. For each geographically relevant POI, the profile data for the geographically relevant POI includes user profiles of users currently located at the geographically relevant POI, user profiles of users currently located near the geographically relevant POI, user profiles of users predicted to be located at the geographically relevant POI during a relevant time window defined for the new crowd, user profiles of users predicted to be located near the geographically relevant POI during the relevant time window defined for the new crowd, aggregate profiles of crowds of users currently located at the geographically relevant POI, aggregate profiles of crowds of users currently located near the geographically relevant POI, aggregate profiles of crowds of users predicted to be located at the geographically relevant POI during a relevant time window defined for the new crowd, aggregate profiles of crowds of users predicted to be located near the geographically relevant POI during the relevant time window defined for the new crowd, and/or historical aggregate profile data for the geographically relevant POI.
Those skilled in the art will appreciate the scope of the present disclosure and realize additional aspects thereof after reading the following detailed description of the preferred embodiments in association with the accompanying drawing figures.
The accompanying drawing figures incorporated in and forming a part of this specification illustrate several aspects of the disclosure, and together with the description serve to explain the principles of the disclosure.
The embodiments set forth below represent the necessary information to enable those skilled in the art to practice the embodiments and illustrate the best mode of practicing the embodiments. Upon reading the following description in light of the accompanying drawing figures, those skilled in the art will understand the concepts of the disclosure and will recognize applications of these concepts not particularly addressed herein. It should be understood that these concepts and applications fall within the scope of the disclosure and the accompanying claims.
As discussed below in detail, the MAP server 12 operates to obtain current locations, including location updates, and user profiles of the users 20 of the mobile devices 18. The current locations of the users 20 can be expressed as positional geographic coordinates such as latitude-longitude pairs, and a height vector (if applicable), or any other similar information capable of identifying a given physical point in space in a two-dimensional or three-dimensional coordinate system. Using the current locations and user profiles of the users 20, the MAP server 12 is enabled to provide a number of features such as, but not limited to, maintaining a historical record of anonymized user profile data by location, generating aggregate profile data over time for a Point of Interest (POI) or Area of Interest (AOI) using the historical record of anonymized user profile data, identifying crowds of users using current locations and/or user profiles of the users 20, generating aggregate profiles for crowds of users, tracking crowds, and creating new crowds. Note that while the MAP server 12 is illustrated as a single server for simplicity and ease of discussion, it should be appreciated that the MAP server 12 may be implemented as a single physical server or multiple physical servers operating in a collaborative manner for purposes of redundancy and/or load sharing.
In general, the one or more profile servers 14 operate to store user profiles for a number of persons including the users 20 of the mobile devices 18. For example, the one or more profile servers 14 may be servers providing social network services such as the Facebook® social networking service, the MySpace® social networking service, the LinkedIN® social networking service, or the like. As discussed below, using the one or more profile servers 14, the MAP server 12 is enabled to directly or indirectly obtain the user profiles of the users 20 of the mobile devices 18. The location server 16 generally operates to receive location updates from the mobile devices 18 and make the location updates available to entities such as, for instance, the MAP server 12. In one exemplary embodiment, the location server 16 is a server operating to provide Yahoo!'s FireEagle service.
The mobile devices 18 may be mobile smart phones, portable media player devices, mobile gaming devices, or the like. Some exemplary mobile devices that may be programmed or otherwise configured to operate as the mobile devices 18 are the Apple® iPhone, the Palm Pre®, the Samsung Rogue™, the Blackberry Storm™, the Motorola Droid or similar phone running Google's Android™ Operating System, an Apple® iPad, and the Apple® iPod Touch® device. However, this list of exemplary mobile devices is not exhaustive and is not intended to limit the scope of the present disclosure.
The mobile devices 18-1 through 18-N include MAP clients 30-1 through 30-N (generally referred to herein as MAP clients 30 or individually as MAP client 30), MAP applications 32-1 through 32-N (generally referred to herein as MAP applications 32 or individually as MAP application 32), third-party applications 34-1 through 34-N (generally referred to herein as third-party applications 34 or individually as third-party application 34), and location functions 36-1 through 36-N (generally referred to herein as location functions 36 or individually as location function 36), respectively. The MAP client 30 is preferably implemented in software. In general, in the preferred embodiment, the MAP client 30 is a middleware layer operating to interface an application layer (i.e., the MAP application 32 and the third-party applications 34) to the MAP server 12. More specifically, the MAP client 30 enables the MAP application 32 and the third-party applications 34 to request and receive data from the MAP server 12. In addition, the MAP client 30 enables applications, such as the MAP application 32 and the third-party applications 34, to access data from the MAP server 12.
The MAP application 32 is also preferably implemented in software. The MAP application 32 generally provides a user interface component between the user 20 and the MAP server 12. More specifically, among other things, the MAP application 32 enables the user 20 to initiate requests for historical aggregate profile data and/or crowd data from the MAP server 12 and presents corresponding data returned by the MAP server 12 to the user 20. In one embodiment, the MAP application 32 enables the user 20 to initiate a process for creating a new crowd, as described below in detail. The MAP application 32 also enables the user 20 to configure various settings. For example, the MAP application 32 may enable the user 20 to select a desired social networking service (e.g., Facebook®, MySpace®, LinkedlN®, etc.) from which to obtain the user profile of the user 20 and provide any necessary credentials (e.g., username and password) needed to access the user profile from the social networking service.
The third-party applications 34 are preferably implemented in software. The third-party applications 34 operate to access the MAP server 12 via the MAP client 30. The third-party applications 34 may utilize data obtained from the MAP server 12 in any desired manner. As an example, one of the third-party applications 34 may be a gaming application that utilizes crowd data to notify the user 20 of POIs or AOIs where crowds of interest are currently located. It should be noted that while the MAP client 30 is illustrated as being separate from the MAP application 32 and the third-party applications 34, the present disclosure is not limited thereto. The functionality of the MAP client 30 may alternatively be incorporated into the MAP application 32 and the third-party applications 34.
The location function 36 may be implemented in hardware, software, or a combination thereof. In general, the location function 36 operates to determine or otherwise obtain the location of the mobile device 18. For example, the location function 36 may be or include a Global Positioning System (GPS) receiver.
The subscriber device 22 is a physical device such as a personal computer, a mobile computer (e.g., a notebook computer, a netbook computer, a tablet computer, etc.), a mobile smart phone, or the like. The subscriber 24 associated with the subscriber device 22 is a person or entity. In general, the subscriber device 22 enables the subscriber 24 to access the MAP server 12 via a web browser 38 to obtain various types of data, preferably for a fee. For example, the subscriber 24 may pay a fee to have access to crowd data such as aggregate profiles for crowds located at one or more POIs and/or located in one or more AOIs, pay a fee to track crowds, or the like. Note that the web browser 38 is exemplary. In another embodiment, the subscriber device 22 is enabled to access the MAP server 12 via a custom application.
Lastly, the third-party service 26 is a service that has access to data from the MAP server 12 such as aggregate profiles for one or more crowds at one or more POIs or within one or more AOIs. Based on the data from the MAP server 12, the third-party service 26 operates to provide a service such as, for example, targeted advertising. For example, the third-party service 26 may obtain anonymous aggregate profile data for one or more crowds located at a POI and then provide targeted advertising to known users located at the POI based on the anonymous aggregate profile data. Note that while targeted advertising is mentioned as an exemplary third-party service 26, other types of third-party services 26 may additionally or alternatively be provided. Other types of third-party services 26 that may be provided will be apparent to one of ordinary skill in the art upon reading this disclosure.
Before proceeding, it should be noted that while the system 10 of
The business logic layer 42 includes a profile manager 52, a location manager 54, a history manager 56, a crowd analyzer 58, an aggregation engine 60, and a new crowd engine 62, each of which is preferably implemented in software. The profile manager 52 generally operates to obtain the user profiles of the users 20 directly or indirectly from the one or more profile servers 14 and store the user profiles in the persistence layer 44. The location manager 54 operates to obtain the current locations of the users 20 including location updates. As discussed below, the current locations of the users 20 may be obtained directly from the mobile devices 18 and/or obtained from the location server 16.
The history manager 56 generally operates to maintain a historical record of anonymized user profile data by location. Note that while the user profile data stored in the historical record is preferably anonymized, it is not limited thereto. The crowd analyzer 58 operates to form crowds of users. In one embodiment, the crowd analyzer 58 utilizes a spatial crowd formation algorithm. However, the present disclosure is not limited thereto. In addition, the crowd analyzer 58 may further characterize crowds to reflect degree of fragmentation, best-case and worst-case degree of separation (DOS), and/or degree of bi-directionality. Still further, the crowd analyzer 58 may also operate to track crowds. The aggregation engine 60 generally operates to provide aggregate profile data in response to requests from the mobile devices 18, the subscriber device 22, and the third-party service 26. The aggregate profile data may be historical aggregate profile data for one or more POIs or one or more AOIs or aggregate profile data for crowd(s) currently at one or more POIs or within one or more AOIs. For additional information regarding the operation of the profile manager 52, the location manager 54, the history manager 56, the crowd analyzer 58, and the aggregation engine 60, the interested reader is directed to U.S. patent application Ser. No. 12/645,532, entitled FORMING CROWDS AND PROVIDING ACCESS TO CROWD DATA IN A MOBILE ENVIRONMENT, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,539, entitled ANONYMOUS CROWD TRACKING, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,535, entitled MAINTAINING A HISTORICAL RECORD OF ANONYMIZED USER PROFILE DATA BY LOCATION FOR USERS IN A MOBILE ENVIRONMENT, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,546, entitled CROWD FORMATION FOR MOBILE DEVICE USERS, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,556, entitled SERVING A REQUEST FOR DATA FROM A HISTORICAL RECORD OF ANONYMIZED USER PROFILE DATA IN A MOBILE ENVIRONMENT, which was filed Dec. 23, 2009; U.S. patent application Ser. No. 12/645,560, entitled HANDLING CROWD REQUESTS FOR LARGE GEOGRAPHIC AREAS, which was filed Dec. 23, 2009; and U.S. patent application Ser. No. 12/645,544, entitled MODIFYING A USER'S CONTRIBUTION TO AN AGGREGATE PROFILE BASED ON TIME BETWEEN LOCATION UPDATES AND EXTERNAL EVENTS, which was filed Dec. 23, 2009; all of which are hereby incorporated herein by reference in their entireties.
As described below in detail, the new crowd engine 62 of the MAP server 12 operates to create new crowds of users. Specifically, the new crowd engine 62 selects a POI at which to form a new crowd. In one embodiment, the selected location is preferably selected based on a comparison of a crowd profile defined for the new crowd and historical data for the selected POI and/or crowd data for crowds of users currently located at, and in some embodiments near, the selected POI. The new crowd engine 62 then selects users to attract to the new crowd at the selected POI and attracts the selected users to the new crowd at the selected POI via, for example, sending an appropriate message to the mobile devices 18 of the selected users.
The persistence layer 44 includes an object mapping layer 64 and a datastore 66. The object mapping layer 64 is preferably implemented in software. The datastore 66 is preferably a relational database, which is implemented in a combination of hardware (i.e., physical data storage hardware) and software (i.e., relational database software). In this embodiment, the business logic layer 42 is implemented in an object-oriented programming language such as, for example, Java. As such, the object mapping layer 64 operates to map objects used in the business logic layer 42 to relational database entities stored in the datastore 66. Note that, in one embodiment, data is stored in the datastore 66 in a Resource Description Framework (RDF) compatible format.
In an alternative embodiment, rather than being a relational database, the datastore 66 may be implemented as an RDF datastore. More specifically, the RDF datastore may be compatible with RDF technology adopted by Semantic Web activities. Namely, the RDF datastore may use the Friend-Of-A-Friend (FOAF) vocabulary for describing people, their social networks, and their interests. In this embodiment, the MAP server 12 may be designed to accept raw FOAF files describing persons, their friends, and their interests. These FOAF files are currently output by some social networking services such as Livejournal and Facebook®. The MAP server 12 may then persist RDF descriptions of the users 20 as a proprietary extension of the FOAF vocabulary that includes additional properties desired for the MAP system 10.
Before proceeding, it should be noted that the primary focus of the present disclosure is the creation of new crowds, which is preferably, but not necessarily, performed by the new crowd engine 62 of the MAP server 12. As discussed below, the new crowd creation process preferably utilizes historical aggregate profile data and/or crowd data for current crowds of users. As such, before describing the new crowd creation process, it is beneficial to describe exemplary processes for storing historical user profile data and exemplary processes for identifying current crowds of users. The description of the new crowd creation process begins at
At some point after authentication is complete, a user profile process is performed such that a user profile of the user 20 is obtained from the profile server 14 and delivered to the MAP server 12 (step 1002). In this embodiment, the MAP client 30 of the mobile device 18 sends a profile request to the profile server 14 (step 1002A). In response, the profile server 14 returns the user profile of the user 20 to the mobile device 18 (step 1002B). The MAP client 30 of the mobile device 18 then sends the user profile of the user 20 to the MAP server 12 (step 1002C). Note that while in this embodiment the MAP client 30 sends the complete user profile of the user 20 to the MAP server 12, in an alternative embodiment, the MAP client 30 may filter the user profile of the user 20 according to criteria specified by the user 20. For example, the user profile of the user 20 may include demographic information, general interests, music interests, and movie interests, and the user 20 may specify that the demographic information or some subset thereof is to be filtered, or removed, before sending the user profile to the MAP server 12.
Upon receiving the user profile of the user 20 from the MAP client 30 of the mobile device 18, the profile manager 52 of the MAP server 12 processes the user profile (step 1002D). More specifically, in the preferred embodiment, the profile manager 52 includes social network handlers for the social network services supported by the MAP server 12. Thus, for example, if the MAP server 12 supports user profiles from Facebook®, MySpace®, and LinkedIN®, the profile manager 52 may include a Facebook handler, a MySpace handler, and a LinkedIN handler. The social network handlers process user profiles to generate user profiles for the MAP server 12 that include lists of keywords for each of a number of profile categories. The profile categories may be the same for each of the social network handlers or different for each of the social network handlers. Thus, for this example assume that the user profile of the user 20 is from Facebook®. The profile manager 52 uses a Facebook handler to process the user profile of the user 20 to map the user profile of the user 20 from Facebook® to a user profile for the MAP server 12 including lists of keywords for a number of predefined profile categories. For example, for the Facebook handler, the profile categories may be a demographic profile category, a social interaction profile category, a general interests profile category, a music interests profile category, and a movie interests profile category. As such, the user profile of the user 20 from Facebook® may be processed by the Facebook handler of the profile manager 52 to create a list of keywords such as, for example, liberal, High School Graduate, 35-44, College Graduate, etc. for the demographic profile category; a list of keywords such as Seeking Friendship for the social interaction profile category; a list of keywords such as politics, technology, photography, books, etc. for the general interests profile category; a list of keywords including music genres, artist names, album names, or the like for the music interests profile category; and a list of keywords including movie titles, actor or actress names, director names, move genres, or the like for the movie interests profile category. In one embodiment, the profile manager 52 may use natural language processing or semantic analysis. For example, if the Facebook user profile of the user 20 states that the user 20 is 20 years old, semantic analysis may result in the keyword of 18-24 years old being stored in the user profile of the user 20 for the MAP server 12.
After processing the user profile of the user 20, the profile manager 52 of the MAP server 12 stores the resulting user profile for the user 20 (step 1002E). More specifically, in one embodiment, the MAP server 12 stores user records for the users 20 through 20-N in the datastore 66 (
Note that the while the discussion herein focuses on an embodiment where the user profiles of the users 20 are obtained from the one or more profile servers 14, the user profiles of the users 20 may be obtained in any desired manner. For example, in one alternative embodiment, the user 20 may identify one or more favorite websites. The profile manager 52 of the MAP server 12 may then crawl the one or more favorite websites of the user 20 to obtain keywords appearing in the one or more favorite websites of the user 20. These keywords may then be stored as the user profile of the user 20.
At some point, a process is performed such that a current location of the mobile device 18 and thus a current location of the user 20 is obtained by the MAP server 12 (step 1004). In this embodiment, the MAP application 32 of the mobile device 18 obtains the current location of the mobile device 18 from the location function 36 of the mobile device 18. The MAP application 32 then provides the current location of the mobile device 18 to the MAP client 30, and the MAP client 30 then provides the current location of the mobile device 18 to the MAP server 12 (step 1004A). Note that step 1004A may be repeated periodically or in response to a change in the current location of the mobile device 18 in order for the MAP application 32 to provide location updates for the user 20 to the MAP server 12.
In response to receiving the current location of the mobile device 18, the location manager 54 of the MAP server 12 stores the current location of the mobile device 18 as the current location of the user 20 (step 1004B). More specifically, in one embodiment, the current location of the user 20 is stored in the user record of the user 20 maintained in the datastore 66 of the MAP server 12. Note that, in the preferred embodiment, only the current location of the user 20 is stored in the user record of the user 20. In this manner, the MAP server 12 maintains privacy for the user 20 since the MAP server 12 does not maintain a historical record of the location of the user 20. As discussed below in detail, historical data maintained by the MAP server 12 is preferably anonymized in order to maintain the privacy of the users 20.
In addition to storing the current location of the user 20, the location manager 54 sends the current location of the user 20 to the location server 16 (step 1004C). In this embodiment, by providing location updates to the location server 16, the MAP server 12 in return receives location updates for the user 20 from the location server 16. This is particularly beneficial when the mobile device 18 does not permit background processes. If the mobile device 18 does not permit background processes, the MAP application 32 will not be able to provide location updates for the user 20 to the MAP server 12 unless the MAP application 32 is active. Therefore, when the MAP application 32 is not active, other applications running on the mobile device 18 (or some other device of the user 20) may directly or indirectly provide location updates to the location server 16 for the user 20. This is illustrated in step 1006 where the location server 16 receives a location update for the user 20 directly or indirectly from another application running on the mobile device 18 or an application running on another device of the user 20 (step 1006A). The location server 16 then provides the location update for the user 20 to the MAP server 12 (step 1006B). In response, the location manager 54 updates and stores the current location of the user 20 in the user record of the user 20 (step 1006C). In this manner, the MAP server 12 is enabled to obtain location updates for the user 20 even when the MAP application 32 is not active at the mobile device 18.
At some point after authentication is complete, a user profile process is performed such that a user profile of the user 20 is obtained from the profile server 14 and delivered to the MAP server 12 (step 1102). In this embodiment, the profile manager 52 of the MAP server 12 sends a profile request to the profile server 14 (step 1102A). In response, the profile server 14 returns the user profile of the user 20 to the profile manager 52 of the MAP server 12 (step 1102B). Note that while in this embodiment the profile server 14 returns the complete user profile of the user 20 to the MAP server 12, in an alternative embodiment, the profile server 14 may return a filtered version of the user profile of the user 20 to the MAP server 12. The profile server 14 may filter the user profile of the user 20 according to criteria specified by the user 20. For example, the user profile of the user 20 may include demographic information, general interests, music interests, and movie interests, and the user 20 may specify that the demographic information or some subset thereof is to be filtered, or removed, before sending the user profile to the MAP server 12.
Upon receiving the user profile of the user 20, the profile manager 52 of the MAP server 12 processes to the user profile (step 1102C). More specifically, as discussed above, in the preferred embodiment, the profile manager 52 includes social network handlers for the social network services supported by the MAP server 12. The social network handlers process user profiles to generate user profiles for the MAP server 12 that include lists of keywords for each of a number of profile categories. The profile categories may be the same for each of the social network handlers or different for each of the social network handlers.
After processing the user profile of the user 20, the profile manager 52 of the MAP server 12 stores the resulting user profile for the user 20 (step 1102D). More specifically, in one embodiment, the MAP server 12 stores user records for the users 20 in the datastore 66 (
Note that the while the discussion herein focuses on an embodiment where the user profiles of the users 20 are obtained from the one or more profile servers 14, the user profiles of the users 20 may be obtained in any desired manner. For example, in one alternative embodiment, the user 20 may identify one or more favorite websites. The profile manager 52 of the MAP server 12 may then crawl the one or more favorite websites of the user 20 to obtain keywords appearing in the one or more favorite websites of the user 20. These keywords may then be stored as the user profile of the user 20.
At some point, a process is performed such that a current location of the mobile device 18 and thus a current location of the user 20 is obtained by the MAP server 12 (step 1104). In this embodiment, the MAP application 32 of the mobile device 18 obtains the current location of the mobile device 18 from the location function 36 of the mobile device 18. The MAP application 32 then provides the current location of the user 20 of the mobile device 18 to the location server 16 (step 1104A). Note that step 1104A may be repeated periodically or in response to changes in the location of the mobile device 18 in order to provide location updates for the user 20 to the MAP server 12. The location server 16 then provides the current location of the user 20 to the MAP server 12 (step 1104B). The location server 16 may provide the current location of the user 20 to the MAP server 12 automatically in response to receiving the current location of the user 20 from the mobile device 18 or in response to a request from the MAP server 12.
In response to receiving the current location of the mobile device 18, the location manager 54 of the MAP server 12 stores the current location of the mobile device 18 as the current location of the user 20 (step 1104C). More specifically, in one embodiment, the current location of the user 20 is stored in the user record of the user 20 maintained in the datastore 66 of the MAP server 12. Note that, in the preferred embodiment, only the current location of the user 20 is stored in the user record of the user 20. In this manner, the MAP server 12 maintains privacy for the user 20 since the MAP server 12 does not maintain a historical record of the location of the user 20. As discussed below in detail, historical data maintained by the MAP server 12 is preferably anonymized in order to maintain the privacy of the users 20.
As discussed above, the use of the location server 16 is particularly beneficial when the mobile device 18 does not permit background processes. As such, if the mobile device 18 does not permit background processes, the MAP application 32 will not provide location updates for the user 20 to the location server 16 unless the MAP application 32 is active. However, other applications running on the mobile device 18 (or some other device of the user 20) may provide location updates to the location server 16 for the user 20 when the MAP application 32 is not active. This is illustrated in step 1106 where the location server 16 receives a location update for the user 20 from another application running on the mobile device 18 or an application running on another device of the user 20 (step 1106A). The location server 16 then provides the location update for the user 20 to the MAP server 12 (step 1106B). In response, the location manager 54 updates and stores the current location of the user 20 in the user record of the user 20 (step 1106C). In this manner, the MAP server 12 is enabled to obtain location updates for the user 20 even when the MAP application 32 is not active at the mobile device 18.
Using the current locations of the users 20 and the user profiles of the users 20, the MAP server 12 can provide a number of features. A first feature that may be provided by the MAP server 12 is historical storage of anonymized user profile data by location. This historical storage of anonymized user profile data by location is performed by the history manager 56 of the MAP server 12. More specifically, as illustrated in
As discussed below in detail, at a predetermined time interval such as, for example, 15 minutes, the history manager 56 makes a copy of the lists of users in the location buckets, anonymizes the user profiles of the users in the lists to provide anonymized user profile data for the corresponding location buckets, and stores the anonymized user profile data in a number of history objects. In one embodiment, a history object is stored for each location bucket having at least one user. In another embodiment, a quadtree algorithm is used to efficiently create history objects for geographic regions (i.e., groups of one or more adjoining location buckets).
After determining the location bucket for the location of the user 20, the history manager 56 determines whether the user 20 is new to the location bucket (step 1204). In other words, the history manager 56 determines whether the user 20 is already on the list of users for the location bucket. If the user 20 is new to the location bucket, the history manager 56 creates an entry for the user 20 in the list of users for the location bucket (step 1206). Returning to step 1204, if the user 20 is not new to the location bucket, the history manager 56 updates the entry for the user 20 in the list of users for the location bucket (step 1208). At this point, whether proceeding from step 1206 or 1208, the user 20 is flagged as active in the list of users for the location bucket (step 1210).
The history manager 56 then determines whether the user 20 has moved from another location bucket (step 1212). More specifically, the history manager 56 determines whether the user 20 is included in the list of users for another location bucket and is currently flagged as active in that list. If the user 20 has not moved from another location bucket, the process proceeds to step 1216. If the user 20 has moved from another location bucket, the history manager 56 flags the user 20 as inactive in the list of users for the other location bucket from which the user 20 has moved (step 1214).
At this point, whether proceeding from step 1212 or 1214, the history manager 56 determines whether it is time to persist (step 1216). More specifically, as mentioned above, the history manager 56 operates to persist history objects at a predetermined time interval such as, for example, every 15 minutes. Thus, the history manager 56 determines that it is time to persist if the predetermined time interval has expired. If it is not time to persist, the process returns to step 1200 and is repeated for a next received location update, which will typically be for another user. If it is time to persist, the history manager 56 creates a copy of the lists of users for the location buckets and passes the copy of the lists to an anonymization and storage process (step 1218). In this embodiment, the anonymization and storage process is a separate process performed by the history manager 56. The history manager 56 then removes inactive users from the lists of users for the location buckets (step 1220). The process then returns to step 1200 and is repeated for a next received location update, which will typically be for another user.
For anonymization, an anonymous user record 96 is created from the user record 92. In the anonymous user record 96, the user ID is replaced with a new user ID that is not connected back to the user, which is also referred to herein as an anonymous user ID. This new user ID is different than any other user ID used for anonymous user records created from the user record of the user for any previous or subsequent time periods. In this manner, anonymous user records for a single user created over time cannot be linked to one another.
In addition, anonymous profile category records 98-1 through 98-M are created for the profile category records 94-1 through 94-M. In the anonymous profile category records 98-1 through 98-M, the user ID is replaced with a new user ID, which may be the same new user ID included in the anonymous user record 96. The anonymous profile category records 98-1 through 98-M include the same category IDs and lists of keywords as the corresponding profile category records 94-1 through 94-M. Note that the location of the user is not stored in the anonymous user record 96. With respect to location, it is sufficient that the anonymous user record 96 is linked to a location bucket.
In another embodiment, the history manager 56 performs anonymization in a manner similar to that described above with respect to
In yet another embodiment, rather than creating anonymous user records 96 for the users in the lists maintained for the location buckets, the history manager 56 may perform anonymization by storing an aggregate user profile for each location bucket, or each group of location buckets representing a node in a quadtree data structure (see below). The aggregate user profile may include a list of all keywords and potentially the number of occurrences of each keyword in the user profiles of the corresponding group of users. In this manner, the data stored by the history manager 56 is not connected back to the users 20.
Each history object includes location information, timing information, data, and quadtree data structure information. The location information included in the history object defines a combined geographic area of the location bucket(s) forming the corresponding node of the quadtree data structure. For example, the location information may be latitude and longitude coordinates for a northeast corner of the combined geographic area of the node of the quadtree data structure and a southwest corner of the combined geographic area for the node of the quadtree data structure. The timing information includes information defining a time window for the history object, which may be, for example, a start time for the corresponding time interval and an end time for the corresponding time interval. The data includes the anonymized user profile data for the users in the list(s) maintained for the location bucket(s) forming the node of the quadtree data structure for which the history object is stored. In addition, the data may include a total number of users in the location bucket(s) forming the node of the quadtree data structure. Lastly, the quadtree data structure information includes information defining a quadtree depth of the node in the quadtree data structure.
In order to form the quadtree data structure, the history manager 56 determines whether there are any more base quadtree regions to process (step 1500). If there are more base quadtree regions to process, the history manager 56 sets a current node to the next base quadtree region to process, which for the first iteration is the first base quadtree region (step 1502). The history manager 56 then determines whether the number of users in the current node is greater than a predefined maximum number of users and whether a current quadtree depth is less than a maximum quadtree depth (step 1504). In one embodiment, the maximum quadtree depth may be reached when the current node corresponds to a single location bucket. However, the maximum quadtree depth may be set such that the maximum quadtree depth is reached before the current node reaches a single location bucket.
If the number of users in the current node is greater than the predefined maximum number of users and the current quadtree depth is less than a maximum quadtree depth, the history manager 56 creates a number of child nodes for the current node (step 1506). More specifically, the history manager 56 creates a child node for each quadrant of the current node. The users in the current node are then assigned to the appropriate child nodes based on the location buckets in which the users are located (step 1508), and the current node is then set to the first child node (step 1510). At this point, the process returns to step 1504 and is repeated.
Once the number of users in the current node is not greater than the predefined maximum number of users or the maximum quadtree depth has been reached, the history manager 56 determines whether the current node has any more sibling nodes (step 1512). Sibling nodes are child nodes of the same parent node. If so, the history manager 56 sets the current node to the next sibling node of the current node (step 1514), and the process returns to step 1504 and is repeated. Once there are no more sibling nodes to process, the history manager 56 determines whether the current node has a parent node (step 1516). If so, since the parent node has already been processed, the history manager 56 determines whether the parent node has any sibling nodes that need to be processed (step 1518). If the parent node has any sibling nodes that need to be processed, the history manager 56 sets the next sibling node of the parent node to be processed as the current node (step 1520). From this point, the process returns to step 1504 and is repeated. Returning to step 1516, if the current node does not have a parent node, the process returns to step 1500 and is repeated until there are no more base quadtree regions to process. Once there are no more base quadtree regions to process, the finished quadtree data structure is returned to the process of
Next, the history manager 56 determines whether the number of users in the child node 102-1 is greater than the predetermined maximum, which again for this example is 3. Since the number of users in the child node 102-1 is greater than 3, the history manager 56 divides the child node 102-1 into four child nodes 104-1 through 104-4, as illustrated in
The history manager 56 then determines whether the number of users in the child node 106-1 is greater than the predetermined maximum number of users, which again is 3. Since the number of users in the child node 106-1 is not greater than the predetermined maximum number of users, the child node 106-1 is identified as a node for the finished quadtree data structure, and the history manager 56 proceeds to process the sibling nodes of the child node 106-1, which are the child nodes 106-2 through 106-4. Since the number of users in each of the child nodes 106-2 through 106-4 is less than the predetermined maximum number of users, the child nodes 106-2 through 106-4 are also identified as nodes for the finished quadtree data structure.
Once the history manager 56 has finished processing the child nodes 106-1 through 106-4, the history manager 56 identifies the parent node of the child nodes 106-1 through 106-4, which in this case is the child node 104-1. The history manager 56 then processes the sibling nodes of the child node 104-1, which are the child nodes 104-2 through 104-4. In this example, the number of users in each of the child nodes 104-2 through 104-4 is less than the predetermined maximum number of users. As such, the child nodes 104-2 through 104-4 are identified as nodes for the finished quadtree data structure.
Once the history manager 56 has finished processing the child nodes 104-1 through 104-4, the history manager 56 identifies the parent node of the child nodes 104-1 through 104-4, which in this case is the child node 102-1. The history manager 56 then processes the sibling nodes of the child node 102-1, which are the child nodes 102-2 through 102-4. More specifically, the history manager 56 determines that the child node 102-2 includes more than the predetermined maximum number of users and, as such, divides the child node 102-2 into four child nodes 108-1 through 108-4, as illustrated in
As discussed above, the history manager 56 stores a history object for each of the nodes in the quadtree data structure including at least one user. As such, in this example, the history manager 56 stores history objects for the child nodes 106-2 and 106-3, the child nodes 104-2 and 104-4, the child nodes 108-1 and 108-4, and the child node 102-3. However, no history objects are stored for the nodes that do not have any users (i.e., the child nodes 106-1 and 106-4, the child node 104-3, the child nodes 108-2 and 108-3, and the child node 102-4).
First, the crowd analyzer 58 establishes a bounding box for the crowd formation process (step 1600). Note that while a bounding box is used in this example, other geographic shapes may be used to define a bounding region for the crowd formation process (e.g., a bounding circle). In one embodiment, if crowd formation is performed in response to a specific request, the bounding box is established based on the POI or the AOI of the request. If the request is for a POI, then the bounding box is a geographic area of a predetermined size centered at the POI. If the request is for an AOI, the bounding box is the AOI. Alternatively, if the crowd formation process is performed proactively, the bounding box is a bounding box of a predefined size.
The crowd analyzer 58 then creates a crowd for each individual user in the bounding box (step 1602). More specifically, the crowd analyzer 58 queries the datastore 66 of the MAP server 12 to identify users currently located within the bounding box. Then, a crowd of one user is created for each user currently located within the bounding box. Next, the crowd analyzer 58 determines the two closest crowds in the bounding box (step 1604) and determines a distance between the two crowds (step 1606). The distance between the two crowds is a distance between crowd centers of the two crowds. Note that the crowd center of a crowd of one is the current location of the user in the crowd. The crowd analyzer 58 then determines whether the distance between the two crowds is less than an optimal inclusion distance (step 1608). In this embodiment, the optimal inclusion distance is a predefined static distance. If the distance between the two crowds is less than the optimal inclusion distance, the crowd analyzer 58 combines the two crowds (step 1610) and computes a new crowd center for the resulting crowd (step 1612). The crowd center may be computed based on the current locations of the users in the crowd using a center of mass algorithm. At this point the process returns to step 1604 and is repeated until the distance between the two closest crowds is not less than the optimal inclusion distance. At that point, the crowd analyzer 58 discards any crowds with less than three users (step 1614). Note that throughout this disclosure crowds are only maintained if the crowds include three or more users. However, while three users is the preferred minimum number of users in a crowd, the present disclosure is not limited thereto. The minimum number of users in a crowd may be defined as any number greater than or equal to two users.
Next, the crowd analyzer 58 determines whether the new and old bounding boxes overlap (step 1708). If so, the crowd analyzer 58 creates a bounding box encompassing the new and old bounding boxes (step 1710). For example, if the new and old bounding boxes are 40×40 meter regions and a 1×1 meter square at the northeast corner of the new bounding box overlaps a 1×1 meter square at the southwest corner of the old bounding box, the crowd analyzer 58 may create a 79×79 meter square bounding box encompassing both the new and old bounding boxes.
The crowd analyzer 58 then determines the individual users and crowds relevant to the bounding box created in step 1710 (step 1712). The crowds relevant to the bounding box are crowds that are within or overlap the bounding box (e.g., have at least one user located within the bounding box). The individual users relevant to the bounding box are users that are currently located within the bounding box and not already part of a crowd. Next, the crowd analyzer 58 computes an optimal inclusion distance for individual users based on user density within the bounding box (step 1714). More specifically, in one embodiment, the optimal inclusion distance for individuals, which is also referred to herein as an initial optimal inclusion distance, is set according to the following equation:
where a is a number between 0 and 1, ABoundingBox is an area of the bounding box, and number_of_users is the total number of users in the bounding box. The total number of users in the bounding box includes both individual users that are not already in a crowd and users that are already in a crowd. In one embodiment, a is ⅔.
The crowd analyzer 58 then creates a crowd for each individual user within the bounding box that is not already included in a crowd and sets the optimal inclusion distance for the crowds to the initial optimal inclusion distance (step 1716). At this point, the process proceeds to
Next, the crowd analyzer 58 determines the two closest crowds for the bounding box (step 1724) and a distance between the two closest crowds (step 1726). The distance between the two closest crowds is the distance between the crowd centers of the two closest crowds. The crowd analyzer 58 then determines whether the distance between the two closest crowds is less than the optimal inclusion distance of a larger of the two closest crowds (step 1728). If the two closest crowds are of the same size (i.e., have the same number of users), then the optimal inclusion distance of either of the two closest crowds may be used. Alternatively, if the two closest crowds are of the same size, the optimal inclusion distances of both of the two closest crowds may be used such that the crowd analyzer 58 determines whether the distance between the two closest crowds is less than the optimal inclusion distances of both of the two closest crowds. As another alternative, if the two closest crowds are of the same size, the crowd analyzer 58 may compare the distance between the two closest crowds to an average of the optimal inclusion distances of the two closest crowds.
If the distance between the two closest crowds is less than the optimal inclusion distance, the two closest crowds are combined or merged (step 1730), and a new crowd center for the resulting crowd is computed (step 1732). Again, a center of mass algorithm may be used to compute the crowd center of a crowd. In addition, a new optimal inclusion distance for the resulting crowd is computed (step 1734). In one embodiment, the new optimal inclusion distance for the resulting crowd is computed as:
where n is the number of users in the crowd and di is a distance between the ith user and the crowd center. In other words, the new optimal inclusion distance is computed as the average of the initial optimal inclusion distance and the distances between the users in the crowd and the crowd center plus one standard deviation.
At this point, the crowd analyzer 58 determines whether a maximum number of iterations have been performed (step 1736). The maximum number of iterations is a predefined number that ensures that the crowd formation process does not indefinitely loop over steps 1718 through 1734 or loop over steps 1718 through 1734 more than a desired maximum number of times. If the maximum number of iterations has not been reached, the process returns to step 1718 and is repeated until either the distance between the two closest crowds is not less than the optimal inclusion distance of the larger crowd or the maximum number of iterations has been reached. At that point, the crowd analyzer 58 discards crowds with less than three users, or members (step 1738) and the process ends.
Returning to step 1708 in
where a is a number between 0 and 1, ABoundingBox is an area of the bounding box, and number_of_users is the total number of users in the bounding box. The total number of users in the bounding box includes both individual users that are not already in a crowd and users that are already in a crowd. In one embodiment, a is ⅔.
The crowd analyzer 58 then creates a crowd of one user for each individual user within the bounding box that is not already included in a crowd and sets the optimal inclusion distance for the crowds to the initial optimal inclusion distance (step 1746). At this point, the crowd analyzer 58 analyzes the crowds for the bounding box to determine whether any crowd members (i.e., users in the crowds) violate the optimal inclusion distance of their crowds (step 1748). Any crowd member that violates the optimal inclusion distance of his or her crowd is then removed from that crowd (step 1750). The crowd analyzer 58 then creates a crowd of one user for each of the users removed from their crowds in step 1750 and sets the optimal inclusion distance for the newly created crowds to the initial optimal inclusion distance (step 1752).
Next, the crowd analyzer 58 determines the two closest crowds in the bounding box (step 1754) and a distance between the two closest crowds (step 1756). The distance between the two closest crowds is the distance between the crowd centers of the two closest crowds. The crowd analyzer 58 then determines whether the distance between the two closest crowds is less than the optimal inclusion distance of a larger of the two closest crowds (step 1758). If the two closest crowds are of the same size (i.e., have the same number of users), then the optimal inclusion distance of either of the two closest crowds may be used. Alternatively, if the two closest crowds are of the same size, the optimal inclusion distances of both of the two closest crowds may be used such that the crowd analyzer 58 determines whether the distance between the two closest crowds is less than the optimal inclusion distances of both of the two closest crowds. As another alternative, if the two closest crowds are of the same size, the crowd analyzer 58 may compare the distance between the two closest crowds to an average of the optimal inclusion distances of the two closest crowds.
If the distance between the two closest crowds is less than the optimal inclusion distance, the two closest crowds are combined or merged (step 1760), and a new crowd center for the resulting crowd is computed (step 1762). Again, a center of mass algorithm may be used to compute the crowd center of a crowd. In addition, a new optimal inclusion distance for the resulting crowd is computed (step 1764). As discussed above, in one embodiment, the new optimal inclusion distance for the resulting crowd is computed as:
where n is the number of users in the crowd and di is a distance between the ith user and the crowd center. In other words, the new optimal inclusion distance is computed as the average of the initial optimal inclusion distance and the distances between the users in the crowd and the crowd center plus one standard deviation.
At this point, the crowd analyzer 58 determines whether a maximum number of iterations have been performed (step 1766). If the maximum number of iterations has not been reached, the process returns to step 1748 and is repeated until either the distance between the two closest crowds is not less than the optimal inclusion distance of the larger crowd or the maximum number of iterations has been reached. At that point, the crowd analyzer 58 discards crowds with less than three users, or members (step 1768). The crowd analyzer 58 then determines whether the crowd formation process for the new and old bounding boxes is done (step 1770). In other words, the crowd analyzer 58 determines whether both the new and old bounding boxes have been processed. If not, the bounding box is set to the new bounding box (step 1772), and the process returns to step 1742 and is repeated for the new bounding box. Once both the new and old bounding box have been processed, the crowd formation process ends.
The crowd analyzer 58 then identifies the two closest crowds 126 and 128 in the bounding box 122 and determines a distance between the two closest crowds 126 and 128. In this example, the distance between the two closest crowds 126 and 128 is less than the optimal inclusion distance. As such, the two closest crowds 126 and 128 are merged and a new crowd center and new optimal inclusion distance are computed, as illustrated in
Since the old bounding box 132 and the new bounding box 134 overlap, the crowd analyzer 58 creates a bounding box 140 that encompasses both the old bounding box 132 and the new bounding box 134, as illustrated in
Next, the crowd analyzer 58 analyzes the crowds 136, 138, and 142 through 148 to determine whether any members of the crowds 136, 138, and 142 through 148 violate the optimal inclusion distances of the crowds 136, 138, and 142 through 148. In this example, as a result of the user leaving the crowd 136 and moving to his new location, both of the remaining members of the crowd 136 violate the optimal inclusion distance of the crowd 136. As such, the crowd analyzer 58 removes the remaining users from the crowd 136 and creates crowds 150 and 152 of one user each for those users, as illustrated in
The crowd analyzer 58 then identifies the two closest crowds in the bounding box 140, which in this example are the crowds 146 and 148. Next, the crowd analyzer 58 computes a distance between the two crowds 146 and 148. In this example, the distance between the two crowds 146 and 148 is less than the initial optimal inclusion distance and, as such, the two crowds 146 and 148 are combined. In this example, crowds are combined by merging the smaller crowd into the larger crowd. Since the two crowds 146 and 148 are of the same size, the crowd analyzer 58 merges the crowd 148 into the crowd 146, as illustrated in
At this point, the crowd analyzer 58 repeats the process and determines that the crowds 138 and 144 are now the two closest crowds. In this example, the distance between the two crowds 138 and 144 is less than the optimal inclusion distance of the larger of the two crowds 138 and 144, which is the crowd 138. As such, the crowd 144 is merged into the crowd 138 and a new crowd center and optimal inclusion distance are computed for the crowd 138, as illustrated in
More specifically, as illustrated in
As illustrated in
Next, a POI at which to form the new crowd is selected based on the crowd profile for the new crowd, the location information regarding the geographic region in which the new crowd is to be formed, and, in some embodiments, the attributes for the new crowd (step 1802). The details of step 1802 are described below in detail. As described below, in one embodiment, a number of geographically relevant POIs are identified for the new crowd, and one or more potential POIs are selected from the geographically relevant POIs based on the crowd profile for the new crowd and, in some embodiments, the attributes for the new crowd. The geographically relevant POIs are POIs located within the geographic bounding region in which the new crowd is to be formed. The one or more potential POIs are then returned to the user 20 that initiated the new crowd request, and the user 20 is enabled to select the POI at which the new crowd is to be formed from the one or more potential POIs. In another embodiment, a number of geographically relevant POIs are identified for the new crowd, and a POI at which to form the new crowd is automatically and programmatically selected from the geographically relevant POIs based on the crowd profile for the new crowd and, in some embodiments, the attributes for the new crowd.
Next, users to attract to the new crowd at the selected POI are selected (step 1804). Once the users to attract to the new crowd at the selected POI are selected, the selected users are attracted to the new crowd at the selected POI (step 1806). In one embodiment, the selected users are attracted to the new crowd via alerts issued to the mobile devices 18 of the users 20 using an alert mechanism of the MAP server 12. Note that the users 20 may configure when they are to receive such alerts. For example, the users 20 may configure settings such that they never receive such alerts, always receive such alerts, receive such alerts only after 5 pm on weekdays and anytime on weekends, or the like. In another embodiment, the MAP server 12 may utilize a new crowd, even before it is formed, to serve requests for crowd data from the mobile devices 18. In this manner, the users 20 may be made aware of the new crowd and choose to join the new crowd by going to the POI selected for the new crowd if they so choose. In the another embodiment, the selected users are attracted to the new crowd at the selected POI by sending an invitation to the selected users to join the new crowd. The invitation includes information regarding the new crowd such as the POI at which the new crowd is to be formed, the crowd profile of the new crowd, and a time window during which the new crowd is to be formed (e.g., the time of creation of the new crowd and a duration of the new crowd). The invitation may be sent to the selected user via text-messaging, Instant Messaging (IM), e-mail messages, or the like, where any information needed to send the invitation (e.g., mobile telephone number, IM user name, or e-mail address) is stored in the user records of the selected users maintained by the MAP server 12.
In response to the new crowd request, the new crowd engine 62 of the MAP server 12 identifies one or more POIs that are geographically relevant to the bounding region defined for the new crowd request, which are referred to herein as one or more geographically relevant POIs (step 1902). The geographically relevant POIs are POIs that are located within the bounding region for the new crowd request. The new crowd engine 62 identifies the geographically relevant POIs by querying the crowd analyzer 58. In one embodiment, the crowd analyzer 58 reactively performs a crowd formation process, such as the crowd formation process of
Next, the new crowd engine 62 analyzes the geographically relevant POIs based on associated historical aggregate profile data and/or associated current crowd data to identify one or more potential POIs for the new crowd (step 1904). The one or more potential POIs identified for the new crowd are then returned to the mobile device 18 (step 1906) where the one or more potential POIs and, optionally, information regarding the one or more potential POIs are presented to the user 20 of the mobile device 18 (step 1908). The information regarding the one or more potential POIs may include information resulting from the analysis of step 1904 that assists the user 20 in selecting the POI for the new crowd from the one or more potential POIs. For example, the information regarding the one or more potential POIs may include ratings determined for the one or more potential POIs that are indicative of a degree to which the potential POIs match the crowd profile and attributes defined for the new crowd. In addition or alternatively, the information regarding the one or more potential POIs may include historical aggregate profile data and/or current crowd data for the one or more potential POIs, sizes of crowds currently and/or historically located at the one or more potential POIs, an indication of whether the one or more potential POIs are resistant to changes in crowds, an indication of whether users have successfully been attracted to the one or more potential POIs for new crowds in the past, or the like. User input is received from the user 20 of the mobile device 18 that selects a POI for the new crowd from the one or more potential POIs (step 1910). The mobile device 18 then returns the selected POI to the MAP server 12 (step 1912).
In response to receiving the selected POI from the mobile device 18, the new crowd engine 62 of the MAP server 12 selects users to attract to the new crowd at the selected POI (step 1914). Once the POI and the users to attract to the new crowd are selected, the new crowd engine 62 attracts the selected users to the new crowd at the selected POI (step 1916). In one embodiment, the selected users to attract to the new crowd include one or more of the following:
In addition or alternatively, the MAP server 12 may provide crowd tracking where the locations of crowds and user profile data of the users in the crowds are tracked over time. For instance, for a particular crowd, crowd snapshots may be captured for the crowd over time, where each crowd snapshot includes the location of the crowd (e.g., a crowd center of the crowd and/or locations of the northwest most and southeast most users in the crowd) and user profile data (e.g., anonymized user profiles) for users in the crowd at the time of capturing the crowd snapshot. Using such crowd tracking information, the selected users to attract to the new crowd may additionally or alternatively include one or more of the following:
In addition or alternatively, while only the current locations of the users 20 are preferably stored by the MAP server 12, the MAP server 12 may alternatively store location histories for the users 20. Using the location histories of the users 20, the selected users to attract to the new crowd may additionally or alternatively include one or more of the following:
The new crowd engine 62 then compares the aggregate profiles of the crowds currently at or near the POI to the crowd profile of the new crowd to determine, for example, a total number of user matches or a total ratio of user matches for each interest in the crowd profile among the crowds currently at or near the POI. For example, if the crowd profile includes the interest of “Hiking,” the new crowd engine 62 may sum the number of user matches for the interest “Hiking” for all of the crowds currently at or near the POI to provide a total number of user matches for the interest “Hiking” or sum the ratio of user matches to total number of users for the interest “Hiking” for all of the crowds currently at or near the POI to provide a total ratio of user matches to total number of users for the interest “Hiking.” In addition, in this embodiment, the new crowd engine 62 combines the total number of user matches (or total ratio of user matches to total number of users) for each of the interests in the crowd profile according to predefined weights assigned to the interests in the crowd profile to provide a corresponding score (SCORECURRENT) for the POI which represents a degree to which the aggregate profiles of the crowds currently at or near the POI match the crowd profile of the new crowd. For example, the score (SCORECURRENT) may be computed as:
where n is a number of interests in the crowd profile of the new crowd, wi is a predefined weight assigned to the i-th interest in the crowd profile of the new crowd, and TotalNumberOfUserMatchesCURRENT,i is the total number of user matches across all of the crowds at or near the POI for the i-th interest in the crowd profile of the new crowd.
In a similar manner, the new crowd engine 62 compares the crowd profile of the new crowd to a historical aggregate profile for the POI (step 2004). More specifically, in one embodiment, the history manager 56 and the aggregation engine 60 of the MAP server 12 operate to obtain a number of history objects stored for one or more geographical areas encompassing the POI. Optionally, a time window may be utilized such that only those history objects created during the time window are obtained. The time window may be system-defined or user-defined. For example, the time window may be a relative time window such as, but not limited to, the last week or the last month. Once the history objects are obtained, the user profile data stored in the history objects is aggregated to provide the historical aggregate profile for the POI. The historical aggregate profile may include a number of user matches for each interest in the user profiles stored in the history objects and, optionally, a total number of users represented in the history objects. The historical aggregate profile may alternatively include a ratio of the number of user matches to the total number of users represented in the history objects for each interest in the user profile stored in the history objects. The historical aggregate profile of the POI is then compared to the crowd profile to determine, for each interest in the crowd profile, the number of user matches in the history objects for the interest or a ratio of the number of user matches to the total number of users for the interest. A score (SCOREHISTORICAL) representing a degree to which the historical aggregate profile for the POI matches the crowd profile for the new crowd is then preferably generated by combining the numbers of user matches or ratios for the interests in the crowd profile according to predefined weights assigned to the interests in the crowd profile. For example, the score (SCOREHISTORICAL) may be computed as:
where n is a number of interests in the crowd profile of the new crowd, wi is a predefined weight assigned to the i-th interest in the crowd profile of the new crowd, and TotalNumberOfUserMatchesHISTORICAL,i is the total number of user matches across all of the user profiles stored in the history objects for the i-th interest in the crowd profile of the new crowd.
Note that, in one exemplary alternative embodiment, rather than comparing the crowd profile of the new crowd to the historical aggregate profile of the POI, the crowd profile of the new crowd may be compared directly to the user profile data stored in the history objects obtained for the POI. In this case, data resulting from the comparison may include, for each interest in the crowd profile of the new crowd, either a number of user matches for the interest or a ratio of the number of user matches for the interest to the total number of users represented by the history objects. A score (SCOREHISTORICAL) representing the degree of similarity between the crowd profile and user profiles of users historically located at the POI may then be computed as a weighted average of the number of user matches or ratio. As an example, the score (SCOREHISTORICAL) may be computed using the same equation for the score (SCOREHISTORICAL) described above.
The new crowd engine 62 also compares the crowd profile of the new crowd to aggregate profiles of crowds predicted to be at or near the POI during the relevant time window for the new crowd (step 2006). As discussed above, in one embodiment, the crowd analyzer 58 tracks crowds. In this case, the new crowd engine 62 may query the datastore 66 to identify crowd snapshots of crowds located at or near the POI in the past during a time window that corresponds to the relevant time window for the new crowd. For example, if the relevant time window for the new crowd is today (Thursday) from 9 pm-12 pm, then corresponding time windows in the past may be, for instance, previous Thursdays from 9 pm-12 pm, previous days from 9 pm-12 pm, or the like. In one embodiment, a crowd is identified as a crowd predicted to be located at or near the POI during the relevant time window for the new crowd if the crowd has previously been located at or near the POI at least a predefined threshold number of times or a predefined threshold amount of time in the past, as indicated by corresponding crowd snapshots for the crowd. Aggregate profiles are obtained for the crowds predicted to be at or near the POI during the relevant time window for the new crowd based on the user profiles of the users 20 that are currently in the crowd and, optionally, user profiles of the users 20 previously in the crowd. The aggregate profiles of the crowds are compared to the crowd profile of the new crowd in a manner similar to that described above. As a result, in one embodiment, a number of user matches or a ratio of the number of user matches to total number of users is determined for each interest in the crowd profile of the new crowd. Preferably, a score (SCOREPREDICTED) that reflects the degree of similarity between the crowd profile of the new crowd and the aggregate profiles of the crowds predicted to be at or near the POI during the relevant time window for the new crowd is then generated based on the aforementioned values. For example, the score (SCOREPREDICTED) may be computed as:
where n is a number of interests in the crowd profile of the new crowd, wi is a predefined weight assigned to the i-th interest in the crowd profile of the new crowd, and TotalNumberOfUserMatchesPREDICTED,i is the total number of user matches across all of the user profiles of all of the crowds predicted to be at or near the POI during the relevant time window for the new crowd for the i-th interest in the crowd profile of the new crowd.
The new crowd engine 62 also determines whether the POI is resistant to changes in crowds (step 2008). More specifically, the new crowd engine 62 may analyze the historical data in the history objects stored for the POI and/or crowd tracking data to determine how resistant the POI is to changes in crowds. Specifically, the new crowd engine 62 may analyze the historical data for the POI to determine whether the aggregate profile data is, for example, substantially static in terms of aggregate profile and/or number of users after a particular threshold number of users is at the POI. The new crowd engine 62 may also determine a crowd size or range of crowd sizes that can be accommodated at the POI (step 2010). For example, in one embodiment, the new crowd engine 62 may analyze the historical data stored for the POI or the crowd snapshots for crowds previously located at the POI to determine statistical information regarding the crowd size of crowds located at the POI such as, for example, an average crowd size, a minimum and/or maximum crowd size, or the like. In a similar manner, the new crowd engine 62 may analyze the historical data for the POI to determine the hours of operation of the POI. For example, if no data is recorded for the POI after 11 pm, the new crowd engine 62 may determine that the POI closes at 11 pm.
Next, the new crowd engine 62 rates the POI based on the results of steps 2002 through 2010 (step 2012). In this embodiment, the new crowd engine 62 combines the scores generated in step 2002 through 2006 to provide a combined score. The combined score may be, for example, an average or weighted average of the scores (SCORECURRENT, SCOREHISTORICAL, and SCOREPREDICTED). The combined score is then either incremented or decremented by a predefined value if the POI is resistant to changes in crowd profiles (depending on whether resistivity to changes in crowd profiles is or is not desired at the POI for the new crowd), incremented by a predefined value if the POI accommodates a desired crowd size for the new crowd, and, in some embodiments, either incremented or decremented based on whether the hours of operation of the POI include the relevant time window for the new crowd, thereby providing the rating of the POI.
The new crowd engine 62 then determines whether the last geographically relevant POI has been processed (step 2014). If not, the new crowd engine 62 gets the next POI from the geographically relevant POIs (step 2016) and the process returns to step 2002 and is repeated. Once all of the geographically relevant POIs have been processed, the new crowd engine 62 selects the one or more potential POIs for the new crowd from the geographically relevant POIs based on the ratings determined for the geographically relevant POIs (step 2018). For example, the new crowd engine 62 may select a predefined number of the geographically relevant POIs having the highest ratings as the one or more potential POIs for the new crowd. As another example, the new crowd engine 62 may select the geographically relevant POIs having ratings above a predefined threshold as the one or more potential POIs for the new crowd.
Before proceeding, it should be noted that steps 2002 through 2010 are exemplary steps to be performed to analyze the geographically relevant POIs. Not all of the steps 2002 through 2010 are required in all embodiments. For example, the geographically relevant POIs may be analyzed using any number of one or more of the steps 2002 through 2010. Further, there may be additional steps in the analysis of the geographically relevant POIs that are not illustrated. For example, the ratings of the geographically relevant POIs may also be based on whether users have successfully been attracted to the geographically relevant POIs for new crowds in the past. As another example, the ratings of the geographically relevant POIs may also be based on whether new crowds are already being formed at the geographically relevant POIs and, if so, the number of new crowds already being formed at the geographically relevant POIs. For instance, for a particular geographically relevant POI, the rating of that POI may also be based on whether any new crowds are already being formed at that POI and, if so, the number of new crowds already being formed at that POI. The rating of the POI may also take into account whether any new crowds are already being formed at other geographically relevant POIs that are near the POI (e.g., within a predefined distance from the POI). Thus, if one or more new crowds are already being formed at one of the geographically relevant POIs (and/or at another nearby geographically relevant POI), then the rating of that POI may be reduced. For example, if a new crowd that is large is already being formed at the geographically relevant POI, then there may not be a very good chance that another new large crowd can be formed at the POI in which case the rating of the POI is reduced. In contrast, if another new crowd that is similar to the new crowd desired to be created is already being created at the POI, then the rating of POI may be increased because it is more likely that the desired new crowd can be created at the POI. As a final example, if one or more large new crowds are already being formed at the POI, then the rating of the POI may be reduced if the POI is unable to accommodate another new crowd.
Next, the new crowd engine 62 selects a POI for the new crowd from the geographically relevant POIs identified in step 2102 based on an analysis of the geographically relevant POIs (step 2104). The new crowd engine 62 selects the POI for the new crowd automatically and programmatically without user input from a user (i.e., the user 20 of the mobile device 18) selecting the POI for the new crowd from a number of potential POIs for the new crowd. The new crowd engine 62 of the MAP server 12 then selects users to attract to the new crowd at the selected POI, as described above (step 2106). Once the POI and the users to attract to the new crowd are selected, the new crowd engine 62 attracts the selected users to the new crowd at the selected POI (step 2108).
The systems and methods described herein have substantial opportunity for variation without departing from the spirit or scope of the present disclosure. For instance, while
As another example, the POI for the new crowd may be selected in advance by the requestor and included in the new crowd request. In this case, the new crowd engine 62 simply selects the users to attract to the new crowd at the defined POI and attracts the selected users to the new crowd at the defined POI. As yet another example, the requestor may define a list of preferred POIs for the new crowd, and the list of preferred POIs may be included in the new crowd request. The new crowd engine 62 then analyzes only the POIs in the defined list of preferred POIs, rather than all of the geographically relevant POIs, to either identify one or more potential POIs for the new crowd or automatically and programmatically select the POI for the new crowd, depending on the particular implementation.
As yet another example, while the discussion herein focuses on creating a new crowd at a single POI, the systems and processes described herein may be used to simultaneously create new crowds at multiple POIs. For instance, a requesting user may select (or the new crowd engine 62 may automatically and programmatically select) multiple POIs for a new crowd and then form multiple instances of the new crowd at the multiple POIs. Over time, the new crowd engine 62 may adjust how it is attracting users to the multiple POIs based on how well it has attracted users to those POIs thus far. So, if more users have been attracted to one of the POIs than the others, the new crowd engine 62 may then focus its attention on that POI such that users are primarily attracted to that POI to form the new crowd.
Those skilled in the art will recognize improvements and modifications to the preferred embodiments of the present disclosure. All such improvements and modifications are considered within the scope of the concepts disclosed herein and the claims that follow.
This application claims the benefit of provisional patent application Ser. No. 61/236,296, filed Aug. 24, 2009, the disclosure of which is hereby incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61236296 | Aug 2009 | US |