WO2016070339A1 - 一种移动性管理的方法、装置及系统 - Google Patents

一种移动性管理的方法、装置及系统 Download PDF

Info

Publication number
WO2016070339A1
WO2016070339A1 PCT/CN2014/090281 CN2014090281W WO2016070339A1 WO 2016070339 A1 WO2016070339 A1 WO 2016070339A1 CN 2014090281 W CN2014090281 W CN 2014090281W WO 2016070339 A1 WO2016070339 A1 WO 2016070339A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
user equipment
address
base station
substream
Prior art date
Application number
PCT/CN2014/090281
Other languages
English (en)
French (fr)
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 CN201480033994.5A priority Critical patent/CN105874765B/zh
Priority to PCT/CN2014/090281 priority patent/WO2016070339A1/zh
Publication of WO2016070339A1 publication Critical patent/WO2016070339A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device, and system for mobility management.
  • MPTCP Multi-Path Transmission Control Protocol
  • TCP Transmission Control Protocol
  • IP Internet Protocol
  • the MPTCP layer is responsible for selecting sub-package packets for service data flows, routing and Scheduling. Each sub-stream associates and manages multiple TCP sub-streams and transmits data concurrently to improve bandwidth utilization and transmission performance.
  • the socket and application layer do not care about the specific TCP sub-flows that transmit service data streams.
  • a single access technology such as a cellular network
  • IP address changes, the TCP connection between the two parties is interrupted, and the service continuity of the user equipment cannot be guaranteed.
  • Embodiments of the present invention provide a method, apparatus, and system for mobility management that can ensure service continuity of user equipment.
  • a mobility management system includes: a user equipment, a first base station, a second base station, a first gateway, a second gateway, a core network gateway, and a communication peer, and the user equipment passes the first subflow and The communication peer is in communication, the first substream is a substream established by the user equipment by using a first internetworking protocol IP address and the communication peer, and the first IP address is the first The IP address assigned by the gateway to the user equipment, where the first gateway is connected to the first base station,
  • the user equipment when the user equipment is switched by the first base station to the second base station, uses a third substream to communicate with the communication peer end by using the first base station, and cancels the a first substream, where the third substream is a substream established by the user equipment with a third IP address and the communication peer, and the third IP address is the core network gateway is the user equipment An IP address to which the core network gateway is connected to the first base station and the second base station;
  • the user equipment is further configured to: when the first substream is revoked, use the third substream to communicate with the communication peer end by using the second base station;
  • the user equipment is further configured to acquire a second IP address when the second gateway is not the same gateway as the first gateway, and establish a second sub-flow with the communication peer, where the second IP address is The second gateway is an IP address allocated by the user equipment, and the second substream is a substream established by the user equipment by using the second IP address and the communication peer, and the second gateway is The second base station is connected.
  • the user equipment Before the user equipment communicates with the communication peer through the first substream, when the data traffic between the user equipment and the communication peer exceeds a preset threshold, the user equipment is further And acquiring a first IP address, and establishing a first substream with the communication peer;
  • the user equipment Before the user equipment is switched by the first base station to the second base station, or before the user equipment uses the third substream to communicate with the communication peer through the first base station, The user equipment is further configured to acquire a third IP address, and establish a third substream with the communication peer.
  • the user equipment is further configured to: after the first substream is revoked, release the first IP address, and send an indication message for releasing the first IP address to the first gateway;
  • the first gateway is configured to release the first IP address after receiving the indication message that is released by the user equipment and releasing the first IP address.
  • the user equipment sends a request message for obtaining an IP address to the second gateway, and receives the second IP address sent by the second gateway. .
  • the mobility management system further includes a mobility management entity, the mobility management entity is configured to manage the second base station and the second gateway, where the second gateway is not the same as the first gateway
  • the gateway obtains the second IP address, including:
  • the user equipment When the user equipment is handed over by the first base station to the second base station, the user equipment sends the first IP address or the first gateway identifier to the mobility management entity, the first gateway The identifier is used to indicate the first gateway;
  • the mobility management entity Determining, by the mobility management entity, whether the first IP address is an IP address allocated by the second gateway for the user equipment, or whether the first gateway identifier is the same as a second gateway identifier, the second gateway
  • the identifier is used to indicate the second gateway
  • the mobility management entity sends the The second gateway requests the user equipment to allocate an IP address. Addressing, and transmitting the second IP address received from the second gateway to the user equipment.
  • the user equipment When the user equipment is switched by the first base station to the second base station, the user equipment sends a second gateway identifier to the first base station, and the second gateway identifier is used to indicate the second Gateway
  • the first base station sends a judgment indication message to the user equipment, where the first gateway identifier is used to indicate the first gateway, and the judgment indication message is And indicating that the second gateway is not the same gateway as the first gateway;
  • the user equipment After receiving the determination indication message, the user equipment sends a request message for obtaining an IP address to the second gateway, and receives the second IP address sent by the second gateway.
  • the user equipment After the second substream is established, when the data traffic between the user equipment and the communication peer is less than a preset threshold, the user equipment is further configured to cancel the second substream.
  • the mobility management system further includes a mobility management entity, the mobility management entity configured to manage the second base station and the second gateway;
  • the mobility management entity is configured to instruct the user equipment to revoke the Two substreams;
  • the user equipment is further configured to revoke the second substream.
  • the user equipment is further configured to release the second after the second substream is revoked An IP address, and instructing the second gateway to release the second IP address;
  • the second gateway is configured to release the second IP address.
  • the second base station After the second substream is established, when the data traffic between the user equipment and the communication peer is less than a preset threshold, the second base station is configured to instruct the user equipment to revoke the second a substream, and instructing the second gateway to release the second IP address;
  • the user equipment is further configured to revoke the second substream and release the second IP address
  • the second gateway is configured to release the second IP address.
  • the user equipment is further configured to enter an idle state after the user equipment releases the second IP address;
  • the core network gateway is configured to cache downlink data of the user equipment after the user equipment enters an idle state, and send a downlink data notification of the user equipment to the mobility management entity;
  • the mobility management entity is further configured to receive a downlink data notification of the user equipment sent by the core network gateway, and page the user equipment;
  • the user equipment is further configured to respond to paging of the mobility management entity.
  • the mobility management entity is further configured to: after the user equipment responds to the paging, instruct the core network gateway to send downlink data to the user equipment;
  • the core network gateway is further configured to send downlink data to the user equipment.
  • the mobility management system further includes: a mobility management entity, an online charging system OCS, and a policy and charging rule function PCRF.
  • the mobility management entity is configured to acquire the available quota of the user equipment from the line charging system, and send the available quota of the user equipment to the first gateway;
  • the mobility management entity is further configured to: obtain the charging rule of the user equipment from the policy and the charging rule function, and send the charging rule of the user equipment to the first gateway;
  • the first gateway is further configured to: when the user equipment communicates with the communication peer end by using the first sub-flow, deducting the available quota of the user equipment according to the charging rule of the user equipment, And transmitting the available credit balance of the user equipment to the online charging system.
  • the mobility management system further includes: a mobility management entity and an offline charging system OFCS,
  • the first gateway is further configured to send, to the mobility management entity, a CDR of the user equipment at the first gateway;
  • the mobility management entity is configured to send the CDR of the user equipment at the first gateway to an offline charging system.
  • a mobility management system includes: a user equipment, a first base station, a second base station, a first gateway, a second gateway, a core network gateway, and a communication peer, and the user equipment passes the first subflow and Communicating with the communication peer, the first substream is a substream established by the first base station using the first internetworking protocol IP address for the user equipment and the communication peer, the first IP The address is an IP address assigned by the first gateway to the user equipment, and the first gateway is connected to the first base station,
  • the user equipment is configured to use the third substream to communicate with the communication peer by using the first base station when the user equipment is switched by the first base station to the second base station, where
  • the third sub-stream is a sub-flow established by the first base station with the third IP address and the communication peer, and the third IP address is an IP address allocated by the core network gateway to the user equipment, the core a network gateway is connected to the first base station and the second base station;
  • the first base station is further configured to cancel the first substream
  • the user equipment is further configured to: when the first substream is revoked, use the third substream to communicate with the communication peer end by using the second base station;
  • the second base station is configured to acquire a second IP address when the second gateway is not the same gateway as the first gateway, and establish a second substream for the user equipment and the communication peer,
  • the second IP address is an IP address assigned by the second gateway to the user equipment, and the second sub-flow is used by the second base station to use the second IP address as the user equipment and the communication peer
  • the established substream, the second gateway is connected to the second base station.
  • the first base station before the user equipment communicates with the communication peer end by using the first substream, between the user equipment and the communication peer end
  • the first base station is further configured to acquire a first IP address, and establish a first substream for the user equipment and the communication peer end;
  • the first base station is further configured to acquire a third IP address, and establish a third substream for the user equipment and the communication peer.
  • the first base station is further configured to: after the first substream is revoked, release the first IP address, and send an indication message for releasing the first IP address to the first gateway;
  • the first gateway is configured to release the first IP address after receiving the indication message that is released by the first base station and releasing the first IP address.
  • the first base station is further configured to use the second The base station sends a context of the first sub-flow proxy Proxy, and the context of the first sub-flow proxy includes at least one of the following information:
  • a substream proxy layer sequence number between the first base station and the communication peer end a token Token
  • a sequence number of the first substream between the first base station and the communication peer end The address of the first substream identifies an Address ID
  • the second base station is further configured to cancel the second substream.
  • the second base station is further configured to: after the second substream is revoked, release the second IP address, and instruct the second gateway to release the second IP address;
  • the second gateway is configured to release the second IP address.
  • the second base station After the second substream is established, when the data traffic between the user equipment and the communication peer is less than a preset threshold, the second base station is configured to revoke the second subflow, and indicate Said second gateway releases said second IP address;
  • the second base station is further configured to release the second IP address
  • the second gateway is configured to release the second IP address.
  • a user equipment includes: a multipath control unit and a receiving unit, wherein the user equipment communicates with a communication peer by using a first substream, where the first substream uses the first internet for the user equipment An interconnection protocol IP address and a sub-flow established by the communication peer, the first IP address is an IP address allocated by the first gateway to the user equipment, and the first gateway is connected to the first base station,
  • the multipath control unit is configured to use the third substream to communicate with the communication peer by using the first base station when the user equipment is switched by the first base station to the second base station, and Deactivating a first substream, where the third substream is a substream established by the user equipment with a third IP address and the communication peer, and the third IP address is that the core network gateway is the user equipment An IP address to which the core network gateway is connected to the first base station and the second base station, where the first substream is the user equipment Using the first IP address and the sub-flow established by the communication peer, the first IP address is an IP address allocated by the first gateway to the user equipment, and the first gateway is connected to the first base station ;
  • the multi-path control unit is further configured to: when the first sub-flow is revoked, use the third sub-flow to communicate with the communication peer end by using the second base station;
  • the receiving unit is configured to acquire a second IP address when the second gateway is not the same gateway as the first gateway, where the second IP address is an IP address allocated by the second gateway to the user equipment
  • the second gateway is connected to the second base station;
  • the multi-path control unit is further configured to establish a second sub-flow with the communication peer, where the second sub-flow is a sub-flow established by the user equipment by using the second IP address and the communication peer .
  • the receiving unit Before the user equipment communicates with the communication peer through the first substream, when the data traffic between the user equipment and the communication peer exceeds a preset threshold, the receiving unit further Used to obtain the first IP address;
  • the multipath control unit is further configured to establish a first substream with the communication peer end;
  • the receiving unit is further configured to obtain a third IP address
  • the multipath control unit is further configured to establish a third substream with the communication peer.
  • the multi-path control unit is further configured to: after the first sub-flow is revoked, release the first IP address, and generate an indication message for releasing the first IP address;
  • the user equipment further includes a sending unit, configured to send, to the first gateway, an indication message for releasing the first IP address, so that the first gateway releases the first IP address.
  • the receiving unit is further configured to receive the first gateway identifier sent by the first base station, where the first gateway identifier is used to indicate the first gateway;
  • the receiving unit is further configured to receive a second gateway identifier sent by the second base station, where the second gateway identifier is used to indicate the second gateway;
  • the multi-path control unit is further configured to determine whether the second gateway identifier is the same as the first gateway identifier, and if the second gateway identifier is different from the first gateway identifier, generate a request for obtaining an IP address.
  • the user equipment further includes a sending unit, configured to send the request message for obtaining an IP address to the second gateway;
  • the receiving unit is further configured to receive the second IP address sent by the second gateway.
  • the user equipment further includes a sending unit,
  • the sending unit is configured to send the first IP address or the first gateway identifier to the mobility management entity when the user equipment is switched by the first base station to the second base station, to facilitate the Determining, by the mobility management entity, whether the second gateway and the first gateway are the same gateway according to the first IP address or the first gateway identifier, and when the second gateway is not the same gateway as the first gateway And the second gateway sends an IP address to the user equipment, and the second IP address that is received by the second gateway is sent to the user equipment, where the first gateway identifier is used to indicate the a gateway, the mobility management entity is configured to manage the second base station and the second gateway;
  • the receiving unit is further configured to receive the second IP address sent by the mobility management entity.
  • the user equipment further includes a sending unit, configured to send, when the user equipment is switched by the first base station to the second base station, a second gateway identifier to the first base station, to facilitate the first Determining, by the base station, whether the second gateway is the same gateway as the first gateway, and the second gateway identifier is used to indicate the second gateway;
  • the receiving unit is further configured to receive a judgment indication message sent by the first base station, where the judgment indication message is used to indicate that the second gateway is not the same gateway as the first gateway;
  • the multipath control unit is further configured to generate a request message for obtaining an IP address
  • the sending unit is further configured to send the request message for obtaining an IP address to the second gateway;
  • the receiving unit is further configured to receive the second IP address sent by the second gateway.
  • the multipath control unit is further configured to determine whether data traffic between the user equipment and the communication peer is less than a preset threshold
  • the multipath control unit is further configured to revoke the second substream and release the second IP address, when the data traffic between the user equipment and the communication peer is less than a preset threshold.
  • the receiving unit is further configured to receive, by the mobility management entity or the second base station, an indication message for revoking the second substream, where the mobility management entity is configured to manage the second base station and the Second gateway;
  • the multi-path control unit is further configured to: after the receiving unit receives the indication message of the second sub-flow sent by the mobility management entity or the second base station, cancel the second sub-flow And release the second IP address.
  • the multipath control unit is further configured to generate an indication message for releasing the second IP address
  • the user equipment further includes a sending unit, configured to send the indication message for releasing the second IP address to the second gateway.
  • the user equipment further includes a state control unit, configured to control the user equipment to enter an idle state after the sending unit sends the indication message for releasing the second IP address to the second gateway;
  • the receiving unit is further configured to receive a paging of the mobility management entity
  • the multipath control unit is further configured to generate a paging response message after the user equipment enters an idle state
  • the user equipment further includes a sending unit, configured to send the paging response message to the mobility management entity;
  • the receiving unit is further configured to: after the user equipment sends the paging response message to the mobility management entity, receive downlink data of the user equipment from the core network gateway.
  • a first base station including a sub-flow proxy unit and a transceiver unit;
  • the transceiver unit is configured to receive and send data of the user equipment by using the first substream, so that the user equipment communicates with the communication peer end by using the first substream, where the first substream is the a base station uses a first Internet Protocol IP address to establish a substream for the user equipment and the communication peer, and the first IP address is an IP address assigned by the first gateway to the user equipment, where the a gateway is connected to the first base station;
  • the transceiver unit is further configured to: when the user equipment is switched by the first base station to the second base station, receive and send data of the user equipment by using the third substream, so that the user equipment passes the third substream.
  • Communicating with the communication peer wherein the third substream is a substream established by the user equipment with a third IP address and the communication peer, and the third IP address is the core network gateway
  • the core network gateway is connected to the first base station and the second base station;
  • the substream proxy unit is configured to revoke the first substream.
  • the transceiver unit is configured to receive a standard data packet sent by the user equipment, and is further configured to receive the first sub-stream data packet sent by the first gateway;
  • the sub-flow proxy unit is specifically configured to convert the standard data packet received by the transceiver unit from the user equipment into the first sub-stream data packet, and is further configured to: use the transceiver unit from the Converting, by the first gateway, the first substream data packet into the standard data packet;
  • the transceiver unit is further configured to send the first substream data packet that is converted by the substream proxy unit to the communication peer end by using the first gateway, and is further configured to: The standard data packet obtained by the sub-flow proxy unit conversion is sent to the user equipment.
  • the transceiver unit is further configured to acquire the first IP address
  • the sub-flow proxy unit is further configured to establish the first sub-flow with the communication peer by using the first IP address, so that the user equipment communicates with the communication peer by using the first sub-flow ;
  • the transceiver unit is further configured to acquire the third IP address
  • the sub-flow proxy unit is further configured to establish the third sub-flow with the communication peer by using the third IP address, so that the user equipment passes the third sub-flow and the communication peer Communicate.
  • the sub-flow proxy unit is further configured to: after the first sub-flow is revoked, release the first IP address, and generate an indication message for releasing the first IP address;
  • the transmitter is further configured to send, to the first gateway, an indication message generated by the sub-flow proxy unit to release the first IP address.
  • the transceiver unit is further configured to: when the user equipment is switched by the first base station to the second base station, receive a second gateway identifier sent by the user equipment, where the second gateway identifier is used to indicate the second gateway
  • the second base station is connected to the second gateway;
  • the sub-flow proxy unit is further configured to: when the second gateway identifier is different from the first gateway identifier, generate a judgment indication message, where the judgment indication message is used to indicate that the second gateway and the first gateway are not Same gateway;
  • the transceiver unit is further configured to send the judgment indication message to the user equipment, so that the user equipment acquires a second IP address, where the second IP address is allocated by the second gateway to the user equipment. IP address.
  • the transceiver unit is further configured to send a context of the first sub-flow proxy Proxy to the second base station, where the context of the first sub-flow proxy includes at least At least one of the following information:
  • a substream proxy layer sequence number between the first base station and the communication peer end a token Token, a sequence number of the first substream between the first base station and the communication peer end, An address identifier of the first substream, an address ID, a mapping relationship between a substream proxy layer sequence number and a transmission control protocol TCP layer sequence number between the first base station and the communication peer end, where the A TCP sequence number between a substream proxy and the user equipment.
  • a fifth aspect a mobility management method
  • a user equipment communicates with a communication peer by using a first substream, where the first substream uses the first internetworking protocol IP address and the communication pair for the user equipment a first sub-network, the first IP address is an IP address assigned by the first gateway to the user equipment, and the first gateway is connected to the first base station;
  • the user equipment When the user equipment is switched by the first base station to the second base station, the user equipment communicates with the communication peer through the first base station by using the third substream, and cancels the first substream, where the The third sub-stream is a sub-flow established by the user equipment with the third IP address and the communication peer, and the third IP address is an IP address allocated by the core network gateway to the user equipment, the core network a gateway is connected to the first base station and the second base station;
  • the user equipment uses the third substream to communicate with the communication peer through the second base station;
  • the user equipment acquires a second IP address, and establishes a second substream with the communication peer, where the second IP address is the
  • the second sub-flow is an IP address allocated by the gateway to the user equipment, and the second sub-flow is a sub-flow established by the user equipment by using the second IP address and the communication peer, the second gateway and the second Two base stations are connected.
  • the user equipment communicates with the communication peer end by using the first substream
  • the method further includes: the user equipment acquiring the first IP address, and establishing the first with the communication peer, when the data traffic between the user equipment and the communication peer exceeds a preset threshold.
  • the method further includes: the user equipment acquiring a third IP address, and establishing a third substream with the communication peer.
  • the method further includes:
  • the user equipment releases the first IP address, and sends an indication message for releasing the first IP address to the first gateway;
  • the first gateway After receiving the indication message sent by the user equipment to release the first IP address, the first gateway releases the first IP address.
  • the user equipment sends a request message for obtaining an IP address to the second gateway, and receives the second IP address sent by the second gateway. .
  • the user equipment When the user equipment is handed over by the first base station to the second base station, the user equipment sends the first IP address or the first gateway identifier to the mobility management
  • the first gateway identifier is used to indicate the first gateway, and the mobility management entity is configured to manage the second base station and the second gateway;
  • the mobility management entity Determining, by the mobility management entity, whether the first IP address is an IP address allocated by the second gateway for the user equipment, or whether the first gateway identifier is the same as a second gateway identifier, the second gateway
  • the identifier is used to indicate the second gateway
  • the mobility management entity sends the The second gateway requests the user equipment to allocate an IP address, and sends the second IP address received from the second gateway to the user equipment.
  • the user equipment When the user equipment is switched by the first base station to the second base station, the user equipment sends a second gateway identifier to the first base station, and the second gateway identifier is used to indicate the second Gateway
  • the first base station sends a judgment indication message to the user equipment, where the first gateway identifier is used to indicate the first gateway, and the judgment indication message is And indicating that the second gateway is not the same gateway as the first gateway;
  • the user equipment After receiving the determination indication message, the user equipment sends a request message for obtaining an IP address to the second gateway, and receives the second IP address sent by the second gateway.
  • the method further includes:
  • the user equipment revokes the second substream when the data traffic transmitted by the second substream is less than a preset threshold.
  • the user equipment acquires a second IP address, and establishes a second child with the communication peer After the stream, the method further includes:
  • the mobility management entity When the data traffic transmitted by the second substream is less than a preset threshold, the mobility management entity instructs the user equipment to revoke the second substream, and the mobility management entity is configured to manage the second base station and The second gateway;
  • the user equipment revokes the second substream.
  • the method further includes:
  • the user equipment releases the second IP address and instructs the second gateway to release the second IP address.
  • the method further includes:
  • the second base station When the data traffic transmitted by the second substream is less than a preset threshold, the second base station instructs the user equipment to revoke the second substream, and instructs the second gateway to release the second IP address.
  • the mobility management entity is configured to manage the second base station and the second gateway;
  • the user equipment revokes the second substream and releases the second IP address
  • the second gateway releases the second IP address.
  • the method further includes :
  • the user equipment enters an idle state
  • the core network gateway buffers downlink data of the user equipment after the user equipment enters an idle state, and sends a downlink data notification of the user equipment to the mobility management entity;
  • the user equipment is responsive to a page of the mobility management entity.
  • the method further includes:
  • the mobility management entity instructs the core network gateway to send downlink data to the user equipment after the user equipment responds to the paging.
  • the method further includes:
  • the mobility management entity acquires the available quota of the user equipment from the online charging system OCS, and sends the available quota of the user equipment to the first gateway;
  • the mobility management entity acquires the charging rule of the user equipment from the policy and charging rule function PCRF, and sends the charging rule of the user equipment to the first gateway;
  • the first gateway deducts the available quota of the user equipment according to the charging rule of the user equipment, and performs online counting
  • the fee system sends the available credit balance of the user equipment.
  • the method further includes:
  • the mobility management entity sends the CDR of the user equipment at the first gateway to the offline charging system OFCS.
  • a mobility management method includes:
  • the user equipment communicates with the communication peer end by using the first substream, where the first substream is a substream established by the first base station by using the first internetworking protocol IP address for the user equipment and the communication peer end.
  • the first IP address is an IP address assigned by the first gateway to the user equipment, and the first gateway is connected to the first base station;
  • the user equipment When the user equipment is handed over by the first base station to the second base station, the user equipment communicates with the communication peer through the first base station by using a third substream, the third substream Using the third IP address as the user equipment for the first base station a sub-flow established with the communication peer, the third IP address is an IP address allocated by the core network gateway to the user equipment, the core network gateway and the first base station and the second base station connection;
  • the first base station revokes the first substream
  • the user equipment uses the third substream to communicate with the communication peer through the second base station;
  • the second base station acquires a second IP address, and establishes a second substream for the user equipment and the communication peer, the second The IP address is an IP address assigned by the second gateway to the user equipment, and the second sub-flow is used by the second base station to establish the user equipment and the communication peer by using the second IP address. a substream, the second gateway being connected to the second base station.
  • the method further includes: when the user equipment communicates with the communication peer end by using the first sub-flow, when the data traffic between the user equipment and the communication peer exceeds a preset threshold, the method further includes: The first base station acquires a first IP address, and establishes a first substream for the user equipment and the communication peer end;
  • the method further includes: the first base station acquiring a third IP address, and establishing a third substream for the user equipment and the communication peer.
  • the method further includes:
  • the first base station releases the first IP address, and sends an indication message for releasing the first IP address to the first gateway;
  • the first gateway After receiving the indication message of releasing the first IP address sent by the first base station, the first gateway releases the first IP address.
  • the first base station is further configured to send a context of the first sub-flow proxy Proxy to the second base station, where the context of the first sub-flow proxy includes at least At least one of the following information:
  • a substream proxy layer sequence number between the first base station and the communication peer end a token Token, a sequence number of the first substream between the first base station and the communication peer end, An address identifier of the first substream, an address ID, a mapping relationship between a substream proxy layer sequence number and a transmission control protocol TCP layer sequence number between the first base station and the communication peer end, where the A TCP sequence number between a substream proxy and the user equipment.
  • the method further includes:
  • the second base station revokes the second substream.
  • the method further includes:
  • the second base station releases the second IP address and instructs the second gateway to release the second IP address.
  • the method further includes:
  • the second base station When the data traffic between the user equipment and the communication peer is less than a preset threshold, the second base station revokes the second substream, and instructs the second gateway to release the second IP address;
  • the second base station releases the second IP address
  • the second gateway releases the second IP address.
  • a mobility management method is applied to a user equipment, where the user equipment communicates with a communication peer by using a first substream, where the first substream is the user
  • the device uses the first Internet Protocol IP address to establish a sub-flow with the communication peer, the first IP address is an IP address assigned by the first gateway to the user equipment, and the first gateway and the first a base station connection;
  • the user equipment When the user equipment is switched by the first base station to the second base station, the user equipment communicates with the communication peer through the first base station by using the third substream, and cancels the first substream, where the The third sub-stream is a sub-flow established by the user equipment with the third IP address and the communication peer, and the third IP address is an IP address allocated by the core network gateway to the user equipment, the core network a gateway is connected to the first base station and the second base station;
  • the user equipment When the user equipment is handed over by the first base station to the second base station, the user equipment communicates with the communication peer end by using the third sub-flow through the second base station;
  • the user equipment acquires a second IP address, where the second IP address is an IP address allocated by the second gateway to the user equipment, and Establishing a second substream with the communication peer, the second IP address is an IP address allocated by the second gateway to the user equipment, and the second substream is used by the user equipment
  • the IP address is associated with the sub-flow established by the communication peer, and the second gateway is connected to the second base station.
  • the method further includes: when the user equipment communicates with the communication peer end by using the first sub-flow, when the data traffic between the user equipment and the communication peer exceeds a preset threshold, the method further includes: The user equipment acquires a first IP address, and establishes a first substream with the communication peer end;
  • the method further includes: the user equipment acquiring a third IP address, and establishing a third substream with the communication peer.
  • the method further includes:
  • the user equipment sends an indication message for releasing the first IP address to the first gateway, so that the first gateway releases the first IP address.
  • the acquiring, by the user equipment, the second IP address includes:
  • the user equipment receives the second gateway identifier sent by the second base station, where the second gateway identifier is used to indicate the second gateway;
  • the user equipment determines whether the second gateway identifier is the same as the first gateway identifier, and if the second gateway identifier is different from the first gateway identifier, generating a request message for obtaining an IP address;
  • the receiver receives the second IP address sent by the second gateway.
  • the acquiring, by the user equipment, the second IP address includes:
  • the user equipment When the user equipment is handed over by the first base station to the second base station, the user equipment sends the first IP address or the first gateway identifier to a mobility management entity to facilitate the mobility management. Determining, by the entity, whether the second gateway and the first gateway are the same gateway according to the first IP address or the first gateway identifier, and when the second gateway is not the same gateway as the first gateway, The second gateway sends an IP address to the user equipment, and the second IP address that is received by the second gateway is sent to the user equipment, where the first gateway identifier is used to indicate the first gateway.
  • the mobility management entity is configured to manage the second base station and the second gateway;
  • the acquiring, by the user equipment, the second IP address includes:
  • the user equipment When the user equipment is handed over by the first base station to the second base station, the user equipment sends a second gateway identifier to the first base station, so that the first base station determines the second gateway. Whether the first gateway is the same gateway, and the second gateway identifier is used to indicate the second gateway;
  • the user equipment receives the judgment indication message sent by the first base station, where the judgment indication message is used to indicate that the second gateway is not the same gateway as the first gateway;
  • the user equipment generates a request message for obtaining an IP address
  • the user equipment receives the second IP address sent by the second gateway.
  • the method further includes:
  • the user equipment When the data traffic between the user equipment and the communication peer is less than a preset threshold, the user equipment revokes the second substream and releases the second IP address.
  • the method further includes:
  • the user equipment After the receiver receives the indication message of the second sub-flow sent by the mobility management entity or the second base station, the user equipment revokes the second sub-flow, and releases the Two IP addresses.
  • the method further includes:
  • the user equipment generates an indication message for releasing the second IP address
  • the user equipment sends the indication message for releasing the second IP address to the second gateway.
  • the method further includes:
  • the user equipment enters an idle state, receives a paging of the mobility management entity after entering an idle state, generates a paging response message, and sends the paging response message to the mobility management entity;
  • the user equipment After receiving the paging response message to the mobility management entity, the user equipment receives downlink data of the user equipment sent by the core network gateway.
  • a mobility management method is applied to a first base station, including:
  • the first base station Receiving, by the first base station, data of the user equipment by using the first sub-flow, so that the user equipment communicates with the communication peer end by using the first sub-flow, where the first sub-flow is the first base station Using the first Internet Protocol IP address as a sub-flow established by the user equipment and the communication peer, the first IP address is an IP address assigned by the first gateway to the user equipment, and the first gateway Connected to the first base station;
  • the first base station When the user equipment is switched by the first base station to the second base station, the first base station receives and transmits data of the user equipment by using the third substream, so that the user equipment passes the third substream and the Communicating with the communication peer, wherein the third substream is a substream established by the user equipment with a third IP address and the communication peer, and the third IP address is the core network gateway is An IP address assigned by the user equipment, where the core network gateway is connected to the first base station and the second base station;
  • the first base station When the first base station no longer receives and transmits data of the user equipment by using the first substream, the first base station revokes the first substream.
  • the first base station receives and sends data of the user equipment by using the first sub-flow, so that the user equipment communicates with the communication peer end by using the first sub-flow, including:
  • the first base station Receiving, by the first base station, the first substream data packet sent by the first gateway, and converting the first substream data packet received by the first base station from the first gateway into the standard a data packet, the standard data packet obtained by the conversion is sent to the user equipment;
  • the first base station receives and sends data of the user equipment by using the third sub-flow, so that the user equipment communicates with the communication peer end by using the third sub-flow, including:
  • the data packet is sent to the user equipment by the converted standard data packet.
  • the method further includes:
  • the first base station acquires the first IP address, and establishes the first substream with the communication peer by using the first IP address;
  • the method further includes:
  • the first base station acquires the third IP address, and uses the third IP address And establishing, by the communication peer, the third substream.
  • the method further includes:
  • the first base station releases the first IP address, and instructs the first gateway to release the first IP address.
  • the method further includes:
  • the first base station receives the second gateway identifier sent by the user equipment, the second gateway identifier is used to indicate the second gateway, and the second base station is connected to the second gateway;
  • the first base station When the second gateway identifier is different from the first gateway identifier, the first base station generates a determination indication message, where the determination indication message is used to indicate that the second gateway is not the same gateway as the first gateway;
  • the first base station sends the judgment indication message to the user equipment, so that the user equipment acquires a second IP address, where the second IP address is an IP address allocated by the second gateway to the user equipment. .
  • the first base station when the user equipment is switched by the first base station to the second base station, when the first gateway is When the second gateway is not a unified gateway, the first base station sends a context of the first sub-flow proxy Proxy to the second base station, and the context of the first sub-flow proxy includes at least one of the following information:
  • a substream proxy layer sequence number between the first base station and the communication peer end a token Token, a sequence number of the first substream between the first base station and the communication peer end, An address identifier of the first substream, an address ID, a mapping relationship between a substream proxy layer sequence number and a transmission control protocol TCP layer sequence number between the first base station and the communication peer end, where the A TCP sequence number between a substream proxy and the user equipment.
  • the mobility management system when the user equipment is in the first base station, communicates with the communication peer through the first substream, and when the user equipment is switched from the first gateway to the second gateway, the user equipment uses The third substream replaces the first substream to communicate with the communication peer, Encourage business continuity of user equipment.
  • the user equipment After the second substream is established, the user equipment does not transmit the service data through the third substream, but transmits the service data through the second substream, so as to reduce the core network gateway load, so that the core network gateway can ensure other user equipments in the network. Business continuity when performing base station handover.
  • FIG. 1 is a schematic structural diagram of a mobility management system according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of another mobility management system according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a user equipment according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a first base station according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another user equipment according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another first base station according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart diagram of a mobility management method according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart diagram of another mobility management method according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart diagram of still another mobility management method according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart diagram of still another mobility management method according to an embodiment of the present invention.
  • Embodiments of the present invention provide a method, apparatus, and system for mobility management.
  • the LTE (Long Term Evolution) cellular network is taken as an example for description.
  • the LTE cellular network includes: a first base station, a second base station, a first gateway, a second gateway, and a core network And a communication peer, wherein the first base station is connected to the first gateway, and the second base station is connected to the second gateway.
  • a gateway may be connected to multiple base stations.
  • the first base station is a base station connected to the first gateway
  • the second base station is a second base station.
  • the base station, and the first gateway and the second gateway are not the same gateway.
  • the first gateway allocates a first IP address to the user equipment, and the user equipment establishes a TCP (Transmission Control Protocol) connection with the communication peer end by using the first IP address.
  • TCP Transmission Control Protocol
  • the second gateway is not the same gateway as the first gateway, the first IP address does not belong to the management scope of the second gateway, so the second gateway needs to allocate a new user equipment.
  • IP address the user equipment establishes communication with the communication peer using the new IP address.
  • the IP address assigned by the second gateway to the user equipment is the second IP address.
  • the user equipment After obtaining the second IP address, the user equipment establishes a TCP connection with the communication peer by using the second IP address.
  • the TCP connection established by the user equipment with the communication peer is the first substream
  • the TCP connection established by the user equipment with the communication peer using the second IP address is the second substream.
  • the user equipment uses the third substream and the communication peer to pass
  • the core network gateway communicates, and the third sub-flow is a TCP connection established by the user equipment with the third IP address and the communication peer, and the third IP address is an IP address assigned by the core network gateway to the user equipment.
  • the embodiment of the present invention describes an application scenario of establishing an MPTCP substream by using the MPTCP technology, and describes a method, an apparatus, and a system for mobility management.
  • the embodiment of the present invention provides a mobility management system 10, which includes a user equipment 1001, a first base station 1002, a second base station 1003, a first gateway 1004, a second gateway 1005, a core network gateway 1006, and a communication pair.
  • the user equipment 1001 communicates with the communication peer 1007 through the first substream, where the first substream is a substream established by the user equipment 1001 using the first IP (Internet Protocol) address and the communication peer 1007.
  • the first IP address is an IP address assigned by the first gateway 1004 to the user equipment 1001, and the first gateway 1004 is connected to the first base station 1002.
  • the first base station 1002 Before the user equipment 1001 is switched by the first base station 1002 to the second base station 1003, the first base station 1002 communicates with the communication peer end 1007.
  • the user equipment 1001 uses The third substream communicates with the communication peer 1007 instead of the first substream, and cancels the first substream, where the third substream is a substream established by the user equipment 1001 using the third IP address and the communication peer 1007, and the third IP
  • the address is an IP address assigned by the core network gateway 1006 to the user equipment 1001, and the core network gateway 1006 is connected to the first base station 1002 and the second base station 1003.
  • the user equipment 1001 is further configured to use the third substream to communicate with the communication peer end 1007 through the second base station 1003 after the first substream is revoked.
  • the first substream may be an MPTCP substream established by using a Multi-Path Transmission Control Protocol (MPTCP), and the communication peer 1007 may be a server, a user terminal, or an MPTCP proxy that supports the MPTCP technology.
  • MPTCP Multi-Path Transmission Control Protocol
  • the communication peer 1007 may be a server, a user terminal, or an MPTCP proxy that supports the MPTCP technology.
  • the server, the first gateway 1004 and the second gateway 1005 may be distributed local gateways.
  • the user equipment 1001 is further configured to acquire a second IP address when the second gateway 1005 and the first gateway 1004 are not the same gateway, and establish a second sub-flow with the communication peer 1007, where the second IP address is the second gateway 1005.
  • the IP address assigned by the device 1001, the second substream is a substream established by the user equipment 1001 using the second IP address and the communication peer end 1007, and the second gateway 1005 is connected to the second base station 1003.
  • the first sub-flow communicates with the communication peer, and when the user equipment is switched from the first gateway to the second gateway, the user equipment The third substream is used instead of the first substream to communicate with the communication peer to ensure business continuity of the user equipment.
  • the user equipment does not transmit the service data through the third substream, but transmits the service data through the second substream, so as to reduce the core network gateway load, so that the core network gateway can ensure other user equipments in the network. Business continuity when performing base station handover.
  • the user equipment 1001 before the user equipment 1001 communicates with the communication peer 1007 through the first substream, when the data traffic between the user equipment 1001 and the communication peer 1007 exceeds a preset threshold, the user equipment 1001 is further configured to obtain a first IP address, and establishing a first substream with the communication peer 1007 to ensure that the user equipment 1001 communicates with the first substream Data transfer between the peers 1007.
  • the user equipment 1001 Before the user equipment 1001 is switched by the first base station 1002 to the second base station 1003, or before the user equipment 1001 communicates with the communication peer 1007 through the first base station 1002 using the third substream, the user equipment 1001 is further configured to acquire the third The IP address is used to establish a third substream with the communication peer 1007, so that when the user equipment 1001 has the first base station 1002 handed over to the second base station 1003, it communicates with the communication peer 1007 through the third substream.
  • the user equipment 1001 is further configured to: after the first sub-flow is revoked, release the first IP address, and send an indication message for releasing the first IP address to the first gateway 1004, where the user equipment 1001 releases the first IP address, That is, the first IP address is no longer occupied.
  • the first gateway 1004 is configured to release the first IP address after receiving the indication message of releasing the first IP address sent by the user equipment 1001, and the first gateway 1004 releases the first IP address, that is, the first IP address and the user equipment are released. Binding between 1001. After the first gateway 1004 releases the first IP address, the first IP address may be assigned to other user equipments 1001.
  • the second gateway 1005 is not the same gateway as the first gateway 1004, the second IP address is obtained, including:
  • the first gateway identifier sent by the first base station 1002 is received, where the first gateway identifier is used to indicate the first gateway 1004.
  • the second gateway identifier sent by the second base station 1003 is received, and the second gateway identifier is used to indicate the second gateway 1005.
  • the user equipment 1001 sends a request message for obtaining an IP address to the second gateway 1005, and receives a second IP address sent by the second gateway 1005.
  • the mobility management system further includes a Mobility Management Entity (MME) 1008, where the mobility management entity 1008 is configured to manage the second base station 1003 and the second gateway 1005, where the second gateway 1005 and the first gateway are used.
  • MME Mobility Management Entity
  • the second IP address is obtained, including:
  • the user equipment 1001 When the user equipment 1001 is switched by the first base station 1002 to the second base station 1003, the user equipment 1001 sends the first IP address or the first gateway identifier to the mobility management entity 1008, where the first gateway identifier is used to indicate the first gateway 1004.
  • the gateway identifier may be a local network (Local Network) ID, or the gateway identifier may also be a local gateway (Local Gateway) ID.
  • the mobility management entity 1008 determines whether the first IP address is an IP address assigned by the second gateway 1005 to the user equipment 1001, or whether the first gateway identifier is the same as the second gateway identifier, and the second gateway identifier is used to indicate the second gateway 1005.
  • the mobility management entity 1008 requests the second gateway 1005 to allocate an IP address for the user equipment 1001. And transmitting the second IP address received from the second gateway 1005 to the user equipment 1001.
  • the second gateway 1005 is not the same gateway as the first gateway 1004, the second IP address is obtained, including:
  • the user equipment 1001 When the user equipment 1001 is handed over by the first base station 1002 to the second base station 1003, the user equipment 1001 transmits the second gateway identifier to the first base station 1002.
  • the first base station 1002 sends a determination indication message to the user equipment 1001, where the determination indication message is used to indicate that the second gateway 1005 and the first gateway 1004 are not the same gateway.
  • the user equipment 1001 After receiving the determination indication message, the user equipment 1001 sends a request message for obtaining an IP address to the second gateway 1005, and receives a second IP address sent by the second gateway 1005.
  • the user equipment 1001 is further configured to cancel the second sub-flow.
  • the mobility management system further includes a mobility management entity 1008, where the mobility management entity 1008 is configured to manage the second base station 1003 and the second gateway 1005.
  • the mobility management entity 1008 is configured to instruct the user equipment 1001 to cancel the second substream, after the second subflow is established, when the data traffic between the user equipment 1001 and the communication peer 1007 is less than a preset threshold.
  • the user equipment 1001 is further configured to cancel the second substream.
  • the user equipment 1001 is further configured to release the second IP address after the second substream is revoked, and instruct the second gateway 1005 to release the second IP address.
  • the second gateway 1005 is configured to release the second IP address.
  • the second base station 1003 is configured to instruct the user equipment 1001 to cancel the second substream, and the data flow between the user equipment 1001 and the communication peer end 1007 is less than a preset threshold.
  • the second gateway 1005 is instructed to release the second IP address.
  • the user equipment 1001 is further configured to cancel the second substream and release the second IP address.
  • the second gateway 1005 is configured to release the second IP address.
  • the user equipment 1001 is further configured to enter an idle state after the user equipment 1001 releases the second IP address.
  • the core network gateway 1006 is configured to cache the downlink data of the user equipment 1001 after the user equipment 1001 enters the idle state, and send the downlink data notification of the user equipment 1001 to the mobility management entity 1008.
  • the mobility management entity 1008 is further configured to receive the downlink data notification of the user equipment 1001 sent by the core network gateway 1006, and page the user equipment 1001.
  • the user equipment 1001 is further configured to respond to the paging of the mobility management entity 1008.
  • the mobility management entity 1008 is further configured to instruct the core network gateway 1006 to send downlink data to the user equipment 1001 after the user equipment 1001 responds to the paging.
  • the core network gateway 1006 is further configured to send downlink data of the user equipment 1001 to the user equipment 1001.
  • the mobility management system further includes: a mobility management entity 1008, an online charging system (OCS) 1009, and a Policy Control and Charging Rule Function (PCRF) 1010.
  • a mobility management entity 1008 an online charging system (OCS) 1009
  • OCS online charging system
  • PCRF Policy Control and Charging Rule Function
  • the mobility management entity 1008 is configured to acquire the available quota of the user equipment 1001 from the line charging system, and send the available quota of the user equipment 1001 to the first gateway 1004.
  • the mobility management entity 1008 is further configured to acquire the charging rule of the user equipment 1001 from the policy and charging rule 1010 function, and send the charging rule of the user equipment 1001 to the first gateway 1004.
  • the first gateway 1004 is further configured to deduct the available quota of the user equipment 1001 according to the charging rule of the user equipment 1001, and perform online charging, when the user equipment 1001 communicates with the communication peer 1007 through the first substream.
  • System 1009 transmits the available credit balance of user equipment 1001.
  • the mobility management system further includes: a mobility management entity 1008 and an Off-line Charging System (OFCS) 1011.
  • OFCS Off-line Charging System
  • the first gateway 1004 is further configured to send the CDR of the user equipment 1001 at the first gateway 1004 to the mobility management entity 1008.
  • the mobility management entity 1008 is configured to send the CDR of the user equipment 1001 at the first gateway 1004 to the offline charging system 1011.
  • the first sub-flow communicates with the communication peer, and when the user equipment is switched from the first gateway to the second gateway, the user equipment The third substream is used instead of the first substream to communicate with the communication peer to ensure business continuity of the user equipment.
  • the user equipment does not transmit the service data through the third substream, but transmits the service data through the second substream, so as to reduce the core network gateway load, so that the core network gateway can ensure other user equipments in the network. Business continuity when performing base station handover.
  • an embodiment of the present invention provides another mobility management system 20.
  • the establishment, revocation, and management of different substream data are completed by the user equipment.
  • the base station is used as a substream proxy (Proxy) to complete the establishment of the substream instead of the user equipment.
  • Undo, and management of different substream data, so user devices that do not support multiple substreams can also be applied to the mobility management system 20.
  • the mobility management system 20 includes a user equipment 201, a first base station 202, a second base station 203, a first gateway 204, a second gateway 205, a core network gateway 206, and a communication peer 207.
  • the user equipment 201 passes the first The sub-flow communicates with the communication peer 207.
  • the first sub-flow is a sub-flow established by the first base station 202 for the user equipment 201 and the communication peer 207 by using the first IP address, where the first IP address is the first gateway 204 as the user equipment.
  • the first gateway 204 is connected to the first base station 202 by an assigned IP address.
  • the user equipment 201 passes before the first base station 202 switches to the second base station 203.
  • the first base station 202 communicates with the communication peer 207 using the first substream, and when the user equipment 201 is handed over by the first base station 202 to the second base station 203, the first base station 202 uses the third substream instead of the first substream to cause the user Device 201 communicates with communication peer 207 and revokes the first substream.
  • the third substream is a substream established by the first base station 202 using the third IP address and the communication peer 207, and the third IP address is an IP address assigned by the core network gateway 206 to the user equipment 201, and the core network gateway 206 and the first base station 202 and the second base station 203 are connected.
  • the sub-stream of the user equipment 201 is managed by the second base station 203, so that the user equipment 201 uses the third sub-flow to pass through the second base station 203 and the communication peer.
  • 207 communicates without communicating with the correspondent peer 207 through the first base station 202 using the third substream.
  • the second base station 203 is configured to acquire a second IP address when the second gateway 205 and the first gateway 204 are not the same gateway, and establish a second substream for the user equipment 201 and the communication peer 207, where the second IP address is the second
  • the gateway 205 is an IP address assigned by the user equipment 201.
  • the second sub-flow is a sub-flow established by the second base station 203 using the second IP address for the user equipment 201 and the communication peer 207, and the second gateway 205 is connected to the second base station 203.
  • the first base station 202 is further used to: The first IP address is obtained, and the first substream is established for the user equipment 201 and the communication peer 207.
  • the first base station 202 is further configured to acquire the first The third IP address establishes a third substream for the user equipment 201 and the communication peer 207.
  • the first base station 202 is further configured to release the first IP address after the first sub-flow is revoked, and send an indication message for releasing the first IP address to the first gateway 204.
  • the first gateway 204 is configured to release the first IP address after receiving the indication message of releasing the first IP address sent by the first base station 202.
  • the user equipment 201 is switched by the first base station 202 to the second base station 203.
  • the first base station 202 is further configured to send the context of the first sub-flow proxy Proxy to the second base station 203, where the context of the first sub-flow proxy includes at least the following information. At least one of:
  • the second base station 203 is further configured to cancel the second substream.
  • the second base station 203 is further configured to release the second IP address after the second substream is revoked, and instruct the second gateway 205 to release the second IP address.
  • the second gateway 205 is configured to release the second IP address.
  • the second base station 203 is configured to cancel the second substream, and instruct the second gateway 205. Release the second IP address.
  • the second base station 203 is further configured to release the second IP address.
  • the second gateway 205 is configured to release the second IP address.
  • the mobility management system performs the functions of establishing, revoking, and managing different sub-stream data by the base station as a sub-flow proxy (Proxy), so that when the user equipment is in the first base station, A substream communicates with the communication peer.
  • the user equipment uses the third substream instead of the first substream to communicate with the communication peer through the first base station and the second base station.
  • the user equipment does not transmit the service data through the third substream, but transmits the service data through the second substream, so as to reduce the core network gateway load, so that the core network gateway can ensure other user equipments in the network. Business continuity when performing base station handover.
  • an embodiment of the present invention provides a user equipment 30 for performing functions such as establishing, revoking, and managing different sub-stream data.
  • the user equipment 30 includes a processor 301, a receiver 304, a memory 302, and a bus 303.
  • the processor 301 and the memory 302 are connected to each other through a bus 303.
  • the user equipment 30 communicates with the communication peer through the first substream.
  • the flow is a sub-flow established by the user equipment 30 using the first Internet Protocol IP address and the communication peer.
  • the first IP address is an IP address assigned by the first gateway to the user equipment 30, and the first gateway is connected to the first base station.
  • the processor 301 is configured to: when the user equipment 30 is switched by the first base station to the second base station, use the third substream to communicate with the communication peer end by using the first base station, and cancel the first substream, the third substream.
  • the user equipment 30 uses the third IP address to establish a sub-flow with the communication peer.
  • the third IP address is an IP address assigned by the core network gateway to the user equipment 30, and the core network gateway is connected to the first base station and the second base station.
  • the processor 301 is further configured to: when the first substream is revoked, use the third substream to communicate with the communication peer through the second base station.
  • the receiver 304 is configured to acquire a second IP address when the second gateway is not the same gateway as the first gateway, where the second IP address is an IP address assigned by the second gateway to the user equipment 30, and the second gateway is connected to the second base station.
  • the processor 301 is further configured to establish a second substream with the communication peer, where the second substream is a substream established by the user equipment 30 using the second IP address and the communication peer.
  • the receiver 304 is further configured to: before the user equipment 30 communicates with the communication peer end by using the first substream, when the data traffic between the user equipment 30 and the communication peer exceeds a preset threshold, obtain the first IP address.
  • the processor 301 is further configured to establish a first substream with the communication peer.
  • the receiver 304 is further configured to acquire a third IP address before the user equipment 30 is switched by the first base station to the second base station, or before the user equipment 30 communicates with the communication peer end by using the third substream.
  • the processor 301 is further configured to establish a third substream with the communication peer.
  • the processor 301 is further configured to: after the first substream is revoked, release the first IP address, and generate an indication message for releasing the first IP address.
  • the user equipment 30 further includes a transmitter, configured to send the release first IP address to the first gateway. An indication message of the address, so that the first gateway releases the first IP address.
  • the receiver 304 is further configured to receive the first gateway identifier sent by the first base station, where the first gateway identifier is used to indicate the first gateway.
  • the receiver 304 is further configured to receive a second gateway identifier sent by the second base station, where the second gateway identifier is used to indicate the second gateway.
  • the processor 301 is further configured to determine whether the second gateway identifier is the same as the first gateway identifier, and if the second gateway identifier is different from the first gateway identifier, generate a request message for obtaining an IP address.
  • the user equipment 30 further includes a transmitter for transmitting a request message for obtaining an IP address to the second gateway.
  • the receiver 304 is further configured to receive a second IP address sent by the second gateway.
  • the user equipment 30 further includes a transmitter.
  • a transmitter configured to send the first IP address or the first gateway identifier to the mobility management entity when the user equipment 30 is handed over by the first base station to the second base station, so that the mobility management entity is configured according to the first IP address or the first
  • a gateway identifier determines whether the second gateway and the first gateway are the same gateway, and when the second gateway is not the same gateway as the first gateway, requests the user equipment 30 to allocate an IP address to the second gateway, and receives the second address from the second gateway.
  • the second IP address is sent to the user equipment 30, the first gateway identifier is used to indicate the first gateway, and the mobility management entity is used to manage the second base station and the second gateway.
  • the receiver 304 is further configured to receive a second IP address sent by the mobility management entity.
  • the user equipment 30 further includes a transmitter 305, configured to send, when the user equipment 30 is switched by the first base station to the second base station, the second gateway identifier to the first base station, so that the first base station determines the second gateway. Whether the first gateway is the same gateway, and the second gateway identifier is used to indicate the second gateway.
  • the receiver 304 is further configured to receive a determination indication message sent by the first base station, where the determination indication message is used to indicate that the second gateway is not the same gateway as the first gateway.
  • the processor 301 is further configured to generate a request message for obtaining an IP address.
  • the sender 305 is further configured to send a request message for obtaining an IP address to the second gateway.
  • the receiver 304 is further configured to receive a second IP address sent by the second gateway.
  • the processor 301 is further configured to determine whether data traffic between the user equipment 30 and the communication peer is less than a preset threshold.
  • the processor 301 is further configured to cancel the second substream and release the second IP address.
  • the receiver 304 is further configured to receive an indication message of the second sub-flow sent by the mobility management entity or the second base station, where the mobility management entity is configured to manage the second base station and the second gateway.
  • the processor 301 is further configured to: after the receiver 304 receives the indication message of the second sub-flow sent by the mobility management entity or the second base station, cancel the second sub-flow and release the second IP address.
  • the processor 301 is further configured to generate an indication message for releasing the second IP address.
  • the user equipment 30 further includes a transmitter 305, configured to send an indication message for releasing the second IP address to the second gateway.
  • the processor 301 is further configured to control the user equipment 30 to enter an idle state after sending an indication message for releasing the second IP address to the second gateway.
  • the receiver 304 is further configured to receive a paging of the mobility management entity.
  • the processor 301 is further configured to generate a paging response message after the user equipment 30 enters an idle state.
  • User equipment 30 also includes a transmitter 305 for transmitting a page response message to the mobility management entity.
  • the receiver 304 is further configured to receive downlink data of the user equipment 30 from the core network gateway after the user equipment 30 sends the paging response message to the mobility management entity.
  • the user equipment manages by establishing a substream, revoking a substream, and data greater than different substreams, and communicates with the communication peer through the first substream when the first base station is in the first base station, when the user equipment is configured by
  • the user equipment uses the third substream instead of the first substream to communicate with the communication peer to ensure service continuity.
  • the user equipment does not transmit the service data through the third substream, but transmits the service data through the second substream, so as to reduce the core network gateway load, so that the core network gateway can ensure other user equipments in the network. Business continuity when performing base station handover.
  • an embodiment of the present invention provides a first base station 40, which is used to complete functions such as establishment, revocation, and management of different substream data.
  • the first base station 40 includes a processor 401, a memory 402, a bus 403, and a transceiver 404.
  • the processor 401, the memory 402, and the transceiver 404 are connected to each other through a bus 403.
  • the transceiver 404 is configured to receive and send data of the user equipment by using the first substream, so that the user equipment communicates with the communication peer end by using the first substream, where the first substream uses the first internet for the first base station 40.
  • the interconnection protocol IP address is a sub-flow established by the user equipment and the communication peer end, and the first IP address is an IP address assigned by the first gateway to the user equipment, and the first gateway is connected to the first base station 40.
  • the transceiver 404 is further configured to: when the user equipment is switched by the first base station 40 to the second base station, receive and send data of the user equipment by using the third substream, so that the user equipment communicates with the communication peer by using the third substream.
  • the third substream is a substream established by the user equipment using the third IP address and the communication peer end, and the third IP address is an IP address assigned by the core network gateway to the user equipment, and the core network gateway and the first base station 40 and the first Two base stations are connected.
  • the processor 401 is configured to cancel the first substream.
  • the transceiver 404 is configured to receive a standard data packet sent by the user equipment, and is further configured to receive the first sub-stream data packet sent by the first gateway.
  • the processor 401 is specifically configured to convert the standard data packet received by the transceiver 404 from the user equipment into the first sub-stream data packet, and is further configured to convert the first sub-stream data packet received by the transceiver 404 from the first gateway. As a standard data packet.
  • the transceiver 404 is further configured to send the first sub-stream data packet converted by the processor 401 to the communication peer end by using the first gateway, and configured to send the standard data packet converted by the processor 401 to the user equipment.
  • the transceiver 404 is further configured to receive a third substream packet sent by the core network gateway.
  • the processor 401 is further configured to convert the standard data packet received by the transceiver 404 from the user equipment into a third substream data packet, and convert the third substream data packet received by the transceiver 404 from the core network gateway into standard data. package.
  • the transceiver 404 is further configured to send, by the core network gateway, the third substream data packet converted by the processor 401 to the communication peer end.
  • the transceiver 404 is further configured to obtain the first IP address.
  • the processor 401 is further configured to establish a first substream with the communication peer by using the first IP address, so that the user equipment communicates with the communication peer by using the first substream.
  • the transceiver 404 is further configured to obtain a third IP address.
  • the processor 401 is further configured to establish a third substream with the communication peer by using the third IP address, so that the user equipment communicates with the communication peer through the third substream.
  • the processor 401 is further configured to: after the first substream is revoked, release the first IP address, and generate an indication message for releasing the first IP address.
  • the transmitter is further configured to send, to the first gateway, an indication message generated by the processor 401 to release the first IP address.
  • the transceiver 404 is further configured to: when the user equipment is switched by the first base station 40 to the second base station, receive a second gateway identifier sent by the user equipment, where the second gateway identifier is used to indicate the second gateway, the second base station Connect to the second gateway.
  • the processor 401 is further configured to: when the second gateway identifier is different from the first gateway identifier, generate a determination indication message, where the determination indication message is used to indicate that the second gateway is not the same gateway as the first gateway.
  • the transceiver 404 is further configured to send a judgment indication message to the user equipment, so that the user equipment acquires the second IP address, where the second IP address is an IP address allocated by the second gateway to the user equipment.
  • the transceiver 404 is further configured to send the context of the first sub-flow proxy Proxy to the second base station.
  • the context of the first subflow proxy includes at least one of the following information:
  • a substream proxy layer sequence number between the first base station and the communication peer end a token Token, a sequence number of the first substream between the first base station and the communication peer end, and an address identifier Address ID of the first substream
  • the mapping relationship between the sub-flow proxy layer sequence number between the base station and the communication peer end and the transmission control protocol TCP layer sequence number, the first sub-flow proxy and the user set The TCP serial number between the backups.
  • the first base station provided by the embodiment of the present invention performs the functions of establishing, revoking, and managing different sub-stream data, so that the user equipment communicates with the communication peer flow by using the first sub-flow through the first base station.
  • the first base station communicates with the communication peer stream by using the third substream, thereby ensuring service continuity of the user equipment.
  • an embodiment of the present invention provides another user equipment 50 for performing functions such as establishment, revocation, and management of different substream data.
  • the user equipment 50 includes a multipath control unit 501 and a receiving unit 502.
  • the user equipment 50 communicates with the communication peer through the first substream, and the first substream uses the first internet protocol IP address and communication pair for the user equipment 50.
  • the first IP address is the IP address assigned by the first gateway to the user equipment 50, and the first gateway is connected to the first base station.
  • the multipath control unit 501 is configured to: when the user equipment 50 is switched by the first base station to the second base station, use the third substream to communicate with the communication peer end through the first base station, and cancel the first substream, the third substream.
  • the third IP address is used by the user equipment 50 to establish a sub-flow with the communication peer.
  • the third IP address is an IP address assigned by the core network gateway to the user equipment 50, and the core network gateway is connected to the first base station and the second base station.
  • the sub-flow is a sub-flow established by the user equipment 50 with the first IP address and the communication peer.
  • the first IP address is an IP address assigned by the first gateway to the user equipment 50, and the first gateway is connected to the first base station.
  • the multipath control unit 501 is further configured to use the third substream to communicate with the communication peer through the second base station after the first substream is revoked.
  • the receiving unit 502 is configured to obtain a second IP address when the second gateway is not the same gateway as the first gateway, where the second IP address is an IP address assigned by the second gateway to the user equipment 50, and the second gateway is connected to the second base station.
  • the multipath control unit 501 is further configured to establish a second substream with the communication peer, where the second substream is a substream established by the user equipment 50 using the second IP address and the communication peer.
  • the receiving unit 502 is further configured to acquire the first IP address.
  • the multipath control unit 501 is further configured to establish a first substream with the communication peer.
  • the receiving unit 502 is further configured to acquire the third IP address.
  • the multipath control unit 501 is further configured to establish a third substream with the communication peer.
  • the multi-path control unit 501 is further configured to: after the first sub-flow is revoked, release the first IP address, and generate an indication message for releasing the first IP address.
  • the user equipment 50 further includes a sending unit 503, configured to send an indication message for releasing the first IP address to the first gateway, so that the first gateway releases the first IP address.
  • the receiving unit 502 is further configured to receive the first gateway identifier sent by the first base station, where the first gateway identifier is used to indicate the first gateway.
  • the receiving unit 502 is further configured to receive a second gateway identifier sent by the second base station, where the second gateway identifier is used to indicate the second gateway.
  • the multi-path control unit 501 is further configured to determine whether the second gateway identifier is the same as the first gateway identifier, and if the second gateway identifier is different from the first gateway identifier, generate a request message for obtaining an IP address.
  • the user equipment 50 further includes a sending unit 503, configured to send a request message for obtaining an IP address to the second gateway.
  • the receiving unit 502 is further configured to receive a second IP address sent by the second gateway.
  • the user equipment 50 further includes a sending unit 503.
  • the sending unit 503 is configured to: when the user equipment 50 is switched by the first base station to the second base station, send the first IP address or the first gateway identifier to the mobility management entity, so that the mobility management entity is configured according to the first IP address or
  • the first gateway identifier determines whether the second gateway is the same gateway as the first gateway, and requests the user equipment 50 to allocate an IP address to the second gateway when the second gateway is not the same gateway as the first gateway, and receives the IP address from the second gateway.
  • the second IP address is sent to the user equipment 50.
  • the first gateway identifier is used to indicate the first gateway, and the mobility management entity is used to manage the second base station and the second gateway.
  • the receiving unit 502 is further configured to receive a second IP address sent by the mobility management entity.
  • the sending unit 503 is configured to: when the user equipment 50 is from the first base station to the second When the base station is switched, the second gateway identifier is sent to the first base station, so that the first base station determines whether the second gateway is the same gateway as the first gateway, and the second gateway identifier is used to indicate the second gateway.
  • the receiving unit 502 is further configured to receive a determination indication message sent by the first base station, where the determination indication message is used to indicate that the second gateway is not the same gateway as the first gateway.
  • the multipath control unit 501 is further configured to generate a request message for obtaining an IP address.
  • the sending unit 503 is further configured to send, to the second gateway, a request message for obtaining an IP address.
  • the receiving unit 502 is further configured to receive a second IP address sent by the second gateway.
  • the multipath control unit 501 is further configured to determine whether the data traffic between the user equipment 50 and the communication peer is less than a preset threshold.
  • the multipath control unit 501 is further configured to cancel the second substream and release the second IP address.
  • the receiving unit 502 is further configured to receive an indication message of the second sub-flow sent by the mobility management entity or the second base station, where the mobility management entity is configured to manage the second base station and the second gateway.
  • the multi-path control unit 501 is further configured to: after the receiving unit 502 receives the indication message of the second sub-flow sent by the mobility management entity or the second base station, cancel the second sub-flow and release the second IP address.
  • the multi-path control unit 501 is further configured to generate an indication message for releasing the second IP address.
  • the user equipment 50 further includes a sending unit 503, configured to send, to the second gateway, an indication message for releasing the second IP address.
  • the user equipment 50 further includes a state control unit 504, configured to control the user equipment 50 to enter an idle state after the sending unit 503 sends an indication message for releasing the second IP address to the second gateway.
  • a state control unit 504 configured to control the user equipment 50 to enter an idle state after the sending unit 503 sends an indication message for releasing the second IP address to the second gateway.
  • the receiving unit 502 is further configured to receive a paging of the mobility management entity.
  • the multipath control unit 501 is further configured to generate a paging response message after the user equipment 50 enters an idle state.
  • the user equipment 50 further includes a sending unit 503 for transmitting to the mobility management entity Paging response message.
  • the receiving unit 502 is further configured to: after the user equipment 50 sends the paging response message to the mobility management entity, receive the downlink data of the user equipment 50 from the core network gateway.
  • the user equipment manages by establishing a substream, revoking a substream, and data greater than different substreams, and communicates with the communication peer through the first substream when the first base station is in the first base station, when the user equipment is configured by
  • the user equipment uses the third substream instead of the first substream to communicate with the communication peer to ensure service continuity.
  • the user equipment does not transmit the service data through the third substream, but transmits the service data through the second substream, so as to reduce the core network gateway load, so that the core network gateway can ensure other user equipments in the network. Business continuity when performing base station handover.
  • an embodiment of the present invention provides another first base station 60 for performing functions such as establishment, revocation, and management of different substream data.
  • the first base station 60 includes a substream proxy unit 601 and a transceiver unit 602.
  • the transceiver unit 602 is configured to receive and send data of the user equipment by using the first substream, so that the user equipment communicates with the communication peer end by using the first substream, where the first substream uses the first internetwork for the first base station 60.
  • the interconnection protocol IP address is a sub-flow established by the user equipment and the communication peer end, and the first IP address is an IP address assigned by the first gateway to the user equipment, and the first gateway is connected to the first base station 60.
  • the transceiver unit 602 is further configured to: when the user equipment is switched by the first base station 60 to the second base station, receive and send data of the user equipment by using the third substream, so that the user equipment communicates with the communication peer by using the third substream.
  • the third substream is a substream established by the user equipment using the third IP address and the communication peer end, and the third IP address is an IP address allocated by the core network gateway for the user equipment, and the core network gateway and the first base station 60 and the first Two base stations are connected.
  • the substream proxy unit 601 is configured to cancel the first substream.
  • the transceiver unit 602 is configured to receive a standard data packet sent by the user equipment, and configured to receive the first sub-stream data packet sent by the first gateway.
  • the sub-flow proxy unit 601 is specifically configured to convert the standard data packet received by the transceiver unit 602 from the user equipment into the first sub-stream data packet, and is further configured to use the transceiver unit 602 from the The first substream packet received by a gateway is converted into a standard data packet.
  • the transceiver unit 602 is further configured to send the first sub-stream data packet converted by the sub-flow proxy unit 601 to the communication peer end by using the first gateway, and configured to send the standard data packet converted by the sub-flow proxy unit 601. To the user device.
  • the transceiver unit 602 is further configured to obtain the first IP address.
  • the sub-flow proxy unit 601 is further configured to establish a first sub-flow with the communication peer by using the first IP address, so that the user equipment communicates with the communication peer through the first sub-flow.
  • the transceiver unit 602 is further configured to acquire a third IP address.
  • the sub-flow proxy unit 601 is further configured to establish a third sub-flow with the communication peer by using the third IP address, so that the user equipment communicates with the communication peer through the third sub-flow.
  • the sub-flow proxy unit 601 is further configured to: after the first sub-flow is revoked, release the first IP address, and generate an indication message for releasing the first IP address.
  • the transmitter is further configured to send, to the first gateway, an indication message that is released by the sub-flow proxy unit 601 and releases the first IP address.
  • the transceiver unit 602 is further configured to: when the user equipment is switched by the first base station 60 to the second base station, receive the second gateway identifier sent by the user equipment, where the second gateway identifier is used to indicate the second gateway, the second base station Connect to the second gateway.
  • the sub-flow proxy unit 601 is further configured to: when the second gateway identifier is different from the first gateway identifier, generate a determination indication message, where the determination indication message is used to indicate that the second gateway is not the same gateway as the first gateway.
  • the transceiver unit 602 is further configured to send a judgment indication message to the user equipment, so that the user equipment acquires the second IP address, where the second IP address is an IP address allocated by the second gateway to the user equipment.
  • the transceiver unit 602 is further configured to send the first sub-flow proxy Proxy to the second base station.
  • Context the context of the first subflow proxy includes at least one of the following information:
  • the substream proxy layer sequence number between the first base station and the communication peer end, the token Token, the sequence number of the first substream between the first base station and the communication peer end, and the address label of the first substream The address ID, the mapping relationship between the sub-flow proxy layer sequence number between the first base station and the communication peer end and the transmission control protocol TCP layer sequence number, and the TCP sequence number between the first sub-flow proxy and the user equipment.
  • the first base station provided by the embodiment of the present invention performs the functions of establishing, revoking, and managing different sub-stream data, so that the user equipment communicates with the communication peer flow by using the first sub-flow through the first base station.
  • the first base station communicates with the communication peer stream by using the third substream, thereby ensuring service continuity of the user equipment.
  • an embodiment of the present invention provides a mobility management method applied to a mobility management system in a cellular network.
  • the mobility management system includes a user equipment, a first base station, a second base station, a first gateway, a second gateway, a core network gateway, and a communication peer.
  • the first base station is connected to the first gateway, and the second base station is connected to the second gateway.
  • the core network gateway is connected to the first base and the second base station.
  • TCP Transmission Control Protocol
  • the second gateway When the user equipment is switched from the first base station to the second base station, because the second gateway does not manage the IP address assigned by the first gateway, the user equipment cannot establish the IP address assigned by the first gateway through the second gateway and the communication peer.
  • the TCP connection so the second gateway assigns a new IP address to the user equipment, so that the user equipment uses the new IP address to establish a TCP connection with the communication peer.
  • the new IP address assigned by the second gateway to the user equipment is the second IP address.
  • the TCP connection established by the user equipment with the communication peer is the first substream
  • the TCP connection established by the user equipment with the communication peer using the second IP address is the second substream.
  • the first substream needs to be revoked, and the second substream is established.
  • the user equipment uses the third substream and the communication peer to pass
  • the core network gateway communicates, and the third sub-flow is a TCP connection established by the user equipment with the third IP address and the communication peer, and the third IP address is an IP address assigned by the core network gateway to the user equipment.
  • This embodiment is established by using MPTCP (Multi-Path Transmission Control Protocol) technology.
  • a mobility management method provided by an embodiment of the present invention includes the following steps:
  • the user equipment establishes a first substream and a third substream.
  • the first sub-flow is a sub-flow established by the user equipment with the first IP address and the communication peer.
  • the first IP address is an IP address assigned by the first gateway to the user equipment, and the first gateway is connected to the first base station.
  • the third substream is a substream established by the user equipment using the third IP address and the communication peer end, and the third IP address is an IP address allocated by the core network gateway for the user equipment, and the core network gateway is connected to the first base station and the second base station.
  • the substream in this embodiment may be an MPTCP substream established by using an MPTCP technology.
  • the MPTCP layer is added between the socket (socket) and TCP layers of the TCP (Transmission Control Protocol)/IP (Internet Protocol) protocol stack architecture, and the MPTCP layer is used.
  • TCP Transmission Control Protocol
  • IP Internet Protocol
  • the mobility management method provided by the present invention is described by taking an LTE (Long Term Evolution) wireless cellular network as an example.
  • the user equipment and the communication peer may be a user terminal, a server, or an MPTCP proxy and a server supporting the MPTCP technology
  • the first gateway may be a distributed local gateway.
  • the user equipment After accessing the first base station, acquires the first IP address from the first gateway, and uses the first IP address to establish a first MPTCP substream with the communication peer through the MPTCP technology, and uses the first substream and the communication pair.
  • the terminal communicates.
  • the user equipment obtains the first IP address in two ways.
  • the user equipment sends a DHCP (Dynamic Host Configuration Protocol) message to the first gateway to request an IP address from the first gateway, and the first gateway sends the first IP address to the user equipment by using a DHCP message.
  • the user equipment sends a NAS to the mobility management entity (Non Access The Stratum (non-access stratum) message requests an IP address, and the mobility management entity sends the first IP address obtained from the first gateway to the user equipment through the NAS message.
  • the first MPTCP substream is established with the communication peer through the MPTCP technology.
  • the user equipment sends a request for establishing a first MPTCP substream to the communication peer end, and after receiving the request for establishing the first MPTCP substream, the communication peer end returns an acknowledgement message to the user equipment, and after receiving the acknowledgement message, the user equipment receives the acknowledgement message.
  • the acknowledgment message of the first MPTCP sub-flow is sent to the communication terminal, and the first MPTCP sub-flow is established.
  • the service data between the user equipment and the communication peer can be transmitted through the first MPTCP sub-flow.
  • the user equipment acquires the third IP address from the core network gateway.
  • the specific process of the user equipment establishing the third MPTCP substream by using the third IP address and the communication peer is as follows: the user equipment sets an option about the MPTCP in the TCP message sent to the communication peer, and initiates a request to add the third MPTCP substream.
  • the user equipment by setting the MP_CAPABLE (Multipath Capable Multipath Available) identifier, queries the communication peer to determine whether the third MPTCP substream can be established, and after receiving the ACK (Acknowledgement) message of the MP_CAPABLE returned by the communication peer, The third IP address is used to send a TCP message with the MP_JOIN (Join Connection) flag set to the communication peer.
  • the third MPTCP is used. The flow is established.
  • the user equipment uses the third substream to communicate with the communication peer end through the first base station, and cancels the first substream.
  • the first MPTCP sub-flow is mainly used to transmit service data of the user equipment, so the user equipment may be established before the service data needs to be transmitted.
  • the third MPTCP sub-flow is mainly used to transmit data between the user equipment and the communication peer when the user equipment is switched from the first base station to the second base station, so the user equipment may establish a third MPTCP sub-flow before performing handover.
  • the user equipment when the first base station serves as a serving base station of the user equipment, the user equipment establishes a third substream, and uses the third substream to communicate with the communication peer through the first base station.
  • the user equipment When the user equipment and the communication peer When the data traffic exceeds the preset threshold, the user equipment establishes the first substream, and mainly transmits the data between the user equipment and the communication peer end through the first substream.
  • the first IP address may be the same bearer as the third IP address.
  • the mobility management entity requests a new IP address from the first gateway for the user equipment, and the first gateway sends the first IP to the mobility management entity.
  • the Bearer Creat Request message is requested to request the mobility management entity to establish a bearer between the user equipment and the first base station.
  • the mobility management entity After the bearer is newly created, the mobility management entity binds the newly created bearer with the first IP address and sends it to the user equipment through the NAS message. Or, the mobility management entity sends the first IP address to the user equipment, and instructs the user equipment to create a new PDN (Packet Data Network) by using the new first gateway APN bound to the APN (Access Point Name). Data network) connects and creates a bearer bound to the first IP address.
  • PDN Packet Data Network
  • APN Access Point Name
  • the third MPTCP substream is used instead of the first MPTCP substream to communicate with the communication peer, that is, only the third MPTCP substream is sent to the communication peer, and
  • the third MPTCP substream receives the data sent by the communication peer, and does not use the first MPTCP substream.
  • the user equipment revokes the first MPTCP substream.
  • the user equipment sends a TCP message carrying the REMOVE_ADDR (Remove Address) option to the communication peer through the second MPTCP sub-flow, and sends a request to cancel the first MPTCP sub-flow to the communication peer, where the REMOVE_ADDR option is used. Includes the first IP address.
  • REMOVE_ADDR Remove Address
  • the user equipment sends, by using the first MPTCP sub-flow, a TCP message with a F bit of 1 identified by a DSS (Data Sequence Information Number) to the communication peer end, where the F bit of the DSS identifier is a DATA_FIN bit, and the DATA_FIN position 1 represents the completion of the data transfer, requesting to revoke the first MPTCP substream.
  • DSS Data Sequence Information Number
  • the user equipment sends a TCP message carrying the MP_FASTCLOSE (Multipath Fastclose) option to the communication peer through the first MPTCP substream, requesting to cancel the first MPTCP substream.
  • MP_FASTCLOSE Multipath Fastclose
  • the user equipment releases the first IP address, and instructs the first gateway to release the first IP address.
  • the user equipment may send an indication message for releasing the first IP address to the first gateway by using the first base station or the mobility management entity.
  • the user equipment releases the first IP address, that is, the first IP address is no longer occupied.
  • the first gateway releases the first IP address, that is, the binding between the first IP address and the user equipment is released.
  • the first gateway may allocate the first IP address to other user equipments.
  • the user equipment switches to the second base station, and the third MPTCP substream is no longer transmitted by the first base station, but the third MPTCP substream is transmitted by the second base station, and the communication peer Communicate.
  • the user equipment acquires the second IP address, and establishes a second substream with the communication peer.
  • the second IP address is an IP address assigned by the second gateway to the user equipment
  • the second MPTCP substream is a substream established by the user equipment using the second IP address and the communication peer end, and the second gateway is connected to the second base station, where The second gateway can be a distributed local gateway.
  • This embodiment provides a manner in which three optional user equipments acquire a second IP address.
  • the first gateway identifier sent by the first base station is received, where the first gateway identifier is used to indicate the first gateway.
  • a second gateway identifier where the second gateway identifier is used to indicate the second gateway, when the user equipment moves from the first base station to the second base station and is connected to the second base station.
  • the user equipment determines the second gateway identifier and the first gateway identifier. If the second gateway identifier is different from the first gateway identifier, the user equipment sends a request message for obtaining an IP address to the second gateway, and the second gateway determines whether the message is based on the context record.
  • the user equipment has been assigned an IP address. If the user equipment has been assigned an IP address, the user equipment is denied the request for obtaining a new IP address, and the user equipment is instructed to use the IP address that the second gateway has assigned to the user equipment, if the second If the gateway does not allocate an IP address to the user equipment, the second IP address is sent to the user equipment, and the user equipment receives the second IP address sent by the second gateway, that is, the process of obtaining the second IP address is completed.
  • the first base station and the second base station may pass the respective gateway identifiers
  • the broadcast is sent to the user device.
  • the gateway identifier may be a local network (Local Network) ID, or the gateway identifier may also be a local gateway (Local Gateway) ID.
  • the request message for obtaining an IP address may be a DHCP request.
  • the user equipment sends the first IP address or the first gateway identifier to the mobility management entity.
  • the mobility management entity determines whether the first IP address is an IP address assigned by the second gateway to the user equipment, or whether the first gateway identifier is the same as the second gateway identifier. If the first IP address is not the IP address assigned by the second gateway to the user equipment, or the first gateway identifier is different from the second gateway identifier, the mobility management entity determines that the first gateway and the second gateway are not the same gateway.
  • the mobility management entity determines, according to the context record, whether the second gateway has assigned an IP address to the user equipment, and if the second gateway has assigned an IP address to the user equipment, the mobility The management entity rejects the request of the user equipment to obtain a new IP address, and instructs the user equipment to use the IP address that the second gateway has allocated for the user equipment. If the second gateway does not assign an IP address to the user equipment, the mobility management entity sends the second gateway to the second gateway. The user equipment is requested to allocate an IP address, and the second IP address received from the second gateway is sent to the user equipment. Optionally, the mobility management entity may send the second IP address to the user equipment by using the NAS message. The user equipment receives the second IP address sent by the mobility management entity, that is, completes the acquisition process of the second IP address.
  • the user equipment may be instructed to request an IP address from the second gateway to complete the second IP address acquisition process.
  • the user equipment sends the second gateway identifier to the first base station, where the first base station determines the second gateway identifier and the first gateway identifier, if the second gateway identifier and the first gateway If the identifiers are different, the first base station sends a judgment indication message to the user equipment, where the judgment indication message is used to indicate that the second gateway is not the same gateway as the first gateway, and the determination indication message may be a Handover command message.
  • the user equipment acquires the second IP address by requesting the new IP address from the second gateway.
  • the first base station may also send a judgment indication message to the second base station, For example, after receiving the judgment indication message, the second base station indicates that the user equipment acquires an IP address or requests a new IP address for the user equipment from the mobility management entity.
  • the user equipment In combination with the process of establishing a third MPTCP sub-flow in step 701, after acquiring the second IP address, the user equipment establishes a second MPTCP sub-flow by using the second IP address, and mainly transmits the service data through the second MPTCP sub-flow, and the communication peer Communicate.
  • the service data is transmitted through the second MPTCP substream, which reduces the data transmission amount of the third MPTCP substream and reduces the data load of the core network gateway.
  • the user equipment cancels the second substream.
  • the second MPTCP sub-flow is used to transmit the service data of the user equipment.
  • the second MPTCP sub-flow may be revoked.
  • the preset threshold value can be configured according to the actual situation. The specific value of the preset threshold is not limited in this embodiment.
  • This embodiment provides three alternative ways of revoking the second MPTCP substream.
  • the user equipment determines that the data traffic transmitted by the second MPTCP substream is less than a preset threshold, cancels the second MPTCP substream, simultaneously releases the second IP address, and indicates the second The gateway releases the second IP address.
  • the second base station determines that the data traffic transmitted by the second MPTCP substream is less than a preset threshold, and sends an indication message to the user equipment, or sends an indication message by using the mobility management entity.
  • the user equipment After receiving the indication message sent by the second base station or the mobility management entity, the user equipment revokes the second MPTCP sub-flow, releases the second IP address, and instructs the second gateway to release the second IP address.
  • the second base station determines that the data traffic transmitted by the second MPTCP substream is less than a preset threshold, and deletes the network resource used by the user equipment to transmit the second MPTCP substream, including the The second IP address and the bearer of the second MPTCP substream.
  • the user equipment is instructed to revoke the second MPTCP subflow, and the second gateway is instructed to release the second IP address.
  • the user equipment After receiving the indication of the second MPTCP sub-flow sent by the second base station, the user equipment sends a request for revoking the second MPTCP sub-flow to the communication peer in the third MPTCP sub-flow.
  • Second MPTCP sub After the flow is revoked, the user equipment releases the second IP address.
  • the user equipment enters an idle state.
  • the user equipment receives downlink data in an idle state.
  • the core network gateway After the user equipment enters the idle state, when the core network gateway receives the downlink data of the user equipment, the downlink data of the user equipment is cached, and the downlink data notification (DDN, Downlink Data Notification) of the user equipment is sent to the mobility management entity.
  • the mobility management entity After receiving the downlink data notification of the user equipment sent by the core network gateway, the mobility management entity pages the user equipment, and the user equipment responds to the paging of the mobility management entity.
  • the mobility management entity instructs the core network gateway to send downlink data to the user equipment after the user equipment responds to the paging.
  • an embodiment of the present invention further provides a method for charging a user equipment.
  • the user equipment communicates with the communication peer through the first MPTCP sub-flow
  • the user equipment is charged by the first gateway
  • the second gateway pairs the user equipment. Billing.
  • an application scenario in which the first gateway performs charging for the user equipment is taken as an example for description.
  • the first gateway acquires the charging rule of the user equipment and the available quota of the user equipment, and The available amount of the user equipment is deducted according to the charging rule of the user equipment, and then the available credit balance of the user equipment is sent to the online charging system.
  • the available amount of the user equipment is the available amount of the account of the user equipment, and the available amount may be a credit or a quota of the user equipment.
  • the mobility management entity when the user equipment is connected to the first gateway, the mobility management entity requests the charging rule of the user equipment and the available quota of the user equipment.
  • the charging rule of the user equipment obtained by the mobility management entity from the policy and charging rule function is sent to the first gateway, and the mobility management entity acquires the available balance of the user equipment from the online charging system and sends the balance to the first gateway.
  • the first gateway is configured to the user equipment according to the charging rule of the user equipment. The available amount is deducted. If the user equipment's available credits are all deducted, the first gateway re-requests the mobility management entity for the user equipment's available credit. After the first MPTCP subflow is revoked, the first gateway returns the balance of the user equipment's available credits to the online charging system through the mobility management entity.
  • the first gateway sends a CDR (Call Detail Record) of the user equipment at the first gateway to the mobility management entity.
  • the mobility management entity sends the CDR of the user equipment at the first gateway to the offline charging system.
  • the mobility management entity may manage multiple gateways, and the first gateway may be one or more of the gateways managed by the mobility management entity.
  • the mobility management system when the user equipment is in the first base station, communicates with the communication peer through the first substream, and when the user equipment is switched from the first gateway to the second gateway, the user equipment uses The third substream replaces the first substream to communicate with the communication peer to ensure service continuity of the user equipment.
  • the user equipment After the second substream is established, the user equipment does not transmit the service data through the third substream, but transmits the service data through the second substream, so as to reduce the core network gateway load, so that the core network gateway can ensure other user equipments in the network. Business continuity when performing base station handover.
  • an embodiment of the present invention provides another mobility management method. Referring to FIG. 8, the method includes the following steps:
  • the first base station establishes a first substream and a third substream for the user equipment.
  • the base station acts as a sub-flow proxy (Proxy) to complete the establishment, revocation, and management of different sub-stream data, so that the user equipment that does not support the multi-sub-stream can also implement the mobility provided by the present invention. Management method.
  • the first base station may obtain the first IP address in the following three optional manners.
  • the user equipment sends the first IP address to the first base station by using an RRC message.
  • the user equipment sends the first IP address to the mobility management entity through the NAS message, and the mobility management entity sends the first IP address to the first base station by using the S1 message.
  • the mobility management entity requests the user to apply for an IP address to the first gateway, the mobility management entity connects from the first gateway. After receiving the first IP address, the first IP address is sent to the first base station through the S1 message.
  • the first base station After acquiring the first IP address, the first base station establishes a first MPTCP substream, where the first MPTCP substream uses the first IP address as the substream established by the user equipment and the communication peer, and the first IP address is the first The IP address assigned by the gateway to the user equipment, and the first gateway is connected to the first base station.
  • the first base station acquires a third IP address from the user equipment or the mobility management entity, and establishes a third MPTCP substream.
  • the third MPTCP sub-flow is a sub-flow established by the first base station using the third IP address for the user equipment and the communication peer, and the third IP address is an IP address allocated by the core network gateway for the user equipment, and the core network gateway is first.
  • the base station and the second base station are connected.
  • the user equipment When the user equipment is switched by the first base station to the second base station, the user equipment communicates with the communication peer end by using the third substream, and the first base station cancels the first substream.
  • the first MPTCP sub-flow is mainly used to transmit service data of the user equipment, so the user equipment may be established before the service data needs to be transmitted.
  • the third MPTCP sub-flow is mainly used to transmit data between the user equipment and the communication peer when the user equipment is switched from the first base station to the second base station, so the user equipment may establish a third MPTCP sub-flow before performing handover.
  • the first base station serves as the serving base station of the user equipment
  • the first base station establishes a third substream for the user equipment, and the user equipment uses the third substream to pass the first base station and the communication peer end.
  • Communicate When the data traffic between the user equipment and the communication peer exceeds a preset threshold, the first base station establishes a first substream, and the data of the user equipment and the communication peer mainly uses the first substream to transmit through the first base station.
  • the first base station completes the management function of the substream of the user equipment. After receiving the data packet sent by the user equipment, the first base station adapts the data packet. Specifically, the first base station adds a source address to the data packet sent by the user. When the first MPTCP substream is used to communicate with the communication peer, the source address is the first IP address, and when the third MPTCP substream is used to communicate with the communication peer, the source address is the third IP address. Similarly, when the first base station receives the data packet whose destination address is the first IP address from the first gateway, or from the core network When receiving the data packet whose destination address is the third IP address, the gateway adapts the data packet and sends the adapted data packet to the user equipment.
  • the third MPTCP substream is used instead of the first MPTCP substream to communicate with the communication peer, that is, only the third MPTCP substream is sent to the communication peer, and
  • the third MPTCP substream receives the data sent by the communication peer, and does not use the first MPTCP substream.
  • the first base station cancels the first MPTCP substream.
  • the first base station releases the first IP address, and instructs the first gateway to release the first IP address.
  • the first base station sends an indication message for releasing the first IP address to the first gateway.
  • the first base station releases the first IP address, that is, the first IP address is no longer occupied.
  • the first gateway releases the first IP address, that is, the binding between the first IP address and the user equipment is released.
  • the first gateway may allocate the first IP address to other user equipments.
  • the user equipment switches to the second base station, and the third MPTCP substream is no longer transmitted by the first base station, but the third MPTCP substream is transmitted by the second base station, and the communication peer Communicate.
  • the second base station acquires the second IP address, and establishes a second substream for the user equipment.
  • the second gateway needs to allocate a new IP address to the user equipment.
  • the second gateway is connected to the second base station, and the IP address assigned by the second gateway to the user equipment is the second IP address.
  • the second base station acquires the second IP address from the user equipment or the mobility management entity, and establishes a second MPTCP substream, where the second MPTCP subflow is The second base station uses the second IP address as a substream established by the user equipment and the communication peer.
  • the first substream is revoked after the second substream is established.
  • the first base station sends a context of an MPTCP sub-flow proxy (Proxy) to the second base station, where the first base station may directly go to the second base station.
  • MPTCP sub-flow proxy Proxy
  • the context of the MPTCP sub-flow proxy may include at least one of the following five kinds of information: an MPTCP layer sequence number between the first base station and the communication peer end, a token Token, the first base station The serial number of the first substream between the communication peer, the address of the first substream identifies the Address ID, the substream proxy layer sequence number between the first base station and the communication peer end, and the TCP sequence number of the Transmission Control Protocol The mapping relationship between the first sub-flow proxy and the user equipment.
  • the context of the MPTCP sub-flow proxy (Proxy) in this embodiment includes all of the above five kinds of information.
  • the downlink data tunnel between the user equipment and the second base station and the downlink data tunnel between the second gateway and the second base station may be established at the same time.
  • the MPTCP Proxy of the second base station establishes the second MPTCP substream for the user equipment by using the second IP address
  • the first MPTCP substream is revoked.
  • the MPTCP layer sequence number sent by the first base station is continued, and the first MPTCP substream is revoked by the MPTCP layer signaling by using the address identifier of the first IP address.
  • the second base station After the second MPTCP substream is established, optionally, the second base station mainly transmits the service data of the user equipment by using the second MPTCP substream, so that the user equipment communicates with the communication peer.
  • the service data is transmitted through the second MPTCP substream, which reduces the data transmission amount of the third MPTCP substream and reduces the data load of the core network gateway.
  • the second base station cancels the second substream.
  • the second MPTCP sub-flow is used to transmit the service data of the user equipment.
  • the second MPTCP sub-flow may be revoked. This embodiment provides two alternative ways of revoking the second MPTCP substream.
  • the second base station determines that the data traffic transmitted by the second MPTCP substream is less than a preset threshold
  • the second MPTCP substream is revoked, and the second IP address is released, and the The second gateway releases the second IP address.
  • the second base station determines that the data traffic transmitted by the second MPTCP substream is less than a preset threshold, and deletes the network resource used by the user equipment to transmit the second MPTCP substream, including the first The second IP address and the bearer of the second MPTCP substream.
  • the user equipment is instructed to revoke the The second MPTCP substream instructs the second gateway to release the second IP address.
  • the user equipment After receiving the indication of the second MPTCP sub-flow sent by the second base station, the user equipment sends a request for revoking the second MPTCP sub-flow to the communication peer in the third MPTCP sub-flow. After the second MPTCP substream is revoked, the user equipment releases the second IP address.
  • the user equipment enters an idle state.
  • the user equipment receives downlink data in an idle state.
  • the core network gateway After the user equipment enters the idle state, when the core network gateway receives the downlink data of the user equipment, the downlink data of the user equipment is cached, and the downlink data notification (DDN, Downlink Data Notification) of the user equipment is sent to the mobility management entity.
  • the mobility management entity After receiving the downlink data notification of the user equipment sent by the core network gateway, the mobility management entity pages the user equipment, and the user equipment responds to the paging of the mobility management entity.
  • the mobility management entity instructs the core network gateway to send downlink data to the user equipment after the user equipment responds to the paging.
  • the mobility management system performs the functions of establishing, revoking, and managing different sub-stream data by the base station as a sub-flow proxy (Proxy), so that when the user equipment is in the first base station, A substream communicates with the communication peer.
  • the user equipment uses the third substream instead of the first substream to communicate with the communication peer through the first base station and the second base station.
  • the user equipment does not transmit the service data through the third substream, but transmits the service data through the second substream, so as to reduce the core network gateway load, so that the core network gateway can ensure other user equipments in the network. Business continuity when performing base station handover.
  • an embodiment of the present invention provides another mobility management method, which is applied to a user equipment.
  • the method includes the following steps:
  • the user equipment establishes a first substream and a third substream.
  • the first MPTCP sub-flow is a sub-flow established by the user equipment with the first IP address and the communication peer, and the first IP address is an IP address assigned by the first gateway to the user equipment, and the first gateway is connected to the first base station.
  • the third MPTCP substream is a substream established by the user equipment using the third IP address and the communication peer end, and the third IP address is set by the core network gateway for the user.
  • the assigned IP address, the core network gateway is connected to the first base station and the second base station.
  • the user equipment acquires the first IP address from the first gateway or the mobility management entity, establishes the first MPTCP sub-flow, and the user equipment acquires the third from the core network gateway or the mobility management entity. IP address, establish a third MPTCP subflow.
  • the user equipment uses the third substream to communicate with the communication peer end through the first base station, and cancels the first substream.
  • the third MPTCP substream is used instead of the first MPTCP substream to communicate with the communication peer, that is, only the third MPTCP substream is sent to the communication peer, and
  • the third MPTCP substream receives the data sent by the communication peer, and does not use the first MPTCP substream.
  • the user equipment revokes the first MPTCP substream.
  • the user equipment releases the first IP address, and instructs the first gateway to release the first IP address.
  • the user equipment may send an indication message for releasing the first IP address to the first gateway by using the first base station or the mobility management entity.
  • the user equipment releases the first IP address, that is, the first IP address is no longer occupied.
  • the first gateway releases the first IP address, that is, the binding between the first IP address and the user equipment is released.
  • the first gateway may allocate the first IP address to other user equipments.
  • the user equipment switches to the second base station, and the third MPTCP substream is no longer transmitted by the first base station, but the third MPTCP substream is transmitted by the second base station, and the communication peer Communicate.
  • the user equipment acquires the second IP address, and establishes a second substream with the communication peer.
  • the second IP address is an IP address assigned by the second gateway to the user equipment
  • the second MPTCP substream is a substream established by the user equipment using the second IP address and the communication peer end, and the second gateway is connected to the second base station, where The second gateway can be a distributed local gateway.
  • the embodiment provides three optional manners for the user equipment to obtain the second IP address.
  • the first type of obtaining the second IP address In the mode, the user equipment determines that the first gateway and the second gateway are not the same gateway by using the first gateway identifier and the second gateway identifier, and requests the second gateway to allocate an IP address for the user equipment, and receives the second IP sent by the second gateway. address.
  • the user equipment sends the first IP address or the first gateway identifier to the mobility management entity, where the mobility management entity determines that the first gateway and the second gateway are not the same gateway, and The second gateway is requested to allocate an IP address to the user equipment, and after receiving the second IP address sent by the second gateway, send the second IP address to the user equipment.
  • the user equipment sends the second gateway identifier to the first base station, where the first base station determines the second gateway identifier and the first gateway identifier, if the second gateway identifier and the first gateway If the identifiers are different, the user equipment is instructed to request an IP address from the second gateway.
  • the user equipment After obtaining the second IP address, the user equipment establishes a second MPTCP substream by using the second IP address.
  • the user equipment mainly transmits the service data by using the second MPTCP sub-stream to communicate with the communication peer.
  • the service data is transmitted through the second MPTCP substream, which reduces the data transmission amount of the third MPTCP substream and reduces the data load of the core network gateway.
  • the user equipment cancels the second substream.
  • the user equipment When the data traffic transmitted through the second MPTCP substream is less than a preset threshold, the user equipment revokes the second MPTCP substream.
  • the user equipment determines that when the data traffic transmitted by the second MPTCP substream is less than a preset threshold, the second MPTCP subflow is revoked, and the second IP address is released, and the second gateway is instructed to release the second IP address.
  • the user equipment cancels the second MPTCP sub-flow after receiving the indication message of the second MPTCP sub-flow sent by the mobility management entity. Further optionally, after the second MPTCP substream is deleted, the user equipment enters an idle state.
  • the user equipment receives downlink data in an idle state.
  • step 705 in the embodiment corresponding to FIG. 7 after the user equipment enters the idle state, when the mobility management entity pages the user equipment, the user equipment responds to the paging of the mobility management entity, and from the core network gateway. Receive downlink data.
  • the mobility management method provided by the embodiment of the present invention establishes a subflow and revokes The sub-flow and the data that are greater than the different sub-flows are managed, and communicate with the communication peer through the first sub-flow in the first base station, and the third sub-flow is used by the user equipment when the user equipment is switched from the first gateway to the second gateway. Instead of the first substream, the communication peer is communicated to ensure business continuity.
  • the user equipment does not transmit the service data through the third substream, but transmits the service data through the second substream, so as to reduce the core network gateway load, so that the core network gateway can ensure other user equipments in the network. Business continuity when performing base station handover.
  • the embodiment of the present invention provides another mobility management method, which is applied to the first base station.
  • the method includes the following steps:
  • the first base station establishes a first substream and a third substream for the user equipment.
  • the first base station functions as a sub-flow proxy (Proxy) to complete sub-flow establishment, revocation, and management of different sub-stream data, so that user equipments that do not support multiple sub-streams are also
  • the mobility management method provided by the present invention can be implemented.
  • the first base station acquires a first IP address from the user equipment or the mobility management entity, establishes a first MPTCP substream, and the first base station performs user equipment or mobility management.
  • the entity obtains the third IP address and establishes a third MPTCP substream.
  • the first base station After the substream of the user equipment is established, the first base station completes the management function of the substream of the user equipment.
  • the first base station receives and transmits data of the user equipment through the first MPTCP sub-flow, so that the user equipment communicates with the communication peer through the first MPTCP sub-flow.
  • the first base station receives the standard data packet sent by the user equipment, converts the standard data packet received from the user equipment into the first MPTCP sub-stream data packet, and passes the converted first MPTCP sub-flow data packet through the first The gateway sends to the communication peer.
  • the source address of the first MPTCP substream packet obtained after the first base station is converted is the first IP address.
  • the first base station receives the first MPTCP sub-flow data packet sent by the first gateway, converts the first MPTCP sub-flow data packet received by the first base station from the first gateway into a standard data packet, and sends the converted standard data packet. And to the user equipment, where the target address of the first MPTCP sub-flow data packet received by the first base station from the first gateway is the first IP address.
  • the first base station withdraws The first substream of the pin.
  • the third MPTCP substream is used instead of the first MPTCP substream to communicate with the communication peer, that is, only the third MPTCP substream is sent to the communication peer, and
  • the three MPTCP substreams receive data sent by the communication peer.
  • the first base station receives and transmits data of the user equipment through the third MPTCP substream
  • the first base station receives the standard data packet sent by the user equipment, and converts the standard data packet received from the user equipment into the third MPTCP substream data packet. And transmitting the converted third MPTCP sub-flow data packet to the communication peer end via the core network gateway.
  • the source address of the third MPTCP substream packet obtained after the first base station is converted is a third IP address.
  • the first base station receives the third MPTCP sub-flow data packet sent by the core network gateway, converts the third MPTCP sub-flow data packet received by the first base station from the core network gateway into a standard data packet, and sends the converted standard data packet.
  • the target address of the third MPTCP sub-flow packet received by the first base station from the core network gateway is a third IP address.
  • the first base station cancels the first MPTCP substream.
  • the first base station releases the first IP address, and instructs the first gateway to release the first IP address.
  • the first base station determines that the second gateway is not the same gateway as the first gateway, so that the user equipment acquires the second IP address.
  • the first base station receives the second gateway identifier sent by the user equipment, and the second gateway identifier is used to indicate the second gateway, and the second The base station is connected to the second gateway.
  • the first base station When the second gateway identifier is different from the first gateway identifier, the first base station generates a determination indication message, where the determination indication message is used to indicate that the second gateway is not the same gateway as the first gateway.
  • the first base station sends a judgment indication message to the user equipment, so that the user equipment acquires the second IP address, and the second IP address is an IP address allocated by the second gateway to the user equipment.
  • the first substream is revoked after the second substream is established.
  • the first base station sends the MPTCP to the second base station.
  • the context of the MPTCP sub-flow proxy may include at least one of the following five types of information: The MPTCP layer sequence number between the base station and the communication peer, the token Token, the sequence number of the first substream between the first base station and the communication peer, the address identifier of the first substream, the Address ID, and the first base station and the communication The mapping relationship between the substream proxy layer sequence number and the transmission control protocol TCP layer sequence number between the peers, and the TCP sequence number between the first substream proxy and the user equipment.
  • the context of the MPTCP sub-flow proxy (Proxy) in this embodiment includes all of the above five kinds of information.
  • the second base station establishes the second substream
  • the downlink data tunnel between the user equipment and the second base station and the downlink data tunnel between the second gateway and the second base station may be established at the same time.
  • the MPTCP Proxy of the second base station establishes the second MPTCP substream for the user equipment by using the second IP address
  • the first MPTCP substream is revoked.
  • the MPTCP layer sequence number sent by the first base station is continued, and the first MPTCP substream is revoked by the MPTCP layer signaling by using the address identifier of the first IP address.
  • the first base station provided by the embodiment of the present invention performs the functions of establishing, revoking, and managing different sub-stream data, so that the user equipment communicates with the communication peer flow by using the first sub-flow through the first base station.
  • the first base station communicates with the communication peer stream by using the third substream, thereby ensuring service continuity of the user equipment.
  • the first base station determines the first gateway and the second gateway, and when the first gateway and the second gateway are not the same gateway, sends a judgment to the user equipment.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • the computer readable medium may include RAM (Random) Access Memory, ROM (Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) Optical disk) or other optical disk storage, magnetic storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also. Any connection may suitably be a computer readable medium.
  • the disc and the disc include a CD (Compact Disc), a laser disc, a compact disc, a DVD disc (Digital Versatile Disc), a floppy disc, and a Blu-ray disc, wherein the disc is usually magnetically copied, The disc uses a laser to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明的实施例提供一种移动性管理的方法、装置及系统,涉及通信领域,能够保证用户设备与通信对端之间的业务连续性。具体方案为:用户设备建立第一子流以及第三子流,当用户设备由第一基站向第二基站切换时,用户设备使用第三子流通过第一基站与通信对端进行通信,并撤销第一子流,当第二网关与第一网关不是同一网关时,用户设备获取第二IP地址,并与通信对端建立第二子流,用户设备撤销第二子流,用户设备在空闲态接收下行数据。本发明用于无线网络中的移动性管理。

