WO2010020121A1 - 消息发送过程中切换终端的方法及设备 - Google Patents
消息发送过程中切换终端的方法及设备 Download PDFInfo
- Publication number
- WO2010020121A1 WO2010020121A1 PCT/CN2009/070987 CN2009070987W WO2010020121A1 WO 2010020121 A1 WO2010020121 A1 WO 2010020121A1 CN 2009070987 W CN2009070987 W CN 2009070987W WO 2010020121 A1 WO2010020121 A1 WO 2010020121A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- message
- switching
- handover
- sending
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 230000005540 biological transmission Effects 0.000 title claims abstract description 68
- 230000010354 integration Effects 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000010295 mobile communication Methods 0.000 abstract description 2
- 230000011664 signaling Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000000977 initiatory effect Effects 0.000 description 4
- 235000002020 sage Nutrition 0.000 description 4
- 239000000725 suspension Substances 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 2
- 101100113576 Arabidopsis thaliana CINV2 gene Proteins 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0016—Hand-off preparation specially adapted for end-to-end data sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1083—In-session procedures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1083—In-session procedures
- H04L65/1094—Inter-user-equipment sessions transfer or sharing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/02—Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
- H04W36/023—Buffering or recovering information during reselection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Definitions
- the present invention relates to the field of mobile communications technologies, and in particular, to a method and device for switching terminals in a message sending process. Background technique
- the Open Mobi le Al 1 iance (OMA) specification supports multi-terminal multi-address, ie, a user's record address (Addres s of Record) Corresponding to a plurality of terminals owned by him/her, or one user having a plurality of terminals registered as different record addresses. These users can choose to use any of the registered terminals to communicate.
- the 0MA specification allows multiple terminals of the user to simultaneously participate in the session, and also allows the user to switch terminals during the session.
- terminal handover during message transmission can be implemented in the following manner.
- a session channel needs to be established between the message sending terminal and the pre-switching terminal. If the terminal wants to perform the terminal handover operation before the handover, it first instructs the message sending terminal to stop sending a message to it, and then sends a terminal handover message to the message sending terminal, instructing the message sending terminal to perform the terminal switching operation. Thereafter, the message transmitting terminal establishes a session with the switched terminal according to the terminal switching message. Then, the terminal exits the session with the message transmitting terminal before switching.
- Embodiments of the present invention provide a method and a device for switching a terminal during a message transmission process, so that the switched terminal can accurately receive a message.
- An embodiment of the present invention is a method for switching a terminal in a message sending process.
- the following technical solution is used:
- a method for switching a terminal during a message sending process includes the following steps:
- the terminal handover request includes an identifier of the terminal after handover and a message transmission indication parameter
- a method for switching a terminal during a message sending process includes the following steps:
- the terminal handover request includes an identifier of the terminal after handover and a message transmission indication parameter
- a terminal comprising:
- a handover request receiving unit configured to receive a terminal handover request sent by the terminal before the handover, where the terminal handover request includes an identifier of the terminal before handover, an identifier of the terminal after handover, and a message transmission indication parameter;
- a message sending unit configured to send, according to the message sending indication parameter, a corresponding message to the home terminal after the handover or the pre-switching terminal.
- a terminal comprising:
- a handover request generating unit configured to generate a terminal handover request, where the terminal handover request includes an identifier of the terminal before handover, an identifier of the terminal after handover, and a message transmission indication parameter;
- a communication device comprising:
- a first session channel establishing unit configured to receive a session establishment request message sent by the terminal before the handover, and establish a session channel with the pre-switching terminal, where the session establishment request message includes the first message identifier parameter and the first message range Parameter
- a second session channel establishing unit configured to receive a session establishment request message sent by the message sending terminal, and establish a session channel of the message sending terminal, where the second session identifier request message includes a second message identifier parameter and a second message range Parameter
- a receiving unit configured to receive, by using a session channel established with the pre-switching terminal and a session channel established with the message sending terminal, a message sent by the pre-switching terminal and the message sending terminal according to the terminal switching request;
- an integration unit configured to integrate the received pre-switching terminal and the message sending terminal according to the first message identification parameter, the first message range parameter, the second message identification parameter, and the second message range parameter.
- a server comprising:
- a request receiving unit configured to receive a terminal handover request sent by the terminal before the handover, where the terminal switching request includes an identifier of the terminal before the handover, an identifier of the terminal after the handover, and a message sending indication parameter;
- a switching operation unit configured to send, according to the terminal switching request received by the request receiving unit, a message of the terminal before switching and the terminal after switching, or a message received by the terminal before switching and the terminal after switching to the terminal after switching.
- the embodiment of the invention provides a method and a device for switching a terminal in a message sending process, and performs switching by using an identifier of the terminal before the handover and a identifier of the terminal after the handover in the terminal handover request sent by the terminal before the handover, and a message sending indication parameter.
- the operating entity can accurately send the message between the terminal before the handover to the terminal after the handover.
- FIG. 1 is a schematic diagram of a system for switching a terminal during a message transmission process according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for switching a terminal during a message sending process according to an embodiment of the present invention
- FIG. 3 is a flowchart of a first embodiment of a method for switching a terminal in a message sending process according to an embodiment of the present invention
- FIG. 4 is a flowchart of a second embodiment of a method for switching a terminal in a message sending process according to an embodiment of the present invention
- FIG. 6 is a flowchart of a fifth embodiment of a method for switching a terminal in a message sending process according to an embodiment of the present invention
- FIG. 7 is a flowchart of a message sending process according to an embodiment of the present invention
- FIG. 8 is a flowchart of a seventh embodiment of a method for switching a terminal in a message sending process according to an embodiment of the present invention
- FIG. 9 is still another flow of a method for switching a terminal in a message sending process according to an embodiment of the present invention
- Figure 10 is a schematic diagram of a terminal according to an embodiment of the present invention.
- Figure 11 is a structural diagram of the terminal of the embodiment of the present invention shown in Figure 10;
- FIG. 12 is a schematic diagram of a terminal according to an embodiment of the present invention.
- FIG. 13 is a structural diagram of a terminal according to an embodiment of the present invention shown in FIG. 12;
- FIG. 14 is a schematic diagram of a communication device according to an embodiment of the present invention.
- FIG. 15 is a schematic diagram of a server according to an embodiment of the present invention.
- Figure 16 is a structural diagram of the server of the embodiment of the present invention shown in Figure 15.
- the system for switching a terminal during message transmission in the embodiment of the present invention includes the following components: a pre-switching terminal 101, a home server 102 of the pre-switching terminal, a message transmitting terminal 103, and a post-switching terminal 104.
- the pre-switching terminal 101 is configured to send a terminal handover request to the message sending terminal 101 or the home server 102 of the pre-switching terminal, where the terminal switching request includes a pre-switching terminal. And the identity of the terminal after the handover, and the message sending indication parameter; and/or the buffered message sending terminal
- a message between 103 is sent to the server 102;
- the home server 102 of the pre-switching terminal is configured to, when the message between the message sending terminal 103 and the pre-switching terminal 101 is buffered, send a message to the message transmitting terminal 103 and the pre-switching terminal 101 according to the terminal switching request.
- the terminal terminal 104 or for forwarding the terminal handover request to the message sending terminal 103 when the message between the message transmitting terminal 103 and the pre-switching terminal 101 is not buffered; or for receiving by the message transmitting terminal 103 and before switching
- the message sent by the terminal 101, and the message is integrated, and sent to the terminal 104 after switching;
- the message sending terminal 103 is configured to: when the home server 102 of the pre-switching terminal does not buffer the message between the message sending terminal 103 and the pre-switching terminal 101, send the message to the post-switching terminal 104 according to the terminal switching request. Sending a message between the sending terminal 103 and the pre-switching terminal 101; or for transmitting a corresponding message to the home server 102 of the pre-switching terminal according to the terminal switching request, so that the server sends the message to After switching, the terminal is used to send a message corresponding to the terminal handover request to the terminal 104 after handover;
- the terminal 104 is configured to receive a message sent by the message sending terminal 103 or the home server 102 of the pre-switching terminal or the pre-switching terminal 101, and perform a subsequent session with the message sending terminal 103.
- the terminal 104 after the handover is further configured to integrate the message sent by the message sending terminal and the pre-switching terminal when the message sending mode is the message connection sending mode.
- the message sending indication parameter in the terminal handover request sent by the terminal 101 before the handover may be a message identifier, a message deployment type, a message generation time, a message range to be sent, a message sending manner, and the like.
- the message sending manner may be: a message resending method, a message connection sending manner, and the like.
- the message retransmission mode refers to an entity that performs a handover operation of the terminal, and retransmits a message that matches the message sending indication parameter between the message sending terminal and the pre-switching terminal to the terminal after handover.
- the entity performing the terminal handover operation may be the server or a message sending terminal.
- the server can be divided into two types of servers: a stateful server and none. State server.
- the stateful server may have the following two functions: a function of signaling and a function of signaling forwarding between the message sending terminal and the session path of the pre-switching terminal.
- it is preset by the service provider. That is, the server may cache and forward the message sent by the message sending terminal and the pre-switching terminal, or may just forward the message between the message sending terminal and the pre-switching terminal.
- the server When the server is located on a media path of a session between the message sending terminal and the pre-switching terminal, that is, when the server caches a message between the message sending terminal and the pre-switching terminal, the server may switch according to the terminal. The relevant information in the request will be resent by the message transmitting terminal to the terminal after the handover. Alternatively, when the server only plays the role of signaling forwarding, the message sending terminal sends the message between the terminal and the pre-switching terminal to the switched terminal.
- the message connection manner is that the entity performing the handover operation sends the corresponding message to the switched terminal separately.
- the terminal sends the message sent by the received message sending terminal to the switched terminal and the message that the message sending terminal does not send to the pre-switching terminal. Sending to the terminal after handover, and then integrating the received message by the terminal after handover; (2) transmitting, by the terminal before handover, the message sent by the received message sending terminal to the server and not being sent by the message sending terminal to the terminal before switching
- the message is sent to the server, and then the server integrates the received message and sends it to the switched terminal.
- the terminal handover request of the pre-switching terminal may be implemented by the following types of messages: (1) SIP in the Session Initiation Protocol (SIP) The REFER (SIP Reference Message) message is extended such that the extended SIP REFER message can not only transmit the message of the terminal handover as described in the prior art, but also carry the message transmission indication parameter in the extended SIP REFER. (2) After extending the SIP INVITE message in the SIP protocol, combined with the SIP REFER message in the existing protocol, the extended SIP INVITE message is used to carry the message sending indication parameter, and then by the IP address. The REFER message transmits terminal switching information.
- SIP Session Initiation Protocol
- REFER SIP Reference Message
- the SIP REFER message is the same as that in the prior art, and is used for performing a handover operation of the terminal;
- the extended SIP INVITE message carries a message sending indication parameter, so that the entity performing the message sending operation can send a corresponding message to the terminal after the handover.
- the method for switching a terminal in a message sending process includes the following steps: Step 21: Receive a terminal handover request sent by a terminal before handover, where the terminal handover request includes an identifier of the terminal after handover The message is sent with an indication parameter.
- the terminal identifier before handover may also be included in the terminal handover request.
- Step 11 Send a message to the terminal after the handover according to the switched terminal identifier and the message sending indication parameter.
- the main body performing the terminal handover operation may be the home server of the pre-switching terminal or the message transmitting terminal.
- the terminal handover process in the message transmission process is implemented in different message transmission modes in combination with different embodiments.
- the message transmitting terminal is represented by UE A
- the home server of UE A is represented by Server A
- the terminal before handover is represented by UE B.
- the terminal home server is represented by Server B
- the terminal is represented by UE C.
- the message sent by UE A to UE B or UE C needs to go through UE A- Server A- Server B-UE B or UE C.
- the message sent by UE B or UE C to UE A needs to go through UE B or UE C_ Server B- Server A_UE A.
- UE B and UE C may also belong to different servers. When the two belong to different servers, the message between UE A or UE B and UE C needs to pass through UE C's home server Server C instead of Server B. Forward.
- the terminal handover in the process of implementing the message transmission can be completed by means of message resending and message transmission.
- the following two forms of terminal handover request can be implemented: an extended SIP REFER message, a combination of an extended SIP re-INVITE message and a SIP REFER message.
- an extended SIP REFER message a combination of an extended SIP re-INVITE message and a SIP REFER message.
- the sending manner of the message sending indication parameter in the terminal switching request is a message resending mode, and the terminal switching request is an extended SIP REFER message.
- the server processes the terminal handover request.
- the method for switching a terminal in a message sending process includes the following steps: Step 31: UE A sends an MSRP SEND message to Server B through an MSRP media channel.
- a multimedia session is performed between the UE A and the UE B, that is, the SEP (Session Description Protocol)-based OFFER provided by the SIP (Session Initiation Protocol) during the session establishment or update phase of the UE A and the UE B.
- SEP Session Description Protocol
- SIP Session Initiation Protocol
- /ANSWER answered mode
- agree on the message parameters to be transmitted in the session such as: message identifier File-Selector, where the message identifier includes the message name, message size, message type, global unique hash value, etc., message Deployment type, message generation time, and more.
- UE A sends a large message to UE B, for example, by sending an MSRP SEND message through the established MSRP media channel, and Server B is in the media path of the session between UE A and UE B.
- Step 32 Server B sends a response message MRSP 200 0K to UE A.
- Step 33 The server B receives, according to the preset setting, a part of the message sent by the UE A to the UE B, such as the first 300 bytes of the message, (file range: 1 - 300), and sends the MSRP SEND message to The UE B.
- Step 34 UE B returns a response message MRSP 200 0K to Server B.
- Step 35 UE A continues to send an MSRP SEND message to Server B.
- Step 36 Server B returns a response message MRSP 200 0K to UE A.
- Step 37 Server B caches the message, for example, the range of the cached message is: file range:
- Step 38 If UE B wants to perform handover of the terminal at this time, UE B sends a pause reception response message MSRP 413 Response to Server B, instructing Server B to stop sending a message to UE B.
- Step 39 UE A continues to send an MSRP SEND message to Server B, and Server B caches the message.
- the range of the cacheable message is file range: 701 - 1000.
- Step 311 UE B sends an extended terminal handover request message S IP REFER to Server B.
- the terminal switching request can allow the terminal UE B to correctly receive the UE B unreceived message after the handover.
- the "Refer-To" header field of the extended SIP REFER message further carries a message sending indication parameter when the terminal is switched, and includes: a message identifier Fi le - Se lector, where the message identifier includes a message name, a message size, a message type, Globally unique hash value, message deployment type, message generation time, message delivery range, or message delivery mode.
- the Refer-To header field can be represented in the following form:
- Step 312 Server B sends an accept message SIP 202 Accept to UE B.
- Step 313 Server B sends an invite SIP INVITE message to UE C according to the identifier of the terminal UE C after the handover in the extended S IP REFER message, to establish a message transmission session channel with UE C.
- Server B After receiving the extended SIP REFER message, Server B first determines whether it caches the message sent between UE A and UE B. In the embodiment of the present invention, Server B caches the above message because Server B simultaneously performs its functions of buffering messages and signaling forwarding according to the setting of the service provider.
- the message transmission mode is the message retransmission mode
- the message transmission range is all messages.
- the SIP invite message carries the sending indication parameter of the terminal handover request, so as to add a message sending capability to the established session channel, so that the server B can send the buffered message to the terminal UE C after the handover.
- Step 314 UE C sends a response message to Server B agreeing to establish a session channel.
- SIP 200 0K Message.
- Step 315 Server B returns an acknowledgement message S IP ACK for establishing a session channel to UE C.
- Step 316 After the UE C successfully joins the session with the server B, the server B sends a notification message SIP N0TIFIY to the UE B, and notifies the UE B terminal that the handover operation is successful.
- Step 317 UE B sends a handover operation success response message SIP 200 0K to Server B.
- Step 318 The UE sends an exit session message SIP BYE to Server B to exit with Server.
- Step 319 Server B sends a consent to exit session response message SIP 200 0K to UE B.
- Step 320 After passing the established session channel, Server B sends the cached message to UE C through the MSRP SEND message according to the message sending range and other parameters in the message sending indication parameter.
- Step 321 The UE C returns a response message SIP 200 OK, and receives the message.
- the message transmission range is all messages in the embodiment of the present invention.
- the sending manner of the terminal handover request message transmission indication parameter is a message retransmission mode
- the terminal handover request includes an extended session initial protocol update message (SIP re-INVITE) and a session initial protocol reference.
- Message SIP REFER
- the terminal handover request is processed by the server.
- the method for switching a terminal in a terminal message sending process includes the following steps:
- steps 41 - 410 are the same as steps 31 - 310 in the first embodiment.
- Step 411 UE B sends a terminal handover request SIP REFER to Server B, indicating the server.
- the terminal handover request includes: an identifier of the message transmitting terminal UE A, an identifier of the terminal UE B before handover, and an identifier of the terminal UE C after the handover.
- Step 412 Server B returns an accept message SIP 202 Accept to UE B.
- Step 413 The Server B sends an invite message to the UE C according to the identifier of the UE C.
- INVITE to establish a message transmission session with UE C, requesting UE C to join the session.
- Step 4 4 , UE C sends a response message SIP 200 0K of the invite message to Server B.
- Step 415 Server B then sends an acknowledgement message SIP ACK to UE C.
- the parameter “file-receiver_list” may be added in the message transmission indication parameter part, the purpose is to indicate the address of the other receiving terminal of the message, and the value may be specific.
- the URI of the SIP UA SIP User Agent
- Content-Type is "aplication/resource-1 ists+xml". Corresponding value.
- Step 417 Server B returns a response message SIP 200 0K to UE B.
- Step 418 UE B returns an acknowledgement message SIP ACK to Server B.
- Step 419 After receiving the SIP re-INVITE message, Server B first determines whether it is in the message transmission media path of UE A and UE B, that is, whether to cache the message. In this embodiment, Server B simultaneously performs its function of buffering messages and signaling forwarding according to the settings of the service provider. Therefore, the Server B will establish a session with the terminal UE C by inviting the message SIP INVITE according to the "file-receiver-list" parameter in the message transmission indication parameter.
- Step 420 UE C sends a response message SIP 200 0K to Server B.
- Step 421 Server B then sends an acknowledgement message SIP ACK to UE C.
- Step 422 The Server B sends the cached message to the UE C after the handover according to the session channel established with the UE C by using the MSRP SEND message.
- Step 423 UE C returns a response message MSRP 200 0K to Server B.
- Step 424 After the UE C successfully joins the session with the server B, the server B sends a notification message SIP N0TIFIY to the UE B, and notifies the UE B terminal that the handover operation is successful.
- Step 425 UE B sends a response message SIP 200 0K to Server B.
- Step 426 The UE sends an exit session message SIP BYE to the server B, and exits the session with the server B.
- Step 427 Server B sends a response message to UE B. SIP 2000K o
- the sending mode of the message sending indication parameter carried in the terminal switching request is a message resending mode
- the terminal switching request is an extended SIP REFER message
- the message transmitting terminal processes the terminal switching request.
- the method for switching a terminal in a message sending process includes the following steps:
- Step 51 UE A sends an MSRP SEND message to UE B through Server B, where the range of the sent message is: f i le-range: 1-300.
- Step 52 UE B returns a response message MSRP 200 0K to UE A.
- Server B is not in the media path, that is, Server B only plays the role of signaling forwarding.
- Step 53 UE A continues to send an MSRP SEND message to UE B.
- Step 54 At this time, UE B performs terminal handover, so UE B returns a suspension reception response message MSRP 413 Response to UE A through Server B.
- Step 55 - 57 UE B sends a terminal handover request message SIP REFER to UE A through Server B.
- the SIP REFER message carries a message sending indication parameter, where the message sending mode is a message resending mode, and the message sending range is all messages.
- Server B only acts as a signaling forwarder. Therefore, after receiving the message, Server B forwards the message directly to UE A.
- Steps 58-510 UE A sends an accept message SIP 200 Accept to UE A via Server B. Steps 511 - 513. After receiving the SIP REFER message of the UE B, the UE A sends an invitation message SIP INVITE to the terminal UE C after the handover indicated by the message B to perform the new terminal invitation required for the terminal handover. Steps; on the other hand, the SIP INVITE request additionally carries a message sending indication parameter for the S IP REFER message extension, thereby adding a message sending capability to the session established by the UE A and the UE C, to allow the UE A to The message requested to be sent in the SIP REFER is sent to the terminal UE C after handover. Steps 514-516, UE C sends an accept message S IP 200 OK message to UE A via Server B. Steps 517-519, UE A sends an acknowledgement message SIP ACK to UE C via the server.
- Step 520 - 522 After the handover succeeds, UE A sends a notification message S IP N0TIFY to UE B via Server B.
- Step 523-525 UE B sends an acknowledgement message S IP 200 0K to UE A via Server B.
- Steps 526 - 528 UE B sends an exit session message S IP BYE to UE A via Server B to terminate the session with UE A.
- Steps 529-531 UE A sends a response message S IP 200 0K to UE B via Server B.
- Step 532 Based on the established session channel, the UE sends the indication parameter according to the message, and retransmits the corresponding message to the UE C after the handover by using the MSRP SEND message.
- Step 533 UE C sends a response message to UE A, MSRP 2000K o
- the message sending manner is a message retransmission mode
- the terminal switching request includes an extended session initial protocol update message (S IP re-INVITE ) and a session initial protocol reference message ( S IP REFER ), by the message transmitting terminal as an entity performing a terminal switching operation.
- S IP re-INVITE extended session initial protocol update message
- S IP REFER session initial protocol reference message
- the fourth embodiment is different from the second embodiment in that, according to the setting of the service provider, Server B only plays the role of signaling forwarding, that is, it will not cache the message between UE A and UE B. Rather, the message sent directly by UE B to UE A or the message sent by UE A to UE B is forwarded.
- the terminal handover in the process of implementing the message transmission can be completed by means of message retransmission and message transmission.
- Server B only uses its signaling forwarding function, and also forwards the message between UE A and UE B.
- the message sending manner is a message connection sending manner
- the terminal switching request includes an extended S IP REFER message.
- the method for switching a terminal in a message sending process includes the following steps;
- Step 61 UE A sends an MSRP SEND message to UE B.
- the UE ⁇ and the UE ⁇ perform a multimedia session, that is, the UE ⁇ and the UE ⁇ in the session establishment or update phase, and the SDP (Session Description Protocol)-based OFFER/ANSWER provided by the SIP (Session Initiation Protocol)
- the (answer mode) mechanism agrees on the message parameters to be transmitted in the session, such as: Message identifier F i le-Se lec tor parameters, including message name, message size, message type, globally unique hash value, etc., message deployment type, Message generation time, etc.
- UE A sends a large message to UE B, for example, the MSRP SEND message is sent through the established MSRP media channel, and Server B is in the media path of the session, that is, the MSRP SEND message sent by UE A first arrives at Server B. After receiving the message forwarded by Server B, UE B caches the corresponding message.
- Step 62 UE B sends a response message MSRP 2000 0K to UE A.
- Step 63 UE A still sends an MSRP SEND message to UE B.
- Step 64 If UE B wants to perform the operation of switching the terminal. Therefore, UE B sends a Suspension Receive Response message MSRP 41 3 Response Response message to Server B, and Server B sends the response message to UE A, instructing UE A to stop sending a message to it.
- Steps 65-67 UE B will send an extended terminal handover request S IP REFER to Server B.
- the extended SIP REFER message is basically the same as that described in the foregoing embodiment, except that the message sending range in which the message transmission indication parameter is carried is no longer all messages, but the UE A will be the UE.
- a message that UE B is not buffered between B and UE A is sent to the terminal UE C after handover. For example, if the message between UE A and UE B is 100 bytes and UE B has received 300 bytes, then in the message transmission indication parameter, the message transmission range is the remaining 700 bytes.
- Server B then sends the extended S IP REFER message to UE A.
- Steps 68-610 UE A sends an accept message to Server B; Server B sends an accept message to UE B.
- UE A sends an invite message S IP INVITE to the UE C after the handover through the server B, requests to establish a message transmission session channel with the UE C, and sends a session channel through the message according to the request of the message transmission indication parameter. Send a message to UE C.
- the second message identification parameter and the second message range parameter may be carried by the following message:
- Step 617-619 UE A sends an acknowledgement message SIP ACK to UE C via Server B.
- Steps 620-622 UE A sends a notification message SIP N0TIFIY to UE B via Server B, and the UE B terminal handover operation is successful.
- Steps 623-625 UE B sends a response message SIP 200 0K to UE A via Server B.
- Steps 626-628 UE B sends an exit session message SIP BYE to UE A via Server B, and exits the session with Server B; Server B sends a message that UE B successfully exits the session to UE C.
- Steps 629-631 UE A sends a response message SIP 200 0K to UE B via Server B.
- Steps 632 - 633 UE A sends a corresponding message to UE C through an MSRP SEND message.
- Step 623 UE C sends a response message MSRP 200 0K to UE A.
- Steps 634 - 635 UE B sends a SIP INVITE to the terminal UE C after handover through Server B.
- the message requesting to establish a message transmission session channel with the UE C, and sending a message to the UE C through the message sending session channel to send a message indicating that the parameter is required to be sent; likewise, as in step 611, the SIP INVITE in step 634
- the message includes a first message identification parameter and a first message range parameter, which have the same meaning.
- Steps 636-637 UE C sends a response message S IP 200 0K to UE B through Server B.
- Steps 638-639, the UE ⁇ sends an acknowledgement message S IP ACK to the terminal UE C after the handover through the Server.
- Step 640 - 641 UE B sends a corresponding message to UE C through the MSRP SEND message, and receives a response message MSRP 200 OK message sent by UE C.
- UE C After receiving the messages from UE A and UE B respectively, UE C integrates the partial messages according to the first message identification parameter and the first message range parameter, and the second message identification parameter and the second message range parameter.
- UE B sends an exit session message S IP BYE to UE C through Server B, and quits the session with UE C.
- Step 644-645 UE C sends a response message S IP 200 0K to UE B through Server B.
- the message sending manner is a message connection sending manner
- the terminal switching request includes an extended session initial protocol update message (S IP re-INVITE ) and a session initial protocol reference message ( S IP REFER ).
- the method for switching a terminal in a message sending process includes the following steps:
- Steps 71 - 74 are the same as steps 61 - 64 in the fifth embodiment.
- Steps 75 - 77 The UE B sends a terminal handover request S IP REFER to the server B, and the server B forwards the message to the UE A, instructing the UE A to perform handover of the terminal.
- the message includes: an identifier of the message sending terminal UE A, an identifier of the terminal UE B before the handover, and an identifier of the terminal UE C after the handover;
- Steps 78-710 UE A sends an accept message SIP 202 Accept to UE B via Server B. Step 71 1 - 71 3.
- the UE A passes the Server B to the UE C according to the identifier of the UE C.
- Steps 714-716 UE C sends a response message SIP 200 OK to UE A via Server B, and agrees to force the session into the session.
- Step 717-719 the UE A sends an acknowledgement message SIP SCK to the UE C through the server B.
- Step 720 - 722 UE B sends an extended update message SIP re- INVITE message to Server B, and the SIP B sends the SIP re-INVITE message to UE A, in the extended
- the SIP re-INVITE message carries the identifier of the terminal after the handover, and the message sending indication parameter, where the message sending indication parameter is used to indicate the range of the message that the message sending terminal UE A needs to send to the terminal UE C after the handover.
- Steps 723-725 UE A sends an acknowledgement message to UE B through Server B. SIP 200 OK. Steps 726-728, UE A sends an acknowledgement message S IP ACK to UE A through Server B.
- Steps 729-731 UE A sends an invite message SIP INVITE to UE C according to the identifier of the terminal after handover, and establishes a message sending session channel with UE C.
- Steps 732-734 UE C sends a response message SIP 200 0K to UE A through Server B. Steps 735-737, UE A sends an acknowledgement message SIP ACK to UE A through Server B.
- Step 738 - 739 UE A sends an MSRP SEND message, and sends a corresponding message to UE C according to the message sending range in the message indication parameter; UE C returns an MSRP 200 0 message to it.
- Step 740-741 The UE sends an invite message SIP INVITE to the UE C through the Server B to establish a session channel with the UE C.
- the SIP INVITE message sent by the UE A and the UE B to the UE C respectively carries a first or second message identification parameter, and a first or second message range parameter, so that the UE C receives each part of the message. After that, the message can be integrated.
- Steps 742-743 UE C sends a response message SIP 200 0K to UE B through Server B.
- Steps 745-746 UE B sends a response message SIP 200 0K to UE C through Server B. Steps 747 - 748, UE B will send the corresponding message cached on it by MSRP SEND message. The UE C 0 UE C sends a response message MSRP 200 0K to UE B.
- Steps 749-750 UE B sends an exit session message S IP BYE to UE C through Server B, exits the session with UE C, and receives the response message S IP 200 0K of UE C through Server B.
- Steps 751-752 UE C sends a response message S IP 200 0K to UE B through Server B. Finally, the received partial messages are integrated by UE C.
- the message transmission process may also be performed first, and then the terminal switching operation process is performed.
- the message sending manner is a message connection sending manner
- the terminal switching request includes an extended session initial protocol invite message (S IP INVI TE ).
- the method for switching a terminal in a message sending process according to a seventh embodiment of the present invention includes the following steps:
- Step 81 UE A sends an MSRP SEND message to UE B through the MSRP media channel.
- a multimedia session between UE A and UE B that is, an SDP (Session Description Protocol)-based OFFER/ANSWER (Answer Mode) mechanism provided by UE A and UE B during the session establishment or update phase through SIP (Session Initiation Protocol)
- SDP Session Description Protocol
- ANSWER Alarm Mode
- SIP Session Initiation Protocol
- the message parameters to be transmitted in the session are agreed upon, for example: message identifier F i le-Se lec tor parameters, including message name, message size, message type, global unique hash value, etc., message deployment type, message generation time, and the like.
- the UE sends a large message to the UE B, for example, the MSRP SEND message is sent through the established MSRP media channel, and the server B is in the media path of the session, that is, the MSRP SEND message sent by the UE A first arrives at the server B.
- UE B caches the corresponding message.
- Step 82 UE B sends a response message MSRP 200 0K to UE A.
- Step 83 UE A continues to send an MSRP SEND message to UE B.
- Step 84 UE B wants to perform terminal handover, so UE B returns a suspension reception response message MSRP 41 3 Res pons e to UE A through Server B.
- Step 85 UE B sends an invite message S IP INVITE to Server B to indicate that the terminal handover is performed.
- Carry the content type (Content-Type) in the message body of the SIP INVITE as "appl ica t ion/sdp" describes the SDP part of the session media type, and the session type of the content type (Content-Type) is "ap l ica t ion / resource-1 ist s+xml " Table section.
- the SDP part describing the session media type gives a media type description part before the session handover including the message transmission indication parameter, by which the server B can establish a switched session with the UE A, the UE C, respectively, and the session has Message transmission capability.
- the session participant list section gives the terminal S IP URI identifier to be contacted by the server B, and the message transmission indication parameter extended by the embodiment of the present invention to control message transmission to different terminals.
- the message sending indication parameter includes: a message transmission direction attribute, a message sending range, and the like.
- Server B establishes a session with UE B based on the received SIP INVITE request.
- Step 86 Server B sends a response message SIP 200 0K to UE B.
- Step 87 UE B sends an acknowledgement message SIP ACK to Server B.
- Steps 88 - 89 Server B sends an invitation message SIP INVITE to UE A through Server A.
- the session description and the message transmission control information received in step 85 are carried in the SIP INVITE message, so as to establish a session channel with the UE A, and instruct the UE A to send the remaining part of the message (fi le-range: 301-1000) .
- Steps 810-811 UE A sends a response message SIP 200 0K to Server B through Server A.
- Step 815 UE C sends a response message SIP 200 0K to Server B.
- Step 816 Server B sends an acknowledgement message SIP ACK to UE C, thereby establishing a session channel with UE C.
- Steps 817 - 819 UE A sends an exit session message S IP BYE to UE B via Server A and Server B, requesting to terminate the session between the two, and indirectly implementing terminal handover.
- Steps 820-822 UE B sends a response message to UE A via Server B and Server A.
- SIP 200
- Steps 823 - 824 UE B sends an MSRP SEND message to Server B, and transmits a partial message (fi le-range: 1-300) received before.
- Server B sends a response message MSRP 200 0K to UE B.
- Step 825 - 826 UE ⁇ MSRP SEND message sent to the Server B, the remaining portion of the transmission message (fi le- range: 301-1 000) 0 Server B sends a response message to the MSRP 200 0K UE A.
- Steps 827-828 Server B continues to be a complete message according to different received messages, and sends an MSRP SEND message through the session channel with UE C, and sends the complete message to UE C.
- UE C sends a response message MSRP 200 0K to Server B.
- Steps 828 - 830 the UE sends an exit session message S IP BYE to Server B.
- Server B sends a response message S IP 200 OK to UE B to terminate the session between the two.
- the embodiment of the present invention further provides a method for switching a terminal during a message sending process, including the following steps:
- Step 91 The terminal generates a terminal handover request, and the terminal handover request includes an identifier of the switched terminal and a message sending indication parameter.
- the message sending indication parameter includes a message identifier, a message range to be sent, and a message sending manner.
- the message sending manner includes: a message resending method, and a message connection sending manner.
- the terminal identifier before handover may also be included in the terminal handover request.
- Step 92 The terminal sends the terminal handover request before the handover, so that the receiver of the terminal handover request sends a message to the handover terminal according to the terminal handover request and the message transmission indication parameter.
- the method of the embodiment of the present invention may further include:
- Step 93 When the sending mode is the message connection sending mode, the terminal may further send the cached message sent by the pre-switching terminal to the home server after the switching or the pre-switching terminal, where the message is related to the terminal.
- the message transmission indication parameter in the handover request corresponds.
- the embodiment of the present invention provides a method for switching a terminal during a message sending process, by The identifier of the terminal before the handover and the identifier of the terminal after the handover in the terminal handover request sent by the terminal before the handover, and the message transmission indication parameter, so that the entity performing the handover operation can accurately send the message between the terminal before the handover to the handover terminal.
- an embodiment of the present invention further provides a terminal.
- the terminal in the embodiment of the present invention includes: a handover request receiving unit 1001 and a message transmitting unit 1002.
- the handover request receiving unit 1001 is configured to receive a terminal handover request sent by the terminal before the handover, where the terminal handover request includes an identifier of the terminal after the handover and a message transmission indication parameter
- the message sending unit 1002 is configured to The identifier of the terminal after the handover and the message sending indication parameter are sent to the home server of the switched terminal or the pre-switching terminal.
- the terminal identifier before handover may also be included.
- the handover request receiving unit 1001 includes: a request receiving module 1001a, configured to receive the terminal switching request, and a request parsing module 1001b, configured to parse the terminal switching request received by the request receiving module, Obtaining a message sending range and a message sending manner in the message sending indication parameter.
- the message sending unit 1002 is configured to: when the request parsing module parses the message sending mode as a message resending mode, and parse out the message sending range as all messages, corresponding to the message sending indication parameter The message is sent to the terminal after the handover; or when the request parsing module parses out that the message sending mode is a message connection sending mode, and parses out the message sending range as a partial message, sending a message corresponding to the message sending indication parameter Give the terminal after switching or the home server of the terminal before switching.
- the terminal includes: a handover request generating unit 1201, and a handover request transmitting unit 1202.
- the handover request generating unit 1201 is configured to generate a terminal handover request, where the terminal handover request includes an identifier of the terminal after handover and a message transmission indication parameter, and the handover request sending unit 1202 is configured to send the handover request generation unit.
- the generated terminal switch request.
- the terminal identifier before handover may also be included.
- the terminal when the message sending manner is a message connection sending manner, the terminal ends The terminal further includes: a message sending unit 1203, configured to send the buffered message received by the pre-switching terminal to the home server after the handover or the pre-switch terminal.
- a message sending unit 1203 configured to send the buffered message received by the pre-switching terminal to the home server after the handover or the pre-switch terminal.
- the communication device of the embodiment of the present invention includes: a first session channel establishing unit 1401, a second session channel establishing unit 1402, a receiving unit 1403, and an integration unit 1404;
- the first session channel establishing unit 1401 is configured to receive a session establishment request message sent by the terminal before the handover, and establish a session channel with the pre-switching terminal, where the session establishment request message includes the first message identifier parameter and the first Message range parameter
- the second session channel establishing unit 1402 is configured to receive a session establishment request message sent by the message sending terminal, and establish a session channel of the message sending terminal, where the session establishment request message includes a second message identifier parameter and a second Message range parameter
- the receiving unit 1403 is configured to receive, by using a session channel established with the pre-switching terminal and a session channel established with the message sending terminal, a message sent by the pre-switching terminal and the message sending terminal according to the terminal switching request;
- the integration unit 1404 is configured to integrate the received message of the pre-switching terminal and the message sending terminal according to the first message identification parameter, the first message range parameter, the second message identification parameter, and the second message range parameter.
- the session establishment request message may be a SIP INVITE message.
- the communication device shown in Figure 14 can be a terminal or a server.
- the embodiment of the present invention further provides a server, as shown in FIG. 15, comprising: a request receiving unit 1501 and a switching operation unit 1502.
- the request receiving unit 1501 is configured to receive a terminal handover request sent by the terminal before the handover, where the terminal handover request includes an identifier of the terminal after the handover, and a message transmission indication parameter, and the handover operation unit 1502 is configured to Receiving the terminal handover request received by the receiving unit, and transmitting the buffered pre-switching terminal and the post-switching terminal message, or the message received by the pre-switching terminal and the switched terminal to the switched terminal.
- the terminal identifier before handover may also be included.
- the request receiving unit 1501 includes: a first request receiving module 1501a, configured to receive the terminal switching request; and a first request parsing module 1502b, configured to parse the first request
- the terminal switching request received by the receiving module acquires a message sending range and a message sending manner in the message sending indication parameter.
- the server of the embodiment of the present invention further includes: a determining unit 1503, configured to resend the message according to the message sending manner parsed by the first request parsing module.
- a determining unit 1503 configured to resend the message according to the message sending manner parsed by the first request parsing module. In the mode, when the message sending range is all messages, it is determined whether the message between the message sending terminal and the pre-switching terminal is buffered.
- the server further includes: a forwarding unit 1504, configured to: when the determining unit determines that there is no cache message sending terminal and the pre-switching terminal The message is forwarded to the message sending terminal, and the switching operation unit 1502 is configured to: when the determining unit determines that the message between the message sending terminal and the pre-switching terminal is buffered, The cached pre-switching terminal and the switched terminal message are sent to the switched terminal.
- a forwarding unit 1504 configured to: when the determining unit determines that there is no cache message sending terminal and the pre-switching terminal The message is forwarded to the message sending terminal
- the switching operation unit 1502 is configured to: when the determining unit determines that the message between the message sending terminal and the pre-switching terminal is buffered, The cached pre-switching terminal and the switched terminal message are sent to the switched terminal.
- the server further includes: a message receiving unit 1505, configured to send, according to the first request parsing module, a message sending manner as The message is sent in a continuous manner.
- a message receiving unit 1505 configured to send, according to the first request parsing module, a message sending manner as The message is sent in a continuous manner.
- the message integration unit 1506 is configured to receive the pre-switching terminal and the switch after receiving the message receiving unit.
- the corresponding message sent by the terminal is integrated; at this time, the switching operation unit is configured to send the message integrated by the message integration unit to the terminal after handover.
- the embodiment of the invention provides a method and a device for switching a terminal in a message sending process, and performs switching by using an identifier of the terminal before the handover and a identifier of the terminal after the handover in the terminal handover request sent by the terminal before the handover, and a message sending indication parameter.
- the operating entity can accurately send the message between the terminal before the handover to the terminal after the handover.
- the portion contributing to or contributing to the prior art may be embodied in the form of a software product stored in a storage medium, including a number of instructions for making the mobile device (which may be a mobile phone, a personal computer, a media player) Etc.) Performing the methods described in various embodiments of the invention.
- the storage medium referred to herein is, for example, R0M/RAM, magnetic disk, optical disk, and the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Mobile Radio Communication Systems (AREA)
Description
消息发送过程中切换终端的方法及设备 本申请要求于 2008年 8月 18日提交中国专利局、申请号为 200810147108. 8、 发明名称为 "消息发送过程中切换终端的方法及设备" 的中国专利申请的优先 权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及移动通信技术领域, 尤其涉及一种消息发送过程中切换终端的 方法及设备。 背景技术
为了能够在当今异构网络环境下为用户提供更好的业务体验, 开放移动联 盟(Open Mobi le Al 1 iance, OMA )规范支持多终端多地址, 即一个用户的记录 地址(Addres s of Record )对应于他 /她所拥有的多个终端, 或一个用户拥有 多个注册为不同记录地址的终端。 这些用户可以选择使用其中任一注册的终端 进行通信。 当多终端多地址用户参与消息会话时, 0MA规范允许该用户的多个终 端同时参与会话, 也允许用户在会话过程中切换终端。
在通信双方进行消息会话的过程中, 可能存在这样的场景: 接收方用户指 示发送方用户进行终端切换, 即该接收方用户的另一终端 (称为切换后终端) 代替切换前终端参与会话。 在现有技术中, 可通过以下方式实现消息发送过程 中的终端切换。 首先需在消息发送终端与切换前终端之间建立会话通道。 若切 换前终端想要进行终端切换操作的话, 它会首先指示消息发送终端停止向其发 送消息, 然后再向所述消息发送终端发送终端切换消息, 指示消息发送终端进 行终端切换操作。 此后, 消息发送终端则会根据所述终端切换消息, 建立与切 换后终端的会话。 然后, 切换前终端退出与消息发送终端的会话。
在实现上述本发明的过程中, 发明人发现: 在现有的终端切换技术方案中, 在进行终端切换的过程中, 终端切换前正在接收的消息有可能会丟失。
发明内容
本发明的实施例提供一种消息发送过程中切换终端的方法及设备, 以使切 换后的终端能够准确的接收到消息。
本发明的实施例一种消息发送过程中切换终端的方法釆用如下技术方案: 一种消息发送过程中切换终端的方法, 包括如下步骤:
接收切换前终端发送的终端切换请求, 在所述终端切换请求中包括有切换 后终端的标识以及消息发送指示参数;
根据所述终端切换请求, 将消息发送至所述切换后终端。
一种消息发送过程中切换终端的方法, 包括如下步骤:
生成终端切换请求, 在所述终端切换请求中包括有切换后终端的标识以及 消息发送指示参数;
发送所述终端切换请求,以便于所述终端切换请求的接收者根据所述终端 切换请求以及消息发送指示参数, 将消息发送至所述切换后终端。
本发明实施例提供的终端釆用以下技术方案:
一种终端, 包括:
切换请求接收单元, 用于接收切换前终端发送的终端切换请求, 在所述终 端切换请求中包括有切换前终端的标识和切换后终端的标识以及消息发送指示 参数;
消息发送单元, 用于根据所述消息发送指示参数, 将相应的消息发送给所 述切换后终端或所述切换前终端的归属服务器。
本发明实施例提供的终端釆用以下技术方案:
一种终端, 包括:
切换请求生成单元, 用于生成终端切换请求, 在所述终端切换请求中包括 有切换前终端的标识和切换后终端的标识以及消息发送指示参数;
切换请求发送单元, 用于发送所述切换请求生成单元生成的终端切换请求。 本发明实施例提供的通信设备釆用以下技术方案:
一种通信设备, 包括:
第一会话通道建立单元, 用于接收切换前终端发送的会话建立请求消息, 建立与所述切换前终端的会话通道, 在所述会话建立请求消息中包括第一消息 标识参数及第一消息范围参数;
第二会话通道建立单元, 用于接收消息发送终端发送的会话建立请求消息, 建立于所述消息发送终端的会话通道, 在所述会话建立请求消息中包括第二消 息标识参数及第二消息范围参数;
接收单元, 用于分别通过与切换前终端建立的会话通道, 以及与消息发送 终端建立的会话通道, 接收由所述切换前终端以及消息发送终端根据终端切换 请求发送的消息;
整合单元, 用于根据第一消息标识参数及第一消息范围参数、 第二消息标 识参数及第二消息范围参数, 将接收到的切换前终端以及消息发送终端的消息 进行整合。
本发明实施例提供的服务器釆用以下技术方案:
一种服务器, 包括:
请求接收单元, 用于接收切换前终端发送的终端切换请求, 在所述终端切 换请求中包括有切换前终端的标识和切换后终端的标识以及消息发送指示参 数;
切换操作单元, 用于根据所述请求接收单元接收到的终端切换请求, 将切 换前终端与切换后终端的消息, 或由切换前终端和切换后终端接收到的消息发 送给切换后终端。
本发明实施例提供消息发送过程中切换终端的方法及设备, 通过在由切换 前终端发送的终端切换请求中的切换前终端的标识和切换后终端的标识, 以及 消息发送指示参数, 使得进行切换操作的实体能够准确的将与切换前终端之间 的消息发送给切换后终端。
附图说明
图 1为本发明实施例所利用的消息发送过程中切换终端的系统的示意图; 图 2为本发明实施例消息发送过程中切换终端的方法的流程图;
图 3为本发明实施例消息发送过程中切换终端的方法第一实施例流程图; 图 4为本发明实施例消息发送过程中切换终端的方法第二实施例流程图; 图 5为本发明实施例消息发送过程中切换终端的方法第三实施例流程图; 图 6为本发明实施例消息发送过程中切换终端的方法第五实施例流程图; 图 7为本发明实施例消息发送过程中切换终端的方法第六实施例流程图; 图 8为本发明实施例消息发送过程中切换终端的方法第七实施例流程图; 图 9为本发明实施例消息发送过程中切换终端的方法又一流程图; 图 10为本发明实施例终端的示意图;
图 11为图 10所示的本发明实施例终端的结构图;
图 12为本发明实施例终端的示意图;
图 1 3为图 12所示的本发明实施例终端的结构图;
图 14为本发明实施例通信设备的示意图;
图 15为本发明实施例服务器的示意图;
图 16为图 15所示的本发明实施例服务器的结构图。
具体实施方式
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例描述中所需 要使用的附图作——简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发 明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提 下, 还可以根据这些附图获得其他的附图。
如图 1 所示, 本发明实施例所利用的消息发送过程中切换终端的系统包括 如下组成部分: 切换前终端 101 , 切换前终端的归属服务器 102 , 消息发送终端 103以及切换后终端 104。
其中, 所述切换前终端 101 , 用于向消息发送终端 101或所述切换前终端的 归属服务器 102发送终端切换请求, 在所述终端切换请求中包括有切换前终端
和切换后终端的标识, 以及消息发送指示参数; 和 /或将緩存的与消息发送终端
103之间的消息发送给所述服务器 102 ;
切换前终端的归属服务器 102 ,用于当緩存了消息发送终端 103与切换前终 端 101之间的消息时, 根据所述终端切换请求, 将消息发送终端 103与切换前 终端 101的消息发送给切换后终端 104 ; 或者用于在没有緩存消息发送终端 103 与切换前终端 101之间的消息时,将所述终端切换请求转发给消息发送终端 103; 或者用于接收由消息发送终端 103 以及切换前终端 101发送的消息, 并将所述 消息进行整合后, 发送给切换后终端 104 ;
消息发送终端 103 ,用于在所述切换前终端的归属服务器 102没有緩存消息 发送终端 103与切换前终端 101之间的消息时, 根据所述终端切换请求, 向切 换后终端 104发送所述消息发送终端 103与切换前终端 101之间的消息; 或者 用于根据所述终端切换请求, 将相应的消息发送给所述切换前终端的归属服务 器 102 , 以使所述服务器将所述消息发送给切换后终端; 或用于将与所述终端切 换请求相应的消息发送给切换后终端 104 ;
切换后终端 104 , 用于接收消息发送终端 103 或切换前终端的归属服务器 102或切换前终端 1 01发送的消息,与消息发送终端 103进行后续的会话。此外, 所述切换后终端 104还用于当消息发送方式为消息接续发送方式时, 将由消息 发送终端以及切换前终端发送的消息进行整合。
在本发明实施例一中, 切换前终端 101 发送的终端切换请求中的消息发送 指示参数可以为消息标识, 消息部署类型, 消息生成时间, 需发送的消息范围, 消息发送方式等。 其中, 所述消息发送方式可以为: 消息重新发送方式, 以及 消息接续发送方式等。
其中, 所述消息重新发送方式是指由执行终端切换操作的实体, 将消息发 送终端与切换前终端之间符合所述消息发送指示参数的消息重新发送给切换后 终端。 在这种方式下, 执行终端切换操作的实体可以是所述服务器, 也可以是 消息发送终端。 其中, 所述服务器可以划分成两类服务器: 有状态服务器和无
状态服务器。 而所述有状态服务器又可具有以下两个功能: 处于消息发送终端 与切换前终端的会话路径上并緩存二者之间的消息的功能和信令转发的功能。 至于服务器在消息发送过程中发挥何种功能, 是由服务提供商预先设置的。 也 就是说, 所述服务器可以将消息发送终端与切换前终端的消息进行緩存并转发, 也可以只是将消息发送终端与切换前终端之间的消息进行转发操作。
当所述服务器位于消息发送终端与切换前终端之间会话的媒体路径上时, 也即所述服务器緩存了消息发送终端与切换前终端之间的消息时, 所述服务器 可以根据所述终端切换请求中的相关信息, 将由消息发送终端正在向切换前终 端发送的消息重新发送给切换后终端。 或者, 在所述服务器仅起到信令转发的 作用的时候, 由所述消息发送终端将其与切换前终端之间的消息发送给切换后 终端。
消息接续发送方式是指, 由不同的执行切换操作的实体将相应的消息分别 发送给切换后终端。 实现消息接续发送方式的途径有至少以下两种: (1 ) 由切 换前终端将已接收的消息发送终端发送的消息发送给切换后的终端以及由消息 发送终端将未发送给切换前终端的消息发送给切换后终端, 然后由切换后终端 将接收到的消息进行整合; ( 2 ) 由切换前终端将已接收的消息发送终端发送的 消息发送给服务器以及由消息发送终端未发送给切换前终端的消息发送给所述 服务器, 然后由所述服务器将收到的消息进行整合后发送给切换后终端。
在具体的实现过程中, 所述切换前终端的终端切换请求可以有以下几种形 式的消息来实现: (1 )将会话初始协议 ( Ses s ion Ini t ia t ion Protocol , SIP ) 中的 SIP REFER ( SIP参考消息) 消息进行扩展, 使得扩展后的 SIP REFER消息 不但能够像现有技术中描述的那样发送终端切换的消息, 还能够在扩展 SIP REFER中携带有消息发送指示参数。 (2 )对 S IP协议中的 SIP INVITE ( SIP邀 请消息) 消息进行扩展后, 结合现有协议中的 S IP REFER消息, 通过扩展的 SIP INVITE消息使其携带消息发送指示参数,然后由 S IP REFER消息发送终端切换信 息。 其中 S IP REFER 消息与现有技术中的相同, 用于进行终端的切换操作; 在
所述扩展的 SIP INVITE消息中携带有消息发送指示参数, 以使执行消息发送操 作的实体能够向切换后终端发送相应的消息。
如图 2所示, 本发明实施例消息发送过程中切换终端的方法包括如下步骤: 步骤 21、 接收切换前终端发送的终端切换请求, 在所述终端切换请求中包 括有切换后终端的标识以及消息发送指示参数。
此外, 在所述终端切换请求中还可包括切换前终端标识。
步骤 11、 根据所述切换后终端标识和消息发送指示参数, 将消息发送至所 述切换后终端。
与实施例一中描述的相同, 执行终端切换操作的主体可以是切换前终端的 归属服务器, 也可以是消息发送终端。
下面结合不同的实施例描述在不同的消息发送方式下实现在消息发送过程 中的终端切换过程。 在以下的实施例中, 为方便描述, 将消息发送终端用 UE A 表示, UE A的归属服务器用 Server A表示, 切换前终端用 UE B表示, 切换前 终端归属服务器用 Server B表示, 切换后终端用 UE C表示。 与现有技术中的 相同, 由 UE A发送给 UE B或 UE C的消息, 需经历 UE A- Server A- Server B-UE B或 UE C。 而由 UE B或 UE C发送给 UE A的消息, 需经历 UE B或 UE C_ Server B- Server A_UE A。 当然, UE B和 UE C也可以归属于不同的服务器, 当二者归 属于不同的服务器时, UE A或 UE B与 UE C之间的消息需要经过 UE C的归属 服务器 Server C而非 Server B进行转发。
而如前所述, 实现消息发送过程中的终端切换可以釆用消息重新发送的方 式和消息接续发送的方式完成。
在釆用消息重新发送的方式时, 可以通过以下两种形式的终端切换请求来 实现: 扩展的 SIP REFER消息, 扩展的 SIP re - INVITE消息与 SIP REFER消息 的组合。 以下分别用实施例进行说明。
在本发明提供的第一实施例中, 终端切换请求中的消息发送指示参数中的 发送方式为消息重新发送方式, 终端切换请求为扩展的 SIP REFER 消息, 由服
务器处理所述终端切换请求。
如图 3所示, 本发明实施例消息发送过程中切换终端的方法包括如下步骤: 步骤 31、 UE A通过 MSRP媒体通道向 Server B发送 MSRP SEND (MSRP发 送) 消息。
本步骤中, UE A与 UE B之间进行多媒体会话, 即 UE A与 UE B在会话建立 或更新阶段, 通过 SIP (会话初始协议)提供的基于 SDP (Session Description Protocol,会话描述协议)的 OFFER/ANSWER (应答模式)机制, 就会话中所要传输 的消息参数达成一致, 譬如: 消息标识 File-Selector, 其中所述消息标识包括 消息名称、 消息大小、 消息类型、 全局唯一哈希值等、 消息部署类型、 消息生 成时间等。 在会话中, UE A向 UE B发送大消息, 譬如通过建立的 MSRP媒体通 道发送 MSRP SEND消息, 而 Server B处在 UE A与 UE B之间的会话的媒体路径 中。
步骤 32、 Server B向 UE A发送响应消息 MRSP 200 0K。
步骤 33、 Server B根据预先的设置, 緩存接收到由 UE A发送给 UE B的部 分消息, 如消息的前 300 字节, (file range: 1 - 300 ), 并将所述 MSRP SEND 消息发送给所述 UE B。
步骤 34、 UE B向 Server B返回响应消息 MRSP 200 0K。
步骤 35、 UE A继续向 Server B发送 MSRP SEND消息。
步骤 36、 Server B向 UE A返回响应消息 MRSP 200 0K。
步骤 37、 Server B对消息进行緩存,例如緩存的消息的范围为: file range:
301 - 700, 也即緩存消息的中间 400字节。 并将所述 MSRP SEND消息发送给所 述 UE B。
步骤 38、 若此时 UE B想进行终端的切换, 则 UE B将向 Server B发送暂停 接收响应消息 MSRP 413 Response, 指示 Server B停止向 UE B发送消息。
步骤 39、 UE A继续向 Server B发送 MSRP SEND消息, Server B将消息进 行緩存, 例如可緩存消息的范围为 file range: 701 - 1000。
步骤 310、 Server B向 UE A发送响应消息 MRSP 200 0K。 由于 Server B在 步骤 38中接收到了 UE B的暂停接收响应消息, 因此 Server B将不再将接收到 的消息转发给 UE B。
步骤 311、 UE B向 Server B发送扩展的终端切换请求消息 S IP REFER。 所 述终端切换请求中除了携带消息发送终端 UE A及切换前终端 UE B和切换后终 端 UE C的标识之外, 为了允许终端 UE B在切换后能够正确接收 UE B未接收完 的消息, 所述扩展的 SIP REFER 消息的 "Refer-To" 头域中还携带终端切换时 的消息发送指示参数, 包括: 消息标识 Fi le - Se lector , 所述消息标识包括消 息名称、 消息大小、 消息类型、 全局唯一哈希值, 消息部署类型, 消息生成时 间, 消息发送范围, 或消息发送方式等。 例如, Refer-To头域可以用以下形式 表示:
Refer -To: < " s ip: UE_CSexample. com?me thod=INVITE?m=mes sage a=f i le-se lector: name: "My cool picture, jpg " type: image/ jpeg/ s ize: 1000 a=f i le-range: l-*>
步骤 312、 Server B向 UE B发送接受消息 SIP 202 Accept。
步骤 313、 Server B将根据扩展的 S IP REFER消息中切换后终端 UE C的标 识, 向 UE C发送邀请 SIP INVITE消息, 以建立与 UE C的消息发送会话通道。
本步骤中, Server B收到所述扩展的 SIP REFER消息后, 首先判断其本身 是否緩存了 UE A与 UE B之间发送的消息。 在本发明实施例中, 由于根据服务 提供商的设置, Server B同时发挥其緩存消息和信令转发两个功能,因此, Server B 緩存了上述消息。 同时, 根据所述终端切换请求的参数 s ize: 1000 a=f i le-range: 1-*>可以得出消息发送方式为消息重新发送方式, 消息发送范 围为全部消息。 同时, 在所述 SIP邀请消息中携带终端切换请求的发送指示参 数, 从而为建立的会话通道增加消息发送能力, 以允许 Server B将緩存的消息 发送给切换后终端 UE C。
步骤 314、 UE C向 Server B发送同意建立会话通道的响应消息 SIP 200 0K
消息。
步骤 315、 Server B向 UE C返回建立会话通道的确认消息 S IP ACK。
步骤 316、 当 UE C成功加入与 Server B的会话后, Server B向 UE B发送 通知消息 SIP N0TIFIY , 通知所述 UE B终端切换操作成功。
步骤 317、 UE B向 Server B发送切换操作成功响应消息 SIP 200 0K。
步骤 318、 UE Β向 Server B发送退出会话消息 SIP BYE, 以退出与 Server
B的会话。
步骤 319、 Server B向 UE B发送同意退出会话响应消息 SIP 200 0K。
步骤 320、 Server B通过已经建立好的会话通道, 按照消息发送指示参数 中的消息发送范围及其他参数, 通过 MSRP SEND消息向 UE C发送緩存的消息。
步骤 321、 UE C返回响应消息 SIP 200 OK, 接收所述消息。 其中, 所述消 息发送范围在本发明实施例中为全部消息。
在本发明提供的第二实施例中, 终端切换请求消息发送指示参数中的发送 方式为消息重新发送方式, 终端切换请求包括扩展的会话初始协议更新消息 ( SIP re-INVITE ) 以及会话初始协议参考消息 (SIP REFER ), 由服务器处理所 述终端切换请求。
如图 4 所示, 本发明第二实施例终端消息发送过程中切换终端的方法包括 如下步骤:
其中步骤 41 - 410, 与第一实施例中的步骤 31 - 310的过程相同。
步骤 411、 UE B向 Server B发送终端切换请求 SIP REFER, 指示所述 Server
B进行终端的切换, 所述终端切换请求包括: 消息发送终端 UE A的标识, 切换 前终端 UE B的标识以及切换后终端 UE C的标识。
步骤 412、 Server B向 UE B返回接受消息 SIP 202 Accept。
步骤 413、 所述 Server B根据所述 UE C的标识, 向 UE C发送邀请消息 SIP
INVITE, 以建立与 UE C的消息发送会话通道, 请求 UE C加入会话。
步骤 414、 UE C向 Server B发送邀请消息的响应消息 SIP 200 0K。
步骤 415、 Server B接着向 UE C发送确认消息 SIP ACK。
步骤 416、 UE B向 Server B发送更新消息 SIP re- INVITE, 以请求关闭消 息传输通道, 即在消息体 SDP部分将媒体行 "m=message" 的端口号置 "0"。 此 外, 为了允许切换后终端 UE C能够正确接收 UE B未接收完的消息, 可以在消 息发送指示参数部分增加 "file-receiver_list" 参数, 目的是指示消息的其 他接收终端地址, 其值可以是具体 SIP UA(SIP User Agent, SIP 用户代理)的 URI 或 者 是 用 以 定 位 内 容 类 型 (Content-Type) 为 "ap lication/ resource-1 ists+xml" 的消息体内某个 "Content-ID" 头域的 对应值。
步骤 417、 Server B向 UE B返回响应消息 SIP 200 0K。
步骤 418、 UE B向 Server B返回确认消息 SIP ACK。
步骤 419、 Server B收到所述 SIP re-INVITE消息后, 首先判断自己是否 处于 UE A与 UE B的消息发送媒体路径,即是否緩存消息。在此实施例中, Server B根据服务提供商的设置同时发挥其緩存消息和信令转发的功能。 因此, 所述 Server B将根据消息发送指示参数中的 "file-receiver-list" 参数, 通过邀 请消息 SIP INVITE以建立与终端 UE C的会话。
步骤 420、 UE C向 Server B发送响应消息 SIP 200 0K。
步骤 421、 Server B接着向 UE C发送确认消息 SIP ACK。
步骤 422、 Server B根据与 UE C建立的会话通道, 利用 MSRP SEND消息 向切换后终端 UE C发送緩存的消息。
步骤 423、 UE C向 Server B返回响应消息 MSRP 200 0K。
步骤 424、 当 UE C成功加入与 Server B的会话后, Server B向 UE B发送 通知消息 SIP N0TIFIY, 通知所述 UE B终端切换操作成功。
步骤 425、 UE B向 Server B发送响应消息 SIP 200 0K。
步骤 426、 UE Β向 Server B发送退出会话消息 SIP BYE, 退出与 Server B 的会话。
步骤 427、 Server B向 UE B发送响应消息 SIP 2000Ko
本发明提供的第三实施例中, 终端切换请求携带的消息发送指示参数中的 发送方式为消息重新发送方式, 终端切换请求为扩展的 SIP REFER 消息, 由消 息发送终端处理所述终端切换请求。
如图 5 所示, 本发明第三实施例实现消息发送过程中切换终端的方法包括 如下步骤:
步骤 51、 UE A通过 Server B向 UE B发送 MSRP SEND消息, 其中发送消息 的范围为: f i le-range: 1-300。
步骤 52、 UE B向 UE A返回响应消息 MSRP 200 0K。
在本发明实施例中, 根据服务提供商的设置, Server B不在媒体路径上, 也即 Server B只起信令转发的作用。
步骤 53、 UE A向 UE B继续发送 MSRP SEND消息。
步骤 54、 此时, UE B要执行终端切换, 故 UE B通过 Server B向 UE A返 回暂停接收响应消息 MSRP 413 Response。
步骤 55 - 57、 UE B通过 Server B向 UE A发送终端切换请求消息 SIP REFER。 与前述实施例中描述的相同, 在所述 SIP REFER 消息中携带消息发送指示 参数, 其中消息发送方式为消息重新发送方式, 消息发送范围为全部消息。 根 据服务提供商的设置, Server B只起信令转发的作用。 因此, Server B在收到 所述消息后, 将所述消息直接转发给 UE A。
步骤 58-510、 UE A经 Server B向 UE A发送接受消息 SIP 200 Accept。 步骤 511 - 513、 收到 UE B的 S IP REFER消息后, UE A一方面经 Server B 向该消息中指示的切换后终端 UE C发送邀请消息 SIP INVITE, 以执行终端切换 所需的新终端邀请步骤;另一方面,所述 SIP INVITE请求中额外携带为所述 S IP REFER消息扩展的消息发送指示参数, 从而为 UE A与 UE C所建立的会话中增加 消息发送能力, 以允许 UE A将 SIP REFER中要求发送的消息发送至切换后终端 UE C。
步骤 514-516、 UE C经 Server B向 UE A发送接受消息 S IP 200 OK消息。 步骤 517-519、 UE A经 Server向 UE C发送确认消息 S IP ACK。
步骤 520 - 522、 切换成功后, UE A经 Server B向 UE B发送通知消息 S IP N0TIFY。
步骤 523-525、 UE B经 Server B 向 UE A发送确认消息 S IP 200 0K。
步骤 526 - 528、 UE B经 Server B向 UE A发送退出会话消息 S IP BYE以终 止与 UE A之间的会话。
步骤 529-531、 UE A经 Server B向 UE B发送响应消息 S IP 200 0K。
步骤 532、 基于上述已经建立好的会话通道, UE A按照所述消息发送指示 参数, 通过 MSRP SEND消息将相应的消息重新发送至切换后终端 UE C。
步骤 533、 UE C向 UE A发送响应消息 MSRP 2000Ko
在本发明提供的第四实施例中, 所述消息发送方式为消息重新发送方式, 且所述终端切换请求包括扩展的会话初始协议更新消息 (S IP re-INVITE ) 以及 会话初始协议参考消息 (S IP REFER ), 由消息发送终端作为执行终端切换操作 的实体。
此第四实施例与第二实施例不同之处在于,根据服务提供商的设置, Server B只起信令转发的作用, 也就是说它将不再緩存 UE A与 UE B之间的消息, 而是 直接将 UE B发送给 UE A的消息或者由 UE A发送给 UE B的消息进行转发操作。
如前所述, 实现消息发送过程中的终端切换可以釆用消息重新发送的方式 和消息接续发送的方式完成。 而釆用消息接续发送方式时, Server B只是发挥 其信令转发的功能, 也即将 UE A与 UE B之间的消息进行转发。 例如本发明提 供的第五实施例中, 所述消息发送方式为消息接续发送方式, 且所述终端切换 请求包括扩展的 S IP REFER消息。
如图 6 所示, 本发明第五实施例消息发送过程中切换终端的方法包括如下 步骤;
步骤 61、 UE A向 UE B发送 MSRP SEND ( MSRP发送) 消息。
在此步骤中, UE Α与 UE Β之间进行多媒体会话, 即 UE Α与 UE Β在会话建 立或更新阶段, 通过 S IP (会话初始协议)提供的基于 SDP (会话描述协议)的 OFFER/ANSWER (应答模式)机制就会话中所要传输的消息参数达成一致, 譬如: 消息标识 F i le-Se lec tor 参数, 包括消息名称、 消息大小、 消息类型、 全局唯 一哈希值等、 消息部署类型、 消息生成时间等。 在会话中, UE A向 UE B发送大 消息, 譬如通过建立的 MSRP媒体通道发送 MSRP SEND消息, Server B处在该会 话的媒体路径中, 即 UE A发送的 MSRP SEND消息首先到达 Server B。 在收到 由 Server B转发的消息后, UE B将相应的消息进行緩存。
步骤 62、 UE B 向 UE A发送响应消息 MSRP 2000 0K。
步骤 63、 UE A仍向 UE B发送 MSRP SEND消息。
步骤 64、 若 UE B想要进行切换终端的操作。 因此, UE B向 Server B发送 暂停接收响应消息 MSRP 41 3 Res ponse响应消息, 并由 Server B将该响应消息 发送给 UE A, 指示 UE A停止向其发送消息。
步骤 65-67、 UE B将向 Server B发送扩展的终端切换请求 S IP REFER。 其中所述扩展的 S IP REFER 消息与前述实施例中描述的基本相同, 不同之 处在于, 在其中携带的消息发送指示参数的消息发送范围不再是全部的消息, 而是由 UE A将 UE B与 UE A之间 UE B没有緩存的消息发送给切换后终端 UE C。 例如若 UE A与 UE B之间的消息为 100字节, 而 UE B已经接收了其中的 300字 节, 那么在消息发送指示参数中, 消息发送范围就是剩下的 700 字节的消息。 Server B再将所述的扩展 S IP REFER消息发送给 UE A。
步骤 68-610、 UE A向 Server B发送接受消息; Server B向 UE B发送接受 消息 S IP 202Accept o
步骤 611 - 61 3、 UE A通过 Server B向切换后终端 UE C发送邀请消息 S IP INVITE , 请求建立与 UE C的消息发送会话通道, 并根据消息发送指示参数的要 求通过所述消息发送会话通道向 UE C发送消息。
其中, 为了使得 UE C能够准确的获知 UE A是向其发送的哪部分消息, 所
发送的消息是什么类型的消息, 在所述 UE A或 UE B发送的 SIP INVITE消息的 SDP 消息媒体行 "m=mes sage" 携带消息发送指示参数中的第一或第二消息标识 参数 "f i le - se lector" 以及第二消息范围参数 " f i le - range" , 其中所述第 二消息标识参数是为了使得 UE C知道它接收的消息与之前接收到的消息是否属 于同一个消息, 而第二消息范围参数则是为了使得 UE C知道其分别接收的消息 在该同一个消息中的位置。 例如, 第二消息标识参数、 第二消息范围参数可用 如下的消息携带:
m=mes sage 1234 TCP/MSRP *
a=f i le-se lector: name: "My cool pi cture, jpg " type: image/ jpeg s ize=
1000
a=f i le-range: 301-1000
以及
m=mes sage 5678 TCP/MSRP *
a=f i le-se lector: name: "My cool pi cture, jpg " type: image/ jpeg s ize=
1000
a=f i le-range: 1-300
步骤 617-619、 UE A经 Server B向 UE C发送确认消息 SIP ACK。
步骤 620 - 622、 UE A经 Server B向 UE B发送通知消息 SIP N0TIFIY , 通 知所述 UE B终端切换操作成功。
步骤 623-625、 UE B经 Server B向 UE A发送响应消息 SIP 200 0K。
步骤 626-628、 UE B 经 Server B向 UE A发送退出会话消息 SIP BYE, 退 出与 Server B的会话; Server B并将 UE B成功退出会话的消息发送给 UE C。
步骤 629-631、 UE A经 Server B向 UE B发送响应消息 SIP 200 0K。
步骤 632 - 633、 UE A通过 MSRP SEND消息向 UE C发送相应的消息。
步骤 623、 UE C向 UE A发送响应消息 MSRP 200 0K。
步骤 634 - 635、 UE B通过 Server B向切换后终端 UE C发送 SIP INVITE
消息, 请求建立与 UE C的消息发送会话通道, 并通过所述消息发送会话通道向 UE C发送消息发送指示参数要求发送的消息; 同样, 与步骤 611中的相同, 在 步骤 634的 S IP INVITE消息中, 包括有第一消息标识参数以及第一消息范围参 数, 其含义相同。
步骤 636-637、 UE C通过 Server B向 UE B发送响应消息 S IP 200 0K。 步骤 638-639、 UE Β通过 Server Β向切换后终端 UE C发送确认消息 S IP ACK。 步骤 640 - 641、 UE B通过 MSRP SEND消息向 UE C发送相应的消息, 并接 收由 UE C发送的响应消息 MSRP 200 OK消息。
UE C在接收到分别来自于 UE A和 UE B的消息后, 根据第一消息标识参数 以及第一消息范围参数, 以及第二消息标识参数以及第二消息范围参数, 将各 部分消息进行整合。
步骤 642 - 643、 UE B通过 Server B向 UE C发送退出会话消息 S IP BYE , 退出与 UE C 的会话。
步骤 644-645、 UE C通过 Server B向 UE B发送响应消息 S IP 200 0K。 第六实施例 在第六实施例中, 所述消息发送方式为消息接续发送方式, 且 所述终端切换请求包括扩展的会话初始协议更新消息 (S IP re-INVITE ) 以及会 话初始协议参考消息 ( S IP REFER )。
如图 7 所示, 本发明第六实施例消息发送过程中切换终端的方法包括如下 步骤:
其中步骤 71 - 74 , 与第五实施例中的步骤 61 - 64的过程相同。
步骤 75 - 77、 UE B向 Server B发送终端切换请求 S IP REFER,由所述 Server B将该消息转发给 UE A, 指示所述 UE A进行终端的切换。 在所述消息中包括: 消息发送终端 UE A的标识, 切换前终端 UE B的标识以及切换后终端 UE C的标 识;
步骤 78-710、 UE A经 Server B向 UE B发送接受消息 S IP 202 Accept。 步骤 71 1 - 71 3、 所述 UE A根据所述 UE C的标识, 通过 Server B向 UE C
发送邀请消息 S IP INVITE, 建立与 UE C的会话通道, 请求 UE C加入会话。 步骤 714-716、 UE C经过 Server B向 UE A发送响应消息 SIP 200 OK,同意 力口入会话。
步骤 717-719、 所述 UE A通过 Server B向 UE C发送确认消息 SIP SCK。 步骤 720 - 722、 UE B向 Server B发送扩展的更新消息 SIP re- INVITE消 息, 由所述 Server B将所述 SIP re-INVITE消息发送给 UE A, 在所述扩展的
SIP re-INVITE消息携带有切换后终端的标识, 以及消息发送指示参数, 其中所 述消息发送指示参数用于指示所述消息发送终端 UE A 需要向切换后终端 UE C 发送的消息的范围。
步骤 723-725、 UE A通过 Server B向 UE B发送确认消息 SIP 200 OK消。 步骤 726-728、 UE A通过 Server B向 UE A发送确认消息 S IP ACK。
步骤 729 - 731、 UE A根据切换后终端的标识, 通过 Server B向 UE C发送 邀请消息 SIP INVITE, 与 UE C建立消息发送会话通道。
步骤 732-734、 UE C通过 Server B向 UE A发送响应消息 SIP 200 0K。 步骤 735-737、 UE A通过 Server B向 UE A发送确认消息 SIP ACK。
步骤 738 - 739、 UE A通过 MSRP SEND消息, 并按照消息发送指示参数中的 消息发送范围, 将相应的消息发送给 UE C; UE C向其返回 MSRP 200 0Κ消息。
步骤 740 - 741、 UE Β通过 Server B向 UE C发送邀请消息 SIP INVITE, 以 建立与 UE C的会话通道。
在所述 UE A和 UE B发送给 UE C的 SIP INVITE消息中, 分别携带有第一 或第二消息标识参数, 以及第一或第二消息范围参数, 以使 UE C在收到各部分 消息后, 能够进行消息的整合。
步骤 742-743、 UE C通过 Server B向 UE B发送响应消息 SIP 200 0K。 步骤 744、 UE B 向 Server B发送确认消息 SIP ACK。
步骤 745-746、 UE B通过 Server B向 UE C发送响应消息 SIP 200 0K。 步骤 747 - 748、 UE B将将其上緩存的相应的消息, 通过 MSRP SEND消息发
送给 UE C0 UE C向 UE B发送响应消息 MSRP 200 0K。
步骤 749 - 750、 UE B通过 Server B向 UE C发送退出会话消息 S IP BYE , 退出与 UE C 的会话, 并通过 Server B接收 UE C的响应消息 S IP 200 0K。
步骤 751-752、 UE C通过 Server B向 UE B发送响应消息 S IP 200 0K。 最后, 由 UE C将接收到的部分消息进行整合。
在上述过程中, 还可先进行消息的发送过程, 然后再进行终端的切换操作 过程。
在本发明提供的第七实施例中, 所述消息发送方式为消息接续发送方式, 且所述终端切换请求包括扩展的会话初始协议邀请消息 (S IP INVI TE )。
如图 8 所示, 本发明第七实施例消息发送过程中切换终端的方法包括如下 步骤:
步骤 81、 UE A 通过 MSRP媒体通道向 UE B发送 MSRP SEND消息。
UE A与 UE B之间进行多媒体会话, 即 UE A与 UE B在会话建立或更新阶段, 通过 S IP (会话初始协议)提供的基于 SDP (会话描述协议)的 OFFER/ANSWER (应答 模式)机制就会话中所要传输的消息参数达成一致, 譬如: 消息标识 F i le-Se lec tor参数, 包括消息名称、 消息大小、 消息类型、全局唯一哈希值等、 消息部署类型、 消息生成时间等。 在会话中, UE A向 UE B发送大消息, 譬如通 过建立的 MSRP媒体通道发送 MSRP SEND消息, Server B处在该会话的媒体路径 中, 即 UE A发送的 MSRP SEND消息首先到达 Server B。 在收到由 Server B转 发的消息后, UE B将相应的消息进行緩存。
步骤 82、 UE B向 UE A发送响应消息 MSRP 200 0K。
步骤 83、 UE A向 UE B继续发送 MSRP SEND消息。
步骤 84、 UE B想要执行终端切换, 故 UE B通过 Server B向 UE A返回暂 停接收响应消息 MSRP 41 3 Res pons e。
步骤 85、 UE B向 Server B发送邀请消息 S IP INVITE以指示进行终端切换。 在 S IP INVITE 的 消 息体 中 携 带 内 容类型 (Content-Type) 为
" appl ica t ion/sdp " 的描述会话媒体类型的 SDP 部分, 和内容类型 (Content-Type)为 "ap l ica t ion/ resource-1 i s t s+xml " 的会话参力口者歹' J表部 分。 所述描述会话媒体类型的 SDP部分给出包括消息发送指示参数在内的会话 切换之前的媒体类型描述部分, 通过它 Server B可以分别与 UE A、 UE C建立 切换后的会话, 并且该会话具有消息传输能力。 所述会话参加者列表部分给出 Server B所要联系的终端 S IP URI标识, 以及本发明实施例为控制对不同终端 的消息传输而扩展的消息发送指示参数。 其中所述消息发送指示参数包括: 消 息传输方向属性, 消息发送范围等。
Server B才艮据接收的 SIP INVITE请求建立与 UE B之间的会话。
步骤 86、 Server B向 UE B发送响应消息 SIP 200 0K。
步骤 87、 UE B向 Server B发送确认消息 SIP ACK。
步骤 88 - 89、 Server B通过 Server A向 UE A发送邀请消息 SIP INVITE。 其中在 SIP INVITE消息中携带步骤 85中接收的会话描述和消息传输控制信息, 从而建立与 UE A 之间的会话通道, 并指示 UE A 发送剩余的部分消息 (f i le-range: 301-1000)。
步骤 810-811、 UE A通过 Server A向 Server B发送响应消息 SIP 200 0K。 步骤 812-813、 Server B通过 Server A向 UE A发送确认消息 SIP ACK。 步骤 814、 Server B向 UE C发送邀请消息 SIP INVITE, 其中携带步骤 85 中接收的会话描述和消息传输控制信息;
步骤 815、 UE C向 Server B发送响应消息 SIP 200 0K。
步骤 816、 Server B向 UE C发送确认消息 SIP ACK, 从而建立与 UE C之间 的会话通道。
步骤 817 - 819、 UE A经 Server A、 Server B向 UE B发送退出会话消息 S IP BYE, 请求终止二者之间的会话, 间接实现了终端切换。
步骤 820-822、 UE B经 Server B、 Server A向 UE A发送响应消息 SIP 200
0K。
步骤 823 - 824、 UE B向 Server B发送 MSRP SEND消息, 传输之前收到的 部分消息(f i le-range: 1-300)。 Server B向 UE B发送响应消息 MSRP 200 0K。
步骤 825 - 826、 UE Α向 Server B发送 MSRP SEND消息, 传输剩余部分消 息(f i le- range: 301-1 000) 0 Server B向 UE A发送响应消息 MSRP 200 0K。
步骤 827 - 828、 Server B根据收到的不同部分消息接续成为完整的消息, 并通过与 UE C之间的会话通道发送 MSRP SEND消息,将完整的消息发送至 UE C。 UE C向 Server B发送响应消息 MSRP 200 0K。
步骤 828 - 830、 UE Β向 Server B发送退出会话消息 S IP BYE。 Server B 向 UE B发送响应消息 S IP 200 OK , 终止二者之间的会话。
以上, 仅是实现消息发送过程中切换终端的几种实现方式。 在具体应用中, 可不局限于上述方式的限制。
此外, 如图 9 所示, 本发明实施例还提供了一种消息发送过程中切换终端 的方法, 包括如下步骤:
步骤 91、 切换前终端生成终端切换请求, 在所述终端切换请求中包括有切 换后终端的标识以及消息发送指示参数。 所述消息发送指示参数包括消息标识, 需发送的消息范围, 以及消息发送方式; 其中, 所述消息发送方式包括: 消息 重新发送方式, 以及消息接续发送方式。
此外, 在所述终端切换请求中还可包括切换前终端标识。
步骤 92、切换前终端发送所述终端切换请求,以便于所述终端切换请求的接 收者根据所述终端切换请求以及消息发送指示参数, 将消息发送至所述切换后 终端。
此外, 图 9所示, 本发明实施例的方法还可包括:
步骤 93、 当发送方式为消息接续发送方式时, 切换前终端还可将緩存的由 切换前终端发送的消息, 发送给切换后终端或切换前终端的归属服务器, 其中 所述消息与所述终端切换请求中的消息发送指示参数相对应。
综上所述, 本发明实施例提供消息发送过程中切换终端的方法, 通过在由
切换前终端发送的终端切换请求中的切换前终端的标识和切换后终端的标识, 以及消息发送指示参数, 使得进行切换操作的实体能够准确的将与切换前终端 之间的消息发送给切换后终端。
此外, 本发明实施例还提供了一种终端。
如图 10所示, 本发明实施例的终端包括: 切换请求接收单元 1001 以及消 息发送单元 1002。 其中, 切换请求接收单元 1001 , 用于接收切换前终端发送的 终端切换请求, 在所述终端切换请求中包括有切换后终端的标识以及消息发送 指示参数; 消息发送单元 1002 , 用于根据所述切换后终端的标识以及消息发送 指示参数, 将相应的消息发送给所述切换后终端或所述切换前终端的归属服务 器。
在所述终端切换请求中, 还可包括切换前终端标识。
其中,如图 11所示,所述切换请求接收单元 1001包括:请求接收模块 1001a , 用于接收所述终端切换请求; 请求解析模块 1001b , 用于解析所述请求接收模块 接收的终端切换请求, 获取所述消息发送指示参数中消息发送范围及消息发送 方式。 此时, 所述消息发送单元 1002 , 用于当所述请求解析模块解析出所述消 息发送方式为消息重新发送方式, 解析出消息发送范围为全部消息时, 将与所 述消息发送指示参数相应的消息发送给切换后终端; 或当所述请求解析模块解 析出所述消息发送方式为消息接续发送方式, 解析出消息发送范围为部分消息 时, 将与所述消息发送指示参数相应的消息发送给切换后终端或切换前终端的 归属服务器。
如图 12所示, 本发明实施例所述的终端包括: 切换请求生成单元 1201 , 以 及切换请求发送单元 1202。 其中, 切换请求生成单元 1201 , 用于生成终端切换 请求, 在所述终端切换请求中包括有切换后终端的标识以及消息发送指示参数; 切换请求发送单元 1202 ,用于发送所述切换请求生成单元生成的终端切换请求。 在所述终端切换请求中, 还可包括切换前终端标识。
其中, 如图 1 3所示, 当所述消息发送方式为消息接续发送方式时, 所述终
端还包括: 消息发送单元 1203 , 用于将緩存的由切换前终端接收的消息发送给 切换后终端或切换前终端的归属服务器。
如图 14所示,本发明实施例的通信设备包括:第一会话通道建立单元 1401 , 第二会话通道建立单元 1402 , 接收单元 1403 , 以及整合单元 1404 ; 其中,
第一会话通道建立单元 1401 , 用于接收切换前终端发送的会话建立请求消 息, 建立与所述切换前终端的会话通道, 在所述会话建立请求消息中, 包括第 一消息标识参数及第一消息范围参数;
第二会话通道建立单元 1402 , 用于接收消息发送终端发送的会话建立请求 消息, 建立于所述消息发送终端的会话通道, 在所述会话建立请求消息中, 包 括第二消息标识参数及第二消息范围参数;
接收单元 1403 , 用于分别通过与切换前终端建立的会话通道, 以及与消息 发送终端建立的会话通道, 接收由所述切换前终端以及消息发送终端根据终端 切换请求发送的消息;
整合单元 1404 , 用于根据第一消息标识参数及第一消息范围参数、 第二消 息标识参数及第二消息范围参数, 将接收到的切换前终端以及消息发送终端的 消息进行整合。 其中所述会话建立请求消息可以为 SIP INVITE消息。
图 14所示的通信设备可以为终端, 或者为服务器。
最后, 本发明实施例还提供了一种服务器, 如图 15所示, 包括: 请求接收 单元 1501以及切换操作单元 1502。
其中, 请求接收单元 1501 , 用于接收切换前终端发送的终端切换请求, 在 所述终端切换请求中包括有切换后终端的标识, 以及消息发送指示参数; 切换 操作单元 1502 , 用于根据所述请求接收单元接收到的终端切换请求, 将緩存的 切换前终端与切换后终端的消息, 或由切换前终端和切换后终端接收到的消息 发送给切换后终端。 在所述终端切换请求中, 还可包括切换前终端标识。
其中,如图 16所示,所述请求接收单元 1501包括:第一请求接收模块 1501a , 用于接收所述终端切换请求; 第一请求解析模块 1502b, 用于解析所述第一请求
接收模块接收的终端切换请求, 获取所述消息发送指示参数中的消息发送范围 及消息发送方式。
为了提高对终端进行切换的准确性, 如图 16所示, 本发明实施例的服务器 还包括: 判断单元 1503 , 用于根据所述第一请求解析模块解析得出的消息发送 方式为消息重新发送方式, 消息发送范围为全部消息时, 判断是否緩存了消息 发送终端与切换前终端之间的消息。
当判断单元 1503判断得出服务器没有緩存所述消息时, 如图 16所示, 所 述服务器还包括: 转发单元 1504 , 用于当所述判断单元判断得出没有緩存消息 发送终端与切换前终端之间的消息时, 将所述终端切换请求转发给消息发送终 端; 所述切换操作单元 1502 , 用于当所述判断单元判断得出緩存了消息发送终 端与切换前终端之间的消息时, 将緩存的切换前终端与切换后终端的消息发送 给切换后终端。
当判断单元 1503判断得出服务器緩存了所述消息时, 如图 16所示, 所述 服务器还包括: 消息接收单元 1505 , 用于根据所述第一请求解析模块解析得出 的消息发送方式为消息接续发送方式, 消息发送范围为部分消息时, 分别接收 由切换前终端和切换后终端发送的相应消息; 消息整合单元 1506 , 用于将所述 消息接收单元接收到的切换前终端和切换后终端发送的相应消息进行整合; 此 时, 所述切换操作单元, 用于将所述消息整合单元整合后的消息发送给切换后 终端。
本发明实施例提供消息发送过程中切换终端的方法及设备, 通过在由切换 前终端发送的终端切换请求中的切换前终端的标识和切换后终端的标识, 以及 消息发送指示参数, 使得进行切换操作的实体能够准确的将与切换前终端之间 的消息发送给切换后终端。
通过以上实施例的描述, 本领域的技术人员可以清楚地了解到本发明可借 助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件, 但^艮多情 况下前者是更佳的实施方式。 基于这样的理解, 本发明实施例的技术方案本质
上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该软件 产品存储在一个存储介质中, 包括若干指令用以使得移动设备(可以是手机, 个人计算机, 媒体播放器等)执行本发明各个实施例所述的方法。 这里所称的 存储介质, 如: R0M/RAM、 磁盘、 光盘等。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应 所述以权利要求的保护范围为准。
Claims
1、 一种消息发送过程中切换终端的方法, 其特征在于, 所述方法包括如下 步骤:
接收切换前终端发送的终端切换请求, 在所述终端切换请求中包括有切换 后终端的标识以及消息发送指示参数;
根据所述切换后终端的标识以及消息发送指示参数, 将消息发送至所述切 换后终端。
2、 根据权利要求 1所述的消息发送过程中切换终端的方法, 其特征在于, 所述消息发送指示参数包括的消息发送方式为消息重新发送方式, 所述接收切 换前终端发送的终端切换请求的步骤具体为:
切换前终端的归属服务器接收所述终端切换请求;
所述切换前终端的归属服务器确定其本身緩存了消息发送终端与切换前终 端之间的消息后, 获取切换后终端的标识以及消息发送指示参数。
3、 根据权利要求 2所述的消息发送过程中切换终端的方法, 其特征在于, 根据所述切换后终端的标识以及消息发送指示参数, 将消息发送至所述切换后 终端的步骤具体为:
根据所述切换后终端的标识及所述消息发送指示参数, 所述切换前终端的 归属服务器建立与所述切换后终端的消息发送会话通道, 其中所述消息发送会 话通道具有按照所述消息发送指示参数发送消息的能力;
利用所述消息发送会话通道, 所述切换前终端的归属服务器将所述消息发 送给所述切换后终端。
4、 根据权利要求 1所述的消息发送过程中切换终端的方法, 其特征在于, 所述消息发送指示参数的消息发送方式为消息重新发送方式, 所述接收切换前 终端发送的终端切换请求的步骤具体为:
消息发送终端接收由切换前终端的归属服务器转发的所述终端切换请求; 所述消息发送终端获取切换后终端的标识以及消息发送指示参数。
5、 根据权利要求 4所述的消息发送过程中切换终端的方法, 其特征在于, 根据所述切换后终端的标识以及消息发送指示参数, 将消息发送至所述切换后 的终端的步骤具体为:
根据所述切换后终端的标识及所述消息发送指示参数, 所述消息发送终端 建立与所述切换后终端的消息发送会话通道;
利用所述消息发送会话通道, 所述消息发送终端将所述消息发送给切换后 终端。
6、 根据权利要求 1所述的消息发送过程中切换终端的方法, 其特征在于, 所述消息发送指示参数包括的消息发送方式为消息接续发送方式; 所述消 息发送指示参数中的消息发送方向包括由所述切换前终端向所述切换前终端的 归属服务器发送消息的方向以及由所述消息发送终端向所述切换前终端的归属 服务器发送消息的方向; 所述消息发送指示参数中的消息发送范围包括由所述 切换前终端向所述切换前终端的归属服务器发送的消息的范围, 以及由所述消 息发送终端向所述切换前终端的归属服务器发送消息的范围; 且所述终端切换 请求中进一步包括切换前终端标识;
所述接收切换前终端发送的终端切换请求的步骤具体为:
所述切换前终端的归属服务器接收所述终端切换请求;
所述根据所述切换后终端的标识以及消息发送指示参数, 将消息发送至所 述切换后终端的步骤具体为:
根据所述消息发送终端、 切换前终端和切换后终端的标识及消息发送指示 参数, 所述切换前终端的归属服务器分别建立与所述消息发送终端、 切换前终 端和切换后终端的消息发送会话通道;
利用与所述消息发送终端之间的消息发送会话通道, 所述切换前终端的归 属服务器接收由所述消息发送终端发送的第一消息, 在所述第一消息中包括有 第一消息标识参数及第一消息范围参数;
利用与所述切换前终端之间的消息发送会话通道, 所述切换前终端的归属
服务器接收由所述切换前终端发送的第二消息, 在所述第二消息中包括有第二 消息标识参数及第二消息范围参数;
所述切换前终端的归属服务器根据所述第一消息标识参数及第一消息范围 参数、 第二消息标识参数及第二消息范围参数, 将分别自所述切换前终端、 消 息发送终端接收到的消息进行整合, 生成完整的消息;
利用与所述切换后终端之间的消息发送会话通道, 所述切换前终端的归属 服务器将所述整合后的消息发送给所述切换后终端。
7、 根据权利要求 1所述的消息发送过程中切换终端的方法, 其特征在于, 所述消息发送指示参数包括的消息发送方式为消息接续发送方式; 所述消 息发送指示参数中的消息发送方向包括由所述切换前终端向所述切换前终端的 归属服务器发送消息的方向以及由所述消息发送终端向所述切换前终端的归属 服务器发送消息的方向; 所述消息发送指示参数中的消息发送范围包括由所述 切换前终端向所述切换前终端的归属服务器发送的消息的范围, 以及由所述消 息发送终端向所述切换前终端的归属服务器发送消息的范围; 且所述终端切换 请求中进一步包括切换前终端标识;
所述接收切换前终端发送的终端切换请求的步骤具体为:
消息发送终端接收由所述切换前终端的归属服务器转发的终端切换请求; 所述消息发送终端获取切换后终端的标识以及消息发送指示参数; 所述根据所述切换后终端的标识以及消息发送指示参数, 将消息发送至所 述切换后终端的步骤具体为:
根据所述切换后终端的标识及所述消息发送指示参数, 所述消息发送终端 建立与所述切换后终端的消息发送会话通道;
利用所述消息发送会话通道, 所述消息发送终端将与所述消息发送范围相 对应的消息发送给所述切换后终端, 其中在所述消息中包括有第一消息标识参 数及第一消息范围参数;
所述切换前终端建立与所述切换后终端的消息发送会话通道, 其中所述消
息发送会话通道具有消息发送能力;
利用所述消息发送会话通道, 所述切换前终端将第二消息送给所述切换后 终端, 其中在所述第二消息中包括有第二消息标识参数及第二消息范围参数; 所述切换后终端根据所述第一消息标识参数及第一消息范围参数、 第二消 息标识参数及第二消息范围参数, 将分别由所述切换前终端、 消息发送终端接 收到的消息进行接续, 生成完整的消息。
8、 一种消息发送过程中切换终端的方法, 其特征在于, 所述方法包括: 生成终端切换请求, 在所述终端切换请求中包括有切换后终端的标识以及 消息发送指示参数;
发送所述终端切换请求,以便于所述终端切换请求的接收者根据所述终端 切换请求以及消息发送指示参数, 将消息发送至所述切换后终端。
9、 根据权利要求 8所述的消息发送过程中切换终端的方法, 其特征在于, 当所述终端切换请求中的消息发送方式为消息接续发送方式时, 在发送所述终 端切换请求的步骤后, 所述方法还包括:
将緩存的由切换前终端发送的、 与所述消息发送指示参数对应的消息, 发 送给切换后终端或切换前终端的归属服务器。
10、 一种终端, 其特征在于, 所述终端包括:
切换请求接收单元(1001 ), 用于接收切换前终端发送的终端切换请求, 在 所述终端切换请求中包括有切换后终端的标识以及消息发送指示参数;
消息发送单元( 1002 ), 用于根据所述切换后终端的标识以及消息发送指示 参数, 将相应的消息发送给所述切换后终端或所述切换前终端的归属服务器。
11、 根据权利要求 10 所述的终端, 其特征在于, 所述切换请求接收单元 ( 1001 ) 包括:
请求接收模块(1 001a ), 用于接收所述终端切换请求;
请求解析模块(1001b ), 用于解析所述请求接收模块接收的终端切换请求, 获取切换后终端的标识以及消息发送指示参数。
12、 根据权利要求 11所述的终端, 其特征在于,
所述消息发送单元( 1002 ), 用于当所述请求解析模块(1001b )解析出所 述消息发送指示参数中的消息发送方式为消息重新发送方式、 消息发送范围为 全部消息时, 将相应的消息发送给切换后终端; 或者
所述消息发送单元( 1002 ), 用于当所述请求解析模块解析出所述消息发送 指示参数中的消息发送方式为消息接续发送方式、 消息发送范围为部分消息时, 将相应的消息发送给切换后终端或切换前终端的归属服务器。
1 3、 一种终端, 其特征在于, 所述终端包括:
切换请求生成单元(1201 ), 用于生成终端切换请求, 在所述终端切换请求 中包括有切换后终端的标识以及消息发送指示参数;
切换请求发送单元( 1202 ), 用于发送所述切换请求生成单元( 1201 )生成 的终端切换请求。
14、 根据权利要求 1 3所述的终端, 其特征在于, 当所述消息发送指示参数 中的消息发送方式为消息接续发送方式时, 所述终端还包括:
消息发送单元( 1203 ), 用于将緩存的由切换前终端接收的消息发送给切换 后终端或切换前终端的归属服务器。
15、 一种通信设备, 其特征在于, 包括:
第一会话通道建立单元(1401 ), 用于接收切换前终端发送的会话建立请求 消息, 建立与所述切换前终端的会话通道, 在所述会话建立请求消息中包括第 一消息标识参数及第一消息范围参数;
第二会话通道建立单元( 1402 ), 用于接收消息发送终端发送的会话建立请 求消息, 建立于所述消息发送终端的会话通道, 在所述会话建立请求消息中包 括第二消息标识参数及第二消息范围参数;
接收单元( 1403 ), 用于分别通过与切换前终端建立的会话通道, 以及与消 息发送终端建立的会话通道, 接收由所述切换前终端以及消息发送终端根据终 端切换请求发送的消息;
整合单元( 1404 ), 用于根据第一消息标识参数及第一消息范围参数、 第二 消息标识参数及第二消息范围参数, 将接收到的切换前终端以及消息发送终端 的消息进行整合。
16、 一种服务器, 其特征在于, 所述服务器包括:
请求接收单元(1501 ), 用于接收切换前终端发送的终端切换请求, 在所述 终端切换请求中包括有切换后终端的标识以及消息发送指示参数;
切换操作单元( 1502 ), 用于根据所述请求接收单元( 1501 )接收到的终端 切换请求, 将切换前终端与切换后终端的消息, 或由切换前终端和切换后终端 接收到的消息发送给切换后终端。
17、根据权利要求 16所述的服务器,其特征在于,所述请求接收单元( 1501 ) 包括:
第一请求接收模块( 1501a ), 用于接收所述终端切换请求;
第一请求解析模块 ( 1501b ), 用于解析所述第一请求接收模块 ( 1501a )接 收的终端切换请求, 获取所述消息发送指示参数中的消息发送范围及消息发送 方式。
18、 根据权利要求 17所述的服务器, 其特征在于, 所述服务器还包括: 判断单元( 1503 ), 用于根据所述第一请求解析模块解析(1501a )得出的 消息发送方式为消息重新发送方式、 消息发送范围为全部消息时, 判断是否緩 存了消息发送终端与切换前终端之间的消息;
转发单元( 1504 ), 用于当所述判断单元( 1503 )判断得出没有緩存消息发 送终端与切换前终端之间的消息时, 将所述终端切换请求转发给消息发送终端; 所述切换操作单元( 1502 ), 用于当所述判断单元( 1503 )判断得出緩存了 消息发送终端与切换前终端之间的消息时, 将切换前终端与切换后终端的相应 消息发送给切换后终端。
19、 根据权利要求 17所述的服务器, 其特征在于, 所述服务器还包括: 消息接收单元( 1505 ), 用于根据所述第一请求解析模块(1501a )解析得
出的消息发送方式为消息接续发送方式、 消息发送范围为部分消息时, 分别接 收由切换前终端和切换后终端发送的相应消息;
消息整合单元( 1506 ), 用于将所述消息接收单元( 1505 )接收到的切换前 终端和切换后终端发送的相应消息进行整合;
所述切换操作单元( 1502 ), 用于将所述消息整合单元( 1506 )整合后的消 息发送给切换后终端。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/030,980 US8493936B2 (en) | 2008-08-18 | 2011-02-18 | Method and device for handover between UEs in process of sending message |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810147108.8 | 2008-08-18 | ||
CN2008101471088A CN101656991B (zh) | 2008-08-18 | 2008-08-18 | 消息发送过程中切换终端的方法及设备 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/030,980 Continuation US8493936B2 (en) | 2008-08-18 | 2011-02-18 | Method and device for handover between UEs in process of sending message |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2010020121A1 true WO2010020121A1 (zh) | 2010-02-25 |
Family
ID=41706838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2009/070987 WO2010020121A1 (zh) | 2008-08-18 | 2009-03-24 | 消息发送过程中切换终端的方法及设备 |
Country Status (3)
Country | Link |
---|---|
US (1) | US8493936B2 (zh) |
CN (1) | CN101656991B (zh) |
WO (1) | WO2010020121A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150142742A1 (en) * | 2013-11-17 | 2015-05-21 | Zhen-Chao HONG | System and method for syncing local directories that enable file access across multiple devices |
EP4138455A1 (en) * | 2016-06-22 | 2023-02-22 | Huawei Technologies Co., Ltd. | Communication path switching method and device |
JP7226244B2 (ja) * | 2019-10-29 | 2023-02-21 | 株式会社デンソー | 通信システム |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1356834A (zh) * | 2000-11-10 | 2002-07-03 | 株式会社Ntt都科摩 | 移动通信方法及移动通信系统 |
CN1992961A (zh) * | 2005-12-28 | 2007-07-04 | 北京信威通信技术股份有限公司 | 一种数字移动通信系统的切换中信令接续的方法 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5594872A (en) * | 1993-04-27 | 1997-01-14 | Hitachi, Ltd. | Method of communicating messages in a distributed processing system |
DE19720274C2 (de) * | 1997-05-14 | 1999-12-16 | Ericsson Telefon Ab L M | Kommunikationssystem, Verfahren und Verarbeitungseinrichtung zum Vermitteln von Anrufen über ein zwischen zwei lokalen Netzen angeordnetes Übertragungsnetz |
US6477150B1 (en) | 2000-03-03 | 2002-11-05 | Qualcomm, Inc. | System and method for providing group communication services in an existing communication system |
US6601101B1 (en) * | 2000-03-15 | 2003-07-29 | 3Com Corporation | Transparent access to network attached devices |
US6963550B2 (en) * | 2000-10-24 | 2005-11-08 | Lg Electronics Inc. | Handoff method in CDMA communication system |
US7191233B2 (en) * | 2001-09-17 | 2007-03-13 | Telecommunication Systems, Inc. | System for automated, mid-session, user-directed, device-to-device session transfer system |
US7254396B2 (en) * | 2002-09-12 | 2007-08-07 | Broadcom Corporation | Network or access point handoff based upon historical pathway |
KR101084113B1 (ko) * | 2004-03-05 | 2011-11-17 | 엘지전자 주식회사 | 이동통신의 핸드오버에 적용되는 서비스 정보 전달 방법 |
FI20045174A0 (fi) | 2004-05-12 | 2004-05-12 | Nokia Corp | Tiedostojen valitseminen ja välittäminen päätelaitteelle |
US7272123B2 (en) * | 2004-09-13 | 2007-09-18 | Nextel Communications, Inc. | System and method for handoff processing |
CN101048989A (zh) | 2004-10-26 | 2007-10-03 | 松下电器产业株式会社 | 发送设备、接收设备、以及文件传输系统 |
KR100680730B1 (ko) * | 2005-02-18 | 2007-02-09 | 한국정보통신대학교 산학협력단 | 다종 디바이스간의 핸드오프 시스템 및 방법 그리고 그에적용되는 sip 서버 및 sip 서버의 동작방법 |
FI20065495A0 (fi) * | 2006-07-18 | 2006-07-18 | Nokia Corp | Tiedonsiirtomenetelmä ja tukiasema |
CN101072242B (zh) | 2007-03-30 | 2010-10-13 | 腾讯科技(深圳)有限公司 | 在网络上点到点传输文件的方法及系统 |
-
2008
- 2008-08-18 CN CN2008101471088A patent/CN101656991B/zh active Active
-
2009
- 2009-03-24 WO PCT/CN2009/070987 patent/WO2010020121A1/zh active Application Filing
-
2011
- 2011-02-18 US US13/030,980 patent/US8493936B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1356834A (zh) * | 2000-11-10 | 2002-07-03 | 株式会社Ntt都科摩 | 移动通信方法及移动通信系统 |
CN1992961A (zh) * | 2005-12-28 | 2007-07-04 | 北京信威通信技术股份有限公司 | 一种数字移动通信系统的切换中信令接续的方法 |
Also Published As
Publication number | Publication date |
---|---|
CN101656991A (zh) | 2010-02-24 |
CN101656991B (zh) | 2013-03-20 |
US20120051322A1 (en) | 2012-03-01 |
US8493936B2 (en) | 2013-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101185669B1 (ko) | 인터넷 프로토콜 멀티미디어 서브시스템 기반 3자간 통화를 위한 방법 및 장치 | |
JP6105665B2 (ja) | インターネットプロトコルマルチメディアサブシステム協調セッションにおける識別および移転のための方法および装置 | |
US8725802B2 (en) | Method for transferring file in conference system, file transfer system and conference server | |
US8676888B2 (en) | Method for multi-terminal session, and communication system and related device thereof | |
US7573837B1 (en) | Establishment of multicast Push-to-X over Cellular (PoC) communication | |
WO2008034385A1 (fr) | Dispositif utilisateur, serveur d'application de continuité d'appel et procédé de commutation de réseau | |
KR101133199B1 (ko) | 패킷 교환 도메인의 상태를 변경하기 위한 방법, 단말기 및 네트워크 장치 | |
JP2011502411A (ja) | マルチメディアセッションコール制御方法およびアプリケーションサーバ | |
JP2008541501A (ja) | 同時セッション制御のためのユーザ装置、方法、及びシステム | |
WO2007041937A1 (fr) | Methode d'envoi et de reception de message hors ligne, appareil client, serveur et systeme | |
WO2009015525A1 (en) | A method for switching the session control path of ip multimedia core network subsystem centralized service | |
RU2490831C2 (ru) | Способ поддержки многостороннего вызова в комбинационном сеансе | |
EP1672866A1 (en) | Method and system to the instant transfer of multimedia files between mobile radio users within the scope of combinational services | |
JP2012165464A (ja) | 呼制御方法、回線交換ドメインアダプタ、および端末装置 | |
WO2010020121A1 (zh) | 消息发送过程中切换终端的方法及设备 | |
KR101436679B1 (ko) | 대형 메시지 모드 통합 아이피 메시지 전송 방법 및 시스템 | |
WO2012013094A1 (zh) | 基于对话关联标识的会话建立方法及系统 | |
WO2008119278A1 (fr) | Procédé, terminal et dispositif réseau pour le changement d'état de domaine à commutation de paquets | |
EP1875751A1 (en) | User equipment, method and system for simultaneous session control | |
KR20100012082A (ko) | 미디어별로 세션을 이동시키기 위한 시스템 및 방법 | |
US8688848B2 (en) | Method of establishing a media link for transmitting a large message mode CPM message to a group | |
WO2010015137A1 (zh) | 激活网络存储的方法、系统、消息处理服务器及客户端 | |
WO2008080334A1 (fr) | Agent d'utilisateur dos à dos et procédé de transmission d'informations associé | |
JP6549523B2 (ja) | 要求先端末のオプション機能の非使用を整合する網間制御方法、sipサーバ及びプログラム | |
KR100493100B1 (ko) | 이동통신 시스템에서 인터넷기반 음성서비스 제공 장치 및방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 09807820 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 09807820 Country of ref document: EP Kind code of ref document: A1 |