Fast local recommender queries via modified spatial data structure querying
First Claim
1. A computer-implemented method for providing recommendations of leisure activities to a user, wherein the computer comprises a processor, the method comprising:
- receiving an activity type and a nearness metric;
identifying a cell stored in a spatial database based on location information associated with a computing device of the user, wherein the spatial database stores leisure activities corresponding to geographically segmented cells;
wherein the spatial database stores a number of cells, and the number of cells in the spatial database depends on the density of leisure activities in a given geographic area and the type of leisure activity;
determining a set of nearby cells based on the identified cell and a bound corresponding to the nearness metric;
retrieving leisure activities that match the activity type and are associated with the nearby cells; and
returning the set-of-retrieved leisure activities to the user.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment of the present invention provides a system that can recommend leisure activities to a user. During operation, the system receives one or more activity types. Next it receives a bound in terms of a nearness metric such as travel distance, travel time, or travel cost. Next, it receives location information associated with a computing device of the user. The system then uses the location information to identify a cell stored in a spatial database. The system then returns a set of leisure activities that match the activity types and that are within the bound relative to the cell. The spatial database includes leisure activity data that is segmented based on physical position such as latitude and longitude. Moreover, the cells of the spatial database are linked based on the nearness metric.
9 Citations
17 Claims
-
1. A computer-implemented method for providing recommendations of leisure activities to a user, wherein the computer comprises a processor, the method comprising:
-
receiving an activity type and a nearness metric; identifying a cell stored in a spatial database based on location information associated with a computing device of the user, wherein the spatial database stores leisure activities corresponding to geographically segmented cells; wherein the spatial database stores a number of cells, and the number of cells in the spatial database depends on the density of leisure activities in a given geographic area and the type of leisure activity; determining a set of nearby cells based on the identified cell and a bound corresponding to the nearness metric; retrieving leisure activities that match the activity type and are associated with the nearby cells; and returning the set-of-retrieved leisure activities to the user. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for providing recommendations of leisure activities to a user, the method comprising:
-
receiving an activity type and a nearness metric; identifying a cell stored in a spatial database based on location information associated with a computing device of the user, wherein the spatial database stores leisure activities corresponding to geographically segmented cells; wherein the spatial database stores a number of cells, and the number of cells in the spatial database depends on the density of leisure activities in a given geographic area and the type of leisure activity; determining a set of nearby cells based on the identified cell and a bound corresponding to the nearness metric; retrieving leisure activities that match the activity type and are associated with the nearby cells; and returning the set-of-retrieved leisure activities to the user. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for providing recommendations of leisure activities to a user, comprising:
-
a processor; a memory; a receiving mechanism configured to receive an activity type and a nearness metric; an identification mechanism configured to identify a cell stored in a spatial database based on location information associated with a computing device of the user, wherein the spatial database stores leisure activities corresponding to geographically segmented cells; wherein the spatial database stores a number of cells, and the number of cells in the spatial database depends on the density of leisure activities in a given geographic area and the type of leisure activity; a determination mechanism configured to determine a set of nearby cells based on the identified cell and a bound corresponding to the nearness metric; a retrieval mechanism configured to retrieve leisure activities that match the activity type and are associated with the nearby cells; and an output mechanism configured to return the retrieved leisure activities. - View Dependent Claims (14, 15, 16, 17)
-
Specification