Summary of the invention
The invention provides the method and device adding instant messaging good friend, it is possible to finding and adding good friend's
During, it is to avoid produce too much rubbish request, meanwhile, the scope finding good friend can be expanded again.
The invention provides following scheme:
A kind of method adding instant messaging good friend, including:
The user interface of the first instant messaging IM user represents the buddy list of the 2nd IM user, wherein,
Described 2nd IM user is the good friend of a described IM user, shows described second in described buddy list
The user of each good friend of IM user defines identity, and each simultaneously shielding described 2nd IM user is good
The good friend of friend adds mark;Wherein, IM user only can add mark with described good friend and add good friend;
Oneth IM user sends the good friend that interpolation the 3rd IM user is good friend and adds request;Wherein, described
Three IM users are the good friend of described 2nd IM user;
Carried out the transfer of message by described 2nd IM user, the good friend of an IM user is added request and sends out
Give described 3rd IM user.
Optionally, carried out the transfer of message by described 2nd IM user, described 3rd IM user is added as
The good friend of a described IM user, including:
Recommendation request message is sent to described 2nd IM user;
If described 2nd IM user accepts described recommendation request, then by a described IM user Jia tri-
IM user adds request and described 2nd IM user for the good friend of good friend and is sent to as the information of recommendation person
Described 3rd IM user;
If described 3rd IM user accepts the recommendation of described 2nd IM user, then described 3rd IM is used
Family adds as the good friend of an IM user.
Optionally, if described 3rd IM user accepts the recommendation of described 2nd IM user, then by institute
State the 3rd IM user and add as the good friend of an IM user, including:
If described 3rd IM user accepts the recommendation of described 2nd IM user, then described 3rd IM is used
The particulars at family feeds back to a described IM user, and provides the 3rd IM user for an IM user
Carry out remarks and select the entrance of grouping information;
The information inputted by described entrance according to a described IM user, is added described 3rd IM user
Under the packet that a described IM user specifies, and IM user name is shown as IM user's remarks
Title.
Optionally, also include:
If described 2nd IM user refuses the recommendation request of a described IM user, to a described IM
User feedback the 2nd IM user refuses the information of recommendation.
Optionally, also include:
If described 3rd IM user breaks off relations the recommendation accepting described 2nd IM user, then to described second
IM user and a described IM user feedback refusal add the information that a described IM user is good friend.
A kind of device adding instant messaging good friend, including:
Represent unit, for representing the 2nd IM user's in the user interface of the first instant messaging IM user
Buddy list, wherein, described 2nd IM user is the good friend of a described IM user, described buddy list
In show described 2nd IM user the user of each good friend define identity, shield described simultaneously
The good friend of each good friend of two IM users adds mark;Wherein, IM user only can add mark with described good friend
Know and add good friend;
Request issue unit, sends for an IM user and adds good friend's interpolation that the 3rd IM user is good friend
Request;Wherein, described 3rd IM user is the good friend of described 2nd IM user;
Relay unit, for carrying out the transfer of message, by an IM user's by described 2nd IM user
Good friend adds request and is sent to described 3rd IM user.
Optionally, described recommendation unit includes:
First request sends subelement, for sending recommendation request message to described 2nd IM user;
Second request sends subelement, if accepting described recommendation request for described 2nd IM user, then
The good friend that a described IM user Jia tri-IM user is good friend is added request and described 2nd IM uses
Family is sent to described 3rd IM user as the information of recommendation person;
Good friend adds subelement, if accept the recommendation of described 2nd IM user for described 3rd IM user,
Then described 3rd IM user is added as the good friend of an IM user.
Optionally, described good friend adds subelement and includes:
First feedback subelement, if accept the recommendation of described 2nd IM user for described 3rd IM user,
Then the particulars of described 3rd IM user is fed back to a described IM user, and is an IM user
There is provided and the 3rd IM user is carried out remarks and selects the entrance of grouping information;
Add subelement, for the information inputted by described entrance according to a described IM user, by institute
State the 3rd IM user to add under the packet that a described IM user specifies, and IM user name is shown as
The title of the oneth IM user's remarks.
Optionally, described good friend adds subelement and also includes:
Second feedback subelement, if refusing the recommendation of a described IM user for described 2nd IM user
Request, refuses the information of recommendation to described IM user feedback a 2nd IM user.
Optionally, described good friend adds subelement and also includes:
3rd feedback subelement, accepts described 2nd IM user's if broken off relations for described 3rd IM user
Recommendation, then add a described IM use to described 2nd IM user and a described IM user feedback refusal
Family is the information of good friend.
The specific embodiment provided according to the present invention, the invention discloses techniques below effect:
By the invention it is possible to the buddy list of IM user good friend is shown to IM user, in this, as
IM the user discover that the foundation of good friend, it is ensured that finds that the scope of good friend can not be limited;Meanwhile, at needs
When the good friend of good friend is added to the good friend of oneself, needs the recommendation of good friend rather than directly add, therefore,
Can also avoid producing too much rubbish request.
Detailed description of the invention
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 clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art obtained all its
His embodiment, broadly falls into the scope of protection of the invention.
Seeing Fig. 1, the method adding instant messaging good friend that the embodiment of the present invention provides comprises the following steps:
S101: represent the buddy list of the 2nd IM user in the user interface of the first instant messaging IM user,
Wherein, described 2nd IM user is the good friend of a described IM user, shows in described buddy list
The user of each good friend stating the 2nd IM user defines identity, shields described 2nd IM user's simultaneously
The good friend of each good friend adds mark;Wherein, IM user only can add mark with described good friend and adds
Friend;
In embodiments of the present invention, can come real by excavating the relatedness of social relations between IM user
The discovery of existing instant messaging good friend, and then realize the interpolation of good friend.When implementing, can be IM user
Interface on demonstrate the buddy list of its good friend, so, IM user just can arrange the good friend of its good friend
Table has found that it is likely that the IM user becoming its good friend.In actual applications, can be by the good friend of display good friend
This function selects for IM user as an option in JICQ function choosing-item;Such as, by
In for an IM user A, the buddy list of this IM user can be demonstrated in its user interface,
Assume to include that IM user B, C, D etc., IM user A can choose wherein certain good friend, it is assumed that be IM
User B, then selects " showing the buddy list of this good friend " (to be also likely to be other in function choosing-item
Describing mode) this function, the most just the buddy list of IM user B can be shown to current IM user.
Certainly, when implementing, it is also possible to be when mouse is moved in the entry of certain good friend by IM user,
Automatically the buddy list of this good friend is demonstrated, etc..Owing to the good friend of an IM user generally has multiple,
Each good friend has again respective buddy list, and so, the buddy list of its good friend can be made by this IM user
The foundation found for good friend, as such, it is possible to obtain bigger good friend to find scope.
It should be noted that when implementing, as long as by the IM user being registered as instant messaging,
The information of its log-on message and good friend all can be saved on instant communication server, therefore, when needs show
During the buddy list of current IM user good friend, it is possible to obtain this list from the server of instant messaging, so
In the user interface of rear currently displayed IM user.Certainly, in actual applications, IM user can be allowed
Arrange can disclosed buddy list, such as, IM user can select wherein certain or some group
Good friend open, so, when showing the buddy list of this IM user in other user interfaces, so that it may
Only to show that by this IM user setup be disclosed friend information, other are not configured to disclosed good friend,
Just can be displayed on the interface of other IM users.
It is further to note that in embodiments of the present invention, present user interface shows its good friend's
During buddy list, in the buddy list of this good friend, can only show that the user of each good friend of this good friend is fixed
Justice mark (pet name that such as each IM user takes for oneself, or can also be IM user good friend be its
Title of remarks etc.), and the good friend of each good friend of this good friend is added identification shielding and falls.Wherein, institute
The good friend of meaning adds mark and namely refers to the mark for being added good friend, for example, it is possible to include that IM uses
The digital ID(at family can be IM system be that user distributes, or the candidate that user provides from IM system
Numeral ID carries out Selecting and Applying, etc.), or, in some IM system, it is allowed to user makes
The email address being used in e-mail system registration logs in, now, and embodiment of the present invention indication
It can also be this email address that good friend adds mark.In a word, good friend adds mark and generally refers to for carrying out
The User Identity of IM system login.Certainly, in existing IM system, typically: both
Allow user to make a look up and add good friend by the digital ID of other users, email address etc., also permit
Family allowable defines identity (the such as pet name etc.) by the user of other users and makes a look up and add
Friend.But in embodiments of the present invention, only allow user to use the digital ID of other users, email address etc.
Make a look up and add good friend.It is to say, in embodiments of the present invention, IM user is in user interface
In it will also be seen that users such as " lookups " searches entrance, but, only user have input other users'
Could initiate to search during the numeral information such as ID, email address, after finding, just can carry out the interpolation of good friend,
If user has merely entered the pet name of other users, then cannot initiate to search and the interpolation operation of good friend.
Meanwhile, when the present invention represents the buddy list of its good friend in the user interface of IM user, will not be by
The good friends such as the digital ID of each good friend of good friend, email address add mark and are shown to current IM user, this
Sample, for IM user A, if seeing good friend's row of its good friend B in the user interface of oneself
Table, it is assumed that including IM user C, but now, IM user A can only see the pet name of IM user C,
And the digital ID of this IM user cannot be seen, and IM user A just knowing that the pet name of IM user C and
In the case of not knowing its numeral ID, it is directly to initiate to add IM user C preferably to IM user C
The request of friend.
S102: the one IM user sends the good friend that interpolation the 3rd IM user is good friend and adds request;Wherein,
Described 3rd IM user is the good friend of described 2nd IM user;
S103: if described good friend add request is only carried the user of the 3rd IM user define mark and not
When carrying numeral ID, then carried out the transfer of message by described 2nd IM user, described 3rd IM is used
Family adds as the good friend of a described IM user.
By the introduction in step S101, in embodiments of the present invention, IM user can be in their own
User interface on see the good friend of its good friend, and the basis found as good friend, so, IM
User it appeared that numerous IM user being likely to become its good friend, but in order to avoid the good friend of good friend is made
Becoming interference, IM user directly cannot send the request adding good friend to the good friend of its good friend, say, that
Oneth IM user sends after adding the request that the 3rd IM user is good friend, and this request can't directly arrive the 3rd
IM user, but first arrive the 2nd IM user, if the 2nd IM user agrees to recommendation, then request is turned
Issue the 3rd IM user.
It is to say, in order to realize IM user the good friend of its good friend is added to the good friend of oneself,
In the embodiment of the present invention, need to be recommended for it by the good friend of IM user.Such as, if IM user is B
The good friend of IM user A, IM user A see on its interface IM user B good friend IM user C it
After, it is desirable to adding IM user C is good friend, at this time, it may be necessary to IM user B is IM user A recommendation, only
Have in the case of IM user B is with meaning IM user A recommendation, IM user C could be added to IM
The good friend of user A.
When implementing, can there are ways to realize this recommendation.For ease of describing, it will again be assumed that following
Scene: IM user B is the good friend of IM user A, IM user A sees IM user B's on its interface
After good friend IM user C, it is desirable to adding IM user C is good friend;At this point it is possible to come by following steps
Carry out:
Step one: IM user A first can send recommendation request to IM user B, informs IM by this request
It is good friend that user B, IM user A want to add IM user C, needs the recommendation of IM user B;
Step 2: IM user B upon receipt of the request, can select accept or break off relations this recommendation
Request, if refusal, then performs step 3, if accepted, then performs step 4;
Step 3: return a prompting message recommended by IM user B refusal to IM user A;
Step 4: send request message to IM user C, inform IM user C, IM by this request message
User A wants to add it for good friend, it is recommended that people is IM user B;
Step 5: IM user C, after receiving this request message, equally selects to accept or refuse
Absolutely, if refusal, then entering step 6, if accepted, then entering step 7;
Step 6: return by the message of IM user C refusal to IM user A and IM user B;
Step 7: to disappearing that IM user A and IM user B send that IM user C accepted this time to recommend
The details (digital ID of such as IM user C etc.) of IM user C, can be shown by breath meanwhile
Show to IM user A, and provide to IM user A and the 3rd IM user carried out remarks and selects packet letter
The entrance of breath, after IM user A completes the input of remark information and grouping information, it is possible to IM user
C adds under the packet that IM user A specifies, and it is standby that the title of IM user C is shown as IM user A
Title after note.
Certainly, said process is not unique implementation, in actual applications, it is possibility to have different
Implementation.Such as, in step 4, if IM user B accepts the recommendation request of IM user A, then
Directly the digital ID of IM user C can also be sent to IM user A, then by IM user A directly to
IM user C initiates to add the request of good friend, etc..Or, refused by IM user B or IM user C
Time absolutely, it is also possible to need not feed back corresponding information, then or, it is also possible to need not carry to IM user A
For remarks and the operation entry of packet, etc..In a word, as long as show that its good friend's is good on a user interface
Friend's list, and under the recommendation of good friend, complete the interpolation of good friend, the most all within protection scope of the present invention.
The above-mentioned discovery provided by the embodiment of the present invention the method adding instant messaging good friend, can be by
The buddy list of IM user good friend is shown to IM user, the user discover that the foundation of good friend in this, as IM,
Ensure that the scope finding good friend can not be limited;Meanwhile, the good friend of good friend is added to oneself needing
During good friend, need the recommendation of good friend rather than directly add, accordingly it is also possible to avoid producing too much rubbish
Rubbish is asked.
The method adding instant messaging good friend provided with the embodiment of the present invention is corresponding, and the embodiment of the present invention is also
Providing a kind of device adding instant messaging good friend, see Fig. 2, this device may include that
Represent unit 201, use for representing the 2nd IM in the user interface of the first instant messaging IM user
The buddy list at family, wherein, described 2nd IM user is the good friend of a described IM user, described good friend
The user of each good friend showing described 2nd IM user in list defines identity, shields institute simultaneously
The good friend of each good friend stating the 2nd IM user adds mark;Wherein, IM user only can add with described good friend
Add mark to add good friend;
Request issue unit 202, sends for an IM user and adds the good friend that the 3rd IM user is good friend
Add request;Wherein, described 3rd IM user is the good friend of described 2nd IM user;
Relay unit 203, for being carried out the transfer of message by described 2nd IM user, is used an IM
The good friend at family adds request and is sent to described 3rd IM user.
When implementing, relay unit 203 specifically may include that
First request sends subelement, for sending recommendation request to described 2nd IM user;
Second request sends subelement, if accepting a described IM user's for described 2nd IM user
Recommendation request, then by request and described second that a described IM user Jia tri-IM user is good friend
IM user is sent to described 3rd IM user as the information of recommendation person;
Good friend adds subelement, if accept the recommendation of described 2nd IM user for described 3rd IM user,
Then described 3rd IM user is added as the good friend of an IM user.
Wherein, described good friend adds subelement and may include that
First feedback subelement, if accept the recommendation of described 2nd IM user for described 3rd IM user,
Then the particulars of described 3rd IM user is fed back to a described IM user, and is an IM user
There is provided and the 3rd IM user is carried out remarks and selects the entrance of grouping information;
Add subelement, for the information inputted by described entrance according to a described IM user, by institute
State the 3rd IM user to add under the packet that a described IM user specifies, and IM user name is shown as
The title of the oneth IM user's remarks.
Described good friend adds subelement and can also include:
Second feedback subelement, if refusing the recommendation of a described IM user for described 2nd IM user
Request, refuses the information of recommendation to described IM user feedback a 2nd IM user.
Furthermore, described good friend adds subelement and can also include:
3rd feedback subelement, accepts described 2nd IM user's if broken off relations for described 3rd IM user
Recommendation, then add a described IM use to described 2nd IM user and a described IM user feedback refusal
Family is the information of good friend.
The above-mentioned discovery provided by the embodiment of the present invention the device adding instant messaging good friend, can be by
The buddy list of IM user good friend is shown to IM user, the user discover that the foundation of good friend in this, as IM,
Ensure that the scope finding good friend can not be limited;Meanwhile, the good friend of good friend is added to oneself needing
During good friend, need the recommendation of good friend rather than directly add, accordingly it is also possible to avoid producing too much rubbish
Rubbish is asked.
As seen through the above description of the embodiments, those skilled in the art it can be understood that
The mode of required general hardware platform can be added by software to the present invention to realize.Based on such reason
Solving, the part that prior art is contributed by technical scheme the most in other words can be with soft
The form of part product embodies, and this computer software product can be stored in storage medium, as
ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be
Personal computer, server, or the network equipment etc.) perform each embodiment of the present invention or enforcement
The method described in some part of example.
Each embodiment in this specification all uses the mode gone forward one by one to describe, phase between each embodiment
As homophase part see mutually, each embodiment stress with other embodiments
Difference.For device or system embodiment, owing to it is substantially similar to method in fact
Executing example, so describing fairly simple, relevant part sees the part of embodiment of the method and illustrates.
Apparatus and system embodiment described above is only schematically, wherein said as separating component
The unit illustrated can be or may not be physically separate, and the parts shown as unit can
To be or to may not be physical location, i.e. may be located at a place, or can also be distributed to
On multiple NEs.Some or all of module therein can be selected according to the actual needs real
The purpose of existing the present embodiment scheme.Those of ordinary skill in the art are not paying the situation of creative work
Under, i.e. it is appreciated that and implements.
Method and device to interpolation instant messaging good friend provided by the present invention, has carried out detailed Jie above
Continuing, principle and the embodiment of the present invention are set forth by specific case used herein, above enforcement
The explanation of example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for this area
Those skilled in the art, according to the thought of the present invention, the most all can change
Part.In sum, this specification content should not be construed as limitation of the present invention.