WO2016141591A1 - Service continuity achieving method, device and system - Google Patents

Service continuity achieving method, device and system Download PDF

Info

Publication number
WO2016141591A1
WO2016141591A1 PCT/CN2015/074110 CN2015074110W WO2016141591A1 WO 2016141591 A1 WO2016141591 A1 WO 2016141591A1 CN 2015074110 W CN2015074110 W CN 2015074110W WO 2016141591 A1 WO2016141591 A1 WO 2016141591A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
relay
remote
pgw
address
Prior art date
Application number
PCT/CN2015/074110
Other languages
French (fr)
Chinese (zh)
Inventor
邓强
张万强
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580042599.8A priority Critical patent/CN106797632B/en
Priority to PCT/CN2015/074110 priority patent/WO2016141591A1/en
Publication of WO2016141591A1 publication Critical patent/WO2016141591A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/12Reselecting a serving backbone network switching or routing node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Definitions

  • Embodiments of the present invention relate to communication technologies, and in particular, to a method, apparatus, and system for implementing service continuity.
  • ProSe Proximity Service
  • UE User Equipment
  • 3GPP 3rd Generation Partnership Project
  • LTE Long Term Evolution
  • an important scenario of the ProSe application is to enable a remote UE without an out of network to access the network through a relay UE with network coverage.
  • the Relay UE accesses the network through the Relay UE: the Relay UE allocates an Internet Protocol (IP) address (ie, IP_1) to the Remote UE; the Remote UE packs the data according to the IP_1, and packages the data through the proximity communication.
  • IP Internet Protocol
  • the subsequent data is sent to the Relay UE; after receiving the packed data, the Relay UE replaces the IP_1 with the IP address of the Relay UE (ie, IP_2), and passes the packet between the Relay UE and the Packet Data Gateway (PGW, PDN Gateway).
  • PGW Packet Data Gateway
  • a data network (PDN, Packet Data Network) connection transmits the replaced data.
  • PDN Packet Data Network
  • the Relay UE receives the data to be sent to the Remote UE through the PDN connection
  • the IP_2 in the data is replaced with IP_1, and the replaced data is sent to the Remote UE through the proximity communication.
  • the embodiment of the invention provides a method, a device and a system for implementing service continuity, which are used to solve the problem that communication is interrupted when the remote UE changes from the network state to the off-network state in the prior art.
  • the present invention provides a method of implementing business continuity, the method comprising:
  • the relay UE receives the first message sent by the remote UE in the off-network state, where the first message includes a first IP address allocated by the PGW to the remote UE;
  • the relaying UE sends a second message to the mobility management entity MME according to the first message, so that the MME sends a third message to the PGW, where the second message and the third message are both included.
  • the first IP address, wherein the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the The second IP address is an IP address assigned to the relay UE by the PGW;
  • the relaying UE determines the binding relationship according to the first IP address and the second IP address, and implements the PGW and the remote end by using the relay UE according to the binding relationship. Communication between UEs
  • the relay UE implements communication between the PGW and the remote UE, including:
  • the relay UE Receiving, by the relay UE, the first data packet that is sent by the remote UE by using the proximity communication; the first data packet includes the first IP address; and the relay UE adopts the The second IP address tunnel encapsulates the first data packet to obtain a second data packet; the relay UE sends the second data packet to the PGW, so that the PGW pairs the second data Obtaining the first data packet after the packet is decapsulated by the tunnel; and/or,
  • the relaying UE receives the third data packet sent by the PGW; the third data packet is the fourth that the PGW sends the second IP address pair to the remote UE according to the binding relationship.
  • a data packet obtained after the tunnel is encapsulated by the data packet; the fourth data packet includes the first IP address; and the relay UE performs tunnel decapsulation on the third data packet to obtain the fourth data packet. And transmitting the fourth data packet to the remote UE by using proximity communication.
  • the first message further includes an identifier of the remote UE
  • the relaying UE before sending the second message to the MME according to the first message, further includes:
  • the relaying UE sends a fourth message to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE;
  • the second message is a PDN connection request message
  • the third message is a session establishment request message
  • the second message further includes a request identifier for indicating that the request type is a relay
  • the second message is a bearer resource modification request message
  • the third message is a bearer resource command message
  • the relaying, by the relaying UE, the fourth message, to the MME includes:
  • the relay UE directly sends the fourth message to the MME.
  • the relaying, by the relay UE, sending the fourth message to the MME by using a ProSe function includes:
  • the relay UE sends an eleventh message to the ProSe Function
  • the ProSe Function sends a twelfth message to the home subscription server HSS according to the eleventh message;
  • the eleventh message and the twelfth message each include an identifier of the remote UE and an identifier of the relay UE.
  • the relay UE determines the remote end The neighboring communication of the UE has ended, and the relaying UE releases the binding relationship.
  • the present invention provides a method of implementing business continuity, the method comprising:
  • the mobility management entity MME receives the second message sent by the relay user equipment UE, where the second message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
  • the MME sends a third message to the PGW according to the second message, where the third message includes the first IP address, where the third message is used by the PGW to determine a binding relationship.
  • the binding relationship includes a correspondence between the first IP address and a second IP address, where the The second IP address is an IP address assigned to the relay UE by the PGW.
  • the method before the MME receives the second message sent by the relaying UE, the method further includes:
  • the MME determines, according to the fourth message, whether to create the new relay UE and the PGW.
  • the MME Determining, by the MME, the context of the remote UE according to the identifier of the remote UE, where the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
  • the MME Determining, by the MME, the context of the relay UE according to the identifier of the relay UE, where the context of the relay UE includes an IP address of a relay UE and an IP address of a PGW in each PDN connection of the relay UE ;
  • the MME determines whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE.
  • the MME determines the context of the remote UE, including:
  • the MME receives a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE.
  • the second message is a PDN connection request message, where the third The information is a session establishment request message, and the second message further includes a request identifier for indicating that the request type is a relay; or the second message is a bearer resource modification request message, and the third message is a bearer resource command message. .
  • the PDN connection request message further includes an identifier of the remote UE
  • the MME After the MME receives the second message sent by the relaying UE, the MME further includes:
  • the MME determines to establish a PDN connection between the relay UE and the PGW.
  • the method also includes:
  • the MME adds a correspondence between the first IP address and the PGW in the context information of the relay UE.
  • the MME After the MME receives the second message sent by the relaying UE, the MME further includes:
  • the MME establishes a PDN connection between the relay UE and the PGW according to the first IP address in the PDN connection request message and the correspondence between the first IP address and the PGW.
  • the MME receives the fourth message sent by the relay UE, including :
  • the MME receives the fourth message that the relay UE sends directly to the MME.
  • the MME receives a fourth message sent by the home subscription server HSS according to the twelfth message, the tenth
  • the second message is a message that is sent by the ProSe Function to the HSS after receiving the eleventh message sent by the relay UE, where the eleventh message and the twelfth message both include the remote end The identity of the UE and the identity of the relay UE.
  • the method further includes:
  • an eighth message that is sent by the remote UE in a network state, where the eighth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
  • the present invention provides a method for implementing business continuity, the method comprising:
  • the packet data gateway PGW receives the third message sent by the mobility management entity MME, where the third message includes the first Internet Protocol IP address allocated by the PGW to the remote UE;
  • the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the PGW Relaying the IP address of the UE;
  • the PGW implements communication between the PGW and the remote UE by using the relay UE according to the binding relationship.
  • the third message is a bearer resource command message or a session establishment request message; if the third message is a session establishment request message, The PGW, before determining the binding relationship according to the third message, further includes:
  • the PGW determines the binding relationship according to the third message, and the PGW determines the binding relationship according to the first IP address and the second IP address.
  • the PGW is implemented by the relay UE
  • the communication between the PGW and the remote UE includes:
  • the PGW Receiving, by the PGW, the second data packet sent by the relay UE, where the second data packet is a data packet obtained by tunneling the first data packet by the relay UE according to the second IP address;
  • the first data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address, and the PGW performs tunnel decapsulation on the second data packet to obtain the first data packet.
  • a data packet and/or,
  • the PGW sends a fourth data packet to the remote UE according to the second IP address. Performing tunnel encapsulation, obtaining a third data packet, and forwarding the third data packet to the relay UE, so that the relay UE performs tunnel decapsulation on the third data packet to obtain the fourth And transmitting the fourth data packet to the remote UE by using proximity communication.
  • the PGW passes the After the relay UE implements the communication between the PGW and the remote UE, the method further includes:
  • the PGW receives the ninth message sent by the MME, where the ninth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
  • the PGW cancels the binding relationship according to the ninth message.
  • the present invention provides a method for implementing business continuity, the method comprising:
  • the remote user equipment UE determines that the remote UE changes from the in-network state to the off-network state;
  • the remote UE sends a first message to the relay UE, so that the relay UE determines a binding relationship according to the first message, where the first message includes a PGW that is allocated to the remote UE.
  • An IP address An IP address.
  • the first message further includes an identifier of the remote UE.
  • the method further includes:
  • the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
  • the present invention provides an apparatus for implementing service continuity, where the apparatus is a relay user equipment UE; the apparatus includes:
  • a transceiver module configured to receive a first message sent by a remote UE in an off-network state, where the first message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
  • the transceiver module is further configured to send, according to the first message, a second message to the mobility management entity MME, so that the MME sends a third message, the second message, and the third message to the PGW.
  • the message includes the first IP address, where the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address. Relationship, the second IP address is an IP address assigned by the PGW to the relay UE;
  • a processing module configured to determine the binding relationship according to the second IP address and the first IP address included in the first message received by the transceiver module;
  • the transceiver module is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module.
  • the transceiver module is specifically configured to:
  • the first data packet sent by the proximity communication includes the first IP address; and according to the binding relationship, using the second IP address to the first data
  • the packet is tunnel encapsulated to obtain a second data packet, and the second data packet is sent to the PGW, so that the PGW obtains the first data packet after performing tunnel decapsulation on the second data packet; and /or,
  • the third data packet is a tunnel encapsulation of the fourth data packet sent by the PGW to the remote UE by using the second IP address according to the binding relationship.
  • the first message further includes an identifier of the remote UE, and the transceiver module And the fourth message is sent to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE, and receives a fifth message sent by the MME, where the The five message includes a result identifier, where the result identifier is used to indicate whether the relay UE establishes a packet data network PDN connection between the relay UE and the PGW.
  • the second message is a PDN connection request message
  • the third message is a session establishment request message
  • the second message further includes a request identifier for indicating that the request type is a relay
  • the second message is a bearer resource modification request message
  • the third message is a bearer resource command message
  • the transceiver module is specifically configured to: use the proximity service function entity ProSe Function to the MME Sending the fourth message; or sending the fourth message directly to the MME.
  • the transceiver module is specifically configured to: send an eleventh message to the ProSe Function, so that the The ProSe Function sends a twelfth message to the home subscription server (HSS) according to the eleventh message, and triggers the HSS to send a fourth message to the MME according to the twelfth message; wherein the eleventh message and the The twelfth message includes the identifier of the remote UE and the identifier of the relay UE.
  • HSS home subscription server
  • the processing module determines the remote UE The proximity communication is terminated, and the binding relationship is released.
  • the present invention provides an apparatus for implementing service continuity, where the apparatus is a mobility management entity MME, and the apparatus includes:
  • a receiving module configured to receive a second message sent by the relay user equipment UE, where the second message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
  • a sending module configured to send, according to the second message received by the receiving module, a third message to the PGW, where the third message includes the first IP address, where the third message is used by the
  • the PGW determines a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is an IP address allocated by the PGW to the relay UE.
  • the device further includes: a processing module; the receiving module is further configured to receive a fourth message sent by the relay UE, The fourth message includes an identifier of the remote UE and an identifier of the relay UE;
  • the processing module is configured to determine, according to the fourth message received by the receiving module, whether to establish a packet data network PDN connection between the relay UE and the PGW;
  • the sending module is further configured to send a fifth message to the relay UE, where the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE creates the new relay UE and PDN connection between the PGWs.
  • the processing module is specifically configured to:
  • the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
  • the sending module is further configured to: Sending a sixth message to the MME of the remote UE, where the sixth message includes an identifier of the remote UE;
  • the receiving module is further configured to receive a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE, and a context of the remote UE includes the remote UE The IP address of the remote UE and the IP address of the PGW in each PDN connection;
  • the processing module is specifically configured to determine a context of the relay UE according to an identifier of the relay UE, where a context of the relay UE includes an IP address of a relay UE in each PDN connection of the relay UE And determining, by the IP address of the PGW, whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE received by the receiving module.
  • the second message is a PDN connection request message
  • the third message is Establishing a request message for the session, the second message further including a request identifier for indicating that the request type is a relay;
  • the second message is a bearer resource modification request message
  • the third message is a bearer resource command message.
  • the PDN connection request message further includes an identifier of the remote UE
  • the processing module is further configured to determine a context of the remote UE according to the identifier of the remote UE, and establish the relay UE according to a context of the remote UE and the first IP address. PDN connection between the PGWs.
  • the processing module determines to establish a PDN connection between the relay UE and the PGW, The processing module is further configured to:
  • the receiving module is specifically configured to: receive the relay UE by using a neighboring The fourth message sent by the serving function entity ProSe Function; or receiving the fourth message sent by the relay UE directly to the MME.
  • the receiving module is specifically configured to: receive, by the home subscription server, the HSS according to the twelfth message a fourth message, the twelfth message is a message that is sent by the ProSe Function to the HSS after receiving the eleventh message sent by the relay UE; wherein the eleventh message and the twelfth message The message includes an identifier of the remote UE and an identifier of the relay UE.
  • the receiving module is further configured to receive the presence of the network in the ninth possible implementation manner of the sixth aspect or the sixth aspect An eighth message sent by the remote UE in the state, where the eighth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
  • the sending module is further configured to send a ninth message to the PGW according to the eighth message received by the receiving module, where the ninth message includes the release identifier.
  • the present invention provides an apparatus for implementing service continuity, the apparatus being a packet data gateway PGW; the apparatus comprising:
  • a transceiver module configured to receive a third message sent by the mobility management entity MME, where the third message includes a first Internet Protocol IP address that is allocated by the PGW to the remote user equipment UE;
  • a processing module configured to determine, according to the third message received by the transceiver module, a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where The second IP address is an IP address assigned to the relay UE by the PGW;
  • the transceiver module is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module.
  • the third message is a bearer resource command message or a session establishment request message; if the third message is a session establishment request message,
  • the processing module is specifically used to:
  • the transceiver module is specifically configured to:
  • the relay UE Receiving, by the relay UE, a second data packet, where the second data packet is a data packet obtained by tunneling the first data packet by the relay UE according to the second IP address;
  • the data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address, and the second data packet is tunnel decapsulated to obtain the first data packet; and/ or,
  • the transceiver module is further configured to receive the MME a ninth message that is sent, where the ninth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
  • the processing module is further configured to cancel the binding relationship according to the ninth message received by the transceiver module.
  • the present invention provides an apparatus for implementing service continuity, where the apparatus is a remote user equipment UE; the apparatus includes:
  • a processing module configured to determine that the remote UE changes from a network state to a disconnection state
  • a sending module configured to send, by the processing module, the first message to the relay UE, when the processing module determines that the remote UE becomes an off-network state, so that the relay UE determines a binding relationship according to the first message;
  • the first message includes a first IP address allocated by the PGW to the remote UE.
  • the first message further includes an identifier of the remote UE.
  • the sending module is further configured to:
  • the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
  • the present invention provides a system for implementing service continuity, the system comprising: the relay UE, the sixth aspect of the first to sixth aspects of the fifth aspect or the fifth aspect, or The MME according to any one of the first to ninth aspects of the sixth aspect, the PGW of the first aspect to the third aspect of the seventh aspect, and the eighth aspect or the eighth aspect The remote UE of any one of the first to the second.
  • the present invention provides a method, apparatus, and system for implementing service continuity, in which a relay UE receives a first message sent by a remote UE in an off-network state, and the first message includes a PGW allocated to the remote UE. a first IP address, the relay UE sends a second message to the MME according to the first message, so that the MME sends a third message to the PGW, where the second message and the third message include a first IP address, where the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, and the second
  • the IP address is an IP address assigned to the relay UE by the PGW; the relay UE determines the binding relationship according to the first IP address and the second IP address, and according to the binding
  • the communication between the PGW and the remote UE is implemented by the relaying UE, so that when the remote UE changes from the network state to the offline state, the remote UE can continue to use the network
  • FIG. 1 is a schematic diagram of an application scenario of a method for implementing service continuity according to the present invention
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for implementing service continuity according to the present invention
  • Embodiment 3 is a flowchart of Embodiment 2 of a method for implementing service continuity according to the present invention
  • Embodiment 4 is a flowchart of Embodiment 3 of a method for implementing service continuity according to the present invention.
  • FIG. 5 is a flowchart of Embodiment 4 of a method for implementing service continuity according to the present invention.
  • Embodiment 6 is a flowchart of Embodiment 5 of a method for implementing service continuity according to the present invention.
  • Embodiment 7 is a flowchart of Embodiment 6 of a method for implementing service continuity according to the present invention.
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of an apparatus for implementing service continuity according to the present invention.
  • Embodiment 9 is a schematic structural diagram of Embodiment 2 of an apparatus for implementing service continuity according to the present invention.
  • Embodiment 4 is a schematic structural diagram of Embodiment 4 of an apparatus for implementing service continuity according to the present invention.
  • Embodiment 5 is a schematic structural diagram of Embodiment 5 of an apparatus for implementing service continuity according to the present invention.
  • Embodiment 7 is a schematic structural diagram of Embodiment 7 of an apparatus for implementing service continuity according to the present invention.
  • Embodiment 9 is a schematic structural diagram of Embodiment 9 of an apparatus for implementing service continuity according to the present invention.
  • Embodiment 11 of an apparatus for implementing service continuity according to the present invention
  • Embodiment 15 is a schematic structural diagram of Embodiment 13 of an apparatus for implementing service continuity according to the present invention.
  • FIG. 16 is a schematic structural diagram of Embodiment 15 of an apparatus for implementing service continuity according to the present invention.
  • FIG. 1 is a schematic diagram of an application scenario of a method for implementing service continuity according to the present invention
  • the application scenario includes: UE1, UE2, PGW, and a peer end.
  • UE1 When UE1 is in the network state (that is, UE1 is in the network), UE1 performs service communication with the opposite end based on IP1; when UE1 moves out of the network from position L1 in the direction indicated by the dotted arrow in FIG. 1 (for example, moving to position L2)
  • UE1 changes from the network access state to the off-network state (that is, UE1 is the remote UE).
  • the UE1 can access the network through the UE2 (that is, the UE2 is the relay UE); and when the UE1 accesses the network through the UE2, the UE2 allocates an IP2 to the UE1.
  • the UE1 needs to send data, UE1
  • the data packet is transmitted to the UE2 according to the IP2, and the UE2 replaces the IP2 in the data packet with the IP address (for example, IP3) of the UE2, and then transmits the replaced data packet through the PDN connection between the UE2 and the PGW.
  • the IP address used for communication with the peer end changes from IP1 to IP3 (that is, the IP address changes), causing UE1 to be in the network state.
  • the communication established by the peer is interrupted. Therefore, in the prior art, when the remote UE changes from the network state to the off-network state, the communication is interrupted.
  • peer end may be a UE or a server or the like outside the network.
  • FIG. 2 is a flowchart of Embodiment 1 of a method for implementing service continuity according to the present invention. As shown in FIG. 2, the method in this embodiment may include:
  • Step 201 The relay UE receives the first message sent by the remote UE in the off-network state, where the first message includes a first IP address allocated by the PGW to the remote UE.
  • the first IP address may be an IP address used when the remote UE is in a network state and communicates with the peer.
  • Step 202 The relay UE sends a second message to the MME according to the first message, so that the MME sends a third message to the PGW, where the second message and the third message include Said first IP address;
  • the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is the PGW.
  • the mapping between the default bearer identifier of the relay UE and the second IP address is saved in the PGW; the PGW may be based on the default bearer of the relay UE.
  • the identification determines the second IP address.
  • Step 203 The relay UE determines the binding relationship according to the first IP address and the second IP address, and implements the PGW and the device by using the relay UE according to the binding relationship. Communication between remote UEs.
  • the remote UE (where the remote UE may be the UE that accesses the network through the relay UE) changes from the on-network state to the off-network state, and the remote UE does not use the in-network state.
  • the IP address communicates with other devices in the network, but uses the IP address assigned by the relay UE to perform proximity communication (in which two UEs do not communicate through the base station, it may be called a neighbor). Near communication), and communicates with other devices through the relay UE, and the IP address when the relay UE communicates with other devices is the IP address of the relay UE.
  • the relay UE receives the first message sent by the remote UE in the off-network state, the first message includes a first IP address allocated by the PGW to the remote UE, and the relay UE is configured according to the Transmitting, by the first message, a second message, to the MME, to enable the MME to send a third message to the PGW, where the second message and the third message both include the first IP address; wherein the third message Determining, by the PGW, a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the relay UE by the PGW
  • the IP address of the relay UE is determined according to the first IP address and the second IP address, and the PGW is implemented by the relay UE according to the binding relationship. Communication between the remote UEs.
  • the remote UE after the remote UE changes from the network state to the offline state, the remote UE communicates with the relay UE by using the IP address assigned by the relay UE, and communicates with other devices through the relay UE. And the IP address of the relaying UE and the other device is the IP address of the relaying UE; therefore, when the remote UE changes from the in-network state to the offline state, the remote UE is in the network state and communicates with the opposite end.
  • the IP address used at the time is different from the IP address of the relay UE, and the remote UE is interrupted by the communication established with the peer when the network state changes to the offline state.
  • the first message sent by the remote UE in the off-network state is received by the relay UE, where the first message includes a first IP address allocated by the PGW to the remote UE; the relay UE Sending, according to the first message, a second message to the MME, to enable the MME to send a third message to the PGW, where the second message and the third message both include the first IP address; wherein the third The message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the relay by the PGW
  • the communication with the remote UE enables the remote UE to continue to use the IP address and the pair used when the remote UE is in the network state and the opposite end after the network state changes from the network state to the offline state. End communication; thereby solving the prior art, when the remote UE changes from the network state to the off-network state , the problem of communication interruption.
  • the relaying UE receives the first message sent by the remote UE in the off-network state, where the first message includes a first IP address that is allocated by the PGW to the remote UE; Sending, by the UE, a second message to the MME according to the first message, so that the MME sends the PGW to the PGW.
  • the remote UE can continue to use the IP address used by the remote UE to perform the service in the network state and the peer end to communicate with the peer end; thereby solving the prior art, when the remote UE is in the network state The communication is interrupted when it becomes off-network.
  • FIG. 3 is a flowchart of Embodiment 2 of a method for implementing service continuity according to the present invention. As shown in FIG. 3, the method in this embodiment may include:
  • Step 301 The MME receives a second message sent by the relay UE, where the second message includes a first IP address allocated by the PGW to the remote UE.
  • Step 302 The MME sends a third message to the PGW according to the second message, where the third message includes the first IP address, where the third message is used by the PGW to determine binding.
  • the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is an IP address allocated by the PGW to the relay UE.
  • the sending, by the MME, the third message to the PGW the MME sending, by using a serving gateway (SGW, Serving), a third message to the PGW;
  • SGW serving gateway
  • the sending, by the MME, the third message to the PGW by using the SGW may be:
  • the MME sends a tenth message to the SGW, so that the SGW performs protocol correlation processing on the tenth message to obtain a third message, and sends the third message to the PGW.
  • the tenth message includes the first IP address.
  • the MME after receiving the second message including the first IP address sent by the relay UE, the MME sends a third message including the first IP address to the PGW; and after the PGW obtains the first IP address, And determining a binding relationship according to the third message.
  • Embodiment 3 is a flowchart of Embodiment 3 of a method for implementing service continuity according to the present invention. As shown in FIG. 4, the method in this embodiment may include:
  • Step 401 The PGW receives a third message sent by the MME, where the third message includes a first IP address that is allocated by the PGW to the remote UE.
  • Step 402 The PGW determines, according to the third message, a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is The IP address assigned by the PGW to the relay UE;
  • Step 403 The PGW implements communication between the PGW and the remote UE by using the relay UE according to the binding relationship.
  • the third message sent by the MME is received by the PGW; the third message includes a first IP address that is allocated to the remote UE by the PGW when the remote UE is in the network state; Determining, by the third message, a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, and the PGW passes the relay UE according to the binding relationship.
  • the communication between the PGW and the remote UE is implemented, so that when the remote UE changes from the network state to the offline state, the remote UE can continue to use the network when the remote UE is in the network state and the opposite end.
  • the IP address communicates with the peer end; thereby solving the problem that the communication is interrupted when the remote UE changes from the network state to the off-network state in the prior art.
  • FIG. 5 is a flowchart of Embodiment 4 of a method for implementing service continuity according to the present invention. As shown in FIG. 5, the method in this embodiment may include:
  • Step 501 The remote UE determines that the remote UE changes from a network state to a disconnected state.
  • Step 502 The remote UE sends a first message to the relay UE, so that the relay UE determines a binding relationship according to the first message, where the first message includes a PGW allocated to the remote end.
  • the first IP address of the UE is a PGW allocated to the remote end.
  • the first message is sent to the relay UE, where the first message includes the first IP address, and the relay UE is obtained. After the first IP address, the binding relationship can be determined according to the first message.
  • FIG. 6 is a flowchart of Embodiment 5 of a method for implementing service continuity according to the present invention. As shown in FIG. 6, the method in this embodiment may include:
  • Step 601 The remote UE sends a first message to the relay UE after the network status changes to the offline status, where the first message includes the first IP address and the remote end allocated by the PGW to the remote UE.
  • the first message may be a direct communication request message.
  • Step 602 The relay UE sends a fourth message to the MME, where the fourth message includes the The identifier of the remote UE and the identifier of the relay UE;
  • the fourth message may be a non-access stratum (NAS, Non-Access Stratum) request message.
  • NAS non-access stratum
  • the relay UE may send a fourth message to the MME by using a ProSeimity Service Function (ProSe Function).
  • ProSe Function ProSeimity Service Function
  • the MME may send a fourth message to the MME by using the ProSe Function and a Home Subscriber Server (HSS).
  • HSS Home Subscriber Server
  • the relay UE since the relay UE may be connected to the PGW, or may not be connected to the PGW, the first message may include the remote UE in addition to the first IP address.
  • the MME is configured to enable the MME to determine, according to the identifier of the remote UE, whether to establish a PDN connection between the relay UE and the PGW, or modify a PDN connection between the relay UE and the PGW. .
  • Step 603 The MME determines, according to the fourth message, whether to establish a PDN connection between the relay UE and the PGW.
  • the MME determines, according to the fourth message, whether to establish a PDN connection between the relay UE and the PGW, including:
  • the MME Determining, by the MME, the context of the remote UE according to the identifier of the remote UE, where the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
  • the MME Determining, by the MME, the context of the relay UE according to the identifier of the relay UE, where the context of the relay UE includes an IP address of a relay UE and an IP address of a PGW in each PDN connection of the relay UE ;
  • the MME determines whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE.
  • the MME determines, according to the context of the remote UE and the context of the relay UE, whether to establish a PDN connection between the relay UE and the PGW, including:
  • determining, by the MME, the context of the remote UE according to the identifier of the remote UE including:
  • the MME receives a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE.
  • the sixth message may be a context request message
  • the seventh message may be a context response message.
  • the MME may obtain the identifier of the MME of the remote UE according to the identifier of the remote UE, that is, the identifier of the MME of the remote UE may be reflected in the identifier of the remote UE.
  • Step 604 The MME sends a fifth message to the relay UE.
  • the fifth message includes a result identifier, where the result identifier is used to indicate that the relay UE does not newly establish a PDN connection between the relay UE and the PGW.
  • the fifth message may be a NAS response message.
  • the fourth message may further include the first IP address, so that the MME can determine the IP address of the PGW according to the context of the remote UE and the first IP address.
  • the fourth message may not include the first IP address, and the MME may determine whether to create or modify the IP address (IP_i) of the remote UE according to the context of the remote UE and the context of the relay UE.
  • IP_i IP address
  • a PDN connection between the PGWs corresponding to the UE and the IP_i; correspondingly, the fifth message may include a result identifier corresponding to each IP_i.
  • Step 605 The relay UE sends a second message to the MME, where the second message includes the first IP address.
  • the second message may be a bearer resource modification request message.
  • the relay UE when the relay UE is connected to multiple PGWs, the relay UE has multiple IP addresses; at this time, the MME may enable the relay UE to determine the manner by including the second IP address in the fifth message. Which of the plurality of IP addresses is an IP address (ie, a second IP address) connected to the PGW.
  • Step 606 The MME sends a third message to the PGW according to the second message, where the third message includes the first IP address.
  • the third message may be a bearer resource command message.
  • Step 607 The PGW determines a binding relationship according to the third message.
  • the binding relationship includes a correspondence between the first IP address and the second IP address, where the second IP address is an IP address allocated by the PGW to the relay UE.
  • the manner in which the PGW obtains the second IP address is similar to the step 202, and details are not described herein again.
  • Step 608 The relay UE determines the binding relationship according to the first IP address and the second IP address.
  • the relay UE may obtain any time after the first IP address and the second IP address.
  • Step 609 The relay UE and the PGW implement communication between the PGW and the remote UE according to the binding relationship.
  • the relay UE and the PGW perform tunnel communication according to the binding relationship, and the remote UE performs proximity communication with the relay UE to implement between the PGW and the remote UE. Communicating and further implementing communication between the remote UE and the peer.
  • step 609 can include:
  • the relay UE Receiving, by the relay UE, the first data packet that is sent by the remote UE by using the proximity communication; the first data packet includes the first IP address; and the relay UE adopts the The second IP address tunnel encapsulates the first data packet to obtain a second data packet; the relay UE sends the second data packet to the PGW, so that the PGW pairs the second data Obtaining the first data packet after the packet is decapsulated by the tunnel;
  • the source IP address of the first data packet is the first IP address
  • the destination IP address is the IP address of the peer end.
  • the relay UE tunnels the first data packet according to the second IP address
  • the first data packet is encapsulated in the second data packet
  • the source IP address of the second data packet is the second IP address
  • the destination IP address is The IP address of the end. Since the second IP address is an IP address assigned to the relay UE by the PGW, the second data packet can be routed to the PGW.
  • the PGW obtains the first data packet encapsulated in the second data packet by decapsulating; because the destination IP address of the first data packet is the IP address of the opposite end, Therefore, the first data packet can be routed to the opposite end; after receiving the first data packet, the opposite end can confirm that the first data is from the remote UE according to the source IP address of the first data packet.
  • step 609 may further include:
  • the relaying UE receives the third data packet sent by the PGW; the third data packet is the fourth that the PGW sends the second IP address pair to the remote UE according to the binding relationship.
  • a data packet obtained after the tunnel is encapsulated by the data packet; the fourth data packet includes the first IP address; and the relay UE performs tunnel decapsulation on the third data packet to obtain the fourth data packet. And transmitting the fourth data packet to the remote UE by using proximity communication.
  • the destination IP address of the fourth data packet is the first IP address; and the PGW may be included according to the fourth data packet.
  • the first IP address is determined, and the fourth data packet is determined to be a data packet sent by the peer end to the remote UE.
  • the MME determines whether to establish a PDN connection between the relay UE and the PGW, and when determining to modify the PDN connection between the relay UE and the PGW, respectively, in the relay UE and the
  • the PGW side determines a binding relationship; the relay UE and the PGW implement communication between the PGW and the remote UE according to the binding relationship; After the out-of-network state, the remote UE can continue to use the IP address used by the remote UE to perform the service in the network state and the peer end to communicate with the peer end.
  • the method may further include:
  • the eighth message is sent to the MME, where the eighth message includes a release identifier, where the release identifier is used to instruct the PGW to release the binding Relationship
  • the MME After receiving the eighth message, the MME sends a ninth message to the PGW according to the eighth message, where the ninth message includes the release identifier;
  • the PGW receives the ninth message sent by the MME, and releases the binding relationship.
  • the eighth message may be a Service Request message or a Tracking Area Update message; and the ninth message may be a Modify Bearer Req message.
  • the relay UE may determine that the proximity communication with the remote UE has ended. Unbinding the relationship.
  • the second IP address of the relay UE is an IP address allocated by the PGW to the relay UE before the remote UE is in a disconnected state.
  • FIG. 7 is a flowchart of Embodiment 6 of a method for implementing service continuity according to the present invention. As shown in FIG. 7, the method in this embodiment may include:
  • Step 701 The remote UE sends a first message to the relay UE after the network status changes to the offline status, where the first message includes a first IP address allocated by the PGW to the remote UE, and the remote end.
  • step 701 is similar to step 601, and details are not described herein again.
  • Step 702 The relay UE sends a fourth message to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE.
  • step 702 is similar to step 602, and details are not described herein again.
  • Step 703 The MME determines, according to the fourth message, whether to establish a PDN connection between the relay UE and the PGW.
  • step 703 is similar to step 603, and details are not described herein again.
  • Step 704 The MME sends a fifth message to the relay UE.
  • the fifth message includes a result identifier, where the result identifier is used to indicate that the relay UE newly establishes a PDN connection between the relay UE and the PGW.
  • Step 705 The relay UE sends a second message to the MME, where the second message includes the first IP address and a request identifier for indicating that the request type is a relay.
  • the second message may be a PDN connection request message.
  • Step 706 The MME establishes a PDN connection between the relay UE and the PGW according to the second message.
  • mode 1
  • the PDN connection request message may further include an identifier of the remote UE
  • the step 706 is specifically: the MME determines the context of the remote UE according to the identifier of the remote UE, and establishes the middle according to the context of the remote UE and the first IP address. Following the PDN connection between the UE and the PGW.
  • step 703 may further include:
  • the MME adds a correspondence between the first IP address and the PGW in the context information of the relay UE.
  • the step 706 is specifically: the MME establishes the relay UE and the PGW according to the first IP address in the PDN connection request message and the correspondence between the first IP address and the PGW. PDN connection between.
  • Step 707 The MME sends a third message to the PGW according to the second message, where the third message includes the first IP address.
  • the third message may be a session establishment request message.
  • Step 708 The PGW allocates the second IP address to the relay UE, and determines a binding relationship according to the first IP address and the second IP address.
  • Step 709 The relay UE determines the binding relationship according to the first IP address and the second IP address.
  • the PGW due to the newly established PDN connection between the relay UE and the PGW, the PGW newly allocates a second IP address for it (the PDN connection is established between the relay UE and the PGW) Previously, the relay UE cannot obtain the second IP address; therefore, the PGW can enable the relay UE to obtain the first manner by sending a second IP address to the relay UE. And determining an binding relationship according to the first IP address and the second IP address.
  • the relay UE may obtain any time after the first IP address and the second IP address.
  • Step 710 The relay UE and the PGW implement communication between the PGW and the remote UE according to the binding relationship.
  • step 710 is similar to step 609, and details are not described herein again.
  • the MME determines whether to establish a PDN connection between the relay UE and the PGW, and establishes a PDN connection between the relay UE and the PGW when determining that the relay UE establishes a PDN connection with the PGW. And determining, by the relay UE and the PGW, a binding relationship, where the relaying UE and the PGW implement communication between the PGW and the remote UE according to the binding relationship; After the state of the network is changed to the off-network state, the IP address used by the remote UE to perform the service in the network state and the peer end can be continuously communicated with the opposite end; The problem that the communication is interrupted when the remote UE changes from the network state to the off-network state exists in the prior art.
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of a device for implementing service continuity according to the present invention; the device is a relay UE; as shown in FIG. 8 , the device in this embodiment may include: a transceiver module 801 and a processing module 802.
  • the transceiver module 801 is configured to receive a first message sent by a remote UE in an off-network state, where the first message includes a first IP address that is allocated by the PGW to the remote UE, and the transceiver module 801 is further configured to: Sending, by the MME, a second message, according to the first message, to enable the MME to send a third message to the PGW, where the second message and the third message each include the first IP address; The third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the PGW The IP address of the relaying UE; the processing module 802, configured to determine the binding relationship according to the second IP address and the first IP address included in the first message received by the transceiver module 801; The transceiver module 801 is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module 802.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the transceiver module 801 is specifically configured to:
  • the remote UE Receiving, by the remote UE, a first data packet sent by proximity communication; the first data packet includes the first IP address;
  • the transceiver module 801 is further configured to:
  • the third data packet is a tunnel encapsulation of the fourth data packet sent by the PGW to the remote UE by using the second IP address according to the binding relationship.
  • the communication transmits the fourth data packet to the remote UE.
  • the first message may further include an identifier of the remote UE.
  • the transceiver module 801 is further configured to:
  • the result identifier is used to indicate whether the relay UE establishes a PDN connection between the relay UE and the PGW.
  • the second message is a PDN connection request message
  • the third message is a session establishment request message
  • the second message further includes a request identifier for indicating that the request type is a relay; or, if the result identifier indicates that a PDN connection between the relay UE and the PGW is not newly created, the second message is The resource modification request message is carried, and the third message is a bearer resource command message.
  • the transceiver module 801 is specifically configured to: send the fourth message to the MME by using a ProSe Function; or send the fourth message directly to the MME.
  • the transceiver module 801 is specifically configured to: send an eleventh message to the ProSe Function, so that the ProSe Function sends a twelfth message to the home subscription server HSS according to the eleventh message, triggering the The HSS sends a fourth message to the MME according to the twelfth message, where the eleventh message and the twelfth message both include an identifier of the remote UE and an identifier of the relay UE.
  • the processing module 802 determines that the proximity communication with the remote UE has ended, the binding relationship is released.
  • the device in this embodiment may be used to perform the technical solution of the relaying UE side in the method embodiment shown in FIG. 6 or FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of Embodiment 2 of an apparatus for implementing service continuity according to the present invention; the apparatus is an MME; as shown in FIG. 9, the apparatus in this embodiment may include: a receiving module 901 and a sending module 902.
  • the receiving module 901 is configured to receive a second message that is sent by the relaying UE, where the second message includes a first IP address that is allocated by the PGW to the remote UE, and the sending module 902 is configured to receive the a second message, the third message is sent to the PGW, where the third message includes the first IP address, where the third message is used by the PGW to determine a binding relationship, where the binding relationship includes Corresponding relationship between the first IP address and the second IP address, the second The IP address is an IP address assigned to the relay UE by the PGW.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the apparatus may further include: a processing module 903. .
  • the receiving module 901 is further configured to receive a fourth message that is sent by the relaying UE, where the fourth message includes an identifier of the remote UE and an identifier of the relaying UE, and a processing module 903 is configured to: The fourth message received by the receiving module 901, determining whether the relay UE establishes a PDN connection between the relay UE and the PGW, and the sending module 902 is further configured to send a fifth to the relay UE. a message, where the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE establishes a PDN connection between the relay UE and the PGW.
  • processing module 903 is specifically configured to:
  • the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
  • Mode B Optionally, if the MME is different from the MME of the remote UE, the sending module 902 is further configured to send a sixth message to the MME of the remote UE, where the sixth message includes the The identifier of the remote UE;
  • the receiving module 901 is further configured to receive a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE, and a context of the remote UE includes each of the remote UEs The IP address of the remote UE and the IP address of the PGW in the PDN connection;
  • the processing module 903 is specifically configured to determine a context of the relay UE according to the identifier of the relay UE, where a context of the relay UE includes an IP address of a relay UE in each PDN connection of the relay UE, and Determining whether to create a new IP address between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE received by the receiving module 901 PDN connection.
  • the MME may determine, according to the mode A or the mode B, whether the relay UE establishes a PDN connection between the relay UE and the PGW.
  • the second message is a PDN connection request message
  • the third message is a session establishment request message
  • the second message further includes a request identifier for indicating that the request type is a relay;
  • the second message is a bearer resource modification request message
  • the third message is a bearer resource command message.
  • the PDN connection request message further includes an identifier of the remote UE
  • the processing module 903 is further configured to determine a context of the remote UE according to the identifier of the remote UE, and establish the relay UE and the location according to the context of the remote UE and the first IP address. Describe the PDN connection between PGWs.
  • Mode 2 Optionally, if the processing module 903 determines to establish a PDN connection between the relay UE and the PGW, the processing module 903 is further configured to add the foregoing information in the context information of the relay UE. Corresponding relationship between an IP address and the PGW; establishing the relay UE and the PGW according to the first IP address in the PDN connection request message and the correspondence between the first IP address and the PGW PDN connection between.
  • the MME may establish a PDN connection between the relay UE and the PGW according to the manner of the mode 1 or the mode 2.
  • the receiving module 901 is specifically configured to receive the fourth message that is sent by the relay UE by using a proximity service function entity ProSe Function; or receive the foregoing that the relay UE sends directly to the MME Four messages.
  • the receiving module 901 is specifically configured to receive the fourth message sent by the home subscription server HSS according to the twelfth message, where the twelfth message is sent by the ProSe Function to the relay UE.
  • the receiving module 901 is further configured to receive an eighth message that is sent by the remote UE in a network state, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is released.
  • the sending module 902 is further configured to send, according to the eighth message received by the receiving module 901, the PGW Sending a ninth message, the ninth message including the release identifier.
  • the device in this embodiment may be used to implement the technical solution on the MME side of the method embodiment shown in FIG. 6 or FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 11 is a schematic structural diagram of Embodiment 5 of a device for implementing service continuity according to the present invention; the device is a PGW; as shown in FIG. 11, the device in this embodiment may include: a transceiver module 1101 and a processing module 1102.
  • the transceiver module 1101 is configured to receive a third message sent by the MME, where the third message includes a first IP address that is allocated by the PGW to the remote UE, and the processing module 1102 is configured to receive, according to the receiving, by the transceiver module 1101.
  • the binding relationship is determined, the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the relay UE by the PGW
  • the transceiver module 1101 is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module 1102.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the third message is a bearer resource command message or a session establishment request message, where the third message is a session establishment request message, if the third message is a session establishment request message, Module 1102, specifically for:
  • the transceiver module 1101 is specifically configured to:
  • the relay UE Receiving, by the relay UE, a second data packet, where the second data packet is a data packet obtained by tunneling the first data packet by the relay UE according to the second IP address;
  • the data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address;
  • the transceiver module 1101 is further configured to:
  • the transceiver module 1101 is further configured to receive the ninth message sent by the MME, where the ninth message includes a de-identification, where the de-identification is used to instruct the PGW to cancel the binding relationship;
  • the processing module 1102 is further configured to cancel the binding relationship according to the ninth message received by the transceiver module 1101.
  • the device in this embodiment can be used to implement the technical solution on the PGW side of the method embodiment shown in FIG. 6 and FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 12 is a schematic structural diagram of Embodiment 7 of a device for implementing service continuity according to the present invention; the remote UE; as shown in FIG. 12, the device in this embodiment may include: a processing module 1201 and a sending module 1202.
  • the processing module 1201 is configured to determine that the remote UE changes from the in-network state to the off-network state
  • the sending module 1202 is configured to: when the processing module 1201 determines that the remote UE becomes the off-network state, The UE sends a first message, so that the relay UE determines a binding relationship according to the first message, where the first message includes a first IP address allocated by the PGW to the remote UE.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the first message further includes the identifier of the remote UE, based on the seventh embodiment of the device for implementing the service continuity.
  • the sending module 1202 is further configured to:
  • the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
  • the device in this embodiment may be used to perform the technical solution on the remote UE side of the method embodiment shown in FIG. 6 and FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the present invention further provides a system for implementing service continuity, the system comprising: a device for implementing service continuity, a relay UE according to Embodiment 1 or Embodiment 2, and a device embodiment 3 or an embodiment for implementing service continuity.
  • a device for implementing service continuity a relay UE according to Embodiment 1 or Embodiment 2
  • a device embodiment 3 or an embodiment for implementing service continuity a device for implementing service continuity.
  • the system of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 6 and FIG.
  • the implementation principle and technical effect are similar, and will not be described here.
  • FIG. 13 is a schematic structural diagram of Embodiment 9 of a device for implementing service continuity according to the present invention
  • the device is a relay UE; as shown in FIG. 13, the device in this embodiment may include: a transceiver 1301 and a processor 1302.
  • the transceiver 1301 is configured to receive a first message sent by a remote UE in an off-network state, where the first message includes a first IP address allocated by the PGW to the remote UE, and the transceiver 1301 is further configured to: Sending, according to the first message, a second message to the mobility management entity MME, so that the MME sends a third message to the PGW, where the second message and the third message each include the first IP An address, where the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is The IP address of the PGW is allocated to the relay UE; the processor 1302 is configured to determine the binding relationship according to the first IP address and the second IP address; the processor 1302 is further configured to perform The binding relationship is implemented, and communication between the PGW and the remote UE is implemented by the relay UE.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the transceiver 1301 is further configured to receive, by the remote UE, the first data packet sent by the remote UE by using the neighboring communication, where the first data packet includes The first IP address;
  • the processor 1302 is configured to perform tunnel encapsulation on the first data packet by using the second IP address according to the binding relationship, to obtain a second data packet.
  • the transceiver 1301 is further configured to send the second data packet to the PGW, so that the PGW obtains the first data packet after performing tunnel decapsulation on the second data packet.
  • the transceiver 1301 is further configured to receive a third data packet sent by the PGW, where the third data packet is sent by the PGW according to the binding relationship by using the second IP address pair.
  • the processor 1302 is further configured to perform tunnel decapsulation on the third data packet to obtain the fourth data packet.
  • the transceiver 1301 is further configured to send the fourth data packet to the remote end by using proximity communication UE.
  • the first message may further include an identifier of the remote UE.
  • the transceiver 1301 is further configured to:
  • the result identifier is used to indicate whether the relay UE establishes a packet data network PDN connection between the relay UE and the PGW.
  • the second message is a PDN connection request message
  • the third message is a session establishment request message
  • the second message further includes a request identifier for indicating that the request type is a relay
  • the third message is a bearer resource command message.
  • the transceiver 1301 is specifically configured to: send the fourth message to the MME by using a ProSe Function; or send the fourth message directly to the MME.
  • the transceiver 1301 is specifically configured to: send an eleventh message to the ProSe Function, so that the ProSe Function sends a twelfth message to the home subscription server HSS according to the eleventh message, triggering the HSS Transmitting, by the twelfth message, a fourth message to the MME, where the eleventh message and the twelfth message each include an identifier of the remote UE and an identifier of the relay UE.
  • the processor 1302 determines that the proximity communication with the remote UE has ended, the binding relationship is cancelled.
  • the device in this embodiment may be used to perform the technical solution of the relaying UE side in the method embodiment shown in FIG. 6 or FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 14 is a schematic structural diagram of Embodiment 11 of the device for implementing service continuity according to the present invention; the device is an MME; as shown in FIG. 14, the device in this embodiment may include: a first communication interface 1401, a processor 1402, and a Two communication interfaces 1403.
  • the first communication interface 1401 is configured to receive a second message sent by the relay user equipment UE, where the second message includes a first IP address allocated by the PGW to the remote UE, and the processor 1402 is configured to perform according to the first
  • the second message received by the communication interface 1401 generates a third message, the third message includes the first IP address, and the second communication interface 1403 is configured to send the third message generated by the processor 1402 to The PGW; wherein, the The third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the PGW The IP address of the relay UE.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the first communication interface 1401 is further configured to receive a fourth message sent by the relay UE, where the fourth message includes the The identifier of the remote UE and the identifier of the relay UE; the processor 1402, configured to determine, according to the fourth message received by the first communication interface 1401, whether the relay UE establishes the relay UE and the a packet data network PDN connection between the PGWs, and generating a fifth message, wherein the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE creates the relay UE and the PGW
  • the first communication interface 1401 is further configured to send the fifth message generated by the processor 1402 to the relay UE.
  • the processor 1402 is specifically configured to:
  • Mode B Optionally, if the MME is different from the MME of the remote UE, the device further includes a third communication interface, and the third communication interface is configured to send the sixth message to the MME of the remote UE. a message, the sixth message includes an identifier of the remote UE, and a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE, and the remote UE The context includes an IP address of the remote UE and an IP address of the PGW in each PDN connection of the remote UE;
  • the processor 1402 is specifically configured to determine, according to the identifier of the relay UE, the relay UE
  • the context of the relay UE includes the IP address of the relay UE and the IP address of the PGW in each PDN connection of the relay UE, and the context of the remote UE received according to the third communication interface. Determining, by the context of the relaying UE, whether to establish a PDN connection between the relay UE and the PGW.
  • the MME may determine, according to the mode A or the mode B, whether the relay UE establishes a PDN connection between the relay UE and the PGW.
  • the second message is a PDN connection request message
  • the third message is a session establishment request message
  • the second message further includes a request identifier for indicating that the request type is a relay; or
  • the second message is a bearer resource modification request message
  • the third message is a bearer resource command message.
  • the PDN connection request message further includes an identifier of the remote UE
  • the processor 1402 is further configured to determine a context of the remote UE according to the identifier of the remote UE, and establish the relay UE and the location according to the context of the remote UE and the first IP address. Describe the PDN connection between PGWs.
  • Mode 2 Optionally, if the processor 1402 determines to establish a PDN connection between the relay UE and the PGW, the processor 1402 is further configured to:
  • the MME may establish a PDN connection between the relay UE and the PGW according to the manner of the mode 1 or the mode 2.
  • the first communication interface 1401 is configured to receive the fourth message sent by the relay UE by using a proximity service function entity ProSe Function; or receive the location that the relay UE directly sends to the MME The fourth message.
  • the first communication interface 1401 is configured to receive the fourth message sent by the home subscription server HSS according to the twelfth message, where the twelfth message is that the ProSe Function receives the relay UE.
  • the first communication interface 1401 is further configured to receive an eighth message sent by the remote UE in a network state, where the eighth message includes a release identifier, where the release identifier is used to refer to The PGW is shown to release the binding relationship; according to the eighth message, a ninth message is sent to the PGW, where the ninth message includes the release identifier.
  • the device in this embodiment may be used to implement the technical solution on the MME side of the method embodiment shown in FIG. 6 or FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 15 is a schematic structural diagram of Embodiment 13 of the device for implementing service continuity according to the present invention; the device is a PGW; as shown in FIG. 15, the device in this embodiment may include: a communication interface 1501 and a processor 1502.
  • the communication interface 1501 is configured to receive a third message sent by the mobility management entity MME, where the third message includes a first IP address that is allocated by the PGW to the remote UE, and the processor 1502 is configured to use the communication interface 1501.
  • the processor 1502 is further configured to implement, by using the relay UE, communication between the PGW and the remote UE according to the binding relationship.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the third message is a bearer resource command message or a session establishment request message, where the third message is a session establishment request message, if the third message is a session establishment request message,
  • the processor 1502 is specifically configured to:
  • the communication interface 1501 is further configured to receive a second data packet sent by the relay UE, where the second data packet is used by the relay UE to tunnel the first data packet according to the second IP address.
  • a data packet obtained after the encapsulation the first data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address;
  • the processor 1502 is specifically configured to perform tunnel decapsulation on the second data packet to obtain the first data packet.
  • the processor 1502 is further configured to perform tunnel encapsulation on the fourth data packet to be sent to the remote UE according to the second IP address, to obtain a third data packet.
  • the communication interface 1501 is further configured to forward the third data packet to the relay UE, so that the relay UE obtains the fourth data packet after performing tunnel decapsulation on the third data packet, and Will The fourth data packet is sent to the remote UE by proximity communication.
  • the communication interface 1501 is further configured to receive the ninth message sent by the MME, where the ninth message includes a de-identification, where the de-identification is used to instruct the PGW to cancel the binding relationship;
  • the processor 1502 is further configured to release the binding relationship according to the ninth message received by the communication interface 1501.
  • the device in this embodiment can be used to implement the technical solution on the PGW side of the method embodiment shown in FIG. 6 and FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 16 is a schematic structural diagram of Embodiment 15 of the apparatus for implementing service continuity according to the present invention; the remote UE; as shown in FIG. 16, the apparatus in this embodiment may include: a processor 1601 and a transmitter 1602.
  • the processor 1601 is configured to determine that the remote UE changes from the in-network state to the off-network state
  • the transmitter 1602 is configured to: when the processor 1601 determines that the remote UE becomes the off-network state,
  • the UE sends a first message, so that the relay UE determines a binding relationship according to the first message, where the first message PGW is allocated to the first IP address of the remote UE.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the first message further includes an identifier of the remote UE.
  • the transmitter 1602 is further configured to:
  • the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
  • the device in this embodiment may be used to perform the technical solution on the remote UE side of the method embodiment shown in FIG. 6 and FIG. 7.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

Provided in embodiments of the present invention are a service continuity achieving method, device and system. The method comprises: receiving, by a relay UE, a first message transmitted by a remote UE in an offline state, the first message comprising a first IP address allocated to the remote UE by a PGW; transmitting, by the relay UE, according to the first message, a second message to an MME so as to enable the MME to transmit a third message to the PGW, the second message and the third message each comprising the first IP address; the third message is used by the PGW to determine a binding relationship; determining, by the relay UE, according to the first IP address and a second IP address, the binding relationship and realizing, by the relay UE, according to the binding relationship, a communication between the PGW and the remote UE. The present invention addresses a problem in the prior art of a communication interruption when the remote UE changes from an online state to an offline state.

Description

实现业务连续性的方法、装置及系统Method, device and system for realizing business continuity 技术领域Technical field
本发明实施例涉及通信技术,尤其涉及一种实现业务连续性的方法、装置及系统。Embodiments of the present invention relate to communication technologies, and in particular, to a method, apparatus, and system for implementing service continuity.
背景技术Background technique
邻近业务(ProSe,Proximity Service)是第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)定义的一种用户设备(UE,User Equipment)之间不经过基站而利用长期演进(LTE,Long Term Evolution)技术进行邻近发现和邻近通信的方法。ProSe (Proximity Service) is a type of user equipment (UE, User Equipment) defined by the 3rd Generation Partnership Project (3GPP) that utilizes long-term evolution (LTE, Long Term Evolution) without going through a base station. Technology for methods of proximity discovery and proximity communication.
现有技术中,ProSe应用的一个重要场景是能够使得一个没有网络覆盖(out of network)的远端(Remote)UE通过一个有网络覆盖的中继(Relay)UE接入到网络中。Remote UE通过Relay UE接入到网络中时:Relay UE为Remote UE分配一个互联网协议(IP,Internet Protocol)地址(即,IP_1);Remote UE根据IP_1来进行数据的打包,并通过邻近通信将打包后的数据发送至Relay UE;Relay UE收到打包后的数据后将IP_1替换为Relay UE的IP地址(即,IP_2),并通过Relay UE与分组数据网关(PGW,PDN Gateway)之间的分组数据网(PDN,Packet Data Network)连接对替换后的数据进行发送。类似的,Relay UE通过PDN连接接收到需要发送至Remote UE的数据时,将该数据中的IP_2替换为IP_1,并通过邻近通信将替换后的数据发送至Remote UE。In the prior art, an important scenario of the ProSe application is to enable a remote UE without an out of network to access the network through a relay UE with network coverage. When the Remote UE accesses the network through the Relay UE: the Relay UE allocates an Internet Protocol (IP) address (ie, IP_1) to the Remote UE; the Remote UE packs the data according to the IP_1, and packages the data through the proximity communication. The subsequent data is sent to the Relay UE; after receiving the packed data, the Relay UE replaces the IP_1 with the IP address of the Relay UE (ie, IP_2), and passes the packet between the Relay UE and the Packet Data Gateway (PGW, PDN Gateway). A data network (PDN, Packet Data Network) connection transmits the replaced data. Similarly, when the Relay UE receives the data to be sent to the Remote UE through the PDN connection, the IP_2 in the data is replaced with IP_1, and the replaced data is sent to the Remote UE through the proximity communication.
但是,现有技术中,存在当该远端UE由在网状态变为脱网状态时,通信中断的问题。However, in the prior art, there is a problem that communication is interrupted when the remote UE changes from the network state to the off-network state.
发明内容Summary of the invention
本发明实施例提供一种实现业务连续性的方法、装置及系统,用以解决现有技术中存在当该远端UE由在网状态变为脱网状态时,通信中断的问题。The embodiment of the invention provides a method, a device and a system for implementing service continuity, which are used to solve the problem that communication is interrupted when the remote UE changes from the network state to the off-network state in the prior art.
第一方面,本发明提供一种实现业务连续性的方法,所述方法包括: In a first aspect, the present invention provides a method of implementing business continuity, the method comprising:
中继UE接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括PGW分配给所述远端UE的第一IP地址;The relay UE receives the first message sent by the remote UE in the off-network state, where the first message includes a first IP address allocated by the PGW to the remote UE;
所述中继UE根据所述第一消息,向移动性管理实体MME发送第二消息,以使所述MME向所述PGW发送第三消息,所述第二消息及所述第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;The relaying UE sends a second message to the mobility management entity MME according to the first message, so that the MME sends a third message to the PGW, where the second message and the third message are both included. The first IP address, wherein the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the The second IP address is an IP address assigned to the relay UE by the PGW;
所述中继UE根据所述第一IP地址及所述第二IP地址,确定所述绑定关系,并根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信The relaying UE determines the binding relationship according to the first IP address and the second IP address, and implements the PGW and the remote end by using the relay UE according to the binding relationship. Communication between UEs
结合第一方面,在第一方面的第一种可能实现的方式中,所述中继UE根据所述绑定关系,实现所述PGW与所述远端UE之间的通信,包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the relay UE, according to the binding relationship, implements communication between the PGW and the remote UE, including:
所述中继UE接收所述远端UE通过邻近通信发送的第一数据包;所述第一数据包包括所述第一IP地址;所述中继UE根据所述绑定关系,采用所述第二IP地址对所述第一数据包进行隧道封装,获得第二数据包;所述中继UE将所述第二数据包发送给所述PGW,以使所述PGW对所述第二数据包进行隧道解封装后获得所述第一数据包;和/或,Receiving, by the relay UE, the first data packet that is sent by the remote UE by using the proximity communication; the first data packet includes the first IP address; and the relay UE adopts the The second IP address tunnel encapsulates the first data packet to obtain a second data packet; the relay UE sends the second data packet to the PGW, so that the PGW pairs the second data Obtaining the first data packet after the packet is decapsulated by the tunnel; and/or,
所述中继UE接收所述PGW发送的第三数据包;所述第三数据包为所述PGW根据所述绑定关系采用所述第二IP地址对发送给所述远端UE的第四数据包进行隧道封装后获得的数据包;所述第四数据包包括所述第一IP地址;所述中继UE对所述第三数据包进行隧道解封装,获得所述第四数据包,并通过邻近通信将所述第四数据包发送给所述远端UE。The relaying UE receives the third data packet sent by the PGW; the third data packet is the fourth that the PGW sends the second IP address pair to the remote UE according to the binding relationship. a data packet obtained after the tunnel is encapsulated by the data packet; the fourth data packet includes the first IP address; and the relay UE performs tunnel decapsulation on the third data packet to obtain the fourth data packet. And transmitting the fourth data packet to the remote UE by using proximity communication.
结合第一方面或第一方面的第一种可能实现的方式,在第一方面的第二种可能实现的方式中,所述第一消息还包括所述远端UE的标识;With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the first message further includes an identifier of the remote UE;
所述中继UE根据所述第一消息,向MME发送第二消息之前,还包括:The relaying UE, before sending the second message to the MME according to the first message, further includes:
所述中继UE向所述MME发送第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;The relaying UE sends a fourth message to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE;
所述中继UE接收所述MME发送的第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的分组数据网PDN连接。 Receiving, by the relay UE, a fifth message sent by the MME, where the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE creates the relay UE and the PGW. Inter-packet data network PDN connection.
结合第一方面的第二种可能实现的方式,在第一方面的第三种可能实现的方式中,若所述结果标识指示新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;With the second possible implementation of the first aspect, in a third possible implementation manner of the first aspect, if the result identifier indicates that a PDN connection between the relay UE and the PGW is newly established, The second message is a PDN connection request message, the third message is a session establishment request message, and the second message further includes a request identifier for indicating that the request type is a relay;
或者,若所述结果标识指示不新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。Or, if the result identifier indicates that the PDN connection between the relay UE and the PGW is not newly created, the second message is a bearer resource modification request message, and the third message is a bearer resource command message.
结合第一方面的第二种或第三种可能实现的方式,在第一方面的第四种可能实现的方式中,所述中继UE向所述MME发送第四消息,包括:With the second or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the relaying, by the relaying UE, the fourth message, to the MME, includes:
所述中继UE通过邻近服务功能实体ProSe Function向所述MME发送所述第四消息;或者,Transmitting, by the relay UE, the fourth message to the MME by using a proximity service function entity ProSe Function; or
所述中继UE直接向所述MME发送所述第四消息。The relay UE directly sends the fourth message to the MME.
结合第一方面的第四种可能实现的方式,在第一方面的第五种可能实现的方式中,所述中继UE通过ProSe Function向所述MME发送所述第四消息,包括:With the fourth possible implementation of the first aspect, in a fifth possible implementation manner of the first aspect, the relaying, by the relay UE, sending the fourth message to the MME by using a ProSe function, includes:
所述中继UE向所述ProSe Function发送第十一消息;The relay UE sends an eleventh message to the ProSe Function;
所述ProSe Function根据所述第十一消息向归属签约服务器HSS发送第十二消息;The ProSe Function sends a twelfth message to the home subscription server HSS according to the eleventh message;
所述HSS根据所述第十二消息向所述MME发送所述第四消息;Sending, by the HSS, the fourth message to the MME according to the twelfth message;
其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。The eleventh message and the twelfth message each include an identifier of the remote UE and an identifier of the relay UE.
结合第一方面或第一方面的第一种至第五种任一种可能实现的方式,在第一方面的第六种可能实现的方式中,若所述中继UE确定与所述远端UE的邻近通信已结束,则所述中继UE解除所述绑定关系。In conjunction with the first aspect or the first to fifth aspects of the first aspect, in a sixth possible implementation manner of the first aspect, if the relay UE determines the remote end The neighboring communication of the UE has ended, and the relaying UE releases the binding relationship.
第二方面,本发明提供一种实现业务连续性的方法,所述方法包括:In a second aspect, the present invention provides a method of implementing business continuity, the method comprising:
移动性管理实体MME接收中继用户设备UE发送的第二消息,所述第二消息包括分组数据网关PGW分配给远端UE的第一互联网协议IP地址;The mobility management entity MME receives the second message sent by the relay user equipment UE, where the second message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
所述MME根据所述第二消息,向所述PGW发送第三消息,所述第三消息包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第 二IP地址为所述PGW分配给所述中继UE的IP地址。The MME sends a third message to the PGW according to the second message, where the third message includes the first IP address, where the third message is used by the PGW to determine a binding relationship. The binding relationship includes a correspondence between the first IP address and a second IP address, where the The second IP address is an IP address assigned to the relay UE by the PGW.
结合第二方面,在第二方面的第一种可能实现的方式中,所述MME接收中继UE发送的第二消息之前,还包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, before the MME receives the second message sent by the relaying UE, the method further includes:
所述MME接收所述中继UE发送的第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;Receiving, by the MME, a fourth message sent by the relaying UE, where the fourth message includes an identifier of the remote UE and an identifier of the relaying UE;
所述MME根据所述第四消息,确定是否新建所述中继UE与所述PGW之间的分组数据网PDN连接;Determining, according to the fourth message, whether to establish a packet data network PDN connection between the relay UE and the PGW according to the fourth message;
所述MME向所述中继UE发送第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接。Sending, by the MME, a fifth message to the relay UE, where the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE creates a new connection between the relay UE and the PGW. PDN connection.
结合第二方面的第一种可能实现的方式,在第二方面的第二种可能实现的方式中,所述MME根据所述第四消息,确定是否新建所述中继UE与所述PGW之间的PDN连接,包括:With reference to the first possible implementation of the second aspect, in a second possible implementation manner of the second aspect, the MME determines, according to the fourth message, whether to create the new relay UE and the PGW. PDN connections between:
所述MME根据所述远端UE的标识确定所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址;Determining, by the MME, the context of the remote UE according to the identifier of the remote UE, where the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
所述MME根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;Determining, by the MME, the context of the relay UE according to the identifier of the relay UE, where the context of the relay UE includes an IP address of a relay UE and an IP address of a PGW in each PDN connection of the relay UE ;
所述MME根据所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。The MME determines whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE.
结合第二方面的第二种可能实现的方式,在第二方面的第三种可能实现的方式中,若所述MME与所述远端UE的MME不同,则所述MME根据所述远端UE的标识确定所述远端UE的上下文,包括:With the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, if the MME is different from the MME of the remote UE, the MME is configured according to the remote end The identifier of the UE determines the context of the remote UE, including:
所述MME向所述远端UE的MME发送第六消息,所述第六消息包括所述远端UE的标识;Sending, by the MME, a sixth message to the MME of the remote UE, where the sixth message includes an identifier of the remote UE;
所述MME接收所述远端UE的MME发送的第七消息,所述第七消息包括所述远端UE的上下文。The MME receives a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE.
结合第二方面的第一种至第三种任一种可能实现的方式,在第二方面的第四种可能实现的方式中,所述第二消息为PDN连接请求消息,所述第三消 息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;或者,所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。In a fourth possible implementation manner of the second aspect, the second message is a PDN connection request message, where the third The information is a session establishment request message, and the second message further includes a request identifier for indicating that the request type is a relay; or the second message is a bearer resource modification request message, and the third message is a bearer resource command message. .
结合第二方面的第四种可能实现的方式,在第二方面的第五种可能实现的方式中,所述PDN连接请求消息还包括所述远端UE的标识;With reference to the fourth possible implementation of the second aspect, in a fifth possible implementation manner of the second aspect, the PDN connection request message further includes an identifier of the remote UE;
所述MME接收中继UE发送的第二消息之后,还包括:After the MME receives the second message sent by the relaying UE, the MME further includes:
所述MME根据所述远端UE的标识,确定所述远端UE的上下文,并根据所述远端UE的上下文及所述第一IP地址,建立所述中继UE与所述PGW之间的PDN连接。Determining, by the MME, the context of the remote UE according to the identifier of the remote UE, and establishing, between the relay UE and the PGW, according to the context of the remote UE and the first IP address. PDN connection.
结合第二方面的第四种可能实现的方式,在第二方面的第六种可能实现的方式中,若所述MME确定新建所述中继UE与所述PGW之间的PDN连接,则所述方法还包括:With the fourth possible implementation of the second aspect, in a sixth possible implementation manner of the second aspect, if the MME determines to establish a PDN connection between the relay UE and the PGW, The method also includes:
所述MME在所述中继UE的上下文信息中增加所述第一IP地址与所述PGW的对应关系;The MME adds a correspondence between the first IP address and the PGW in the context information of the relay UE.
所述MME接收中继UE发送的第二消息之后,还包括:After the MME receives the second message sent by the relaying UE, the MME further includes:
所述MME根据所述PDN连接请求消息中所述第一IP地址及所述第一IP地址与所述PGW的对应关系,建立所述中继UE与所述PGW之间的PDN连接。The MME establishes a PDN connection between the relay UE and the PGW according to the first IP address in the PDN connection request message and the correspondence between the first IP address and the PGW.
结合第二方面的第一种至第六种任一种可能实现的方式,在第二方面的第七种可能实现的方式中,所述MME接收所述中继UE发送的第四消息,包括:With the possible implementation of the first to sixth aspects of the second aspect, in a seventh possible implementation manner of the second aspect, the MME receives the fourth message sent by the relay UE, including :
所述MME接收所述中继UE通过邻近服务功能实体ProSe Function发送的所述第四消息;或者,Receiving, by the MME, the fourth message sent by the relay UE by using a proximity service function entity ProSe Function; or
所述MME接收所述中继UE直接向所述MME发送的所述第四消息。The MME receives the fourth message that the relay UE sends directly to the MME.
结合第二方面的第七种可能实现的方式,在第二方面的第八种可能实现的方式中,所述MME接收归属签约服务器HSS根据第十二消息发送的第四消息,所述第十二消息为所述ProSe Function接收到所述中继UE发送的第十一消息后向所述HSS发送的消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。With reference to the seventh possible implementation of the second aspect, in an eighth possible implementation manner of the second aspect, the MME receives a fourth message sent by the home subscription server HSS according to the twelfth message, the tenth The second message is a message that is sent by the ProSe Function to the HSS after receiving the eleventh message sent by the relay UE, where the eleventh message and the twelfth message both include the remote end The identity of the UE and the identity of the relay UE.
结合第二方面或第二方面的第一种至第八种任一种可能实现的方式,在 第二方面的第九种可能实现的方式中,所述MME接收中继UE发送的第二消息之后,还包括:In combination with the second aspect or the first to the eighth aspect of any of the possible aspects of the second aspect, In a ninth possible implementation manner of the second aspect, after the MME receives the second message sent by the relaying UE, the method further includes:
所述MME接收处于在网状态的所述远端UE发送的第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;Receiving, by the MME, an eighth message that is sent by the remote UE in a network state, where the eighth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
所述MME根据所述第八消息,向所述PGW发送第九消息,所述第九消息包括所述解除标识。And sending, by the MME, a ninth message to the PGW according to the eighth message, where the ninth message includes the release identifier.
第三方面,本发明提供一种实现业务连续性的方法,所述方法包括:In a third aspect, the present invention provides a method for implementing business continuity, the method comprising:
分组数据网关PGW接收移动性管理实体MME发送的第三消息,所述第三消息包括所述PGW分配给远端UE的第一互联网协议IP地址;The packet data gateway PGW receives the third message sent by the mobility management entity MME, where the third message includes the first Internet Protocol IP address allocated by the PGW to the remote UE;
所述PGW根据所述第三消息,确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给中继UE的IP地址;Determining, by the PGW, the binding relationship according to the third message, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the PGW Relaying the IP address of the UE;
所述PGW根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。The PGW implements communication between the PGW and the remote UE by using the relay UE according to the binding relationship.
结合第三方面,在第三方面的第一种可能实现的方式中,所述第三消息为承载资源命令消息或会话建立请求消息;若所述第三消息为会话建立请求消息,则所述PGW根据所述第三消息,确定绑定关系之前,还包括:With reference to the third aspect, in a first possible implementation manner of the third aspect, the third message is a bearer resource command message or a session establishment request message; if the third message is a session establishment request message, The PGW, before determining the binding relationship according to the third message, further includes:
所述PGW为所述中继UE分配所述第二IP地址;Assigning, by the PGW, the second IP address to the relay UE;
相应的,所述PGW根据所述第三消息,确定绑定关系,包括:所述PGW根据所述第一IP地址及所述第二IP地址,确定绑定关系。Correspondingly, the PGW determines the binding relationship according to the third message, and the PGW determines the binding relationship according to the first IP address and the second IP address.
结合第三方面或第三方面的第一种可能实现的方式,在第三方面的第二种可能实现的方式中,所述PGW根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信,包括:With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the PGW, according to the binding relationship, is implemented by the relay UE The communication between the PGW and the remote UE includes:
所述PGW接收所述中继UE发送的第二数据包,所述第二数据包为所述中继UE根据所述第二IP地址对第一数据包进行隧道封装后获得的数据包;所述第一数据包为所述远端UE发送的数据包,且所述第一数据包包括所述第一IP地址;所述PGW对所述第二数据包进行隧道解封装,获得所述第一数据包;和/或,Receiving, by the PGW, the second data packet sent by the relay UE, where the second data packet is a data packet obtained by tunneling the first data packet by the relay UE according to the second IP address; The first data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address, and the PGW performs tunnel decapsulation on the second data packet to obtain the first data packet. a data packet; and/or,
所述PGW根据所述第二IP地址对待发送给所述远端UE的第四数据包 进行隧道封装,获得第三数据包,并将所述第三数据包转发至所述中继UE,以使所述中继UE对所述第三数据包进行隧道解封装后获得所述第四数据包,并将所述第四数据包通过邻近通信发送给所述远端UE。The PGW sends a fourth data packet to the remote UE according to the second IP address. Performing tunnel encapsulation, obtaining a third data packet, and forwarding the third data packet to the relay UE, so that the relay UE performs tunnel decapsulation on the third data packet to obtain the fourth And transmitting the fourth data packet to the remote UE by using proximity communication.
结合第三方面或第三方面的第一种至第二种任一种可能实现的方式,在第三方面的第三种可能实现的方式中,所述PGW根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信之后,还包括:With reference to the third aspect or the first to the second aspect of the third aspect, in a third possible implementation manner of the third aspect, the PGW passes the After the relay UE implements the communication between the PGW and the remote UE, the method further includes:
所述PGW接收所述MME发送的第九消息,所述第九消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;The PGW receives the ninth message sent by the MME, where the ninth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
所述PGW根据所述第九消息,解除所述绑定关系。The PGW cancels the binding relationship according to the ninth message.
第四方面,本发明提供一种实现业务连续性的方法,所述方法包括:In a fourth aspect, the present invention provides a method for implementing business continuity, the method comprising:
远端用户设备UE确定所述远端UE由在网状态变为脱网状态;The remote user equipment UE determines that the remote UE changes from the in-network state to the off-network state;
所述远端UE向中继UE发送第一消息,以使所述中继UE根据所述第一消息确定绑定关系;其中,所述第一消息包括PGW分配给所述远端UE的第一IP地址。The remote UE sends a first message to the relay UE, so that the relay UE determines a binding relationship according to the first message, where the first message includes a PGW that is allocated to the remote UE. An IP address.
结合第四方面,在第四方面的第一种可能实现的方式中,所述第一消息还包括所述远端UE的标识。In conjunction with the fourth aspect, in a first possible implementation manner of the fourth aspect, the first message further includes an identifier of the remote UE.
结合第四方面或第四方面的第一种可能实现的方式,在第四方面的第二种可能实现的方式中,所述远端UE向中继UE发送第一消息之后,还包括:With the fourth aspect or the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, after the remote UE sends the first message to the relay UE, the method further includes:
所述远端UE由脱网状态变为在网状态后,向移动性管理实体MME发送第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系。After the remote UE changes from the off-network state to the network state, the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
第五方面,本发明提供一种实现业务连续性的装置,所述装置为中继用户设备UE;所述装置包括:In a fifth aspect, the present invention provides an apparatus for implementing service continuity, where the apparatus is a relay user equipment UE; the apparatus includes:
收发模块,用于接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括分组数据网关PGW分配给所述远端UE的第一互联网协议IP地址;a transceiver module, configured to receive a first message sent by a remote UE in an off-network state, where the first message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
所述收发模块,还用于根据所述第一消息,向移动性管理实体MME发送第二消息,以使所述MME向所述PGW发送第三消息,所述第二消息及所述第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应 关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;The transceiver module is further configured to send, according to the first message, a second message to the mobility management entity MME, so that the MME sends a third message, the second message, and the third message to the PGW. The message includes the first IP address, where the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address. Relationship, the second IP address is an IP address assigned by the PGW to the relay UE;
处理模块,用于根据所述第二IP地址及所述收发模块接收的所述第一消息中包括的所述第一IP地址,确定所述绑定关系;a processing module, configured to determine the binding relationship according to the second IP address and the first IP address included in the first message received by the transceiver module;
所述收发模块,还用于根据所述处理模块确定的所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。The transceiver module is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module.
结合第五方面,在第五方面的第一种可能实现的方式中,所述收发模块具体用于:With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the transceiver module is specifically configured to:
接收所述远端UE通过邻近通信发送的第一数据包;所述第一数据包包括所述第一IP地址;根据所述绑定关系,采用所述第二IP地址对所述第一数据包进行隧道封装,获得第二数据包;将所述第二数据包发送给所述PGW,以使所述PGW对所述第二数据包进行隧道解封装后获得所述第一数据包;和/或,Receiving, by the remote UE, the first data packet sent by the proximity communication; the first data packet includes the first IP address; and according to the binding relationship, using the second IP address to the first data The packet is tunnel encapsulated to obtain a second data packet, and the second data packet is sent to the PGW, so that the PGW obtains the first data packet after performing tunnel decapsulation on the second data packet; and /or,
接收所述PGW发送的第三数据包;所述第三数据包为所述PGW根据所述绑定关系采用所述第二IP地址对发送给所述远端UE的第四数据包进行隧道封装后获得的数据包;所述第四数据包包括所述第一IP地址;对所述第三数据包进行隧道解封装,获得所述第四数据包,并通过邻近通信将所述第四数据包发送给所述远端UE。Receiving a third data packet sent by the PGW; the third data packet is a tunnel encapsulation of the fourth data packet sent by the PGW to the remote UE by using the second IP address according to the binding relationship. a data packet obtained afterwards; the fourth data packet includes the first IP address; tunnel decapsulating the third data packet, obtaining the fourth data packet, and the fourth data by proximity communication The packet is sent to the remote UE.
结合第五方面或第五方面的第一种可能实现的方式,在第五方面的第二种可能实现的方式中,所述第一消息还包括所述远端UE的标识;所述收发模块还用于:向所述MME发送第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;接收所述MME发送的第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的分组数据网PDN连接。With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the first message further includes an identifier of the remote UE, and the transceiver module And the fourth message is sent to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE, and receives a fifth message sent by the MME, where the The five message includes a result identifier, where the result identifier is used to indicate whether the relay UE establishes a packet data network PDN connection between the relay UE and the PGW.
结合第五方面的第二种可能实现的方式,在第五方面的第三种可能实现的方式中,若所述结果标识指示新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;With the second possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, if the result identifier indicates that the PDN connection between the relay UE and the PGW is newly established, The second message is a PDN connection request message, the third message is a session establishment request message, and the second message further includes a request identifier for indicating that the request type is a relay;
或者,若所述结果标识指示不新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。 Or, if the result identifier indicates that the PDN connection between the relay UE and the PGW is not newly created, the second message is a bearer resource modification request message, and the third message is a bearer resource command message.
结合第五方面的第二种或第三种可能实现的方式,在第五方面的第四种可能实现的方式中,所述收发模块具体用于:通过邻近服务功能实体ProSe Function向所述MME发送所述第四消息;或者,直接向所述MME发送所述第四消息。With reference to the second or the third possible implementation manner of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, the transceiver module is specifically configured to: use the proximity service function entity ProSe Function to the MME Sending the fourth message; or sending the fourth message directly to the MME.
结合第五方面的第四种可能实现的方式,在第五方面的第五种可能实现的方式中,所述收发模块具体用于:向所述ProSe Function发送第十一消息,以使得所述ProSe Function根据所述第十一消息向归属签约服务器HSS发送第十二消息,触发所述HSS根据所述第十二消息向所述MME发送第四消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。With reference to the fourth possible implementation manner of the fifth aspect, in a fifth possible implementation manner of the fifth aspect, the transceiver module is specifically configured to: send an eleventh message to the ProSe Function, so that the The ProSe Function sends a twelfth message to the home subscription server (HSS) according to the eleventh message, and triggers the HSS to send a fourth message to the MME according to the twelfth message; wherein the eleventh message and the The twelfth message includes the identifier of the remote UE and the identifier of the relay UE.
结合第五方面或第五方面的第一种至第五种任一种可能实现的方式,在第五方面的第六种可能实现的方式中,若所述处理模块确定与所述远端UE的临近通信已结束,则解除所述绑定关系。With reference to the fifth aspect, or any one of the first to fifth aspects of the fifth aspect, in a sixth possible implementation manner of the fifth aspect, if the processing module determines the remote UE The proximity communication is terminated, and the binding relationship is released.
第六方面,本发明提供一种实现业务连续性的装置,所述装置为移动性管理实体MME;所述装置包括:In a sixth aspect, the present invention provides an apparatus for implementing service continuity, where the apparatus is a mobility management entity MME, and the apparatus includes:
接收模块,用于接收中继用户设备UE发送的第二消息,所述第二消息包括分组数据网关PGW分配给远端UE的第一互联网协议IP地址;a receiving module, configured to receive a second message sent by the relay user equipment UE, where the second message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
发送模块,用于根据所述接收模块接收的所述第二消息,向所述PGW发送第三消息,所述第三消息包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址。a sending module, configured to send, according to the second message received by the receiving module, a third message to the PGW, where the third message includes the first IP address, where the third message is used by the The PGW determines a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is an IP address allocated by the PGW to the relay UE. .
结合第六方面,在第六方面的第一种可能实现的方式中,所述装置还包括:处理模块;所述接收模块,还用于接收所述中继UE发送的第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the device further includes: a processing module; the receiving module is further configured to receive a fourth message sent by the relay UE, The fourth message includes an identifier of the remote UE and an identifier of the relay UE;
所述处理模块,用于根据所述接收模块接收的所述第四消息,确定是否新建所述中继UE与所述PGW之间的分组数据网PDN连接;The processing module is configured to determine, according to the fourth message received by the receiving module, whether to establish a packet data network PDN connection between the relay UE and the PGW;
所述发送模块,还用于向所述中继UE发送第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接。 The sending module is further configured to send a fifth message to the relay UE, where the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE creates the new relay UE and PDN connection between the PGWs.
结合第六方面的第一种可能实现的方式,在第六方面的第二种可能实现的方式中,所述处理模块具体用于:With reference to the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the processing module is specifically configured to:
根据所述远端UE的标识确定所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址;Determine a context of the remote UE according to the identifier of the remote UE, where the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;Determining, according to the identifier of the relay UE, a context of the relay UE, where the context of the relay UE includes an IP address of a relay UE and an IP address of a PGW in each PDN connection of the relay UE;
根据所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。Determining whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE.
结合第六方面的第一种可能实现的方式,在第六方面的第三种可能实现的方式中,若所述MME与所述远端UE的MME不同,则所述发送模块还用于:向所述远端UE的MME发送第六消息,所述第六消息包括所述远端UE的标识;With reference to the first possible implementation manner of the sixth aspect, in a third possible implementation manner of the sixth aspect, if the MME is different from the MME of the remote UE, the sending module is further configured to: Sending a sixth message to the MME of the remote UE, where the sixth message includes an identifier of the remote UE;
所述接收模块,还用于接收所述远端UE的MME发送的第七消息,所述第七消息包括所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址;The receiving module is further configured to receive a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE, and a context of the remote UE includes the remote UE The IP address of the remote UE and the IP address of the PGW in each PDN connection;
所述处理模块,具体用于根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;根据所述接收模块接收的所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。The processing module is specifically configured to determine a context of the relay UE according to an identifier of the relay UE, where a context of the relay UE includes an IP address of a relay UE in each PDN connection of the relay UE And determining, by the IP address of the PGW, whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE received by the receiving module.
结合第六方面的第一种至第三种任一种可能实现的方式,在第六方面的第四种可能实现的方式中,所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;或者,In a fourth possible implementation manner of the sixth aspect, in a fourth possible implementation manner of the sixth aspect, the second message is a PDN connection request message, and the third message is Establishing a request message for the session, the second message further including a request identifier for indicating that the request type is a relay; or
所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。The second message is a bearer resource modification request message, and the third message is a bearer resource command message.
结合第六方面的第四种可能实现的方式,在第六方面的第五种可能实现的方式中,所述PDN连接请求消息还包括所述远端UE的标识; With reference to the fourth possible implementation manner of the sixth aspect, in a fifth possible implementation manner of the sixth aspect, the PDN connection request message further includes an identifier of the remote UE;
所述处理模块,还用于根据所述远端UE的标识,确定所述远端UE的上下文,并根据所述远端UE的上下文及所述第一IP地址,建立所述中继UE与所述PGW之间的PDN连接。The processing module is further configured to determine a context of the remote UE according to the identifier of the remote UE, and establish the relay UE according to a context of the remote UE and the first IP address. PDN connection between the PGWs.
结合第六方面的第四种可能实现的方式,在第六方面的第六种可能实现的方式中,若所述处理模块确定新建所述中继UE与所述PGW之间的PDN连接,则所述处理模块还用于:With the fourth possible implementation manner of the sixth aspect, in a sixth possible implementation manner of the sixth aspect, if the processing module determines to establish a PDN connection between the relay UE and the PGW, The processing module is further configured to:
在所述中继UE的上下文信息中增加所述第一IP地址与所述PGW的对应关系;根据所述PDN连接请求消息中所述第一IP地址及所述第一IP地址与所述PGW的对应关系,建立所述中继UE与所述PGW之间的PDN连接。Adding a correspondence between the first IP address and the PGW in the context information of the relay UE; according to the first IP address and the first IP address in the PDN connection request message, and the PGW Corresponding relationship, establishing a PDN connection between the relay UE and the PGW.
结合第六方面的第一种至第六种任一种可能实现的方式,在第六方面的第七种可能实现的方式中,所述接收模块具体用于:接收所述中继UE通过邻近服务功能实体ProSe Function发送的所述第四消息;或者,接收所述中继UE直接向所述MME发送的所述第四消息。With reference to the possible implementation of the first to sixth aspects of the sixth aspect, in a seventh possible implementation manner of the sixth aspect, the receiving module is specifically configured to: receive the relay UE by using a neighboring The fourth message sent by the serving function entity ProSe Function; or receiving the fourth message sent by the relay UE directly to the MME.
结合第六方面的第七种可能实现的方式,在第六方面的第八种可能实现的方式中,所述接收模块具体用于:接收归属签约服务器HSS根据第十二消息发送的所述第四消息,所述第十二消息为所述ProSe Function接收到所述中继UE发送的第十一消息后向所述HSS发送的消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。With reference to the seventh possible implementation manner of the sixth aspect, in the eighth possible implementation manner of the sixth aspect, the receiving module is specifically configured to: receive, by the home subscription server, the HSS according to the twelfth message a fourth message, the twelfth message is a message that is sent by the ProSe Function to the HSS after receiving the eleventh message sent by the relay UE; wherein the eleventh message and the twelfth message The message includes an identifier of the remote UE and an identifier of the relay UE.
结合第六方面或第六方面的第一种至第八种任一种可能实现的方式,在第六方面的第九种可能实现的方式中,所述接收模块,还用于接收处于在网状态的所述远端UE发送的第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;In a ninth possible implementation manner of the sixth aspect, the receiving module is further configured to receive the presence of the network in the ninth possible implementation manner of the sixth aspect or the sixth aspect An eighth message sent by the remote UE in the state, where the eighth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
所述发送模块,还用于根据所述接收模块接收的所述第八消息,向所述PGW发送第九消息,所述第九消息包括所述解除标识。The sending module is further configured to send a ninth message to the PGW according to the eighth message received by the receiving module, where the ninth message includes the release identifier.
第七方面,本发明提供一种实现业务连续性的装置,所述装置为分组数据网关PGW;所述装置包括:In a seventh aspect, the present invention provides an apparatus for implementing service continuity, the apparatus being a packet data gateway PGW; the apparatus comprising:
收发模块,用于接收移动性管理实体MME发送的第三消息,所述第三消息包括所述PGW分配给远端用户设备UE的第一互联网协议IP地址;a transceiver module, configured to receive a third message sent by the mobility management entity MME, where the third message includes a first Internet Protocol IP address that is allocated by the PGW to the remote user equipment UE;
处理模块,用于根据所述收发模块接收的所述第三消息,确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第 二IP地址为所述PGW分配给中继UE的IP地址;a processing module, configured to determine, according to the third message received by the transceiver module, a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where The second IP address is an IP address assigned to the relay UE by the PGW;
所述收发模块,还用于根据所述处理模块确定的所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。The transceiver module is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module.
结合第七方面,在第七方面的第一种可能实现的方式中,所述第三消息为承载资源命令消息或会话建立请求消息;若所述第三消息为会话建立请求消息,则所述处理模块具体用于:With reference to the seventh aspect, in a first possible implementation manner of the seventh aspect, the third message is a bearer resource command message or a session establishment request message; if the third message is a session establishment request message, The processing module is specifically used to:
为所述中继UE分配所述第二IP地址;Allocating the second IP address to the relay UE;
根据所述第一IP地址及所述第二IP地址确定绑定关系。Determining a binding relationship according to the first IP address and the second IP address.
结合第七方面或第七方面的第一种可能实现的方式,在第七方面的第二种可能实现的方式中,所述收发模块具体用于:With reference to the seventh aspect, or the first possible implementation manner of the seventh aspect, in a second possible implementation manner of the seventh aspect, the transceiver module is specifically configured to:
接收所述中继UE发送的第二数据包,所述第二数据包为所述中继UE根据所述第二IP地址对第一数据包进行隧道封装后获得的数据包;所述第一数据包为所述远端UE发送的数据包,且所述第一数据包包括所述第一IP地址;对所述第二数据包进行隧道解封装,获得所述第一数据包;和/或,Receiving, by the relay UE, a second data packet, where the second data packet is a data packet obtained by tunneling the first data packet by the relay UE according to the second IP address; The data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address, and the second data packet is tunnel decapsulated to obtain the first data packet; and/ or,
根据所述第二IP地址对待发送给所述远端UE的第四数据包进行隧道封装,获得第三数据包,并将所述第三数据包转发至所述中继UE,以使所述中继UE对所述第三数据包进行隧道解封装后获得所述第四数据包,并将所述第四数据包通过邻近通信发送给所述远端UE。Performing tunnel encapsulation on the fourth data packet to be sent to the remote UE according to the second IP address, obtaining a third data packet, and forwarding the third data packet to the relay UE, so that the The relay UE obtains the fourth data packet after performing tunnel decapsulation on the third data packet, and sends the fourth data packet to the remote UE by using proximity communication.
结合第七方面或第七方面的第一种至第二种任一种可能实现的方式,在第七方面的第三种可能实现的方式中,所述收发模块,还用于接收所述MME发送的第九消息,所述第九消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;With reference to the seventh aspect, or any one of the first to the second aspect of the seventh aspect, in a third possible implementation manner of the seventh aspect, the transceiver module is further configured to receive the MME a ninth message that is sent, where the ninth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
所述处理模块,还用于根据所述收发模块接收的所述第九消息,解除所述绑定关系。The processing module is further configured to cancel the binding relationship according to the ninth message received by the transceiver module.
第八方面,本发明提供一种实现业务连续性的装置,所述装置为远端用户设备UE;所述装置包括:In an eighth aspect, the present invention provides an apparatus for implementing service continuity, where the apparatus is a remote user equipment UE; the apparatus includes:
处理模块,用于确定所述远端UE由在网状态变为脱网状态;a processing module, configured to determine that the remote UE changes from a network state to a disconnection state;
发送模块,用于在所述处理模块确定所述远端UE变为脱网状态时,向中继UE发送第一消息,以使所述中继UE根据所述第一消息确定绑定关系;其中,所述第一消息包括PGW分配给所述远端UE的第一IP地址。 a sending module, configured to send, by the processing module, the first message to the relay UE, when the processing module determines that the remote UE becomes an off-network state, so that the relay UE determines a binding relationship according to the first message; The first message includes a first IP address allocated by the PGW to the remote UE.
结合第八方面,在第八方面的第一种可能实现的方式中,所述第一消息还包括所述远端UE的标识。In conjunction with the eighth aspect, in a first possible implementation manner of the eighth aspect, the first message further includes an identifier of the remote UE.
结合第八方面或第八方面的第一种可能实现的方式,在第八方面的第二种可能实现的方式中,所述发送模块还用于:With reference to the eighth aspect, or the first possible implementation manner of the eighth aspect, in a second possible implementation manner of the eighth aspect, the sending module is further configured to:
所述远端UE由脱网状态变为在网状态后,向移动性管理实体MME发送第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系。After the remote UE changes from the off-network state to the network state, the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
第九方面,本发明提供一种实现业务连续性的系统,所述系统包括:第五方面或第五方面的第一种至第六种任一种所述的中继UE、第六方面或第六方面的第一种至第九种任一种所述的MME、第七方面或第七方面的第一种至第三种任一种所述的PGW及第八方面或第八方面的第一种至第二种任一种所述的远端UE。According to a ninth aspect, the present invention provides a system for implementing service continuity, the system comprising: the relay UE, the sixth aspect of the first to sixth aspects of the fifth aspect or the fifth aspect, or The MME according to any one of the first to ninth aspects of the sixth aspect, the PGW of the first aspect to the third aspect of the seventh aspect, and the eighth aspect or the eighth aspect The remote UE of any one of the first to the second.
本发明提供一种实现业务连续性的方法、装置及系统,通过中继UE接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括PGW分配给所述远端UE的第一IP地址;所述中继UE根据所述第一消息,向MME发送第二消息,以使所述MME向PGW发送第三消息,所述第二消息及所述第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;所述中继UE根据所述第一IP地址及所述第二IP地址,确定所述绑定关系,并根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信;使得当远端UE由在网状态变为脱网状态后,能够继续使用远端UE处于在网状态与对端进行业务时所使用的IP地址进行通信;从而解决了现有技术中,当该远端UE由在网状态变为脱网状态时,通信中断的问题。The present invention provides a method, apparatus, and system for implementing service continuity, in which a relay UE receives a first message sent by a remote UE in an off-network state, and the first message includes a PGW allocated to the remote UE. a first IP address, the relay UE sends a second message to the MME according to the first message, so that the MME sends a third message to the PGW, where the second message and the third message include a first IP address, where the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, and the second The IP address is an IP address assigned to the relay UE by the PGW; the relay UE determines the binding relationship according to the first IP address and the second IP address, and according to the binding The communication between the PGW and the remote UE is implemented by the relaying UE, so that when the remote UE changes from the network state to the offline state, the remote UE can continue to use the network state in the network state. The IP address used by the peer to perform communication is communicated; thereby solving the prior art, The problem by the UE at the distal end of the mesh state to off-network state, communication is interrupted.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实现业务连续性的方法的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of a method for implementing service continuity according to the present invention;
图2为本发明实现业务连续性的方法实施例一的流程图;2 is a flowchart of Embodiment 1 of a method for implementing service continuity according to the present invention;
图3为本发明实现业务连续性的方法实施例二的流程图;3 is a flowchart of Embodiment 2 of a method for implementing service continuity according to the present invention;
图4为本发明实现业务连续性的方法实施例三的流程图;4 is a flowchart of Embodiment 3 of a method for implementing service continuity according to the present invention;
图5为本发明实现业务连续性的方法实施例四的流程图;FIG. 5 is a flowchart of Embodiment 4 of a method for implementing service continuity according to the present invention;
图6为本发明实现业务连续性的方法实施例五的流程图;6 is a flowchart of Embodiment 5 of a method for implementing service continuity according to the present invention;
图7为本发明实现业务连续性的方法实施例六的流程图;7 is a flowchart of Embodiment 6 of a method for implementing service continuity according to the present invention;
图8为本发明实现业务连续性的装置实施例一的结构示意图;FIG. 8 is a schematic structural diagram of Embodiment 1 of an apparatus for implementing service continuity according to the present invention;
图9为本发明实现业务连续性的装置实施例二的结构示意图;9 is a schematic structural diagram of Embodiment 2 of an apparatus for implementing service continuity according to the present invention;
图10为本发明实现业务连续性的装置实施例四的结构示意图;10 is a schematic structural diagram of Embodiment 4 of an apparatus for implementing service continuity according to the present invention;
图11为本发明实现业务连续性的装置实施例五的结构示意图;11 is a schematic structural diagram of Embodiment 5 of an apparatus for implementing service continuity according to the present invention;
图12为本发明实现业务连续性的装置实施例七的结构示意图;12 is a schematic structural diagram of Embodiment 7 of an apparatus for implementing service continuity according to the present invention;
图13为本发明实现业务连续性的装置实施例九的结构示意图;13 is a schematic structural diagram of Embodiment 9 of an apparatus for implementing service continuity according to the present invention;
图14为本发明实现业务连续性的装置实施例十一的结构示意图;14 is a schematic structural diagram of Embodiment 11 of an apparatus for implementing service continuity according to the present invention;
图15为本发明实现业务连续性的装置实施例十三的结构示意图;15 is a schematic structural diagram of Embodiment 13 of an apparatus for implementing service continuity according to the present invention;
图16为本发明实现业务连续性的装置实施例十五的结构示意图。FIG. 16 is a schematic structural diagram of Embodiment 15 of an apparatus for implementing service continuity according to the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1为本发明实现业务连续性的方法的应用场景示意图;如图1所示,该应用场景包括:UE1、UE2、PGW及对端。当UE1处于在网状态时(也即UE1处于网络中),UE1基于IP1与对端进行业务通信;当UE1沿图1中虚线箭头所示方向从位置L1移出网络(例如,移动至位置L2)时,UE1由入网状态变为脱网状态(也即UE1为远端UE)。当UE1由入网状态变为脱网状态后,UE1可以通过UE2(也即UE2为中继UE)接入网络;且UE1通过UE2接入网络中时,UE2为UE1分配一个IP2。当UE需要发送数据时,UE1 根据IP2向UE2发送数据包,UE2将数据包中的IP2替换为UE2的IP地址(例如,IP3)后通过UE2与PGW之间的PDN连接对替换后的数据包进行发送。FIG. 1 is a schematic diagram of an application scenario of a method for implementing service continuity according to the present invention; as shown in FIG. 1 , the application scenario includes: UE1, UE2, PGW, and a peer end. When UE1 is in the network state (that is, UE1 is in the network), UE1 performs service communication with the opposite end based on IP1; when UE1 moves out of the network from position L1 in the direction indicated by the dotted arrow in FIG. 1 (for example, moving to position L2) At the same time, UE1 changes from the network access state to the off-network state (that is, UE1 is the remote UE). After the UE1 changes from the network access state to the off-network state, the UE1 can access the network through the UE2 (that is, the UE2 is the relay UE); and when the UE1 accesses the network through the UE2, the UE2 allocates an IP2 to the UE1. When the UE needs to send data, UE1 The data packet is transmitted to the UE2 according to the IP2, and the UE2 replaces the IP2 in the data packet with the IP address (for example, IP3) of the UE2, and then transmits the replaced data packet through the PDN connection between the UE2 and the PGW.
现有技术中,由于UE1由在网状态变为脱网状态后,与对端通信所采用的IP地址由IP1变为IP3(也即,IP地址发生变化),导致UE1处于在网状态时与对端建立的通信中断。因此,现有技术中,当远端UE由在网状态变为脱网状态时,通信中断的问题。In the prior art, after the UE1 changes from the network state to the off-network state, the IP address used for communication with the peer end changes from IP1 to IP3 (that is, the IP address changes), causing UE1 to be in the network state. The communication established by the peer is interrupted. Therefore, in the prior art, when the remote UE changes from the network state to the off-network state, the communication is interrupted.
需要说明的是,所述对端可以为该网络外的UE或服务器等。It should be noted that the peer end may be a UE or a server or the like outside the network.
图2为本发明实现业务连续性的方法实施例一的流程图,如图2所示,本实施例的方法可以包括:FIG. 2 is a flowchart of Embodiment 1 of a method for implementing service continuity according to the present invention. As shown in FIG. 2, the method in this embodiment may include:
步骤201、中继UE接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括PGW分配给所述远端UE的第一IP地址;Step 201: The relay UE receives the first message sent by the remote UE in the off-network state, where the first message includes a first IP address allocated by the PGW to the remote UE.
可选的,所述第一IP地址可以为所述远端UE处于在网状态时与对端通信时所使用的IP地址。Optionally, the first IP address may be an IP address used when the remote UE is in a network state and communicates with the peer.
步骤202、所述中继UE根据所述第一消息,向MME发送第二消息,以使所述MME向所述PGW发送第三消息,所述第二消息及所述第三消息均包括所述第一IP地址;Step 202: The relay UE sends a second message to the MME according to the first message, so that the MME sends a third message to the PGW, where the second message and the third message include Said first IP address;
其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址。The third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is the PGW. The IP address assigned to the relay UE.
需要说明的是,由于UE的IP地址都为PGW分配的,所以所述PGW中保存了中继UE的默认承载标识与第二IP地址的对应关系;所述PGW可以根据中继UE的默认承载标识确定该第二IP地址。It should be noted that, since the IP addresses of the UEs are all allocated to the PGW, the mapping between the default bearer identifier of the relay UE and the second IP address is saved in the PGW; the PGW may be based on the default bearer of the relay UE. The identification determines the second IP address.
步骤203、所述中继UE根据所述第一IP地址及所述第二IP地址,确定所述绑定关系,并根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。Step 203: The relay UE determines the binding relationship according to the first IP address and the second IP address, and implements the PGW and the device by using the relay UE according to the binding relationship. Communication between remote UEs.
现有技术中,远端UE(其中,远端UE可以为通过中继UE接入到网络中的UE)由在网状态变为脱网状态后,远端UE不再使用处于在网状态时的IP地址与网络中的其他设备进行通信,而是使用中继UE为其分配的IP地址与进行邻近通信(其中,两个UE不通过基站进行通信的方式,可以称为邻 近通信),并通过中继UE与其他设备进行通信,且中继UE与其他设备通信时的IP地址为中继UE的IP地址。本发明中,中继UE接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括所述PGW分配给所述远端UE的第一IP地址;所述中继UE根据所述第一消息,向MME发送第二消息,以使所述MME向PGW发送第三消息,所述第二消息和第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;所述中继UE根据所述第一IP地址及所述第二IP地址,确定所述绑定关系,并根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。In the prior art, the remote UE (where the remote UE may be the UE that accesses the network through the relay UE) changes from the on-network state to the off-network state, and the remote UE does not use the in-network state. The IP address communicates with other devices in the network, but uses the IP address assigned by the relay UE to perform proximity communication (in which two UEs do not communicate through the base station, it may be called a neighbor). Near communication), and communicates with other devices through the relay UE, and the IP address when the relay UE communicates with other devices is the IP address of the relay UE. In the present invention, the relay UE receives the first message sent by the remote UE in the off-network state, the first message includes a first IP address allocated by the PGW to the remote UE, and the relay UE is configured according to the Transmitting, by the first message, a second message, to the MME, to enable the MME to send a third message to the PGW, where the second message and the third message both include the first IP address; wherein the third message Determining, by the PGW, a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the relay UE by the PGW The IP address of the relay UE is determined according to the first IP address and the second IP address, and the PGW is implemented by the relay UE according to the binding relationship. Communication between the remote UEs.
现有技术中,由于远端UE由在网状态变为脱网状态后,远端UE使用中继UE为其分配的IP地址与中继UE通信,并通过中继UE与其他设备进行通信,且中继UE与其他设备时的IP地址为中继UE的IP地址;因此,当远端UE由在网状态变为脱网状态后,存在由于远端UE处于在网状态与对端进行通信时所使用的IP地址与中继UE的IP地址不相同,而导致远端UE由在网状态变为脱网状态时与对端建立的通信中断的问题。本发明中,通过中继UE接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括所述PGW分配给所述远端UE的第一IP地址;所述中继UE根据所述第一消息,向MME发送第二消息,以使所述MME向PGW发送第三消息,所述第二消息和第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;所述中继UE根据所述第一IP地址及所述第二IP地址,确定所述绑定关系,并根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信;使得当远端UE由在网状态变为脱网状态后,能够继续使用远端UE处于在网状态与对端进行业务时所使用的IP地址与对端进行通信;从而解决了现有技术中,当该远端UE由在网状态变为脱网状态时,通信中断的问题。In the prior art, after the remote UE changes from the network state to the offline state, the remote UE communicates with the relay UE by using the IP address assigned by the relay UE, and communicates with other devices through the relay UE. And the IP address of the relaying UE and the other device is the IP address of the relaying UE; therefore, when the remote UE changes from the in-network state to the offline state, the remote UE is in the network state and communicates with the opposite end. The IP address used at the time is different from the IP address of the relay UE, and the remote UE is interrupted by the communication established with the peer when the network state changes to the offline state. In the present invention, the first message sent by the remote UE in the off-network state is received by the relay UE, where the first message includes a first IP address allocated by the PGW to the remote UE; the relay UE Sending, according to the first message, a second message to the MME, to enable the MME to send a third message to the PGW, where the second message and the third message both include the first IP address; wherein the third The message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the relay by the PGW The IP address of the UE; the relay UE determines the binding relationship according to the first IP address and the second IP address, and implements the PGW by using the relay UE according to the binding relationship. The communication with the remote UE enables the remote UE to continue to use the IP address and the pair used when the remote UE is in the network state and the opposite end after the network state changes from the network state to the offline state. End communication; thereby solving the prior art, when the remote UE changes from the network state to the off-network state , the problem of communication interruption.
本发明实施例,通过中继UE接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括所述PGW分配给所述远端UE的第一IP地址;所述中继UE根据所述第一消息,向MME发送第二消息,以使所述MME向PGW 发送第三消息,所述第二消息和第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;所述中继UE根据所述第一IP地址及所述第二IP地址,确定所述绑定关系,并根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信;使得当远端UE由在网状态变为脱网状态后,能够继续使用远端UE处于在网状态与对端进行业务时所使用的IP地址与对端进行通信;从而解决了现有技术中,当该远端UE由在网状态变为脱网状态时,通信中断的问题。In the embodiment of the present invention, the relaying UE receives the first message sent by the remote UE in the off-network state, where the first message includes a first IP address that is allocated by the PGW to the remote UE; Sending, by the UE, a second message to the MME according to the first message, so that the MME sends the PGW to the PGW. Sending a third message, where the second message and the third message both include the first IP address, where the third message is used by the PGW to determine a binding relationship, and the binding relationship includes the first a correspondence between the IP address and the second IP address, where the second IP address is an IP address assigned by the PGW to the relay UE; and the relay UE is configured according to the first IP address and the first And determining, by the second IP address, the binding relationship, and implementing, by the relay UE, communication between the PGW and the remote UE according to the binding relationship; After being in the off-network state, the remote UE can continue to use the IP address used by the remote UE to perform the service in the network state and the peer end to communicate with the peer end; thereby solving the prior art, when the remote UE is in the network state The communication is interrupted when it becomes off-network.
图3为本发明实现业务连续性的方法实施例二的流程图,如图3所示,本实施例的方法可以包括:FIG. 3 is a flowchart of Embodiment 2 of a method for implementing service continuity according to the present invention. As shown in FIG. 3, the method in this embodiment may include:
步骤301、MME接收中继UE发送的第二消息,所述第二消息包括PGW分配给远端UE的第一IP地址;Step 301: The MME receives a second message sent by the relay UE, where the second message includes a first IP address allocated by the PGW to the remote UE.
步骤302、所述MME根据所述第二消息,向所述PGW发送第三消息,所述第三消息包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址及第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址。Step 302: The MME sends a third message to the PGW according to the second message, where the third message includes the first IP address, where the third message is used by the PGW to determine binding. a relationship, the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is an IP address allocated by the PGW to the relay UE.
可选的,所述MME向所述PGW发送第三消息可以为:所述MME通过服务网关(SGW,Serving)向所述PGW发送第三消息;Optionally, the sending, by the MME, the third message to the PGW, the MME sending, by using a serving gateway (SGW, Serving), a third message to the PGW;
具体的,所述MME通过SGW向所述PGW发送第三消息可以为:Specifically, the sending, by the MME, the third message to the PGW by using the SGW may be:
所述MME向SGW发送第十消息,以使所述SGW对所述第十消息进行协议相关处理获得第三消息,并将所述第三消息发送至所述PGW。The MME sends a tenth message to the SGW, so that the SGW performs protocol correlation processing on the tenth message to obtain a third message, and sends the third message to the PGW.
其中,所述第十消息包括所述第一IP地址。The tenth message includes the first IP address.
本发明实施例,通过MME接收到中继UE发送的包括第一IP地址的第二消息后,向PGW发送包括所述第一IP地址的第三消息;使得所述PGW获得第一IP地址后,能够根据所述第三消息确定绑定关系。In the embodiment of the present invention, after receiving the second message including the first IP address sent by the relay UE, the MME sends a third message including the first IP address to the PGW; and after the PGW obtains the first IP address, And determining a binding relationship according to the third message.
图4为本发明实现业务连续性的方法实施例三的流程图,如图4所示,本实施例的方法可以包括:4 is a flowchart of Embodiment 3 of a method for implementing service continuity according to the present invention. As shown in FIG. 4, the method in this embodiment may include:
步骤401、PGW接收MME发送的第三消息;所述第三消息包括所述PGW分配给远端UE的第一IP地址; Step 401: The PGW receives a third message sent by the MME, where the third message includes a first IP address that is allocated by the PGW to the remote UE.
步骤402、所述PGW根据所述第三消息,确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给中继UE的IP地址;Step 402: The PGW determines, according to the third message, a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is The IP address assigned by the PGW to the relay UE;
步骤403、所述PGW根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。Step 403: The PGW implements communication between the PGW and the remote UE by using the relay UE according to the binding relationship.
本发明实施例,通过PGW接收MME发送的第三消息;所述第三消息包括远端UE处于在网状态时,所述PGW分配给所述远端UE的第一IP地址;所述PGW根据所述第三消息,确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系;所述PGW根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信;使得当远端UE由在网状态变为脱网状态后,能够继续使用远端UE处于在网状态与对端进行业务时所使用的IP地址与对端进行通信;从而解决了现有技术中,当该远端UE由在网状态变为脱网状态时,通信中断的问题。In the embodiment of the present invention, the third message sent by the MME is received by the PGW; the third message includes a first IP address that is allocated to the remote UE by the PGW when the remote UE is in the network state; Determining, by the third message, a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, and the PGW passes the relay UE according to the binding relationship. The communication between the PGW and the remote UE is implemented, so that when the remote UE changes from the network state to the offline state, the remote UE can continue to use the network when the remote UE is in the network state and the opposite end. The IP address communicates with the peer end; thereby solving the problem that the communication is interrupted when the remote UE changes from the network state to the off-network state in the prior art.
图5为本发明实现业务连续性的方法实施例四的流程图,如图5所示,本实施例的方法可以包括:FIG. 5 is a flowchart of Embodiment 4 of a method for implementing service continuity according to the present invention. As shown in FIG. 5, the method in this embodiment may include:
步骤501、远端UE确定所述远端UE由在网状态变为脱网状态;Step 501: The remote UE determines that the remote UE changes from a network state to a disconnected state.
步骤502、所述远端UE向中继UE发送第一消息,以使所述中继UE根据所述第一消息确定绑定关系;其中,所述第一消息包括PGW分配给所述远端UE的第一IP地址。Step 502: The remote UE sends a first message to the relay UE, so that the relay UE determines a binding relationship according to the first message, where the first message includes a PGW allocated to the remote end. The first IP address of the UE.
本发明实施例,通过远端UE在确定远端UE由在网状态变为脱网状态后,向中继UE发送第一消息,所述第一消息包括第一IP地址;使得中继UE获得第一IP地址后,能够根据所述第一消息确定绑定关系。In the embodiment of the present invention, after the remote UE determines that the remote UE changes from the network state to the offline state, the first message is sent to the relay UE, where the first message includes the first IP address, and the relay UE is obtained. After the first IP address, the binding relationship can be determined according to the first message.
图6为本发明实现业务连续性的方法实施例五的流程图,如图6所示,本实施例的方法可以包括:FIG. 6 is a flowchart of Embodiment 5 of a method for implementing service continuity according to the present invention. As shown in FIG. 6, the method in this embodiment may include:
步骤601、远端UE由在网状态变为脱网状态后,向中继UE发送第一消息,所述第一消息包括PGW分配给所述远端UE的第一IP地址及所述远端UE的标识;Step 601: The remote UE sends a first message to the relay UE after the network status changes to the offline status, where the first message includes the first IP address and the remote end allocated by the PGW to the remote UE. The identity of the UE;
可选的,所述第一消息可以为直接通信请求(Direct communication request)消息。Optionally, the first message may be a direct communication request message.
步骤602、所述中继UE向MME发送第四消息,所述第四消息包括所述 远端UE的标识及所述中继UE的标识;Step 602: The relay UE sends a fourth message to the MME, where the fourth message includes the The identifier of the remote UE and the identifier of the relay UE;
可选的,所述第四消息可以为非接入层(NAS,Non-Access Stratum)请求消息。Optionally, the fourth message may be a non-access stratum (NAS, Non-Access Stratum) request message.
可选的,所述中继UE可以通过邻近服务功能实体(ProSe Function,Proximity Service Function)向所述MME发送第四消息。Optionally, the relay UE may send a fourth message to the MME by using a ProSeimity Service Function (ProSe Function).
进一步可选的,所述MME可以通过所述ProSe Function及归属签约服务器(HSS,Home Subscriber Server)向所述MME发送第四消息。Further, the MME may send a fourth message to the MME by using the ProSe Function and a Home Subscriber Server (HSS).
需要说明的是,由于所述中继UE可能已连接到所述PGW,也可能没有连接到所述PGW,因此可以在第一消息中除了包括第一IP地址,还可以包括所述远端UE的标识,以使MME能够根据所述远端UE的标识,确定新建对所述中继UE与所述PGW之间的PDN连接,还是修改所述中继UE与所述PGW之间的PDN连接。It should be noted that, since the relay UE may be connected to the PGW, or may not be connected to the PGW, the first message may include the remote UE in addition to the first IP address. And the MME is configured to enable the MME to determine, according to the identifier of the remote UE, whether to establish a PDN connection between the relay UE and the PGW, or modify a PDN connection between the relay UE and the PGW. .
步骤603、所述MME根据所述第四消息,确定是否新建所述中继UE与所述PGW之间的PDN连接;Step 603: The MME determines, according to the fourth message, whether to establish a PDN connection between the relay UE and the PGW.
可选的,所述MME根据所述第四消息,确定是否新建所述中继UE与所述PGW之间的PDN连接,包括:Optionally, the MME determines, according to the fourth message, whether to establish a PDN connection between the relay UE and the PGW, including:
所述MME根据所述远端UE的标识确定所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址;Determining, by the MME, the context of the remote UE according to the identifier of the remote UE, where the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
所述MME根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;Determining, by the MME, the context of the relay UE according to the identifier of the relay UE, where the context of the relay UE includes an IP address of a relay UE and an IP address of a PGW in each PDN connection of the relay UE ;
所述MME根据所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。The MME determines whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE.
可选的,所述MME根据所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接,包括:Optionally, the MME determines, according to the context of the remote UE and the context of the relay UE, whether to establish a PDN connection between the relay UE and the PGW, including:
所述MME根据所述远端UE的上下文确定所述第一IP地址对应的PDN连接中的PGW的IP地址,所述MME根据所述中继UE的上下文确定所述中继UE各PDN连接中的PGW的IP地址是否包括所述第一IP地址对应的PDN连接中的PGW的IP地址;若否,则所述MME确定新建所述中继UE 与所述PGW之间的PDN连接。Determining, by the MME, an IP address of a PGW in a PDN connection corresponding to the first IP address according to a context of the remote UE, where the MME determines, according to a context of the relay UE, each PDN connection of the relay UE Whether the IP address of the PGW includes the IP address of the PGW in the PDN connection corresponding to the first IP address; if not, the MME determines to create the new relay UE A PDN connection with the PGW.
可选的,若所述MME与所述远端UE的MME不同,则所述MME根据所述远端UE的标识确定所述远端UE的上下文,包括:Optionally, if the MME is different from the MME of the remote UE, determining, by the MME, the context of the remote UE according to the identifier of the remote UE, including:
所述MME向所述远端UE的MME发送第六消息,所述第六消息包括所述远端UE的标识;Sending, by the MME, a sixth message to the MME of the remote UE, where the sixth message includes an identifier of the remote UE;
所述MME接收所述远端UE的MME发送的第七消息,所述第七消息包括所述远端UE的上下文。The MME receives a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE.
可选的,所述第六消息可以为上下文请求消息,所述第七消息可以为上下文响应消息。Optionally, the sixth message may be a context request message, and the seventh message may be a context response message.
可选的,所述MME可以根据远端UE的标识,获取所述远端UE的MME的标识;也即,所述远端UE的标识中可以体现出所述远端UE的MME的标识。Optionally, the MME may obtain the identifier of the MME of the remote UE according to the identifier of the remote UE, that is, the identifier of the MME of the remote UE may be reflected in the identifier of the remote UE.
步骤604、所述MME向所述中继UE发送第五消息;Step 604: The MME sends a fifth message to the relay UE.
其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE不新建所述中继UE与所述PGW之间的PDN连接。The fifth message includes a result identifier, where the result identifier is used to indicate that the relay UE does not newly establish a PDN connection between the relay UE and the PGW.
可选的,所述第五消息可以为NAS响应消息。Optionally, the fifth message may be a NAS response message.
需要说明的是,第四消息中还可以包括所述第一IP地址,以使MME能够根据远端UE的上下文及所述第一IP地址,确定所述PGW的IP地址;It should be noted that the fourth message may further include the first IP address, so that the MME can determine the IP address of the PGW according to the context of the remote UE and the first IP address.
或者,or,
第四消息中也可以不包括所述第一IP地址,MME可以根据远端UE的上下文及中继UE的上下文,针对远端UE的每一个IP地址(IP_i),确定新建还是修改所述中继UE与IP_i对应的PGW之间的PDN连接;相应的,第五消息中可以包括各IP_i分别对应的结果标识。The fourth message may not include the first IP address, and the MME may determine whether to create or modify the IP address (IP_i) of the remote UE according to the context of the remote UE and the context of the relay UE. A PDN connection between the PGWs corresponding to the UE and the IP_i; correspondingly, the fifth message may include a result identifier corresponding to each IP_i.
步骤605、所述中继UE向所述MME发送第二消息,所述第二消息包括所述第一IP地址;Step 605: The relay UE sends a second message to the MME, where the second message includes the first IP address.
可选的,所述第二消息可以为承载资源修改请求消息。Optionally, the second message may be a bearer resource modification request message.
可选的,当中继UE连接到多个PGW时,中继UE具有多个IP地址;此时,MME可以通过在第五消息中还包括第二IP地址的方式,使得中继UE能够确定其多个IP地址中哪个IP地址为与所述PGW连接的IP地址(也即,第二IP地址)。 Optionally, when the relay UE is connected to multiple PGWs, the relay UE has multiple IP addresses; at this time, the MME may enable the relay UE to determine the manner by including the second IP address in the fifth message. Which of the plurality of IP addresses is an IP address (ie, a second IP address) connected to the PGW.
步骤606、所述MME根据所述第二消息,向所述PGW发送第三消息,所述第三消息包括所述第一IP地址;Step 606: The MME sends a third message to the PGW according to the second message, where the third message includes the first IP address.
可选的,所述第三消息可以为承载资源命令消息。Optionally, the third message may be a bearer resource command message.
步骤607、所述PGW根据所述第三消息,确定绑定关系;Step 607: The PGW determines a binding relationship according to the third message.
其中,所述绑定关系包括所述第一IP地址与所述第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址。The binding relationship includes a correspondence between the first IP address and the second IP address, where the second IP address is an IP address allocated by the PGW to the relay UE.
可选的,所述PGW获得第二IP地址的方式与步骤202类似,在此不再赘述。Optionally, the manner in which the PGW obtains the second IP address is similar to the step 202, and details are not described herein again.
步骤608、所述中继UE根据所述第一IP地址及所述第二IP地址,确定所述绑定关系;Step 608: The relay UE determines the binding relationship according to the first IP address and the second IP address.
需要说明的是,中继UE确定绑定关系的时刻,可以为所述中继UE获得第一IP地址和第二IP地址之后的任意时刻。It should be noted that, when the relay UE determines the binding relationship, the relay UE may obtain any time after the first IP address and the second IP address.
步骤609、所述中继UE与所述PGW根据所述绑定关系,实现所述PGW与所述远端UE之间的通信。Step 609: The relay UE and the PGW implement communication between the PGW and the remote UE according to the binding relationship.
具体的,所述中继UE与所述PGW根据所述绑定关系进行隧道通信,所述远端UE与所述中继UE进行邻近通信,实现所述PGW与所述远端UE之间的通信,并进一步实现所述远端UE与对端之间的通信。Specifically, the relay UE and the PGW perform tunnel communication according to the binding relationship, and the remote UE performs proximity communication with the relay UE to implement between the PGW and the remote UE. Communicating and further implementing communication between the remote UE and the peer.
可选的,步骤609可以包括:Optionally, step 609 can include:
所述中继UE接收所述远端UE通过邻近通信发送的第一数据包;所述第一数据包包括所述第一IP地址;所述中继UE根据所述绑定关系,采用所述第二IP地址对所述第一数据包进行隧道封装,获得第二数据包;所述中继UE将所述第二数据包发送给所述PGW,以使所述PGW对所述第二数据包进行隧道解封装后获得所述第一数据包;Receiving, by the relay UE, the first data packet that is sent by the remote UE by using the proximity communication; the first data packet includes the first IP address; and the relay UE adopts the The second IP address tunnel encapsulates the first data packet to obtain a second data packet; the relay UE sends the second data packet to the PGW, so that the PGW pairs the second data Obtaining the first data packet after the packet is decapsulated by the tunnel;
需要说明的是,由于第一数据包为远端UE发送给对端的数据包,因此第一数据包的源IP地址为第一IP地址,目的IP地址为对端的IP地址。中继UE根据第二IP地址对第一数据包进行隧道封装时,第一数据包被封装在第二数据包中,且第二数据包的源IP地址为第二IP地址,目的IP地址对端的IP地址。由于第二IP地址为所述PGW分配给所述中继UE的IP地址,所以第二数据包可以被路由至所述PGW。所述PGW通过解封装后获得封装在第二数据包中的第一数据包;由于第一数据包的目的IP地址为对端的IP地址, 因此第一数据包可以被路由至对端;对端接收到第一数据包后根据该第一数据包的源IP地址就可以确认第一数据来自远端UE。It should be noted that, because the first data packet is a data packet sent by the remote UE to the peer end, the source IP address of the first data packet is the first IP address, and the destination IP address is the IP address of the peer end. When the relay UE tunnels the first data packet according to the second IP address, the first data packet is encapsulated in the second data packet, and the source IP address of the second data packet is the second IP address, and the destination IP address is The IP address of the end. Since the second IP address is an IP address assigned to the relay UE by the PGW, the second data packet can be routed to the PGW. The PGW obtains the first data packet encapsulated in the second data packet by decapsulating; because the destination IP address of the first data packet is the IP address of the opposite end, Therefore, the first data packet can be routed to the opposite end; after receiving the first data packet, the opposite end can confirm that the first data is from the remote UE according to the source IP address of the first data packet.
可选的,步骤609还可以包括:Optionally, step 609 may further include:
所述中继UE接收所述PGW发送的第三数据包;所述第三数据包为所述PGW根据所述绑定关系采用所述第二IP地址对发送给所述远端UE的第四数据包进行隧道封装后获得的数据包;所述第四数据包包括所述第一IP地址;所述中继UE对所述第三数据包进行隧道解封装,获得所述第四数据包,并通过邻近通信将所述第四数据包发送给所述远端UE。The relaying UE receives the third data packet sent by the PGW; the third data packet is the fourth that the PGW sends the second IP address pair to the remote UE according to the binding relationship. a data packet obtained after the tunnel is encapsulated by the data packet; the fourth data packet includes the first IP address; and the relay UE performs tunnel decapsulation on the third data packet to obtain the fourth data packet. And transmitting the fourth data packet to the remote UE by using proximity communication.
需要说明的是,由于第四数据包为对端发送给远端UE的数据包,因此第四数据包的目的IP地址为所述第一IP地址;所述PGW可以根据第四数据包中包含了第一IP地址,确定所述第四数据包为对端发送给远端UE的数据包。It should be noted that, because the fourth data packet is a data packet sent by the peer end to the remote UE, the destination IP address of the fourth data packet is the first IP address; and the PGW may be included according to the fourth data packet. The first IP address is determined, and the fourth data packet is determined to be a data packet sent by the peer end to the remote UE.
本实施例中,通过MME确定是否新建中继UE与PGW之间的PDN连接,并在确定修改所述中继UE与所述PGW之间的PDN连接时,分别在所述中继UE及所述PGW侧确定绑定关系;所述中继UE与所述PGW根据所述绑定关系,实现所述PGW与所述远端UE之间的通信;使得当远端UE由在网状态变为脱网状态后,能够继续使用远端UE处于在网状态与对端进行业务时所使用的IP地址与对端进行通信;从而解决了现有技术中,存在的当远端UE由在网状态变为脱网状态时,通信中断的问题。In this embodiment, the MME determines whether to establish a PDN connection between the relay UE and the PGW, and when determining to modify the PDN connection between the relay UE and the PGW, respectively, in the relay UE and the The PGW side determines a binding relationship; the relay UE and the PGW implement communication between the PGW and the remote UE according to the binding relationship; After the out-of-network state, the remote UE can continue to use the IP address used by the remote UE to perform the service in the network state and the peer end to communicate with the peer end. This solves the problem in the prior art that the remote UE is in the network state. The communication is interrupted when it becomes off-network.
可选的,步骤609之后,还可以包括:Optionally, after step 609, the method may further include:
所述远端UE由脱网状态变为在网状态后,向所述MME发送第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;After the remote UE changes from the off-network state to the network state, the eighth message is sent to the MME, where the eighth message includes a release identifier, where the release identifier is used to instruct the PGW to release the binding Relationship
所述MME接收到所述第八消息后,根据所述第八消息向所述PGW发送第九消息,所述第九消息包括所述解除标识;After receiving the eighth message, the MME sends a ninth message to the PGW according to the eighth message, where the ninth message includes the release identifier;
所述PGW接收所述MME发送的第九消息,并解除所述绑定关系。The PGW receives the ninth message sent by the MME, and releases the binding relationship.
可选的,所述第八消息可以为服务请求(Service Request)消息或跟踪区更新(Tracking Area Update)消息;所述第九消息可以为绑定修改请求(Modify Bearer Req)消息。Optionally, the eighth message may be a Service Request message or a Tracking Area Update message; and the ninth message may be a Modify Bearer Req message.
需要说明的是,中继UE可以在确定与远端UE的临近通信已结束后,自 动解除绑定关系。It should be noted that the relay UE may determine that the proximity communication with the remote UE has ended. Unbinding the relationship.
需要说明的是,本实施例中所述中继UE的第二IP地址为所述远端UE处于脱网状态前,所述PGW分配给所述中继UE的IP地址。It should be noted that, in the embodiment, the second IP address of the relay UE is an IP address allocated by the PGW to the relay UE before the remote UE is in a disconnected state.
图7为本发明实现业务连续性的方法实施例六的流程图,如图7所示,本实施例的方法可以包括:FIG. 7 is a flowchart of Embodiment 6 of a method for implementing service continuity according to the present invention. As shown in FIG. 7, the method in this embodiment may include:
步骤701、远端UE由在网状态变为脱网状态后,向中继UE发送第一消息,所述第一消息包括PGW分配给所述远端UE的第一IP地址及所述远端UE的标识;Step 701: The remote UE sends a first message to the relay UE after the network status changes to the offline status, where the first message includes a first IP address allocated by the PGW to the remote UE, and the remote end. The identity of the UE;
需要说明的是,步骤701与步骤601类似,在此不再赘述。It should be noted that step 701 is similar to step 601, and details are not described herein again.
步骤702、所述中继UE向MME发送第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;Step 702: The relay UE sends a fourth message to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE.
需要说明的是,步骤702与步骤602类似,在此不再赘述。It should be noted that step 702 is similar to step 602, and details are not described herein again.
步骤703、所述MME根据所述第四消息,确定是否新建所述中继UE与所述PGW之间的PDN连接;Step 703: The MME determines, according to the fourth message, whether to establish a PDN connection between the relay UE and the PGW.
需要说明的是,步骤703与步骤603类似,在此不再赘述。It should be noted that step 703 is similar to step 603, and details are not described herein again.
步骤704、所述MME向所述中继UE发送第五消息;Step 704: The MME sends a fifth message to the relay UE.
其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE新建所述中继UE与所述PGW之间的PDN连接。The fifth message includes a result identifier, where the result identifier is used to indicate that the relay UE newly establishes a PDN connection between the relay UE and the PGW.
步骤705、所述中继UE向所述MME发送第二消息,所述第二消息包括所述第一IP地址及用于指示请求类型为中继的请求标识。Step 705: The relay UE sends a second message to the MME, where the second message includes the first IP address and a request identifier for indicating that the request type is a relay.
可选的,所述第二消息可以为PDN连接请求消息。Optionally, the second message may be a PDN connection request message.
步骤706、所述MME根据所述第二消息,建立所述中继UE与所述PGW之间的PDN连接;Step 706: The MME establishes a PDN connection between the relay UE and the PGW according to the second message.
可选的,方式1:Optional, mode 1:
所述PDN连接请求消息还可以包括所述远端UE的标识;The PDN connection request message may further include an identifier of the remote UE;
相应的,步骤706具体为:所述MME根据所述远端UE的标识,确定所述远端UE的上下文,并根据所述远端UE的上下文及所述第一IP地址,建立所述中继UE与所述PGW之间的PDN连接。Correspondingly, the step 706 is specifically: the MME determines the context of the remote UE according to the identifier of the remote UE, and establishes the middle according to the context of the remote UE and the first IP address. Following the PDN connection between the UE and the PGW.
方式2:Method 2:
若步骤703中所述MME确定新建所述中继UE与所述PGW之间的PDN 连接,步骤703之后还可以包括:If the MME determines in step 703, the PDN between the relay UE and the PGW is newly established. After the connection, step 703 may further include:
所述MME在所述中继UE的上下文信息中增加所述第一IP地址与所述PGW的对应关系;The MME adds a correspondence between the first IP address and the PGW in the context information of the relay UE.
相应的,步骤706具体为:所述MME根据所述PDN连接请求消息中所述第一IP地址及所述第一IP地址与所述PGW的对应关系,建立所述中继UE与所述PGW之间的PDN连接。Correspondingly, the step 706 is specifically: the MME establishes the relay UE and the PGW according to the first IP address in the PDN connection request message and the correspondence between the first IP address and the PGW. PDN connection between.
步骤707、所述MME根据所述第二消息,向所述PGW发送第三消息,所述第三消息包括所述第一IP地址;Step 707: The MME sends a third message to the PGW according to the second message, where the third message includes the first IP address.
可选的,所述第三消息可以为会话建立请求消息。Optionally, the third message may be a session establishment request message.
步骤708、所述PGW为中继UE分配所述第二IP地址,并根据所述第一IP地址及所述第二IP地址,确定绑定关系;Step 708: The PGW allocates the second IP address to the relay UE, and determines a binding relationship according to the first IP address and the second IP address.
步骤709、所述中继UE根据所述第一IP地址及所述第二IP地址,确定所述绑定关系;Step 709: The relay UE determines the binding relationship according to the first IP address and the second IP address.
需要说明的是,由于新建了所述中继UE与所述PGW之间的PDN连接,所述PGW为其新分配第二IP地址(在所述中继UE与所述PGW之间PDN连接建立之前,所述中继UE并不能获得所述第二IP地址);因此所述PGW可以通过将第二IP地址发送至所述中继UE的方式,使得所述中继UE能够获得所述第二IP地址,并进一步根据所述第一IP地址及所述第二IP地址确定绑定关系。It should be noted that, due to the newly established PDN connection between the relay UE and the PGW, the PGW newly allocates a second IP address for it (the PDN connection is established between the relay UE and the PGW) Previously, the relay UE cannot obtain the second IP address; therefore, the PGW can enable the relay UE to obtain the first manner by sending a second IP address to the relay UE. And determining an binding relationship according to the first IP address and the second IP address.
需要说明的是,中继UE确定绑定关系的时刻,可以为所述中继UE获得第一IP地址和第二IP地址之后的任意时刻。It should be noted that, when the relay UE determines the binding relationship, the relay UE may obtain any time after the first IP address and the second IP address.
步骤710、所述中继UE与所述PGW根据所述绑定关系,实现所述PGW与所述远端UE之间的通信。Step 710: The relay UE and the PGW implement communication between the PGW and the remote UE according to the binding relationship.
需要说明的是,步骤710与步骤609类似,在此不再赘述。It should be noted that step 710 is similar to step 609, and details are not described herein again.
本实施例中,通过MME确定是否新建中继UE与PGW之间的PDN连接,并在确定中继UE新建与PGW之间的PDN连接时,能够在中继UE与PGW之间建立PDN连接,并分别在中继UE及PGW侧确定绑定关系;所述中继UE与所述PGW根据所述绑定关系,实现所述PGW与所述远端UE之间的通信;使得当远端UE由在网状态变为脱网状态后,能够继续使用远端UE处于在网状态与对端进行业务时所使用的IP地址与对端进行通信;从而 解决了现有技术中,存在的当远端UE由在网状态变为脱网状态时,通信中断的问题。In this embodiment, the MME determines whether to establish a PDN connection between the relay UE and the PGW, and establishes a PDN connection between the relay UE and the PGW when determining that the relay UE establishes a PDN connection with the PGW. And determining, by the relay UE and the PGW, a binding relationship, where the relaying UE and the PGW implement communication between the PGW and the remote UE according to the binding relationship; After the state of the network is changed to the off-network state, the IP address used by the remote UE to perform the service in the network state and the peer end can be continuously communicated with the opposite end; The problem that the communication is interrupted when the remote UE changes from the network state to the off-network state exists in the prior art.
图8为本发明实现业务连续性的装置实施例一的结构示意图;所述装置为中继UE;如图8所示,本实施例的装置可以包括:收发模块801和处理模块802。其中,收发模块801,用于接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括PGW分配给所述远端UE的第一IP地址;收发模块801,还用于根据所述第一消息,向MME发送第二消息,以使所述MME向所述PGW发送第三消息,所述第二消息及所述第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;处理模块802,用于根据所述第二IP地址及收发模块801接收的所述第一消息中包括的所述第一IP地址,确定所述绑定关系;收发模块801,还用于根据处理模块802确定的所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。FIG. 8 is a schematic structural diagram of Embodiment 1 of a device for implementing service continuity according to the present invention; the device is a relay UE; as shown in FIG. 8 , the device in this embodiment may include: a transceiver module 801 and a processing module 802. The transceiver module 801 is configured to receive a first message sent by a remote UE in an off-network state, where the first message includes a first IP address that is allocated by the PGW to the remote UE, and the transceiver module 801 is further configured to: Sending, by the MME, a second message, according to the first message, to enable the MME to send a third message to the PGW, where the second message and the third message each include the first IP address; The third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the PGW The IP address of the relaying UE; the processing module 802, configured to determine the binding relationship according to the second IP address and the first IP address included in the first message received by the transceiver module 801; The transceiver module 801 is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module 802.
本实施例的装置,可以用于执行图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2, and the implementation principle and technical effects are similar, and details are not described herein again.
实现业务连续性的装置实施例二Apparatus for implementing business continuity
可选的,在本发明实现业务连续性的装置实施例一的基础上,收发模块801具体用于:Optionally, on the basis of the device embodiment 1 for implementing the service continuity of the present invention, the transceiver module 801 is specifically configured to:
接收所述远端UE通过邻近通信发送的第一数据包;所述第一数据包包括所述第一IP地址;Receiving, by the remote UE, a first data packet sent by proximity communication; the first data packet includes the first IP address;
根据所述绑定关系,采用所述第二IP地址对所述第一数据包进行隧道封装,获得第二数据包;Decapsulating the first data packet by using the second IP address to obtain a second data packet, according to the binding relationship;
将所述第二数据包发送给所述PGW,以使所述PGW对所述第二数据包进行隧道解封装后获得所述第一数据包。Sending the second data packet to the PGW, so that the PGW obtains the first data packet after performing tunnel decapsulation on the second data packet.
可选的,收发模块801还用于:Optionally, the transceiver module 801 is further configured to:
接收所述PGW发送的第三数据包;所述第三数据包为所述PGW根据所述绑定关系采用所述第二IP地址对发送给所述远端UE的第四数据包进行隧道封装后获得的数据包;所述第四数据包包括所述第一IP地址;Receiving a third data packet sent by the PGW; the third data packet is a tunnel encapsulation of the fourth data packet sent by the PGW to the remote UE by using the second IP address according to the binding relationship. a data packet obtained afterwards; the fourth data packet includes the first IP address;
对所述第三数据包进行隧道解封装,获得所述第四数据包,并通过邻近 通信将所述第四数据包发送给所述远端UE。Performing tunnel decapsulation on the third data packet, obtaining the fourth data packet, and passing the proximity The communication transmits the fourth data packet to the remote UE.
可选的,所述第一消息还可以包括所述远端UE的标识;Optionally, the first message may further include an identifier of the remote UE.
相应的,收发模块801还用于:Correspondingly, the transceiver module 801 is further configured to:
向所述MME发送第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;接收所述MME发送的第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接。Sending a fourth message to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE, and receives a fifth message sent by the MME, where the fifth message includes a result. And the result identifier is used to indicate whether the relay UE establishes a PDN connection between the relay UE and the PGW.
可选的,若所述结果标识指示新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;或者,若所述结果标识指示不新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。Optionally, if the result identifier indicates that a PDN connection between the relay UE and the PGW is newly established, the second message is a PDN connection request message, and the third message is a session establishment request message, where The second message further includes a request identifier for indicating that the request type is a relay; or, if the result identifier indicates that a PDN connection between the relay UE and the PGW is not newly created, the second message is The resource modification request message is carried, and the third message is a bearer resource command message.
可选的,收发模块801具体用于:通过ProSe Function向所述MME发送所述第四消息;或者,直接向所述MME发送所述第四消息。Optionally, the transceiver module 801 is specifically configured to: send the fourth message to the MME by using a ProSe Function; or send the fourth message directly to the MME.
进一步可选的,收发模块801具体用于:向所述ProSe Function发送第十一消息,以使得所述ProSe Function根据所述第十一消息向归属签约服务器HSS发送第十二消息,触发所述HSS根据所述第十二消息向所述MME发送第四消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。Further, the transceiver module 801 is specifically configured to: send an eleventh message to the ProSe Function, so that the ProSe Function sends a twelfth message to the home subscription server HSS according to the eleventh message, triggering the The HSS sends a fourth message to the MME according to the twelfth message, where the eleventh message and the twelfth message both include an identifier of the remote UE and an identifier of the relay UE.
可选的,若处理模块802确定与所述远端UE的临近通信已结束,则解除所述绑定关系。Optionally, if the processing module 802 determines that the proximity communication with the remote UE has ended, the binding relationship is released.
本实施例的装置,可以用于执行图6或图7所示方法实施例中继UE侧的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to perform the technical solution of the relaying UE side in the method embodiment shown in FIG. 6 or FIG. 7. The implementation principle and technical effects are similar, and details are not described herein again.
图9为本发明实现业务连续性的装置实施例二的结构示意图;所述装置为MME;如图9所示,本实施例的装置可以包括:接收模块901和发送模块902。其中,接收模块901,用于接收中继UE发送的第二消息,所述第二消息包括PGW分配给远端UE的第一IP地址;发送模块902,用于根据接收模块901接收的所述第二消息,向所述PGW发送第三消息,所述第三消息包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二 IP地址为所述PGW分配给所述中继UE的IP地址。FIG. 9 is a schematic structural diagram of Embodiment 2 of an apparatus for implementing service continuity according to the present invention; the apparatus is an MME; as shown in FIG. 9, the apparatus in this embodiment may include: a receiving module 901 and a sending module 902. The receiving module 901 is configured to receive a second message that is sent by the relaying UE, where the second message includes a first IP address that is allocated by the PGW to the remote UE, and the sending module 902 is configured to receive the a second message, the third message is sent to the PGW, where the third message includes the first IP address, where the third message is used by the PGW to determine a binding relationship, where the binding relationship includes Corresponding relationship between the first IP address and the second IP address, the second The IP address is an IP address assigned to the relay UE by the PGW.
本实施例的装置,可以用于执行图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
图10为本发明实现业务连续性的装置实施例四的结构示意图;如图10所述,在本发明实现业务连续性的装置实施例三的基础上,所述装置还可以包括:处理模块903。其中,接收模块901,还用于接收所述中继UE发送的第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;处理模块903,用于根据接收模块901接收的所述第四消息,确定所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接;发送模块902,还用于向所述中继UE发送第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接。10 is a schematic structural diagram of Embodiment 4 of an apparatus for implementing service continuity according to the present invention. As shown in FIG. 10, in addition to the third embodiment of the apparatus for implementing service continuity, the apparatus may further include: a processing module 903. . The receiving module 901 is further configured to receive a fourth message that is sent by the relaying UE, where the fourth message includes an identifier of the remote UE and an identifier of the relaying UE, and a processing module 903 is configured to: The fourth message received by the receiving module 901, determining whether the relay UE establishes a PDN connection between the relay UE and the PGW, and the sending module 902 is further configured to send a fifth to the relay UE. a message, where the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE establishes a PDN connection between the relay UE and the PGW.
方式A:可选的,处理模块903具体用于:Method A: Optionally, the processing module 903 is specifically configured to:
根据所述远端UE的标识确定所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址;Determine a context of the remote UE according to the identifier of the remote UE, where the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;Determining, according to the identifier of the relay UE, a context of the relay UE, where the context of the relay UE includes an IP address of a relay UE and an IP address of a PGW in each PDN connection of the relay UE;
根据所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。Determining whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE.
方式B:可选的,若所述MME与所述远端UE的MME不同,则发送模块902,还用于向所述远端UE的MME发送第六消息,所述第六消息包括所述远端UE的标识;Mode B: Optionally, if the MME is different from the MME of the remote UE, the sending module 902 is further configured to send a sixth message to the MME of the remote UE, where the sixth message includes the The identifier of the remote UE;
接收模块901,还用于接收所述远端UE的MME发送的第七消息,所述第七消息包括所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址;The receiving module 901 is further configured to receive a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE, and a context of the remote UE includes each of the remote UEs The IP address of the remote UE and the IP address of the PGW in the PDN connection;
处理模块903,具体用于根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;根据接收模块901接收的所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的 PDN连接。The processing module 903 is specifically configured to determine a context of the relay UE according to the identifier of the relay UE, where a context of the relay UE includes an IP address of a relay UE in each PDN connection of the relay UE, and Determining whether to create a new IP address between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE received by the receiving module 901 PDN connection.
需要说明的是,本实施例中,MME可以根据方式A或方式B的方式,确定所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接。It should be noted that, in this embodiment, the MME may determine, according to the mode A or the mode B, whether the relay UE establishes a PDN connection between the relay UE and the PGW.
可选的,所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;或者,Optionally, the second message is a PDN connection request message, the third message is a session establishment request message, and the second message further includes a request identifier for indicating that the request type is a relay; or
所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。The second message is a bearer resource modification request message, and the third message is a bearer resource command message.
方式1:可选的,所述PDN连接请求消息还包括所述远端UE的标识;Mode 1: Optionally, the PDN connection request message further includes an identifier of the remote UE;
处理模块903,还用于根据所述远端UE的标识,确定所述远端UE的上下文,并根据所述远端UE的上下文及所述第一IP地址,建立所述中继UE与所述PGW之间的PDN连接。The processing module 903 is further configured to determine a context of the remote UE according to the identifier of the remote UE, and establish the relay UE and the location according to the context of the remote UE and the first IP address. Describe the PDN connection between PGWs.
方式2:可选的,若处理模块903确定新建所述中继UE与所述PGW之间的PDN连接,则处理模块903,还用于在所述中继UE的上下文信息中增加所述第一IP地址与所述PGW的对应关系;根据所述PDN连接请求消息中所述第一IP地址及所述第一IP地址与所述PGW的对应关系,建立所述中继UE与所述PGW之间的PDN连接。Mode 2: Optionally, if the processing module 903 determines to establish a PDN connection between the relay UE and the PGW, the processing module 903 is further configured to add the foregoing information in the context information of the relay UE. Corresponding relationship between an IP address and the PGW; establishing the relay UE and the PGW according to the first IP address in the PDN connection request message and the correspondence between the first IP address and the PGW PDN connection between.
需要说明的是,MME可以根据方式1或方式2的方式,建立所述中继UE与所述PGW之间的PDN连接。It should be noted that the MME may establish a PDN connection between the relay UE and the PGW according to the manner of the mode 1 or the mode 2.
可选的,接收模块901,具体用于接收所述中继UE通过邻近服务功能实体ProSe Function发送的所述第四消息;或者,接收所述中继UE直接向所述MME发送的所述第四消息。Optionally, the receiving module 901 is specifically configured to receive the fourth message that is sent by the relay UE by using a proximity service function entity ProSe Function; or receive the foregoing that the relay UE sends directly to the MME Four messages.
进一步可选的,接收模块901,具体用于接收归属签约服务器HSS根据第十二消息发送的所述第四消息,所述第十二消息为所述ProSe Function接收到所述中继UE发送的第十一消息后向所述HSS发送的消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。Further, the receiving module 901 is specifically configured to receive the fourth message sent by the home subscription server HSS according to the twelfth message, where the twelfth message is sent by the ProSe Function to the relay UE. The message sent to the HSS after the eleventh message; wherein the eleventh message and the twelfth message both include an identifier of the remote UE and an identifier of the relay UE.
可选的,接收模块901,还用于接收处于在网状态的所述远端UE发送的第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;Optionally, the receiving module 901 is further configured to receive an eighth message that is sent by the remote UE in a network state, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is released. The binding relationship;
发送模块902,还用于根据接收模块901接收的第八消息,向所述PGW 发送第九消息,所述第九消息包括所述解除标识。The sending module 902 is further configured to send, according to the eighth message received by the receiving module 901, the PGW Sending a ninth message, the ninth message including the release identifier.
本实施例的装置,可以用于执行图6或图7所示方法实施例MME侧的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution on the MME side of the method embodiment shown in FIG. 6 or FIG. 7. The implementation principle and technical effects are similar, and details are not described herein again.
图11为本发明实现业务连续性的装置实施例五的结构示意图;所述装置为PGW;如图11所示,本实施例的装置可以包括:收发模块1101及处理模块1102。其中,收发模块1101,用于接收MME发送的第三消息;所述第三消息包括所述PGW分配给远端UE的第一IP地址;处理模块1102,用于根据收发模块1101接收的所述第三消息,确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;收发模块1101,还用于根据处理模块1102确定的所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。FIG. 11 is a schematic structural diagram of Embodiment 5 of a device for implementing service continuity according to the present invention; the device is a PGW; as shown in FIG. 11, the device in this embodiment may include: a transceiver module 1101 and a processing module 1102. The transceiver module 1101 is configured to receive a third message sent by the MME, where the third message includes a first IP address that is allocated by the PGW to the remote UE, and the processing module 1102 is configured to receive, according to the receiving, by the transceiver module 1101. a third message, the binding relationship is determined, the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the relay UE by the PGW The transceiver module 1101 is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module 1102.
本实施例的装置,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
实现业务连续性的装置实施例六Apparatus for implementing business continuity
可选的,在本发明实现业务连续性的装置实施例五的基础上,所述第三消息为承载资源命令消息或会话建立请求消息;若所述第三消息为会话建立请求消息,则处理模块1102,具体用于:Optionally, the third message is a bearer resource command message or a session establishment request message, where the third message is a session establishment request message, if the third message is a session establishment request message, Module 1102, specifically for:
为所述中继UE分配所述第二IP地址;Allocating the second IP address to the relay UE;
根据所述第一IP地址及所述第二IP地址确定绑定关系。Determining a binding relationship according to the first IP address and the second IP address.
可选的,收发模块1101具体用于:Optionally, the transceiver module 1101 is specifically configured to:
接收所述中继UE发送的第二数据包,所述第二数据包为所述中继UE根据所述第二IP地址对第一数据包进行隧道封装后获得的数据包;所述第一数据包为所述远端UE发送的数据包,且所述第一数据包包括所述第一IP地址;Receiving, by the relay UE, a second data packet, where the second data packet is a data packet obtained by tunneling the first data packet by the relay UE according to the second IP address; The data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address;
对所述第二数据包进行隧道解封装,获得所述第一数据包。And performing tunnel decapsulation on the second data packet to obtain the first data packet.
可选的,收发模块1101还用于:Optionally, the transceiver module 1101 is further configured to:
根据所述第二IP地址对待发送给所述远端UE的第四数据包进行隧道封装,获得第三数据包,并将所述第三数据包转发至所述中继UE,以使所述中继UE对所述第三数据包进行隧道解封装后获得所述第四数据包,并将所述 第四数据包通过邻近通信发送给所述远端UE。Performing tunnel encapsulation on the fourth data packet to be sent to the remote UE according to the second IP address, obtaining a third data packet, and forwarding the third data packet to the relay UE, so that the The relaying UE performs tunnel decapsulation on the third data packet to obtain the fourth data packet, and the The fourth data packet is sent to the remote UE by proximity communication.
可选的,收发模块1101,还用于接收所述MME发送的第九消息,所述第九消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;Optionally, the transceiver module 1101 is further configured to receive the ninth message sent by the MME, where the ninth message includes a de-identification, where the de-identification is used to instruct the PGW to cancel the binding relationship;
处理模块1102,还用于根据收发模块1101接收的所述第九消息,解除所述绑定关系。The processing module 1102 is further configured to cancel the binding relationship according to the ninth message received by the transceiver module 1101.
本实施例的装置,可以用于执行图6、图7所示方法实施例PGW侧的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment can be used to implement the technical solution on the PGW side of the method embodiment shown in FIG. 6 and FIG. 7. The implementation principle and technical effects are similar, and details are not described herein again.
图12为本发明实现业务连续性的装置实施例七的结构示意图;所述远端UE;如图12所示,本实施例的装置可以包括:处理模块1201及发送模块1202。其中,处理模块1201,用于确定所述远端UE由在网状态变为脱网状态;发送模块1202,用于在处理模块1201确定所述远端UE变为脱网状态时,向中继UE发送第一消息,以使所述中继UE根据所述第一消息确定绑定关系;其中,所述第一消息包括PGW分配给所述远端UE的第一IP地址。FIG. 12 is a schematic structural diagram of Embodiment 7 of a device for implementing service continuity according to the present invention; the remote UE; as shown in FIG. 12, the device in this embodiment may include: a processing module 1201 and a sending module 1202. The processing module 1201 is configured to determine that the remote UE changes from the in-network state to the off-network state, and the sending module 1202 is configured to: when the processing module 1201 determines that the remote UE becomes the off-network state, The UE sends a first message, so that the relay UE determines a binding relationship according to the first message, where the first message includes a first IP address allocated by the PGW to the remote UE.
本实施例的装置,可以用于执行图5所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
实现业务连续性的装置实施例八Apparatus for implementing business continuity Example 8
可选的,在本发明实现业务连续性的装置实施例七的基础上,所述第一消息还包括所述远端UE的标识。Optionally, the first message further includes the identifier of the remote UE, based on the seventh embodiment of the device for implementing the service continuity.
可选的,发送模块1202还用于:Optionally, the sending module 1202 is further configured to:
所述远端UE由脱网状态变为在网状态后,向移动性管理实体MME发送第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系。After the remote UE changes from the off-network state to the network state, the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
本实施例的装置,可以用于执行图6、图7所示方法实施例远端UE侧的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to perform the technical solution on the remote UE side of the method embodiment shown in FIG. 6 and FIG. 7. The implementation principle and technical effects are similar, and details are not described herein again.
本发明还提供一种实现业务连续性的系统,所述系统包括:实现业务连续性的装置实施例一或实施例二所述的中继UE、实现业务连续性的装置实施例三或实施例四所述的MME、实现业务连续性的装置实施例五或实施例六所述的PGW及现业务连续性的装置实施例七或实施例八所述的远端UE。The present invention further provides a system for implementing service continuity, the system comprising: a device for implementing service continuity, a relay UE according to Embodiment 1 or Embodiment 2, and a device embodiment 3 or an embodiment for implementing service continuity. The remote MME described in Embodiment 7 or Embodiment 8 of the MME, the device for implementing the service continuity, or the PGW and the current service continuity.
本实施例的系统,可以用于执行图6、图7所示方法实施例的技术方案, 其实现原理和技术效果类似,此处不再赘述。The system of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 6 and FIG. The implementation principle and technical effect are similar, and will not be described here.
图13为本发明实现业务连续性的装置实施例九的结构示意图;所述装置为中继UE;如图13所示,本实施例的装置可以包括:收发器1301和处理器1302。其中,收发器1301,用于接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括PGW分配给所述远端UE的第一IP地址;收发器1301,还用于根据所述第一消息,向移动性管理实体MME发送第二消息,以使所述MME向所述PGW发送第三消息,所述第二消息及所述第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;处理器1302,用于根据所述第一IP地址及所述第二IP地址,确定所述绑定关系;处理器1302,还用于根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。FIG. 13 is a schematic structural diagram of Embodiment 9 of a device for implementing service continuity according to the present invention; the device is a relay UE; as shown in FIG. 13, the device in this embodiment may include: a transceiver 1301 and a processor 1302. The transceiver 1301 is configured to receive a first message sent by a remote UE in an off-network state, where the first message includes a first IP address allocated by the PGW to the remote UE, and the transceiver 1301 is further configured to: Sending, according to the first message, a second message to the mobility management entity MME, so that the MME sends a third message to the PGW, where the second message and the third message each include the first IP An address, where the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is The IP address of the PGW is allocated to the relay UE; the processor 1302 is configured to determine the binding relationship according to the first IP address and the second IP address; the processor 1302 is further configured to perform The binding relationship is implemented, and communication between the PGW and the remote UE is implemented by the relay UE.
本实施例的装置,可以用于执行图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2, and the implementation principle and technical effects are similar, and details are not described herein again.
实现业务连续性的装置实施例十Apparatus for implementing business continuity
可选的,在本发明实现业务连续性的装置实施例九的基础上,收发器1301,还用于接收所述远端UE通过邻近通信发送的第一数据包;所述第一数据包包括所述第一IP地址;Optionally, the transceiver 1301 is further configured to receive, by the remote UE, the first data packet sent by the remote UE by using the neighboring communication, where the first data packet includes The first IP address;
处理器1302,具体用于根据所述绑定关系,采用所述第二IP地址对所述第一数据包进行隧道封装,获得第二数据包;The processor 1302 is configured to perform tunnel encapsulation on the first data packet by using the second IP address according to the binding relationship, to obtain a second data packet.
收发器1301,还用于将所述第二数据包发送给所述PGW,以使所述PGW对所述第二数据包进行隧道解封装后获得所述第一数据包。The transceiver 1301 is further configured to send the second data packet to the PGW, so that the PGW obtains the first data packet after performing tunnel decapsulation on the second data packet.
可选的,收发器1301,还用于接收所述PGW发送的第三数据包;所述第三数据包为所述PGW根据所述绑定关系采用所述第二IP地址对发送给所述远端UE的第四数据包进行隧道封装后获得的数据包;所述第四数据包包括所述第一IP地址;Optionally, the transceiver 1301 is further configured to receive a third data packet sent by the PGW, where the third data packet is sent by the PGW according to the binding relationship by using the second IP address pair. a data packet obtained after tunnel encapsulation of the fourth data packet of the remote UE; the fourth data packet includes the first IP address;
处理器1302,还用于对所述第三数据包进行隧道解封装,获得所述第四数据包;The processor 1302 is further configured to perform tunnel decapsulation on the third data packet to obtain the fourth data packet.
收发器1301,还用于通过邻近通信将所述第四数据包发送给所述远端 UE。The transceiver 1301 is further configured to send the fourth data packet to the remote end by using proximity communication UE.
可选的,所述第一消息还可以包括所述远端UE的标识;Optionally, the first message may further include an identifier of the remote UE.
相应的,收发器1301还用于:Correspondingly, the transceiver 1301 is further configured to:
向所述MME发送第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;接收所述MME发送的第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的分组数据网PDN连接。Sending a fourth message to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE, and receives a fifth message sent by the MME, where the fifth message includes a result. And the result identifier is used to indicate whether the relay UE establishes a packet data network PDN connection between the relay UE and the PGW.
可选的,若所述结果标识指示新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;Optionally, if the result identifier indicates that a PDN connection between the relay UE and the PGW is newly established, the second message is a PDN connection request message, and the third message is a session establishment request message, where The second message further includes a request identifier for indicating that the request type is a relay;
或者,若所述结果标识指示不新建所述中继UE所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。Or, if the result identifier indicates that the second message of the relaying UE is not newly created, the third message is a bearer resource command message.
可选的,收发器1301具体用于:通过ProSe Function向所述MME发送所述第四消息;或者,直接向所述MME发送所述第四消息。Optionally, the transceiver 1301 is specifically configured to: send the fourth message to the MME by using a ProSe Function; or send the fourth message directly to the MME.
进一步可选的,收发器1301具体用于:向所述ProSe Function发送第十一消息,以使得所述ProSe Function根据所述第十一消息向归属签约服务器HSS发送第十二消息,触发述HSS根据所述第十二消息向所述MME发送第四消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。Further, the transceiver 1301 is specifically configured to: send an eleventh message to the ProSe Function, so that the ProSe Function sends a twelfth message to the home subscription server HSS according to the eleventh message, triggering the HSS Transmitting, by the twelfth message, a fourth message to the MME, where the eleventh message and the twelfth message each include an identifier of the remote UE and an identifier of the relay UE.
可选的,若处理器1302确定与所述远端UE的临近通信已结束,则解除所述绑定关系。Optionally, if the processor 1302 determines that the proximity communication with the remote UE has ended, the binding relationship is cancelled.
本实施例的装置,可以用于执行图6或图7所示方法实施例中继UE侧的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to perform the technical solution of the relaying UE side in the method embodiment shown in FIG. 6 or FIG. 7. The implementation principle and technical effects are similar, and details are not described herein again.
图14为本发明实现业务连续性的装置实施例十一的结构示意图;所述装置为MME;如图14所示,本实施例的装置可以包括:第一通信接口1401、处理器1402及第二通信接口1403。其中,第一通信接口1401,用于接收中继用户设备UE发送的第二消息,所述第二消息包括PGW分配给远端UE的第一IP地址;处理器1402,用于根据根据第一通信接口1401接收的所述第二消息,生成第三消息,所述第三消息包括所述第一IP地址;第二通信接口1403,用于将处理器1402生成的所述第三消息发送给所述PGW;其中,所 述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址。FIG. 14 is a schematic structural diagram of Embodiment 11 of the device for implementing service continuity according to the present invention; the device is an MME; as shown in FIG. 14, the device in this embodiment may include: a first communication interface 1401, a processor 1402, and a Two communication interfaces 1403. The first communication interface 1401 is configured to receive a second message sent by the relay user equipment UE, where the second message includes a first IP address allocated by the PGW to the remote UE, and the processor 1402 is configured to perform according to the first The second message received by the communication interface 1401 generates a third message, the third message includes the first IP address, and the second communication interface 1403 is configured to send the third message generated by the processor 1402 to The PGW; wherein, the The third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the PGW The IP address of the relay UE.
本实施例的装置,可以用于执行图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
实现业务连续性的装置实施例十二Apparatus for implementing business continuity
可选的,在本发明实现业务连续性的装置实施例十一的基础上,第一通信接口1401,还用于接收所述中继UE发送的第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;处理器1402,用于根据第一通信接口1401接收的所述第四消息,确定所述中继UE是否新建所述中继UE与所述PGW之间的分组数据网PDN连接,并生成第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接;第一通信接口1401,还用于将处理器1402生成的所述第五消息发送给所述中继UE。Optionally, the first communication interface 1401 is further configured to receive a fourth message sent by the relay UE, where the fourth message includes the The identifier of the remote UE and the identifier of the relay UE; the processor 1402, configured to determine, according to the fourth message received by the first communication interface 1401, whether the relay UE establishes the relay UE and the a packet data network PDN connection between the PGWs, and generating a fifth message, wherein the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE creates the relay UE and the PGW The first communication interface 1401 is further configured to send the fifth message generated by the processor 1402 to the relay UE.
方式A:可选的,处理器1402具体用于:Method A: Optionally, the processor 1402 is specifically configured to:
根据所述远端UE的标识确定所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各分组数据网PDN中远端UE的IP地址及PGW的IP地址;Determining, according to the identifier of the remote UE, a context of the remote UE, where the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each packet data network PDN of the remote UE;
根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;Determining, according to the identifier of the relay UE, a context of the relay UE, where the context of the relay UE includes an IP address of a relay UE and an IP address of a PGW in each PDN connection of the relay UE;
根据所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。Determining whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE.
方式B:可选的,若所述MME与所述远端UE的MME不同,则所述装置还包括第三通信接口;第三通信接口,用于向所述远端UE的MME发送第六消息,所述第六消息包括所述远端UE的标识;接收所述远端UE的MME发送的第七消息,所述第七消息包括所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址;Mode B: Optionally, if the MME is different from the MME of the remote UE, the device further includes a third communication interface, and the third communication interface is configured to send the sixth message to the MME of the remote UE. a message, the sixth message includes an identifier of the remote UE, and a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE, and the remote UE The context includes an IP address of the remote UE and an IP address of the PGW in each PDN connection of the remote UE;
处理器1402,具体用于根据所述中继UE的标识确定所述中继UE的上 下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;根据所述第三通信接口接收的所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。The processor 1402 is specifically configured to determine, according to the identifier of the relay UE, the relay UE The context of the relay UE includes the IP address of the relay UE and the IP address of the PGW in each PDN connection of the relay UE, and the context of the remote UE received according to the third communication interface. Determining, by the context of the relaying UE, whether to establish a PDN connection between the relay UE and the PGW.
需要说明的是,本实施例中,MME可以根据方式A或方式B的方式,确定所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接。It should be noted that, in this embodiment, the MME may determine, according to the mode A or the mode B, whether the relay UE establishes a PDN connection between the relay UE and the PGW.
可选的,所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;或者,所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。Optionally, the second message is a PDN connection request message, the third message is a session establishment request message, and the second message further includes a request identifier for indicating that the request type is a relay; or The second message is a bearer resource modification request message, and the third message is a bearer resource command message.
方式1:可选的,所述PDN连接请求消息还包括所述远端UE的标识;Mode 1: Optionally, the PDN connection request message further includes an identifier of the remote UE;
处理器1402,还用于根据所述远端UE的标识,确定所述远端UE的上下文,并根据所述远端UE的上下文及所述第一IP地址,建立所述中继UE与所述PGW之间的PDN连接。The processor 1402 is further configured to determine a context of the remote UE according to the identifier of the remote UE, and establish the relay UE and the location according to the context of the remote UE and the first IP address. Describe the PDN connection between PGWs.
方式2:可选的,若处理器1402确定新建所述中继UE与所述PGW之间的PDN连接,则处理器1402还用于:Mode 2: Optionally, if the processor 1402 determines to establish a PDN connection between the relay UE and the PGW, the processor 1402 is further configured to:
在所述中继UE的上下文信息中增加所述第一IP地址与所述PGW的对应关系;根据所述PDN连接请求消息中所述第一IP地址及所述第一IP地址与所述PGW的对应关系,建立所述中继UE与所述PGW之间的PDN连接。Adding a correspondence between the first IP address and the PGW in the context information of the relay UE; according to the first IP address and the first IP address in the PDN connection request message, and the PGW Corresponding relationship, establishing a PDN connection between the relay UE and the PGW.
需要说明的是,MME可以根据方式1或方式2的方式,建立所述中继UE与所述PGW之间的PDN连接。It should be noted that the MME may establish a PDN connection between the relay UE and the PGW according to the manner of the mode 1 or the mode 2.
可选的,第一通信接口1401,具体用于接收所述中继UE通过邻近服务功能实体ProSe Function发送的所述第四消息;或者,接收所述中继UE直接向所述MME发送的所述第四消息。Optionally, the first communication interface 1401 is configured to receive the fourth message sent by the relay UE by using a proximity service function entity ProSe Function; or receive the location that the relay UE directly sends to the MME The fourth message.
进一步可选的,第一通信接口1401,具体用于接收归属签约服务器HSS根据第十二消息发送的所述第四消息,所述第十二消息为所述ProSe Function接收到所述中继UE发送的第十一消息后向所述HSS发送的消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。Further, the first communication interface 1401 is configured to receive the fourth message sent by the home subscription server HSS according to the twelfth message, where the twelfth message is that the ProSe Function receives the relay UE. The message sent to the HSS after the eleventh message is sent; wherein the eleventh message and the twelfth message both include an identifier of the remote UE and an identifier of the relay UE.
可选的,第一通信接口1401,还用于接收处于在网状态的所述远端UE发送的第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指 示所述PGW解除所述绑定关系;根据所述第八消息,向所述PGW发送第九消息,所述第九消息包括所述解除标识。Optionally, the first communication interface 1401 is further configured to receive an eighth message sent by the remote UE in a network state, where the eighth message includes a release identifier, where the release identifier is used to refer to The PGW is shown to release the binding relationship; according to the eighth message, a ninth message is sent to the PGW, where the ninth message includes the release identifier.
本实施例的装置,可以用于执行图6或图7所示方法实施例MME侧的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution on the MME side of the method embodiment shown in FIG. 6 or FIG. 7. The implementation principle and technical effects are similar, and details are not described herein again.
图15为本发明实现业务连续性的装置实施例十三的结构示意图;所述装置为PGW;如图15所示,本实施例的装置可以包括:通信接口1501及处理器1502。其中,通信接口1501,用于接收移动性管理实体MME发送的第三消息;所述第三消息包括所述PGW分配给远端UE的第一IP地址;处理器1502,用于根据通信接口1501接收的所述第三消息,确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;处理器1502,还用于根据所述绑定关系,通过所述中继UE实现所述PGW与与所述远端UE之间的通信。FIG. 15 is a schematic structural diagram of Embodiment 13 of the device for implementing service continuity according to the present invention; the device is a PGW; as shown in FIG. 15, the device in this embodiment may include: a communication interface 1501 and a processor 1502. The communication interface 1501 is configured to receive a third message sent by the mobility management entity MME, where the third message includes a first IP address that is allocated by the PGW to the remote UE, and the processor 1502 is configured to use the communication interface 1501. Receiving the third message, determining a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the PGW Relaying the IP address of the UE; the processor 1502 is further configured to implement, by using the relay UE, communication between the PGW and the remote UE according to the binding relationship.
本实施例的装置,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
实现业务连续性的装置实施例十四Apparatus for implementing business continuity
可选的,在本发明实现业务连续性的装置实施例十三的基础上,所述第三消息为承载资源命令消息或会话建立请求消息;若所述第三消息为会话建立请求消息,则处理器1502具体用于:Optionally, the third message is a bearer resource command message or a session establishment request message, where the third message is a session establishment request message, if the third message is a session establishment request message, The processor 1502 is specifically configured to:
为所述中继UE分配所述第二IP地址;Allocating the second IP address to the relay UE;
根据所述第一IP地址及所述第二IP地址确定绑定关系。Determining a binding relationship according to the first IP address and the second IP address.
可选的,通信接口1501,还用于接收所述中继UE发送的第二数据包,所述第二数据包为所述中继UE根据所述第二IP地址对第一数据包进行隧道封装后获得的数据包;所述第一数据包为所述远端UE发送的数据包,且所述第一数据包包括所述第一IP地址;Optionally, the communication interface 1501 is further configured to receive a second data packet sent by the relay UE, where the second data packet is used by the relay UE to tunnel the first data packet according to the second IP address. a data packet obtained after the encapsulation; the first data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address;
处理器1502,具体用于对所述第二数据包进行隧道解封装,获得所述第一数据包。The processor 1502 is specifically configured to perform tunnel decapsulation on the second data packet to obtain the first data packet.
可选的,处理器1502,还用于根据所述第二IP地址对待发送给所述远端UE的第四数据包进行隧道封装,获得第三数据包;Optionally, the processor 1502 is further configured to perform tunnel encapsulation on the fourth data packet to be sent to the remote UE according to the second IP address, to obtain a third data packet.
通信接口1501,还用于将所述第三数据包转发至所述中继UE,以使所述中继UE对所述第三数据包进行隧道解封装后获得所述第四数据包,并将 所述第四数据包通过邻近通信发送给所述远端UE。The communication interface 1501 is further configured to forward the third data packet to the relay UE, so that the relay UE obtains the fourth data packet after performing tunnel decapsulation on the third data packet, and Will The fourth data packet is sent to the remote UE by proximity communication.
可选的,通信接口1501,还用于接收所述MME发送的第九消息,所述第九消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;Optionally, the communication interface 1501 is further configured to receive the ninth message sent by the MME, where the ninth message includes a de-identification, where the de-identification is used to instruct the PGW to cancel the binding relationship;
处理器1502,还用于根据通信接口1501接收的所述第九消息,解除所述绑定关系。The processor 1502 is further configured to release the binding relationship according to the ninth message received by the communication interface 1501.
本实施例的装置,可以用于执行图6、图7所示方法实施例PGW侧的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment can be used to implement the technical solution on the PGW side of the method embodiment shown in FIG. 6 and FIG. 7. The implementation principle and technical effects are similar, and details are not described herein again.
图16为本发明实现业务连续性的装置实施例十五的结构示意图;所述远端UE;如图16所示,本实施例的装置可以包括:处理器1601及发送器1602。其中,处理器1601,用于确定所述远端UE由在网状态变为脱网状态;发送器1602,用于在处理器1601确定所述远端UE变为脱网状态时,向中继UE发送第一消息,以使所述中继UE根据所述第一消息确定绑定关系;其中,所述第一消息PGW分配给所述远端UE的第一IP地址。FIG. 16 is a schematic structural diagram of Embodiment 15 of the apparatus for implementing service continuity according to the present invention; the remote UE; as shown in FIG. 16, the apparatus in this embodiment may include: a processor 1601 and a transmitter 1602. The processor 1601 is configured to determine that the remote UE changes from the in-network state to the off-network state, and the transmitter 1602 is configured to: when the processor 1601 determines that the remote UE becomes the off-network state, The UE sends a first message, so that the relay UE determines a binding relationship according to the first message, where the first message PGW is allocated to the first IP address of the remote UE.
本实施例的装置,可以用于执行图5所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
实现业务连续性的装置实施例十六Apparatus for implementing business continuity
可选的,在本发明实现业务连续性的装置实施例十五的基础上,所述第一消息还包括所述远端UE的标识。Optionally, on the basis of the fifteenth embodiment of the device for implementing the service continuity of the present invention, the first message further includes an identifier of the remote UE.
可选的,发送器1602,还用于:Optionally, the transmitter 1602 is further configured to:
所述远端UE由脱网状态变为在网状态后,向移动性管理实体MME发送第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系。After the remote UE changes from the off-network state to the network state, the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
本实施例的装置,可以用于执行图6、图7所示方法实施例远端UE侧的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to perform the technical solution on the remote UE side of the method embodiment shown in FIG. 6 and FIG. 7. The implementation principle and technical effects are similar, and details are not described herein again.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。 One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (49)

  1. 一种实现业务连续性的方法,其特征在于,所述方法包括:A method for implementing business continuity, the method comprising:
    中继用户设备UE接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括分组数据网关PGW分配给所述远端UE的第一互联网协议IP地址;The relay user equipment UE receives the first message sent by the remote UE in the off-network state, where the first message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
    所述中继UE根据所述第一消息,向移动性管理实体MME发送第二消息,以使所述MME向所述PGW发送第三消息,所述第二消息及所述第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;The relaying UE sends a second message to the mobility management entity MME according to the first message, so that the MME sends a third message to the PGW, where the second message and the third message are both included. The first IP address, wherein the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the The second IP address is an IP address assigned to the relay UE by the PGW;
    所述中继UE根据所述第一IP地址及所述第二IP地址,确定所述绑定关系,并根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。The relaying UE determines the binding relationship according to the first IP address and the second IP address, and implements the PGW and the remote end by using the relay UE according to the binding relationship. Communication between UEs.
  2. 根据权利要求1所述的方法,其特征在于,所述中继UE根据所述绑定关系,实现所述PGW与所述远端UE之间的通信,包括:The method according to claim 1, wherein the relaying UE performs communication between the PGW and the remote UE according to the binding relationship, including:
    所述中继UE接收所述远端UE通过邻近通信发送的第一数据包;所述第一数据包包括所述第一IP地址;所述中继UE根据所述绑定关系,采用所述第二IP地址对所述第一数据包进行隧道封装,获得第二数据包;所述中继UE将所述第二数据包发送给所述PGW,以使所述PGW对所述第二数据包进行隧道解封装后获得所述第一数据包;和/或,Receiving, by the relay UE, the first data packet that is sent by the remote UE by using the proximity communication; the first data packet includes the first IP address; and the relay UE adopts the The second IP address tunnel encapsulates the first data packet to obtain a second data packet; the relay UE sends the second data packet to the PGW, so that the PGW pairs the second data Obtaining the first data packet after the packet is decapsulated by the tunnel; and/or,
    所述中继UE接收所述PGW发送的第三数据包;所述第三数据包为所述PGW根据所述绑定关系采用所述第二IP地址对发送给所述远端UE的第四数据包进行隧道封装后获得的数据包;所述第四数据包包括所述第一IP地址;所述中继UE对所述第三数据包进行隧道解封装,获得所述第四数据包,并通过邻近通信将所述第四数据包发送给所述远端UE。The relaying UE receives the third data packet sent by the PGW; the third data packet is the fourth that the PGW sends the second IP address pair to the remote UE according to the binding relationship. a data packet obtained after the tunnel is encapsulated by the data packet; the fourth data packet includes the first IP address; and the relay UE performs tunnel decapsulation on the third data packet to obtain the fourth data packet. And transmitting the fourth data packet to the remote UE by using proximity communication.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一消息还包括所述远端UE的标识;The method according to claim 1 or 2, wherein the first message further includes an identifier of the remote UE;
    所述中继UE根据所述第一消息,向MME发送第二消息之前,还包括:The relaying UE, before sending the second message to the MME according to the first message, further includes:
    所述中继UE向所述MME发送第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识; The relaying UE sends a fourth message to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE;
    所述中继UE接收所述MME发送的第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的分组数据网PDN连接。Receiving, by the relay UE, a fifth message sent by the MME, where the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE creates the relay UE and the PGW. Inter-packet data network PDN connection.
  4. 根据权利要求3所述的方法,其特征在于,若所述结果标识指示新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;The method according to claim 3, wherein, if the result identifier indicates that a PDN connection between the relay UE and the PGW is newly established, the second message is a PDN connection request message, where the The third message is a session establishment request message, and the second message further includes a request identifier for indicating that the request type is a relay;
    或者,若所述结果标识指示不新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。Or, if the result identifier indicates that the PDN connection between the relay UE and the PGW is not newly created, the second message is a bearer resource modification request message, and the third message is a bearer resource command message.
  5. 根据权利要求3或4所述的方法,其特征在于,所述中继UE向所述MME发送第四消息,包括:The method according to claim 3 or 4, wherein the relaying the UE sends a fourth message to the MME, including:
    所述中继UE通过邻近服务功能实体ProSe Function向所述MME发送所述第四消息;或者,Transmitting, by the relay UE, the fourth message to the MME by using a proximity service function entity ProSe Function; or
    所述中继UE直接向所述MME发送所述第四消息。The relay UE directly sends the fourth message to the MME.
  6. 根据权利要求5所述的方法,其特征在于,所述中继UE通过ProSe Function向所述MME发送所述第四消息,包括:The method according to claim 5, wherein the relaying the UE sends the fourth message to the MME by using a ProSe Function, including:
    所述中继UE向所述ProSe Function发送第十一消息;The relay UE sends an eleventh message to the ProSe Function;
    所述ProSe Function根据所述第十一消息向归属签约服务器HSS发送第十二消息;The ProSe Function sends a twelfth message to the home subscription server HSS according to the eleventh message;
    所述HSS根据所述第十二消息向所述MME发送所述第四消息;Sending, by the HSS, the fourth message to the MME according to the twelfth message;
    其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。The eleventh message and the twelfth message each include an identifier of the remote UE and an identifier of the relay UE.
  7. 根据权利要求1~6任一项所述的方法,其特征在于,若所述中继UE确定与所述远端UE的邻近通信已结束,则所述中继UE解除所述绑定关系。The method according to any one of claims 1 to 6, wherein if the relay UE determines that the proximity communication with the remote UE has ended, the relay UE releases the binding relationship.
  8. 一种实现业务连续性的方法,其特征在于,所述方法包括:A method for implementing business continuity, the method comprising:
    移动性管理实体MME接收中继用户设备UE发送的第二消息,所述第二消息包括分组数据网关PGW分配给远端UE的第一互联网协议IP地址;The mobility management entity MME receives the second message sent by the relay user equipment UE, where the second message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
    所述MME根据所述第二消息,向所述PGW发送第三消息,所述第三消息包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系, 所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址。The MME sends a third message to the PGW according to the second message, where the third message includes the first IP address, where the third message is used by the PGW to determine a binding relationship. The binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is an IP address allocated by the PGW to the relay UE.
  9. 根据权利要求8所述的方法,其特征在于,所述MME接收中继UE发送的第二消息之前,还包括:The method according to claim 8, wherein before the MME receives the second message sent by the relaying UE, the method further includes:
    所述MME接收所述中继UE发送的第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;Receiving, by the MME, a fourth message sent by the relaying UE, where the fourth message includes an identifier of the remote UE and an identifier of the relaying UE;
    所述MME根据所述第四消息,确定是否新建所述中继UE与所述PGW之间的分组数据网PDN连接;Determining, according to the fourth message, whether to establish a packet data network PDN connection between the relay UE and the PGW according to the fourth message;
    所述MME向所述中继UE发送第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接。Sending, by the MME, a fifth message to the relay UE, where the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE creates a new connection between the relay UE and the PGW. PDN connection.
  10. 根据权利要求9所述的方法,其特征在于,所述MME根据所述第四消息,确定是否新建所述中继UE与所述PGW之间的PDN连接,包括:The method according to claim 9, wherein the MME determines, according to the fourth message, whether to establish a PDN connection between the relay UE and the PGW, including:
    所述MME根据所述远端UE的标识确定所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址;Determining, by the MME, the context of the remote UE according to the identifier of the remote UE, where the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
    所述MME根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;Determining, by the MME, the context of the relay UE according to the identifier of the relay UE, where the context of the relay UE includes an IP address of a relay UE and an IP address of a PGW in each PDN connection of the relay UE ;
    所述MME根据所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。The MME determines whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE.
  11. 根据权利要求10所述的方法,其特征在于,若所述MME与所述远端UE的MME不同,则所述MME根据所述远端UE的标识确定所述远端UE的上下文,包括:The method according to claim 10, wherein if the MME is different from the MME of the remote UE, the MME determines the context of the remote UE according to the identifier of the remote UE, including:
    所述MME向所述远端UE的MME发送第六消息,所述第六消息包括所述远端UE的标识;Sending, by the MME, a sixth message to the MME of the remote UE, where the sixth message includes an identifier of the remote UE;
    所述MME接收所述远端UE的MME发送的第七消息,所述第七消息包括所述远端UE的上下文。The MME receives a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE.
  12. 根据权利要求9~11任一项所述的方法,其特征在于,所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还 包括用于指示请求类型为中继的请求标识;或者,The method according to any one of claims 9 to 11, wherein the second message is a PDN connection request message, the third message is a session establishment request message, and the second message is further Include a request identifier indicating that the request type is a relay; or,
    所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。The second message is a bearer resource modification request message, and the third message is a bearer resource command message.
  13. 根据权利要求12所述的方法,其特征在于,所述PDN连接请求消息还包括所述远端UE的标识;The method according to claim 12, wherein the PDN connection request message further includes an identifier of the remote UE;
    所述MME接收中继UE发送的第二消息之后,还包括:After the MME receives the second message sent by the relaying UE, the MME further includes:
    所述MME根据所述远端UE的标识,确定所述远端UE的上下文,并根据所述远端UE的上下文及所述第一IP地址,建立所述中继UE与所述PGW之间的PDN连接。Determining, by the MME, the context of the remote UE according to the identifier of the remote UE, and establishing, between the relay UE and the PGW, according to the context of the remote UE and the first IP address. PDN connection.
  14. 根据权利要求12所述的方法,其特征在于,若所述MME确定新建所述中继UE与所述PGW之间的PDN连接,则所述方法还包括:The method according to claim 12, wherein if the MME determines to establish a PDN connection between the relay UE and the PGW, the method further includes:
    所述MME在所述中继UE的上下文信息中增加所述第一IP地址与所述PGW的对应关系;The MME adds a correspondence between the first IP address and the PGW in the context information of the relay UE.
    所述MME接收中继UE发送的第二消息之后,还包括:After the MME receives the second message sent by the relaying UE, the MME further includes:
    所述MME根据所述PDN连接请求消息中所述第一IP地址及所述第一IP地址与所述PGW的对应关系,建立所述中继UE与所述PGW之间的PDN连接。The MME establishes a PDN connection between the relay UE and the PGW according to the first IP address in the PDN connection request message and the correspondence between the first IP address and the PGW.
  15. 根据权利要求9~14任一项所述的方法,其特征在于,所述MME接收所述中继UE发送的第四消息,包括:The method according to any one of claims 9 to 14, wherein the MME receives the fourth message sent by the relay UE, including:
    所述MME接收所述中继UE通过邻近服务功能实体ProSe Function发送的所述第四消息;或者,Receiving, by the MME, the fourth message sent by the relay UE by using a proximity service function entity ProSe Function; or
    所述MME接收所述中继UE直接向所述MME发送的所述第四消息。The MME receives the fourth message that the relay UE sends directly to the MME.
  16. 根据权利要求15所述的方法,其特征在于,所述MME接收所述中继UE通过ProSe Function发送的所述第四消息,包括:The method according to claim 15, wherein the MME receives the fourth message sent by the relay UE by using a ProSe Function, including:
    所述MME接收归属签约服务器HSS根据第十二消息发送的所述第四消息,所述第十二消息为所述ProSe Function接收到所述中继UE发送的第十一消息后向所述HSS发送的消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。The MME receives the fourth message sent by the home subscription server HSS according to the twelfth message, and the twelfth message is that the ProSe Function receives the eleventh message sent by the relay UE, and then sends the message to the HSS. And the sent message, wherein the eleventh message and the twelfth message both include an identifier of the remote UE and an identifier of the relay UE.
  17. 根据权利要求8~16任一项所述的方法,其特征在于,所述MME接收中继UE发送的第二消息之后,还包括: The method according to any one of claims 8 to 16, after the MME receives the second message sent by the relaying UE, the method further includes:
    所述MME接收处于在网状态的所述远端UE发送的第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;Receiving, by the MME, an eighth message that is sent by the remote UE in a network state, where the eighth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
    所述MME根据所述第八消息,向所述PGW发送第九消息,所述第九消息包括所述解除标识。And sending, by the MME, a ninth message to the PGW according to the eighth message, where the ninth message includes the release identifier.
  18. 一种实现业务连续性的方法,其特征在于,所述方法包括:A method for implementing business continuity, the method comprising:
    分组数据网关PGW接收移动性管理实体MME发送的第三消息,所述第三消息包括所述PGW分配给远端用户设备UE的第一互联网协议IP地址;The packet data gateway PGW receives the third message sent by the mobility management entity MME, where the third message includes the first Internet Protocol IP address allocated by the PGW to the remote user equipment UE;
    所述PGW根据所述第三消息,确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给中继UE的IP地址;Determining, by the PGW, the binding relationship according to the third message, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is allocated to the PGW Relaying the IP address of the UE;
    所述PGW根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。The PGW implements communication between the PGW and the remote UE by using the relay UE according to the binding relationship.
  19. 根据权利要求18所述的方法,其特征在于,所述第三消息为承载资源命令消息或会话建立请求消息;若所述第三消息为会话建立请求消息,则所述PGW根据所述第三消息,确定绑定关系之前,还包括:The method according to claim 18, wherein the third message is a bearer resource command message or a session establishment request message; if the third message is a session establishment request message, the PGW is according to the third The message, before determining the binding relationship, also includes:
    所述PGW为所述中继UE分配所述第二IP地址;Assigning, by the PGW, the second IP address to the relay UE;
    相应的,所述PGW根据所述第三消息,确定绑定关系,包括:所述PGW根据所述第一IP地址及所述第二IP地址,确定绑定关系。Correspondingly, the PGW determines the binding relationship according to the third message, and the PGW determines the binding relationship according to the first IP address and the second IP address.
  20. 根据权利要求18或19所述的方法,其特征在于,所述PGW根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信,包括:The method according to claim 18 or 19, wherein the PGW implements communication between the PGW and the remote UE by using the relay UE according to the binding relationship, including:
    所述PGW接收所述中继UE发送的第二数据包,所述第二数据包为所述中继UE根据所述第二IP地址对第一数据包进行隧道封装后获得的数据包;所述第一数据包为所述远端UE发送的数据包,且所述第一数据包包括所述第一IP地址;所述PGW对所述第二数据包进行隧道解封装,获得所述第一数据包;和/或,Receiving, by the PGW, the second data packet sent by the relay UE, where the second data packet is a data packet obtained by tunneling the first data packet by the relay UE according to the second IP address; The first data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address, and the PGW performs tunnel decapsulation on the second data packet to obtain the first data packet. a data packet; and/or,
    所述PGW根据所述第二IP地址对待发送给所述远端UE的第四数据包进行隧道封装,获得第三数据包,并将所述第三数据包转发至所述中继UE,以使所述中继UE对所述第三数据包进行隧道解封装后获得所述第四数据包, 并将所述第四数据包通过邻近通信发送给所述远端UE。Decoding, by the PGW, the fourth data packet to be sent to the remote UE according to the second IP address, obtaining a third data packet, and forwarding the third data packet to the relay UE, And causing the relay UE to perform tunnel decapsulation on the third data packet to obtain the fourth data packet, where And transmitting the fourth data packet to the remote UE by using proximity communication.
  21. 根据权利要求18~20任一项所述的方法,其特征在于,所述PGW根据所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信之后,还包括:The method according to any one of claims 18 to 20, wherein after the PGW implements communication between the PGW and the remote UE by using the relay UE according to the binding relationship, Also includes:
    所述PGW接收所述MME发送的第九消息,所述第九消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;The PGW receives the ninth message sent by the MME, where the ninth message includes a de-identification; wherein the de-identification is used to instruct the PGW to cancel the binding relationship;
    所述PGW根据所述第九消息,解除所述绑定关系。The PGW cancels the binding relationship according to the ninth message.
  22. 一种实现业务连续性的方法,其特征在于,所述方法包括:A method for implementing business continuity, the method comprising:
    远端用户设备UE确定所述远端UE由在网状态变为脱网状态;The remote user equipment UE determines that the remote UE changes from the in-network state to the off-network state;
    所述远端UE向中继UE发送第一消息,以使所述中继UE根据所述第一消息确定绑定关系;其中,所述第一消息包括分组数据网关PGW分配给所述远端UE的第一IP地址。The remote UE sends a first message to the relay UE, so that the relay UE determines a binding relationship according to the first message, where the first message includes a packet data gateway PGW assigned to the remote end The first IP address of the UE.
  23. 根据权利要求22所述的方法,其特征在于,所述第一消息还包括所述远端UE的标识。The method according to claim 22, wherein the first message further comprises an identifier of the remote UE.
  24. 根据权利要求22或23所述的方法,其特征在于,所述远端UE向中继UE发送第一消息之后,还包括:The method according to claim 22 or 23, wherein after the remote UE sends the first message to the relay UE, the method further includes:
    所述远端UE由脱网状态变为在网状态后,向移动性管理实体MME发送第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系。After the remote UE changes from the off-network state to the network state, the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
  25. 一种实现业务连续性的装置,其特征在于,所述装置为中继用户设备UE;所述装置包括:An apparatus for implementing service continuity, characterized in that the apparatus is a relay user equipment UE; the apparatus comprises:
    收发模块,用于接收处于脱网状态的远端UE发送的第一消息,所述第一消息包括分组数据网关PGW分配给所述远端UE的第一互联网协议IP地址;a transceiver module, configured to receive a first message sent by a remote UE in an off-network state, where the first message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
    所述收发模块,还用于根据所述第一消息,向移动性管理实体MME发送第二消息,以使所述MME向所述PGW发送第三消息,所述第二消息及所述第三消息均包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址;The transceiver module is further configured to send, according to the first message, a second message to the mobility management entity MME, so that the MME sends a third message, the second message, and the third message to the PGW. The message includes the first IP address, where the third message is used by the PGW to determine a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, The second IP address is an IP address allocated by the PGW to the relay UE;
    处理模块,用于根据所述第二IP地址及所述收发模块接收的所述第一消 息中包括的所述第一IP地址,确定所述绑定关系;a processing module, configured to receive, according to the second IP address, the first cancellation received by the transceiver module Determining the binding relationship by the first IP address included in the information;
    所述收发模块,还用于根据所述处理模块确定的所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。The transceiver module is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module.
  26. 根据权利要求25所述的装置,其特征在于,所述收发模块具体用于:The device according to claim 25, wherein the transceiver module is specifically configured to:
    接收所述远端UE通过邻近通信发送的第一数据包;所述第一数据包包括所述第一IP地址;根据所述绑定关系,采用所述第二IP地址对所述第一数据包进行隧道封装,获得第二数据包;将所述第二数据包发送给所述PGW,以使所述PGW对所述第二数据包进行隧道解封装后获得所述第一数据包;和/或,Receiving, by the remote UE, the first data packet sent by the proximity communication; the first data packet includes the first IP address; and according to the binding relationship, using the second IP address to the first data The packet is tunnel encapsulated to obtain a second data packet, and the second data packet is sent to the PGW, so that the PGW obtains the first data packet after performing tunnel decapsulation on the second data packet; and /or,
    接收所述PGW发送的第三数据包;所述第三数据包为所述PGW根据所述绑定关系采用所述第二IP地址对发送给所述远端UE的第四数据包进行隧道封装后获得的数据包;所述第四数据包包括所述第一IP地址;对所述第三数据包进行隧道解封装,获得所述第四数据包,并通过邻近通信将所述第四数据包发送给所述远端UE。Receiving a third data packet sent by the PGW; the third data packet is a tunnel encapsulation of the fourth data packet sent by the PGW to the remote UE by using the second IP address according to the binding relationship. a data packet obtained afterwards; the fourth data packet includes the first IP address; tunnel decapsulating the third data packet, obtaining the fourth data packet, and the fourth data by proximity communication The packet is sent to the remote UE.
  27. 根据权利要求25或26所述的装置,其特征在于,所述第一消息还包括所述远端UE的标识;The apparatus according to claim 25 or 26, wherein the first message further comprises an identifier of the remote UE;
    所述收发模块还用于:向所述MME发送第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;接收所述MME发送的第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的分组数据网PDN连接。The transceiver module is further configured to: send a fourth message to the MME, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE, and receives a fifth message sent by the MME; The fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE establishes a packet data network PDN connection between the relay UE and the PGW.
  28. 根据权利要求27所述的装置,其特征在于,若所述结果标识指示新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;The device according to claim 27, wherein, if the result identifier indicates that a PDN connection between the relay UE and the PGW is newly established, the second message is a PDN connection request message, where the The third message is a session establishment request message, and the second message further includes a request identifier for indicating that the request type is a relay;
    或者,若所述结果标识指示不新建所述中继UE与所述PGW之间的PDN连接,则所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。Or, if the result identifier indicates that the PDN connection between the relay UE and the PGW is not newly created, the second message is a bearer resource modification request message, and the third message is a bearer resource command message.
  29. 根据权利要求27或28所述的装置,其特征在于,所述收发模块具体用于:The device according to claim 27 or 28, wherein the transceiver module is specifically configured to:
    通过邻近服务功能实体ProSe Function向所述MME发送所述第四消息; 或者,Transmitting the fourth message to the MME by using a proximity service function entity ProSe Function; or,
    直接向所述MME发送所述第四消息。Sending the fourth message directly to the MME.
  30. 根据权利要求29所述的装置,其特征在于,所述收发模块具体用于:The device according to claim 29, wherein the transceiver module is specifically configured to:
    向所述ProSe Function发送第十一消息,以使得所述ProSe Function根据所述第十一消息向归属签约服务器HSS发送第十二消息,触发所述HSS根据所述第十二消息向所述MME发送第四消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。Sending an eleventh message to the ProSe Function, so that the ProSe Function sends a twelfth message to the home subscription server HSS according to the eleventh message, triggering the HSS to send the PDCCH according to the twelfth message. Sending a fourth message, where the eleventh message and the twelfth message each include an identifier of the remote UE and an identifier of the relay UE.
  31. 根据权利要求25~30任一项所述的装置,其特征在于,若所述处理模块确定与所述远端UE的临近通信已结束,则解除所述绑定关系。The apparatus according to any one of claims 25 to 30, wherein the binding relationship is released if the processing module determines that the proximity communication with the remote UE has ended.
  32. 一种实现业务连续性的装置,其特征在于,所述装置为移动性管理实体MME;所述装置包括:An apparatus for implementing service continuity, characterized in that the apparatus is a mobility management entity MME; the apparatus comprises:
    接收模块,用于接收中继用户设备UE发送的第二消息,所述第二消息包括分组数据网关PGW分配给远端UE的第一互联网协议IP地址;a receiving module, configured to receive a second message sent by the relay user equipment UE, where the second message includes a first Internet Protocol IP address allocated by the packet data gateway PGW to the remote UE;
    发送模块,用于根据所述接收模块接收的所述第二消息,向所述PGW发送第三消息,所述第三消息包括所述第一IP地址;其中,所述第三消息用于所述PGW确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给所述中继UE的IP地址。a sending module, configured to send, according to the second message received by the receiving module, a third message to the PGW, where the third message includes the first IP address, where the third message is used by the The PGW determines a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second IP address is an IP address allocated by the PGW to the relay UE. .
  33. 根据权利要求32所述的装置,其特征在于,所述装置还包括:处理模块;The device according to claim 32, wherein the device further comprises: a processing module;
    所述接收模块,还用于接收所述中继UE发送的第四消息,所述第四消息包括所述远端UE的标识及所述中继UE的标识;The receiving module is further configured to receive a fourth message sent by the relay UE, where the fourth message includes an identifier of the remote UE and an identifier of the relay UE;
    所述处理模块,用于根据所述接收模块接收的所述第四消息,确定是否新建所述中继UE与所述PGW之间的分组数据网PDN连接;The processing module is configured to determine, according to the fourth message received by the receiving module, whether to establish a packet data network PDN connection between the relay UE and the PGW;
    所述发送模块,还用于向所述中继UE发送第五消息;其中,所述第五消息包括结果标识,所述结果标识用于指示所述中继UE是否新建所述中继UE与所述PGW之间的PDN连接。The sending module is further configured to send a fifth message to the relay UE, where the fifth message includes a result identifier, where the result identifier is used to indicate whether the relay UE creates the new relay UE and PDN connection between the PGWs.
  34. 根据权利要求33所述的装置,其特征在于,所述处理模块具体用于:The device according to claim 33, wherein the processing module is specifically configured to:
    根据所述远端UE的标识确定所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址; Determine a context of the remote UE according to the identifier of the remote UE, where the context of the remote UE includes an IP address of a remote UE and an IP address of a PGW in each PDN connection of the remote UE;
    根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;Determining, according to the identifier of the relay UE, a context of the relay UE, where the context of the relay UE includes an IP address of a relay UE and an IP address of a PGW in each PDN connection of the relay UE;
    根据所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。Determining whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE.
  35. 根据权利要求33所述的装置,其特征在于,若所述MME与所述远端UE的MME不同,则所述发送模块还用于:向所述远端UE的MME发送第六消息,所述第六消息包括所述远端UE的标识;The device according to claim 33, wherein, if the MME is different from the MME of the remote UE, the sending module is further configured to: send a sixth message to the MME of the remote UE, where The sixth message includes an identifier of the remote UE;
    所述接收模块,还用于接收所述远端UE的MME发送的第七消息,所述第七消息包括所述远端UE的上下文,所述远端UE的上下文包括所述远端UE的各PDN连接中远端UE的IP地址及PGW的IP地址;The receiving module is further configured to receive a seventh message sent by the MME of the remote UE, where the seventh message includes a context of the remote UE, and a context of the remote UE includes the remote UE The IP address of the remote UE and the IP address of the PGW in each PDN connection;
    所述处理模块,具体用于根据所述中继UE的标识确定所述中继UE的上下文,所述中继UE的上下文包括所述中继UE的各PDN连接中的中继UE的IP地址及PGW的IP地址;根据所述接收模块接收的所述远端UE的上下文及所述中继UE的上下文,确定是否新建所述中继UE与所述PGW之间的PDN连接。The processing module is specifically configured to determine a context of the relay UE according to an identifier of the relay UE, where a context of the relay UE includes an IP address of a relay UE in each PDN connection of the relay UE And determining, by the IP address of the PGW, whether to establish a PDN connection between the relay UE and the PGW according to the context of the remote UE and the context of the relay UE received by the receiving module.
  36. 根据权利要求33~35任一项所述的装置,其特征在于,所述第二消息为PDN连接请求消息,所述第三消息为会话建立请求消息,所述第二消息还包括用于指示请求类型为中继的请求标识;或者,The device according to any one of claims 33 to 35, wherein the second message is a PDN connection request message, the third message is a session establishment request message, and the second message further includes The request type is a request ID of the relay; or,
    所述第二消息为承载资源修改请求消息,所述第三消息为承载资源命令消息。The second message is a bearer resource modification request message, and the third message is a bearer resource command message.
  37. 根据权利要求36所述的装置,其特征在于,所述PDN连接请求消息还包括所述远端UE的标识;The apparatus according to claim 36, wherein the PDN connection request message further includes an identifier of the remote UE;
    所述处理模块,还用于根据所述远端UE的标识,确定所述远端UE的上下文,并根据所述远端UE的上下文及所述第一IP地址,建立所述中继UE与所述PGW之间的PDN连接。The processing module is further configured to determine a context of the remote UE according to the identifier of the remote UE, and establish the relay UE according to a context of the remote UE and the first IP address. PDN connection between the PGWs.
  38. 根据权利要求36所述的装置,其特征在于,若所述处理模块确定新建所述中继UE与所述PGW之间的PDN连接,则所述处理模块还用于:The device according to claim 36, wherein the processing module is further configured to: if the processing module determines to establish a PDN connection between the relay UE and the PGW, the processing module is further configured to:
    在所述中继UE的上下文信息中增加所述第一IP地址与所述PGW的对应关系;根据所述PDN连接请求消息中所述第一IP地址及所述第一IP地址 与所述PGW的对应关系,建立所述中继UE与所述PGW之间的PDN连接。Adding a correspondence between the first IP address and the PGW in the context information of the relay UE; according to the first IP address and the first IP address in the PDN connection request message Establishing a PDN connection between the relay UE and the PGW in a corresponding relationship with the PGW.
  39. 根据权利要求33~38任一项所述的装置,其特征在于,所述接收模块具体用于:The device according to any one of claims 33 to 38, wherein the receiving module is specifically configured to:
    接收所述中继UE通过邻近服务功能实体ProSe Function发送的所述第四消息;或者,Receiving, by the relay UE, the fourth message sent by the proximity service function entity ProSe Function; or
    接收所述中继UE直接向所述MME发送的所述第四消息。Receiving the fourth message that the relay UE sends directly to the MME.
  40. 根据权利要求39所述的装置,其特征在于,所述接收模块具体用于:The device according to claim 39, wherein the receiving module is specifically configured to:
    接收归属签约服务器HSS根据第十二消息发送的所述第四消息,所述第十二消息为所述ProSe Function接收到所述中继UE发送的第十一消息后向所述HSS发送的消息;其中,所述第十一消息及所述第十二消息均包括所述远端UE的标识及所述中继UE的标识。Receiving the fourth message sent by the home subscription server HSS according to the twelfth message, where the twelfth message is a message sent by the ProSe Function to the HSS after receiving the eleventh message sent by the relay UE The eleventh message and the twelfth message each include an identifier of the remote UE and an identifier of the relay UE.
  41. 根据权利要求32~40任一项所述的装置,其特征在于,Apparatus according to any one of claims 32 to 40, wherein
    所述接收模块,还用于接收处于在网状态的所述远端UE发送的第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;The receiving module is further configured to receive an eighth message that is sent by the remote UE in a network state, where the eighth message includes a release identifier, where the release identifier is used to instruct the PGW to release the binding Relationship
    所述发送模块,还用于根据所述接收模块接收的所述第八消息,向所述PGW发送第九消息,所述第九消息包括所述解除标识。The sending module is further configured to send a ninth message to the PGW according to the eighth message received by the receiving module, where the ninth message includes the release identifier.
  42. 一种实现业务连续性的装置,其特征在于,所述装置为分组数据网关PGW;所述装置包括:An apparatus for implementing business continuity, characterized in that the apparatus is a packet data gateway PGW; the apparatus comprises:
    收发模块,用于接收移动性管理实体MME发送的第三消息,所述第三消息包括所述PGW分配给远端用户设备UE的第一互联网协议IP地址;a transceiver module, configured to receive a third message sent by the mobility management entity MME, where the third message includes a first Internet Protocol IP address that is allocated by the PGW to the remote user equipment UE;
    处理模块,用于根据所述收发模块接收的所述第三消息,确定绑定关系,所述绑定关系包括所述第一IP地址与第二IP地址之间的对应关系,所述第二IP地址为所述PGW分配给中继UE的IP地址;a processing module, configured to determine, according to the third message received by the transceiver module, a binding relationship, where the binding relationship includes a correspondence between the first IP address and a second IP address, where the second The IP address is an IP address assigned to the relay UE by the PGW;
    所述收发模块,还用于根据所述处理模块确定的所述绑定关系,通过所述中继UE实现所述PGW与所述远端UE之间的通信。The transceiver module is further configured to implement communication between the PGW and the remote UE by using the relay UE according to the binding relationship determined by the processing module.
  43. 根据权利要求42所述的装置,其特征在于,所述第三消息为承载资源命令消息或会话建立请求消息;The device according to claim 42, wherein the third message is a bearer resource command message or a session establishment request message;
    若所述第三消息为会话建立请求消息,则所述处理模块具体用于:If the third message is a session establishment request message, the processing module is specifically configured to:
    为所述中继UE分配所述第二IP地址; Allocating the second IP address to the relay UE;
    根据所述第一IP地址及所述第二IP地址确定绑定关系。Determining a binding relationship according to the first IP address and the second IP address.
  44. 根据权利要求42或43所述的装置,其特征在于,所述收发模块具体用于:The device according to claim 42 or 43, wherein the transceiver module is specifically configured to:
    接收所述中继UE发送的第二数据包,所述第二数据包为所述中继UE根据所述第二IP地址对第一数据包进行隧道封装后获得的数据包;所述第一数据包为所述远端UE发送的数据包,且所述第一数据包包括所述第一IP地址;对所述第二数据包进行隧道解封装,获得所述第一数据包;和/或,Receiving, by the relay UE, a second data packet, where the second data packet is a data packet obtained by tunneling the first data packet by the relay UE according to the second IP address; The data packet is a data packet sent by the remote UE, and the first data packet includes the first IP address, and the second data packet is tunnel decapsulated to obtain the first data packet; and/ or,
    根据所述第二IP地址对待发送给所述远端UE的第四数据包进行隧道封装,获得第三数据包,并将所述第三数据包转发至所述中继UE,以使所述中继UE对所述第三数据包进行隧道解封装后获得所述第四数据包,并将所述第四数据包通过邻近通信发送给所述远端UE。Performing tunnel encapsulation on the fourth data packet to be sent to the remote UE according to the second IP address, obtaining a third data packet, and forwarding the third data packet to the relay UE, so that the The relay UE obtains the fourth data packet after performing tunnel decapsulation on the third data packet, and sends the fourth data packet to the remote UE by using proximity communication.
  45. 根据权利要求42~44任一项所述的装置,其特征在于,A device according to any one of claims 42 to 44, wherein
    所述收发模块,还用于接收所述MME发送的第九消息,所述第九消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系;The transceiver module is further configured to receive a ninth message sent by the MME, where the ninth message includes a release identifier, where the release identifier is used to instruct the PGW to cancel the binding relationship;
    所述处理模块,还用于根据所述收发模块接收的所述第九消息,解除所述绑定关系。The processing module is further configured to cancel the binding relationship according to the ninth message received by the transceiver module.
  46. 一种实现业务连续性的装置,其特征在于,所述装置为远端用户设备UE;所述装置包括:An apparatus for implementing service continuity, wherein the apparatus is a remote user equipment UE; the apparatus includes:
    处理模块,用于确定所述远端UE由在网状态变为脱网状态;a processing module, configured to determine that the remote UE changes from a network state to a disconnection state;
    发送模块,用于在所述处理模块确定所述远端UE变为脱网状态时,向中继UE发送第一消息,以使所述中继UE根据所述第一消息确定绑定关系;其中,所述第一消息包括分组数据网关PGW分配给所述远端UE的第一IP地址。a sending module, configured to send, by the processing module, the first message to the relay UE, when the processing module determines that the remote UE becomes an off-network state, so that the relay UE determines a binding relationship according to the first message; The first message includes a first IP address allocated by the packet data gateway PGW to the remote UE.
  47. 根据权利要求46所述的装置,其特征在于,所述第一消息还包括所述远端UE的标识。The apparatus according to claim 46, wherein the first message further comprises an identifier of the remote UE.
  48. 根据权利要求46或47所述的装置,其特征在于,所述发送模块还用于:The device according to claim 46 or 47, wherein the sending module is further configured to:
    所述远端UE由脱网状态变为在网状态后,向移动性管理实体MME发送第八消息,所述第八消息包括解除标识;其中,所述解除标识用于指示所述PGW解除所述绑定关系。 After the remote UE changes from the off-network state to the network state, the eighth message is sent to the mobility management entity MME, where the eighth message includes a release identifier, where the release identifier is used to indicate that the PGW is removed. Describe the binding relationship.
  49. 一种实现业务连续性的系统,其特征在于,所述系统包括:权利要求25~31任一项所述的中继用户设备UE、权利要求32~41任一项所述的移动性管理实体MME、权利要求42~45任一项所述的分组数据网关PGW及权利要求46~48任一项所述的远端UE。 A system for implementing business continuity, characterized in that the system comprises: the relay user equipment UE according to any one of claims 25 to 31, and the mobility management entity according to any one of claims 32 to 41. The MME, the packet data gateway PGW according to any one of claims 42 to 45, and the remote UE according to any one of claims 46 to 48.
PCT/CN2015/074110 2015-03-12 2015-03-12 Service continuity achieving method, device and system WO2016141591A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580042599.8A CN106797632B (en) 2015-03-12 2015-03-12 Realize the method, apparatus and system of business continuance
PCT/CN2015/074110 WO2016141591A1 (en) 2015-03-12 2015-03-12 Service continuity achieving method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/074110 WO2016141591A1 (en) 2015-03-12 2015-03-12 Service continuity achieving method, device and system

Publications (1)

Publication Number Publication Date
WO2016141591A1 true WO2016141591A1 (en) 2016-09-15

Family

ID=56878755

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074110 WO2016141591A1 (en) 2015-03-12 2015-03-12 Service continuity achieving method, device and system

Country Status (2)

Country Link
CN (1) CN106797632B (en)
WO (1) WO2016141591A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018176264A1 (en) * 2017-03-29 2018-10-04 Motorola Mobility Llc Transmitting a message in response to receiving a message
CN112492631A (en) * 2019-09-11 2021-03-12 维沃移动通信有限公司 Switching method and device
CN112738817A (en) * 2019-10-28 2021-04-30 西安华为技术有限公司 Method and network device for keeping alive service connection of mobile device
CN113079547A (en) * 2020-01-03 2021-07-06 大唐移动通信设备有限公司 Method, equipment and device for providing relay service and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140119544A1 (en) * 2012-11-01 2014-05-01 Lg Electronics Inc. Method and apparatus of providing integrity protection for proximity-based service discovery with extended discovery range
CN103974429A (en) * 2013-02-05 2014-08-06 电信科学技术研究院 Method and device for establishing paths of adjacent communication between terminals
CN104053191A (en) * 2013-03-12 2014-09-17 电信科学技术研究院 Method for establishing proximity communication, equipment and system
CN104053192A (en) * 2013-03-12 2014-09-17 电信科学技术研究院 Method for establishing proximity communication, device and system
CN104105086A (en) * 2013-04-11 2014-10-15 中兴通讯股份有限公司 Selection method and device of Prose Server, and user registration method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998549B (en) * 2009-08-28 2014-09-03 上海中兴软件有限责任公司 Method and system for configuring data carrying channel for user data by relay access system
US9538450B2 (en) * 2012-08-03 2017-01-03 Futurewei Technologies, Inc. System and method for mobile relay packet gateway relocation for path optimization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140119544A1 (en) * 2012-11-01 2014-05-01 Lg Electronics Inc. Method and apparatus of providing integrity protection for proximity-based service discovery with extended discovery range
CN103974429A (en) * 2013-02-05 2014-08-06 电信科学技术研究院 Method and device for establishing paths of adjacent communication between terminals
CN104053191A (en) * 2013-03-12 2014-09-17 电信科学技术研究院 Method for establishing proximity communication, equipment and system
CN104053192A (en) * 2013-03-12 2014-09-17 电信科学技术研究院 Method for establishing proximity communication, device and system
CN104105086A (en) * 2013-04-11 2014-10-15 中兴通讯股份有限公司 Selection method and device of Prose Server, and user registration method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018176264A1 (en) * 2017-03-29 2018-10-04 Motorola Mobility Llc Transmitting a message in response to receiving a message
US11146346B2 (en) 2017-03-29 2021-10-12 Motorola Mobility Llc Transmitting a message in response to receiving a message
CN112492631A (en) * 2019-09-11 2021-03-12 维沃移动通信有限公司 Switching method and device
CN112492631B (en) * 2019-09-11 2023-10-31 维沃移动通信有限公司 Switching method and device
CN112738817A (en) * 2019-10-28 2021-04-30 西安华为技术有限公司 Method and network device for keeping alive service connection of mobile device
CN112738817B (en) * 2019-10-28 2022-08-19 西安华为技术有限公司 Method and network device for keeping alive service connection of mobile device
CN113079547A (en) * 2020-01-03 2021-07-06 大唐移动通信设备有限公司 Method, equipment and device for providing relay service and readable storage medium
CN113079547B (en) * 2020-01-03 2022-05-03 大唐移动通信设备有限公司 Method, equipment and device for providing relay service and readable storage medium

