CN103516583A - Method and device for exchanging messages in instant messaging - Google Patents

Method and device for exchanging messages in instant messaging Download PDF

Info

Publication number
CN103516583A
CN103516583A CN201210223834.XA CN201210223834A CN103516583A CN 103516583 A CN103516583 A CN 103516583A CN 201210223834 A CN201210223834 A CN 201210223834A CN 103516583 A CN103516583 A CN 103516583A
Authority
CN
China
Prior art keywords
client
address
public network
same
clients
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201210223834.XA
Other languages
Chinese (zh)
Other versions
CN103516583B (en
Inventor
朱翼鹏
陈宁一
胡宇光
周云峰
刘伟刚
刘航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 360 Zhiling Technology Co ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210223834.XA priority Critical patent/CN103516583B/en
Publication of CN103516583A publication Critical patent/CN103516583A/en
Application granted granted Critical
Publication of CN103516583B publication Critical patent/CN103516583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for exchanging messages in instant messaging. The method comprises the following steps: a server collects public network internet protocol (IP) addresses of all instant messaging (IM) client-sides; the server clusters all the IM client-sides according to the public network IP addresses of all the IM client-sides to form a plurality of IP clusters, wherein the IM client-sides in each IP cluster belong to the same physical domain range; each IM client-side interface displays information of the other IM client-sides belonging to the same IP cluster as the IM client-side so that all the IM client-sides belonging to the same IP cluster can see one another; all the IM client-sides belonging to the same IP cluster exchange the messages with one another. The invention further discloses a device for exchanging the messages in instant messaging. By the adoption of the technical scheme, the method and device enable all IM users to be informed of other users nearby accurately and efficiently.

Description

A kind of method and device that carries out interacting message for instant messaging
Technical field
The present invention relates to instant messaging technical field, particularly relate to a kind of method and device that carries out interacting message for instant messaging.
Background technology
In existing instant messaging, user can only understand online good friend which, if want to see these good friends' address location information, conventionally also mouse can only be moved on corresponding good friend, then can eject the window that shows this friend location information, but the friend location information showing in this window is all generally the more rough address information that user oneself fills in, such as city rank, or be accurate at most district rank.But will produce several problems like this, the one, some user, in registration Shi Bu registered address information, is also false information even if register on the other hand sometimes, or not detailed.
The present inventor finds, and under many circumstances, user, for actual demand, often more needs to find user's positional information relatively more accurately, especially wishes to know which near own user has.And if described in adopting above, check good friend address location information approach, one is that efficiency is lower, the 2nd, may specifically cannot not realize the object of anticipation due to good friend's fill message.Again or adopt one by one the method to good friend's inquiry, but this method efficiency is low too.
Therefore, the technical problem solving in the urgent need to those skilled in the art is just how to allow the user of instant messaging find in time, fast near own user.
Summary of the invention
The invention provides a kind of method and device that carries out interacting message in instant messaging, can make each IM user can know very easily which near own user has, relatively existingly check one by one the physical message that the other side fills in or the scheme of inquiring one by one good friend, the embodiment of the present invention to more accurately, efficiency is higher.
The invention provides following scheme:
A method of carrying out interacting message for instant messaging, comprising: server is collected the public network Internet protocol IP address of each instant messaging IM client; Server carries out cluster according to the public network IP address of described each IM client to described each IM client, forms a plurality of IP groups, and the IM client described in each in IP group belongs in Same Physical regional extent; On each IM client end interface, show the information that belongs to other IM clients of same IP group with this IM client, belong to visible each other between each IM client of same IP group; Belong between each IM client of same IP group and carry out each other interacting message.
Optionally, the mode that described server carries out cluster according to the public network IP address of each IM client to described each IM client comprises: each identical IM client of server identification public network IP address, each identical IM client of public network IP address is gathered for same IP group; And/or server identification public network IP address phase recency meets each IM client of prerequisite, each IM client that described public network IP address phase recency is met to prerequisite is gathered for same IP group; And/or server determines that according to Given information some public network IP address belong to same physics colony, gather described each IM client corresponding to some public network IP address that belongs to Same Physical colony for same IP group.
Optionally, describedly on each IM client end interface, show that the information of other IM clients belong to same IP group with it comprises: server will belong to each IM client-side information of same IP group, send to each IM client in this IP group, on each IM client end interface, show the information that belongs to other IM clients of same IP group with this IM client.
Optionally, also comprise: described in belong to same IP group each IM client on a common interaction platform, carry out the mutual of group message.
Optional: described in belong between each IM client of same IP group and can not possess good friend's relation.
A device that carries out message friendship for instant messaging, comprising: IP collector unit, for server, collect the public network IP address of each instant messaging IM client; Cluster cell, carries out cluster according to the public network IP address of described each IM client to described each IM client for server, forms a plurality of IP groups, and the IM client described in each in IP group belongs in Same Physical regional extent; Display unit, for show the information that belongs to other IM clients of same IP group with this IM client on each IM client end interface, belongs to visible each other between each IM client of same IP group; Information interaction unit, carries out interacting message each other for belonging between each IM client of same IP group.
Optionally, described cluster cell specifically comprises: the first cluster cell, for each identical IM client of server identification public network IP address, gathers each identical IM client of public network IP address for same IP group; And/or the second cluster cell, identifies for server each IM client that public network IP address phase recency meets prerequisite, each IM client that described public network IP address phase recency is met to prerequisite is gathered for same IP group; And/or the 3rd cluster cell, determines that according to Given information some public network IP address belong to same physics colony, gather described each IM client corresponding to some public network IP address that belongs to Same Physical colony for same IP group for server.
Optionally, described display unit, will belong to each IM client-side information of same IP group specifically for server, sends to each IM client in this IP group; On each IM client end interface, show the information that belongs to other IM clients of same IP group with this IM client.
Optionally, also comprise: group platform unit carries out the mutual of group message for belonging to each IM client of same IP group on a common platform.
A method of carrying out interacting message for instant messaging, comprising: the public network IP address that obtains an IM client; According to the public network IP address of other IM clients of the public network IP address of a described IM client and collection, identification belongs to some the 2nd IM clients in Same Physical regional extent with a described IM client; Described information that identify and that a described IM client belongs to some the 2nd IM clients in Same Physical regional extent is sent to a described IM client; On the interface of a described IM client, show the information that belongs to some the 2nd IM clients in Same Physical regional extent with it, a described IM client and described some the 2nd IM clients are visible each other; A described IM client and described the 2nd IM client are carried out interacting message.
Optionally, described identification comprises with some the 2nd IM clients that a described IM client belongs in Same Physical regional extent: some the 2nd IM clients that identification is identical with the public network IP address of a described IM client; And/or, identify some the 2nd IM clients that meet prerequisite with the public network IP address phase recency of a described IM client; And/or identification is different from the public network IP address of a described IM client but belong to some the 2nd IM clients of Same Physical colony according to Given information.
A device that carries out interacting message for instant messaging, comprising: IP collector unit, for obtaining the public network IP address of an IM client; Recognition unit, for according to the public network IP address of other IM clients of the public network IP address of a described IM client and collection, identifies with a described IM client and belongs to some the 2nd IM clients in Same Physical regional extent; Transmitting element, for sending to a described IM client by described information that identify and that a described IM client belongs to some the 2nd IM clients in Same Physical regional extent; Display unit, for showing the information that belongs to some the 2nd IM clients in Same Physical regional extent with it on the interface in a described IM client, a described IM client and described some the 2nd IM clients are visible each other; Information interaction unit, carries out interacting message for a described IM client and described the 2nd IM client.
A method of carrying out interacting message for instant messaging, comprising: an IM client connection server, makes described server know the public network IP address of a described IM client; Reception server issues based on public network IP address, find belong to the information of some the 2nd IM clients in Same Physical regional extent with this IM client; On the interface of a described IM client, show the information that belongs to some the 2nd IM clients in Same Physical regional extent with this IM client, a described IM client and described some the 2nd IM clients are visible each other; A described IM client and described the 2nd IM client are carried out information interaction.
A device that carries out interacting message for instant messaging, comprising: linkage unit, for an IM client connection server, makes described server know the public network IP address of a described IM client; Receiving element, for reception server, issue based on public network IP address, find belong to the information of some the 2nd IM clients in Same Physical regional extent with this IM client; Display unit, for showing the information that belongs to some the 2nd IM clients in Same Physical regional extent with this IM client on the interface in a described IM client, a described IM client and described some the 2nd IM clients are visible each other; Information interaction unit, carries out interacting message for a described IM client and described the 2nd IM client.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
By the present invention, can find out, the embodiment of the present invention is by the public network IP address of each IM client, identify each IM client belonging in Same Physical regional extent, namely identify each user that physical location approaches, and on each IM client end interface, demonstrate with this IM client and belong to other IM clients in Same Physical regional extent, make the approaching user of these physical locations visible each other, namely mutually know, can also carry out each other information interaction.Therefore, each instant communication user can know which near the user own has very easily, relatively existingly checks one by one the physical message that the other side fills in or the scheme of inquiring one by one good friend, the embodiment of the present invention to more accurately, efficiency is higher.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of method the first embodiment flow chart that carries out interacting message for instant messaging provided by the invention;
Fig. 2 is a kind of device the first embodiment schematic diagram that carries out interacting message for instant messaging provided by the invention;
Fig. 3 is a kind of method the second embodiment flow chart that carries out interacting message for instant messaging provided by the invention;
Fig. 4 is a kind of device the second embodiment schematic diagram that carries out interacting message for instant messaging provided by the invention;
Fig. 5 is a kind of method the 3rd embodiment flow chart that carries out interacting message for instant messaging provided by the invention;
Fig. 6 is a kind of device the 3rd embodiment schematic diagram that carries out interacting message for instant messaging provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain, belongs to the scope of protection of the invention.
Refer to Fig. 1, it is a kind of method the first embodiment flow chart that carries out interacting message for instant messaging of the present invention.
Step 110: server is collected public network IP (Internet Protocol, the Internet protocol) address of each IM client.
User is when logining IM client or carrying out interacting message with other users, IM client all needs to be connected with instant communication server, in process in succession, IM client will send some to server and connect necessary message, server, by resolving the message from IM client, just can obtain the public network IP address of this IM client.
Therefore,, when each IM client operation (being equivalent to user online), server can obtain the public network IP address of this IM client, and then server is just collected the public network IP address of each IM client.
Step 120: server carries out cluster according to the public network IP address of each IM client to described each IM client, forms a plurality of IP groups, and the IM client described in each in IP group belongs in Same Physical regional extent.
The mode of cluster has a variety of; the embodiment of the present invention only schematically illustrates; cluster mode of the present invention includes but not limited to following several; those skilled in the art are under the enlightenment of the embodiment of the present invention, and other cluster modes that do not need creative work to adopt also belong in protection scope of the present invention.
One of mode of cluster: each identical IM client of server identification public network IP address, each IM client that public network IP address is identical is gathered for same IP group.Particularly, conventionally the public network IP address of Yi Ge physics colony (such as the ,Yi Ge of Yi Ge company community or Yi Ge school) is identical, therefore, can think that the identical IM client of public network IP address belongs to same physics colony, belong in Same Physical regional extent (such as belonging to same company, or same community, or same school).And then it is a class that server just can gather the identical IM client of public network IP address, belongs to an IP group.,
Two of cluster mode: server identification public network IP address phase recency meets each IM client of prerequisite, and each IM client that described public network IP address phase recency is met to prerequisite is gathered for same IP group.Particularly, in some cases, the public network IP address of Same Physical colony may more than one, but a plurality of.But conventionally between a plurality of IP address of Same Physical colony, there is certain phase recency, such as belonging to the same network segment, or the content of secondary IP address can be judged the physical address of some IP address should be closer, so server just can be judged these IP addresses according to the phase recency between IP address and belongs to (such as belonging to same company) in Same Physical regional extent.
In concrete actual application, because the kind of IP address is different, the range size demand that Same Physical region limits is also different, therefore can be other with actual IP address class according to actual needs, preset different phase recency condition, the phase recency between some public network IP address meets preset condition, can judge that these public network IP address belong within the scope of Same Physical, be that each IM client corresponding to these public network IP belongs in Same Physical regional extent, belong to Same Physical colony.
Three of cluster mode: server determines that according to Given information some public network IP address belong to same physics colony, gather described each IM client corresponding to some public network IP address that belongs to Same Physical colony for same IP group.
Such as, the number of users of some physics colony is a lot, and the public network IP address that this physics colony is used so may just have a plurality of, such as some university just adopts a plurality of public network IP address.Can be by artificially collecting, user's active reporting, then or by some data analysis, know that some IP address belongs to Same Physical colony and belongs in other words in Same Physical regional extent, server can be preserved these data messages.For artificially collecting with user's active reporting, no longer describe in detail, mainly illustrate by some data analysis being obtained to the implementation of these information.Such as, obtain IM client user's registered address information or the address information that other users oneself fill in, analysis finds that there is the Huo Mou of the address information Dou Shimou company community Huo Mou university that 100 users oneself fill in, and their public network IP address is relatively concentrated again (such as concentrating on 3 public network IP address), so substantially, can judge that this 3 GeIP address belongs to the public network IP address of Same Physical colony, in Same Physical regional extent.For another example, some IM user both, by the online login of PC terminal, logined by mobile terminal Internet access again, and general user's PC terminal and mobile terminal are often again in Same Physical regional extent.Therefore, if each mobile terminal has been opened the position location functionality such as GPS, IM server just can obtain the current relatively accurate physical location of each mobile terminal so, or go out according to the multiple physical position record analysis of former mobile terminal the physical location information that this mobile terminal often occurs, the physical location information that this mobile terminal is often occurred is as this IM user's physical location, and then just can judge accordingly which IM user and should belong in Same Physical regional extent, and then also just know that public network IP address corresponding to these IM users also belongs in Same Physical regional extent.
Because server has known that by various means some public network IP address belong to Same Physical colony, belong in Same Physical regional extent, so, server is when cluster, just can, with reference to these data messages, a plurality of public network IP that belong to Same Physical colony according to the data message judgement of having collected be gathered for same IP group.
It should be noted that, above-mentioned several cluster modes can be selected to use separately according to actual needs, also can select multiple use together wherein.The embodiment of the present invention is to this not restriction.
Step 130: show the information that belongs to other IM clients of same IP group with this IM client on each IM client end interface, belong to visible each other between each IM client of same IP group.Server will belong to the information of each IM client of same IP group, sends to each IM client in this IP group, shows the information that belongs to other IM clients of same IP group with this IM client on each IM client end interface.
Particularly, just as shown the friend information of this client on IM client end interface, the information that each IM client provides according to server (such as user's identify label ID, relevant attribute information etc.), also can on the interface of this client, show the information of other IM clients that belong to same IP group with it, such as users such as showing user's pet name, head portrait allows discloseder information.
Step 140: belong between each IM client of same IP group and carry out each other interacting message.
Because server can be known the information such as ID of each IM client, therefore belong to the information that each IM client of an IP group can provide according to server, carry out each other direct interacting message, just as to carry out interacting message the same with good friend in instant communication client.
Optionally, each IM client that belongs to same IP group is carried out the mutual of group message on a common interaction platform.Owing to belonging to Same Physical colony, the user who belongs in Same Physical regional extent has some predicables conventionally, such as belonging to same company, same community or same school etc., therefore between these users, conventionally there is some common demands or topic or hobby etc., so, for each IP group provides a common interaction platform, on this interaction platform, each IM client of this group can be issued each population message, or receive each population message, and participate in various this group of inner activities etc.Such as, when group's message of certain IM client issue, each IM client in this group can receive this message, can also be to this data publish comment, and the content of described comment also can all be received by each IM client in this group.
With aforementioned a kind of to carry out method first embodiment of interacting message for instant messaging corresponding, the invention also discloses a kind of device that carries out interacting message for instant messaging.Refer to Fig. 2, it is a kind of device the first embodiment schematic diagram that carries out interacting message for instant messaging of the present invention.
This device comprise IP collector unit 201,, cluster cell 202, display unit 203 and information interaction unit 204.Wherein, IP collector unit 201 is collected the public network IP address of each instant messaging IM client for server; Cluster cell 202 carries out cluster according to the public network IP address of described each IM client to described each IM client for server, forms a plurality of IP groups, and the IM client described in each in IP group belongs in Same Physical regional extent; Display unit 203 is for showing the information that belongs to other IM clients of same IP group with this IM client on each IM client end interface, belongs to visible each other between each IM client of same IP group; Information interaction unit 204 is carried out interacting message each other for belonging between each IM client of same IP group.
Optionally, the specific implementation of cluster cell 202 has multiple, can select a kind of or any two or more combination wherein.Such as, cluster cell 202 can comprise the first cluster cell, for each identical IM client of server identification public network IP address, each IM client that public network IP address is identical is gathered for same IP group.Also can comprise the second cluster cell, meet each IM client of prerequisite for server identification public network IP address phase recency, each IM client that described public network IP address phase recency is met to prerequisite is gathered for same IP group; Can also comprise the 3rd cluster cell, for server, according to Given information, determine that some public network IP address belong to same physics colony, gather described each IM client corresponding to some public network IP address that belongs to Same Physical colony for same IP group.First, second, third cluster cell, can only arrange wherein a kind of, and being used in combination arbitrarily wherein also can be set.
Optionally, the specific implementation of display unit 203 also has multiple, such as, specifically for server, will belong to each IM client-side information of same IP group, send to each IM client in this IP group; On each IM client end interface, show the information that belongs to other IM clients of same IP group with this IM client.
Optionally, described device also comprises group platform unit, for belonging to each IM client of same IP group, carries out the mutual of group message on a common platform.
Due to the detailed introduction of correlation technique feature having been carried out in the embodiment of the method above, this device embodiment is corresponding with embodiment of the method, so repeat no more for each ins and outs in device, correlation technique feature, can be referring to the specific descriptions in preceding method embodiment.
Please refer to Fig. 3, it is a kind of method the second embodiment flow chart that carries out interacting message for instant messaging of the present invention.
Step 310: the public network IP address that obtains an IM client.
Particularly, user is when logining IM client or carrying out interacting message with other users, IM client all needs to be connected with instant communication server, in process in succession, IM client will send some to server and connect necessary message, server, by resolving the message from IM client, just can obtain the public network IP address of this IM client.
Step 320: according to the public network IP address of other IM clients of the public network IP address of an IM client and collection, identification belongs to some the 2nd IM clients in Same Physical regional extent with a described IM client.
Concrete knowledge method for distinguishing has multiple, such as:
One of RM: according to the public network IP address of an IM client, identify the some two IM clients identical with the public network IP address of a described IM client.Particularly, because server has been collected the public network IP address of an IM client and other each IM clients, so server can be searched and identify other IM clients identical with QiIP address for the first IM client.The explanation of not describing in detail can, referring to the detailed description of correlation technique feature in one of cluster mode in step 120, repeat no more herein.
Two of RM, identifies some the 2nd IM clients that meet prerequisite with the public network IP address phase recency of a described IM client.Conventionally between a plurality of IP address of Same Physical colony, there is certain phase recency, such as belonging to the same network segment, so server just can be judged these IP addresses according to the phase recency between IP address and belongs to (such as belonging to same company) in Same Physical regional extent.In concrete actual application, because the kind of IP address is different, the range size demand that Same Physical region limits is also different, therefore can be other with actual IP address class according to actual needs, preset different phase recency condition, the phase recency between some public network IP address meets preset condition, can judge that these public network IP address belong within the scope of Same Physical, be that each IM client corresponding to these public network IP belongs in Same Physical regional extent, belong to Same Physical colony.So server just can be according to the public network IP address of an IM client, and the public network IP address of other IM clients, is that an IM client finds other IM clients that reach prerequisite with its public network IP address phase recency.
Three of RM: identification is different from the public network IP address of a described IM client but belong to some the 2nd IM clients of Same Physical colony according to Given information.
Such as, the number of users of some physics colony is a lot, and the public network IP address that this physics colony is used so may just have a plurality of, such as some university just adopts a plurality of public network IP address.Can be by artificially collecting, user's active reporting, again or by some data analysis (detailed description to this technical characterictic in specifically can refer step 120, repeat no more) herein, know that some IP address belongs to Same Physical colony and belongs in other words in Same Physical regional extent, server can be preserved these data messages.And then, when server obtains after the public network IP address of an IM client, just can, according to the above-mentioned data message of having collected, for it, search and whether have different from its public network IP address but belong to Same Physical colony other IM clients of (belonging in Same Physical regional extent) with it.
Above-mentioned several RM can be used separately, also can select to be used in combination arbitrarily.
Step 330: the information that belongs to some the 2nd IM clients in Same Physical regional extent with a described IM client identifying is sent to a described IM client.Therefore the specific implementation of this step have been described in detail in the step 130 of aforementioned the first embodiment, repeats no more herein, and correlation technique realizes the content in can refer step 130.
Step 340: show the information that belongs to some the 2nd IM clients in Same Physical regional extent with it on the interface of an IM client, a described IM client and described some the 2nd IM clients are visible each other.Particularly, particularly, just as shown the friend information of this client on IM client end interface, the information that each IM client provides according to server (such as user's identify label ID, relevant attribute information etc.), also can on the interface of this client, show the information of other IM clients that belong to same IP group with it, such as users such as showing user's pet name, head portrait allows discloseder information.
Step 350: an IM client and the 2nd IM client are carried out interacting message.Because server can be known the information such as ID of each IM client, therefore server can will belong to the information such as ID of some the 2nd IM clients of same IP group with an IM client, inform an IM client, and then an IM client just can any one the 2nd IM client carry out interacting message.
Optionally, the one IM client and Ge bis-IM clients all belong within the scope of Same Physical, belong to Same Physical colony, therefore can, for they provide an interacting message platform, make an IM client on a common interaction platform, carry out the mutual of group message with some the 2nd IM clients.
With aforementioned a kind of to carry out method second embodiment of interacting message for instant messaging corresponding, the invention also discloses a kind of device that carries out interacting message for instant messaging.Refer to Fig. 4, it is a kind of device the second embodiment schematic diagram that carries out interacting message for instant messaging of the present invention.
This device comprises IP collector unit 401, recognition unit 402, transmitting element 403, display unit 404, information interaction unit 405.Wherein, IP collector unit 401 is for obtaining the public network IP address of an IM client.Recognition unit 402, for according to the public network IP address of other IM clients of the public network IP address of a described IM client and collection, is identified with a described IM client and is belonged to some the 2nd IM clients in Same Physical regional extent.Transmitting element 403 is for sending to a described IM client by described information that identify and that a described IM client belongs to some the 2nd IM clients in Same Physical regional extent.Display unit 404 is for showing the information that belongs to some the 2nd IM clients in Same Physical regional extent with it on the interface in a described IM client, a described IM client and described some the 2nd IM clients are visible each other.Information interaction unit 405 is carried out interacting message for a described IM client and described the 2nd IM client.
Optionally, described recognition unit 402 can comprise one or more in following unit:
The first recognition unit, for identifying the some two IM clients identical with the public network IP address of a described IM client;
The second recognition unit, for identifying some the 2nd IM clients that meet prerequisite with the public network IP address phase recency of a described IM client;
The 3rd recognition unit, different but according to Given information, belong to some the 2nd IM clients of Same Physical colony for identifying public network IP address from a described IM client.
Optionally, described device also comprises group platform unit, carries out the mutual of group message for a described IM client and described some the 2nd IM clients on a common platform.
Refer to Fig. 5, it is a kind of method the 3rd embodiment flow chart that carries out interacting message for instant messaging of the present invention.
Step 510: an IM client connection server, makes described server know the public network IP address of a described IM client.
Particularly, user is when logining IM client or carrying out interacting message with other users, IM client all needs to be connected with instant communication server, in process in succession, IM client will send some to server and connect necessary message, server, by resolving the message from IM client, just can obtain the public network IP address of this IM client
Step 520: reception server issues based on public network IP address, find belong to the information of some the 2nd IM clients in Same Physical regional extent with this IM client.
This step can have multiple implementation.Such as, the first, the information of some the 2nd IM clients that the public network IP address with this IM client that reception server issues is identical.The specific descriptions of correlation technique feature can, referring to step 320 in method the second embodiment, repeat no more herein.The second, what reception server issued meets the information of some the 2nd IM clients of prerequisite with the public network IP address phase recency of a described IM client.The specific descriptions of correlation technique feature can, referring to step 320 in method the second embodiment, repeat no more herein.The third, the public network IP address from a described IM client that reception server issues is different but according to Given information, belong to the information of some the 2nd IM clients of Same Physical colony.The specific descriptions of correlation technique feature can, referring to step 320 in method the second embodiment, repeat no more herein.Above three kinds of modes can be used separately, also can any two be combined with above, and the embodiment of the present invention is not limited in this respect.
Step 530: show the information that belongs to some the 2nd IM clients in Same Physical regional extent with this IM client on the interface of an IM client, a described IM client and described some the 2nd IM clients are visible each other.The specific descriptions of correlation technique feature can, referring to step 340 in method the second embodiment, repeat no more herein.
Step 540: an IM client and described the 2nd IM client are carried out information interaction.The specific descriptions of correlation technique feature can, referring to step 350 in method the second embodiment, repeat no more herein.
Optionally, the one IM client and Ge bis-IM clients all belong within the scope of Same Physical, belong to Same Physical colony, therefore can, for they provide an interacting message platform, make an IM client on a common interaction platform, carry out the mutual of group message with some the 2nd IM clients.
With aforementioned a kind of to carry out method the 3rd embodiment of interacting message for instant messaging corresponding, the invention also discloses a kind of device that carries out interacting message for instant messaging.Refer to Fig. 6, it is a kind of device the 3rd embodiment schematic diagram that carries out interacting message for instant messaging of the present invention.Described device comprises linkage unit 610, for an IM client connection server, makes described server know the public network IP address of a described IM client; Receiving element 620, for reception server, issue based on public network IP address, find belong to the information of some the 2nd IM clients in Same Physical regional extent with this IM client; Display unit 630, for showing the information that belongs to some the 2nd IM clients in Same Physical regional extent with this IM client on the interface in a described IM client, a described IM client and described some the 2nd IM clients are visible each other; And information interaction unit 640, for a described IM client and described the 2nd IM client, carry out interacting message.
By the various embodiments described above, can find out, the embodiment of the present invention is by the public network IP address of each IM client, identify each IM client belonging in Same Physical regional extent, namely identify each user that physical location approaches, and on each IM client end interface, demonstrate with this IM client and belong to other IM clients in Same Physical regional extent, make the approaching user of these physical locations visible each other, namely mutually know, can also carry out each other information interaction.Therefore, each instant communication user can know which near the user own has very easily, relatively existingly checks one by one the physical message that the other side fills in or the scheme of inquiring one by one good friend, the embodiment of the present invention to more accurately, efficiency is higher.When the embodiment of the present invention both can have been logined IM instrument by mobile terminal for user, used, also can user use during by PC terminal login IM instrument.Especially for those, by PC, use the user of immediate communication tool, because PC does not generally possess GPS(Global Positioning System) function, therefore the pc user of instant communication client also cannot be reported and be obtained by GPS other users' accurate physical location, therefore cannot know which near own user has, the advantage of the technical scheme that in this case, the employing embodiment of the present invention provides is more outstanding.
It should be noted that, because the object of the embodiment of the present invention is in order to make user quick, find easily own near other IM users of (in other words oneself at one's side), and belong between each user of Same Physical colony and generally can not cause malicious interference each other, therefore, when specific implementation, can not limit between each IM client within the scope of Same Physical and must possess good friend or the mutual visible or interaction message of certain particular kind of relationship ability, belong between each IM client within the scope of Same Physical and can not possess good friend's relation, as long as belong within the scope of Same Physical, just visible each other, each other can interaction message.Certainly, also be not precluded within the demand of certain actual environment, or under user's requirement, it is not all that to belong to each IM client in Same Physical regional extent all visible and can carry out interacting message each other each other, only belong in Same Physical regional extent and there is each other between the IM client of good friend or other particular kind of relationships visible and interacting message each other, so also can reach certain effect, make user can clearly know current oneself which good friend is near oneself.
Also it should be noted that, in embodiments of the present invention, the size of physical region scope is to which kind of degree, and the embodiment of the present invention is restriction not.Can be according to actual needs, and actual data message adjusted, physical region scope that also can different IP group correspondence is different.In addition, consider that user may log in from different IM clients in the different periods, and then public network IP address may be also different, so in order more to embody the real-time of the IM client in Same Physical regional extent, server is carrying out cluster according to each IM client public network IP address, or while belonging to other IM clients within the scope of Same Physical with it according to the public network IP address identification of an IM client, can only consider current online IM client.Certainly, also not exclusively get rid of in some situation and can consider not online IM client, use this IM client public network IP address before.The embodiment of the present invention is to this not restriction.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realizes.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, for device or system embodiment, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
Above to a kind of method and device that carries out interacting message for instant messaging provided by the present invention, be described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (14)

1. for instant messaging, carry out a method for interacting message, it is characterized in that, comprising:
Server is collected the public network Internet protocol IP address of each instant messaging IM client;
Server carries out cluster according to the public network IP address of described each IM client to described each IM client, forms a plurality of IP groups, and the IM client described in each in IP group belongs in Same Physical regional extent;
On each IM client end interface, show the information that belongs to other IM clients of same IP group with this IM client, belong to visible each other between each IM client of same IP group;
Belong between each IM client of same IP group and carry out each other interacting message.
2. method according to claim 1, is characterized in that, the mode that described server carries out cluster according to the public network IP address of each IM client to described each IM client comprises:
Each identical IM client of server identification public network IP address, gathers each identical IM client of public network IP address for same IP group;
And/or,
Server identification public network IP address phase recency meets each IM client of prerequisite, and each IM client that described public network IP address phase recency is met to prerequisite is gathered for same IP group;
And/or,
Server determines that according to Given information some public network IP address belong to same physics colony, gather described each IM client corresponding to some public network IP address that belongs to Same Physical colony for same IP group.
3. method according to claim 1, is characterized in that, describedly on each IM client end interface, shows that the information of other IM clients belong to same IP group with it comprises:
Server will belong to each IM client-side information of same IP group, sends to each IM client in this IP group, shows the information that belongs to other IM clients of same IP group with this IM client on each IM client end interface.
4. method according to claim 1, is characterized in that, also comprises:
Described each IM client that belongs to same IP group is carried out the mutual of group message on a common interaction platform.
5. method according to claim 1, is characterized in that:
Between described each IM client that belongs to same IP group, can not possess good friend's relation.
6. for instant messaging, carry out a device for message friendship, it is characterized in that, comprising:
IP collector unit, collects the public network IP address of each instant messaging IM client for server;
Cluster cell, carries out cluster according to the public network IP address of described each IM client to described each IM client for server, forms a plurality of IP groups, and the IM client described in each in IP group belongs in Same Physical regional extent;
Display unit, for show the information that belongs to other IM clients of same IP group with this IM client on each IM client end interface, belongs to visible each other between each IM client of same IP group;
Information interaction unit, carries out interacting message each other for belonging between each IM client of same IP group.
7. device according to claim 6, is characterized in that, described cluster cell specifically comprises:
The first cluster cell, for each identical IM client of server identification public network IP address, gathers each identical IM client of public network IP address for same IP group;
And/or,
The second cluster cell, identifies for server each IM client that public network IP address phase recency meets prerequisite, and each IM client that described public network IP address phase recency is met to prerequisite is gathered for same IP group;
And/or,
The 3rd cluster cell, determines that according to Given information some public network IP address belong to same physics colony, gather described each IM client corresponding to some public network IP address that belongs to Same Physical colony for same IP group for server.
8. device according to claim 6, is characterized in that:
Described display unit, will belong to each IM client-side information of same IP group specifically for server, sends to each IM client in this IP group; On each IM client end interface, show the information that belongs to other IM clients of same IP group with this IM client.
9. device according to claim 6, is characterized in that, also comprises:
Group platform unit carries out the mutual of group message for belonging to each IM client of same IP group on a common platform.
10. for instant messaging, carry out a method for interacting message, it is characterized in that, comprising:
Obtain the public network IP address of an IM client;
According to the public network IP address of other IM clients of the public network IP address of a described IM client and collection, identification belongs to some the 2nd IM clients in Same Physical regional extent with a described IM client;
Described information that identify and that a described IM client belongs to some the 2nd IM clients in Same Physical regional extent is sent to a described IM client;
On the interface of a described IM client, show the information that belongs to some the 2nd IM clients in Same Physical regional extent with it, a described IM client and described some the 2nd IM clients are visible each other;
A described IM client and described the 2nd IM client are carried out interacting message.
11. methods according to claim 10, is characterized in that, some the 2nd IM clients that described identification and a described IM client belong in Same Physical regional extent comprise:
Identify the some two IM clients identical with the public network IP address of a described IM client;
And/or,
Identify some the 2nd IM clients that meet prerequisite with the public network IP address phase recency of a described IM client;
And/or,
Identification is different from the public network IP address of a described IM client but according to Given information, belong to some the 2nd IM clients of Same Physical colony.
12. 1 kinds of devices that carry out interacting message for instant messaging, is characterized in that, comprising:
IP collector unit, for obtaining the public network IP address of an IM client;
Recognition unit, for according to the public network IP address of other IM clients of the public network IP address of a described IM client and collection, identifies with a described IM client and belongs to some the 2nd IM clients in Same Physical regional extent;
Transmitting element, for sending to a described IM client by described information that identify and that a described IM client belongs to some the 2nd IM clients in Same Physical regional extent;
Display unit, for showing the information that belongs to some the 2nd IM clients in Same Physical regional extent with it on the interface in a described IM client, a described IM client and described some the 2nd IM clients are visible each other;
Information interaction unit, carries out interacting message for a described IM client and described the 2nd IM client.
13. 1 kinds of methods of carrying out interacting message for instant messaging, is characterized in that, comprising:
The one IM client connection server, makes described server know the public network IP address of a described IM client;
Reception server issues based on public network IP address, find belong to the information of some the 2nd IM clients in Same Physical regional extent with this IM client;
On the interface of a described IM client, show the information that belongs to some the 2nd IM clients in Same Physical regional extent with this IM client, a described IM client and described some the 2nd IM clients are visible each other;
A described IM client and described the 2nd IM client are carried out information interaction.
14. 1 kinds of devices that carry out interacting message for instant messaging, is characterized in that, comprising:
Linkage unit, for an IM client connection server, makes described server know the public network IP address of a described IM client;
Receiving element, for reception server, issue based on public network IP address, find belong to the information of some the 2nd IM clients in Same Physical regional extent with this IM client;
Display unit, for showing the information that belongs to some the 2nd IM clients in Same Physical regional extent with this IM client on the interface in a described IM client, a described IM client and described some the 2nd IM clients are visible each other;
Information interaction unit, carries out interacting message for a described IM client and described the 2nd IM client.
CN201210223834.XA 2012-06-28 2012-06-28 A kind of method and device for being used in instant messaging carry out interacting message Active CN103516583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210223834.XA CN103516583B (en) 2012-06-28 2012-06-28 A kind of method and device for being used in instant messaging carry out interacting message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210223834.XA CN103516583B (en) 2012-06-28 2012-06-28 A kind of method and device for being used in instant messaging carry out interacting message

Publications (2)

Publication Number Publication Date
CN103516583A true CN103516583A (en) 2014-01-15
CN103516583B CN103516583B (en) 2017-09-29

Family

ID=49898655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210223834.XA Active CN103516583B (en) 2012-06-28 2012-06-28 A kind of method and device for being used in instant messaging carry out interacting message

Country Status (1)

Country Link
CN (1) CN103516583B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103874019A (en) * 2014-03-11 2014-06-18 腾讯科技(深圳)有限公司 Voice interaction method and device
CN103888325A (en) * 2014-03-19 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Device and method for achieving automatic grouping through access to local area network
CN104468334A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Communication method and device based on fixed position information
CN106161186A (en) * 2015-03-31 2016-11-23 Tcl集团股份有限公司 Instant communication method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102259A1 (en) * 2003-11-12 2005-05-12 Yahoo! Inc. Systems and methods for search query processing using trend analysis
CN1988551A (en) * 2005-12-22 2007-06-27 腾讯科技(深圳)有限公司 Online user inquiry method and system
CN101060650A (en) * 2007-05-17 2007-10-24 华为技术有限公司 Message service realizing method and message application server
CN101123591A (en) * 2007-09-24 2008-02-13 腾讯科技(深圳)有限公司 Chat system and its information processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102259A1 (en) * 2003-11-12 2005-05-12 Yahoo! Inc. Systems and methods for search query processing using trend analysis
CN1988551A (en) * 2005-12-22 2007-06-27 腾讯科技(深圳)有限公司 Online user inquiry method and system
CN101060650A (en) * 2007-05-17 2007-10-24 华为技术有限公司 Message service realizing method and message application server
CN101123591A (en) * 2007-09-24 2008-02-13 腾讯科技(深圳)有限公司 Chat system and its information processing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103874019A (en) * 2014-03-11 2014-06-18 腾讯科技(深圳)有限公司 Voice interaction method and device
CN103888325A (en) * 2014-03-19 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Device and method for achieving automatic grouping through access to local area network
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 北京奇虎科技有限公司 The means of communication and device based on fixed position information
CN106161186A (en) * 2015-03-31 2016-11-23 Tcl集团股份有限公司 Instant communication method and device
CN106161186B (en) * 2015-03-31 2019-06-18 Tcl集团股份有限公司 Instant communication method and device

Also Published As

Publication number Publication date
CN103516583B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN101997917B (en) Method and system for giving prompt for indicating user positions in social network service network system
CN103379165B (en) A kind of method, terminal, server and system for showing microblog topic
CN104144106B (en) A kind of message forwarding method, Apparatus and system
CN105008959A (en) Generating geofence via analysis of GPS fix utilization distribution
US20050060377A1 (en) Transitory messaging with location information
CN102904974A (en) Method for obtaining location of terminal, related device and system
CN103164480A (en) Method and equipment used for recommending interest points in social network
CN103905291A (en) Geographic position-based communication method, mobile terminal, server and system
CN101360275A (en) Friends making system, implementing method and friends making server
CN102404397A (en) Message reminding method, device and system
US20130318202A1 (en) Method And Apparatus For Classifying Users
CN102547568B (en) Method for close range information exchanging
CN105335515A (en) Information recommendation method and information recommendation device
CN104978342B (en) The detection of user's clustering phenomena, inquiry system method and system
CN104125262A (en) Household appliance control system and data analysis method thereof
CN103516583A (en) Method and device for exchanging messages in instant messaging
CN103152353A (en) Unified management method and device of interactive information
CN102098236A (en) Instant messaging system and method for supporting geographical positioning system (GPS) terminal
CN102761606A (en) Target user determination method and equipment
CN103618639A (en) Method, device and system for monitoring media data
CN103096245A (en) Communication system and method based on map or navigation
US20150026274A1 (en) Method and apparatus for routing a message
CN103617298A (en) Data connecting method and data connector
CN103516596A (en) Method and system for handling E-mail
KR101840430B1 (en) Remote meter reading system using publishing and subscription method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220808

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230713

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing 360 Zhiling Technology Co.,Ltd.

Country or region after: China

Address before: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee before: Beijing Hongxiang Technical Service Co.,Ltd.

Country or region before: China