WO2007036146A1 - A METHOD, SYSTEM AND DEVICE FOR COMMUNICATING BETWEEN IPv6 MOBILE NODE AND IPv4 COMMUNICATION PARTNER - Google Patents

A METHOD, SYSTEM AND DEVICE FOR COMMUNICATING BETWEEN IPv6 MOBILE NODE AND IPv4 COMMUNICATION PARTNER Download PDF

Info

Publication number
WO2007036146A1
WO2007036146A1 PCT/CN2006/002525 CN2006002525W WO2007036146A1 WO 2007036146 A1 WO2007036146 A1 WO 2007036146A1 CN 2006002525 W CN2006002525 W CN 2006002525W WO 2007036146 A1 WO2007036146 A1 WO 2007036146A1
Authority
WO
WIPO (PCT)
Prior art keywords
ipv4
ipv6
address
home agent
mobile node
Prior art date
Application number
PCT/CN2006/002525
Other languages
French (fr)
Chinese (zh)
Inventor
Ru 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 WO2007036146A1 publication Critical patent/WO2007036146A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]
    • H04W80/045Network layer protocols, e.g. mobile IP [Internet Protocol] involving different protocol versions, e.g. MIPv4 and MIPv6

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, system, and apparatus for communicating between an IPv6 mobile node and an IPv4 communication partner.
  • Mobile services are connected to the Internet (Internet) through a public mobile wireless network at any location.
  • Mobile IP Mobile IP
  • home address the initial IP address for IP communication during the mobile process
  • Mobile IP technology can be implemented by Mobile IPv4 and Mobile IPv6 respectively, called Mobile IPv4 technology and Mobile IPv6 technology.
  • the structure of an IPv4 network using Mobile IPv4 technology is shown in Figure 1.
  • the communication process between the mobile node 110 and the communication partner 120 includes:
  • Step 1 The mobile agent (including the home agent 130 and the foreign agent 140) advertises its own existence through the proxy announcement message; the mobile node 110 may also send a proxy request message requesting the mobile agent to send the proxy announcement message;
  • Step 2 When the mobile node 110 receives the proxy advertisement message, it may determine, according to the proxy advertisement message, whether the network is the foreign network 190 or the home network 180;
  • Step 3 When the mobile node 110 confirms that it is located in the home network 180, it does not need to use the mobile IP address, and uses its home address for external communication. When the mobile node 110 confirms that it is in the foreign network, it first needs to obtain a care-of address. This care-of address can be obtained through a foreign agent announcement message (foreign agent care-of address) or via a DHCP server (not shown) (called a co-located care-of address).
  • a foreign agent announcement message foreign agent care-of address
  • a DHCP server not shown
  • Step 4 The mobile node 110 sends information such as a home address and a care-of address through a registration request message. Register with the home agent 130. There are two methods: 1) If the care-of address is obtained through the foreign agent 140, the mobile node 110 must relay the registration message to the home agent 130 via the foreign agent 140; 2) if the care-of address is a co-located care-of address, and the foreign agent 140 Not required, the mobile node 110 can register directly with the home agent 130.
  • the home agent 130 After receiving the registration request message, the home agent 130 records information such as the home address and the care-of address, and responds to the mobile node 110 with a registration response message.
  • the registration process ends when the mobile node 110 receives the registration response message.
  • Step 5 The mobile node 110 directly transmits the data packet to the communication partner 120, or transmits it to the home agent 130 through the reverse tunnel, and then forwards it to the communication partner 120 by the home agent 130.
  • Step 6 The data packet (the destination is the home address) sent by the communication partner 120 to the mobile node 110 is intercepted by the home agent 130 and transmitted to the care-of address of the mobile node 110 through the tunnel encapsulation.
  • Step 7 The mobile node 110 decapsulates the tunnel message; or the foreign agent 140 decapsulates the tunnel message and delivers the data packet to the mobile node 110.
  • the structure of the IPv6 network using Mobile IPv6 is shown in Figure 2.
  • the communication process between the mobile node 210 and the communication partner 220 includes:
  • Step 11 When the mobile node 210 is connected to its home network 280, it operates in the same manner as other fixed nodes.
  • Step 12 The mobile node 210 detects whether it has roamed to the foreign network 290 through the IPv6 neighbor discovery mechanism.
  • the IPv6 foreign gateway 240 periodically sends a router advertisement message, which includes the prefix of the foreign network. After receiving the router advertisement message of the foreign gateway, the mobile node 210 checks that the prefix of the foreign network is different from the prefix of the home network, and then considers Roamed to the foreign network to 290.
  • Step 13 When the mobile node 210 finds that it has moved to the foreign network 290, it obtains the care-of address on the foreign network through the stateful or stateless address auto-configuration process based on the received router advertisement information. At this time, the mobile node 210 has both the home address and the care-of address.
  • Step 14 The mobile node 210 registers its care-of address with the "Binding Update" message to the home agent 230.
  • the home agent 230 maintains information such as the home address and the care-of address according to the content of the message, so as to proxy the mobile node to send and receive messages.
  • Step 15 The mobile node 210 notifies the communication partner 220 of the care-of address through the "Binding Update" message to implement the "route optimization" mode of communication.
  • Step 16 If the communication partner 220 of the mobile node 210 does not know its care-of address, the data packet will be sent to the mobile node's home network 280 according to the mobile node's home address, and then the home agent 230 will intercept the data packet. The data packets are forwarded to the mobile node 210 using a tunneling mechanism based on the current care-of address of the mobile node. In the opposite direction, the mobile node 210 sends the message to the communication partner 220, which is first sent to the home agent 230 through the reverse tunnel, and then forwarded to the communication partner 220 by the home agent 230.
  • the communication partner 220 knows the care-of address of the mobile node through the "binding update"
  • the data packet is directly sent to the mobile node 210 in the foreign network without being transited by the home agent.
  • the mobile node 210 also directly transmits data packets to the communication partner, that is, the communication in the "route optimization" mode.
  • the mobile node In order to realize the smooth transition from the IPv4 network to the IPv6 network, it is necessary to solve the problem of communication between the IPv6 mobile node and the IPv4 communication partner.
  • the mobile node In a prior art technical solution, the mobile node is required to support both the Mobile IPv6 technology and the Mobile IPv4 technology. Two sets of mobile agents (including home agents or foreign agents) are set up for Mobile IPv6 technology and Mobile IPv4 technology respectively. Mobile IPv6 technology is used when mobile nodes access IPv6 communication partners, and Mobile IPv4 technology is used when accessing IPv4 communication partners.
  • the prior art completely solves the problem that the mobile node accesses the IPv6 and IPv4 communication partners at the same time, it requires the mobile node to support both Mobile IPv6 and Mobile IPv4, which increases the implementation complexity of the mobile node and is not conducive to lightweight mobile. Terminal implementation also causes duplication and redundancy of mobile IP processing.
  • the prior art requires that the mobile access network must be dual-stacked or overlapped between the IPv6 network and the IPv4 network to simultaneously support Mobile IPv6 and Mobile IPv4 processing of the mobile node, which increases the difficulty of deployment.
  • IPv6 mobile node and IPv4 communication partner communication are implemented by using Mobile IPv6 in conjunction with NAT-PT (Network Address Translation-Protocol Translation), and the network architecture is as shown in FIG.
  • NAT-PT Network Address Translation-Protocol Translation
  • Step 21 When the IPv6 mobile node 310 moves to the foreign network 390, after obtaining the IPv6 care-of address, it first registers with the home agent 330 through a "binding update" message.
  • Step 22 Before sending the data packet to the IPv4 communication partner 320, the IPv6 mobile node 310 obtains the corresponding IPv6 address of the IPv4 communication partner (the specific method is the same as the normal NAT-PT application) as the destination address of the data packet, and the source address is the IPv6 mobile node. The home address is then sent to the home agent 330 through the reverse tunnel, and the data packet is sent to the IPv4 communication partner 320 by the home agent.
  • Step 23 Since the destination address of the data packet is an IPv6 address corresponding to the IPv4 communication partner, the data packet is sent to the NAT-PT gateway 360, and at the NAT-PT gateway 360, the IPv6 data packet is converted according to the NAT-PT protocol requirement.
  • the IPv6 source address ie, the home address
  • the IPv6 address is converted to an IPv4 address (set to tranSourceIPv4) assigned from the NAT-PT gateway IPv4 address pool. .
  • Step 24 The converted IPv4 data packet is sent from the NAT-PT gateway 360 to the IPv4 communication partner 320.
  • the packet returned from the IPv4 communication partner 320 to the IPv6 mobile node 310 has a destination address of tranSourceIPv4.
  • Step 25 The data packet returned by the IPv4 communication partner 320 arrives at the NAT-PT gateway 360, and the NAT-PT gateway 360 converts the data packet into an IPv6 data packet.
  • the translated destination address is the home address of the IPv6 mobile node.
  • Step 26 The converted data packet is first intercepted by the home agent 330, and then the data packet is sent to the IPv6 mobile node 310 through the tunnel according to the handover address of the mobile node.
  • Step 27 The IPv6 mobile node 310 receives the IPv6 data packet returned by the IPv4 communication partner from the tunnel, and completes the processing.
  • the prior art solves the problem of IPv6 mobile node and IPv4 communication by using the "triangular routing" mode of Mobile IPv6 in conjunction with NAT-PT. Since all communication data packets are converted by the NAT-PT gateway, the NAT-PT gateway is easy to become Bottlenecks, reducing network efficiency. In addition, the NAT-PT gateway has a problem of conversion to some application layers, and there is a lack of scalability.
  • the invention provides a method, a system and a device for communicating between an IPv6 mobile node and an IPv4 communication partner, which can improve the efficiency of the network without depending on a special gateway device.
  • a method for an IPv6 mobile node to communicate with an IPv4 communication partner includes:
  • An IPv6 home agent obtains address information of the IPv6 mobile node, where the address information includes An IPv4 home address and an IPv4 home agent address, and an IPv6 home address and an IPv6 care-of address; the IPv6 home agent performs an IPv4 home agent corresponding to the IPv4 home agent address
  • the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner.
  • the obtaining, by the IPv6 home agent, the address information of the IPv6 mobile node includes: when the IPv6 mobile node moves to a foreign network, obtains an IPv6 care-of address, constructs a binding update message, and registers with an IPv6 home agent. Specifying an IPv4 home address and an IPv4 home agent address in the binding update message;
  • the IPv6 home agent After receiving the binding update message, the IPv6 home agent obtains an IPv6 home address and
  • IPv6 care-of address and IPv4 home address and IPv4 home agent address.
  • the constructing the binding update message includes:
  • the IPv6 mobile node adds an IPv4 registration mobility option to the binding update message; the IPv4 home address and the IPv4 home agent address are indicated in the IPv4 registration mobility option.
  • the method further includes:
  • the IPv6 home agent responds to the IPv6 mobile node with an IPv6 binding acknowledgement message according to the IPv6 home address and the IPv6 care-of address information;
  • IPv4 home address and the IPv4 home agent address information it is checked whether the IPv6 mobile node corresponding to the IPv4 home address has been proxyed, and the registration is performed when it is confirmed that the agent has passed the IPv6.
  • the IPv6 home agent performs registration of the IPv6 mobile node to the IPv4 home agent corresponding to the IPv4 home agent address, including:
  • the IPv6 home agent constructs an IPv4 registration request message, the IPv4 home agent address is used as the destination address of the registration request message, and the IPv4 home agent's IPv4 address is used as the source address of the registration request message;
  • the IPv4 home agent obtains an IPv4 home address from the received registration request message And record and record the IPv4 address of the IPv6 home agent, and respond to the registration response message to the IPv6 home agent.
  • the method further includes: after confirming that the registration response message is valid, the IPv6 home agent validates an agent function corresponding to the IPv4 home address of the IPv6 mobile node, and validates the recorded address information.
  • the replacing the IPv6 mobile node sends the configured IPv4 registration request message to the IPv4 home agent, specifically:
  • IPv6 home agent When the IPv6 home agent supports the Han stack and has at least one IPv4 address and has an IPv4 network connection, directly transmitting the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node; or
  • the IPv4 over IPv6 tunnel or the universal route encapsulation tunnel is used to replace the IPv6 mobile node to send the constructed IPv4 registration request message to the IPv4 home agent. ; or,
  • the network address translation method is used instead of the IPv6 mobile node to send the constructed IPv4 registration request message to the IPv4 home agent.
  • the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner, including:
  • the IPv6 home agent searches for the corresponding IPv4 home agent address according to the IPv4 home address carried by the IPv4 mobile node and the IPv4 home address carried by the IPv4 mobile partner, and sends the IPv4 data packet to the IPv4 home agent according to the IPv4 home agent address. Sent to the IPv4 communication partner through the IPv4 home agent; and/or,
  • the IPv4 home agent intercepts the IPv4 data packet sent by the IPv4 communication partner to the IPv6 mobile node, and sends the IPv4 home agent address to the corresponding IPv6 home agent according to the IPv4 home address carried in the data packet, and confirms the IPv4 home address carried by the IPv6 home agent in the IPv4 data packet.
  • the IPv4 data packet is sent to the IPv6 mobile node.
  • the IPv6 mobile node sets an IPv4 home agent as an IPv4 gateway, and sets an outgoing interface of the IPv4 gateway as an IP v6 reverse tunnel on the mobile node;
  • the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner, including:
  • the IPv6 mobile node passes the IPv4 data packet sent to the IPv4 communication partner through the IPv6
  • the reverse tunnel is encapsulated into an IPv6 data packet and transmitted to the IPv6 home agent; wherein, the destination address of the IPv4 data packet is an IPv4 communication partner, and the source address is an IPv4 home address of the IPv6 mobile node; the destination address of the IPv6 data packet is IPv6 home agent, the source address is the IPv6 care-of address of the IPv6 mobile node;
  • IPv6 home agent Decapsulating the IPv6 data packet by the IPv6 home agent, and restoring the IPv4 data packet sent to the IPv4 communication partner;
  • the IPv6 home agent sends the IPv4 data packet to the IPv4 communication partner when it confirms that the IPv4 home address has been proxied.
  • the sending, by the IPv6 home agent, the source address information of the IPv4 home address carried by the IPv4 data packet, instead of the IPv6 mobile node, is sent to the IPv4 communication partner.
  • IPv4 data packet is encapsulated and sent to the corresponding IPv4 home agent through an IPv4 reverse tunnel whose destination address is an IPv4 home agent and whose source address is an IPv6 home agent.
  • the corresponding IPv4 home agent After receiving the encapsulated IPv4 data packet, the corresponding IPv4 home agent decapsulates the data packet, restores the IPv4 data packet, and carries the IPv4 home address according to the restored IPv4 data packet.
  • the source address information confirms that the IPv4 home address has been proxied, the IPv4 data packet is sent to the corresponding IPv4 communication partner.
  • the IPv4 data packet is encapsulated and sent to a corresponding IPv4 home agent, and specifically includes:
  • the IPv4 data packet is encapsulated by the IPv4 reverse tunnel and sent to the corresponding IPv4 home agent;
  • the IPv6 home agent When the IPv6 home agent supports the dual stack and has at least one IPv4 address and does not have an IPv4 network connection, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then encapsulated by an IPv4 Over IPv6 tunnel or a general routing. The tunnel is sent to the corresponding IPv4 home agent.
  • the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner, including:
  • the IPv4 home agent intercepts an IPv4 data packet sent from the IPv4 communication partner to the IPv6 mobile node, and encapsulates the IPv4 data packet into a corresponding IPv4 data packet, and then sends the IPv4 data packet to the IPv4 home address corresponding to the IPv6 mobile node.
  • IPv6 home agent IPv6 home agent
  • the IPv6 home agent de-encapsulates the received IPv4 data packet
  • the IPv4 data packet sent to the IPv6 mobile node is restored, and the IPv4 data packet of the restored IPv4 data packet is the destination address of the IPv4 home address.
  • the IPv4 data packet is sent to the IPv6 mobile node.
  • the sending the IPv4 data packet to the IPv6 mobile node includes: checking whether an IPv6 tunnel to the IPv6 care-of address is existing, and if yes, using the IPv6 tunnel to send the IPv4 data packet. Encapsulate into an IPv6 data packet and send it to the IPv6 mobile node; otherwise, establish an IPv6 tunnel to the IPv6 care-of address, then encapsulate the IPv4 data packet into an IPv6 data packet through the IPv6 tunnel, and send it to the IPv6 Mobile node.
  • the method further includes: after the decapsulating the received IPv6 data packet, the IPv6 mobile node restores the IPv4 data packet, and uploads the IPv4 data packet to the application layer for receiving processing.
  • a mobile IP communication system including an IPv4 home agent, an IPv4 communication partner, further includes:
  • An IPv6 mobile node configured to provide address information to an IPv6 home agent, where the address information includes an IPv4 home address and an IPv4 home agent address, and an IPv6 home address and an IPv6 care-of address;
  • An IPv6 home agent configured to obtain address information of the IPv6 mobile node; perform IPv6 mobile node registration with an IPv4 home agent corresponding to the IPv4 home agent address; and forward an IPv6 mobile node to an IPv4 communication partner with an IPv4 home agent data.
  • an IPv6 home agent includes:
  • An IPv4 registration unit configured to register an IPv6 mobile node with an IPv4 home agent corresponding to the IPv4 home agent address;
  • the data forwarding unit is configured to cooperate with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner.
  • the address information obtaining unit is a binding update message parsing unit, configured to obtain an IPv6 home address and an IPv6 care-of address, and an IPv4 home address and an IPv4 home agent address from a binding update message of the IPv6 mobile node.
  • the IPv4 registration unit includes:
  • An IPv4 registration request message constructing unit is configured to use an IPv4 home agent address as a destination address of the registration request message, and construct an IPv4 registration request message by using an IPv4 home agent IPv4 address as a source address of the registration request message;
  • the IPv4 registration request message sending unit is configured to send the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node.
  • the data forwarding unit includes:
  • An IPv6 packet decapsulation unit configured to decapsulate an IPv6 data packet from an IPv6 mobile node, and restore an IPv4 data packet sent to the IPv4 communication partner;
  • An IPv4 data packet encapsulating unit configured to encapsulate the IPv4 data packet by using an IPv4 reverse tunnel whose destination address is an IPv4 home agent and an IPv6 home agent address;
  • An IPv4 data packet sending unit is configured to send the encapsulated IPv4 data packet to a corresponding IPv4 home agent.
  • the data forwarding unit includes:
  • the IPv4 data packet decapsulation unit is configured to: after decapsulating the IPv4 data packet from the IPv4 home agent, to restore the IPv4 data packet sent to the IPv6 mobile node;
  • An IPv6 data packet encapsulating unit configured to encapsulate the IPv4 data packet into an IPv6 data packet by using an IPv6 tunnel to an IPv6 care-of address
  • An IPv6 packet sending unit is configured to send the encapsulated IPv6 data packet to the IPv6 mobile node.
  • the IPv6 home agent of the present invention obtains an IPv4 home address and an IPv4 home agent address information of an IPv6 mobile node, and an IPv6 home address and an IPv6 care-of address information;
  • the address information is replaced by the IPv6 mobile node to register with the IPv4 home agent, and the IPv4 home agent is used to communicate with the IPv4 mobile node.
  • the mobile node can only use Mobile IPv6 technology, and solve the mobility of IPv6 and IPv4 by using the deployed IPv6 home agent and IPv4 home agent in the network, thereby simplifying the complexity of mobile node implementation.
  • the mobile access network may not need to be dual-stack or overlap between IPv6 and IPv4 networks, which makes applications that support both IPv6 and IPv4 mobility easier to deploy and deploy.
  • FIG. 1 is a schematic diagram of an IPv4 network using the Mobile IPv4 technology in the prior art
  • FIG. 2 is a schematic diagram of an IPv6 network using the Mobile IPv6 technology in the prior art
  • FIG. 4 is a schematic structural diagram of an embodiment of a mobile IP communication system according to the present invention
  • Figure 5 is a flowchart of an embodiment of a communication method of the present invention
  • FIG. 6 is a flowchart of performing IPv4 registration in an embodiment of a communication method according to the present invention
  • FIG. 7 is a flowchart of performing data forwarding in an embodiment of a communication method according to the present invention
  • FIG. 8 is an embodiment of an IPv6 home agent according to the present invention
  • an IPv6 home agent obtains an IPv4 home address and an IPv4 home agent address information of an IPv6 mobile node, and an IPv6 home address and an IPv6 care-of address information; and replaces an IPv6 mobile node with an IPv4 home agent based on the acquired address information. Registration, on the basis of this, cooperate with the IPv4 home agent to realize the communication between the IPv6 mobile node and the IPv4 communication partner.
  • the embodiment provided by the present invention implements IPv4 mobility of the mobile node by improving the Mobile IPv6 technology, and mainly includes using the IPv6 home agent as a secondary agent to cooperate with the IPv4 home agent to implement the mobile node's IPv4 mobility capability.
  • FIG. 4 is a schematic structural diagram of a mobile IP communication system according to the present invention.
  • the system includes an IPv6 network 400 and an IPv4 network 900.
  • the IPv6 mobile node 410 supporting the dual stack has both an IPv6 home address and an IPv4 home address, and learns the IPv6 home agent address and the IPv4 home agent address.
  • the home address of IPv4 and the recipient of the IPv4 home agent address can be static configuration or other dynamic methods.
  • the IPv6 network 400 when the IPv6 mobile node 410 is in the foreign network 490, it can communicate externally through the IPv6 home agent 420 in its home network 480.
  • the IPv4 network 900 includes an IPv4 home agent 910 corresponding to the IPv6 mobile node 410 and an IPv4 communication partner 920 that needs to communicate with the IPv6 mobile node 410.
  • the IPv6 home agent 420 cooperates with the IPv6 home agent 420 to implement communication between the IPv6 mobile node 410 and the communication partner 920.
  • the IPv6 mobile node 410 does not need to obtain an IPv4 care-of address after moving to the foreign network 490, and always uses an IPv4 home address and external communication.
  • a flow of an implementation manner of a communication method of the present invention includes:
  • Step S510 The IPv6 home agent obtains address information of the IPv6 mobile node, where the address information includes an IPv4 home address and an IPv4 home agent address, and an IPv6 home address and an IPv6 care-of address;
  • Step S520 the IPv6 home agent performs registration of the IPv6 mobile node to the IPv4 home agent corresponding to the IPv4 home agent address;
  • Step S530 The IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner.
  • the address information is transmitted to the IPv6 home agent through the extension of the binding update message. That is, the IPv6 mobile node constructs a binding update message, and specifies an IPv4 home address and IPv4 home agent address information in the binding update message. Specifically include:
  • the IPv6 mobile node adds an IPv4 registration mobility option after binding the update message, and then indicates the IPv4 home address and the IPv4 home agent address information in the IPv4 registration mobility option.
  • the format of the binding update message constructed in the present invention can be as follows:
  • the Type value can be determined according to the value of the actual standard organization application.
  • the IPv4 Home Address is the IPv4 home address
  • the IPv4 Home Agent is the IPv4 home agent address.
  • the IPv6 home agent replaces the mobile node to send an IPv4 registration request to the IPv4 home agent according to the information such as the IPv4 home address and the IPv4 home agent address carried in the message content.
  • Message Specifically include:
  • Step S610 After receiving the binding update message, the IPv6 home agent obtains an IPv6 home address and an IPv6 care-of address information, and an IPv4 home address and an IPv4 home agent address information according to the binding update message content.
  • Step S620 The IPv6 home address and the IPv6 care-of address information are obtained, and the IPv6 "binding confirmation" message is sent to the IPv6 mobile node; and according to the obtained IPv4 home address and the IPv4 home agent address information, it is checked whether the user has already
  • the agent obtains the obtained IPv4 home address, and if it is confirmed that the agent has been authenticated, step S630 is executed to end the process of registering with the IPv4 home agent; if it is confirmed that the agent has not been agentd, step S640 is performed.
  • Step S640 The IPv6 home agent uses the IPv4 home agent address as the destination address of the registration request message, and uses the IPv4 home agent's IPv4 address as the source address of the registration request message to construct an IPv4 registration request message.
  • the specific process is:
  • the IPv4 home agent address is used as the destination address of the registration request message; the IPv4 address of the IPv6 home agent is used as the source address of the registration request message. It is equivalent to the IPv4 address of the IPv6 home agent as the IPv4 Co-Located care-of address of the mobile node.
  • IPv4 registration request message can be constructed in the following format: (can be sent over the socket) IPv4 domain:
  • Source address IPv6 address of the IPv6 home agent
  • Source Port ⁇ any > (system customization)
  • Registration request domain One possible specific format is:
  • Step S640 Send the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node, and temporarily record the IPv4 home address and the IPv4 home agent address, and the corresponding IPv6 home address and IPv6 care-of address information in the cache;
  • the message can be directly routed to the IPv4 home agent. Otherwise, the IPv4 registration request message can be sent to the IPv4 home agent through the tunnel, for example, through IPv4. Over ⁇ 3 ⁇ 4, or GRE (Generic Routing Encapsulation) tunnel.
  • the IPv6 home agent supports the dual stack and has at least one IPv4 address and has an IPv4 network connection, the IPv6 mobile node is directly sent to the IPv4 home agent to send the constructed IPv4 registration request message;
  • IPv6 home agent When the IPv6 home agent supports dual stack and has at least one IPv4 address and does not have an IPv4 network connection, the IPv6 mobile node is replaced by an IPv4 Over IPv6 tunnel or a GRE tunnel.
  • the IPv4 home agent sends the constructed IPv4 registration request message;
  • the NAT-PT method is used to replace the IPv6 mobile node to send the constructed IPv4 registration request message to the IPv4 home agent.
  • Step S650 the IPv4 home agent receives the registration request message, obtains an IPv4 home address and an IPv4 care-of address (an IPv4 address of an IPv6 home agent), records it in a cache of the IPv4 home agent, and then responds to the registration response message to IPv6 home agent;
  • Step S660 The IPv6 home agent receives the registration response message from the IPv4 home agent, and after confirming that the registration response message is valid, the proxy function of the IPv4 home address of the relevant mobile node is validated, and the cache is temporarily suspended. The recorded information takes effect and then ends the IPv4 mobile registration process for the proxy IPv6 mobile node.
  • the IPv6 mobile node can exchange information with the IPv4 communication partner, and the specific implementation process includes:
  • Step S710 The IPv6 mobile node sets an IPv4 home agent address as an IPv4 gateway, and sets an outgoing interface of the IPv4 gateway as an IPv6 reverse tunnel on the mobile node.
  • the mobile node Before communicating with the IPv4 communication partner, the mobile node can set the IPv4 home agent address as the IPv4 default gateway and set the Mobile IPv6 reverse tunnel on the mobile node (the IPv6 mobile node performs Mobile IPv6 packet processing during the mobile node and The IPv6 home agent is established as the default gateway outbound interface of IPv4, that is, all IPv4 packets sent to the outside are sent through the Mobile IPv6 reverse tunnel.
  • Step S720 The IPv6 mobile node sends the IPv4 data packet to the IPv4 communication partner, and the IPv6 data packet is encapsulated into an IPv6 data packet by the IPv6 reverse tunnel, and then transmitted to the IPv6 home agent; the destination address of the IPv4 data packet is an IPv4 communication partner, and the source address is It is the IPv4 home address of the IPv6 mobile node; the destination address of the IPv6 packet encapsulated by the reverse tunnel is the IPv6 home agent, and the source address is the IPv6 care-of address of the IPv6 mobile node.
  • Step S730 After decapsulating the IPv6 data packet, the IPv6 home agent restores an IPv4 data packet that is sent to the IPv4 communication partner, and searches for information recorded in the process of replacing the IPv6 mobile node with the IPv4 home agent.
  • the source address carried by the IPv4 data packet is information of an IPv4 home address, and when it is confirmed, the mobile node corresponding to the IPv4 home address is considered to be proxy, and the IPv6 mobile node is sent to the IPv6 mobile node to send the IPv4 data packet to the IPv4 communication partner Accompanying.
  • Step 1 The IPv6 home agent searches for and obtains the IPv4 address corresponding to the IPv4 home address in the information recorded by the process of registering the IPv4 home node to the IPv4 home agent according to the source address information of the IPv4 home address carried by the IPv4 data packet. Home agent address.
  • Step 2 Check whether there is an IPv4 reverse tunnel of the IPv4 home agent corresponding to the IPv4 home agent address. If yes, perform step 3 directly; if not, set the destination address to be an IPv4 home agent, and the source address is IPv6 hometown. The IPv4 address of the proxy is reverse tunneled, and then step three is performed.
  • Step 3 The IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then sent to the corresponding IPv4 home agent.
  • the destination address of the encapsulated data packet is an IPv4 home agent, and the source address is an IPv4 home agent IPv4. address.
  • IPv4 home agent IPv4. address The following includes the following situations: When the IPv6 home agent supports the dual stack and has at least one IPv4 address and has an IPv4 network connection, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then sent to the corresponding IPv4 home agent; or,
  • IPv6 home agent When the IPv6 home agent supports the dual stack and has at least one IPv4 address and does not have an IPv4 network connection, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then sent to the corresponding IPv4 through the tunnel.
  • Home agent such as IPv4 Over IPv6 tunnel or GRE tunnel; or
  • IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then sent to the corresponding IPv4 home agent through the NAT-PT.
  • Step S740 After receiving the encapsulated IPv4 data packet, the corresponding IPv4 home agent performs decapsulation processing on the data packet, restores the IPv4 data packet, and carries according to the restored IPv4 data packet.
  • the source address information of the IPv4 home address is searched for the corresponding Mobile IPv4 registration information. When it is confirmed that the corresponding information exists, the IPv4 data packet is sent to the corresponding IPv4 communication partner.
  • Step S750 The IPv4 communication partner sends according to the address information carried in the received data packet. IPv4 packets are sent to IPv6 mobile nodes. Specifically include:
  • Step 1 After receiving the IPv4 data packet, the IPv4 communication partner obtains that the source address of the data packet is an IPv4 home address of the IPv6 mobile node.
  • Step 2 Send an IPv4 data packet to the IPv6 mobile node according to the IPv4 home address of the IPv6 mobile node; the destination address of the data packet is an IPv4 home address.
  • Step S760 The IPv4 home agent intercepts the data packet, and checks that the destination address of the data packet is an IPv4 home address, and the IPv4 data packet is sent to the IPv6 home agent corresponding to the IPv4 care-of address corresponding to the IPv4 home address through the tunnel.
  • the IPv4 home agent Since the destination address of the IPv4 data packet sent from the IPv4 communication partner to the IPv6 mobile node is the IPv4 home address, it is first intercepted by the IPv4 home agent, and the IPv4 home agent checks that the destination address of the data packet is the IPv4 home address. The IPv4 data packet is then sent through the tunnel to the IPv4 care-of address corresponding to the IPv4 home address. As mentioned earlier, the IPv4 care-of address is the IPv4 address of the IPv6 home agent, so the IPv4 packet is actually sent to the IPv6 home agent via the tunnel.
  • Step S770 After the IPv6 home agent de-encapsulates the received IPv4 data packet, the IPv4 data packet that is sent to the IPv6 mobile node is restored, and according to the destination address of the IPv4 home address, the restored IPv4 data packet is used.
  • the IPv4 data packet is sent to the IPv6 mobile node. Specifically include:
  • Step 1 After the IPv6 home agent de-encapsulates the received IPv4 data packet, it restores the IPv4 data packet that is sent to the IPv6 mobile node.
  • Step 2 According to the destination address of the IPv4 home address carried by the restored IPv4 data packet, searching for and obtaining the IPv6 care-of address corresponding to the IPv4 home address in the information recorded by the process of registering the IPv4 mobile node to the IPv4 home agent. .
  • Step 3 Send the IPv4 data packet to the IPv6 mobile node according to the obtained IPv6 care-of address.
  • the IPv6 home agent can obtain the IPv6 care-of address corresponding to the IPv4 home address, and check whether there is a Mobile IPv6 tunnel to the IPv6 care-of address. If yes, the IPv4 data packet is directly encapsulated into IPv6 through the IPv6 tunnel. After the data packet is sent to the IPv6 mobile node; otherwise, the IPv6 tunnel to the IPv6 care-of address is established, and then the IPv4 data packet is encapsulated into an IPv6 data packet through the IPv6 tunnel, and then sent to the IPv6 mobile node.
  • Step S780 The mobile node receives the IPv6 data packet, decapsulates the IPv6 data packet, and then restores the IPv4 data packet, and uploads the IPv4 data packet to the application layer for receiving processing.
  • FIG. 8 is a block diagram of an embodiment of an IPv6 home agent according to the present invention.
  • the IPv6 home agent includes: an address information obtaining unit 810, configured to obtain an IPv4 home address and an IPv4 home agent address of the IPv6 mobile node, and an IPv6 home address and an IPv6 care-of address; and an IPv4 registration unit 820, configured to send the address to the IPv4 home agent
  • the corresponding IPv4 home agent performs registration of the IPv6 mobile node
  • the data forwarding unit 830 is configured to forward data between the IPv6 mobile node and the IPv4 communication partner in cooperation with the IPv4 home agent.
  • the address information obtaining unit 810 may be a binding update message parsing unit, configured to obtain an IPv6 home address and an IPv6 care-of address, and an IPv4 home address and an IPv4 home agent address from the binding update message from the IPv6 mobile node.
  • the IPv4 registration unit 820 includes: an IPv4 registration request message constructing unit 821, configured to use an IPv4 home agent address as a destination address of a registration request message, and construct an IPv4 registration request by using an IPv4 home agent IPv4 address as a source address of the registration request message.
  • the IPv4 registration request message sending unit 822 is configured to send the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node.
  • the data forwarding unit 830 includes:
  • An IPv6 packet decapsulation unit 831 configured to decapsulate an IPv6 data packet from an IPv6 mobile node, and restore an IPv4 data packet sent to the IPv4 communication partner;
  • the IPv4 data packet encapsulating unit 832 is configured to encapsulate the IPv4 data packet by using an IPv4 reverse tunnel whose destination address is an IPv4 home agent and whose source address is an IPv6 home agent.
  • the IPv4 data packet sending unit 833 is configured to send the encapsulated IPv4 data packet to the corresponding IPv4 home agent.
  • the IPv4 packet decapsulation unit 834 is configured to: after decapsulating the IPv4 data packet from the IPv4 home agent, to restore the IPv4 data packet sent to the IPv6 mobile node;
  • An IPv6 data packet encapsulating unit 835 configured to encapsulate the IPv4 data packet into an IPv6 data packet by using an IPv6 tunnel to an IPv6 care-of address;
  • the IPv6 data packet sending unit 836 is configured to send the encapsulated IPv6 data packet to the IPv6 mobile node.
  • the IPv6 mobile node requirement only the dual stack and the Mobile IPv6 protocol are supported, and a small number of Mobile IPv6 protocol extensions (carrying the IPv4 registration mobility option in the Mobile IPv6 "Binding Message") do not need to support the Mobile IPv4 protocol.
  • a small number of Mobile IPv6 protocol extensions (carrying the IPv4 registration mobility option in the Mobile IPv6 "Binding Message") do not need to support the Mobile IPv4 protocol.
  • the IPv4 home agent no extension is needed, a standard IPv4 home agent can be applied, and the special access device is not required, and the mobile access network does not have to be a dual stack or IPv6.
  • Overlapping with IPv4 networks makes applications that support both IPv6 and IPv4 mobility easier to deploy and deploy.

Abstract

A method, a system and a device are used to communicate between IPv6 mobile node and IPv4 communication partner. The method includes: IPv6 home agent acquiring information of IPv4 home address and IPv4 home agent address, and information of IPv6 home address and IPv6 care-of address; then the communication between IPv6 mobile node and IPv4 communication partner being achieved on the basis of the address information acquired cooperating with IPv4 home agent. The method enables the mobile node only to use Mobile IPv6 technique, in virtue of IPv6 home agent and IPv4 home agent allocated in network, to resolve the mobility of IPv6 and IPv4 simultaneously. The method simplifies the complexity of mobile node realization, and does not depend on special gateway device, mobile access network may not be dual stack or IPv6 and IPv4 network overlaps, these enable the application of simultaneously providing IPv6 and IPv4 mobility to be carried on and deployed more easily.

Description

IPv6移动节点和 IPv4通信伙伴通信的方法、 系统和装置 技术领域 本发明涉及通信领域, 尤其涉及一种 IPv6移动节点和 IPv4通信伙伴 通信的方法、 系统和装置。  TECHNICAL FIELD The present invention relates to the field of communications, and in particular, to a method, system, and apparatus for communicating between an IPv6 mobile node and an IPv4 communication partner.
背景技术 Background technique
随着网络技术的发展, 以及大量移动终端的出现, 如笔记本电脑、 个 人数字助理、 手机、 车载设备等等, 掀起了移动计算的热潮, 越来越多的 用户希望通过各种各样的终端在任意地点通过公用移动无线网连接到 Internet (互联网) , 实现移动业务。  With the development of network technology and the emergence of a large number of mobile terminals, such as notebook computers, personal digital assistants, mobile phones, and in-vehicle devices, etc., the mobile computing boom has arisen, and more and more users hope to pass various terminals. Mobile services are connected to the Internet (Internet) through a public mobile wireless network at any location.
为解决移动业务的需求, 在网络层面上引入了 Mobile IP (移动 IP )技 术, 使移动节点在移动过程中始终可以用初始的 IP地址(称为家乡地址) 进行 IP通信, 从而使得 IP网络层承载的上层应用保持移动中的不中断和可 接续。  In order to solve the demand of mobile services, Mobile IP (Mobile IP) technology is introduced at the network level, so that mobile nodes can always use the initial IP address (called home address) for IP communication during the mobile process, thus making the IP network layer The upper application of the bearer remains uninterrupted and contiguous in motion.
针对 IPv4和 IPv6网络, Mobile IP技术可以分别采用 Mobile IPv4协议和 Mobile IPv6协议来实现, 称为 Mobile IPv4技术和 Mobile IPv6技术。  For IPv4 and IPv6 networks, Mobile IP technology can be implemented by Mobile IPv4 and Mobile IPv6 respectively, called Mobile IPv4 technology and Mobile IPv6 technology.
采用 Mobile IPv4技术的 IPv4网络的结构如图 1所示。其中,移动节点 110 和通信伙伴 120之间的通信过程包括:  The structure of an IPv4 network using Mobile IPv4 technology is shown in Figure 1. The communication process between the mobile node 110 and the communication partner 120 includes:
步驟 1、 移动代理(包括家乡代理 130和外地代理 140 )通过代理公告消 息通告自己的存在; 移动节点 110也可以发送代理请求消息, 请求移动代理 发送代理公告消息;  Step 1. The mobile agent (including the home agent 130 and the foreign agent 140) advertises its own existence through the proxy announcement message; the mobile node 110 may also send a proxy request message requesting the mobile agent to send the proxy announcement message;
步骤 2、 当移动节点 110收到代理公告消息时, 可以根据所述代理公告 消息判断所在网络是外地网络 190还是家乡网络 180;  Step 2: When the mobile node 110 receives the proxy advertisement message, it may determine, according to the proxy advertisement message, whether the network is the foreign network 190 or the home network 180;
步骤 3、 当移动节点 110确认所处为家乡网络 180时, 不需要使用移动 IP 地址,采用其家乡地址进行对外通信。当移动节点 110确认所处为外地网 190 络时, 首先需要获得一个转交地址。 这个转交地址可以通过外地代理公告 消息 (外地代理转交地址)得到, 也可以通过 DHCP服务器 (图未示)得 到 (称为 co-located转交地址) 。  Step 3. When the mobile node 110 confirms that it is located in the home network 180, it does not need to use the mobile IP address, and uses its home address for external communication. When the mobile node 110 confirms that it is in the foreign network, it first needs to obtain a care-of address. This care-of address can be obtained through a foreign agent announcement message (foreign agent care-of address) or via a DHCP server (not shown) (called a co-located care-of address).
步驟 4、移动节点 110通过注册请求消息将家乡地址和转交地址等信息, 注册给家乡代理 130。 方法有两种: 1 ) 如果转交地址是通过外地代理 140 获得, 移动节点 110必须通过外地代理 140中继注册消息给家乡代理 130; 2 ) 如果转交地址是 co-located转交地址,且外地代理 140不^要求,移动节点 110 可以直接向家乡代理 130注册。 Step 4: The mobile node 110 sends information such as a home address and a care-of address through a registration request message. Register with the home agent 130. There are two methods: 1) If the care-of address is obtained through the foreign agent 140, the mobile node 110 must relay the registration message to the home agent 130 via the foreign agent 140; 2) if the care-of address is a co-located care-of address, and the foreign agent 140 Not required, the mobile node 110 can register directly with the home agent 130.
家乡代理 130收到注册请求消息后, 记录家乡地址和转交地址等信息, 并向移动节点 110回应注册应答消息。  After receiving the registration request message, the home agent 130 records information such as the home address and the care-of address, and responds to the mobile node 110 with a registration response message.
移动节点 110收到注册应答消息后注册过程结束。  The registration process ends when the mobile node 110 receives the registration response message.
步骤 5、 移动节点 110直接发送数据包给通信伙伴 120, 或通过反向隧道 传送到家乡代理 130, 再由家乡代理 130转交给通信伙伴 120。  Step 5. The mobile node 110 directly transmits the data packet to the communication partner 120, or transmits it to the home agent 130 through the reverse tunnel, and then forwards it to the communication partner 120 by the home agent 130.
步骤 6、 通信伙伴 120发送给移动节点 110的数据包 (目的地为家乡地 址) , 被家乡代理 130截获, 经过隧道封装传送到移动节点 110的转交地址。  Step 6. The data packet (the destination is the home address) sent by the communication partner 120 to the mobile node 110 is intercepted by the home agent 130 and transmitted to the care-of address of the mobile node 110 through the tunnel encapsulation.
步骤 7、 移动节点 110对隧道报文解封装; 或者由外地代理 140对隧道报 文解封装, 将数据包递交给移动节点 110。  Step 7. The mobile node 110 decapsulates the tunnel message; or the foreign agent 140 decapsulates the tunnel message and delivers the data packet to the mobile node 110.
釆用 Mobile IPv6的 IPv6网络的结构如图 2所示。 其中, 移动节点 210和 通信伙伴 220之间的通信过程包括:  The structure of the IPv6 network using Mobile IPv6 is shown in Figure 2. The communication process between the mobile node 210 and the communication partner 220 includes:
步骤 11、 当移动节点 210连接到其家乡网络 280上时, 采取与其它的固 定节点一样的方式工作。  Step 11. When the mobile node 210 is connected to its home network 280, it operates in the same manner as other fixed nodes.
步驟 12、移动节点 210通过 IPv6的邻居发现机制检测自己是否已漫游至 外地网络 290上。 IPv6的外地网关 240会周期的发送路由器宣告消息, 其中 包含该外地网络的前缀, 移动节点 210收到外地网关的路由器宣告消息后, 检查其中的外地网络的前缀与家乡网络的前缀不同, 则认为已漫游至外地 网给 290。  Step 12: The mobile node 210 detects whether it has roamed to the foreign network 290 through the IPv6 neighbor discovery mechanism. The IPv6 foreign gateway 240 periodically sends a router advertisement message, which includes the prefix of the foreign network. After receiving the router advertisement message of the foreign gateway, the mobile node 210 checks that the prefix of the foreign network is different from the prefix of the home network, and then considers Roamed to the foreign network to 290.
步骤 13、 当移动节点 210发现自己已经移动到外地网络 290上时, 则在 收到的路由器宣告信息的基础上通过有状态或者无状态的地址自动配置过 程获得外地网络上的转交地址。此时移动节点 210同时拥有家乡地址和转交 地址。  Step 13. When the mobile node 210 finds that it has moved to the foreign network 290, it obtains the care-of address on the foreign network through the stateful or stateless address auto-configuration process based on the received router advertisement information. At this time, the mobile node 210 has both the home address and the care-of address.
步骤 14、 移动节点 210将自己的转交地址通过 "绑定更新" 消息注册到 家乡代理 230上。 家乡代理 230根据消息内容, 维护家乡地址和转交地址等 信息, 以便代理移动节点收发报文。 步驟 15、 移动节点 210将此转交地址通过 "绑定更新" 消息通知给其通 信伙伴 220, 以实现 "路由优化" 方式的通信。 Step 14. The mobile node 210 registers its care-of address with the "Binding Update" message to the home agent 230. The home agent 230 maintains information such as the home address and the care-of address according to the content of the message, so as to proxy the mobile node to send and receive messages. Step 15. The mobile node 210 notifies the communication partner 220 of the care-of address through the "Binding Update" message to implement the "route optimization" mode of communication.
步骤 16、 移动节点 210的通信伙伴 220如果不知道其转交地址, 就将按 照移动节点的家乡地址将数据包发送到移动节点的家乡网络 280上,然后其 家乡代理 230将截取到这些数据包, 再根据移动节点当前的转交地址, 利用 隧道机制将这些数据包转发给移动节点 210。 相反方向上, 移动节点 210发 给通信伙伴 220的 ^艮文, 先通过反向隧道发给家乡代理 230, 再由家乡代理 230转交给通信伙伴 220。  Step 16. If the communication partner 220 of the mobile node 210 does not know its care-of address, the data packet will be sent to the mobile node's home network 280 according to the mobile node's home address, and then the home agent 230 will intercept the data packet. The data packets are forwarded to the mobile node 210 using a tunneling mechanism based on the current care-of address of the mobile node. In the opposite direction, the mobile node 210 sends the message to the communication partner 220, which is first sent to the home agent 230 through the reverse tunnel, and then forwarded to the communication partner 220 by the home agent 230.
若通信伙伴 220通过 "绑定更新"知道移动节点的转交地址, 就会直接 将数据包发给外地网络中的移动节点 210, 而不需要经过家乡代理中转。相 反方向上,移动节点 210也直接向通信伙伴发送数据包, 即实现 "路由优化" 方式的通信。  If the communication partner 220 knows the care-of address of the mobile node through the "binding update", the data packet is directly sent to the mobile node 210 in the foreign network without being transited by the home agent. In the opposite direction, the mobile node 210 also directly transmits data packets to the communication partner, that is, the communication in the "route optimization" mode.
为了实现从 IPv4网络到 IPv6网络的平稳过渡,需要解决 IPv6移动节点和 IPv4通信伙伴通信的问题, 一种现有技术技术方案中, 要求移动节点既支 持 Mobile IPv6技术, 也支持 Mobile IPv4技术, 同时分别针对 Mobile IPv6技 术和 Mobile IPv4技术设置两套移动代理(包括家乡代理或外地代理) 。 当 移动节点访问 IPv6通信伙伴时, 使用 Mobile IPv6技术, 而当访问 IPv4通信 伙伴时, 使用 Mobile IPv4技术。  In order to realize the smooth transition from the IPv4 network to the IPv6 network, it is necessary to solve the problem of communication between the IPv6 mobile node and the IPv4 communication partner. In a prior art technical solution, the mobile node is required to support both the Mobile IPv6 technology and the Mobile IPv4 technology. Two sets of mobile agents (including home agents or foreign agents) are set up for Mobile IPv6 technology and Mobile IPv4 technology respectively. Mobile IPv6 technology is used when mobile nodes access IPv6 communication partners, and Mobile IPv4 technology is used when accessing IPv4 communication partners.
该现有技术虽然彻底解决了移动节点同时访问 IPv6和 IPv4通信伙伴的 问题, 但要求移动节点同时支持 Mobile IPv6和 Mobile IPv4, —方面加重了 移动节点的实现复杂度, 不利于轻量级的移动终端实现, 同时也造成了移 动 IP处理的重复和冗余。 另外, 该现有技术要求移动接入网必须是双栈的 或者 IPv6网络和 IPv4网络重叠, 以便同时支持移动节点的 Mobile IPv6和 Mobile IPv4处理, 这些都增加了部署的难度。  Although the prior art completely solves the problem that the mobile node accesses the IPv6 and IPv4 communication partners at the same time, it requires the mobile node to support both Mobile IPv6 and Mobile IPv4, which increases the implementation complexity of the mobile node and is not conducive to lightweight mobile. Terminal implementation also causes duplication and redundancy of mobile IP processing. In addition, the prior art requires that the mobile access network must be dual-stacked or overlapped between the IPv6 network and the IPv4 network to simultaneously support Mobile IPv6 and Mobile IPv4 processing of the mobile node, which increases the difficulty of deployment.
另一种现有技术中, 通过 Mobile IPv6配合 NAT-PT ( Network Address Translation-Protocol Translation, 网络地址协议转换) 的方式实现 IPv6移动 节点和 IPv4通信伙伴通信, 其网络架构如图 3所示, 通信过程包括:  In another prior art, IPv6 mobile node and IPv4 communication partner communication are implemented by using Mobile IPv6 in conjunction with NAT-PT (Network Address Translation-Protocol Translation), and the network architecture is as shown in FIG. The process includes:
步骤 21、 当 IPv6移动节点 310移动到外地网络 390时, 获得 IPv6转交地 址后, 首先通过 "绑定更新" 消息向家乡代理 330注册。 步骤 22、 IPv6移动节点 310向 IPv4通信伙伴 320发送数据包前, 先获得 IPv4通信伙伴的对应 IPv6地址(具体方法同普通 NAT-PT应用)作为数据包 的目的地址, 源地址为 IPv6移动节点的家乡地址, 然后通过反向隧道先发 送到家乡代理 330, 再由家乡代理将该数据包发向 IPv4通信伙伴 320。 Step 21: When the IPv6 mobile node 310 moves to the foreign network 390, after obtaining the IPv6 care-of address, it first registers with the home agent 330 through a "binding update" message. Step 22: Before sending the data packet to the IPv4 communication partner 320, the IPv6 mobile node 310 obtains the corresponding IPv6 address of the IPv4 communication partner (the specific method is the same as the normal NAT-PT application) as the destination address of the data packet, and the source address is the IPv6 mobile node. The home address is then sent to the home agent 330 through the reverse tunnel, and the data packet is sent to the IPv4 communication partner 320 by the home agent.
步骤 23、 由于数据包目的地址是 IPv4通信伙伴对应的 IPv6地址, 该数 据包会被发送到 NAT- PT网关 360,在 NAT- PT网关 360处,根据 NAT-PT协议 要求,将 IPv6数据包转换为 IPv4数据包,其中数据包的目的地址转换为 IPv4 通信伙伴的 IPv4地址, IPv6源地址(即家乡地址)被转换为从 NAT-PT网关 IPv4地址池中分配的一个 IPv4地址(设为 tranSourceIPv4 ) 。  Step 23: Since the destination address of the data packet is an IPv6 address corresponding to the IPv4 communication partner, the data packet is sent to the NAT-PT gateway 360, and at the NAT-PT gateway 360, the IPv6 data packet is converted according to the NAT-PT protocol requirement. For an IPv4 packet, where the destination address of the packet is translated to the IPv4 address of the IPv4 communication partner, the IPv6 source address (ie, the home address) is converted to an IPv4 address (set to tranSourceIPv4) assigned from the NAT-PT gateway IPv4 address pool. .
步驟 24、 转换后的 IPv4数据包从 NAT-PT网关 360发往 IPv4通信伙伴 320。 从 IPv4通信伙伴 320返回给 IPv6移动节点 310的数据包, 目的地址为 tranSourceIPv4。  Step 24. The converted IPv4 data packet is sent from the NAT-PT gateway 360 to the IPv4 communication partner 320. The packet returned from the IPv4 communication partner 320 to the IPv6 mobile node 310 has a destination address of tranSourceIPv4.
步骤 25、 IPv4通信伙伴 320返回的数据包到达 NAT- PT网关 360, NAT-PT 网关 360将数据包转换为 IPv6数据包。 转换后的目的地址为 IPv6移动节点的 家乡地址。  Step 25. The data packet returned by the IPv4 communication partner 320 arrives at the NAT-PT gateway 360, and the NAT-PT gateway 360 converts the data packet into an IPv6 data packet. The translated destination address is the home address of the IPv6 mobile node.
步驟 26、 转换后的数据包先由家乡代理 330截获, 然后按照移动节点的 转交地址, 通过隧道将数据包发给 IPv6移动节点 310。  Step 26: The converted data packet is first intercepted by the home agent 330, and then the data packet is sent to the IPv6 mobile node 310 through the tunnel according to the handover address of the mobile node.
步骤 27、 IPv6移动节点 310从隧道中接收到 IPv4通信伙伴返回的 IPv6数 据包, 完成处理。  Step 27: The IPv6 mobile node 310 receives the IPv6 data packet returned by the IPv4 communication partner from the tunnel, and completes the processing.
该现有技术通过 Mobile IPv6的 "三角路由" 方式配合 NAT-PT来解决 IPv6移动节点和 IPv4通信的问题,由于所有的通信数据包都要通过 NAT- PT 网关转换,使得 NAT-PT网关容易成为瓶颈, 降低网络效率。另夕卜, NAT-PT 网关存在对部分应用层的转换问题, 扩展性方面存在不足。  The prior art solves the problem of IPv6 mobile node and IPv4 communication by using the "triangular routing" mode of Mobile IPv6 in conjunction with NAT-PT. Since all communication data packets are converted by the NAT-PT gateway, the NAT-PT gateway is easy to become Bottlenecks, reducing network efficiency. In addition, the NAT-PT gateway has a problem of conversion to some application layers, and there is a lack of scalability.
发明内容 Summary of the invention
本发明提供一种 IPv6移动节点和 IPv4通信伙伴通信的方法、 系统和装 置, 可以不依赖于特殊的网关设备, 提高网络的效率。  The invention provides a method, a system and a device for communicating between an IPv6 mobile node and an IPv4 communication partner, which can improve the efficiency of the network without depending on a special gateway device.
才艮据本发明的一个方面, 一种 IPv6移动节点与 IPv4通信伙伴通信的方 法, 包括:  According to one aspect of the present invention, a method for an IPv6 mobile node to communicate with an IPv4 communication partner includes:
IPv6家乡代理获取所述 IPv6移动节点的地址信息, 所述地址信息包括 IPv4家乡地址和 IPv4家乡代理地址, 以及 IPv6家乡地址和 IPv6转交地址; 所述 IPv6家乡代理向所述 IPv4家乡代理地址对应的 IPv4家乡代理进行An IPv6 home agent obtains address information of the IPv6 mobile node, where the address information includes An IPv4 home address and an IPv4 home agent address, and an IPv6 home address and an IPv6 care-of address; the IPv6 home agent performs an IPv4 home agent corresponding to the IPv4 home agent address
IPv6移动节点的注册; Registration of IPv6 mobile nodes;
注册后,所述 IPv6家乡代理配合 IPv4家乡代理转发 IPv6移动节点与 IPv4 通信伙伴之间的数据。  After registration, the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner.
可选地, 所述 IPv6家乡代理获取所述 IPv6移动节点的地址信息, 包括: 当所述 IPv6移动节点移动到外地网络时, 获得 IPv6转交地址后, 构造 绑定更新消息, 向 IPv6家乡代理注册, 在所述绑定更新消息中指明 IPv4家 乡地址和 IPv4家乡代理地址;  Optionally, the obtaining, by the IPv6 home agent, the address information of the IPv6 mobile node, includes: when the IPv6 mobile node moves to a foreign network, obtains an IPv6 care-of address, constructs a binding update message, and registers with an IPv6 home agent. Specifying an IPv4 home address and an IPv4 home agent address in the binding update message;
所述 IPv6家乡代理接收所述绑定更新消息后, 获取到 IPv6家乡地址和 After receiving the binding update message, the IPv6 home agent obtains an IPv6 home address and
IPv6转交地址, 以及 IPv4家乡地址和 IPv4家乡代理地址。 IPv6 care-of address, and IPv4 home address and IPv4 home agent address.
可选地, 所述构造绑定更新消息, 包括:  Optionally, the constructing the binding update message includes:
所述 IPv6移动节点在绑定更新消息中增加 IPv4注册移动选项; 在所述 IPv4注册移动选项中指明 IPv4家乡地址和 IPv4家乡代理地址。 可选地, 所述 IPv6家乡代理向所述 IPv4家乡代理地址对应的 IPv4家乡 代理进行 IPv6移动节点的注册前, 还包括:  The IPv6 mobile node adds an IPv4 registration mobility option to the binding update message; the IPv4 home address and the IPv4 home agent address are indicated in the IPv4 registration mobility option. Optionally, before the IPv6 home agent performs registration of the IPv6 mobile node with the IPv4 home agent corresponding to the IPv4 home agent address, the method further includes:
所述 IPv6家乡代理根据 IPv6家乡地址和 IPv6转交地址信息,向 IPv6移动 节点回应 IPv6绑定确认消息;  The IPv6 home agent responds to the IPv6 mobile node with an IPv6 binding acknowledgement message according to the IPv6 home address and the IPv6 care-of address information;
根据所述 IPv4家乡地址和 IPv4家乡代理地址信息, 检查是否已经代理 所述 IPv4家乡地址对应的 IPv6移动节点,在确认未曽代理过所述 IPv6时,进 行所述的注册。  According to the IPv4 home address and the IPv4 home agent address information, it is checked whether the IPv6 mobile node corresponding to the IPv4 home address has been proxyed, and the registration is performed when it is confirmed that the agent has passed the IPv6.
可选地,所述 IPv6家乡代理向所述 IPv4家乡代理地址对应的 IPv4家乡代 理进行 IPv6移动节点的注册, 包括:  Optionally, the IPv6 home agent performs registration of the IPv6 mobile node to the IPv4 home agent corresponding to the IPv4 home agent address, including:
所述 IPv6家乡代理构造 IPv4注册请求消息,以 IPv4家乡代理地址作为注 册请求消息的目的地址, 并以 IPv6家乡代理的 IPv4地址作为注册请求消息 的源地址;  The IPv6 home agent constructs an IPv4 registration request message, the IPv4 home agent address is used as the destination address of the registration request message, and the IPv4 home agent's IPv4 address is used as the source address of the registration request message;
代替 IPv6移动节点将构造后的 IPv4注册请求消息发送给 IPv4家乡代理, 并记录所述地址信息;  Transmitting the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node, and recording the address information;
所述 IPv4家乡代理从接收到的所述注册请求消息中获得 IPv4家乡地址 和 IPv6家乡代理的 IPv4地址并记录, 向 IPv6家乡代理回应注册应答消息。 可选地, 还包括: 所述 IPv6家乡代理在确认所述注册应答消息有效后, 使得对应所述 IPv6移动节点的 IPv4家乡地址的代理功能生效, 并使记录的 地址信息生效。 The IPv4 home agent obtains an IPv4 home address from the received registration request message And record and record the IPv4 address of the IPv6 home agent, and respond to the registration response message to the IPv6 home agent. Optionally, the method further includes: after confirming that the registration response message is valid, the IPv6 home agent validates an agent function corresponding to the IPv4 home address of the IPv6 mobile node, and validates the recorded address information.
可选地, 所述代替 IPv6移动节点将构造后的 IPv4注册请求消息发送给 IPv4家乡代理, 具体包括:  Optionally, the replacing the IPv6 mobile node sends the configured IPv4 registration request message to the IPv4 home agent, specifically:
当所述 IPv6家乡代理支持汉栈,并拥有至少一个 IPv4地址,且具有 IPv4 网络连接时, 则直接代替 IPv6移动节点向 IPv4家乡代理发送构造后的 IPv4 注册请求消息; 或,  When the IPv6 home agent supports the Han stack and has at least one IPv4 address and has an IPv4 network connection, directly transmitting the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node; or
当 IPv6家乡代理支持双栈, 并拥有至少一个 IPv4地址, 且不具有 IPv4 网络连接时, 则通过 IPv4 Over IPv6隧道或通用路由封装隧道代替 IPv6移动 节点向 IPv4家乡代理发送构造后的 IPv4注册请求消息; 或,  When the IPv6 home agent supports the dual stack and has at least one IPv4 address and does not have an IPv4 network connection, the IPv4 over IPv6 tunnel or the universal route encapsulation tunnel is used to replace the IPv6 mobile node to send the constructed IPv4 registration request message to the IPv4 home agent. ; or,
当 IPv6家乡代理确认没有 IPv4地址使用时, 则通过网络地址转换方式 代替 IPv6移动节点向 IPv4家乡代理发送构造后的 IPv4注册请求消息。  When the IPv6 home agent confirms that no IPv4 address is used, the network address translation method is used instead of the IPv6 mobile node to send the constructed IPv4 registration request message to the IPv4 home agent.
可选地,所述 IPv6家乡代理配合 IPv4家乡代理转发 IPv6移动节点与 IPv4 通信伙伴之间的数据, 包括:  Optionally, the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner, including:
所述 IPv6家乡代理根据 IPv6移动节点发送给 IPv4通信伙伴的 IPv4数据 包携带的 IPv4家乡地址查找对应的 IPv4家乡代理地址,根据所述 IPv4家乡代 理地址将所述 IPv4数据包发送给 IPv4家乡代理,通过所述 IPv4家乡代理发送 给 IPv4通信伙伴; 和 /或,  The IPv6 home agent searches for the corresponding IPv4 home agent address according to the IPv4 home address carried by the IPv4 mobile node and the IPv4 home address carried by the IPv4 mobile partner, and sends the IPv4 data packet to the IPv4 home agent according to the IPv4 home agent address. Sent to the IPv4 communication partner through the IPv4 home agent; and/or,
所述 IPv4家乡代理截获 IPv4通信伙伴发送给 IPv6移动节点的 IPv4数据 包,根据数据包中携带的 IPv4家乡地址发送给对应的 IPv6家乡代理, 当 IPv6 家乡代理 居 IPv4数据包携带的 IPv4家乡地址确认所述 IPv4家乡地址对应 的 IPv6移动节点被代理过时 , 则将所述 IPv4数据包发送给 IPv6移动节点。  The IPv4 home agent intercepts the IPv4 data packet sent by the IPv4 communication partner to the IPv6 mobile node, and sends the IPv4 home agent address to the corresponding IPv6 home agent according to the IPv4 home address carried in the data packet, and confirms the IPv4 home address carried by the IPv6 home agent in the IPv4 data packet. When the IPv6 mobile node corresponding to the IPv4 home address is dequeued, the IPv4 data packet is sent to the IPv6 mobile node.
可选地,所述 IPv6移动节点设置 IPv4家乡代理作为 IPv4网关,并设置所 述 IPv4网关的出接口为移动节点上的 IP v6反向隧道;  Optionally, the IPv6 mobile node sets an IPv4 home agent as an IPv4 gateway, and sets an outgoing interface of the IPv4 gateway as an IP v6 reverse tunnel on the mobile node;
所述 IPv6家乡代理配合 IPv4家乡代理转发 IPv6移动节点与 IPv4通信伙 伴之间的数据, 包括:  The IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner, including:
所述 IPv6移动节点将发送给 IPv4通信伙伴的 IPv4数据包通过所述 IPv6 反向隧道封装为 IPv6数据包,传送给 IPv6家乡代理; 其中, 所述 IPv4数据包 的目的地址是 IPv4通信伙伴,源地址是 IPv6移动节点的 IPv4家乡地址; 所述 IPv6数据包的目的地址是 IPv6家乡代理,源地址是 IPv6移动节点的 IPv6转交 地址; The IPv6 mobile node passes the IPv4 data packet sent to the IPv4 communication partner through the IPv6 The reverse tunnel is encapsulated into an IPv6 data packet and transmitted to the IPv6 home agent; wherein, the destination address of the IPv4 data packet is an IPv4 communication partner, and the source address is an IPv4 home address of the IPv6 mobile node; the destination address of the IPv6 data packet is IPv6 home agent, the source address is the IPv6 care-of address of the IPv6 mobile node;
所述 IPv6家乡代理对所述 IPv6数据包进行解封装, 还原出发送给 IPv4 通信伙伴的 IPv4数据包;  Decapsulating the IPv6 data packet by the IPv6 home agent, and restoring the IPv4 data packet sent to the IPv4 communication partner;
所述 IPv6家乡代理在确认已经代理所述 IPv4家乡地址时, 将所述 IPv4 数据包发送给 IPv4通信伙伴。  The IPv6 home agent sends the IPv4 data packet to the IPv4 communication partner when it confirms that the IPv4 home address has been proxied.
可选地, 所述将所述] v4数据包发送给 IPv4通信伙伴, 具体包括: 所述 IPv6家乡代理根据所述 IPv4数据包携带的为 IPv4家乡地址的源地 址信息, 在代替 IPv6移动节点向 IPv4家乡代理注册的过程记录的信息中查 找并获得所述 IPv4家乡地址对应的 IPv4家乡代理地址;  Optionally, the sending, by the IPv6 home agent, the source address information of the IPv4 home address carried by the IPv4 data packet, instead of the IPv6 mobile node, is sent to the IPv4 communication partner. Find and obtain the IPv4 home agent address corresponding to the IPv4 home address in the information recorded by the process of registering the IPv4 home agent;
通过目的地址为 IPv4家乡代理、源地址为 IPv6家乡代理的 IPv4反向隧道 将所述 IPv4数据包进行封装, 发送给对应的 IPv4家乡代理;  The IPv4 data packet is encapsulated and sent to the corresponding IPv4 home agent through an IPv4 reverse tunnel whose destination address is an IPv4 home agent and whose source address is an IPv6 home agent.
所述对应的 IPv4家乡代理接收所述封装后的 IPv4数据包后, 对所述数 据包进行解封装处理, 还原出 IPv4数据包, 并根据所述还原出的 IPv4数据 包携带的为 IPv4家乡地址的源地址信息确认已经代理所述 IPv4家乡地址 时, 将所述 IPv4数据包发送给对应的 IPv4通信伙伴。  After receiving the encapsulated IPv4 data packet, the corresponding IPv4 home agent decapsulates the data packet, restores the IPv4 data packet, and carries the IPv4 home address according to the restored IPv4 data packet. When the source address information confirms that the IPv4 home address has been proxied, the IPv4 data packet is sent to the corresponding IPv4 communication partner.
可选地, 所述将所述 IPv4数据包进行封装, 发送给对应的 IPv4家乡代 理, 具体包括:  Optionally, the IPv4 data packet is encapsulated and sent to a corresponding IPv4 home agent, and specifically includes:
当 IPv6家乡代理支持双栈,并拥有至少一个 IPv4地址,且具有 IPv4网络 连接时, 则通过所述 IPv4反向隧道将所述 IPv4数据包进行封装后, 发送给 对应的 IPv4家乡代理; 或,  When the IPv6 home agent supports the dual stack and has at least one IPv4 address and has an IPv4 network connection, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel and sent to the corresponding IPv4 home agent; or
当 IPv6家乡代理支持双栈, 并拥有至少一个 IPv4地址, 且不具有 IPv4 网络连接时, 则通过所述 IPv4反向隧道将所述 IPv4数据包进行封装后, 通 过 IPv4 Over IPv6隧道或通用路由封装隧道发送给对应的 IPv4家乡代理。  When the IPv6 home agent supports the dual stack and has at least one IPv4 address and does not have an IPv4 network connection, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then encapsulated by an IPv4 Over IPv6 tunnel or a general routing. The tunnel is sent to the corresponding IPv4 home agent.
可选地,所述 IPv6家乡代理配合 IPv4家乡代理转发 IPv6移动节点与 IPv4 通信伙伴之间的数据, 包括: 所述 IPv4家乡代理截获从 IPv4通信伙伴发给 IPv6移动节点的 IPv4数据 包, 将所述 IPv4数据包经隧道封装成对应的 IPv4数据包后, 发送给与所述 IPv6移动节点的 IPv4家乡地址对应的 IPv6家乡代理; Optionally, the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner, including: The IPv4 home agent intercepts an IPv4 data packet sent from the IPv4 communication partner to the IPv6 mobile node, and encapsulates the IPv4 data packet into a corresponding IPv4 data packet, and then sends the IPv4 data packet to the IPv4 home address corresponding to the IPv6 mobile node. IPv6 home agent;
IPv6家乡代理对接收到的 IPv4数据包解隧道封装后,还原出发送给 IPv6 移动节点的 IPv4数据包,并才艮据所述还原出的 IPv4数据包的为 IPv4家乡地址 的目的地址, 将所述 IPv4数据包发送给 IPv6移动节点。  After the IPv6 home agent de-encapsulates the received IPv4 data packet, the IPv4 data packet sent to the IPv6 mobile node is restored, and the IPv4 data packet of the restored IPv4 data packet is the destination address of the IPv4 home address. The IPv4 data packet is sent to the IPv6 mobile node.
可选地, 所述将所述 IPv4数据包发送给 IPv6移动节点, 具体包括: 才艮据所述还原出的 IPv4数据包携带的为 IPv4家乡地址的目的地址, 在 代替 IPv6移动节点向 IPv4家乡代理注册的过程记录的信息中查找并得到该 IPv4家乡地址对应的 IPv6转交地址;  Optionally, the sending, by the IPv4 data packet, the IPv4 mobile node to the IPv4 mobile node, according to the destination address of the IPv4 home address carried by the restored IPv4 data packet, replacing the IPv6 mobile node with the IPv4 mobile home Find and obtain the IPv6 care-of address corresponding to the IPv4 home address in the information recorded by the agent registration process;
根据所述得到的 IPv6转交地址, 将所述 IPv4数据包发送给 IPv6移动节 占  Sending the IPv4 data packet to the IPv6 mobile node according to the obtained IPv6 care-of address
可选地, 所述将所述 IPv4数据包发送给 IPv6移动节点, 具体包括: 检查是否已有到该 IPv6转交地址的 IPv6隧道,若已有,则通过所述 IPv6 隧道将所述 IPv4数据包封装成 IPv6数据包,并将其发送给 IPv6移动节点; 否 则, 建立到 IPv6转交地址的 IPv6隧道, 然后通过所述 IPv6隧道将所述 IPv4 数据包封装成 IPv6数据包, 并将其发送给 IPv6移动节点。  Optionally, the sending the IPv4 data packet to the IPv6 mobile node includes: checking whether an IPv6 tunnel to the IPv6 care-of address is existing, and if yes, using the IPv6 tunnel to send the IPv4 data packet. Encapsulate into an IPv6 data packet and send it to the IPv6 mobile node; otherwise, establish an IPv6 tunnel to the IPv6 care-of address, then encapsulate the IPv4 data packet into an IPv6 data packet through the IPv6 tunnel, and send it to the IPv6 Mobile node.
可选地, 还包括: 所述 IPv6移动节点对接收到的所述 IPv6数据包进行 解封装处理后, 还原出 IPv4数据包, 并将其上传给应用层进行接收处理。  Optionally, the method further includes: after the decapsulating the received IPv6 data packet, the IPv6 mobile node restores the IPv4 data packet, and uploads the IPv4 data packet to the application layer for receiving processing.
根据本发明的另一方面,一种移动 IP通信系统,包括 IPv4家乡代理、 IPv4 通信伙伴, 还包括:  According to another aspect of the present invention, a mobile IP communication system, including an IPv4 home agent, an IPv4 communication partner, further includes:
IPv6移动节点, 用于向 IPv6家乡代理提供地址信息, 所述地址信息包 括 IPv4家乡地址和 IPv4家乡代理地址, 以及 IPv6家乡地址和 IPv6转交地址; An IPv6 mobile node, configured to provide address information to an IPv6 home agent, where the address information includes an IPv4 home address and an IPv4 home agent address, and an IPv6 home address and an IPv6 care-of address;
IPv6家乡代理, 用于获取所述 IPv6移动节点的地址信息; 向所述 IPv4 家乡代理地址对应的 IPv4家乡代理进行 IPv6移动节点的注册;配合 IPv4家乡 代理转发 IPv6移动节点与 IPv4通信伙伴之间的数据。 An IPv6 home agent, configured to obtain address information of the IPv6 mobile node; perform IPv6 mobile node registration with an IPv4 home agent corresponding to the IPv4 home agent address; and forward an IPv6 mobile node to an IPv4 communication partner with an IPv4 home agent data.
才艮据本发明的又一方面, 一种 IPv6家乡代理, 包括:  According to still another aspect of the present invention, an IPv6 home agent includes:
地址信息获取单元,用于获得 IPv6移动节点的 IPv4家乡地址和 IPv4家乡 代理地址, 以及 IPv6家乡地址和 IPv6转交地址; IPv4注册单元,用于向所述 IPv4家乡代理地址对应的 IPv4家乡代理进行 IPv6移动节点的注册; Address information obtaining unit, for obtaining an IPv4 IPv6 mobile node home address and home agent address IPv 4, IPv6 and IPv6 home address and care-of address; An IPv4 registration unit, configured to register an IPv6 mobile node with an IPv4 home agent corresponding to the IPv4 home agent address;
数据转发单元,用于配合 IPv4家乡代理转发 IPv6移动节点与 IPv4通信伙 伴之间的数据。  The data forwarding unit is configured to cooperate with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner.
可选地, 所述地址信息获取单元为绑定更新消息解析单元, 用于从来 自 IPv6移动节点的绑定更新消息获取 IPv6家乡地址和 IPv6转交地址, 以及 IPv4家乡地址和 IPv4家乡代理地址。  Optionally, the address information obtaining unit is a binding update message parsing unit, configured to obtain an IPv6 home address and an IPv6 care-of address, and an IPv4 home address and an IPv4 home agent address from a binding update message of the IPv6 mobile node.
可选地, 所述 IPv4注册单元, 包括:  Optionally, the IPv4 registration unit includes:
IPv4注册请求消息构造单元, 用于以 IPv4家乡代理地址作为注册请求 消息的目的地址, 并以 IPv6家乡代理的 IPv4地址作为注册请求消息的源地 址构造 IPv4注册请求消息;  An IPv4 registration request message constructing unit is configured to use an IPv4 home agent address as a destination address of the registration request message, and construct an IPv4 registration request message by using an IPv4 home agent IPv4 address as a source address of the registration request message;
IPv4注册请求消息发送单元, 用于代替 IPv6移动节点将构造后的 IPv4 注册请求消息发送给 IPv4家乡代理。  The IPv4 registration request message sending unit is configured to send the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node.
可选地, 所述数据转发单元, 包括:  Optionally, the data forwarding unit includes:
IPv6数据包解封装单元 ,用于对来自 IPv6移动节点的 IPv6数据包进行解 封装, 还原出发送给 IPv4通信伙伴的 IPv4数据包;  An IPv6 packet decapsulation unit, configured to decapsulate an IPv6 data packet from an IPv6 mobile node, and restore an IPv4 data packet sent to the IPv4 communication partner;
IPv4数据包封装单元, 用于通过目的地址为 IPv4家乡代理、 源地址为 IPv6家乡代理的 IPv4反向隧道将所述 IPv4数据包进行封装;  An IPv4 data packet encapsulating unit, configured to encapsulate the IPv4 data packet by using an IPv4 reverse tunnel whose destination address is an IPv4 home agent and an IPv6 home agent address;
IPv4数据包发送单元, 用于将封装后的 IPv4数据包发送给对应的 IPv4 家乡代理。  An IPv4 data packet sending unit is configured to send the encapsulated IPv4 data packet to a corresponding IPv4 home agent.
可选地, 所述数据转发单元, 包括:  Optionally, the data forwarding unit includes:
IPv4数据包解封装单元,用于对来自 IPv4家乡代理的 IPv4数据包解隧道 封装后, 还原出发送给 IPv6移动节点的 IPv4数据包;  The IPv4 data packet decapsulation unit is configured to: after decapsulating the IPv4 data packet from the IPv4 home agent, to restore the IPv4 data packet sent to the IPv6 mobile node;
IPv6数据包封装单元,用于通过到 IPv6转交地址的 IPv6隧道将所述 IPv4 数据包封装成 IPv6数据包;  An IPv6 data packet encapsulating unit, configured to encapsulate the IPv4 data packet into an IPv6 data packet by using an IPv6 tunnel to an IPv6 care-of address;
IPv6数据包发送单元 , 用于将封装后的 IPv6数据包发送给 IPv6移动节 点。  An IPv6 packet sending unit is configured to send the encapsulated IPv6 data packet to the IPv6 mobile node.
本发明的 IPv6家乡代理获取 IPv6移动节点的 IPv4家乡地址和 IPv4家 乡代理地址信息, 以及 IPv6家乡地址和 IPv6转交地址信息; 基于所述获 取的地址信息代替 IPv6移动节点向 IPv4家乡代理注册, 配合 IPv4家乡代 理实现 IPv6移动节点与 IPv4通信伙伴通信。 由于不依赖于特殊网关设备, 可以提高网絡的效率和可靠性。 此外, 能够使移动节点只釆用 Mobile IPv6 技术,借助网络中已部署的 IPv6家乡代理和 IPv4家乡代理,同时解决 IPv6 和 IPv4的移动性, 从而简化移动节点实现的复杂度。 The IPv6 home agent of the present invention obtains an IPv4 home address and an IPv4 home agent address information of an IPv6 mobile node, and an IPv6 home address and an IPv6 care-of address information; The address information is replaced by the IPv6 mobile node to register with the IPv4 home agent, and the IPv4 home agent is used to communicate with the IPv4 mobile node. By not relying on special gateway devices, the efficiency and reliability of the network can be improved. In addition, the mobile node can only use Mobile IPv6 technology, and solve the mobility of IPv6 and IPv4 by using the deployed IPv6 home agent and IPv4 home agent in the network, thereby simplifying the complexity of mobile node implementation.
此外, 移动接入网可以不必是双栈或者 IPv6和 IPv4网络重叠, 这些 都使得同时支持 IPv6和 IPv4移动性的应用更易于开展和部署。  In addition, the mobile access network may not need to be dual-stack or overlap between IPv6 and IPv4 networks, which makes applications that support both IPv6 and IPv4 mobility easier to deploy and deploy.
附图说明 DRAWINGS
图 1为现有技术中采用 Mobile IPv4技术的 IPv4网络的示意图; 图 2为现有技术中采用 Mobile IPv6技术的 IPv6网络 示意图; 图 4为本发明提供的移动 IP通信系统实施例的结构示意图; 图 5为本发明的通信方法的实施方式的流程图;  1 is a schematic diagram of an IPv4 network using the Mobile IPv4 technology in the prior art; FIG. 2 is a schematic diagram of an IPv6 network using the Mobile IPv6 technology in the prior art; FIG. 4 is a schematic structural diagram of an embodiment of a mobile IP communication system according to the present invention; Figure 5 is a flowchart of an embodiment of a communication method of the present invention;
图 6为本发明的通信方法的实施例中进行 IPv4注册的流程图; 图 7为本发明的通信方法的实施例中进行数据转发的流程图; 图 8为本发明的 IPv6家乡代理的实施例的框图。  6 is a flowchart of performing IPv4 registration in an embodiment of a communication method according to the present invention; FIG. 7 is a flowchart of performing data forwarding in an embodiment of a communication method according to the present invention; FIG. 8 is an embodiment of an IPv6 home agent according to the present invention; Block diagram.
具体实施方式 本发明中, IPv6家乡代理获取 IPv6移动节点的 IPv4家乡地址和 IPv4家乡 代理地址信息, 以及 IPv6家乡地址和 IPv6转交地址信息; 基于所述获取的 地址信息代替 IPv6移动节点向 IPv4家乡代理注册,在此基础上配合 IPv4家乡 代理实现 IPv6移动节点与 IPv4通信伙伴的通信。 DETAILED DESCRIPTION OF THE INVENTION In the present invention, an IPv6 home agent obtains an IPv4 home address and an IPv4 home agent address information of an IPv6 mobile node, and an IPv6 home address and an IPv6 care-of address information; and replaces an IPv6 mobile node with an IPv4 home agent based on the acquired address information. Registration, on the basis of this, cooperate with the IPv4 home agent to realize the communication between the IPv6 mobile node and the IPv4 communication partner.
本发明提供的实施例通过对 Mobile IPv6技术的改进来实现移动节点的 IPv4移动性, 主要包括使用 IPv6家乡代理作为二级代理来配合 IPv4家乡代 理, 实现移动节点的 IPv4移动能力。  The embodiment provided by the present invention implements IPv4 mobility of the mobile node by improving the Mobile IPv6 technology, and mainly includes using the IPv6 home agent as a secondary agent to cooperate with the IPv4 home agent to implement the mobile node's IPv4 mobility capability.
请参阅图 4, 是本发明的移动 IP通信系统的结构示意图。  Please refer to FIG. 4, which is a schematic structural diagram of a mobile IP communication system according to the present invention.
所述系统包括 IPv6网络 400和 IPv4网络 900。 其中, 支持双栈的 IPv6移 动节点 410同时拥有 IPv6家乡地址和 IPv4家乡地址, 并获悉 IPv6的家乡代理 地址和 IPv4家乡代理地址。 IPv4的家乡地址和 IPv4家乡代理地址的获得方 式, 可以是静态配置或其他动态方式。 The system includes an IPv6 network 400 and an IPv4 network 900. The IPv6 mobile node 410 supporting the dual stack has both an IPv6 home address and an IPv4 home address, and learns the IPv6 home agent address and the IPv4 home agent address. The home address of IPv4 and the recipient of the IPv4 home agent address , can be static configuration or other dynamic methods.
在 IPv6网络 400中, IPv6移动节点 410处于外地网絡 490中时, 可以通过 其家乡网络 480中的 IPv6家乡代理 420对外通信。 IPv4网络 900包括 IPv6移动 节点 410对应的 IPv4家乡代理 910和需要与 IPv6移动节点 410通信的 IPv4通信 伙伴 920。 IPv6家乡代理 420配合所述 IPv6家乡代理 420实现 IPv6移动节点 410 与通信伙伴 920之间的通信。  In the IPv6 network 400, when the IPv6 mobile node 410 is in the foreign network 490, it can communicate externally through the IPv6 home agent 420 in its home network 480. The IPv4 network 900 includes an IPv4 home agent 910 corresponding to the IPv6 mobile node 410 and an IPv4 communication partner 920 that needs to communicate with the IPv6 mobile node 410. The IPv6 home agent 420 cooperates with the IPv6 home agent 420 to implement communication between the IPv6 mobile node 410 and the communication partner 920.
本发明中, IPv6移动节点 410移动到外地网络 490后不需要获得 IPv4转 交地址, 始终采用 IPv4家乡地址和外界通信。  In the present invention, the IPv6 mobile node 410 does not need to obtain an IPv4 care-of address after moving to the foreign network 490, and always uses an IPv4 home address and external communication.
请参阅图 5 , 本发明的通信方法的实施方式的流程包括:  Referring to FIG. 5, a flow of an implementation manner of a communication method of the present invention includes:
步驟 S510, IPv6家乡代理获取所述 IPv6移动节点的地址信息, 所述地 址信息包括 IPv4家乡地址和 IPv4家乡代理地址, 以及 IPv6家乡地址和 IPv6 转交地址;  Step S510: The IPv6 home agent obtains address information of the IPv6 mobile node, where the address information includes an IPv4 home address and an IPv4 home agent address, and an IPv6 home address and an IPv6 care-of address;
步驟 S520, 所述 IPv6家乡代理向所述 IPv4家乡代理地址对应的 IPv4家 乡代理进行 IPv6移动节点的注册;  Step S520, the IPv6 home agent performs registration of the IPv6 mobile node to the IPv4 home agent corresponding to the IPv4 home agent address;
步骤 S530, 所述 IPv6家乡代理配合 IPv4家乡代理转发 IPv6移动节点与 IPv4通信伙伴之间的数据。  Step S530: The IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner.
在本发明的一个实施例中, 当移动节点移动到外地网络时, 获得 IPv6 转交地址后, 通过对绑定更新消息的扩展将地址信息传递给 IPv6家乡代理。 即, IPv6移动节点构造绑定更新消息, 在所述绑定更新消息中指明 IPv4家 乡地址和 IPv4家乡代理地址信息。 具体包括:  In an embodiment of the present invention, when the mobile node moves to the foreign network, after obtaining the IPv6 care-of address, the address information is transmitted to the IPv6 home agent through the extension of the binding update message. That is, the IPv6 mobile node constructs a binding update message, and specifies an IPv4 home address and IPv4 home agent address information in the binding update message. Specifically include:
首先, IPv6移动节点在绑定更新消息后增加 IPv4注册移动选项, 然后, 在所述 IPv4注册移动选项中指明 IPv4家乡地址和 IPv4家乡代理地址信息。  First, the IPv6 mobile node adds an IPv4 registration mobility option after binding the update message, and then indicates the IPv4 home address and the IPv4 home agent address information in the IPv4 registration mobility option.
本发明中构造的绑定更新消息的格式可以如下所示:  The format of the binding update message constructed in the present invention can be as follows:
0 1 2 3  0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+_+.-)-_+-+-+-+-+-+-+-+-+-+-+-+-+  +_+.-)-_+-+-+-+-+-+-+-+-+-+-+-+-+
I Type = 10 | Length = 8 |  I Type = 10 | Length = 8 |
+_+-+.+.+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  +_+-+.+.+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
] IPv4 Home Address I  ] IPv4 Home Address I
+—+_+— +—+_+—+_+-+_+-+_+_+—+_+-+—+_+-+-+_+—+—+_+_+_+-+-+-+- +-+-+-+  +—+_+— +—+_+—+_+-+_+-+_+_+—+_+-+—+_+-+-+_+—+—+_+_+_ +-+-+-+- +-+-+-+
I IPv4 Home Agent |  I IPv4 Home Agent |
+-+-+_+_+—+—+_+—+—+_+—+_+—+-+_+_+-+_+—+—+-+-+_+_+-+-+-+-+-+-+-+-+ 其中 Type值可以根据实际标准组织申请的值而定, IPv4 Home Address 为 IPv4家乡地址, IPv4 Home Agent为 IPv4家乡代理地址。 +-+-+_+_+—+—+_+—+—+_+—+_+—+-+_+_+-+_+—+—+-+-+_+_+- +-+-+-+-+-+-+-+ The Type value can be determined according to the value of the actual standard organization application. The IPv4 Home Address is the IPv4 home address, and the IPv4 Home Agent is the IPv4 home agent address.
请一并参阅图 6, IPv6家乡代理接收 "绑定更新" 消息后, IPv6家乡 代理根据消息内容携带的 IPv4家乡地址和 IPv4家乡代理地址等信息, 代 替移动节点向 IPv4家乡代理发送 IPv4的注册请求消息。 具体包括:  Referring to FIG. 6, after the IPv6 home agent receives the "binding update" message, the IPv6 home agent replaces the mobile node to send an IPv4 registration request to the IPv4 home agent according to the information such as the IPv4 home address and the IPv4 home agent address carried in the message content. Message. Specifically include:
步骤 S610、所述 IPv6家乡代理接收所述绑定更新消息后,根据所述绑 定更新消息内容, 得到 IPv6家乡地址和 IPv6转交地址信息, 以及 IPv4家 乡地址和 IPv4家乡代理地址信息。  Step S610: After receiving the binding update message, the IPv6 home agent obtains an IPv6 home address and an IPv6 care-of address information, and an IPv4 home address and an IPv4 home agent address information according to the binding update message content.
步骤 S620、 居所述得到的 IPv6家乡地址和 IPv6转交地址信息, 向 IPv6移动节点回应 IPv6 "绑定确认"消息; 并根据所述得到的 IPv4家乡地 址和 IPv4 家乡代理地址信息, 检查自己是否已经代理过所述得到的 IPv4 家乡地址, 若确认已经代理过, 则执行步骤 S630, 结束向 IPv4家乡代理注 册的过程; 若确认未曾代理过, 则执行步骤 S640。  Step S620: The IPv6 home address and the IPv6 care-of address information are obtained, and the IPv6 "binding confirmation" message is sent to the IPv6 mobile node; and according to the obtained IPv4 home address and the IPv4 home agent address information, it is checked whether the user has already The agent obtains the obtained IPv4 home address, and if it is confirmed that the agent has been authenticated, step S630 is executed to end the process of registering with the IPv4 home agent; if it is confirmed that the agent has not been agentd, step S640 is performed.
步骤 S640、 所述 IPv6家乡代理以 IPv4家乡代理地址作为注册请求消息 的目的地址, 并以 IPv6家乡代理的 IPv4地址作为注册请求消息的源地址, 构造 IPv4注册请求消息。 具体过程是:  Step S640: The IPv6 home agent uses the IPv4 home agent address as the destination address of the registration request message, and uses the IPv4 home agent's IPv4 address as the source address of the registration request message to construct an IPv4 registration request message. The specific process is:
首先, 以 IPv4家乡代理地址作为注册请求消息的目的地址; 以 IPv6家 乡代理的 IPv4地址作为注册请求消息的源地址。 相当于以 IPv6家乡代理的 IPv4地址作为移动节点的 IPv4 Co-Located转交地址。  First, the IPv4 home agent address is used as the destination address of the registration request message; the IPv4 address of the IPv6 home agent is used as the source address of the registration request message. It is equivalent to the IPv4 address of the IPv6 home agent as the IPv4 Co-Located care-of address of the mobile node.
接着,可以按如下格式构造 IPv4注册请求消息: (可以通过 socket发送) IPv4 域:  Next, the IPv4 registration request message can be constructed in the following format: (can be sent over the socket) IPv4 domain:
源地址 = IPv6家乡代理的 IPv4地址  Source address = IPv6 address of the IPv6 home agent
目的地址 = IPv4家乡代理地址  Destination address = IPv4 home agent address
TTL = 64  TTL = 64
UDP 域:  UDP domain:
Source Port = <any > (系统自定义)  Source Port = <any > (system customization)
Destination Port = 434  Destination Port = 434
注册请求域: 一种可能的具体格式为: Registration request domain: One possible specific format is:
0 1 2 3  0 1 2 3
01234567890123456789012345678901  01234567890123456789012345678901
1 Type |S]B|D|M|G|r|T|x] Lifetime |  1 Type |S]B|D|M|G|r|T|x] Lifetime |
+-+-+—+—+-+-+—+—+-+_+—+_+_+_+_+-+-+_+-+—+—+_+-+_+-+_+_+-+-+—+_+-+  +-+-+-+-+-+-+-+-+-+_+-+_+_+_+_+-+-+_+-+-+-+_+-+_+- +_+_+-+-+-+_+-+
I Home Address I Home Address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+
I Home Agent  I Home Agent
i - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-·?-+-+-+-+-+-+-+-+-+-+-+-+-+-+  i - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-·?-+-+-+-+-+-+ -+-+-+-+-+-+-+-+
I Care-of Address I I Care-of Address I
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+
+ Identification + ii— -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +  + Identification + ii— -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+-+- +
I Extensions…  I Extensions...
lf—+-+— +_+—+-+_+一 其中 Type = 1;  Lf—+-+— +_+—+-+_+ one where Type = 1;
S=0,B=0,D=1,M=1或 0 (可选) , G=l或 0 (可选) ;  S=0, B=0, D=1, M=1 or 0 (optional), G=l or 0 (optional);
Lifetime - 1800(seconds) (可自定义) ;  Lifetime - 1800 (seconds) (customizable);
Home Address =移动节点的 IPv4家乡地址;  Home Address = IPv4 home address of the mobile node;
Home Agent = IPv4家乡代理地址;  Home Agent = IPv4 home agent address;
Care-of Address = IPv6家乡代理的 IPv4地址;  Care-of Address = IPv4 address of the IPv6 home agent;
Identification = (按 Mobile IPv4移动节点的标准处理) ;  Identification = (according to the standard of Mobile IPv4 mobile node);
Extensions: (可选) 。  Extensions: (optional).
步骤 S640、 代替 IPv6移动节点将构造后的 IPv4注册请求消息发送给 IPv4家乡代理, 并在緩存中暂时记录 IPv4家乡地址和 IPv4家乡代理地址, 以 及对应的 IPv6家乡地址和 IPv6转交地址信息;  Step S640: Send the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node, and temporarily record the IPv4 home address and the IPv4 home agent address, and the corresponding IPv6 home address and IPv6 care-of address information in the cache;
将上述消息发送给 IPv4家乡代理时, 如果 IPv6家乡代理有 IPv4网络连 接, 可以直接将报文路由给 IPv4家乡代理, 否则可以通过隧道方式,将 IPv4 注册请求消息发给 IPv4家乡代理, 例如通过 IPv4 over ΙΡνόί¾道, 或 GRE ( Generic Routing Encapsulation, 通用路由封装) 隧道等。 具体包括: 当 IPv6家乡代理支持双栈,并拥有至少一个 IPv4地址,且具有 IPv4网络 连接时,则直接代替 IPv6移动节点向 IPv4家乡代理发送构造后的 IPv4注册请 求消息;  When the above message is sent to the IPv4 home agent, if the IPv6 home agent has an IPv4 network connection, the message can be directly routed to the IPv4 home agent. Otherwise, the IPv4 registration request message can be sent to the IPv4 home agent through the tunnel, for example, through IPv4. Over ΙΡνόί3⁄4, or GRE (Generic Routing Encapsulation) tunnel. Specifically, when the IPv6 home agent supports the dual stack and has at least one IPv4 address and has an IPv4 network connection, the IPv6 mobile node is directly sent to the IPv4 home agent to send the constructed IPv4 registration request message;
当 IPv6家乡代理支持双栈, 并拥有至少一个 IPv4地址, 且不具有 IPv4 网络连接时, 则通过 IPv4 Over IPv6隧道或 GRE隧道代替 IPv6移动节点向 IPv4家乡代理发送构造后的 IPv4注册请求消息; When the IPv6 home agent supports dual stack and has at least one IPv4 address and does not have an IPv4 network connection, the IPv6 mobile node is replaced by an IPv4 Over IPv6 tunnel or a GRE tunnel. The IPv4 home agent sends the constructed IPv4 registration request message;
当 IPv6家乡代理确认没有 IPv4地址使用时, 则通过 NAT-PT方式代替 IPv6移动节点向 IPv4家乡代理发送构造后的 IPv4注册请求消息。  When the IPv6 home agent confirms that no IPv4 address is used, the NAT-PT method is used to replace the IPv6 mobile node to send the constructed IPv4 registration request message to the IPv4 home agent.
步驟 S650、 所述 IPv4家乡代理接收所述注册请求消息, 得到 IPv4家乡 地址和 IPv4转交地址(IPv6家乡代理的 IPv4地址), 并将其记录到 IPv4家乡 代理的缓存中, 然后回应注册应答消息给 IPv6家乡代理;  Step S650, the IPv4 home agent receives the registration request message, obtains an IPv4 home address and an IPv4 care-of address (an IPv4 address of an IPv6 home agent), records it in a cache of the IPv4 home agent, and then responds to the registration response message to IPv6 home agent;
步骤 S660、 所述 IPv6家乡代理接收来自 IPv4家乡代理的注册应答消息, 当确认所述注册应答消息有效后, 则使为相关移动节点的 IPv4家乡地址的 代理功能生效, 并使所述緩存中暂时记录的信息生效, 然后结束代理 IPv6 移动节点的 IPv4移动注册过程。  Step S660: The IPv6 home agent receives the registration response message from the IPv4 home agent, and after confirming that the registration response message is valid, the proxy function of the IPv4 home address of the relevant mobile node is validated, and the cache is temporarily suspended. The recorded information takes effect and then ends the IPv4 mobile registration process for the proxy IPv6 mobile node.
请一并参阅图 7, 经过上述步骤后, IPv6移动节点能够与所述 IPv4通信 伙伴交互信息, 具体实现过程包括:  Please refer to FIG. 7. After the above steps, the IPv6 mobile node can exchange information with the IPv4 communication partner, and the specific implementation process includes:
步驟 S710、 IPv6移动节点设置 IPv4家乡代理地址作为 IPv4网关, 并设 置所述 IPv4网关的出接口为移动节点上的 IPv6反向隧道。  Step S710: The IPv6 mobile node sets an IPv4 home agent address as an IPv4 gateway, and sets an outgoing interface of the IPv4 gateway as an IPv6 reverse tunnel on the mobile node.
在与 IPv4通信伙伴通信前, 移动节点可以设置 IPv4家乡代理地址作为 IPv4缺省网关, 并设置移动节点上的 Mobile IPv6反向隧道(IPv6移动节点 进行 Mobile IPv6报文处理过程中, 在移动节点和 IPv6家乡代理之间建立) 作为 IPv4的缺省网关出接口, 即所有发往外部的 IPv4数据包都通过 Mobile IPv6反向隧道发送。  Before communicating with the IPv4 communication partner, the mobile node can set the IPv4 home agent address as the IPv4 default gateway and set the Mobile IPv6 reverse tunnel on the mobile node (the IPv6 mobile node performs Mobile IPv6 packet processing during the mobile node and The IPv6 home agent is established as the default gateway outbound interface of IPv4, that is, all IPv4 packets sent to the outside are sent through the Mobile IPv6 reverse tunnel.
步骤 S720、 IPv6移动节点将发送给 IPv4通信伙伴的 IPv4数据包, 通过 所述 IPv6反向隧道封装为 IPv6数据包后,传送给 IPv6家乡代理; IPv4数据包 的目的地址是 IPv4通信伙伴, 源地址是 IPv6移动节点的 IPv4家乡地址;通过 反向隧道封装后的 IPv6数据包的目的地址是 IPv6家乡代理, 源地址是 IPv6 移动节点的 IPv6转交地址。  Step S720: The IPv6 mobile node sends the IPv4 data packet to the IPv4 communication partner, and the IPv6 data packet is encapsulated into an IPv6 data packet by the IPv6 reverse tunnel, and then transmitted to the IPv6 home agent; the destination address of the IPv4 data packet is an IPv4 communication partner, and the source address is It is the IPv4 home address of the IPv6 mobile node; the destination address of the IPv6 packet encapsulated by the reverse tunnel is the IPv6 home agent, and the source address is the IPv6 care-of address of the IPv6 mobile node.
步骤 S730、 所述 IPv6家乡代理对所述 IPv6数据包进行解封装后, 还原 出发给 IPv4通信伙伴的 IPv4数据包,并在代替 IPv6移动节点向 IPv4家乡代理 注册的过程记录的信息中查找是否有所述 IPv4数据包携带的源地址为 IPv4 家乡地址的信息, 当确认有时, 则认为所述 IPv4家乡地址对应的移动节点 被代理过, 则代理所述 IPv6移动节点将所述 IPv4数据包发送给 IPv4通信伙 伴。 Step S730: After decapsulating the IPv6 data packet, the IPv6 home agent restores an IPv4 data packet that is sent to the IPv4 communication partner, and searches for information recorded in the process of replacing the IPv6 mobile node with the IPv4 home agent. The source address carried by the IPv4 data packet is information of an IPv4 home address, and when it is confirmed, the mobile node corresponding to the IPv4 home address is considered to be proxy, and the IPv6 mobile node is sent to the IPv6 mobile node to send the IPv4 data packet to the IPv4 communication partner Accompanying.
其中,代替 IPv6移动节点将该 IPv4数据包发送给 IPv4通信伙伴的具体过 程是:  The specific process of transmitting the IPv4 data packet to the IPv4 communication partner instead of the IPv6 mobile node is:
步驟一、 IPv6家乡代理根据所述 IPv4数据包携带的为 IPv4家乡地址 的源地址信息, 在代替 IPv6移动节点向 IPv4家乡代理注册的过程记录的 信息中查找并获得所述 IPv4家乡地址对应的 IPv4家乡代理地址。  Step 1: The IPv6 home agent searches for and obtains the IPv4 address corresponding to the IPv4 home address in the information recorded by the process of registering the IPv4 home node to the IPv4 home agent according to the source address information of the IPv4 home address carried by the IPv4 data packet. Home agent address.
步骤二、 检查是否存在所述 IPv4家乡代理地址对应的 IPv4家乡代理 的 IPv4反向隧道, 若存在, 则直接执行步骤三; 若不存在, 则建立目的 地址为 IPv4家乡代理, 源地址为 IPv6家乡代理的 IPv4地址的 IPv4反向隧 道, 然后执行步骤三。  Step 2: Check whether there is an IPv4 reverse tunnel of the IPv4 home agent corresponding to the IPv4 home agent address. If yes, perform step 3 directly; if not, set the destination address to be an IPv4 home agent, and the source address is IPv6 hometown. The IPv4 address of the proxy is reverse tunneled, and then step three is performed.
步骤三、 通过所述 IPv4反向隧道将所述 IPv4数据包进行封装后, 发 送给对应的 IPv4家乡代理; 隧道封装后的数据包的目的地址是 IPv4家乡 代理, 源地址是 IPv6家乡代理的 IPv4地址。 具体包括如下几种情况: 当 IPv6家乡代理支持双栈 , 并拥有至少一个 IPv4地址, 且具有 IPv4 网络连接时, 则通过所述 IPv4反向隧道将所述 IPv4数据包进行封装后, 发送给对应的 IPv4家乡代理; 或,  Step 3: The IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then sent to the corresponding IPv4 home agent. The destination address of the encapsulated data packet is an IPv4 home agent, and the source address is an IPv4 home agent IPv4. address. The following includes the following situations: When the IPv6 home agent supports the dual stack and has at least one IPv4 address and has an IPv4 network connection, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then sent to the corresponding IPv4 home agent; or,
当 IPv6家乡代理支持双栈,并拥有至少一个 IPv4地址,且不具有 IPv4 网络连接时, 则通过所述 IPv4反向隧道将所述 IPv4数据包进行封装后, 再通过隧道方式发送给对应的 IPv4家乡代理, 如 IPv4 Over IPv6隧道或 GRE隧道等; 或,  When the IPv6 home agent supports the dual stack and has at least one IPv4 address and does not have an IPv4 network connection, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then sent to the corresponding IPv4 through the tunnel. Home agent, such as IPv4 Over IPv6 tunnel or GRE tunnel; or
当 IPv6家乡代理确认没有 IPv4地址使用时, 则通过所述 IPv4反向隧 道将所述 IPv4数据包进行封装后,再通过 NAT-PT方式发送给对应的 IPv4 家乡代理。  When the IPv6 home agent confirms that no IPv4 address is used, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then sent to the corresponding IPv4 home agent through the NAT-PT.
步骤 S740、 所述对应的 IPv4家乡代理接收所述封装后的 IPv4数据包后, 对所述数据包进行解封装处理, 还原出 IPv4数据包, 并根据所述还原出的 IPv4数据包携带的为 IPv4家乡地址的源地址信息, 查找是否存在相应的 Mobile IPv4注册信息, 当确认存在相应的信息时, 则将所述 IPv4数据包发 送给对应的 IPv4通信伙伴。  Step S740: After receiving the encapsulated IPv4 data packet, the corresponding IPv4 home agent performs decapsulation processing on the data packet, restores the IPv4 data packet, and carries according to the restored IPv4 data packet. The source address information of the IPv4 home address is searched for the corresponding Mobile IPv4 registration information. When it is confirmed that the corresponding information exists, the IPv4 data packet is sent to the corresponding IPv4 communication partner.
步骤 S750、 IPv4通信伙伴根据接收到的数据包携带的地址信息发送 IPv4数据包给 IPv6移动节点。 具体包括: Step S750: The IPv4 communication partner sends according to the address information carried in the received data packet. IPv4 packets are sent to IPv6 mobile nodes. Specifically include:
步骤一、 IPv4通信伙伴接收到所述 IPv4数据包后, 得到所述数据包 的源地址是 IPv6移动节点的 IPv4家乡地址。  Step 1: After receiving the IPv4 data packet, the IPv4 communication partner obtains that the source address of the data packet is an IPv4 home address of the IPv6 mobile node.
步骤二、 根据所述 IPv6移动节点的 IPv4家乡地址发送 IPv4数据包给 IPv6移动节点; 所述数据包的目的地址是 IPv4家乡地址。  Step 2: Send an IPv4 data packet to the IPv6 mobile node according to the IPv4 home address of the IPv6 mobile node; the destination address of the data packet is an IPv4 home address.
步骤 S760、 IPv4家乡代理截获所述数据包, 检查所述数据包的目的地 址为 IPv4家乡地址,将通过隧道将所述 IPv4数据包发给 IPv4家乡地址对应的 IPv4转交地址对应的 IPv6家乡代理。  Step S760: The IPv4 home agent intercepts the data packet, and checks that the destination address of the data packet is an IPv4 home address, and the IPv4 data packet is sent to the IPv6 home agent corresponding to the IPv4 care-of address corresponding to the IPv4 home address through the tunnel.
由于从 IPv4通信伙伴发送给 IPv6移动节点的 IPv4数据包的目的地址为 IPv4家乡地址,所以首先会被 IPv4家乡代理截获,此时 IPv4家乡代理检查得 到所述数据包的目的地址是 IPv4家乡地址, 于是通过隧道将 IPv4数据包发 给 IPv4家乡地址对应的 IPv4转交地址。 如前所述, IPv4转交地址是 IPv6家乡 代理的 IPv4地址, 所以该 IPv4数据包实际上会经隧道发给 IPv6家乡代理。  Since the destination address of the IPv4 data packet sent from the IPv4 communication partner to the IPv6 mobile node is the IPv4 home address, it is first intercepted by the IPv4 home agent, and the IPv4 home agent checks that the destination address of the data packet is the IPv4 home address. The IPv4 data packet is then sent through the tunnel to the IPv4 care-of address corresponding to the IPv4 home address. As mentioned earlier, the IPv4 care-of address is the IPv4 address of the IPv6 home agent, so the IPv4 packet is actually sent to the IPv6 home agent via the tunnel.
步骤 S770、 IPv6家乡代理对接收到的 IPv4数据包解隧道封装后, 还原 出发给 IPv6移动节点的 IPv4数据包, 并根据所述还原出的 IPv4数据包的为 IPv4家乡地址的目的地址,将所述 IPv4数据包发送给 IPv6移动节点。具体包 括:  Step S770: After the IPv6 home agent de-encapsulates the received IPv4 data packet, the IPv4 data packet that is sent to the IPv6 mobile node is restored, and according to the destination address of the IPv4 home address, the restored IPv4 data packet is used. The IPv4 data packet is sent to the IPv6 mobile node. Specifically include:
步骤一、 IPv6家乡代理对接收到的 IPv4数据包解隧道封装后, 还原 出发给 IPv6移动节点的 IPv4数据包。  Step 1: After the IPv6 home agent de-encapsulates the received IPv4 data packet, it restores the IPv4 data packet that is sent to the IPv6 mobile node.
步骤二、 根据所述还原出的 IPv4数据包携带的为 IPv4家乡地址的目 的地址, 在代替 IPv6移动节点向 IPv4家乡代理注册的过程记录的信息中 查找并得到该 IPv4家乡地址对应的 IPv6转交地址。  Step 2: According to the destination address of the IPv4 home address carried by the restored IPv4 data packet, searching for and obtaining the IPv6 care-of address corresponding to the IPv4 home address in the information recorded by the process of registering the IPv4 mobile node to the IPv4 home agent. .
步骤三、 根据所述得到的 IPv6转交地址, 将所述 IPv4数据包发送给 IPv6移动节点。  Step 3: Send the IPv4 data packet to the IPv6 mobile node according to the obtained IPv6 care-of address.
IPv6家乡代理能够得到该 IPv4家乡地址对应的 IPv6转交地址,其检查是 否已有到该 IPv6转交地址的 Mobile IPv6隧道,若已有,则直接通过所述 IPv6 隧道将所述 IPv4数据包封装成 IPv6数据包后, 发送给 IPv6移动节点; 否则, 建立到 IPv6转交地址的 IPv6隧道,然后通过所述 IPv6隧道将所述 IPv4数据包 封装成 IPv6数据包后, 发送给 IPv6移动节点。 步骤 S780、 所述移动节点接收所述 IPv6数据包, 对所述 IPv6数据包进 行解封装处理后, 还原出 IPv4数据包, 并将其上传给应用层进行接收处理。 The IPv6 home agent can obtain the IPv6 care-of address corresponding to the IPv4 home address, and check whether there is a Mobile IPv6 tunnel to the IPv6 care-of address. If yes, the IPv4 data packet is directly encapsulated into IPv6 through the IPv6 tunnel. After the data packet is sent to the IPv6 mobile node; otherwise, the IPv6 tunnel to the IPv6 care-of address is established, and then the IPv4 data packet is encapsulated into an IPv6 data packet through the IPv6 tunnel, and then sent to the IPv6 mobile node. Step S780: The mobile node receives the IPv6 data packet, decapsulates the IPv6 data packet, and then restores the IPv4 data packet, and uploads the IPv4 data packet to the application layer for receiving processing.
请参阅图 8, 为本发明的 IPv6家乡代理的实施例的框图。  Please refer to FIG. 8, which is a block diagram of an embodiment of an IPv6 home agent according to the present invention.
IPv6家乡代理包括: 地址信息获取单元 810, 用于获得 IPv6移动节点的 IPv4家乡地址和 IPv4家乡代理地址, 以及 IPv6家乡地址和 IPv6转交地址; IPv4注册单元 820, 用于向所述 IPv4家乡代理地址对应的 IPv4家乡代理进行 IPv6移动节点的注册; 数据转发单元 830, 用于配合 IPv4家乡代理转发 IPv6 移动节点与 IPv4通信伙伴之间的数据。  The IPv6 home agent includes: an address information obtaining unit 810, configured to obtain an IPv4 home address and an IPv4 home agent address of the IPv6 mobile node, and an IPv6 home address and an IPv6 care-of address; and an IPv4 registration unit 820, configured to send the address to the IPv4 home agent The corresponding IPv4 home agent performs registration of the IPv6 mobile node; the data forwarding unit 830 is configured to forward data between the IPv6 mobile node and the IPv4 communication partner in cooperation with the IPv4 home agent.
其中, 所述地址信息获取单元 810可以为绑定更新消息解析单元, 用于 从来自 IPv6移动节点的绑定更新消息中获取 IPv6家乡地址和 IPv6转交地址, 以及 IPv4家乡地址和 IPv4家乡代理地址。  The address information obtaining unit 810 may be a binding update message parsing unit, configured to obtain an IPv6 home address and an IPv6 care-of address, and an IPv4 home address and an IPv4 home agent address from the binding update message from the IPv6 mobile node.
所述 IPv4注册单元 820包括: IPv4注册请求消息构造单元 821, 用于以 IPv4家乡代理地址作为注册请求消息的目的地址,并以 IPv6家乡代理的 IPv4 地址作为注册请求消息的源地址构造 IPv4注册请求消息; IPv4注册请求消 息发送单元 822, 用于代替 IPv6移动节点将构造后的 IPv4注册请求消息发送 给 IPv4家乡代理。  The IPv4 registration unit 820 includes: an IPv4 registration request message constructing unit 821, configured to use an IPv4 home agent address as a destination address of a registration request message, and construct an IPv4 registration request by using an IPv4 home agent IPv4 address as a source address of the registration request message. The IPv4 registration request message sending unit 822 is configured to send the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node.
所述数据转发单元 830, 包括:  The data forwarding unit 830 includes:
IPv6数据包解封装单元 831, 用于对来自 IPv6移动节点的 IPv6数据包进 行解封装, 还原出发送给 IPv4通信伙伴的 IPv4数据包;  An IPv6 packet decapsulation unit 831, configured to decapsulate an IPv6 data packet from an IPv6 mobile node, and restore an IPv4 data packet sent to the IPv4 communication partner;
IPv4数据包封装单元 832, 用于通过目的地址为 IPv4家乡代理、 源地址 为 IPv6家乡代理的 IPv4反向隧道将所述 IPv4数据包进行封装;  The IPv4 data packet encapsulating unit 832 is configured to encapsulate the IPv4 data packet by using an IPv4 reverse tunnel whose destination address is an IPv4 home agent and whose source address is an IPv6 home agent.
IPv4数据包发送单元 833 , 用于将封装后的 IPv4数据包发送给对应的 IPv4家乡代理。  The IPv4 data packet sending unit 833 is configured to send the encapsulated IPv4 data packet to the corresponding IPv4 home agent.
IPv4数据包解封装单元 834, 用于对来自 IPv4家乡代理的 IPv4数据包解 隧道封装后, 还原出发送给 IPv6移动节点的 IPv4数据包;  The IPv4 packet decapsulation unit 834 is configured to: after decapsulating the IPv4 data packet from the IPv4 home agent, to restore the IPv4 data packet sent to the IPv6 mobile node;
IPv6数据包封装单元 835 , 用于通过到 IPv6转交地址的 IPv6隧道将所述 IPv4数据包封装成 IPv6数据包;  An IPv6 data packet encapsulating unit 835, configured to encapsulate the IPv4 data packet into an IPv6 data packet by using an IPv6 tunnel to an IPv6 care-of address;
IPv6数据包发送单元 836, 用于将封装后的 IPv6数据包发送给 IPv6移动 节点 本发明中, 对于 IPv6移动节点要求, 只需要支持双栈和 Mobile IPv6协 议, 以及少量 Mobile IPv6协议扩展(在 Mobile IPv6 "绑定消息" 中携带 IPv4 注册移动选项) , 不需要支持 Mobile IPv4协议, 从而简化移动节点的实现 复杂度; 另外对于 IPv4家乡代理没有任何要求, 不需要做扩展, 可以应用 标准的 IPv4家乡代理, 并且不依赖于特殊网关设备, 移动接入网可以不必 是双栈或者 IPv6和 IPv4网络重叠,这些都使得同时支持 IPv6和 IPv4移动性的 应用更易于开展和部署。 The IPv6 data packet sending unit 836 is configured to send the encapsulated IPv6 data packet to the IPv6 mobile node. In the present invention, for the IPv6 mobile node requirement, only the dual stack and the Mobile IPv6 protocol are supported, and a small number of Mobile IPv6 protocol extensions (carrying the IPv4 registration mobility option in the Mobile IPv6 "Binding Message") do not need to support the Mobile IPv4 protocol. Thereby simplifying the implementation complexity of the mobile node; in addition, there is no requirement for the IPv4 home agent, no extension is needed, a standard IPv4 home agent can be applied, and the special access device is not required, and the mobile access network does not have to be a dual stack or IPv6. Overlapping with IPv4 networks makes applications that support both IPv6 and IPv4 mobility easier to deploy and deploy.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并 不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替换, 如, 仿照本发明的思想实现通过 IPv4移动节点 支持移动节点的 IPv6移动性, 或 IPv6移动节点在 "路由优化" 方式下, 仿 照本发明的思想实现向通信伙伴注册的过程, 都应涵盖在本发明的保护范 围之内。 因此, 本发明的保护范围应该以权利要求的保护范围为准。  The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatively, if the IPv6 mobility of the mobile node is supported by the IPv4 mobile node in accordance with the idea of the present invention, or the IPv6 mobile node in the "route optimization" mode, the process of registering with the communication partner in accordance with the idea of the present invention should be covered. It is within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、一种 IPv6移动节点与 IPv4通信伙伴通信的方法, 其特征在于, 包括: IPv6家乡代理获取所述 IPv6移动节点的地址信息, 所述地址信息包括 A method for an IPv6 mobile node to communicate with an IPv4 communication partner, comprising: an IPv6 home agent obtaining address information of the IPv6 mobile node, where the address information includes
IPv4家乡地址和 IPv4家乡代理地址, 以及 IPv6家乡地址和 IPv6转交地址; 所述 IPv6家乡代理向所述 IPv4家乡代理地址对应的 IPv4家乡代理进行An IPv4 home address and an IPv4 home agent address, and an IPv6 home address and an IPv6 care-of address; the IPv6 home agent performs an IPv4 home agent corresponding to the IPv4 home agent address
IPv6移动节点的注册; Registration of IPv6 mobile nodes;
注册后,所述 IPv6家乡代理配合 IPv4家乡代理转发 IPv6移动节点与 IPv4 通信伙伴之间的数据。  After registration, the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner.
2、 根据权利要求 1所述的方法, 其特征在于, 所述 IPv6家乡代理获取 所述 IPv6移动节点的地址信息, 包括:  The method according to claim 1, wherein the obtaining, by the IPv6 home agent, the address information of the IPv6 mobile node includes:
当所述 IPv6移动节点移动到外地网络时, 获得 IPv6转交地址后, 构造 绑定更新消息, 向 IPv6家乡代理注册, 在所述绑定更新消息中指明 IPv4家 乡地址和 IPv4家乡代理地址;  After the IPv6 mobile node moves to the foreign network, after obtaining the IPv6 care-of address, constructing a binding update message, registering with the IPv6 home agent, and indicating the IPv4 home address and the IPv4 home agent address in the binding update message;
所述 IPv6家乡代理接收所述绑定更新消息后, 获取到 IPv6家乡地址和 IPv6转交地址 , 以及 IPv4家乡地址和 IPv4家乡代理地址。  After receiving the binding update message, the IPv6 home agent obtains an IPv6 home address and an IPv6 care-of address, and an IPv4 home address and an IPv4 home agent address.
3、根据权利要求 2所述的方法, 其特征在于, 所述构造绑定更新消息, 包括:  The method according to claim 2, wherein the constructing the binding update message comprises:
所述 IPv6移动节点在绑定更新消息中增加 IPv4注册移动选项; 在所述 IPv4注册移动选项中指明 IPv4家乡地址和 IPv4家乡代理地址。  The IPv6 mobile node adds an IPv4 registration mobility option to the binding update message; the IPv4 home address and the IPv4 home agent address are indicated in the IPv4 registration mobility option.
4、 根据权利要求 2所述的方法, 其特征在于, 所述 IPv6家乡代理向所 述 IPv4家乡代理地址对应的 IPv4家乡代理进行 IPv6移动节点的注册前,还包 括:  The method according to claim 2, wherein before the IPv6 home agent registers the IPv6 mobile node with the IPv4 home agent corresponding to the IPv4 home agent address, the method further includes:
所述] v6家乡代理根据 IPv6家乡地址和 IPv6转交地址信息,向 IPv6移动 节点回应 IPv6绑定确认消息;  The v6 home agent responds to the IPv6 mobile node with an IPv6 binding acknowledgement message according to the IPv6 home address and the IPv6 care-of address information;
根据所述 IPv4家乡地址和 IPv4家乡代理地址信息, 检查是否已经代理 所述 IPv4家乡地址对应的 IPv6移动节点,在确认未曾代理过所述 IPv6时,进 行所述的注册。  According to the IPv4 home address and the IPv4 home agent address information, it is checked whether the IPv6 mobile node corresponding to the IPv4 home address has been proxyed, and the registration is performed when it is confirmed that the IPv6 has not been represented.
5、 根据权利要求 2所述的方法, 其特征在于, 所述 IPv6家乡代理向所 述 IPv4家乡代理地址对应的 IPv4家乡代理进行 IPv6移动节点的注册, 包括: 所述 IPv6家乡代理构造 IPv4注册请求消息,以 IPv4家乡代理地址作为注 册请求消息的目的地址, 并以 IPv6家乡代理的 IPv4地址作为注册请求消息 的源地址; The method according to claim 2, wherein the IPv6 home agent performs registration of the IPv6 mobile node to the IPv4 home agent corresponding to the IPv4 home agent address, including: The IPv6 home agent constructs an IPv4 registration request message, the IPv4 home agent address is used as the destination address of the registration request message, and the IPv4 home agent's IPv4 address is used as the source address of the registration request message;
代替 IPv6移动节点将构造后的 IPv4注册请求消息发送给 IPv4家乡代理, 并记录所述地址信息;  Transmitting the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node, and recording the address information;
所述 IPv4家乡代理从接收到的所述注册请求消息中获得 IPv4家乡地址 和 IPv6家乡代理的 IPv4地址并记录, 向 IPv6家乡代理回应注册应答消息。  The IPv4 home agent obtains and records the IPv4 home address and the IPv6 home agent's IPv4 address from the received registration request message, and responds to the IPv6 home agent with a registration response message.
6、 根据权利要求 5所述的方法, 其特征在于, 还包括: 所述 IPv6家乡 代理在确认所述注册应答消息有效后, 使得对应所述 IPv6移动节点的 IPv4 家乡地址的代理功能生效, 并使记录的地址信息生效。  The method according to claim 5, further comprising: after confirming that the registration response message is valid, the IPv6 home agent validates an agent function corresponding to an IPv4 home address of the IPv6 mobile node, and Make the recorded address information take effect.
7、 根据权利要求 5所述的方法, 其特征在于, 所述代替 IPv6移动节点 将构造后的 IPv4注册请求消息发送给 IPv4家乡代理, 具体包括:  The method according to claim 5, wherein the replacing the IPv6 mobile node sends the constructed IPv4 registration request message to the IPv4 home agent, specifically:
当所述 IPv6家乡代理支持汉栈,并拥有至少一个 IPv4地址,且具有 IPv4 网络连接时, 则直接代替 IPv6移动节点向 IPv4家乡代理发送构造后的 IPv4 注册请求消息; 或,  When the IPv6 home agent supports the Han stack and has at least one IPv4 address and has an IPv4 network connection, directly transmitting the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node; or
当 IPv6家乡代理支持双栈, 并拥有至少一个 IPv4地址, 且不具有 IPv4 网络连接时, 则通过 IPv4 Over IPv6隧道或通用路由封装隧道代替 IPv6移动 节点向 IPv4家乡代理发送构造后的 IPv4注册请求消息; 或,  When the IPv6 home agent supports the dual stack and has at least one IPv4 address and does not have an IPv4 network connection, the IPv4 over IPv6 tunnel or the universal route encapsulation tunnel is used to replace the IPv6 mobile node to send the constructed IPv4 registration request message to the IPv4 home agent. ; or,
当 IPv6家乡代理确认没有 IPv4地址使用时, 则通过网络地址转换方式 代替 IPv6移动节点向 IPv4家乡代理发送构造后的 IPv4注册请求消息。  When the IPv6 home agent confirms that no IPv4 address is used, the network address translation method is used instead of the IPv6 mobile node to send the constructed IPv4 registration request message to the IPv4 home agent.
8、 根据权利要求 1至 7任一项所述的方法, 其特征在于, 所述 IPv6家乡 代理配合 IPv4家乡代理转发 IPv6移动节点与 IPv4通信伙伴之间的数据, 包 括:  The method according to any one of claims 1 to 7, wherein the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner, including:
所述 IPv6家乡代理根据 IPv6移动节点发送给 IPv4通信伙伴的 IPv4数据 包携带的 IPv4家乡地址查找对应的 IPv4家乡代理地址,根据所述 IPv4家乡代 理地址将所述 IPv4数据包发送给 IPv4家乡代理,通过所述 IPv4家乡代理发送 给 IPv4通信伙伴; 和 /或,  The IPv6 home agent searches for the corresponding IPv4 home agent address according to the IPv4 home address carried by the IPv4 mobile node and the IPv4 home address carried by the IPv4 mobile partner, and sends the IPv4 data packet to the IPv4 home agent according to the IPv4 home agent address. Sent to the IPv4 communication partner through the IPv4 home agent; and/or,
所述 IPv4家乡代理截获 IPv4通信伙伴发送给 IPv6移动节点的 IPv4数据 包,根据数据包中携带的 IPv4家乡地址发送给对应的 IPv6家乡代理, 当 IPv6 家乡代理根据 IPv4数据包携带的 IPv4家乡地址确认所述 IPv4家乡地址对应 的 IPv6移动节点被代理过时, 则将所述 IPv4数据包发送给 IPv6移动节点。 The IPv4 home agent intercepts the IPv4 data packet sent by the IPv4 communication partner to the IPv6 mobile node, and sends the IPv4 data packet to the corresponding IPv6 home agent according to the IPv4 home address carried in the data packet, when IPv6 The home agent confirms that the IPv6 mobile node corresponding to the IPv4 home address is obsolete according to the IPv4 home address carried in the IPv4 data packet, and then sends the IPv4 data packet to the IPv6 mobile node.
9、 根据权利要求 1至 7任一项所述的方法, 其特征在于, 所述 IPv6移动 节点设置 IPv4家乡代理作为 IPv4网关,并设置所述 IPv4网关的出接口为移动 节点上的 IPv6反向隧道;  The method according to any one of claims 1 to 7, wherein the IPv6 mobile node sets an IPv4 home agent as an IPv4 gateway, and sets an outbound interface of the IPv4 gateway to be an IPv6 reverse on the mobile node. Tunnel
所述 IPv6家乡代理配合 IPv4家乡代理转发 IPv6移动节点与 IPv4通信伙 伴之间的数据, 包括:  The IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner, including:
所述 IPv6移动节点将发送给 IPv4通信伙伴的 IPv4数据包通过所述 IPv6 反向隧道封装为 IPv6数据包, 传送给 IPv6家乡代理; 其中, 所述 IPv4数据包 的目的地址是 IPv4通信伙伴,源地址是 IPv6移动节点的 IPv4家乡地址; 所述 IPv6数据包的目的地址是 IPv6家乡代理,源地址是 IPv6移动节点的 IPv6转交 地址;  The IPv6 mobile node encapsulates the IPv4 data packet sent to the IPv4 communication partner into an IPv6 data packet by using the IPv6 reverse tunnel, and transmits the IPv4 data packet to the IPv6 home agent; wherein, the destination address of the IPv4 data packet is an IPv4 communication partner, and the source The address is an IPv4 home address of the IPv6 mobile node; the destination address of the IPv6 data packet is an IPv6 home agent, and the source address is an IPv6 care-of address of the IPv6 mobile node;
所述 IPv6家乡代理对所述 IPv6数据包进行解封装, 还原出发送给 IPv4 通信伙伴的 IPv4数据包;  Decapsulating the IPv6 data packet by the IPv6 home agent, and restoring the IPv4 data packet sent to the IPv4 communication partner;
所述 IPv6家乡代理在确认已经代理所述 IPv4家乡地址时, 将所述 IPv4 数据包发送给 IPv4通信伙伴。  The IPv6 home agent sends the IPv4 data packet to the IPv4 communication partner when it confirms that the IPv4 home address has been proxied.
10、 根据权利要求 9所述的方法, 其特征在于, 所述将所述 IPv4数据包 发送给 IPv4通信伙伴, 具体包括:  The method according to claim 9, wherein the sending the IPv4 data packet to the IPv4 communication partner comprises:
所述 IPv6家乡代理根据所述 IPv4数据包携带的为 IPv4家乡地址的源地 址信息, 在代替 IPv6移动节点向 IPv4家乡代理注册的过程记录的信息中查 找并获得所述 IPv4家乡地址对应的 IPv4家乡代理地址;  The IPv6 home agent searches for and obtains the IPv4 hometown corresponding to the IPv4 home address in the information recorded by the process of registering the IPv4 home node to the IPv4 home agent according to the source address information of the IPv4 home address carried by the IPv4 data packet. Proxy address
通过目的地址为 IPv4家乡代理、源地址为 IPv6家乡代理的 IPv4反向隧道 将所述 IPv4数据包进行封装, 发送给对应的 IPv4家乡代理;  The IPv4 data packet is encapsulated and sent to the corresponding IPv4 home agent through an IPv4 reverse tunnel whose destination address is an IPv4 home agent and whose source address is an IPv6 home agent.
所述对应的 IPv4家乡代理接收所述封装后的 IPv4数据包后, 对所述数 据包进行解封装处理, 还原出 IPv4数据包, 并根据所述还原出的 IPv4数据 包携带的为 IPv4家乡地址的源地址信息确认已经代理所述 IP v4家乡地址 时, 将所述 IPv4数据包发送给对应的 IPv4通信伙伴。  After receiving the encapsulated IPv4 data packet, the corresponding IPv4 home agent decapsulates the data packet, restores the IPv4 data packet, and carries the IPv4 home address according to the restored IPv4 data packet. When the source address information confirms that the IP v4 home address has been proxied, the IPv4 data packet is sent to the corresponding IPv4 communication partner.
11、 根据权利要求 10所述的方法, 其特征在于, 所述将所述 IPv4数据 包进行封装, 发送给对应的 IPv4家乡代理, 具体包括: 当 IPv6家乡代理支持双栈,并拥有至少一个 IPv4地址,且具有 IPv4网络 连接时, 则通过所述 IPv4反向隧道将所述 IPv4数据包进行封装后, 发送给 对应的 IPv4家乡代理; 或, The method according to claim 10, wherein the encapsulating the IPv4 data packet and sending it to a corresponding IPv4 home agent comprises: When the IPv6 home agent supports the dual stack and has at least one IPv4 address and has an IPv4 network connection, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel and sent to the corresponding IPv4 home agent; or
当 IPv6家乡代理支持双栈, 并拥有至少一个 IPv4地址, 且不具有 IPv4 网络连接时, 则通过所述 IPv4反向隧道将所述 IPv4数据包进行封装后, 通 过 IPv4 Over IPv6隧道或通用路由封装隧道发送给对应的 IPv4家乡代理。  When the IPv6 home agent supports the dual stack and has at least one IPv4 address and does not have an IPv4 network connection, the IPv4 data packet is encapsulated by the IPv4 reverse tunnel, and then encapsulated by an IPv4 Over IPv6 tunnel or a general routing. The tunnel is sent to the corresponding IPv4 home agent.
12、 才 据权利要求 1至 7任一项所述的方法, 其特征在于, 所述 IPv6家 乡代理配合 IPv4家乡代理转发 IPv6移动节点与 IPv4通信伙伴之间的数据,包 括:  12. The method according to any one of claims 1 to 7, wherein the IPv6 home agent cooperates with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner, including:
所述 IPv4家乡代理截获从 IPv4通信伙伴发给 IPv6移动节点的 IPv4数据 包, 将所述 IPv4数据包经隧道封装成对应的 IPv4数据包后, 发送给与所述 IPv6移动节点的 IPv4家乡地址对应的 IPv6家乡代理;  The IPv4 home agent intercepts an IPv4 data packet sent from the IPv4 communication partner to the IPv6 mobile node, and encapsulates the IPv4 data packet into a corresponding IPv4 data packet, and then sends the IPv4 data packet to the IPv4 home address corresponding to the IPv6 mobile node. IPv6 home agent;
IPv6家乡代理对接收到的 IPv4数据包解隧道封装后,还原出发送给 IPv6 移动节点的 IPv4数据包,并根据所述还原出的 IPv4数据包的为 IPv4家乡地址 的目的地址, 将所述 IPv4数据包发送给 IPv6移动节点。  After the IPv6 home agent de-encapsulates the received IPv4 data packet, the IPv4 data packet sent to the IPv6 mobile node is restored, and the IPv4 data packet of the restored IPv4 data packet is the destination address of the IPv4 home address, and the IPv4 data packet is used. The packet is sent to the IPv6 mobile node.
13、 根据权利要求 12所述的方法, 其特征在于, 所述将所述 IPv4数据 包发送给 IPv6移动节点, 具体包括:  The method according to claim 12, wherein the sending the IPv4 data packet to the IPv6 mobile node comprises:
根据所述还原出的 IPv4数据包携带的为 IPv4家乡地址的目的地址, 在 代替 IPv6移动节点向 IPv4家乡代理注册的过程记录的信息中查找并得到该 IPv4家乡地址对应的 IPv6转交地址;  Searching for and obtaining an IPv6 care-of address corresponding to the IPv4 home address in the information recorded by the process of registering the IPv4 mobile node to the IPv4 home agent, according to the destination address of the IPv4 home address carried by the restored IPv4 data packet;
根据所述得到的 IPv6转交地址, 将所述 IPv4数据包发送给 IPv6移动节 点。  And transmitting the IPv4 data packet to the IPv6 mobile node according to the obtained IPv6 care-of address.
14、 根据权利要求 13所述的方法, 其特征在于, 所述将所述 IPv4数据 包发送给 IPv6移动节点, 具体包括:  The method according to claim 13, wherein the sending the IPv4 data packet to the IPv6 mobile node comprises:
检查是否已有到该 IPv6转交地址的 IPv6隧道,若已有,则通过所述 IPv6 隧道将所述 IPv4数据包封装成 IPv6数据包,并将其发送给 IPv6移动节点; 否 则, 建立到 IPv6转交地址的 IPv6隧道, 然后通过所述 IPv6隧道将所述 IPv4 数据包封装成 IPv6数据包, 并将其发送给 IPv6移动节点。  Checking whether there is an IPv6 tunnel to the IPv6 care-of address. If yes, the IPv4 data packet is encapsulated into an IPv6 data packet through the IPv6 tunnel and sent to the IPv6 mobile node; otherwise, the IPv6 handover is established. The IPv6 tunnel of the address is then encapsulated into IPv6 data packets through the IPv6 tunnel and sent to the IPv6 mobile node.
15、 根据权利要求 12所述的方法, 其特征在于, 还包括: 所述 IPv6移动节点对接收到的所述 IPv6数据包进行解封装处理后, 还原出 IPv4数据包, 并将其上传给应用层进行接收处理。 The method according to claim 12, further comprising: After the IPv6 mobile node decapsulates the received IPv6 data packet, the IPv4 data packet is restored, and is uploaded to the application layer for receiving processing.
16、 一种移动 IP通信系统, 包括 IPv4家乡代理、 IPv4通信伙伴, 其特征 在于, 还包括:  16. A mobile IP communication system, comprising an IPv4 home agent and an IPv4 communication partner, wherein the method further comprises:
IPv6移动节点, 用于向 IPv6家乡代理提供地址信息, 所述地址信息包 括 IPv4家乡地址和 IPv4家乡代理地址, 以及 IPv6家乡地址和 IPv6转交地址; An IPv6 mobile node, configured to provide address information to an IPv6 home agent, where the address information includes an IPv4 home address and an IPv4 home agent address, and an IPv6 home address and an IPv6 care-of address;
IPv6家乡代理, 用于获取所述 IPv6移动节点的地址信息; 向所述 IPv4 家乡代理地址对应的 IPv4家乡代理进行 IPv6移动节点的注册;配合 IPv4家乡 代理转发 IPv6移动节点与 IPv4通信伙伴之间的数据。 An IPv6 home agent, configured to obtain address information of the IPv6 mobile node; perform IPv6 mobile node registration with an IPv4 home agent corresponding to the IPv4 home agent address; and forward an IPv6 mobile node to an IPv4 communication partner with an IPv4 home agent data.
17、 一种 IPv6家乡代理, 其特征在于, 包括:  17. An IPv6 home agent, characterized by comprising:
地址信息获取单元,用于获得 IPv6移动节点的 IPv4家乡地址和 IPv4家乡 代理地址, 以及 IPv6家乡地址和 IPv6转交地址;  The address information obtaining unit is configured to obtain an IPv4 home address and an IPv4 home agent address of the IPv6 mobile node, and an IPv6 home address and an IPv6 care-of address;
IPv4注册单元,用于向所述 IPv4家乡代理地址对应的 IPv4家乡代理进行 IPv6移动节点的注册;  An IPv4 registration unit, configured to register an IPv6 mobile node with an IPv4 home agent corresponding to the IPv4 home agent address;
数据转发单元,用于配合 IPv4家乡代理转发 IPv6移动节点与 IPv4通信伙 伴之间的数据。  The data forwarding unit is configured to cooperate with the IPv4 home agent to forward data between the IPv6 mobile node and the IPv4 communication partner.
18、 根据权利要求 17所述的 IPv6家乡代理, 其特征在于, 所述地址信 息获取单元为绑定更新消息解析单元, 用于从来自 IPv6移动节点的绑定更 新消息获取 IPv6家乡地址和 IPv6转交地址,以及 IPv4家乡地址和 IPv4家乡代 理地址。  The IPv6 home agent according to claim 17, wherein the address information obtaining unit is a binding update message parsing unit, configured to obtain an IPv6 home address and an IPv6 handoff from a binding update message from an IPv6 mobile node. Address, as well as IPv4 home address and IPv4 home agent address.
19、 根据权利要求 17所述的 IPv6家乡代理, 其特征在于, 所述 IPv4注 册单元, 包括:  The IPv6 home agent according to claim 17, wherein the IPv4 registration unit comprises:
IPv4注册请求消息构造单元, 用于以 IPv4家乡代理地址作为注册请求 消息的目的地址, 并以 IPv6家乡代理的 IPv4地址作为注册请求消息的源地 址构造 IPv4注册请求消息;  An IPv4 registration request message constructing unit is configured to use an IPv4 home agent address as a destination address of the registration request message, and construct an IPv4 registration request message by using an IPv4 home agent IPv4 address as a source address of the registration request message;
IPv4注册请求消息发送单元, 用于代替 IPv6移动节点将构造后的 IPv4 注册请求消息发送给 IPv4家乡代理。  The IPv4 registration request message sending unit is configured to send the constructed IPv4 registration request message to the IPv4 home agent instead of the IPv6 mobile node.
20、 根据权利要求 17所述的 IPv6家乡代理, 其特征在于, 所述数据转 发单元, 包括: IPv6数据包解封装单元,用于对来自 IPv6移动节点的 IPv6数据包进行解 封装, 还原出发送给 IPv4通信伙伴的 IPv4数据包; The IPv6 home agent according to claim 17, wherein the data forwarding unit comprises: An IPv6 packet decapsulation unit, configured to decapsulate an IPv6 data packet from an IPv6 mobile node, and restore an IPv4 data packet sent to the IPv4 communication partner;
IPv4数据包封装单元, 用于通过目的地址为 IPv4家乡代理、 源地址为 IPv6家乡代理的 IPv4反向隧道将所述 IPv4数据包进行封装;  An IPv4 data packet encapsulating unit, configured to encapsulate the IPv4 data packet by using an IPv4 reverse tunnel whose destination address is an IPv4 home agent and an IPv6 home agent address;
IPv4数据包发送单元, 用于将封装后的 IPv4数据包发送给对应的 IPv4 家乡代理。  An IPv4 data packet sending unit is configured to send the encapsulated IPv4 data packet to a corresponding IPv4 home agent.
21、 根据权利要求 17所述的 IPv6家乡代理, 其特征在于, 所述数据转 发单元, 包括:  The IPv6 home agent according to claim 17, wherein the data forwarding unit comprises:
IPv4数据包解封装单元,用于对来自 IPv4家乡代理的 IPv4数据包解隧道 封装后, 还原出发送给 IPv6移动节点的 IPv4数据包;  The IPv4 data packet decapsulation unit is configured to: after decapsulating the IPv4 data packet from the IPv4 home agent, to restore the IPv4 data packet sent to the IPv6 mobile node;
IPv6数据包封装单元,用于通过到 IPv6转交地址的 IPv6隧道将所述 IPv4 数据包封装成 IPv6数据包;  An IPv6 data packet encapsulating unit, configured to encapsulate the IPv4 data packet into an IPv6 data packet by using an IPv6 tunnel to an IPv6 care-of address;
IPv6数据包发送单元, 用于将封装后的 IPv6数据包发送给 IPv6移动节 点。  An IPv6 packet sending unit is configured to send the encapsulated IPv6 data packet to the IPv6 mobile node.
PCT/CN2006/002525 2005-09-27 2006-09-25 A METHOD, SYSTEM AND DEVICE FOR COMMUNICATING BETWEEN IPv6 MOBILE NODE AND IPv4 COMMUNICATION PARTNER WO2007036146A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2005101055572A CN1870633B (en) 2005-09-27 2005-09-27 Method for supporting mobile IPv4 by double-stack moible IPv6 node
CN200510105557.2 2005-09-27

Publications (1)

Publication Number Publication Date
WO2007036146A1 true WO2007036146A1 (en) 2007-04-05

Family

ID=37444181

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/002525 WO2007036146A1 (en) 2005-09-27 2006-09-25 A METHOD, SYSTEM AND DEVICE FOR COMMUNICATING BETWEEN IPv6 MOBILE NODE AND IPv4 COMMUNICATION PARTNER

Country Status (2)

Country Link
CN (1) CN1870633B (en)
WO (1) WO2007036146A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277233B (en) * 2007-03-30 2010-09-22 华为技术有限公司 Access method and system for proxy mobile internet protocol
CN101330719B (en) * 2007-06-18 2011-08-10 中兴通讯股份有限公司 Method for selecting mobile management mode in wireless network
CN101374097B (en) * 2007-08-23 2010-09-15 上海贝尔阿尔卡特股份有限公司 Method and apparatus for controlling mobile node and heterogeneous network communication of communication network
WO2010099654A1 (en) * 2009-03-03 2010-09-10 华为技术有限公司 Method, network device and system of ipv4-v6 coexistence
CN101702800B (en) * 2009-11-19 2012-08-22 中国科学院计算技术研究所 Agent mobile communication system and method
CN104348821B (en) * 2013-08-08 2018-04-27 联想(北京)有限公司 Manage the method, apparatus and system of IPv4/IPv6 business

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496661A (en) * 2002-02-27 2004-05-12 ƽ Methods and apparatus for mobile IP home agent clustering
WO2004070530A2 (en) * 2003-01-28 2004-08-19 Flarion Technologies, Inc. Methods and appartus for supporting an internet protocol (ip) version independent mobility management system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496661A (en) * 2002-02-27 2004-05-12 ƽ Methods and apparatus for mobile IP home agent clustering
WO2004070530A2 (en) * 2003-01-28 2004-08-19 Flarion Technologies, Inc. Methods and appartus for supporting an internet protocol (ip) version independent mobility management system

Also Published As

Publication number Publication date
CN1870633A (en) 2006-11-29
CN1870633B (en) 2010-06-02

Similar Documents

Publication Publication Date Title
JP3581251B2 (en) Communication system, data packet transfer method, router device, and packet relay device
US7616615B2 (en) Packet forwarding apparatus for connecting mobile terminal to ISP network
JP3952860B2 (en) Protocol converter
JP4527721B2 (en) Apparatus and method for improving remote LAN connectivity using tunneling
JP3633430B2 (en) COMMUNICATION METHOD, COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND RECORDING MEDIUM
US9307393B2 (en) Peer-to-peer mobility management in heterogeneous IPV4 networks
JP3668047B2 (en) Mobile communication method, mobile computer device and encrypted communication device
JP4607998B2 (en) Mobile IPv6 route optimization in different address spaces
JP4106909B2 (en) Packet communication control apparatus and packet communication control method
WO2007109963A1 (en) A vpn gateway and an ipv6 network system and a system for realizing mobile vpn in hybrid network and the method
JP2001313672A (en) Network system, packet repeater, wireless terminal and packet processing method
WO2002073907A1 (en) System for managing mobile node in mobile network
WO2007022683A1 (en) A method for realizing the communication between mobile ipv6 node and ipv4 communication partner
WO2011000234A1 (en) Method for establishing a push session and pushing system, associated devices thereof
WO2007058228A1 (en) Communication method, mobile agent device, and home agent device
KR20080075306A (en) Method of lossless mobile ip packet delivery and system thereof
WO2005107178A1 (en) A method and system for providing ipv6 service
WO2012083657A1 (en) Packet processing method, system and customer premises equipment
KR101901341B1 (en) Method and apparatus for supporting mobility of user equipment
WO2007036146A1 (en) A METHOD, SYSTEM AND DEVICE FOR COMMUNICATING BETWEEN IPv6 MOBILE NODE AND IPv4 COMMUNICATION PARTNER
WO2007131404A1 (en) A method and device for realizing fast handover
WO2007022697A1 (en) A METHOD FOR COMMUNICATING BETWEEN THE IPv6 COMMUNICATION PARTNER AND THE MOBILE IPv6 NODE AS WELL AS THE COMMUNICATION PARTNER AGENT GATEWAY
JP2006197107A (en) Method and system for connecting networks of different types
JP2000224233A (en) Mobile communication system
JP3881198B2 (en) Mobile IP communication system, mobile IP communication method, network relay device, and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06791114

Country of ref document: EP

Kind code of ref document: A1