Description

一种移动性管理的方法、装置及系统 技术领域
本发明涉及通信领域,尤其涉及一种移动性管理的方法、装置及系统。
背景技术
当前的通信技术发展出各种各样的接入技术,比如蜂窝网络的2G/3G/4G接入技术、WLAN(Wireless Local Area Networks,无线局域网)接入技术、光纤接入技术以及蓝牙接入技术等。在一个通信终端中可以集成多种接入技术,如何有效利用通信终端(如用户终端)中的各种接入技术提升通信效率和用户体验是当前技术热点之一。
在实现多路接入的技术中,MPTCP(Multi-Path Transmission Control Protocol,多路径传输控制协议)技术是发展的比较成熟的一种,可以分发数据包通过多种接入技术的通路在用户终端和网络之间进行传递。在TCP(Transmission Control Protocol,传输控制协议)/IP(Internet Protocol,网络互连协议)协议栈架构的socket(套接字)和TCP层之间,增加MPTCP层,由它负责管理多个子TCP模块。通信双方可以使用不同的地址对,建立TCP子流连接,这些TCP子流可以在一个或者多个接入技术的网络上传输,MPTCP层负责选择对业务数据流的分包组包,选路和调度。每个子流通过关联和管理多条TCP子流,并发传输数据,提高带宽利用率和传输性能,socket和应用层不用关心传输业务数据流的具体TCP子流。
在单接入技术下,比如蜂窝网络,当通信双方中的一方在蜂窝网络中移动时,如果其IP地址发生改变,则导致通信双方的TCP连接中断,不能保证用户设备的业务连续性。
发明内容
本发明的实施例提供一种移动性管理的方法、装置及系统能够保证用户设备的业务连续性。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,一种移动性管理系统,包括:用户设备,第一基站,第二基站,第一网关,第二网关,核心网网关以及通信对端,所述用户设备通过第一子流与所述通信对端进行通信,所述第一子流为所述用户设备使用第一网际互连协议IP地址与所述通信对端建立的子流,所述第一IP地址是所述第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接,
所述用户设备,用于当所述用户设备由所述第一基站向所述第二基站切换时,使用第三子流通过所述第一基站与所述通信对端进行通信,并撤销所述第一子流,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
所述用户设备,还用于当所述第一子流撤消后,使用所述第三子流通过所述第二基站与所述通信对端进行通信;
所述用户设备,还用于当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,并与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述用户设备使用所述第二IP地址与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
结合第一方面,在第一种可能的实现方式中,
在所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述用户设备,还用于获取第一IP地址,并与所述通信对端建立第一子流;
在所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述用户设备,还用于获取第三IP地址,并与所述通信对端建立第三子流。
结合第一方面,在第二种可能的实现方式中,
所述用户设备,还用于在所述第一子流撤销之后,释放所述第一IP地址,并向所述第一网关发送释放所述第一IP地址的指示消息;
所述第一网关,用于在接收所述用户设备发送的释放所述第一IP地址的指示消息后,释放所述第一IP地址。
结合第一方面,在第三种可能的实现方式中,
所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
当所述用户设备与第一基站连接时,接收所述第一基站发送的第一网关标识,所述第一网关标识用于指示所述第一网关;
当所述用户设备由所述第一基站向所述第二基站切换时,接收所述第二基站发送的第二网关标识,所述第二网关标识用于指示所述第二网关;
如果所述第二网关标识与所述第一网关标识不同,则所述用户设备向所述第二网关发送获取IP地址的请求消息,并接收所述第二网关发送的所述第二IP地址。
结合第一方面,在第四种可能的实现方式中,
所述移动性管理系统还包括移动性管理实体,所述移动性管理实体用于管理所述第二基站和所述第二网关,所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将所述第一IP地址或者第一网关标识发送至所述移动性管理实体,所述第一网关标识用于指示所述第一网关;
所述移动性管理实体确定所述第一IP地址是否为所述第二网关为所述用户设备分配的IP地址,或者所述第一网关标识是否与第二网关标识相同,所述第二网关标识用于指示所述第二网关;
如果所述第一IP地址不是所述第二网关为所述用户设备分配的IP地址,或者所述第一网关标识与所述第二网关标识不同,则所述移动性管理实体向所述第二网关为所述用户设备申请分配IP地 址,并将从所述第二网关接收的所述第二IP地址发送至所述用户设备。
结合第一方面,在第五种可能的实现方式中,
所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将第二网关标识发送至所述第一基站,所述第二网关标识用于指示所述第二网关;
如果所述第二网关标识与第一网关标识不同,则所述第一基站向所述用户设备发送判断指示消息,所述第一网关标识用于指示所述第一网关,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
所述用户设备在接收所述判断指示消息后向所述第二网关发送获取IP地址的请求消息,并接收所述第二网关发送的所述第二IP地址。
结合第一方面,在第六种可能的实现方式中,
在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述用户设备,还用于撤销所述第二子流。
结合第一方面,在第七种可能的实现方式中,
所述移动性管理系统还包括移动性管理实体,所述移动性管理实体用于管理所述第二基站和所述第二网关;
在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述移动性管理实体,用于指示所述用户设备撤销所述第二子流;
所述用户设备,还用于撤销所述第二子流。
结合第一方面的第六种可能的实现方式或者第一方面的第七种可能的实现方式,在第八种可能的实现方式中,
所述用户设备,还用于在撤销所述第二子流后,释放所述第二 IP地址,并指示所述第二网关释放所述第二IP地址;
所述第二网关,用于释放所述第二IP地址。
结合第一方面,在第九种可能的实现方式中,
在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站,用于指示所述用户设备撤销所述第二子流,并指示所述第二网关释放所述第二IP地址;
所述用户设备,还用于撤销所述第二子流,并释放所述第二IP地址;
所述第二网关,用于释放所述第二IP地址。
结合第一方面的第九种可能的实现方式,在第十种可能的实现方式中,
所述用户设备,还用于在所述用户设备释放所述第二IP地址后,进入空闲态;
所述核心网网关,用于在所述用户设备进入空闲态后缓存所述用户设备的下行数据,并向所述移动性管理实体发送所述用户设备的下行数据通知;
所述移动性管理实体,还用于接收所述核心网网关发送的所述用户设备的下行数据通知,并寻呼所述用户设备;
所述用户设备,还用于响应所述移动性管理实体的寻呼。
结合第一方面的第十种可能的实现方式,在第十一种可能的实现方式中,
所述移动性管理实体,还用于在所述用户设备响应寻呼后指示所述核心网网关向所述用户设备发送下行数据;
所述核心网网关,还用于向所述用户设备发送下行数据。
结合第一方面,在第十二种可能的实现方式中,
所述移动性管理系统还包括:移动性管理实体、在线计费系统OCS以及策略和计费规则功能PCRF,
所述移动性管理实体,用于从所述线计费系统获取所述用户设备的可用额度,并将所述用户设备的可用额度发送至所述第一网关;
所述移动性管理实体,还用于从所述策略和计费规则功能获取所述用户设备的计费规则,并将所述用户设备的计费规则发送至所述第一网关;
所述第一网关,还用于当用户设备通过所述第一子流与所述通信对端进行通信时,根据所述用户设备的计费规则对所述用户设备的可用额度进行扣减,并向在线计费系统发送所述用户设备的可用额度余额。
结合第一方面,在第十三种可能的实现方式中,
所述移动性管理系统还包括:移动性管理实体以及离线计费系统OFCS,
所述第一网关,还用于向所述移动性管理实体发送所述用户设备在所述第一网关的话单;
所述移动性管理实体,用于将所述用户设备在所述第一网关的话单发送至离线计费系统。
第二方面,一种移动性管理系统,包括:用户设备,第一基站,第二基站,第一网关,第二网关,核心网网关以及通信对端,所述用户设备通过第一子流与所述通信对端进行通信,所述第一子流为所述第一基站使用第一网际互连协议IP地址为所述用户设备与所述通信对端建立的子流,所述第一IP地址是所述第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接,
所述用户设备,用于当所述用户设备由所述第一基站向所述第二基站切换时,使用第三子流通过所述第一基站与所述通信对端进行通信,所述第三子流为所述第一基站使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
所述第一基站,还用于撤消所述第一子流;
所述用户设备,还用于当所述第一子流撤消后,使用所述第三子流通过所述第二基站与所述通信对端进行通信;
所述第二基站,用于当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,并为所述用户设备与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述第二基站使用所述第二IP地址为所述用户设备与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
结合第二方面,在第一种可能的实现方式中,在所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述第一基站,还用于获取第一IP地址,并为所述用户设备与所述通信对端建立第一子流;
在所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述第一基站,还用于获取第三IP地址,并为所述用户设备与所述通信对端建立第三子流。
结合第二方面,在第二种可能的实现方式中,
所述第一基站,还用于在所述第一子流撤销之后,释放所述第一IP地址,并向所述第一网关发送释放所述第一IP地址的指示消息;
所述第一网关,用于在接收所述第一基站发送的释放所述第一IP地址的指示消息后,释放所述第一IP地址。
结合第二方面,在第三种可能的实现方式中,
在所述用户设备由所述第一基站向所述第二基站切换时,当所述第一网关与所述第二网关不是统一网关时,所述第一基站还用于向所述第二基站发送第一子流代理Proxy的上下文,所述第一子流代理的上下文至少包括以下信息中的至少一种:
所述第一基站与所述通信对端之间的子流代理层序列号,令牌Token,所述第一基站与所述通信对端之间的所述第一子流的序列号,所述第一子流的地址标识Address ID,所述第一基站与所述通 信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,所述所述第一子流代理与所述用户设备之间的TCP序列号。
结合第二方面,在第四种可能的实现方式中,
在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站,还用于撤销所述第二子流。
结合第二方面的第四种可能的实现方式,在第五种可能的实现方式中,
所述第二基站,还用于在撤销所述第二子流后,释放所述第二IP地址,并指示所述第二网关释放所述第二IP地址;
所述第二网关,用于释放所述第二IP地址。
结合第二方面,在第六种可能的实现方式中,
在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站用于撤销所述第二子流,并指示所述第二网关释放所述第二IP地址;
所述第二基站,还用于释放所述第二IP地址;
所述第二网关,用于释放所述第二IP地址。
第三方面,一种用户设备,包括:多路径控制单元以及接收单元,所述用户设备通过第一子流与通信对端进行通信,所述第一子流为所述用户设备使用第一网际互连协议IP地址与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接,
所述多路径控制单元,用于当所述用户设备由所述第一基站向所述第二基站切换时,使用第三子流通过所述第一基站与所述通信对端进行通信,并撤销第一子流,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接,所述第一子流为所述用户设备 使用第一IP地址与所述通信对端建立的子流,所述第一IP地址是所述第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
所述多路径控制单元,还用于当所述第一子流撤消后,使用所述第三子流通过所述第二基站与所述通信对端进行通信;
所述接收单元,用于当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二网关与所述第二基站连接;
所述多路径控制单元,还用于与所述通信对端建立第二子流,所述第二子流为所述用户设备使用所述第二IP地址与所述通信对端建立的子流。
结合第三方面,在第一种可能的实现方式中,
在所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述接收单元,还用于获取第一IP地址;
所述多路径控制单元,还用于与所述通信对端建立第一子流;
在所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述接收单元,还用于获取第三IP地址;
所述多路径控制单元,还用于与所述通信对端建立第三子流。
结合第三方面,在第二种可能的实现方式中,
所述多路径控制单元,还用于在所述第一子流撤销之后,释放所述第一IP地址,并生成释放所述第一IP地址的指示消息;
所述用户设备还包括发送单元,用于向所述第一网关发送释放所述第一IP地址的指示消息,以便于所述第一网关释放所述第一IP地址。
结合第三方面,在第三种可能的实现方式中,
所述接收单元,还用于接收所述第一基站发送的第一网关标识,所述第一网关标识用于指示所述第一网关;
所述接收单元,还用于接收所述第二基站发送的第二网关标识,所述第二网关标识用于指示所述第二网关;
所述多路径控制单元,还用于判断所述第二网关标识与所述第一网关标识是否相同,如果所述第二网关标识与所述第一网关标识不同,则生成获取IP地址的请求消息;
所述用户设备还包括发送单元,用于向所述第二网关发送所述获取IP地址的请求消息;
所述接收单元,还用于接收所述第二网关发送的所述第二IP地址。
结合第三方面,在第四种可能的实现方式中,
所述用户设备还包括发送单元,
所述发送单元,用于当所述用户设备由所述第一基站向所述第二基站切换时,将所述第一IP地址或者第一网关标识发送至移动性管理实体,以便于所述移动性管理实体根据所述第一IP地址或者第一网关标识确定所述第二网关与所述第一网关是否为同一网关,并在所述第二网关与所述第一网关不是同一网关时向所述第二网关为所述用户设备申请分配IP地址,将从所述第二网关接收的所述第二IP地址发送至所述用户设备,所述第一网关标识用于指示所述第一网关,所述移动性管理实体用于管理所述第二基站和所述第二网关;
所述接收单元,还用于接收所述移动性管理实体发送的所述第二IP地址。
结合第三方面,在第五种可能的实现方式中,
所述用户设备还包括发送单元,用于当所述用户设备由所述第一基站向所述第二基站切换时,将第二网关标识发送至所述第一基站,以便于所述第一基站确定所述第二网关与所述第一网关是否为同一网关,所述第二网关标识用于指示所述第二网关;
所述接收单元,还用于接收所述第一基站发送的判断指示消息,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
所述多路径控制单元,还用于生成获取IP地址的请求消息;
所述发送单元,还用于向所述第二网关发送所述获取IP地址的请求消息;
所述接收单元,还用于接收所述第二网关发送的所述第二IP地址。
结合第三方面,在第六种可能的实现方式中,
在所述第二子流建立后,所述多路径控制单元还用于确定所述用户设备与所述通信对端之间的数据流量是否小于预设阈值;
当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述多路径控制单元,还用于撤销所述第二子流,并释放所述第二IP地址。
结合第三方面,在第七种可能的实现方式中,
所述接收单元,还用于接收移动性管理实体或者所述第二基站发送的撤销所述第二子流的指示消息,所述移动性管理实体用于管理所述第二基站和所述第二网关;
所述多路径控制单元,还用于在所述接收单元接收到所述移动性管理实体或者所述第二基站发送的撤销所述第二子流的指示消息后,撤销所述第二子流,并释放所述第二IP地址。
结合第三方面,在第八种可能的实现方式中,
所述多路径控制单元,还用于生成释放所述第二IP地址的指示消息;
所述用户设备还包括发送单元,用于向所述第二网关发送所述释放所述第二IP地址的指示消息。
结合第三方面的第八种可能的实现方式,在第九种可能的实现方式中,
所述用户设备还包括状态控制单元,用于在所述发送单元向所述第二网关发送所述释放所述第二IP地址的指示消息后,控制所述用户设备进入空闲态;
所述接收单元,还用于接收所述移动性管理实体的寻呼;
所述多路径控制单元,还用于在所述用户设备进入空闲态后,生成寻呼响应消息;
所述用户设备还包括发送单元,用于向所述移动性管理实体发送所述寻呼响应消息;
所述接收单元,还用于在所述用户设备向所述移动性管理实体发送所述寻呼响应消息后,从所述核心网网关接收所述用户设备的下行数据。
第四方面,一种第一基站,包括子流代理单元以及收发单元;
所述收发单元,用于通过第一子流接收和发送用户设备的数据,以便于用户设备通过所述第一子流与通信对端进行通信,其中,所述第一子流为所述第一基站使用第一网际互连协议IP地址为所述用户设备与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
所述收发单元,还用于当所述用户设备由所述第一基站向第二基站切换时,通过第三子流接收和发送用户设备的数据,以便于用户设备通过所述第三子流与所述通信对端进行通信,其中,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
所述子流代理单元,用于撤销所述第一子流。
结合第四方面,在第一种可能的实现方式中,
所述收发单元,具体用于接收所述用户设备发送的标准数据包,还用于接收所述第一网关发送的第一子流数据包;
所述子流代理单元,具体用于将所述收发单元从所述用户设备接收到的所述标准数据包转换为所述第一子流数据包,还用于将所述收发单元从所述第一网关接收到的所述第一子流数据包转换为所述标准数据包;
所述收发单元,还用于将经过所述子流代理单元转换所得的所述第一子流数据包经所述第一网关发送至所述通信对端,还用于将 经过所述子流代理单元转换所得的所述标准数据包发送至所述用户设备。
结合第四方面,在第二种可能的实现方式中,
所述收发单元,还用于获取所述第一IP地址;
所述子流代理单元,还用于使用所述第一IP地址与所述通信对端建立所述第一子流,以便于用户设备通过所述第一子流与所述通信对端进行通信;
所述收发单元,还用于获取所述第三IP地址;
所述子流代理单元,还用于使用所述第三IP地址与所述通信对端建立所述第三子流,以便于所述用户设备通过所述第三子流与所述通信对端进行通信。
结合第四方面,在第三可能的实现方式中,
所述子流代理单元,还用于在所述第一子流撤销之后,释放所述第一IP地址,并生成释放所述第一IP地址的指示消息;
所述发送器,还用于向所述第一网关发送所述子流代理单元生成的释放所述第一IP地址的指示消息。
结合第四方面,在第四种可能的实现方式中,
所述收发单元,还用于当所述用户设备由所述第一基站向第二基站切换时,接收所述用户设备发送的第二网关标识,所述第二网关标识用于指示第二网关,所述第二基站与所述第二网关连接;
所述子流代理单元,还用于当所述第二网关标识与第一网关标识不同时,生成判断指示消息,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
所述收发单元,还用于向所述用户设备发送所述判断指示消息,以便于所述用户设备获取第二IP地址,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址。
结合第四方面的第四种可能的实现方式,在第五种可能的实现方式中,
在所述用户设备由所述第一基站向所述第二基站切换时,当所 述第一网关与所述第二网关不是统一网关时,所述收发单元,还用于向所述第二基站发送第一子流代理Proxy的上下文,所述第一子流代理的上下文至少包括以下信息中的至少一种:
所述第一基站与所述通信对端之间的子流代理层序列号,令牌Token,所述第一基站与所述通信对端之间的所述第一子流的序列号,所述第一子流的地址标识Address ID,所述第一基站与所述通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,所述所述第一子流代理与所述用户设备之间的TCP序列号。
第五方面,一种移动性管理方法,用户设备通过第一子流与通信对端进行通信,所述第一子流为所述用户设备使用第一网际互连协议IP地址与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
当所述用户设备由第一基站向第二基站切换时,所述用户设备使用第三子流通过所述第一基站与通信对端进行通信,并撤销所述第一子流,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
所述第一子流撤消后,所述用户设备使用所述第三子流通过所述第二基站与所述通信对端进行通信;
当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,并与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述用户设备使用所述第二IP地址与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
结合第五方面,在第一种可能的实现方式中,
所述用户设备通过所述第一子流与所述通信对端进行通信之 前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述方法还包括:所述用户设备获取第一IP地址,并与所述通信对端建立第一子流;
所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述方法还包括:所述用户设备获取第三IP地址,并与所述通信对端建立第三子流。
结合第五方面,在第二种可能的实现方式中,
所述第一子流撤销之后,所述方法还包括:
所述用户设备释放所述第一IP地址,并向所述第一网关发送释放所述第一IP地址的指示消息;
所述第一网关在接收所述用户设备发送的释放所述第一IP地址的指示消息后,释放所述第一IP地址。
结合第五方面,在第三种可能的实现方式中,
所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
当所述用户设备与第一基站连接时,接收所述第一基站发送的第一网关标识,所述第一网关标识用于指示所述第一网关;
当所述用户设备由所述第一基站向所述第二基站切换时,接收所述第二基站发送的第二网关标识,所述第二网关标识用于指示所述第二网关;
如果所述第二网关标识与所述第一网关标识不同,则所述用户设备向所述第二网关发送获取IP地址的请求消息,并接收所述第二网关发送的所述第二IP地址。
结合第五方面,在第四种可能的实现方式中,
所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将所述第一IP地址或者第一网关标识发送至移动性管理实 体,所述第一网关标识用于指示所述第一网关,所述移动性管理实体用于管理所述第二基站和所述第二网关;
所述移动性管理实体确定所述第一IP地址是否为所述第二网关为所述用户设备分配的IP地址,或者所述第一网关标识是否与第二网关标识相同,所述第二网关标识用于指示所述第二网关;
如果所述第一IP地址不是所述第二网关为所述用户设备分配的IP地址,或者所述第一网关标识与所述第二网关标识不同,则所述移动性管理实体向所述第二网关为所述用户设备申请分配IP地址,并将从所述第二网关接收的所述第二IP地址发送至所述用户设备。
结合第五方面,在第五种可能的实现方式中,
所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将第二网关标识发送至所述第一基站,所述第二网关标识用于指示所述第二网关;
如果所述第二网关标识与第一网关标识不同,则所述第一基站向所述用户设备发送判断指示消息,所述第一网关标识用于指示所述第一网关,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
所述用户设备在接收判断指示消息后向所述第二网关发送获取IP地址的请求消息,并接收所述第二网关发送的所述第二IP地址。
结合第五方面,在第六种可能的实现方式中,
所述用户设备获取第二IP地址,并与所述通信对端建立第二子流之后,所述方法还包括:
当通过所述第二子流传输的数据流量小于预设阈值时,所述用户设备撤销所述第二子流。
结合第五方面,在第七种可能的实现方式中,
所述用户设备获取第二IP地址,并与所述通信对端建立第二子 流之后,所述方法还包括:
当通过所述第二子流传输的数据流量小于预设阈值时,移动性管理实体指示所述用户设备撤销所述第二子流,所述移动性管理实体用于管理所述第二基站和所述第二网关;
所述用户设备撤销所述第二子流。
结合第五方面的六种可能的实现方式或者第五方面的七种可能的实现方式,在第八种可能的实现方式中,
所述用户设备撤销所述第二子流之后,所述方法还包括:
所述用户设备释放所述第二IP地址,并指示所述第二网关释放所述第二IP地址。
结合第五方面,在第九种可能的实现方式中,
所述用户设备获取第二IP地址,并与所述通信对端建立第二子流之后,所述方法还包括:
当通过所述第二子流传输的数据流量小于预设阈值时,所述第二基站指示所述用户设备撤销所述第二子流,并指示所述第二网关释放所述第二IP地址,所述移动性管理实体用于管理所述第二基站和所述第二网关;
所述用户设备撤销所述第二子流,并释放所述第二IP地址;
所述第二网关释放所述第二IP地址。
结合第五方面的第九种可能的实现方式,在第十种可能的实现方式中,所述用户设备撤销所述第二子流,并释放所述第二IP地址之后,所述方法还包括:
所述用户设备进入空闲态;
所述核心网网关在所述用户设备进入空闲态后缓存所述用户设备的下行数据,并向所述移动性管理实体发送所述用户设备的下行数据通知;
所述移动性管理实体接收所述核心网网关发送的所述用户设备的下行数据通知,并寻呼所述用户设备;
所述用户设备响应所述移动性管理实体的寻呼。
结合第五方面的第十种可能的实现方式,在第十一种可能的实现方式中,所述用户设备响应所述移动性管理实体的寻呼之后,所述方法还包括:
所述移动性管理实体在所述用户设备响应寻呼后指示所述核心网网关向所述用户设备发送下行数据。
结合第五方面,在第十二种可能的实现方式中,所述方法还包括:
移动性管理实体从在线计费系统OCS获取所述用户设备的可用额度,并将所述用户设备的可用额度发送至所述第一网关;
所述移动性管理实体从策略和计费规则功能PCRF获取所述用户设备的计费规则,并将所述用户设备的计费规则发送至所述第一网关;
所述第一网关当用户设备通过所述第一子流与所述通信对端进行通信时,根据所述用户设备的计费规则对所述用户设备的可用额度进行扣减,并向在线计费系统发送所述用户设备的可用额度余额。
结合第五方面,在第十三种可能的实现方式中,所述方法还包括:
所述第一网关向移动性管理实体发送所述用户设备在所述第一网关的话单;
移动性管理实体将所述用户设备在所述第一网关的话单发送至离线计费系统OFCS。
结合第六方面,一种移动性管理方法,包括:
用户设备通过第一子流与通信对端进行通信,所述第一子流为所述第一基站使用第一网际互连协议IP地址为所述用户设备与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备使用第三子流通过所述第一基站与所述通信对端进行通信,所述第三子流为所述第一基站使用第三IP地址为所述用户设备 与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
所述第一基站撤消所述第一子流;
所述第一子流撤消后,所述用户设备使用所述第三子流通过所述第二基站与所述通信对端进行通信;
当所述第二网关与所述第一网关不是同一网关时,所述第二基站获取第二IP地址,并为所述用户设备与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述第二基站使用所述第二IP地址为所述用户设备与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
结合第六方面,在第一种可能的实现方式中,
所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述方法还包括:所述第一基站获取第一IP地址,并为所述用户设备与所述通信对端建立第一子流;
所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述方法还包括:所述第一基站获取第三IP地址,并为所述用户设备与所述通信对端建立第三子流。
结合第六方面,在第二种可能的实现方式中,
所述第一基站撤消所述第一子流之后,所述方法还包括:
所述第一基站释放所述第一IP地址,并向所述第一网关发送释放所述第一IP地址的指示消息;
所述第一网关,在接收所述第一基站发送的释放所述第一IP地址的指示消息后,释放所述第一IP地址。
结合第六方面,在第三种可能的实现方式中,
在所述用户设备由所述第一基站向所述第二基站切换时,当所 述第一网关与所述第二网关不是统一网关时,所述第一基站还用于向所述第二基站发送第一子流代理Proxy的上下文,所述第一子流代理的上下文至少包括以下信息中的至少一种:
所述第一基站与所述通信对端之间的子流代理层序列号,令牌Token,所述第一基站与所述通信对端之间的所述第一子流的序列号,所述第一子流的地址标识Address ID,所述第一基站与所述通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,所述所述第一子流代理与所述用户设备之间的TCP序列号。
结合第六方面,在第四种可能的实现方式中,
所述第二基站获取第二IP地址,并为所述用户设备与所述通信对端建立第二子流之后,所述方法还包括:
当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站撤销所述第二子流。
结合第六方面的第四种可能的实现方式,在第五种可能的实现方式中,
所述第二基站撤销所述第二子流之后,所述方法还包括:
所述第二基站释放所述第二IP地址,并指示所述第二网关释放所述第二IP地址。
结合第六方面,在第六种可能的实现方式中,
所述第二基站获取第二IP地址,并为所述用户设备与所述通信对端建立第二子流之后,所述方法还包括:
当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站撤销所述第二子流,并指示所述第二网关释放所述第二IP地址;
所述第二基站释放所述第二IP地址;
所述第二网关,释放所述第二IP地址。
第七方面,一种移动性管理方法,应用于用户设备,所述用户设备通过第一子流与通信对端进行通信,所述第一子流为所述用户 设备使用第一网际互连协议IP地址与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
当所述用户设备由第一基站向第二基站切换时,所述用户设备使用第三子流通过所述第一基站与通信对端进行通信,并撤销所述第一子流,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备使用所述第三子流通过所述第二基站与所述通信对端进行通信;
当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,并与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述用户设备使用所述第二IP地址与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
结合第七方面,在第一种可能的实现方式中,
在所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述方法还包括:所述用户设备获取第一IP地址,并与所述通信对端建立第一子流;
在所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述方法还包括:所述用户设备获取第三IP地址,并与所述通信对端建立第三子流。
结合第七方面,在第二种可能的实现方式中,
所述用户设备在所述第一子流撤销之后,所述方法还包括:
释放所述第一IP地址,并生成释放所述第一IP地址的指示消息;
所述用户设备向所述第一网关发送释放所述第一IP地址的指示消息,以便于所述第一网关释放所述第一IP地址。
结合第七方面,在第三种可能的实现方式中,
所述当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,包括:
所述用户设备接收所述第一基站发送的第一网关标识,所述第一网关标识用于指示所述第一网关;
所述用户设备接收所述第二基站发送的第二网关标识,所述第二网关标识用于指示所述第二网关;
所述用户设备判断所述第二网关标识与所述第一网关标识是否相同,如果所述第二网关标识与所述第一网关标识不同,则生成获取IP地址的请求消息;
所述用户设备向所述第二网关发送所述获取IP地址的请求消息;
所述接收器接收所述第二网关发送的所述第二IP地址。
结合第七方面,在第四种可能的实现方式中,
所述当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,包括:
当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将所述第一IP地址或者第一网关标识发送至移动性管理实体,以便于所述移动性管理实体根据所述第一IP地址或者第一网关标识确定所述第二网关与所述第一网关是否为同一网关,并在所述第二网关与所述第一网关不是同一网关时向所述第二网关为所述用户设备申请分配IP地址,将从所述第二网关接收的所述第二IP地址发送至所述用户设备,所述第一网关标识用于指示所述第一网关,所述移动性管理实体用于管理所述第二基站和所述第二网关;
所述用户设备接收所述移动性管理实体发送的所述第二IP地 址。
结合第七方面,在第五种可能的实现方式中,
所述当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,包括:
当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将第二网关标识发送至所述第一基站,以便于所述第一基站确定所述第二网关与所述第一网关是否为同一网关,所述第二网关标识用于指示所述第二网关;
所述用户设备接收所述第一基站发送的判断指示消息,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
所述用户设备生成获取IP地址的请求消息;
所述用户设备向所述第二网关发送所述获取IP地址的请求消息;
所述用户设备接收所述第二网关发送的所述第二IP地址。
结合第七方面,在第六种可能的实现方式中,
所述用户设备获取第二IP地址,并与所述通信对端建立第二子流之后,所述方法还包括:
当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述用户设备撤销所述第二子流,并释放所述第二IP地址。
结合第七方面,在第七种可能的实现方式中,
所述用户设备获取第二IP地址,并与所述通信对端建立第二子流之后,所述方法还包括:
所述用户设备接收移动性管理实体或者所述第二基站发送的撤销所述第二子流的指示消息,所述移动性管理实体用于管理所述第二基站和所述第二网关;
在所述接收器接收到所述移动性管理实体或者所述第二基站发送的撤销所述第二子流的指示消息后,所述用户设备撤销所述第二子流,并释放所述第二IP地址。
结合第七方面的第七种可能的实现方式,在第八种可能的实现 方式中,
所述用户设备撤销所述第二子流,并释放所述第二IP地址之后,所述方法还包括:
所述用户设备生成释放所述第二IP地址的指示消息;
所述用户设备向所述第二网关发送所述释放所述第二IP地址的指示消息。
结合第七方面的第八种可能的实现方式,在第九种可能的实现方式中,
所述用户设备向所述第二网关发送所述释放所述第二IP地址的指示消息之后,所述方法还包括:
所述用户设备进入空闲态,在进入空闲态后接收所述移动性管理实体的寻呼,生成寻呼响应消息,并向所述移动性管理实体发送所述寻呼响应消息;
所述用户设备在向所述移动性管理实体发送所述寻呼响应消息后接收所述核心网网关发送的所述用户设备的下行数据。
第八方面,一种移动性管理方法,应用于第一基站,包括:
所述第一基站通过第一子流接收和发送用户设备的数据,以便于用户设备通过所述第一子流与通信对端进行通信,其中,所述第一子流为所述第一基站使用第一网际互连协议IP地址为所述用户设备与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
当所述用户设备由所述第一基站向第二基站切换时,所述第一基站通过第三子流接收和发送用户设备的数据,以便于用户设备通过所述第三子流与所述通信对端进行通信,其中,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
当所述第一基站不再通过所述第一子流接收和发送所述用户设备的数据时,所述第一基站撤销所述第一子流。
结合第八方面,在第一种可能的实现方式中,
所述第一基站通过第一子流接收和发送用户设备的数据,以便于用户设备通过所述第一子流与通信对端进行通信,包括:
所述第一基站接收所述用户设备发送的标准数据包,将从所述用户设备接收到的所述标准数据包转换为第一子流数据包,将经过转换所得的所述第一子流数据包经所述第一网关发送至所述通信对端;
所述第一基站接收所述第一网关发送的所述第一子流数据包,将所述第一基站从所述第一网关接收到的所述第一子流数据包转换为所述标准数据包,将经过转换所得的所述标准数据包发送至所述用户设备;
所述第一基站通过第三子流接收和发送用户设备的数据,以便于用户设备通过所述第三子流与通信对端进行通信,包括:
所述第一基站接收所述用户设备发送的标准数据包,将从所述用户设备接收到的所述标准数据包转换为第三子流数据包,将经过转换所得的所述第三子流数据包经所述核心网网关发送至所述通信对端;
所述第一基站接收所述核心网网关发送的所述第三子流数据包,将所述第一基站从所述核心网网关接收到的所述第三子流数据包转换为所述标准数据包,将经过转换所得的所述标准数据包发送至所述用户设备。
结合第八方面,在第二种可能的实现方式中,
所述第一基站通过第一子流接收和发送用户设备的数据之前,所述方法还包括:
所述的第一基站获取所述第一IP地址,并使用所述第一IP地址与所述通信对端建立所述第一子流;
所述第一基站通过第三子流接收和发送用户设备的数据之前,所述方法还包括:
所述的第一基站获取所述第三IP地址,并使用所述第三IP地 址与所述通信对端建立所述第三子流。
结合第八方面,在第三种可能的实现方式中,所述第一基站撤销所述第一子流之后,所述方法还包括:
所述第一基站释放所述第一IP地址,并指示所述第一网关释放所述第一IP地址。
结合第八方面,在第四种可能的实现方式中,所述第一基站撤销所述第一子流之后,所述方法还包括:
所述第一基站接收所述用户设备发送的第二网关标识,所述第二网关标识用于指示第二网关,所述第二基站与所述第二网关连接;
当所述第二网关标识与第一网关标识不同时,所述第一基站生成判断指示消息,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
所述第一基站向所述用户设备发送所述判断指示消息,以便于所述用户设备获取第二IP地址,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址。
结合第八方面的第四种可能的实现方式,在第五种可能的实现方式中,在所述用户设备由所述第一基站向所述第二基站切换时,当所述第一网关与所述第二网关不是统一网关时,所述第一基站向所述第二基站发送第一子流代理Proxy的上下文,所述第一子流代理的上下文至少包括以下信息中的至少一种:
所述第一基站与所述通信对端之间的子流代理层序列号,令牌Token,所述第一基站与所述通信对端之间的所述第一子流的序列号,所述第一子流的地址标识Address ID,所述第一基站与所述通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,所述所述第一子流代理与所述用户设备之间的TCP序列号。
本发明的实施例提供的移动性管理系统,用户设备在第一基站内时,通过第一子流与通信对端进行通信,当用户设备由第一网关向第二网关切换时,用户设备使用第三子流代替第一子流与通信对端进行通信,保 证用户设备的业务连续性。当第二子流建立后,用户设备不再通过第三子流传输业务数据,而是通过第二子流传输业务数据,以减少核心网网关负荷,使得核心网网关能够保证网络内其它用户设备在进行基站切换时的业务连续性。
附图说明
为了更清楚地说明本发明实施例或者现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明的实施例提供的一种移动性管理系统的结构示意图;
图2为本发明的实施例提供的另一种移动性管理系统的结构示意图;
图3为本发明的实施例提供的一种用户设备的结构示意图;
图4为本发明的实施例提供的一种第一基站的结构示意图;
图5为本发明的实施例提供的另一种用户设备的结构示意图;
图6为本发明的实施例提供的另一种第一基站的结构示意图;
图7为本发明的实施例提供的一种移动性管理方法的流程示意图;
图8为本发明的实施例提供的另一种移动性管理方法的流程示意图;
图9为本发明的实施例提供的再一种移动性管理方法的流程示意图;
图10为本发明的实施例提供的又一种移动性管理方法的流程示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的实施例提供一种移动性管理的方法、装置及系统。以LTE(Long Term Evolution,长期演进)蜂窝网络为例进行说明。LTE蜂窝网络包括:第一基站、第二基站、第一网关、第二网关、核心网网 关、以及通信对端,其中第一基站与第一网关连接,第二基站与第二网关连接。需要说明的是,在实际的应用场景中,一个网关可以连接多个基站,本发明实施例的应用场景中,第一基站为与第一网关连接的基站,第二基站为与第二网关的基站,且第一网关与第二网关不是同一个网关。当用户设备与第一基站连接时,第一网关为用户设备分配第一IP地址,用户设备使用第一IP地址与通信对端建立TCP(Transmission Control Protocol传输控制协议)连接。当用户设备由第一基站向第二基站切换时,由于第二网关与第一网关不是同一网关,第一IP地址不属于第二网关的管理范围,因此第二网关需要为用户设备分配新的IP地址,用户设备使用新的IP地址与通信对端建立通信。本发明的实施例中第二网关为用户设备分配的IP地址为第二IP地址。用户设备获取第二IP地址后,使用第二IP地址与通信对端建立TCP连接。用户设备使用第一IP地址与通信对端建立的TCP连接为第一子流,用户设备使用第二IP地址与通信对端建立的TCP连接为第二子流。当用户设备由第一基站向第二基站切换时,需要撤销第一子流,建立第二子流。在第一子流撤销之后到第二子流建立之前,为避免用户设备与通信对端之间的连接中断,以保证用户设备的业务连续性,用户设备使用第三子流与通信对端通过核心网网关进行通信,第三子流为用户设备使用第三IP地址与通信对端建立的TCP连接,第三IP地址为核心网网关为用户设备分配的IP地址。本发明的实施例以通过MPTCP技术建立MPTCP子流的应用场景为例,对移动性管理的方法、装置及系统进行说明。
本发明的实施例提供一种移动性管理系统10,参照图1,包括用户设备1001,第一基站1002,第二基站1003,第一网关1004,第二网关1005,核心网网关1006以及通信对端1007,用户设备1001通过第一子流与通信对端1007进行通信,第一子流为用户设备1001使用第一IP(Internet Protocol,网际互连协议)地址与通信对端1007建立的子流,第一IP地址是第一网关1004为用户设备1001分配的IP地址,第一网关1004与第一基站1002连接。
用户设备1001由第一基站1002向第二基站1003切换之前,通过第一子流与通信对端1007进行通信,当用户设备1001由第一基站1002向第二基站1003切换时,用户设备1001使用第三子流代替第一子流与通信对端1007进行通信,并撤销第一子流,第三子流为用户设备1001使用第三IP地址与通信对端1007建立的子流,第三IP地址是核心网网关1006为用户设备1001分配的IP地址,核心网网关1006与第一基站1002以及第二基站1003连接。用户设备1001,还用于当第一子流撤消后,使用第三子流通过第二基站1003与通信对端1007进行通信。可选的,第一子流可以是通过MPTCP(Multi-Path Transmission Control Protocol,多路径传输控制协议)技术建立的MPTCP子流,通信对端1007可以是支持MPTCP技术的服务器、用户终端或者MPTCP代理以及服务器,第一网关1004以及第二网关1005可以是分布式的本地网关(Local Gateway)。
用户设备1001,还用于当第二网关1005与第一网关1004不是同一网关时获取第二IP地址,并与通信对端1007建立第二子流,第二IP地址为第二网关1005为用户设备1001分配的IP地址,第二子流为用户设备1001使用第二IP地址与通信对端1007建立的子流,第二网关1005与第二基站1003连接。
本发明的实施例提供的移动性管理系统中,用户设备在第一基站内时,通过第一子流与通信对端进行通信,当用户设备由第一网关向第二网关切换时,用户设备使用第三子流代替第一子流与通信对端进行通信,保证用户设备的业务连续性。当第二子流建立后,用户设备不再通过第三子流传输业务数据,而是通过第二子流传输业务数据,以减少核心网网关负荷,使得核心网网关能够保证网络内其它用户设备在进行基站切换时的业务连续性。
可选的,在用户设备1001通过第一子流与通信对端1007进行通信之前,当用户设备1001与通信对端1007之间的数据流量超过预设阈值时,用户设备1001,还用于获取第一IP地址,并与通信对端1007建立第一子流,以保证用户设备1001通过第一子流与通信 对端1007之间的数据传输。
在用户设备1001由第一基站1002向第二基站1003切换之前,或者用户设备1001使用第三子流通过第一基站1002与通信对端1007进行通信之前,用户设备1001,还用于获取第三IP地址,并与通信对端1007建立第三子流,以便于当用户设备1001有第一基站1002向第二基站1003切换时,通过第三子流与通信对端1007进行通信。
可选的,用户设备1001,还用于在第一子流撤销之后,释放第一IP地址,并向第一网关1004发送释放第一IP地址的指示消息,用户设备1001释放第一IP地址,即不再占用第一IP地址。
第一网关1004,用于在接收用户设备1001发送的释放第一IP地址的指示消息后,释放第一IP地址,第一网关1004释放第一IP地址,即解除用第一IP地址与用户设备1001之间的绑定。第一网关1004释放第一IP地址后,可以将第一IP地址分配给其他用户设备1001。
可选的,当第二网关1005与第一网关1004不是同一网关时获取第二IP地址,包括:
当用户设备1001与第一基站1002连接时,接收第一基站1002发送的第一网关标识,第一网关标识用于指示第一网关1004。
当用户设备1001由第一基站1002向第二基站1003切换时,接收第二基站1003发送的第二网关标识,第二网关标识用于指示第二网关1005。
如果第二网关标识与第一网关标识不同,则用户设备1001向第二网关1005发送获取IP地址的请求消息,并接收第二网关1005发送的第二IP地址。
可选的,移动性管理系统还包括移动性管理实体(Mobility Management Entity,MME)1008,移动性管理实体1008用于管理第二基站1003和第二网关1005,当第二网关1005与第一网关1004不是同一网关时获取第二IP地址,包括:
当用户设备1001由第一基站1002向第二基站1003切换时,用户设备1001将第一IP地址或者第一网关标识发送至移动性管理实体1008,第一网关标识用于指示第一网关1004,具体的,网关标识可以是本地网络(Local Network)ID,或者,网关标识也可以是本地网关(Local Gateway)ID。
移动性管理实体1008确定第一IP地址是否为第二网关1005为用户设备1001分配的IP地址,或者第一网关标识是否与第二网关标识相同,第二网关标识用于指示第二网关1005。
如果第一IP地址不是第二网关1005为用户设备1001分配的IP地址,或者第一网关标识与第二网关标识不同,则移动性管理实体1008向第二网关1005为用户设备1001申请分配IP地址,并将从第二网关1005接收的第二IP地址发送至用户设备1001。
可选的,当第二网关1005与第一网关1004不是同一网关时获取第二IP地址,包括:
当用户设备1001由第一基站1002向第二基站1003切换时,用户设备1001将第二网关标识发送至第一基站1002。
如果第二网关标识与第一网关标识不同,则第一基站1002向用户设备1001发送判断指示消息,判断指示消息用于指示第二网关1005与第一网关1004不是同一网关。
用户设备1001在接收判断指示消息后向第二网关1005发送获取IP地址的请求消息,并接收第二网关1005发送的第二IP地址。
可选的,在第二子流建立后,当户设备1001与通信对端1007之间的数据流量小于预设阈值时,用户设备1001,还用于撤销第二子流。
可选的,移动性管理系统还包括移动性管理实体1008,移动性管理实体1008用于管理第二基站1003和第二网关1005。
在第二子流建立后,当户设备1001与通信对端1007之间的数据流量小于预设阈值时,移动性管理实体1008,用于指示用户设备1001撤销第二子流。
用户设备1001,还用于撤销第二子流。
可选的,用户设备1001,还用于在撤销第二子流后,释放第二IP地址,并指示第二网关1005释放第二IP地址。
第二网关1005,用于释放第二IP地址。
可选的,在第二子流建立后,当户设备1001与通信对端1007之间的数据流量小于预设阈值时,第二基站1003,用于指示用户设备1001撤销第二子流,并指示第二网关1005释放第二IP地址。
用户设备1001,还用于撤销第二子流,并释放第二IP地址。
第二网关1005,用于释放第二IP地址。
可选的,用户设备1001,还用于在用户设备1001释放第二IP地址后,进入空闲态。
核心网网关1006,用于在用户设备1001进入空闲态后缓存用户设备1001的下行数据,并向移动性管理实体1008发送用户设备1001的下行数据通知。
移动性管理实体1008,还用于接收核心网网关1006发送的用户设备1001的下行数据通知,并寻呼用户设备1001。
用户设备1001,还用于响应移动性管理实体1008的寻呼。
可选的,移动性管理实体1008,还用于在用户设备1001响应寻呼后指示核心网网关1006向用户设备1001发送下行数据。
核心网网关1006,还用于向用户设备1001发送用户设备1001的下行数据。
可选的,移动性管理系统还包括:移动性管理实体1008、在线计费系统(OCS,Online Charging System)1009以及策略和计费规则功能(PCRF,Policy Control and Charging Rule Function)1010,
移动性管理实体1008,用于从线计费系统获取用户设备1001的可用额度,并将用户设备1001的可用额度发送至第一网关1004。
移动性管理实体1008,还用于从策略和计费规则1010功能获取用户设备1001的计费规则,并将用户设备1001的计费规则发送至第一网关1004。
第一网关1004,还用于当用户设备1001通过第一子流与通信对端1007进行通信时,根据用户设备1001的计费规则对用户设备1001的可用额度进行扣减,并向在线计费系统1009发送用户设备1001的可用额度余额。
可选的,移动性管理系统还包括:移动性管理实体1008以及离线计费系统(OFCS,Off-line Charging System)1011。
第一网关1004,还用于向移动性管理实体1008发送用户设备1001在第一网关1004的话单。
移动性管理实体1008,用于将用户设备1001在第一网关1004的话单发送至离线计费系统1011。
本发明的实施例提供的移动性管理系统中,用户设备在第一基站内时,通过第一子流与通信对端进行通信,当用户设备由第一网关向第二网关切换时,用户设备使用第三子流代替第一子流与通信对端进行通信,保证用户设备的业务连续性。当第二子流建立后,用户设备不再通过第三子流传输业务数据,而是通过第二子流传输业务数据,以减少核心网网关负荷,使得核心网网关能够保证网络内其它用户设备在进行基站切换时的业务连续性。
结合图1所对应的实施例,本发明的实施例提供另一种移动性管理系统20。移动性管理系统10中,由用户设备完成子流的建立、撤销以及不同子流数据的管理,移动性管理系统20中,由基站作为子流代理(Proxy)代替用户设备完成子流的建立、撤销,以及不同子流数据的管理,因此不支持多子流的用户设备也可以应用于移动性管理系统20中。
参照图2,移动性管理系统20包括用户设备201,第一基站202,第二基站203,第一网关204,第二网关205,核心网网关206以及通信对端207,用户设备201通过第一子流与通信对端207进行通信,第一子流为第一基站202使用第一IP地址为用户设备201与通信对端207建立的子流,第一IP地址是第一网关204为用户设备201分配的IP地址,第一网关204与第一基站202连接。
用户设备201由第一基站202向第二基站203切换之前,通过 第一基站202使用第一子流与通信对端207进行通信,当用户设备201由第一基站202向第二基站203切换时,第一基站202使用第三子流代替第一子流使得用户设备201与通信对端207进行通信,并撤销第一子流。第三子流为第一基站202使用第三IP地址与通信对端207建立的子流,第三IP地址是核心网网关206为用户设备201分配的IP地址,核心网网关206与第一基站202以及第二基站203连接。
当用户设备201由第一基站202切换至第二基站203时,由第二基站203对用户设备201的子流进行管理,使得用户设备201使用第三子流通过第二基站203与通信对端207进行通信,而不再使用第三子流通过第一基站202与通信对端207进行通信。
第二基站203,用于当第二网关205与第一网关204不是同一网关时获取第二IP地址,并为用户设备201与通信对端207建立第二子流,第二IP地址为第二网关205为用户设备201分配的IP地址,第二子流为第二基站203使用第二IP地址为用户设备201与通信对端207建立的子流,第二网关205与第二基站203连接。
可选的,在用户设备201通过第一子流与通信对端207进行通信之前,当用户设备201与通信对端207之间的数据流量超过预设阈值时,第一基站202,还用于获取第一IP地址,并为用户设备201与通信对端207建立第一子流。
在用户设备201由第一基站202向第二基站203切换之前,或者用户设备201使用第三子流通过第一基站202与通信对端207进行通信之前,第一基站202,还用于获取第三IP地址,并为用户设备201与通信对端207建立第三子流。
可选的,第一基站202,还用于在第一子流撤销之后,释放第一IP地址,并向第一网关204发送释放第一IP地址的指示消息。
第一网关204,用于在接收第一基站202发送的释放第一IP地址的指示消息后,释放第一IP地址。
可选的,在用户设备201由第一基站202向第二基站203切换 时,当第一网关204与第二网关205不是统一网关时,第一基站202还用于向第二基站203发送第一子流代理Proxy的上下文,第一子流代理的上下文至少包括以下信息中的至少一种:
第一基站202与通信对端207之间的子流代理层序列号,令牌Token,第一基站202与通信对端207之间的第一子流的序列号,第一子流的地址标识Address ID,第一基站202与通信对端207之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,第一子流代理与用户设备201之间的TCP序列号。
可选的,在第二子流建立后,当用户设备201与通信对端207之间的数据流量超过预设阈值时,第二基站203,还用于撤销第二子流。
可选的,第二基站203,还用于在撤销第二子流后,释放第二IP地址,并指示第二网关205释放第二IP地址。
第二网关205,用于释放第二IP地址。
可选的,在第二子流建立后,当用户设备201与通信对端207之间的数据流量超过预设阈值时,第二基站203用于撤销第二子流,并指示第二网关205释放第二IP地址。
第二基站203,还用于释放第二IP地址。
第二网关205,用于释放第二IP地址。
本发明的实施例提供的移动性管理系统,由基站作为子流代理(Proxy)完成子流的建立、撤销以及不同子流数据的管理等功能,使得用户设备在第一基站内时,通过第一子流与通信对端进行通信,当用户设备由第一网关向第二网关切换时,用户设备使用第三子流代替第一子流通过第一基站和第二基站与通信对端进行通信,保证用户设备的业务连续性。当第二子流建立后,用户设备不再通过第三子流传输业务数据,而是通过第二子流传输业务数据,以减少核心网网关负荷,使得核心网网关能够保证网络内其它用户设备在进行基站切换时的业务连续性。
基于图1所对应的实施例,本发明的实施例提供一种用户设备30,用于完成子流的建立、撤销以及不同子流数据的管理等功能。参照图3所 示,用户设备30包括处理器301、接收器304、存储器302以及总线303,处理器301以及存储器302通过总线303相互连接,用户设备30通过第一子流与通信对端进行通信,第一子流为用户设备30使用第一网际互连协议IP地址与通信对端建立的子流,第一IP地址是第一网关为用户设备30分配的IP地址,第一网关与第一基站连接。
其中,处理器301,用于当用户设备30由第一基站向第二基站切换时,使用第三子流通过第一基站与通信对端进行通信,并撤销第一子流,第三子流为用户设备30使用第三IP地址与通信对端建立的子流,第三IP地址是核心网网关为用户设备30分配的IP地址,核心网网关与第一基站以及第二基站连接。
处理器301,还用于当第一子流撤消后,使用第三子流通过第二基站与通信对端进行通信。
接收器304,用于当第二网关与第一网关不是同一网关时获取第二IP地址,第二IP地址为第二网关为用户设备30分配的IP地址,第二网关与第二基站连接。
处理器301,还用于与通信对端建立第二子流,第二子流为用户设备30使用第二IP地址与通信对端建立的子流。
可选的,接收器304,还用于在用户设备30通过第一子流与通信对端进行通信之前,当用户设备30与通信对端之间的数据流量超过预设阈值时,获取第一IP地址。
处理器301,还用于与通信对端建立第一子流。
接收器304,还用于在用户设备30由第一基站向第二基站切换之前,或者用户设备30使用第三子流通过第一基站与通信对端进行通信之前,获取第三IP地址。
处理器301,还用于与通信对端建立第三子流。
可选的,处理器301,还用于在第一子流撤销之后,释放第一IP地址,并生成释放第一IP地址的指示消息。
用户设备30还包括发送器,用于向第一网关发送释放第一IP 地址的指示消息,以便于第一网关释放第一IP地址。
可选的,接收器304,还用于接收第一基站发送的第一网关标识,第一网关标识用于指示第一网关。
接收器304,还用于接收第二基站发送的第二网关标识,第二网关标识用于指示第二网关。
处理器301,还用于判断第二网关标识与第一网关标识是否相同,如果第二网关标识与第一网关标识不同,则生成获取IP地址的请求消息。
用户设备30还包括发送器,用于向第二网关发送获取IP地址的请求消息。
接收器304,还用于接收第二网关发送的第二IP地址。
可选的,用户设备30还包括发送器,
发送器,用于当用户设备30由第一基站向第二基站切换时,将第一IP地址或者第一网关标识发送至移动性管理实体,以便于移动性管理实体根据第一IP地址或者第一网关标识确定第二网关与第一网关是否为同一网关,并在第二网关与第一网关不是同一网关时向第二网关为用户设备30申请分配IP地址,将从第二网关接收的第二IP地址发送至用户设备30,第一网关标识用于指示第一网关,移动性管理实体用于管理第二基站和第二网关。
接收器304,还用于接收移动性管理实体发送的第二IP地址。
可选的,用户设备30还包括发送器305,用于当用户设备30由第一基站向第二基站切换时,将第二网关标识发送至第一基站,以便于第一基站确定第二网关与第一网关是否为同一网关,第二网关标识用于指示第二网关。
接收器304,还用于接收第一基站发送的判断指示消息,判断指示消息用于指示第二网关与第一网关不是同一网关。
处理器301,还用于生成获取IP地址的请求消息。
发送器305,还用于向第二网关发送获取IP地址的请求消息。
接收器304,还用于接收第二网关发送的第二IP地址。
可选的,在第二子流建立后,处理器301还用于确定用户设备30与通信对端之间的数据流量是否小于预设阈值。
当用户设备30与通信对端之间的数据流量小于预设阈值时,处理器301,还用于撤销第二子流,并释放第二IP地址。
可选的,接收器304,还用于接收移动性管理实体或者第二基站发送的撤销第二子流的指示消息,移动性管理实体用于管理第二基站和第二网关。
处理器301,还用于在接收器304接收到移动性管理实体或者第二基站发送的撤销第二子流的指示消息后,撤销第二子流,并释放第二IP地址。
可选的,处理器301,还用于生成释放第二IP地址的指示消息。
用户设备30还包括发送器305,用于向第二网关发送释放第二IP地址的指示消息
可选的,处理器301,还用于在向第二网关发送释放第二IP地址的指示消息后,控制用户设备30进入空闲态。
接收器304,还用于接收移动性管理实体的寻呼。
处理器301,还用于在用户设备30进入空闲态后,生成寻呼响应消息。
用户设备30还包括发送器305,用于向移动性管理实体发送寻呼响应消息。
接收器304,还用于在用户设备30向移动性管理实体发送寻呼响应消息后,从核心网网关接收用户设备30的下行数据。
本发明的实施例所提供的用户设备,通过建立子流、撤销子流以及大于不同子流数据进行管理,在第一基站内时通过第一子流与通信对端进行通信,当用户设备由第一网关向第二网关切换时,用户设备使用第三子流代替第一子流与通信对端进行通信,以保证业务连续性。当第二子流建立后,用户设备不再通过第三子流传输业务数据,而是通过第二子流传输业务数据,以减少核心网网关负荷,使得核心网网关能够保证网络内其它用户设备在进行基站切换时的业务连续性。
基于图2所对应的实施例,本发明的实施例提供一种第一基站40,用于完成子流的建立、撤销以及不同子流数据的管理等功能。参考图4所示,第一基站40包括处理器401、存储器402、总线403以及收发器404,处理器401、存储器402、收发器404通过总线403相互连接。
收发器404,用于通过第一子流接收和发送用户设备的数据,以便于用户设备通过第一子流与通信对端进行通信,其中,第一子流为第一基站40使用第一网际互连协议IP地址为用户设备与通信对端建立的子流,第一IP地址是第一网关为用户设备分配的IP地址,第一网关与第一基站40连接。
收发器404,还用于当用户设备由第一基站40向第二基站切换时,通过第三子流接收和发送用户设备的数据,以便于用户设备通过第三子流与通信对端进行通信,其中,第三子流为用户设备使用第三IP地址与通信对端建立的子流,第三IP地址是核心网网关为用户设备分配的IP地址,核心网网关与第一基站40以及第二基站连接。
处理器401,用于撤销第一子流。
可选的,收发器404,具体用于接收用户设备发送的标准数据包,还用于接收第一网关发送的第一子流数据包。
处理器401,具体用于将收发器404从用户设备接收到的标准数据包转换为第一子流数据包,还用于将收发器404从第一网关接收到的第一子流数据包转换为标准数据包。
收发器404,还用于将经过处理器401转换所得的第一子流数据包经第一网关发送至通信对端,还用于将经过处理器401转换所得的标准数据包发送至用户设备。
收发器404,还用于接收核心网网关发送的第三子流数据包。
处理器401,还用于将收发器404从用户设备接收到的标准数据包转换为第三子流数据包,将收发器404从核心网网关接收到的第三子流数据包转换为标准数据包。
收发器404,还用于将经过处理器401转换所得的第三子流数据包经核心网网关发送至通信对端。
可选的,收发器404,还用于获取第一IP地址。
处理器401,还用于使用第一IP地址与通信对端建立第一子流,以便于用户设备通过第一子流与通信对端进行通信。
收发器404,还用于获取第三IP地址。
处理器401,还用于使用第三IP地址与通信对端建立第三子流,以便于用户设备通过第三子流与通信对端进行通信。
可选的,处理器401,还用于在第一子流撤销之后,释放第一IP地址,并生成释放第一IP地址的指示消息。
发送器,还用于向第一网关发送处理器401生成的释放第一IP地址的指示消息。
可选的,收发器404,还用于当用户设备由第一基站40向第二基站切换时,接收用户设备发送的第二网关标识,第二网关标识用于指示第二网关,第二基站与第二网关连接。
处理器401,还用于当第二网关标识与第一网关标识不同时,生成判断指示消息,判断指示消息用于指示第二网关与第一网关不是同一网关。
收发器404,还用于向用户设备发送判断指示消息,以便于用户设备获取第二IP地址,第二IP地址为第二网关为用户设备分配的IP地址。
可选的在用户设备由第一基站向第二基站切换时,当第一网关与第二网关不是统一网关时,收发器404,还用于向第二基站发送第一子流代理Proxy的上下文,第一子流代理的上下文至少包括以下信息中的至少一种:
第一基站与通信对端之间的子流代理层序列号,令牌Token,第一基站与通信对端之间的第一子流的序列号,第一子流的地址标识Address ID,第一基站与通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,第一子流代理与用户设 备之间的TCP序列号。
本发明的实施例提供的第一基站,通过完成子流的建立、撤销以及不同子流数据的管理等功能,以使得用户设备通过第一基站使用第一子流与通信对端流进行通信,通过第一基站使用第三子流与通信对端流进行通信,保证了用户设备的业务连续性。
结合图3所对应的实施例,本发明的实施例提供另一种用户设备50,用于完成子流的建立、撤销以及不同子流数据的管理等功能。用户设备50包括:多路径控制单元501以及接收单元502,用户设备50通过第一子流与通信对端进行通信,第一子流为用户设备50使用第一网际互连协议IP地址与通信对端建立的子流,第一IP地址是第一网关为用户设备50分配的IP地址,第一网关与第一基站连接,
多路径控制单元501,用于当用户设备50由第一基站向第二基站切换时,使用第三子流通过第一基站与通信对端进行通信,并撤销第一子流,第三子流为用户设备50使用第三IP地址与通信对端建立的子流,第三IP地址是核心网网关为用户设备50分配的IP地址,核心网网关与第一基站以及第二基站连接,第一子流为用户设备50使用第一IP地址与通信对端建立的子流,第一IP地址是第一网关为用户设备50分配的IP地址,第一网关与第一基站连接。
多路径控制单元501,还用于当第一子流撤消后,使用第三子流通过第二基站与通信对端进行通信。
接收单元502,用于当第二网关与第一网关不是同一网关时获取第二IP地址,第二IP地址为第二网关为用户设备50分配的IP地址,第二网关与第二基站连接。
多路径控制单元501,还用于与通信对端建立第二子流,第二子流为用户设备50使用第二IP地址与通信对端建立的子流。
可选的,在用户设备50通过第一子流与通信对端进行通信之前,当用户设备50与通信对端之间的数据流量超过预设阈值时,接收单元502,还用于获取第一IP地址。
多路径控制单元501,还用于与通信对端建立第一子流。
在用户设备50由第一基站向第二基站切换之前,或者用户设备50使用第三子流通过第一基站与通信对端进行通信之前,接收单元502,还用于获取第三IP地址。
多路径控制单元501,还用于与通信对端建立第三子流。
可选的,多路径控制单元501,还用于在第一子流撤销之后,释放第一IP地址,并生成释放第一IP地址的指示消息。
用户设备50还包括发送单元503,用于向第一网关发送释放第一IP地址的指示消息,以便于第一网关释放第一IP地址。
可选的,接收单元502,还用于接收第一基站发送的第一网关标识,第一网关标识用于指示第一网关。
接收单元502,还用于接收第二基站发送的第二网关标识,第二网关标识用于指示第二网关。
多路径控制单元501,还用于判断第二网关标识与第一网关标识是否相同,如果第二网关标识与第一网关标识不同,则生成获取IP地址的请求消息。
用户设备50还包括发送单元503,用于向第二网关发送获取IP地址的请求消息。
接收单元502,还用于接收第二网关发送的第二IP地址。
可选的,用户设备50还包括发送单元503,
发送单元503,用于当用户设备50由第一基站向第二基站切换时,将第一IP地址或者第一网关标识发送至移动性管理实体,以便于移动性管理实体根据第一IP地址或者第一网关标识确定第二网关与第一网关是否为同一网关,并在第二网关与第一网关不是同一网关时向第二网关为用户设备50申请分配IP地址,将从第二网关接收的第二IP地址发送至用户设备50,第一网关标识用于指示第一网关,移动性管理实体用于管理第二基站和第二网关。
接收单元502,还用于接收移动性管理实体发送的第二IP地址。
可选的,发送单元503,用于当用户设备50由第一基站向第二 基站切换时,将第二网关标识发送至第一基站,以便于第一基站确定第二网关与第一网关是否为同一网关,第二网关标识用于指示第二网关。
接收单元502,还用于接收第一基站发送的判断指示消息,判断指示消息用于指示第二网关与第一网关不是同一网关。
多路径控制单元501,还用于生成获取IP地址的请求消息。
发送单元503,还用于向第二网关发送获取IP地址的请求消息。
接收单元502,还用于接收第二网关发送的第二IP地址。
可选的,在第二子流建立后,多路径控制单元501还用于确定用户设备50与通信对端之间的数据流量是否小于预设阈值。
当户设备50与通信对端之间的数据流量小于预设阈值时,多路径控制单元501,还用于撤销第二子流,并释放第二IP地址。
可选的,接收单元502,还用于接收移动性管理实体或者第二基站发送的撤销第二子流的指示消息,移动性管理实体用于管理第二基站和第二网关。
多路径控制单元501,还用于在接收单元502接收到移动性管理实体或者第二基站发送的撤销第二子流的指示消息后,撤销第二子流,并释放第二IP地址。
可选的,多路径控制单元501,还用于生成释放第二IP地址的指示消息。
用户设备50还包括发送单元503,用于向第二网关发送释放第二IP地址的指示消息
可选的,用户设备50还包括状态控制单元504,用于在发送单元503向第二网关发送释放第二IP地址的指示消息后,控制用户设备50进入空闲态。
接收单元502,还用于接收移动性管理实体的寻呼。
多路径控制单元501,还用于在用户设备50进入空闲态后,生成寻呼响应消息。
用户设备50还包括发送单元503,用于向移动性管理实体发送 寻呼响应消息。
接收单元502,还用于在用户设备50向移动性管理实体发送寻呼响应消息后,从核心网网关接收用户设备50的下行数据。
本发明的实施例所提供的用户设备,通过建立子流、撤销子流以及大于不同子流数据进行管理,在第一基站内时通过第一子流与通信对端进行通信,当用户设备由第一网关向第二网关切换时,用户设备使用第三子流代替第一子流与通信对端进行通信,以保证业务连续性。当第二子流建立后,用户设备不再通过第三子流传输业务数据,而是通过第二子流传输业务数据,以减少核心网网关负荷,使得核心网网关能够保证网络内其它用户设备在进行基站切换时的业务连续性。
结合图4所对应的实施例,本发明的实施例提供另一种第一基站60,用于完成子流的建立、撤销以及不同子流数据的管理等功能。结合图6所示,第一基站60包括子流代理单元601以及收发单元602。
收发单元602,用于通过第一子流接收和发送用户设备的数据,以便于用户设备通过第一子流与通信对端进行通信,其中,第一子流为第一基站60使用第一网际互连协议IP地址为用户设备与通信对端建立的子流,第一IP地址是第一网关为用户设备分配的IP地址,第一网关与第一基站60连接。
收发单元602,还用于当用户设备由第一基站60向第二基站切换时,通过第三子流接收和发送用户设备的数据,以便于用户设备通过第三子流与通信对端进行通信,其中,第三子流为用户设备使用第三IP地址与通信对端建立的子流,第三IP地址是核心网网关为用户设备分配的IP地址,核心网网关与第一基站60以及第二基站连接。
子流代理单元601,用于撤销第一子流。
可选的,收发单元602,具体用于接收用户设备发送的标准数据包,还用于接收第一网关发送的第一子流数据包。
子流代理单元601,具体用于将收发单元602从用户设备接收到的标准数据包转换为第一子流数据包,还用于将收发单元602从第 一网关接收到的第一子流数据包转换为标准数据包。
收发单元602,还用于将经过子流代理单元601转换所得的第一子流数据包经第一网关发送至通信对端,还用于将经过子流代理单元601转换所得的标准数据包发送至用户设备。
可选的,收发单元602,还用于获取第一IP地址。
子流代理单元601,还用于使用第一IP地址与通信对端建立第一子流,以便于用户设备通过第一子流与通信对端进行通信。
收发单元602,还用于获取第三IP地址。
子流代理单元601,还用于使用第三IP地址与通信对端建立第三子流,以便于用户设备通过第三子流与通信对端进行通信。
可选的,子流代理单元601,还用于在第一子流撤销之后,释放第一IP地址,并生成释放第一IP地址的指示消息。
发送器,还用于向第一网关发送子流代理单元601生成的释放第一IP地址的指示消息。
可选的,收发单元602,还用于当用户设备由第一基站60向第二基站切换时,接收用户设备发送的第二网关标识,第二网关标识用于指示第二网关,第二基站与第二网关连接。
子流代理单元601,还用于当第二网关标识与第一网关标识不同时,生成判断指示消息,判断指示消息用于指示第二网关与第一网关不是同一网关。
收发单元602,还用于向用户设备发送判断指示消息,以便于用户设备获取第二IP地址,第二IP地址为第二网关为用户设备分配的IP地址。
可选的,在用户设备由第一基站向第二基站切换时,当第一网关与第二网关不是统一网关时,收发单元602,还用于向第二基站发送第一子流代理Proxy的上下文,第一子流代理的上下文至少包括以下信息中的至少一种:
第一基站与通信对端之间的子流代理层序列号,令牌Token,第一基站与通信对端之间的第一子流的序列号,第一子流的地址标 识Address ID,第一基站与通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,第一子流代理与用户设备之间的TCP序列号。
本发明的实施例提供的第一基站,通过完成子流的建立、撤销以及不同子流数据的管理等功能,以使得用户设备通过第一基站使用第一子流与通信对端流进行通信,通过第一基站使用第三子流与通信对端流进行通信,保证了用户设备的业务连续性。
基于图1所对应的实施例,本发明的实施例提供一种移动性管理方法,应用于蜂窝网络中的移动性管理系统。移动性管理系统包括用户设备,第一基站,第二基站,第一网关,第二网关、核心网网关以及通信对端,第一基站与第一网关连接,第二基站与第二网关连接,核心网网关与第一基以及第二基站连接。当用户设备通过第一网关与通信对端建立TCP(Transmission Control Protocol传输控制协议)连接时,由第一网关为用户设备分配IP地址,第一网关为用户设备分配IP地址为第一IP地址。当用户设备由第一基站向第二基站切换时,由于第二网关并不对第一网关分配的IP地址进行管理,用户设备不能使用第一网关分配的IP地址通过第二网关与通信对端建立TCP连接,因此第二网关为用户设备分配新的IP地址,以使得用户设备使用新的IP地址与通信对端建立的TCP连接。第二网关为用户设备分配的新的IP地址为第二IP地址。用户设备使用第一IP地址与通信对端建立的TCP连接为第一子流,用户设备使用第二IP地址与通信对端建立的TCP连接为第二子流。当用户设备由第一基站向第二基站切换时,需要撤销第一子流,建立第二子流。在第一子流撤销之后到第二子流建立之前,为避免用户设备与通信对端之间的连接中断,以保证用户设备的业务连续性,用户设备使用第三子流与通信对端通过核心网网关进行通信,第三子流为用户设备使用第三IP地址与通信对端建立的TCP连接,第三IP地址为核心网网关为用户设备分配的IP地址。本实施例以通过MPTCP(Multi-Path Transmission Control Protocol,多路径传输控制协议)技术建立 MPTCP子流的应用场景为例,对移动性管理的方法进行说明。当然,本发明所提供的移动性管理方法同样适用于通过其他技术手段建立子流的应用场景,例如通过MPRTP(Multi-Path Real-time Transport Protocol,实时传输协议)技术建立子流。本发明对建立子流的具体技术手段不做限定。参照图7所示,本发明的实施例提供的移动性管理方法,包括以下步骤:
701、用户设备建立第一子流以及第三子流。
其中,第一子流为用户设备使用第一IP地址与通信对端建立的子流,第一IP地址是第一网关为用户设备分配的IP地址,第一网关与第一基站连接。第三子流为用户设备使用第三IP地址与通信对端建立的子流,第三IP地址是核心网网关为用户设备分配的IP地址,核心网网关与第一基站以及第二基站连接。可选的,本实施例中的子流可以是通过MPTCP技术建立MPTCP子流。MPTCP技术中,通过在TCP(Transmission Control Protocol,传输控制协议)/IP(Internet Protocol,网络互连协议)协议栈架构的socket(套接字)和TCP层之间,增加MPTCP层,由MPTCP层负责管理多个子TCP模块。通信双方可以使用不同的IP地址对,建立一条或者一条以上TCP子流连接,每个TCP子流即为一个MPTCP子流。
可选的,以LTE(Long Term Evolution,长期演进)无线蜂窝网络为例对本发明提供的移动性管理方法进行说明。其中,用户设备以及通信对端可以是支持MPTCP技术的用户终端、服务器、或者MPTCP代理以及服务器,第一网关可以为分布式的本地网关。用户设备在接入第一基站后,从第一网关获取第一IP地址,并使用第一IP地址,通过MPTCP技术与通信对端建立第一MPTCP子流,并通过第一子流与通信对端进行通信。
具体可选的,用户设备获取第一IP地址可以有两种方式。第一种方式,用户设备向第一网关发送DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)消息向第一网关请求IP地址,第一网关通过DHCP消息将第一IP地址发送至用户设备。第二种方式,用户设备向移动性管理实体发送NAS(Non Access  Stratum,非接入层)消息请求IP地址,移动性管理实体将从第一网关获取的第一IP地址通过NAS消息发送至用户设备。用户设备获取第一IP地址后,通过MPTCP技术与通信对端建立第一MPTCP子流。具体的,用户设备向通信对端发送建立第一MPTCP子流的请求,通信对端在接收到建立第一MPTCP子流的请求后,向用户设备返回确认消息,用户设备在接收确认消息后,向通信终端发送第一MPTCP子流建立的确认消息,由此第一MPTCP子流建立完成,此时用户设备与通信对端之间的业务数据可以通过第一MPTCP子流进行传输。
与用户设备从第一网关获取第一IP地址的过程类似,用户设备从核心网网关获取第三IP地址。用户设备使用第三IP地址与通信对端建立第三MPTCP子流的具体过程如下:用户设备在发往通信对端的TCP消息中设置关于MPTCP的选项,发起添加第三MPTCP子流的请求。具体的,用户设备通过设置MP_CAPABLE(Multipath Capable多路径可用)标识,向通信对端查询是否能够建立第三MPTCP子流,当接收到通信对端返回的MP_CAPABLE的ACK(Acknowledgement,确认)消息后,再使用第三IP地址向通信对端发送设置了MP_JOIN(Join Connection,子流接入)标识位的TCP消息,当用户设备接收到通信对端所发送的MP_JOIN的ACK消息,则第三MPTCP子流建立完成。
702、当用户设备由第一基站向第二基站切换时,用户设备使用第三子流通过第一基站与通信对端进行通信,并撤销第一子流。
可选的,第一MPTCP子流主要用于传输用户设备的业务数据,因此在用户设备需要传输业务数据前建立即可。第三MPTCP子流主要用于当用户设备由第一基站向第二基站切换时,传输用户设备与通信对端之间的数据,因此用户设备在进行切换之前建立第三MPTCP子流即可。例如,在一种具体的应用场景中,当第一基站作为用户设备的服务基站时,用户设备建立第三子流,并使用第三子流通过第一基站与通信对端进行通信。当用户设备与通信对端之间 的数据流量超过预设阈值时,用户设备建立第一子流,并主要通过第一子流传输用户设备与通信对端之间的数据。其中,第一IP地址可以是与第三IP地址共用相同的承载(Bearer)。或者,结合步骤701中用户设备获取第一IP地址可以的第二种方式,移动性管理实体向第一网关为用户设备请求新的IP地址,第一网关在向移动性管理实体发送第一IP地址的同时,通过Bearer Creat Request(承载新建请求)消息请求移动性管理实体新建用户设备与第一基站之间的承载。承载新建完成后,移动性管理实体将新建的承载与第一IP地址绑定并通过NAS消息一起发送至用户设备。再或者,移动性管理实体向用户设备发送第一IP地址,并指示用户设备用新的与APN(Access Point Name,接入点名字)绑定的第一网关APN新建PDN(Packet Data Network,分组数据网)连接,并新建与第一IP地址绑定的承载。
当用户设备由第一基站向第二基站切换时,使用第三MPTCP子流代替第一MPTCP子流与通信对端进行通信,即只通过第三MPTCP子流向通信对端发送数据,以及通过第三MPTCP子流接收通信对端发送的数据,而不再使用第一MPTCP子流,此时用户设备撤销第一MPTCP子流。
可选的,用户设备可以通过第二MPTCP子流向通信对端发送携带REMOVE_ADDR(Remove Address,移除地址)选项的TCP消息,向通信对端发送撤销第一MPTCP子流的请求,其中REMOVE_ADDR选项中包括第一IP地址。
或者,用户设备通过第一MPTCP子流,向通信对端发送DSS(Data Sequence Signal,数据序列信息号)标识的F位为1的TCP消息,其中,DSS标识的F位为DATA_FIN位,DATA_FIN位置1代表数据传输完成,请求撤销第一MPTCP子流。
或者,用户设备通过第一MPTCP子流,向通信对端发送携带MP_FASTCLOSE(Multipath Fastclose,多路径快速关闭)选项的TCP消息,请求撤销第一MPTCP子流。
可选的,第一MPTCP子流撤销之后,用户设备释放第一IP地址,并指示第一网关释放第一IP地址。具体的,用户设备可以通过第一基站或者移动性管理实体将释放第一IP地址的指示消息发送至第一网关。用户设备释放第一IP地址,即不再占用第一IP地址。第一网关释放第一IP地址,即解除用第一IP地址与用户设备之间的绑定。第一网关在释放第一IP地址后,可以将第一IP地址分配给其他用户设备。
第一MPTCP子流撤销后,用户设备切换至第二基站,不再通过第一基站传输第三MPTCP子流的数据,而是通过第二基站传输第三MPTCP子流的数据,与通信对端进行通信。
703、当第二网关与第一网关不是同一网关时,用户设备获取第二IP地址,并与通信对端建立第二子流。
其中,第二IP地址为第二网关为用户设备分配的IP地址,第二MPTCP子流为用户设备使用第二IP地址与通信对端建立的子流,第二网关与第二基站连接,第二网关可以为分布式的本地网关。
本实施例提供三种可选的用户设备获取第二IP地址的方式。
第一种获取第二IP地址的方式中,当用户设备与第一基站连接时,接收第一基站发送的第一网关标识,其中第一网关标识用于指示第一网关。当用户设备在空闲态从第一基站移动到第二基站并与第二基站连接时,接收第二基站发送的第二网关标识,其中第二网关标识用于指示第二网关。用户设备对第二网关标识以及第一网关标识进行判断,如果第二网关标识与第一网关标识不同,则用户设备向第二网关发送获取IP地址的请求消息,第二网关根据上下文记录判断是否已经为用户设备分配了IP地址,如果已经为用户设备分配了IP地址,则拒绝用户设备获取新IP地址的请求,并指示用户设备使用第二网关已经为用户设备分配的IP地址,如果第二网关没有为用户设备分配IP地址,则向用户设备发送第二IP地址,用户设备接收第二网关发送的第二IP地址,即完成第二IP地址的获取过程。可选的,第一基站以及第二基站可以将各自的网关标识通过 广播发送至用户设备。网关标识可以是本地网络(Local Network)ID,或者,网关标识也可以是本地网关(Local Gateway)ID。获取IP地址的请求消息可以是DHCP请求。
第二种获取第二IP地址的方式中,用户设备将第一IP地址或者第一网关标识发送至移动性管理实体。移动性管理实体确定第一IP地址是否为第二网关为用户设备分配的IP地址,或者第一网关标识是否与第二网关标识相同。如果第一IP地址不是第二网关为用户设备分配的IP地址,或者第一网关标识与第二网关标识不同,则移动性管理实体确定第一网关与第二网关不是同一网关。
移动性管理实体确定第一网关与第二网关不是同一网关后,根据上下文记录判断第二网关是否已经为用户设备分配了IP地址,如果第二网关已经为用户设备分配了IP地址,则移动性管理实体拒绝用户设备获取新IP地址的请求,并指示用户设备使用第二网关已经为用户设备分配的IP地址,如果第二网关没有为用户设备分配IP地址,则移动性管理实体向第二网关为用户设备申请分配IP地址,并将从第二网关接收的第二IP地址发送至用户设备。可选的,移动性管理实体可以通过NAS消息向用户设备发送第二IP地址。用户设备接收到移动性管理实体发送的第二IP地址,即完成第二IP地址的获取过程。
可选的,当移动性管理实体确定第二网关与第一网关不是同一网关后,也可以指示用户设备向第二网关请求IP地址,完成第二IP地址的获取过程。
第三种获取第二IP地址的方式中,用户设备将第二网关标识发送至第一基站,第一基站对第二网关标识和第一网关标识进行判断,如果第二网关标识与第一网关标识不同,则第一基站向用户设备发送判断指示消息,该判断指示消息用于指示第二网关与第一网关不是同一网关,判断指示消息具体可以是Handover command消息。用户设备在接收判断指示消息后,通过向第二网关请求新的IP地址获取第二IP地址。第一基站也可以将判断指示消息发送至第二基站, 比如通过Handover Request消息,第二基站接收判断指示消息后,指示用户设备获取IP地址或者向移动性管理实体为用户设备请求新的IP地址。
结合步骤701中建立第三MPTCP子流的过程,用户设备获取第二IP地址后,使用第二IP地址建立第二MPTCP子流,并主要通过第二MPTCP子流传输业务数据,与通信对端进行通信。通过第二MPTCP子流传输业务数据,降低了第三MPTCP子流的数据传输量,减少了核心网网关的数据负荷。
704、用户设备撤销第二子流。
可选的,第二MPTCP子流主要用于传输用户设备的业务数据,当通过第二MPTCP子流传输的数据流量小于预设阈值时,可以撤销第二MPTCP子流。预设阈值的大小可以根据实际情况进行配置,本实施例对预设阈值的具体取值不做限定。
本实施例提供三种可选的撤销第二MPTCP子流的方式。
第一种撤销第二MPTCP子流的方式中,用户设备确定通过第二MPTCP子流传输的数据流量小于预设阈值时,撤销第二MPTCP子流,同时释放第二IP地址,并指示第二网关释放第二IP地址。
第二种撤销第二MPTCP子流的方式中,第二基站确定通过第二MPTCP子流传输的数据流量小于预设阈值时,向用户设备发送指示消息,或者通过移动性管理实体发送指示消息。用户设备接收到第二基站或者移动性管理实体发送的指示消息后撤销第二MPTCP子流,同时释放第二IP地址,并指示第二网关释放第二IP地址。
第三种撤销第二MPTCP子流的方式中,第二基站确定通过第二MPTCP子流传输的数据流量小于预设阈值时,删除用户设备用于传输第二MPTCP子流的网络资源,包括第二IP地址以及第二MPTCP子流的承载。当用户设备在连接态时,指示用户设备撤销第二MPTCP子流,指示第二网关释放第二IP地址。用户设备接收到第二基站发送的撤销第二MPTCP子流的指示后,在第三MPTCP子流中向通信对端发送撤销第二MPTCP子流的请求。第二MPTCP子 流撤消后,用户设备释放第二IP地址。
可选的,第二MPTCP子流删除后,用户设备进入空闲(Idle)态。
705、用户设备在空闲态接收下行数据。
用户设备进入空闲态后,当核心网网关接收到用户设备的下行数据时,缓存用户设备的下行数据,并向移动性管理实体发送用户设备的下行数据通知(DDN,Downlink Data Notification)。移动性管理实体接收到核心网网关发送的用户设备的下行数据通知后,寻呼(Page)用户设备,用户设备响应移动性管理实体的寻呼。移动性管理实体在用户设备响应寻呼后指示核心网网关向用户设备发送下行数据。
基于本发明的实施例所提供的移动性管理系统,本发明的实施例还提供一种对用户设备进行计费的方法。当用户设备通过第一MPTCP子流与通信对端通信时,由第一网关对用户设备进行计费,当用户设备通过第二MPTCP子流与通信对端通信时,由第二网关对用户设备进行计费。本实施例中以第一网关对用户设备进行计费的应用场景为例进行说明。
在使用计费规则功能(PCRF,Policy and Charging Rules Function)以及在线计费系统(OCS,Online Charging System)的应用场景中,第一网关获取用户设备的计费规则以及用户设备的可用额度,并根据用户设备的计费规则对用户设备的可用额度进行扣减,然后向在线计费系统发送用户设备的可用额度余额。其中,用户设备的可用额度为该用户设备的账户的可用额度,可用额度可以为该用户设备的信用(Credit)或者配额(Quota)。
具体可选的,当用户设备连接到第一网关时,向移动性管理实体请求用户设备的计费规则以及用户设备的可用额度。移动性管理实体从策略和计费规则功能获得的用户设备的计费规则并发送至第一网关,移动性管理实体从在线计费系统获取用户设备的可用余额并发送至第一网关。第一网关根据用户设备的计费规则对用户设备 的可用额度进行扣减。如果用户设备的可用额度全部被扣减完,则第一网关重新向移动性管理实体请求用户设备的可用额度。第一MPTCP子流撤销后,第一网关将用户设备的可用额度余额通过移动性管理实体返回给在线计费系统。
在使用计费规则功能以及离线计费系统(OFCS,Off-line Charging System)的应用场景中,第一网关向移动性管理实体发送用户设备在第一网关的话单(CDR,Call Detail Record)。移动性管理实体将用户设备在第一网关的话单发送至离线计费系统。可选的,移动性管理实体可以管理多个网关,第一网关可以为移动性管理实体所管理网关中的一个或者多个。
本发明的实施例提供的移动性管理系统,用户设备在第一基站内时,通过第一子流与通信对端进行通信,当用户设备由第一网关向第二网关切换时,用户设备使用第三子流代替第一子流与通信对端进行通信,保证用户设备的业务连续性。当第二子流建立后,用户设备不再通过第三子流传输业务数据,而是通过第二子流传输业务数据,以减少核心网网关负荷,使得核心网网关能够保证网络内其它用户设备在进行基站切换时的业务连续性。
基于图2所对应的实施例,本发明的实施例提供另一种移动性管理方法,参照图8所示,包括以下步骤:
801、第一基站为用户设备建立第一子流以及第三子流。
本实施例中,由基站作为子流代理(Proxy)完成子流的建立、撤销以及不同子流数据的管理等功能,使得不支持多子流的用户设备也能够实施本发明所提供的移动性管理方法。
可选的,第一基站可以通过如下三种可选的方式获取第一IP地址。结合图7所对应实施例中的步骤701,用户设备获取第一IP地址后,通过RRC消息将第一IP地址发送至第一基站。或者用户设备将第一IP地址通过NAS消息发送至移动性管理实体,由移动性管理实体通过S1消息将第一IP地址发送至第一基站。或者,当移动性管理实体为用户设别向第一网关申请IP地址时,移动性管理实体从第一网关接 收到第一IP地址后,通过S1消息将第一IP地址发送至第一基站。
第一基站获取第一IP地址后,建立第一MPTCP子流,第一MPTCP子流为第一基站使用第一IP地址为用户设备与通信对端建立的子流,第一IP地址是第一网关为用户设备分配的IP地址,第一网关与第一基站连接。
与第一基站获取第一IP地址的过程类似,第一基站从用户设备或者移动性管理实体获取第三IP地址,并建立第三MPTCP子流。其中,第三MPTCP子流为第一基站使用第三IP地址为用户设备与通信对端建立的子流,第三IP地址是核心网网关为用户设备分配的IP地址,核心网网关与第一基站以及第二基站连接。
802、当用户设备由第一基站向第二基站切换时,用户设备使用第三子流通过第一基站与通信对端进行通信,第一基站撤销第一子流。
可选的,第一MPTCP子流主要用于传输用户设备的业务数据,因此在用户设备需要传输业务数据前建立即可。第三MPTCP子流主要用于当用户设备由第一基站向第二基站切换时,传输用户设备与通信对端之间的数据,因此用户设备在进行切换之前建立第三MPTCP子流即可。例如,在一种具体的应用场景中,当第一基站作为用户设备的服务基站时,第一基站为用户设备建立第三子流,用户设备使用第三子流通过第一基站与通信对端进行通信。当用户设备与通信对端之间的数据流量超过预设阈值时,第一基站建立第一子流,用户设备与通信对端的数据主要使用第一子流通过第一基站进行传输。
第一基站完成对用户设备的子流的管理功能。第一基站接收到用户设备发送的数据包后,对数据包进行适配。具体的,第一基站将用户发送的数据包中添加源地址。当使用第一MPTCP子流与通信对端进行通信时,源地址是第一IP地址,当使用第三MPTCP子流与通信对端进行通信时,源地址是第三IP地址。同样,当第一基站从第一网关接收到目标地址为第一IP地址的数据包,或者从核心网 网关接收到目标地址为第三IP地址的数据包时,都对数据包进行适配,将适配后的数据包发送至用户设备。
当用户设备由第一基站向第二基站切换时,使用第三MPTCP子流代替第一MPTCP子流与通信对端进行通信,即只通过第三MPTCP子流向通信对端发送数据,以及通过第三MPTCP子流接收通信对端发送的数据,而不再使用第一MPTCP子流,此时第一基站撤销第一MPTCP子流。
可选的,第一MPTCP子流撤销之后,第一基站释放第一IP地址,并指示第一网关释放第一IP地址。具体的,第一基站将释放第一IP地址的指示消息发送至第一网关。第一基站释放第一IP地址,即不再占用第一IP地址。第一网关释放第一IP地址,即解除用第一IP地址与用户设备之间的绑定。第一网关在释放第一IP地址后,可以将第一IP地址分配给其他用户设备。
第一MPTCP子流撤销后,用户设备切换至第二基站,不再通过第一基站传输第三MPTCP子流的数据,而是通过第二基站传输第三MPTCP子流的数据,与通信对端进行通信。
803、当第二网关与第一网关不是同一网关时,第二基站获取第二IP地址,并为用户设备建立第二子流。
结合图7所对应实施例中的步骤703,在确定第一网关与第二网关不是同一网关后,第二网关需要为用户设备分配新的IP地址。其中,第二网关与第二基站连接,第二网关为用户设备分配的IP地址为第二IP地址。
结合步骤801中第一基站获取第一IP地址的过程,可选的,第二基站从用户设备或者移动性管理实体获取第二IP地址,并建立第二MPTCP子流,第二MPTCP子流为第二基站使用第二IP地址为用户设备与通信对端建立的子流。
优选的,在一种应用场景中,当用户设备由第一基站切换至第二基站时,第一子流在第二子流建立后撤销。具体的,当用户设备由第一基站切换至第二基站时,第一基站向第二基站发送MPTCP子流代理(Proxy)的上下文,其中,第一基站可以直接向第二基站 发送,或者通过移动性管理实体发送,MPTCP子流代理的上下文可以包括下五种信息中的至少一种:第一基站与通信对端之间的MPTCP层序列号,令牌Token,第一基站与通信对端之间的第一子流的序列号,第一子流的地址标识Address ID,第一基站与通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,第一子流代理与用户设备之间的TCP序列号。本实施例中MPTCP子流代理(Proxy)的上下文包括以上五种信息中的全部。当第二基站建立第二子流时,用户设备与第二基站之间的下行数据隧道与第二网关与第二基站之间的下行数据隧道可以同时建立。第二基站的MPTCP Proxy用第二IP地址为用户设备建立第二MPTCP子流后,撤销第一MPTCP子流。继续使用第一基站发送的MPTCP层序列号,并用第一IP地址的地址标识(Address ID)通过MPTCP层信令撤销第一MPTCP子流。
第二MPTCP子流建立后,可选的,第二基站主要通过第二MPTCP子流传输用户设备的业务数据,使得用户设备与通信对端进行通信。通过第二MPTCP子流传输业务数据,降低了第三MPTCP子流的数据传输量,减少了核心网网关的数据负荷。
804、第二基站撤销第二子流。
可选的,第二MPTCP子流主要用于传输用户设备的业务数据,当通过第二MPTCP子流传输的数据流量小于预设阈值时,可以撤销第二MPTCP子流。本实施例提供两种可选的撤销第二MPTCP子流的方式。
第一种撤销第二MPTCP子流的方式中,第二基站确定通过第二MPTCP子流传输的数据流量小于预设阈值时,撤销第二MPTCP子流,同时释放第二IP地址,并指示第二网关释放第二IP地址。
第二种撤销第二MPTCP子流的方式中,第二基站确定通过第二MPTCP子流传输的数据流量小于预设阈值时,删除用户设备用于传输第二MPTCP子流的网络资源,包括第二IP地址以及第二MPTCP子流的承载。当用户设备在连接态时,指示用户设备撤销第 二MPTCP子流,指示第二网关释放第二IP地址。用户设备接收到第二基站发送的撤销第二MPTCP子流的指示后,在第三MPTCP子流中向通信对端发送撤销第二MPTCP子流的请求。第二MPTCP子流撤消后,用户设备释放第二IP地址。
可选的,第二MPTCP子流删除后,用户设备进入空闲(Idle)态。
805、用户设备在空闲态接收下行数据。
用户设备进入空闲态后,当核心网网关接收到用户设备的下行数据时,缓存用户设备的下行数据,并向移动性管理实体发送用户设备的下行数据通知(DDN,DownlinkData Notification)。移动性管理实体接收到核心网网关发送的用户设备的下行数据通知后,寻呼(Page)用户设备,用户设备响应移动性管理实体的寻呼。移动性管理实体在用户设备响应寻呼后指示核心网网关向用户设备发送下行数据。
本发明的实施例提供的移动性管理系统,由基站作为子流代理(Proxy)完成子流的建立、撤销以及不同子流数据的管理等功能,使得用户设备在第一基站内时,通过第一子流与通信对端进行通信,当用户设备由第一网关向第二网关切换时,用户设备使用第三子流代替第一子流通过第一基站和第二基站与通信对端进行通信,保证用户设备的业务连续性。当第二子流建立后,用户设备不再通过第三子流传输业务数据,而是通过第二子流传输业务数据,以减少核心网网关负荷,使得核心网网关能够保证网络内其它用户设备在进行基站切换时的业务连续性。
基于图7所对应的实施例,本发明的实施例提供再一种移动性管理方法,应用于用户设备,参照图9所示,包括以下步骤:
901、用户设备建立第一子流以及第三子流。
其中,第一MPTCP子流为用户设备使用第一IP地址与通信对端建立的子流,第一IP地址是第一网关为用户设备分配的IP地址,第一网关与第一基站连接。第三MPTCP子流为用户设备使用第三IP地址与通信对端建立的子流,第三IP地址是核心网网关为用户设 备分配的IP地址,核心网网关与第一基站以及第二基站连接。
结合图7所对应实施例中的步骤701,用户设备从第一网关或者移动性管理实体获取第一IP地址,建立第一MPTCP子流,用户设备从核心网网关或者移动性管理实体获取第三IP地址,建立第三MPTCP子流。
902、当用户设备由第一基站向第二基站切换时,用户设备使用第三子流通过第一基站与通信对端进行通信,并撤销第一子流。
当用户设备由第一基站向第二基站切换时,使用第三MPTCP子流代替第一MPTCP子流与通信对端进行通信,即只通过第三MPTCP子流向通信对端发送数据,以及通过第三MPTCP子流接收通信对端发送的数据,而不再使用第一MPTCP子流,此时用户设备撤销第一MPTCP子流。
可选的,第一MPTCP子流撤销之后,用户设备释放第一IP地址,并指示第一网关释放第一IP地址。具体的,用户设备可以通过第一基站或者移动性管理实体将释放第一IP地址的指示消息发送至第一网关。用户设备释放第一IP地址,即不再占用第一IP地址。第一网关释放第一IP地址,即解除用第一IP地址与用户设备之间的绑定。第一网关在释放第一IP地址后,可以将第一IP地址分配给其他用户设备。
第一MPTCP子流撤销后,用户设备切换至第二基站,不再通过第一基站传输第三MPTCP子流的数据,而是通过第二基站传输第三MPTCP子流的数据,与通信对端进行通信。
903、当第二网关与第一网关不是同一网关时,用户设备获取第二IP地址,并与通信对端建立第二子流。
其中,第二IP地址为第二网关为用户设备分配的IP地址,第二MPTCP子流为用户设备使用第二IP地址与通信对端建立的子流,第二网关与第二基站连接,第二网关可以为分布式的本地网关。
结合图7所对应的实施例中的步骤703,本实施例提供三种可选的用户设备获取第二IP地址的方式。第一种获取第二IP地址的 方式中,用户设备通过第一网关标识和第二网关标识确定第一网关与第二网关不是同一个网关,并请求第二网关为用户设备分配IP地址,以及接收第二网关发送的第二IP地址。第二种获取第二IP地址的方式中,用户设备将第一IP地址或者第一网关标识发送至移动性管理实体,由移动性管理实体确定第一网关与第二网关不是同一个网关,并请求第二网关为用户设备分配IP地址,在接收第二网关发送的第二IP地址后,将第二IP地址发送至用户设备。第三种获取第二IP地址的方式中,用户设备将第二网关标识发送至第一基站,第一基站对第二网关标识和第一网关标识进行判断,如果第二网关标识与第一网关标识不同,则指示用户设备向第二网关请求IP地址。
用户设备获取第二IP地址后,使用第二IP地址建立第二MPTCP子流。可选的,用户设备主要通过第二MPTCP子流传输业务数据,与通信对端进行通信。通过第二MPTCP子流传输业务数据,降低了第三MPTCP子流的数据传输量,减少了核心网网关的数据负荷。
904、用户设备撤销第二子流。
当通过第二MPTCP子流传输的数据流量小于预设阈值时,用户设备撤销第二MPTCP子流。
可选的,用户设备确定当通过第二MPTCP子流传输的数据流量小于预设阈值时,撤销第二MPTCP子流,同时释放第二IP地址,并指示第二网关释放第二IP地址。或者,用户设备在接收到移动性管理实体发送的撤销第二MPTCP子流的指示消息后,撤销第二MPTCP子流。进一步可选的,第二MPTCP子流删除后,用户设备进入空闲(Idle)态。
905、用户设备在空闲态接收下行数据。
结合图7所对应的实施例中的步骤705,用户设备进入空闲态后,当移动性管理实体寻呼(Page)用户设备时,用户设备响应移动性管理实体的寻呼,并从核心网网关接收下行数据。
本发明的实施例所提供的移动性管理方法,通过建立子流、撤销 子流以及大于不同子流数据进行管理,在第一基站内时通过第一子流与通信对端进行通信,当用户设备由第一网关向第二网关切换时,用户设备使用第三子流代替第一子流与通信对端进行通信,以保证业务连续性。当第二子流建立后,用户设备不再通过第三子流传输业务数据,而是通过第二子流传输业务数据,以减少核心网网关负荷,使得核心网网关能够保证网络内其它用户设备在进行基站切换时的业务连续性。
基于图8所对应的实施例,本发明的实施例提供又一种移动性管理方法,应用于第一基站,参照图10所示,包括以下步骤:
101、第一基站为用户设备建立第一子流以及第三子流。
结合图8所对应的实施例中的步骤801,第一基站作为子流代理(Proxy)完成子流的建立、撤销以及不同子流数据的管理等功能,使得不支持多子流的用户设备也能够实施本发明所提供的移动性管理方法。可选的,结合图8所对应实施例中的步骤801,第一基站从用户设备或者移动性管理实体获取第一IP地址,建立第一MPTCP子流,第一基站从用户设备或者移动性管理实体获取第三IP地址,建立第三MPTCP子流。
用户设备的子流建立后,第一基站完成对用户设备的子流的管理功能。第一基站通过第一MPTCP子流接收和发送用户设备的数据,以便于用户设备通过第一MPTCP子流与通信对端进行通信。具体的,第一基站接收用户设备发送的标准数据包,将从用户设备接收到的标准数据包转换为第一MPTCP子流数据包,将经过转换所得的第一MPTCP子流数据包经第一网关发送至通信对端。其中,经第一基站转换后所得的第一MPTCP子流数据包的源地址为第一IP地址。第一基站接收第一网关发送的第一MPTCP子流数据包,将第一基站从第一网关接收到的第一MPTCP子流数据包转换为标准数据包,将经过转换所得的标准数据包发送至用户设备,其中,第一基站从第一网关接收到的第一MPTCP子流数据包的目标地址为第一IP地址。
102、在用户设备由第一基站向第二基站切换过程中,当用户设备使用第三子流通过第一基站与通信对端进行通信时,第一基站撤 销第一子流。
当用户设备由第一基站向第二基站切换时,使用第三MPTCP子流代替第一MPTCP子流与通信对端进行通信,即只通过第三MPTCP子流向通信对端发送数据,以及通过第三MPTCP子流接收通信对端发送的数据。当第一基站通过第三MPTCP子流接收和发送用户设备的数据时,第一基站接收用户设备发送的标准数据包,将从用户设备接收到的标准数据包转换为第三MPTCP子流数据包,将经过转换所得的第三MPTCP子流数据包经核心网网关发送至通信对端。其中,经第一基站转换后所得的第三MPTCP子流数据包的源地址为第三IP地址。第一基站接收核心网网关发送的第三MPTCP子流数据包,将第一基站从核心网网关接收到的第三MPTCP子流数据包转换为标准数据包,将经过转换所得的标准数据包发送至用户设备。其中,第一基站从核心网网关接收到的第三MPTCP子流数据包的目标地址为第三IP地址。
用户设备的业务数据都通过第三MPTCP子流传输时,第一基站撤销第一MPTCP子流。可选的,第一MPTCP子流撤销之后,第一基站释放第一IP地址,并指示第一网关释放第一IP地址。
103、第一基站确定第二网关与第一网关不是同一网关,以便于用户设备获取第二IP地址。
第一MPTCP子流撤销之后,在用户设备由第一基站向第二基站切换的过程中,第一基站接收用户设备发送的第二网关标识,第二网关标识用于指示第二网关,第二基站与第二网关连接。当第二网关标识与第一网关标识不同时,第一基站生成判断指示消息,判断指示消息用于指示第二网关与第一网关不是同一网关。第一基站向用户设备发送判断指示消息,以便于用户设备获取第二IP地址,第二IP地址为第二网关为用户设备分配的IP地址。
可选的,在一种应用场景中,当用户设备由第一基站切换至第二基站时,第一子流在第二子流建立后撤销。具体的,当用户设备由第一基站切换至第二基站时,第一基站向第二基站发送MPTCP 子流代理(Proxy)的上下文,其中,第一基站可以直接向第二基站发送,或者通过移动性管理实体发送,MPTCP子流代理的上下文可以包括下五种信息中的至少一种:第一基站与通信对端之间的MPTCP层序列号,令牌Token,第一基站与通信对端之间的第一子流的序列号,第一子流的地址标识Address ID,第一基站与通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,第一子流代理与用户设备之间的TCP序列号。本实施例中MPTCP子流代理(Proxy)的上下文包括以上五种信息中的全部。当第二基站建立第二子流时,用户设备与第二基站之间的下行数据隧道与第二网关与第二基站之间的下行数据隧道可以同时建立。第二基站的MPTCP Proxy用第二IP地址为用户设备建立第二MPTCP子流后,撤销第一MPTCP子流。继续使用第一基站发送的MPTCP层序列号,并用第一IP地址的地址标识(Address ID)通过MPTCP层信令撤销第一MPTCP子流。
本发明的实施例提供的第一基站,通过完成子流的建立、撤销以及不同子流数据的管理等功能,以使得用户设备通过第一基站使用第一子流与通信对端流进行通信,通过第一基站使用第三子流与通信对端流进行通信,保证了用户设备的业务连续性。同时,当用户设备从第一基站向第二基站切换的过程中,第一基站对第一网关和第二网关进行判断,当第一网关和第二网关不是同一网关时,向用户设备发送判断指示消息,以便于用户设备获取第二IP地址,并将第二IP地址发送至第二基站,由第二基站为用户设备与通信对端建立第二子流,以减少核心网网关的数据负荷。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或者固件实现,或者它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或者作为计算机可读介质上的一个或者多个指令或者代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM(Random  Access Memory,随机存储器)、ROM(Read Only Memory,只读内存)、EEPROM(Electrically Erasable Programmable Read Only Memory,电可擦可编程只读存储器)、CD-ROM(Compact Disc Read Only Memory,即只读光盘)或者其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或者存储具有指令或者数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、DSL(Digital Subscriber Line,数字用户专线)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘和碟包括CD(Compact Disc,压缩光碟)、激光碟、光碟、DVD碟(Digital Versatile Disc,数字通用光)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或者替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (74)

  1. 一种移动性管理系统,其特征在于,包括:用户设备,第一基站,第二基站,第一网关,第二网关,核心网网关以及通信对端,所述用户设备通过第一子流与所述通信对端进行通信,所述第一子流为所述用户设备使用第一网际互连协议IP地址与所述通信对端建立的子流,所述第一IP地址是所述第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接,
    所述用户设备,用于当所述用户设备由所述第一基站向所述第二基站切换时,使用第三子流通过所述第一基站与所述通信对端进行通信,并撤销所述第一子流,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
    所述用户设备,还用于当所述第一子流撤消后,使用所述第三子流通过所述第二基站与所述通信对端进行通信;
    所述用户设备,还用于当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,并与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述用户设备使用所述第二IP地址与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
  2. 根据权利要求1所述的系统,其特征在于,
    在所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述用户设备,还用于获取第一IP地址,并与所述通信对端建立第一子流;
    在所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述用户设备,还用于获取第三IP地址,并与所述通信对端建立第三子流。
  3. 根据权利要求1所述的系统,其特征在于,
    所述用户设备,还用于在所述第一子流撤销之后,释放所述第一IP地址,并向所述第一网关发送释放所述第一IP地址的指示消息;
    所述第一网关,用于在接收所述用户设备发送的释放所述第一IP地址的指示消息后,释放所述第一IP地址。
  4. 根据权利要求1所述的系统,其特征在于,所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
    当所述用户设备与第一基站连接时,接收所述第一基站发送的第一网关标识,所述第一网关标识用于指示所述第一网关;
    当所述用户设备由所述第一基站向所述第二基站切换时,接收所述第二基站发送的第二网关标识,所述第二网关标识用于指示所述第二网关;
    如果所述第二网关标识与所述第一网关标识不同,则所述用户设备向所述第二网关发送获取IP地址的请求消息,并接收所述第二网关发送的所述第二IP地址。
  5. 根据权利要求1所述的系统,其特征在于,所述移动性管理系统还包括移动性管理实体,所述移动性管理实体用于管理所述第二基站和所述第二网关,所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
    当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将所述第一IP地址或者第一网关标识发送至所述移动性管理实体,所述第一网关标识用于指示所述第一网关;
    所述移动性管理实体确定所述第一IP地址是否为所述第二网关为所述用户设备分配的IP地址,或者所述第一网关标识是否与第二网关标识相同,所述第二网关标识用于指示所述第二网关;
    如果所述第一IP地址不是所述第二网关为所述用户设备分配的IP地址,或者所述第一网关标识与所述第二网关标识不同,则所述移动性管理实体向所述第二网关为所述用户设备申请分配IP地址,并将从所述第二网关接收的所述第二IP地址发送至所述用户设备。
  6. 根据权利要求1所述的系统,其特征在于,所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
    当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将第二网关标识发送至所述第一基站,所述第二网关标识用于指示所述第二网关;
    如果所述第二网关标识与第一网关标识不同,则所述第一基站向所述用户设备发送判断指示消息,所述第一网关标识用于指示所述第一网关,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
    所述用户设备在接收所述判断指示消息后向所述第二网关发送获取IP地址的请求消息,并接收所述第二网关发送的所述第二IP地址。
  7. 根据权利要求1所述的系统,其特征在于,
    在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述用户设备,还用于撤销所述第二子流。
  8. 根据权利要求1所述的系统,其特征在于,
    所述移动性管理系统还包括移动性管理实体,所述移动性管理实体用于管理所述第二基站和所述第二网关;
    在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述移动性管理实体,用于指示所述用户设备撤销所述第二子流;
    所述用户设备,还用于撤销所述第二子流。
  9. 根据权利要求7或者8所述的系统,其特征在于,
    所述用户设备,还用于在撤销所述第二子流后,释放所述第二IP地址,并指示所述第二网关释放所述第二IP地址;
    所述第二网关,用于释放所述第二IP地址。
  10. 根据权利要求1所述的系统,其特征在于,
    在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站,用于指示所述用户设备撤 消所述第二子流,并指示所述第二网关释放所述第二IP地址;
    所述用户设备,还用于撤销所述第二子流,并释放所述第二IP地址;
    所述第二网关,用于释放所述第二IP地址。
  11. 根据权利要求10所述的系统,其特征在于,
    所述用户设备,还用于在所述用户设备释放所述第二IP地址后,进入空闲态;
    所述核心网网关,用于在所述用户设备进入空闲态后缓存所述用户设备的下行数据,并向所述移动性管理实体发送所述用户设备的下行数据通知;
    所述移动性管理实体,还用于接收所述核心网网关发送的所述用户设备的下行数据通知,并寻呼所述用户设备;
    所述用户设备,还用于响应所述移动性管理实体的寻呼。
  12. 根据权利要求11所述的系统,其特征在于,
    所述移动性管理实体,还用于在所述用户设备响应寻呼后指示所述核心网网关向所述用户设备发送下行数据;
    所述核心网网关,还用于向所述用户设备发送下行数据。
  13. 根据权利要求1所述的系统,其特征在于,
    所述移动性管理系统还包括:移动性管理实体、在线计费系统OCS以及策略和计费规则功能PCRF,
    所述移动性管理实体,用于从所述线计费系统获取所述用户设备的可用额度,并将所述用户设备的可用额度发送至所述第一网关;
    所述移动性管理实体,还用于从所述策略和计费规则功能获取所述用户设备的计费规则,并将所述用户设备的计费规则发送至所述第一网关;
    所述第一网关,还用于当用户设备通过所述第一子流与所述通信对端进行通信时,根据所述用户设备的计费规则对所述用户设备的可用额度进行扣减,并向在线计费系统发送所述用户设备的可用额度余额。
  14. 根据权利要求1所述的系统,其特征在于,
    所述移动性管理系统还包括:移动性管理实体以及离线计费系统OFCS,
    所述第一网关,还用于向所述移动性管理实体发送所述用户设备在所述第一网关的话单;
    所述移动性管理实体,用于将所述用户设备在所述第一网关的话单发送至离线计费系统。
  15. 一种移动性管理系统,其特征在于,包括:用户设备,第一基站,第二基站,第一网关,第二网关,核心网网关以及通信对端,所述用户设备通过第一子流与所述通信对端进行通信,所述第一子流为所述第一基站使用第一网际互连协议IP地址为所述用户设备与所述通信对端建立的子流,所述第一IP地址是所述第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接,
    所述用户设备,用于当所述用户设备由所述第一基站向所述第二基站切换时,使用第三子流通过所述第一基站与所述通信对端进行通信,所述第三子流为所述第一基站使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
    所述第一基站,还用于撤消所述第一子流;
    所述用户设备,还用于当所述第一子流撤消后,使用所述第三子流通过所述第二基站与所述通信对端进行通信;
    所述第二基站,用于当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,并为所述用户设备与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述第二基站使用所述第二IP地址为所述用户设备与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
  16. 根据权利要求15所述的系统,其特征在于,
    在所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述第一基站,还用于获取第一IP地址,并为所述用户设备与所述通信对端建立第一子流;
    在所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述第一基站,还用于获取第三IP地址,并为所述用户设备与所述通信对端建立第三子流。
  17. 根据权利要求15所述的系统,其特征在于,
    所述第一基站,还用于在所述第一子流撤销之后,释放所述第一IP地址,并向所述第一网关发送释放所述第一IP地址的指示消息;
    所述第一网关,用于在接收所述第一基站发送的释放所述第一IP地址的指示消息后,释放所述第一IP地址。
  18. 根据权利要求15所述的系统,其特征在于,
    在所述用户设备由所述第一基站向所述第二基站切换时,当所述第一网关与所述第二网关不是统一网关时,所述第一基站还用于向所述第二基站发送第一子流代理Proxy的上下文,所述第一子流代理的上下文至少包括以下信息中的至少一种:
    所述第一基站与所述通信对端之间的子流代理层序列号,令牌Token,所述第一基站与所述通信对端之间的所述第一子流的序列号,所述第一子流的地址标识Address ID,所述第一基站与所述通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,所述所述第一子流代理与所述用户设备之间的TCP序列号。
  19. 根据权利要求15所述的系统,其特征在于,
    在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站,还用于撤销所述第二子流。
  20. 根据权利要求19所述的系统,其特征在于,
    所述第二基站,还用于在撤销所述第二子流后,释放所述第二IP地址,并指示所述第二网关释放所述第二IP地址;
    所述第二网关,用于释放所述第二IP地址。
  21. 根据权利要求15所述的系统,其特征在于,
    在所述第二子流建立后,当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站用于撤销所述第二子流,并指示所述第二网关释放所述第二IP地址;
    所述第二基站,还用于释放所述第二IP地址;
    所述第二网关,用于释放所述第二IP地址。
  22. 一种用户设备,其特征在于,包括:多路径控制单元以及接收单元,所述用户设备通过第一子流与通信对端进行通信,所述第一子流为所述用户设备使用第一网际互连协议IP地址与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接,
    所述多路径控制单元,用于当所述用户设备由所述第一基站向所述第二基站切换时,使用第三子流通过所述第一基站与所述通信对端进行通信,并撤销第一子流,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接,所述第一子流为所述用户设备使用第一IP地址与所述通信对端建立的子流,所述第一IP地址是所述第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
    所述多路径控制单元,还用于当所述第一子流撤消后,使用所述第三子流通过所述第二基站与所述通信对端进行通信;
    所述接收单元,用于当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二网关与所述第二基站连接;
    所述多路径控制单元,还用于与所述通信对端建立第二子流,所述第二子流为所述用户设备使用所述第二IP地址与所述通信对端建立的子流。
  23. 根据权利要求22所述的用户设备,其特征在于,
    在所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述接收单元,还用于获取第一IP地址;
    所述多路径控制单元,还用于与所述通信对端建立第一子流;
    在所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述接收单元,还用于获取第三IP地址;
    所述多路径控制单元,还用于与所述通信对端建立第三子流。
  24. 根据权利要求22所述的用户设备,其特征在于,
    所述多路径控制单元,还用于在所述第一子流撤销之后,释放所述第一IP地址,并生成释放所述第一IP地址的指示消息;
    所述用户设备还包括发送单元,用于向所述第一网关发送释放所述第一IP地址的指示消息,以便于所述第一网关释放所述第一IP地址。
  25. 根据权利要求22所述的用户设备,其特征在于,
    所述接收单元,还用于接收所述第一基站发送的第一网关标识,所述第一网关标识用于指示所述第一网关;
    所述接收单元,还用于接收所述第二基站发送的第二网关标识,所述第二网关标识用于指示所述第二网关;
    所述多路径控制单元,还用于判断所述第二网关标识与所述第一网关标识是否相同,如果所述第二网关标识与所述第一网关标识不同,则生成获取IP地址的请求消息;
    所述用户设备还包括发送单元,用于向所述第二网关发送所述获取IP地址的请求消息;
    所述接收单元,还用于接收所述第二网关发送的所述第二IP地址。
  26. 根据权利要求22所述的用户设备,其特征在于,
    所述用户设备还包括发送单元,用于当所述用户设备由所述第一基站向所述第二基站切换时,将所述第一IP地址或者第一网关标识 发送至移动性管理实体,以便于所述移动性管理实体根据所述第一IP地址或者第一网关标识确定所述第二网关与所述第一网关是否为同一网关,并在所述第二网关与所述第一网关不是同一网关时向所述第二网关为所述用户设备申请分配IP地址,将从所述第二网关接收的所述第二IP地址发送至所述用户设备,所述第一网关标识用于指示所述第一网关,所述移动性管理实体用于管理所述第二基站和所述第二网关;
    所述接收单元,还用于接收所述移动性管理实体发送的所述第二IP地址。
  27. 根据权利要求22所述的用户设备,其特征在于,所述用户设备还包括发送单元,用于当所述用户设备由所述第一基站向所述第二基站切换时,将第二网关标识发送至所述第一基站,以便于所述第一基站确定所述第二网关与所述第一网关是否为同一网关,所述第二网关标识用于指示所述第二网关;
    所述接收单元,还用于接收所述第一基站发送的判断指示消息,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
    所述多路径控制单元,还用于生成获取IP地址的请求消息;
    所述发送单元,还用于向所述第二网关发送所述获取IP地址的请求消息;
    所述接收单元,还用于接收所述第二网关发送的所述第二IP地址。
  28. 根据权利要求22所述的用户设备,其特征在于,
    在所述第二子流建立后,所述多路径控制单元还用于确定所述用户设备与所述通信对端之间的数据流量是否小于预设阈值;
    当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述多路径控制单元,还用于撤销所述第二子流,并释放所述第二IP地址。
  29. 根据权利要求22所述的用户设备,其特征在于,
    所述接收单元,还用于接收移动性管理实体或者所述第二基站发送的撤销所述第二子流的指示消息,所述移动性管理实体用于管理所述第二基站和所述第二网关;
    所述多路径控制单元,还用于在所述接收单元接收到所述移动性管理实体或者所述第二基站发送的撤销所述第二子流的指示消息后,撤销所述第二子流,并释放所述第二IP地址。
  30. 根据权利要求22所述的用户设备,其特征在于,
    所述多路径控制单元,还用于生成释放所述第二IP地址的指示消息;
    所述用户设备还包括发送单元,用于向所述第二网关发送所述释放所述第二IP地址的指示消息。
  31. 根据权利要求30所述的用户设备,其特征在于,
    所述用户设备还包括状态控制单元,用于在所述发送单元向所述第二网关发送所述释放所述第二IP地址的指示消息后,控制所述用户设备进入空闲态;
    所述接收单元,还用于接收所述移动性管理实体的寻呼;
    所述多路径控制单元,还用于在所述用户设备进入空闲态后,生成寻呼响应消息;
    所述用户设备还包括发送单元,用于向所述移动性管理实体发送所述寻呼响应消息;
    所述接收单元,还用于在所述用户设备向所述移动性管理实体发送所述寻呼响应消息后,从所述核心网网关接收所述用户设备的下行数据。
  32. 一种第一基站,其特征在于,包括子流代理单元以及收发单元;
    所述收发单元,用于通过第一子流接收和发送用户设备的数据,以便于用户设备通过所述第一子流与通信对端进行通信,其中,所述第一子流为所述第一基站使用第一网际互连协议IP地址为所述用户设备与所述通信对端建立的子流,所述第一IP地址是第一网关为所 述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
    所述收发单元,还用于当所述用户设备由所述第一基站向第二基站切换时,通过第三子流接收和发送用户设备的数据,以便于用户设备通过所述第三子流与所述通信对端进行通信,其中,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
    所述子流代理单元,用于撤销所述第一子流。
  33. 根据权利要求32所述的第一基站,其特征在于,
    所述收发单元,具体用于接收所述用户设备发送的标准数据包,还用于接收所述第一网关发送的第一子流数据包;
    所述子流代理单元,具体用于将所述收发单元从所述用户设备接收到的所述标准数据包转换为所述第一子流数据包,还用于将所述收发单元从所述第一网关接收到的所述第一子流数据包转换为所述标准数据包;
    所述收发单元,还用于将经过所述子流代理单元转换所得的所述第一子流数据包经所述第一网关发送至所述通信对端,还用于将经过所述子流代理单元转换所得的所述标准数据包发送至所述用户设备。
  34. 根据权利要求32所述的第一基站,其特征在于,
    所述收发单元,还用于获取所述第一IP地址;
    所述子流代理单元,还用于使用所述第一IP地址与所述通信对端建立所述第一子流,以便于用户设备通过所述第一子流与所述通信对端进行通信;
    所述收发单元,还用于获取所述第三IP地址;
    所述子流代理单元,还用于使用所述第三IP地址与所述通信对端建立所述第三子流,以便于所述用户设备通过所述第三子流与所述通信对端进行通信。
  35. 根据权利要求32所述的第一基站,其特征在于,
    所述子流代理单元,还用于在所述第一子流撤销之后,释放所述 第一IP地址,并生成释放所述第一IP地址的指示消息;
    所述发送器,还用于向所述第一网关发送所述子流代理单元生成的释放所述第一IP地址的指示消息。
  36. 根据权利要求32所述的第一基站,其特征在于,
    所述收发单元,还用于当所述用户设备由所述第一基站向第二基站切换时,接收所述用户设备发送的第二网关标识,所述第二网关标识用于指示第二网关,所述第二基站与所述第二网关连接;
    所述子流代理单元,还用于当所述第二网关标识与第一网关标识不同时,生成判断指示消息,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
    所述收发单元,还用于向所述用户设备发送所述判断指示消息,以便于所述用户设备获取第二IP地址,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址。
  37. 根据权利要求36所述的第一基站,其特征在于,
    在所述用户设备由所述第一基站向所述第二基站切换时,当所述第一网关与所述第二网关不是统一网关时,所述收发单元,还用于向所述第二基站发送第一子流代理Proxy的上下文,所述第一子流代理的上下文至少包括以下信息中的至少一种:
    所述第一基站与所述通信对端之间的子流代理层序列号,令牌Token,所述第一基站与所述通信对端之间的所述第一子流的序列号,所述第一子流的地址标识Address ID,所述第一基站与所述通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,所述所述第一子流代理与所述用户设备之间的TCP序列号。
  38. 一种移动性管理方法,其特征在于,包括:
    用户设备通过第一子流与通信对端进行通信,所述第一子流为所述用户设备使用第一网际互连协议IP地址与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
    当所述用户设备由第一基站向第二基站切换时,所述用户设备使 用第三子流通过所述第一基站与通信对端进行通信,并撤销所述第一子流,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
    所述第一子流撤消后,所述用户设备使用所述第三子流通过所述第二基站与所述通信对端进行通信;
    当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,并与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述用户设备使用所述第二IP地址与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
  39. 根据权利要求38所述的方法,其特征在于,
    所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述方法还包括:所述用户设备获取第一IP地址,并与所述通信对端建立第一子流;
    所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述方法还包括:所述用户设备获取第三IP地址,并与所述通信对端建立第三子流。
  40. 根据权利要求38所述的方法,其特征在于,所述第一子流撤销之后,所述方法还包括:
    所述用户设备释放所述第一IP地址,并向所述第一网关发送释放所述第一IP地址的指示消息;
    所述第一网关在接收所述用户设备发送的释放所述第一IP地址的指示消息后,释放所述第一IP地址。
  41. 根据权利要求38所述的方法,其特征在于,所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
    当所述用户设备与第一基站连接时,接收所述第一基站发送的第一网关标识,所述第一网关标识用于指示所述第一网关;
    当所述用户设备由所述第一基站向所述第二基站切换时,接收所述第二基站发送的第二网关标识,所述第二网关标识用于指示所述第二网关;
    如果所述第二网关标识与所述第一网关标识不同,则所述用户设备向所述第二网关发送获取IP地址的请求消息,并接收所述第二网关发送的所述第二IP地址。
  42. 根据权利要求38所述的方法,其特征在于,所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
    当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将所述第一IP地址或者第一网关标识发送至移动性管理实体,所述第一网关标识用于指示所述第一网关,所述移动性管理实体用于管理所述第二基站和所述第二网关;
    所述移动性管理实体确定所述第一IP地址是否为所述第二网关为所述用户设备分配的IP地址,或者所述第一网关标识是否与第二网关标识相同,所述第二网关标识用于指示所述第二网关;
    如果所述第一IP地址不是所述第二网关为所述用户设备分配的IP地址,或者所述第一网关标识与所述第二网关标识不同,则所述移动性管理实体向所述第二网关为所述用户设备申请分配IP地址,并将从所述第二网关接收的所述第二IP地址发送至所述用户设备。
  43. 根据权利要求38所述的方法,其特征在于,所述当所述第二网关与所述第一网关不是同一网关时获取第二IP地址,包括:
    当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将第二网关标识发送至所述第一基站,所述第二网关标识用于指示所述第二网关;
    如果所述第二网关标识与第一网关标识不同,则所述第一基站向所述用户设备发送判断指示消息,所述第一网关标识用于指示所述第一网关,所述判断指示消息用于指示所述第二网关与所述第一网关不 是同一网关;
    所述用户设备在接收判断指示消息后向所述第二网关发送获取IP地址的请求消息,并接收所述第二网关发送的所述第二IP地址。
  44. 根据权利要求38所述的方法,其特征在于,所述用户设备获取第二IP地址,并与所述通信对端建立第二子流之后,所述方法还包括:
    当通过所述第二子流传输的数据流量小于预设阈值时,所述用户设备撤销所述第二子流。
  45. 根据权利要求38所述的方法,其特征在于,所述用户设备获取第二IP地址,并与所述通信对端建立第二子流之后,所述方法还包括:
    当通过所述第二子流传输的数据流量小于预设阈值时,移动性管理实体指示所述用户设备撤销所述第二子流,所述移动性管理实体用于管理所述第二基站和所述第二网关;
    所述用户设备撤销所述第二子流。
  46. 根据权利要求44或者45所述的方法,其特征在于,所述用户设备撤销所述第二子流之后,所述方法还包括:
    所述用户设备释放所述第二IP地址,并指示所述第二网关释放所述第二IP地址。
  47. 根据权利要求38所述的方法,其特征在于,所述用户设备获取第二IP地址,并与所述通信对端建立第二子流之后,所述方法还包括:
    当通过所述第二子流传输的数据流量小于预设阈值时,所述第二基站指示所述用户设备撤销所述第二子流,并指示所述第二网关释放所述第二IP地址,所述移动性管理实体用于管理所述第二基站和所述第二网关;
    所述用户设备撤销所述第二子流,并释放所述第二IP地址;
    所述第二网关释放所述第二IP地址。
  48. 根据权利要求47所述的方法,其特征在于,所述用户设备 撤销所述第二子流,并释放所述第二IP地址之后,所述方法还包括:
    所述用户设备进入空闲态;
    所述核心网网关在所述用户设备进入空闲态后缓存所述用户设备的下行数据,并向所述移动性管理实体发送所述用户设备的下行数据通知;
    所述移动性管理实体接收所述核心网网关发送的所述用户设备的下行数据通知,并寻呼所述用户设备;
    所述用户设备响应所述移动性管理实体的寻呼。
  49. 根据权利要求48所述的方法,其特征在于,所述用户设备响应所述移动性管理实体的寻呼之后,所述方法还包括:
    所述移动性管理实体在所述用户设备响应寻呼后指示所述核心网网关向所述用户设备发送下行数据。
  50. 根据权利要求38所述的方法,其特征在于,所述方法还包括:
    移动性管理实体从在线计费系统OCS获取所述用户设备的可用额度,并将所述用户设备的可用额度发送至所述第一网关;
    所述移动性管理实体从策略和计费规则功能PCRF获取所述用户设备的计费规则,并将所述用户设备的计费规则发送至所述第一网关;
    所述第一网关当用户设备通过所述第一子流与所述通信对端进行通信时,根据所述用户设备的计费规则对所述用户设备的可用额度进行扣减,并向在线计费系统发送所述用户设备的可用额度余额。
  51. 根据权利要求38所述的方法,其特征在于,所述方法还包括:
    所述第一网关向移动性管理实体发送所述用户设备在所述第一网关的话单;
    移动性管理实体将所述用户设备在所述第一网关的话单发送至离线计费系统OFCS。
  52. 一种移动性管理方法,其特征在于,包括:
    用户设备通过第一子流与通信对端进行通信,所述第一子流为所述第一基站使用第一网际互连协议IP地址为所述用户设备与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
    当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备使用第三子流通过所述第一基站与所述通信对端进行通信,所述第三子流为所述第一基站使用第三IP地址为所述用户设备与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
    所述第一基站撤消所述第一子流;
    所述第一子流撤消后,所述用户设备使用所述第三子流通过所述第二基站与所述通信对端进行通信;
    当所述第二网关与所述第一网关不是同一网关时,所述第二基站获取第二IP地址,并为所述用户设备与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述第二基站使用所述第二IP地址为所述用户设备与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
  53. 根据权利要求52所述的方法,其特征在于,
    所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述方法还包括:所述第一基站获取第一IP地址,并为所述用户设备与所述通信对端建立第一子流;
    所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端进行通信之前,所述方法还包括:所述第一基站获取第三IP地址,并为所述用户设备与所述通信对端建立第三子流。
  54. 根据权利要求52所述的方法,其特征在于,所述第一基站撤消所述第一子流之后,所述方法还包括:
    所述第一基站释放所述第一IP地址,并向所述第一网关发送释放所述第一IP地址的指示消息;
    所述第一网关,在接收所述第一基站发送的释放所述第一IP地址的指示消息后,释放所述第一IP地址。
  55. 根据权利要求54所述的方法,其特征在于,在所述用户设备由所述第一基站向所述第二基站切换时,当所述第一网关与所述第二网关不是统一网关时,所述第一基站还用于向所述第二基站发送第一子流代理Proxy的上下文,所述第一子流代理的上下文至少包括以下信息中的至少一种:
    所述第一基站与所述通信对端之间的子流代理层序列号,令牌Token,所述第一基站与所述通信对端之间的所述第一子流的序列号,所述第一子流的地址标识Address ID,所述第一基站与所述通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,所述所述第一子流代理与所述用户设备之间的TCP序列号。
  56. 根据权利要求52所述的方法,其特征在于,所述第二基站获取第二IP地址,并为所述用户设备与所述通信对端建立第二子流之后,所述方法还包括:
    当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站撤销所述第二子流。
  57. 根据权利要求56所述的方法,其特征在于,所述第二基站撤销所述第二子流之后,所述方法还包括:
    所述第二基站释放所述第二IP地址,并指示所述第二网关释放所述第二IP地址。
  58. 根据权利要求52所述的方法,其特征在于,所述第二基站获取第二IP地址,并为所述用户设备与所述通信对端建立第二子流之后,所述方法还包括:
    当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述第二基站撤销所述第二子流,并指示所述第二网关释放所述第二IP地址;
    所述第二基站释放所述第二IP地址;
    所述第二网关,释放所述第二IP地址。
  59. 一种移动性管理方法,应用于用户设备,其特征在于,包括:
    所述用户设备通过第一子流与通信对端进行通信,所述第一子流为所述用户设备使用第一网际互连协议IP地址与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
    当所述用户设备由第一基站向第二基站切换时,所述用户设备使用第三子流通过所述第一基站与通信对端进行通信,并撤销所述第一子流,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
    当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备使用所述第三子流通过所述第二基站与所述通信对端进行通信;
    当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,并与所述通信对端建立第二子流,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址,所述第二子流为所述用户设备使用所述第二IP地址与所述通信对端建立的子流,所述第二网关与所述第二基站连接。
  60. 根据权利要求59所述的方法,其特征在于,
    在所述用户设备通过所述第一子流与所述通信对端进行通信之前,当所述用户设备与所述通信对端之间的数据流量超过预设阈值时,所述方法还包括:所述用户设备获取第一IP地址,并与所述通信对端建立第一子流;
    在所述用户设备由所述第一基站向所述第二基站切换之前,或者所述用户设备使用所述第三子流通过所述第一基站与所述通信对端 进行通信之前,所述方法还包括:所述用户设备获取第三IP地址,并与所述通信对端建立第三子流。
  61. 根据权利要求59所述的方法,其特征在于,所述用户设备在所述第一子流撤销之后,所述方法还包括:
    释放所述第一IP地址,并生成释放所述第一IP地址的指示消息;
    所述用户设备向所述第一网关发送释放所述第一IP地址的指示消息,以便于所述第一网关释放所述第一IP地址。
  62. 根据权利要求59所述的方法,其特征在于,所述当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,包括:
    所述用户设备接收所述第一基站发送的第一网关标识,所述第一网关标识用于指示所述第一网关;
    所述用户设备接收所述第二基站发送的第二网关标识,所述第二网关标识用于指示所述第二网关;
    所述用户设备判断所述第二网关标识与所述第一网关标识是否相同,如果所述第二网关标识与所述第一网关标识不同,则生成获取IP地址的请求消息;
    所述用户设备向所述第二网关发送所述获取IP地址的请求消息;
    所述接收器接收所述第二网关发送的所述第二IP地址。
  63. 根据权利要求59所述的方法,其特征在于,所述当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,包括:
    当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将所述第一IP地址或者第一网关标识发送至移动性管理实体,以便于所述移动性管理实体根据所述第一IP地址或者第一网关标识确定所述第二网关与所述第一网关是否为同一网关,并在所述第二网关与所述第一网关不是同一网关时向所述第二网关为所述用户设备申请分配IP地址,将从所述第二网关接收的所述第二IP地址发送至 所述用户设备,所述第一网关标识用于指示所述第一网关,所述移动性管理实体用于管理所述第二基站和所述第二网关;
    所述用户设备接收所述移动性管理实体发送的所述第二IP地址。
  64. 根据权利要求59所述的方法,其特征在于,所述当所述第二网关与所述第一网关不是同一网关时,所述用户设备获取第二IP地址,包括:
    当所述用户设备由所述第一基站向所述第二基站切换时,所述用户设备将第二网关标识发送至所述第一基站,以便于所述第一基站确定所述第二网关与所述第一网关是否为同一网关,所述第二网关标识用于指示所述第二网关;
    所述用户设备接收所述第一基站发送的判断指示消息,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
    所述用户设备生成获取IP地址的请求消息;
    所述用户设备向所述第二网关发送所述获取IP地址的请求消息;
    所述用户设备接收所述第二网关发送的所述第二IP地址。
  65. 根据权利要求59所述的方法,其特征在于,所述用户设备获取第二IP地址,并与所述通信对端建立第二子流之后,所述方法还包括:
    当所述用户设备与所述通信对端之间的数据流量小于预设阈值时,所述用户设备撤销所述第二子流,并释放所述第二IP地址。
  66. 根据权利要求59所述的方法,其特征在于,所述用户设备获取第二IP地址,并与所述通信对端建立第二子流之后,所述方法还包括:
    所述用户设备接收移动性管理实体或者所述第二基站发送的撤销所述第二子流的指示消息,所述移动性管理实体用于管理所述第二基站和所述第二网关;
    在所述接收器接收到所述移动性管理实体或者所述第二基站发 送的撤销所述第二子流的指示消息后,所述用户设备撤销所述第二子流,并释放所述第二IP地址。
  67. 根据权利要求66所述的方法,其特征在于,所述用户设备撤销所述第二子流,并释放所述第二IP地址之后,所述方法还包括:
    所述用户设备生成释放所述第二IP地址的指示消息;
    所述用户设备向所述第二网关发送所述释放所述第二IP地址的指示消息。
  68. 根据权利要求67所述的方法,其特征在于,所述用户设备向所述第二网关发送所述释放所述第二IP地址的指示消息之后,所述方法还包括:
    所述用户设备进入空闲态,在进入空闲态后接收所述移动性管理实体的寻呼,生成寻呼响应消息,并向所述移动性管理实体发送所述寻呼响应消息;
    所述用户设备在向所述移动性管理实体发送所述寻呼响应消息后接收所述核心网网关发送的所述用户设备的下行数据。
  69. 一种移动性管理方法,应用于第一基站,其特征在于,包括:
    所述第一基站通过第一子流接收和发送用户设备的数据,以便于所述用户设备通过所述第一子流与通信对端进行通信,其中,所述第一子流为所述第一基站使用第一网际互连协议IP地址为所述用户设备与所述通信对端建立的子流,所述第一IP地址是第一网关为所述用户设备分配的IP地址,所述第一网关与所述第一基站连接;
    当所述用户设备由所述第一基站向第二基站切换时,所述第一基站通过第三子流接收和发送用户设备的数据,以便于用户设备通过所述第三子流与所述通信对端进行通信,其中,所述第三子流为所述用户设备使用第三IP地址与所述通信对端建立的子流,所述第三IP地址是所述核心网网关为所述用户设备分配的IP地址,所述核心网网关与所述第一基站以及所述第二基站连接;
    当所述第一基站不再通过所述第一子流接收和发送所述用户设备的数据时,所述第一基站撤销所述第一子流。
  70. 根据权利要求69所述的方法,其特征在于,
    所述第一基站通过第一子流接收和发送用户设备的数据,以便于用户设备通过所述第一子流与通信对端进行通信,包括:
    所述第一基站接收所述用户设备发送的标准数据包,将从所述用户设备接收到的所述标准数据包转换为第一子流数据包,将经过转换所得的所述第一子流数据包经所述第一网关发送至所述通信对端;
    所述第一基站接收所述第一网关发送的所述第一子流数据包,将所述第一基站从所述第一网关接收到的所述第一子流数据包转换为所述标准数据包,将经过转换所得的所述标准数据包发送至所述用户设备;
    所述第一基站通过第三子流接收和发送用户设备的数据,以便于用户设备通过所述第三子流与通信对端进行通信,包括:
    所述第一基站接收所述用户设备发送的标准数据包,将从所述用户设备接收到的所述标准数据包转换为第三子流数据包,将经过转换所得的所述第三子流数据包经所述核心网网关发送至所述通信对端;
    所述第一基站接收所述核心网网关发送的所述第三子流数据包,将所述第一基站从所述核心网网关接收到的所述第三子流数据包转换为所述标准数据包,将经过转换所得的所述标准数据包发送至所述用户设备。
  71. 根据权利要求69所述的方法,其特征在于,
    所述第一基站通过第一子流接收和发送用户设备的数据之前,所述方法还包括:
    所述的第一基站获取所述第一IP地址,并使用所述第一IP地址与所述通信对端建立所述第一子流;
    所述第一基站通过第三子流接收和发送用户设备的数据之前,所述方法还包括:
    所述的第一基站获取所述第三IP地址,并使用所述第三IP地址与所述通信对端建立所述第三子流。
  72. 根据权利要求69所述的方法,其特征在于,所述第一基站 撤销所述第一子流之后,所述方法还包括:
    所述第一基站释放所述第一IP地址,并指示所述第一网关释放所述第一IP地址。
  73. 根据权利要求69所述的方法,其特征在于,所述第一基站撤销所述第一子流之后,所述方法还包括:
    所述第一基站接收所述用户设备发送的第二网关标识,所述第二网关标识用于指示第二网关,所述第二基站与所述第二网关连接;
    当所述第二网关标识与第一网关标识不同时,所述第一基站生成判断指示消息,所述判断指示消息用于指示所述第二网关与所述第一网关不是同一网关;
    所述第一基站向所述用户设备发送所述判断指示消息,以便于所述用户设备获取第二IP地址,所述第二IP地址为所述第二网关为所述用户设备分配的IP地址。
  74. 根据权利要求73所述的方法,其特征在于,在所述用户设备由所述第一基站向所述第二基站切换时,当所述第一网关与所述第二网关不是统一网关时,所述第一基站向所述第二基站发送第一子流代理Proxy的上下文,所述第一子流代理的上下文至少包括以下信息中的至少一种:
    所述第一基站与所述通信对端之间的子流代理层序列号,令牌Token,所述第一基站与所述通信对端之间的所述第一子流的序列号,所述第一子流的地址标识Address ID,所述第一基站与所述通信对端之间的子流代理层序列号与传输控制协议TCP层序列号之间的映射关系,所述所述第一子流代理与所述用户设备之间的TCP序列号。
