CN103684993A - Instant messaging method, server and instant messaging tool - Google Patents

Instant messaging method, server and instant messaging tool Download PDF

Info

Publication number
CN103684993A
CN103684993A CN201310693227.4A CN201310693227A CN103684993A CN 103684993 A CN103684993 A CN 103684993A CN 201310693227 A CN201310693227 A CN 201310693227A CN 103684993 A CN103684993 A CN 103684993A
Authority
CN
China
Prior art keywords
target
user
group
map
instant messaging
Prior art date
Application number
CN201310693227.4A
Other languages
Chinese (zh)
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 中国联合网络通信集团有限公司
Priority to CN201310693227.4A priority Critical patent/CN103684993A/en
Publication of CN103684993A publication Critical patent/CN103684993A/en

Links

Abstract

The invention provides an instant messaging method, a server and an instant messaging tool. The method includes the steps of receiving an instant communication request sent by the instant communication tool corresponding to a target user, wherein the instant communication request carries current position information of the target user; carrying out matching according to the position information and a preset coverage range of each group, and allocating a target group for the target user, wherein the target group includes at least one user; marking the target position of the target user on a target map corresponding to the coverage range of the target group according to the position information, and sending the target map where positions of users are marked to the instant communication tool so that the instant communication tool can display the positions and chat content of the users on the target map. A novel chat mode is provided, the users are distributed in chat groups on the basis of the position information, the map where the positions of the users are marked is sent to the users in the chat groups, and the positions and the chat content of the users are displayed on the map during the chat process.

Description

即时通信方法、服务器及即时通信工具 Instant communication method, server and instant messaging tools

技术领域 FIELD

[0001 ] 本发明涉及通信技术,尤其涉及一种即时通信方法、服务器及即时通信工具。 [0001] The present invention relates to communication technology, particularly to a method of instant messaging, and instant messaging server tool.

背景技术 Background technique

[0002] 随着移动终端和计算机网络的发展,人与人之间的通信不再局限于传统的通信方式。 [0002] With the development of mobile terminals and computer networks, communication between people no longer limited to traditional means of communication. 目前用户可以基于即时通信工具与多个用户进行群组聊天,现有加入群组聊天的方式为用户首先需要获取到试图加入的群组的群组标识,然后向服务器发送请求加入该群组的即时通信请求,并且在该即时通信请求中携带群组标识,然后在得到允许后将该用户加入到群组中。 Users can now be based on instant messaging tools group chat with a plurality of users, the conventional way to join the group chat user first needs to acquire group identifier to attempt to join the group, then the server sends a request to join the group instant messaging request carries the group identifier and the instant messaging request, then the user permission to join the group. 但是在实际应用中有些用户只想与自己位置邻近的用户进行聊天,如微信中的摇一摇,但是现有的群组聊天方式不能满足这种需求,而微信中的摇一摇只能用于私聊模式,并不能实现群组聊天。 However, some users want in their practical application with a position adjacent to the chat user, such as micro-letter shake, but the existing chat group can not meet this demand, the micro-channel can only use Shake in whisper mode, and can not be achieved group chat.

[0003] 而且现有的群组聊天模式的聊天背景,多是由服务器预先设置的聊天背景,其中预设的聊天背景多为静态图片或者动态图片。 [0003] Further background prior chat group chat mode, multi chat server set in advance by the background, wherein a predetermined plurality of chat background image as a static image or dynamic. 在聊天的过程中是按照发送消息的时间顺序,在聊天背景下顺序显示,当前的聊天模式不能实时地反应出每个用户所处的位置,而且聊天模式比较单一。 Is sending messages in chronological order, sequentially displayed in the chat background process in the chat, the chat mode not reflect the current real-time position of each user is located, and relatively simple chat mode.

发明内容 SUMMARY

[0004] 本发明提供一种即时通信方法、服务器及即时通信工具,以解决现有聊天模式单一且不能实时地反应出用户所处的位置的问题。 [0004] The present invention provides a method of instant messaging, instant messaging server and tools to solve problems existing chat mode is single and can not reflect the real time of the user's location.

[0005] 为了实现上述目的,本发明提供了一种即时通信工具方法,包括: [0005] To achieve the above object, the present invention provides a method of instant messaging tool, comprising:

[0006] 接收目标用户对应的即时通信工具发送的即时通信请求,所述即时通信请求中携带所述目标用户当前的位置信息; [0006] The target receives the IM user's IM tool corresponding to the transmission request, the instant messaging request carries the current location information of the target user;

[0007] 根据所述位置信息与预存的各群组的覆盖范围进行匹配,为所述目标用户分配目标群组;其中所述目标群组中包括至少一个用户; [0007] according to the coverage of the location information of each group matches the pre-stored, allocated to the target user group of the target; wherein the target comprises at least one user group;

[0008] 在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置; [0008] group on the target coverage maps corresponding to the target, the target position of the target user mark on the map based on the target position information;

[0009] 将标记有各用户位置的所述目标地图下发给所述即时通信工具,以使所述即时通信工具在所述目标地图上显示各用户的位置以及聊天内容。 [0009] labeled with the position of the target map issued to each user of the IM tool, so that the instant messaging tools, and the display position of each user's chat content on the target map.

[0010] 为了实现上述目的,本发明提供了一种即时通信方法,包括: [0010] To achieve the above object, the present invention provides a method of instant messaging, comprising:

[0011] 获取目标用户当前的位置信息; [0011] acquire current location information of the target user;

[0012] 将所述位置信息携带在所述即时通信请求中发给服务器,以使所述服务器根据所述位置信息为所述目标用户分配目标群组,以及在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置;其中所述目标群组中包括至少一个用户; [0012] The position information is carried in the instant messaging request to the server, the server assigns to the target group for the user according to the location information of the target, and the target group corresponding to the coverage area on the target map, the target mark position information of the target user according to the location on the map of the target; wherein the target comprises at least one user group;

[0013] 接收所述服务器发送的标记有各用户位置的所述目标地图; [0013] sent by the server receiving the marker for the target map position of each user;

[0014] 在所述目标地图上显示各用户的位置以及聊天内容。 [0014] The display position of each user, and chat content on the target map. [0015] 为了实现上述目的,本发明提供了一种服务器,包括: [0015] To achieve the above object, the present invention provides a server comprising:

[0016] 接收模块,用于接收目标用户对应的即时通信工具发送的即时通信请求,所述即时通信请求中携带所述目标用户当前的位置信息; [0016] a receiving module, configured to receive instant messaging tools corresponding to the target user of instant communication request, said instant messaging request carries the current location information of the target user;

[0017] 分配模块,用于根据所述位置信息与预存的各群组的覆盖范围进行匹配,为所述目标用户分配目标群组;其中所述目标群组中包括至少一个用户; [0017] The allocation module, for performing the coverage of each of the group of matching the pre-stored location information, allocated to the target user group of the target; wherein the target comprises at least one user group;

[0018] 标记模块,用于在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置; [0018] The marking module, on the target group for the coverage maps corresponding to the target, based on the position information of the target user mark target location on the target map;

[0019] 下发模块,用于将标记有各用户位置的所述目标地图下发给所述即时通信工具,以使所述即时通信工具在所述目标地图上显示各用户的位置以及聊天内容。 [0019] The issuing module is configured to map the target labeled with the location of each user sent the instant messaging tool, so that the instant messaging tools, and the display position of each user's chat content on the target map .

[0020] 为了实现上述目的,本发明提供了一种即时通信工具,包括: [0020] To achieve the above object, the present invention provides an IM tool, comprising:

[0021] 获取模块,用于获取目标用户当前的位置信息; [0021] obtaining module, configured to obtain current location information of the target user;

