发明名称 METHOD AND SERVER FOR SEARCHING FOR NEARBY USER IN SOCIAL NETWORK
摘要 Disclosed are a method and server for searching for nearby users in a social network, the method comprising: after receiving the position information and a user identifier reported by the client-side of any user X, determining a grid Y where the received position information is located, and storing the user identifier and the latest position information of user X only in the list corresponding to grid Y, grid Y being any one grid in a series of grid arrays with an equal area pre-plotted on the earth surface; searching for the users in grid Y and the other grids forming an N-grid structure together with grid Y and taking grid Y as center; sequencing the searched users in the sequence from proximal to distal according to distances to user X, and returning to the client-side of user X the user identifiers of the sequenced users and the distances to user X; the reporting time can be further considered as another factor in the sequencing process. The method and device of the present invention improve the accuracy of search result.
申请公布号 WO2013071773(A1) 申请公布日期 2013.05.23
申请号 WO2012CN79561 申请日期 2012.08.02
申请人 TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED;CHEN, JUNCHAO;LAI, ZHONGHUA;CUI, HAOCHUAN;WU, YU;MA, CUILONG;FENG, JINGQIONG;HUANG, TIANQING;YE, WA;LIN, XIANGYAO;LIN, XUEQIN;ZHANG, YUXUAN;RONG, KUNFENG;LING, GUO 发明人 CHEN, JUNCHAO;LAI, ZHONGHUA;CUI, HAOCHUAN;WU, YU;MA, CUILONG;FENG, JINGQIONG;HUANG, TIANQING;YE, WA;LIN, XIANGYAO;LIN, XUEQIN;ZHANG, YUXUAN;RONG, KUNFENG;LING, GUO
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址