PCT/CN2014/090281 2014-11-04 2014-11-04 一种移动性管理的方法、装置及系统 WO2016070339A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480033994.5A CN105874765B (zh) 2014-11-04 2014-11-04 一种移动性管理的方法、装置及系统
PCT/CN2014/090281 WO2016070339A1 (zh) 2014-11-04 2014-11-04 一种移动性管理的方法、装置及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/090281 WO2016070339A1 (zh) 2014-11-04 2014-11-04 一种移动性管理的方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2016070339A1 true WO2016070339A1 (zh) 2016-05-12

Family

ID=55908359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090281 WO2016070339A1 (zh) 2014-11-04 2014-11-04 一种移动性管理的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN105874765B (zh)
WO (1) WO2016070339A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792936B (zh) * 2016-12-08 2020-04-03 上海华为技术有限公司 一种保持业务连续性的pgw切换方法及通信设备
CN109729520B (zh) * 2017-10-31 2020-09-29 华为技术有限公司 无线通信的方法和设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001061934A1 (en) * 2000-02-18 2001-08-23 British Telecommunications Public Limited Company Telecommunications routing
CN1437835A (zh) * 2000-06-20 2003-08-20 诺基亚公司 在基于网际协议运行的电信网络中执行移动用户终端路由更新的方法
CN101682631A (zh) * 2007-05-30 2010-03-24 高通股份有限公司 用于通信切换的方法和装置
CN103781135A (zh) * 2012-10-22 2014-05-07 国基电子(上海)有限公司 家用基站之间的切换控制系统及切换控制方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001061934A1 (en) * 2000-02-18 2001-08-23 British Telecommunications Public Limited Company Telecommunications routing
CN1437835A (zh) * 2000-06-20 2003-08-20 诺基亚公司 在基于网际协议运行的电信网络中执行移动用户终端路由更新的方法
CN101682631A (zh) * 2007-05-30 2010-03-24 高通股份有限公司 用于通信切换的方法和装置
CN103781135A (zh) * 2012-10-22 2014-05-07 国基电子(上海)有限公司 家用基站之间的切换控制系统及切换控制方法

