CN101330527A - Mobile node, access router and method for collocating address for rapidly switching - Google Patents

Mobile node, access router and method for collocating address for rapidly switching Download PDF

Info

Publication number
CN101330527A
CN101330527A CNA2007101265476A CN200710126547A CN101330527A CN 101330527 A CN101330527 A CN 101330527A CN A2007101265476 A CNA2007101265476 A CN A2007101265476A CN 200710126547 A CN200710126547 A CN 200710126547A CN 101330527 A CN101330527 A CN 101330527A
Authority
CN
China
Prior art keywords
address
router
message
couple
mobile node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007101265476A
Other languages
Chinese (zh)
Other versions
CN101330527B (en
Inventor
卢汉成
朱斌
黄志彬
夏斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Science and Technology of China USTC
Huawei Technologies Co Ltd
Original Assignee
University of Science and Technology of China USTC
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Science and Technology of China USTC, Huawei Technologies Co Ltd filed Critical University of Science and Technology of China USTC
Priority to CN2007101265476A priority Critical patent/CN101330527B/en
Publication of CN101330527A publication Critical patent/CN101330527A/en
Application granted granted Critical
Publication of CN101330527B publication Critical patent/CN101330527B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a mobile node, an access router and a rapid switching address configuration method. The address configuration method comprises the following steps: a new access router receives a switching initiating message sent by a former access router, and the switching initiating message carries an address configuration mode identification expressing that state address configuration is adopted; the new access router extracts a temporary care-of address form a local address pool, generates a switching response message carrying the temporary care-of address and feeds the switching response message back to the former access router; the new access router receives a rapid neighbor announcement message sent by the mobile node, generates a rapid router announcement message carrying the related message of a DHCP server, and feeds the rapid router announcement message back to the mobile node. In the embodiment of the invention, the temporary care-of address is adopted in the switching process, and thereby the data transmission has better continuity; the new access router informs the mobile node of the related message of the DHCP server, therefore, the search process of the DHCP server can be avoided, and the time delay of state address configuration can be reduced.

Description

Mobile node, couple in router and the address configuration method that switches fast
Technical field
The present invention relates to the communication technology, the address configuration method that relates in particular to mobile node, couple in router and switch fast.
Background technology
Mobile IP v 6 (Mobile IPv6 is called for short MIPv6) is that mobile node (Mobile Node is called for short MN) can provide the network layer support by connected reference Internet when moving.When MN when a field network moves to another field network, because network prefix changes, its Care-of Address (Care of Address in field network, be called for short CoA) also change thereupon, need be to home agent (Home Agent, be called for short HA) and communication node (Correspondent Node, abbreviation CN) register new CoA respectively.For real time business such as video flowings, when MN moves to field network away from home network, need reduce handoff delay as far as possible and reduce packet loss, to satisfy these professional requirements.
Existing a kind of MIPv6 switches (Fast Handovers for Mobile IPv6 is called for short FMIPv6) method fast and utilizes radio link layer to trigger, and before switching beginning, finishes the part handover operation, thereby accelerates switch speed.The switching flow of FMIPv6 is as follows: MN receives that Radio Link triggers, preceding couple in router (Previous Access Router to current sub network, be called for short PAR) transmission proxy router solicitation (Router Solicitation for Proxy Advertisement is called for short RtSolPr); PAR returns new couple in router (the New Access Router that comprises request, abbreviation NAR) agent router bulletin (the Proxy Router Advertisement of address, be called for short PrRtAdv), MN utilizes NAR address and interface message to construct new Care-of Address (New CoA, be called for short NCoA), send quick Binding Update (Fast Binding Update to PAR then, be called for short FBU), PAR sends switching initiation (the Handover Initiate that comprises NCoA to NAR after receiving FBU, be called for short HI), NAR is duplicate address detection (Duplicate Address Detection to NCoA, be called for short DAD), and return the switching that comprises testing result to PAR and announce (Handover Acknowledge, be called for short Hack), to set up the bidirectional tunnel of preceding Care-of Address (Previous CoA is called for short PCoA) if detect successful PAR to NCoA.Finished before CN registration NCoA at mobile node, the grouping that PAR will send to mobile node PCoA by the tunnel sends to the NCoA of MN, and MN then transmits through PAR by reverse tunnel with the grouping that PCoA sends.Actual switching takes place in MN, disconnects former subnet and connects, and inserts new subnet, sends quick neighbours' bulletin (Fast Neighbor Advertisement is called for short FNA) notice NAR switching then immediately and finishes.What above-mentioned handoff procedure adopted is stateless address configuration, must carry out DAD and detect, and with the uniqueness of assurance address, and the DAD detection needs bigger expense, and the time-delay meeting that it causes requires strong business that bigger influence is arranged to real-time.
Also have a kind of now based on the state address method of automatic configuration being arranged towards the DHCP of IPv6 (Dynamic HostConfiguration Protocol for IPv6 is called for short DHCPv6).The DHCPv6 agreement is a kind of agreement of customer end/server mode, and main process is as follows: after client obtained link local address, the multicast address that keeps to the DHCPv6 server sent a request message, and seeks available DHCPv6 server; Any available DHCPv6 server responds with route announcement message; Client is therefrom selected a DHCPv6 server, and the request of transmission distributes the message of address and other configuration information; Corresponding D HCPv6 server returns the response message that includes address and other configuration information.In this address configuration mode, client need be waited for route announcement further request address and configuration information, and the DHCPv6 server need wait for that a random time could send route announcement; May have a plurality of DHCPv6 servers in the system, and client need be selected suitable server from a plurality of servers, these have all caused time delay, and demanding application also has bigger influence to this part time delay for real-time.
What also have a kind of FMIPv6 of being used for now has a state address method of automatic configuration based on local pool.Couple in router (Access Router is called for short AR) is for each contiguous AR maintenance and manage a NCoA local pool.NCoA in each local pool will pass through the checking of corresponding N AR to support quick switching.According to the residing position of NCoA local pool, this state address method of automatic configuration that has based on local pool can be divided into following two kinds of patterns: based on the response type of NAR the configuration and have N state CoA address to dispose automatically based on the forecasting type of PAR automatically of N state CoA address is arranged.
Have in the automatic configuration mode in N state CoA address at the forecasting type based on PAR, the NCoA local pool is positioned on the PAR, and NCoA is distributed by PAR.When receiving the RtSolPr of MN, PAR obtains a NCoA from local pool, and it is sent to MN by PrRtAdv.In order to support the NCoA address configuration of forecasting type, PAR need generate NCoA and manage to guarantee the uniqueness of address at NAR.This NCoA address defective of configuration automatically is, needs to carry out the mutual of local pool managing signaling between PAR and NAR, verifies through corresponding NAR to guarantee the NCoA that local pool is safeguarded; Though the handoff procedure of this reciprocal process and FMIPv6 is independently, can not influence whole handoff delay, it can increase the expense of network; And the address in the local pool of setting up for same network on the different AR may clash.
Have in the automatic configuration mode in N state CoA address at the response type based on NAR, the NCoA local pool is positioned on the NAR.When the PAR of a vicinity carries out handoff request by HI message, NAR chooses a NCoA through checking and sends to this PAR by HAck message from the NCoA local pool.PAR sends to MN by PrRtAdv message again.The PrRtAdv message that PAR sends must comprise the NCoA option.
Based on the forecasting type of PAR the configuration and have the automatic configuration in N state CoA address all to have following defective based on the response type of NAR automatically of N state CoA address is arranged: they have all only disposed NCoA for MN, configuration informations such as DHCPv6 server and dns server are not provided, MN need obtain these configuration informations by alternate manners such as search when moving to new link, and this has caused bigger time delay.All these processes do not relate to the signaling exchange between MN and the DHCPv6 server, make the DHCPv6 server can't manage self address pool effectively, the safety between MN and the DHCPv6 server, manageable address assignment can't reach.
Summary of the invention
Embodiment of the invention problem to be solved is to provide mobile node, couple in router and the quick address configuration method that switches, and reduces handover delay.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of address configuration method of quick switching, and described method comprises the steps:
Message is initiated in the switching that couple in router sends before receiving;
Extract interim Care-of Address from local pool;
Generation carries the handover acknowledge message of described interim Care-of Address;
Couple in router returns described handover acknowledge message forward.
In order to solve the problems of the technologies described above, the embodiment of the invention also provides a kind of address configuration method of quick switching, and described method comprises the steps:
Couple in router sends quick binding update messages forward;
If receive the quick binding response message that carries interim Care-of Address that described preceding couple in router returns, after inserting new link, be quick neighbours' announcement message of described interim Care-of Address then to new couple in router transmission source address;
If do not receive the quick binding response message that carries interim Care-of Address that described preceding couple in router returns, after inserting new link, be quick neighbours' announcement message of new link address then to described new couple in router transmission source address.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of address configuration method of quick switching again, and described method comprises the steps:
Receive the router request message that mobile node sends, described router request message carries the address configuration mode and identifies;
Identify definite employing stateless address configuration mode or the state address configuration mode is arranged according to described address configuration mode;
According to the address configuration mode that adopts, the address configuration mode that the agent router announcement message is set identifies;
Return described agent router announcement message to described mobile node.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of couple in router again, comprises being used to the sending module that receives the receiver module of message and be used to send message, also comprises:
Determination module, be used for after described receiver module receives the router request message that the address configuration mode that carries that mobile node sends identifies, identify according to described address configuration mode and determine to adopt the stateless address configuration mode or the state address configuration mode is arranged;
Module is set, is used for according to the address configuration mode of determining employing, the address configuration mode that the agent router announcement message is set identifies, and returns described agent router announcement message by described sending module to described mobile node.
In order to solve the problems of the technologies described above, the embodiment of the invention also provides a kind of couple in router, comprises the sending module that is used to receive the receiver module of message and is used to send message, also comprises:
Extraction module is used for extracting interim Care-of Address from local pool after receiving switching initiation message;
Generation module is used to generate the handover acknowledge message that carries described interim Care-of Address.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of mobile node again, comprises the message transmission module that is used to receive the message sink module of message and is used to send message, also comprises:
Neighbours announce module fast, are used to generate quick neighbours' announcement message, and send described quick neighbours' announcement message by described message transmission module to new couple in router; If the quick binding response message that carries interim Care-of Address that couple in router returns before receiving, then after inserting new link, generating source address is quick neighbours' announcement message of described interim Care-of Address; If do not receive the quick binding response message that carries interim Care-of Address that described preceding couple in router returns, then after inserting new link, generating source address is quick neighbours' announcement message of new link address.
In the embodiment of the invention, mobile node adopts interim Care-of Address in handoff procedure, makes the transfer of data of handoff procedure have continuity preferably; New couple in router is informed mobile node with the relevant information of Dynamic Host Configuration Protocol server, avoided the search procedure of Dynamic Host Configuration Protocol server, and new couple in router sends the fast router announcement message need not wait for a random time, thereby has effectively reduced the time-delay that the state address configuration is arranged; Identify and realized which kind of address configuration mode mobile node can consult to adopt with preceding couple in router to the compatibility of state address configuration and stateless address configuration is arranged by increasing the address configuration mode.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the first pass figure of address configuration method of the quick switching of the embodiment of the invention;
Fig. 2 is address configuration method second flow chart of the quick switching of the embodiment of the invention;
Fig. 3 is the method flow diagram of new couple in router applied address of address configuration method of the quick switching of the embodiment of the invention;
Fig. 4 extracts the flow chart of interim Care-of Address for the preceding couple in router of the address configuration method of the quick switching of the embodiment of the invention;
Fig. 5 is the interim Care-of Address recovery method first pass figure of address configuration method of the quick switching of the embodiment of the invention;
Fig. 6 is interim Care-of Address recovery method second flow chart of address configuration method of the quick switching of the embodiment of the invention;
Fig. 7 is the 3rd flow chart of address configuration method of the quick switching of the embodiment of the invention;
Fig. 8 is the 4th flow chart of address configuration method of the quick switching of the embodiment of the invention;
Fig. 9 is the structural representation of the system of the address configuration method of the quick switching of the application embodiment of the invention;
Figure 10 is couple in router first structural representation of the embodiment of the invention;
Figure 11 is couple in router second structural representation of the embodiment of the invention;
Figure 12 is couple in router the 3rd structural representation of the embodiment of the invention;
Figure 13 is couple in router the 4th structural representation of the embodiment of the invention;
Figure 14 is mobile node first structural representation of the embodiment of the invention;
Figure 15 is mobile node second structural representation of the embodiment of the invention.
Embodiment
Below switch to example fast with mobile IP v 6 and describe, but it is pointed out that the embodiment of the invention is applicable to that also other move the address configuration of IP fast handover procedures.
As shown in Figure 1, be the first pass figure of the address configuration method of the quick switching of the embodiment of the invention, method embodiment illustrated in fig. 1 comprises the steps:
Step 101, mobile node couple in router forward send agent advertisement router solicitation (RtSolPr) message;
Step 102, preceding couple in router return agent router bulletin (PrRtAdv) message to mobile node;
Step 103, mobile node couple in router forward send quick Binding Update (FBU) message;
Step 104, preceding couple in router send to switch to new couple in router initiates (HI) message;
Step 105, new couple in router extract interim Care-of Address (Temporary Careof Address is called for short TCoA) from local pool, and be carried at handover acknowledge (HAck) message forward couple in router return;
Step 106, preceding couple in router are established to the bidirectional tunnel of TCoA; It is the packet of PCoA that mobile node receives destination address by this bidirectional tunnel, and transmission source address is the packet of PCoA;
Step 107, preceding couple in router return the quick binding of carrying TCoA to mobile node and reply (FastBonding Acknowledge is called for short FBack) message;
Step 108, mobile node insert new link, are quick neighbours' bulletin (FNA) message of TCoA to new couple in router transmission source address;
Step 109, new couple in router judge that the source address of quick neighbours' bulletin (FNA) message is global I Pv6 address, fast router bulletin (the FastRouter Advertisement of DHCPv6 server relevant information is carried in generation, be called for short FRA) message, send to mobile node; Wherein, the relevant information of DHCPv6 server can comprise: the MAC Address of DHCPv6 server, IPv6 address and DHCP unique identification (DHCP Unique ID is called for short DUID);
Step 110, mobile node extract the address of DHCPv6 server from DHCPv6 server relevant information, send application (Request) message, applied address configuration information to the DHCPv6 server; Address configuration information can comprise: NCoA, DNS configuration information, NTP (Network Time Protocol) (Network TimeProtocol is called for short NTP) server address etc.;
Step 111, DHCPv6 server to mobile node return carry address configuration information reply (Reply) message;
Step 112, mobile node carry out address configuration according to address configuration information.
Present embodiment is the prediction type switching flow, and will have state address configuration and NCoA based on the DHCPv6 server to have state address to dispose based on the TCoA of NAR to combine; Mobile node just leaves preceding link after receiving FBack.In the present embodiment, new couple in router directly extracts the address from local pool, gives mobile node with address " interim transfer ", and the interim Care-of Address as mobile node has reduced handoff delay; Set up the bidirectional tunnel of TCoA and preceding couple in router, home agent still can use original Care-of Address to communicate by letter with mobile node with correspondent node in the handoff procedure, has guaranteed the continuity of transfer of data in the handoff procedure; New couple in router is informed mobile node with the relevant information of DHCPv6 server, avoided the search procedure of DHCPv6 server, and new couple in router sends fast router bulletin (FRA) message needn't wait for a random time, thereby has effectively reduced the time that N state CoA configuration is arranged.
Need to prove that new couple in router informs that with DHCPv6 server relevant information mobile node is not to rely on TCoA to realize in the present embodiment; In the quick switching flow of existing various mobile IP, new couple in router all can carry the DHCPv6 server in the fast router announcement message relevant information, so that mobile node in time obtains the address of DHCPv6 server, and needn't carry out the search of DHCPv6 server, thereby reduced the time that N state CoA configuration is arranged.
As shown in Figure 2, be address configuration method second flow chart of the quick switching of the embodiment of the invention.Present embodiment is that reaction equation switches fast, and promptly mobile node does not receive FBack at preceding link, and therefore, mobile node is when inserting new link, and TCoA need be not its distribution by new couple in router after inserting new link.Present embodiment comprises is permitted step down:
Step 201, mobile node insert new link, are link local address to new couple in router transmission source address, and carry quick neighbours' bulletin (FNA) message of quick Binding Update (FBU) message;
Step 202, new couple in router judge that the source address of quick neighbours' bulletin (FNA) message is a link local address, extract TCoA from local pool, fast router bulletin (FRA) message of TCoA and DHCPv6 server relevant information is carried in generation, sends to mobile node; Wherein, the relevant information of DHCPv6 server can comprise: the MAC Address of DHCPv6 server, IPv6 address and DHCP unique identification (DHCP Unique ID is called for short DUID); Simultaneously, with the source address modification of quick Binding Update (FBU) message is TCoA, couple in router sends forward, set up the bidirectional tunnel of TCoA with preceding couple in router to preceding couple in router, it is the packet of PCoA that mobile node receives destination address by this bidirectional tunnel, and transmission source address is the packet of PCoA;
Step 203, mobile node extract the address of DHCPv6 server from DHCPv6 server relevant information, send application (Request) message, applied address configuration information to the DHCPv6 server; Address configuration information can comprise: NCoA, DNS configuration information, ntp server address etc.;
Step 204, DHCPv6 server to mobile node return carry address configuration information reply (Reply) message;
Step 205, mobile node carry out address configuration according to address configuration information.
Present embodiment has been realized the reaction equation switching flow, will have state address configuration and NCoA based on the DHCPv6 server to have state address to dispose based on the TCoA of NAR and combine.After new couple in router is received FNA, judge the source address type, and when source address is link local address, TCoA that will distribute for mobile node and DHCPv6 server relevant information together are carried at fast router and announce in (FRA) message and inform mobile node; Adopt TCoA in the handoff procedure, guaranteed the continuity of transfer of data in the handoff procedure; New couple in router is informed mobile node with the relevant information of DHCPv6 server, has avoided the search procedure of DHCPv6 server, has reduced the time that N state CoA configuration is arranged.
The form of fast router bulletin (FRA) message can be as shown in table 1, compares with existing router advertisement (RA) message, increased the DHCP option that is used for carrying DHCPv6 server relevant information.
Table 1 fast router announcement message form
Figure A20071012654700171
Wherein, the type field is represented the type of message, treats internet numerical value distributor gear (InternetAssigned Numbers Authority is called for short IANA) affirmation.DHCP option thes contents are as follows: OptionCode represents the type of option, and value is tentative to be 7, treats that IANA confirms; Option Length represents the length of option, and unit is the multiple of 8 bytes; DHCP Server Link-layer Address is the MAC Address of DHCPv6 server; DHCP Server IPv6Address is the IPv6 address of Dynamic Host Configuration Protocol server; DUID Length is the length of Dynamic Host Configuration Protocol server DUID; DUID is the DUID of Dynamic Host Configuration Protocol server; Because the length of DUID is not fixed, so need the Pad field, adds that some fillings make that the length of whole option is the multiple of 8 bytes.The definition of all the other fields and value and router advertisement (RouterAdvertisement is called for short RA) message is identical, repeats no more.
As shown in Figure 3, be the method flow diagram of the new couple in router applied address of the address configuration method of the quick switching of the embodiment of the invention.Method embodiment illustrated in fig. 3 comprises the steps:
Step 301, apply for a plurality of addresses for oneself certain or some network interfaces (can be virtual interface) to the DHCPv6 server;
Step 302, a plurality of addresses that will apply for are kept in the local pool.
The process of present embodiment applied address and handoff procedure are relatively independent, and mobile node only uses TCoA in fast handover procedures, thereby preceding couple in router only needs a spot of address of maintenance in address pool, can reduce the expense of address maintenance; The address unification of each couple in router is by the DHCPv6 server-assignment, thereby can avoid taking place address conflict.
There are two states, free state and association status in address in the address pool.The address of free state can be distributed to and switch the mobile node of coming, and the mobile node that certain switching is come has been distributed in the address of association status.
No matter be prediction type switching flow or reaction equation switching flow, preceding couple in router all will be mobile node distribution T CoA.In the prediction type switching flow, TCoA sends to mobile node by preceding couple in router, and in the reaction equation switching flow, TCoA is sent to mobile node in the fast router announcement message.
As shown in Figure 4, extract the flow chart of interim Care-of Address for the preceding couple in router of the address configuration method of the quick switching of the embodiment of the invention.Method embodiment illustrated in fig. 4 comprises the steps:
Step 401, search local pool judge whether the address related with mobile node, if exist, and execution in step 402, otherwise, execution in step 403;
Step 402, the extraction address related with mobile node;
Step 403, state of extraction be the address freely, and this address is related with described mobile node.
New couple in router judges whether the address related with it earlier, thereby can avoid the address assignment of repetition when extracting the address for mobile node.
For example, sometimes, preceding couple in router is for mobile node has distributed TCoA, and still, mobile node does not also receive this TCoA, and preceding link has just disconnected; At this moment, the source address that mobile node inserts the quick neighbours' announcement message that sends to new couple in router behind the new link is a link local address, and new couple in router need provide TCoA for mobile node; And have the address related in the address pool of new couple in router with mobile node, at this moment, new couple in router extracts this TCoA related with mobile node and gets final product from address pool, and does not need to redistribute TCoA for mobile node again.
If mobile node does not switch at the appointed time comes, and then cancels the related of TCoA and mobile node, the state of TCoA is made as freedom.
Mobile node only uses TCoA in fast handover procedures.After the packet forward of being undertaken by preceding couple in router in the fast handover procedures was finished, mobile node returned to new couple in router with TCoA.
The recovery of TCoA can adopt dual mode to carry out at least.A kind of is regularly way of recycling, mobile node is reported the life span of bidirectional tunnel to new couple in router in quick neighbours' announcement message, after receiving quick neighbours' announcement message, new couple in router starts timer, after timer exceeds the time limit, new couple in router reclaims corresponding TCoA, and mobile node is deleted TCoA from interface.Another kind is the mobile node triggering mode, mobile node is finished NCoA and is acted on behalf of with the binding registration of peer node to the local and when not re-using TCoA, initiatively TCoA is deleted from own corresponding interface, and trigger the removal process that new couple in router begins TCoA.
As shown in Figure 5, be the interim Care-of Address recovery method first pass figure of the address configuration method of the quick switching of the embodiment of the invention, method embodiment illustrated in fig. 5 comprises the steps:
Step 501, mobile node couple in router forward send quick neighbor advertisement (FNA) message, and couple in router is to the life span of the bidirectional tunnel of TCoA before carrying in this quick neighbours' bulletin (FNA) message;
Step 502, new couple in router start timer after receiving quick neighbours' bulletin (FNA) message;
After step 503, timer timing surpass the life span of bidirectional tunnel, new couple in router sends neighbours' bulletin (Neighbor Advertisement to full node address in local subnet, be called for short NA) message, and be free state with the status modifier of TCoA in the local pool; The destination address of neighbours' bulletin (NA) message is the media interviews control corresponding with TCoA (Media AccessControl the is called for short MAC) address of new couple in router; Meanwhile, mobile node is deleted TCoA from interface.
As shown in Figure 6, be interim Care-of Address recovery method second flow chart of the address configuration method of the quick switching of the embodiment of the invention, method embodiment illustrated in fig. 6 comprises the steps:
NCoA acts on behalf of to the local and the binding registration of peer node finishing for step 601, mobile node, and when not re-using TCoA, TCoA is deleted from interface;
Step 602, mobile node send interim Care-of Address to new couple in router and reclaim triggering message;
Step 603, new couple in router send neighbours' bulletin (NA) message to full node address in local subnet, and are free state with the status modifier of TCoA in the local pool; The destination address of neighbours' bulletin (NA) message is the MAC Address corresponding with TCoA of new couple in router.
In order to have supported state address configuration and stateless address configuration simultaneously, can revise agent advertisement router solicitation (RtSolPr) message, agent router bulletin (PrRtAdv) message, switch and initiate the message header that (HI) message, handover acknowledge (HAck) message and quick neighbours announce message such as (FNA) message, in message header, add the address configuration mode and identify.Which kind of address configuration mode mobile node and preceding couple in router consult to adopt by agent advertisement router solicitation (RtSolPr) message and agent router bulletin (PrRtAdv) message, and preceding couple in router is by switching the address configuration mode that the new couple in router of (HI) message informing adopts of initiating.New couple in router can be known the address configuration mode of switching the mobile node employing of coming by quick neighbours' bulletin (FNA) message.
The reserved field that can initiate the message header of message such as (HI) message, handover acknowledge (HAck) message and quick neighbours bulletin (FNA) message in agent advertisement router solicitation (RtSolPr) message, agent router bulletin (PrRtAdv) message, switching is provided with two sign positions.A sign position is made as E, and whether the mobile node, couple in router or the miscellaneous equipment that are used to represent to send message support the state address that has of the embodiment of the invention to dispose; For example, the state address that has that E=1 expresses support for the embodiment of the invention disposes, and E=0 represents not support.Another identifies the position, is made as D, and which kind of address configuration mode the mobile node, couple in router or the miscellaneous equipment that are used to represent to send this message wish to adopt; For example, D=1 represents to wish to adopt the state address that has of the embodiment of the invention to dispose, and D=0 represents to adopt existing stateless address configuration, as adopting the FMIPv6 stateless address configuration.
If mobile node or couple in router are not supported the address configuration method that the IPv6 of the embodiment of the invention switches fast, they can ignore the reserved field in the message header, mode with FMIPv6 agreement regulation is handled the message of receiving, handoff procedure is just returned and is FMIPv6 like this; Otherwise determine to adopt which kind of address configuration mode according to D flag bit in agent router bulletin (PrRtAdv) message packet head.
In order to strengthen fail safe, can in the address configuration process, introduce the DHCPv6 authentication, mobile node is before DHCPv6 server requests address configuration information, and mobile node authenticates with the DHCPv6 server earlier.
Mobile node need be shared a group key with the DHCPv6 server end, carries out integrity protection by this group key for the signaling between mobile node and the server, thereby guarantees that these signalings send from the other side trusty.
Group key that both sides can be according in advance (dynamically or static) shares, it is right to derive mobile node-DHCPv6 server key, because key can not transmit between mobile node and DHCPv6 server, then must there be a mechanism, the information that derives from this key is transmitted between DHCPv6 server and mobile node, and being convenient to both sides, to adopt common method and information to derive from this key right.
A kind of way is exactly that directly to deposit some keys in advance in mobile node and DHCPv6 server right, and the DHCPv6 server is selected a key identification according to DUID so, and key identification is carried in bulletin (Advertise) message returns.Mobile node is according to the cryptographic algorithm of the key employing both sides agreement of this key identification correspondence, and for example the HMAC-MD5 algorithm calculates authentication information.
Certainly the method for not getting rid of other, the shared key that for example has mobile node and the said equipment on the AAA equipment of mobile node and DHCPv6 server or control Dynamic Host Configuration Protocol server, then according to corresponding algorithm and random number, the key that generates mobile node-DHCPv6 server is right, so only need finish in the signaling before bulletin (Advertise) message or other DHCPv6 request this random number is issued to mobile node from the DHCPv6 server, the key that is generated this mobile node-DHCPv6 server by its mobile node is right.
After obtaining key, mobile node and DHCPv6 server can generate authentication information according to certain algorithm together by the information in key and the message, in case the information in the message or this authentication information are altered in transmittance process, so receiving terminal utilize key and the message received in information authentication information that will occur calculating when calculating authentication information again and the authentication information that passes over according to this algorithm inconsistent, just can think that the information integrity that receives is damaged and has no longer handled this moment.
For the DHCPv6 server, the address in the DHCPv6 server address pond is a Limited resources, also needs to reclaim so that reuse.Can adopt initiatively and realize distributing to the recovery of the address of switching the mobile node of coming with the passive mode that combines.Passive mode is for the DHCPv6 server is provided with the less address rental period, with the mobile node that those home networks that switch away of timely discovery are not local networks, regains the address of distributing to them; Active mode is that the MN that switches away initiatively sends release (Release) message to the DHCPv6 of previous network server after finishing switching, disconnecting the forwarding tunnel, discharges the address.
As shown in Figure 7, be the 3rd flow chart of the address configuration method of the quick switching of the embodiment of the invention.In the present embodiment, mobile node and couple in router are all supported the address configuration method of the embodiment of the invention, and adopt the prediction type switching flow that the state address configuration is arranged.Present embodiment comprises the steps:
Step 701, new couple in router are created address pool, send application (Request) message to the DHCPv6 server, apply for a plurality of addresses;
Step 702, DHCPv6 server are to new couple in router echo reply (Reply) message, and for new couple in router provides a plurality of addresses, a plurality of addresses that new couple in router will be applied for are saved in the address pool;
Step 703, mobile node couple in router forward send agent advertisement router solicitation (RtSolPr) message, the sign position E=1 of this message, and D=1 shows the address configuration mode of supporting the embodiment of the invention, and wishes that employing has the state address configuration;
Step 704, preceding couple in router return agent router bulletin (PrRtAdv) message to mobile node, the sign position E=1 of this message, and D=1 shows the address configuration mode of supporting the embodiment of the invention, adopting has the state address configuration;
Step 705, mobile node couple in router forward send quick Binding Update (FBU) message;
Step 706, preceding couple in router send to switch to new couple in router initiates (HI) message, the sign position E=1 of this message, and D=1, showing to adopt has the state address configuration;
Step 707, new couple in router extract TCoA from local pool, and be carried at handover acknowledge (HAck) message forward couple in router return; The sign position E=1 of this message, D=1, showing to adopt has the state address configuration;
When extracting TCoA, new couple in router search local pool judges whether the address related with mobile node, if exist, then extract this address related with mobile node, otherwise, extract state address freely, and this address is related with described mobile node;
Step 708, preceding couple in router are established to the bidirectional tunnel of TCoA, and preceding couple in router returns the quick binding of carrying TCoA to mobile node and new couple in router and replys (Fast BondingAcknowledge is called for short FBack) message;
Step 709, preceding link disconnect, and the packet that preceding couple in router will be sent to mobile node is sent to new couple in router;
After step 710, mobile node insert new link, be TCoA and quick neighbours' bulletin (FNA) message of carrying the bidirectional tunnel life span to new couple in router transmission source address, the sign position E=1 of this message, D=1, showing to adopt has the state address configuration;
Step 711, new couple in router start timer, judge that the source address of quick neighbours' bulletin (FNA) message is global I Pv6 address, generate fast router bulletin (FRA) message of carrying DHCPv6 server relevant information, send to mobile node; Wherein, the relevant information of DHCPv6 server can comprise: the MAC Address of DHCPv6 server, IPv6 address and DHCP unique identification (DHCPUnique ID is called for short DUID);
Step 712, mobile node extract the address of DHCPv6 server from DHCPv6 server relevant information, send DHCPv6 request (Solicit) message that comprises authentication option to the DHCPv6 server;
Step 713, preceding couple in router are transmitted packet to mobile node;
Step 714, DHCPv6 server are that mobile node is selected a key, return DHCPv6 bulletin (Advertise) message of carrying this key and comprising authentication option to mobile node;
Step 715, mobile node send DHCPv6 application (Request) message that comprises authentication option, applied address configuration information to the DHCPv6 server; Address configuration information can comprise: NCoA, DNS configuration information, ntp server address etc.; Carry the authentication information that mobile node generates according to key in the authentication option; Step 716, DHCPv6 server authenticate authentication information, after authentication is passed through, return the DHCPv6 that carries address configuration information and comprise authentication option to mobile node and reply (Reply) message; Mobile node carries out address configuration according to address configuration information;
Step 717, timer exceed the time limit, and new couple in router sends neighbours' bulletin (NA) message to full node address in local subnet, and are free state with the status modifier of TCoA in the local pool; The destination address of neighbours' bulletin (NA) message is the MAC Address corresponding with TCoA of new couple in router.
Present embodiment has been realized the automatic selection that state address configuration mode and stateless address configuration mode are arranged of prediction type handoff procedure; Adopt TCoA in the handoff procedure, can better guarantee the continuity of transfer of data in the handoff procedure; Adopt timing mode to carry out the recovery of TCoA, can in time no TCoA be reclaimed the mobile node of having distributed to other and use, new couple in router only need be safeguarded a small amount of address, has reduced the address maintenance expense; New couple in router is informed mobile node with the relevant information of DHCPv6 server, has avoided the search procedure of DHCPv6 server, has reduced the time that N state CoA configuration is arranged; Mobile node and DHCPv6 authenticate, and have strengthened fail safe.
As shown in Figure 8, be the 4th flow chart of the address configuration method of the quick switching of the embodiment of the invention.In the present embodiment, mobile node and couple in router are all supported the address configuration method of the embodiment of the invention, and adopt the reaction equation switching flow that the state address configuration is arranged.It is right to store some keys in mobile node and the DHCPv6 server in advance, the DHCPv6 server is selected a key identification according to DUID, and key identification is carried in the announcement message returns, mobile node adopts predefined cryptographic algorithm to calculate authentication information according to the key of this key identification correspondence.Present embodiment comprises the steps:
Step 801, new couple in router are created address pool, to a plurality of addresses of DHCPv6 server application;
Step 802, DHCPv6 server return a plurality of addresses to new couple in router, and a plurality of addresses that new couple in router will be applied for are saved in the address pool;
Step 803, mobile node couple in router forward send agent advertisement router solicitation (RtSolPr) message, the sign position E=1 of this message, and D=1 shows the address configuration mode of supporting the embodiment of the invention, and wishes that employing has the state address configuration;
Step 804, preceding couple in router return agent router bulletin (PrRtAdv) message to mobile node, the sign position E=1 of this message, and D=1 shows the address configuration mode of supporting the embodiment of the invention, adopting has the state address configuration; Afterwards, preceding link disconnects;
Step 805, mobile node insert new link, to new couple in router transmission source address is link address and quick neighbours' bulletin (FNA) message that carries quick Binding Update (FBU) message, the sign position E=1 of this message, D=1, showing to adopt has the state address configuration;
Step 806, new couple in router judge that the source address of quick neighbours' bulletin (FNA) message is a link local address, extract TCoA from local pool, fast router bulletin (FRA) message of TCoA and DHCPv6 server relevant information is carried in generation, sends to mobile node; Wherein, the relevant information of DHCPv6 server can comprise: the MAC Address of DHCPv6 server, IPv6 address and DHCP unique identification (DHCP Unique ID is called for short DUID);
When extracting TCoA, new couple in router search local pool judges whether the address related with mobile node, if exist, then extract this address related with mobile node, otherwise, extract state address freely, and this address is related with described mobile node;
Step 807, new couple in router are TCoA with the source address modification of quick Binding Update (FBU) message, and couple in router sends forward;
Step 808, preceding couple in router are established to the bidirectional tunnel of TCoA, and return quick binding to mobile node and reply (Fast Bonding Acknowledge is called for short FBack) message;
Step 809-step 810, preceding couple in router are transmitted data to the bidirectional tunnel of TCoA to mobile node by preceding couple in router;
Step 811, mobile node extract the address of DHCPv6 server from DHCPv6 server relevant information, send DHCPv6 request (Solicit) message that comprises authentication option to the DHCPv6 server;
Step 812, DHCPv6 server are that mobile node is selected a key identification, return DHCPv6 bulletin (Advertise) message of carrying this key identification and comprising authentication option to mobile node;
Step 813, mobile node adopt predefined cryptographic algorithm according to the key of key identification correspondence, as the HMAC-MD5 algorithm, calculate authentication information, authentication information is carried in the authentication option, send DHCPv6 application (Request) message that comprises authentication option, applied address configuration information to the DHCPv6 server; Address configuration information can comprise: NCoA, DNS configuration information, ntp server address etc.;
Step 814, DHCPv6 server authenticate authentication information, after authentication is passed through, return the DHCPv6 that carries address configuration information and comprise authentication option to mobile node and reply (Reply) message; Mobile node carries out address configuration according to address configuration information;
Step 815, mobile node finish that NCoA acts on behalf of to the local and the binding registration of peer node when not re-using TCoA, delete TCoA from the interface of oneself, and send interim Care-of Address to new couple in router and reclaim and trigger message;
Step 816, new couple in router send neighbours' bulletin (NA) message to full node address in local subnet, and are free state with the status modifier of TCoA in the local pool; The destination address of neighbours' bulletin (NA) message is the MAC Address corresponding with TCoA of new couple in router.
Present embodiment has been realized the automatic selection that state address configuration mode and stateless address configuration mode are arranged of reaction equation handoff procedure; Adopt TCoA in the handoff procedure, can better guarantee the continuity of transfer of data in the handoff procedure; Adopt the recovery of the TCoA of mobile node trigger-type, the TCoA that can in time mobile node not re-used reclaims; New couple in router only need be safeguarded a small amount of address, has reduced the address maintenance expense; New couple in router is informed mobile node with the relevant information of DHCPv6 server, has avoided the search procedure of DHCPv6 server, has reduced the time that N state CoA configuration is arranged; Mobile node and DHCPv6 authenticate, and have strengthened fail safe.
As shown in Figure 9, be the address configuration system configuration schematic diagram of the quick switching of the embodiment of the invention.Mobile node 10 couple in router 20 in the past switches to new couple in router 30.Preceding couple in router 20 and mobile node negotiate address configuration mode when employing has the state address configuration, for mobile node 10 is asked TCoA to new couple in router 30, and are sent to mobile node 10 with TCoA; New couple in router 30 is safeguarded address pool, for mobile node 10 provides TCoA, and provides the relevant information of DHCPv6 server for mobile node 10.DHCPv6 server 40 is used for the IPv6 address in the maintenance management respective subnet, and this DHCPv6 server 40 provides the address so that new couple in router 30 is set up address pool for new couple in router 30, and provides NCoA for mobile node 10.
New couple in router 30 is safeguarded local address pool, and there are two states, free state and association status in the address in the address pool.The address of free state can be distributed to and switch the mobile node 10 of coming, and the mobile node 10 that certain switching is come has been distributed in the address of association status.New couple in router 30 is for switching the mobile node 10 distribution T CoA that come.Mobile node 10 uses TCoA in fast handover procedures, after the data forwarding of transmitting by PAR in the fast handover procedures was finished, mobile node 10 returned to new couple in router 30 with TCoA.
In the present embodiment,, and be not NCoA because new couple in router 30 provides TCoA, mobile node 10 is after switching is finished, can give back new couple in router 30 with TCoA, therefore new 30 need of couple in router are safeguarded a spot of address in address pool, reduced the expense of address maintenance; New couple in router 30 is given mobile node 10 with the address in the address pool " interim transfer ", as the interim Care-of Address of mobile node 10, has guaranteed the continuity of transfer of data in the handoff procedure; New couple in router 30 is informed mobile node 10 with the relevant information of DHCPv6 server 40, has avoided the search procedure of DHCPv6 server, has reduced the time that N state CoA configuration is arranged.
As shown in figure 10, be couple in router first structural representation of the embodiment of the invention.Receiver module 21 is used to receive the message that other routers or mobile node etc. send.Sending module 22 is used for sending message to other routers or mobile node etc.Determination module 23 is used for after receiver module 21 receives agent advertisement router solicitation (RtSolPr) message that the address configuration mode that carries that mobile node sends identifies, and identifies according to the address configuration mode in this message and determines to adopt the stateless address configuration mode or the state address configuration mode is arranged.After having selected the address configuration mode, can state or stateless address configuration have been arranged according to the address configuration mode of selecting.Present embodiment has realized having the compatibility of state address configuration and stateless address configuration.
As shown in figure 11, be couple in router second structural representation of the embodiment of the invention.Receiver module 31 is used to receive the message that other routers or mobile node etc. send.Sending module 32 is used for sending message to other routers or mobile node etc.Extraction module 33 is used for extracting interim Care-of Address from local pool after receiving switching initiation (HI) message.Generation module 34 is used to generate handover acknowledge (HAck) message that carries interim Care-of Address, and sends by sending module 32.In the present embodiment, couple in router extracts the address from local pool, gives mobile node with address " interim transfer ", and the interim Care-of Address as mobile node has reduced handoff delay.
As shown in figure 12, be couple in router the 3rd structural representation of the embodiment of the invention.Present embodiment has further added application IP addresses module 35, address style judge module 36, fast router bulletin module 37 and modified module 38 on basis embodiment illustrated in fig. 11.
Application IP addresses module 35 is used for to a plurality of addresses of DHCPv6 server application, and a plurality of addresses that will apply for are kept in the address pool.When the number of addresses of address pool is not enough to satisfy the switching needs, can continue by application IP addresses module 35 to the more address of DHCPv6 server application, in order to using.
Address style judge module 36 is used to judge the type of quick neighbours' bulletin (FNA) message source address that receives.Fast router bulletin module 37, be used for when source address is global I Pv6 address generating fast router bulletin (FRA) message that carries DHCPv6 server relevant information, and generate fast router bulletin (FRA) message that carries TCoA and DHCPv6 server relevant information during for link local address in source address; The form of route announcement (FRA) message can be as shown in table 1 fast.By the relevant information of DHCPv6 server is announced the mobile node that (FRA) message informing has just inserted by fast router, mobile node is removal search DHCPv6 server again, avoid the search procedure of DHCPv6 server, reduced the time that the state address configuration is arranged.
Modified module 38 is used for when neighbours' bulletin (FNA) message source address is link local address fast, and the source address modification of quick neighbours being announced quick Binding Update (FBU) message of carrying in (FNA) message is TCoA, and sends by sending module 32.
At mobile node not when preceding link obtains TCoA, couple in router can provide the TCoA that uses in the handoff procedure for mobile node, and be TCoA with the source address modification of quick Binding Update (FBU) message, notify other routers with TCoA, make mobile node and home agent and the peer node can be, thereby make the transfer of data of handoff procedure have continuity preferably by preceding couple in router to the bidirectional tunnel of TCoA transmission data.
As shown in figure 13, be couple in router the 4th structural representation of the embodiment of the invention.On basis embodiment illustrated in fig. 12, the couple in router of present embodiment further carries out the recovery of TCoA by interim Care-of Address recycling module 39a.When reclaiming interim Care-of Address, this module sends neighbours bulletin (NA) message to full node address by sending module 32 in local subnet, and the destination address of neighbours' bulletin (NA) message is the MAC Address corresponding with TCoA.At least can trigger the recovery of TCoA by dual mode, in the present embodiment, be provided with timer 39b, when receiving quick neighbours bulletin (FNA) message, timer 39b starts timing, and regularly the time limit is that quick neighbours announce the life span that (RNA) message is carried.After timer 39b timing is exceeded the time limit, notify interim Care-of Address recycling module 39a to reclaim corresponding TCoA.
In the present embodiment, interim Care-of Address recycling module 38 in time reclaims the TCoA that does not re-use, thereby only need safeguard a spot of address.
As shown in figure 14, be mobile node first structural representation of the embodiment of the invention.Message sink module 11 is used to receive the message that couple in router sends.Message transmission module 12 is used for sending message to couple in router.Quick neighbours announce module 13 and are used to generate quick neighbours' bulletin (FNA) message, and send to new couple in router by described message transmission module.If mobile node has received the quick binding that carries TCoA that preceding couple in router returns at preceding link and replied (FBAck) message, then after inserting new link, generating source address is quick neighbours' bulletin (FNA) message of TCoA; If do not receive described before the quick binding that carries TCoA returned of couple in router reply (FBAck) message, then after inserting new link, generating source address is quick neighbours' bulletin (FNA) message of new link address.Address configuration module 14 is used for announcing (FRA) message extraction DHCPv6 server address from the fast router that message sink module 11 receives; Send address configuration information application (Request) information by message transmission module 12 to the DHCPv6 server; Reply (Reply) message according to the address configuration information that carries address configuration information of message sink module 11 receptions and carry out address configuration, address configuration information can comprise: NCoA, DNS configuration information, ntp server address etc.The mobile node of present embodiment uses TCoA in handoff procedure, guaranteed the continuity of handoff procedure; The DHCPv6 server relevant information of carrying by quick route announcement (FRA) message obtains the DHCPv6 server address, has avoided the search procedure of DHCPv6 server, has reduced the time that the state address configuration is arranged.
As shown in figure 15, be mobile node second structural representation of the embodiment of the invention.Present embodiment further comprises router solicitation generation module 15 and removing module 16 on basis embodiment illustrated in fig. 14.
Router solicitation generation module 15 generates and carries the router solicitation that the address configuration mode identifies, and by message transmission module 12 couple in router transmission forward, carry out the address configuration mode and consult, thereby realize both compatibilities of stateless address configuration mode of state address configuration mode are arranged.
Removing module 16 is used for acting on behalf of to the local and the peer node binding registration finishing NCoA, and when not re-using TCoA, TCoA is deleted from the corresponding interface, and send interim Care-of Address by message transmission module 12 to new couple in router and reclaim and trigger message, notify new couple in router to carry out the recovery of TCoA, thereby can in time reclaim the TCoA that mobile node does not re-use, make new couple in router only need to safeguard more a spot of address at local pool.
The embodiment of the invention for mobile node distributes interim Care-of Address, makes the transfer of data in the handoff procedure can keep continuity preferably in handoff procedure; New couple in router is informed mobile node with DHCPv6 server relevant information by the fast router announcement message, mobile node need not searched for the DHCPv6 server, and the transmission of this message need not waited for random time, thereby can effectively reduce the time-delay by the state address configuration; Identify and realized which kind of address configuration mode mobile node can consult to adopt with preceding couple in router to the compatibility of state address configuration and stateless address configuration is arranged by in a plurality of message, increasing the address configuration mode; Increase authentication option in the DHCPv6 message, mobile node and couple in router can be authenticated the raw address and the content of dhcp message, strengthened fail safe.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the field should be appreciated that still and can make amendment or the part technical characterictic is equal to replacement the specific embodiment of the present invention; And not breaking away from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.

Claims (27)

1, a kind of address configuration method of quick switching is characterized in that, described method comprises:
Message is initiated in the switching that couple in router sends before receiving;
Extract interim Care-of Address from local pool;
Generation carries the handover acknowledge message of described interim Care-of Address;
Couple in router returns described handover acknowledge message forward.
2, the address configuration method of quick switching according to claim 1 is characterized in that, described local pool stores a plurality of addresses, and described a plurality of addresses are to the application of dynamic host configuration DHCP server.
3, the address configuration method of quick switching according to claim 1 is characterized in that, described method also comprises:
Receive quick neighbours' announcement message that mobile node sends;
Generation carries the fast router announcement message of Dynamic Host Configuration Protocol server relevant information;
Return described fast router announcement message to described mobile node.
4, the address configuration method of quick switching according to claim 3 is characterized in that, the fast router announcement message that described generation carries the Dynamic Host Configuration Protocol server relevant information is specially:
Judge the source address type of described quick neighbours' announcement message, if described source address is global I Pv6 address, then described Dynamic Host Configuration Protocol server relevant information is included in the described fast router announcement message, generates the fast router announcement message that carries the Dynamic Host Configuration Protocol server relevant information; If described source address is a link local address, then extract interim Care-of Address from local pool, described interim Care-of Address and Dynamic Host Configuration Protocol server relevant information are included in the described fast router announcement message, generate the fast router announcement message that carries Dynamic Host Configuration Protocol server relevant information and interim Care-of Address.
According to the address configuration method of claim 1 or 4 described quick switchings, it is characterized in that 5, the interim Care-of Address of described extraction is specially: the search local pool, if there be the address related with mobile node in the described local pool, then extract this address; If do not have the address related in the described local pool with described mobile node, then extract state address freely, and described address is related with described mobile node.
6, the address configuration method of quick switching according to claim 4, it is characterized in that, when the source address of described quick neighbours' announcement message is link local address, with the source address modification of the quick binding update messages that carries in described quick neighbours' announcement message is described interim Care-of Address, and couple in router sends amended quick binding update messages before described, sets up the bidirectional tunnel of described preceding couple in router to described interim Care-of Address with preceding couple in router.
7, the address configuration method of quick switching according to claim 3 is characterized in that, carries life span in the described quick neighbor advertisement message, starts timer when receiving described quick neighbours' announcement message; After described timer timing surpasses described life span, in local subnet, send neighbours' announcement message, and be free state the status modifier of interim Care-of Address described in the described local pool to full node address; The destination address of described neighbours' announcement message be described new couple in router with the corresponding media access control address of described interim Care-of Address.
8, the address configuration method of quick switching according to claim 3, it is characterized in that, describedly after described mobile node returns described fast router announcement message, also comprise: receive interim Care-of Address that described mobile node sends and reclaim and trigger message; In local subnet, send neighbours' announcement message, and be free state the status modifier of interim Care-of Address described in the described local pool to full node address; The destination address of described neighbours' announcement message be described new couple in router with the corresponding media access control address of described interim Care-of Address.
9, a kind of address configuration method of quick switching is characterized in that, described method comprises:
Couple in router sends quick binding update messages forward;
If receive the quick binding response message that carries interim Care-of Address that described preceding couple in router returns, after inserting new link, be quick neighbours' announcement message of described interim Care-of Address then to new couple in router transmission source address;
If do not receive the quick binding response message that carries interim Care-of Address that described preceding couple in router returns, after inserting new link, be quick neighbours' announcement message of new link address then to described new couple in router transmission source address.
10, the address configuration method of quick switching according to claim 9 is characterized in that, also comprises after new couple in router sends quick neighbours' announcement message:
Receive the fast router announcement message that described new couple in router sends; Described fast router announcement message carries the Dynamic Host Configuration Protocol server relevant information;
From described Dynamic Host Configuration Protocol server relevant information, extract the address of Dynamic Host Configuration Protocol server, send the address configuration information solicitation message to described Dynamic Host Configuration Protocol server;
Receive the address configuration information response message that carries address configuration information that described Dynamic Host Configuration Protocol server returns; Described address configuration information comprises new Care-of Address at least.
11, the address configuration method of quick switching according to claim 9, it is characterized in that, described couple in router forward also comprises before sending quick binding update messages: couple in router sends router solicitation before described, and described router solicitation carries the address configuration mode and identifies.
12, the address configuration method of quick switching according to claim 9, it is characterized in that: act on behalf of to the local and the peer node binding registration finishing new Care-of Address, and when not re-using described interim Care-of Address, described interim Care-of Address is deleted from the corresponding interface, and sent interim Care-of Address recovery triggering message to described new couple in router.
13, the address configuration method of quick switching according to claim 9, it is characterized in that: described address configuration information solicitation message carries authentication information, also comprises before described Dynamic Host Configuration Protocol server sends the address configuration information solicitation message: send authentication request message to described Dynamic Host Configuration Protocol server; Receive the authentication notice message that carries key information that described Dynamic Host Configuration Protocol server returns; Generate authentication information according to described key information.
14, the address configuration method of quick switching according to claim 9, it is characterized in that, also comprise after the fast router announcement message that the described new couple in router of described reception sends: by the bidirectional tunnel of described interim Care-of Address to described preceding couple in router, receiving destination address is the data of preceding Care-of Address, and transmission source address is the data of preceding Care-of Address; When described bidirectional tunnel is removed, described interim Care-of Address is deleted from the corresponding interface.
15, the address configuration method of quick switching according to claim 14 is characterized in that, after removing described bidirectional tunnel, if preceding network using has the state address configuration, then the Dynamic Host Configuration Protocol server of network sends release message forward, Care-of Address before discharging.
16, a kind of address configuration method of quick switching is characterized in that, described method comprises:
Receive the router request message that mobile node sends, described router request message carries the address configuration mode and identifies;
Identify definite employing stateless address configuration mode or the state address configuration mode is arranged according to described address configuration mode;
According to the address configuration mode that adopts, the address configuration mode that the agent router announcement message is set identifies;
Return described agent router announcement message to described mobile node.
17, the address configuration method of quick switching according to claim 16 is characterized in that, when employing has the state address configuration mode, also comprises after returning described agent router announcement message to described mobile node:
Receive the quick binding update messages that described mobile node sends;
Send switching to new couple in router and initiate message, described switching initiation message carries to represent to adopt has the address configuration mode of state address configuration mode to identify;
Receive the handover acknowledge message that described new couple in router returns, described handover acknowledge message carries interim Care-of Address;
Send the quick binding response message that carries described interim Care-of Address to described mobile node.
18, the address configuration method of quick switching according to claim 16 is characterized in that, adopts when the state address configuration mode is arranged, and also comprises after returning described agent router announcement message to described mobile node:
Receive the quick binding update messages that new couple in router sends, the source address of described quick binding update messages is interim Care-of Address;
Be established to the bidirectional tunnel of described interim Care-of Address;
Return quick binding response message to described new couple in router.
19, a kind of couple in router comprises being used to the sending module that receives the receiver module of message and be used to send message, it is characterized in that described couple in router also comprises:
Determination module, be used for after described receiver module receives the router request message that the address configuration mode that carries that mobile node sends identifies, identify according to described address configuration mode and determine to adopt the stateless address configuration mode or the state address configuration mode is arranged;
Module is set, is used for according to the address configuration mode of determining employing, the address configuration mode that the agent router announcement message is set identifies, and returns described agent router announcement message by described sending module to described mobile node.
20, a kind of couple in router comprises the sending module that is used to receive the receiver module of message and is used to send message, it is characterized in that described couple in router also comprises:
Extraction module is used for extracting interim Care-of Address from local pool after receiving switching initiation message;
Generation module is used to generate the handover acknowledge message that carries described interim Care-of Address.
21, couple in router according to claim 20 is characterized in that, described couple in router also comprises: the application IP addresses module be used for to a plurality of addresses of Dynamic Host Configuration Protocol server application, and a plurality of addresses that will apply for is kept in the described address pool.
22, couple in router according to claim 20 is characterized in that, described couple in router also comprises:
The address style judge module is used to judge the type of the quick neighbours' announcement message source address that receives;
Fast router bulletin module is used for when described quick neighbours' announcement message source address is global I Pv6 address, generates the fast router announcement message that carries the Dynamic Host Configuration Protocol server relevant information; And when described source address is link local address, generate the fast router announcement message that carries interim Care-of Address and Dynamic Host Configuration Protocol server relevant information;
Modified module is used for when described source address is link local address, is described interim Care-of Address with the source address modification of the quick binding update messages that carries in quick neighbours' announcement message.
23, couple in router according to claim 22 is characterized in that, described couple in router also comprises:
Timer is used for starting timing when receiving described quick neighbours' announcement message, and regularly the time limit is the life span that described quick neighbours' announcement message is carried;
Interim Care-of Address recycling module is used for after described timer timing is exceeded the time limit, and sends neighbours' announcement message to full node address in local subnet, and the destination address of described neighbours' announcement message is and the corresponding media access control address of described interim Care-of Address.
24, a kind of mobile node comprises the message transmission module that is used to receive the message sink module of message and is used to send message, it is characterized in that described mobile node also comprises:
Neighbours announce module fast, are used to generate quick neighbours' announcement message, and send described quick neighbours' announcement message by described message transmission module to new couple in router; If the quick binding response message that carries interim Care-of Address that couple in router returns before receiving, then after inserting new link, generating source address is quick neighbours' announcement message of described interim Care-of Address; If do not receive the quick binding response message that carries interim Care-of Address that described preceding couple in router returns, then after inserting new link, generating source address is quick neighbours' announcement message of new link address.
25, mobile node according to claim 24 is characterized in that, described mobile node also comprises:
The address configuration module is used for extracting the Dynamic Host Configuration Protocol server address from the fast router announcement message that described message sink module receives; Send the address configuration information application information by described message transmission module to described Dynamic Host Configuration Protocol server; Receive the address configuration information response message that carries address configuration information that described Dynamic Host Configuration Protocol server returns, described address configuration information comprises new Care-of Address at least.
26, mobile node according to claim 24, it is characterized in that, described mobile node also comprises: the router solicitation generation module, be used to generate and carry the router solicitation that the address configuration mode identifies, and by described message transmission module forward couple in router send.
27, mobile node according to claim 24, it is characterized in that, described mobile node also comprises: removing module, be used for acting on behalf of to the local and the peer node binding registration finishing new Care-of Address, and when not re-using described interim Care-of Address, described interim Care-of Address is deleted from the corresponding interface, and sent interim Care-of Address recovery triggering message to described new couple in router by described message transmission module.
CN2007101265476A 2007-06-22 2007-06-22 Mobile node, access router and method for collocating address for rapidly switching Expired - Fee Related CN101330527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101265476A CN101330527B (en) 2007-06-22 2007-06-22 Mobile node, access router and method for collocating address for rapidly switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101265476A CN101330527B (en) 2007-06-22 2007-06-22 Mobile node, access router and method for collocating address for rapidly switching

Publications (2)

Publication Number Publication Date
CN101330527A true CN101330527A (en) 2008-12-24
CN101330527B CN101330527B (en) 2011-02-09

Family

ID=40206105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101265476A Expired - Fee Related CN101330527B (en) 2007-06-22 2007-06-22 Mobile node, access router and method for collocating address for rapidly switching

Country Status (1)

Country Link
CN (1) CN101330527B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011032455A1 (en) * 2009-09-17 2011-03-24 中兴通讯股份有限公司 Method, system and access gateway router for handoff management and user data management when handing off
CN103561122A (en) * 2013-10-23 2014-02-05 华为终端有限公司 IPv6 address collocation method, IPv6 client and server
CN106487692A (en) * 2016-09-28 2017-03-08 中国人民解放军信息工程大学 Exempt from the hierarchy motion Ipv 6 fast switch over method of duplicate address detection
CN108111412A (en) * 2016-11-24 2018-06-01 腾讯科技(深圳)有限公司 A kind of dispatching method of data resource, the first autonomous system and the second autonomous system
CN110233889A (en) * 2019-06-11 2019-09-13 常熟理工学院 A kind of network data communication implementation method based on caching mechanism
WO2020132984A1 (en) * 2018-12-26 2020-07-02 华为技术有限公司 Ipv6 address configuration method and router device
CN114051019A (en) * 2021-10-14 2022-02-15 深圳市联洲国际技术有限公司 Network equipment and method for automatically detecting address configuration mode supported by IPv6 network

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011032455A1 (en) * 2009-09-17 2011-03-24 中兴通讯股份有限公司 Method, system and access gateway router for handoff management and user data management when handing off
CN103561122A (en) * 2013-10-23 2014-02-05 华为终端有限公司 IPv6 address collocation method, IPv6 client and server
CN106487692A (en) * 2016-09-28 2017-03-08 中国人民解放军信息工程大学 Exempt from the hierarchy motion Ipv 6 fast switch over method of duplicate address detection
CN106487692B (en) * 2016-09-28 2019-07-26 中国人民解放军信息工程大学 Exempt from the hierarchy motion Ipv 6 fast switch over method of duplicate address detection
CN108111412A (en) * 2016-11-24 2018-06-01 腾讯科技(深圳)有限公司 A kind of dispatching method of data resource, the first autonomous system and the second autonomous system
CN108111412B (en) * 2016-11-24 2020-11-03 腾讯科技(深圳)有限公司 Data resource scheduling method, first autonomous system and second autonomous system
WO2020132984A1 (en) * 2018-12-26 2020-07-02 华为技术有限公司 Ipv6 address configuration method and router device
CN110233889A (en) * 2019-06-11 2019-09-13 常熟理工学院 A kind of network data communication implementation method based on caching mechanism
CN110233889B (en) * 2019-06-11 2021-09-14 常熟理工学院 Network data communication implementation method based on cache mechanism
CN114051019A (en) * 2021-10-14 2022-02-15 深圳市联洲国际技术有限公司 Network equipment and method for automatically detecting address configuration mode supported by IPv6 network

Also Published As

Publication number Publication date
CN101330527B (en) 2011-02-09

Similar Documents

Publication Publication Date Title
CN101330527B (en) Mobile node, access router and method for collocating address for rapidly switching
US20080159222A1 (en) Duplicate Address Detection Optimisation
JP3923886B2 (en) Mobile start-up tunneling handoff with low delay
CN101247317B (en) Routing switching method and system
US8345625B2 (en) Apparatus and method of handover for mobile node
KR100656358B1 (en) Method for handover in mobile ip network
EP1833204A1 (en) Fast configuration of a default router for a mobile node in a mobile communication system
EP1681895B1 (en) Method and apparatus for minimizing hand-off time using node information
RU2377730C2 (en) Communication system, user equipment and access router
CN103442347A (en) Mobile node, home agent and Redirection
CN101083610A (en) Method for improving switch speed of mobile node in wireless LAN and mobile node
CN101233723A (en) A method of applying fast mobile ipv6 for mobile nodes in mobile networks, mobile router therefor, and mobile network therefor
CN101232699B (en) System and method for determining terminal mobility management type
CN101548566B (en) Method and system for managing address prefix information associated with handover in networks
US20080019318A1 (en) Cryptographic Optimisation for Duplicate Address Detection
CN1996911A (en) A method for controlling the R3 re-anchoring in the multi-host WiMAX system
CN100596229C (en) Method for apprizing the binding result of the target network address and mobile user terminal
US7917142B2 (en) Comprehensive registration method for wireless communication system
US20110264775A1 (en) Method and apparatus for supporting mipv6 service in a wireless communication network
WO2005046144A1 (en) Access router apparatus, communication handover system using the same, and communication handover method using the same
CN101860932A (en) Switch method, mobile node, router and communication system
CN102045796B (en) Mobile network system and mobile management method thereof
CN101232698B (en) Terminal, system and method for reducing switch time delay
CN101651662A (en) Method and device for allocating simple internet protocol addresses
JP4397397B2 (en) Handover method, mobile terminal, home agent, access router, and mobile router

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110209

Termination date: 20140622

EXPY Termination of patent right or utility model