CN101247368B - User search method, system, server and client terminal for instant communication - Google Patents

User search method, system, server and client terminal for instant communication Download PDF

Info

Publication number
CN101247368B
CN101247368B CN2008100897011A CN200810089701A CN101247368B CN 101247368 B CN101247368 B CN 101247368B CN 2008100897011 A CN2008100897011 A CN 2008100897011A CN 200810089701 A CN200810089701 A CN 200810089701A CN 101247368 B CN101247368 B CN 101247368B
Authority
CN
China
Prior art keywords
user
tag
tag attribute
attribute
server
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
CN2008100897011A
Other languages
Chinese (zh)
Other versions
CN101247368A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2008100897011A priority Critical patent/CN101247368B/en
Publication of CN101247368A publication Critical patent/CN101247368A/en
Application granted granted Critical
Publication of CN101247368B publication Critical patent/CN101247368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses an instant communication IM user searching method, comprising the steps of: after IM server receives TAG attribute protocol instruction carrying a tag of TAG attribute and target user identity ID, if the user sending the protocol instruction is the target user, or the user has good friend relationship with the target user, recording the ID of the target user in the user ID list having the TAG attribute, and recording the TAG attribute in the user information of the target user; after IM server receives searching protocol instruction carrying the TAG attribute, if the IM server searches record of the TAG attribute, determining user having the TAG attribute, and sending information of the determined user to IM client of the searching protocol instruction. The invention also discloses an IM system, a server and a client for supporting TAG search. The embodiment of the invention can be applied to searching IM user for with user's own true situation reaction.

Description

