WO2008017267A1 - Method and system and device for processing layer three handoff - Google Patents

Method and system and device for processing layer three handoff Download PDF

Info

Publication number
WO2008017267A1
WO2008017267A1 PCT/CN2007/070390 CN2007070390W WO2008017267A1 WO 2008017267 A1 WO2008017267 A1 WO 2008017267A1 CN 2007070390 W CN2007070390 W CN 2007070390W WO 2008017267 A1 WO2008017267 A1 WO 2008017267A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
address
layer
handover
conflict detection
Prior art date
Application number
PCT/CN2007/070390
Other languages
French (fr)
Chinese (zh)
Inventor
Yong Xie
Wenliang Liang
Original Assignee
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008017267A1 publication Critical patent/WO2008017267A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, system and device for processing a layer three handover.
  • IPv6 Internet Protocol version 6, Internet Protocol version 6
  • IPv6 Internet Protocol version 6, Internet Protocol version 6
  • Mobile IPv6 contains three functional entities: mobile node (MN, Mobile Node, or terminal), home agent (HA, Home Agent), and related nodes (CN, Correspondent Node).
  • MN mobile node
  • HA Home Agent
  • CN Correspondent Node
  • the mobile node MN in the foreign network has a home address (HoA, Home Address) and a care-of address (CoA, Care-of Address).
  • the mobile node MN registers with the home agent HA through the Binding Update (BU, Binding Update) process, the home agent HA processes the request, and maintains a correspondence table between the HoA and the CoA.
  • BU Binding Update
  • the home agent HA intercepts the data packet sent to the mobile node MN's home address HoA in the home network, and forwards it to the mobile node's care-of address CoA through the tunnel.
  • the data sent by the mobile node MN also needs to be sent via the reverse tunnel.
  • MIPv6 also defines a route optimization process, so that the data packets sent by the CN to the MN can be forwarded without HA.
  • RFC 3775 Request For Comments
  • RFC for IPv6 mobility For mobile IPv6, its mobility detection is mainly to detect the mobility of L3 (Layer 3, ie IP layer).
  • L3 Layer 3, ie IP layer
  • the mobile node MN usually determines the access path of the current service through the neighboring service node unreachable detection. Whether the device is also reachable in both directions. If it is unreachable, the mobile node MN looks for a new access router (AR, Access Router, or service node) as its current serving router (the default router). This process is a process of L3 handover.
  • the IPv6 host address stateless auto-configuration needs to obtain the prefix information of the network segment to be configured. For example, when the terminal needs to automatically configure the host address, the first need to be performed. A route broadcast message (RA) from the new AR is received, and a new care-of address COA is generated based on the message.
  • RA route broadcast message
  • FIG. 1 is a flow chart of the prior art layer three switching. In this process, in order to complete the L3 handover, the mobile node MN in the prior art needs to complete the following steps:
  • the terminal (such as the mobile node) automatically generates a new care-of address COA according to the RA message sent from the target service node;
  • the mobile node performs address conflict detection (DAD, Duplicate Address Detection) on the new care-of address COA;
  • DAD Duplicate Address Detection
  • the mobile node After detecting that the original service node is unreachable, the mobile node initiates a binding update process, completes the binding update to the HA, and completes the L3 handover.
  • step 103 the DAD detection of the new care-of address COA is completed by a timeout mechanism.
  • the mobile node MN issues a DAD check message, if no other service node responds within the set time, the new care-of address COA is considered. There is no conflict, it can be used, so it takes a long time to wait for other service nodes to answer.
  • step 105 the operation of the mobile node MN detecting that the original service node is unreachable is also completed by the timeout mechanism.
  • the terminal confirms that the L3 switch has occurred. According to the existing specifications, these timeouts are all above the second level. Such a long delay leads to QOS (Quality of Service, Service) Quality) dramatically deteriorates, seriously affecting service quality and network performance.
  • QOS Quality of Service, Service
  • step 105 may not be completed all the time, that is, the L3 switch cannot be completed.
  • the invention provides a processing method, system and device for layer three switching, which can accelerate the layer three switching process of the terminal.
  • the present invention provides a layer 3 handover processing method, including: obtaining information that a terminal is or will undergo a layer three handover; and notifying the terminal that a layer three handover occurs.
  • the present invention also provides a layer 3 handover processing method, including: obtaining information that a terminal is undergoing or is about to undergo a layer three handover; and assisting the terminal to prepare a layer three handover.
  • the present invention further provides a layer 3 handover processing system, including a network side, and further includes a layer 3 handover notification module disposed on the network side, configured to obtain the information that the terminal is or will undergo a layer three handover, and notify the The layer 3 switch occurs on the terminal.
  • the present invention further provides a processing device for layer 3 switching, comprising: an information obtaining module, configured to obtain information that a layer 3 handover is occurring or is about to occur, and a layer three handover notification module, configured to notify the terminal that layer 3 is generated Switch.
  • the present invention further provides a layer three switching processing device, comprising: an information obtaining module, configured to obtain information that a layer is being or is about to undergo a layer three handover; and an address conflict detection module, configured to perform address conflict detection instead of the terminal.
  • the L3 handover occurs by using the active notification terminal, so that the terminal does not need to detect the reachability of the original service node by means of a timeout such as DAD, thereby speeding up the process of the terminal performing the L3 handover.
  • the L3 switching delay is reduced and the wireless air interface traffic is reduced, the service interruption delay is greatly reduced, and the network performance and service quality are greatly improved.
  • the method for actively assisting the terminal to perform the L3 handover enables the terminal to detect whether the new IP address is available by using a timeout manner such as DAD, thereby speeding up the terminal to perform L3 handover.
  • a timeout manner such as DAD
  • FIG. 2 is a flow chart of a processing method for layer 3 switching of the present invention
  • FIG. 3 is a schematic block diagram of a processing system for layer 3 switching of the present invention.
  • FIG. 4 is a schematic structural diagram of a first embodiment of a layer three handover processing device according to the present invention.
  • FIG. 5 is a schematic structural diagram of a second embodiment of a layer three handover processing device according to the present invention.
  • FIG. 6 is a schematic structural diagram of a third embodiment of a layer three switching processing apparatus according to the present invention.
  • the network side In a communication system such as a mobile communication system, in order to effectively utilize wireless resources and improve network performance, the network side generally acts as a controller, and the network side controls the process of communication and most of the behavior of the terminal in the network.
  • the network side can determine whether the terminal with which it is communicating needs to have an L3 switch (a L3 switch is about to occur) or whether an L3 switch is occurring.
  • the network side may actively notify the terminal that an L3 handover has occurred, without using the timeout manner of the terminal to detect whether the new IP address is available or whether the original service node is reachable.
  • the switching of the network side control can implement the context information about the terminal and the link between the original service node and the target service node. With the information, the network side can further complete the context information generation of the target service node, and generate an IP address to implement the network.
  • the L3 switch initiated by the side actively does not need to generate an IP address by interacting with the terminal.
  • the embodiment of the present invention clearly illustrates the technical solution of the present invention by taking the L3 handover of the mobile node in the mobile communication as an example.
  • the router that sends the RA message can obtain the context information of the terminal from other entities in the network or other ways, And when it is determined that the terminal will be connected to the router, the present invention can also be applied to these networks.
  • the original service node, the target service node, the terminal, the network entity where the service node is located, and the functional entity such as the network controller may be involved.
  • the service node may be an access router.
  • the protocol used may be RFC3775 for Mobile IPv6 and related protocols such as RFC3776. Those skilled in the art will recognize that other suitable protocols may also be used, such as RFC 3775 and RFC 3776 described above, which are merely exemplary.
  • One embodiment of the present invention uses the network side to send an RA message carrying the extended control identifier to the terminal to notify the terminal that a layer three handover occurs.
  • the extended control identifier is composed of five retaining bits in the RA message. The definition is as follows:
  • RCI Ring Configuration Indicator
  • Type 9 or other value that does not conflict with the current RFC specification.
  • IID length Length of the entire Option identified by 8 bytes, including the Type and Length fields.
  • IID length The length of the IID or IP address field (in bits). The value is 0 ⁇ 128. When the field is 128, it indicates that it carries a complete IP address. When it is other values, it indicates that it carries IID information.
  • Reserved Reserved field, can be filled in 0, the receiver ignores its contents.
  • IID or IP address The IID or IP address generated by the router for the terminal.
  • the IP address and IID are generated in accordance with the specifications of the RFC protocol.
  • the padding bit is a range of 0 to 63 bits to ensure that the entire Option is an 8-byte integer.
  • the target serving node controls the L3 switching operation of the terminal by using the value of the bit in the RCI in combination with the Option option:
  • the target serving node that sends the RA message can obtain the context information of the terminal from other entities of the network or other means, and determines that the terminal will move to the serving node, send a point-to-point RA message, which includes the RCI bit, Selected, you can also include the IID Option.
  • the above extension of the RA message is mainly applicable to the case of mobile IP.
  • the network can also speed up the access process of the terminal in the service node by adding the above information in the RA message, reducing the delay and improving the quality of service.
  • the terminal node After the terminal node receives the RA message containing the RCI bit (optional, which also contains the IID option), it is divided into four cases:
  • the RCI is the first extended control identifier: 11, indicating that the layer three handover has occurred, and the terminal obtains the IP address according to the RFC specification, and performs subsequent operations after the layer 3 handover has been detected.
  • the network side in the subsequent embodiment of FIG. 2 does not perform address conflict detection for the terminal.
  • the terminal needs to perform DAD subsequently, since it is known that the layer 3 handover has occurred, it is no longer necessary to complete the operation of the original service node unreachable through the timeout mechanism.
  • the time is shortened and the time is accelerated. Layer 3 switching process.
  • the RCI is the second extended control identifier: 10, indicating that the layer three handover has occurred, and the network side has performed DAD detection and passed for the IID currently used by the terminal.
  • the IP address of the terminal is stateless, the IP address on the link (ie, the new link after layer 3 switching) is directly generated by its IID and the RA message, and DAD detection is not required.
  • the IP address on the link is the care-of address, and the target serving node immediately sends the binding update message carrying the IP address to the home agent; If the IP address of the terminal is stateful, and the RA message carries the IID or IP address, the terminal uses the IP address in the RA message or the IP address generated by the IID as its new link (ie, Layer 3).
  • the IP address on the switched new link) is no longer DAD. It can be seen that, in this case, the terminal no longer needs to complete the DAD through the timeout mechanism, so compared with the prior art, the time is shortened and the layer 3 switching process is accelerated.
  • the RCI is the third extended control identifier: 01, indicating that the layer three handover has occurred, and the network side has performed the DAD detection for the IID currently used by the terminal but fails (indicating that a collision has occurred).
  • the terminal performs subsequent operations according to the specifications defined by the RFC; if the RA message carries the IID or IP address
  • the terminal uses the IP address carried in the RA message or the IP address generated by the IID carried thereby as its IP address on the new link, and does not perform DAD detection. It can be seen that, in this case, the terminal no longer needs to complete the DAD through the timeout mechanism, so compared with the prior art, the time is shortened and the layer three switching process is accelerated.
  • the RCI is the fourth extended control identifier: 00, indicating compatibility with the current RFC definition, and the terminal is processed according to the existing RFC specification.
  • FIG. 2 is a flowchart of a method for processing a layer 3 handover according to the present invention. Including the following steps:
  • L3 switching occurs or needs to occur (imminently) L3 switching
  • This step means that the network side knows that the terminal is happening or needs to happen (will happen) L3 handover.
  • IPv6 when resource optimization or regulation by a network controller, the network side can determine whether the terminal with which it is communicating is about to undergo an L3 handover or whether an L3 handover is occurring. If the network side does not replace the terminal to perform address conflict detection on the IP address, the step (201) directly proceeds to the following step 205, that is, the R3 message carrying the first extended control identifier is directly sent to the terminal, and the terminal is sent to the terminal. L3 switches, and the network side does not perform steps 202 to 204. If the network side wants to perform address conflict detection for its IP address for the terminal, the following steps (202 to 204) are performed.
  • the target service node obtains context information of the terminal from the original serving node.
  • the network side can implement the context information about the terminal and the link between the original service node and the target service node, and the context information includes the interface identifier IID currently used by the terminal.
  • the target service node generates a new IP address based on the obtained IID and the prefix information of the serving node (access router).
  • the target service node directly performs address conflict detection on the IP address generated by using the IID.
  • the target service node generates a new IP address according to the terminal IID and the prefix of the serving node (access router), and replaces the terminal to address the new IP address.
  • the collision detection DAD is to test whether the new IP address is available for the terminal to perform a new link after the layer three handover.
  • the target service node (access router) is required to perform DAD instead of the terminal, but the RFC specification of the prior art does not stipulate this aspect. Therefore, the DDA of the network side can be implemented by extending the existing RFC. Steps, here are a few options:
  • the target service node conflicts with the existing IP address by the IP address configured by all the terminal records recorded by the network entity. For some networks, because the network control needs, the network entity where the target service node (access router) is located records the IP address list or IID list of all the terminals configured under it, so this method can be used to DAD the new IP address.
  • the detection object of the address conflict detection is a list of IP addresses of all terminals currently used on the current link saved on the Neighbor Cache, and the target service node finds that an IP address is aged and is ready to be deleted. Before detecting whether the IP address is still valid, if it is still retained, the status is set to reach, otherwise it is deleted.
  • the service node maintains a list of neighbors. The list stores the IP address of the neighbor service node with which the service node has communicated for a certain period of time. If the IP address list is a list of IP addresses of all terminals currently in use on the current link, the network can obtain an IP address to be used by the newly entered terminal that does not conflict with the existing IP address according to this list. It can be seen that the target service node can also implement DAD by using neighbor list information.
  • the address conflict detection is specifically: the target service node directly to the terminal locally
  • the used IP address (such as the IP address generated according to the IID currently used by the terminal) transmits an address conflict detection message for address collision detection.
  • the target service node (access router) can also directly send DAD messages locally, instead of the terminal for address collision detection.
  • step 204 determining whether the address conflict detection is successful, is (ie, successful, no conflict), that the new IP address is considered available, proceeds to step 205, otherwise proceeds to step 206;
  • step 207 Send an RA message to the terminal, indicating that an L3 handover occurs, and no address conflict detection is performed, and then proceeds to step 207.
  • This step corresponds to the case where the RCI described above is the second extended control flag. That is, the RA message indicates that Layer 3 switching has occurred, and the network side has performed DAD detection and passed for the IID currently used by the terminal.
  • the IP address of the terminal is stateless, the IP address on the link is directly generated by the terminal directly with its IID and the RA message, and DAD detection is not required, and the processing method of the layer 3 handover is applied.
  • the IP address on the link is a care-of address
  • the target serving node immediately sends a binding update message carrying the IP address to the home agent; when the IP address of the terminal is stateful And the RA message carries the IID or the IP address, and the terminal uses the IP address carried in the RA message or the IP address generated by the carried IID as its IP address on the new link.
  • the new IP address used by the terminal on the new link after the layer 3 handover may be directly localized by the terminal with the IID currently used and the target service node (access router) prefix information provided by the RA message.
  • the generated may also be obtained by the IID or IP address in the RA message carrying the Option option.
  • steps 206a, 206b, and 206c are remedial measures taken by the terminal to determine, based on the received RA message, that the address conflict detection performed by the network side does not pass.
  • One of 206a, 206b, and 206c may be selected, and then proceeds to step 207.
  • the target service node generates a new IID or IP address information, completes the DAD detection, and sends The RA message carrying the new IID or IP address is sent to the terminal, indicating that the L3 handover occurs, and the terminal is required to use the new IID carried to generate an IP address or directly use the carried IP address. In this way, the DAD fails for the terminal on the network side, and the terminal does not need to perform DAD again.
  • Step 203 is to directly obtain the IID currently used by the terminal from the original serving node, and here the target service node generates a new IID for the terminal and informs the terminal. In addition, this mode corresponds to the case where the foregoing RCI is the third extended control identifier, carrying the IID or the IP address.
  • the target service node directly allocates a non-conflicting IP address to the terminal, and sends the IP address or the IID corresponding to the IP address to the terminal for direct use.
  • the network side actively replaces the terminal to perform DAD or actively informs the terminal that the L3 handover occurs, so that the terminal does not use the timeout manner to detect whether the new IP address is available or the original service node. Whether it is reachable or not, the present invention can reduce the L3 handover delay and reduce the wireless air interface traffic.
  • the active replacement of the terminal for the DAD includes two cases, and the other is to detect that the terminal is not assigned a conflicting IP address with the current use of the terminal.
  • the target serving node can directly allocate a non-conflicting IP address to the terminal, and send an RA message carrying the IP address to the terminal for direct use without steps 202-204.
  • the target service node allocates a non-conflicting IP address to the terminal, the terminal does not need to perform DAD, and the terminal also performs the L3 handover process. It can be seen that both of the above cases have achieved the purpose of replacing the terminal for DAD.
  • the active alternate terminal DAD and the notification terminal may be combined with the L3 switch, which can better reduce the L3 handover delay and accelerate the L3 handover process.
  • the terminal may not be able to obtain information that L3 is handed over. Due to The network side actively informs the terminal that an L3 handover has occurred, so that the process of discovering the L3 handover by the terminal can be accelerated.
  • the target service node can obtain the IP address used by the terminal before sending the RA information to the terminal, it is possible to detect in advance whether the IP address to be used by the terminal in the new service node or the network is conflicting or legal; In the case where the result of the DAD is a conflict, the terminal may further specify a new IP address that does not conflict.
  • the embodiment of the present invention can greatly speed up the handover time when the terminal accesses a new service node, in particular, speeds up the L3 handover in the mobile IP, and greatly reduces the interruption time of the service, which is large.
  • the layer 3 or layer 2 message may be used to notify the terminal to perform the layer 3 handover.
  • the method for extending the RA message in the foregoing embodiment is used to implement the layer 3 handover of the active notification terminal, and the extension may be achieved by other extension methods.
  • the goal can also be implemented by adding a similar message carrying relevant information. However, how these implementations change is within the protection scope of this patent.
  • Another embodiment of the present invention further provides a layer three handover processing system, including a network side, a terminal 320, an address conflict detection module 311 and a layer three handover notification module 312 disposed on the network side.
  • the address conflict detection module 311 and the layer three handover notification module 312 may be disposed in the target service node 310.
  • the target service node obtains the context information of the terminal 320 from the original service node 330, where the context information includes the interface of the terminal 320. Identifies the IID that is used to generate a new IP address along with the prefix broadcast by the target service node.
  • the address conflict detection module 311 is configured to obtain, by the network side, the IID or IP address available to the terminal 320 through address conflict detection when the terminal 320 is aware that the terminal 320 is occurring or needs to be generated (immediately).
  • the layer 3 handover notification module 312 is configured to notify the terminal 320 to perform a layer 3 handover, and enable the terminal 320 to obtain an IP address corresponding to the IID or directly obtain the foregoing IP address.
  • the foregoing network side knows that the terminal 320 is happening or is about to undergo a layer three handover, and can be implemented by obtaining information indicating that the terminal 320 is or will undergo a layer three handover, and the module that performs the function can be called a module. Information acquisition module.
  • the address conflict detection module 311 is specifically configured to: directly determine, according to the IP address list or IID list 340 configured by all the terminals 320 recorded by the network entity where the target service node 310 is located, whether the IP address or the IP address generated by the IID is Conflict with an existing IP address.
  • the address conflict detection module 311 is performing on the current link saved according to the neighbor list information.
  • the IP address list 350 of all terminals used obtains an IP address to be used by a newly entered terminal that does not conflict with an existing IP address.
  • the NS message is sent to detect whether the IP address is still valid, and then the reservation is continued, and the state is set to reach, otherwise, the deletion is performed.
  • the address conflict detection module 311 is further configured to: directly send an address conflict detection message locally to perform address conflict detection.
  • the Layer 3 handover notification module 312 is specifically configured to send an RA message carrying the extended control identifier to the terminal 320 to notify the terminal 320 to perform a layer 3 handover.
  • the extended control identifier may be composed of two of the five reserved bits in the RA message. Since the specific content related to the extended control identifier has been described in detail in the foregoing (see Tables 1, 2, and 3), Let me repeat.
  • the extended control flag indicates that the terminal 320 does not need to perform address collision detection.
  • the terminal 320 is configured to determine whether the network side obtains an available IID or an IP address according to the information notified by the layer three handover notification module 312, and then generates an IP address locally; otherwise, the IID or the network side sends the IID or IP address. If the IID is sent by the network side, an IP address is generated according to the IID.
  • the target serving node 310 sends an RA message to the terminal 320 via the layer three handover notification module 312, indicating that the L3 handover occurs. That is, the RA message indicates that the layer three handover has occurred, and the address conflict detection module 311 has performed DAD detection and passed for the IID currently used by the terminal 320.
  • the terminal 320 directly generates the IP address on the link directly with the IID and the RA message currently used by the terminal 320, and does not need to perform DAD detection.
  • the IP address on the link is the care-of address, and the layer 3 handover notification module 312 immediately sends the binding update message carrying the IP address to the home agent; If the IP address is in the state of stateful generation, and the RA message carries the IID or IP address, the terminal 320 uses the IP address carried by the RA message or the IP address generated by the carried IID as its new link. IP address.
  • the layer 3 handover notification module 312 sends an RA message to the terminal 320, indicating that the L3 handover occurs and indicates that the IID currently used by the terminal conflicts, and the terminal 320 receives Behavior as defined by existing RFCs Take action.
  • the address conflict detection module 311 fails the DAD for the terminal 320, and the terminal 320 is required to complete the DAD;
  • the target service node 310 generates the new IID information, and the address conflict detection module 311 completes the DAD detection.
  • the layer three handover notification module 312 sends the RA message carrying the new IID to the terminal 320, indicating that the L3 handover occurs, and the terminal 320 is required to update the IID, and use the new IID to generate an IP address.
  • the network side fails the DAD for the terminal 320 and assigns a new IID to it, so the terminal 320 is not required to complete the DAD again;
  • the target service node 310 directly generates a non-conflicting IP address for the terminal 320 through the address conflict detection module 311, and the layer 3 handover notification module 312 sends an RA message carrying the IP address to the terminal 320 for direct use.
  • FIG. 4 it is a schematic structural diagram of a first embodiment of a layer three switching processing device according to the present invention.
  • the processing device in this embodiment includes an information obtaining module 410 and a layer three switching notification module 420.
  • the internal structure and the connection relationship are further described below in conjunction with the working principle of the processing device.
  • the information obtaining module 410 of the processing device is configured to obtain information that the terminal is or will undergo a layer three handover and notify the layer three handover notification module. Further, the layer three handover notification module 420 notifies the terminal that a layer three handover occurs. Therefore, the terminal can complete the unreachable operation of the original service node without using the timeout mechanism, and shorten the process of the layer three handover.
  • the processing device may further include an address conflict detection module, configured to perform address conflict detection instead of the terminal.
  • an address conflict detection module configured to perform address conflict detection instead of the terminal.
  • FIG. 5 is a schematic structural diagram of a second embodiment of a layer three handover processing device according to the present invention.
  • the processing device in this embodiment includes an information obtaining module 510, a layer three switching notification module 520, and an address conflict detecting module 530.
  • the information obtaining module 510 is configured to obtain information that the terminal is or will undergo a layer three handover and notify the layer three handover notification module 520 and the address conflict detection module 530.
  • the layer three handover notification module 520 is configured to notify the terminal that a layer three handover occurs.
  • the address conflict detection module 530 is used to perform address conflict detection instead of the terminal, and the specific implementation manner thereof is various.
  • the address conflict detection module includes a first address conflict detection module, configured to perform collision detection on the first IP address used by the terminal on the new link after layer 3 handover.
  • the first IP address may be an IP address generated by the IID currently used by the terminal and the target service node (access router) prefix information, or the terminal may be in the original link.
  • the detection result may be notified to the terminal through the layer three handover notification module 420.
  • the address conflict detection module may further include a second address conflict detection module, configured to allocate a second IP address that does not conflict to the terminal, and pass the interface identifier corresponding to the second IP address or the second IP address through a layer
  • the three handover notification module 420 notifies the terminal.
  • the address conflict detection module 530 may include only the first address conflict detection module or only the second conflict module.
  • the processing device does not perform collision detection on the first address, but directly allocates a non-conflicting IP address to the terminal, so that the terminal can no longer need to perform an address. Conflict detection.
  • the address conflict detection module 530 can include both a first address conflict detection module and a second address conflict detection module. In this case, if the detection result of the first address conflict detection module is not conflicting, the layer 3 notification notification module 420 notifies the terminal, and the terminal does not need to perform address conflict detection again. If the detection result of the first address conflict detection module is a conflict, the second address conflict detection module allocates a non-conflicting second IP address to the terminal for use by the terminal on the new link after the layer 3 handover.
  • FIG. 6 is a schematic structural diagram of a third embodiment of a layer three handover processing device according to the present invention.
  • the layer three handover processing device in the embodiment of the present invention includes an information obtaining module 610 and an address conflict detecting module 630.
  • the information obtaining module 610 is configured to obtain information that the terminal is or will undergo a layer three handover, and notify the address conflict detection module 630.
  • the address conflict detection module 630 may include a third address conflict detection module, configured to perform address conflict detection on the first IP address used on the new link after the layer 3 switchover, and notify the detection result.
  • the terminal may further include a fourth address conflict detection module, configured to allocate a second IP address that does not conflict to the terminal, and notify the interface identifier corresponding to the second IP address or the second IP address. terminal.
  • the address conflict detection module 630 may include only the third address conflict detection module or only the fourth conflict module.
  • the processing device does not perform collision detection on the first IP address, but directly allocates a non-conflicting IP address to the terminal, so that the terminal can be no longer needed. Address conflict detection.
  • the address conflict detection module 630 can include both a third address conflict detection module, and A fourth address conflict detection module is included. In this case, if the detection result of the third address conflict detection module is not conflicting, the detection result of the address non-collision is directly notified to the terminal, and the terminal does not need to perform address conflict detection again. If the detection result of the third address conflict detection module is a conflict, the fourth address conflict detection module allocates a non-conflicting second IP address to the terminal for use by the terminal on the new link after the layer 3 handover.
  • the address conflict detection module 311 actively replaces the terminal 320 for DAD, and the layer three handover notification module 312 actively informs the terminal 320 that an L3 handover has occurred, so that the terminal 320 does not use the timeout method to detect the new IP.
  • the L3 handover delay can be reduced and the wireless air interface traffic can be reduced, the process of the L3 handover can be accelerated by the terminal 320, the service interruption time is greatly reduced, and the network performance is greatly improved. And quality of service.

