Searching and determining active area
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.
Claims
exact text as granted — not AI-modified1 .- 20 . (canceled)
21 . A method implemented by one or more computing devices, the method comprising:
receiving a search request; determining multiple grids of a geographical location in a map corresponding to one or more target objects in response to receiving the search request; 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: determining a level of an initial set of grids of the multiple grids; continuously merging one or more additional grids of the multiple grids to the initial set of grids until a level of a new 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 new set of grids are less than or equal to a difference threshold; and setting the active area as an area range covered by the new set of grids in response to determining that the level of the new set of grids reaches the preset level; searching the active area in accordance with the search request; and returning a result of the searching.
22 . The method of claim 21 , wherein the map is obtained from a geographic location database.
23 . The method of claim 21 , wherein the search request includes geographical location information, and wherein searching the active area comprises searching the active area corresponding to the geographical location information.
24 . The method of claim 21 , wherein the search request includes a keyword, and wherein searching the active area comprises searching the active area corresponding to the keyword.
25 . The method of claim 21 , further comprising:
obtaining respective pieces of attribute information of the one or more target objects from an information database; and determining a respective grid corresponding to a target object of the one or more target objects based at least in part on a respective piece of attribute information of the target object.
26 . The method of claim 25 , further comprising calculating a respective popularity value of the respective grid based at least in part on the respective piece of attribute information of the target object.
27 . The method of claim 25 , further comprising obtaining respective pieces of attribute information of the one or more target objects from an information database, wherein the respective pieces of attribute information include respective pieces of name attribute information of the one or more target objects.
28 . The method of claim 27 , further comprising determining a name of the active area by:
conducting statistics of a number of occurrence times of one or more keywords in the respective one or more pieces of name attribute information; and using a keyword with a largest number of occurrence times as the name of the active area.
29 . The method of claim 21 , further comprising determining a name of the active area based at least in part on respective attribute information of the one or more target objects.
30 . The method of claim 29 , wherein the respective attribute information includes road name information, and the method further comprises determining whether the name of the active area includes a road name after the name of the active area is determined.
31 . The method of claim 30 , further comprising: in response to determining that the name of the active area includes a road name, obtaining one or more grids corresponding to the road name, and revising the active area using the one or more grids corresponding to the road name.
32 . The method of claim 30 , further comprising: in response to determining that the name of the active area does not include a road name,
searching one or more matching target objects in the active area in accordance with the name of the active area; determining whether a distance between a geographical location of a respective matching target object and a geographical location of a center location of the active area exceeds a distance threshold value; in response to determining that the distance between the geographical location of the respective matching target object and the geographical location of the center location of the active area does not exceed the distance threshold value, determining whether a number of the one or more matching target objects exceeds a number threshold value; in response to determining that the number of the one or more matching target objects exceeds the number threshold value,
clustering the one or more matching target objects; and
revising the active area using corresponding one or more grids that the one or more matching target objects are located.
33 . The method of claim 32 , further comprising excluding the one or more matching target objects as abnormal target objects in response to determining that the number of the one or more matching target objects does not exceed the number threshold value.
34 . The method of claim 21 , further comprising drawing a range of the active area based at least in part on border information of the new set of the grids.
35 . One or more computer-readable media storing executable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:
receiving a search request; determining multiple grids of a geographical location in a map corresponding to one or more target objects in response to receiving the search request; 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: determining a level of an initial set of grids of the multiple grids; continuously merging one or more additional grids of the multiple grids to the initial set of grids until a level of a new 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 new set of grids are less than or equal to a difference threshold; and setting the active area as an area range covered by the new set of grids in response to determining that the level of the new set of grids reaches the preset level; searching the active area in accordance with the search request; and returning a result of the searching.
36 . The one or more computer-readable media of claim 35 , the acts further comprising calculating a popularity value of a respective grid corresponding to a target object of the one or more target object based at least in part on attribute information of the target object.
37 . The one or more computer-readable media of claim 36 , the acts further comprising determining the multiple grids in accordance with popularity values of a plurality of grids and a respective distance between each individual pair of the plurality of grids.
38 . The one or more computer-readable media of claim 36 , the acts further comprising obtaining respective pieces of attribute information of the one or more target objects from an information database, wherein the respective pieces of attribute information include respective pieces of category attribute information of the one or more target objects.
39 . The one or more computer-readable media of claim 38 , further comprising calculating respective popularity values of the multiple grids, calculating the respective popularity values comprises:
categorizing the one or more target objects based at least in part on the respective pieces of attribute information of the one or more target objects; conducting statistics of a respective number of target objects with a respective category; assigning a respective weight value to the respective category; and calculating a respective popularity value of a respective grid of the multiple grids based at least in part on the respective number of target objects with the respective category and the respective weight value of the respective category.
40 . A system comprising:
one or more processors; memory storing executable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising: receiving a search request; determining multiple grids of a geographical location in a map corresponding to one or more target objects in response to receiving the search request; 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: determining a level of an initial set of grids of the multiple grids; continuously merging one or more additional grids of the multiple grids to the initial set of grids until a level of a new 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 new set of grids are less than or equal to a difference threshold; and setting the active area as an area range covered by the new set of grids in response to determining that the level of the new set of grids reaches the preset level; searching the active area in accordance with the search request; and returning a result of the searching.Join the waitlist — get patent alerts
Track US2017031951A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.