User search method in a kind of instant messaging, system, server and client
Technical field
The present invention relates to internet arena, relate in particular to user search method, system, server and client in a kind of instant messaging.
Background technology
Network instant communication (Instant Messenging, IM) develop into today, accepted by most netizen, all obtained using widely in IM user's amusement and recreation at ordinary times and work, setting up good friend's relation is the basis of linking up between the IM user.
Before setting up good friend's relation, IM user need search for the good friend and add object, existing IM user is with the pet name, IM User Identity information such as (ID) attribute as self, be different from other IM user, therefore, existing IM user search method mainly with attributes such as the pet name, IM user ID as search condition Searching I M user, after searching the IM user who satisfies search condition, can therefrom select the good friend to add object, send the good friend and add request, if the good friend adds success, IM user can link up with the good friend who adds.
As seen, existing IM user property is simple, and is limited to the reflection of situations such as IM user's interest, hobby, therefore, with existing IM user property during as search condition Searching I M user, can't search the IM user of reflecting self truth.
Summary of the invention
In view of this, the purpose of the embodiment of the invention is to provide user search method, system, server and the client in a kind of instant messaging, to search the IM user of reflecting self truth.
For achieving the above object, the technical scheme of the embodiment of the invention specifically is achieved in that
User search method in a kind of instant messaging, the method comprising the steps of:
The IM server receives after the TAG attribute that carries label TAG attribute and targeted customer's identify label ID is provided with protocol command, if determine to send the user of described protocol command and be described targeted customer or with described targeted customer be that the good friend concerns, then the described targeted customer's of record ID in the user ID tabulation with described TAG attribute writes down described TAG attribute in described targeted customer's user profile;
After the IM server receives the search protocol order that carries the TAG attribute,, then determine to have the user of described TAG attribute, the information of determining the user is issued the IM client that sends described search protocol order if search this TAG attribute record.
User search system in a kind of instant messaging, this system comprise IM server and IM client;
Described IM server is used for, receive after the TAG attribute that carries TAG attribute and targeted customer ID that the IM client sends is provided with protocol command, if determine to send the user of described protocol command and be described targeted customer or with described targeted customer be that the good friend concerns, then the described targeted customer's of record ID in the user ID tabulation with described TAG attribute writes down described TAG attribute in described targeted customer's user profile; After receiving the search protocol order that carries the TAG attribute,, then determine to have the user of described TAG attribute, the information of determining the user is issued the IM client if search this TAG attribute record;
Described IM client is used for, send the TAG attribute that carries TAG attribute and targeted customer ID to the IM server protocol command is set, send the search protocol order that carries the TAG attribute to the IM server, receive the user profile that the IM server returns according to described search protocol order.
Server in a kind of instant messaging, this server comprise that the TAG attribute is provided with unit and user search unit;
Described TAG attribute is provided with the unit and is used for, receive after the TAG attribute that carries TAG attribute and targeted customer ID that the IM client sends is provided with protocol command, if determine to send the user of described protocol command and be described targeted customer or with described targeted customer be that the good friend concerns, then the described targeted customer's of record ID in the user ID tabulation with described TAG attribute writes down described TAG attribute in described targeted customer's user profile;
Described user search unit is used for, after receiving the search protocol order that carries the TAG attribute, search this TAG attribute record in the unit as if being provided with, then determine to have the user of described TAG attribute, the information of determining the user is issued the IM client at described TAG attribute.
Client in a kind of instant messaging, described client comprise that TAG attribute input unit, TAG attribute are provided with unit and user search unit;
Described TAG attribute input unit is used for, TAG is selected to be triggered and the TAG attribute is provided with the indication that is provided with that the unit sends if receive, then the unit is set and sends definite indication to the TAG attribute, if receive the search indication that selected triggering of TAG and user search unit are sent, then send and determine indication to the user search unit;
Described TAG attribute is provided with the unit and is used for, and sends to TAG attribute input unit indication is set, and receives TAG attribute input unit and sends after definiteness shows really, sends the TAG attribute that carries TAG attribute and targeted customer ID to the IM server protocol command is set;
Described user search unit is used for, and sends the search indication to TAG attribute input unit, receives TAG attribute input unit and sends after definiteness shows really, sends the search protocol order that carries the TAG attribute to the IM server.
As seen from the above technical solution, the technical scheme that the embodiment of the invention provided, in the IM attribute of user, increased the TAG attribute, with described TAG attribute as search condition Searching I M user, be provided with because the TAG attribute is himself or good friend, therefore, this TAG attribute can reflect IM user's truth, with the TAG attribute is search condition Searching I M user, can search the IM user of reflecting self truth.
Description of drawings
The IM user search method flow chart that Fig. 1 is provided for the inventive method embodiment;
Fig. 2 is provided with the flow chart of TAG attribute for the IM server;
Fig. 3 is for being provided with the IM server search IM user's of TAG attribute flow chart;
To be the IM system that is provided with the subscriber information management server be search condition Searching I M user, the method flow diagram of TAG attribute be set with the TAG attribute Fig. 4;
The support that Fig. 5 provides for system embodiment of the present invention is search condition Searching I M user's IM system construction drawing with TAG;
The IM server architecture figure that Fig. 6 provides for apparatus of the present invention embodiment;
The IM client terminal structure figure that Fig. 7 provides for apparatus of the present invention embodiment.
Embodiment
The technical scheme that the embodiment of the invention provided increases label (TAG) attribute in IM user's user profile, with described TAG attribute as search condition Searching I M user.Wherein, TAG be a kind of can be by the user-defined attribute of IM, be generally IM user according to targeted customer's communication process, the description that targeted customer's interest, hobby, occupation, personality etc. are made, perhaps IM user's description that self has been done.
The IM user search method flow chart that Fig. 1 is provided for the inventive method embodiment, as shown in Figure 1, this method specifically comprises the steps:
Step 101, IM server record TAG attribute.
The IM server receives after the TAG attribute that carries TAG attribute and targeted customer ID is provided with protocol command, if determine to send the user of described protocol command and be described targeted customer or with described targeted customer be that the good friend concerns, then in described targeted customer's user profile, write down described TAG attribute, the described targeted customer's of record ID in user ID tabulation with described TAG attribute.
Step 102, the IM server is according to TAG attribute Searching I M user.
After the IM server receives the search protocol order that carries the TAG attribute,, then determine to have the user of described TAG attribute, the information of determining the user is issued the IM client that sends described search protocol order if search this TAG attribute record.
Fig. 2 is provided with the flow chart of TAG attribute for the IM server, and as shown in Figure 2, this method specifically comprises the steps:
Step 201 receives the TAG attribute protocol command is set.
The TAG attribute that the IM server receives from the IM client is provided with protocol command, and this TAG attribute is provided with the ID that protocol command carries TAG attribute and targeted customer.
Step 202, IM server confirm whether the user of the described protocol command of transmission is whether described targeted customer or described targeted customer are that the good friend concerns with the user that transmission TAG attribute is provided with protocol command, if then execution in step 203, otherwise execution in step 205.
Step 203, the described targeted customer of record in user ID tabulation with described TAG attribute.
Corresponding each TAG attribute all establishes the user ID tabulation in the IM server, write down the user ID with this TAG attribute.
The IM server receives after the TAG attribute is provided with protocol command, search for corresponding described TAG attribute the TAG attribute that protocol command carries is set, whether be provided with the user ID tabulation, if, ferret out user's ID in the tabulation of the user ID that has been provided with then, if not, then corresponding described TAG attribute, foundation has the user ID tabulation of described TAG attribute, with this user ID list initialization ID that is this targeted customer.
In user ID tabulation behind traversal search targeted customer's the ID with described TAG attribute, if search, then obtain this targeted customer's user profile according to targeted customer ID, if do not search, then in user ID tabulation, add this targeted customer's ID, and obtain this targeted customer's user profile according to targeted customer ID with described TAG attribute.
Step 204, the described TAG attribute of record in targeted customer's user profile, process ends.
Whether write down described TAG attribute in IM server search targeted customer's the user profile, if record not, then in this targeted customer's user profile, write down this TAG attribute, and the number of times that described targeted customer is set to this TAG attribute is initialized as 1, if record, the number of times that then described targeted customer is set to this TAG attribute adds 1.
Step 205, the user that protocol command is set to transmission TAG attribute returns the prompting of having no right to be provided with, process ends.
The IM server can also write down the situation that is provided with of TAG attribute, comprises the TAG attribute that this IM server has been provided with, and each TAG attribute number of times is set, can be by setting up the situation that is provided with that write down TAG attribute list record TAG attribute.
Fig. 3 is for being provided with the IM server search IM user's of TAG attribute flow chart, and as shown in Figure 3, this method specifically comprises the steps:
Step 301, the IM server receives the search protocol order that carries the TAG attribute.
Step 302, whether the described TAG attribute of IM server search record.
Whether the IM server can determine TAG attribute record by writing down the TAG attribute list, and perhaps whether search exists the IM user ID tabulation with described TAG attribute, if exist, then described TAG attribute is record, otherwise described TAG attribute record not.
Step 303 determines to have the user of described TAG attribute, and the information of determining the user is issued the IM client.
The IM server can have all users in the IM user ID tabulation of described TAG attribute or the user of satisfied reservation condition is set to determine the user, searches this IM user's user profile by the IM user ID, and described user profile is issued the IM client.For example, the number of times that is provided with of TAG attribute is provided with the highest preceding M of number of times (M is a natural number) individual IM user (for example subscribing IM user more than the number of times (for example 5 times) or TAG attribute, during M=20, be by IM user and be set to preceding 20 IM users that the number of times of described TAG attribute is arranged from high to low), be set to determine the user.
The TAG attribute that the information of having determined the user comprises this ID that has determined the user, system's head portrait, have etc.
Fig. 2 and Fig. 3 have provided storage IM user profile in the IM server, directly the TAG attribute is set by the IM server, or be search condition with the TAG attribute directly by the IM server, Searching I M user's method, in the practical application, management server further can set user information in the IM system, the user profile that is used for managing I M user, like this, the IM server can be given to this subscriber information management server with the protocol command of TAG attribute setting, by this subscriber information management server the TAG attribute is set, also the order of TAG search protocol can be given to this subscriber information management server, according to TAG search protocol order Searching I M user, and Search Results issued the IM client by this subscriber information management server.
When setting user information management server in the IM system, the subscriber information management server carries out that the TAG attribute is provided with and the method for IM user search can be with reference to Fig. 2 and method shown in Figure 3.
Be example with the IM system that is provided with the subscriber information management server below, introduce for example with the TAG attribute and be search condition Searching I M user, the method for TAG attribute is set.
To be the IM system that is provided with the subscriber information management server be search condition Searching I M user, the method flow diagram of TAG attribute be set that with the TAG attribute as shown in Figure 4, this method specifically comprises the steps: to Fig. 4
Step 401, IM user 1 lands IM client 1.This step is a prior art.
IM client 1 receives the IM user's 1 of IM user's 1 input ID and password, make up described ID and password in packet, packet is carried out encryption after, carry the protocol command of checking ID and password validity, by with the passage of IM server, issue the IM server.
Whether described ID of IM server authentication and password be effective, if effectively, then IM user 1 lands success, otherwise lands failure, the IM server sends the message that prompting IM user re-enters ID and password to IM client 1.
Step 402 after IM client 1 receives the TAG search trigger, sends the order of TAG search protocol to the IM server.The IM server is transmitted to the subscriber information management server with this TAG search protocol order after judging that the protocol command that receives is the order of TAG search protocol.
Carry the TAG attribute in the order of TAG search protocol, this TAG attribute is logined the IM client by IM user, and after triggering the TAG search, imports this IM client.
Step 403, subscriber information management server search have the user ID tabulation of TAG attribute.
The subscriber information management server all establishes the user ID tabulation at each TAG attribute, has write down the user ID with this TAG attribute.
After the subscriber information management server receives the order of TAG search protocol, search for the TAG attribute that the order of corresponding described TAG search protocol is carried, whether have the user ID tabulation,, then obtain the user ID in the user ID tabulation if exist.
Step 404, the user ID user information corresponding of obtaining in the search step 403.
Each user ID user information corresponding except comprising attributes such as IM user's pet name, system's head portrait, also contains the TAG attribute that this user ID had been set up and number of times is set.
Step 405, subscriber information management server directly issue the user profile that carries described TAG attribute and number of times thereof to IM client 1.
Step 406, IM client 1 shows the user profile that receives, and is used for IM user 1 and therefrom selects the good friend to add object.After the good friend that IM client 1 receives IM user 1 adds triggering, send the protocol command that adds the good friend, receive the good friend that the IM server returns and add answer to the IM server.
The user profile that the IM client receives is generally the form of user profile tabulation, at this moment, the IM client is display user's information in the following way: the IM client is created the windows list control, load system's head portrait, the pet name and the corresponding tag of each the user's correspondence in the user profile tabulation respectively and number of times is set, and can sort according to the number of times of TAG, IM user can be according to the validity that number of times is determined this tag attribute that is provided with of this tag attribute like this, thereby optionally adds the good friend.
The IM server repeats no more the prior art that is treated to of the protocol command that adds the good friend herein.
Through step 401~406, in the IM system that supports the TAG search, IM user can TAG be a search condition, searches the IM user with described TAG attribute.Because the TAG attribute can reflect features such as IM user's interest, hobby, personality more truly, therefore,, can search the IM user of reflecting self truth by the TAG searching method.
Step 401~406 are prerequisite to be provided with the TAG attribute in the IM system, and the method that realizes the TAG search is provided, and following step 407~413 provide in the IM system, and the method for TAG attribute is set for IM user.
Successfully landing IM client 1 with IM user 1 below is example, introduces step 407~413.
Step 407, IM user 1 can trigger the setting of TAG attribute after selecting the targeted customer of TAG attribute being set, and then IM client 1 sends to the IM server and obtains the protocol command of recommending the TAG tabulation.
Step 408, IM server judge that the order that receives is after obtaining the protocol command of recommending the TAG tabulation, this order to be transmitted to the subscriber information management server.
Step 409, subscriber information management server are returned the TAG tabulation of recommendation to IM client 1.
Usually, the popular TAG of the TAG of this recommendation tabulation for writing down in the subscriber information management server.The every TAG attribute that is provided with a time of subscriber information management server, all will write down this TAG (if record, then only need the number of times that is provided with of this TAG is added 1 and gets final product), and in this subscriber information management server, number of times is set, the individual TAG of the maximum preceding N of number of times (N is a natural number) will be set usually be recorded as popular TAG.
Step 410, IM client 1 are obtained the TAG attribute that IM user 1 has been provided with.
The TAG attribute management module is set in the IM client, be used to write down the TAG attribute that each IM user was provided with, can carry out record by this method of corresponding lists of setting up the TAG attribute that the IM user ID was provided with it, like this, the IM client can obtain the TAG attribute that IM user has been provided with by this corresponding lists of inquiry.
The recommendation TAG tabulation that IM client 1 is returned the IM server, the TAG attribute display that IM user 1 has been provided with are given IM user 1, therefrom are chosen as the TAG attribute that the targeted customer in the step 407 is provided with for IM user 1.IM client 1 also can provide the interface of manual input TAG attribute.
After IM client 1 receives the affirmation operation that the TAG attribute is set, can send the TAG attribute to the IM server order is set.
The TAG attribute is provided with the TAG attribute that the ID that carries the targeted customer in the order and IM user 1 confirm.
Step 411, this step are optional step.IM user 1 can trigger friend recommendation after execution of step 410, select desire the targeted customer in the step 407 is recommended which IM user (being designated as IM user 2).
Step 412, IM server judge that the order receive for after the TAG attribute is provided with order, is transmitted to the subscriber information management server with this order.
Step 413, the subscriber information management server is provided with order according to the TAG attribute TAG attribute is set, and concrete grammar sees also Fig. 2 related description.
If the subscriber information management server confirms that IM user 1 and described targeted customer concern for the good friend or IM user 1 is described targeted customer, then after setting up the TAG attribute, return the message that TAG is provided with success to IM client 1, otherwise, the prompting of having no right to be provided with TAG returned to IM client 1.
Step 407~413 provide in the IM system, and the method for TAG attribute is set for IM user.By step 407~413 as can be known, IM user can be himself or its good friend is provided with the TAG attribute.
IM user can be by being provided with the TAG attribute setting that multiple modes such as TAG attribute trigger self in subscriber data.After the TAG attribute that the IM client receives IM user self is provided with triggering,, is carried at the TAG attribute and is provided with and issues the IM server in the protocol command this IM user's ID ID as the targeted customer.
If IM user 1 has carried out step 411, then pass through execution in step 414~418 again, can realize that also IM user 1 recommends good friend 2 (being designated as IM user 2) with its good friend 1 (is example with described targeted customer).Below step 414~418 are described in detail:
Step 414, IM client 1 receive after TAG is provided with the message of success, send the protocol command of friend recommendation to the IM server.
Carry IM user 1 ID, targeted customer's ID and TAG attribute, IM user's 2 ID in this friend recommendation protocol command.
Step 415, IM server are transmitted to the subscriber information management server with this order after judging that the order that receives is the friend recommendation order.
After step 416, IM server learn that IM user 2 successfully lands IM client (being designated as IM client 2), send the friend recommendation notice to IM client 2.
Carry IM user 1 ID, targeted customer's ID and TAG attribute in the described friend recommendation notice.
After IM client 2 receives the friend recommendation notice, both can also can send the answer message of friend recommendation to the IM server according to IM user 2 triggering according to the setting of IM client 2.
Step 417, if it is failed message that the friend recommendation that the IM server receives is replied message, then send the friend recommendation failed message,, then accept message to subscriber information management server forwards friend recommendation if the friend recommendation that the IM server receives is replied message for accepting message to IM user 1.
This friend recommendation accepts to carry in the message IM user 2 ID and targeted customer's ID.
Step 418, subscriber information management server receive after friend recommendation accepts message, set up the good friend's relation between IM user 2 and the targeted customer.
After the good friend concerned that foundation is finished, the subscriber information management server sent the notice of friend recommendation success to IM user 1.
By execution in step 411 and 414~418, can realize the friend recommendation function between IM user, and when carrying the TAG attribute of friend recommendation object in the message of friend recommendation, the user that receives friend recommendation is had more clearly the truth of friend recommendation object understand, thereby effectively enlarge IM user's communication face.
In the practical application, the friend recommendation function is also nonessential carries out after the setting of TAG attribute is finished at once.IM user can select good friend's recommended and receive friend recommendation in its buddy list user, confirm above-mentioned selection after, trigger friend recommendation, the IM client can send the friend recommendation order to the IM server.
More than be method embodiment of the present invention, provide system and device embodiment that support is search condition Searching I M user with TAG below.
The support that Fig. 5 provides for system embodiment of the present invention is search condition Searching I M user's IM system construction drawing with TAG, and as shown in Figure 5, this system comprises IM server 501 and IM client 502.
IM server 501 is used for, receive after the TAG attribute that carries TAG attribute and targeted customer ID that IM client 502 sends is provided with protocol command, be good friend's relation if determine the user and the described targeted customer that send described protocol command, then the described targeted customer's of record ID in the user ID tabulation with described TAG attribute writes down described TAG attribute in described targeted customer's user profile; After receiving the search protocol order that carries the TAG attribute,, then determine to have the user of described TAG attribute, the information of determining the user is issued IM client 502 if search this TAG attribute record.
IM client 502 is used for, send the TAG attribute that carries TAG attribute and targeted customer ID to IM server 501 protocol command is set, send the search protocol order that carries the TAG attribute to IM server 501, receive the user profile that IM server 501 returns according to described search protocol order.
The IM server architecture figure that Fig. 6 provides for apparatus of the present invention embodiment, as shown in Figure 6, this IM server comprises that the TAG attribute is provided with unit 601 and user search unit 602.
The TAG attribute is provided with unit 601 and is used for, receive after the TAG attribute that carries TAG attribute and targeted customer ID that the IM client sends is provided with protocol command, if determine to send the user of described protocol command and be described targeted customer or with described targeted customer be that the good friend concerns, then the described targeted customer's of record ID in the user ID tabulation with described TAG attribute writes down described TAG attribute in described targeted customer's user profile.
User search unit 602 is used for, after receiving the search protocol order that carries the TAG attribute, search this TAG attribute record in the unit as if being provided with, then determine to have the user of described TAG attribute, the information of determining the user is issued the IM client at described TAG attribute.
Described IM server also can further comprise recommends TAG tabulation acquiring unit.
Described recommendation TAG tabulation acquiring unit is used for, receive obtain the protocol command of recommending the TAG tabulation after, return the TAG that satisfies predetermined condition.
The TAG attribute is provided with unit 601 and is further used for, the situation that is provided with of record TAG.
Described IM server also can further comprise the friend recommendation unit.
Described friend recommendation unit is used for, reception carries the user ID of friend recommendation object and TAG attribute, receives the friend recommendation protocol command of the user ID of friend recommendation, after the user who determines described reception friend recommendation logins success, the IM client of the user ID of the user ID of friend recommendation, described friend recommendation object and user's login that described TAG attribute is issued described reception friend recommendation will be triggered, receive recommend to accept message after, set up good friend's relation of the user of described friend recommendation object and described reception friend recommendation.
The IM client terminal structure figure that Fig. 7 provides for apparatus of the present invention embodiment, as shown in Figure 7, described IM client comprises that TAG attribute input unit 701, TAG attribute are provided with unit 702 and user search unit 703.
TAG attribute input unit 701 is used for, TAG is selected to be triggered and the TAG attribute is provided with the indication that is provided with that unit 702 sends if receive, then unit 702 is set and sends definite indication to the TAG attribute, if receive the search indication that selected triggering of TAG and user search unit 703 are sent, then send and determine indication to user search unit 703.
The TAG attribute is provided with unit 702 and is used for, and sends to TAG attribute input unit 701 indication is set, and receives TAG attribute input unit 701 and sends after definiteness shows really, sends the TAG attribute that carries TAG attribute and targeted customer ID to the IM server protocol command is set.
User search unit 703 is used for, and sends the search indication to TAG attribute input unit 701, receives TAG attribute input unit 701 and sends after definiteness shows really, sends the search protocol order that carries the TAG attribute to the IM server.
TAG attribute input unit 701 can comprise to be recommended TAG tabulation acquisition module, TAG administration module and TAG typing module is set.
Described recommendation TAG tabulation acquisition module is used for, and sends to the IM server and obtains the protocol command of recommending the TAG tabulation, receives the recommendation TAG tabulation that the IM server returns, and after receiving that TAG is selected and triggering, to the TAG attribute unit 702 is set and sends and determine indication.
The described TAG administration module that has been provided with is used for, and stores the TAG that each IM user has been provided with, and output sends the TAG that IM user that described TAG attribute is provided with protocol command has been provided with, after receiving that TAG is selected and triggering, to the TAG attribute unit 702 is set and sends and determine indication.
Described TAG typing module is used for, and after receiving that the TAG of typing and TAG are selected and triggering, to TAG unit 702 is set and sends and determine indication.
Described IM client also can further comprise the friend recommendation unit.
Described friend recommendation unit is used for, send user ID and the TAG attribute that carries the friend recommendation object, the friend recommendation protocol command that receives the user ID of friend recommendation to the IM server, after receiving the friend recommendation notice of the user ID that carries the user ID that triggers friend recommendation, friend recommendation object and TAG attribute, reply to the IM server and to recommend to accept message or to recommend refuse information.
By such scheme as seen, the technical scheme that the embodiment of the invention provided owing to increased the TAG attribute that is provided with by himself or its good friend in the IM attribute of user, therefore, can be described by the truth of this TAG attribute to IM user.
In being provided with the IM system of TAG attribute, if be search condition, then can searching IM user, thereby search the IM user of reflecting self truth with described TAG attribute with the TAG attribute.
If carry the number of times that is provided with of TAG in the IM user profile that searches, the validity of number of times reflection TAG attribute can be set then by this TAG.
If in the IM system, carry out friend recommendation, then can further enlarge IM user's communication face.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being made within the spirit and principles in the present invention, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. the user search method in the instant messaging is characterized in that the method comprising the steps of:
Instant messaging IM server receives after the TAG attribute that carries label TAG attribute and targeted customer's identify label ID is provided with protocol command, if determine to send the user of described protocol command and be described targeted customer or with described targeted customer be that the good friend concerns, then the described targeted customer's of record ID in the user ID tabulation with described TAG attribute writes down described TAG attribute in described targeted customer's user profile;
After the IM server receives the search protocol order that carries the TAG attribute,, then determine to have the user of described TAG attribute, fixed user profile is issued the IM client that sends described search protocol order if search this TAG attribute record.
2. the method for claim 1 is characterized in that, the described targeted customer's of record ID comprises in the user ID tabulation with described TAG attribute:
Whether search exists the user ID tabulation with described TAG attribute, if do not exist, then creates the user ID tabulation with described TAG attribute, and is initialized as described targeted customer's ID;
If exist, then search in the user ID tabulation with described TAG attribute whether have described targeted customer's ID, if do not exist, then add described targeted customer ID;
Determine that the user with described TAG attribute comprises:
To have user in the user ID tabulation of described TAG attribute as determining the user.
3. the method for claim 1 is characterized in that, the described TAG attribute of record comprises in described targeted customer's user profile:
Search for the ID that whether comprises described targeted customer in the user ID tabulation with described TAG attribute, if do not comprise, then in described targeted customer's information, add described TAG attribute, and TAG attribute number of times is set is 1, if comprise, then the TAG attribute number of times in described targeted customer's the information is added 1.
4. method as claimed in claim 3 is characterized in that,
Described fixed user profile carries TAG attribute and the number of times thereof of determining the user;
Fixed user profile is issued the IM client that sends described search protocol order further to be comprised afterwards:
The IM client shows described fixed user profile, receives after the good friend adds triggering, sends the good friend to the IM server and adds request.
5. the method for claim 1 is characterized in that, the IM server receives the TAG attribute that carries TAG attribute and targeted customer ID and is provided with and further comprises before the protocol command:
The IM client sends to the IM server and obtains the protocol command of recommending the TAG tabulation, TAG attribute that the user that described IM client output triggers the setting of TAG attribute has been provided with and IM server are used for the TAG attribute that the user therefrom selects desire to be provided with according to the TAG tabulation that the described protocol command that obtains recommendation TAG tabulation returns.
6. the method for claim 1 is characterized in that, this method further comprises step:
The IM client receives after friend recommendation triggers, with carry the friend recommendation object user ID and TAG attribute, receive the friend recommendation protocol command of the user ID of friend recommendation, issue the IM server;
After the IM server determines that the user of described reception friend recommendation logins success, the IM client of the user ID of the user ID of friend recommendation, described friend recommendation object and user's login that the TAG attribute is issued described reception friend recommendation will be triggered, receive after recommendation that described IM client sends accepts message, set up good friend's relation of the user of described friend recommendation object and described reception friend recommendation.
7. the user search system in the instant messaging is characterized in that this system comprises IM server and IM client;
Described IM server is used for, receive after the TAG attribute that carries TAG attribute and targeted customer ID that the IM client sends is provided with protocol command, if determine to send the user of described protocol command and be described targeted customer or with described targeted customer be that the good friend concerns, then the described targeted customer's of record ID in the user ID tabulation with described TAG attribute writes down described TAG attribute in described targeted customer's user profile; After receiving the search protocol order that carries the TAG attribute,, then determine to have the user of described TAG attribute, the information of determining the user is issued the IM client if search this TAG attribute record;
Described IM client is used for, send the TAG attribute that carries TAG attribute and targeted customer ID to the IM server protocol command is set, send the search protocol order that carries the TAG attribute to the IM server, receive the user profile that the IM server returns according to described search protocol order.
8. the server in the instant messaging is characterized in that this server comprises that the TAG attribute is provided with unit and user search unit;
Described TAG attribute is provided with the unit and is used for, receive after the TAG attribute that carries TAG attribute and targeted customer ID that the IM client sends is provided with protocol command, if determine to send the user of described protocol command and be described targeted customer or with described targeted customer be that the good friend concerns, then the described targeted customer's of record ID in the user ID tabulation with described TAG attribute writes down described TAG attribute in described targeted customer's user profile;
Described user search unit is used for, after receiving the search protocol order that carries the TAG attribute, search this TAG attribute record in the unit as if being provided with, then determine to have the user of described TAG attribute, the information of determining the user is issued the IM client at described TAG attribute.
9. server as claimed in claim 8 is characterized in that, described server further comprises recommends TAG tabulation acquiring unit;
Described recommendation TAG tabulation acquiring unit is used for, receive obtain the protocol command of recommending the TAG tabulation after, return the TAG that satisfies predetermined condition;
Described TAG attribute is provided with the unit and is further used for, the situation that is provided with of record TAG.
10. server as claimed in claim 8 is characterized in that described server further comprises the friend recommendation unit;
Described friend recommendation unit is used for, reception carries the user ID of friend recommendation object and TAG attribute, receives the friend recommendation protocol command of the user ID of friend recommendation, after the user who determines described reception friend recommendation logins success, the IM client of the user ID of the user ID of friend recommendation, described friend recommendation object and user's login that described TAG attribute is issued described reception friend recommendation will be triggered, receive recommend to accept message after, set up good friend's relation of the user of described friend recommendation object and described reception friend recommendation.
11. the client in the instant messaging is characterized in that described client comprises that TAG attribute input unit, TAG attribute are provided with unit and user search unit;
Described TAG attribute input unit is used for, TAG is selected to be triggered and the TAG attribute is provided with the indication that is provided with that the unit sends if receive, then the unit is set and sends definite indication to the TAG attribute, if receive the search indication that selected triggering of TAG and user search unit are sent, then send and determine indication to the user search unit;
Described TAG attribute is provided with the unit and is used for, to the transmission of TAG attribute input unit indication is set, receiving TAG attribute input unit sends after definiteness shows really, send the TAG attribute carry TAG attribute and targeted customer ID to the IM server protocol command is set, receive the IM server and concern for the good friend for described targeted customer or with described targeted customer and finish the message that the TAG that returns after the TAG attribute is provided with is provided with success the user who determines to send described protocol command; The setting of the described TAG of finishing attribute is the ID of the described targeted customer of record in the user ID tabulation with described TAG attribute, and writes down described TAG attribute in described targeted customer's user profile;
Described user search unit is used for, and sends the search indication to TAG attribute input unit, receives TAG attribute input unit and sends after definiteness shows really, sends the search protocol order that carries the TAG attribute to the IM server.
12. client as claimed in claim 11 is characterized in that, described TAG attribute input unit comprises to be recommended TAG tabulation acquisition module, TAG administration module and TAG typing module is set;
Described recommendation TAG tabulation acquisition module is used for, and sends to the IM server and obtains the protocol command of recommending the TAG tabulation, receives the recommendation TAG tabulation that the IM server returns, and receives after TAG is provided with selected the triggering, to the TAG attribute unit is set and sends and determine indication;
The described TAG administration module that has been provided with is used for, and stores the TAG that each IM user has been provided with, and output sends the TAG that IM user that described TAG attribute is provided with protocol command has been provided with, receives after TAG is provided with selected the triggering, to the TAG attribute unit is set and sends and determine indication;
Described TAG typing module is used for, and after receiving that the TAG of typing and TAG are selected and triggering, to the TAG attribute unit is set and sends and determine indication.
13. client as claimed in claim 11 is characterized in that, described client further comprises the friend recommendation unit;
Described friend recommendation unit is used for, send user ID and the TAG attribute that carries the friend recommendation object, the friend recommendation protocol command that receives the user ID of friend recommendation to the IM server, after receiving the friend recommendation notice of the user ID that carries the user ID that triggers friend recommendation, friend recommendation object and TAG attribute, reply to the IM server and to recommend to accept message or to recommend refuse information.
CN2008100897011A 2008-03-26 2008-03-26 User search method, system, server and client terminal for instant communication Active CN101247368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100897011A CN101247368B (en) 2008-03-26 2008-03-26 User search method, system, server and client terminal for instant communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100897011A CN101247368B (en) 2008-03-26 2008-03-26 User search method, system, server and client terminal for instant communication

