Method and apparatus for searching for short-distance object
First Claim
1. A method for searching for a short-distance object performed at a computer server having one or more processors and memory storing one or more programs to be executed by the one or more processors, the method comprising:
- receiving a short-distance object search request sent by a target terminal;
obtaining location information of the target terminal from the short-distance object search request;
determining, for each of multiple preset distance ranges, objects whose distances from the target terminal fall within the corresponding distance range according to the location information of the target terminal and location information of prestored objects for short-distance object search to obtain one or more objects corresponding to the corresponding distance range;
randomly selecting at least one to-be-presented object from the one or more objects corresponding to each distance range; and
returning the to-be-presented objects to be presented on the target terminal in an ascending order of current distances between terminals of the selected to-be-presented objects and the target terminal.
2 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure discloses a method and a computer server for searching for a short-distance object and pertains to the field of mobile terminal technologies. The method includes: receiving a short-distance object search request sent by a target terminal; obtaining location information of the target terminal from the short-distance object search request; separately determining, according to the location information of the target terminal, location information of prestored objects for short-distance object search, and multiple preset distance ranges, objects whose distances from the target terminal fall within each distance range, to obtain one or more objects corresponding to each distance range; separately randomly selecting at least one to-be-presented object from the one or more objects corresponding to each distance range; and returning the to-be-presented objects to be presented on the target terminal. By means of the present disclosure, effectiveness of a short-distance object search function can be enhanced.
-
Citations
18 Claims
-
1. A method for searching for a short-distance object performed at a computer server having one or more processors and memory storing one or more programs to be executed by the one or more processors, the method comprising:
-
receiving a short-distance object search request sent by a target terminal; obtaining location information of the target terminal from the short-distance object search request; determining, for each of multiple preset distance ranges, objects whose distances from the target terminal fall within the corresponding distance range according to the location information of the target terminal and location information of prestored objects for short-distance object search to obtain one or more objects corresponding to the corresponding distance range; randomly selecting at least one to-be-presented object from the one or more objects corresponding to each distance range; and returning the to-be-presented objects to be presented on the target terminal in an ascending order of current distances between terminals of the selected to-be-presented objects and the target terminal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A server, comprising:
-
one or more processors; memory; and one or more programs stored in the memory, the one or more programs being configured to be executed by the one or more processors and cause the server to perform a plurality of operations including; receiving a short-distance object search request sent by a target terminal; obtaining location information of the target terminal from the short-distance object search request; determining, for each of multiple preset distance ranges, objects whose distances from the target terminal fall within the corresponding distance range according to the location information of the target terminal and location information of prestored objects for short-distance object search to obtain one or more objects corresponding to the corresponding distance range; randomly selecting at least one to-be-presented object from the one or more objects corresponding to each distance range; and returning the to-be-presented objects to be presented on the target terminal in an ascending order of current distances between terminals of the selected to-be-presented objects and the target terminal. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A non-transitory computer readable storage medium, storing a plurality of computer executable instructions, the computer executable instructions being executed by one or more processors of a computer server that is communicatively connected to a plurality of terminal devices to perform a plurality of operations including:
-
receiving a short-distance object search request sent by a target terminal; obtaining location information of the target terminal from the short-distance object search request; determining, for each of multiple preset distance ranges, objects whose distances from the target terminal fall within the corresponding distance range according to the location information of the target terminal and location information of prestored objects for short-distance object search to obtain one or more objects corresponding to the corresponding distance range; randomly selecting at least one to-be-presented object from the one or more objects corresponding to each distance range; and returning the to-be-presented objects to be presented on the target terminal in an ascending order of current distances between terminals of the selected to-be-presented objects and the target terminal. - View Dependent Claims (17, 18)
-
Specification