Abstract

A method for processing layer three handoff in the technical field of communication system is provided. The method includes the following steps: obtaining the information that a terminal has or will have layer three handoff; notifying the terminal of the layer three handoff. Another method for processing layer three handoff is also provided, which includes the following steps: obtaining the information that a terminal has or will have layer three handoff; assisting the terminal to prepare the layer three handoff. A system and a device for processing layer three handoff are also provided. By the above technical projects, the speed of the layer three handoff process of terminal can be increased.

Description

层三切换的处理方法、 系统及设备  Layer three switching processing method, system and device
本申请要求于 2006 年 7 月 31 日提交中国专利局、 申请号为 200610104036.X,发明名称为"层三切换的处理方法及其系统"的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。  This application claims priority to Chinese Patent Application No. 200610104036.X, filed on July 31, 2006, entitled "Layer 3 Switching Processing Method and System", the entire contents of which are incorporated by reference. In this application.
技术领域 Technical field
本发明涉及通信技术领域,特别是涉及一种层三切换的处理方法、 系统及 设备。  The present invention relates to the field of communications technologies, and in particular, to a method, system and device for processing a layer three handover.
背景技术 Background technique
为应对因移动和宽带技术的飞速发展而急剧增长的对 IP ( Internet Protocol , 互联网协议 )地址的需求,提出了下一代互联网协议一 IPv6 ( Internet Protocol version 6,互联网协议第 6版)。 IPv6最本质的改进是将原 IPv4(Intemet Protocol version 4, 互联网协议第 4版)的地址长度由 32位增加到 128位, 从 而带来了几乎无限的 IP地址空间。 除此之外, IPv6还采用主机地址无状态自 动配置等许多技术。  In response to the rapidly growing demand for IP (Internet Protocol) addresses due to the rapid development of mobile and broadband technologies, the next generation Internet Protocol, IPv6 (Internet Protocol version 6, Internet Protocol version 6), was proposed. The most essential improvement of IPv6 is to increase the address length of the original IPv4 (Intemet Protocol version 4, Internet Protocol version 4) from 32 bits to 128 bits, resulting in an almost unlimited IP address space. In addition, IPv6 also uses many technologies such as host address stateless autoconfiguration.
移动 IPv6(MIPv6)中包含三个功能实体: 移动节点( MN, Mobile Node, 或 称终端)、 家乡代理(HA, Home Agent ) 以及相关节点 ( CN, Correspondent Node )。 在终端的移动性 IPv6接入过程中, 处于外地网络的移动节点 MN拥 有家乡地址( HoA, Home Address )以及转交地址 (CoA, Care-of Address)。 移动 节点 MN通过绑定更新 ( BU, Binding Update )过程, 向家乡代理 HA进行注 册, 家乡代理 HA处理请求 ,并且维护一个 HoA和 CoA的对应关系表。此后 , 家乡代理 HA在家乡网络截取发往移动节点 MN的家乡地址 HoA的数据包 , 并且通过隧道转发到移动节点的转交地址 CoA。 移动节点 MN发出的数据也 需要经由反向隧道发送。 另外 MIPv6还定义了路由优化过程, 使得 CN发到 MN的数据包, 可以不用经过 HA的转发。  Mobile IPv6 (MIPv6) contains three functional entities: mobile node (MN, Mobile Node, or terminal), home agent (HA, Home Agent), and related nodes (CN, Correspondent Node). In the mobility IPv6 access process of the terminal, the mobile node MN in the foreign network has a home address (HoA, Home Address) and a care-of address (CoA, Care-of Address). The mobile node MN registers with the home agent HA through the Binding Update (BU, Binding Update) process, the home agent HA processes the request, and maintains a correspondence table between the HoA and the CoA. Thereafter, the home agent HA intercepts the data packet sent to the mobile node MN's home address HoA in the home network, and forwards it to the mobile node's care-of address CoA through the tunnel. The data sent by the mobile node MN also needs to be sent via the reverse tunnel. In addition, MIPv6 also defines a route optimization process, so that the data packets sent by the CN to the MN can be forwarded without HA.
为了支持终端的移动性 IPv6接入, Internet工程任务组(IETF, Internet In order to support mobile IPv6 access of the terminal, Internet Engineering Task Force (IETF, Internet)
Engineering Task Force )定义了对于 IPv6的移动性支持 RFC3775 (Request For Comments, 请求注解)以及相关的安全规范 RFC。 对移动 IPv6来说, 其移动 性检测主要是为检测 L3 (层三, 即 IP层) 的移动性。 在上述 RFC规范中, 移动节点 MN通常是通过邻区服务节点不可达检测来确定当前服务的接入路 由器是否还双向可达。 如果不可达, 移动节点 MN寻找一个新的接入路由器 ( AR, Access Router,也即服务节点)作为其当前服务的路由器(缺省路由器), 这个过程就是一次发生 L3切换的过程。 Engineering Task Force defines RFC 3775 (Request For Comments) and related security specifications RFC for IPv6 mobility. For mobile IPv6, its mobility detection is mainly to detect the mobility of L3 (Layer 3, ie IP layer). In the above RFC specification, the mobile node MN usually determines the access path of the current service through the neighboring service node unreachable detection. Whether the device is also reachable in both directions. If it is unreachable, the mobile node MN looks for a new access router (AR, Access Router, or service node) as its current serving router (the default router). This process is a process of L3 handover.
在移动节点 MN检测到 L3(IP层)发生切换时, IPv6的主机地址无状态自 动配置需要获得所需要配置的网段的前缀 (Prefix)信息,比如当终端需要自动配 置主机地址时, 需要首先接收来自新 AR的路由广播消息(RA ), 根据这个消 息生成新的转交地址 COA。请参阅图 1, 其为现有技术层三切换的流程图。在 这个过程中, 为完成 L3切换, 现有技术中的移动节点 MN需要按以下步骤完 成:  When the mobile node MN detects that the L3 (IP layer) is switched, the IPv6 host address stateless auto-configuration needs to obtain the prefix information of the network segment to be configured. For example, when the terminal needs to automatically configure the host address, the first need to be performed. A route broadcast message (RA) from the new AR is received, and a new care-of address COA is generated based on the message. Please refer to FIG. 1, which is a flow chart of the prior art layer three switching. In this process, in order to complete the L3 handover, the mobile node MN in the prior art needs to complete the following steps:
101、 发生 L3切换或需要发生 (即将要发生) L3切换, 此时终端仍不知 道;  101, L3 switching occurs or needs to occur (imminently) L3 switching, the terminal still does not know;
102、终端 (如移动节点)根据从目标服务节点发来的 RA消息自动生成新的 转交地址 COA;  102. The terminal (such as the mobile node) automatically generates a new care-of address COA according to the RA message sent from the target service node;
103、 移动节点对新的转交地址 COA做地址冲突检测 (DAD, Duplicate Address Detection );  103. The mobile node performs address conflict detection (DAD, Duplicate Address Detection) on the new care-of address COA;
104、 判断地址冲突检测是否成功, 是(即成功、 地址不冲突)就认为新 的转交地址 COA地址可用;  104. Determine whether the address conflict detection is successful, and (ie, the success, the address does not conflict), that the new care-of address COA address is considered to be available;
105、移动节点检测原服务节点不可达后,发起绑定更新过程, 完成到 HA 的绑定更新, 从而完成 L3切换。  105. After detecting that the original service node is unreachable, the mobile node initiates a binding update process, completes the binding update to the HA, and completes the L3 handover.
对于终端确认发生 L3切换来说, 上述步骤 103和 105不分先后。  For the terminal to confirm that the L3 handover occurs, the above steps 103 and 105 are in no particular order.
发明人在实现本发明的过程中发现, 上述现有技术 L3的切换过程中, 终 端发现 L3切换或者完成从原服务节点切换到目标服务节点的流程非常耗时, 而且在有些场景下无法完成 L3的切换。首先在步骤 103中,对新转交地址 COA 的 DAD检测是通过超时机制来完成的 , 当移动节点 MN发出 DAD检查消息 时, 如果在设定时间内没有其他服务节点应答, 即认为新转交地址 COA没有 冲突, 才可以使用, 因此需要花费较长时间等待其他服务节点应答; 其次, 在 步骤 105中,移动节点 MN检测原服务节点不可达的操作也是通过超时机制完 成的。 进行上述两步骤后, 终端才确认发生 L3切换。 根据现有规范, 这些超 时都是在秒级以上。 这么长的时延导致业务的 QOS ( Quality of Service, 服务 质量) 急剧变差, 严重影响服务质量和网络性能。 During the process of implementing the present invention, the inventor has found that in the handover process of the prior art L3, the process of discovering the L3 handover or completing the handover from the original service node to the target service node is very time consuming, and the L3 cannot be completed in some scenarios. Switching. First, in step 103, the DAD detection of the new care-of address COA is completed by a timeout mechanism. When the mobile node MN issues a DAD check message, if no other service node responds within the set time, the new care-of address COA is considered. There is no conflict, it can be used, so it takes a long time to wait for other service nodes to answer. Secondly, in step 105, the operation of the mobile node MN detecting that the original service node is unreachable is also completed by the timeout mechanism. After performing the above two steps, the terminal confirms that the L3 switch has occurred. According to the existing specifications, these timeouts are all above the second level. Such a long delay leads to QOS (Quality of Service, Service) Quality) dramatically deteriorates, seriously affecting service quality and network performance.
另外, 在无线网络中, 为了保证服务质量, 有时要求在切换过程中, 在新 的通信双方还没有完成通信建立的时候, 不拆除老的通信链路, 因为这个过程 中原服务节点一直处于可达状态, 因此步骤 105可能一直无法完成,也即一直 无法完成 L3切换。  In addition, in the wireless network, in order to ensure the quality of service, it is sometimes required that during the handover process, when the new communication parties have not completed communication establishment, the old communication link is not removed, because the original service node is always reachable in this process. State, so step 105 may not be completed all the time, that is, the L3 switch cannot be completed.
发明内容 Summary of the invention
本发明提供一种层三切换的处理方法、 系统及设备, 能够加速终端的层三 切换进程。  The invention provides a processing method, system and device for layer three switching, which can accelerate the layer three switching process of the terminal.
本发明提供了一种层三切换的处理方法, 包括: 获得终端正在发生或将要 发生层三切换的信息; 通知所述终端发生层三切换。  The present invention provides a layer 3 handover processing method, including: obtaining information that a terminal is or will undergo a layer three handover; and notifying the terminal that a layer three handover occurs.
本发明还提供了一种层三切换的处理方法, 包括: 获得终端正在发生或将 要发生层三切换的信息; 协助终端准备层三切换。 本发明还提供了一种层三切换的处理系统, 包括网络侧,进一步包括设置 于网络侧的层三切换通知模块,用于获得终端正在发生或将要发生层三切换的 信息后, 通知所述终端发生层三切换。  The present invention also provides a layer 3 handover processing method, including: obtaining information that a terminal is undergoing or is about to undergo a layer three handover; and assisting the terminal to prepare a layer three handover. The present invention further provides a layer 3 handover processing system, including a network side, and further includes a layer 3 handover notification module disposed on the network side, configured to obtain the information that the terminal is or will undergo a layer three handover, and notify the The layer 3 switch occurs on the terminal.
本发明还提供了一种层三切换的处理设备, 包括: 信息获得模块, 用于获 得终端正在发生或将要发生层三切换的信息; 层三切换通知模块, 用于通知所 述终端发生层三切换。  The present invention further provides a processing device for layer 3 switching, comprising: an information obtaining module, configured to obtain information that a layer 3 handover is occurring or is about to occur, and a layer three handover notification module, configured to notify the terminal that layer 3 is generated Switch.
本发明还提供了一种层三切换处理设备, 包括: 信息获得模块, 用于获得 终端正在发生或将要发生层三切换的信息; 地址冲突检测模块, 用于代替终端 进行地址冲突检测。  The present invention further provides a layer three switching processing device, comprising: an information obtaining module, configured to obtain information that a layer is being or is about to undergo a layer three handover; and an address conflict detection module, configured to perform address conflict detection instead of the terminal.
从以上本发明的一个技术方案可以看出, 由于采用主动通知终端发生了 L3切换,使得终端不用通过诸如 DAD等超时的方式来检测原服务节点是否可 达, 因此可以加速终端进行 L3切换的过程、 减少 L3切换时延并减少无线空 口流量、 大大减少了业务的中断时延、 较大幅度提高了络性能和服务质量。  It can be seen from the above technical solution of the present invention that the L3 handover occurs by using the active notification terminal, so that the terminal does not need to detect the reachability of the original service node by means of a timeout such as DAD, thereby speeding up the process of the terminal performing the L3 handover. The L3 switching delay is reduced and the wireless air interface traffic is reduced, the service interruption delay is greatly reduced, and the network performance and service quality are greatly improved.
从以上本发明的另一个技术方案可以看出 , 由于采用主动协助终端进行 L3切换的方式, 使得终端不用通过诸如 DAD等超时的方式来检测新 IP地址 是否可用, 因此可以加速终端进行 L3切换的过程、 减少 L3切换时延并减少 无线空口流量、 大大减少了业务的中断时延、较大幅度提高了网络性能和服务 质量。 It can be seen from the above other technical solutions of the present invention that the method for actively assisting the terminal to perform the L3 handover enables the terminal to detect whether the new IP address is available by using a timeout manner such as DAD, thereby speeding up the terminal to perform L3 handover. Process, reduce L3 handover delay and reduce wireless air interface traffic, greatly reduce service interruption time, and greatly improve network performance and service Quality.
附图说明 DRAWINGS
图 1是现有技术层三切换的流程图;  1 is a flow chart of a prior art layer 3 switching;
图 2是本发明层三切换的处理方法流程图;  2 is a flow chart of a processing method for layer 3 switching of the present invention;
图 3是本发明层三切换的处理系统原理框图;  3 is a schematic block diagram of a processing system for layer 3 switching of the present invention;
图 4为本发明层三切换处理设备的第一实施例结构示意图;  4 is a schematic structural diagram of a first embodiment of a layer three handover processing device according to the present invention;
图 5为本发明层三切换处理设备的第二实施例结构示意图;  5 is a schematic structural diagram of a second embodiment of a layer three handover processing device according to the present invention;
图 6为本发明层三切换处理设备的第三实施例结构示意图。  FIG. 6 is a schematic structural diagram of a third embodiment of a layer three switching processing apparatus according to the present invention.
具体实施方式 detailed description
在通信系统比如移动通信系统中,为了有效利用无线资源、提高网络性能, 网络侧一般充当控制者的角色,网络侧控制着通信的过程和终端在网络中的大 部分行为。 一般而言, 网络侧能够判断出与之通信的终端是否需要发生 L3切 换(即将要发生 L3切换)或是否正在发生 L3切换。 本发明实施例提供的技 术方案中, 网络侧可以主动通知终端发生了 L3切换, 而不用终端通过超时的 方式来检测新 IP地址是否可用或原服务节点是否可达。 另外, 网络侧控制的 切换,能够实现在原服务节点和目标服务节点间传递有关终端和链接的上下文 信息,利用这些信息,网络侧可以进一步完成目标服务节点的上下文信息生成, 生成 IP地址以实现网络侧主动发起的 L3切换,而不用再通过与终端交互生成 IP地址等操作。  In a communication system such as a mobile communication system, in order to effectively utilize wireless resources and improve network performance, the network side generally acts as a controller, and the network side controls the process of communication and most of the behavior of the terminal in the network. In general, the network side can determine whether the terminal with which it is communicating needs to have an L3 switch (a L3 switch is about to occur) or whether an L3 switch is occurring. In the technical solution provided by the embodiment of the present invention, the network side may actively notify the terminal that an L3 handover has occurred, without using the timeout manner of the terminal to detect whether the new IP address is available or whether the original service node is reachable. In addition, the switching of the network side control can implement the context information about the terminal and the link between the original service node and the target service node. With the information, the network side can further complete the context information generation of the target service node, and generate an IP address to implement the network. The L3 switch initiated by the side actively does not need to generate an IP address by interacting with the terminal.
本发明实施例以移动通信中移动节点发生 L3切换为例以来清楚说明本发 明的技术方案, 当然, 其他一般网络中, 当发送 RA消息的路由器能够从网络 其他实体或其他途径获得终端的上下文信息,并且确定终端将接入到本路由器 下时, 本发明也可以应用在这些网络中。在所述移动通信中, 进行 L3切换时, 可以涉及原服务节点、 目标服务节点、 终端、服务节点所在的网络实体以及网 络控制器等等功能实体。其中服务节点可以是接入路由器。所用的协议可以是 移动 IPv6的 RFC3775以及相关的安全规范 RFC3776等相关协议。 本领域的 技术人员应当认识到还可以使用其它合适的协议, 上述 RFC3775 以及 RFC3776等协议仅是示例性的。  The embodiment of the present invention clearly illustrates the technical solution of the present invention by taking the L3 handover of the mobile node in the mobile communication as an example. Of course, in other general networks, when the router that sends the RA message can obtain the context information of the terminal from other entities in the network or other ways, And when it is determined that the terminal will be connected to the router, the present invention can also be applied to these networks. In the mobile communication, when the L3 handover is performed, the original service node, the target service node, the terminal, the network entity where the service node is located, and the functional entity such as the network controller may be involved. The service node may be an access router. The protocol used may be RFC3775 for Mobile IPv6 and related protocols such as RFC3776. Those skilled in the art will recognize that other suitable protocols may also be used, such as RFC 3775 and RFC 3776 described above, which are merely exemplary.
以下结合实施方式和附图, 对本发明的实施方式进行伴细描述。 本发明的一个实施例采用网络侧发送携带扩展控制标识的 RA 消息给终 端的方式通知所述终端发生层三切换。所述扩展控制标识采用 RA消息中五个 保 位 两 组成。 定义如下: Embodiments of the present invention will be described in detail below with reference to the embodiments and the accompanying drawings. One embodiment of the present invention uses the network side to send an RA message carrying the extended control identifier to the terminal to notify the terminal that a layer three handover occurs. The extended control identifier is composed of five retaining bits in the RA message. The definition is as follows:
Figure imgf000007_0002
Figure imgf000007_0002
表一: RA消息中的扩展控制标识  Table 1: Extended Control ID in RA Messages
对 RCI ( Router Configuration Indicator, 路由配置指示) 的取值做如下定  The value of the RCI (Router Configuration Indicator) is as follows:
Figure imgf000007_0003
Figure imgf000007_0003
表二: RCI的取值 :  Table 2: Value of RCI:
Figure imgf000007_0001
表三: 扩展 Option选项的定义
Figure imgf000007_0001
Table 3: Definition of the extended Option option
其中:  among them:
Type: 9或其他与当前 RFC规范不冲突的值。  Type: 9 or other value that does not conflict with the current RFC specification.
Length: 以 8个字节标识的整个 Option的长度 , 包括 Type和 Length域。 IID length:后面 IID or IP address字段的长度(以比特计算)。取值 0 ~ 128, 当该字段为 128时表示携带的是一个完整的 IP地址, 为其他数值时表示携带 的是 IID信息。  Length: Length of the entire Option identified by 8 bytes, including the Type and Length fields. IID length: The length of the IID or IP address field (in bits). The value is 0 ~ 128. When the field is 128, it indicates that it carries a complete IP address. When it is other values, it indicates that it carries IID information.
Reserved: 保留字段, 可全填 0, 接收端忽略其内容。  Reserved: Reserved field, can be filled in 0, the receiver ignores its contents.
IID or IP address: 路由器为终端生成的 IID或 IP地址。 IP地址和 IID的 生成须满足 RFC协议的规范。  IID or IP address: The IID or IP address generated by the router for the terminal. The IP address and IID are generated in accordance with the specifications of the RFC protocol.
Padding:填充位,为保证整个 Option的长度为 8字节的整数被, 范围 0 ~ 63个比特。  Padding: The padding bit is a range of 0 to 63 bits to ensure that the entire Option is an 8-byte integer.
上述 IID Option仅是示例性的, 本发明并不限定其它合适的定义方式。 完整地, 本发明中目标服务节点利用 RCI中比特的取值结合 Option选项 控制终端的 L3切换操作:  The above IID Option is merely exemplary, and the present invention is not limited to other suitable definitions. In complete, in the present invention, the target serving node controls the L3 switching operation of the terminal by using the value of the bit in the RCI in combination with the Option option:
一、 当发送 RA消息的目标服务节点能够从网络其他实体或其他途径获得 终端的上下文信息、 并且确定终端将移动到本服务节点下时, 发送点到点的 RA消息, 其中包含 RCI比特, 可选的, 还可以包含 IID Option。  1. When the target serving node that sends the RA message can obtain the context information of the terminal from other entities of the network or other means, and determines that the terminal will move to the serving node, send a point-to-point RA message, which includes the RCI bit, Selected, you can also include the IID Option.
以上对 RA消息的扩展, 主要适用于移动 IP的情况。 但对于一般 IP的情 况, 如果满足上述条件, 网络也可以通过在 RA消息中增加上述信息来加快终 端在服务节点中的接入进程, 减少延迟, 提升服务质量。  The above extension of the RA message is mainly applicable to the case of mobile IP. However, for the general IP situation, if the above conditions are met, the network can also speed up the access process of the terminal in the service node by adding the above information in the RA message, reducing the delay and improving the quality of service.
二、 终端节点在收到包含 RCI比特的 RA消息(可选的, 其中还包含 IID option )后的处理, 分为四种情况:  2. After the terminal node receives the RA message containing the RCI bit (optional, which also contains the IID option), it is divided into four cases:
RCI 为第一扩展控制标识: 11, 表明已经发生层三切换, 终端按照 RFC 的规范获得 IP地址, 进行已经检测到层三切换后的后续操作。 对应于后续图 2实施例中网络侧不为终端做地址冲突检测的情况。 此种情况下, 虽然终端后 续还需要进行 DAD, 但是由于已经知道发生了层三切换, 因此不再需要通过 超时机制完成原服务节点不可达的操作。进而,相对现有既要通过超时机制进 行地址冲突检测又要进行原服务节点不可达的操作而言, 缩短了时间,加速了 层三切换进程。 The RCI is the first extended control identifier: 11, indicating that the layer three handover has occurred, and the terminal obtains the IP address according to the RFC specification, and performs subsequent operations after the layer 3 handover has been detected. Corresponding to the case where the network side in the subsequent embodiment of FIG. 2 does not perform address conflict detection for the terminal. In this case, although the terminal needs to perform DAD subsequently, since it is known that the layer 3 handover has occurred, it is no longer necessary to complete the operation of the original service node unreachable through the timeout mechanism. Furthermore, compared with the existing operation of detecting the address conflict by the timeout mechanism and the unreachable operation of the original service node, the time is shortened and the time is accelerated. Layer 3 switching process.
RCI为第二扩展控制标识: 10, 表明已经发生层三切换, 并且网络侧已经 为终端当前使用的 IID进行过 DAD检测并通过。在终端的 IP地址为无状态生 成情况下, 直接以其 IID和所述 RA消息生成此链路 (即层三切换后的新的链 路 )上的 IP地址, 并且不需要再进行 DAD检测, 在所述层三切换的处理方法 应用于移动 IP的情况下 , 所述此链路上的 IP地址为转交地址, 目标服务节点 立即发送携带所述 IP地址的绑定更新消息给家乡代理; 在终端的 IP地址为有 状态生成情况下, 并且所述 RA消息中携带了 IID或 IP地址, 则终端使用 RA 消息中的 IP地址或由 IID生成的 IP地址作为其在新链路 (即层三切换后的新 的链路)上的 IP地址, 也不再进行 DAD。 可以看出, 由于这种情况下, 终端 不再需要通过超时机制完成 DAD, 因此相对现有技术而言, 缩短了时间, 加 速了层三切换进程。  The RCI is the second extended control identifier: 10, indicating that the layer three handover has occurred, and the network side has performed DAD detection and passed for the IID currently used by the terminal. In the case that the IP address of the terminal is stateless, the IP address on the link (ie, the new link after layer 3 switching) is directly generated by its IID and the RA message, and DAD detection is not required. In the case that the processing method of the layer three handover is applied to the mobile IP, the IP address on the link is the care-of address, and the target serving node immediately sends the binding update message carrying the IP address to the home agent; If the IP address of the terminal is stateful, and the RA message carries the IID or IP address, the terminal uses the IP address in the RA message or the IP address generated by the IID as its new link (ie, Layer 3). The IP address on the switched new link) is no longer DAD. It can be seen that, in this case, the terminal no longer needs to complete the DAD through the timeout mechanism, so compared with the prior art, the time is shortened and the layer 3 switching process is accelerated.
RCI为第三扩展控制标识: 01, 表明已经发生层三切换, 并且网络侧已经 为终端当前使用的 IID进行过 DAD检测但没有通过 (表明发生了冲突)。 在终 端的 IP地址为无状态生成情况下 ,并且所述 RA消息中未携带 IID或 IP地址 , 则终端按照 RFC定义的规范进行后续的操作; 在所述 RA消息中携带 IID或 IP地址情况下, 终端使用此 RA消息中携带的 IP地址或由此携带的 IID生成 的 IP地址作为其在新链路上的 IP地址, 不进行 DAD检测。 可以看出, 由于 在这种情况下, 终端不再需要通过超时机制完成 DAD, 因此相对现有技术而 言, 缩短了时间, 加速了层三切换进程。  The RCI is the third extended control identifier: 01, indicating that the layer three handover has occurred, and the network side has performed the DAD detection for the IID currently used by the terminal but fails (indicating that a collision has occurred). In the case that the IP address of the terminal is stateless, and the RA message does not carry the IID or the IP address, the terminal performs subsequent operations according to the specifications defined by the RFC; if the RA message carries the IID or IP address The terminal uses the IP address carried in the RA message or the IP address generated by the IID carried thereby as its IP address on the new link, and does not perform DAD detection. It can be seen that, in this case, the terminal no longer needs to complete the DAD through the timeout mechanism, so compared with the prior art, the time is shortened and the layer three switching process is accelerated.
RCI为第四扩展控制标识: 00, 表明与当前 RFC的定义兼容, 终端按现 有 RFC规范进行处理。  The RCI is the fourth extended control identifier: 00, indicating compatibility with the current RFC definition, and the terminal is processed according to the existing RFC specification.
请参阅图 2, 其为本发明层三切换的处理方法流程图。 包括如下步骤: Please refer to FIG. 2 , which is a flowchart of a method for processing a layer 3 handover according to the present invention. Including the following steps:
201、 发生 L3切换或需要发生 (即将要发生) L3切换; 201, L3 switching occurs or needs to occur (imminently) L3 switching;
此步骤是指网络侧知道终端正在发生或需要发生 (将要发生) L3 切换。 在 IPv6中, 在资源优化或经由网络控制器调控时, 网络侧能够判断出与之通 信的终端是否将要发生 L3切换或是否正在发生 L3切换。 如果网络侧不再代 替终端对其 IP地址做地址冲突检测, 则由本步骤(201 ) 直接进入以下步骤 205, 即直接发送携带第一扩展控制标识的 R3 消息给终端, 告诉终端发送了 L3切换, 网络侧不进行步骤 202至 204。 如果网络侧要为终端做其 IP地址的 地址冲突检测, 则进行下面的步骤(202至 204 )。 This step means that the network side knows that the terminal is happening or needs to happen (will happen) L3 handover. In IPv6, when resource optimization or regulation by a network controller, the network side can determine whether the terminal with which it is communicating is about to undergo an L3 handover or whether an L3 handover is occurring. If the network side does not replace the terminal to perform address conflict detection on the IP address, the step (201) directly proceeds to the following step 205, that is, the R3 message carrying the first extended control identifier is directly sent to the terminal, and the terminal is sent to the terminal. L3 switches, and the network side does not perform steps 202 to 204. If the network side wants to perform address conflict detection for its IP address for the terminal, the following steps (202 to 204) are performed.
202、 目标服务节点从原服务节点获得终端的上下文信息;  202. The target service node obtains context information of the terminal from the original serving node.
网络侧能够实现在原服务节点和目标服务节点间传递有关终端和链接的 上下文信息, 该上下文信息中包括终端当前使用的接口标识 IID。 目标服务节 点根据得到的该 IID和本服务节点(接入路由器)的前缀信息, 一起生成新的 IP地址。  The network side can implement the context information about the terminal and the link between the original service node and the target service node, and the context information includes the interface identifier IID currently used by the terminal. The target service node generates a new IP address based on the obtained IID and the prefix information of the serving node (access router).
203、 目标服务节点直接对通过上述 IID生成的 IP地址做地址冲突检测; 目标服务节点根据终端 IID和本服务节点(接入路由器)的前缀生成新 IP 地址后, 代替终端对新 IP地址做地址冲突检测 DAD, 以测试所述新 IP地址 是否可用于终端进行层三切换后的新链接。  203. The target service node directly performs address conflict detection on the IP address generated by using the IID. The target service node generates a new IP address according to the terminal IID and the prefix of the serving node (access router), and replaces the terminal to address the new IP address. The collision detection DAD is to test whether the new IP address is available for the terminal to perform a new link after the layer three handover.
本发明实施方式中要求目标服务节点(接入路由器)代替终端进行 DAD, 但现有技术的 RFC规范并没有做这方面的规定, 因此可以通过对现有 RFC的 扩展来实现网络侧进行 DAD的步骤, 下面是几种可选的方式:  In the embodiment of the present invention, the target service node (access router) is required to perform DAD instead of the terminal, but the RFC specification of the prior art does not stipulate this aspect. Therefore, the DDA of the network side can be implemented by extending the existing RFC. Steps, here are a few options:
203a, 目标服务节点通过所在的网络实体记录的所有终端配置的 IP地址 是否与现有 IP地址冲突。 对于某些网络, 由于网络控制的需要, 目标服务节 点 (接入路由器)所在的网络实体记录了其下所有终端配置的 IP地址列表或 IID列表, 因此可用此方法对新 IP地址进行 DAD。  203a. The target service node conflicts with the existing IP address by the IP address configured by all the terminal records recorded by the network entity. For some networks, because the network control needs, the network entity where the target service node (access router) is located records the IP address list or IID list of all the terminals configured under it, so this method can be used to DAD the new IP address.
203b, 所述地址冲突检测的检测对象是邻区列表信息(Neighbor Cache ) 上保存的当前链路上正在使用的所有终端的 IP地址列表, 在目标服务节点发 现某个 IP地址将老化并准备删除前, 检测所述 IP地址是否还有效, 是则继续 保留, 并置其状态为可达, 否则删除。 由于在 RFC中规定, 服务节点会维护 一个邻区列表信息。所述列表中保存了在一定时间内该服务节点与之通信过的 邻居服务节点的 IP地址。 如果这个 IP地址列表是当前链路上正在使用的所有 终端的 IP地址列表, 那么网络可以根据这个列表得到与已有 IP地址不冲突的 新进入的终端将使用的 IP地址。 由此可见, 目标服务节点利用邻居区列表信 息也可以实现 DAD。  203b, the detection object of the address conflict detection is a list of IP addresses of all terminals currently used on the current link saved on the Neighbor Cache, and the target service node finds that an IP address is aged and is ready to be deleted. Before detecting whether the IP address is still valid, if it is still retained, the status is set to reach, otherwise it is deleted. As specified in the RFC, the service node maintains a list of neighbors. The list stores the IP address of the neighbor service node with which the service node has communicated for a certain period of time. If the IP address list is a list of IP addresses of all terminals currently in use on the current link, the network can obtain an IP address to be used by the newly entered terminal that does not conflict with the existing IP address according to this list. It can be seen that the target service node can also implement DAD by using neighbor list information.
203c,所述地址冲突检测具体是: 目标服务节点在本地直接对所述终端将 使用的 IP地址(如根据终端当前使用的 IID生成的 IP地址)发送地址冲突检 测消息以进行地址冲突检测。 目标服务节点(接入路由器 )也可以在其本地直 接发送 DAD消息, 代替终端进行地址冲突检测。 203c, the address conflict detection is specifically: the target service node directly to the terminal locally The used IP address (such as the IP address generated according to the IID currently used by the terminal) transmits an address conflict detection message for address collision detection. The target service node (access router) can also directly send DAD messages locally, instead of the terminal for address collision detection.
204、 判断地址冲突检测是否成功, 是(即成功、 不冲突)就认为新的 IP 地址可用, 进入步骤 205, 否则进入步骤 206;  204, determining whether the address conflict detection is successful, is (ie, successful, no conflict), that the new IP address is considered available, proceeds to step 205, otherwise proceeds to step 206;
以下步骤是网络侧主动通知所述终端发生层三切换:  The following steps are: the network side actively notifies the terminal that a layer 3 switch occurs:
205、发送 RA消息给终端,表明发生 L3切换,且不用再做地址冲突检测, 然后进入步骤 207。  205. Send an RA message to the terminal, indicating that an L3 handover occurs, and no address conflict detection is performed, and then proceeds to step 207.
此步骤是对应于上述的 RCI为第二扩展控制标识情况。即 RA消息表明已 经发生层三切换, 并且网络侧已经为终端当前使用的 IID进行过 DAD检测并 通过。 在终端的 IP地址为无状态生成情况下, 在终端本地直接以其 IID和所 述 RA消息生成此链路上的 IP地址, 并且不需要进行 DAD检测, 在所述层三 切换的处理方法应用于移动 IP的情况下,所述此链路上的 IP地址为转交地址, 目标服务节点立即发送携带所述 IP地址的绑定更新消息给家乡代理; 在终端 的 IP地址为有状态生成情况下, 并且所述 RA消息中携带了 IID或 IP地址, 则终端使用该 RA消息中携带的 IP地址或由携带的 IID生成的 IP地址作为其 在新链路上的 IP地址。  This step corresponds to the case where the RCI described above is the second extended control flag. That is, the RA message indicates that Layer 3 switching has occurred, and the network side has performed DAD detection and passed for the IID currently used by the terminal. In the case that the IP address of the terminal is stateless, the IP address on the link is directly generated by the terminal directly with its IID and the RA message, and DAD detection is not required, and the processing method of the layer 3 handover is applied. In the case of mobile IP, the IP address on the link is a care-of address, and the target serving node immediately sends a binding update message carrying the IP address to the home agent; when the IP address of the terminal is stateful And the RA message carries the IID or the IP address, and the terminal uses the IP address carried in the RA message or the IP address generated by the carried IID as its IP address on the new link.
如前述, 终端在层三切换后的新的链路上使用的新 IP地址, 可以由终端 在本地直接以其当前使用的 IID和所述 RA消息提供的目标服务节点(接入路 由器)前缀信息生成, 也可以由携带 Option选项的 RA消息中的 IID或 IP地 址而获得。  As described above, the new IP address used by the terminal on the new link after the layer 3 handover may be directly localized by the terminal with the IID currently used and the target service node (access router) prefix information provided by the RA message. The generated may also be obtained by the IID or IP address in the RA message carrying the Option option.
以下步骤 206a、 206b以及 206c是终端根据收到的 RA消息判断网络侧进 行的地址冲突检测不通过时, 采取的补救措施。 其中 206a、 206b以及 206c可 任选一项, 然后进入步骤 207。  The following steps 206a, 206b, and 206c are remedial measures taken by the terminal to determine, based on the received RA message, that the address conflict detection performed by the network side does not pass. One of 206a, 206b, and 206c may be selected, and then proceeds to step 207.
206a,发送 RA消息给终端,表明发生 L3切换并表明终端当前使用的 IID 冲突。 于是,终端收到后按照现有 RFC定义的在检测到 DAD冲突后的行为进 行操作。 此方式对应于前述的 RCI为第三扩展控制标识、 未携带 IID或 IP地 址的情况。  206a, sending an RA message to the terminal, indicating that an L3 handover occurs and indicating that the terminal currently uses an IID conflict. Therefore, after receiving the terminal, the terminal operates according to the behavior defined by the existing RFC after detecting the DAD conflict. This mode corresponds to the case where the foregoing RCI is the third extended control identifier and does not carry the IID or IP address.
206b, 目标服务节点生成新的 IID或 IP地址的信息, 完成 DAD检测, 发 送携带新 IID或 IP地址的 RA消息给终端, 表明发生 L3切换, 并要求终端使 用携带的新 IID生成 IP地址或直接使用携带的 IP地址。 此方式对应网络侧为 终端进行 DAD失败, 并且不需要终端再进行 DAD的情况。 此方式不同于步 骤 203, 步骤 203是从原服务节点直接获得终端当前使用的 IID , 而这里是目 标良务节点为终端生成新的 IID,并告诉终端。此外,此方式对应于前述的 RCI 为第三扩展控制标识、 携带 IID或 IP地址的情况。 206b, the target service node generates a new IID or IP address information, completes the DAD detection, and sends The RA message carrying the new IID or IP address is sent to the terminal, indicating that the L3 handover occurs, and the terminal is required to use the new IID carried to generate an IP address or directly use the carried IP address. In this way, the DAD fails for the terminal on the network side, and the terminal does not need to perform DAD again. This method is different from step 203. Step 203 is to directly obtain the IID currently used by the terminal from the original serving node, and here the target service node generates a new IID for the terminal and informs the terminal. In addition, this mode corresponds to the case where the foregoing RCI is the third extended control identifier, carrying the IID or the IP address.
206c, 目标服务节点直接为终端分配一个不冲突的 IP地址, 并将该 IP地 址或该 IP地址对应的 IID发送给终端直接使用。  206c. The target service node directly allocates a non-conflicting IP address to the terminal, and sends the IP address or the IID corresponding to the IP address to the terminal for direct use.
另外, 当一个不支持所述扩展的 RA消息的终端收到包含此扩展控制标识 的 RA消息时, 按照 RFC的规定忽略所述扩展内容。 此方式是对应于前述的 RCI为第四扩展控制标识的情况。  In addition, when a terminal that does not support the extended RA message receives an RA message containing the extended control identifier, the extended content is ignored as specified by the RFC. This mode corresponds to the case where the aforementioned RCI is the fourth extended control flag.
207、发起绑定更新过程, 完成到 HA的绑定更新, 从而完成 L3切换。 具 体而言, 终端得到上述可用的新 IP地址后, 发起绑定更新过程, 完成到 HA 的绑定更新, 从而完成 L3切换。  207. Initiate a binding update process, complete binding update to the HA, and complete the L3 handover. Specifically, after obtaining the new IP address available above, the terminal initiates a binding update process, completing the binding update to the HA, thereby completing the L3 handover.
从以上技术方案可以看出,由于本发明实施方式采用网络侧主动替代终端 进行 DAD或主动通知终端发生了 L3切换的方式, 使得终端不用通过超时的 方式来检测新 IP地址是否可用或原服务节点是否可达, 因此本发明可以减少 L3切换时延并减少无线空口流量。  It can be seen from the above technical solution that, in the embodiment of the present invention, the network side actively replaces the terminal to perform DAD or actively informs the terminal that the L3 handover occurs, so that the terminal does not use the timeout manner to detect whether the new IP address is available or the original service node. Whether it is reachable or not, the present invention can reduce the L3 handover delay and reduce the wireless air interface traffic.
所述主动代替终端进行 DAD包括两种情况, 一种是检测以终端当前使用 为终端分配不冲突的 IP地址。 对于后一种情况, 类似 206c, 目标服务节点可 以直接为终端分配一个不冲突的 IP地址, 并发送携带所述 IP地址的 RA消息 给终端直接使用, 而不需要步骤 202 ~ 204。 这种情况下, 由于目标服务节点 给终端分配的是不冲突的 IP地址, 因此终端也不需要进行 DAD, 同样大大加 快终端进行 L3切换的进程。 可以看出, 上述这两种情况, 都达到了代替终端 进行 DAD的目的。  The active replacement of the terminal for the DAD includes two cases, and the other is to detect that the terminal is not assigned a conflicting IP address with the current use of the terminal. In the latter case, similar to 206c, the target serving node can directly allocate a non-conflicting IP address to the terminal, and send an RA message carrying the IP address to the terminal for direct use without steps 202-204. In this case, since the target service node allocates a non-conflicting IP address to the terminal, the terminal does not need to perform DAD, and the terminal also performs the L3 handover process. It can be seen that both of the above cases have achieved the purpose of replacing the terminal for DAD.
正如前面实施例中所述, 也可以将主动替代终端进行 DAD和通知终端发 生了 L3切换结合使用, 可以更好的减少 L3切换时延, 加速 L3切换进程。  As described in the foregoing embodiment, the active alternate terminal DAD and the notification terminal may be combined with the L3 switch, which can better reduce the L3 handover delay and accelerate the L3 handover process.
在无线通信的某些情况下, 终端可能无法获得 L3发生切换的信息。 由于 网络侧主动通知终端发生了 L3切换, 因此可加速终端发现 L3切换的过程。 另外, 由于目标服务节点在发送 RA信息给终端前, 就可以获得终端在其下使 用的 IP地址, 因而可以提前检测终端在新的服务节点或网络中将使用的 IP地 址是否冲突或合法; 并可以在 DAD的结果为冲突的情况下, 进一步为终端指 定不冲突的新的 IP地址。 In some cases of wireless communication, the terminal may not be able to obtain information that L3 is handed over. Due to The network side actively informs the terminal that an L3 handover has occurred, so that the process of discovering the L3 handover by the terminal can be accelerated. In addition, since the target service node can obtain the IP address used by the terminal before sending the RA information to the terminal, it is possible to detect in advance whether the IP address to be used by the terminal in the new service node or the network is conflicting or legal; In the case where the result of the DAD is a conflict, the terminal may further specify a new IP address that does not conflict.
综上所述,本发明实施方式可以大大加快终端接入一个新的服务节点时的 切换时间 ,特别是加快在移动 IP中进行 L3切换的时间 , 并大大减少了业务的 中断时延, 较大幅度提高了网络性能和服务质量。  In summary, the embodiment of the present invention can greatly speed up the handover time when the terminal accesses a new service node, in particular, speeds up the L3 handover in the mobile IP, and greatly reduces the interruption time of the service, which is large. The increase in network performance and quality of service.
本发明可以采用层三或层二消息来通知终端发生层三切换,例如上述实施 例中采用对 RA消息的扩展的方式来实现主动通知终端发生层三切换,也可以 通过其他扩展方式达到这一目标,还可以新增类似的携带相关信息的消息的方 式实现。 但这些实施方式如何变化, 都属于本专利的保护范围之内。  The layer 3 or layer 2 message may be used to notify the terminal to perform the layer 3 handover. For example, the method for extending the RA message in the foregoing embodiment is used to implement the layer 3 handover of the active notification terminal, and the extension may be achieved by other extension methods. The goal can also be implemented by adding a similar message carrying relevant information. However, how these implementations change is within the protection scope of this patent.
本发明另一个实施方式还提供一种层三切换的处理系统, 包括网络侧、终 端 320、 设置于网络侧的地址冲突检测模块 311和层三切换通知模块 312。 其 中,地址冲突检测模块 311和层三切换通知模块 312可以设置于目标服务节点 310内,在切换时目标服务节点从原服务节点 330获得终端 320的上下文信息, 该上下文信息中包括终端 320的接口标识 IID, 其用于和目标服务节点广播的 前缀一起生成新 IP地址。  Another embodiment of the present invention further provides a layer three handover processing system, including a network side, a terminal 320, an address conflict detection module 311 and a layer three handover notification module 312 disposed on the network side. The address conflict detection module 311 and the layer three handover notification module 312 may be disposed in the target service node 310. When the handover, the target service node obtains the context information of the terminal 320 from the original service node 330, where the context information includes the interface of the terminal 320. Identifies the IID that is used to generate a new IP address along with the prefix broadcast by the target service node.
所述地址冲突检测模块 311用于在网络侧知道终端 320正在发生或需要发 生(即将要发生)层三切换时,通过地址冲突检测获得所述终端 320可用的 IID 或 IP地址。所述层三切换通知模块 312用于通知所述终端 320发生层三切换, 可以使终端 320获得对应上述 IID的 IP地址或直接获得上述 IP地址。 本领域 技术人员可以理解, 前述网络侧知道终端 320正在发生或将要发生层三切换, 可以通过获得表明终端 320正在发生或将要发生层三切换的信息来实现,可以 将完成该功能的模块称为信息获得模块。  The address conflict detection module 311 is configured to obtain, by the network side, the IID or IP address available to the terminal 320 through address conflict detection when the terminal 320 is aware that the terminal 320 is occurring or needs to be generated (immediately). The layer 3 handover notification module 312 is configured to notify the terminal 320 to perform a layer 3 handover, and enable the terminal 320 to obtain an IP address corresponding to the IID or directly obtain the foregoing IP address. A person skilled in the art can understand that the foregoing network side knows that the terminal 320 is happening or is about to undergo a layer three handover, and can be implemented by obtaining information indicating that the terminal 320 is or will undergo a layer three handover, and the module that performs the function can be called a module. Information acquisition module.
所述地址冲突检测模块 311具体用于:根据目标服务节点 310所在的网络 实体记录的其中所有终端 320配置的 IP地址列表或 IID列表 340,直接判断所 述 IP地址或由 IID生成的 IP地址是否与现有 IP地址冲突。  The address conflict detection module 311 is specifically configured to: directly determine, according to the IP address list or IID list 340 configured by all the terminals 320 recorded by the network entity where the target service node 310 is located, whether the IP address or the IP address generated by the IID is Conflict with an existing IP address.
所述地址冲突检测模块 311 根据邻区列表信息上保存的当前链路上正在 使用的所有终端的 IP地址列表 350得到与已有 IP地址不冲突的新进入的终端 将使用的 IP地址。 平时 , 在地址冲突检测模块 311发现某个 IP地址将老化并 准备删除前, 发送 NS消息以检测所述 IP地址是否还有效, 是则继续保留, 并置其状态为可达, 否则删除。 所述地址冲突检测模块 311还具体用于: 在本 地直接发送地址冲突检测消息以进行地址冲突检测。 The address conflict detection module 311 is performing on the current link saved according to the neighbor list information. The IP address list 350 of all terminals used obtains an IP address to be used by a newly entered terminal that does not conflict with an existing IP address. Normally, before the address conflict detection module 311 finds that an IP address is aging and is ready to be deleted, the NS message is sent to detect whether the IP address is still valid, and then the reservation is continued, and the state is set to reach, otherwise, the deletion is performed. The address conflict detection module 311 is further configured to: directly send an address conflict detection message locally to perform address conflict detection.
所述层三切换通知模块 312具体用于发送携带扩展控制标识的 RA消息给 终端 320, 以通知所述终端 320发生层三切换。 所述扩展控制标识可以采用 RA消息中五个保留位中的两个组成, 由于涉及该扩展控制标识的具体内容在 前文已经进行了详细介绍(参见表 1、 2和 3 ), 因而此处不再赘述。 所述扩展 控制标识表示所述终端 320不需要进行地址冲突检测。  The Layer 3 handover notification module 312 is specifically configured to send an RA message carrying the extended control identifier to the terminal 320 to notify the terminal 320 to perform a layer 3 handover. The extended control identifier may be composed of two of the five reserved bits in the RA message. Since the specific content related to the extended control identifier has been described in detail in the foregoing (see Tables 1, 2, and 3), Let me repeat. The extended control flag indicates that the terminal 320 does not need to perform address collision detection.
所述终端 320用于才 据层三切换通知模块 312通知的信息,来判断网络侧 是否获得可用的 IID或 IP地址, 是则在本地生成 IP地址; 否则采用网络侧下 发的所述 IID或 IP地址。 如果网络侧下发的是 IID, 则根据该 IID生成 IP地 址。  The terminal 320 is configured to determine whether the network side obtains an available IID or an IP address according to the information notified by the layer three handover notification module 312, and then generates an IP address locally; otherwise, the IID or the network side sends the IID or IP address. If the IID is sent by the network side, an IP address is generated according to the IID.
具体而言:  in particular:
判断网络侧获得可用的 IID或 IP地址时, 所述目标服务节点 310经由层 三切换通知模块 312发送 RA消息给终端 320, 表明发生 L3切换。 即 RA消 息表明已经发生层三切换,并且地址冲突检测模块 311已经为终端 320当前使 用的 IID进行过 DAD检测并通过。在终端 320的 IP地址为无状态生成情况下 , 在终端 320本地直接以其当前使用的 IID和所述 RA消息生成此链路上的 IP 地址, 并且不需要进行 DAD检测, 在所述层三切换的处理方法应用于移动 IP 的情况下, 所述此链路上的 IP地址为转交地址, 层三切换通知模块 312立即 发送携带所述 IP地址的绑定更新消息给家乡代理; 在终端 320的 IP地址为有 状态生成情况下, 并且所述 RA消息中携带了 IID或 IP地址, 则终端 320使 用该 RA消息携带的 IP地址或由携带的 IID生成的 IP地址作为其在新链路上 的 IP地址。  When it is determined that the network side obtains the available IID or IP address, the target serving node 310 sends an RA message to the terminal 320 via the layer three handover notification module 312, indicating that the L3 handover occurs. That is, the RA message indicates that the layer three handover has occurred, and the address conflict detection module 311 has performed DAD detection and passed for the IID currently used by the terminal 320. In the case that the IP address of the terminal 320 is stateless, the terminal 320 directly generates the IP address on the link directly with the IID and the RA message currently used by the terminal 320, and does not need to perform DAD detection. When the processing method of the handover is applied to the mobile IP, the IP address on the link is the care-of address, and the layer 3 handover notification module 312 immediately sends the binding update message carrying the IP address to the home agent; If the IP address is in the state of stateful generation, and the RA message carries the IID or IP address, the terminal 320 uses the IP address carried by the RA message or the IP address generated by the carried IID as its new link. IP address.
判断网络侧不能获得可用的 IID或 IP地址时, 采取以下任一项: 一、 层三切换通知模块 312发送 RA消息给终端 320, 表明发生 L3切换 并表明终端当前使用的 IID冲突, 终端 320收到后按照现有 RFC定义的行为 进行操作。 此种情况下, 地址冲突检测模块 311为终端 320进行 DAD失败, 需要终端 320完成 DAD; When it is determined that the network side cannot obtain the available IID or IP address, the following one is adopted: 1. The layer 3 handover notification module 312 sends an RA message to the terminal 320, indicating that the L3 handover occurs and indicates that the IID currently used by the terminal conflicts, and the terminal 320 receives Behavior as defined by existing RFCs Take action. In this case, the address conflict detection module 311 fails the DAD for the terminal 320, and the terminal 320 is required to complete the DAD;
二、 目标服务节点 310生成新的 IID的信息, 由地址冲突检测模块 311完 成 DAD检测, 层三切换通知模块 312发送携带新 IID的 RA消息给终端 320, 表明发生 L3切换, 要求终端 320更新其 IID, 并使用新的 IID生成 IP地址。 此种情况下, 网络侧为终端 320进行 DAD失败, 并为其分配新的 IID, 因此 不需要终端 320再完成 DAD;  The target service node 310 generates the new IID information, and the address conflict detection module 311 completes the DAD detection. The layer three handover notification module 312 sends the RA message carrying the new IID to the terminal 320, indicating that the L3 handover occurs, and the terminal 320 is required to update the IID, and use the new IID to generate an IP address. In this case, the network side fails the DAD for the terminal 320 and assigns a new IID to it, so the terminal 320 is not required to complete the DAD again;
三、目标服务节点 310直接通过地址冲突检测模块 311为终端 320生成一 个不冲突的 IP地址, 并由层三切换通知模块 312发送携带所述 IP地址的 RA 消息给终端 320直接使用。  The target service node 310 directly generates a non-conflicting IP address for the terminal 320 through the address conflict detection module 311, and the layer 3 handover notification module 312 sends an RA message carrying the IP address to the terminal 320 for direct use.
本发明的另一个实施方式还公开了一种实现层三切换的处理设备,请参阅 图 4, 其为本发明层三切换处理设备的第一实施例结构示意图。 本实施例中的 处理设备包括信息获得模块 410和层三切换通知模块 420, 下面结合该处理设 备的工作原理进一步介绍其内部结构以及连接关系。  Another embodiment of the present invention further discloses a processing device for implementing layer three switching. Referring to FIG. 4, it is a schematic structural diagram of a first embodiment of a layer three switching processing device according to the present invention. The processing device in this embodiment includes an information obtaining module 410 and a layer three switching notification module 420. The internal structure and the connection relationship are further described below in conjunction with the working principle of the processing device.
所述处理设备的信息获得模块 410 用于获得终端正在发生或将要发生层 三切换的信息并告知层三切换通知模块。进而,层三切换通知模块 420通知所 述终端发生层三切换。 于是, 终端就可以不通过超时机制完成原服务节点不可 达的操作, 缩短了层三切换的进程。  The information obtaining module 410 of the processing device is configured to obtain information that the terminal is or will undergo a layer three handover and notify the layer three handover notification module. Further, the layer three handover notification module 420 notifies the terminal that a layer three handover occurs. Therefore, the terminal can complete the unreachable operation of the original service node without using the timeout mechanism, and shorten the process of the layer three handover.
进一步, 可选的, 上述处理设备还可以包括地址冲突检测模块, 用于代替 终端进行地址冲突检测。 具体而言, 请参看图 5, 其为本发明层三切换处理设 备的第二实施例结构示意图。 本实施例中处理设备包括信息获得模块 510、 层 三切换通知模块 520和地址冲突检测模块 530。  Further, optionally, the processing device may further include an address conflict detection module, configured to perform address conflict detection instead of the terminal. Specifically, please refer to FIG. 5, which is a schematic structural diagram of a second embodiment of a layer three handover processing device according to the present invention. The processing device in this embodiment includes an information obtaining module 510, a layer three switching notification module 520, and an address conflict detecting module 530.
信息获得模块 510 用于获得终端正在发生或将要发生层三切换的信息并 告知层三切换通知模块 520和地址冲突检测模块 530。 层三切换通知模块 520 用于通知所述终端发生层三切换。地址冲突检测模块 530用于代替终端进行地 址冲突检测, 其具体实现方式有多种。 例如, 所述地址冲突检测模块包括第一 地址冲突检测模块,用于为所述终端将在层三切换后的新的链路上使用的第一 IP地址进行冲突检测。 所述第一 IP地址可以是以终端当前使用的 IID和目标 服务节点 (接入路由器)前缀信息生成的 IP地址, 也可以是终端在原链路中 使用的 IP地址。 所述检测结果(不冲突或冲突)可以通过层三切换通知模块 420通知给所述终端。 所述地址冲突检测模块还可以包括第二地址冲突检测模 块, 用于为所述终端分配不冲突的第二 IP地址, 并将所述第二 IP地址或第二 IP地址对应的接口标识通过层三切换通知模块 420通知所述终端。 The information obtaining module 510 is configured to obtain information that the terminal is or will undergo a layer three handover and notify the layer three handover notification module 520 and the address conflict detection module 530. The layer three handover notification module 520 is configured to notify the terminal that a layer three handover occurs. The address conflict detection module 530 is used to perform address conflict detection instead of the terminal, and the specific implementation manner thereof is various. For example, the address conflict detection module includes a first address conflict detection module, configured to perform collision detection on the first IP address used by the terminal on the new link after layer 3 handover. The first IP address may be an IP address generated by the IID currently used by the terminal and the target service node (access router) prefix information, or the terminal may be in the original link. The IP address used. The detection result (no conflict or conflict) may be notified to the terminal through the layer three handover notification module 420. The address conflict detection module may further include a second address conflict detection module, configured to allocate a second IP address that does not conflict to the terminal, and pass the interface identifier corresponding to the second IP address or the second IP address through a layer The three handover notification module 420 notifies the terminal.
需要说明的是, 地址冲突检测模块 530 可以只包括第一地址冲突检测模 块, 或只包括第二冲突模块。 当只包括第二冲突模块时, 相当于所述处理设备 不对前述第一地址进行冲突检测, 而是直接为所述终端分配一个不冲突的 IP 地址, 进而所述终端就可以不再需要进行地址冲突检测。  It should be noted that the address conflict detection module 530 may include only the first address conflict detection module or only the second conflict module. When only the second conflicting module is included, the processing device does not perform collision detection on the first address, but directly allocates a non-conflicting IP address to the terminal, so that the terminal can no longer need to perform an address. Conflict detection.
此外, 所述地址冲突检测模块 530可以既包括第一地址冲突检测模块, 又 包括第二地址冲突检测模块。这种情况下,如果第一地址冲突检测模块的检测 结果是不冲突, 则通过层三切换通知模块 420通知给所述终端,进而终端不需 要再进行地址冲突检测。如果第一地址冲突检测模块的检测结果是冲突, 则由 第二地址冲突检测模块为终端分配一个不冲突的第二 IP地址, 供该终端在层 三切换后的新的链路上使用。  In addition, the address conflict detection module 530 can include both a first address conflict detection module and a second address conflict detection module. In this case, if the detection result of the first address conflict detection module is not conflicting, the layer 3 notification notification module 420 notifies the terminal, and the terminal does not need to perform address conflict detection again. If the detection result of the first address conflict detection module is a conflict, the second address conflict detection module allocates a non-conflicting second IP address to the terminal for use by the terminal on the new link after the layer 3 handover.
请参阅图 6, 其为本发明层三切换处理设备的第三实施例结构示意图。 在 前文实施例中介绍过,如果只代替终端进行地址冲突检测、不通知终端发生层 三切换, 也可以加速终端进行层三切换的进程。 因此, 本发明实施例中的层三 切换处理设备包括信息获得模块 610和地址冲突检测模块 630。 具体而言, 信 息获得模块 610用于获得终端正在发生或将要发生层三切换的信息,并告知地 址冲突检测模块 630。地址冲突检测模块 630可以包括第三地址冲突检测模块, 用于为所述终端将在层三切换后的新的链路上使用的第一 IP地址进行地址冲 突检测, 并将所述检测结果通知所述终端。地址冲突检测模块 630还可以包括 第四地址冲突检测模块, 用于为所述终端分配不冲突的第二 IP地址, 并将所 述第二 IP地址或第二 IP地址对应的接口标识通知所述终端。  Please refer to FIG. 6, which is a schematic structural diagram of a third embodiment of a layer three handover processing device according to the present invention. As described in the foregoing embodiment, if the address conflict detection is performed instead of the terminal, and the layer 3 handover is not notified to the terminal, the process of the layer 3 handover may be accelerated. Therefore, the layer three handover processing device in the embodiment of the present invention includes an information obtaining module 610 and an address conflict detecting module 630. Specifically, the information obtaining module 610 is configured to obtain information that the terminal is or will undergo a layer three handover, and notify the address conflict detection module 630. The address conflict detection module 630 may include a third address conflict detection module, configured to perform address conflict detection on the first IP address used on the new link after the layer 3 switchover, and notify the detection result. The terminal. The address conflict detection module 630 may further include a fourth address conflict detection module, configured to allocate a second IP address that does not conflict to the terminal, and notify the interface identifier corresponding to the second IP address or the second IP address. terminal.
需要说明的是, 地址冲突检测模块 630 可以只包括第三地址冲突检测模 块, 或只包括第四冲突模块。 当只包括第四冲突模块时, 相当于所述处理设备 不对前述第一 IP地址进行冲突检测, 而是直接为所述终端分配一个不冲突的 IP地址, 进而所述终端就可以不再需要进行地址冲突检测。  It should be noted that the address conflict detection module 630 may include only the third address conflict detection module or only the fourth conflict module. When only the fourth conflicting module is included, the processing device does not perform collision detection on the first IP address, but directly allocates a non-conflicting IP address to the terminal, so that the terminal can be no longer needed. Address conflict detection.
此外, 所述地址冲突检测模块 630可以既包括第三地址冲突检测模块, 又 包括第四地址冲突检测模块。这种情况下,如果第三地址冲突检测模块的检测 结果是不冲突, 则直接将地址不冲突的检测结果通知给所述终端,进而终端不 需要再进行地址冲突检测。如果第三地址冲突检测模块的检测结果是冲突, 则 由第四地址冲突检测模块为终端分配一个不冲突的第二 IP地址, 供该终端在 层三切换后的新的链路上使用。 In addition, the address conflict detection module 630 can include both a third address conflict detection module, and A fourth address conflict detection module is included. In this case, if the detection result of the third address conflict detection module is not conflicting, the detection result of the address non-collision is directly notified to the terminal, and the terminal does not need to perform address conflict detection again. If the detection result of the third address conflict detection module is a conflict, the fourth address conflict detection module allocates a non-conflicting second IP address to the terminal for use by the terminal on the new link after the layer 3 handover.
从以上可以看出, 由于本发明采用地址冲突检测模块 311 主动替代终端 320进行 DAD、采用层三切换通知模块 312主动通知终端 320发生了 L3切换, 使得不用终端 320通过超时的方式来检测新 IP地址是否可用或原服务节点 320 是否可达, 因此可以减少 L3切换时延并减少无线空口流量、 加速终端 320发 现 L3切换的过程、 大大减少了业务的中断时延、 较大幅度提高了络性能和服 务质量。  It can be seen from the above that the address conflict detection module 311 actively replaces the terminal 320 for DAD, and the layer three handover notification module 312 actively informs the terminal 320 that an L3 handover has occurred, so that the terminal 320 does not use the timeout method to detect the new IP. Whether the address is available or whether the original service node 320 is reachable, the L3 handover delay can be reduced and the wireless air interface traffic can be reduced, the process of the L3 handover can be accelerated by the terminal 320, the service interruption time is greatly reduced, and the network performance is greatly improved. And quality of service.
以上对本发明所提供的一种层三切换的处理方法及其系统进行了详细介 例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于本领域的 一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变 之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  The foregoing detailed description of a layer three switching processing method and system thereof provided by the present invention is only for helping to understand the method of the present invention and its core idea; and, for a person of ordinary skill in the art, The present invention is not limited by the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种层三切换的处理方法, 其特征在于, 包括:  A processing method for layer 3 switching, comprising:
获得终端正在发生或将要发生层三切换的信息;  Obtaining information that the terminal is or will undergo a layer three handover;
通知所述终端发生层三切换。  Notifying the terminal that a layer three handover occurs.
2、 根据权利要求 1所述的方法, 其特征在于, 在获得终端正在发生或将 要发生层三切换的信息之后还包括:  2. The method according to claim 1, further comprising: after obtaining information that the terminal is or will undergo a layer three handover:
代替终端进行地址冲突检测。  Address conflict detection is performed instead of the terminal.
3、 根据权利要求 2所述的方法, 其特征在于, 所述代替终端进行地址冲 突检测的过程包括:  3. The method according to claim 2, wherein the step of performing address conflict detection by the substitute terminal comprises:
检测所述终端将在层三切换后的新的链路上使用的第一 IP地址是否冲突。 Detecting whether the first IP address used by the terminal on the new link after the layer 3 handover conflicts.
4、 根据权利要求 3所述的方法, 其特征在于, 如果所述检测结果为不冲 突, 则还包括: 4. The method according to claim 3, wherein if the detection result is non-conflict, the method further comprises:
通知所述终端不需要进行地址冲突检测。  Notifying the terminal that address conflict detection is not required.
5、 根据权利要求 2 所述的方法, 其特征在于, 所述代替终端进行地址冲 突检测的过程包括:  The method according to claim 2, wherein the step of performing address conflict detection by the substitute terminal comprises:
为所述终端分配不冲突的第二 IP地址;  Assigning, to the terminal, a second IP address that does not conflict;
将所述第二 IP地址或第二 IP地址对应的接口标识通知所述终端 , 并通知 所述终端不需要进行地址冲突检测。  Notifying the terminal of the interface identifier corresponding to the second IP address or the second IP address, and notifying the terminal that address conflict detection is not required.
6、 根据权利要求 1至 5中任意一项所述的方法, 其特征在于,  6. A method according to any one of claims 1 to 5, characterized in that
所述获得终端正在发生或将要发生层三切换的信息具体包括:网络侧获得 终端正在发生或将要发生层三切换的信息;  The obtaining information that the terminal is performing or about to perform the layer three handover specifically includes: obtaining, by the network side, information that the terminal is currently occurring or is about to undergo a layer three handover;
所述通知终端发生层三切换具体包括: 网络侧通知终端发生层三切换。 The informing the terminal to generate the layer 3 handover specifically includes: the network side notifying the terminal to perform a layer three handover.
7、根据权利要求 3或 4所述的方法, 其特征在于, 所述第一 IP地址是以 终端当前使用的接口标识和目标服务节点的前缀信息生成的 IP地址, 或者是 终端在原链路中使用的 IP地址。 The method according to claim 3 or 4, wherein the first IP address is an IP address generated by an interface identifier currently used by the terminal and prefix information of the target serving node, or the terminal is in the original link. The IP address used.
8、 根据权利要求 3或 4所述的方法, 其特征在于, 所述检测第一地址是 否冲突具体包括:  The method according to claim 3 or 4, wherein the detecting whether the first address conflicts comprises:
根据记录的所有终端配置的 IP地址列表或接口标识列表, 检测所述第一 IP地址是否冲突; 或者 Detecting whether the first IP address conflicts according to the recorded IP address list or interface identifier list of all terminals configured; or
根据邻区列表信息中保存的当前链路上正在使用的所有终端的 IP地址列 表, 检测所述第一 IP地址是否冲突;  Detecting whether the first IP address conflicts according to the IP address list of all terminals currently used on the current link saved in the neighbor list information;
或者  Or
在本地直接对所述终端将使用的第一 IP地址发送地址冲突检测消息, 以 检测所述第一 IP地址是否冲突。  The address conflict detection message is sent directly to the first IP address to be used by the terminal to detect whether the first IP address conflicts.
9、 根据权利要求 1至 5中任意一项所述的方法, 其特征在于, 所述通知 终端发生层三切换具体包括:  The method according to any one of claims 1 to 5, wherein the notifying the terminal to perform the layer 3 handover specifically includes:
网络侧通过发送层三消息或层二消息来通知所述终端发生层三切换。  The network side notifies the terminal to perform a layer three handover by sending a layer three message or a layer two message.
10、 一种层三切换的处理方法, 其特征在于, 包括: 获得终端正在发生或将要发生层三切换的信息; A processing method for layer 3 switching, comprising: obtaining information that a terminal is currently occurring or is about to undergo a layer three handover;
协助终端准备层三切换。  Assist the terminal to prepare for Layer 3 switching.
11、 根据权利要求 10所述的处理方法, 其特征在于: 所述协助终端准备 层三切换具体包括: 代替终端进行地址冲突检测。  The processing method according to claim 10, wherein the assisting the terminal to prepare the layer 3 handover comprises: performing address conflict detection instead of the terminal.
12、 根据权利要求 11所述的方法, 其特征在于, 所述代替终端进行地址 冲突检测的步骤具体包括:  The method according to claim 11, wherein the step of performing address conflict detection by the substitute terminal specifically includes:
检测所述终端将在层三切换后的新的链路上使用的第一 IP 地址是否冲 突。  It is detected whether the first IP address used by the terminal on the new link after the layer 3 switching is conflicted.
13、 根据权利要求 12所述的方法, 其特征在于, 如果所述检测结果为不 冲突, 则还包括: 通知所述终端不需要进行地址冲突检测。  The method according to claim 12, wherein, if the detection result is not conflicting, the method further comprises: notifying the terminal that address conflict detection is not required.
14、 根据权利要求 11所述的方法, 其特征在于, 所述代替终端进行地址 冲突检测具体包括:  The method according to claim 11, wherein the performing the address conflict detection by the substitute terminal comprises:
为所述终端分配不冲突的第二 IP地址;  Assigning, to the terminal, a second IP address that does not conflict;
将所述第二 IP地址或第二 IP地址对应的接口标识通知所述终端, 并通知 所述终端不需要进行地址冲突检测。  Notifying the terminal of the interface identifier corresponding to the second IP address or the second IP address, and notifying the terminal that address conflict detection is not required.
15、根据权利要求 10至 14中任意一项所述的方法, 其特征在于, 在获得 终端正在发生或将要发生层三切换的信息之后还包括:  The method according to any one of claims 10 to 14, further comprising: after obtaining information that the terminal is or will undergo a layer three handover:
通知所述终端发生层三切换。  Notifying the terminal that a layer three handover occurs.
16、 根据权利要求 10至 14中任意一项所述的方法, 其特征在于, 所述获得终端正在发生或将要发生层三切换的信息具体包括:网络侧获得 终端正在发生或将要发生层三切换的信息; 16. A method according to any one of claims 10 to 14, characterized in that The obtaining information that the terminal is performing or is about to undergo a layer three handover specifically includes: obtaining, by the network side, information that the terminal is occurring or is about to undergo a layer three handover;
所述协助终端准备层三切换具体包括: 网络侧协助终端准备层三切换。 The assisting the terminal to prepare the layer 3 handover specifically includes: the network side assisting the terminal to prepare the layer three handover.
17、 一种层三切换的处理系统, 包括网络侧, 其特征在于, 进一步包括设 置于网络侧的层三切换通知模块,用于获得终端正在发生或将要发生层三切换 的信息后, 通知所述终端发生层三切换。 A layer-three-switching processing system, including a network side, further comprising: a layer three handover notification module disposed on the network side, configured to obtain information about that the terminal is or will undergo a layer three handover, and notify the The terminal generates a layer three handover.
18、 根据权利要求 17所述的系统, 其特征在于, 所述网络侧包括目标服 务节点,进一步包括地址冲突检测模块,其通过地址冲突检测判断所述终端的 接口标识可用或为终端分配不冲突的 IP地址。  The system according to claim 17, wherein the network side includes a target service node, and further includes an address conflict detection module, which determines that the interface identifier of the terminal is available or does not conflict with the terminal by using address conflict detection. IP address.
19、 一种层三切换的处理设备, 其特征在于, 包括:  19. A layer three switching processing device, comprising:
信息获得模块, 用于获得终端正在发生或将要发生层三切换的信息; 层三切换通知模块, 用于通知所述终端发生层三切换。  The information obtaining module is configured to obtain information that the layer is being or is about to undergo a layer three handover, and the layer three switching notification module is configured to notify the terminal that a layer three handover occurs.
20、 根据权利要求 19所述的设备, 其特征在于, 还包括:  The device according to claim 19, further comprising:
地址冲突检测模块, 用于代替终端进行地址冲突检测。  An address conflict detection module is configured to perform address conflict detection instead of the terminal.
21、 根据权利要求 20所述的设备, 其特征在于, 所述地址冲突检测模块 具体是:  The device according to claim 20, wherein the address conflict detection module is specifically:
第一地址冲突检测模块,用于为所述终端将在层三切换后的新的链路上使 用的第一 IP地址进行地址冲突检测。  The first address conflict detection module is configured to perform address conflict detection on the first IP address used by the terminal on the new link after the layer 3 switchover.
22、 根据权利要求 21所述的设备, 其特征在于, 所述第一地址冲突检测 模块的检测结果由所述层三切换通知模块通知给所述终端。  The device according to claim 21, wherein the detection result of the first address conflict detection module is notified to the terminal by the layer three handover notification module.
23、 根据权利要求 20所述的设备, 其特征在于, 所述地址冲突检测模块 具体是:  The device according to claim 20, wherein the address conflict detection module is specifically:
第二地址冲突检测模块, 用于为所述终端分配不冲突的第二 IP地址, 并 将所述第二 IP地址或第二 IP地址对应的接口标识通过所述层三切换通知模块 通知所述终端。  a second address conflict detection module, configured to allocate a second IP address that does not conflict with the terminal, and notify the interface identifier corresponding to the second IP address or the second IP address by using the layer three handover notification module terminal.
24、根据权利要求 19至 23中任意一项所述的设备, 其特征在于, 所述层 三切换的处理设备具体是目标服务节点。  The device according to any one of claims 19 to 23, wherein the processing device of the layer three switching is specifically a target service node.
25、 一种层三切换处理设备, 其特征在于, 包括:  25. A layer three switching processing device, comprising:
信息获得模块, 用于获得终端正在发生或将要发生层三切换的信息; 地址冲突检测模块, 用于代替终端进行地址冲突检测。 An information obtaining module, configured to obtain information that a terminal is performing or is about to undergo a layer three handover; An address conflict detection module is configured to perform address conflict detection instead of the terminal.
26、 根据权利要求 25所述的设备, 其特征在于, 所述地址冲突检测模块 具体是:  The device according to claim 25, wherein the address conflict detection module is specifically:
第三地址冲突检测模块,用于为所述终端将在层三切换后的新的链路上使 用的第一 IP地址进行地址冲突检测, 并将所述检测结果通知所述终端。  The third address conflict detection module is configured to perform address conflict detection on the first IP address used by the terminal on the new link after the layer 3 switchover, and notify the terminal of the detection result.
27、 根据权利要求 25所述的设备, 其特征在于, 所述地址冲突检测模块 具体是:  The device according to claim 25, wherein the address conflict detection module is specifically:
第四地址冲突检测模块, 用于为所述终端分配不冲突的第二 IP地址, 并 将所述第二 IP地址或第二 IP地址对应的接口标识通知所述终端。  The fourth address conflict detection module is configured to allocate a second IP address that does not conflict to the terminal, and notify the terminal of the interface identifier corresponding to the second IP address or the second IP address.
PCT/CN2007/070390 2006-07-31 2007-07-31 Method and system and device for processing layer three handoff WO2008017267A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610104036.X 2006-07-31
CNA200610104036XA CN101119291A (en) 2006-07-31 2006-07-31 Method and system for processing three-layer switch

