Detailed Description
In order to select a mobile IP mode by comprehensively considering policies and capabilities of a network side and an MS, thereby ensuring that all MSs with standard protocol stacks can successfully access, an embodiment of the present invention provides a method for selecting a mobile IP mode in a wireless network, which includes the following main steps, as shown in fig. 1:
and S1, the decision point obtains the strategies and the capabilities of the network side and the MS.
The network side at least comprises one of the following networks: an access service network ASN, a home connection service network H-CSN and a visiting place connection service network V-CSN.
The decision point is one of MS, ASN and H-CSN. The following describes the process of using MS, ASN, H-CSN as decision point to obtain the strategy and capability of MS, ASN, H-CSN and V-CSN. The policies and capabilities include, but are not limited to, CMIP6 mode, PMIP6 mode, simple IP6 mode, and hybrid mode.
1.1, the decision point is MS, and the following describes one by one how ASN, H-CSN and V-CSN send their policies and capabilities to MS.
1.1.1, the H-CSN sends the policies and capabilities of the H-CSN to the MS by one of the following ways:
mode 101, in the EAP (Extensible Authentication Protocol) access Authentication process, RADIUS/Diameter or EAP message carries the policy and capability of H-CSN, and sends it to MS (it can be directly sent to MS or forwarded via ASN).
In the mode 102 and the DHCP (Dynamic Host Configuration Protocol) process, the DHCP server of the H-CSN carries the policy and capability of the H-CSN in the DHCP message and sends the DHCP message to the MS.
In the mode 103 and IKE (Internet Key Exchange protocol) bootstrap process, the policy and capability of the H-CSN are sent to the MS through Configuration Payload (a protocol packet format used when negotiating Configuration information at both ends of interaction).
1.1.2 sending the policies and capabilities of the V-CSN to the MS by one of:
and the H-CSN sends the strategy and the capability of the H-CSN and the strategy and the capability of the V-CSN to the decision point in the EAP access authentication process. Or, when the RADIUS/Diameter or EAP message sent by the H-CSN to the MS through the method 101 passes through the V-CSN, the AAA proxy of the V-CSN adds the policy and capability of the V-CSN to the message, and sends the message to the MS. Or, the strategy and capability of the V-CSN can be configured on the ASN in advance, and then the ASN forwards the strategy and capability to the MS.
1.1.3, after the ASN obtains the strategies and the capabilities of the H-CSN and the V-CSN, the ASN makes a pre-decision according to the strategies and the capabilities of the ASN, the H-CSN and/or the V-CSN, and sends the strategy and the capability set of the pre-decision to the MS. The pre-decision is that the ASN takes the strategy and capability intersection of the ASN, the H-CSN and/or the V-CSN, or the ASN obtains the strategy and capability intersection after synthesizing the known strategy and capability (applied to the scene of direct IKE and HCSN interaction). Or the ASN directly forwards the strategies and the capabilities of the H-CSN and the V-CSN to the MS and sends the strategies and the capabilities of the ASN to the MS.
The ASN sends the policy and capability set of the pre-decision, or the policies and capabilities of the H-CSN, V-CSN and ASN to the MS by one of the following methods:
mode 111, EAP access authentication procedure, sending to MS through EAP over PKM mode (the EAP-over-PKM is from MS to BS (policy and capability information may be placed in Payload of EAP, or may be appended to PKM message), and the other two segments are from BS to GW, and from GW to V-CSN/H-CSN.
In the mode 112 and DHCP process, the DHCP proxy or Relay of the ASN sends to the MS through a DHCP message.
Mode 113, in the router discovery process, the RA message is broadcast by the router and sent to the MS.
Mode 114, signaling between ASN-GW and BS, and MAC signaling between BS and MS are sent to MS;
mode 115, sending to the MS via neighbor broadcast NA messages.
1.2, the decision point is ASN, and the following describes how the MS, the H-CSN and the V-CSN send the strategies and the capabilities thereof to the ASN one by one.
1.2.1, the H-CSN sends the strategy and the capability of the H-CSN to the ASN by one of the following ways:
mode 101, in the EAP access authentication process, the RADIUS/Diameter or EAP message carries the policy and capability of the H-CSN and sends it to the ASN.
In the mode 102 and the DHCP process, the DHCP server of the H-CSN carries the strategy and the capability of the H-CSN in the DHCP message and sends the strategy and the capability to the ASN.
In the mode 103 and the IKE bootstrap process, the strategy and the capability of the H-CSN are sent to the ASN through Configuration Payload.
1.2.2, sending the strategy and the capability of the V-CSN to the ASN by one of the following ways:
and the H-CSN sends the strategy and the capability of the H-CSN and the strategy and the capability of the V-CSN to the decision point in the EAP access authentication process. Or, when the RADIUS/Diameter message sent by the H-CSN to the ASN through the method 101 passes through the V-CSN, the AAA proxy of the V-CSN adds the policy and capability of the V-CSN to the message, and sends the message to the ASN. Alternatively, the policies and capabilities of the V-CSN can be pre-configured on the ASN.
1.2.3, the MS sends the strategy and the capability of the MS to the ASN by one of the following modes:
mode 131, in the router discovery process, sending RS message to ASN through router request;
in the method 132 and the DHCP process, the DHCP message is explicitly or implicitly sent to the ASN;
the mode 133, signaling between the ASN-GW and the BS, and MAC signaling between the BS and the MS are sent to the ASN;
the method 134, in the EAP access authentication process, sends the EAP over PKM message to the ASN;
the method 135 sends the RS message to the ASN through neighbor solicitation.
1.3, the decision point is H-CSN, MS, ASN and V-CSN send strategy and ability to H-CSN through EAP over PKM mode in EAP access authentication process.
In the transmission process of the strategy and the capability, after the ASN obtains the strategy and the capability of the MS, an NAS (Network Access Server) of the ASN can make a pre-decision according to the strategy and the capability of the ASN and/or the MS, and sends the pre-decision strategy and the capability set to the H-CSN. The pre-decision is that the NAS of the ASN obtains the strategy and capability intersection of the ASN and/or the MS, or the NAS of the ASN obtains the strategy and capability intersection after integrating the known strategy and capability of the ASN.
In the transmission process of the strategy and the capability, after the V-CSN obtains the strategy and the capability of the MS and the ASN, the AAA agent of the V-CSN makes a pre-decision according to the strategy and the capability of the V-CSN, the ASN and/or the MS, and sends the set of the pre-decision strategy and the capability to the H-CSN. Wherein the pre-decision is that the AAA proxy of the V-CSN takes the strategy and capability intersection of the V-CSN, the ASN and/or the MS, or the AAA proxy of the V-CSN synthesizes the known strategy and capability to obtain the strategy and capability intersection.
S2, taking the strategy and ability intersection from the decision point, and selecting one strategy and ability from the intersection.
And 2.1, the corresponding decision point 1.1 is MS, after the MS obtains the strategies and the capabilities of the ASN, the H-CSN and the V-CSN (including the intersection of the strategies and the capabilities of the pre-decision), the obtained strategies and the capabilities and the strategies and the capabilities of the MS are intersected, and one strategy and capability are selected from the intersection.
And 2.2, the corresponding 1.2 decision point is ASN, after the ASN obtains the strategies and the capabilities of the MS, the H-CSN and the V-CSN (including the intersection of the strategies and the capabilities of the pre-decision), the obtained strategies and the capabilities and the strategies and the capabilities of the ASN are intersected, and one strategy and capability are selected from the intersection.
And 2.3, after the H-CSN obtains the strategies and the capabilities of the MS, the ASN and the V-CSN (including the intersection of the strategies and the capabilities of the pre-decision) corresponding to the 1.3 decision point, taking the intersection of the obtained strategies and the capabilities and the strategies and the capabilities of the H-CSN, and selecting one strategy and capability from the intersection.
S3, the decision point selects the mobile IP mode according to the selected strategy and capability.
That is, according to the selected policy and capability, a mobile IP mode is corresponded to which conforms to the relevant policy and is supported by the MS, the ASN, the H-CSN, and the V-CSN.
S4, the decision point informs the network side and/or the MS.
4.1, corresponding to the 1.1 decision point being MS, MS notifies ASN, H-CSN and V-CSN of the selected mobile IP mode by one of the following means:
mode 121, notification during MIP registration.
Mode 122, in the DHCP procedure, explicit or implicit notification is performed through a DHCP message. For example: and sending different DHCP message notifications, wherein DHCP-information-request represents CMIP, and DHCP-Discovery represents PMIP.
Mode 123, signaling between the BS and the ASN-GW, and MAC signaling between the BS and the MS.
Mode 124, in the router discovery process, requesting RS message notification by the router;
mode 125, notification by neighbor solicitation NS message.
4.2, corresponding to the 1.2 decision point being ASN, the ASN notifies the MS, the H-CSN and the V-CSN of the selected mobile IP mode by one of the following modes:
4.2.1, the ASN informs the MS of the selected Mobile IP mode by one of the following means:
the method 141 notifies the MS in an EAP over PKM manner during the EAP access authentication.
In the mode 142 and DHCP process, the DHCP proxy or Relay of the ASN notifies the MS through a DHCP message.
Mode 143, in the router discovery process, the MS is notified by the router broadcast RA message.
The method 144, notifying the MS through the signaling between the access service network gateway ASN-GW and the base station BS, and the MAC signaling between the BS and the MS;
the method 145 informs the MS via neighbor broadcast NA messages.
4.2.2, the ASN notifies the H-CSN and the V-CSN of the selected Mobile IP mode by one of the following ways: notifying the H-CSN and the V-CSN of the selected mobile IP mode: ASN informs H-CSN and V-CSN in PMIP registration request process, or MS obtains selected mobile IP mode and informs H-CSN and V-CSN in CMIP registration request process.
4.3, corresponding to 1.3 decision points being H-CSN, H-CSN informs MS, SN and V-CSN of the selected Mobile IP mode by one of the following ways:
4.3.1, the H-CSN informs the MS of the selected Mobile IP mode by one of the following means:
mode 151 informs the MS directly in the EAP procedure.
The method 152 notifies the ASN in the EAP process, and then the ASN notifies the MS in the EAP over PKM mode.
In the mode 153, the ASN is notified in the EAP process, and then the ASN notifies the MS through a DHCP message in the DHCP process.
The method 154 notifies the ASN in the EAP process, and then the ASN notifies the MS by the router broadcast RA message in the router discovery process.
Mode 155, the ASN is notified in the EAP process, and then the ASN notifies the MS through neighbor broadcast NA messages.
Mode 156, notify ASN in EAP process, notify MS through signaling between access service network gateway ASN-GW and base station BS, and signaling between BS and MS.
4.3.2, H-CSN informs ASN and V-CSN of the selected Mobile IP mode by one of the following ways: informing the ASN and the V-CSN of the selected mobile IP mode: H-CSN informs ASN and V-CSN through EAP process; the selected mobile IP mode may be brought to the ASN and V-CSN in the above notification of the MS.
An embodiment of the present invention further provides a wireless network, as shown in fig. 2, including: a network side, a mobile station MS and a decision unit.
The decision unit is used for acquiring the strategies and the capabilities of the network side and the MS, selecting one strategy and one capability from the strategy and capability intersection of the network side and the MS, correspondingly selecting a mobile IP mode according to the selected strategy and capability, and informing the network side and/or the MS of the selected mobile IP mode. The network side at least comprises one of the following networks: an access service network ASN, a home connection service network H-CSN and a visiting place connection service network V-CSN. The decision unit is located in the MS, the ASN or the H-CSN.
An embodiment of the present invention further provides a decision entity, as shown in fig. 3, which includes: the system comprises an acquisition unit, a strategy and capability selection unit, a mobile IP mode selection unit and a notification unit which are connected in sequence.
And the obtaining unit is used for obtaining the strategies and the capabilities of the mobile station MS and the network side.
And the strategy and capability selection unit is used for taking the intersection of the strategies and the capabilities obtained by the obtaining unit and selecting one strategy and capability from the intersection.
And the mobile IP mode selection unit is used for correspondingly selecting the mobile IP mode according to the strategy and the capability selected by the strategy and capability selection unit.
And a notifying unit for notifying the network side and/or the MS of the mobile IP mode selected by the mobile IP mode selecting unit.
Further, if the decision entity is located in the MS, the obtaining unit is configured to obtain the policy and capability of the access service network ASN, the home connection service network H-CSN, and the visited connection service network V-CSN, in case that the policy and capability of the MS, ASN, H-CSN, and V-CSN need to be comprehensively considered and the selected mobile IP mode needs to be notified to the ASN, H-CSN, and V-CSN. And the strategy and capability selection unit is used for taking the intersection of the strategies and the capabilities obtained by the obtaining unit and selecting one strategy and capability from the intersection. And the mobile IP mode selection unit is used for correspondingly selecting the mobile IP mode according to the strategy and the capability selected by the strategy and capability selection unit. And a notifying unit for notifying the ASN, the H-CSN and the V-CSN of the mobile IP mode selected by the mobile IP mode selecting unit.
Further, if the decision entity is located in the entity of the ASN, the obtaining unit is configured to obtain the policy and capability of the mobile station MS, the home connection service network H-CSN, and the visited connection service network V-CSN, in case that the policy and capability of the MS, the ASN, the H-CSN, and the V-CSN need to be considered comprehensively and the selected mobile IP mode needs to be notified to the MS, the H-CSN, and the V-CSN. And the strategy and capability selection unit is used for taking the intersection of the strategies and the capabilities obtained by the obtaining unit and selecting one strategy and capability from the intersection. And the mobile IP mode selection unit is used for correspondingly selecting the mobile IP mode according to the strategy and the capability selected by the strategy and capability selection unit. And a notifying unit for notifying the MS, the H-CSN and the V-CSN of the mobile IP mode selected by the mobile IP mode selecting unit.
Further, if the decision entity is located in the H-CSN entity, the obtaining unit is configured to obtain the policy and capability of the mobile station MS, the access service network ASN, and the visited connectivity service network V-CSN in case that the policy and capability of the MS, the ASN, the H-CSN, and the V-CSN need to be considered comprehensively and the selected mobile IP mode needs to be notified to the MS, the ASN, and the V-CSN. And the strategy and capability selection unit is used for taking the intersection of the strategies and the capabilities obtained by the obtaining unit and selecting one strategy and capability from the intersection. And the mobile IP mode selection unit is used for correspondingly selecting the mobile IP mode according to the strategy and the capability selected by the strategy and capability selection unit. And a notifying unit for notifying the MS, the ASN and the V-CSN of the mobile IP mode selected by the mobile IP mode selecting unit.
This is described in detail below by means of 3 examples.
Example 1, decision point is MS. Referring to fig. 4, the method comprises the following steps:
step 1, in the network access process, the MS performs EAP authentication. And when the EAP authentication is successful, the H-CSN sends an Access-Accept message, wherein the message comprises the strategy and the capability of the H-CSN.
And step 2, the Access-Access message is added with the strategy and the capability of the V-CSN in the message through the V-CSN and the AAA proxy of the V-CSN, and is sent to the ASN.
Step 3, if MS initiates DHCP process first, ASN puts H-CSN, V-CSN and strategy and ability of ASN in DHCP-REPLY message and sends to MS; or may be sent to the MS in an EAP message that informs the MS of the successful authentication.
And 4, after obtaining the strategy and the capability, the MS makes a decision according to the strategy and the capability of the MS, and finally selects a mobile IP mode.
And step 5, after the DHCP interaction is completed, the MS informs the selected mobile IP mode to the ASN in the router request RS.
Step 6, if it is PMIP6 and ASN has not obtained home network prefix before, PBU/PBA procedure acquisition needs to be initiated. Then AR (Access Router) in ASN constructs Router broadcast message (including home network prefix), then sends Router broadcast message, the Router broadcast message can not make special indication to the network prefix, let MS think it is in H-CSN; if the indication information is added, it is required that the MS can recognize the indication information. In the case of CMIP 6/simple IP6, the router broadcasts a prefix that carries the home network assignment and the MS is used to generate a CoA or PoA. If the hybrid mode is CMIP6 and PMIP6, the ASN obtains the local network prefix and the home network prefix through the method, constructs a router broadcast message, wherein the message comprises the local network prefix and the home network prefix, and the router broadcast message carries indication information for distinguishing the local network prefix and the home network prefix.
Step 7 (optional step), when the home agent ha (home agent) receives the MIP registration Request, it can obtain the result of selection from the message, and notify the V-AAA (located in V-CSN) and/or H-AAA (located in H-CSN) in the Access-Request message; the default result for V-AAA/H-AAA is simple IP.
Example 2, the decision point is ASN. Referring to fig. 5, the method comprises the following steps:
step 1, in the network access process, the MS performs EAP authentication. And when the EAP authentication is successful, the H-CSN sends an Access-Accept message, wherein the message comprises the strategy and the capability of the H-CSN.
And step 2, the Access-Access message is added with the strategy and the capability of the V-CSN in the message through the V-CSN and the AAA proxy of the V-CSN, and is sent to the ASN.
And 3, the MS informs the strategy and the capability of the MS at the network side through a router request message RS.
And 4, after the ASN obtains the strategies and the capabilities, the ASN makes a decision according to the strategies and the capabilities of the ASN and finally selects a mobile IP mode.
Step 5, if it is PMIP6 and ASN has not obtained home network prefix before, PBU/PBA procedure acquisition needs to be initiated. Then AR in ASN constructs router broadcast message (containing home network prefix), then sends router broadcast message, the router broadcast message can make no special indication to network prefix, let MS think it is in H-CSN, if adding indication information, then MS is needed to be able to identify the indication information. In the case of CMIP 6/simple IP6, the router advertisement message carries a home network assigned prefix and the MS is used to generate a CoA or PoA. If the hybrid mode is CMIP6 and PMIP6, the ASN obtains the local network prefix and the home network prefix through the method, constructs a router broadcast message, wherein the message comprises the local network prefix and the home network prefix, and the router broadcast message carries indication information for distinguishing the local network prefix and the home network prefix.
Step 6 (optional step), when receiving the MIP registration Request, the home agent ha (home agent) may obtain the result of selection from the message, and notify the V-AAA (located in V-CSN) and/or the H-AAA (located in H-CSN) in the Access-Request message; the default result for V-AAA/H-AAA is simple IP.
Example 3, the decision point is ASN. Referring to fig. 6, the method comprises the following steps:
step 1, in the network access process, the MS performs EAP authentication. And when the EAP authentication is successful, the H-CSN sends an Access-Accept message, wherein the message comprises the strategy and the capability of the H-CSN.
And step 2, the Access-Access message is added with the strategy and the capability of the V-CSN in the message through the V-CSN and the AAA proxy of the V-CSN, and is sent to the ASN.
And 3, the MS informs the strategy and the capability of the MS to the network side through a DHCP message (DHCP-Information-Request/DHCP-Solicit).
And 4, after the ASN obtains the strategies and the capabilities, the ASN makes a decision according to the strategies and the capabilities of the ASN and finally selects a mobile IP mode.
Step 5, ASN sends DHCP-REPLY to MS, if it is PMIP or simple IP mode, DHCP message does not contain HA address; if the mode is CMIP mode, the DHCP message contains HA address information. If it is PMIP6 and the ASN has not previously obtained the home network prefix, then PBU/PBA procedure acquisition needs to be initiated. Then AR in ASN constructs router broadcast message (containing home network prefix), then sends router broadcast message, the message carries home network prefix, router broadcast message can not make special indication to network prefix, let MS think it is in H-CSN, if adding indication information, then need MS to be able to identify this indication information. In the case of CMIP 6/simple IP6, the router advertisement message carries a home network assigned prefix and the MS is used to generate a CoA or PoA. If the hybrid mode is CMIP6 and PMIP6, the ASN obtains the local network prefix and the home network prefix through the method, constructs a router broadcast message, wherein the message comprises the local network prefix and the home network prefix, and the router broadcast message carries indication information for distinguishing the local network prefix and the home network prefix.
Step 6 (optional step), when receiving the MIP registration Request, the home agent ha (home agent) may obtain the result of selection from the message, and notify the V-AAA (located in V-CSN) and/or the H-AAA (located in H-CSN) in the Access-Request message; the default result for V-AAA/H-AAA is simple IP.
In summary, since the embodiments of the present invention comprehensively consider the policies and capabilities of the MS, the ASN, the H-CSN, and the V-CSN (i.e. take the intersection of the policies and capabilities), the mobile IP mode selected according to the policies and capabilities after comprehensive consideration can ensure the successful access of the MS.
Further, the decision point in the embodiment of the present invention is located in the MS, ASN, or H-CSN, and for each location situation where the decision point is located, the embodiment of the present invention provides a scheme for other related networks and entities (MS) to send their policies and capabilities to the decision point. Moreover, different networks which need to participate in the decision, different locations of decision points, different selected mobile IP modes, policies and capabilities which may need to be considered comprehensively, and different networks and entities which need to know the selected mobile IP modes, are provided, so the manner of transmitting the policies and capabilities to the decision points and the manner of notifying the network side and/or the MS of the selected mobile IP mode by the decision points, which are provided by the embodiments of the present invention, may be combined correspondingly, and are within the scope of the present invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.