Also Published As

Publication number Publication date
CN106797632A (en) 2017-05-31
CN106797632B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
US10237089B2 (en) Packet tunneling method, switching device, and control device
US9756497B2 (en) Path switching procedure for device-to-device communication
JP6301358B2 (en) Processing of multipath transmission control protocol signaling in communication networks
KR102332880B1 (en) System and method of ip session continuity in a device to device communication system
US10098042B2 (en) MME, local server, MME-local server interface, and data transmission method for optimized data path in LTE network
US10505621B2 (en) Relay radio terminal, core network apparatus, and method therefor
WO2016150140A1 (en) Processing method and system for control packet in sdn-based gateway
WO2011018002A1 (en) Relay method, relay apparatus and communication system of transport bearer
JP2020537457A (en) Data routing in communication systems
JP2019521588A (en) Communication control method and related network element
WO2016141591A1 (en) Service continuity achieving method, device and system
WO2016082184A1 (en) Method and device for transmitting control signalling
RU2669582C2 (en) Method and device for changing the service path
WO2013053133A1 (en) Service data transmission processing method, device and communication system
WO2015058339A1 (en) Routing method between base stations, serving gateway and base station
KR20140124116A (en) Apparatus and method for optimizing data-path in mobile communication network
WO2016169015A1 (en) Method and apparatus for switching network communication and direct communication
WO2018000654A1 (en) Local ip access service implementation method and apparatus system, and home evolved base station
US10250490B2 (en) Method and network node for routing backhaul packets
KR20120002424A (en) Communication node and communication method
TW201935992A (en) A system, a method and a device for mobile communication
JP5225300B2 (en) Route control method for mobile IP via private network, mobile router, and program
WO2016197832A1 (en) Packet processing method, device and system
WO2016044982A1 (en) Implementation device, method and system for mobile network flattening
WO2016179826A1 (en) Message processing method, apparatus and device based on base station networking environment

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: 15884274

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: 15884274

Country of ref document: EP

Kind code of ref document: A1