Searching and determining active area
First Claim
Patent Images
1. A method implemented by one or more computing devices, the method comprising:
- receiving a search request;
obtaining a map including a geographical region from a geographic location database;
dividing the geographical region into a plurality of grids;
obtaining multiple target objects and respective pieces of attribute information from an information database;
determining a respective grid corresponding to a target object of the multiple target objects based at least in part on a respective piece of attribute information of the target object;
calculating a respective popularity value of the respective grid in accordance with one or more target objects belonging to the respective grid;
determining multiple grids in accordance with popularity values of the plurality of grids and a respective distance between each individual pair of the plurality of grids; and
merging at least some of the multiple grids to form an active area, merging the at least some of the multiple grids to form the active area comprising;
merging a first grid and a second grid of the multiple grids to generate a set of grids;
determining a level of the set of grids;
continuously merging one or more additional grids of the multiple grids to the set of grids until the level of the set of grids reaches a preset level, wherein respective differences between respective levels of the one or more additional grids and the level of the set of grids are less than or equal to a difference threshold; and
setting the active area as an area range covered by the set of grids in response to determining that the level of the set of grids reaches the preset level;
searching the active area corresponding to the search request in accordance with the search request; and
returning information of the active area.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses an example method and server for searching and determining an active area. A search request is received by a server. An active area corresponding to the search request is searched in accordance with the search request. Information of the active area is returned. According to the present techniques, the active area found by the server is determined objectively based on the obtained related information. The present techniques avoid increasing search times of the server, prevent waste of resources and bandwidth of the server, and improve the accuracy and reliability for searching the active area.
-
Citations
16 Claims
-
1. A method implemented by one or more computing devices, the method comprising:
-
receiving a search request; obtaining a map including a geographical region from a geographic location database; dividing the geographical region into a plurality of grids; obtaining multiple target objects and respective pieces of attribute information from an information database; determining a respective grid corresponding to a target object of the multiple target objects based at least in part on a respective piece of attribute information of the target object; calculating a respective popularity value of the respective grid in accordance with one or more target objects belonging to the respective grid; determining multiple grids in accordance with popularity values of the plurality of grids and a respective distance between each individual pair of the plurality of grids; and merging at least some of the multiple grids to form an active area, merging the at least some of the multiple grids to form the active area comprising; merging a first grid and a second grid of the multiple grids to generate a set of grids; determining a level of the set of grids; continuously merging one or more additional grids of the multiple grids to the set of grids until the level of the set of grids reaches a preset level, wherein respective differences between respective levels of the one or more additional grids and the level of the set of grids are less than or equal to a difference threshold; and setting the active area as an area range covered by the set of grids in response to determining that the level of the set of grids reaches the preset level; searching the active area corresponding to the search request in accordance with the search request; and returning information of the active area. - View Dependent Claims (2, 3)
-
-
4. A method comprising:
-
obtaining a map including a geographical region from a geographic location database; dividing the geographical region into a plurality of grids; obtaining multiple target objects and respective pieces of attribute information from an information database; calculating respective popularity values of the plurality of grids based at least in part on the multiple target objects; and determining multiple grids based at least in part on the respective popularity values of the plurality of grids; merging at least some of the multiple grids to form an active area, merging the at least some of the multiple grids to form the active area comprising; merging a first grid and a second grid of the multiple grids to generate a set of grids; determining a level of the set of grids; continuously merging one or more additional grids of the multiple grids to the set of grids until the level of the set of grids reaches a preset level, wherein respective differences between respective levels of the one or more additional grids and the level of the set of grids are less than or equal to a difference threshold; and setting the active area as an area range covered by the set of grids in response to determining that the level of the set of grids reaches the preset level. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A server comprising:
-
one or more processors; memory; an information database; a dividing unit stored in the memory and executable by the one or more processors that divides a geographical region into a plurality of grids; an obtaining unit stored in the memory and executable by the one or more processors that obtains multiple target objects and respective pieces of attribute information from the information database; a calculating unit stored in the memory and executable by the one or more processors that calculates popularity values of the plurality of grids based at least in part on the respective pieces of attribute information of the multiple target objects; a second determining unit stored in the memory and executable by the one or more processors that determines multiple grids based at least in part on the popularity values of the plurality of grids and a distance between each individual pair of the plurality of grids; and a forming unit stored in the memory and executable by the one or more processors that merges at least some of the multiple grids to form an active area, merging the at least some of the multiple grids to form the active area comprising; merging a first grid and a second grid of the multiple grids to generate a set of grids; determining a level of the set of grids; continuously merging one or more additional grids of the multiple grids to the set of grids until the level of the set of grids reaches a preset level, wherein respective differences between respective levels of the one or more additional grids and the level of the set of grids are less than or equal to a difference threshold; and setting the active area as an area range covered by the set of grids in response to determining that the level of the set of grids reaches the preset level. - View Dependent Claims (16)
-
Specification