CN101771621B - Instant messaging method, device and system - Google Patents
Instant messaging method, device and system Download PDFInfo
- Publication number
- CN101771621B CN101771621B CN 200810187710 CN200810187710A CN101771621B CN 101771621 B CN101771621 B CN 101771621B CN 200810187710 CN200810187710 CN 200810187710 CN 200810187710 A CN200810187710 A CN 200810187710A CN 101771621 B CN101771621 B CN 101771621B
- Authority
- CN
- China
- Prior art keywords
- presentation information
- client
- request message
- presents
- read
- 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
Links
Images
Abstract
The invention discloses an instant messaging method, a device and a system. The system comprises a present server communicated with an observation client, wherein the observation client is used for constructing present information reading request information which takes effect once, and the present information reading request information is used for triggering the present server to obtain the present information which is required in this time and presents the client, transmitting the present information reading request information to the present server and receiving the present information which is transmitted by the present server and presents the client; and the present server is used for receiving the present information reading request information which is transmitted by the observation client and takes effect once, obtaining the present information which is required in this time and presents the client according to the present information reading request information and transmitting the present information presenting the client to the observation client. According to the embodiment of the invention, the condition that the present information occupies a large number of bandwidth resources and consumes the electric quantity of the client in excess can be avoided.
Description
Technical field
The present invention relates to the instant messaging field, particularly relate to a kind of methods, devices and systems of instant messaging.
Background technology
Current, IM(Instant Messaging, instant messaging) professional as a kind of business that can realize the functions such as instant sending and receiving internet message, the characteristics such as, privacy efficient, convenient with it is good, more and more be subject to operator and numerous users' concern and favor, and the technology that presents is being played the part of very important role in instant messaging service.Usually, the user who carries out instant messaging service can pass through the current state of IM client setting, such as: busy, idle, not online etc., if other IM users have ordered this user's state, then rely on to present technology, on other IM clients, just can present the current state of this user.
Present in the technology existing, when user A need to present the state of user B, will send to presence server the request of the presentation information of booking reader B, therefore, when the state of user B changes, presence server receives the state information of user B, and notifies in real time, on one's own initiative to the user A with the state information of user B as presentation information.
But, the inventor finds under study for action, the technology that presents under the existing this IM business can be brought following problem: when in a single day the state of user B changes, presence server will initiatively be pushed to user A with presentation information, especially when user A has subscribed to a plurality of good friend users' state, as long as there is a good friend user's state to change, presence server will presentation information of active push to user A.This frequent propelling movement of presentation information can make presentation information take more bandwidth, and simultaneously, the client at user A place is owing to frequent and server end also can be consumed a large amount of electric weight alternately.
Summary of the invention
The embodiment of the invention provides a kind of methods, devices and systems of instant messaging, takies a large amount of bandwidth resources and the electric weight that consumes client excessively to avoid presentation information.
The embodiment of the invention discloses a kind of method that gets access to the information presented, comprise: set up the presentation information that comes into force once and read request message, described presentation information is read request message and is obtained the presentation information that presents client that this needs for triggering presence server, and described presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and change the sign of the buddy list in the SUBSCRIBE field header field into observe client sign; Send described presentation information to presence server and read request message; Receive the described presentation information that presents client that presence server sends.
The embodiment of the invention discloses a kind of method that presentation information is provided, comprise: receive the presentation information that comes into force once of observing the client transmission and read request message, wherein said presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and change the sign of the buddy list in the SUBSCRIBE field header field into observe client sign; Read the presentation information that presents client that request message obtains these needs according to described presentation information; Described presentation information is sent to described observation client.
The embodiment of the invention also discloses a kind of device that gets access to the information presented, comprise: set up the unit, be used for setting up the presentation information that comes into force once and read request message, described presentation information is read request message and is obtained the presentation information that presents client that this needs for triggering presence server, and described presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and change the sign of the buddy list in the SUBSCRIBE field header field into observe client sign; Transmitting element is used for sending described presentation information to presence server and reads request message; Receiving element is used for receiving the described presentation information that presents client that presence server sends.
The embodiment of the invention also discloses a kind of device that presentation information is provided, comprise: receiving element, be used for receiving the presentation information that comes into force once of observing the client transmission and read request message, wherein said presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and change the sign of the buddy list in the SUBSCRIBE field header field into observe client sign; Acquiring unit is used for reading the presentation information that presents client that request message obtains these needs according to described presentation information; Transmitting element is used for described presentation information is sent to described observation client.
The invention process also discloses a kind of instantaneous communication system, comprise: with the presence server of observing client and communicating, wherein, described observation client, be used for setting up the presentation information that comes into force once and read request message, described presentation information is read request message and is obtained the presentation information that presents client that this needs for triggering described presence server, and described presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and the sign that the sign of the buddy list in the SUBSCRIBE field header field is changed into the observation client, send described presentation information to described presence server and read request message, receive the described presentation information that presents client that described presence server sends; Described presence server, read request message for the presentation information that comes into force once that receives described observation client transmission, read the presentation information that presents client that request message obtains these needs according to described presentation information, the described presentation information that presents client is sent to described observation client.
As can be seen from the above-described embodiment, when observing client when needs are understood friend state, the presentation information reading request message triggering presence server that comes into force once of setting up is only inquired about the presentation information that once presents client, therefore, after presence server receives described presentation information reading request message, only be triggered and carry out the one query process, then presentation information is sent to and observe the client reading, reduced the interaction times of observing client and presence server, and then saved bandwidth resources, saved electric weight.
Description of drawings
Fig. 1 is an embodiment flow chart of a kind of method that gets access to the information presented of the present invention;
Fig. 2 provides an embodiment flow chart of the method for presentation information for the present invention is a kind of;
Fig. 3 is an example structure figure of a kind of device that gets access to the information presented of the present invention;
Fig. 4 provides an example structure figure of the device of presentation information for the present invention is a kind of;
Fig. 5 is an example structure figure of a kind of instantaneous communication system of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing the embodiment of the invention is described in detail.
See also Fig. 1, Fig. 1 is an embodiment flow chart of a kind of method that gets access to the information presented of the present invention, and the method may further comprise the steps:
Step 101: set up the presentation information that comes into force once and read request message, described presentation information is read request message and is obtained the presentation information that presents client that this needs for triggering presence server;
In the above-mentioned steps, the process of setting up the presentation information reading request message that comes into force once comprises: the Expires field value is set to zero in the described presentation information reading request message; Perhaps, the Expires field value is set to zero in the described presentation information reading request message, and setting presents client identification in described presentation information reading request message.
Wherein, described presentation information is read request message can be the SUBSCRIBE message in RFC 3265 agreements, Expires field value in the SUBSCRIBE field is set to zero, obtain the presentation information that presents client so that presentation information is read request message triggering presence server, and this presentation information reading request message only comes into force once.Even when good friend's Status Change, presence server can proactive notification not observed client yet.
In addition, also partly add at the Content of SUBSCRIBE field and present client identification, namely observe the specified good friend's of client sign, simultaneously, change the sign of the buddy list in the SUBSCRIBE field header field into observe client sign, like this, observe client and just can present client by reading in presentation information directly to specify in the request message, and avoided submitting subscription list to the RLS server.
For example, when the observation customer end A need to be checked the state of good friend B, C, D, the sign of three good friend B, C, D is respectively: sip:friendB@ims.com, sip:friendC@ims.com, sip:friendD@ims.com, that observes customer end A is designated sip:boy@ims.com, so, the SUBSCRIBE field of existing RFC 3265 agreements of expansion is:
In presenting the reading request message, be provided with when presenting client identification, can also store presenting the client end sign in the present embodiment, in order to observe client need to obtain the presentation information that this time presents client the time next time, directly call the client identification that presents of storage.
Step 102: send described presentation information to presence server and read request message;
Step 103: receive the described presentation information that presents client that presence server sends.
See also Fig. 2, Fig. 2 provides an embodiment flow chart of the method for presentation information for the present invention is a kind of, and the method may further comprise the steps:
Step 201: receive the presentation information that comes into force once of observing the client transmission and read request message;
Step 202: read the presentation information that presents client that request message obtains these needs according to described presentation information;
Wherein, obtaining this presentation information that presents client that needs comprises: read and present client identification; Inquire about the described presentation information that presents client corresponding to client identification that present.
Read when the presentation information that receives and not include in the request message when presenting client identification, read and present client identification and specifically comprise: read to read the request message from described presentation information and present the client side list sign; According to the described client side list sign of presenting, from resource list server RLS, obtain and present client identification;
Read when the presentation information that receives and to include in the request message when presenting client identification, read and present client identification and specifically comprise: read directly to read the request message from described presentation information and present client identification.
Step 203: described presentation information is sent to described observation client.
Wherein, describedly presentation information is sent to described observation client be specially: the described presentation information that presents client is gathered, and the presentation information after will gathering sends to described observation client.
Can find out from the present embodiment, when observing client when needs are understood friend state, the presentation information of setting up is read request message triggering presence server and is only inquired about the presentation information that once presents client, therefore, after presence server receives described presentation information reading request message, only be triggered and carry out the one query process, then presentation information is sent to and observe the client reading, reduced the interaction times of observing client and presence server, and then saved bandwidth resources, saved electric weight.
In addition, will present client identification and be stored in the observation client, present client by observing client appointment in presentation information reading request message, and can avoid presenting client identification and be stored among the RLS because subscribing to overtime problem of automatically being deleted.
Corresponding with above-mentioned a kind of method that gets access to the information presented, the embodiment of the invention also provides a kind of device that gets access to the information presented.See also Fig. 3, Fig. 3 is the structure chart of a kind of device that gets access to the information presented that the embodiment of the invention three discloses, and this device comprises to be set up 301, send 302 and receive 303.Operation principle below in conjunction with this device is further introduced its internal structure and annexation.
Set up unit 301, be used for setting up the presentation information that comes into force once and read request message, described presentation information is read request message and is obtained the presentation information that presents client that this needs for triggering presence server;
Transmitting element 302 is used for sending described presentation information to presence server and reads request message;
Receiving element 303 is used for receiving the described presentation information that presents client that presence server sends.
Wherein, described device can also comprise: memory cell 304 is used for describedly presenting the client identification that presents that the reading request message arranges and stores.
Corresponding with above-mentioned a kind of method of presentation information that provides, the embodiment of the invention also provides a kind of device that presentation information is provided.See also Fig. 4, a kind of structure chart that the device of presentation information is provided that Fig. 4 discloses for the embodiment of the invention, this device comprises receiving element 401, acquiring unit 402 and transmitting element 403.Operation principle below in conjunction with this device is further introduced its internal structure and annexation.
Receiving element 401 is used for receiving the presentation information that comes into force once of observing the client transmission and reads request message;
Acquiring unit 402 is used for reading the presentation information that presents client that request message obtains these needs according to described presentation information;
Transmitting element 403 is used for described presentation information is sent to described observation client.
Wherein, acquiring unit 402 comprises: reading unit 404 is used for reading presenting client identification; Query unit 405 is used for inquiring about the described presentation information that presents client that client identification identifies that presents.
Reading unit 404 specifically presents the client side list sign for reading from described presentation information reading request message, from resource list server RLS, obtain with the described client side list that presents and identify the corresponding client side list that presents, obtain the described client identification that presents by the described client side list that presents; Perhaps,, be used for reading request message from described presentation information and read the described client identification that presents.
Can find out from the present embodiment, when observing client when needs are understood friend state, the presentation information reading request message triggering presence server that comes into force once of setting up is only inquired about the presentation information that once presents client, therefore, after presence server receives described presentation information reading request message, only be triggered and carry out the one query process, then presentation information is sent to and observe the client reading, reduced the interaction times of observing client and presence server, and then saved bandwidth resources, saved electric weight.
In addition, will present client identification and be stored in the observation client, present client by observing client appointment in presentation information reading request message, and can avoid presenting client identification and be stored among the RLS because subscribing to overtime problem of automatically being deleted.
The embodiment of the invention also provides a kind of instantaneous communication system, sees also Fig. 5, and Fig. 5 is the structure chart of a kind of instantaneous communication system of disclosing of the embodiment of the invention five, and this system comprises and the presence server 502 of observing client 501 and communicating.
Wherein, observe client 501, be used for setting up the presentation information that comes into force once and read request message, described presentation information is read request message and is obtained the presentation information that presents client that this needs for triggering presence server 502, send described presentation information to presence server 502 and read request message, receive the described presentation information that presents client that presence server 502 sends;
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be stored in the computer read/write memory medium, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
Above methods, devices and systems to a kind of instant messaging provided by the present invention are described in detail, used specific embodiment herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (12)
1. a method that gets access to the information presented is characterized in that, described method comprises:
The presentation information that foundation comes into force is once read request message, described presentation information is read request message and is obtained the presentation information that presents client that this needs for triggering presence server, and described presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and change the sign of the buddy list in the SUBSCRIBE field header field into observe client sign;
Send described presentation information to presence server and read request message, presence server is triggered carries out the one query process, obtain the described presentation information that presents client that this needs;
Receive the described presentation information that presents client that presence server sends.
2. method according to claim 1 is characterized in that, the presentation information reading request message that described foundation comes into force once comprises:
The Expires field value is set to zero in the described presentation information reading request message.
3. method according to claim 1 is characterized in that, described method also comprises:
The described client identification that presents that arranges in the reading request message that presents is stored.
4. the method that presentation information is provided is characterized in that, described method comprises:
Receive the presentation information that comes into force once of observing the client transmission and read request message, wherein said presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and change the sign of the buddy list in the SUBSCRIBE field header field into observe client sign;
Read the presentation information that presents client that request message obtains these needs according to described presentation information;
Described presentation information is sent to described observation client.
5. method according to claim 4 is characterized in that, described this presentation information that presents client that needs of obtaining comprises:
Read and present client identification;
Inquire about the described presentation information that presents client corresponding to client identification that present.
6. according to claim 4 or 5 described methods, it is characterized in that, describedly presentation information is sent to described observation client be specially: the described presentation information that presents client is gathered, and the presentation information after will gathering sends to described observation client.
7. a device that gets access to the information presented is characterized in that, described device comprises:
Set up the unit, be used for setting up the presentation information that comes into force once and read request message, described presentation information is read request message and is obtained the presentation information that presents client that this needs for triggering presence server, and described presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and change the sign of the buddy list in the SUBSCRIBE field header field into observe client sign;
Transmitting element is used for sending described presentation information to presence server and reads request message, presence server is triggered carries out the one query process;
Receiving element is used for receiving the described presentation information that presents client that presence server sends.
8. device according to claim 7 is characterized in that, described device also comprises:
Memory cell is used for describedly presenting the client identification that presents that the reading request message arranges and stores.
9. the device that presentation information is provided is characterized in that, described device comprises:
Receiving element, be used for receiving the presentation information that comes into force once of observing the client transmission and read request message, wherein said presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and change the sign of the buddy list in the SUBSCRIBE field header field into observe client sign;
Acquiring unit is used for reading the presentation information that presents client that request message obtains these needs according to described presentation information;
Transmitting element is used for described presentation information is sent to described observation client.
10. device according to claim 9 is characterized in that, described acquiring unit comprises:
Reading unit is used for reading presenting client identification;
Query unit is used for inquiring about the described presentation information that presents client that client identification is identified that presents.
11. device according to claim 10 is characterized in that, described reading unit specifically is used for reading request message from described presentation information and reads the described client identification that presents.
12. an instantaneous communication system is characterized in that, described system comprises the presence server that communicates with the observation client, wherein,
Described observation client, be used for setting up the presentation information that comes into force once and read request message, described presentation information is read request message and is obtained the presentation information that presents client that this needs for triggering described presence server, and described presentation information is read in the request message, partly be provided with at the Content of SUBSCRIBE field and present client identification, and the sign that the sign of the buddy list in the SUBSCRIBE field header field is changed into the observation client, send described presentation information to described presence server and read request message, receive the described presentation information that presents client that described presence server sends;
Described presence server, read request message for the presentation information that comes into force once that receives described observation client transmission, read the presentation information that presents client that request message obtains these needs according to described presentation information, the described presentation information that presents client is sent to described observation client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810187710 CN101771621B (en) | 2008-12-31 | 2008-12-31 | Instant messaging method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810187710 CN101771621B (en) | 2008-12-31 | 2008-12-31 | Instant messaging method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101771621A CN101771621A (en) | 2010-07-07 |
CN101771621B true CN101771621B (en) | 2013-01-23 |
Family
ID=42504232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810187710 Active CN101771621B (en) | 2008-12-31 | 2008-12-31 | Instant messaging method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101771621B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104052712A (en) * | 2013-03-11 | 2014-09-17 | 华为技术有限公司 | Local-area-network information interaction method, device and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852122A (en) * | 2005-12-09 | 2006-10-25 | 华为技术有限公司 | Presenting system and method for processing subscribing-in formation of subscribers by using same |
CN1863200A (en) * | 2005-09-30 | 2006-11-15 | 华为技术有限公司 | Method and system for subscribing to present information |
CN101127951A (en) * | 2007-09-24 | 2008-02-20 | 北京邮电大学 | A network system and method for displaying service based on IMS |
CN101287168A (en) * | 2008-06-13 | 2008-10-15 | 中兴通讯股份有限公司 | Movable instant communication status publishing method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949770A (en) * | 2005-10-14 | 2007-04-18 | 华为技术有限公司 | Method for providing push message and push agent device |
CN100574203C (en) * | 2005-10-26 | 2009-12-23 | 华为技术有限公司 | A kind of Notification Method of presentation information and system |
-
2008
- 2008-12-31 CN CN 200810187710 patent/CN101771621B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863200A (en) * | 2005-09-30 | 2006-11-15 | 华为技术有限公司 | Method and system for subscribing to present information |
CN1852122A (en) * | 2005-12-09 | 2006-10-25 | 华为技术有限公司 | Presenting system and method for processing subscribing-in formation of subscribers by using same |
CN101127951A (en) * | 2007-09-24 | 2008-02-20 | 北京邮电大学 | A network system and method for displaying service based on IMS |
CN101287168A (en) * | 2008-06-13 | 2008-10-15 | 中兴通讯股份有限公司 | Movable instant communication status publishing method |
Also Published As
Publication number | Publication date |
---|---|
CN101771621A (en) | 2010-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050228895A1 (en) | Method, Web service gateway (WSG) for presence, and presence server for presence information filtering and retrieval | |
US8762475B2 (en) | Simultaneous instant messaging in single window | |
US7593925B2 (en) | Method and system for locating contact information collected from contact sources | |
CN100583839C (en) | Method and system for implementing multi-identity immediate message communication and present service of single account number | |
US20060036689A1 (en) | Personal messaging proxy | |
EP1696635A2 (en) | Method and system for aggregating contact information from multiple contact sources | |
CN101641689A (en) | Method, system and recording medium for collecting contents usage information | |
CN102255935A (en) | Cloud service consumption method, cloud service message packet, cloud service broker and cloud system | |
CN103069755A (en) | Instant messaging using multiple instances of a client | |
EP2958277A1 (en) | Instant messaging method and system | |
CN113391979A (en) | Processing method, equipment and system for monitoring data display and storage medium | |
Srirama et al. | Croudstag: social group formation with facial recognition and mobile cloud services | |
CN114338063B (en) | Message queue system, service processing method and computer readable storage medium | |
JP2014518464A (en) | System and method for passive communication service | |
US10795963B2 (en) | Apparatus and method for inviting subscription to contact information | |
US9110739B2 (en) | Subscribing to multiple resources through a common connection | |
US20100151834A1 (en) | Methods and systems for optimizing a visual voice mail system by reducing the use of communication resources | |
CN114338769A (en) | Access request processing method and device | |
CN101771621B (en) | Instant messaging method, device and system | |
CN101296201A (en) | Network information sharing method, system and instant communication device | |
CN103825922B (en) | A kind of data-updating method and web server | |
US20040117458A1 (en) | Program, method and apparatus for processing information | |
CN102469039A (en) | Intelligent network communication system and method | |
CN114979695B (en) | SRS-based multi-process live broadcast method and device, electronic equipment and storage medium | |
CN102868771A (en) | Converged address book based contact synchronizing method, device and system |
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 |