CN103944807A - Friend status identifying method and device - Google Patents

Friend status identifying method and device Download PDF

Info

Publication number
CN103944807A
CN103944807A CN201410169169.XA CN201410169169A CN103944807A CN 103944807 A CN103944807 A CN 103944807A CN 201410169169 A CN201410169169 A CN 201410169169A CN 103944807 A CN103944807 A CN 103944807A
Authority
CN
China
Prior art keywords
user
resource type
login
unique identification
buddy list
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.)
Pending
Application number
CN201410169169.XA
Other languages
Chinese (zh)
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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201410169169.XA priority Critical patent/CN103944807A/en
Publication of CN103944807A publication Critical patent/CN103944807A/en
Pending legal-status Critical Current

Links

Abstract

The invention is suitable for the field of instant messaging and provides a friend status identifying method and device. The method comprises the steps that a unique identification of a user in IM and a resource type which the user logs in are sent to a server after the user logs in the instant messaging (IM); the server can add the received resource type which the user logs in into a friend list corresponding to the unique identification of the user in the IM; the friend list sent by the server and corresponding to the unique identification of the user in the IM is obtained; the obtained friend list is analyzed to obtain logging resource types and logging statuses of friends of the user; the logging resource types and the logging statuses of the friends of the user are presented. The friend list contains the logging resource types and the logging statuses of the friends of the user. According to the embodiment of the friend status identifying method and device, the amount of information obtained from an IM interface by the user is increased.

Description

A kind of identification method of friend state and device
Technical field
The invention belongs to instant messaging field, relate in particular to a kind of identification method and device of friend state.
Background technology
Instant messaging (Instant Messaging, IM) refers to the application of sending and receiving internet message immediately.
At present, IM can be arranged in polytype terminal, and can login in different terminals simultaneously: such as, mobile phone or the television set (Television of IM are being installed simultaneously, etc. TV) in terminal, login, but because existing IM does not have the state of identifying user in the time that different terminals is logined, therefore adopt existing friend state identification method to be difficult to obtain the logging status of user at different terminals.
Summary of the invention
The embodiment of the present invention provides a kind of identification method of friend state, is intended to solve in existing method, and user is difficult to obtain the problem of user in the logging status of different terminals.
The embodiment of the present invention is achieved in that a kind of identification method of friend state, and described method comprises the steps:
After user's access of instant communicating IM, send described user in the resource type of the unique identification of IM and described user login to server, so that described server is added into described user in good friend corresponding to the unique identification of IM buddy list by the resource type of the described user's login receiving;
Obtain the described user of described server transmission at buddy list corresponding to the unique identification of IM, described buddy list includes resource type and the logging status of user good friend login;
The buddy list that parsing is obtained, and present resource type and the logging status of resolving the user good friend login that described buddy list obtains.
Another object of the embodiment of the present invention is to provide a kind of identification method of friend state, and described method comprises the steps:
Receive the user of client transmission in the unique identification of IM and the resource type of described user login;
The resource type of the described user's login receiving is added into described user in good friend corresponding to the unique identification of IM buddy list;
Send described user at buddy list corresponding to the unique identification of IM to client, so that described client is resolved the buddy list obtaining, and presenting resource type and the logging status of resolving the user good friend login that described buddy list obtains, described buddy list includes resource type and the logging status of user good friend login.
Another object of the embodiment of the present invention is to provide a kind of identity device of friend state, and described device comprises:
Resource type transmitting element, for after user's access of instant communicating IM, send described user in the resource type of the unique identification of IM and described user login to server, so that described server is added into described user in good friend corresponding to the unique identification of IM buddy list by the resource type of the described user's login receiving;
Buddy list acquiring unit, for obtaining described user that described server sends at buddy list corresponding to the unique identification of IM, described buddy list includes resource type and the logging status of user good friend login;
The first buddy list display unit, for resolving the buddy list obtaining, and presents resource type and the logging status of resolving the user good friend login that described buddy list obtains.
Another object of the embodiment of the present invention is to provide a kind of identity device of friend state, and described device comprises:
Resource type receiving element, the resource type of logining unique identification and the described user of IM for receiving the user of client transmission;
Information updating unit, for being added into the buddy list of described user good friend corresponding to the unique identification of IM by the resource type of the described user's login receiving;
Buddy list transmitting element, for send described user at buddy list corresponding to the unique identification of IM to client, so that described client is resolved the buddy list obtaining, and presenting resource type and the logging status of resolving the user good friend login that described buddy list obtains, described buddy list includes resource type and the logging status of user good friend login.
In embodiments of the present invention, login after IM user, client is obtained the buddy list that server sends, and resolves the buddy list obtaining, and obtains resource type and the logging status of user good friend login, then presents analysis result.Owing to presenting resource type and the logging status of user good friend login on the interface of IM, therefore user can directly be known resource type and the logging status that good friend logins after login IM from interface, increases the amount of information obtaining from IM interface.
Brief description of the drawings
Fig. 1 is the flow chart of the identification method of a kind of friend state of providing of first embodiment of the invention;
Fig. 2 is the flow chart of the identification method of the another kind of friend state that provides of second embodiment of the invention;
Fig. 3 is the structure chart of the identity device of a kind of friend state of providing of third embodiment of the invention;
Fig. 4 is the structure chart of the identity device of the another kind of friend state that provides of fourth embodiment of the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
For technical solutions according to the invention are described, describe below by specific embodiment.
embodiment mono-:
Fig. 1 shows the flow chart of the identification method of a kind of friend state that first embodiment of the invention provides, in the present embodiment, user is at instant messaging (the Instant Messaging of client, IM) after login, client is obtained buddy list from server, resolve this buddy list, and the resource type that parsing obtains user good friend login is presented on IM interface, details are as follows:
Step S11, after user's access of instant communicating IM, send described user in the resource type of the unique identification of IM and described user login to server, so that described server is added into described user in good friend corresponding to the unique identification of IM buddy list by the resource type of the described user's login receiving.
Wherein, user the unique identification of IM refer to can unique differentiation different user mark, for example, the register account number on QQ, user of each register account number unique identification.The resource type of user login refers to the type of the terminal that user logins, such as, user is in the time of mobile phone login IM, and the resource type of this user's login be " mobile phone ", and in the time of TV login IM, the resource type that this user logins is " TV ".
In this step, a pre-defined static variable represents the resource type that user logins, when user is in the time that client is logined IM, client marks the type of this client in the static variable of definition, and the type of the client of mark is sent to server, so that server is carried out the corresponding operation of upgrading.For example, the buddy list of supposing party A-subscriber stores the resource type of party B-subscriber's login and the resource type of C user's login, party B-subscriber's buddy list stores the resource type of party A-subscriber's login and the resource type of D user's login, C user's buddy list stores the resource type of party A-subscriber's login and the resource type of E user's login, party A-subscriber logins IM at mobile phone, mobile phone sends to server by resource type " mobile phone " and the party A-subscriber of party A-subscriber's login at the unique identification of IM, server adds the resource type " mobile phone " of the party A-subscriber's login receiving the buddy list of party A-subscriber good friend corresponding to the unique identification of IM to, add in party B-subscriber's buddy list and C user's buddy list.
Step S12, obtains the described user of described server transmission at the corresponding buddy list of unique identification of IM, and described buddy list includes resource type and the logging status of user good friend login.
In this step, user logins after IM, and client is the unique identification at IM according to user, obtains this user's buddy list from server.Wherein, user's buddy list includes: user is in the unique identification of IM, the information such as resource type and logging status of user good friend login.Logging status comprises: off-line, online, leave, the state such as stealthy, busy.
Step S13, resolves the buddy list that obtains, and presents resource type and the logging status of resolving the user good friend login that described buddy list obtains.
Particularly, client is resolved the buddy list obtaining, often parse a friend information and just construct a good friend, and resource type and the logging status of recording user good friend login, then resource type and the logging status of the user good friend login of record are presented on the interface of buddy list of IM.
In the embodiment of the present invention, login after IM user, client is obtained the buddy list that server sends, and resolves the buddy list obtaining, and obtains resource type and the logging status of user good friend login, then presents analysis result.Owing to presenting resource type and the logging status of user good friend login on the interface of IM, therefore user can directly be known resource type and the logging status that good friend logins after login IM from interface, increases the amount of information obtaining from IM interface.
Further, user can select corresponding operation according to the resource type of good friend's login of knowing and logging status.For example, good friend, during in off-line state, user selects off-line Transmit message, instead of online Transmit message; For example, in the time that TV logins, not very general owing to thering is the TV of camera good friend, therefore user selects not invite to sending Video chat the good friend of TV login, reduces the probability of misoperation.
As another embodiment of the present invention, at step S13, resolve the buddy list that obtains, and after presenting and resolving the resource type of user good friend login and the step of logging status obtaining, comprise the steps:
The status change protocol bag that A1, reception server send, described status change protocol handbag contains: user is in the unique identification of IM, resource type and the logging status of user's login.In this step, it is as follows that predefined User Status changes agreement: in the time of user good friend's a certain resource status modification, server issues the status change protocol bag that comprises the logging status that user changes.Whether client monitoring service device sends status change protocol bag, issues after status change protocol bag listening to server, receives this status change protocol bag.
A2, resolve described status change protocol bag.
A3, the user who obtains according to parsing find corresponding user at the unique identification of IM, replace resource type and logging status that the user's who finds user logins to resolve the resource type of the user login obtaining and logging status.In this step, the resource type of new user's login that employing parsing obtains and logging status are replaced resource type and the logging status of user's login of the user's who finds buddy list record.
Wherein, the step of steps A 3 specifically comprises: A31, the user who obtains according to parsing search described user user corresponding to the unique identification of IM at the unique identification of IM; A32, obtain resource type and the logging status of current user's login corresponding to the user that finds, resource type and the logging status of described user's login adopt string representation; A33, search the resource type of user login at the beginning index value of character string; The beginning index value that A34, basis find is searched the logging status corresponding to resource type of user's login; All character strings before the logging status that A35, intercepting find, and intercept all character strings after described logging status; A36, all character strings before the logging status of intercepting, all character strings of resolving after the logging status of the logging status that obtains and intercepting are combined into new character string successively.
The resource type of A4, user's login taking user at the unique identification of IM, after replacing and logging status, as foundation, are upgraded buddy list.
When good friend's logging status changes to when online from off-line, the step of steps A 4 specifically comprises:
A401, judge whether the online list in buddy list includes the unique identification of described user at IM, and in the time that described online list does not comprise the unique identification of described user at IM, described user is inserted in described online list at the unique identification of IM, described online list storage has online user's information, wherein, the rule of insertion can be according to the initial of good friend's pet name or capital and small letter or numeric sorting; A402, judge whether the off-line list in buddy list includes the unique identification of described user at IM, and in the time that off-line list includes the unique identification of described user at IM, remove the unique identification of described user at IM, described off-line list storage has the information of offline user; A403, reload online list and off-line list after renewal.
When good friend's logging status is when changing to off-line online, the step of steps A 4 specifically comprises:
A411, search resource type and the logging status of user in user's login corresponding to the unique identification of IM; A412, according to the resource type of described user login and logging status judge user whether in all resources all in off-line state; A413, user in all resources during all in off-line state, judge whether the off-line list in buddy list includes the unique identification of described user at IM, in the time that described off-line list does not comprise the unique identification of described user at IM, described user is inserted in described off-line list at the unique identification of IM, described off-line list storage has the information of offline user, wherein, the rule of insertion can be according to the initial of good friend's pet name or capital and small letter or numeric sorting; A414, judge whether the online list in buddy list includes the unique identification of described user at IM, and in the time that described online list includes the unique identification of described user at IM, remove the unique identification of described user at IM, described online list storage has online user's information; A415, reload online list and off-line list after renewal.
A5, present the buddy list after renewal.
In this step, the information display in time logging status being changed on IM interface out, so that user is known relevant information in time, improves user and experiences.
In order more clearly to describe steps A 1~A5, describe with a concrete application examples below:
Resource type and the logging status of supposing existing a certain good friend's user login are " TV: off-line, mobile phone: online ", its represent user at the IM of this client of TV in off-line state, be in line states at the IM of this client of mobile phone.Now, TV client is transferred to online by off-line, server can issue status change protocol bag to the user's of state variation online good friend, in this status change protocol bag, at least include three information, one is the unique identification of user at IM, one is the resource type that user logins: TV, and one is logging status: online.The client that receives status change protocol bag is resolved this status change protocol bag, isolates above-mentioned three information, removes space wherein when separation, in order to avoid the hidden mistake causing because of space causes occurring a problem unmatching below.After isolating above-mentioned three information, find corresponding good friend according to user at the unique identification of IM, and find resource type and the logging status " TV: off-line, mobile phone: online " of user's login of this good friend.First represent to search in the character string of resource type that user logins and logging status the resource type " TV " of user's login, the initial index value of the resource type of recording user login, according to this index value, use java string operation to calculate the length of " TV " character string, after the resource type of logining user, follow a colon, followed by being exactly logging status, this logging status can be used the letter representation of regular length.Therefore, the resource type of logining taking the user who finds, as entrance, can be obtained the logging status of the resource type of this user's login.Intercept the logging status institute changing former character in place, " TV: ", re-use i.e. "; mobile phone: online " of character that java operation intercept obtains latter half to ending, again the logging status of change is grouped together with it and forms new character string: character string=" TV "+" online "+"; mobile phone: online "=" TV: online, mobile phone: online ".In like manner, if now mobile phone terminal, again from becoming online off-line, first finds the index value at the beginning place of " mobile phone ", started to intercept by this index value place, be character string=" TV: online, mobile phone: "+" off-line "+" "=" TV: online, mobile phone: off-line ".
In above-mentioned character string, no matter the front and back order of the resource type of every kind of user's login, or have how many kinds of client, different logging status, all can arbitrarily expand.
embodiment bis-:
Fig. 2 shows the flow chart of the identification method of a kind of friend state that second embodiment of the invention provides, in the present embodiment, server receives the user of client transmission in the unique identification of IM and the resource type of described user login, and according to the corresponding buddy list of Data Update receiving, details are as follows:
Step S21, receives the user of client transmission in the unique identification of IM and the resource type of described user login.
In this step, user, after client access of instant communicating IM, server receives the user of this client transmission in the unique identification of IM and the resource type of described user login.
Step S22, is added into described user in good friend corresponding to the unique identification of IM buddy list by the resource type of the described user's login receiving.
In this step, whois lookup and the buddy list of described user good friend corresponding to the unique identification of IM, and the information such as resource type, logging status of adding user's login in the buddy list finding.
Step S23, send described user at buddy list corresponding to the unique identification of IM to client, so that described client is resolved the buddy list obtaining, and presenting resource type and the logging status of resolving the user good friend login that described buddy list obtains, described buddy list includes resource type and the logging status of user good friend login.
In this step, user logs in after IM in client, and server sends to client by user at buddy list corresponding to the unique identification of IM, so that client is resolved the buddy list receiving, and on IM interface, presents the result of parsing.
In the embodiment of the present invention, server receives the user of client transmission in the unique identification of IM and the resource type of user's login, and upgrades corresponding buddy list.In the time that client-requested is obtained user at buddy list corresponding to the unique identification of IM, server sends this user at buddy list corresponding to the unique identification of IM to this client, so that client presents the buddy list obtaining.Because user logs in after IM in client, user end to server sends the resource type of user's login, therefore the server buddy list canned data that can upgrade in time, in the time that client need to be obtained corresponding buddy list, can get up-to-date buddy list.
As another embodiment of the present invention, after the step of step S23, comprise the steps:
Send status change protocol bag to client, so that described client is resolved described status change protocol bag, and upgrade, present buddy list according to analysis result, described status change protocol handbag contains: user is in the unique identification of IM, resource type and the logging status of user's login.
In the present embodiment, if user login IM process in, this user's good friend's logging status changes, server issues status change protocol bag to client, the logging status so that client upgrades in time in its buddy list.
embodiment tri-:
Fig. 3 shows the structure chart of the identity device of a kind of friend state that third embodiment of the invention provides, the identity device of this friend state is corresponding with the identification method of the friend state of embodiment mono-, for convenience of explanation, only show the part relevant to the embodiment of the present invention.
The identity device of the friend state of the present embodiment comprises: resource type transmitting element 31, buddy list acquiring unit 32, the first buddy list display unit 33.Wherein:
Resource type transmitting element 31, for after user's access of instant communicating IM, send described user in the resource type of the unique identification of IM and described user login to server, so that described server is added into described user in good friend corresponding to the unique identification of IM buddy list by the resource type of the described user's login receiving.
Wherein, a pre-defined static variable represents the resource type that user logins, and when user is in the time that client is logined IM, client marks the type of this client in the static variable of definition, and the type of the client of mark is sent to server.
Buddy list acquiring unit 32, sends described user at buddy list corresponding to the unique identification of IM for obtaining described server, and described buddy list includes resource type and the logging status of user good friend login.
Wherein, user's buddy list includes: user is in the unique identification of IM, the information such as resource type and logging status of user good friend login.Logging status comprises: off-line, online, leave, the state such as stealthy, busy.
The first buddy list display unit 33, for resolving the buddy list obtaining, and presents resource type and the logging status of resolving the user good friend login that described buddy list obtains.
In the embodiment of the present invention, owing to presenting resource type and the logging status of user good friend login on the interface of IM, therefore user can directly be known resource type and the logging status that good friend logins after login IM from interface, increases the amount of information obtaining from IM interface.
As another embodiment of the present invention, described device comprises:
Status change protocol bag receiving element, the status change protocol bag sending for reception server, described status change protocol handbag contains: user is in the unique identification of IM, resource type and the logging status of user's login.
Status change protocol bag resolution unit, for resolving described status change protocol bag.
Status Change unit, finds corresponding user for the user who obtains according to parsing at the unique identification of IM, replaces resource type and logging status that the user's who finds user logins to resolve the resource type of the user login obtaining and logging status.Wherein, the user's who finds resource type and logging status replaced in Status Change unit according to following steps: the user who obtains according to parsing searches described user user corresponding to the unique identification of IM at the unique identification of IM; Resource type and the logging status of obtaining current user's login corresponding to the user that finds, resource type and the logging status of described user's login adopt string representation; Search the resource type of user's login at the beginning index value of character string; Search the logging status corresponding to resource type of user's login according to the beginning index value finding; All character strings before the logging status that intercepting finds, and intercept all character strings after described logging status; All character strings before the logging status of intercepting, all character strings of resolving after the logging status of the logging status that obtains and intercepting are combined into new character string successively.
Buddy list updating block, as foundation, upgrades buddy list for the resource type of the user's login at the unique identification of IM, after replacing taking user and logging status.
Wherein, logging status is at off-line with when online, and the operation of upgrading buddy list refers to embodiment mono-, repeats no more herein.
Second good friend's list display unit, for presenting the buddy list after renewal.
embodiment tetra-:
Fig. 4 shows the structure chart of the identity device of the another kind of friend state that fourth embodiment of the invention provides, the identity device of this friend state is corresponding with the identification method of the friend state of embodiment bis-, for convenience of explanation, only show the part relevant to the embodiment of the present invention.
The identity device of the friend state of the present embodiment comprises: resource type receiving element 41, information updating unit 42, buddy list transmitting element 43.Wherein:
Resource type receiving element 41, the resource type of logining unique identification and the described user of IM for receiving the user of client transmission.
Information updating unit 42, for being added into the buddy list of described user good friend corresponding to the unique identification of IM by the resource type of the described user's login receiving.
Wherein, in buddy list, store the information such as resource type, logging status of user's login.
Buddy list transmitting element 43, for send described user at buddy list corresponding to the unique identification of IM to client, so that described client is resolved the buddy list obtaining, and presenting resource type and the logging status of resolving the user good friend login that described buddy list obtains, described buddy list includes resource type and the logging status of user good friend login.
In the embodiment of the present invention, because user logs in after IM in client, client sends the resource type of user's login to the identity device of the friend state of the present embodiment, therefore the identity device of the friend state of the present embodiment buddy list canned data that can upgrade in time, in the time that client need to be obtained corresponding buddy list, can get up-to-date buddy list.
As another embodiment of the present invention, described device comprises:
Status change protocol bag transmitting element, be used for sending status change protocol bag to client, so that described client is resolved described status change protocol bag, and upgrade, present buddy list according to analysis result, described status change protocol handbag contains: user is in the unique identification of IM, resource type and the logging status of user's login.
In the present embodiment, if user is in the process of login IM, this user's good friend's logging status changes, and the identity device of the friend state of the present embodiment issues status change protocol bag to client, the logging status so that client upgrades in time in its buddy list.
One of ordinary skill in the art will appreciate that, the all or part of step realizing in above-described embodiment method is can carry out the hardware that instruction is relevant by program to complete, described program can be being stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (11)

1. an identification method for friend state, is characterized in that, described method comprises the steps:
After user's access of instant communicating IM, send described user in the resource type of the unique identification of IM and described user login to server, so that described server is added into described user in good friend corresponding to the unique identification of IM buddy list by the resource type of the described user's login receiving;
Obtain the described user of described server transmission at buddy list corresponding to the unique identification of IM, described buddy list includes resource type and the logging status of user good friend login;
The buddy list that parsing is obtained, and present resource type and the logging status of resolving the user good friend login that described buddy list obtains.
2. the method for claim 1, is characterized in that, the buddy list obtaining in described parsing, and after presenting and resolving the resource type of the user good friend login obtaining and the step of logging status, comprise the steps:
The status change protocol bag that reception server sends, described status change protocol handbag contains: user is in the unique identification of IM, resource type and the logging status of user's login;
Resolve described status change protocol bag;
The user who obtains according to parsing finds corresponding user at the unique identification of IM, replaces resource type and logging status that the user's who finds user logins to resolve the resource type of the user login obtaining and logging status;
The resource type of the user's login taking user after unique identification, the replacement of IM and logging status, as foundation, are upgraded buddy list;
Present the buddy list after renewal.
3. method as claimed in claim 2, it is characterized in that, the described user who obtains according to parsing finds corresponding user at the unique identification of IM, replaces resource type that the user's who finds user logins and the step of logging status specifically comprise to resolve the resource type of the user login obtaining and logging status:
The user who obtains according to parsing searches described user user corresponding to the unique identification of IM at the unique identification of IM;
Resource type and the logging status of obtaining current user's login corresponding to the user that finds, resource type and the logging status of described user's login adopt string representation;
Search the resource type of user's login at the beginning index value of character string;
Search the logging status corresponding to resource type of user's login according to the beginning index value finding;
All character strings before the logging status that intercepting finds, and intercept all character strings after described logging status;
All character strings before the logging status of intercepting, all character strings of resolving after the logging status of the logging status that obtains and intercepting are combined into new character string successively.
4. method as claimed in claim 2, is characterized in that, the resource type of the described user's login after unique identification, the replacement of IM taking user and logging status are as foundation, and the step of upgrading buddy list specifically comprises:
Judge whether the online list in buddy list includes the unique identification of described user at IM, and in the time that described online list does not comprise the unique identification of described user at IM, described user is inserted in described online list at the unique identification of IM, and described online list storage has online user's information;
Judge whether the off-line list in buddy list includes the unique identification of described user at IM, and in the time that off-line list includes the unique identification of described user at IM, remove the unique identification of described user at IM, described off-line list storage has the information of offline user;
Reload online list and off-line list after renewal.
5. method as claimed in claim 2, is characterized in that, the resource type of the described user's login after unique identification, the replacement of IM taking user and logging status are as foundation, and the step of upgrading buddy list specifically comprises:
Search resource type and the logging status of user in user's login corresponding to the unique identification of IM;
According to the resource type of described user login and logging status judge user whether in all resources all in off-line state;
User in all resources during all in off-line state, judge whether the off-line list in buddy list includes the unique identification of described user at IM, in the time that described off-line list does not comprise the unique identification of described user at IM, described user is inserted in described off-line list at the unique identification of IM, and described off-line list storage has the information of offline user;
Judge whether the online list in buddy list includes the unique identification of described user at IM, and in the time that described online list includes the unique identification of described user at IM, remove the unique identification of described user at IM, described online list storage has online user's information;
Reload online list and off-line list after renewal.
6. an identification method for friend state, is characterized in that, described method comprises the steps:
Receive the user of client transmission in the unique identification of IM and the resource type of described user login;
The resource type of the described user's login receiving is added into described user in good friend corresponding to the unique identification of IM buddy list;
Send described user at buddy list corresponding to the unique identification of IM to client, so that described client is resolved the buddy list obtaining, and presenting resource type and the logging status of resolving the user good friend login that described buddy list obtains, described buddy list includes resource type and the logging status of user good friend login.
7. method as claimed in claim 6, is characterized in that,, to the step of client, comprises the steps: at described transmission buddy list
Send status change protocol bag to client, so that described client is resolved described status change protocol bag, and upgrade, present buddy list according to analysis result, described status change protocol handbag contains: user is in the unique identification of IM, resource type and the logging status of user's login.
8. an identity device for friend state, is characterized in that, described device comprises:
Resource type transmitting element, for after user's access of instant communicating IM, send described user in the resource type of the unique identification of IM and described user login to server, so that described server is added into described user in good friend corresponding to the unique identification of IM buddy list by the resource type of the described user's login receiving;
Buddy list acquiring unit, for obtaining described user that described server sends at buddy list corresponding to the unique identification of IM, described buddy list includes resource type and the logging status of user good friend login;
The first buddy list display unit, for resolving the buddy list obtaining, and presents resource type and the logging status of resolving the user good friend login that described buddy list obtains.
9. device as claimed in claim 8, is characterized in that, described device comprises:
Status change protocol bag receiving element, the status change protocol bag sending for reception server, described status change protocol handbag contains: user is in the unique identification of IM, resource type and the logging status of user's login;
Status change protocol bag resolution unit, for resolving described status change protocol bag;
Status Change unit, finds corresponding user for the user who obtains according to parsing at the unique identification of IM, replaces resource type and logging status that the user's who finds user logins to resolve the resource type of the user login obtaining and logging status;
Buddy list updating block, as foundation, upgrades buddy list for the resource type of the user's login at the unique identification of IM, after replacing taking user and logging status;
Second good friend's list display unit, for presenting the buddy list after renewal.
10. an identity device for friend state, is characterized in that, described device comprises:
Resource type receiving element, the resource type of logining unique identification and the described user of IM for receiving the user of client transmission;
Information updating unit, for being added into the buddy list of described user good friend corresponding to the unique identification of IM by the resource type of the described user's login receiving;
Buddy list transmitting element, for send described user at buddy list corresponding to the unique identification of IM to client, so that described client is resolved the buddy list obtaining, and presenting resource type and the logging status of resolving the user good friend login that described buddy list obtains, described buddy list includes resource type and the logging status of user good friend login.
11. devices as claimed in claim 10, is characterized in that, described device comprises:
Status change protocol bag transmitting element, be used for sending status change protocol bag to client, so that described client is resolved described status change protocol bag, and upgrade, present buddy list according to analysis result, described status change protocol handbag contains: user is in the unique identification of IM, resource type and the logging status of user's login.
CN201410169169.XA 2014-04-24 2014-04-24 Friend status identifying method and device Pending CN103944807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410169169.XA CN103944807A (en) 2014-04-24 2014-04-24 Friend status identifying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410169169.XA CN103944807A (en) 2014-04-24 2014-04-24 Friend status identifying method and device

Publications (1)

Publication Number Publication Date
CN103944807A true CN103944807A (en) 2014-07-23

Family

ID=51192297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410169169.XA Pending CN103944807A (en) 2014-04-24 2014-04-24 Friend status identifying method and device

Country Status (1)

Country Link
CN (1) CN103944807A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770049A (en) * 2017-10-23 2018-03-06 林楚莲 A kind of invited user obtains the method and system of group information
CN108446151A (en) * 2017-02-14 2018-08-24 阿里巴巴集团控股有限公司 The means of communication and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252548A (en) * 2008-01-28 2008-08-27 北京亿企通信息技术有限公司 Method for multi-point login in instant communicating tools
CN101399785A (en) * 2008-10-16 2009-04-01 腾讯科技(深圳)有限公司 Buddy list exhibition system and method for IM platform
CN102025648A (en) * 2009-09-16 2011-04-20 腾讯科技(深圳)有限公司 Instant messaging method and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252548A (en) * 2008-01-28 2008-08-27 北京亿企通信息技术有限公司 Method for multi-point login in instant communicating tools
CN101399785A (en) * 2008-10-16 2009-04-01 腾讯科技(深圳)有限公司 Buddy list exhibition system and method for IM platform
CN102025648A (en) * 2009-09-16 2011-04-20 腾讯科技(深圳)有限公司 Instant messaging method and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446151A (en) * 2017-02-14 2018-08-24 阿里巴巴集团控股有限公司 The means of communication and device
CN107770049A (en) * 2017-10-23 2018-03-06 林楚莲 A kind of invited user obtains the method and system of group information

Similar Documents

Publication Publication Date Title
CN110380954B (en) Data sharing method and device, storage medium and electronic device
CN109951435B (en) Equipment identifier providing method and device and risk control method and device
CN108432200B (en) Method for protecting and controlling access to private personal information
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
CN105391811A (en) DNS (domain name resolution) method, access method for application server, and terminal
CN102523314A (en) Identifying an efficient destination server
US9800488B2 (en) Method for setting heartbeat timer, terminal and server
CN107391277B (en) Information processing method and device
CN102480501A (en) Application resource downloading method and associated equipment
CN104301141A (en) Method, device and system for storing configuration information
CN103647870A (en) Terminal and terminal expression display method
US20170310536A1 (en) Systems, methods, and devices for network alarm monitoring
CN109753424B (en) AB test method and device
WO2016205234A1 (en) E-mail processing
CN103561063A (en) Method and terminal for logging onto set top box
CN106716418B (en) Software recommendation method and device, terminal and server
WO2014000493A1 (en) Method and apparatus for routing a message
CN103944807A (en) Friend status identifying method and device
WO2021028442A1 (en) An automated support system for connected devices
CN113114557B (en) Message sending method and device, electronic equipment and storage medium
CN103080913A (en) Method for finding communication devices connected to communication network, and management device
CN103092942A (en) Client-side, method and system for inquiring, obtaining and showing information
US8359383B2 (en) Ubiquitous service framework system for supporting service in multiple domain and method thereof
US20150065103A1 (en) Device and Method for Enhancing a Call
CN108696549B (en) Load balancing method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140723

RJ01 Rejection of invention patent application after publication