A kind of mobile subnetwork multiplex roles access implementing method and system based on N-PMIPv6
Technical field
The present invention relates to a kind of cut-in method of mobile subnetwork, more particularly to a kind of mobile subnetwork based on N-PMIPv6
Multiplex roles access implementing method and system.
Background technology
With the popularization of network, increasing user needs to access internet whenever and wherever possible.Train, bus, private
User on the vehicles such as family's car, they also are intended to enjoy high network quality service while trip.NEMO
(Network Mobility, mobile subnetwork) technology can provide mobility pipe to the mobile subnetwork that multiple mobile terminals form
Reason, so as to provide network service for the user on the vehicles.IETF has specially set up NEMO working groups, is directed to NEMO technologies
Research.NEMO is based on mobile IP v 6, and it inherits many merits of mobile IP v 6, can such as realize terminal in mobile process
Middle continuity for keeping communication etc..However, mobile IP v 6 needs terminal to participate in mobile management, which increase the complexity of terminal
Degree.
PMIPv6 (Proxy Mobile IPv6, proxy mobile IPv 6) agreement is a kind of network mobile management
Agreement, proposed by IETF NETLMM working groups.Compared with mobile IPv 6 protocol, PMIPv6 agreements be able to need not participate in terminal
Mobile management to terminal is realized under conditions of signaling process, reduces the requirement to terminal, have higher feasibility and
It is widely applied prospect.There are two main functional entitys in PMIPv6:LMA (Local Mobility Anchor, it is local to move
Dynamic anchor point) and MAG (Mobility Access Gateway, Mobile Access Gateway).LMA's functions as home agent, bears
Duty safeguards the positional information of MN (Mobile Node, mobile node), to ensure MN route accessibility.MAG is then responsible for connecing for MN
Enter, and replace MN to carry out a series of signaling process operations.After MN accesses MAG, MAG can establish BUL (Binding for MN first
Update List, binding renewal list), then MAG acts on behalf of MN and PBU (the Proxy Binding for including MN information is sent to LMA
Update, agent binding update) registered.After LMA receives PBU, can be established for MN BCE (Binding Cache Entry,
Banding cache), for its distribute HNP (Home Network Prefix, home network prefix), and send comprising HNP PBA to
HNP information is transmitted to MN by MAG, MAG, can establish a bidirectional tunnel used for MN between LMA and MAG afterwards, hereafter MN
All communications will all use the bidirectional tunnel.
PMIPv6 agreements do not have the support considered to mobile subnetwork.In order to be realized under PMIPv6 agreements to mobile subnetwork
Support, SOTO et al. propose N-PMIPv6 technologies.N-PMIPv6 can realize NEMO skills on the basis of PMIPv6 technologies
Art, mobile management support is provided to the mobile subnetwork of multiple mobile terminals composition.
Although N-PMIPv6 technologies can provide mobile management for mobile subnetwork, it only considered mobile subnetwork and leads to
Situation when crossing single wireless technology access network.The spies such as high-speed mobile, user density are big however, the vehicles have, quantity is more
Point, access network need to have very high bandwidth and stability, and need to support quick, the frequent switching between access point,
Very big pressure may be faced using single access network.At the same time, with the fast development of wireless communication technology, go out
Show the wireless communication technology that WLAN, WiMax, LTE etc. possess different characteristics, while areal also occur by a variety of wireless
The situation of the network coverage.Merge a variety of wireless technologys while access plurality of wireless networks, a variety of wireless access can be utilized simultaneously
Internet resources, provide the user the network service for possessing higher broadband and reliability.
The NEMO under PMIPv6 networks can be realized in the prior art, be the movement of multiple MN compositions under PMIPv6 networks
Subnet provides mobility support.N-PMIPv6 adds entity MR in PMIPv6 domains, and allows MR to perform the function similar with MAG.
MR is registered self by basic PMIPv6 agreements flow, is realized and itself is accessed PMIPv6 networks, under its flow and PMIPv6
MN be no different.After MR itself access PMIPv6 networks, it needs to perform MAG function again, is provided for other MN under it
Mobile management service under PMIPv6.I.e. after MN accesses MR, MN is acted on behalf of from MR and registered to LMA, and MR and LMA it
Between establish tunnel, MN is communicated by this tunnel with the external world.But the program can not support multiplex roles MR.
Accordingly, it is desirable to provide a kind of multiplex roles NEMO based on N-PMIPv6, can be realized on the basis of N-PMIPv6
The fusion of a variety of wireless access ways, so as to preferably provide network service for mobile subnetwork.
The content of the invention
Access and realize the technical problem to be solved in the present invention is to provide a kind of mobile subnetwork multiplex roles based on N-PMIPv6
Method and system, to overcome the problem of N-PMIPv6 networks do not support multiplex roles MR in the prior art.
In order to solve the above technical problems, the present invention uses following technical proposals.
A kind of mobile subnetwork multiplex roles access implementing method based on N-PMIPv6, this method step include
S1, mobile router MR accessed in PMIPv6 networks, and carry out PMIPv6 registrations;
S2, establish to bind for each mobile router MR interfaces using the local mobile anchor LMA in PMIPv6 networks and delay
Deposit BCE, and be its to distribute different home network prefix HNP, MR according to HNP be interface Configuration Agent Care-of Address Proxy-
CoA;
S3, MR distribute interface suitable according to the state of current each interface at least one mobile node MN;
S4, MR are when anomalous variation occurs in interface in operation, according to interface switch indicating information, to the MN using the interface
Enter line interface change.
Preferably, the step S3 includes
Signal intensity, communication delay, bandwidth and the load condition of the current each interface of S31, basis distribute one for MN and connect
Mouthful;
S32, interface is selected to MN progress PMIPv6 registrations using this and carries out mobile management;
S33, the policybased routing using MR for MN foundation correlations, make MN lead to by tunnel corresponding to selected interface with the external world
Letter.
Preferably, if there is new MN accesses MR, MR properly to be connect for all MN distribution again according to the state of each interface
Mouth is communicated.
Preferably, switch indicating information described in the step S4 includes whole terminal switch indicating informations and part terminal
Switch indicating information.
Preferably, whole terminal indication messages can not proper communication including the use of the interface under state.
Preferably, the part terminal switch indicating information declines including the use of the interface capability under state.
Preferably, the instruction message includes interface identifier, switching terminal number amount and type.
A kind of multiplex roles Access Control unit for mobile subnetwork, the unit include
MN Access Management, detected for the access to MN in real time or leave, and obtain MN relevant information;
Interface administration module, for according at least one mobile node MN that the state of current each interface is access system
Distribute interface suitable;
Interface status detection module, for monitoring the state of each interface in real time, the status information according to each interface is
Interface administration module transmission interface selects control signal and/or interface indication message.
Preferably, the unit also includes Mobile Access Gateway MAG functional modules, for supporting multiplex roles to access, and to connect
Enter MR MN moving property management.
Beneficial effects of the present invention are as follows:
Technical scheme of the present invention advantage compared with traditional N-PMIPv6 is:
1) multiple interfaces access is supported.MR can be realized using multiple interfaces access PMIPv6 networks, and be more under it
Individual MN provides service.
2) load balancing between multiple interfaces is supported.Time delay, bandwidth, load, the signal intensity according to interface can be realized
Suitable interface is distributed etc. the data flow that factor is MN, realizes the efficient and rational load balancing using with business of multiple interfaces.
3) switching of the mobile session between interface is supported.It can realize that mobile session is connecing by Interface status dynamic monitoring
Automatic switchover between mouthful, effectively avoids the communication disruption as caused by deteriorating Interface status.
Brief description of the drawings
The embodiment of the present invention is described in further detail below in conjunction with the accompanying drawings;
Fig. 1 shows a kind of schematic diagram of multiplex roles N-PMIPv6 systems in the present embodiment;
Fig. 2 shows a kind of schematic diagram of multiplex roles Access Control unit for mobile subnetwork in the present embodiment;
Fig. 3 shows a kind of signal of the mobile subnetwork multiplex roles access implementing method based on N-PMIPv6 in the present embodiment
Figure;
Fig. 4 shows the schematic diagram of the mobile subnetwork multiplex roles access implementation process based on N-PMIPv6 in the present embodiment.
Embodiment
The present invention is described further below in conjunction with the accompanying drawings.
Multiplex roles N-PMIPv6 systems are to regard each interface of MR in N-PMIPv6 independently of each other again as in the present invention
The MR entities of communication with one another, they independently access PMIPv6 networks, perform MAG functions independently of each other, are provided for the MN under it
Mobile management service.For Fig. 1 by taking two MN as an example, MR two interfaces each access PMIPv6 networks, and carry out PMIPv6 notes
Volume, LMA can establish BCE respectively for MR two interfaces, as shown in table 1, and distribute a different Proxy- respectively for them
CoA.There are two MN accesses under MR, one of MN accesses PMIPv6 networks by MR interface 1, and another then passes through interface 2
Access PMIPv6 networks, MR is respectively that MN it under carries out PMIPv6 registrations and establishes pair to be communicated with LMA by two interfaces
To tunnel, different policybased routings is established respectively for two MN so that two MN can be communicated by different interfaces.
The LMA of table 1 is the binding entry that MR is established
MN-ID |
HNP |
Access style |
Tunnel Identifier |
MR-IF1 |
HNP1 |
WLAN |
Tunnel1 |
MR-IF2 |
HNP2 |
3G |
Tunnel2 |
After MN accesses MR, MR can be according to shapes such as the signal intensity of current each interface, communication delay, bandwidth, loads
State is that MN distributes an interface, carries out PMIPv6 registrations to MN using the interface afterwards and carries out mobile management.PMIPv6 is noted
After volume is completed, MR is that MN establishes related policybased routing, as shown in table 2, MN is passed through tunnel corresponding to the interface that selects before
Road communication with the outside world.Hereafter if new MN is accessed, the MN can be distributed to other according to the state of each interface and connect by MR
Mouth is communicated to realize load balancing.
Policybased routing table on the MR of table 2
Source address |
Destination address |
Gateway |
Interface |
MN1 addresses |
Default |
- |
Tunnel1 |
MN2 addresses |
Default |
- |
Tunnel2 |
…… |
…… |
…… |
…… |
If MR has found that the state of some interface is changed in operation, then MR can be to the MN using the interface
Enter line interface change, to adapt to this change, the interface that we are called this process mobile session switches, wherein, a MN
Data flow represented with a mobile session.If MR needs to perform interface switching for some MN, it needs to make related MN
The old interface used before replacing the MN with new interface carries out PMIPv6 register flow paths and changes the related policybased routings of this MN, makes
This MN is obtained to be communicated using new interface.In order to preferably realize that interface switches, invention defines the switching of following two interfaces
Message:
1) whole terminal switch indicating informations
If interface in currently used can not proper communication, as the signal intensity of interface is less than available threshold, or connect
The communication delay of mouth now needs at once to can use all mobile Session Hand-offs on the interface to other higher than available threshold etc.
Interface.Needed in the message comprising the information such as interface identifier and type, wherein, interface identifier is the interface to be switched out, type
The reason for produce this message.
2) part terminal switch indicating information
If the hydraulic performance decline of the interface in currently used, this is now needed it is usually because the current load too high of the interface
Mobile session on the interface of part is switched to other interfaces.Need to include interface identifier, switching terminal number in the message
The information such as amount, type, wherein, interface identifier is the interface to be switched out, and type is the reason for producing this message, and quantity is needs
The quantity of the terminal switched over.
MR can be with dynamic monitoring Interface status, and produces and switch between both the above message trigger interface.Disappear for the first
Breath, MR need that all mobile sessions on relevant interface are switched into other interfaces at once;For second of message, MR needs flat
Mobile session slidingly is switched to other interfaces, i.e., the session of the certain percentage of current sessions sum is switched to other first
Interface, continue to monitor afterwards, if still there is this message, then the mobile session of same percentage is switched over, with
This analogizes, untill this message no longer produces.
The present invention further discloses a kind of multiplex roles Access Control unit for mobile subnetwork, multiplex roles access control
Unit processed includes MN Access Management, Interface status monitoring modular, interface administration module and MAG functional modules.Such as Fig. 2 institutes
Show, MN Access Management is responsible for MN access/leave detection;Interface status monitoring modular is responsible for each interface of dynamic monitoring
State;Interface administration module is responsible for the distribution and switching of interface;MAG functional modules are responsible for performing the MAG work(of MR in N-PMIPv6
Energy.
MN Access Management mainly realizes MN access/leave detection.MR has at least one to be used for MN accesses
Internal interface.MN accesses/leave MR after, MR can detect MN access/leave by testing mechanism as defined in PMIPv6, and obtain
Take MN relevant information.If newly accessing MN, can also its be authenticated.MN Access Management can send a MN and connect afterwards
Enter/leave detection message to interface administration module, follow-up register flow path is carried out to MN by interface administration module.MN accesses/from
Opening detection message needs to include MN MAC Address, MN-ID and link-local address.
MR needs the state of each interface of dynamic monitoring, using the foundation for selecting and switching as interface.MR can be by making
Believed with each interface to the round-trip delay that server sends packet and calculates packet to obtain the present communications time delay of interface
Breath, can obtain the current load information of the interface by analyzing the remaining bandwidth on the interface.MR Interface status monitoring
The state that module analyzes each interface according to these state parameter informations is used as interface choosing for interface administration module inquiry
The foundation selected.At the same time if the state of some interface of MR deteriorates, Interface status detection module, which can produce, above to be talked about
Interface switch indicating information, with trigger interface switching.
Interface administration module realizes the distribution of each interface on MR, and sends MN to MAG functional modules and access/leave and disappear
Breath.After receiving MN and accessing/leave detection message, interface administration module obtains each interface by Interface status detection module
Current state, and new access MN is distributed into the optimal interface of state.There is one to be specifically used to store MN on interface administration module
MAC Address, link-local address, MN-ID, distribution interface, Tunnel Identifier, the information table using relevant informations such as CoA, such as table
Shown in 3, after the interface that MN is used is determined, interface administration module renewal MN information tables.Then interface administration module can be to
MAG functional modules send a MN accesses/leave group message, and acting on behalf of MN by the MAG functional modules afterwards performs tying up in PMIPv6
Determine register flow path.After having performed register flow path, MR needs to update MN information tables again to insert the letter such as Tunnel Identifier, MN-ID
Breath.MN accesses/leave group message needs comprising MN MAC Address, MN-ID, link-local address, allocated interface, is allocated
CoA.If interface administration module receives interface switch indicating information, interface administration module can be inquired about and update MN information
Table, backward MAG functional modules resend comprising new interface information MN access message.
The MN information tables of table 3
MAC Address |
MN-ID |
Interface |
Tunnel Identifier |
Link-local address |
CoA |
00-01-02-03-04-01 |
MN1 |
IF1 |
Tunnel1 |
FE80::1:203:401 |
CoA1 |
00-01-02-03-04-02 |
MN2 |
IF2 |
Tunnel2 |
FE80::1:203:401 |
CoA2 |
MR fulfils MAG function by MAG functional modules, is MN the moving property management under it.MAG functional module bases
MAG modules under PMIPv6, and it is expanded to realize the support to multiplex roles access.When MAG functional modules receive
After MN accesses/leave group message, MAG functional modules can extract MAC Address in message, link-local address, MN-ID, distribution connect
Mouthful, be stored in the BCE individually created for MN using CoA information, and by above- mentioned information.And then MAG functional modules can use
MN distribution interface sends PBU to LMA and carries out binding registration.Can be the distribution interface that MN is created to MR after LMA receives PBU
Tunnel and related route, and send PBA to MR distribution interface.After MR receives the PBA from LMA, MAG functional modules also can
All numbers of corresponding strategies route entry, hereafter MN are added to LMA tunnel, and for it for its foundation by MN distribution interface
It will all be communicated according to bag by the bidirectional tunnel between this MAG and LMA, packet here includes MN upstream data bag
And downlink data packet.If MR will change interface used in MN, MAG functional modules can receive new MN access message, MAG work(
Can module related MN BCE can be updated according to access MN situation, and when being accessed by new MN of the present invention, interface is again
The method of distribution completes the distribution and switching of interface used in MN.
In summary, technical scheme of the present invention advantage compared with traditional N-PMIPv6 is:
1) multiple interfaces access is supported.MR can be realized using multiple interfaces access PMIPv6 networks, and be more under it
Individual MN provides service.
2) load balancing between multiple interfaces is supported.Time delay, bandwidth, load, the signal intensity according to interface can be realized
Suitable interface is distributed etc. the data flow that factor is MN, realizes the efficient and rational load balancing using with business of multiple interfaces.
3) switching of the mobile session between interface is supported.It can realize that mobile session is connecing by Interface status dynamic monitoring
Automatic switchover between mouthful, effectively avoids the communication disruption as caused by deteriorating Interface status.
Obviously, the above embodiment of the present invention is only intended to clearly illustrate example of the present invention, and is not pair
The restriction of embodiments of the present invention, for those of ordinary skill in the field, may be used also on the basis of the above description
To make other changes in different forms, all embodiments can not be exhaustive here, it is every to belong to this hair
Row of the obvious changes or variations that bright technical scheme is extended out still in protection scope of the present invention.