Also Published As

Publication number Publication date
CN105874765A (zh) 2016-08-17
CN105874765B (zh) 2019-05-21

Similar Documents

Publication Publication Date Title
WO2016070333A1 (zh) 一种移动性管理的方法、装置及系统
US10945180B2 (en) Mobility management method, apparatus, and system
BR112019027890A2 (pt) método, aparelho, e sistema de gerenciamento de sessão, e dispositivo
CN102917356B (zh) 将用户设备接入演进的分组核心网络的方法、设备和系统
WO2011000318A1 (zh) 切换控制的方法和设备
TWI388165B (zh) 無線通訊系統、其封包交換的繞送方法、使用該繞送方法的室內基地台
WO2009121251A1 (zh) 实现路由优化的方法、系统及装置
WO2014048294A1 (zh) 数据流控制方法及相关设备和通信系统
WO2011095100A1 (zh) 一种对本地ip连接的建立进行控制的方法和系统
WO2014086280A1 (zh) 处理无线网络用户接入的方法、装置及系统
JP2019521588A (ja) 通信制御方法および関連するネットワーク要素
WO2011147074A1 (zh) 策略与计费控制的实现方法、系统及相应设备
KR102017167B1 (ko) 무선 통신 시스템에서 데이터 트래픽 분산을 위한 방법 및 장치
WO2015188357A1 (zh) 一种控制承载切换的设备和控制方法
WO2012041073A1 (zh) 一种实现流迁移的方法及系统
WO2020001440A1 (zh) 一种会话处理方法及装置
WO2010108430A1 (zh) 一种分配前缀的方法、网络系统和本地移动锚点
JP2024123131A (ja) インジケーション情報送信方法、装置およびシステム、および記憶媒体
WO2011017979A1 (zh) 支持ip分流的通信系统中资源管理方法与装置
WO2011047609A1 (zh) 一种实现切换预注册的方法及系统
WO2016070339A1 (zh) 一种移动性管理的方法、装置及系统
WO2011020418A1 (zh) 终端转为连接态时更改服务网关的连接激活方法及系统
WO2011050663A1 (zh) 支持本地ip访问的通信系统中隧道更新方法与系统
JP4726860B2 (ja) ゲートウェイ装置、アクセスゲートウェイ装置、コアネットワークシステム、プログラムおよびパケット転送方法
WO2010121421A1 (zh) 一种实现本地ip接入的方法、系统及网络设备

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

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

Country of ref document: EP

Kind code of ref document: A1