[0022] 发送模块,用于将所述位置信息携带在所述即时通信请求中发给服务器,以使所述服务器根据所述位置信息为所述目标用户分配目标群组,以及在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置;其中所述目标群组中包括至少一个用户; [0022] The transmitting module, for carrying the location information to the server in the instant messaging request to the server to allocate the target group for the user according to the location information of the target, and the target a group in the coverage maps corresponding to the target, based on the position information of the target user mark target location on the map of the target; wherein the target comprises at least one user group;

[0023] 接收模块,用于接收所述服务器发送的标记有各用户位置的所述目标地图; [0023] a receiving module, for receiving marking sent by the server for the target map position of each user;

[0024] 显示模块,用于在所述目标地图上显示各用户的位置以及聊天内容。 [0024] a display module for displaying the location of each user, and chat content on the target map.

[0025] 本发明提供的一种即时通信方法、服务器及即时通信工具,接收目标用户对应的即时通信工具发送的即时通信请求,即时通信请求中携带目标用户当前的位置信息,根据位置信息与预存的各群组的覆盖范围进行匹配,为目标用户分配目标群组,其中目标群组中包括至少一个用户,在目标群组覆盖范围对应的目标地图上,根据位置信息标记目标用户在目标地图上的目标位置,将标记有各用户位置的目标地图下发给即时通信工具,以使即时通信工具在目标地图上显示各用户的位置以及聊天内容。 [0025] A method for instant messaging, instant messenger server and the present invention provides, instant messaging user receiving a request corresponding to the target transmission instant messaging tools, instant messaging request carries the user's current location information of the target based on the position information pre-stored coverage of each group match, the target user group assignment target, wherein the target comprises at least one user group, the corresponding target group on the target coverage map based on the position information of the target user on the target marker map target location, there will be issued to mark the instant communication tool at the target location map for each user, so that instant messaging tool shows each user's location and chat on the destination map. 本发明提供了一种新的聊天模式,基于用户的位置信息,为用户分配对应的目标群组,在用户进入目标群组后,向用户下发该目标群组对应的目标地图,其中该地图上标记有该目标群组中各用户的位置,以使目标用户以目标地图为聊天背景进行群聊,从而在聊天过程中不仅可以目标地图上显示各用户的位置,还可以在各用户的位置上显示聊天内容。 The present invention provides a new chat mode, based on the position information of the user, the user is assigned the corresponding target group, the user enters the target groups, the target group send a map to the corresponding target user, wherein the map labeled with the position of each of the target group of users, so that the target user for the target map is a group chat chat background, so that each user can not only display a map on the target position during a chat, the user may be in a position of each chat content on the display.

附图说明 BRIEF DESCRIPTION

[0026] 图1为本发明实施例提供的一种即时通信方法的流程示意图; [0026] FIG. 1 is a schematic flow of an instant communication method according to an embodiment of the present invention;

[0027] 图2为本发明实施例提供的另一种即时通信方法的流程示意图; [0027] FIG. 2 is a schematic of another process of the instant messaging method according to an embodiment of the present invention;

[0028] 图3为本发明实施例提供的一种服务器的结构示意图; [0028] FIG. 3 is a schematic structure of a server according to an embodiment of the present invention;

[0029] 图4为本发明实施例提供的一种即时通信工具的结构示意图。 [0029] FIG. 4 is a schematic structure of an instant messaging tool according to an embodiment of the present invention.

具体实施方式 Detailed ways

[0030] 下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。 [0030] The following drawings and embodiments, detailed description of the further aspect of the present invention.

[0031] 图1为本发明实施例提供的一种即时通信方法的流程示意图。 [0031] Fig 1 a schematic flow diagram of an instant communication method according to an embodiment of the present invention. 本实施例中,该方法的执行主体可以为服务器。 In this embodiment, the subject method may be performed for the server. 如图1所示,该方法包括以下步骤: As shown in FIG 1, the method comprising the steps of:

[0032] 101、接收目标用户对应的即时通信工具发送的即时通信请求,所述即时通信请求中携带所述目标用户当前的位置信息。 [0032] 101, the target receives the IM user's IM tool corresponding to the transmission request, the instant messaging request carries the current location information of the target user.

[0033] 当目标用户基于即时通信工具试图与其他用户进行即时通信时,服务器将接收到目标用户对应的即时通信工具发送的即时通信请求时,本实施例中,即时通信请求中携带该目标用户当前的位置信息。 When [0033] When a target user based on the instant messaging tool tries to instantly communicate with other users, the server receives the instant messaging request destination corresponding to the user's instant messaging tools transmitted, according to the present embodiment, the instant messaging request carries the destination user current location information.

[0034] 102、根据所述位置信息与预设的各群组的覆盖范围进行匹配,为所述目标用户分配目标群组;其中所述目标群组中包括至少一个用户。 [0034] 102, according to coverage of the preset position information matching each group assigned to the target user group of the target; wherein the target comprises at least one user group.

[0035] 实际应用中,在接收目标用户发送的即时通信请求之前,服务器中已经存储有多个为其他用户建立的群组。 [0035] In practice, prior to receiving a target IM user sends a request, the server has stored therein a plurality of other users as a group is established. 本实施例中,服务器是基于位置信息建立每个群组,并为每个群组划分一个对应的覆盖范围。 In this embodiment, the location information of the server is established for each group, and corresponds to a division of coverage for each group is based.

[0036] 在接收到目标用户发送的即时通信请求后,服务器根据目标用户的位置信息与预存的各群组的覆盖范围进行匹配,以为目标用户分配对应的目标群组。 [0036] Upon receiving the communication request destination user sends an instant, the matching server according to the coverage area of ​​each location information of the target user group of pre-stored, that the target user is assigned the corresponding target groups. 其中为目标用户分配的目标群组中包括至少一个用户。 Wherein the target group is assigned to the target user comprises at least one user. 一般目标用户的位置信息为目标用户的经纬度信息,预存的各群组的覆盖范围为经纬度范围。 Location information of the target user generally latitude and longitude information for the target user, coverage for each group are stored the latitude and longitude range.

[0037] 具体地,服务器根据预存的各群组的覆盖范围,判断预存的各群组中是否有包括目标用户位置信息的至少一个群组。 [0037] Specifically, the server according to the coverage of each group is stored, whether there is a target user position information including at least one group of pre-stored in each group is determined. 如果判断结果为预存的各群组有包括目标用户位置信息的至少一个群组时,服务器可以从包括目标用户位置信息的所有预设的群组中选择一个群组作为第一目标群组,然后将该目标用户分配到第一目标群组中。 If the determination result of each group including a pre-stored location information of the target user of the at least one group, the server may be selected from a group comprising a group all the custom user position information in target as the first target group, and the target user assigned to the first target group. 例如,服务器可以随机的为目标用户选取一个第一目标群组,或者目标用户在向服务器发送的即时通信请求中携带聊天需求标识,如考研、购物或者租房等聊天需求,服务器预存的各群组包括聊天需求标识,该标识可以标识出每个群组的聊天需求。 For example, the server may randomly select a first target to a target user group, or the needs of the target user identifier carried in the instant messaging chat request sent to the server, such as PubMed, shopping or the like chat rental demand, each group server prestored requirements include chat identifier, which can identify the needs of each group chat. 这样服务器可以根据目标用户的聊天需求从包括有目标用户位置信息的所有群组中,选取一个与该聊天需求对应的群组作为第一目标群组。 Such a target server according to the needs of the user from all the chat group comprising target user location information, select a group corresponding to the first target demand as the chat group.

[0038] 如果判断结果为预存的各群组的覆盖范围均不包括目标用户的位置信息,服务器以该位置信息为圆心,以预设长度为覆盖半径,为目标用户建立对应的第二目标群组。 [0038] If the determination result is stored in the coverage of each group do not include the location information of the target user, the location information server to a circle, the radius of a preset length so as to cover the second target group to correspond to a target user group. 服务器并将该第二目标群组加入到预存的各群组中,以便于将属于第二目标群组覆盖范围内的新用户,在需要进行群组聊天时加入到该第二目标群组中。 And the second server is added to the target group of pre-stored in each group, so that new users belonging to the target group within the second coverage, was added to the second group when the target needs to be a group chat . 可选地,服务器还可以根据目标用户的聊天需求为第二目标群组添加一个聊天需求标识。 Alternatively, the server may also be based on the target user's chat needs to add a chat the second target group identification needs.

[0039] 103、在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置。 [0039] 103, the target group in the coverage maps corresponding to the target, based on the position information of the target user mark target location on the target map.

[0040] 在为目标用户分配了目标群组后,服务器可以根据目标群组的覆盖范围,获取到与该覆盖范围对应的目标地图。 [0040] After the target group is assigned for the target user, the server can reach the target groups, corresponding to the acquired target coverage map. 在获取到目标地图后,服务器根据目标用户的位置信息即目标用户的经纬度信息,标记该目标用户在目标地图上的目标位置。 After obtaining the target map, the target server according to the user's latitude and longitude information of positional information of the target user, user marking a target position of the target on the target map.

[0041] 其中,当目标群组为第一目标群组时,服务器上已存储有该第一目标群组对应的目标地图,服务器只需要根据该第一目标群组的覆盖范围查询到相应的目标地图就可以,然后根据目标用户的位置信息,标记该目标用户在目标地图上的目标位置。 [0041] wherein, when the first target when the target group for the group, the server storing the first target group corresponding to the target map, the server only needs to query according to the coverage of the respective first target group of can map the target, and then the position information of the target user, user marking a target position of the target on the target map.

[0042] 而当目标群组为第二目标群组时,由于第二目标群组为服务器新建立的目标群组,服务器中未存储该第二目标群组覆盖范围对应的目标地图。 [0042] When the target group and the second group target, since the target group for the second server to establish a new target group, the server does not store the second target group corresponding target coverage map. 本实施例中,在为目标用户建立第二目标群组之后,服务器需要从定位服务系统中获取到第二目标群组覆盖范围对应的目标地图。 In this embodiment, after the establishment of the second target group for the target user, the location service server needs to obtain from the target system to the second group corresponding target coverage map. 具体地,服务器向定位服务系统发送获取请求,该获取请求携带第二目标群组覆盖范围对应的经纬度信息,以使定位服务系统根据第二目标群组的经纬度信息生成第二目标群组的目标地图,服务器接收定位服务系统发送的第二目标群组的目标地图。 Specifically, the server sends a request to the location service system acquisition, the target acquisition request carries information of the second latitude and longitude corresponding to the target group coverage, so that location service system to generate a second target groups based on latitude and longitude information of the second group of target map, map of the second target group is the target server receives the positioning service system sent.

[0043] 104、将标记有各用户位置的所述目标地图下发给所述即时通信工具,以使所述即时通信工具在所述目标地图上显示各用户的位置及聊天内容。 [0043] 104, labeled with the position of the target map issued to each user of the IM tool, so that the instant messenger and the display position of each user in the chat content on the target map.

[0044] 一般目标群组中至少包括一个用户。 [0044] Usually the target group comprises at least one user. 在目标地图上对目标用户的位置进行标记后,服务器将标记有各用户位置的该目标地图下发给目标用户对应的即时通信工具。 Send instant messaging tools corresponding to the target user on the map after the target position of the target user marked, labeled with the server for each user position the target map. 即时通信工具接收到该目标地图后,将该目标地图作为聊天背景,可以在该聊天背景下进行聊天内容的接收和发送。 After receiving the instant messaging tools target map, the target map as a chat background, can receive and send chat chat content in the background. 即时通信工具对应的目标用户可以看到其他用户在地图上的位置以及在相应的位置显示的聊天内容。 Instant messaging tools corresponding to the target user can see the position of other users in the chat content on a map and displayed in the corresponding position.

[0045] 其中,当目标群组为第一目标群组时,该第一目标群组为服务器中以预存的各群组中的一个,因此该第一目标群组中已经包括多个用户,并且第一目标群组中已经包括的各用户均已经接收到服务器下发的一个不包括目标用户的当前的目标地图。 [0045] wherein, when the target group for the first target group, the first target group for the group to a server in a pre-stored, so that the first target group comprises a plurality of users have been, and each user comprises a first target group has been already received are delivered by a server that does not include the current user target map object. 为了保证第一目标群组中已包括的各用户在当前的目标地图中看到目标用户,本实施例中,当有目标用户加入时,第一目标群组中已包括的各用户需要对目标地图进行更新,以使更新的目标地图上显示包括目标用户在内的各用户的位置。 In order to ensure that all users have the first target group included in the current user to see the target in the target map, in the present embodiment, when the target user is added, each user has a first group including the target needs to target map update for the update target map display including the target of each user, including the user's location. 具体地,服务器需要向除目标用户之外的其他用户下发一个更新消息,该更新消息用于其他用户对当前的目标地图进行更新,得到包括目标用户的目标地图。 Specifically, the server needs to send an update to other users other than the target user's message, the update message to other users of the current update target map, the map includes a target to obtain target user.

[0046] 而当目标群组为第二目标群组时,由于第二目标群组为服务器新建立的目标群组,此时第二目标群组中仅包括目标用户,此时,第二目标群组对应的目标地图上只标记有目标用户,服务器不需向其他用户发送更新消息。 [0046] When the target group of the group as a second target, the second target newly created server group for the target group, then the second target comprises only the target user group, at this time, the second target the target group corresponding map marked with only the target user, the server does not need to send update messages to other users.

[0047] 本实施例提供的即时通信方法,接收目标用户对应的即时通信工具发送的即时通信请求,即时通信请求中携带目标用户当前的位置信息,根据位置信息与预存的各群组的覆盖范围进行匹配,为目标用户分配目标群组,其中目标群组中包括至少一个用户,在目标群组覆盖范围对应的目标地图上,根据位置信息标记目标用户在目标地图上的目标位置,将标记有各用户位置的目标地图下发给即时通信工具,以使即时通信工具在目标地图上显示各用户的位置以及聊天内容。 [0047] The present instant communication method according to an embodiment, the IM user receiving a request corresponding to the target transmission instant messaging tools, instant messaging request carries the user's current location information of the target, according to the coverage range of each group of pre-stored position information matching the target user assigned target group, wherein the group includes at least one target user, coverage on the target group corresponding to the target map, the target user based on the position information of the target position mark on the map of the target, labeled with send instant communication tool at the target location map for each user, so that instant messaging tool shows each user's location and chat on the destination map. 本实施例提供了一种新的聊天模式,基于用户的位置信息,为用户分配对应的目标群组,在用户进入目标群组后,向用户下发该目标群组对应的目标地图,其中该地图上标记有该目标群组中各用户的位置,以使目标用户以目标地图为聊天背景进行群聊,从而在聊天过程中不仅可以目标地图上显示各用户的位置,还可以在各用户的位置上显示聊天内容。 The present embodiment provides a new chat mode, based on the position information of the user, the user is assigned the corresponding target group, the user enters the target groups, the target group send a map to the corresponding target user, wherein the a map marked with the location of the target user group, a user so that the target map for the target group chat on the chat background, so that each user can not only display a map on the target position during a chat, the user may also be in the chat content display position.

[0048] 图2为本发明实施例提供的另一种即时通信方法的流程示意图。 [0048] FIG 2 a schematic flow diagram of another method for instant messaging according to an embodiment of the present invention. 该方法的执行为即时通信工具。 The method of execution is an IM tool. 如图2所示,该方法包括以下步骤: 2, the method comprising the steps of:

