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.
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.