Background technology
In recent years, along with developing rapidly and the appearance of movable terminations in a large number of data communication and wireless communication technology, increasing user wishes not to be subjected to site limitation and can high efficient and flexible ground access (Internet).Therefore, Internet not only will provide existing data service, multimedia audio-video business, also needs to realize the function of mobile Internet, for user's mobile device provides wireless Internet access service.Mobile Internet Protocol (IP) adapts to this demand and the support mobile device and the interconnected hot spot technology of Internet that produce just, and it can make subscriber's main station maintenance in moving communicate by letter with Internet and not be interrupted.
Along with various mobile devices, for example notebook computer, mobile phone etc. insert Internet, have accelerated exhausting of Internet protocol version four (IPv4) address.Yet, Internet protocol version six (IPv6) will with huge address space, support mobile IP, service quality (QoS) guarantee mechanism, fail safe and address automatically superiority such as configuration satisfy the demand of mobile Internet, provide the key of various new business.
Internet engineering task group (IETF) has been formulated the mobile IPv 6 protocol (MIPv6) based on IPv6, the basic principle of mobile IP technology is to make mobile node can carry out IP communication with initial IP address all the time in moving process, thereby the upper layer application maintenance in moving that guarantees the IP network layer carrying is not interrupted and continuing property.In the standard mobile IPv 6 protocol that Request for Comment (RFC) 3775 is described, the mobile node handover operation relates to steps such as moving detection, IP address configuration and position renewal, the time delay of these operations integrates the application that has had influence on the upper strata, especially has influence on some the real-time application to delay sensitive.For this reason, IETF has formulated fast moving IPv6 agreement (FMIPv6) again, i.e. RFC4068, and FMIPv6 provides a kind of method that reduces handover delay.
The principle of FMIPv6 roughly comprises following process as shown in Figure 1:
1) have near mobile node detects one or more access points (Access Point, AP) after, send router solicitation Agent Advertisement (RtSolPr) message is resolved couple in router to previous couple in router (PAR) access point identity information.In RtSolPr message, comprise one or more access point identities (AP-ID), and can use all information available of asterisk wildcard request.
2) PAR according to preserve with PAR at the AR of the adjacent AR of same position information ([AP-ID, AR-Info]), send agent router announcement (PrRtAdy) acknowledgement messaging and give mobile node.Wherein the AR information spinner will comprise that AP identifies the L2 address of (AP-ID) and AR, IP address, prefix information etc.
3) mobile node generates new Care-of Address (NCoA) according to the PrRtAdv message that receives, and sends quick Binding Update (FBU) message to PAR on the link of PAR, comprises the NCoA that is generated in the message.
4) after PAR receives FBU message, send switching initialization (HI) message, comprise the NCoA that carries among old Care-of Address (PCoA), link layer address and the FBU in the message to new couple in router (NAR).
5) if the NCoA in the HI message is not accepted by NAR, NAR need specify new NCoA for mobile node, and covers in switching affirmation (Hack) message, and sends Hack to PAR.If the NCoA in the HI message is accepted by NAR, then need not to specify new NCoA, directly send Hack to PAR.
6) PAR creates the binding between PCoA and the NCoA, sends quick binding acknowledgement (FBack) message to mobile node, if NAR has distributed new NCoA, then should be included in the FBack message and offer mobile node, and mobile node should use this NCoA.
7) after FBU and FBack Message Processing were finished, PAR began to use the tunnel to be forwarded to NCoA the message of mobile node.
8) after mobile node and NAR connect, mobile node should send quick neighbor advertisement (FNA) message to NAR, by the message of new access point (NAP) forwarding cache.
In FMIPv6, the problem of a key is the AR information that must preserve other adjacent AR of same position on AR, so that offer mobile node when the mobile node request.If mobile node can't obtain the AR information of adjacent AR, then can't use FMIPv6.How regulation AR does not obtain the information of adjacent AR in RFC4068.
Prior art adopts usually by manual [AP-ID, AR-Info] information that configuration needs on AR.The scheme of this manual configuration has following shortcoming: when increase/deletion AR, need the configuration of change all ARs adjacent with this AR, workload is big, causes the poor expandability of this scheme; When the IP address of network need redeploy, the configuration on all AR all needed artificial change, and workload is very big, caused it maintainable poor; And this scheme can not adapt to the dynamic adjustment of network topology, and for example after an AR crashed, the AR that is adjacent can't revise configuration in time.
Further, in the MIPv6 of IETF signaling and roaming optimization working group (MIPSHOP), there is a piece draft to propose the method for a kind of dynamic construction [AP-ID, AR-Info] information.The thought of this scheme is: the prefix of broadcasting AR subnet in the beacon message of two layers of channel of AP after mobile node receives this message, is put into subnet prefix in the RtSolPr message and sends to PAR; After PAR received this message, if there is not corresponding [AP-ID, AR-Info] information, the NAR that then sends a request message to this subnet prefix appointed and broadcasts the address, and NAR provides response message after receiving this message; After PAR receives response message, the information of NAR is kept at this locality, and replies to mobile node.
This scheme exists following shortcoming: because the structure of AR information must be triggered by mobile node, can't make up in advance and finish, when mobile node sends RtSolPr message application AR information,, therefore can cause time delay for switching to increase because PAR need send the information of information query NAR; Be very easy to suffer the attack of mobile node, for example mobile node sends the RtSolPr message of the invalid prefix information of a large amount of carryings, and this makes that the fail safe of network is relatively poor; This scheme need be done change so that the prefix information of carrying AR has taken valuable wireless bandwidth so on the one hand to two layers agreement, needs on the other hand existing a large amount of two-layer equipments are upgraded, and brings huge difficulty to network design.
Summary of the invention
In view of this, the present invention proposes a kind of method of the AR of collection information, its purpose is, does not rely on human configuration and mobile node and triggers the AR information of collecting automatically.Another object of the present invention is to propose a kind of system of collecting AR information.
According to above-mentioned purpose, the invention provides a kind of method of the AR of collection information, this method is provided with AR-ICR in access network, and further comprises:
A.AR sends the updating message that comprises one or more AR information to AR-ICR;
B.AR-ICR sends to the adjacent AR at same position with described AR with described AR information.
In technique scheme, AR is execution in step A after satisfying trigger condition, and described trigger condition comprises: it is soon overtime that AR is checked through self life cycle; It is soon overtime that perhaps AR is checked through the life cycle of self AR information; Perhaps AR takes place newly-increased or deletion access point AP; Perhaps arrive regular or irregular transmitting time.
Further comprise before the steps A: A11.AR sends the registration message that comprises AR sign, positional information at least to AR-ICR; A12.AR-ICR preserves AR sign, the positional information in the registration message at least, and sends acknowledge message to AR.AR receives execution in step A after the described acknowledge message.
Further comprise in the steps A 12: AR-ICR will be handed down to described AR in the AR of the adjacent AR of same position information with described AR.
Further comprise the step of carrying out authentication between AR and the AR-ICR before the steps A 11, and behind authentication success execution in step A11.Perhaps, further comprise the step of carrying out authentication between AR and the AR-ICR before the steps A 12, and behind authentication success execution in step A12.Perhaps, further comprise the step of carrying out authentication between AR and the AR-ICR before the steps A, and behind authentication success execution in step A.
Comprise further among the step B that AR-ICR obtains the adjacent AR at same position with described AR according to the positional information of the AR that preserves in advance.
Further comprise after the step B: C. and described AR preserve the AR information of being received at the adjacent AR of same position.
Described AR information comprises at least: L2 address, IP address, the prefix information of AP sign and AR.
The present invention also provides a kind of system of the AR of collection information, and this system comprises AR-ICR and at least two AR, and described AR-ICR is used to receive and preserve the AR information from AR, and described AR information is sent to the adjacent AR at same position with described AR; Described AR is used for sending to AR-ICR the AR information of self, and the AR information that receives and preserve the adjacent AR that described AR-ICR sends.
Described AR-ICR comprises AR-ICR memory module and AR-ICR control module, and wherein the AR-ICR memory module is used to store the AR information of described AR; The AR-ICR control module is used to receive the AR information from AR, and is kept at described AR information in the AR-ICR memory cell and sends to the adjacent AR at same position with described AR.Described AR comprises AR memory module and AR control module, and wherein the AR memory module is used to store AR information of self and the AR information of adjacent AR; The AR control module is used for sending to AR-ICR the AR information of self, and receives the AR information of the adjacent AR that described AR-ICR sends and be kept in the AR memory module.
Described AR further comprises Registering modules, is used for sending the registration message that comprises AR sign, positional information at least to AR-ICR.Described AR-ICR control module is further used for the sign of the AR in the registration message, positional information are kept in the AR-ICR memory module, and will be handed down to described AR in the AR of the adjacent AR of same position information with described AR.
By such scheme, the present invention comprises following beneficial effect:
Because the present invention is provided with AR-ICR, each AR is with [the AP-ID of self, AR-Info] send to AR-ICR, be distributed to the adjacent AR that is positioned at same position by AR-ICR then, by enforcement of the present invention, can not relying on human configuration does not need the triggering of mobile node to collect AR information automatically yet like this.And, owing to do not rely on human configuration, avoided shortcomings such as poor expandability, maintainable difference, and, avoided suffering the shortcoming of mobile node malicious attack owing to can't help mobile node and trigger.The present invention further can carry out the collection of AR information behind authentication success, thus the fail safe that has improved network.In addition, the present invention does not need to revise two-layer protocol yet, is convenient to dispose in existing network implement.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in more detail by the following examples.
Fig. 2 is the network model schematic diagram of the AR information of collecting in FMIPv6 of the embodiment of the invention.With reference to Fig. 2, present embodiment is provided with an AR information gathering router (AR-ICR) in access network, and this AR-ICR receives the AR information of each AR, and the AR information of each AR send to this AR at other adjacent AR of same position.In Fig. 2, AR-ICR links to each other with each AR in the access network, for example AR1, AR2, AR3; Each AR has coupled AP, and for example AR1 links to each other with AP11, AP12, and AR2 links to each other with AP21, and AR3 links to each other with AP31, AP32.Here might as well suppose that AR1 and AR2 are at the adjacent AR of same position, and AR3 is and the non-conterminous AR of both.
The flow process of collecting AR information in FMIPv6 is described below.With reference to Fig. 3, this flow process may further comprise the steps:
Step 101, AR sends the updating message that comprises one or more [AP-ID, AR-Info] to AR-ICR.The same in described [AP-ID, AR-Info] and the prior art, mainly comprise L2 address, IP address, prefix information of AP-ID and AR etc.Can further include the life cycle of each [AP-ID, AR-Info] in the updating message.
AR can be an execution in step 101 after satisfying trigger condition, the described trigger condition life cycle that for example this AR increases/deletes AP, arrives regular or irregular transmitting time, AR is checked through self soon overtime or AR be checked through be about to self life cycle of [AP-ID, AR-Info] overtime or the like.
Step 102 after AR-ICR receives the updating message of AR, obtains the adjacent AR at same position with described AR according to the positional information of each AR that preserves in advance, and described [AP-ID, AR-Info] sent to the adjacent AR at same position with this AR.
Step 103, with described AR after the adjacent AR of same position receives notice from AR-ICR, preserve [AP-ID, the AR-Info] that received.
In order to guarantee the fail safe of access network, can before step 101, for example when AR starts, carry out the registration process of AR on AR-ICR, and have only AR to send updating message to AR-ICR by registration.Referring to Fig. 4, this registration process is as follows:
Step 201, AR sends the registration message that comprises AR sign (AR-ID), positional information at least to AR-ICR.In this registration message, can further include the life cycle of this AR.Comprise that with registration message be the example explanation life cycle in the present embodiment.
Step 202, AR-ICR receives after the registration message of AR, preserves AR-ID, positional information and life cycle in the registration message, and sends acknowledge message to AR.What in this step, AR-ICR can also preserve this locality is handed down to described AR with described AR at the adjacent AR of same position [AP-ID, AR-Info].Further, in order to reduce the number of message, can [AP-ID, the AR-Info] of adjacent AR be handed down to described AR by acknowledge message.
After AR receives the confirmation message, show and succeed in registration, can carry out foregoing step 101.
In addition, can also be before registration, after the registration or between registration message and acknowledge message, further comprise verification process, for example adopt existing authentication and authorization charging (AAA) agreement to authenticate between AR and the AR-ICR, described aaa protocol can be the upgraded version Diameter of remote authentication dialing user service (RADIUS) agreement, radius protocol or Extensible Authentication Protocol (EAP) etc.
After step 103, when AR withdraws from the FMIPv6 agreement, can carry out log off procedure as shown in Figure 5.With reference to Fig. 5, this process may further comprise the steps:
Step 301, AR sends the logout message comprise AR-ID at least to AR-ICR, and local all the AR information of preserving of deletion, for example the AR-ID of self and other AR, positional information, life cycle and corresponding [AP-ID, AR-Info] and life cycle etc.
Step 302, after AR-ICR receives the logout message of described AR, the AR-ID of the local described AR that preserves of deletion, positional information, life cycle and corresponding [AP-ID, AR-Info] and life cycle, and notice and described AR delete these information at the adjacent AR of same position.
Step 303, with described AR after the adjacent AR of same position receives the notice of AR-ICR, the AR-ID of the local described AR that preserves of deletion, positional information, life cycle and corresponding [AP-ID, AR-Info] and life cycle.
In addition, after step 103,, then carry out the ageing process of AR information if certain AR crashes.With reference to Fig. 6, this process may further comprise the steps:
Step 401, AR-ICR makes regular check on the life cycle of each AR and the life cycle of each [AP-ID, AR-Info], finishes if be checked through the life cycle of certain AR, and finish the life cycle that perhaps is checked through certain [AP-ID, AR-Info], and then execution in step 402.
Step 402, if finish the life cycle of certain AR, then AR-ICR deletes the [AP-ID of AR-ID, positional information, life cycle and the correspondence of this AR in this step, AR-Info] and life cycle, and to sending notice at the adjacent AR of same position with this AR, notify its AR-ID that deletes above-mentioned AR, positional information, life cycle and corresponding [AP-ID, AR-Info] and life cycle thereof.
If finish the life cycle of certain [AP-ID, AR-Info], then [AP-ID is somebody's turn to do in the AR-ICR deletion in this step, AR-Info] and life cycle, and, notify its deletion above-mentioned [AP-ID, AR-Info] and life cycle thereof to sending notice at the adjacent AR of same position with this AR.
Step 303 after adjacent AR is notified, is deleted corresponding described information.
The system of present embodiment is described below, and as shown in Figure 2, this system comprises AR-ICR and one or more AR, and the structure of wherein said AR-ICR and AR as shown in Figure 7.Referring to Fig. 7, described AR-ICR comprises AR-ICR control module and AR-ICR memory module, can further include the aging module of AR-ICR; And AR comprises AR control module and AR memory module, can further include Registering modules, nullifies module and the aging module of AR.
Wherein, [AP-ID, the AR-Info] of the AR-ID of each AR of storage, positional information, life cycle and correspondence and life cycle thereof etc. in the AR-ICR memory module.AR-ID, positional information, life cycle and the [AP-ID of self of storage self in the AR memory module, AR-Info] and life cycle etc., also store adjacent AR AR-ID, positional information, life cycle and adjacent AR [AP-ID, AR-Info] and life cycle thereof etc.
In the AR infonnation collection process, the AR control module reads one or more [AP-ID, the AR-Info] of self from the AR memory module after satisfying trigger condition, and send the updating message comprise described one or more [AP-ID, AR-Info] to the AR-ICR control module.After the AR-ICR control module is received the updating message of AR, with described [AP-ID, AR-Info] be stored in the AR-ICR memory module, and according to the positional information of each AR that in the AR-ICR memory module, preserves in advance, described [AP-ID, AR-Info] sent to the adjacent AR at same position with this AR.Described adjacent AR at same position has the structure identical with AR among Fig. 7, and is therefore not shown in Figure 7.The AR control module of adjacent AR is preserved [AP-ID, the AR-Info] that received in its AR memory module after the notice that receives from AR-ICR.
In registration process, the Registering modules of AR reads AR-ID, positional information and the life cycle of self from the AR memory module, sends the registration message that comprises these information to the AR-ICR control module.The AR-ICR control module is received after the registration message of AR, preserves AR-ID, positional information and life cycle in the registration message in the AR-ICR memory module, and will be handed down to described AR in the AR of the adjacent AR of same position information with described AR by acknowledge message.After the AR Registering modules receives the confirmation message, show and succeed in registration.
In log off procedure, the cancellation module of AR sends the logout message that comprises AR-ID at least to AR-ICR, and all AR information of being preserved in the deletion AR memory module, the for example AR-ID of self and other AR, positional information, life cycle and corresponding [AP-ID, AR-Info] and life cycle thereof.After the AR-ICR control module receives the registration message of described AR, AR-ID, positional information, life cycle and the corresponding [AP-ID of the described AR that deletion AR-ICR memory module is preserved, AR-Info] and life cycle, and notice and described AR delete these information at the adjacent AR of same position.With described AR after the AR of the adjacent AR of same position control module is received the notice of AR-ICR, delete AR-ID, positional information, life cycle and corresponding [AP-ID, AR-Info] and the life cycle of the described AR that preserves in the local AR memory module.
In ageing process, the aging module of AR-ICR is made regular check on life cycle and the each [AP-ID of each AR of AR-ICR memory module, AR-Info] life cycle, if being checked through the life cycle of certain AR finishes, finish the life cycle that perhaps is checked through certain [AP-ID, AR-Info], then carries out the corresponding AR information of deletion, and, notify it to delete above-mentioned AR information to sending notice in the AR of the adjacent AR of same position control module with this AR.After the AR control module of adjacent AR is notified, the described AR information in the deletion AR memory module.
In addition, the aging module of AR is also made regular check on life cycle and the each [AP-ID of the adjacent AR of AR memory module, AR-Info] life cycle, finish if be checked through the life cycle of certain AR, finish the life cycle that perhaps is checked through certain [AP-ID, AR-Info], then carry out the corresponding AR information of deletion, for example: finish AR-ID, life cycle and [AP-ID, AR-Info] and the life cycle of then deleting described AR the life cycle that is checked through certain adjacent AR; Finish the life cycle that is checked through certain adjacent AR [AP-ID, AR-Info], and then deletion should [AP-ID, AR-Info] and life cycle.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.