Publications (2)

Publication Number Publication Date
CN101247368A CN101247368A (en) 2008-08-20
CN101247368B true CN101247368B (en) 2010-08-18

Family

ID=39947576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100897011A Active CN101247368B (en) 2008-03-26 2008-03-26 User search method, system, server and client terminal for instant communication

Country Status (1)

Country Link
CN (1) CN101247368B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415031B (en) * 2008-12-03 2011-07-27 吴静 Mutual authentication method and system between terminals
CN103502978A (en) * 2011-11-21 2014-01-08 华为技术有限公司 User information collection method and system
CN103312745A (en) * 2012-03-12 2013-09-18 腾讯科技(深圳)有限公司 Method, system and device for mining information of potential friend
CN102724140B (en) * 2012-06-28 2016-06-01 北京奇虎科技有限公司 Instant messaging good friend's addition means and device
CN103516581B (en) * 2012-06-28 2016-09-28 北京奇虎科技有限公司 Add the method and device of instant messaging good friend
US20140324994A1 (en) * 2013-04-28 2014-10-30 Xiao Sun Method and device for transmitting and forwarding a message
CN103412910A (en) * 2013-08-02 2013-11-27 北京小米科技有限责任公司 Methods and devices for building tag library and searching users
CN103412931A (en) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 Mobile social platform based on pets
CN103414780A (en) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 Pet-based mobile socializing achieving method
CN103684990B (en) * 2013-12-06 2017-10-27 宇龙计算机通信科技(深圳)有限公司 A kind of terminal, the method for searching good friend and addition good friend
CN104243284B (en) * 2014-09-19 2018-04-24 王淦坤 The transmission method and system of a kind of network information
WO2017000161A1 (en) * 2015-06-30 2017-01-05 深圳市银信网银科技有限公司 Electronic transaction certificate-based social interaction method and device, and storage medium
CN110572309B (en) * 2018-06-06 2022-03-04 腾讯科技(深圳)有限公司 Information transmission method, computer device and storage medium
CN109150901B (en) * 2018-09-18 2021-12-07 北京达佳互联信息技术有限公司 Information source prompting method and device, electronic equipment and storage medium
CN114341910A (en) * 2019-12-12 2022-04-12 深圳市欢太科技有限公司 Information screening method and device and server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301365A (en) * 1997-10-21 2001-06-27 英国电讯有限公司 Information management system
CN1447943A (en) * 2000-06-22 2003-10-08 亚隆·梅耶 System and method for searching, finding and contacting dates on internet in instant messaging networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301365A (en) * 1997-10-21 2001-06-27 英国电讯有限公司 Information management system
CN1447943A (en) * 2000-06-22 2003-10-08 亚隆·梅耶 System and method for searching, finding and contacting dates on internet in instant messaging networks

