WO2017008288A1 - Ip地址管理方法、装置、ip地址锚点及移动节点 - Google Patents
Ip地址管理方法、装置、ip地址锚点及移动节点 Download PDFInfo
- Publication number
- WO2017008288A1 WO2017008288A1 PCT/CN2015/084149 CN2015084149W WO2017008288A1 WO 2017008288 A1 WO2017008288 A1 WO 2017008288A1 CN 2015084149 W CN2015084149 W CN 2015084149W WO 2017008288 A1 WO2017008288 A1 WO 2017008288A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- address
- anchor
- prefix
- address prefix
- assigned
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/34—Modification of an existing route
- H04W40/36—Modification of an existing route due to handover
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/08—Mobility data transfer
- H04W8/087—Mobility data transfer for preserving data network PoA address despite hand-offs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/668—Internet protocol [IP] address subnets
Definitions
- the present invention relates to the field of communications technologies, and in particular, to an IP address management method, apparatus, IP address anchor, and mobile node.
- a mobile node (English: Mobile Node; MN for short) refers to a mobile terminal device such as a mobile phone, a tablet computer, or a portable computer. Due to the mobility of the MN, the MN will move between multiple Internet Protocol (English: Internet Protocol; IP) subnets. In order to ensure that the MN can still communicate with the communication peer node (English: Correspondent Node; CN) after the IP subnet moves, the mobility management solution emerges.
- IP Internet Protocol
- DMM Distributed Mobility Management
- multiple IP subnets are included, and each IP subnet is deployed with an IP address anchor.
- the existing IP address management method is as follows: When the MN moves from the first IP subnet to the second IP subnet, the IP address anchor in the second IP subnet assigns an IP address prefix to the MN. . The IP address anchor then provides the assigned IP address prefix and the valid IP address prefix that the MN is using to the MN to cause the MN to continue the existing network session or initiate a new network session using the IP address prefix described above.
- the inventor has found that the prior art has at least the following problem: since the same IP address anchor can be assigned a different IP address prefix, the MN cannot accurately determine the change according to the received IP address prefix. Whether the accessed IP subnet has changed.
- the embodiment of the present invention provides an IP address management method, apparatus, IP address anchor, and mobile node.
- the technical solution is as follows:
- an IP address management method includes:
- IP address anchor detects that the mobile node MN accesses the IP subnet where the IP address anchor is located, Obtaining a valid IP address prefix that the MN is using;
- the IP address anchor sends the handover indication information to the MN according to the valid IP address prefix, so that the MN determines, according to the handover indication information, whether the accessed IP subnet has changed.
- the sending, by the IP address anchor, the handover indication information to the MN according to the valid IP address prefix including:
- the IP address anchor allocates an IP address prefix to the MN, and the IP address assigned by the IP address anchor The prefix is distinguished from the IP address prefix assigned by the other IP address anchor in the valid IP address prefix;
- IP address prefix is already assigned by the IP address anchor in the valid IP address prefix, the IP address anchor is to be assigned by the IP address anchor and the valid IP address prefix.
- IP address prefix assigned by other IP address anchors is distinguished by the identifier;
- the IP address anchor sends the handover indication information to the MN, where the handover indication information includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type
- the identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the sending, by the IP address anchor, the handover indication information to the MN according to the valid IP address prefix including:
- the IP address anchor sends the handover indication information to the MN according to the determination result, where the handover indication information includes a first indicator or a second indicator;
- the first indicator is used to indicate that the IP subnet accessed by the MN has changed
- the second indicator is used to indicate that the IP subnet accessed by the MN has not changed.
- the IP address anchor determines, according to the valid IP address prefix, an IP sub-accessed by the MN Whether the web has changed, including:
- the IP address anchor determines that the IP subnet accessed by the MN has changed
- the IP address anchor determines whether the IP address prefix assigned by the IP address anchor corresponds to a predetermined identifier.
- the predetermined identifier corresponds to an IP address prefix allocated by the MN to the MN before accessing the IP subnet where the IP address anchor is located;
- the IP address anchor determines that the IP subnet accessed by the MN does not change
- the IP address anchor determines that the IP subnet accessed by the MN has changed.
- the method further includes:
- the IP address anchor allocates an IP address prefix to the MN, and the IP address assigned by the IP address anchor The prefix is distinguished from the IP address prefix assigned by the other IP address anchor in the valid IP address prefix;
- IP address prefix is already assigned by the IP address anchor in the valid IP address prefix, the IP address anchor is to be assigned by the IP address anchor and the valid IP address prefix.
- IP address prefix assigned by other IP address anchors is distinguished by the identifier;
- the IP address anchor sends a route advertisement message to the MN, where the route advertisement message includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier.
- the type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the IP address anchor will be by the IP address
- the IP address prefix assigned by the anchor is distinguished from the IP address prefix assigned by the other IP address anchor in the valid IP address prefix, including:
- the IP address anchor is a first type identifier corresponding to an IP address prefix assigned by the IP address anchor;
- the IP address anchor is a second type corresponding to an IP address prefix assigned by another IP address anchor. Type identification.
- the IP address anchor determines the valid IP Whether there is an IP address prefix assigned by the IP address anchor in the address prefix, including:
- the IP address anchor determines whether the network identifier corresponding to the IP address anchor exists in the network identifier corresponding to each of the valid IP address prefixes, where the network identifier is an anchor identifier or a network number;
- the IP address anchor determines that the IP address prefix allocated by the IP address anchor in the valid IP address prefix is already included;
- the IP address anchor determines that there is no IP address prefix allocated by the IP address anchor in the valid IP address prefix.
- the IP address anchor obtains a valid IP address prefix that is used by the MN, including:
- the IP address anchor sends an information acquisition request carrying the node identifier of the MN to the location manager LM, so that the LM searches for the MN from the pre-stored entry according to the node identifier of the MN.
- a valid IP address prefix and a network identifier corresponding to each of the valid IP address prefixes wherein each entry includes a correspondence between a node identifier, a network identifier, an IP address prefix, and an expiration date of the IP address prefix, where the MN is
- the IP address prefix allocated to the MN before the IP subnet to which the IP address anchor is located also has a predetermined identifier;
- the IP address anchor receives the valid IP address prefix fed back by the LM and a network identifier corresponding to each of the valid IP address prefixes.
- the method further includes:
- the IP address anchor sends an information storage request to the LM, where the information storage request carries a node identifier of the MN, a network identifier corresponding to the IP address anchor point, and is allocated by the IP address anchor point.
- An IP address prefix and an expiration date of an IP address prefix assigned by the IP address anchor such that the LM stores a target entry according to the information storage request, and correspondingly sets the predetermined identifier in the target entry, and
- the predetermined identifier is removed from an entry in which an IP subnet allocated by the MN before accessing the IP subnet where the IP address anchor is located is allocated to the MN;
- the target entry includes: a node identifier of the MN, a network identifier corresponding to the IP address anchor, an IP address prefix allocated by the IP address anchor, and an IP address assigned by the IP address anchor. The correspondence between the validity periods of the prefixes.
- the method further includes:
- the IP address anchor detects whether a target IP address prefix exists in the valid IP address prefix, where the target IP address prefix refers to an IP address prefix that is not used by the network session for a predetermined duration;
- the IP address anchor sends an entry deletion indication that carries the node identifier of the MN and the target IP address prefix to the LM, so that The LM deletes an entry in which a correspondence between the node identifier of the MN and the target IP address prefix is recorded.
- an IP address management method includes:
- the mobile node MN After the mobile node MN accesses the IP subnet where the IP address anchor is located, the mobile node MN receives the handover indication information sent by the IP address anchor point;
- the MN determines, according to the handover indication information, whether the accessed IP subnet has changed.
- the handover indication information includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier.
- the type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor;
- Determining, by the MN, whether the accessed IP subnet has changed according to the handover indication information including:
- IP address prefix allocated by the IP address anchor meets a predetermined condition; wherein the predetermined condition is: an IP address prefix allocated by the IP address anchor is received by the MN The IP address prefix assigned by the IP address anchor exists in the previous handover indication information received by the MN and is identified as being assigned by another IP address anchor;
- the MN determines that the accessed IP subnet has changed
- the MN determines that the accessed IP subnet has not changed.
- the handover indication information includes a first indicator or a second indicator, where the first indicator is used to indicate the MN The accessed IP subnet has changed, and the second indicator is used to indicate that the IP subnet accessed by the MN has not changed;
- Determining, by the MN, whether the accessed IP subnet has changed according to the handover indication information including:
- the MN determines that the accessed IP subnet has changed
- the MN determines that the accessed IP subnet has not changed.
- the method further includes:
- the route advertisement message includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier, where the type identifier is used to distinguish the identifier by the IP address.
- the IP address prefix assigned by the anchor is prefixed with the IP address assigned by other IP address anchors.
- the type identifier includes a first type identifier and/or Or a second type of identification
- the first type identifier is set corresponding to an IP address prefix assigned by the IP address anchor;
- the second type identifier is set corresponding to an IP address prefix assigned by another IP address anchor.
- the method further includes:
- the MN distinguishes between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor according to the type identifier.
- the method further includes:
- the MN When the MN needs to initiate a new network session to the communication peer node CN, the MN selects to use the preferred IP address as the source IP address for the new network session;
- the preferred IP address refers to an IP address prefix assigned according to the IP address anchor point.
- the IP address generated by the host address of the MN.
- the method further includes:
- the MN selects the preferred IP address as the source IP address for the existing network session
- the MN keeps the source IP address used by the existing network session unchanged.
- the MN determines whether an existing network session with the CN can use the preferred IP address as the source IP address, include:
- the MN acquires a transport layer protocol used by an application corresponding to the existing network session, and determines, according to the transport layer protocol, whether the existing network session can use the preferred IP address as a source IP address.
- the method further includes:
- the MN determines that the accessed IP subnet has changed, the MN queries to obtain an IP address of the communication peer node CN that is closest to the MN;
- the MN establishes a network session with the nearest CN according to the IP address.
- an IP address management apparatus which is applied to an IP address anchor, and the apparatus includes:
- An address obtaining module configured to detect, when the mobile node MN accesses the IP address anchor point Obtain a valid IP address prefix that the MN is using when the IP subnet is used;
- an information sending module configured to send, according to the valid IP address prefix, handover indication information to the MN, so that the MN determines, according to the handover indication information, whether the accessed IP subnet has changed.
- the information sending module includes:
- An address determining sub-module configured to determine whether an IP address prefix allocated by the IP address anchor is already in the valid IP address prefix
- a prefix allocation submodule configured to allocate an IP address prefix to the MN when there is no IP address prefix allocated by the IP address anchor in the valid IP address prefix;
- a difference identifier submodule configured to distinguish, between the IP address prefix assigned by the IP address anchor and an IP address prefix allocated by another IP address anchor in the valid IP address prefix
- a first sending submodule configured to send the handover indication information to the MN, where the handover indication information includes: an IP address prefix allocated by the IP address anchor, and an IP address prefix allocated by another IP address anchor And a type identifier for distinguishing between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the information sending module includes:
- a change determining submodule configured to determine, according to the valid IP address prefix, whether an IP subnet accessed by the MN has changed
- a second sending submodule configured to send the handover indication information to the MN according to the determination result, where the handover indication information includes a first indicator or a second indicator;
- the first indicator is used to indicate that the IP subnet accessed by the MN has changed
- the second indicator is used to indicate that the IP subnet accessed by the MN has not changed.
- the change determining sub-module includes:
- An address determining sub-module configured to determine whether an IP address prefix allocated by the IP address anchor is already in the valid IP address prefix
- a first determining submodule configured to determine that an IP subnet accessed by the MN has changed when there is no IP address prefix allocated by the IP address anchor in the valid IP address prefix
- An identifier determining sub-module configured to determine, when the IP address prefix assigned by the IP address anchor is in the valid IP address prefix, whether the IP address prefix assigned by the IP address anchor corresponds to a predetermined identifier, where the predetermined identifier corresponds to an IP address prefix allocated by the MN to the MN before accessing the IP subnet where the IP address anchor is located;
- a second determining sub-module configured to determine that the IP subnet accessed by the MN does not change when the IP address prefix assigned by the IP address anchor corresponds to the predetermined identifier
- the first determining submodule is further configured to determine that the IP subnet accessed by the MN has changed when the IP address prefix assigned by the IP address anchor does not correspond to the predetermined identifier.
- the device further includes:
- a prefix allocation submodule configured to allocate an IP address prefix to the MN when there is no IP address prefix allocated by the IP address anchor in the valid IP address prefix;
- a difference identifier submodule configured to distinguish, between the IP address prefix assigned by the IP address anchor and an IP address prefix allocated by another IP address anchor in the valid IP address prefix
- a message sending submodule configured to send a route advertisement message to the MN, where the route advertisement message includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier
- the type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the difference identifier sub-module is specifically used to:
- the second type identifier is set corresponding to the IP address prefix assigned by other IP address anchors.
- the address determining sub-module includes:
- a network identifier determining sub-module configured to determine, in the network identifier corresponding to each of the valid IP address prefixes, whether the network identifier corresponding to the IP address anchor point exists; wherein the network identifier is an anchor point identifier or a network number;
- a first determining submodule configured to determine, when the network identifier corresponding to the IP address anchor exists, an IP address prefix already allocated by the IP address anchor in the valid IP address prefix;
- a second determining submodule configured to determine, in the absence of the network identifier corresponding to the IP address anchor, that the IP address prefix is not allocated by the IP address anchor in the valid IP address prefix.
- the address obtaining module includes:
- an acquisition submodule configured to send, to the location manager LM, an information acquisition request that carries the node identifier of the MN; so that the LM searches for the MN according to the node identifier of the MN, and obtains the MN from the pre-stored entry.
- a valid IP address prefix and a network identifier corresponding to each of the valid IP address prefixes wherein each entry includes a correspondence between a node identifier, a network identifier, an IP address prefix, and an expiration date of the IP address prefix, the MN
- the IP address prefix assigned to the MN by the IP subnet accessed before accessing the IP subnet where the IP address anchor is located also corresponds to a predetermined identifier;
- the address receiving submodule is configured to receive the valid IP address prefix of the LM feedback and a network identifier corresponding to each of the valid IP address prefixes.
- the device further includes:
- a requesting storage submodule configured to send an information storage request to the LM, where the information storage request carries a node identifier of the MN, a network identifier corresponding to the IP address anchor point, and is allocated by the IP address anchor point IP address prefix and an expiration date of the IP address prefix assigned by the IP address anchor; such that the LM stores the target entry according to the information storage request, and correspondingly sets the predetermined identifier in the target entry, and Removing the predetermined identifier from an entry in which an IP subnet that the MN accesses before accessing the IP subnet where the IP address anchor is located is assigned an IP address prefix assigned to the MN;
- the target entry includes: a node identifier of the MN, a network identifier corresponding to the IP address anchor, an IP address prefix allocated by the IP address anchor, and an IP address assigned by the IP address anchor. The correspondence between the validity periods of the prefixes.
- the device further includes:
- An address detection submodule configured to detect whether a target IP address prefix exists in the valid IP address prefix, where the target IP address prefix refers to an IP address prefix that is not used by the network session for a predetermined duration;
- a sending submodule configured to: when the target IP address prefix exists in the valid IP address prefix, send an entry deletion indication that carries the node identifier of the MN and the target IP address prefix to the LM, to Causing the LM to delete the node identifier of the MN and the target IP An entry for the correspondence between address prefixes.
- a fourth aspect provides an IP address management apparatus, which is applied to a mobile node MN, where the apparatus includes:
- the information receiving module is configured to receive the handover indication information sent by the IP address anchor point after accessing the IP subnet where the IP address anchor is located;
- the change determining module is configured to determine, according to the handover indication information, whether the accessed IP subnet has changed.
- the handover indication information includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier, where The type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor;
- the change judging module includes:
- condition determining sub-module configured to determine whether an IP address prefix allocated by the IP address anchor meets a predetermined condition; wherein the predetermined condition is that an IP address prefix assigned by the IP address anchor is in the MN The received previous handover indication information does not exist, or the IP address prefix allocated by the IP address anchor exists in the previous handover indication information received by the MN and is identified as being assigned by another IP address anchor;
- a third determining submodule configured to determine that the accessed IP subnet has changed when an IP address prefix allocated by the IP address anchor satisfies the predetermined condition
- a fourth determining submodule configured to determine that the accessed IP subnet has not changed when the IP address prefix allocated by the IP address anchor does not satisfy the predetermined condition.
- the handover indication information includes a first indicator or a second indicator, where the first indicator is used to indicate the MN The accessed IP subnet has changed, and the second indicator is used to indicate that the IP subnet accessed by the MN has not changed;
- the change judging module includes:
- a fifth determining submodule configured to determine that the accessed IP subnet has changed when the first indicator is included in the handover indication information
- the sixth determining submodule is configured to determine that the accessed IP subnet has not changed when the second indicator is included in the handover indication information.
- the device further includes:
- a message receiving submodule configured to receive a route advertisement message sent by the IP address anchor point
- the route advertisement message includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier, where the type identifier is used to distinguish the identifier by the IP address.
- the IP address prefix assigned by the anchor is prefixed with the IP address assigned by other IP address anchors.
- the type identifier includes a first type identifier and/or Or a second type of identification
- the first type identifier is set corresponding to an IP address prefix assigned by the IP address anchor;
- the second type identifier is set corresponding to an IP address prefix assigned by another IP address anchor.
- the device further includes:
- the address area numerator module is configured to distinguish an IP address prefix allocated by the IP address anchor from an IP address prefix assigned by another IP address anchor according to the type identifier.
- the device further includes:
- a first selection submodule configured to use a preferred IP address as the source IP address for the new network session when the MN needs to initiate a new network session to the communication peer node CN;
- the preferred IP address refers to an IP address generated according to an IP address prefix allocated by the IP address anchor and a host address of the MN.
- the device further includes:
- a session judging sub-module configured to determine whether an existing IP session with the communication peer node CN can use the preferred IP address as the source IP address; wherein the preferred IP address is allocated according to the IP address anchor point An IP address prefix and an IP address generated by the host address of the MN;
- a second selection submodule configured to use the preferred IP address as the source IP address for the existing network session when the existing network session can use the preferred IP address as the source IP address;
- a third selection submodule configured to keep the source IP address used by the existing network session unchanged when the existing network session cannot use the preferred IP address as the source IP address.
- the session determining sub-module is specifically configured to:
- the device further includes:
- An address querying module configured to: when the MN determines that the accessed IP subnet has changed, query an IP address of the communication peer node CN that is closest to the MN;
- a session establishing module configured to establish a network session with the nearest CN according to the IP address.
- an IP address anchor comprising: a processor, a memory, and a transceiver, wherein the memory is configured to store one or more instructions configured to be configured by Executing by the processor;
- the processor is configured to acquire a valid IP address prefix that the MN is using when detecting that the mobile node MN accesses the IP subnet where the IP address anchor is located;
- the processor is further configured to: according to the valid IP address prefix, control the transceiver to send handover indication information to the MN; to enable the MN to determine, according to the handover indication information, whether the accessed IP subnet is Has changed.
- the processor is specifically configured to:
- the MN is assigned an IP address prefix, and the IP address prefix assigned by the IP address anchor is associated with the valid IP address.
- the IP address prefix assigned by another IP address anchor in the address prefix is distinguished by the identifier;
- IP address prefix already has an IP address prefix assigned by the IP address anchor, then The IP address prefix assigned by the IP address anchor is distinguished from the IP address prefix assigned by another IP address anchor in the valid IP address prefix;
- the handover indication information includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier
- the type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the processor is specifically configured to:
- the transceiver is controlled to send the handover indication information to the MN, where the handover indication information includes a first indicator or a second indicator;
- the first indicator is used to indicate that the IP subnet accessed by the MN has changed
- the second indicator is used to indicate that the IP subnet accessed by the MN has not changed.
- the processor is specifically configured to:
- IP address prefix assigned by the IP address anchor is already in the valid IP address prefix, it is determined whether the IP address prefix allocated by the IP address anchor corresponds to a predetermined identifier, where the predetermined identifier corresponds to the The IP subnet that the MN accesses before accessing the IP subnet where the IP address anchor is located is an IP address prefix allocated by the MN;
- IP address prefix assigned by the IP address anchor corresponds to the predetermined identifier, determining that the IP subnet accessed by the MN does not change;
- IP address prefix assigned by the IP address anchor does not correspond to the predetermined identifier, it is determined that the IP subnet accessed by the MN has changed.
- the processor is further configured to: if the valid IP address prefix is not in the IP address anchor Pointing the assigned IP address prefix, assigning an IP address prefix to the MN, and assigning an IP address prefix assigned by the IP address anchor to an IP address assigned by another IP address anchor in the valid IP address prefix. Address prefix difference identifier;
- the processor is further configured to: if an IP address prefix allocated by the IP address anchor in the valid IP address prefix, the IP address prefix assigned by the IP address anchor and the valid IP address The IP address prefix assigned by another IP address anchor in the prefix is distinguished by the identifier;
- the processor is further configured to control the transceiver to send a route advertisement message to the MN, where the route advertisement message includes: an IP address prefix allocated by the IP address anchor, and is allocated by another IP address anchor point.
- the processor is specifically configured to:
- the second type identifier is set corresponding to the IP address prefix assigned by other IP address anchors.
- the processor is specifically configured to:
- the network identifier Determining, in the network identifier corresponding to each of the valid IP address prefixes, whether the network identifier corresponding to the IP address anchor point exists; wherein the network identifier is an anchor point identifier or a network number;
- IP address anchor If there is no network identifier corresponding to the IP address anchor, it is determined that there is no IP address prefix allocated by the IP address anchor in the valid IP address prefix.
- the processor is specifically used to:
- an information acquisition request carrying a node identifier of the MN to the location manager LM, so that the LM searches for a source that is used by the MN from a pre-stored entry according to the node identifier of the MN.
- a valid IP address prefix and a network identifier corresponding to each of the valid IP address prefixes wherein each entry includes a correspondence between a node identifier, a network identifier, an IP address prefix, and an expiration date of the IP address prefix, where the MN is connected
- the IP address prefix assigned to the IP subnet before the IP subnet in which the IP address anchor is located also has a predetermined identifier;
- the processor is further configured to control the transceiver to send an information storage request to the LM, where
- the information storage request carries a node identifier of the MN, a network identifier corresponding to the IP address anchor, an IP address prefix allocated by the IP address anchor, and an IP address prefix allocated by the IP address anchor.
- An expiration date such that the LM stores a target entry according to the information storage request, and correspondingly sets the predetermined identifier in the target entry, and the predetermined identifier is recorded from the MN in accessing the IP
- the IP subnet accessed before the IP subnet where the address anchor is located is removed from the entry of the IP address prefix assigned by the MN;
- the target entry includes: a node identifier of the MN, a network identifier corresponding to the IP address anchor, an IP address prefix allocated by the IP address anchor, and an IP address assigned by the IP address anchor. The correspondence between the validity periods of the prefixes.
- the processor is further configured to detect whether a target IP address prefix exists in the valid IP address prefix,
- the target IP address prefix refers to an IP address prefix that is not used by the network session for a predetermined duration;
- the processor is further configured to: if the target IP address prefix exists in the valid IP address prefix, control the transceiver to send, to the LM, a node identifier carrying the MN and the target IP address prefix
- the entry deletion indication causes the LM to delete an entry in which the correspondence between the node identifier of the MN and the target IP address prefix is recorded.
- a mobile node MN comprising: a processor, a memory, and a transceiver, wherein the memory is configured to store one or more instructions, the instructions being configured to be by the processor carried out;
- the processor is configured to, after accessing the IP subnet where the IP address anchor is located, control the transceiver to receive the handover indication information sent by the IP address anchor point;
- the processor is further configured to determine, according to the handover indication information, whether the accessed IP subnet has changed.
- the handover indication information includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier.
- the type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor;
- the processor is specifically configured to:
- the predetermined condition is: the last handover indication information received by the IP address prefix by the IP address anchor at the MN
- the IP address prefix assigned by the IP address anchor exists in the previous handover indication information received by the MN and is identified as being assigned by another IP address anchor;
- IP address prefix allocated by the IP address anchor satisfies the predetermined condition, it is determined that the accessed IP subnet has changed;
- IP address prefix assigned by the IP address anchor does not satisfy the predetermined condition, it is determined that the accessed IP subnet has not changed.
- the handover indication information includes a first indicator or a second indicator, where the first indicator is used to indicate the MN The accessed IP subnet has changed, and the second indicator is used to indicate that the IP subnet accessed by the MN has not changed;
- the processor is specifically configured to:
- the second indicator is included in the handover indication information, it is determined that the accessed IP subnet has not changed.
- the processor is further configured to control the transceiver to receive the route sent by the IP address anchor Announcement message
- the route advertisement message includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier, where the type identifier is used to distinguish the identifier by the IP address.
- the IP address prefix assigned by the anchor is prefixed with the IP address assigned by other IP address anchors.
- the type identifier includes a first type identifier and/or Or a second type of identification
- the first type identifier is set corresponding to an IP address prefix assigned by the IP address anchor;
- the second type identifier is set corresponding to an IP address prefix assigned by another IP address anchor.
- the processor is further configured to A type identifier that distinguishes between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the processor is further configured to: when the MN needs to initiate a new network session to the communication peer node CN Selecting a preferred IP address as the source IP address for the new network session;
- the preferred IP address refers to an IP address generated according to an IP address prefix allocated by the IP address anchor and a host address of the MN.
- the processor is further configured to determine whether an existing network session with the communication peer node CN can Using the preferred IP address as the source IP address; wherein the preferred IP address refers to an IP address generated according to the IP address prefix assigned by the IP address anchor and the host address of the MN;
- the processor is further configured to: if the existing network session can use the preferred IP address as the source IP address, select the preferred IP address as the source IP address for the existing network session;
- the processor is further configured to keep the source IP address used by the existing network session unchanged if the existing network session cannot use the preferred IP address as the source IP address.
- the processor is specifically configured to:
- the processor is further configured to: when the MN determines that the accessed IP subnet has changed, query to obtain a communication pair that is closest to the MN. IP address of the end node CN;
- the processor is further configured to establish a network session with the nearest CN according to the IP address.
- the handover indication information is sent to the MN according to the valid IP address prefix that the MN is using, so that the MN determines the connection according to the handover indication information. Whether the incoming IP subnet has changed; solves the problem that the existing MN cannot judge whether the IP subnet to which it is connected has changed; so that the MN can accurately determine the IP subnet to which it is connected. Whether the technical effect of the change has occurred.
- the IP address prefix assigned by the IP address anchor is distinguished from the IP address prefix assigned by the other IP address anchor by the type identifier, so that The MN can distinguish the two different types of IP address prefixes based on the type identifier. Further, the MN achieves the technical effect of reducing routing redundancy by selecting the preferred IP address as the source IP address for the new network session and the existing network session that can handle the change of the IP address.
- FIG. 1 is a schematic diagram of an implementation environment according to an embodiment of the present invention.
- FIG. 2 is a flowchart of an IP address management method according to an embodiment of the present invention.
- FIG. 3 is a flowchart of an IP address management method according to another embodiment of the present invention.
- FIG. 4 is a flowchart of an IP address management method according to another embodiment of the present invention.
- FIG. 5A is a flowchart of an IP address management method according to another embodiment of the present invention.
- Figure 5B is a flow chart of step 502 involved in the embodiment of Figure 5A;
- FIG. 6 is a block diagram of an IP address management apparatus according to an embodiment of the present invention.
- FIG. 7 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- FIG. 8 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- FIG. 9 is a block diagram of an address determining sub-module according to an embodiment of the present invention.
- FIG. 10 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- FIG. 11 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- FIG. 12 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- FIG. 13 is a block diagram of another IP address management apparatus according to the embodiment shown in Figures 11 and 12;
- FIG. 14 is a block diagram of an IP address management system according to an embodiment of the present invention.
- IP address anchor 15 is a structural block diagram of an IP address anchor provided by an embodiment of the present invention.
- FIG. 16 is a structural block diagram of an MN according to an embodiment of the present invention.
- FIG. 1 shows a schematic diagram of an implementation environment involved in an embodiment of the present invention.
- the implementation environment includes multiple IP subnets.
- IP subnet 1 and IP subnet 2 are taken as an example.
- IP address anchors 120 and CN140 are deployed in each IP subnet.
- the implementation environment also includes an MN 160 that is moveable among the plurality of IP subnets described above. among them:
- the MN 160 may be a mobile terminal device such as a mobile phone, a tablet computer, or a portable computer.
- the IP address anchor 120 is used to provide mobility support for the MN 160.
- the IP address anchor 120 may be a gateway device, such as a public data network (Public Data Network; PND) gateway PGW.
- PND Public Data Network
- the CN 160 may be a server for providing network services to the MN 160.
- the network service may be a download service, a video service, a network telephone service, or the like.
- the service functions and service resources of the CN140 in different IP subnets may be the same or different.
- FIG. 2 shows a flowchart of an IP address management method provided by an embodiment of the present invention. This embodiment is described by using the IP address management method in the IP address anchor 120 in the implementation environment shown in FIG.
- the IP address management method may include the following steps:
- Step 202 The IP address anchor acquires a valid IP address prefix that the MN is using when detecting that the MN accesses the IP subnet where the IP address anchor is located.
- Step 204 The IP address anchor sends the handover indication information to the MN according to the valid IP address prefix, so that the MN determines, according to the handover indication information, whether the accessed IP subnet has changed.
- the IP address management method provided by this embodiment is based on the IP address anchor, when detecting the MN accessing the IP subnet where the IP address anchor is located, according to the valid IP address that the MN is using.
- the SN sends the handover indication information to the MN; the MN can not determine whether the IP subnet to which the access has been changed has been solved in the prior art; and the MN can accurately determine whether the IP subnet to which it is connected has been The technical effect of the change.
- FIG. 3 is a flowchart of an IP address management method according to another embodiment of the present invention. This embodiment is described by using the IP address management method in the MN 160 in the implementation environment shown in FIG.
- the IP address management method may include the following steps:
- Step 302 After accessing the IP subnet where the IP address anchor is located, the MN receives the handover indication information sent by the IP address anchor point.
- Step 304 The MN determines, according to the handover indication information, whether the accessed IP subnet has changed.
- the IP address management method receives the handover indication information sent by the IP address anchor through the MN, and determines whether the accessed IP subnet has changed according to the handover indication information;
- the MN with technology can not judge whether the IP subnet to which it is connected has changed; the technical effect that enables the MN to accurately determine whether the IP subnet to which it is connected has changed.
- FIG. 4 is a flowchart of an IP address management method according to another embodiment of the present invention. This embodiment is exemplified by applying the IP address management method to the implementation environment shown in FIG. 1.
- the IP address management method may include the following steps:
- Step 401 The IP address anchor acquires a valid IP address prefix that the MN is using when detecting that the MN accesses the IP subnet where the IP address anchor is located.
- the validity period of the IP address prefix is set accordingly.
- the IP address prefix that is within the validity period and has not been released is the valid IP address prefix.
- Step 402 The IP address anchor determines whether there is an IP address prefix assigned by the IP address anchor in the valid IP address prefix.
- step 403 If not, the following step 403 is performed, and after step 403, step 404 is performed; if so, step 404 is directly executed.
- the IP subnet currently accessed by the MN is IP subnet 2, and the IP address anchor in IP subnet 2 is recorded as anchor#2.
- the MN may be moved from other IP subnets to IP subnet 2. Therefore, there may be an IP address prefix assigned by the other IP address anchors to the MN in the above valid IP address prefix.
- the MN moves from IP subnet 1 to IP subnet 2, and the IP address anchor in IP subnet 1 is recorded as Anchor#1, when the anchor#2 detects that the MN accesses the IP subnet 2, the obtained valid IP address prefix of the MN may include the IP address prefix assigned by the anchor#1 for the MN, which is denoted as prefix#1. .
- the valid IP address prefix used by the MN acquired by the anchor#2 may include the IP address prefix assigned by the anchor#2 for the MN, which is denoted as prefix#2.
- prefix#2 the IP address prefix assigned by the anchor#2 for the MN.
- the anchor #2 detects that the MN is accessing the IP subnet 2, and the acquired MN is using.
- the prefix #1 and prefix#2 can be included in the valid IP address prefix.
- the IP address anchor allocates an IP address prefix to the MN.
- anchor#2 assigns an IP address prefix to the MN, which is denoted as prefix#2.
- anchor #2 performs the following step 404.
- the anchor #2 when there is already an IP address prefix assigned by the anchor #2 in the valid IP address prefix that the MN is using, the anchor #2 does not need to allocate an IP address prefix to the MN, and directly performs the following step 404.
- Step 404 the IP address anchor distinguishes the IP address prefix assigned by the IP address anchor from the IP address prefix assigned by the other IP address anchor in the valid IP address prefix.
- the IP address anchor is set to the first type identifier corresponding to the IP address prefix assigned by the IP address anchor; and/or, the IP address anchor is the IP address prefix corresponding to the other IP address anchor. Two types of identification.
- the first type identifier is H-prefix
- the second type identifier is F-prefix
- the IP address anchor sets the first type identifier H-prefix corresponding to prefix #2.
- the IP address anchor is set to the prefix type 1 corresponding to the second type identifier F-prefix.
- the IP address anchor sets the first type identifier H-prefix corresponding to prefix #2, and sets the second type identifier F-prefix for prefix #1.
- Step 405 The IP address anchor sends the handover indication information to the MN, where the handover indication information includes: The IP address prefix assigned by the IP address anchor, the IP address prefix assigned by other IP address anchors, and the type identifier.
- the type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor. That is, the first type identifier and/or the second type identifier introduced in the above step 404.
- the handover indication information is sent to the MN in the form of a route advertisement (RA: Router) message.
- RA Router
- the MN receives the handover indication information sent by the IP address anchor.
- Step 406 The MN determines whether the IP address prefix allocated by the IP address anchor meets a predetermined condition.
- step 407 is performed; if not, the following step 408 is performed.
- the predetermined condition is that the IP address prefix assigned by the IP address anchor does not exist in the previous handover indication information received by the MN, or the IP address prefix assigned by the IP address anchor is received in the previous MN.
- the handover indication information exists and is identified as being assigned by other IP address anchors.
- the MN After receiving the handover indication information sent by the IP address anchor in the currently accessed IP subnet, the MN can distinguish the IP address prefix assigned by the IP address anchor and the assignment by other IP address anchors according to the type identifier. IP address prefix.
- the MN determines that the corresponding prefix#2 is the anchor#2 allocation according to the first type identifier H-prefix. IP address prefix.
- the MN performs the following Step 407.
- the MN performs the following step 408.
- step 407 the MN determines that the accessed IP subnet has changed.
- step 408 the MN determines that the accessed IP subnet has not changed.
- the IP address management method sends an IP address to the MN according to the valid IP address prefix that the MN is using when detecting that the MN accesses the IP subnet where the IP address is anchored by the IP address anchor. And switching the indication information, so that the MN determines, according to the handover indication information, whether the accessed IP subnet has changed; and solves the problem that the MN that exists in the prior art cannot determine whether the IP subnet accessed by the MN has changed. So that the MN can accurately determine the IP subnet it is connected to. Whether the technical effect of the change has occurred.
- the IP address management method provided in this embodiment distinguishes the IP address prefix assigned by the IP address anchor from the IP address prefix assigned by other IP address anchors by using the type identifier;
- the change of the IP address prefix included in the handover indication information and the change of the corresponding type identifier can accurately determine whether the IP subnet to which the access has been changed has changed; on the other hand, the MN can easily distinguish according to the type identifier.
- Two different types of IP address prefixes are used, so that different types of IP address prefixes can be utilized more reasonably during network sessions, thereby reducing routing redundancy.
- FIG. 5A is a flowchart of an IP address management method according to another embodiment of the present invention. This embodiment is exemplified by applying the IP address management method to the implementation environment shown in FIG. 1.
- the IP address management method may include the following steps:
- Step 501 The IP address anchor acquires a valid IP address prefix that the MN is using when detecting that the MN accesses the IP subnet where the IP address anchor is located.
- Step 502 The IP address anchor determines, according to the valid IP address prefix, whether the IP subnet accessed by the MN has changed.
- this step may include the following sub-steps:
- the IP address anchor determines whether there is an IP address prefix assigned by the IP address anchor in the valid IP address prefix.
- step 502d is performed; if so, the following step 502b is performed.
- IP subnet currently accessed by the MN is IP subnet 2
- IP address anchor in IP subnet 2 is recorded as anchor#2.
- the valid IP address prefix that the MN acquired by anchor#2 is using includes prefix#1, prefix#2, and prefix#3.
- Anchor #2 determines whether there is an IP address prefix assigned by anchor#2 among the above three IP address prefixes.
- the anchor #2 finds that the three IP address prefixes are not the IP address prefix assigned by the anchor#2 to the MN, and then the anchor #2 performs the following step 502d to determine that the IP subnet accessed by the MN has changed.
- anchor#2 finds that prefix#1 is an IP address prefix assigned by anchor#2 to the MN, and anchor#2 performs the following step 502b.
- Step 502b The IP address anchor determines whether the IP address prefix assigned by the IP address anchor corresponds to a predetermined identifier.
- step 502c is performed; if not, the following step 502d is performed.
- the predetermined identifier corresponds to an IP address prefix allocated by the MN to the MN before accessing the IP subnet where the IP address anchor is located.
- the predetermined identification can be recorded as a current anchor.
- anchor#2 When anchor#2 finds that prefix #1 is an IP address prefix assigned by anchor#2 to the MN, anchor#2 further determines whether prefix#1 corresponds to a predetermined identifier current anchor. When the prefix #1 corresponds to the predetermined identifier current anchor, it indicates that the IP subnet accessed by the MN has not changed; otherwise, when the prefix#1 does not correspond to the predetermined identifier current anchor, such as prefix#2 or prefix#3, there is a reservation. When the current anchor is identified, the IP subnet accessed by the MN has changed.
- step 502c the IP address anchor determines that the IP subnet accessed by the MN has not changed.
- step 502d the IP address anchor determines that the IP subnet accessed by the MN has changed.
- Step 503 The IP address anchor sends the handover indication information to the MN according to the determination result, where the handover indication information includes the first indicator or the second indicator.
- the first indicator is used to indicate that the IP subnet accessed by the MN has changed
- the second indicator is used to indicate that the IP subnet accessed by the MN has not changed.
- the MN receives the handover indication information sent by the IP address anchor.
- Step 504 The MN determines, according to the handover indication information, whether the accessed IP subnet has changed.
- the MN determines that the accessed IP subnet has changed.
- the MN determines that the accessed IP subnet has not changed.
- the method further includes the following steps:
- IP address anchor assigns an IP address prefix to the MN, and the IP address prefix and the valid IP address prefix assigned by the IP address anchor are assigned.
- IP address prefix assigned by other IP address anchors is distinguished.
- IP address anchor will be assigned by the IP address anchor and the IP address prefix by the other IP address in the valid IP address prefix.
- the assigned IP address prefix distinguishes the identifier.
- the IP address anchor sends a route advertisement message to the MN, where the route advertisement message includes: an IP address prefix assigned by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier.
- the type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the MN receives a route advertisement message sent by the IP address anchor.
- the MN distinguishes between the IP address prefix assigned by the IP address anchor and the IP address prefix assigned by other IP address anchors according to the type identifier.
- the IP address anchor informs the MN of the currently available IP address prefix by using the route advertisement message, and uses the type identifier to distinguish the IP address prefix assigned by itself from the IP address prefix assigned by other IP address anchors, so that the MN according to the type
- the identifier can easily distinguish two different types of IP address prefixes, so that different types of IP address prefixes can be utilized more reasonably in the subsequent network session, thereby reducing routing redundancy.
- the handover indication information may be carried in the route advertisement message and sent to the MN.
- the IP address management method sends an IP address to the MN according to the valid IP address prefix that the MN is using when detecting that the MN accesses the IP subnet where the IP address is anchored by the IP address anchor. And switching the indication information, so that the MN determines, according to the handover indication information, whether the accessed IP subnet has changed; and solves the problem that the MN that exists in the prior art cannot determine whether the IP subnet accessed by the MN has changed.
- a technical effect is achieved that enables the MN to accurately determine whether the IP subnet to which it is connected has changed.
- the IP address management method provided in this embodiment determines whether the IP subnet accessed by the MN has changed by using the IP address anchor point, and directly informs the MN of the determination result, thereby reducing the processing overhead of the MN side.
- the step 402 in the embodiment shown in FIG. 4 and the step 502a in the embodiment shown in FIG. 5A that is, the IP address anchor determine whether the valid IP address prefix has been anchored by the IP address.
- the steps of assigning an IP address prefix may include the following sub-steps:
- the IP address anchor determines whether the network identifier corresponding to the IP address anchor exists in the network identifier corresponding to each valid IP address prefix.
- the IP address anchor determines that the IP address prefix already assigned by the IP address anchor in the valid IP address prefix.
- the IP address anchor determines that there is no IP address prefix assigned by the IP address anchor in the valid IP address prefix.
- the network identifier is an anchor identifier or a network number.
- Different IP address anchors correspond to different network identifiers. Taking the network identifier as the anchor identifier as an example, different IP address anchors can be distinguished by different anchor identifiers such as anchor#1, anchor#2, anchor#3.
- the IP address anchor When obtaining the valid IP address prefix used by the MN, the IP address anchor obtains the network identifier corresponding to each valid IP address prefix, and determines whether the valid IP address prefix has an IP address prefix assigned by itself.
- the valid IP address prefix used by the MN obtained by anchor#2 includes prefix#1, prefix#2, and prefix#3, and the network identifiers corresponding to the three IP address prefixes are anchor#1, anchor#2, and anchor, respectively. #3. Then, anchor#2 can determine that the three IP address prefixes have an IP address prefix assigned by itself, namely prefix#2.
- a separate entity may be deployed in the implementation environment shown in FIG. 1 as a location manager (English: Location Manager; LM for short).
- the LM can cover multiple IP subnets, that is, the relationship between the LM and the IP address anchor can be one-to-many.
- the LM is used to record a list of valid IP address prefixes assigned by each IP address anchor to the MN. For example, multiple entries may be stored in the LM, and each entry includes a correspondence between a node identifier, a network identifier, an IP address prefix, and an expiration date of the IP address prefix.
- the IP address anchor can query the LM for the valid IP address prefix that the MN is using.
- the step of obtaining an effective IP address prefix that the MN is using by the IP address anchor may include the following sub-steps:
- the IP address anchor sends an information acquisition request carrying the node identifier of the MN to the LM, so that the LM searches for the valid IP address prefix used by the MN and each valid IP address from the pre-stored entry according to the node identifier of the MN.
- the network identifier corresponding to the prefix is the network identifier corresponding to the prefix.
- the IP address anchor receives the valid IP address prefix of the LM feedback and the network identifier corresponding to each valid IP address prefix.
- LM stores multiple entries as shown in Table-1 below:
- anchor#2 When anchor #2 detects that MN#1 accesses IP subnet 2, anchor#2 sends an information acquisition request carrying MN#1 to LM. Accordingly, the LM searches for a entry containing the node identifier MN#1 from the pre-stored entries, such as entries 1 and 2 in Table-1 above, and the LM sends the above entries 1 and 2 to anchor#2. Accordingly, anchor#2 can obtain the valid IP address prefixes that MN#1 is using from the received entries, namely prefix#1 and prefix#3.
- the anchor #2 can distinguish the IP address prefix assigned by itself from MN#1 and the IP address prefix assigned by other IP address anchors to MN#1 according to the network identifier corresponding to each valid IP address prefix. Both prefix #1 and prefix #3 described above are not IP address prefixes assigned by anchor#2 to MN#1.
- the LM stored entry further includes a predetermined identifier current anchor.
- the anchor #2 After receiving the above items 1 and 2 sent by the LM, the anchor #2 detects that the prefix #1 assigned by the anchor#1 corresponds to the predetermined identifier current anchor, indicating that the MN#1 is the IP subnet 1 to which the anchor#1 is located. Moving to the IP subnet 2 where anchor#2 is located, the IP subnet accessed by MN#1 has changed.
- the IP address anchor After the IP address anchor assigns an IP address prefix to the MN, it sends an information storage request to the LM.
- the information storage request carries the node identifier of the MN, the network identifier corresponding to the IP address anchor, the IP address prefix assigned by the IP address anchor, and the validity period of the IP address prefix assigned by the IP address anchor. So that the LM stores the target entry according to the information storage request, and correspondingly sets a predetermined identifier in the target entry, and sets the predetermined identifier from the IP subnet to which the MN is located before the IP subnet where the access IP address anchor is located.
- the entry for the IP address prefix assigned to the MN is removed.
- the target entry includes: a node identifier of the MN, a network identifier corresponding to the IP address anchor, an IP address prefix assigned by the IP address anchor, and a validity period between the IP address prefix assigned by the IP address anchor. relationship.
- anchor#2 After anchor#2 receives the above items 1 and 2 sent by the LM, it detects that MN#1 is found. If the valid IP address prefix being used does not have an IP address prefix assigned by itself, then anchor#2 assigns an IP address prefix to MN#1, which is denoted as prefix#2. Also, anchor#2 sets the validity period corresponding to prefix#2, and is recorded as time#5. After that, the anchor #2 sends an information storage request to the LM, where the information storage request carries the node identifier MN#1, the network identifier anchor#2, the IP address prefix prefix#2, and the validity period time#5. Correspondingly, the LM updates the pre-stored entry after receiving the information storage request sent by anchor#2.
- the updated entries can be as shown in Table-2 below:
- Anchor #2 stores the entry 1 in Table-2, and correspondingly sets the predetermined identifier current anchor in the entry, and the predetermined identifier current anchor from the entry 2 in Table-2 (ie, entry 1 in Table-1) Remove.
- the IP address anchor detects whether there is a target IP address prefix in the valid IP address prefix, and the target IP address prefix refers to an IP address prefix that is not used by the network session for a predetermined duration. If the target IP address prefix exists in the valid IP address prefix, the IP address anchor sends an entry deletion indication carrying the MN node identifier and the target IP address prefix to the LM, so that the LM deletes the MN node identifier and the target IP address. An entry for the correspondence between the prefixes.
- anchor#2 when anchor#2 detects that prefix#3 is not used by the network session for more than the predetermined duration, it indicates that MN#1 no longer needs to use the prefix#3, and anchor#2 sends the MN#1 and prefix to the LM. #3's entry deletion indication.
- the LM after receiving the above-mentioned entry deletion instruction sent by anchor#2, the LM deletes entry 3 in Table-2 above.
- the embodiment of the present invention can ensure the accuracy and real-time performance of the entries stored in the LM on the one hand, and save the storage resources of the LM on the other hand.
- a mobility management (English: Mobility Management; MM) entity is deployed in the subnet.
- the MM entity is responsible for performing signaling interactions between the IP address anchor and the LM related to mobility management.
- the MM entity can be deployed as a separate entity, or the MM entity can be integrated with the IP address anchor.
- the process by which the IP address anchor queries the LM for the valid IP address prefix that the MN is using is as follows:
- the IP address anchor sends an information acquisition request carrying the node identifier of the MN to the MM entity;
- the MM entity forwards the information acquisition request to the LM.
- the LM searches for the valid IP address prefix used by the MN and the network identifier corresponding to each valid IP address prefix from the pre-stored entry according to the node identifier of the MN;
- the LM sends the valid IP address prefix and the network identifier corresponding to each valid IP address prefix to the MM entity;
- the MM entity forwards the valid IP address prefix and the network identifier corresponding to each valid IP address prefix to the IP address anchor.
- the following describes and describes the selection of different types of IP address prefixes when the MN performs a network session.
- the IP address prefix assigned by the IP address anchor and the other IP address are identified by the type identifier.
- the MN can distinguish the two different types of IP address prefixes based on the type identifier. The following describes and describes the selection of different types of IP address prefixes in the case of new network sessions and existing network sessions.
- the MN When the MN needs to initiate a new network session to the CN, the MN chooses to use the preferred IP address as the source IP address for the new network session.
- the preferred IP address refers to an IP address generated according to an IP address prefix assigned by an IP address anchor in the currently accessed IP subnet and a host address of the MN.
- the MN moves from the IP subnet 1 to the IP subnet 2, and the RA message sent by the anchor #2 in the IP subnet 2 to the MN includes: prefix #1 and prefix #2.
- the prefix #1 is correspondingly provided with a second type identifier F-prefix
- the prefix #2 is correspondingly provided with a first type identifier H-prefix.
- the IP address generated by the MN according to prefix #1 and its own host address is IP address#1
- the IP address generated according to prefix#2 and its own host address is IP address#2.
- the MN chooses to use the IP address #2 as the source IP address to communicate with the CN for the new network session, thereby achieving the purpose of reducing routing redundancy.
- the MN determines whether the existing network session with the CN can use the preferred IP address as the source IP address.
- the preferred IP address refers to an IP address generated according to an IP address prefix assigned by an IP address anchor in the currently accessed IP subnet and a host address of the MN. If the existing network session can use the preferred IP address as the source IP address, the MN selects the preferred IP address as the source IP address for the existing network session; otherwise, if the existing network session cannot use the preferred IP address as the source IP address, Then the MN keeps the source IP address used by the existing network session unchanged.
- the existing network session uses IP address#1 as the source IP address. Communicate with the CN.
- the MN determines whether the existing network session itself can handle the change of the IP address, that is, whether the existing network session can communicate with the CN using the IP address #2 as the source IP address. If yes, the MN chooses to use the IP address #2 as the source IP address to communicate with the CN for the existing network session, thereby achieving the purpose of reducing routing redundancy.
- the MN keeps the source IP address IP address#1 used by the existing network session unchanged, and uses the tunnel between the anchor#2 and the anchor#1 (English: tunnel) for the existing network session.
- the service flow provides continuity support to ensure that the existing network session is not affected.
- the MN determines whether the existing network session with the CN can use the preferred IP address as the source IP address, which can be implemented in various ways.
- the MN obtains configuration information of an application corresponding to the existing network session, and determines, according to the configuration information, whether the existing network session can use the preferred IP address as the source IP address. For example, when an application developer develops an application, it is explicitly set by setting the socket option.
- the MN obtains a transport layer protocol used by an application corresponding to the existing network session, and determines, according to the transport layer protocol, whether the existing network session can use the preferred IP address as the source IP address. For another example, since MPTCP (English: Multipath TCP) itself is capable of handling changes in the IP address, if the transport layer protocol used by the existing network session is MPTCP, then the existing network session is made to use the preferred IP address as the source. IP address.
- MPTCP English: Multipath TCP
- the MN keeps the source IP address used by the existing network session unchanged.
- the IP address prefix assigned by the IP address anchor is distinguished from the IP address prefix assigned by the other IP address anchor by the type identifier. So that the MN can distinguish the two different types of IP address prefixes based on the type identifier.
- the MN achieves the technical effect of reducing routing redundancy by selecting the preferred IP address as the source IP address for the new network session and the existing network session that can handle the change of the IP address.
- the MN may query the IP address of the CN that is closest to the MN, and establish a network session with the nearest CN according to the IP address, thereby further Reduce the purpose of routing redundancy.
- FIG. 6 shows a block diagram of an IP address management apparatus according to an embodiment of the present invention.
- the IP address management device can be applied to an IP address anchor.
- the IP address management apparatus may include an address obtaining module 610 and an information sending module 620.
- the address obtaining module 610 is configured to obtain a valid IP address prefix that the MN is using when detecting that the mobile node MN accesses the IP subnet where the IP address anchor is located.
- the information sending module 620 is configured to send, according to the valid IP address prefix, handover indication information to the MN, so that the MN determines, according to the handover indication information, whether the accessed IP subnet has changed.
- the IP address management apparatus sends an IP address to the MN according to the valid IP address prefix that the MN is using when detecting that the MN accesses the IP subnet where the IP address is anchored by the IP address anchor.
- Switching indication information solving the problem that the existing MN cannot judge whether the IP subnet to which it is connected has changed; and the technology that enables the MN to accurately determine whether the IP subnet to which it is connected has changed. effect.
- FIG. 7 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- the IP address management device can be applied to an IP address anchor.
- the IP address management apparatus may include an address obtaining module 610 and an information sending module 620.
- the address obtaining module 610 is configured to obtain a valid IP address prefix that the MN is using when detecting that the mobile node MN accesses the IP subnet where the IP address anchor is located.
- the information sending module 620 is configured to send, according to the valid IP address prefix, handover indication information to the MN, so that the MN determines, according to the handover indication information, whether the accessed IP subnet has changed.
- the information sending module 620 includes: an address determining submodule 620a, a prefix assigning submodule 620b, a distinguishing identifier submodule 620c, and a first sending submodule 620d.
- the address judging sub-module 620a is configured to determine whether an IP address prefix allocated by the IP address anchor is already in the valid IP address prefix.
- the prefix allocation sub-module 620b is configured to allocate an IP address prefix to the MN when there is no IP address prefix allocated by the IP address anchor in the valid IP address prefix.
- the difference identifier sub-module 620c is configured to distinguish the IP address prefix assigned by the IP address anchor from the IP address prefix assigned by another IP address anchor in the valid IP address prefix.
- the first sending submodule 620d is configured to send the handover indication information to the MN, where the handover indication information includes: an IP address prefix allocated by the IP address anchor, and an IP address assigned by another IP address anchor A prefix and a type identifier for distinguishing between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the IP address management apparatus sends an IP address to the MN according to the valid IP address prefix that the MN is using when detecting that the MN accesses the IP subnet where the IP address is anchored by the IP address anchor.
- Switching indication information solving the problem that the existing MN cannot judge whether the IP subnet to which it is connected has changed; and the technology that enables the MN to accurately determine whether the IP subnet to which it is connected has changed. effect.
- FIG. 8 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- the IP address management device can be applied to an IP address anchor.
- the IP address management apparatus may include an address obtaining module 610 and an information sending module 620.
- the address obtaining module 610 is configured to obtain a valid IP address prefix that the MN is using when detecting that the mobile node MN accesses the IP subnet where the IP address anchor is located.
- the information sending module 620 is configured to send, according to the valid IP address prefix, handover indication information to the MN, so that the MN determines, according to the handover indication information, whether the accessed IP subnet has changed.
- the information sending module 620 includes: a change determining submodule 620e and a second sending submodule 620f.
- the change determining sub-module 620e is configured to determine, according to the valid IP address prefix, whether an IP subnet accessed by the MN has changed.
- the second sending sub-module 620f is configured to send the handover indication information to the MN according to the determination result, where the handover indication information includes a first indicator or a second indicator.
- the first indicator is used to indicate that the IP subnet accessed by the MN has changed
- the second indicator is used to indicate that the IP subnet accessed by the MN has not changed.
- the change determining sub-module 620e includes: an address determining sub-module 620e1, a first determining sub-module 620e2, an identifier determining sub-module 620e3, and a second determining sub-module 620e4.
- the address judging sub-module 620e1 is configured to determine whether an IP address prefix allocated by the IP address anchor is already in the valid IP address prefix.
- the first determining sub-module 620e2 is configured to determine that the IP subnet accessed by the MN has changed when there is no IP address prefix allocated by the IP address anchor in the valid IP address prefix.
- the identifier judging module 620e3 is configured to determine, when the IP address prefix is allocated by the IP address anchor in the valid IP address prefix, whether the IP address prefix assigned by the IP address anchor corresponds to a predetermined identifier. And the predetermined identifier corresponds to an IP address prefix allocated by the MN to the MN before accessing the IP subnet where the IP address anchor is located.
- the second determining sub-module 620e4 is configured to determine that the IP subnet accessed by the MN does not change when the IP address prefix assigned by the IP address anchor corresponds to the predetermined identifier.
- the first determining sub-module 620e2 is further configured to determine that the IP subnet accessed by the MN has changed when the IP address prefix assigned by the IP address anchor does not correspond to the predetermined identifier.
- the device further includes: a prefix allocation submodule, a difference identifier submodule, and a message sending submodule (not shown).
- a prefix allocation submodule configured to allocate an IP address prefix to the MN when there is no IP address prefix allocated by the IP address anchor in the valid IP address prefix.
- the difference identifier submodule is configured to distinguish the IP address prefix assigned by the IP address anchor from the IP address prefix assigned by another IP address anchor in the valid IP address prefix.
- a message sending submodule configured to send a route advertisement message to the MN, where the route advertisement message includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier
- the type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the IP address management apparatus is detected by the IP address anchor point.
- the MN accesses the IP subnet where the IP address is located, the MN sends the handover indication information to the MN according to the valid IP address prefix that the MN is using.
- the identifier sub-module is specifically configured to: set a first type identifier corresponding to an IP address prefix allocated by the IP address anchor point; And/or, setting a second type identifier corresponding to an IP address prefix assigned by another IP address anchor.
- the address determining sub-module includes: a network identifier judging sub-module 91, a first determining sub-module 92, and a second The sub-module 93 is determined.
- the network identifier determining sub-module 91 is configured to determine whether the network identifier corresponding to the IP address anchor exists in the network identifier corresponding to each of the valid IP address prefixes, where the network identifier is an anchor identifier or a network number. .
- the first determining sub-module 92 is configured to determine, when the network identifier corresponding to the IP address anchor exists, an IP address prefix already allocated by the IP address anchor in the valid IP address prefix.
- the second determining sub-module 93 is configured to determine, when the network identifier corresponding to the IP address anchor does not exist, that the valid IP address prefix does not have an IP address prefix allocated by the IP address anchor.
- the address obtaining module includes: a request acquiring submodule and an address receiving submodule (not shown in the figure).
- Requesting an acquisition submodule configured to send, to the location manager LM, an information acquisition request that carries the node identifier of the MN; so that the LM searches for the MN according to the node identifier of the MN, and obtains the MN from the pre-stored entry.
- a valid IP address prefix and a network identifier corresponding to each of the valid IP address prefixes wherein each entry includes a correspondence between a node identifier, a network identifier, an IP address prefix, and an expiration date of the IP address prefix, the MN
- the IP address prefix assigned to the MN by the IP subnet accessed before accessing the IP subnet where the IP address anchor is located also corresponds to a predetermined identifier.
- the address receiving submodule is configured to receive the valid IP address prefix of the LM feedback and a network identifier corresponding to each of the valid IP address prefixes.
- the apparatus further includes: requesting a storage submodule (not shown).
- a requesting storage submodule configured to send an information storage request to the LM, where the information storage request carries a node identifier of the MN, a network identifier corresponding to the IP address anchor point, and is allocated by the IP address anchor point IP address prefix and an expiration date of the IP address prefix assigned by the IP address anchor; such that the LM stores the target entry according to the information storage request, and correspondingly sets the predetermined identifier in the target entry, and The predetermined identifier is removed from an entry in which the IP subnet that the MN accesses before accessing the IP subnet where the IP address anchor is located is assigned an IP address prefix assigned to the MN.
- the target entry includes: a node identifier of the MN, a network identifier corresponding to the IP address anchor, an IP address prefix allocated by the IP address anchor, and an IP address assigned by the IP address anchor. The correspondence between the validity periods of the prefixes.
- the device further includes: an address detection submodule and an indication transmission submodule (not shown).
- An address detection submodule is configured to detect whether a target IP address prefix exists in the valid IP address prefix, where the target IP address prefix refers to an IP address prefix that is not used by the network session for a predetermined duration.
- a sending submodule configured to: when the target IP address prefix exists in the valid IP address prefix, send an entry deletion indication that carries the node identifier of the MN and the target IP address prefix to the LM, to The LM deletes an entry in which a correspondence between the node identifier of the MN and the target IP address prefix is recorded.
- FIG. 10 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- the IP address management device can be applied to the MN.
- the IP address management apparatus may include an information receiving module 1010 and a change judging module 1020.
- the information receiving module 1010 is configured to receive the handover indication information sent by the IP address anchor point after accessing the IP subnet where the IP address anchor is located.
- the change determining module 1020 is configured to determine, according to the handover indication information, whether the accessed IP subnet has changed.
- the IP address management apparatus receives the handover indication information sent by the IP address anchor through the MN, and determines whether the accessed IP subnet has changed according to the handover indication information; A MN with a technology cannot judge whether the IP subnet to which it is connected has changed; so that the MN can accurately determine whether the IP subnet to which it is connected has changed.
- FIG. 11 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- the IP address management device can be applied to the MN.
- the IP address management apparatus may include an information receiving module 1010 and a change judging module 1020.
- the information receiving module 1010 is configured to receive the handover indication information sent by the IP address anchor point after accessing the IP subnet where the IP address anchor is located.
- the change determining module 1020 is configured to determine, according to the handover indication information, whether the accessed IP subnet has changed.
- the handover indication information includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier, where the type identifier is used to distinguish the identifier by
- the IP address prefix assigned by the IP address anchor is prefixed with the IP address assigned by other IP address anchors.
- the change determining module 1020 includes: a condition determining sub-module 1020a, a third determining sub-module 1020b, and a fourth determining sub-module 1020c.
- the condition judging sub-module 1020a is configured to determine whether the IP address prefix allocated by the IP address anchor meets a predetermined condition, where the predetermined condition is that the IP address prefix assigned by the IP address anchor is in the The last handover indication information received by the MN does not exist, or the IP address prefix allocated by the IP address anchor exists in the previous handover indication information received by the MN and is identified as being assigned by another IP address anchor. .
- the third determining sub-module 1020b is configured to determine that the accessed IP subnet has changed when the IP address prefix allocated by the IP address anchor satisfies the predetermined condition.
- the fourth determining sub-module 1020c is configured to determine that the accessed IP subnet has not changed when the IP address prefix allocated by the IP address anchor does not satisfy the predetermined condition.
- the IP address management apparatus receives the handover indication information sent by the IP address anchor through the MN, and determines whether the accessed IP subnet has changed according to the handover indication information;
- the MN with technology can not judge whether the IP subnet to which it is connected has changed; the technical effect that enables the MN to accurately determine whether the IP subnet to which it is connected has changed.
- FIG. 12 is a block diagram of an IP address management apparatus according to another embodiment of the present invention.
- the IP address management device can be applied to the MN.
- the IP address management apparatus may include an information receiving module 1010 and a change judging module 1020.
- the information receiving module 1010 is configured to receive the handover indication information sent by the IP address anchor point after accessing the IP subnet where the IP address anchor is located.
- the change determining module 1020 is configured to determine, according to the handover indication information, whether the accessed IP subnet has changed.
- the handover indication information includes a first indicator or a second indicator, where the first indicator is used to indicate that an IP subnet accessed by the MN has changed, where the The second indicator is used to indicate that the IP subnet accessed by the MN has not changed.
- the change determining module 1020 includes: a fifth determining sub-module 1020d and a sixth determining sub-module 1020e.
- the fifth determining sub-module 1020d is configured to determine that the accessed IP subnet has changed when the first indicator is included in the handover indication information.
- the sixth determining sub-module 1020e is configured to determine that the accessed IP subnet has not changed when the second indicator is included in the handover indication information.
- the device further includes: a message receiving submodule (not shown).
- the message receiving submodule is configured to receive a route advertisement message sent by the IP address anchor.
- the route advertisement message includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier, where the type identifier is used to distinguish the identifier by the IP address.
- the IP address prefix assigned by the anchor is prefixed with the IP address assigned by other IP address anchors.
- the IP address management apparatus receives the handover indication information sent by the IP address anchor through the MN, and determines whether the accessed IP subnet has changed according to the handover indication information;
- the MN with technology can not judge whether the IP subnet to which it is connected has changed; the technical effect that enables the MN to accurately determine whether the IP subnet to which it is connected has changed.
- the type identifier includes a first type identifier and/or a second type identifier.
- the first type identifier is set corresponding to an IP address prefix assigned by the IP address anchor.
- the second type identifier is set corresponding to an IP address prefix assigned by another IP address anchor.
- the apparatus further includes: an address area molecular module 131.
- the address area numerator module 131 is configured to distinguish an IP address prefix allocated by the IP address anchor from an IP address prefix assigned by another IP address anchor according to the type identifier.
- the device further includes: a first selection sub-module 132.
- the first selection sub-module 132 is configured to select a preferred IP address as the source IP address for the new network session when the MN needs to initiate a new network session to the communication peer node CN.
- the preferred IP address refers to an IP address generated according to an IP address prefix allocated by the IP address anchor and a host address of the MN.
- the device further includes: a session determining sub-module 133, a second selecting sub-module 134, and a third selecting sub-module 135.
- the session judging sub-module 133 is configured to determine whether an existing network session with the communication peer node CN can use the preferred IP address as the source IP address; wherein the preferred IP address is allocated according to the IP address anchor point.
- the second selection sub-module 134 is configured to select the preferred IP address as the source IP address for the existing network session when the existing network session can use the preferred IP address as the source IP address.
- the third selection sub-module 135 is configured to keep the source IP address used by the existing network session unchanged when the existing network session cannot use the preferred IP address as the source IP address.
- the session determining sub-module 133 is specifically configured to:
- the apparatus further includes: an address query module and a session establishment module (not shown).
- the address querying module is configured to: when the MN determines that the accessed IP subnet has changed, query the IP address of the communication peer node CN that is closest to the MN.
- a session establishing module configured to establish a network session with the nearest CN according to the IP address.
- IP address management apparatus provided by the foregoing embodiment, only the division of each functional module is described as an example in the IP address management. In actual applications, the foregoing functions may be assigned to different functional modules according to requirements. Completion, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
- the IP address management apparatus and the method embodiment of the IP address management method provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
- FIG. 14 shows a block diagram of an IP address management system provided by an embodiment of the present invention.
- the IP address management system includes an IP address anchor 1410 and an MN 1420. among them:
- the IP address anchor 1410 may include an IP address management device as provided by the embodiment shown in FIG. 6, FIG. 7, or FIG.
- the MN 1420 may include an IP address management apparatus as provided in the embodiment shown in FIG. 10, FIG. 11, or FIG.
- IP address anchor 1500 includes a bus 1510, and a processor 1520, a memory 1530, and a transceiver 1540 that communicate over bus 1510.
- the memory 1530 is configured to store one or more instructions that are configured to be executed by the processor 1520. among them:
- the processor 1520 is configured to obtain a valid IP address prefix that the MN is using when detecting that the mobile node MN accesses the IP subnet where the IP address anchor is located.
- the processor 1520 is further configured to: according to the valid IP address prefix, control the transceiver 1540 to send handover indication information to the MN; to enable the MN to determine the accessed IP sub-subject according to the handover indication information. Has the web changed?
- the IP address anchor provided by this embodiment sends the handover indication information to the MN according to the valid IP address prefix that the MN is using when detecting that the MN accesses the IP subnet where the IP address anchor is located;
- the problem that the MN cannot determine whether the IP subnet accessed by the MN has changed has been solved in the prior art; and the technical effect of enabling the MN to accurately determine whether the IP subnet to which it is connected has changed is achieved.
- the processor 1520 is specifically used. to:
- the MN is assigned an IP address prefix, and the IP address prefix assigned by the IP address anchor is associated with the valid IP address.
- the IP address prefix assigned by another IP address anchor in the address prefix is distinguished by the identifier;
- IP address prefix assigns the IP address anchor to the IP address prefix. If there is an IP address prefix assigned by the IP address anchor in the valid IP address prefix, the IP address prefix assigned by the IP address anchor and the other IP address in the valid IP address prefix are anchored.
- the assigned IP address prefix distinguishes the identifier
- the transceiver 1540 Controlling the transceiver 1540 to send the handover indication information to the MN, where the handover indication information includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type The identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor.
- the processor 1520 is specifically configured to:
- the transceiver 1540 is controlled to send the handover indication information to the MN, where the handover indication information includes a first indicator or a second indicator;
- the first indicator is used to indicate that the IP subnet accessed by the MN has changed
- the second indicator is used to indicate that the IP subnet accessed by the MN has not changed.
- the processor 1520 is specifically configured to:
- IP address prefix assigned by the IP address anchor is already in the valid IP address prefix, it is determined whether the IP address prefix allocated by the IP address anchor corresponds to a predetermined identifier, where the predetermined identifier corresponds to the The IP subnet that the MN accesses before accessing the IP subnet where the IP address anchor is located is an IP address prefix allocated by the MN;
- IP address prefix assigned by the IP address anchor corresponds to the predetermined identifier, The IP subnet accessed by the MN has not changed.
- IP address prefix assigned by the IP address anchor does not correspond to the predetermined identifier, it is determined that the IP subnet accessed by the MN has changed.
- the processor 1520 is further configured to: if the IP address prefix is not allocated by the IP address anchor in the valid IP address prefix, assign an IP address prefix to the MN, and allocate the IP address by the anchor point.
- the IP address prefix is distinguished from the IP address prefix assigned by the other IP address anchor in the valid IP address prefix;
- the processor 1520 is further configured to: if an IP address prefix allocated by the IP address anchor in the valid IP address prefix, the IP address prefix assigned by the IP address anchor and the valid IP The IP address prefix assigned by another IP address anchor in the address prefix is distinguished by the identifier;
- the processor 1520 is further configured to control the transceiver 1540 to send a route advertisement message to the MN, where the route advertisement message includes: an IP address prefix allocated by the IP address anchor, and an anchor point by another IP address.
- the route advertisement message includes: an IP address prefix allocated by the IP address anchor, and an anchor point by another IP address.
- the processor 1520 is specifically configured to:
- the second type identifier is set corresponding to the IP address prefix assigned by other IP address anchors.
- the processor 1520 is specifically configured to:
- the network identifier Determining, in the network identifier corresponding to each of the valid IP address prefixes, whether the network identifier corresponding to the IP address anchor point exists; wherein the network identifier is an anchor point identifier or a network number;
- IP address anchor If there is no network identifier corresponding to the IP address anchor, it is determined that there is no IP address prefix allocated by the IP address anchor in the valid IP address prefix.
- the processor 1520 is specifically configured to:
- a valid IP address prefix and a network identifier corresponding to each of the valid IP address prefixes wherein each entry includes a correspondence between a node identifier, a network identifier, an IP address prefix, and an expiration date of the IP address prefix, where the MN is The IP address prefix allocated to the MN before the IP subnet to which the IP address anchor is located also has a predetermined identifier;
- the transceiver 1540 is configured to receive the valid IP address prefix of the LM feedback and a network identifier corresponding to each of the valid IP address prefixes.
- the processor 1520 is further configured to control the transceiver 1540 to send an information storage request to the LM, where the information storage request carries a node identifier of the MN, a network identifier corresponding to the IP address anchor point, An IP address prefix assigned by the IP address anchor and an expiration date of an IP address prefix assigned by the IP address anchor; such that the LM stores a target entry according to the information storage request and is in the target entry Corresponding to setting the predetermined identifier, and the predetermined identifier is an IP address prefix assigned to the MN by the IP subnet accessed by the MN before accessing the IP subnet where the IP address anchor is located. Removed from the entry;
- the target entry includes: a node identifier of the MN, a network identifier corresponding to the IP address anchor, an IP address prefix allocated by the IP address anchor, and an IP address assigned by the IP address anchor. The correspondence between the validity periods of the prefixes.
- the processor 1520 is further configured to detect whether a target IP address prefix exists in the valid IP address prefix, where the target IP address prefix refers to an IP address prefix that is not used by the network session for a predetermined duration;
- the processor 1520 is further configured to: if the target IP address prefix exists in the valid IP address prefix, control the transceiver 1540 to send, to the LM, a node identifier carrying the MN and the target IP An entry deletion instruction of the address prefix, such that the LM deletes an entry in which a correspondence between the node identifier of the MN and the target IP address prefix is recorded.
- FIG. 16 is a structural block diagram of a MN according to an embodiment of the present invention.
- the MN 1600 includes a bus 1610, and a processor 1620 that communicates over the bus 1610.
- the memory 1630 is configured to store one or more instructions that are configured to be executed by the processor 1620. among them:
- the processor 1620 is configured to, after accessing the IP subnet where the IP address anchor is located, control the transceiver connection 1640 to receive the handover indication information sent by the IP address anchor point;
- the processor 1620 is further configured to determine, according to the handover indication information, whether the accessed IP subnet has changed.
- the MN receives the handover indication information sent by the IP address anchor, and determines whether the accessed IP subnet has changed according to the handover indication information.
- the MN cannot determine whether the IP subnet to which it is connected has changed.
- the technical effect of enabling the MN to accurately determine whether the IP subnet to which it is connected has changed is achieved.
- the handover indication information includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier.
- the type identifier is used to distinguish between an IP address prefix assigned by the IP address anchor and an IP address prefix assigned by another IP address anchor;
- the processor 1620 is specifically configured to:
- the predetermined condition is: the last handover indication information received by the IP address prefix by the IP address anchor at the MN
- the IP address prefix assigned by the IP address anchor exists in the previous handover indication information received by the MN and is identified as being assigned by another IP address anchor;
- IP address prefix allocated by the IP address anchor satisfies the predetermined condition, it is determined that the accessed IP subnet has changed;
- IP address prefix assigned by the IP address anchor does not satisfy the predetermined condition, it is determined that the accessed IP subnet has not changed.
- the handover indication information includes a first indicator or a second indicator, where the first indicator is used to indicate that the MN is connected.
- the IP subnet has changed, and the second indicator is used to indicate that the IP subnet accessed by the MN has not changed;
- the processor 1620 is specifically configured to:
- the second indicator is included in the handover indication information, it is determined that the accessed IP subnet has not changed.
- the processor 1620 is further configured to control the transceiver 1640 to receive a route advertisement message sent by the IP address anchor point;
- the route advertisement message includes: an IP address prefix allocated by the IP address anchor, an IP address prefix assigned by another IP address anchor, and a type identifier, where the type identifier is used to distinguish the identifier by the IP address.
- the IP address prefix assigned by the anchor is prefixed with the IP address assigned by other IP address anchors.
- the type identifier includes a first type identifier and/or a second type identifier
- the first type identifier is set corresponding to an IP address prefix assigned by the IP address anchor;
- the second type identifier is set corresponding to an IP address prefix assigned by another IP address anchor.
- the processor 1620 is further configured to distinguish, according to the type identifier, an IP address prefix allocated by the IP address anchor from an IP address prefix allocated by another IP address anchor.
- the processor 1620 is further configured to: when the MN needs to initiate a new network session to the communication peer node CN, select a preferred IP address as the source IP address for the new network session;
- the preferred IP address refers to an IP address generated according to an IP address prefix allocated by the IP address anchor and a host address of the MN.
- the processor 1620 is further configured to determine whether an existing network session with the communication peer node CN can use the preferred IP address as the source IP address; wherein the preferred IP address refers to the anchor according to the IP address.
- the processor 1620 is further configured to: if the existing network session can use the preferred IP address as the source IP address, select the preferred IP address as the source IP address for the existing network session;
- the processor 1620 is further configured to: if the existing network session cannot use the preferred IP address as the source IP address, keep the source IP address used by the existing network session unchanged.
- the processor 1620 is specifically used. to:
- the processor 1620 is further configured to: when the MN determines that the accessed IP subnet has changed, query the IP address of the communication peer node CN that is closest to the MN;
- the processor 1620 is further configured to establish a network session with the nearest CN according to the IP address.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
条目序号 | 节点标识 | 网络标识 | IP地址前缀 | 有效期 | 状态 |
1 | MN#1 | anchor#1 | prefix#1 | time#1 | current anchor |
2 | MN#1 | anchor#3 | prefix#3 | time#2 | |
3 | MN#2 | anchor#2 | prefix#2 | time#3 | current anchor |
4 | MN#2 | anchor#1 | prefix#1 | time#4 | |
… | … | … | … | … | … |
条目序号 | 节点标识 | 网络标识 | IP地址前缀 | 有效期 | 状态 |
1 | MN#1 | anchor#2 | prefix#2 | time#5 | current anchor |
2 | MN#1 | anchor#1 | prefix#1 | time#1 | |
3 | MN#1 | anchor#3 | prefix#3 | time#2 | |
4 | MN#2 | anchor#2 | prefix#2 | time#3 | current anchor |
5 | MN#2 | anchor#1 | prefix#1 | time#4 | |
… | … | … | … | … | … |
Claims (48)
- 一种IP地址管理方法,其特征在于,所述方法包括:IP地址锚点在检测到移动节点MN接入所述IP地址锚点所在的IP子网时,获取所述MN正在使用的有效IP地址前缀;所述IP地址锚点根据所述有效IP地址前缀向所述MN发送切换指示信息;以使得所述MN根据所述切换指示信息确定所接入的IP子网是否已发生变化。
- 根据权利要求1所述的方法,其特征在于,所述IP地址锚点根据所述有效IP地址前缀向所述MN发送切换指示信息,包括:所述IP地址锚点判断所述有效IP地址前缀中是否已有由所述IP地址锚点分配的IP地址前缀;若所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀,则所述IP地址锚点为所述MN分配IP地址前缀,并将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;若所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀,则所述IP地址锚点将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;所述IP地址锚点向所述MN发送所述切换指示信息,所述切换指示信息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求1所述的方法,其特征在于,所述IP地址锚点根据所述有效IP地址前缀向所述MN发送切换指示信息,包括:所述IP地址锚点根据所述有效IP地址前缀判定所述MN所接入的IP子网是否已发生变化;所述IP地址锚点根据判定结果向所述MN发送所述切换指示信息,所述切换指示信息包括第一指示符或者第二指示符;其中,所述第一指示符用于指示所述MN所接入的IP子网已发生变化,所 述第二指示符用于指示所述MN所接入的IP子网未发生变化。
- 根据权利要求3所述的方法,其特征在于,所述IP地址锚点根据所述有效IP地址前缀判定所述MN所接入的IP子网是否已发生变化,包括:所述IP地址锚点判断所述有效IP地址前缀中是否已有由所述IP地址锚点分配的IP地址前缀;若所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀,则所述IP地址锚点判定所述MN所接入的IP子网已发生变化;若所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀,则所述IP地址锚点判断由所述IP地址锚点分配的IP地址前缀是否对应有预定标识,所述预定标识对应于所述MN在接入所述IP地址锚点所在的IP子网之前所接入的IP子网为所述MN分配的IP地址前缀;若由所述IP地址锚点分配的IP地址前缀对应有所述预定标识,则所述IP地址锚点判定所述MN所接入的IP子网未发生变化;若由所述IP地址锚点分配的IP地址前缀未对应有所述预定标识,则所述IP地址锚点判定所述MN所接入的IP子网已发生变化。
- 根据权利要求4所述的方法,其特征在于,所述方法还包括:若所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀,则所述IP地址锚点为所述MN分配IP地址前缀,并将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;若所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀,则所述IP地址锚点将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;所述IP地址锚点向所述MN发送路由通告消息,所述路由通告消息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求2或5所述的方法,其特征在于,所述IP地址锚点将由所 述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识,包括:所述IP地址锚点为由所述IP地址锚点分配的IP地址前缀对应设置第一类型标识;和/或,所述IP地址锚点为由其它IP地址锚点分配的IP地址前缀对应设置第二类型标识。
- 根据权利要求2或4所述的方法,其特征在于,所述IP地址锚点判断所述有效IP地址前缀中是否已有由所述IP地址锚点分配的IP地址前缀,包括:所述IP地址锚点判断各个所述有效IP地址前缀分别对应的网络标识中,是否存在所述IP地址锚点对应的网络标识;其中,所述网络标识为锚点标识或者网络号;若存在所述IP地址锚点对应的网络标识,则所述IP地址锚点确定所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀;若不存在所述IP地址锚点对应的网络标识,则所述IP地址锚点确定所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀。
- 根据权利要求7所述的方法,其特征在于,所述IP地址锚点获取所述MN正在使用的有效IP地址前缀,包括:所述IP地址锚点向位置管理器LM发送携带有所述MN的节点标识的信息获取请求;以使得所述LM根据所述MN的节点标识,从预存的条目中查找获取所述MN正在使用的有效IP地址前缀以及各个所述有效IP地址前缀分别对应的网络标识;其中,每个条目包括节点标识、网络标识、IP地址前缀以及IP地址前缀的有效期之间的对应关系,所述MN在接入所述IP地址锚点所在的IP子网之前所接入的IP子网为所述MN分配的IP地址前缀还对应有预定标识;所述IP地址锚点接收所述LM反馈的所述有效IP地址前缀以及各个所述有效IP地址前缀分别对应的网络标识;所述方法还包括:所述IP地址锚点向所述LM发送信息存储请求,所述信息存储请求中携带有所述MN的节点标识、所述IP地址锚点对应的网络标识、由所述IP地址锚点 分配的IP地址前缀以及由所述IP地址锚点分配的IP地址前缀的有效期;以使得所述LM根据所述信息存储请求存储目标条目,并在所述目标条目中对应设置所述预定标识,而将所述预定标识从记录有所述MN在接入所述IP地址锚点所在的IP子网之前所接入的IP子网为所述MN分配的IP地址前缀的条目中移除;其中,所述目标条目包括:所述MN的节点标识、所述IP地址锚点对应的网络标识、由所述IP地址锚点分配的IP地址前缀以及由所述IP地址锚点分配的IP地址前缀的有效期之间的对应关系。
- 根据权利要求8所述的方法,其特征在于,所述方法还包括:所述IP地址锚点检测所述有效IP地址前缀中是否存在目标IP地址前缀,所述目标IP地址前缀是指超过预定时长未被网络会话使用的IP地址前缀;若所述有效IP地址前缀中存在所述目标IP地址前缀,则所述IP地址锚点向所述LM发送携带有所述MN的节点标识和所述目标IP地址前缀的条目删除指示,以使得所述LM删除记录有所述MN的节点标识和所述目标IP地址前缀之间的对应关系的条目。
- 一种IP地址管理方法,其特征在于,所述方法包括:移动节点MN在接入IP地址锚点所在的IP子网后,接收所述IP地址锚点发送的切换指示信息;所述MN根据所述切换指示信息确定所接入的IP子网是否已发生变化。
- 根据权利要求10所述的方法,其特征在于,所述切换指示信息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀;所述MN根据所述切换指示信息确定所接入的IP子网是否已发生变化,包括:所述MN判断由所述IP地址锚点分配的IP地址前缀是否满足预定条件;其中,所述预定条件是指:由所述IP地址锚点分配的IP地址前缀在所述MN接收的上一条切换指示信息中不存在,或者,由所述IP地址锚点分配的IP地址前缀 在所述MN接收的上一条切换指示信息中存在且被标识为由其它IP地址锚点分配;若由所述IP地址锚点分配的IP地址前缀满足所述预定条件,则所述MN判定所接入的IP子网已发生变化;若由所述IP地址锚点分配的IP地址前缀不满足所述预定条件,则所述MN判定所接入的IP子网未发生变化。
- 根据权利要求10所述的方法,其特征在于,所述切换指示信息包括第一指示符或者第二指示符;其中,所述第一指示符用于指示所述MN所接入的IP子网已发生变化,所述第二指示符用于指示所述MN所接入的IP子网未发生变化;所述MN根据所述切换指示信息确定所接入的IP子网是否已发生变化,包括:当所述切换指示信息中包括所述第一指示符时,所述MN判定所接入的IP子网已发生变化;当所述切换指示信息中包括所述第二指示符时,所述MN判定所接入的IP子网未发生变化。
- 根据权利要求12所述的方法,其特征在于,所述方法还包括:所述MN接收所述IP地址锚点发送的路由通告消息;其中,所述路由通告消息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求11或13所述的方法,其特征在于,所述类型标识包括第一类型标识和/或第二类型标识;所述第一类型标识与由所述IP地址锚点分配的IP地址前缀对应设置;所述第二类型标识与由其它IP地址锚点分配的IP地址前缀对应设置。
- 根据权利要求11或13所述的方法,其特征在于,所述方法还包括:所述MN根据所述类型标识,区分由所述IP地址锚点分配的IP地址前缀与 由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求10至15任一所述的方法,其特征在于,所述方法还包括:当所述MN判定所接入的IP子网已发生变化时,所述MN查询获取距离所述MN最近的通信对端节点CN的IP地址;所述MN根据所述IP地址与所述最近的CN间建立网络会话。
- 一种IP地址管理装置,其特征在于,应用于IP地址锚点中,所述装置包括:地址获取模块,用于在检测到移动节点MN接入所述IP地址锚点所在的IP子网时,获取所述MN正在使用的有效IP地址前缀;信息发送模块,用于根据所述有效IP地址前缀向所述MN发送切换指示信息;以使得所述MN根据所述切换指示信息确定所接入的IP子网是否已发生变化。
- 根据权利要求17所述的装置,其特征在于,所述信息发送模块,包括:地址判断子模块,用于判断所述有效IP地址前缀中是否已有由所述IP地址锚点分配的IP地址前缀;前缀分配子模块,用于当所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀时,为所述MN分配IP地址前缀;区别标识子模块,用于将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;第一发送子模块,用于向所述MN发送所述切换指示信息,所述切换指示信息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求17所述的装置,其特征在于,所述信息发送模块,包括:变化判定子模块,用于根据所述有效IP地址前缀判定所述MN所接入的IP子网是否已发生变化;第二发送子模块,用于根据判定结果向所述MN发送所述切换指示信息,所述切换指示信息包括第一指示符或者第二指示符;其中,所述第一指示符用于指示所述MN所接入的IP子网已发生变化,所述第二指示符用于指示所述MN所接入的IP子网未发生变化。
- 根据权利要求19所述的装置,其特征在于,所述变化判定子模块,包括:地址判断子模块,用于判断所述有效IP地址前缀中是否已有由所述IP地址锚点分配的IP地址前缀;第一判定子模块,用于当所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀时,判定所述MN所接入的IP子网已发生变化;标识判断子模块,用于当所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀时,判断由所述IP地址锚点分配的IP地址前缀是否对应有预定标识,所述预定标识对应于所述MN在接入所述IP地址锚点所在的IP子网之前所接入的IP子网为所述MN分配的IP地址前缀;第二判定子模块,用于当由所述IP地址锚点分配的IP地址前缀对应有所述预定标识时,判定所述MN所接入的IP子网未发生变化;所述第一判定子模块,还用于当由所述IP地址锚点分配的IP地址前缀未对应有所述预定标识时,判定所述MN所接入的IP子网已发生变化。
- 根据权利要求20所述的装置,其特征在于,所述装置还包括:前缀分配子模块,用于当所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀时,为所述MN分配IP地址前缀;区别标识子模块,用于将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;消息发送子模块,用于向所述MN发送路由通告消息,所述路由通告消息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求18或21所述的装置,其特征在于,所述区别标识子模 块,具体用于:为由所述IP地址锚点分配的IP地址前缀对应设置第一类型标识;和/或,为由其它IP地址锚点分配的IP地址前缀对应设置第二类型标识。
- 根据权利要求18或20所述的装置,其特征在于,所述地址判断子模块,包括:网络标识判断子模块,用于判断各个所述有效IP地址前缀分别对应的网络标识中,是否存在所述IP地址锚点对应的网络标识;其中,所述网络标识为锚点标识或者网络号;第一确定子模块,用于当存在所述IP地址锚点对应的网络标识时,确定所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀;第二确定子模块,用于当不存在所述IP地址锚点对应的网络标识时,确定所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀。
- 根据权利要求23所述的装置,其特征在于,所述地址获取模块,包括:请求获取子模块,用于向位置管理器LM发送携带有所述MN的节点标识的信息获取请求;以使得所述LM根据所述MN的节点标识,从预存的条目中查找获取所述MN正在使用的有效IP地址前缀以及各个所述有效IP地址前缀分别对应的网络标识;其中,每个条目包括节点标识、网络标识、IP地址前缀以及IP地址前缀的有效期之间的对应关系,所述MN在接入所述IP地址锚点所在的IP子网之前所接入的IP子网为所述MN分配的IP地址前缀还对应有预定标识;地址接收子模块,用于接收所述LM反馈的所述有效IP地址前缀以及各个所述有效IP地址前缀分别对应的网络标识;所述装置还包括:请求存储子模块,用于向所述LM发送信息存储请求,所述信息存储请求中携带有所述MN的节点标识、所述IP地址锚点对应的网络标识、由所述IP地址锚点分配的IP地址前缀以及由所述IP地址锚点分配的IP地址前缀的有效期;以使得所述LM根据所述信息存储请求存储目标条目,并在所述目标条目中对应设置所述预定标识,而将所述预定标识从记录有所述MN在接入所述IP 地址锚点所在的IP子网之前所接入的IP子网为所述MN分配的IP地址前缀的条目中移除;其中,所述目标条目包括:所述MN的节点标识、所述IP地址锚点对应的网络标识、由所述IP地址锚点分配的IP地址前缀以及由所述IP地址锚点分配的IP地址前缀的有效期之间的对应关系。
- 根据权利要求24所述的装置,其特征在于,所述装置还包括:地址检测子模块,用于检测所述有效IP地址前缀中是否存在目标IP地址前缀,所述目标IP地址前缀是指超过预定时长未被网络会话使用的IP地址前缀;指示发送子模块,用于当所述有效IP地址前缀中存在所述目标IP地址前缀时,向所述LM发送携带有所述MN的节点标识和所述目标IP地址前缀的条目删除指示,以使得所述LM删除记录有所述MN的节点标识和所述目标IP地址前缀之间的对应关系的条目。
- 一种IP地址管理装置,其特征在于,应用于移动节点MN中,所述装置包括:信息接收模块,用于在接入IP地址锚点所在的IP子网后,接收所述IP地址锚点发送的切换指示信息;变化判断模块,用于根据所述切换指示信息确定所接入的IP子网是否已发生变化。
- 根据权利要求26所述的装置,其特征在于,所述切换指示信息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀;所述变化判断模块,包括:条件判断子模块,用于判断由所述IP地址锚点分配的IP地址前缀是否满足预定条件;其中,所述预定条件是指:由所述IP地址锚点分配的IP地址前缀在所述MN接收的上一条切换指示信息中不存在,或者,由所述IP地址锚点分配的IP地址前缀在所述MN接收的上一条切换指示信息中存在且被标识为由其它IP地址锚点分配;第三判定子模块,用于当由所述IP地址锚点分配的IP地址前缀满足所述预定条件时,判定所接入的IP子网已发生变化;第四判定子模块,用于当由所述IP地址锚点分配的IP地址前缀不满足所述预定条件时,判定所接入的IP子网未发生变化。
- 根据权利要求26所述的装置,其特征在于,所述切换指示信息包括第一指示符或者第二指示符;其中,所述第一指示符用于指示所述MN所接入的IP子网已发生变化,所述第二指示符用于指示所述MN所接入的IP子网未发生变化;所述变化判断模块,包括:第五判定子模块,用于当所述切换指示信息中包括所述第一指示符时,判定所接入的IP子网已发生变化;第六判定子模块,用于当所述切换指示信息中包括所述第二指示符时,判定所接入的IP子网未发生变化。
- 根据权利要求28所述的装置,其特征在于,所述装置还包括:消息接收子模块,用于接收所述IP地址锚点发送的路由通告消息;其中,所述路由通告消息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求27或29所述的装置,其特征在于,所述类型标识包括第一类型标识和/或第二类型标识;所述第一类型标识与由所述IP地址锚点分配的IP地址前缀对应设置;所述第二类型标识与由其它IP地址锚点分配的IP地址前缀对应设置。
- 根据权利要求27或29所述的装置,其特征在于,所述装置还包括:地址区分子模块,用于根据所述类型标识,区分由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求26至31任一所述的装置,其特征在于,所述装置还包 括:地址查询模块,用于当所述MN判定所接入的IP子网已发生变化时,查询获取距离所述MN最近的通信对端节点CN的IP地址;会话建立模块,用于根据所述IP地址与所述最近的CN间建立网络会话。
- 一种IP地址锚点,其特征在于,所述IP地址锚点包括:处理器、存储器和收发器,其中所述存储器用于存储一个或者一个以上的指令,所述指令被配置成由所述处理器执行;所述处理器,用于在检测到移动节点MN接入所述IP地址锚点所在的IP子网时,获取所述MN正在使用的有效IP地址前缀;所述处理器,还用于根据所述有效IP地址前缀,控制所述收发器向所述MN发送切换指示信息;以使得所述MN根据所述切换指示信息确定所接入的IP子网是否已发生变化。
- 根据权利要求33所述的IP地址锚点,其特征在于,所述处理器,具体用于:判断所述有效IP地址前缀中是否已有由所述IP地址锚点分配的IP地址前缀;若所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀,则为所述MN分配IP地址前缀,并将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;若所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀,则将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;控制所述收发器向所述MN发送所述切换指示信息,所述切换指示信息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求33所述的IP地址锚点,其特征在于,所述处理器,具体用于:根据所述有效IP地址前缀判定所述MN所接入的IP子网是否已发生变化;根据判定结果,控制所述收发器向所述MN发送所述切换指示信息,所述切换指示信息包括第一指示符或者第二指示符;其中,所述第一指示符用于指示所述MN所接入的IP子网已发生变化,所述第二指示符用于指示所述MN所接入的IP子网未发生变化。
- 根据权利要求35所述的IP地址锚点,其特征在于,所述处理器,具体用于:判断所述有效IP地址前缀中是否已有由所述IP地址锚点分配的IP地址前缀;若所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀,则判定所述MN所接入的IP子网已发生变化;若所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀,则判断由所述IP地址锚点分配的IP地址前缀是否对应有预定标识,所述预定标识对应于所述MN在接入所述IP地址锚点所在的IP子网之前所接入的IP子网为所述MN分配的IP地址前缀;若由所述IP地址锚点分配的IP地址前缀对应有所述预定标识,则判定所述MN所接入的IP子网未发生变化;若由所述IP地址锚点分配的IP地址前缀未对应有所述预定标识,则判定所述MN所接入的IP子网已发生变化。
- 根据权利要求36所述的IP地址锚点,其特征在于,所述处理器,还用于若所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀,则为所述MN分配IP地址前缀,并将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;所述处理器,还用于若所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀,则将由所述IP地址锚点分配的IP地址前缀与所述有效IP地址前缀中由其它IP地址锚点分配的IP地址前缀区别标识;所述处理器,还用于控制所述收发器向所述MN发送路由通告消息,所述路由通告消息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚 点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求34或37所述的IP地址锚点,其特征在于,所述处理器,具体用于:为由所述IP地址锚点分配的IP地址前缀对应设置第一类型标识;和/或,为由其它IP地址锚点分配的IP地址前缀对应设置第二类型标识。
- 根据权利要求34或36所述的IP地址锚点,其特征在于,所述处理器,具体用于:判断各个所述有效IP地址前缀分别对应的网络标识中,是否存在所述IP地址锚点对应的网络标识;其中,所述网络标识为锚点标识或者网络号;若存在所述IP地址锚点对应的网络标识,则确定所述有效IP地址前缀中已有由所述IP地址锚点分配的IP地址前缀;若不存在所述IP地址锚点对应的网络标识,则确定所述有效IP地址前缀中没有由所述IP地址锚点分配的IP地址前缀。
- 根据权利要求39所述的IP地址锚点,其特征在于,所述处理器,具体用于:控制所述收发器向位置管理器LM发送携带有所述MN的节点标识的信息获取请求;以使得所述LM根据所述MN的节点标识,从预存的条目中查找获取所述MN正在使用的有效IP地址前缀以及各个所述有效IP地址前缀分别对应的网络标识;其中,每个条目包括节点标识、网络标识、IP地址前缀以及IP地址前缀的有效期之间的对应关系,所述MN在接入所述IP地址锚点所在的IP子网之前所接入的IP子网为所述MN分配的IP地址前缀还对应有预定标识;控制所述收发器接收所述LM反馈的所述有效IP地址前缀以及各个所述有效IP地址前缀分别对应的网络标识;所述处理器,还用于控制所述收发器向所述LM发送信息存储请求,所述信息存储请求中携带有所述MN的节点标识、所述IP地址锚点对应的网络标识、由所述IP地址锚点分配的IP地址前缀以及由所述IP地址锚点分配的IP地址前 缀的有效期;以使得所述LM根据所述信息存储请求存储目标条目,并在所述目标条目中对应设置所述预定标识,而将所述预定标识从记录有所述MN在接入所述IP地址锚点所在的IP子网之前所接入的IP子网为所述MN分配的IP地址前缀的条目中移除;其中,所述目标条目包括:所述MN的节点标识、所述IP地址锚点对应的网络标识、由所述IP地址锚点分配的IP地址前缀以及由所述IP地址锚点分配的IP地址前缀的有效期之间的对应关系。
- 根据权利要求40所述的IP地址锚点,其特征在于,所述处理器,还用于检测所述有效IP地址前缀中是否存在目标IP地址前缀,所述目标IP地址前缀是指超过预定时长未被网络会话使用的IP地址前缀;所述处理器,还用于若所述有效IP地址前缀中存在所述目标IP地址前缀,则控制所述收发器向所述LM发送携带有所述MN的节点标识和所述目标IP地址前缀的条目删除指示,以使得所述LM删除记录有所述MN的节点标识和所述目标IP地址前缀之间的对应关系的条目。
- 一种移动节点MN,其特征在于,所述MN包括:处理器、存储器和收发器,其中所述存储器用于存储一个或者一个以上的指令,所述指令被配置成由所述处理器执行;所述处理器,用于在接入IP地址锚点所在的IP子网后,控制所述收发器接收所述IP地址锚点发送的切换指示信息;所述处理器,还用于根据所述切换指示信息确定所接入的IP子网是否已发生变化。
- 根据权利要求42所述的MN,其特征在于,所述切换指示信息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀;所述处理器,具体用于:判断由所述IP地址锚点分配的IP地址前缀是否满足预定条件;其中,所述预定条件是指:由所述IP地址锚点分配的IP地址前缀在所述MN接收的上一条 切换指示信息中不存在,或者,由所述IP地址锚点分配的IP地址前缀在所述MN接收的上一条切换指示信息中存在且被标识为由其它IP地址锚点分配;若由所述IP地址锚点分配的IP地址前缀满足所述预定条件,则判定所接入的IP子网已发生变化;若由所述IP地址锚点分配的IP地址前缀不满足所述预定条件,则判定所接入的IP子网未发生变化。
- 根据权利要求42所述的MN,其特征在于,所述切换指示信息包括第一指示符或者第二指示符;其中,所述第一指示符用于指示所述MN所接入的IP子网已发生变化,所述第二指示符用于指示所述MN所接入的IP子网未发生变化;所述处理器,具体用于:当所述切换指示信息中包括所述第一指示符时,判定所接入的IP子网已发生变化;当所述切换指示信息中包括所述第二指示符时,判定所接入的IP子网未发生变化。
- 根据权利要求44所述的MN,其特征在于,所述处理器,还用于控制所述收发器接收所述IP地址锚点发送的路由通告消息;其中,所述路由通告消息包括:由所述IP地址锚点分配的IP地址前缀、由其它IP地址锚点分配的IP地址前缀以及类型标识,所述类型标识用于区别标识由所述IP地址锚点分配的IP地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求43或45所述的MN,其特征在于,所述类型标识包括第一类型标识和/或第二类型标识;所述第一类型标识与由所述IP地址锚点分配的IP地址前缀对应设置;所述第二类型标识与由其它IP地址锚点分配的IP地址前缀对应设置。
- 根据权利要求43或45所述的MN,其特征在于,所述处理器,还用于根据所述类型标识,区分由所述IP地址锚点分配的IP 地址前缀与由其它IP地址锚点分配的IP地址前缀。
- 根据权利要求42至47任一所述的装置,其特征在于,所述处理器,还用于当所述MN判定所接入的IP子网已发生变化时,查询获取距离所述MN最近的通信对端节点CN的IP地址;所述处理器,还用于根据所述IP地址与所述最近的CN间建立网络会话。
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018501168A JP6592584B2 (ja) | 2015-07-15 | 2015-07-15 | Ipアドレス管理方法及び装置、ipアドレスアンカー、並びにモバイルノード |
PCT/CN2015/084149 WO2017008288A1 (zh) | 2015-07-15 | 2015-07-15 | Ip地址管理方法、装置、ip地址锚点及移动节点 |
SG11201800098WA SG11201800098WA (en) | 2015-07-15 | 2015-07-15 | Ip address management method and apparatus, ip address anchor, and mobile node |
EP15898016.9A EP3310099B1 (en) | 2015-07-15 | 2015-07-15 | Ip address management method, device, ip address anchor and mobile node |
CN201580079413.6A CN107534919B (zh) | 2015-07-15 | 2015-07-15 | Ip地址管理方法、装置、ip地址锚点及移动节点 |
ZA2018/00200A ZA201800200B (en) | 2015-07-15 | 2018-01-10 | Ip address management method and apparatus,ip address anchor,and mobile node |
US15/870,171 US10728828B2 (en) | 2015-07-15 | 2018-01-12 | IP address management method and apparatus, IP address anchor, and mobile node |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/084149 WO2017008288A1 (zh) | 2015-07-15 | 2015-07-15 | Ip地址管理方法、装置、ip地址锚点及移动节点 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/870,171 Continuation US10728828B2 (en) | 2015-07-15 | 2018-01-12 | IP address management method and apparatus, IP address anchor, and mobile node |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017008288A1 true WO2017008288A1 (zh) | 2017-01-19 |
Family
ID=57756741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/084149 WO2017008288A1 (zh) | 2015-07-15 | 2015-07-15 | Ip地址管理方法、装置、ip地址锚点及移动节点 |
Country Status (7)
Country | Link |
---|---|
US (1) | US10728828B2 (zh) |
EP (1) | EP3310099B1 (zh) |
JP (1) | JP6592584B2 (zh) |
CN (1) | CN107534919B (zh) |
SG (1) | SG11201800098WA (zh) |
WO (1) | WO2017008288A1 (zh) |
ZA (1) | ZA201800200B (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11115330B2 (en) * | 2018-03-14 | 2021-09-07 | Juniper Networks, Inc. | Assisted replication with multi-homing and local bias |
FR3080967A1 (fr) * | 2018-05-02 | 2019-11-08 | Orange | Procede d'envoi d'une information et de reception d'une information pour la gestion de reputation d'une ressource ip |
US11456987B1 (en) | 2021-05-07 | 2022-09-27 | State Farm Mutual Automobile Insurance Company | Systems and methods for automatic internet protocol address management |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101213790A (zh) * | 2005-06-28 | 2008-07-02 | 三星电子株式会社 | 执行快速切换的装置和方法 |
CN102625987A (zh) * | 2009-08-28 | 2012-08-01 | 瑞典爱立信有限公司 | 网络前缀选择 |
CN103974226A (zh) * | 2013-01-25 | 2014-08-06 | 中兴通讯股份有限公司 | 一种异构网络中的分布式位置管理方法及系统 |
WO2015009735A1 (en) * | 2013-07-15 | 2015-01-22 | Qualcomm Incorporated | System and method to assign an internet protocol address to a mobile device during a handoff |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005109768A1 (en) | 2004-05-10 | 2005-11-17 | Lg Electronics Inc. | Minimized ip connectivity establishment procedures |
US7676838B2 (en) * | 2004-07-26 | 2010-03-09 | Alcatel Lucent | Secure communication methods and systems |
JP2006237815A (ja) * | 2005-02-23 | 2006-09-07 | Kddi Corp | 通信セッション切替方法およびシステム |
US8191106B2 (en) * | 2007-06-07 | 2012-05-29 | Alcatel Lucent | System and method of network access security policy management for multimodal device |
CN101765092B (zh) * | 2008-12-24 | 2011-07-20 | 华为技术有限公司 | 一种网络切换方法、装置及系统 |
KR20140106620A (ko) * | 2011-11-29 | 2014-09-03 | 인터디지탈 패튼 홀딩스, 인크 | Ip 이동성 관리 방법 |
-
2015
- 2015-07-15 CN CN201580079413.6A patent/CN107534919B/zh active Active
- 2015-07-15 SG SG11201800098WA patent/SG11201800098WA/en unknown
- 2015-07-15 EP EP15898016.9A patent/EP3310099B1/en active Active
- 2015-07-15 JP JP2018501168A patent/JP6592584B2/ja active Active
- 2015-07-15 WO PCT/CN2015/084149 patent/WO2017008288A1/zh active Application Filing
-
2018
- 2018-01-10 ZA ZA2018/00200A patent/ZA201800200B/en unknown
- 2018-01-12 US US15/870,171 patent/US10728828B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101213790A (zh) * | 2005-06-28 | 2008-07-02 | 三星电子株式会社 | 执行快速切换的装置和方法 |
CN102625987A (zh) * | 2009-08-28 | 2012-08-01 | 瑞典爱立信有限公司 | 网络前缀选择 |
CN103974226A (zh) * | 2013-01-25 | 2014-08-06 | 中兴通讯股份有限公司 | 一种异构网络中的分布式位置管理方法及系统 |
WO2015009735A1 (en) * | 2013-07-15 | 2015-01-22 | Qualcomm Incorporated | System and method to assign an internet protocol address to a mobile device during a handoff |
Non-Patent Citations (1)
Title |
---|
See also references of EP3310099A4 * |
Also Published As
Publication number | Publication date |
---|---|
ZA201800200B (en) | 2019-09-25 |
EP3310099A1 (en) | 2018-04-18 |
JP2018526872A (ja) | 2018-09-13 |
SG11201800098WA (en) | 2018-02-27 |
US10728828B2 (en) | 2020-07-28 |
US20180139685A1 (en) | 2018-05-17 |
CN107534919A (zh) | 2018-01-02 |
CN107534919B (zh) | 2020-01-17 |
EP3310099A4 (en) | 2018-06-20 |
JP6592584B2 (ja) | 2019-10-16 |
EP3310099B1 (en) | 2020-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113115480B (zh) | 地址信息发送方法、获取方法、装置、设备及介质 | |
US11381961B2 (en) | Method, apparatus, network device, and system for releasing IP address | |
JP6564934B2 (ja) | 分散型ソフトウェア定義ネットワークパケットコアシステムにおけるモビリティ管理のためのシステムおよび方法 | |
CN106790732B (zh) | 地址转换方法、装置及系统、网络标识控制方法及装置 | |
EP3209043B1 (en) | Mobility management method, apparatus, and system | |
JP2021504991A (ja) | アプリケーションのためのトラフィックをハンドリングするための方法および機能 | |
EP3528447B1 (en) | Communication method and apparatus | |
US10945180B2 (en) | Mobility management method, apparatus, and system | |
WO2021036927A1 (zh) | 域名地址获取的方法和设备 | |
US10924518B2 (en) | UPF programming over enhanced N9 interface | |
CN109314909B (zh) | 一种锚点网关的切换方法、装置及系统 | |
WO2019085728A1 (zh) | 通信方法及装置 | |
EP3754949A1 (en) | Method for acquiring and providing service, and user equipment and management server | |
JP7467669B2 (ja) | 接続確立方法、通信装置、およびシステム | |
WO2017008288A1 (zh) | Ip地址管理方法、装置、ip地址锚点及移动节点 | |
US12107927B2 (en) | Apparatus, method, and computer program | |
WO2019157953A1 (zh) | 一种位置更新的方法、装置和系统 | |
JP2018102005A (ja) | 通信システム | |
US8473625B1 (en) | Preservation of network address translation (NAT) state across wireless sessions | |
WO2017113047A1 (zh) | 一种pdn连接的释放方法、装置及用户设备 | |
KR101967379B1 (ko) | Sdn 컨트롤러의 모바일 노드 관리 방법 및 장치 | |
JP2016034116A (ja) | 経路設定装置、経路設定方法、経路設定プログラムおよび通信システム | |
US11039501B2 (en) | Converged controller selection method, device, and converged controller selection system | |
KR101235357B1 (ko) | 채널 할당 방법 및 장치 | |
CN103098445B (zh) | 处理地址的方法、数据网关和系统 |
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: 15898016 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 11201800098W Country of ref document: SG |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2015898016 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2018501168 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |