WO2012100678A1 - 一种分类用户的方法及装置 - Google Patents

一种分类用户的方法及装置 Download PDF

Info

Publication number
WO2012100678A1
WO2012100678A1 PCT/CN2012/070230 CN2012070230W WO2012100678A1 WO 2012100678 A1 WO2012100678 A1 WO 2012100678A1 CN 2012070230 W CN2012070230 W CN 2012070230W WO 2012100678 A1 WO2012100678 A1 WO 2012100678A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
location
information
zoning
list
Prior art date
Application number
PCT/CN2012/070230
Other languages
English (en)
French (fr)
Inventor
孟金锋
余量
郑春雷
王圣元
李凌飞
董锡军
王博强
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2012100678A1 publication Critical patent/WO2012100678A1/zh
Priority to US13/951,602 priority Critical patent/US20130318202A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/48Message addressing, e.g. address format or anonymous messages, aliases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area

Definitions

  • the present invention relates to network community technologies, and in particular, to a method and apparatus for classifying users. Background of the invention
  • IM instant messaging
  • the existing user terminal displays the QQ chat window through the IM chat software, and classifies the QQ users, and generally divides the QQ users in the QQ chat window into QQ friends list, address book QQ, QQ group list, and most recently.
  • the QQ buddy list is used by the QQ user to add a buddy list, and displays the QQ user in a list manner according to the buddy name order or the QQ number order;
  • the address book list is used to record the communication information of the QQ user, for example, Telephone, communication address, E-mail address, etc.;
  • QQ group list is used to store the QQ group that the user participates in and the QQ users in each group;
  • the recent contact list is used to record the latest time according to the preset settings of the IM chat software. Other QQ users who contact this QQ user.
  • the user terminal pulls the classification information included in the QQ user chat window from the QQ server, and displays it to the user, for example, for the QQ buddy list, according to the information pulled from the QQ server,
  • the list mode displays all the friends list added by the QQ user and displays the status of the friend.
  • the QQ chat window is updated according to the setting of the QQ server or the user terminal, and the QQ server stores the history of the user online when the user logs out. record information.
  • IM tools and personalized services For example, for the QQ chat window displayed by the existing user terminal, the user wants to be able to display the classified information according to his or her personalized needs and obtain as much relevant information as possible for the displayed QQ user, for example, because the existing QQ friend
  • the list mode is displayed, and a user has a large number of QQ friends. If they are displayed to the user in turn, it is more difficult for the user to find the QQ friends who need to interact, and the speed of finding the friend is slow. Summary of the invention
  • the main object of the present invention is to propose a method for classifying users, which improves the search speed of friends.
  • Another object of the present invention is to provide a device for classifying users, which improves the search speed of friends.
  • the present invention provides a method for classifying a user, the method comprising: acquiring location information of each user, and classifying location information used by the user; obtaining a user list mapped by the user, according to each user list The user's location information, and the location zoning information used by the user, and the users in the user list whose location information corresponds to the same location zoning information are classified into the location zoning table corresponding to the same location zoning information, and the The sub-table information of each location of the user;
  • the user terminal obtains the location zoning table information of the user according to the pull request of the user.
  • a device for classifying a user comprising: a location zoning policy storage module, a location zoning processing module, a user list storage module, and a location information pull module, wherein
  • a location zoning policy storage module configured to store pre-set location zoning information
  • a location zoning processing module receiving user location information uploaded by each user through the user terminal, querying the user list storage module, obtaining a user list including the user;
  • the storage module sends a build indication;
  • a user list storage module configured to store a user list mapped by each user, and construct a location zoning table corresponding to the user location information received by the location zoning processing module according to the construction instruction of the location zoning processing module, and set the user zoning table in the user list Enter the constructed location zoning table;
  • a location information pull module configured to receive a pull request from a user, query a user list storage module, obtain location location sub-table information in the user map mapped by the user, and carry the information in the pull request response to be sent to the user.
  • User terminal so that the user terminal performs display according to the received location zoning sub-table information.
  • a device for classifying a user comprising a storage module, a receiving module, a classification module and a sending module;
  • the storage module is configured to store a user list mapped by each user and user location information reported by the user terminal;
  • the receiving module is configured to receive a pull request of the user terminal
  • the classification module is configured to obtain the location zoning information, and obtain, according to the user information carried in the pull request, the user list mapped by the user and the location information of each user in the user list, Each user in the user list whose location information corresponds to the same location zoning information is classified into a location zoning table corresponding to the same location zoning information, and information of each location zoning table of the user list is obtained;
  • the sending module is configured to carry the information about the location location sub-tables in a pull response to the user terminal.
  • a device for classifying a user includes a report module, a pull module, and a classification module; the report module is configured to report user location information to a server; the pull module is configured to send a pull request to the server, according to The user information carried in the pull request is obtained from the server, and the location information of each user in the user list mapped by the user is obtained from the server;
  • the classification module is configured to obtain location zoning information, and classify each user in the user list whose location information corresponds to the same location zoning information into a location zoning table corresponding to the same location zoning information, to obtain the user.
  • the sub-table information of each location of the list is configured to obtain location zoning information, and classify each user in the user list whose location information corresponds to the same location zoning information into a location zoning table corresponding to the same location zoning information, to obtain the user.
  • the sub-table information of each location of the list is configured to obtain location zoning information, and classify each user in
  • the method and device for classifying users constructs a location zoning sub-table in each user list mapped by the user according to the preset location zoning information;
  • the user location information uploaded by the terminal, the query obtains the user list including the user, and places the user in the user list into the location zoning table corresponding to the user location information; receives the pull request from the user, and queries and obtains the user mapping
  • the location zoning sub-table information in the user list is carried in the pull request response and sent to the user terminal used by the user, so that the user terminal performs display according to the received location zoning sub-table information.
  • the user can know the real location of the friend, know which friends are in the location of interest, and can quickly find the friends at the specific location.
  • FIG. 1 is a schematic flowchart of a method for classifying users according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an apparatus for classifying users according to an embodiment of the present invention.
  • the initially classified IM users are sequentially displayed according to the classification manner of the list, so that the number of IM users included in the list is large, which is inconvenient for the user to query the IM users that need to interact. For example, you can't quickly find a specific location Friends.
  • LBS location based service
  • mobile user terminals such as mobile phones generally have a Global Positioning System (GPS) function; and, based on GPS, location information is supported by more and more user terminals. Therefore, in the embodiment of the present invention, the IM user in the IM window is further classified based on the IM user location information, so that the user can find the IM user who needs to interact and quickly find the friend at the specific location.
  • GPS Global Positioning System
  • the present invention can be applied not only to instant messaging but also to other social networking networks involving the classification of personnel lists, for example, a buddy list in Kaixin or Renren.
  • the method for classifying users provided by the present invention includes:
  • the user terminal obtains the location zoning table information of the user according to the pull request of the user.
  • the specific method for obtaining the location information of each user is not specifically limited.
  • the user location information may be obtained by the user terminal to obtain the current location information of the user, or obtain the current location of the user by obtaining the IP address information of the user terminal. location information.
  • the specific method for obtaining the location zoning information used by the categorized user is not limited.
  • the location zoning information used by the categorized user may be pre-stored, or the user's pull request may be carried by the categorized user.
  • Location zoning information may be pre-stored, or the user's pull request may be carried by the categorized user.
  • the action execution subject that classifies the user in the location zoning table which can be a server, It can be a user terminal.
  • each user reports the location information of the user to the server, and the server uses the location information of each user in the user list and the location zoning information used by the user.
  • Each user in the user list whose location information corresponds to the same location zoning information is classified into the location zoning table corresponding to the same location zoning information, and the location zoning table information of the user list is obtained.
  • the user terminal When the user classifies the user in the location zoning table, after the user reports the location information of the user to the server, the user terminal obtains the location information of each user from the server side, according to the location information of each user in the user list, and Sorting the location zoning information used by the user, and classifying each user in the user list whose location information corresponds to the same location zoning information into the location zoning table corresponding to the same location zoning information, and obtaining each location of the user list.
  • Regional table information When the user classifies the user in the location zoning table, after the user reports the location information of the user to the server, the user terminal obtains the location information of each user from the server side, according to the location information of each user in the user list, and Sorting the location zoning information used by the user, and classifying each user in the user list whose location information corresponds to the same location zoning information into the location zoning table corresponding to the same location zoning information, and obtaining each location of the user list.
  • the location zoning sub-table may be determined in advance. In other words, after receiving the location information reported by the user, the server classifies the user in the location zoning table in real time or periodically. Alternatively, the location zoning sub-table may be dynamically determined according to the user request. In other words, the server or the user terminal classifies the user in the location zoning table when receiving the user's pull request.
  • the server classifies the users in the user list in the location zoning table in real time or periodically, and then the server receives the user terminal.
  • the location location sub-table information obtained by the user-mapped user list is obtained according to the user information carried in the pull request, and the obtained location location sub-table information is sent to the user terminal.
  • the server After dynamically determining the location zoning sub-table according to the user request, the server updates the user location information stored on the server side after receiving the location information reported by the user, and the server carries the pull request according to the pull request after receiving the pull request of the user terminal.
  • User information get the user a mapped user list, the server classifying each user of the user location information corresponding to the same location zoning information in the location zoning table corresponding to the same location zoning information, and obtaining each location zoning table of the user list
  • the server may obtain the location division information in multiple manners. For example, the server may preset the location division information, or extract the location division information from the pull request.
  • the server updates the user location information stored on the server side after receiving the location information reported by the user, and the server receives the pull request of the user terminal according to the pull request.
  • the user information carried in the user obtains the user list mapped by the user, and sends the location information of each user in the user list to the user terminal, and the user terminal corresponds to the user of the same location zoning information in the user list.
  • the location zoning table information of the user list is obtained in the location zoning table corresponding to the same location zoning information, and the user terminal displays the location zoning sub-table information.
  • the user terminal may obtain the location division information in multiple manners. For example, the user terminal may preset the location division information, or obtain the location division information from the server side, or extract the location division information from the pull request.
  • the present invention obtains the user-mapped user list by acquiring the location information of each user and the location zoning information used by the user, according to the location information of each user in the user list, and the location zoning information used by the classified user.
  • Each user in the user list corresponding to the same location zoning information in the user list is classified into a location zoning table corresponding to the same location zoning information, and information about each location zoning table of the user is obtained, so that the location zoning according to the user is obtained.
  • the sub-table information can clearly understand which friends are available at each location, thereby improving the speed of finding friends at a specific location.
  • FIG. 1 is a schematic flowchart of a method for classifying users according to an embodiment of the present invention. Referring to Figure 1, the process includes:
  • Step 101 Construct a location zoning sub-table in each stored user-mapped user list according to the preset location zoning information
  • the location division may be an administrative division or a latitude and longitude division.
  • the administrative division can be a commercial village, a tourist attraction, a gathering place for people, a township, a district, a town, a county, a city or a province, or a country. Of course, in practical applications, it can also be other administrative divisions, such as Yunguichuan, Lianghu (Hunan, Hubei), and Guangdong (Guangdong, Guangxi).
  • the latitude and longitude division includes a longitude division and a latitude division.
  • the server can also store administrative divisions and The mapping relationship between the latitude and longitude divisions is sent to each user terminal.
  • the preset location zoning information may be preset in the server by the operator, or may be set by the user and uploaded to the server through the user terminal, or may be set by a third party and uploaded to the server.
  • Users include QQ users, Weibo users, and all users of social networking networks that use the list of people.
  • the user list mapped by each user belongs to the prior art, and each user maps a user list, and the user list is indexed by the user.
  • the QQ user the QQ user identifier is used as an index, and the user who is mapped by the QQ user can be queried.
  • the user list is classified into a QQ friend, an address book, a QQ group, and a recent contact. In each category, other QQ user information related to the QQ user is stored.
  • the location zoning table is constructed in the category lists of QQ friends, address books, QQ groups, and recent contacts, for example, if the location zoning information is a province in the administrative zoning, then the QQ friends Category List In the middle, the sub-tables such as Yunnan, Guizhou, Sichuan, Hunan, and Hubei are constructed separately, and the initial contents in the sub-table are empty, and other classification lists are constructed in the same manner.
  • next-level sub-table can also be constructed in the sub-table.
  • the sub-tables such as Xujiahui and Lujiazui can be subdivided.
  • Step 102 Receive user location information uploaded by each user through the user terminal, and query to obtain a user list including the user.
  • the server and the user can pre-negotiate the location zoning mode. If the administrative division is used in advance, the uploaded user location information is administrative division information. If the latitude and longitude zoning is used in advance, the uploaded user location information is longitude information. And latitude information.
  • the user terminal when the user terminal uploads the user location information, the user may not consider the location location manner, but only the location information that can be identified by various location zoning methods, such as the absolute location information of the user.
  • the report is reported to the server, and then the server determines the location information of the user according to the location zoning method used by the classified user and the location information uploaded by the user.
  • user location information can be obtained by the following steps:
  • the user starts the GPS through the user terminal to acquire the GPS signal
  • the user terminal calculates current location information according to the GPS signal.
  • the user starts the global positioning system through the user terminal to obtain the current user location information.
  • the user terminal calculates the current location information according to the received GPS signal. For details, refer to the related technical documents, and details are not described herein again.
  • the user terminal can determine the location area to which the current location information belongs based on the calculated current location information and the stored location zoning information. Of course, in practical applications, determining the location area to which the current location information belongs may also be performed by the server.
  • user location information can also be obtained by the following steps: Bl, the user starts the positioning function through the user terminal, and obtains the communication cell identification information of the current network;
  • the user can also obtain the IP address information of the user terminal through the user terminal.
  • the user terminal sends a location information acquisition request to the location information server, and carries the communication cell identity information.
  • the location information server queries the mapping relationship between the pre-stored communication cell identifier and the location information, and obtains the location information of the communication cell identifier mapping carried in the location information acquisition request.
  • the user terminal can also obtain user location information through other positioning methods.
  • the server receives the user location information, and queries the stored user list according to the user identifier to include the user, and obtains a user list including the user.
  • multiple users list may include the same user, the multiple user lists are obtained separately.
  • Step 103 Place the user in the user list into a location zoning table corresponding to the user location information
  • the user location information is Yunnan
  • the user exists only in the QQ friend classification list in the user list mapped by the user A
  • the user is cut and placed in the Yunnan sub-table under the QQ friend classification list. in.
  • Step 104 Receive a pull request from a user, and query the location zoning sub-list information in the user list that is obtained by the user, and carry the information in the pull request response to the user terminal used by the user, so that the user terminal receives the information according to the user terminal.
  • the location zoning table information is displayed.
  • the user logs in the user tool software, pulls the associated user information, and the server receives the pull request, and takes the user carried in the request as an index, and obtains the location zoning table information in the user list mapped by the user. It is carried in the pull request response and sent to the user terminal.
  • the user terminal receives the location zoning table information, parses and displays it.
  • the QQ users included in the sub-tables such as Yunnan, Guizhou, Sichuan, Hunan, and Hubei are respectively displayed.
  • the Shanghai sub-list under the QQ friends category list QQ users are displayed according to the location divisions of Xujiahui, Lujiazui and other districts.
  • users can also adjust the categorization of friends or other contacts by selecting the location zoning method. If you choose to sort by province location division, friends or other contacts will be classified by province according to location information; if you choose to sort by district location division, friends or other contacts will be classified according to different administrative districts.
  • the server further stores the electronic map information, and carries the stored electronic map information in the pull request response, and transmits the information to the user terminal.
  • the user terminal receives the pull request response. If the electronic map information is included, the location map is matched with the electronic map information when the user is displayed, and the users in the matched location areas are displayed on the electronic map.
  • the user terminal After the user terminal receives the pull response carrying the location zoning table information, as long as the user terminal can obtain the electronic map information, for example, the user terminal locally stores the electronic map information, whether the server side stores the electronic map information or not Whether the electronic map information is carried in the pull response, the user terminal can match the location zoning table information carried in the pull response with the electronic map information obtained by the user terminal, and display the information on the electronic map. Match the user information in each location area.
  • the user terminal associates the latitude and longitude location zoning information with the electronic map application, and the electronic map application labels the current location of the IM user on the electronic map according to the latitude and longitude data and displays it on the electronic map; for example, zoning each administrative location Letter with electronic map
  • the matching results include Huangpu District, Luwan District, Jing'an District, Zhabei District, and each user has a user, each administrative location is zoned, excluding other such as Hongkou District, Putuo District, etc., corresponding to the electronic map Huangpu District, Luwan District, Jing'an District, Zhabei District, display the corresponding user avatars, nicknames and other identification information.
  • Tianjin Road contains two users
  • Nanjing East Road contains three users
  • the corresponding Tianjin Road and Nanjing East Road area are included.
  • the displayed electronic map can be scaled according to the user's needs, and the screening strength is selected by zooming.
  • the electronic map first displays the user information according to the provincial location division, and when the user clicks on Shanghai or zooms in on the Shanghai location.
  • the user information contained in the location area of each district in Shanghai is displayed.
  • the method for classifying users constructs a location zoning sub-table in each stored user-mapped user list according to the preset location zoning information; and receiving user location information uploaded by each user through the user terminal.
  • the query obtains the user list including the user; the user in the user list is placed in the location zoning table corresponding to the user location information; receiving the pull request from the user, and querying the location zoning in the user list obtained by the user mapping
  • the sub-table information is carried in the pull request response and sent to the user terminal used by the user, so that the user terminal performs display according to the received location zoning sub-table information.
  • the user terminal obtains the LBS data (location information) and uploads it to the server, and the server analyzes the location information uploaded by the user, and further classifies the user in the social network, thereby reducing the time for the user to query the friend and improving the query efficiency.
  • LBS data location information
  • the server analyzes the location information uploaded by the user, and further classifies the user in the social network, thereby reducing the time for the user to query the friend and improving the query efficiency.
  • you can view friends at different distances according to your choice for example, friends in the same area, the same city, the same province, the same country, etc.; and you can quickly understand the location of your own interest. What friends are there, and friends who are closest to them, or friends who are in the same city as themselves, to communicate and talk with friends in the same area.
  • the user's personalized needs enhance the user experience and increase the added value of the IM tool software product.
  • FIG. 2 is a schematic structural diagram of an apparatus for classifying users according to an embodiment of the present invention.
  • the device includes: a location division policy storage module, a location division processing module, a user list storage module, and a location information pull module, where
  • the location zoning policy storage module is configured to store the preset location zoning information.
  • the location zoning information may be separately set for each user, or the unified location zoning information may be set for all users.
  • the location zoning policy storage module is further configured to send the stored location zoning information to each user terminal, so that the user terminal determines the location zoning to which the user belongs according to the delivered location zoning information.
  • the location zoning processing module receives the user location information uploaded by each user through the user terminal, queries the user list storage module, and obtains a user list including the user; sends a construction indication to the user list storage module; wherein the user location information can be related to the location The location zoning information stored by the zoning policy storage module is matched;
  • a user list storage module configured to store a user list mapped by each user, and construct a location zoning table corresponding to the user location information received by the location zoning processing module according to the construction instruction of the location zoning processing module, and set the user zoning table in the user list Enter the constructed location zoning table;
  • each user has a user list.
  • a location information pull module configured to receive a pull request from a user, query a user list storage module, obtain location location sub-table information in the user map mapped by the user, and carry the information in the pull request response to be sent to the user.
  • User terminal so that the user terminal performs display according to the received location zoning sub-table information.
  • the location information pull module further carries the electronic map information acquired in advance
  • the user terminal matches each location division with the electronic map information when displaying the user, and displays the matched users in each location division on the electronic map.
  • the apparatus for classifying users provided by the present invention includes a storage module, a receiving module, a first classification module, and a sending module.
  • the storage module is configured to store a user list mapped by each user and user location information reported by the user terminal.
  • the receiving module is configured to receive a pull request of the user terminal.
  • the first classification module is configured to obtain the location zoning information, and obtain, according to the user information carried in the pull request, the user list mapped by the user, and the location information of each user in the user list, Each user in the user list whose location information corresponds to the same location zoning information is classified into a location zoning table corresponding to the same location zoning information, and each location zoning table information of the user list is obtained.
  • the sending module is configured to carry the information about the location location sub-tables in a pull response to the user terminal.
  • the apparatus for classifying users provided by the present invention includes a reporting module, a pulling module, and a second classification module.
  • the device can also include a display module.
  • the reporting module is configured to report user location information to the server.
  • the pull module is configured to send a pull request to the server, and obtain, according to the user information carried in the pull request, location information of each user in the user list mapped by the user from the server.
  • the second classification module is configured to obtain location zoning information, and classify each user in the user list whose location information corresponds to the same location zoning information into a location zoning table corresponding to the same location zoning information, and obtain a location The sub-table information of each location of the user list.
  • the display module is configured to display location zoning table information of the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种分类用户的方法及装置。包括:按照预先设置的位置区划信息,在存储的各用户映射的用户列表中分别构建位置区划子表;接收各用户通过用户终端上传的用户位置信息,查询获取包含该用户的用户列表,将用户列表中的该用户置入该用户位置信息对应的位置区划子表;接收来自用户的拉取请求,查询获取该用户映射的用户列表中的位置区划子表信息,携带在拉取请求响应中,发送至该用户所用的用户终端,以便该用户终端根据接收的位置区划子表信息进行展示。应用本发明,能够提高好友查找速度。

Description

一种分类用户的方法及装置
技术领域
本发明涉及网络社区技术, 特别涉及一种分类用户的方法及装置。 发明背景
随着计算机网络技术的发展, 通过点对点的技术来实现互联网上的 即时沟通的即时通讯(IM, Instant Messaging )等工具软件应用越来越 普遍, IM工具软件已经被大多数的用户所接受并成为用户日常生活、 工 作的交流与沟通中必不可少的一部分。
以 QQ为例, 现有的用户终端通过 IM聊天软件展示 QQ聊天窗口, 并 对 QQ用户进行分类,一般将 QQ聊天窗口中的 QQ用户分为 QQ好友列表、 通讯录 QQ、 QQ群列表以及最近联系人列表等, 其中, QQ好友列表用于 QQ用户添加好友名单, 并按照好友名字顺序或 QQ号码顺序, 采用列表 的方式展示 QQ用户; 通讯录列表用于记录 QQ用户的通信信息, 例如, 电话、 通信地址、 E-mail地址等; QQ群列表用于存储用户参加的 QQ群 组以及各群组内的 QQ用户; 最近联系人列表用于根据 IM聊天软件预先 的设置, 记录最近一段时间与该 QQ用户联系的其他 QQ用户。
用户通过用户终端的 IM聊天软件登录时, 用户终端从 QQ服务器拉 取该 QQ用户聊天窗口包含的分类信息, 并展示给用户, 例如, 对于 QQ 好友列表, 根据从 QQ服务器拉取的信息, 以列表的方式展示该 QQ用户 添加的所有好友名单并显示好友的状态,后续中,根据 QQ服务器或用户 终端的设置, 对 QQ聊天窗口进行更新, 在用户退出登录时, QQ服务器 存储用户在线的历史记录信息。
随着用户越来越多的利用 IM工具软件进行日常的交流与沟通,用户 对 IM工具软件的易用性以及个性化服务等方面提出了越来越高的要求。 例如,对于现有用户终端展示的 QQ聊天窗口,用户希望能够根据自己个 性化的需求进行分类展示并能获取展示的 QQ用户尽可能多的相关信息, 举例来说, 由于现有的 QQ好友以列表方式进行展示, 而一个用户的 QQ 好友数量较多,如果依次展示给用户,使得用户查找需要交互的 QQ好友 较为困难, 查找好友的速度较慢。 发明内容
有鉴于此, 本发明的主要目的在于提出一种分类用户的方法, 提高 好友查找速度。
本发明的另一目的在于提出一种分类用户的装置, 提高好友查找速 度。
为达到上述目的,本发明提供了一种分类用户的方法,该方法包括: 获取各个用户的位置信息、 和分类用户采用的位置区划信息; 获取用户映射的用户列表, 根据所述用户列表中各个用户的位置信 息, 以及分类用户采用的位置区划信息, 将所述用户列表中自身位置信 息对应相同位置区划信息的各个用户, 分类在所述相同位置区划信息对 应的位置区划子表内, 得到该用户的各个位置区划子表信息;
用户终端根据用户的拉取请求获得该用户的位置区划子表信息。 一种分类用户的装置, 该装置包括: 位置区划策略存储模块、 位置 区划处理模块、 用户列表存储模块以及位置信息拉取模块, 其中,
位置区划策略存储模块, 用于存储预先设置的位置区划信息; 位置区划处理模块, 接收各用户通过用户终端上传的用户位置信 息, 查询用户列表存储模块, 获取包含该用户的用户列表; 向用户列表 存储模块发送构建指示; 用户列表存储模块, 用于存储各用户映射的用户列表, 根据位置区 划处理模块的构建指示, 构建位置区划处理模块接收的用户位置信息对 应的位置区划子表, 并将用户列表中的该用户置入构建的位置区划子 表;
位置信息拉取模块, 用于接收来自用户的拉取请求, 查询用户列表 存储模块, 获取该用户映射的用户列表中的位置区划子表信息, 携带在 拉取请求响应中, 发送至该用户所用的用户终端, 以便该用户终端根据 接收的位置区划子表信息进行展示。
一种分类用户的装置, 该装置包括存储模块、 接收模块、 分类模块 和发送模块;
所述存储模块, 用于存储每个用户映射的用户列表、 和用户终端上 报的用户位置信息;
所述接收模块, 用于接收用户终端的拉取请求;
所述分类模块, 用于获得位置区划信息, 根据所述拉取请求中携带 的用户信息, 从所述存储模块获取该用户映射的用户列表、 和该用户列 表中各个用户的位置信息, 将该用户列表中自身位置信息对应相同位置 区划信息的各个用户, 分类在所述相同位置区划信息对应的位置区划子 表内, 得到所述用户列表的各个位置区划子表信息;
所述发送模块, 用于将所述各个位置区划子表信息携带在拉取响应 中发给所述用户终端。
一种分类用户的装置,该装置包括上报模块、拉取模块和分类模块; 所述上报模块, 用于向服务器上报用户位置信息; 所述拉取模块, 用于向服务器发送拉取请求, 根据该拉取请求中携 带的用户信息, 从服务器获取该用户映射的用户列表中各个用户的位置 信息; 所述分类模块, 用于获得位置区划信息, 将所述用户列表中自身位 置信息对应相同位置区划信息的各个用户, 分类在所述相同位置区划信 息对应的位置区划子表内, 得到所述用户列表的各个位置区划子表信 息。
由上述的技术方案可见, 本发明提供的一种分类用户的方法及装 置, 按照预先设置的位置区划信息, 在存储的各用户映射的用户列表中 分别构建位置区划子表; 接收各用户通过用户终端上传的用户位置信 息, 查询获取包含该用户的用户列表, 将用户列表中的该用户置入该用 户位置信息对应的位置区划子表; 接收来自用户的拉取请求, 查询获取 该用户映射的用户列表中的位置区划子表信息, 携带在拉取请求响应 中, 发送至该用户所用的用户终端, 以便该用户终端根据接收的位置区 划子表信息进行展示。 这样, 通过将用户在社交网络中的好友进行进一 步分类, 可以使用户了解到自己好友的真实位置, 了解自己关注的位置 处有哪些好友, 能够快速地查找到特定位置处的好友。 附图简要说明
图 1为本发明实施例分类用户的方法流程示意图。
图 2为本发明实施例分类用户的装置结构示意图。
实施本发明的方式
为使本发明的目的、 技术方案及优点更加清楚明白, 以下参照附图 并举实施例, 对本发明进一步详细说明。
现有技术中, 在对 IM用户进行初始分类后, 按照列表的分类方式将 初步分类的 IM用户依序展示,使得列表中包含的 IM用户数量较多, 不便 于用户查询需要交互的 IM用户, 例如, 无法快速地查找到特定位置处的 好友。
随着移动通信技术的发展, 基于现有的用户终端, 能够提供基于位 置的服务(LBS, Location Based Service ), 即能确定自身的位置信息。 例如,移动电话等移动用户终端,一般都具有全球定位系统(GPS, Global Positioning System ) 功能; 而且, 基于 GPS获取位置信息被越来越多的 用户终端所支持。 因而, 本发明实施例中, 考虑基于 IM用户位置信息对 IM窗口中的 IM用户进行进一步的分类, 以方便用户查找需要交互的 IM 用户, 快速地查找到特定位置处的好友。
所应说明的是, 本发明不仅可用于即时通讯, 也可应用于其他涉及 人员列表分类的社会关系网络中的应用, 例如, 开心网或者人人网中的 好友列表。
本发明提供的分类用户的方法包括:
获取各个用户的位置信息、 和分类用户采用的位置区划信息; 获取用户映射的用户列表, 根据所述用户列表中各个用户的位置信 息, 以及分类用户采用的位置区划信息, 将所述用户列表中自身位置信 息对应相同位置区划信息的各个用户, 分类在所述相同位置区划信息对 应的位置区划子表内, 得到该用户的各个位置区划子表信息;
用户终端根据用户的拉取请求获得该用户的位置区划子表信息。 其中, 关于获取各个用户的位置信息的具体方法, 本发明不做具体 限定, 例如, 可以通过用户终端启动 GPS定位功能得到用户的当前位置 信息、 或者通过获得用户终端的 IP地址信息得到用户的当前位置信息。
关于获取分类用户采用的位置区划信息的具体方法, 本发明不做具 体限定, 例如, 可以预先存储分类用户采用的位置区划信息, 或者, 在 用户的拉取请求中, 携带有分类用户所采用的位置区划信息。
将用户分类在位置区划子表内的动作执行主体, 可以是服务器, 也 可以是用户终端。
具体地, 当由服务器将用户分类在位置区划子表内时, 各个用户将 自身的位置信息上报给服务器, 服务器根据用户列表中各个用户的位置 信息, 以及分类用户采用的位置区划信息, 将所述用户列表中自身位置 信息对应相同位置区划信息的各个用户, 分类在所述相同位置区划信息 对应的位置区划子表内, 得到所述用户列表的各个位置区划子表信息。
当由用户终端将用户分类在位置区划子表内时, 各个用户将自身的 位置信息上报给服务器后, 用户终端从服务器侧获取各个用户的位置信 息, 根据用户列表中各个用户的位置信息, 以及分类用户采用的位置区 划信息, 将所述用户列表中自身位置信息对应相同位置区划信息的各个 用户, 分类在所述相同位置区划信息对应的位置区划子表内, 得到所述 用户列表的各个位置区划子表信息。
关于将用户分类在位置区划子表内的动作执行时机, 可以是预先确 定位置区划子表, 换言之, 服务器在接收到用户上报的位置信息后, 实 时或周期性将用户分类在位置区划子表内; 也可以是根据用户请求动态 确定位置区划子表, 换言之, 服务器或用户终端在接收到用户的拉取请 求时将用户分类在位置区划子表内。
具体地, 当预先确定位置区划子表时, 服务器在接收到用户上报的 位置信息后, 实时或周期性地将用户列表中的用户分类在位置区划子表 内, 然后服务器在接收到用户终端的拉取请求后, 根据该拉取请求中携 带的用户信息, 获取由该用户映射的用户列表得到的各个位置区划子表 信息, 将获取的各个位置区划子表信息发给所述用户终端。
根据用户请求动态确定位置区划子表时, 服务器在接收到用户上报 的位置信息后, 更新服务器侧存储的用户位置信息, 服务器在接收到用 户终端的拉取请求后, 根据该拉取请求中携带的用户信息, 获取该用户 映射的用户列表, 服务器将该用户列表中自身位置信息对应相同位置区 划信息的各个用户, 分类在所述相同位置区划信息对应的位置区划子表 内, 得到所述用户列表的各个位置区划子表信息, 将所述各个位置区划 子表信息携带在拉取响应中发给所述用户终端, 所述用户终端展示所述 位置区划子表信息。 其中, 服务器获得位置区划信息可以有多种方式, 例如, 服务器可以预置位置区划信息, 或者从所述拉取请求中提取位置 区划信息。
或者, 根据用户请求动态确定位置区划子表时, 服务器在接收到用 户上报的位置信息后, 更新服务器侧存储的用户位置信息, 服务器在接 收到用户终端的拉取请求后, 根据该拉取请求中携带的用户信息, 获取 该用户映射的用户列表, 将该用户列表中各个用户的位置信息发给所述 用户终端, 用户终端将该用户列表中自身位置信息对应相同位置区划信 息的各个用户, 分类在所述相同位置区划信息对应的位置区划子表内, 得到所述用户列表的各个位置区划子表信息, 所述用户终端展示所述位 置区划子表信息。 其中, 用户终端获得位置区划信息可以有多种方式, 例如, 用户终端可以预置位置区划信息, 或从服务器侧获取位置区划信 息, 或者从所述拉取请求中提取位置区划信息。
可见, 本发明通过获取各个用户的位置信息、 和分类用户采用的位 置区划信息, 获取用户映射的用户列表, 根据所述用户列表中各个用户 的位置信息, 以及分类用户采用的位置区划信息, 将所述用户列表中自 身位置信息对应相同位置区划信息的各个用户, 分类在所述相同位置区 划信息对应的位置区划子表内, 得到该用户的各个位置区划子表信息, 使得根据用户的位置区划子表信息, 可以清晰地了解到各个位置处都有 哪些好友, 从而提高了查找特定位置处好友的速度。
下面举一个具体的例子, 对本发明提供的分类用户的方法进行示例 性说明, 所举例子并不用户限制本发明, 具体请参见图 1。
图 1为本发明实施例分类用户的方法流程示意图。 参见图 1 , 该流程 包括:
步骤 101 , 按照预先设置的位置区划信息, 在存储的各用户映射的 用户列表中分别构建位置区划子表;
本步骤中, 位置区划可以是行政区划, 也可以是经纬度区划。 行政 区划可以是商业圏、 旅游景点、 人员聚集处、 乡、 区、 镇、 县、 市或省, 也可以是国家。 当然, 实际应用中, 也可以是其他行政范围区划, 例如, 云贵川、 两湖 (湖南、 湖北)、 两广 (广东、 广西)等。 经纬度区划包 括经度区划和纬度区划, 例如, 以东经 115度 13分〜东经 115度 54分、 北 纬 78度 00分〜北纬 78度 36分为一经纬度区划区域, 当然, 服务器还可以 存储行政区划与经纬度区划的映射关系, 并将设置的位置区划信息下发 至各用户终端。
预先设置的位置区划信息可以由运营商预先设置在服务器中, 也可 以由用户设置并通过用户终端上传至服务器, 还可以是由第三方设置并 上传至服务器。
用户包括 QQ用户、微博用户以及所有使用到人员列表的社会关系网 络的用户。
各用户映射的用户列表属于现有技术, 每一用户映射一个用户列 表, 用户列表以该用户为索引, 例如, 对于 QQ用户, 以该 QQ用户标识 为索引,可以查询得到该 QQ用户映射的用户列表,用户列表分类为包括 QQ好友、 通讯录、 QQ群以及最近联系人等, 在各分类中, 分别存储有 与该 QQ用户相关的其他 QQ用户信息。 则本发明实施例中, 分别在 QQ 好友、 通讯录、 QQ群以及最近联系人等分类列表中构建位置区划子表, 举例来说,如果位置区划信息为行政区划中的省,则在 QQ好友分类列表 中, 分别构建云南、 贵州、 四川、 湖南、 湖北等子表, 子表中初始内容 为空, 其他分类列表以与此相同的方式进行构建。
当然, 实际应用中, 还可以在子表中构建下一级子表, 例如, 对于 构建的上海子表, 还可以再细分构建徐家汇、 陆家嘴等下一级子表。
步骤 102, 接收各用户通过用户终端上传的用户位置信息, 查询获 取包含该用户的用户列表。
本步骤中, 服务器与用户可以预先协商采用的位置区划方式, 如果 预先协商采用行政区划, 则上传的用户位置信息为行政区划信息, 如果 预先协商采用经纬度区划, 则上传的用户位置信息为经度信息和纬度信 息。
实际应用中, 用户终端在上传用户位置信息时, 也可以不考虑采用 的位置区划方式具体为何种方式, 而是仅仅将各种位置区划方式均能识 别的位置信息、 例如用户的绝对位置信息, 上报给服务器, 然后由服务 器才 据分类用户采用的位置区划方式、 和用户上传的位置信息, 确定用 户的位置区划信息。
实际应用中, 用户位置信息可以通过以下步骤获取:
Al、 用户通过用户终端启动 GPS, 获取 GPS信号;
A2、 用户终端根据 GPS信号计算当前位置信息。
本步骤中, 用户通过用户终端启动全球定位系统, 获取当前用户位 置信息。 用户终端根据接收的 GPS信号计算当前位置信息, 具体可参见 相关技术文献, 在此不再赘述。 并且, 用户终端可以根据计算得到的当 前位置信息与存储的位置区划信息, 确定当前位置信息所属的位置区 划。 当然, 实际应用中, 确定当前位置信息所属的位置区划也可以由服 务器执行。
实际应用中, 用户位置信息还可以通过以下步骤获取: Bl、 用户通过用户终端启动定位功能, 获取当前网络的通信小区标 识信息;
本步骤中, 用户通过用户终端也可以获取用户终端的 IP地址信息。
B2、 用户终端向位置信息服务器发送位置信息获取请求, 携带通信 小区标识信息;
B3、位置信息服务器查询预先存储的通信小区标识与位置信息的映 射关系, 获取位置信息获取请求中携带的通信小区标识映射的位置信 息;
B4、 向用户终端返回位置信息获取请求响应, 携带查询得到的位置 信息。
当然, 实际应用中, 用户终端还可以通过其他定位方式获得用户位 置信息。
本发明实施例中, 服务器接收用户位置信息, 根据用户标识从存储 的用户列表中查询是否包含该用户, 获取包含该用户的用户列表。
实际应用中, 多个用户列表中可能包含同一用户, 则分别获取该多 个用户列表。
步骤 103 , 将用户列表中的该用户置入该用户位置信息对应的位置 区划子表;
本步骤中, 如果用户位置信息为云南, 且该用户仅存在于用户 A映 射的用户列表中的 QQ好友分类列表中, 则将该用户进行剪切并置于 QQ 好友分类列表下的云南子表中。
步骤 104, 接收来自用户的拉取请求, 查询获取该用户映射的用户 列表中的位置区划子表信息, 携带在拉取请求响应中, 发送至该用户所 用的用户终端, 以便该用户终端根据接收的位置区划子表信息进行展 示。 本步骤中, 用户登录用户工具软件, 拉取关联的用户信息, 服务器 接收拉取请求, 以拉取请求中携带的用户为索引, 查询获取该用户映射 的用户列表中的位置区划子表信息, 携带在拉取请求响应中, 向用户终 端发送。
用户终端接收位置区划子表信息, 解析并进行展示, 例如, 在 QQ 好友分类列表中, 按照云南、 贵州、 四川、 湖南、 湖北等子表分别展示 其包含的 QQ用户。 再例如, 在 QQ好友分类列表下的上海子表中, 再按 照徐家汇、 陆家嘴等区的位置区划展示 QQ用户。也就是说, 用户还可以 通过选择位置区划方式筛选力度, 调整好友或其他联系人的分类方式。 如选择按省位置区划进行分类, 则好友或其他联系人会根据位置信息按 省进行分类展示; 如果选择按区位置区划进行分类, 则好友或其他联系 人会根据不同的行政区进行分类展示。
进一步地, 服务器还存储有电子地图信息, 并将存储的电子地图信 息携带在拉取请求响应中, 向用户终端发送。 用户终端接收拉取请求响 应, 如果包含电子地图信息, 则在展示用户时, 将各位置区划与电子地 图信息进行匹配, 并在电子地图上显示匹配的各位置区划内的用户。 用 户终端在接收到携带有位置区划子表信息的拉取响应以后, 只要用户终 端能够获得电子地图信息, 例如用户终端本地存储有电子地图信息, 则 无论服务器侧是否存储有电子地图信息、 也无论所述拉取响应中是否携 带有电子地图信息, 用户终端都可以将所述拉取响应中携带的位置区划 子表信息与所述用户终端获得的电子地图信息进行匹配, 并在电子地图 上显示匹配的各位置区划内的用户信息。
例如, 用户终端将经纬度位置区划信息与电子地图应用程序相关 联, 电子地图应用程序根据经纬度数据将该 IM用户当前位置标注在电子 地图上并在电子地图上展示; 又例如, 将各行政位置区划与电子地图信 息进行匹配后, 匹配的结果包括黄浦区、 卢湾区、 静安区、 闸北区, 且 各有一用户, 各行政位置区划中, 不包括其他如虹口区、 普陀区等, 则 在电子地图上相应的黄浦区、 卢湾区、 静安区、 闸北区, 展示各区对应 的用户头像、 昵称等标识信息。 又例如, 还可以是以街道、 路来展示相 关用户信息, 举例来说, 经过匹配, 天津路包含两个用户, 南京东路包 含三个用户, 则在相应的天津路以及南京东路区划范围内, 分别展示包 含的用户头像、 昵称等标识信息。
较佳地, 还可以根据用户的需求, 对展示的电子地图进行缩放, 并 通过缩放选择筛选力度, 例如, 电子地图首先按照省的位置区划展示用 户信息, 当用户点击上海或在上海位置处放大电子地图时, 则展示包含 在上海各区的位置区划内的用户信息。
由上述可见, 本发明实施例的分类用户的方法, 按照预先设置的位 置区划信息, 在存储的各用户映射的用户列表中分别构建位置区划子 表; 接收各用户通过用户终端上传的用户位置信息, 查询获取包含该用 户的用户列表; 将用户列表中的该用户置入该用户位置信息对应的位置 区划子表; 接收来自用户的拉取请求, 查询获取该用户映射的用户列表 中的位置区划子表信息, 携带在拉取请求响应中, 发送至该用户所用的 用户终端, 以便该用户终端根据接收的位置区划子表信息进行展示。 这 样, 用户终端通过获取 LBS数据(位置信息), 并上传至服务器, 服务器 分析用户上传的位置信息, 将用户在社交网络中的用户进行进一步分 类, 可以减少用户查询好友的时间, 提高查询效率, 使用户了解到自己 好友的真实位置, 可以根据自己的选择, 查看不同距离的好友, 例如, 同区、 同城市、 同省份、 同国家等不同距离的好友; 并可以快速了解到 自己关注的位置处有哪些好友, 以及距离自己最近的好友, 或者和自己 在同一个城市的好友, 方便与自己同区域的好友进行沟通、 对话, 满足 了用户个性化的需求、 增强了用户体验, 同时也提高了 IM工具软件产品 的附加值。
图 2为本发明实施例分类用户的装置结构示意图。 参见图 2, 该装置 包括: 位置区划策略存储模块、 位置区划处理模块、 用户列表存储模块 以及位置信息拉取模块, 其中,
位置区划策略存储模块, 用于存储预先设置的位置区划信息; 本发明实施例中, 可以为每一用户分别设置位置区划信息, 也可以 为所有用户设置统一的位置区划信息。
较佳地, 位置区划策略存储模块还用于将存储的位置区划信息下发 至各用户终端, 以便用户终端根据下发的位置区划信息确定自身所属的 位置区划。
位置区划处理模块, 接收各用户通过用户终端上传的用户位置信 息, 查询用户列表存储模块, 获取包含该用户的用户列表; 向用户列表 存储模块发送构建指示; 其中, 所述用户位置信息可以与位置区划策略 存储模块存储的位置区划信息相匹配;
用户列表存储模块, 用于存储各用户映射的用户列表, 根据位置区 划处理模块的构建指示, 构建位置区划处理模块接收的用户位置信息对 应的位置区划子表, 并将用户列表中的该用户置入构建的位置区划子 表;
本发明实施例中, 每一用户具有一用户列表。
位置信息拉取模块, 用于接收来自用户的拉取请求, 查询用户列表 存储模块, 获取该用户映射的用户列表中的位置区划子表信息, 携带在 拉取请求响应中, 发送至该用户所用的用户终端, 以便该用户终端根据 接收的位置区划子表信息进行展示。
较佳地, 位置信息拉取模块进一步将预先获取的电子地图信息携带 在所述拉取请求响应中, 以便用户终端在展示用户时, 将各位置区划与 电子地图信息进行匹配, 并在电子地图上显示匹配的各位置区划内的用 户。
在另一实施例中, 本发明提供的分类用户的装置包括存储模块、 接 收模块、 第一分类模块和发送模块。
所述存储模块, 用于存储每个用户映射的用户列表、 和用户终端上 报的用户位置信息。
所述接收模块, 用于接收用户终端的拉取请求。
所述第一分类模块, 用于获得位置区划信息, 根据所述拉取请求中 携带的用户信息, 从所述存储模块获取该用户映射的用户列表、 和该用 户列表中各个用户的位置信息, 将该用户列表中自身位置信息对应相同 位置区划信息的各个用户, 分类在所述相同位置区划信息对应的位置区 划子表内, 得到所述用户列表的各个位置区划子表信息。
所述发送模块, 用于将所述各个位置区划子表信息携带在拉取响应 中发给所述用户终端。
在再一实施例中, 本发明提供的分类用户的装置包括上报模块、 拉 取模块和第二分类模块。 该装置还可以包括展示模块。
所述上报模块, 用于向服务器上报用户位置信息。
所述拉取模块, 用于向服务器发送拉取请求, 根据该拉取请求中携 带的用户信息, 从服务器获取该用户映射的用户列表中各个用户的位置 信息。
所述第二分类模块, 用于获得位置区划信息, 将所述用户列表中自 身位置信息对应相同位置区划信息的各个用户, 分类在所述相同位置区 划信息对应的位置区划子表内, 得到所述用户列表的各个位置区划子表 信息。 所述展示模块, 用于展示用户的位置区划子表信息。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的 保护范围, 凡在本发明的精神和原则之内所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种分类用户的方法, 其特征在于, 该方法包括:
获取各个用户的位置信息、 和分类用户采用的位置区划信息; 获取用户映射的用户列表, 根据所述用户列表中各个用户的位置信 息, 以及分类用户采用的位置区划信息, 将所述用户列表中自身位置信 息对应相同位置区划信息的各个用户, 分类在所述相同位置区划信息对 应的位置区划子表内, 得到该用户的各个位置区划子表信息;
用户终端根据用户的拉取请求获得该用户的位置区划子表信息。
2、 根据权利要求 1所述的方法, 其特征在于,
服务器在接收到用户终端上报的位置信息后, 更新服务器侧存储的 用户位置信息; 服务器在接收到用户终端的拉取请求后, 根据该拉取请 求中携带的用户信息, 获取该用户映射的用户列表, 服务器将该用户列 表中自身位置信息对应相同位置区划信息的各个用户, 分类在所述相同 位置区划信息对应的位置区划子表内, 得到所述用户列表的各个位置区 划子表信息; 服务器将所述各个位置区划子表信息携带在拉取响应中发 给所述用户终端。
或者, 服务器在接收到用户上报的位置信息后, 更新服务器侧存储 的用户位置信息; 服务器在接收到用户终端的拉取请求后, 根据该拉取 请求中携带的用户信息, 获取该用户映射的用户列表, 将该用户列表中 各个用户的位置信息发给所述用户终端; 所述用户终端将该用户列表中 自身位置信息对应相同位置区划信息的各个用户, 分类在所述相同位置 区划信息对应的位置区划子表内, 得到所述用户列表的各个位置区划子 表信息。
3、 根据权利要求 1所述的方法, 其特征在于,
服务器按照预先设置的位置区划信息, 在存储的各用户映射的用户 列表中分别构建位置区划子表;
服务器接收各用户上传的用户位置信息, 查询获取包含该用户的用 户列表, 将用户列表中的该用户置入该用户位置信息对应的位置区划子 表;
服务器接收来自用户的拉取请求, 查询获取该用户映射的用户列表 中的位置区划子表信息, 携带在拉取请求响应中, 发送至该用户所用的 用户终端, 以便该用户终端根据接收的位置区划子表信息进行展示。
4、 根据权利要求 1所述的方法, 其特征在于, 所述获得该用户的位 置区划子表信息之后, 该方法还包括:
用户终端展示所述位置区划子表信息。
5、 根据权利要求 4所述的方法, 其特征在于, 所述用户终端展示所 述位置区划子表信息包括:
用户终端将所述拉取响应中携带的位置区划子表信息与用户终端 获得的电子地图信息进行匹配, 并在电子地图上显示匹配的各位置区划 内的用户信息。
6、 如权利要求 4所述的方法, 其特征在于, 所述拉取请求响应中进 一步携带有电子地图信息,
用户终端接收拉取请求响应, 如果包含电子地图信息, 则在展示用 户时, 将各位置区划与电子地图信息进行匹配, 并在电子地图上显示匹 配的各位置区划内的用户。
7、 如权利要求 5或 6所述的方法, 其特征在于, 进一步包括: 对展示的电子地图进行缩放处理, 并在该缩放的电子地图中展示对 应位置区划内的用户。
8、 如权利要求 3所述的方法, 其特征在于, 所述用户位置信息与预 先设置的位置区划信息相匹配。
9、 如权利要求 1所述的方法, 其特征在于,
用户终端通过启动全球定位系统, 获取当前用户位置信息; 或者, 用户终端通过启动定位功能, 获取当前网络的通信小区标识 信息, 用户终端向位置信息服务器发送位置信息获取请求, 携带通信小 区标识信息, 位置信息服务器查询预先存储的通信小区标识与位置信息 的映射关系, 获取位置信息获取请求中携带的通信小区标识映射的用户 位置信息, 向用户终端返回位置信息获取请求响应, 携带查询得到的用 户位置信息。
10、 如权利要求 1至 6任一项所述的方法, 其特征在于, 所述位置区 划包括行政区划和 /或经纬度区划。
11、 一种分类用户的装置, 其特征在于, 该装置包括: 位置区划策 略存储模块、 位置区划处理模块、 用户列表存储模块以及位置信息拉取 模块, 其中,
位置区划策略存储模块, 用于存储预先设置的位置区划信息; 位置区划处理模块, 接收各用户通过用户终端上传的用户位置信 息, 查询用户列表存储模块, 获取包含该用户的用户列表; 向用户列表 存储模块发送构建指示;
用户列表存储模块, 用于存储各用户映射的用户列表, 根据位置区 划处理模块的构建指示, 构建位置区划处理模块接收的用户位置信息对 应的位置区划子表, 并将用户列表中的该用户置入构建的位置区划子 表;
位置信息拉取模块, 用于接收来自用户的拉取请求, 查询用户列表 存储模块, 获取该用户映射的用户列表中的位置区划子表信息, 携带在 拉取请求响应中, 发送至该用户所用的用户终端, 以便该用户终端根据 接收的位置区划子表信息进行展示。
12、 如权利要求 11所述的装置, 其特征在于, 所述位置区划策略存 储模块进一步用于将存储的位置区划信息下发至各用户终端, 以便用户 终端根据下发的位置区划信息确定自身所属的位置区划, 将自身所处的 位置区划信息作为自身的用户位置信息上报给所述位置区划处理模块。
13、 如权利要求 11或 12所述的装置, 其特征在于, 所述位置信息拉 取模块进一步将预先获取的电子地图信息携带在所述拉取请求响应中, 以便用户终端在展示用户时, 将各位置区划与电子地图信息进行匹配, 并在电子地图上显示匹配的各位置区划内的用户信息。
14、 一种分类用户的装置, 其特征在于, 该装置包括存储模块、 接 收模块、 分类模块和发送模块;
所述存储模块, 用于存储每个用户映射的用户列表、 和用户终端上 报的用户位置信息;
所述接收模块, 用于接收用户终端的拉取请求;
所述分类模块, 用于获得位置区划信息, 根据所述拉取请求中携带 的用户信息, 从所述存储模块获取该用户映射的用户列表、 和该用户列 表中各个用户的位置信息, 将该用户列表中自身位置信息对应相同位置 区划信息的各个用户, 分类在所述相同位置区划信息对应的位置区划子 表内, 得到所述用户列表的各个位置区划子表信息;
所述发送模块, 用于将所述各个位置区划子表信息携带在拉取响应 中发给所述用户终端。
15、 一种分类用户的装置, 其特征在于, 该装置包括上报模块、 拉 取模块和分类模块;
所述上报模块, 用于向服务器上报用户位置信息;
所述拉取模块, 用于向服务器发送拉取请求, 根据该拉取请求中携 带的用户信息, 从服务器获取该用户映射的用户列表中各个用户的位置 信息;
所述分类模块, 用于获得位置区划信息, 将所述用户列表中自身位 置信息对应相同位置区划信息的各个用户, 分类在所述相同位置区划信 息对应的位置区划子表内, 得到所述用户列表的各个位置区划子表信 息。
16、 根据权利要求 15 所述的装置, 其特征在于, 该装置还包括展 示模块;
所述展示模块, 用于展示用户的位置区划子表信息。
PCT/CN2012/070230 2011-01-27 2012-01-11 一种分类用户的方法及装置 WO2012100678A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/951,602 US20130318202A1 (en) 2011-01-27 2013-07-26 Method And Apparatus For Classifying Users

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110032514.1 2011-01-27
CN201110032514.1A CN102624760B (zh) 2011-01-27 2011-01-27 一种分类用户的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/951,602 Continuation US20130318202A1 (en) 2011-01-27 2013-07-26 Method And Apparatus For Classifying Users

Publications (1)

Publication Number Publication Date
WO2012100678A1 true WO2012100678A1 (zh) 2012-08-02

Family

ID=46564444

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/070230 WO2012100678A1 (zh) 2011-01-27 2012-01-11 一种分类用户的方法及装置

Country Status (3)

Country Link
US (1) US20130318202A1 (zh)
CN (1) CN102624760B (zh)
WO (1) WO2012100678A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116853A (zh) * 2012-10-12 2013-05-22 黄伟新 以电子地图为背景的社群网络平台

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716355B (zh) * 2012-09-29 2017-04-12 上海云睦网络科技有限公司 基于企业即时通讯系统的员工分布系统及其定位方法
CN104010270B (zh) * 2013-02-21 2019-02-26 腾讯科技(深圳)有限公司 移动终端通讯录联系人信息展示方法、装置及系统
CN103490911A (zh) * 2013-09-17 2014-01-01 宇龙计算机通信科技(深圳)有限公司 一种管理群组成员的方法、系统和移动终端
CN103686617B (zh) * 2013-12-23 2017-08-25 百度在线网络技术(北京)有限公司 创建即时通讯群组的方法及装置
CN104217009A (zh) * 2014-09-18 2014-12-17 酷派软件技术(深圳)有限公司 一种聚类方法、装置和终端
CN106375263B (zh) * 2015-07-21 2019-10-18 株式会社理光 认证方法和认证装置
CN107509118A (zh) * 2017-08-08 2017-12-22 北京小米移动软件有限公司 主播显示方法、装置及计算机可读存储介质
CN108810893B (zh) * 2018-05-30 2021-09-21 厦门盈趣科技股份有限公司 一种国际化版本软件用户登录交互方法及系统
CN114785626B (zh) 2018-06-26 2024-01-30 华为技术有限公司 数据管理的方法和装置
CN110648122B (zh) * 2018-06-27 2024-02-02 比亚迪股份有限公司 电子红包发送方法、装置、可读存储介质与电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079839A (zh) * 2006-12-21 2007-11-28 腾讯科技(深圳)有限公司 基于即时通讯的好友显示装置及显示方法
CN101123591A (zh) * 2007-09-24 2008-02-13 腾讯科技(深圳)有限公司 聊天系统及其信息处理方法
US20080182586A1 (en) * 2007-01-25 2008-07-31 Jeffrey Aaron Methods and devices for attracting groups based upon mobile communications device location
CN101360275A (zh) * 2008-09-26 2009-02-04 腾讯科技(深圳)有限公司 一种交友系统、实现方法及交友服务器
CN101552946A (zh) * 2008-03-31 2009-10-07 索尼株式会社 确定用户子组的方法
US7831917B1 (en) * 2005-12-30 2010-11-09 Google Inc. Method, system, and graphical user interface for identifying and communicating with meeting spots

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7243075B1 (en) * 2000-10-03 2007-07-10 Shaffer James D Real-time process for defining, processing and delivering a highly customized contact list over a network
US8103445B2 (en) * 2005-04-21 2012-01-24 Microsoft Corporation Dynamic map rendering as a function of a user parameter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7831917B1 (en) * 2005-12-30 2010-11-09 Google Inc. Method, system, and graphical user interface for identifying and communicating with meeting spots
CN101079839A (zh) * 2006-12-21 2007-11-28 腾讯科技(深圳)有限公司 基于即时通讯的好友显示装置及显示方法
US20080182586A1 (en) * 2007-01-25 2008-07-31 Jeffrey Aaron Methods and devices for attracting groups based upon mobile communications device location
CN101123591A (zh) * 2007-09-24 2008-02-13 腾讯科技(深圳)有限公司 聊天系统及其信息处理方法
CN101552946A (zh) * 2008-03-31 2009-10-07 索尼株式会社 确定用户子组的方法
CN101360275A (zh) * 2008-09-26 2009-02-04 腾讯科技(深圳)有限公司 一种交友系统、实现方法及交友服务器

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116853A (zh) * 2012-10-12 2013-05-22 黄伟新 以电子地图为背景的社群网络平台

Also Published As

Publication number Publication date
CN102624760B (zh) 2017-05-17
CN102624760A (zh) 2012-08-01
US20130318202A1 (en) 2013-11-28

Similar Documents

Publication Publication Date Title
WO2012100678A1 (zh) 一种分类用户的方法及装置
CN103096242B (zh) 基于位置服务的用户推荐方法及系统
CA2737697C (en) System and method for distributing messages to communicating electronic devices based on profile characteristics of users of the devices
WO2010043160A1 (zh) Im平台好友列表展现系统及展现方法
WO2008054882A1 (en) Determining mobile content for a social network based on location and time
WO2013075583A1 (zh) 添加好友的方法、装置及存储介质
JP2011530771A (ja) メッセージを異なる順序で提示するための複数のビューポートを有するメッセージングアプリケーション
AU2007342244A1 (en) Employing mobile location to refine searches
WO2013071773A1 (zh) 在社交网络中查找附近用户的方法和服务器
CN103327443B (zh) 终端和联系人查找方法
CN101262494A (zh) 对发布信息进行处理的方法、客户端、服务器和系统
TWI462512B (zh) 用於多層訊息過濾之系統及方法
WO2013060143A1 (zh) 一种通过微博向群用户发送消息的方法及装置
WO2007127644A2 (en) Multimedia sharing in social networks for mobile devices
CN101360275A (zh) 一种交友系统、实现方法及交友服务器
EP2831747A1 (en) Sending communications to contacts on a social networking service
WO2013026325A1 (zh) 一种人物搜索方法、装置及存储介质
CN104850550A (zh) 一种提示消息的排序方法和装置
CN103049538A (zh) 一种基于位置服务的活动信息聚合搜索与互动方法及系统
CN103117915A (zh) 一种消息发送的方法和设备
CN102647661A (zh) 发送终端实时状态的方法和基于实时状态进行互动的方法
CN100499474C (zh) 一种交友系统及通过该交友系统实现交友的方法
WO2012016509A1 (zh) 以网络方式管理并自动更新联系信息的方法及系统
CN201957051U (zh) 一种社交网站中用户向好友推荐好友的系统
WO2012025036A1 (zh) 一种通信终端及其信息发送处理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12738842

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 1301004085

Country of ref document: TH

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 04/10/2013)

122 Ep: pct application non-entry in european phase

Ref document number: 12738842

Country of ref document: EP

Kind code of ref document: A1