[0049] 201、获取目标用户当前的位置信息。 [0049] 201 acquires current location information of the target user.

[0050] 具体地,目标用户所对应的即时通信工具,获取目标用户的当前的位置信息。 [0050] Specifically, the target corresponding to the user's instant messaging tools, acquires the current position information of the target user. 其中目标用户的位置信息为目标用户的经纬度信息。 Where the target user location information for the target user's latitude and longitude information.

[0051] 即时通信工具可以只米用全球定位系统(Global Positioning System,简称GPS)方式或者网络定位方式,对目标用户的当前所处的位置进行定位,以获取该目标用户当前的位置信息。 [0051] IM tool meters can only use GPS (Global Positioning System, referred to as GPS) or network positioning mode, the location of the target user is currently located is positioned to acquire the current location information of the target user. 可选地,即时通信工具可以将GPS方式与网络定位方式相结合,对目标用户的当前所处的位置进行定位。 Alternatively, instant messaging tools can be manner GPS positioning mode network combination, a position of the target user is currently located is positioned. 例如,即时通信工具与服务器成功连接之后,首先采用GPS方式对目标用户进行定位,本实施例中,为即时通信工具设置一个定时器并为该定时器预设一个时间间隔,如10s。 For example, with the IM tool after the server connects to the first embodiment uses GPS to locate the target users, the present embodiment, a timer is set for the IM tool and a timer for a predetermined time interval, such as 10s. 如果定时器到达该预设的时间间隔后,即时通信工具未获取到目标用户的位置信息,即时通信工具从GPS方式切换到网络定位方式,通过网络定位方式对目标用户进行定位,获取该目标用户的位置信息。 If the timer reaches the predetermined time interval, instant messaging tool does not obtain location information of the target user, instant messaging tool to switch from the network mode to the GPS positioning mode, positioning the target user over the network targeting, acquires the target user the location information. 如果仍然未定位到目标用户的位置即未获取到目标用户当前的位置信息,即时通信工具会向目标用户提示定位失败。 If you still can not locate the target user's location that is not acquired to the target user's current location information, instant messaging tool prompts the user to locate the target failed.

[0052] 202、将所述位置信息携带在所述即时通信请求中发给服务器,以使所述服务器根据所述位置信息为所述目标用户分配目标群组,以及在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置;其中所述目标群组中包括至少一个用户。 [0052] 202, the location information to the server carries the instant messaging request to the server to allocate the target group for the user according to the location information of the target, covering the target group corresponding target range on the map, based on the position information of the target user mark target location on the map of the target; wherein the target comprises at least one user group.

[0053] 当目标用户基于即时通信工具试图与其他用户进行即时通信时,目标用户对应的即时通信工具向服务器发送即时通信请求,其中即时通信请求中携带该目标用户当前的位置信息,以使服务器在接收到该即时通信请求后,根据目标用户的位置信息与预存的各群组的覆盖范围进行匹配,以为目标用户分配对应的目标群组。 [0053] When a target user based on the instant messaging tool tries to instantly communicate with other users, the target corresponding to the user's instant messaging tool to send an instant communication request to the server, wherein the target user's current location information of the instant messaging request carries, so that the server after receiving the request for real time communication, to match the coverage of each group according to the location information of the target user and pre-stored, that the target user is assigned the corresponding target groups. 其中目标群组中包括至少一个用户。 Wherein the target group comprises at least one user. 一般目标用户的位置信息为目标用户的经纬度信息,预存的各群组的覆盖范围为经纬度范围。 Location information of the target user generally latitude and longitude information for the target user, coverage for each group are stored the latitude and longitude range. 其中,本实施例中的服务器为图1所示实施例中的服务器,其功能和工作原理如上所述,此处不再赘述。 However, the present embodiment is shown in FIG. 1 embodiment the server in the server embodiment, the function and operating principle described above, will not be repeated here.

[0054] 203、接收所述服务器发送的标记有各用户位置的所述目标地图。 [0054] 203, mark sent by the server has a user respective locations of the target map.

[0055] 204、在所述目标地图上显示各用户的位置以及聊天内容。 [0055] 204, and the display position of each user's chat content on the target map.

[0056] 进一步地,即时通信工具接收服务器发送的标记有各用户位置信息的目标地图,在接收到该目标地图后,即时通信工具将该目标地图作为聊天背景,可以在该聊天背景下进行聊天内容的接收和发送。 [0056] Further, the instant messenger server transmits the received target marker map each user location information, instant messenger of the target map as a chat background, can chat in the chat background after receiving the target map receiving and transmitting the content. 即时通信工具对应的目标用户可以看到其他用户在地图上的位置以及在相应的位置上显示的聊天内容。 Instant messaging tools corresponding to the target user can see the position of other users in the chat content on a map and displayed in the corresponding position.

[0057] 本实施例提供了一种新的聊天模式,即时通信工具向服务器发送携带目标用户当前位置信息的即时通信请求,以使服务器基于目标用户的位置信息,分配对应的目标群组,以及接收服务器下发的标记有各用户位置的目标地图,然后基于该目标地图为聊天背景进行群聊,从而在聊天过程中不仅可以在目标地图上显示目标群组中各用户的位置,还可以在各用户的位置上显示聊天内容。 [0057] The present embodiment provides a new chat mode, IM IM tool requests sent to the server carries the user's current location information of the target, so that the server based on the location information of the target user, assigned corresponding target group, and receiving the server sent by the user for each labeled with a position of the target map, and the map based on the target group chat as a chat background, so that not only can display the target position of each user group on the target map during a chat, also in a display position of each user chat.

[0058] 图3为本发明实施例提供的一种服务器的结构示意图。 [0058] FIG. 3 is a schematic structure of a server according to an embodiment of the present invention. 如图3所示,该服务器包括:接收模块31、分配模块32、标记模块33和下发模块34。 As shown in FIG. 3, the server comprising: a receiving module 31, a distribution module 32, a tagging module 33, and delivery module 34.

[0059] 当目标用户基于即时通信工具试图与其他用户进行即时通信时,服务器中的接收模块31将接收到目标用户对应的即时通信工具发送的即时通信请求时,本实施例中,即时通信请求中携带该目标用户当前的位置信息。 When [0059] When a target user based on the instant messaging tool tries to instantly communicate with other users, the receiving module server 31 stores the received instant messaging request destination corresponding to the user's instant messaging tools transmitted embodiment, the instant communication request according to the present embodiment carries the target user's current location information.

[0060] 实际应用中,在接收目标用户发送的即时通信请求之前,服务器中已经存储有多个为其他用户建立的群组。 [0060] In practice, prior to receiving a target IM user sends a request, the server has stored therein a plurality of other users as a group is established. 本实施例中,服务器是基于位置信息建立每个群组,并为每个群组划分一个对应的覆盖范围。 In this embodiment, the location information of the server is established for each group, and corresponds to a division of coverage for each group is based.

[0061] 分配模块32与接收模块31连接,在接收模块31接收到目标用户发送的即时通信请求后,分配模块32根据目标用户的位置信息与预存的各群组的覆盖范围进行匹配,以为目标用户分配对应的目标群组。 After [0061] 32 distribution module 31 is connected to the receiving module, the receiving module 31 receives a communication request destination user sends an instant, the allocation module 32 matches the position information of the target according to the coverage of the user pre-stored in each group, that certain assigned corresponding target user group. 其中为目标用户分配的目标群组中包括至少一个用户。 Wherein the target group is assigned to the target user comprises at least one user. 一般目标用户的位置信息为目标用户的经纬度信息,预存的各群组的覆盖范围为经纬度范围。 Location information of the target user generally latitude and longitude information for the target user, coverage for each group are stored the latitude and longitude range.

[0062] 其中,分配模块32的一种可选地实现结构包括:判断单元321、选择单元322、分配单元323和建立单元324。 [0062] wherein, a dispensing module 32 is optionally implemented structure comprising: a judging unit 321, selecting unit 322, allocation unit 323 and establishing unit 324.

[0063] 判断单元321根据预存的各群组的覆盖范围,判断预存的各群组中是否有包括目标用户位置信息的至少一个群组。 [0063] The coverage area determining unit 321 for each group of pre-stored, whether there is a target user position information including at least one group of pre-stored in each group is determined. 判断单元321与选择单元322连接,在判断结果为预存的各群组有包括目标用户位置信息的至少一个群组时,选择单元322可以从包括目标用户位置信息的所有预设的群组中选择一个群组作为第一目标群组,然后分配单元323将该目标用户分配到第一目标群组中。 When the determination unit 321 is connected to the selection unit 322, the judgment result of each group including a pre-stored location information of the target user group of at least one, the selection unit 322 may be selected from the group comprising all the custom user position information of a target as a first group of the target group, then allocation unit 323 of the destination user is assigned to the first target group. 例如,选择单元322可以随机的为目标用户选取一个第一目标群组,或者目标用户在向服务器发送的即时通信请求中携带聊天需求标识,如考研、购物或者租房等聊天需求,服务器中预存的各群组包括聊天需求标识,该标识可以标识出每个群组的聊天需求。 For example, the selection unit 322 may randomly select the target user group of a first target, the target or the user carrying the request sent to the instant messaging chat server identified needs, such as PubMed, shopping or the like chat rental demand, pre-stored in the server each group comprising demand chat identifier, which can identify the needs of each group chat. 这样选择单元322可以根据目标用户的聊天需求从包括有目标用户位置信息的所有群组中,选取一个与该聊天需求对应的群组作为第一目标群组。 Such selection unit 322 from the target group comprises all user location information, select a group corresponding to the chat group in accordance with the needs of the target as the first target chat user needs.

[0064] 进一步地,判断单元321还有建立单元324连接,在判断结果为预存的各群组的覆盖范围均不包括目标用户的位置信息,建立单元324以该位置信息为圆心,以预设长度为覆盖半径,为目标用户建立对应的第二目标群组。 [0064] Further, the determination unit 321 as well as establishing the connection unit 324, the determination result is the coverage of each group do not include pre-stored location information of the target user, establishing unit 324 to the center position information, preset length coverage radius, a second target group to correspond to the target user. 建立单元324将该第二目标群组加入到预存的各群组中,以便于将属于第二目标群组覆盖范围内的新用户,在需要进行群组聊天时加入到该第二目标群组中。 Was added to the second group when the target unit 324 to establish the second target was added to each group stored in the group, so that new users belonging to the target group within the second coverage, need to be in a group chat in. 可选地,建立单元324还可以根据目标用户的聊天需求为第二目标群组添加一个聊天需求标识。 Alternatively, unit 324 may also establish a second target group identification needs to add a chat chat the target user needs.

[0065] 在为目标用户分配了目标群组后,标记模块33可以根据目标群组的覆盖范围,获取到与该覆盖范围对应的目标地图。 [0065] After the target group is assigned to a target user, tagging module 33 may reach the target groups, corresponding to the acquired target coverage map. 在获取到目标地图后,标记模块33根据目标用户的位置信息即目标用户的经纬度信息,标记该目标用户在目标地图上的目标位置。 After obtaining the target map, the target user marking module 33 that is latitude and longitude information, a target position mark of the target user on the map based on the target position information of the target user.

[0066] 其中,当目标群组为第一目标群组时,服务器上已存储有该第一目标群组对应的目标地图,标记模块33只需要根据该第一目标群组的覆盖范围查询到相应的目标地图就可以,然后根据目标用户的位置信息,标记该目标用户在目标地图上的目标位置。 [0066] wherein, when the first target group for the target group, the server storing the first target group corresponding to the target map, tagging module 33 according to need, the coverage of the first target group can map respective target, then the position information of the target user, user marking a target position of the target on the target map.

[0067] 而当目标群组为第二目标群组时,由于第二目标群组为服务器新建立的目标群组,服务器中未存储该第二目标群组覆盖范围对应的目标地图。 [0067] When the target group and the second group target, since the target group for the second server to establish a new target group, the server does not store the second target group corresponding target coverage map. 本实施例中,服务器还包括获取模块35。 In this embodiment, the server module 35 further includes an acquisition. 在为目标用户建立第二目标群组之后,获取模块35需要从定位服务系统中获取到第二目标群组覆盖范围对应的目标地图。 After establishing a second target group of target users, requires acquisition module 35 acquires from the location service system to the second target group corresponding target coverage map. 具体地,获取模块35向定位服务系统发送获取请求,该获取请求携带第二目标群组覆盖范围对应的经纬度信息,以使定位服务系统根据第二目标群组的经纬度信息生成第二目标群组的目标地图。 In particular, the acquisition module 35 sends a request to the location service system acquisition, the acquisition request carries a second latitude and longitude information corresponding to the target group coverage, so that the location service system to generate a second target groups based on latitude and longitude information of the second target group the goal of the map. 在定位服务系统生成第二目标群组的目标地图后,接收模块31可以接收定位服务系统发送的该第二目标群组的目标地图。 After the target location service system generates a second group of a target map, the second receiving module 31 may receive a target group's location service system sends the target map. 接收模块31还与标记模块33连接,在接收到第二目标群组的目标地图后,标记模块33在该第二目标群组的目标地图上对目标用户的位置进行标记。 The receiving module 31 is also connected to the marking module 33, upon receiving the second target group target map, the target marker module 33 marks the user's location on a map of the second target of the target group.

[0068] 一般目标群组中至少包括一个用户。 [0068] Usually the target group comprises at least one user. 在标记模块33在目标地图上对目标用户的位置进行标记后,下发模块34将标记有各用户位置的该目标地图下发给目标用户对应的即时通信工具。 After the marker module 33 to mark the target user's location on the target map, the delivery module 34 labeled with the target user send instant messaging tools in the object map corresponding to the respective user location. 即时通信工具接收到该目标地图后,将该目标地图作为聊天背景,可以在该聊天背景下进行聊天内容的接收和发送。 After receiving the instant messaging tools target map, the target map as a chat background, can receive and send chat chat content in the background. 即时通信工具对应的目标用户可以看到其他用户在地图上的位置以及在相应的位置显示的聊天内容。 Instant messaging tools corresponding to the target user can see the position of other users in the chat content on a map and displayed in the corresponding position.

[0069] 其中,当目标群组为第一目标群组时,该第一目标群组为服务器中以预存的各群组中的一个,因此该第一目标群组中已经包括多个用户,并且第一目标群组中已经包括的各用户均已接收到下发模块34下发的一个不包括目标用户的当前的目标地图。 [0069] wherein, when the target group for the first target group, the first target group for the group to a server in a pre-stored, so that the first target group comprises a plurality of users have been, each user and the first target group have been included in the received delivery module 34 is issued does not include a target map object current user. 为了保证第一目标群组中已包括的各用户在当前的目标地图中看到目标用户,本实施例中,当有目标用户加入时,第一目标群组中已包括的各用户需要对目标地图进行更新,以使更新的目标地图上显示包括目标用户在内的各用户的位置。 In order to ensure that all users have the first target group included in the current user to see the target in the target map, in the present embodiment, when the target user is added, each user has a first group including the target needs to target map update for the update target map display including the target of each user, including the user's location. 具体地,服务器还包括:更新模块36。 Specifically, the server further comprising: an updating module 36. 该更新模块36与下发模块34连接,更新模块36需要向除目标用户之外的其他用户下发一个更新消息,该更新消息用于其他用户对当前的目标地图进行更新,得到包括目标用户的目标地图。 The updating module 36 is connected to the delivery module 34, update module 36 needs to send an update message to other users other than the target user, the update message to other users on the current map update target, comprising a target user to obtain target map.

[0070] 而当目标群组为第二目标群组时,由于第二目标群组为服务器新建立的目标群组,此时第二目标群组中仅包括目标用户,此时,第二目标群组对应的目标地图上只标记有目标用户,服务器不需向其他用户发送更新消息。 [0070] When the target group of the group as a second target, the second target newly created server group for the target group, then the second target comprises only the target user group, at this time, the second target the target group corresponding map marked with only the target user, the server does not need to send update messages to other users.

[0071] 本实施例提供的服务器,接收目标用户对应的即时通信工具发送的即时通信请求,即时通信请求中携带目标用户当前的位置信息,根据位置信息与预存的各群组的覆盖范围进行匹配,为目标用户分配目标群组,其中目标群组中包括至少一个用户,在目标群组覆盖范围对应的目标地图上,根据位置信息标记目标用户在目标地图上的目标位置,将标记有各用户位置的目标地图下发给即时通信工具,以使即时通信工具在目标地图上显示各用户的位置以及聊天内容。 [0071] The present embodiment provides a server embodiment, the IM user receiving a request corresponding to the target transmission instant messaging tools, instant messaging request carries the user's current location information of the target, to match the coverage of each group according to the pre-stored position information , the target user group assignment target, wherein the target comprises at least one user group, the corresponding target group on the target coverage map based on the position information of a target user a target position mark on the map of the target, labeled with each user send instant communication tool at the target location map to enable instant communication tool shows each user's location and chat on the destination map. 本实施例提供了一种新的聊天模式,基于用户的位置信息,为用户分配对应的目标群组,在用户进入目标群组后,向用户下发该目标群组对应的目标地图,其中该地图上标记有该目标群组中各用户的位置,以使目标用户以目标地图为聊天背景进行群聊,从而在聊天过程中不仅可以目标地图上显示各用户的位置,还可以在各用户的位置上显示聊天内容。 The present embodiment provides a new chat mode, based on the position information of the user, the user is assigned the corresponding target group, the user enters the target groups, the target group send a map to the corresponding target user, wherein the a map marked with the location of the target user group, a user so that the target map for the target group chat on the chat background, so that each user can not only display a map on the target position during a chat, the user may also be in the chat content display position.

[0072] 图4为本发明实施例提供的一种即时通信工具的结构示意图。 [0072] FIG. 4 is a schematic structure of an instant messaging tool according to an embodiment of the present invention. 如图4所示,该即时通信工具包括:获取模块41、发送模块42、接收模块43和显示模块44。 4, the instant messaging tool comprising: an obtaining module 41, transmission module 42, reception module 43 and display module 44.

[0073] 获取模块41获取目标用户的当前的位置信息。 [0073] obtains the current position information acquisition module 41 of the target user. 其中目标用户的位置信息为目标用户的经纬度信息。 Where the target user location information for the target user's latitude and longitude information. 获取模块41可以只采用GPS方式或者网络定位方式,对目标用户的当前所处的位置进行定位,以获取该目标用户当前的位置信息。 Acquisition module 41 may only use GPS positioning mode or the network mode, the position of the target user is currently located is positioned to acquire the current location information of the target user. 可选地,获取模块41可以将GPS方式与网络定位方式相结合,对目标用户的当前所处的位置进行定位。 Alternatively, module 41 may acquire the network GPS positioning mode embodiment the combination of the position of the target user is currently located is positioned. 例如,在即时通信工具与服务器成功连接之后,获取模块41首先采用GPS方式对目标用户进行定位,本实施例中,为即时通信工具设置一个定时器并为该定时器预设一个时间间隔,如10s。 For example, after the instant messaging tool successfully connected to the server, the obtaining module 41 first embodiment uses GPS to locate the target users, the present embodiment, a timer is set for the IM tool and a timer for a predetermined time interval, such as 10s. 如果定时器到达该预设的时间间隔后,获取模块41未获取到目标用户的位置信息,获取模块41从GPS方式切换到网络定位方式,通过网络定位方式对目标用户进行定位,获取该目标用户的位置信息。 If the timer reaches the preset time interval, the acquisition module 41 does not acquire the target user's location information acquiring module 41 is switched from the network mode to the GPS positioning mode, positioning the target user over the network targeting, acquires the target user the location information. 如果获取模块41未定位到目标用户的位置即未获取到目标用户当前的位置信息,会向目标用户提示定位失败。 If the acquisition module 41 is not targeted to the target user's location that is not acquired current location information of the target user, the user will be prompted to the target location failure.

[0074] 当目标用户基于即时通信工具试图与其他用户进行即时通信时,发送模块42向服务器发送即时通信请求,其中即时通信请求中携带该目标用户当前的位置信息,以使服务器在接收到该即时通信请求后,根据目标用户的位置信息与预存的各群组的覆盖范围进行匹配,以为目标用户分配对应的目标群组。 [0074] When a target user based on the instant messaging tool tries to instantly communicate with other users, the sending module 42 to send an instant communication request to the server, wherein the target user's current location information of the instant messaging request carries, so that the server receiving the after immediate communication request match according to the coverage of the target position information of each user stored in the group, that the target user is assigned the corresponding target groups. 其中目标群组中包括至少一个用户。 Wherein the target group comprises at least one user. 一般目标用户的位置信息为目标用户的经纬度信息,预存的各群组的覆盖范围为经纬度范围。 Location information of the target user generally latitude and longitude information for the target user, coverage for each group are stored the latitude and longitude range. 其中,本实施例中的服务器为图1所示实施例中的服务器,其功能和工作原理如上所述,此处不再赘述。 However, the present embodiment is shown in FIG. 1 embodiment the server in the server embodiment, the function and operating principle described above, will not be repeated here.

[0075] 进一步地,接收模块43接收服务器发送的标记有各用户位置信息的目标地图,在接收到该目标地图后,显示模块44将该目标地图作为聊天背景,可以在该聊天背景下进行聊天内容的接收和发送。 [0075] Further, the receiving module 43 receives the mark transmitted by the server map of target position information of each user, after receiving the target map, the target map display module 44 as a chat background, can chat in the chat background receiving and transmitting the content. 目标用户可以看到其他用户在地图上的位置以及在相应的位置上显示的聊天内容。 Target user can see the location of other users on the map and chat content displayed in the corresponding position.

[0076] 本实施例提供了一种新的聊天模式,即时通信工具向服务器发送携带目标用户当前位置信息的即时通信请求,以使服务器基于目标用户的位置信息,分配对应的目标群组,以及接收服务器下发的标记有各用户位置的目标地图,然后基于该目标地图为聊天背景进行群聊,从而在聊天过程中不仅可以在目标地图上显示目标群组中各用户的位置,还可以在各用户的位置上显示聊天内容。 [0076] The present embodiment provides a new chat mode, IM IM tool requests sent to the server carries the user's current location information of the target, so that the server based on the location information of the target user, assigned corresponding target group, and receiving the server sent by the user for each labeled with a position of the target map, and the map based on the target group chat as a chat background, so that not only can display the target position of each user group on the target map during a chat, also in a display position of each user chat.

[0077] 最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 [0077] Finally, it should be noted that: the above embodiments only describe the technical solutions in embodiments of the present invention, rather than limiting;. Although the embodiments of the present invention has been described in detail, those of ordinary skill in the art should appreciated: it still may be made to the technical solutions described embodiments modifications, or to some or all of the technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from embodiments of the present invention range of technical solutions.

Claims (10)

1.一种即时通信方法,其特征在于,包括: 接收目标用户对应的即时通信工具发送的即时通信请求,所述即时通信请求中携带所述目标用户当前的位置信息; 根据所述位置信息与预存的各群组的覆盖范围进行匹配,为所述目标用户分配目标群组;其中所述目标群组中包括至少一个用户; 在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置; 将标记有各用户位置的所述目标地图下发给所述即时通信工具,以使所述即时通信工具在所述目标地图上显示各用户的位置及聊天内容。 CLAIMS 1. A method of instant messaging, characterized in that, comprising: receiving instant messaging tools corresponding to the target user of instant communication request, the request carries the instant messaging user current location information of the target; according to the location information and stored coverage of each group match, allocation of the target user group of the target; wherein the target comprises at least one user group; group on the target corresponding to a target coverage map, in accordance with the location information of the target user target position mark on the map of the target; send labeled with the user at the location of each target map IM tool, so that the instant messaging tool on the target map and the display position of each user's chat content.
2.根据权利要求1所述的即时通信方法,其特征在于,所述根据所述位置信息与预设的聊天群组的位置范围进行匹配,为所述目标用户分配对应的目标群组,包括: 根据所述预存的各群组的覆盖范围,判断所述预存的各群组中是否有包括所述位置信息的至少一个群组; 如果判断结果为是,从包括所述位置信息的所有群组中选择一个第一目标群组; 将所述目标用户分配到所述第一目标群组中; 将标记有各用户的位置的所述目标地图下发给所述即时通信工具之后,包括: 向除所述目标用户之外其他用户对应的即时通信工具发送用于指示所述其他用户更新当前的目标地图的更新消息,所述更新消息携带所述目标用户的所述目标位置。 The instant messaging method as recited in claim 1, characterized in that said position according to a preset range of the position information of the chat group by matching the corresponding target distribution of the target group of users, comprising : the coverage of the pre-stored for each group, each group determines whether there is the pre-stored in the location information comprises at least one group; if the determination result is YES, the location information including from all groups selecting a first target group group; assigning the target user to the first target group; after the target labeled with the map location sent to each user of the IM tool, comprising: the instant messaging tools other than the target user transmits the corresponding other users indicating other users from updating the current target map update message, the update message carries the target position of the target user.
3.根据权利要求2所述的即时通信方法,其特征在于,还包括: 如果判断结果为否,以所述位置信息为圆心,以预设长度为覆盖半径,为所述目标用户建立对应的所述第二目标群组; 在为所述目标用户建立对应的所述第二目标群组之后,还包括: 向定位服务系统发送获取请求,所述获取请求携带所述第二目标群组覆盖范围对应的经纬度信息,以使所述定位服务系统根据所述经纬度信息生成第二目标群组的所述目标地图; 所述服务器接收所述定位服务系统发送的所述目标地图。 3. The instant messaging method as recited in claim 2, characterized in that, further comprising: if the determination result is NO, the location information to a circle, the radius of a preset length so as to cover, in correspondence to the target user the second target group; after establishing the second target group corresponding to the target user, further comprising: sending a request to the location service system acquisition, the acquisition request carries a second group of target coverage latitude and longitude information corresponding to the range, so that the location service according to the target system to the latitude and longitude information to generate a second map of the target group; the server receives the positioning service system transmitting the target map.
4.一种即时通信方法,其特征在于,包括: 获取目标用户当前的位置信息; 将所述位置信息携带在所述即时通信请求中发给服务器,以使所述服务器根据所述位置信息为所述目标用户分配目标群组,以及在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置;其中所述目标群组中包括至少一个用户; 接收所述服务器发送的标记有各用户位置的所述目标地图; 在所述目标地图上显示各用户的位置以及聊天内容。 A method of instant messaging, characterized by, comprising: obtaining current location information of a target user; carries the location information request sent to the IM server so that the server according to the location information distribution target of the target user group as well as the target group on the corresponding target coverage map based on the position information of the target user mark target location on the map of the target; wherein the target group comprising at least one user; tag is sent by the server for the target map position of each user; and a display position of each user's chat content on the target map.
5.根据权利要求4所述的即时通信方法,其特征在于,所述获取目标用户当前的位置信息,包括: 采用全球定位系统GPS方式和/或网络定位方式,获取所述目标用户的所述位置信息。 The Global Positioning System GPS mode and / or network targeting methods to obtain the target user: 5. The instant messaging method as claimed in claim 4, wherein, said acquiring current location information of a target user, comprising location information.
6.一种服务器,其特征在于,包括: 接收模块,用于接收目标用户对应的即时通信工具发送的即时通信请求,所述即时通信请求中携带所述目标用户当前的位置信息; 分配模块,用于根据所述位置信息与预存的各群组的覆盖范围进行匹配,为所述目标用户分配目标群组;其中所述目标群组中包括至少一个用户; 标记模块,用于在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置; 下发模块,用于将标记有各用户位置的所述目标地图下发给所述即时通信工具,以使所述即时通信工具在所述目标地图上显示各用户的位置以及聊天内容。 6. A server, comprising: receiving means for receiving a request for instant messaging user corresponding to the target transmission instant messaging tools, the instant messaging request carries the current location information of the target user; distribution module, the coverage for each of the group of position information matches the pre-stored, allocated to the target user group of the target; wherein the target comprises at least one user group; a marking module for the target a group in the coverage maps corresponding to the target, based on the position information of the target user mark target location on the target map; delivering module, configured to send the labeled with a map of the target position of each user the instant messaging tools, so that the instant messaging tools, and the display position of each user's chat content on the target map.
7.根据权利要求6所述的服务器,其特征在于,所述分配模块包括: 判断单元,用于根据所述预存的各群组的覆盖范围,判断所述预存的各群组中是否有包括所述位置信息的至少一个群组; 选择单元,用于在所述判断单元判断出所述预存的各群组中有包括所述位置信息的至少一个群组之后,从包括所述位置信息的所有群组中选择一个第一目标群组; 分配单元,用于将所述目标用户分配到所述第一目标群组中; 所述服务器还包括: 更新模块,用于向除所述目标用户之外其他用户对应的即时通信工具发送用于指示所述其他用户更新当前的目标地图的更新消息,所述更新消息携带所述目标用户的所述目标位置。 The server of claim 6, wherein said distribution module comprises: a judging unit, according to the coverage of the pre-stored for each group, each group determines whether there is the pre-stored in comprising the position information of at least one group; a selecting unit, the judging means judges that after the pre-stored in each group have the location information comprises at least one group from the location information comprising selecting a first group all target group; assigning unit for assigning the target user to the first target group; the server further comprises: an updating module, for addition to the target user corresponding to the user among other instant messaging tools for instructing the other users from updating the current target map update message, the update message carries the target position of the target user.
8.根据权利要求7所述的服务器,其特征在于,所述分配模块还包括: 建立单元,用于在所述判断单元判断出所述预存的各群组覆盖范围内未包括所述位置信息,以所述位置信息为圆心,以预设长度为覆盖半径,为所述目标用户建立对应的所述第二目标群组。 8. The server according to claim 7, characterized in that the dispensing module further comprising: a establishing unit, the judging means judges that the positional information is not included in each group in the pre-stored coverage to the position information as the center to a radius of a predetermined length so as to cover the establishment of the corresponding second target group for the target user. 所述服务器还包括: 获取模块,用于在所述建立单元为所述目标用户建立对应的所述第二目标群组之后,向定位服务系统发送获取请求,所述获取请求携带所述第二目标群组覆盖范围对应的经纬度信息,以使所述定位服务系统根据所述经纬度信息生成第二目标群组的所述目标地图;所述接收模块,还用于接收所述定位服务系统发送的所述目标地图。 The server further comprising: an obtaining module, configured to, after establishing the second target group corresponding to the target user in the establishing means transmits acquisition request to the location service system, the acquisition request carries a second coverage of the target group corresponding to the latitude and longitude information, such that the system generates a second location service of the target group of the target map based on said latitude and longitude information; the receiving module is further configured to receive the transmitted positioning service system the target map.
9.一种即时通信工具,其特征在于,包括: 获取模块,用于获取目标用户当前的位置信息; 发送模块,用于将所述位置信息携带在所述即时通信请求中发给服务器,以使所述服务器根据所述位置信息为所述目标用户分配目标群组,以及在所述目标群组覆盖范围对应的目标地图上,根据所述位置信息标记所述目标用户在所述目标地图上的目标位置;其中所述目标群组中包括至少一个用户; 接收模块,用于接收所述服务器发送的标记有各用户位置的所述目标地图; 显示模块,用于在所述目标地图上显示各用户的位置以及聊天内容。 A IM tool, characterized by comprising: an obtaining module, configured to obtain current location information of the target user; a transmission module for carrying the position information of the instant messaging request to the server to the server allocates the target group for the user according to the location information of the target, and the target group on the corresponding target coverage map based on the position information of the target user mark on the target map target position; wherein said group comprising at least one target user; receiving means for receiving mark sent by the server for the target map position of each user; a display module for displaying a map on the target each user's location, and chat.
10.根据权利要求9所述的即时通信工具,其特征在于,所述获取模块具体用于采用全球定位系统GPS方式和/或网络定位方式,获取所述目标用户的所述位置信息。 10. The instant messaging tool according to claim 9, wherein the obtaining module is configured to use a global positioning system GPS mode and / or network targeting methods, obtaining the location information of the target user.
CN201310693227.4A 2013-12-17 2013-12-17 Instant messaging method, server and instant messaging tool CN103684993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310693227.4A CN103684993A (en) 2013-12-17 2013-12-17 Instant messaging method, server and instant messaging tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310693227.4A CN103684993A (en) 2013-12-17 2013-12-17 Instant messaging method, server and instant messaging tool

Publications (1)

Publication Number Publication Date
CN103684993A true CN103684993A (en) 2014-03-26

Family

ID=50321359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310693227.4A CN103684993A (en) 2013-12-17 2013-12-17 Instant messaging method, server and instant messaging tool

Country Status (1)

Country Link
CN (1) CN103684993A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468335A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Communication method and device based on relative position information
CN104468334A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Communication method and device based on fixed position information
CN104602183A (en) * 2014-04-22 2015-05-06 腾讯科技(深圳)有限公司 Group positioning method and system
CN105024920A (en) * 2015-07-14 2015-11-04 深圳市元征科技股份有限公司 Method and equipment for transmitting group chat information
CN105847110A (en) * 2016-01-29 2016-08-10 维沃移动通信有限公司 Position information displaying method and mobile terminal
CN106302129A (en) * 2016-08-29 2017-01-04 珠海市魅族科技有限公司 Chat method based on geographical locations and mobile terminal
CN106302096A (en) * 2015-06-04 2017-01-04 腾讯科技(深圳)有限公司 Method and system for realizing geographic position display in session page
CN106453050A (en) * 2016-10-10 2017-02-22 腾讯科技(深圳)有限公司 Social application based information processing method and system, and correlation devices
WO2019085644A1 (en) * 2017-11-01 2019-05-09 上海掌门科技有限公司 Method and device for creating chat in same scenario

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254840A1 (en) * 2008-04-04 2009-10-08 Yahoo! Inc. Local map chat
CN102624639A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for establishing instant messaging, system and clients thereof
CN103220207A (en) * 2012-01-20 2013-07-24 北京千橡网景科技发展有限公司 Instant message communication method and instant message communication equipment based on locations
CN103345361A (en) * 2013-06-26 2013-10-09 腾讯科技(北京)有限公司 Group joining method and relevant devices and systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254840A1 (en) * 2008-04-04 2009-10-08 Yahoo! Inc. Local map chat
CN102624639A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for establishing instant messaging, system and clients thereof
CN103220207A (en) * 2012-01-20 2013-07-24 北京千橡网景科技发展有限公司 Instant message communication method and instant message communication equipment based on locations
CN103345361A (en) * 2013-06-26 2013-10-09 腾讯科技(北京)有限公司 Group joining method and relevant devices and systems

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602183A (en) * 2014-04-22 2015-05-06 腾讯科技(深圳)有限公司 Group positioning method and system
US9668093B2 (en) 2014-04-22 2017-05-30 Tencent Technology (Shenzhen) Company Limited Group positioning method and system
US20160316323A1 (en) * 2014-04-22 2016-10-27 Tencent Technology (Shenzhen) Company Limited Group Positioning Method and System
CN104468335A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Communication method and device based on relative position information
CN104468334A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Communication method and device based on fixed position information
CN104468334B (en) * 2014-12-11 2017-12-01 北京奇虎科技有限公司 Based communication method and means for fixing the position information
CN106302096A (en) * 2015-06-04 2017-01-04 腾讯科技(深圳)有限公司 Method and system for realizing geographic position display in session page
CN105024920A (en) * 2015-07-14 2015-11-04 深圳市元征科技股份有限公司 Method and equipment for transmitting group chat information
CN105847110A (en) * 2016-01-29 2016-08-10 维沃移动通信有限公司 Position information displaying method and mobile terminal
CN106302129A (en) * 2016-08-29 2017-01-04 珠海市魅族科技有限公司 Chat method based on geographical locations and mobile terminal
CN106453050A (en) * 2016-10-10 2017-02-22 腾讯科技(深圳)有限公司 Social application based information processing method and system, and correlation devices
WO2019085644A1 (en) * 2017-11-01 2019-05-09 上海掌门科技有限公司 Method and device for creating chat in same scenario

Similar Documents

Publication Publication Date Title
EP1130933B1 (en) Location dependent services
US20070201376A1 (en) Apparatus and methods for group communications
US20020022491A1 (en) LAN services delivery system
JP4062012B2 (en) Mobile phone and ad delivery method, and the program used to it
EP1555778A1 (en) A position system and method for subscribers in the wireless local area network
US20110040626A1 (en) Method and system for providing advertisement-based navigational services
CN101461187B (en) Hotspot location database system, mobile terminal for use in such a system and method for creating, maintaining and updating such a system
KR101478677B1 (en) Mobile device profile aggregation
AU2013286389B2 (en) Information processing method, server and logistics terminal
KR101642822B1 (en) Method, system, and apparatus for sharing application information
JP2003532210A (en) Computing devices and methods context aware
KR20140068809A (en) Positioning systems and methods and location based modification of computing device applications
US20040248597A1 (en) Direct response system with instant messaging and role based contact lists for replacing a dispatch system
CN101800931B (en) Group positioning method and terminal equipment for group positioning
JP5893752B2 (en) Mobile ad hoc networking
CN104066070B (en) Terminal registration method, a terminal discovery method, a terminal apparatus and
KR20090001563A (en) System and its method for providing real time advertisements based on location under navigation's operation
CN102811217A (en) A system for using attributes to deploy demand response resources
CN101582909A (en) System and method for providing information service for movable terminal user
US20110201305A1 (en) Method and system for ensuring user and/or device anonymity for location based services (lbs)
CN1666555A (en) Message transmission/reception system and method
CN101159915B (en) Position service servicing system and method for providing position information thereof
CN101621738A (en) Information processing method, device and system
CN101945325A (en) Base station positioning-based friend perception method
CN105555586B (en) It provides information on a charging station of the system and method of dynamically

Legal Events

Date Code Title Description
C10 Entry into substantive examination
RJ01