CN103516583B - A kind of method and device for being used in instant messaging carry out interacting message - Google Patents

A kind of method and device for being used in instant messaging carry out interacting message Download PDF

Info

Publication number
CN103516583B
CN103516583B CN201210223834.XA CN201210223834A CN103516583B CN 103516583 B CN103516583 B CN 103516583B CN 201210223834 A CN201210223834 A CN 201210223834A CN 103516583 B CN103516583 B CN 103516583B
Authority
CN
China
Prior art keywords
clients
same
address
public network
groups
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.)
Active
Application number
CN201210223834.XA
Other languages
Chinese (zh)
Other versions
CN103516583A (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 Hongxiang Technical Service 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

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method for being used in instant messaging carry out interacting message, including:Server collects the public network Internet protocol IP address of each instant messaging IM clients;Server is clustered according to the public network IP address of each IM clients to each IM clients, formed it is multiple IP group, each it is described IP groups in IM clients belong in the range of same physical region;Display belongs to the information of other same IP groups IM clients with this IM clients on each IM client end interfaces, belongs to visible each other between same IP groups each IM clients;Belong between same IP groups each IM clients and carry out interacting message each other.The invention also discloses a kind of device for being used in instant messaging carry out interacting message.The technical scheme provided by the present invention, can make each IM user accurately and efficiently to know which the user near oneself has.

Description

A kind of method and device for being used in instant messaging carry out interacting message
Technical field
It is more particularly to a kind of to be used in instant messaging carry out interacting message the present invention relates to instant messaging technical field Method and device.
Background technology
In existing instant messaging, user can only understand which online good friend has, if it is desired to seeing the address of these good friends Mouse, can only generally also be moved on corresponding good friend by positional information, then can the pop-up display friend location information window Mouthful, but the relatively coarse address information that the friend location information shown in the window, which is typically all user oneself, fills in, than Such as city rank, or be at most accurate to district rank.But it can thus produce Railway Project, one is some users in registration Not registered address information, though when on the other hand registering with it is also false information, or it is not detailed.
It was found by the inventors of the present invention that and under many circumstances, user is for actual demand, often with greater need for finding The relatively more accurate positional information of user, is especially desirable to know which the user near oneself has.And if using above It is described to check good friend's geographic location information method, then one be it is less efficient, two be possible be due to the not specific nothing of good friend's fill message Method realizes the purpose of anticipation.Again or using the method inquired one by one to good friend, but this method efficiency is too low.
Therefore, in the urgent need to the technical problem that those skilled in the art solve is that, the user of instant messaging how is allowed In time, the user near oneself is quickly found.
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.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of method first embodiment flow for being used in instant messaging carry out interacting message that the present invention is provided Figure;
Fig. 2 is a kind of device first embodiment signal for being used in instant messaging carry out interacting message that the present invention is provided Figure;
Fig. 3 is a kind of method second embodiment flow for being used in instant messaging carry out interacting message that the present invention is provided Figure;
Fig. 4 is a kind of device second embodiment signal for being used in instant messaging carry out interacting message that the present invention is provided Figure;
Fig. 5 is a kind of method 3rd embodiment flow for being used in instant messaging carry out interacting message that the present invention is provided Figure;
Fig. 6 is a kind of device 3rd embodiment signal for being used in instant messaging carry out interacting message that the present invention is provided Figure.
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.

Claims (10)

1. a kind of method for being used in instant messaging carry out interacting message, it is characterised in that including:
Server collects the public network Internet protocol IP address of each instant messaging IM clients;
Server is clustered according to the public network IP address of each IM clients to each IM clients, forms multiple IP Group, specifically includes:Server recognizes each IM clients of public network IP address identical, by each IM clients of public network IP address identical Gather to be same IP groups;And/or, 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;And/or, server is according to known Information determines that some different public network IP address belong to same physics colony, by some public affairs for belonging to same physics colony The corresponding each IM clients of net IP address are gathered to be same IP groups, it is each it is described IP groups in IM clients belong to same physical areas In the range of domain;
Display belongs to the information of other same IP groups IM clients with this IM clients on each IM client end interfaces, belongs to It is visible each other between same IP groups each IM clients;
Belong between same IP groups each IM clients and carry out interacting message each other, belong to same IP groups each IM clients one The interaction of group's message is carried out on individual common interaction platform.
2. according to the method described in claim 1, it is characterised in that described shown on each IM client end interfaces belongs to it The information of other same IP groups IM clients includes:
Server will belong to same IP groups each IM client-side informations, each IM clients in the IP groups is sent to, in each IM Display belongs to the information of other same IP groups IM clients with this IM clients on client end interface.
3. according to the method described in claim 1, it is characterised in that:
It is described belong between same IP groups each IM clients do not possess friend relation.
4. a kind of device for being used in instant messaging carry out interacting message, it is characterised in that including:
IP collector units, the public network IP address of each instant messaging IM clients is collected for server;
Cluster cell, is gathered for server according to the public network IP address of each IM clients to each IM clients Class, formed it is multiple IP group, each it is described IP groups in IM clients belong in the range of same physical region;The cluster cell tool Body includes:First cluster cell, each IM clients of public network IP address identical are recognized for server, and public network IP address is identical Each IM clients gather to be same IP groups;And/or, the second cluster cell recognizes public network IP address phase recency for server Each IM clients of prerequisite are met, each IM clients that the public network IP address phase recency is met into prerequisite are gathered to be same One IP groups;And/or, the 3rd cluster cell determines that some different public network IP address belong to for server according to Given information In same physics colony, the corresponding each IM clients of some public network IP address for belonging to same physics colony are gathered to be same One IP groups;
Display unit, belongs to other same IP crowds IM clients for being shown on each IM client end interfaces with this IM clients The information at end, belongs to visible each other between same IP groups each IM clients;
Information interaction unit, for belong to same IP groups each IM clients between carry out interacting message each other,
Group's platform unit, the friendship of group's message is carried out for belonging to same IP groups each IM clients on a common platform Mutually.
5. device according to claim 4, it is characterised in that:
The display unit, will belong to same IP groups each IM client-side informations specifically for server, be sent in the IP groups Each IM clients;Display belongs to other same IP groups IM clients with this IM clients on each IM client end interfaces Information.
6. a kind of method for being used in instant messaging carry out interacting message, it is characterised in that including:
Obtain the public network IP address of the first IM clients;
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;Identification and the first IM clients Some 2nd IM clients belonged in the range of same physical region include:The public network IP of identification and the first IM clients Location is different but belongs to some 2nd IM clients of same physics colony according to Given information;
By some 2nd IM clients belonged to the first IM clients in the range of same physical region that are identifying Information be sent to the first IM clients;
Some 2nd IM clients belonged to it in the range of same physical region are shown on the interface of the first IM clients The information at end, the first IM clients and some 2nd IM clients are visible each other;
The first IM clients carry out interacting message with the 2nd IM clients, and each IM clients for belonging to same IP groups exist The interaction of group's message is carried out on one common interaction platform.
7. method according to claim 6, it is characterised in that the identification belongs to same thing with the first IM clients Some 2nd IM clients in reason regional extent include:
Identification and some 2nd IM clients of public network IP address identical of the first IM clients;
And/or,
Recognize that the public network IP address phase recency with the first IM clients meets some 2nd IM clients of prerequisite.
8. a kind of device for being used in instant messaging carry out interacting message, it is characterised in that including:
IP collector units, the public network IP address for obtaining the first IM clients;
Recognition unit, for the public network IP address according to the first IM clients and the public network IP for other IM clients collected Address, some 2nd IM clients that identification belongs in the range of same physical region with the first IM clients;Specifically for Identification is different from the public network IP address of the first IM clients but belongs to some the of same physics colony according to Given information Two IM clients;
Transmitting element, for identifying with the first IM clients belonging to some in the range of same physical region by described The information of 2nd IM clients is sent to the first IM clients;
Display unit, if belonging to for being shown on the interface of the first IM clients with it in the range of same physical region The information of dry 2nd IM clients, the first IM clients and some 2nd IM clients are visible each other;
Information interaction unit, interacting message is carried out for the first IM clients and the 2nd IM clients,
Group's platform unit, the friendship of group's message is carried out for belonging to same IP groups each IM clients on a common platform Mutually.
9. a kind of method for being used in instant messaging carry out interacting message, it is characterised in that including:
First IM client connection servers, make the server know the public network IP address of the first IM clients;
What the reception server was issued found based on public network IP address it is different from the public network IP address of this IM clients but according to Given information belongs to some 2nd IM clients of same physics colony;
Display belongs in the range of same physical region with this IM clients 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;
The first IM clients carry out information exchange with the 2nd IM clients, and each IM clients for belonging to same IP groups exist The interaction of group's message is carried out on one common platform.
10. a kind of device for being used in instant messaging carry out interacting message, it is characterised in that including:
Connection unit, for the first IM client connection servers, makes the server know the public affairs of the first IM clients Net IP address;
Receiving unit, for being found based on public network IP address of issuing of the reception server and the public network IP of this IM clients Location is different but belongs to some 2nd IM clients of same physics colony according to Given information;
Display unit, belongs to same physical region model for being shown on the interface of the first IM clients with this IM clients The information of some 2nd IM clients in enclosing, the first IM clients and some 2nd IM clients are visible each other;
Information interaction unit, interacting message is carried out for the first IM clients and the 2nd IM clients,
Group's platform unit, the friendship of group's message is carried out for belonging to same IP groups each IM clients on a common platform Mutually.
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 CN103516583A (en) 2014-01-15
CN103516583B true 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)

Families Citing this family (4)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7240049B2 (en) * 2003-11-12 2007-07-03 Yahoo! Inc. Systems and methods for search query processing using trend analysis

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103516583A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
JP5951802B2 (en) System and method for identifying and analyzing a user's personal context
CN102724317B (en) A kind of network traffic data sorting technique and device
CN110113345A (en) A method of the assets based on Internet of Things flow are found automatically
US7631046B2 (en) Method and apparatus for lawful interception of web based messaging communication
US10225689B2 (en) Geographic position information-based community interconnection method and system
CN103516583B (en) A kind of method and device for being used in instant messaging carry out interacting message
WO2012041151A1 (en) Intelligent grouping system and method for mobile terminal contact book
CN103929349B (en) A kind of methods, devices and systems of addition instant message contact person
CN109688105A (en) A kind of threat warning message generation method and system
CN105634835B (en) A kind of cloud auditing method of Internet data, system and audit router
US20120331126A1 (en) Distributed collection and intelligent management of communication and transaction data for analysis and visualization
CN110198303A (en) Threaten the generation method and device, storage medium, electronic device of information
CN102789508A (en) Distributed practical condition search engine and chat system on basis of geographical position
Janetzko Nonreactive data collection online
CN108092976A (en) Device-fingerprint building method and device
CN106686157A (en) Method and system for identifying proxy IP
US11888884B2 (en) Cyber threat intelligence system infrastructure
CN106789242A (en) A kind of identification application intellectual analysis engine based on mobile phone client software behavioral characteristics storehouse
CN108347698A (en) A kind of on-line off-line event trace analysis method, apparatus and system
CN101799900A (en) Method and system for realizing attendance object management
CN105163071A (en) System for obtaining monitoring video of monitoring platform, and method thereof
CN107104949A (en) Type of database acquisition methods, device and electronic equipment
CN101321097A (en) Tencent network living broadcast business recognition method based on payload depth detection
JP2005244647A (en) Community forming device
CN101296224B (en) P2P flux recognition system and 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