The content of the invention
The invention provides a kind of method and device for carrying out interacting message in instant messaging, each IM user can be made
Can very easily know which the user near oneself has, relatively it is existing check one by one physical message that other side fills in or
One by one for the scheme of inquiry good friend, the embodiment of the present invention is to more accurate, more efficient.
The invention provides following scheme:
A kind of method for being used in instant messaging carry out interacting message, including:Server collects each instant messaging IM client
The public network Internet protocol IP address at end;Server enters according to the public network IP address of each IM clients to each IM clients
Row cluster, formed it is multiple IP group, each it is described IP groups in IM clients belong in the range of same physical region;In each IM visitors
Display belongs to the information of other same IP groups IM clients with this IM clients on the interface of family end, belongs to same IP crowds each IM
It is visible each other between client;Belong between same IP groups each IM clients and carry out interacting message each other.
Optionally, the server is clustered according to the public network IP address of each IM clients to each IM clients
Mode includes:Server recognizes each IM clients of public network IP address identical, and each IM clients of public network IP address identical are gathered
To be same IP groups;And/or, server identification public network IP address phase recency meets each IM clients of prerequisite, will be described
Each IM clients that public network IP address phase recency meets prerequisite are gathered to be same IP groups;And/or, server is according to known letter
Breath determines that some public network IP address belong to same physics colony, by some public network IP address for belonging to same physics colony
Corresponding each IM clients are gathered to be same IP groups.
Optionally, the display on each IM client end interfaces belongs to the letter of other same IP groups IM clients with it
Breath includes:Server will belong to same IP groups each IM client-side informations, each IM clients in the IP groups is sent to, each
Display belongs to the information of other same IP groups IM clients with this IM clients on IM client end interfaces.
Optionally, in addition to:It is described to belong to same IP groups each IM clients and carried out on a common interaction platform
The interaction of group's message.
Optionally:It is described belong between same IP groups each IM clients can not possess friend relation.
A kind of device for being used in instant messaging carry out message friendship, including:IP collector units, be respectively for server collection
When communicate IM clients public network IP address;Cluster cell, for public network IP address of the server according to each IM clients
Each IM clients are clustered, formed it is multiple IP group, each it is described IP groups in IM clients belong to same physical areas
In the range of domain;Display unit, on each IM client end interfaces display belong to same IP groups other with this IM clients
The information of IM clients, belongs to visible each other between same IP groups each IM clients;Information interaction unit, it is same for belonging to
Interacting message is carried out each other between each IM clients of IP groups.
Optionally, the cluster cell is specifically included:First cluster cell is identical for server identification public network IP address
Each IM clients, each IM clients of public network IP address identical are gathered to be same IP groups;And/or, the second cluster cell is used
Recognize that public network IP address phase recency meets each IM clients of prerequisite in server, the public network IP address phase recency is expired
Each IM clients of sufficient prerequisite are gathered to be same IP groups;And/or, the 3rd cluster cell, for server according to known letter
Breath determines that some public network IP address belong to same physics colony, by some public network IP address for belonging to same physics colony
Corresponding each IM clients are gathered to be same IP groups.
Optionally, the display unit, will belong to same IP groups each IM client-side informations specifically for server, send
To each IM clients in the IP groups;Display and this IM clients belong to other same IP groups on each IM client end interfaces
The information of IM clients.
Optionally, in addition to:Group's platform unit, for belonging to same IP groups each IM clients in a common platform
The upper interaction for carrying out group's message.
A kind of method for being used in instant messaging carry out interacting message, including:With obtaining the public network IP of the first IM clients
Location;According to the public network IP address of the first IM clients and the public network IP address for other IM clients collected, identification and institute
State some 2nd IM clients that the first IM clients belong in the range of same physical region;Will be described identifying with described
The information for some 2nd IM clients that one IM clients belong in the range of same physical region is sent to the first IM client
End;Some 2nd IM clients belonged to it in the range of same physical region are shown on the interface of the first IM clients
Information, the first IM clients and some 2nd IM clients are visible each other;The first IM clients with it is described
2nd IM clients carry out interacting message.
Optionally, some 2nd IM visitors that the identification belongs in the range of same physical region with the first IM clients
Family end includes:Identification and some 2nd IM clients of public network IP address identical of the first IM clients;And/or, identification
Some 2nd IM clients of prerequisite are met with the public network IP address phase recency of the first IM clients;And/or, identification
Some 2nd IM that are different from the public network IP address of the first IM clients but belonging to same physics colony according to Given information
Client.
A kind of device for being used in instant messaging carry out interacting message, including:IP collector units, for obtaining the first IM visitors
The public network IP address at family end;Recognition unit, for the public network IP address according to the first IM clients and other IM collected
The public network IP address of client, some 2nd IM visitors that identification belongs in the range of same physical region with the first IM clients
Family end;Transmitting element, if for identifying belonging to described with the first IM clients in the range of same physical region
The information of dry 2nd IM clients is sent to the first IM clients;Display unit, in the first IM clients
The information of some 2nd IM clients belonged to it in the range of same physical region, the first IM clients are shown on interface
It is visible each other with some 2nd IM clients;Information interaction unit, for the first IM clients and the 2nd IM
Client carries out interacting message.
A kind of method for being used in instant messaging carry out interacting message, including:First IM client connection servers, make institute
State the public network IP address that server knows the first IM clients;What the reception server was issued is found based on public network IP address
Some 2nd IM clients belonged to this IM clients in the range of same physical region information;In the first IM client
The information for some 2nd IM clients that display belongs in the range of same physical region with this IM clients, described on the interface at end
First IM clients and some 2nd IM clients are visible each other;The first IM clients and the 2nd IM clients
Carry out information exchange.
A kind of device for being used in instant messaging carry out interacting message, including:Connection unit, connects for the first IM clients
Server is connect, the server is known the public network IP address of the first IM clients;Receiving unit, for the reception server
Some 2nd IM visitors belonged to this IM clients in the range of same physical region found based on public network IP address issued
The information at family end;Display unit, belongs to same thing for being shown on the interface of the first IM clients with this IM clients
Manage the information of some 2nd IM clients in regional extent, the first IM clients and some 2nd IM clients that
This is visible;Information interaction unit, interacting message is carried out for the first IM clients and the 2nd IM clients.
The specific embodiment provided according to the present invention, the invention discloses following technique effect:
By the present invention as can be seen that the embodiment of the present invention, by the public network IP address of each IM clients, is identified and belonged to
Each IM clients in the range of same physical region, that is, the close each user of physical location is identified, and in each IM
Other IM clients belonged to this IM clients in the range of same physical region are shown on client end interface so that these things
Manage the user being closely located to visible each other, that is, mutually know, information exchange can also be carried out each other.Therefore, it is each instant
Communication user can very easily know which the user near oneself has, relatively existing to check the physics that other side fills in one by one
For information or the one by one scheme of inquiry good friend, the embodiment of the present invention is to more accurate, more efficient.
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 carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained belongs to what the present invention was protected
Scope.
Referring to Fig. 1, it is a kind of method first embodiment stream for being used in instant messaging carry out interacting message of the present invention
Cheng Tu.
Step 110:Server collects the public network IP of each IM clients(Internet Protocol, Internet protocol)Address.
User is when logging in IM clients or carrying out interacting message with other users, and IM clients are required for and IMU
Inquiry server is attached, during a sequence of, and IM clients will send message necessary to some connections, clothes to server
Device be engaged in by parsing the message from IM clients, it is possible to obtain the public network IP address of the IM clients.
Therefore, run in each IM clients(It is online equivalent to user)When, server can obtain this IM client
The public network IP address at end, and then server is just collected into the public network IP address of each IM clients.
Step 120:Server is clustered according to the public network IP address of each IM clients to each IM clients, is formed
It is multiple IP groups, it is each it is described IP groups in IM clients belong in the range of same physical region.
The mode of cluster has many kinds, and the embodiment of the present invention is only schematical for example, the cluster mode bag of the present invention
Include but be not limited to following several, those skilled in the art are under the enlightenment of the embodiment of the present invention, it is not necessary to which creative work is used
Other cluster modes fall within protection scope of the present invention.
One of mode of cluster:Server recognizes each IM clients of public network IP address identical, and public network IP address is identical
Each IM clients gather to be same IP groups.Specifically, a usual physics colony(Such as one company, a cell or
One school of person)Public network IP address be identical, it is therefore contemplated that public network IP address identical IM clients belong to same
Individual physics colony, that is, belong in the range of same physical region(Such as belong to same company, or same cell, Huo Zhetong
One school).And then, server can just gather public network IP address identical IM clients for a class, that is, belong to an IP
Group.,
The two of cluster mode:Server identification public network IP address phase recency meets each IM clients of prerequisite, by institute
State public network IP address phase recency and meet each IM clients of prerequisite and gather to be same IP groups.Specifically, in some situations
Under, the possible more than one of public network IP address of same physics colony, but it is multiple.But generally same physics colony multiple IP
There is certain phase recency between address, such as may belong to the same network segment, or secondary IP address content may determine that it is some
The physical address of IP address should be closer, therefore server just can judge these according to the phase recency between IP address
IP address belongs in the range of same physical region(Such as belong to same company).
In specific actual application, because the species of IP address is different, the scope that same physical region is limited is big
Small demand is also different, thus can according to actual needs with actual IP address classification, preset different phase recency condition is some
Phase recency between public network IP address meets preset condition, then may determine that these public network IP address belong to same physical extent
Interior, i.e. the corresponding each IM clients of these public network IPs belong in the range of same physical region, belong to same physics colony.
The three of cluster mode:Server determines that some public network IP address belong to same physics colony according to Given information,
The corresponding each IM clients of some public network IP address for belonging to same physics colony are gathered to be same IP groups.
Such as, the number of users of some physics colonies is a lot, then the public network IP address that the physics colony uses may be just
Have multiple, such as some universities just use multiple public network IP address.Can by artificially collecting, user's active reporting, then or
By some data analyses, know that some IP address belong to same physics colony and belonged in other words in the range of same physical region,
Server can preserve these data messages.No longer describe in detail, mainly illustrated with user's active reporting for artificially collecting
The bright implementation that these information are obtained by analyzing the progress of some data.Such as, the registered place of IM client users is obtained
The address information that location information or other users oneself are filled in, analysis finds address information that 100 users oneself fill in all
It is certain company or certain cell or certain university, and their public network IP address compares concentration(With such as concentrating on 3 public network IPs
Location), then it may determine that this 3 IP address belong to the public network IP address of same physics colony substantially, i.e., in same physical region
In the range of.For another example, some IM users were both surfed the Net by PC terminals and logged in, and were logged in further through mobile terminal Internet access, and typically
The PC terminals and mobile terminal of user is often again in the range of same physical region.Therefore, if each mobile terminal is open-minded
The position location functionalities such as GPS, then IM servers are obtained with the current relatively accurate physical bit of each mobile terminal
Put, or the physical bit confidence that the mobile terminal often occurs is gone out according to the multiple physical position record analysis of former mobile terminal
Breath, the physical location information that the mobile terminal is often occurred and then can just be sentenced accordingly as the physical location of the IM user
Break and which IM user should belong in the range of same physical region, and then be also known that the corresponding public network IP of these IM users
Address is fallen within the range of same physical region.
Because server has known that some public network IP address belong to same physics colony by various means, belong to same
In the range of one physical region, then, server is in cluster, it is possible to refer to these data messages, by according to the number collected
It is believed that breath judges that the multiple public network IPs for belonging to same physics colony are gathered to be same IP groups.
It should be noted that above-mentioned several cluster modes can be selected to be used alone, can also select according to actual needs
It is therein a variety of to be used together.The embodiment of the present invention is not restricted to this.
Step 130:Display belongs to other same IP crowds IM clients with this IM clients on each IM client end interfaces
The information at end, belongs to visible each other between same IP groups each IM clients.Server will belong to same IP crowds each IM client
The information at end, is sent to each IM clients in the IP groups, shows and belongs to this IM clients on each IM client end interfaces
The information of other same IP groups IM clients.
Specifically, just as showing that the friend information of this client is the same on IM client end interfaces, each IM client
The information provided according to server is provided(The identity ID of such as user, related attribute information etc.), can also be in this client
Display belongs to the information of other same IP groups IM clients with it on the interface at end, such as shows that user's pet name, head portrait etc. are used
Family allows some disclosed information.
Step 140:Belong between same IP groups each IM clients and carry out interacting message each other.
Because server can know the information such as the ID of each IM clients, therefore belong to each IM clients of one IP groups
The information that can be provided according to server, carries out direct interacting message, just as in instant communication client each other
As interacting message being carried out with good friend.
Optionally, each IM clients for belonging to same IP groups carry out the friendship of group's message on a common interaction platform
Mutually.Due to belonging to same physics colony, that is, the user belonged in the range of same physical region generally has some predicables, than
Such as belonging between same company, same cell or same school, therefore these users generally has some common
Demand or topic or hobby etc., so, provide a common interaction platform for each IP groups, it is flat in the interaction
On platform, each IM clients of this group can issue each population message, or receive each population message, and participate in the various groups
The activity in portion etc..Such as, when some IM client issues group's message, each IM clients in this group can be received
To the message, the news release can also be commented on, the content of the comment can also all be connect by each IM clients in this group
Receive.
It is corresponding with a kind of foregoing method first embodiment for being used in instant messaging carry out interacting message, the present invention also public affairs
A kind of device for being used in instant messaging carry out interacting message is opened.Referring to Fig. 2, it is used for instant messaging for the present invention is a kind of
The middle device first embodiment schematic diagram for carrying out interacting message.
The present apparatus include IP collector units 201, cluster cell 202, display unit 203 and information interaction unit
204.Wherein, IP collector units 201 are used for the public network IP address that server collects each instant messaging IM clients;Cluster cell
202 cluster for server according to the public network IP address of each IM clients to each IM clients, are formed multiple
IP groups, it is each it is described IP groups in IM clients belong in the range of same physical region;Display unit 203 is used in each IM visitors
Display belongs to the information of other same IP groups IM clients with this IM clients on the interface of family end, belongs to same IP crowds each IM
It is visible each other between client;Information interaction unit 204 is disappeared each other between being used to belong to same IP groups each IM clients
Breath interaction.
Optionally, the specific implementation of cluster cell 202 has a variety of, can select it is therein a kind of or it is any two kinds with
Upper combination.Such as, cluster cell 202 can include the first cluster cell, each for server identification public network IP address identical
IM clients, each IM clients of public network IP address identical are gathered to be same IP groups.The second cluster cell can also be included, used
Recognize that public network IP address phase recency meets each IM clients of prerequisite in server, the public network IP address phase recency is expired
Each IM clients of sufficient prerequisite are gathered to be same IP groups;The 3rd cluster cell can also be included, for server according to
Know that information determines that some public network IP address belong to same physics colony, by some public network IPs for belonging to same physics colony
The corresponding each IM clients in address are gathered to be same IP groups.First, second, third cluster cell, can only set therein one
Kind, it can also set and therein arbitrarily be used in combination.
Optionally, the specific implementation of display unit 203 also has a variety of, such as, will belong to same specifically for server
Each IM client-side informations of one IP groups, are sent to each IM clients in the IP groups;On each IM client end interfaces display with
This IM clients belong to the information of other same IP groups IM clients.
Optionally, described device also includes group's platform unit, and each IM clients for belonging to same IP groups are common at one
The interaction of group's message is carried out on same platform.
Due to correlation technique feature being discussed in detail in the embodiment of the method above, present apparatus embodiment
It is corresponding with embodiment of the method, so being repeated no more for each ins and outs in device, correlation technique feature, Ke Yican
The specific descriptions seen in preceding method embodiment.
Fig. 3 is refer to, it is a kind of method second embodiment stream for being used in instant messaging carry out interacting message of the present invention
Cheng Tu.
Step 310:Obtain the public network IP address of the first IM clients.
Specifically, user is when logging in IM clients or carrying out interacting message with other users, and IM clients are all needed
To be attached with instant communication server, during a sequence of, IM clients will send some connections to server must
The message of palpus, server is by parsing the message from IM clients, it is possible to obtain the public network IP address of the IM clients.
Step 320:According to the public network IP address of the first IM clients and the public network IP address for other IM clients collected,
Some 2nd IM clients that identification belongs in the range of same physical region with the first IM clients.
Specific knowledge method for distinguishing has a variety of, such as:
One of identification method:According to the public network IP address of the first IM clients, identification and the public affairs of the first IM clients
Some 2nd IM clients of net IP address identical.Specifically, because server have collected the first IM clients and other are each
The public network IP address of IM clients, thus server can for the first IM clients search identify with its IP address identical its
His IM clients.The explanation not being described in detail may refer to the detailed description of correlation technique feature in one of cluster mode in step 120,
Here is omitted.
The two of identification method, if identification and the public network IP address phase recency of the first IM clients meet prerequisite
Dry 2nd IM clients.There is certain phase recency between multiple IP address of usual same physics colony, such as may belong to same
One network segment, therefore server just can judge that these IP address belong to same physical areas according to the phase recency between IP address
In the range of domain(Such as belong to same company).It is same because the species of IP address is different in specific actual application
The range size demand that physical region is limited is also different, thus can according to actual needs with actual IP address classification, it is preset
Phase recency between different phase recency conditions, some public network IP address meets preset condition, then may determine that these public networks
IP address belongs in same physical extent, i.e. the corresponding each IM clients of these public network IPs belong in the range of same physical region,
Belong to same physics colony.Then, server just can be according to the public network IP address of the first IM clients, and other IM clients
The public network IP address at end, is that the first IM clients find other IM clients that prerequisite is reached with its public network IP address phase recency
End.
The three of identification method:Identification is different from the public network IP address of the first IM clients but is belonged to according to Given information
In some 2nd IM clients of same physics colony.
Such as, the number of users of some physics colonies is a lot, then the public network IP address that the physics colony uses may be just
Have multiple, such as some universities just use multiple public network IP address.Can by artificially collecting, user's active reporting, then or
Pass through some data analyses(The specific detailed description that may be referred in step 120 to this technical characteristic, here is omitted), obtain
Know that some IP address belong to same physics colony and belonged in other words in the range of same physical region, server can preserve these numbers
It is believed that breath.And then, after server obtains the public network IP address of the first IM clients, it is possible to above-mentioned according to what is collected
Data message, is that it has searched whether different from its public network IP address but has belonged to same physics colony with it(Belong to same physics
In regional extent)Other IM clients.
Above-mentioned several identification methods can be used alone, and can also select arbitrarily to be used in combination.
Step 330:Will identify that belong to the first IM clients in the range of same physical region some second
The information of IM clients is sent to the first IM clients.Step of the specific implementation of this step in aforementioned first embodiment
Have been carried out being described in detail in rapid 130, therefore here is omitted, correlation technique realization may be referred to interior in step 130
Hold.
Step 340:Display belongs in the range of same physical region with it on the interface of the first IM clients some the
The information of two IM clients, the first IM clients and some 2nd IM clients are visible each other.Specifically, specifically
For, just as showing that the friend information of this client is the same on IM client end interfaces, each IM clients are according to server
The information of offer(The identity ID of such as user, related attribute information etc.), can also show on the interface of this client
Show the information for belonging to other same IP groups IM clients with it, such as show that the users such as user's pet name, head portrait allow disclosed
Some information.
Step 350:First IM clients carry out interacting message with the 2nd IM clients.Because server can know each IM
The information such as the ID of client, therefore server can will belong to same IP groups some 2nd IM clients with the first IM clients
The information such as ID, inform the first IM clients, and then the first IM clients can just be disappeared with any one the 2nd IM client
Breath interaction.
Optionally, the first IM clients and the IM clients of Ge bis- belong in same physical extent, belong to same physics
Colony, therefore an interacting message platform can be provided for them, allow the first IM clients and some 2nd IM clients
The interaction of group's message is carried out on a common interaction platform.
It is corresponding with a kind of foregoing method second embodiment for being used in instant messaging carry out interacting message, the present invention also public affairs
A kind of device for being used in instant messaging carry out interacting message is opened.Referring to Fig. 4, it is used for instant messaging for the present invention is a kind of
The middle device second embodiment schematic diagram for carrying out interacting message.
The present apparatus includes IP collector units 401, recognition unit 402, transmitting element 403, display unit 404, interacting message
Unit 405.Wherein, IP collector units 401 are used for the public network IP address for obtaining the first IM clients.Recognition unit 402 is used for root
According to the public network IP address and the public network IP address for other IM clients collected of the first IM clients, identification and described first
Some 2nd IM clients that IM clients belong in the range of same physical region.Transmitting element 403 is used to identify described
Some 2nd IM clients belonged to the first IM clients in the range of same physical region information be sent to it is described
First IM clients.Display unit 404 is used for the display on the interface of the first IM clients and belongs to same physical areas with it
The information of some 2nd IM clients in the range of domain, the first IM clients each other may be used with some 2nd IM clients
See.Information interaction unit 405 is used for the first IM clients and carries out interacting message with the 2nd IM clients.
Optionally, the recognition unit 402 can include the one or more in following units:
First recognition unit, for recognizing some 2nd IM visitors of public network IP address identical with the first IM clients
Family end;
Second recognition unit, for recognizing that the public network IP address phase recency with the first IM clients meets prerequisite
Some 2nd IM clients;
3rd recognition unit, it is different from the public network IP address of the first IM clients but according to known letter for recognizing
Breath belongs to some 2nd IM clients of same physics colony.
Optionally, described device also includes group's platform unit, for the first IM clients and some 2nd IM
Client carries out the interaction of group's message on a common platform.
Referring to Fig. 5, it is a kind of method 3rd embodiment stream for being used in instant messaging carry out interacting message of the present invention
Cheng Tu.
Step 510:First IM client connection servers, make the server know the public network of the first IM clients
IP address.
Specifically, user is when logging in IM clients or carrying out interacting message with other users, and IM clients are all needed
To be attached with instant communication server, during a sequence of, IM clients will send some connections to server must
The message of palpus, server is by parsing the message from IM clients, it is possible to obtain the public network IP address of the IM clients
Step 520:What what the reception server was issued found based on public network IP address belongs to same thing with this IM clients
Manage the information of some 2nd IM clients in regional extent.
This step can have a variety of implementations.Such as, the first, the public affairs with this IM clients that the reception server is issued
The information of some 2nd IM clients of net IP address identical.It is real that the specific descriptions of correlation technique feature may refer to method second
Step 320 in example is applied, here is omitted.Second, the public network IP with the first IM clients that the reception server is issued
Address phase recency meets the information of some 2nd IM clients of prerequisite.The specific descriptions of correlation technique feature may refer to
Step 320 in method second embodiment, here is omitted.The third, the reception server is issuing with the first IM client
The public network IP address at end is different but belongs to the information of some 2nd IM clients of same physics colony according to Given information.Phase
The specific descriptions for closing technical characteristic may refer to step 320 in method second embodiment, and here is omitted.Three of the above mode
Can be used alone, can also any two above in association with using, the embodiment of the present invention is not limited in this respect.
Step 530:Display belongs in the range of same physical region with this IM clients on the interface of the first IM clients
Some 2nd IM clients information, the first IM clients and some 2nd IM clients are visible each other.It is related
The specific descriptions of technical characteristic may refer to step 340 in method second embodiment, and here is omitted.
Step 540:First IM clients carry out information exchange with the 2nd IM clients.Correlation technique feature it is specific
Description may refer to step 350 in method second embodiment, and here is omitted.
Optionally, the first IM clients and the IM clients of Ge bis- belong in same physical extent, belong to same physics
Colony, therefore an interacting message platform can be provided for them, allow the first IM clients and some 2nd IM clients
The interaction of group's message is carried out on a common interaction platform.
It is corresponding with a kind of foregoing method 3rd embodiment for being used in instant messaging carry out interacting message, the present invention also public affairs
A kind of device for being used in instant messaging carry out interacting message is opened.Referring to Fig. 6, it is used for instant messaging for the present invention is a kind of
The middle device 3rd embodiment schematic diagram for carrying out interacting message.Described device includes connection unit 610, for the first IM clients
Connection server, makes the server know the public network IP address of the first IM clients;Receiving unit 620, for receiving
Belong to this IM clients in the range of same physical region some that what server was issued found based on public network IP address
The information of two IM clients;Display unit 630, for the display on the interface of the first IM clients and this IM clients category
The information of some 2nd IM clients in the range of same physical region, the first IM clients and some 2nd IM
Client is visible each other;And information interaction unit 640, carried out for the first IM clients and the 2nd IM clients
Interacting message.
By the various embodiments described above as can be seen that the embodiment of the present invention passes through the public network IP address of each IM clients, identification
Go out each IM clients belonged in the range of same physical region, that is, identify the close each user of physical location, and
Other IM clients belonged to this IM clients in the range of same physical region are shown on each IM client end interfaces so that
The close user of these physical locations is visible each other, that is, mutually knows, information exchange can also be carried out each other.Therefore, often
Individual instant communication user can very easily know which the user near oneself has, relatively existing to check that other side fills in one by one
Physical message or one by one inquiry good friend scheme for, the embodiment of the present invention is to more accurate, more efficient.The present invention is implemented
Example both can be used for user by mobile terminal log in IM instruments when use, can also user pass through PC terminal logs in IM works
Used during tool.The user of immediate communication tool is used by PC especially for those, because PC does not typically possess GPS
(Global Positioning System)Function, therefore the pc user of instant communication client can not also pass through GPS
The exact physical location of other users is reported and obtained, therefore can not know which the user near oneself has, such case
Under, more protruded using the advantage of technical scheme provided in an embodiment of the present invention.
It should be noted that due to the purpose of the embodiment of the present invention be in order that user fast, easily to find oneself attached
Closely(Oneself is at one's side in other words)Other IM users, and belong between each user of same physics colony and do not result in that typically
This malicious interference, therefore, can not be limited when implementing between each IM clients in same physical extent to have
Get friend ready or certain particular kind of relationship could mutual visible or interaction message, that is, each IM clients belonged in same physical extent
Between can not possess friend relation, it is just visible each other as long as belonging in same physical extent, each other can interaction message.Certainly,
Also it is not precluded within the demand of certain actual environment, or under the requirement of user, it is not all to belong to same physical region model
Each IM clients in enclosing are all visible each other and can carry out interacting message each other, only belong in the range of same physical region, simultaneously
And there is visible each other and interacting message between good friend or the IM clients of other particular kind of relationships each other, it can also so reach
Certain effect so that user is clear that current which good friend of oneself in the vicinity of oneself.
It should also be noted that, in embodiments of the present invention, the size of physical region scope is to which kind of degree, and the present invention is in fact
Apply example not restricted.Can according to actual needs, and actual data message is adjusted, can also IP groups of correspondences of difference
Physical region scope it is different.In addition, it is contemplated that user may log in different periods from different IM clients, and then public network IP
Address may be also different, so the real-time in order to more embody the IM clients in the range of same physical region, server exists
Clustered, or belonged to according to the identification of the public network IP address of the first IM clients with it according to each IM clients public network IP address
During other IM clients in same physical extent, current online IM clients can be only considered.Certainly, also not exclusively exclude
In some cases it is contemplated that not online IM clients, use the public network IP address before the IM clients.The present invention is implemented
Example is not restricted to this.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can
Realized by the mode of software plus required general hardware platform.Understood based on such, technical scheme essence
On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product
It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment
(Can be personal computer, server, or network equipment etc.)Perform some of each of the invention embodiment or embodiment
Method described in part.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device or
For system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method
The part explanation of embodiment.Device embodiment described above is only schematical, wherein described be used as separation unit
The unit that part illustrates can be or may not be physically separate, and the part shown as unit can be or also may be used
Not to be physical location, you can with positioned at a place, or it can also be distributed on multiple NEs.Can be according to reality
The need for select some or all of module therein to realize the purpose of this embodiment scheme.Those of ordinary skill in the art exist
In the case of not paying creative work, you can to understand and implement.
Above to a kind of method and device for being used in instant messaging carry out interacting message provided by the present invention, carry out
It is discussed in detail, specific case used herein is set forth to the principle and embodiment of the present invention, above example
Illustrate the method and its core concept for being only intended to help to understand the present invention;Simultaneously for those of ordinary skill in the art, according to
According to the thought of the present invention, it will change in specific embodiments and applications.In summary, this specification content
It should not be construed as limiting the invention.