Also Published As

Publication number Publication date
CN101247368A (en) 2008-08-20

Similar Documents

Publication Publication Date Title
CN101247368B (en) User search method, system, server and client terminal for instant communication
RU2513761C2 (en) Method and server for instant messaging
US8296360B2 (en) Aggregation system
CN103179098B (en) A kind of password method for retrieving of network account and device
US20140025780A1 (en) Across-Application Network Communication Method And Device
CN101753475B (en) Method and device for realizing real-time communication among a plurality of members in real-time communication group
CN105847988B (en) Video sharing method and apparatus
US7908647B1 (en) Aggregation system
CN102821056B (en) A kind of transmission method of instant communication message and equipment
CN101459628B (en) Method and apparatus based on interconnection and intercommunication between mailbox and IM
US20120124150A1 (en) Intelligent network communication system and method
CN102150443A (en) System and methods for communication between instant message users and short message service users
CN101374120A (en) Method and system for switching anonymuous real-time message based on position
CN102882903A (en) Method and system for acquiring multi-site application information
CN102208978A (en) Input verification system and method
US9716676B2 (en) Method for providing instant messaging service in third-party service and instant messaging server apparatus for providing the messaging service
CN103259715B (en) A kind of manage the method for multi-conference, Apparatus and system
CN104092596B (en) A kind of management method, Apparatus and system of music groups of users
CN113079078B (en) Operation method and device of message server
CN101170732A (en) System and method of sharing contents using messenger
EP2173079A2 (en) Network authorization method and application thereof
CN101310545A (en) Internet mail client system for mobile devices using remote computer systems and method thereof
CN104065561B (en) A kind of instant communication method, terminal and system
CN105337933A (en) Method and system for creating sub-account, primary account device and sub-account device
CN101710882A (en) Method for realizing multi-IM protocol Web version instant message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant