CN1859380A - Method for obtaining off line message - Google Patents

Method for obtaining off line message Download PDF

Info

Publication number
CN1859380A
CN1859380A CN 200510102453 CN200510102453A CN1859380A CN 1859380 A CN1859380 A CN 1859380A CN 200510102453 CN200510102453 CN 200510102453 CN 200510102453 A CN200510102453 A CN 200510102453A CN 1859380 A CN1859380 A CN 1859380A
Authority
CN
China
Prior art keywords
server
deferred information
message
client
sip
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.)
Granted
Application number
CN 200510102453
Other languages
Chinese (zh)
Other versions
CN1859380B (en
Inventor
牟伦建
王珏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2005101024536A priority Critical patent/CN1859380B/en
Publication of CN1859380A publication Critical patent/CN1859380A/en
Application granted granted Critical
Publication of CN1859380B publication Critical patent/CN1859380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses off line message obtaining method, used in adopting SIP/SIMPLE protocol instant message system. It contains when client-side registers to system and receives instant message (IM) server transmitted off line message notifying, executing the following steps: client-side originating obtaining off line message content request to said IM server; said IM server obtaining said client-side off line message content and down issuing to the client-side. The present invention combines current technologic off line message transmission and storage process to make off line message process into a complete solution scheme.

Description

A kind of method for obtaining off line message
Technical field
The present invention relates to the instant messaging in mobile communication and the Internet (Internet) field, relate in particular to and a kind ofly adopting conversation initialized protocol/instant message and existing in the immediate news systems that utilizes expansion session initiation protocol (SIP/SIMPLE agreement), the user obtains the method for the deferred information in the system of storing into.
Background technology
Can on mobile communications network, Internet network, carry out instant message (InstantMessaging at present, IM) business, the mobile network comprises existing 2G (2nd Generation, 2G mobile networks), 2.5G, following 3G (3rd Generation, the 3rd generation mobile network) and IP multimedia subsystem, IMS (IMS) etc.
Instant messaging belong to a kind of based on the individual who has professional (Presence) to individual, individual mobile data services to the classes of messages of group.
OMA International Standards Organization has done standard formulation for mobile instant message, and two class immediate news systems are arranged in the Current Standard specification version.The first kind is based on radio countryside, and (it sends the agreement that agreement (HTTP/WAP/SMS) is carried based on Hypertext Transfer Protocol/wireless access protocol/short message, can support the 2.5G/3G network for Wireless Village, the WV) immediate news systems of agreement; Second class is based on session initiation protocol (SIP)/instant message and has the immediate news systems of professional expansion session initiation protocol (SIMPLE), and it supports the IP network based on IMS based on the agreement of SIP/SIMPLE carrying.
Exist such client to use scene in the immediate news systems based on SIP/SIMPLE: the transmit leg client recipient that transfers immediate news, this moment is if the recipient is not online, then recipient IM server need be preserved this deferred information (deferred message), then when recipient's client be registered to SIP/IP Core core network and the recipient's server of reaching the standard grade on the time, this server can be given recipient's client off-line message informing.
In the prior art, the send mode of instant message has two kinds:
Mode one transfers immediate news by SIP MESSAGE message, and as shown in Figure 1, customer end A represents to send the client of deferred information; The IM server A is the IM server under the customer end A; Core net A is the home network of customer end A, and idiographic flow comprises:
1, customer end A sends SIP MESSAGE request to core net A, request sends IM message, the message body of SIP MESSAGE message has partly been carried the particular content of instant message, the address that in Request-URI, comprises customer end B (message receiver), in the message header of SIP MESSAGE message, comprise condition code (feature-tag), for example be "+g.im.message " service of expression request instant message;
2, core net A gives the IM server A with the SIP MESSAGE forwards that receives;
3, the IM server A customer end B that transfers immediate news, concrete process of transmitting is referring to the flow process of passing through SIP MESSAGE message sink instant message and storage shown in Figure 3, or MSRP (Message Session Relay Protocol, the message session trunk protocol) transmission channel of passing through shown in Figure 4 receives the also flow process of storage of instant message;
4, the IM server A is received affirmation message 202 Accepted from the customer end B belonging network, shows that the IM server B of customer end B belonging network has been received instant message;
5, the IM server A returns to core net A with SIP acknowledge message 202 Accepted;
6, change this sip message before the core net A to customer end A.
Mode two transfers immediate news by the MSRP transmission channel, and as shown in Figure 2, idiographic flow comprises:
1, customer end A sends SIP INVITE (SIP request) request to core net A, and the MSRP session channel is set up in request, so that transfer immediate news; The information such as local URL, port, IP address that comprises customer end A in this request;
2, core net A sends to the IM server A with this SIP INVITE;
3, the IM server A prepare to be set up and being connected of customer end A, and returns SIP 200 OK response messages, comprises information such as the port numbers that can support to set up MSRP, URL, IP address, type of message, sends to core net A;
4, core net A gives customer end A with these SIP 200 OK forwards;
5, customer end A acknowledges receipt of SIP 200 OK, and responds SIP ACK message is to core net A;
6, core net A gives the IM server A with this forwards;
7, set up MSRP between customer end A and the IM server A and connect, customer end A sends the authorization requests of MSRP to the IM server A by the MSRP transmission channel;
8, the IM server A is by the MSRP 200 OK response messages of transmission channel return authorization request;
Above-mentioned steps 7 and 8 is optional flow process, then carries out according to above-mentioned steps when customer end A need receive the message that issues from the IM server A, if this flow process not, then the MSRP between customer end A and the IM server A was connected for 9 steps and sets up;
9, customer end A sends MSRP SEND message by the MSRP transmission channel to the IM server A, and content transfers immediate news; Content type (Content-Type) and corresponding XML (expansion identifiable language) content indicate to transfer immediate news in this message;
10, the IM server A is returned 200 OK response messages by the MSRP transmission channel, and the expression server is received message;
11, the IM server A customer end B that transfers immediate news, concrete transmission flow are referring to the flow process of pass through SIP MESSAGE message sink instant message and storage shown in Figure 3, or the MSRP transmission channel of pass through shown in Figure 4 receives the flow process that instant message is also stored;
12, after customer end A sends instant message, send SIP BYE end of message session, disconnect MSRP and connect to core net A;
13, core net A gives the IM server A with this SIP BYE forwards;
14, IM server A responds SIP 200 OK message are given core net A;
15, core net A is transmitted to customer end A with response message, disconnects MSRP and connects.
In the prior art, the reception of off-line instant message and the mode of storage have two kinds:
Mode one, by SIP MESSAGE message sink instant message and storage, as shown in Figure 3, and the coexist home network of customer end B of the customer end B of SIP/SIMPLE immediate news systems, IM server B and core net B, idiographic flow comprises:
1, the IM server A receives the transfer immediate news request of customer end B of customer end A;
2, the IM server A sends SIP MESSAGE and asks core net A, comprises the address of customer end B in Request-URI, comprises condition code (feature-tag) in the sip message head, for example "+g.im.message ", the service of expression request instant message;
3, according to the address of customer end B, core net A sends to core net B under the message sink end with SIP MESSAGE request;
4, core net B sends to the IM server B with SIP MESSAGE request;
5, the IM server B then stores instant message into message stores entity (Message Storage) if judging the current state of customer end B is off-line state; Storage entity is a logic entity, can be physically and IM server two entities unification or that separate; Storage format can be a database, can be file mode etc.;
6, the IM server B is responded SIP 202 Accepted message to core net B, and expression IM server B has been received instant message, but does not successfully send to customer end B;
7, change this response message before the core net B to core net A;
8, change this response message before the core net A to the IM server A;
9, after the IM server A is received this message, return response message to customer end A.
Mode two receives instant message and storage by the MSRP transmission channel, and as shown in Figure 4, idiographic flow comprises:
1, the IM server A receives the transfer immediate news request of customer end B of customer end A;
2, the IM server A is set up and to be connected with the MSRP of IM server B, its set up the MSRP transmission channel set up flow process and 1-6 step shown in Figure 2 similar;
3, the IM server A sends MSRP SEND message by the MSRP transmission channel, transfers immediate news to the IM server B;
4, the IM server B judges that the state of customer end B is in off-line, judges according to user's setting, carrier policy etc. and needs offline storage user's message stores instant message into message storage server;
5, the IM server B is returned 200 OK response messages to the IM server A by the MSRP transmission channel;
6, after the IM server A is received this message, return response message to customer end A.
In the prior art, meet the immediate news systems of SIP/SIMPLE IM standard, only related to transmission technology, the memory technology of deferred information described above, but do not relate to the method how the deferred information receiving terminal obtains the deferred information of storing in the system.Promptly also do not realize the deferred information acquisition process in the prior art yet, a complete deferred information solution just is not provided yet.
Summary of the invention
The invention provides a kind of method for obtaining off line message, be applied to adopt the immediate news systems of SIP/SIMPLE agreement, in order to solve the incomplete problem of deferred information flow process in the prior art.
The inventive method is applied to adopt session initiation protocol SIP/ instant message and has the immediate news systems that utilizes expansion session initiation protocol SIMPLE, this method comprises: when client is registered to system, and after receiving the deferred information notice of affiliated instant message (IM) server transmission, carry out the following step:
A, client initiate to obtain the deferred information content requests to described IM server;
B, described IM server give this client with the deferred information down sending content of this client of preserving in the system.
According to said method of the present invention, described client is obtained the deferred information content by SIP MESSAGE message to described IM server requests; Described IM server issues the deferred information content by SIP MESSAGE message or message session trunk protocol (MSRP) transmission channel and gives client.
According to said method of the present invention, comprise the condition code of acquisition request deferred information content in the message header of the SIP MESSAGE message that described client sends.
According to said method of the present invention, the SIPMESSAGE message of transmitting between described client and the described IM server is transmitted by the core net under this client.
According to said method of the present invention, described client is obtained the deferred information content by the MSRP transmission channel to described IM server requests; Described IM server issues the deferred information content by the MSRP transmission channel and gives described client.
According to said method of the present invention, described client sends MSRPSEND message by the MSRP transmission channel, acquisition request deferred information content, and in this message content type and corresponding expansion identifiable language (XML) content, obtain the deferred information content in order to indication request.
According to said method of the present invention, described IM server sends MSRPSEND message by the MSRP transmission channel, gives described client with the deferred information down sending content.
According to said method of the present invention, described client is obtained the deferred information content by sending the HTTP(Hypertext Transport Protocol) request to described IM server; Described IM server carries the deferred information content of this client by 200 OK response messages, is handed down to client.
According to said method of the present invention, comprise that also described IM server issues the deferred information content after, send the step of deferred information delivery report to system.
Described IM server sends the deferred information delivery report to system, specifically comprises:
A, described IM server send described delivery report to IM server under this deferred information transmitting terminal after the message sink response that receives client;
The described delivery report of IM server forwards is given the client that sends deferred information under B, the deferred information transmitting terminal.
According to said method of the present invention, carry described delivery report by the SIP NOTIFY.
Described steps A comprises:
The IM server sends and carries the SIP NOTIFY of delivery report to core net under the deferred information receiving terminal under A1, the deferred information receiving terminal;
Core net is forwarded to the affiliated core net of deferred information transmitting terminal with this SIP NOTIFY under A2, the deferred information receiving terminal;
Core net is forwarded to this SIP NOTIFY in the affiliated IM server of deferred information transmitting terminal under A3, the deferred information transmitting terminal;
Described step B comprises:
The IM server is forwarded to the affiliated core net of deferred information transmitting terminal with this SIP NOTIFY under B1, the deferred information transmitting terminal;
Core net is forwarded to this SIP NOTIFY the client that sends this deferred information under B2, the deferred information transmitting terminal.
In the described steps A, under the deferred information receiving terminal IM server by and the deferred information transmitting terminal under the MSRP transmission channel set up between the IM server, send described delivery report;
Among the described step B, under the deferred information transmitting terminal IM server by and send the MSRP transmission channel of setting up between the client of this deferred information, transmit described delivery report.
According to said method of the present invention, described MSRP transmission channel is for setting up passage or newly setting up passage.
According to said method of the present invention, when described delivery report transmit finish after, disconnect or keep described MSRP transmission channel.
Beneficial effect of the present invention is as follows:
(1) method of obtaining the deferred information content provided by the invention, filled up the technological gap of deferred information processing procedure in the prior art, make deferred information of the prior art send, receive storage, notification procedure, in conjunction with deferred information acquisition process of the present invention, become a complete deferred information solution.
(2) the invention provides the multiple deferred information content acquisition method that obtains, comprise by the sip message mode, obtain the deferred information content by MSRP transmission channel mode with by HTTP request mode, the acquisition process of deferred information can be selected according to the concrete condition of current network, improved system flexibility.
(3) after recipient's client is successfully obtained the deferred information content, can also send the transmit leg client of delivery report to this deferred information.The process that sends delivery report makes the processing procedure of deferred information more complete.
(4) mode of transmission deferred information delivery report comprises, by the sip message mode with by MSRP transmission channel mode.The sip message bearing mode is fit to the little delivery report of amount of information, and MSRP transmission channel mode is fit to the bigger delivery report of amount of information.If formerly set up the MSRP transmission channel in the process, then preferably use MSRP transmission channel mode to send delivery report.Therefore, the send mode of multiple delivery report provided by the invention can be selected flexibly according to the concrete condition of current network and the concrete condition of delivery report amount of information.
Description of drawings
The flow chart that Fig. 1 transfers immediate news by sip message for client in the prior art;
The flow chart that Fig. 2 transfers immediate news by the MSRP transmission channel for client in the prior art;
Fig. 3 is the flow chart that recipient IM server receives instant message and storage in the prior art by sip message;
Fig. 4 is the flow chart that recipient IM server receives instant message and storage in the prior art by the MSRP transmission channel;
The business process map that Fig. 5 sends, stores, notifies and obtains for deferred information of the present invention;
Fig. 6 obtains the flow chart of deferred information by sip message for client of the present invention;
Fig. 7 obtains one of flow chart of deferred information for client of the present invention by the MSRP transmission channel;
Fig. 8 for client of the present invention obtain by the MSRP transmission channel deferred information flow chart two;
Fig. 9 is the flow chart of client of the present invention by HTTP acquisition request deferred information;
Figure 10 sends the flow chart of delivery report by sip message for client of the present invention;
Figure 11 sends the flow chart of delivery report by the MSRP transmission channel for client of the present invention.
Embodiment
Adopt in the immediate news systems of SIP/SIMPLE agreement, the transmission of deferred information, storage, the complete operation flow of notifying and obtaining as shown in Figure 5, specifically comprise:
1, customer end A need transfer immediate news to customer end B, at first the customer end A IM server A under it that can transfer immediate news;
2, the IM server A judges that recipient's customer end B belongs to the IM server B, forwards the message to the IM server B;
3, the IM server B judges whether customer end B is online, if online, then sends a message to customer end B; Otherwise preserve this message in storage entity;
4, when customer end B is reached the standard grade, the IM server B issues the deferred information notice to customer end B;
5, recipient user obtains concrete message content if desired, then sends the deferred information request of obtaining by customer end B;
6, the IM server B is obtained the deferred information content on storage entity;
7, the IM server B issues this deferred information content to customer end B;
8, customer end B receives response to IM server B return messages;
9, the IM server B sends delivery report to the IM server A;
10, the IM server A is transmitted delivery report and is given the transmit leg customer end A.
Above-mentioned 9-10 is an optional step.
Customer end B is obtained deferred information and can below every kind of mode be described in detail respectively by following four kinds of modes.
Deferred information obtain manner one: customer end B is obtained the deferred information content by sip message, and as shown in Figure 6, the coexist home network of customer end B of customer end B, IM server B and core net B specifically comprises:
1, customer end B is reached the standard grade by the mode of SIP, is registered to IM server B and core net B; In the SIP registration message, comprise condition code, for example :+g.im.message, the service of expression request deferred information;
2, the IM server B finds that customer end B has the deferred information of storage, sends SIP MESSAGE message to core net B, and notice has deferred information; In the message header of this SIP MESSAGE message unique condition code is arranged, for example :+g.im.notify, expression request deferred information;
3, core net B is forwarded to customer end B with SIP MESSAGE notification message;
4, customer end B knows it is the notice of deferred information by unique condition code, and to core net B responds SIP 200 OK message, this notification message has been received in expression;
5, core net B is transmitted to the IM server B with response message;
Above-mentioned steps 1-5 is the deferred information notice flow process of prior art, below step be that deferred information of the present invention obtains flow process:
6, customer end B sends SIP MESSAGE message, acquisition request deferred information to core net B; In the sip message head of this request message unique condition code is arranged, for example :+g.im.fetch, indicate to obtain the deferred information content;
7, core net B is forwarded to the IM server B with this sip message;
8, the IM server B is responded SIP 200 OK message to core net B, and expression receives that this obtains request;
9, core net B transmits SIP 200 OK to customer end B;
10, the IM server B is obtained deferred information from the deferred information storage server; This deferred information storage server can be to be provided with IM service unification, and the deferred information storage mode can be a database, can be file mode etc.; The message content that obtains includes but not limited to: sender, recipient, transmitting time, type of message, message size, coded format etc.;
11, the IM server B sends the deferred information of customer end B to core net B by SIP MESSAGE message;
12, core net B with this forwards to customer end B;
13, customer end B is to core net B responds SIP 200 OK message, and the deferred information content is received in expression;
14, core net B is transmitted to the IM server B with response message;
15, optional flow process if transmit leg requires to obtain the delivery report that the recipient successfully obtains the deferred information content, then has this flow process; The flow process that sends delivery report is referring to Figure 10 and Figure 11 process description about " customer end B sends the deferred information delivery report ".
Deferred information obtain manner two: customer end B is by sip message acquisition request deferred information content, the IM server B issues this message content by the MSRP transmission channel, as shown in Figure 7, the coexist home network of customer end B of customer end B, IM server B and core net B specifically comprises:
1-5, with the step 1-5 in the above-mentioned mode one, customer end B is registered to notifiedly after the IM system has a deferred information;
6, customer end B sends SIP MESSAGE message, the instant message content of storing in the system during acquisition request off-line to core net B; In the sip message head of this request message unique condition code is arranged, for example :+g.im.fetch, indicate to obtain the deferred information content;
7, core net B arrives the IM server B with this forwards;
8, the IM server B is responded SIP 200 OK message to core net B, and the request of obtaining is received in expression;
9, core net B with this 200 OK forwards to customer end B;
10, the IM server B sends the SIP INVITE to core net B, and the MSRP transmission channel is set up in request, arrives customer end B so that send the deferred information of storage;
11, core net B is forwarded to customer end B with this SIP INVITE;
12, customer end B is responded SIP 200 OK message to core net B, and request is received in expression;
13, core net B arrives the IM server B with these SIP 200 OK forwards;
14, the IM server B acknowledges receipt of SIP 200 OK message, and responds SIP ACK message is to core net B;
15, core net B gives customer end B with this SIP ACK forwards;
16, the IM server B is obtained the deferred information content of storage from the deferred information storage server;
17, set up the MSRP transmission channel between IM server B and the customer end B, the IM server B by MSRP SEND message, sends the deferred information content to customer end B on this transmission channel; Message content includes but not limited to: sender, recipient, transmitting time, type of message, message size, coded format etc.;
18, customer end B is returned 200 OK message by this transmission channel, and the expression client is received deferred information;
19, the IM server B sends SIP BYE end of message session to core net B, disconnects MSRP and connects;
20, core net B gives customer end B with this forwards;
21, customer end B responds SIP 200 OK message are given core net B;
22, core net B gives the IM server B with these SIP 200 OK forwards, disconnects MSRP and connects;
23, optional flow process if transmit leg requires to obtain the delivery report that the recipient successfully obtains the deferred information content, then has this flow process; The flow process that sends delivery report is referring to Figure 10 and Figure 11 process description about " customer end B sends the deferred information delivery report ".
Deferred information obtain manner three: customer end B is by MSRP transmission channel acquisition request deferred information content, the IM server B issues the deferred information content by the MSRP transmission channel, as shown in Figure 8, the coexist home network of customer end B of customer end B, IM server B and core net B specifically comprises:
1-5, with the 1-5 in the above-mentioned mode one, customer end B is registered to notifiedly after the IM system has a deferred information;
6, customer end B sends the SIP INVITE to core net B, and the MSRP passage is set up in request, so that what obtain storage is line message;
7, core net B arrives the IM server B with this forwards;
8, the IM server B is responded SIP 200 OK message to core net B, and request is received in expression;
9, core net B with these SIP 200 OK forwards to customer end B;
10, customer end B acknowledges receipt of SIP 200 OK message, and responds SIP ACK message is to core net B;
11, core net B gives the IM server B with this SIP ACK forwards;
12, the MSRP transmission channel of customer end B by setting up sends MSRPSEND message to the IM server B, and content type (Content-Type) and corresponding XML content indicate to obtain deferred information in this message, and for example: Content-Type is:
Application/vnd.im.msrp+xml, the xml content is:
<?xml?version="1.0"encoding="UTF-8"?>
<msrp?xmlns="um:oma:params:xml:ns:im:msrp"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:oma:params:xml:ns:im:msrp">
<message?type="fetch">
</message>
</msrp>
13, the IM server B is returned 200 OK message by this transmission channel, and expression IM server B is received message;
14, the IM server B is obtained message content from the deferred information storage server;
15, the IM server B sends MSRP SEND message by this transmission channel to customer end B, and this message comprises off-line instant message content;
16, customer end B is returned 200 OK message by this passage, and the expression client is received message;
17, after customer end B finishes receiving deferred information, send SIP BYE end of message session, disconnect MSRP and connect to core net B;
18, core net B gives the IM server B with this forwards;
19, IM server B responds SIP 200 OK message are given core net B;
20, core net B gives customer end B with forwards, and end is opened MSRP and connected;
21, optional flow process if transmit leg requires to obtain the delivery report that the recipient successfully obtains the deferred information content, then has this flow process; The flow process that sends delivery report is referring to Figure 10 and Figure 11 process description about " customer end B sends the deferred information delivery report ".
Deferred information obtain manner four: customer end B is by HTTP acquisition request deferred information, and as shown in Figure 9, the coexist home network of customer end B of customer end B, IM server B and core net B specifically comprises:
1-5, with the 1-5 in the above-mentioned mode one, customer end B is registered to notifiedly after the IM system has a deferred information;
6, customer end B sends HTTP request, acquisition request deferred information content to the IM server B;
7, the IM server B is obtained message content from the deferred information storage server;
8, the IM server B is responded HTTP request responding message 200 OK to customer end B, and is with the deferred information content;
9, optional flow process if transmit leg requires to obtain the delivery report that the recipient successfully obtains the deferred information content, then has this flow process; The flow process that sends delivery report is referring to Figure 10 and Figure 11 process description about " customer end B sends the deferred information delivery report ".
Customer end B sends the deferred information delivery report can pass through following dual mode:
Delivery report send mode one: customer end B sends delivery report by sip message, as shown in figure 10, and the coexist home network of customer end A of customer end A, IM server A and core net A; The coexist home network of customer end B of customer end B, IM server B and core net B specifically comprises:
1, after customer end B successfully receives the deferred information content, returns response message, in this message, comprise delivery report to the IM server B;
2, the IM server B sends the SIP NOTIFY to core net B, comprises delivery report in this message, and the notice customer end B is successfully received message;
3, core net B according to the address of the customer end A that sends deferred information with this forwards to the core net A under the transmitting terminal;
4, core net A gives the IM server A with this forwards;
5, after the IM server A is received delivery report, respond SIP 200 OK message to core net A, delivery report is received in expression;
6, core net A gives core net B with this forwards;
7, core net B gives the IM server B with this forwards;
8, the IM server A sends the SIP NOTIFY to core net A, comprises delivery report in this message;
9, core net A is transmitted to customer end A with the SIP NOTIFY;
10, customer end A responds SIP 200 OK message are given core net A, and delivery report is received in expression;
11, core net A gives the IM server A with SIP 200 OK forwards.
Delivery report send mode two: customer end B sends delivery report by the MSRP transmission channel, as shown in figure 11, and the coexist home network of customer end A of customer end A, IM server A and core net A; The coexist home network of customer end B of customer end B, IM server B and core net B specifically comprises:
1, after customer end B successfully receives the deferred information content, returns response message, in this message, comprise delivery report to the IM server B;
2, the MSRP transmission channel of foundation of IM server B and IM server A; If there has been the MSRP transmission channel between the two, can preferably multiplexing already present passage;
3, the IM server B sends MSRPREPORT message by this MSRP transmission channel to the IM server A, and the report customer end B is successfully received message;
4, the foundation of IM server A is transmitted with the MSRP of customer end A; If had the AMSRP transmission channel between IM server A and the client, can multiplexing already present passage;
5, the IM server A is transmitted MSRP REPORT message to customer end A by this MSRP transmission channel;
6, optional flow process after sending delivery report, if there is not session need use MSRP transmission channel between customer end A and the IM server A, can disconnect this passage, also can keep this passage so that other follow-up transmission of messages are used;
7, optional flow process after sending delivery report, if there is not session need use MSRP transmission channel between IM server A and the IM server B, can disconnect this passage, also can keep this passage so that other follow-up transmission of messages are used.
When the delivering report message amount more after a little while, can adopt first kind of mode to send, promptly send proper by sip message.If but had the MSRP transmission channel between IM server B and the IM server A, then preferably utilize existing MSRP transmission channel to send delivery report; If do not have the MSRP passage between the two before the transmission delivery report, then need a newly-built MSRP passage, and then transmit delivery report.
Describe as can be known by above flow process, the user can pass through sip message mode, MSRP transmission channel mode and HTTP request mode acquisition request deferred information content, in conjunction with transmission, the storing process of deferred information of the prior art, make the deferred information processing procedure become a total solution.Simultaneously, the invention provides multiple obtain manner, improved the flexibility of selecting.
Deferred information recipient user can pass through sip message mode and MSRP transmission channel mode after successfully receiving instant message, send delivery report to the message sender user.Wherein, the sip message mode is fit to the little delivery report of amount of information, and MSRP transmission channel mode is fit to the bigger delivery report of amount of information.If the MSRP transmission channel is set up, then preferably use MSRP transmission channel mode to report delivery report.The present invention is by the process of transmitting of delivery report, makes message sending end can confirm the message that receiving terminal successfully receives oneself and sends, and makes the deferred information processing procedure more complete, improved user's business impression.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (15)

1, a kind of method for obtaining off line message, be applied to adopt session initiation protocol SIP/ instant message and have the immediate news systems that utilizes expansion session initiation protocol SIMPLE, it is characterized in that, when client is registered to system, and after receiving the deferred information notice of affiliated instant message (IM) server transmission, carry out the following step:
A, client initiate to obtain the deferred information content requests to described IM server;
B, described IM server give this client with the deferred information down sending content of this client of preserving in the system.
2, the method for claim 1 is characterized in that, described client is obtained the deferred information content by SIP MESSAGE message to described IM server requests; Described IM server issues the deferred information content by SIPMESSAGE message or message session trunk protocol (MSRP) transmission channel and gives client.
3, method as claimed in claim 2 is characterized in that, comprises the condition code of acquisition request deferred information content in the message header of the SIPMESSAGE message that described client sends.
As claim 2 or 3 described methods, it is characterized in that 4, the SIP MESSAGE message of transmitting between described client and the described IM server is transmitted by the core net under this client.
5, the method for claim 1 is characterized in that, described client is obtained the deferred information content by the MSRP transmission channel to described IM server requests; Described IM server issues the deferred information content by the MSRP transmission channel and gives described client.
6, method as claimed in claim 5, it is characterized in that, described client sends MSRP SEND message by the MSRP transmission channel, acquisition request deferred information content, and in this message content type and corresponding expansion identifiable language (XML) content, obtain the deferred information content in order to indication request.
7, method as claimed in claim 5 is characterized in that, described IM server sends MSRP SEND message by the MSRP transmission channel, gives described client with the deferred information down sending content.
8, the method for claim 1 is characterized in that, described client is obtained the deferred information content by sending the HTTP(Hypertext Transport Protocol) request to described IM server; Described IM server carries the deferred information content of this client by 200 OK response messages, is handed down to client.
9, the method for claim 1 is characterized in that, comprise that also described IM server issues the deferred information content after, send the step of deferred information delivery report to system.
10, method as claimed in claim 9 is characterized in that, described IM server sends the deferred information delivery report to system, specifically comprises:
A, described IM server send described delivery report to IM server under this deferred information transmitting terminal after the message sink response that receives client;
The described delivery report of IM server forwards is given the client that sends deferred information under B, the deferred information transmitting terminal.
11, method as claimed in claim 10 is characterized in that, carries described delivery report by the SIP NOTIFY.
12, method as claimed in claim 11 is characterized in that, described steps A comprises:
The IM server sends and carries the SIP NOTIFY of delivery report to core net under the deferred information receiving terminal under A1, the deferred information receiving terminal;
Core net is forwarded to the affiliated core net of deferred information transmitting terminal with this SIP NOTIFY under A2, the deferred information receiving terminal;
Core net is forwarded to this SIP NOTIFY in the affiliated IM server of deferred information transmitting terminal under A3, the deferred information transmitting terminal;
Described step B comprises:
The IM server is forwarded to the affiliated core net of deferred information transmitting terminal with this SIP NOTIFY under B1, the deferred information transmitting terminal;
Core net is forwarded to this SIP NOTIFY the client that sends this deferred information under B2, the deferred information transmitting terminal.
13, method as claimed in claim 10 is characterized in that, in the described steps A, under the deferred information receiving terminal IM server by and the deferred information transmitting terminal under the MSRP transmission channel set up between the IM server, send described delivery report;
Among the described step B, under the deferred information transmitting terminal IM server by and send the MSRP transmission channel of setting up between the client of this deferred information, transmit described delivery report.
14, method as claimed in claim 13 is characterized in that, described MSRP transmission channel is for setting up passage or newly setting up passage.
15, method as claimed in claim 13 is characterized in that, when described delivery report transmit finish after, disconnect or keep described MSRP transmission channel.
CN2005101024536A 2005-07-28 2005-09-09 Method for obtaining off line message Active CN1859380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2005101024536A CN1859380B (en) 2005-07-28 2005-09-09 Method for obtaining off line message

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200510087247 2005-07-28
CN200510087247.2 2005-07-28
CN2005101024536A CN1859380B (en) 2005-07-28 2005-09-09 Method for obtaining off line message

Publications (2)

Publication Number Publication Date
CN1859380A true CN1859380A (en) 2006-11-08
CN1859380B CN1859380B (en) 2011-12-07

Family

ID=37298242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005101024536A Active CN1859380B (en) 2005-07-28 2005-09-09 Method for obtaining off line message

Country Status (1)

Country Link
CN (1) CN1859380B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007041937A1 (en) * 2005-10-11 2007-04-19 Huawei Technologies Co., Ltd. A method for sending and receiving the off-line message, a client apparatus, a server and a system
CN101193070B (en) * 2006-12-13 2010-08-18 腾讯科技(深圳)有限公司 Instant communication system, instant communication client and instant communication method
CN101242357B (en) * 2008-01-17 2010-09-29 中兴通讯股份有限公司 A realization method for mobile IP user notification service
CN103001984A (en) * 2011-09-14 2013-03-27 中兴通讯股份有限公司 Method and system for off-line management of mobile social network
CN101299785B (en) * 2007-04-30 2013-06-05 华为技术有限公司 Method, system and service server for processing conversation
CN103516747A (en) * 2012-06-25 2014-01-15 北京智慧风云科技有限公司 Method for transmitting data by offline terminal in remote server system
CN103546437A (en) * 2012-07-16 2014-01-29 中兴通讯股份有限公司 Method, UE (user equipment) and AS (application server) for transceiving offline messages in IMS (IP multimedia system)
CN103648085A (en) * 2013-12-11 2014-03-19 五八同城信息技术有限公司 Mobile terminal message transmitting method for overcoming network jitter
CN103959736A (en) * 2011-11-29 2014-07-30 Sk电信有限公司 Apparatus for transmitting file to terminal incapable of receiving signals and recording medium
CN104270335A (en) * 2014-06-26 2015-01-07 湖北安标信息技术有限公司 Multi-client message communication method based on browser
US9397968B2 (en) 2005-10-11 2016-07-19 Huawei Technologies Co., Ltd. Method for processing deferred message
CN106657357A (en) * 2016-12-29 2017-05-10 北京奇虎科技有限公司 Method and device for sending offline message
CN108337215A (en) * 2017-01-20 2018-07-27 中兴通讯股份有限公司 A kind of document transmission method and system, device, electronic equipment
CN109218422A (en) * 2018-09-12 2019-01-15 上海庆科信息技术有限公司 A kind of method, apparatus of information exchange, equipment and storage medium
CN112243012A (en) * 2019-07-16 2021-01-19 中国移动通信有限公司研究院 Offline message transmission method and device, server and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004326318A (en) * 2003-04-23 2004-11-18 Murata Mach Ltd Communication device
CN1642148B (en) * 2004-01-17 2012-06-20 腾讯科技(深圳)有限公司 Immediate communication treatment method

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007041937A1 (en) * 2005-10-11 2007-04-19 Huawei Technologies Co., Ltd. A method for sending and receiving the off-line message, a client apparatus, a server and a system
US9397968B2 (en) 2005-10-11 2016-07-19 Huawei Technologies Co., Ltd. Method for processing deferred message
CN101193070B (en) * 2006-12-13 2010-08-18 腾讯科技(深圳)有限公司 Instant communication system, instant communication client and instant communication method
CN101299785B (en) * 2007-04-30 2013-06-05 华为技术有限公司 Method, system and service server for processing conversation
CN101242357B (en) * 2008-01-17 2010-09-29 中兴通讯股份有限公司 A realization method for mobile IP user notification service
CN103001984A (en) * 2011-09-14 2013-03-27 中兴通讯股份有限公司 Method and system for off-line management of mobile social network
CN103959736A (en) * 2011-11-29 2014-07-30 Sk电信有限公司 Apparatus for transmitting file to terminal incapable of receiving signals and recording medium
CN103959736B (en) * 2011-11-29 2017-08-18 Sk电信有限公司 Send the file to the equipment and recording medium for the terminal that can not receive signal
CN103516747A (en) * 2012-06-25 2014-01-15 北京智慧风云科技有限公司 Method for transmitting data by offline terminal in remote server system
CN103546437A (en) * 2012-07-16 2014-01-29 中兴通讯股份有限公司 Method, UE (user equipment) and AS (application server) for transceiving offline messages in IMS (IP multimedia system)
CN103648085A (en) * 2013-12-11 2014-03-19 五八同城信息技术有限公司 Mobile terminal message transmitting method for overcoming network jitter
CN103648085B (en) * 2013-12-11 2018-09-21 五八同城信息技术有限公司 A kind of mobile terminal message transmission method overcoming network jitter
CN104270335A (en) * 2014-06-26 2015-01-07 湖北安标信息技术有限公司 Multi-client message communication method based on browser
CN104270335B (en) * 2014-06-26 2018-10-19 湖北微安交通安全研究院有限公司 Message intercommunicating method between multi-client based on browser
CN106657357A (en) * 2016-12-29 2017-05-10 北京奇虎科技有限公司 Method and device for sending offline message
CN108337215A (en) * 2017-01-20 2018-07-27 中兴通讯股份有限公司 A kind of document transmission method and system, device, electronic equipment
CN108337215B (en) * 2017-01-20 2021-07-27 中兴通讯股份有限公司 File transmission method, system and device and electronic equipment
CN109218422A (en) * 2018-09-12 2019-01-15 上海庆科信息技术有限公司 A kind of method, apparatus of information exchange, equipment and storage medium
CN112243012A (en) * 2019-07-16 2021-01-19 中国移动通信有限公司研究院 Offline message transmission method and device, server and terminal
CN112243012B (en) * 2019-07-16 2023-06-30 中国移动通信有限公司研究院 Offline message transmission method and device, server and terminal

Also Published As

Publication number Publication date
CN1859380B (en) 2011-12-07

Similar Documents

Publication Publication Date Title
CN1859380A (en) Method for obtaining off line message
CN1794723A (en) Processing method of off-line message
CN1863174A (en) Instant message system and message processing method
CN1794675A (en) Method of establishing instant data transmission channel to realize instant message transmission
CN101047662A (en) Method and system for implementing multi-identity immediate message communication and present service of single account number
CN101035317A (en) Service parameter configuration method and system and service parameter configuration unit
CN1893427A (en) Method for conducting business support ability consultation
CN100343835C (en) Program, information processing method and device
CN1801810A (en) Conversation initialization protocol message body content processing method and network
CN1852453A (en) One-card multi-number business call-in and call-out method
CN1941711A (en) Method for controlling or setting a communication session and corresponding device thereof
CN1794692A (en) Communication system and method of inquiring information in communication system
CN101068378A (en) Method, system and equipment for realizing multimedia information service system disaster recovery
CN1665324A (en) Method for constructing press-and-speak communication linkage and press-and-speak customer unit and communication device thereof
CN1889771A (en) A HLR and inserting IMS domain method and system for traditional mobile terminal
CN1930895A (en) System and method of interworking messages between mobile communication terminals
CN1889603A (en) Click-to dial service realizing method
CN1889586A (en) A log-on/log-down system and log-on/log-down method
CN1859395A (en) Service realizing system and method for IP multimedia subsystem
CN1859270A (en) Dynamic content transfer method and system
CN101047630A (en) System for implementing short message service and method for transmitting short message
CN101047705A (en) Report process method, server for customer agent file information and its customer terminal
CN1960408A (en) Multimedia responsion method in interactive mode in use for interactive multimedia responsion method
CN101047655A (en) Message route method and system based on IP transmission
CN1863176A (en) System and method for packaging transmission message in message conversation trunking protocol

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