Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for searching nearby users in social network, and server

A social network and server technology, applied in the method and server to find nearby users, can solve problems such as inaccurate search results, and achieve the effect of improving accuracy

Active Publication Date: 2012-07-11
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF7 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above method has certain problems in practical applications, that is, user X may be near the boundary of two adjacent grids, figure 1 is a schematic diagram of the location of user X, such as figure 1 As shown, the two adjacent grids are grid A and grid B respectively. Both user X and user Z are in grid A, and user Y is in grid B. For user X, the distance between user X and user Y is The distance between users will be closer than the distance to user Z. If you want to ask for help, user Y is obviously more suitable than user Z, but according to the existing method, user X will only be able to find user Z, but not user Z. User Y, i.e. the search result is not accurate enough

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for searching nearby users in social network, and server
  • Method for searching nearby users in social network, and server
  • Method for searching nearby users in social network, and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Aiming at the problems existing in the prior art, the present invention proposes an improved solution for searching nearby users, which can improve the accuracy of the search results.

[0030] In order to make the technical solution of the present invention clearer and clearer, the solution of the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0031] figure 2 It is a flow chart of the first embodiment of the method for finding nearby users in a social network according to the present invention. Such as figure 2 shown, including the following steps:

[0032] Step 21: Divide the earth's surface into a series of equal-area grid arrays in advance, and set a list for each grid.

[0033] The earth's surface can be divided into a series of equal-area grid arrays according to latitude and longitude information, and the size of each grid can be determined according to actual needs, such as 1 square kil...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for searching nearby users in a social network, and a server. The method comprises the following steps of: dividing the earth surface into a series of grid arrays with equal area in advance, and respectively setting a list for each grid; when receiving position information and a user identifier which are reported by a client side of any user X, determining a gird Y where the received position information is located, and storing the user identifier and latest position information of the user X in the list corresponding to the grid Y; searching users in other grids which are positioned in the grid Y, forms an N-grid structure together with the grid Y and takes the grid Y as a center; and searching and sequencing all the users according to a sequence of distances between the users and the user X from nearby to far, and returning user identifiers of all the sequenced users and the distances between the sequenced users and the user X to the client side of the user X, wherein in the sequencing process, a reporting time factor can be further considered. Due to application of the method and device disclosed by the invention, the result searching accuracy can be improved.

Description

technical field [0001] The invention relates to Internet technology, in particular to a method and server for searching nearby users in a social network. Background technique [0002] In a social network, in some cases, a user may need to find out nearby users, and then contact them, so as to make friends or ask for help. [0003] In the prior art, the following search methods can be used: the server pre-divides the earth’s surface into a series of equal-area grid arrays according to the latitude and longitude information; for any user, suppose it is user X, when it needs to find nearby users, it will pass The client (such as a mobile terminal) used by itself reports its location information (latitude and longitude information) and user identification to the server; after the server receives the location information reported by user X, it first determines the grid where the location information is located, and then, Find out other users who are also in the grid, and return ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/08G06F17/30
CPCG06Q50/01G06F17/30867G06F17/30241G06Q10/10G06F17/30G06F17/3053G06F16/29G06F16/9535G06F16/24578
Inventor 陈俊超赖中华崔浩川吴宇马翠龙冯经琼黄天晴叶娃林向耀林学钦张育选容琨锋凌国
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products