Publications (1)

Publication Number Publication Date
WO2008017267A1 true WO2008017267A1 (en) 2008-02-14

Family

ID=39032644

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070390 WO2008017267A1 (en) 2006-07-31 2007-07-31 Method and system and device for processing layer three handoff

Country Status (2)

Country Link
CN (1) CN101119291A (en)
WO (1) WO2008017267A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056236A (en) * 2009-11-01 2011-05-11 中兴通讯股份有限公司 Communication network implemented based on Wimax network structure and terminal access method
CN102170674A (en) * 2010-02-25 2011-08-31 中兴通讯股份有限公司 Wimax (worldwide interoperability for microwave access) system capable of realizing non-mooring anchor switching and switching method of system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232698B (en) * 2007-01-23 2013-04-17 华为技术有限公司 Terminal, system and method for reducing switch time delay
US8625421B2 (en) * 2012-02-03 2014-01-07 Telefonaktiebolaget L M Ericsson (Publ) DAD-NS triggered address resolution for DoS attack protection
CN108566639B (en) * 2018-06-28 2019-07-23 恒宝股份有限公司 A kind of code Activiation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543256A (en) * 2003-04-29 2004-11-03 ���ǵ�����ʽ���� Method for reserving a new care of address (coa) in advance to achieve a fast handover
WO2005053187A1 (en) * 2003-11-26 2005-06-09 Electronics And Telecommunications Research Institute Access router based mobile ipv6 fast handover method
CN1705285A (en) * 2004-05-31 2005-12-07 中国科学院声学研究所 Tunnel based mobile IPv6 quick switching method
US20060029020A1 (en) * 2004-08-03 2006-02-09 Hee-Young Jung Handover method
CN1809010A (en) * 2005-01-18 2006-07-26 三星电子株式会社 Method and apparatus for minimizing hand-off time using mobile node information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543256A (en) * 2003-04-29 2004-11-03 ���ǵ�����ʽ���� Method for reserving a new care of address (coa) in advance to achieve a fast handover
WO2005053187A1 (en) * 2003-11-26 2005-06-09 Electronics And Telecommunications Research Institute Access router based mobile ipv6 fast handover method
CN1705285A (en) * 2004-05-31 2005-12-07 中国科学院声学研究所 Tunnel based mobile IPv6 quick switching method
US20060029020A1 (en) * 2004-08-03 2006-02-09 Hee-Young Jung Handover method
CN1809010A (en) * 2005-01-18 2006-07-26 三星电子株式会社 Method and apparatus for minimizing hand-off time using mobile node information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056236A (en) * 2009-11-01 2011-05-11 中兴通讯股份有限公司 Communication network implemented based on Wimax network structure and terminal access method
CN102056236B (en) * 2009-11-01 2014-04-30 中兴通讯股份有限公司 Communication network implemented based on Wimax network structure and terminal access method
CN102170674A (en) * 2010-02-25 2011-08-31 中兴通讯股份有限公司 Wimax (worldwide interoperability for microwave access) system capable of realizing non-mooring anchor switching and switching method of system
WO2011103753A1 (en) * 2010-02-25 2011-09-01 中兴通讯股份有限公司 Wimax system realizing anchor switch and switch method thereof

Also Published As

Publication number Publication date
CN101119291A (en) 2008-02-06

Similar Documents

Publication Publication Date Title
JP3923886B2 (en) Mobile start-up tunneling handoff with low delay
JP4567004B2 (en) Mobile IPv6 fast handover method based on access router
KR101375540B1 (en) Method and Apparatus for performing neighbor discovery in a heterogeneous network
US8224327B2 (en) Method and system for handoff of mobile node in mobile communication system supporting proxy mobile internet protocol
US8570976B2 (en) Method and system for fast handover in hierarchical mobile IPv6
US20120063428A1 (en) Interface Switching System, Mobile Node, Proxy Node, and Mobile Management Node
JP2010532959A (en) Detection of mobility functions implemented in mobile nodes
US8045522B2 (en) Method and system for performing handoff in wireless networks
JP2009529267A (en) High-speed configuration of default router for mobile node in mobile communication system
WO2009006848A1 (en) Access network switching method, anchor management device, and mobile accessing device
JP2009529265A (en) Method and system for fast handover using dynamic router advertisement
JP2009530932A (en) Seamless transmission of data to mobile nodes during fast handover in mobile communication systems
JP2012501129A (en) Detection of mobility management functions used by the network
JPWO2009057296A1 (en) Mobile terminal, network node, and packet forwarding management node
JP5052675B2 (en) How to control mobile node proxy binding
US20110255511A1 (en) Handover method and mobile terminal and home agent utilized in said method
WO2008017267A1 (en) Method and system and device for processing layer three handoff
US8761119B2 (en) Handover method, and mobile terminal and home agent used in the method
US9148826B2 (en) Handover method and mobile terminal and home agent used in the method
EP2074860B1 (en) Method and system for managing address prefix information associated with handover in networks
KR100915513B1 (en) PACKET BUFFERING METHOD AND APPARATUS FOR REDUCING PACKET LOSS IN PROXY MOBILE IPv6
JPWO2009054127A1 (en) Communication system, mobile terminal and network node
KR20090054145A (en) Method for performing fast handover traffic based on network
Sivagurunathan et al. Experimental comparison of handoff performance of SIGMA and mobile IP
WO2008089671A1 (en) Method, system and terminal for reducing handover delay

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07785388

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07785388

Country of ref document: EP

Kind code of ref document: A1