WO2007036098A1 - A communication method between mobile nodes and a mobile node - Google Patents
A communication method between mobile nodes and a mobile node Download PDFInfo
- Publication number
- WO2007036098A1 WO2007036098A1 PCT/CN2006/001037 CN2006001037W WO2007036098A1 WO 2007036098 A1 WO2007036098 A1 WO 2007036098A1 CN 2006001037 W CN2006001037 W CN 2006001037W WO 2007036098 A1 WO2007036098 A1 WO 2007036098A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile
- address
- node
- care
- information
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/08—Mobility data transfer
- H04W8/082—Mobility data transfer for traffic bypassing of mobility servers, e.g. location registers, home PLMNs or home agents
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
- H04W80/04—Network layer protocols, e.g. mobile IP [Internet Protocol]
Definitions
- the present invention relates to the field of network communication technologies, and in particular, to a communication method and a mobile node between mobile nodes.
- Mobile IPv6 defines three basic communication entities, namely mobile nodes, home agents, and communication nodes.
- the mobile node always identifies itself with the home address. When the mobile node is at home, it works in exactly the same way as the fixed node. When the mobile node roams to the foreign link, it needs to be automatically obtained through stateless or stateful mode.
- the care-of address and then sends a binding update message to the home agent to register its care-of address, and the mobile node can also send a binding update message to the correspondent node to register its care-of address.
- Mobile IPv6 defines the communication between two mobile nodes and communication nodes: One is a two-way tunneling method.
- the data packet sent from the communication node is intercepted by the home agent of the mobile node, and then the mobile agent's home agent forwards the data packet to the mobile node through the tunnel mechanism, and the data packet sent by the mobile node to the communication node passes first.
- the reverse tunneling mechanism transmits to the mobile node's home agent, and then the mobile agent's home agent sends the data packet to the communication node through normal routing.
- the other is route optimization.
- the mobile node is first required to register its care-of address with the correspondent node, after which the data packet between the mobile node and the correspondent node can be directly routed to the destination address without being relayed through the mobile agent's home agent.
- the communication node can be a fixed node or a mobile node.
- Mobile IPv6 does not separately describe the communication process between two mobile nodes.
- the communication between the two mobile nodes MN1 and MN2 can be summarized as follows Four ways:
- Step A After MN1 arrives at the foreign link Complete the registration process with your home agent.
- Step B After the MN2 arrives at the foreign link, it completes the registration process to its home agent.
- Step C MN1 sends a data packet to MN2, first through the reverse tunnel to the home agent of MN1, then from the home agent of MN1 to the home agent of MN2, and finally, from the home agent of MN2, to the care-of address of MN2.
- Step D The path in which MN2 sends a packet to MN1 is opposite to the path described in step C above.
- Step A After the MN1 arrives at the foreign link, it completes the registration process with its home agent, and then registers its care-of address with the MN2. At this time, the MN2 establishes a binding cache with the MN1 as the communication node.
- Step B After the MN2 arrives at the foreign link, it completes the registration process to its home agent.
- Step C When the MN1 sends a data packet to the MN2, since the MN1's own binding update list has an information entry of the MN2 home address, the MN1 selects the direct routing mode to route the data packet to the home address of the MN2, and then, by the MN2 The home agent transfers to the care-of address of MN2.
- Step D MN2 sends a binding update message to MN1 to register its care-of address.
- MN1 and MN2 act as communication nodes of the other party, and establish a binding cache associated with the other party.
- Step E MN1 and MN2 perform routing optimization communication with the care-of address.
- both nodes act as both a mobile node and a communication node, and the role definition is not Clearly, the relationship between each other is complex and not conducive to the realization of the agreement.
- the data packet has to pass through the respective home agents of the two mobile nodes, and the implementation process is complicated, which is easy to cause communication delay.
- both mobile nodes are in the foreign link and communicate in mode four, The establishment process of the care-of address binding relationship between two mobile nodes is complicated, which is likely to cause delay packet loss and cannot guarantee the communication quality between mobile nodes.
- Another object of the present invention is to provide a mobile node to quickly establish communication with other mobile nodes.
- a communication method between mobile nodes includes: a communication method between mobile nodes, including:
- Two mobile nodes that need to communicate transmit mutual change information of the care-of address when their respective care-of addresses are in a changed state;
- the mobile node performs data packet transmission by changing information of its respective received care-of address.
- the step a specifically includes:
- the mobile node whose care-of address is in the first change state registers the care-of address with the opposite mobile node when its care-of address is in a changed state.
- the method further comprises:
- the mobile node that accepts the mobile node registration care-of address is used as the mobile communication node.
- the step a further includes:
- the mobile communication node determines, when the care-of address thereof is in a changed state, the mobile nodes to which the care-of address is registered according to the binding information in the stored binding update list;
- the change information of its care-of address is transmitted to each of the mobile nodes.
- the mobile communication node transmits the change information of its care-of address to the mobile node through a Binding Refresh Request message.
- the method further includes:
- a communication node address update option is set in the binding refresh request message.
- the mobile communication node transmits the change information of its care-of address to the mobile node in the Binding Refresh Request message carrying the communication node address update option.
- the change status is: a change has occurred, and the mobile communication node is handed over
- the address change information includes: address information before the change of the care-of address and address information after the change of the care-of address.
- the source address of the binding refresh request message is: address information after the change of the care-of address of the mobile communication node
- the destination address is: address information of the mobile node
- the change status is: expected to change
- the change information of the handover address of the mobile communication node includes: current address information of the communication node and expected handover address information of the communication node.
- the source address of the binding refresh request message is: the current address of the mobile communication node
- the destination address is: address information of the mobile node
- the communication node address update option carries the expected care-of address of the mobile communication node.
- the step b specifically includes:
- the mobile communication node and the mobile node respectively update the respective binding update list according to the change information of the care-of address received by the mobile node;
- the mobile communication node and the mobile node respectively perform packet transmission according to the care-of address in their respective binding update list.
- the mobile node is: a mobile node in mobile IPv6, or a mobile node in fast handover mobile IPv6, or a mobile node in hierarchical mobile IPv6.
- a mobile node comprising:
- a storage module configured to store a binding update list and node definition information, and update the stored binding update list when the mobile node receives the binding update request transmitted by the opposite mobile node;
- the care-of address information sending module is configured to: when the care-of address is in a changed state, transmit the change information of the care-of address to the opposite mobile node;
- the data packet transmission module is configured to send a data packet to the peer mobile node according to the binding update list stored in the storage module.
- the storage module stores the node definition information as a mobile node whose mobile node is a mobile node.
- the mobile node further includes:
- the node definition information acquiring module is respectively connected to the storage module and the care-of address information sending module, and is configured to acquire node definition information stored in the storage module when the care-of address of the mobile node where the mobile node is located is in a changed state, And transmitting it to the care-of address information sending module.
- the care-of address information sending module When the care-of address of the mobile node is in a changed state, and the node definition information acquired by the node definition information acquiring module is information that the mobile node is a mobile communication node, the care-of address information sending module will transfer the address The change information is sent to each mobile node to which the care-of address is registered;
- the care-of address information sending module When the care-of address of the mobile node is in a changing state, and the node definition information acquired by the node definition information acquiring module is not the information of the mobile node that is the mobile node, the care-of address information sending module will transfer the address The change information is sent to the peer mobile node that needs to communicate with it.
- the present invention defines two mobile nodes as a mobile node and a mobile communication node, respectively, and avoids that the mobile node acts as both a mobile node and a communication node when communicating with the opposite mobile node.
- the role of the role the role division between the two mobile nodes is clarified; the mobile communication node can transmit the change information of its care-of address to the mobile node in time when its care-of address is changed, so that the mobile node is bound
- the information can be refreshed in time to ensure that the mobile node and the communication node can communicate quickly through the route optimization method; the mobile communication node transmits the binding refresh request message and transmits the change information of the care-of address to each registered to it.
- the mobile node enables the mobile communication node to quickly communicate with each mobile node through a route optimization manner, optimizes the binding update process between the mobile nodes, and avoids the phenomenon of delay packet loss as much as possible;
- the care-of address of the mobile node of the mobile may be that the care-of address has changed, or the transfer address is about to change, so that the present invention can be applied to mobile IPv6, fast handover mobile IPv6, and hierarchical mobile IPv6; thereby improving the mobile IPv6 protocol and optimizing the mobile node.
- the communication process between the two ends up to improve the communication speed between mobile nodes.
- DRAWINGS Figure 1 is a flow chart showing the implementation of the method of the present invention.
- FIG. 2 is a flow chart of message interaction between mobile nodes in mobile IPv6 according to the present invention
- FIG. 3 is a flow chart of message interaction between mobile nodes in fast handover mobile IPv6 or hierarchical IPv6 according to the present invention
- FIG. 4 is a schematic block diagram of a mobile node of the present invention.
- the core of the present invention is that two mobile nodes that need to communicate transmit mutual change information of a care-of address when their respective care-of addresses are in a changed state, and one of the mobile nodes is used as a mobile communication node, and the mobile communication The node and the mobile node transmit data packets through their respective received care-of addresses.
- the two mobile nodes that need to communicate not only need to notify the opposite mobile node of the change information of the care-of address, but also need to perform role assignment, that is, one mobile node takes the role of the communication node and another A mobile node communicates, and during the entire communication process after determining the role, one mobile node always acts as a communication node, and the other mobile node always acts as a mobile node.
- the change of the care-of address of the above-mentioned mobile communication node may be caused by the movement of the node, such as the node moving from one link to another, etc.; or may be caused by reconfiguration of the node or the like.
- One of the two mobile nodes may be determined as a mobile communication node in the following manner: When the care-of address of one of the mobile nodes is first in a changed state, the mobile node sends a binding update message to another mobile node, The mobile node receiving the binding update message updates the binding relationship in the binding update list stored in the cache according to the binding update message it receives, and returns a binding update response message to the opposite mobile node, so The mobile node receiving the binding update message determines the mobile node as the mobile, and determines the mobile node that sent the binding update message as the mobile node. That is, in the binding relationship, the mobile communication node always acts as a communication node, and in other binding relationships it can also act as a mobile node of other nodes.
- the mobile node MN1 first initiates a binding update message to the mobile node MN2, and receives the binding response message of the MN2. Thereafter, in the relationship between the two, the MN1 is directly acting as the mobile node, and the MN2 is directly acting as the mobile communication node. .
- the present invention defines two mobile nodes as mobile nodes and mobile communication nodes, respectively, so that when the two mobile nodes communicate with each other, their respective roles are clarified, which provides a prerequisite for optimizing the communication process between the two mobile nodes. Condition, so that two mobile nodes can perform corresponding processing operations according to their own roles.
- FIG. 1 shows an implementation flow of the method of the present invention, which includes the following steps: Step 101: Two mobile nodes that need to communicate transmit mutual change information of a care-of address when their respective care-of addresses are in a changed state, and One of the mobile nodes is used as a mobile communication node.
- the care-of address change information of the mobile communication node can be transmitted through the binding refresh message, so that the mobile communication node can transmit the binding change information stored in the self-binding cache to the address change information through the binding refresh message to Each mobile node to which the care-of address is registered. Thereby, each mobile node to which the care-of address is registered can be made aware of the care-of address change information of the mobile communication node in time.
- Step 102 The mobile communication node and the mobile node perform data packet transmission by using change information of their respective received handover addresses.
- the mobile communication node and the mobile node After receiving the change information of the care-of address of the other party, the mobile communication node and the mobile node update the respective binding update list according to the change information, and perform data packet transmission according to the care-of address in the respective binding update list.
- Mobile IPv6 Mobile IPv6
- Mobile IPv6 Mobile IPv6
- the format of the moving head is shown in Table 1.
- Mobility options are mobile options, and the common format defined by Mobile IPv6 for mobile options is shown in Table 3.
- Option Type is the move option type
- Option Length is the move option length
- Option Data is the move option data.
- the present invention newly sets a communication node address according to the general format of the mobile option of Table 3. Update options, the format is shown in Table 4.
- the Option Type should be set to a value different from the other option types to identify the move option as the communication node address update option, such as Option Type is set to 50, etc.
- the Correspondent Address is used to carry the address information of the communication node.
- the binding refresh request of the present invention is sent after the handover address of the mobile communication node changes, and the source address of the binding refresh request is the new address information after the handover address of the mobile communication node is changed, and the destination address is The address of the peer mobile node, the mobile communication node address update option carries the old address information before the change of the care-of address of the mobile communication node.
- the mobile node when the mobile node receives the binding refresh request carrying the communication node address update option, the old address information of the communication node is obtained from the communication node address update option, and then, according to the old address information of the communication node, The binding update list in the self cache matches the old address information of the communication node with the destination address of the binding update message that the mobile node has sent in the binding update list. If there is a matching entry, the mobile node deletes the entry. And according to the new address information of the mobile communication node, that is, the source address in the binding refresh request message, the loop is initiated by the process and the binding update process.
- the binding refresh request of the present invention may also be sent before the handover address of the mobile communication node changes, and the source address of the binding refresh request message is the current address of the mobile communication node.
- the destination address is the address of the peer mobile node, and the communication node address update option carries the new address expected by the mobile communication node. Information.
- the mobile node when the mobile node receives the binding refresh request carrying the communication node address update option, the old address information of the communication node is obtained from the source address of the binding refresh request message, and then Retrieving the binding update list in its own cache according to the old address information of the communication node, and matching the old address information of the communication node with the destination address of the binding update message that the mobile node has sent in the binding update list, if there is a matching table
- the mobile node deletes the entry and initiates a loop by process and binding update process according to the new address information of the mobile communication node, that is, the address information carried in the communication node address update option.
- the mobile node and the mobile communication node can obtain the care-of address change information of the opposite node in time, so that the mobile node and the mobile communication node can quickly communicate through the route optimization manner.
- FIG. 2 is a flow chart of message interaction between mobile nodes in mobile IPv6 according to the present invention:
- step 1-1 after the care-of address of MN1 changes, MN1 registers its care-of address with its home agent, and sends a binding update message to MN2 to register its care-of address with MN2.
- the MN2 receives the binding update message transmitted by the MN1, and establishes its binding relationship with the MN1 as the mobile communication node.
- the MN1 sends a data packet to the MN2, then to step 1-3-1, since the information entry of the MN2 home address exists in the binding update list of the MN1 itself, the MN1 selects the direct routing mode to route the data packet to the MN2.
- the home address is transferred from MN2's home agent to MN2.
- the MN2 selects the direct routing method to directly route the data packet to the MN1.
- MN2 retrieves the information stored in its own binding cache, determines all mobile nodes to which the care-of address is registered, and carries the binding with the communication node address update option.
- the refresh request is sent to each mobile node, and the binding update request carries the change information of the care-of address of the MN2.
- the source address of the binding refresh request message is a new address after the change of the care-of address of the MN2, and the destination address is the address of the MN1;
- the node address update option carries the old address before the change of the care-of address of MN2.
- the MN1 After receiving the binding refresh request message sent by the MN2, the MN1 updates the binding update list stored by itself according to the old address information and the new address information of the MN2 carried in the binding refresh request message.
- the update detailed process of the binding update list is as described above, and will not be described here.
- MN1 transmits the data packet that needs to be transmitted to the MN2 according to the care-of address of MN2 by way of route optimization; MN2 transmits the data packet that needs to be transmitted to MN1 according to the handover address of MN1 through route optimization.
- FIG. 3 is a flow chart of message interaction between mobile nodes in a fast handover mobile IPv6 or hierarchical IPv6 according to the present invention:
- step 2-1 after the care-of address of MN1 changes, MN1 registers its care-of address with its home agent and sends a binding update message to MN2 to register its care-of address with MN2.
- MN2 After receiving the binding update message transmitted by MN1, MN2 establishes its binding relationship with MN1 as the mobile communication node.
- the MN1 sends a data packet to the MN2, then to step 2-3-1, since the information entry of the MN2 home address exists in the binding update list of the MN1 itself, the MN1 selects the direct routing mode to route the data packet to the MN2.
- the home address is transferred from MN2's home agent to MN2.
- the MN2 selects the direct routing method to directly route the data packet to the MN1.
- MN2 Before the care-of address of MN2 changes, MN2 generates an expected new address. In steps 2-4, MN2 retrieves the information stored in its own binding cache, determines all mobile nodes to which the care-of address is registered, and carries The binding refresh request of the communication node address update option is sent to each mobile node, and the change information of the care-of address of the MN2 is carried in the binding refresh request.
- the source address of the binding refresh request message is the current address of the MN2, and the destination address is the address of the MN1; the communication node address update option carries the new address expected by the MN2.
- the MN1 After receiving the binding refresh request message sent by the MN2, the MN1 updates its own stored binding update list according to the old address information and the new address information of the MN2 carried in the binding refresh request message.
- the update detailed process of the binding update list is as described above, here No longer.
- MN1 transmits the data packet it needs to transmit to the MN2 according to the care-of address of MN2 by way of route optimization; MN2 transmits the data packet it needs to transmit to MN1 according to the care-of address of MN1 through route optimization.
- the MN2 as a mobile communication node can directly communicate with the mobile node MN1 without registering the care-of address information to its home agent, optimizing the communication process and reducing the delay packet loss. possibility.
- FIG. 4 there is shown a block diagram of the mobile node of the present invention:
- the mobile node SO provided by the present invention includes: a storage module Sl, a care-of address information transmitting module S2, and a data packet transmission module S3.
- the storage module S1 is mainly used to store the binding update list and the node definition information, and the storage module S1 updates the stored binding update list when receiving the binding update request transmitted by the opposite mobile node, and defines the node.
- Information is stored as information about the mobile node where the mobile node is mobile.
- the care-of address information sending module is mainly used to send the change information of the care-of address to each mobile node to which the care-of address is registered when the care-of address of the mobile node where the mobile node is located is in a changed state.
- the data packet transmission module S3 is mainly configured to determine a care-of address of the opposite mobile node according to the binding update list stored in the storage module, and send the data packet according to the care-of address of the opposite mobile node.
- a mobile node A is a mobile node in communication with the mobile node B, and may be a mobile communication node in communication with the mobile node C. Therefore, the present invention determines its role in the communication process by the node definition information stored in the storage module S1, and the node definition information is determined according to whether the mobile node receives the binding update request of the opposite mobile node. .
- the care-of address information transmitting module S2 In order for the care-of address information transmitting module S2 to notify its all-in-one mobile node of its care-of address change information when its mobile node is in a different role, it may also be between the storage module S1 and the care-of address information transmitting module S2.
- the node definition information obtaining module S4 is configured to acquire the node definition information stored in the storage module S1 when the care-of address of the mobile node where the mobile node is located is changed, and transmit the node definition information to the care-of address information sending module S2.
- the care-of address information transmitting module S2 determines the role of the mobile node in which the mobile node is located in the current communication according to the information, and performs corresponding processing when the mobile node's care-of address processing changes state, as follows:
- the care-of address information transmitting module S2 sends the change information of the care-of address to the Registering the mobile node of the care-of address; the care-of address information sending module S2 may determine each mobile node to which the care-of address is registered according to the binding update list stored in the storage module, and the send care-of address change information module may The change information of the care-of address is transmitted to each mobile node. Specifically, it is as described in the above method.
- the care-of address information transmitting module S2 sends the change information of the care-of address to the The peer mobile node of the communication.
- the change of the care-of address of the mobile node described above indicates that it has changed in Mobile IPv6, indicating that the change is expected in Fast Handover Mobile IPv6 or Layered Mobile IPv6.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A communication method between mobile nodes and a mobile node are disclosed. The core idea of this method is that: two mobile nodes needing communication transfer the care-of-address (COA) changing information mutually when their COA are in a changing state, and said mobile nodes communicate data packets through the received COA changing information by themselves respectively. A mobile node is also disclosed. The mobile node includes storage module, COA information transmitting module and packets transferring module. With this invention, it could communicate among mobile nodes fast in a route optimization manner, and perfect the mobile IPv6 protocol, optimize the binding update and communication procedure among mobile nodes, thus increase the communication rate among the mobile nodes.
Description
一种移动节点之间的通信方法及移动节点 技术领域 Communication method between mobile nodes and mobile node
本发明涉及网络通讯技术领域, 具体涉及一种移动节点之间的通讯 方法及移动节点。 The present invention relates to the field of network communication technologies, and in particular, to a communication method and a mobile node between mobile nodes.
背景技术 Background technique
随着网絡技术的不断发展,大量移动终端将出现在网络中,移动节点 之间的通信需求也将曰益增加。为此,移动 IPv6定义了三个基本的通信实 体, 即移动节点、 家乡代理和通信节点。 移动节点始终以家乡地址来标 识自己, 当移动节点在家乡链路时, 它的工作方式与固定节点完全相同, 当移动节点漫游到外地链路时, 它需要通过无状态或有状态方式自动获 得其转交地址, 然后, 向家乡代理发送绑定更新消息, 以注册其转交地 址, 移动节点也可以向通信节点发送绑定更新消息, 注册其转交地址。 With the continuous development of network technology, a large number of mobile terminals will appear in the network, and the communication requirements between mobile nodes will also increase. To this end, Mobile IPv6 defines three basic communication entities, namely mobile nodes, home agents, and communication nodes. The mobile node always identifies itself with the home address. When the mobile node is at home, it works in exactly the same way as the fixed node. When the mobile node roams to the foreign link, it needs to be automatically obtained through stateless or stateful mode. The care-of address, and then sends a binding update message to the home agent to register its care-of address, and the mobile node can also send a binding update message to the correspondent node to register its care-of address.
移动 IPv6定义了两种移动节点和通信节点之间的通信方式: 一种是双向隧道方式。在该方式下,从通信节点发出的数据包被移动 节点的家乡代理截获, 然后, 由移动节点的家乡代理通过隧道机制将数 据包转发给移动节点, 移动节点发往通信节点的数据包先通过反向隧道 机制传输至移动节点的家乡代理, 然后, 由移动节点的家乡代理通过正 常的路由方式将数据包发送到通信节点。 Mobile IPv6 defines the communication between two mobile nodes and communication nodes: One is a two-way tunneling method. In this mode, the data packet sent from the communication node is intercepted by the home agent of the mobile node, and then the mobile agent's home agent forwards the data packet to the mobile node through the tunnel mechanism, and the data packet sent by the mobile node to the communication node passes first. The reverse tunneling mechanism transmits to the mobile node's home agent, and then the mobile agent's home agent sends the data packet to the communication node through normal routing.
另一种是路由优化方式。在该方式下,首先要求移动节点向通信节点 注册其转交地址, 之后, 移动节点和通信节点之间的数据包可以被直接 路由到目的地址, 而不需要经过移动节点的家乡代理中转。 The other is route optimization. In this manner, the mobile node is first required to register its care-of address with the correspondent node, after which the data packet between the mobile node and the correspondent node can be directly routed to the destination address without being relayed through the mobile agent's home agent.
按照移动 IPv6的定义,通信节点可以是固定节点,也可以是移动节点。 但移动 IPv6没有单独说明两个移动节点之间的通信过程,按照协议对 移动节点和通信节点之间通信过程的描述, 两个移动节点 MN1和 MN2之 间的通 4言可概 ϋ括为如下四种方式: According to the definition of mobile IPv6, the communication node can be a fixed node or a mobile node. However, Mobile IPv6 does not separately describe the communication process between two mobile nodes. According to the protocol description of the communication process between the mobile node and the communication node, the communication between the two mobile nodes MN1 and MN2 can be summarized as follows Four ways:
1、 MN1和 ΜΝ2都在家乡链路时, 它们的通信过程与固定节点间的通 信过程完全相同。 1. When both MN1 and ΜΝ2 are in the home link, their communication process is exactly the same as the communication process between fixed nodes.
2、 MN1在外地链路, 而 ΜΝ2在家乡链路时, 两者之间可以按照移动
节点 MN1和固定的通信节点 MN2的通信过程进行处理; 反之亦然。 2. When MN1 is in the foreign link, and ΜΝ2 is in the home link, the two can move according to the two. The communication process of the node MN1 and the fixed communication node MN2 is processed; and vice versa.
3、 MN1和 MN2相继离开家乡链路、 并在隧道模式下工作时, 即在 MN1和 MN2都不知道对方的转交地址时, 它们之间的通信过程如下: 步骤 A: MN1到达外地链路后完成向其家乡代理的注册过程。 3. When MN1 and MN2 leave the home link one after another and work in tunnel mode, that is, when MN1 and MN2 do not know the other party's care-of address, the communication process between them is as follows: Step A: After MN1 arrives at the foreign link Complete the registration process with your home agent.
步骤 B: MN2到达外地链路后完成向其家乡代理的注册过程。 Step B: After the MN2 arrives at the foreign link, it completes the registration process to its home agent.
步骤 C: MN1向 MN2发送数据包,先经过反向隧道至 MN1的家乡代理, 然后, 从 MN1的家乡代理到 MN2的家乡代理, 最后, 从 MN2的家乡代理 经过隧道传输至 MN2的转交地址。 Step C: MN1 sends a data packet to MN2, first through the reverse tunnel to the home agent of MN1, then from the home agent of MN1 to the home agent of MN2, and finally, from the home agent of MN2, to the care-of address of MN2.
步骤 D: MN2向 MN1发送数据包的路径与上述步驟 C中描述的路径相 反。 Step D: The path in which MN2 sends a packet to MN1 is opposite to the path described in step C above.
4、 MN1和 MN2相继离开家乡链路、 并在路由优化模式下工作时, 它 们之间的通信过程如下: 4. When MN1 and MN2 leave the home link one after another and work in route optimization mode, the communication process between them is as follows:
步骤 A: MN1到达外地链路后完成向其家乡代理的注册过程, 然后, 向 MN2注册其转交地址, 此时, MN2作为通信节点建立起与 MN1的绑定 緩存。 Step A: After the MN1 arrives at the foreign link, it completes the registration process with its home agent, and then registers its care-of address with the MN2. At this time, the MN2 establishes a binding cache with the MN1 as the communication node.
步骤 B: MN2到达外地链路后完成向其家乡代理的注册过程。 Step B: After the MN2 arrives at the foreign link, it completes the registration process to its home agent.
步骤 C: MN1向 MN2发送数据包时, 由于 MN1自身的绑定更新列表中 存在 MN2家乡地址的信息入口, 所以, MN1选择直接路由方式将数据包 路由至 MN2的家乡地址, 然后, 由 MN2的家乡代理中转至 MN2的转交地 址。 Step C: When the MN1 sends a data packet to the MN2, since the MN1's own binding update list has an information entry of the MN2 home address, the MN1 selects the direct routing mode to route the data packet to the home address of the MN2, and then, by the MN2 The home agent transfers to the care-of address of MN2.
步骤 D: MN2向 MN1发送绑定更新消息, 注册其转交地址。 此时, MN1和 MN2彼此作为对方的通信节点, 建立起与对方相关的绑定緩存。 Step D: MN2 sends a binding update message to MN1 to register its care-of address. At this time, MN1 and MN2 act as communication nodes of the other party, and establish a binding cache associated with the other party.
步骤 E: MN1和 MN2以转交地址进行路由优化方式的通信。 Step E: MN1 and MN2 perform routing optimization communication with the care-of address.
从上述描述可以看出, 当两个移动节点相继离开家乡链路、 且这两 个移动节点之间需要进行通信时, 这两个节点都是既充当移动节点, 又 充当通信节点, 角色定义不明确, 彼此之间的关系复杂, 不利于协议实 现。 当两个移动节点都在外地链路、 且采用方式三进行通信时, 数据包 要先后经过两个移动节点各自的家乡代理, 实现过程比较复杂, 容易造 成通信时延。 当两个移动节点都在外地链路、 且采用方式四进行通信时,
两个移动节点之间转交地址绑定关系的建立过程比较复杂, 容易导致时 延丢包, 无法保证移动节点间的通信质量。 As can be seen from the above description, when two mobile nodes successively leave the home link and communication needs to be performed between the two mobile nodes, both nodes act as both a mobile node and a communication node, and the role definition is not Clearly, the relationship between each other is complex and not conducive to the realization of the agreement. When two mobile nodes are in the foreign link and communicate in the third mode, the data packet has to pass through the respective home agents of the two mobile nodes, and the implementation process is complicated, which is easy to cause communication delay. When both mobile nodes are in the foreign link and communicate in mode four, The establishment process of the care-of address binding relationship between two mobile nodes is complicated, which is likely to cause delay packet loss and cannot guarantee the communication quality between mobile nodes.
发明内容 Summary of the invention
本发明的目的在于,提供一种移动节点之间的通信方法, 以提高移动 节点之间的通信速度, 保证移动节点间的通信质量。 It is an object of the present invention to provide a communication method between mobile nodes to improve communication speed between mobile nodes and to ensure communication quality between mobile nodes.
本发明的另一个目的在于,提供一种移动节点, 以快速建立与其他移 动节点之间的通信。 Another object of the present invention is to provide a mobile node to quickly establish communication with other mobile nodes.
为达到上述目的,本发明提供的一种移动节点之间的通信方法,包括: 一种移动节点之间的通信方法, 包括: To achieve the above objective, a communication method between mobile nodes provided by the present invention includes: a communication method between mobile nodes, including:
a、 两个需要通信的移动节点在其各自的转交地址处于变化状态时, 相互传输转交地址的变化信息; a. Two mobile nodes that need to communicate transmit mutual change information of the care-of address when their respective care-of addresses are in a changed state;
b、 所述移动节点之间通过其各自接收的转交地址的变化信息进行数 据包传输。 b. The mobile node performs data packet transmission by changing information of its respective received care-of address.
其中, 所述步骤 a具体包括: The step a specifically includes:
在两个需要通信的移动节点中,转交地址先处于变化状态的移动节点 在其转交地址处于变化状态时, 向对端移动节点注册转交地址。 In two mobile nodes that need to communicate, the mobile node whose care-of address is in the first change state registers the care-of address with the opposite mobile node when its care-of address is in a changed state.
优选地, 所述方法进一步包括: Preferably, the method further comprises:
将接受移动节点注册转交地址的移动节点作为移动的通信节点。 所述步骤 a进一步包括: The mobile node that accepts the mobile node registration care-of address is used as the mobile communication node. The step a further includes:
移动的通信节点在其转交地址处于变化状态时,根据其存储的綁定更 新列表中的绑定信息确定向其注册转交地址的各移动节点; The mobile communication node determines, when the care-of address thereof is in a changed state, the mobile nodes to which the care-of address is registered according to the binding information in the stored binding update list;
将其转交地址的变化信息传输至所述各移动节点。 The change information of its care-of address is transmitted to each of the mobile nodes.
优选地,移动的通信节点将其转交地址的变化信息通过绑定刷新请求 消息传输至所述移动节点。 Preferably, the mobile communication node transmits the change information of its care-of address to the mobile node through a Binding Refresh Request message.
所述方法进一步包括: The method further includes:
在所述绑定刷新请求消息中设置通信节点地址更新选项。 A communication node address update option is set in the binding refresh request message.
移动的通信节点将其转交地址的变化信息承载于携带有通信节点地 址更新选项的绑定刷新请求消息中传输至移动节点。 The mobile communication node transmits the change information of its care-of address to the mobile node in the Binding Refresh Request message carrying the communication node address update option.
可选地, 所述变化状态为: 已发生变化, 所述移动的通信节点的转交
地址的变化信息包括: 转交地址变化前的地址信息和转交地址变化后的 地址信息。 Optionally, the change status is: a change has occurred, and the mobile communication node is handed over The address change information includes: address information before the change of the care-of address and address information after the change of the care-of address.
所述绑定刷新请求消息的源地址为:移动的通信节点的转交地址变化 后的地址信息, 目的地址为: 移动节点的地址信息, 所述通信节点地址 更新选项中承载移动的通信节点的转交地址变化前的地址信息。 The source address of the binding refresh request message is: address information after the change of the care-of address of the mobile communication node, the destination address is: address information of the mobile node, and the handover of the communication node carrying the mobile in the address update option of the communication node Address information before the address change.
可选地, 所述变化状态为: 预期发生变化, 所述移动的通信节点的转 交地址的变化信息包括: 通信节点的当前地址信息和通信节点的预期转 交地址信息。 Optionally, the change status is: expected to change, and the change information of the handover address of the mobile communication node includes: current address information of the communication node and expected handover address information of the communication node.
所述绑定刷新请求消息的源地址为: 移动的通信节点的当前地址, 目 的地址为: 移动节点的地址信息, 所述通信节点地址更新选项中承载移 动的通信节点的预期转交地址。 The source address of the binding refresh request message is: the current address of the mobile communication node, the destination address is: address information of the mobile node, and the communication node address update option carries the expected care-of address of the mobile communication node.
其中, 所述步骤 b具体包括: The step b specifically includes:
移动的通信节点与移动节点分别根据其接收的转交地址的变化信息 更新各自的绑定更新列表; The mobile communication node and the mobile node respectively update the respective binding update list according to the change information of the care-of address received by the mobile node;
移动的通信节点与移动节点分别根据其各自的绑定更新列表中的转 交地址进行数据包传输。 The mobile communication node and the mobile node respectively perform packet transmission according to the care-of address in their respective binding update list.
可选地, 所述移动节点为: 移动 IPv6中的移动节点、 或快速转交移 动 IPv6中的移动节点、 或分层移动 IPv6中的移动节点。 Optionally, the mobile node is: a mobile node in mobile IPv6, or a mobile node in fast handover mobile IPv6, or a mobile node in hierarchical mobile IPv6.
一种移动节点, 包括: A mobile node, comprising:
存储模块: 用于存储绑定更新列表及节点定义信息,并在所述移动节 点接收到对端移动节点传输来的绑定更新请求时, 更新其存储的绑定更 新列表; a storage module: configured to store a binding update list and node definition information, and update the stored binding update list when the mobile node receives the binding update request transmitted by the opposite mobile node;
转交地址信息发送模块: 用于在其转交地址处于变化状态时, 向对端 移动节点传输转交地址的变化信息; The care-of address information sending module is configured to: when the care-of address is in a changed state, transmit the change information of the care-of address to the opposite mobile node;
数据包传输模块:用于根据存储模块中存储的绑定更新列表向对端移 动节点发送数据包。 The data packet transmission module is configured to send a data packet to the peer mobile node according to the binding update list stored in the storage module.
当所述移动节点接收到对端移动节点传输来的绑定更新请求时,所述 存储模块将所述节点定义信息存储为其所在的移动节点为移动的通信节 点。
优选地, 所述移动节点进一步包括: When the mobile node receives the binding update request transmitted by the opposite mobile node, the storage module stores the node definition information as a mobile node whose mobile node is a mobile node. Preferably, the mobile node further includes:
节点定义信息获取模块,分别与所述存储模块和所述转交地址信息发 送模块相连, 用于在其所在的移动节点的转交地址处于变化状态时, 获 取所述存储模块中存储的节点定义信息, 并将其传送给所述转交地址信 息发送模块。 The node definition information acquiring module is respectively connected to the storage module and the care-of address information sending module, and is configured to acquire node definition information stored in the storage module when the care-of address of the mobile node where the mobile node is located is in a changed state, And transmitting it to the care-of address information sending module.
当所述移动节点的转交地址处于变化状态、且所述节点定义信息获取 模块获取的节点定义信息为所述移动节点为移动的通信节点的信息时, 所述转交地址信息发送模块将转交地址的变化信息发送至向其注册转交 地址的各移动节点; When the care-of address of the mobile node is in a changed state, and the node definition information acquired by the node definition information acquiring module is information that the mobile node is a mobile communication node, the care-of address information sending module will transfer the address The change information is sent to each mobile node to which the care-of address is registered;
当所述移动节点的转交地址处于变化状态、且所述节点定义信息获取 模块获取的节点定义信息不是所述移动节点为移动的通信节点的信息 时, 所述转交地址信息发送模块将转交地址的变化信息发送至需要与其 通信的对端移动节点。 When the care-of address of the mobile node is in a changing state, and the node definition information acquired by the node definition information acquiring module is not the information of the mobile node that is the mobile node, the care-of address information sending module will transfer the address The change information is sent to the peer mobile node that needs to communicate with it.
通过上述技术方案的描述可知, 本发明将两个移动节点分别定义为 移动节点和移动的通信节点, 避免了移动节点在与对端移动节点进行通 信时, 既充当移动节点角色、 又充当通信节点角色的现象, 明确了两个 移动节点之间的角色划分; 移动的通信节点在其转交地址处于变化状态 时, 能够及时的将其转交地址的变化信息传输至移动节点, 使移动节点 的绑定信息能够及时刷新, 保证了移动节点和通信节点之间可以迅速地 通过路由优化方式进行通信; 移动的通信节点通过发送绑定刷新请求消 息, 将其转交地址的变化信息传输至向其注册的各移动节点, 使移动的 通信节点能够与各移动节点之间迅速地通过路由优化方式进行通信, 优 化了移动节点之间的绑定更新过程, 尽可能地避免了时延丢包的现象; 本发明中移动的通信节点的转交地址处于变化状态可以为转交地址已发 生变化、 也可以为转交地址即将发生变化, 使本发明能够适用于移动 IPv6、 快速转交移动 IPv6、 分层移动 IPv6; 从而完善了移动 IPv6协议、 优化了移动节点之间的通信过程, 达到了提高移动节点之间通信速度的 目的。 According to the description of the foregoing technical solution, the present invention defines two mobile nodes as a mobile node and a mobile communication node, respectively, and avoids that the mobile node acts as both a mobile node and a communication node when communicating with the opposite mobile node. The role of the role, the role division between the two mobile nodes is clarified; the mobile communication node can transmit the change information of its care-of address to the mobile node in time when its care-of address is changed, so that the mobile node is bound The information can be refreshed in time to ensure that the mobile node and the communication node can communicate quickly through the route optimization method; the mobile communication node transmits the binding refresh request message and transmits the change information of the care-of address to each registered to it. The mobile node enables the mobile communication node to quickly communicate with each mobile node through a route optimization manner, optimizes the binding update process between the mobile nodes, and avoids the phenomenon of delay packet loss as much as possible; The care-of address of the mobile node of the mobile The change status may be that the care-of address has changed, or the transfer address is about to change, so that the present invention can be applied to mobile IPv6, fast handover mobile IPv6, and hierarchical mobile IPv6; thereby improving the mobile IPv6 protocol and optimizing the mobile node. The communication process between the two ends up to improve the communication speed between mobile nodes.
附图说明
图 1是本发明方法的实现流程图; DRAWINGS Figure 1 is a flow chart showing the implementation of the method of the present invention;
图 2是本发明在移动 IPv6中移动节点之间消息交互流程图; 图 3是本发明在快速转交移动 IPv6或分层 IPv6中移动节点之间消息 交互流程图; 2 is a flow chart of message interaction between mobile nodes in mobile IPv6 according to the present invention; FIG. 3 is a flow chart of message interaction between mobile nodes in fast handover mobile IPv6 or hierarchical IPv6 according to the present invention;
图 4是本发明移动节点的原理框图。 4 is a schematic block diagram of a mobile node of the present invention.
具体实施方式 本发明的核心是:两个需要通信的移动节点在其各自的转交地址处于 变化状态时, 相互传输转交地址的变化信息, 并将其中一个移动节点作 为移动的通信节点, 移动的通信节点与移动节点之间通过其各自接收的 转交地址进行数据包传输。 DETAILED DESCRIPTION OF THE INVENTION The core of the present invention is that two mobile nodes that need to communicate transmit mutual change information of a care-of address when their respective care-of addresses are in a changed state, and one of the mobile nodes is used as a mobile communication node, and the mobile communication The node and the mobile node transmit data packets through their respective received care-of addresses.
两个需要通信的移动节点在转交地址处于变化状态时, 不仅需要将 其转交地址的变化信息及时的通知对端移动节点, 还需要进行角色分配, 即其中一个移动节点以通信节点的角色与另一个移动节点进行通信, 且 在确定角色之后的整个通信过程中, 一个移动节点始终充当通信节点的 角色, 另一个移动节点始终充当移动节点的角色。 When the care-of address is in a changing state, the two mobile nodes that need to communicate not only need to notify the opposite mobile node of the change information of the care-of address, but also need to perform role assignment, that is, one mobile node takes the role of the communication node and another A mobile node communicates, and during the entire communication process after determining the role, one mobile node always acts as a communication node, and the other mobile node always acts as a mobile node.
上述移动的通信节点的转交地址处于变化状态可由节点的移动引起, 如节点从一条链路移动到其他不同的链路等; 也可以由节点的重新配置 等原因引起。 The change of the care-of address of the above-mentioned mobile communication node may be caused by the movement of the node, such as the node moving from one link to another, etc.; or may be caused by reconfiguration of the node or the like.
可以按以下方式将两个移动节点中的一个移动节点确定为移动的通 信节点: 当其中一个移动节点的转交地址首先处于变化状态时, 该移动 节点会向另一个移动节点发送绑定更新消息, 接收绑定更新消息的移动 节点会根据其接收的绑定更新消息来更新其緩存中存储的绑定更新列表 中的绑定关系, 并向对端移动节点回复绑定更新应答消息, 因此可以将 接收绑定更新消息的移动节点确定为移动的通信节点, 将发送绑定更新 消息的移动节点确定为移动节点。 即在该绑定关系中, 移动的通信节点 始终充当通信节点的角色, 而在其他绑定关系中它也可以充当其他节点 的移动节点。 例如, 移动节点 MN1先向移动节点 MN2发起绑定更新消息, 并收到 MN2的绑定应答消息, 此后在两者的关系中, MN1—直作为移动 节点, 而 MN2—直作为移动的通信节点。
这样, 本发明将两个移动节点分别定义为移动节点和移动的通信节 点, 使得两个移动节点之间通信时, 明确了各自的角色, 为优化两个移 动节点之间的通信过程提供了先决条件, 使两个移动节点可以根据自己 的角色进行相应的处理操作。 One of the two mobile nodes may be determined as a mobile communication node in the following manner: When the care-of address of one of the mobile nodes is first in a changed state, the mobile node sends a binding update message to another mobile node, The mobile node receiving the binding update message updates the binding relationship in the binding update list stored in the cache according to the binding update message it receives, and returns a binding update response message to the opposite mobile node, so The mobile node receiving the binding update message determines the mobile node as the mobile, and determines the mobile node that sent the binding update message as the mobile node. That is, in the binding relationship, the mobile communication node always acts as a communication node, and in other binding relationships it can also act as a mobile node of other nodes. For example, the mobile node MN1 first initiates a binding update message to the mobile node MN2, and receives the binding response message of the MN2. Thereafter, in the relationship between the two, the MN1 is directly acting as the mobile node, and the MN2 is directly acting as the mobile communication node. . In this way, the present invention defines two mobile nodes as mobile nodes and mobile communication nodes, respectively, so that when the two mobile nodes communicate with each other, their respective roles are clarified, which provides a prerequisite for optimizing the communication process between the two mobile nodes. Condition, so that two mobile nodes can perform corresponding processing operations according to their own roles.
为了使本技术领域的人员更好地理解本发明方案, 下面结合附图和 实施方式对本发明作进一步的详细说明。 In order to make those skilled in the art better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
参照图 1 , 图 1示出了本发明方法的实现流程, 包括以下步骤: 步骤 101 : 两个需要通信的移动节点在其各自的转交地址处于变化状 态时, 相互传输转交地址的变化信息, 并将其中一个移动节点作为移动 的通信节点。 Referring to FIG. 1, FIG. 1 shows an implementation flow of the method of the present invention, which includes the following steps: Step 101: Two mobile nodes that need to communicate transmit mutual change information of a care-of address when their respective care-of addresses are in a changed state, and One of the mobile nodes is used as a mobile communication node.
当两个需要通信的移动节点中的一个移动节点的转交地址首先处于 变化状态、 并才 N:居上述描述为两个移动节点分别分配了角色后, 当移动 的通信节点的转交地址处于变化状态时, 移动的通信节点需要向与其通 信的移动节点发送转交地址变化信息。 When a mobile node care-of address of the mobile node need to communicate in two first state of change, and only N: After the above described two home mobile nodes are assigned the role as care-of address of the mobile communication node is in a state of change When the mobile communication node needs to send the care-of address change information to the mobile node with which it communicates.
移动的通信节点的转交地址变化信息可通过绑定刷新消息传输, 这 样, 移动的通信节点可通过检索自身绑定缓存中存储的绑定信息, 将其 转交地址变化信息通过绑定刷新消息传输至向其注册转交地址的各移动 节点。 从而, 使向其注册转交地址的各移动节点都能够及时地获知移动 的通信节点的转交地址变化信息。 The care-of address change information of the mobile communication node can be transmitted through the binding refresh message, so that the mobile communication node can transmit the binding change information stored in the self-binding cache to the address change information through the binding refresh message to Each mobile node to which the care-of address is registered. Thereby, each mobile node to which the care-of address is registered can be made aware of the care-of address change information of the mobile communication node in time.
步骤 102: 移动的通信节点与移动节点之间通过其各自接收的转交地 址的变化信息进行数据包传输。 Step 102: The mobile communication node and the mobile node perform data packet transmission by using change information of their respective received handover addresses.
移动的通信节点与移动节点接收到对方的转交地址的变化信息后, 根据该变化信息更新各自的绑定更新列表, 并根据其各自的绑定更新列 表中的转交地址进行数据包传输。 After receiving the change information of the care-of address of the other party, the mobile communication node and the mobile node update the respective binding update list according to the change information, and perform data packet transmission according to the care-of address in the respective binding update list.
本技术领域人员知道, 移动 IPv6中定义的移动头主要用于移动节点、 通信节点和家乡代理进行与绑定创建和管理相关的消息中。 移动头的格 式如表 1所示。 Those skilled in the art will recognize that the mobile headers defined in Mobile IPv6 are primarily used in mobile, communication, and home agents for messaging related to binding creation and management. The format of the moving head is shown in Table 1.
表 1 : Table 1 :
+—+_+_+_+— +_+_+_+_+—+—+—+_+_+_+— +_+-+-+-+_+_+_+_+_+_+-+-+-+-+-+-+ +—+_+_+_+— +_+_+_+_+—+—+—+_+_+_+—+_+-+-+-+_+_+_+_+_ +_+-+-+-+-+-+-+
I Payload Proto | Header Len | MH Type | Reserved |
+-+.+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ I Payload Proto | Header Len | MH Type | Reserved | +-+.+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
I Checksum | I Checksum |
+.+_+.+-+-+-+-+-+-+-+_+-+-+-+-+- +.+_+.+-+-+-+-+-+-+-+_+-+-+-+-+-
Message Data Message Data
+—+_+_+_+—+_+—+_+_+—+_+_+_+-+_+_+—+—+_+—+_+_+_+_+_+_+_+_+_+_+_+_+ 表 1中, MHType用于指明移动消息的类型, 如 MH Type = 1表示该移 动消息是绑定刷新请求。 Message Data根据 MH Type的不同而携带不同的 消息数据,如 MHType=l时, Message Data中携带的是绑定刷新请求消息。 +—+_+_+_+—+_+—+_+_+—+_+_+_+-+_+_+—+—+_+—+_+_+_+_+_ +_+_+_+_+_+_+_+ In Table 1, MHType is used to indicate the type of mobile message. For example, MH Type = 1 indicates that the mobile message is a binding refresh request. Message Data carries different message data according to the MH Type. For example, when MHType=l, Message Data carries a binding refresh request message.
移动 IPv6定义的绑定刷新请求消息的格式如表 2所示。 The format of the Binding Refresh Request message defined by Mobile IPv6 is shown in Table 2.
表 2: Table 2:
+_+_+_+_+_+_+_+_+_+_+·+_+_+_+-+ +_+_+_+_+_+_+_+_+_+_+·+_+_+_+-+
I Reserved | I Reserved |
+-+—+—+—+—+—+—+—+-+_+—+_+_+—+_+-+_+_+_+_+_+_+_+—+_+—+_+-+_+_+_+_+ +-+—+—+—+—+—+—+—+-+_+—+_+_+—+_+-+_+_+_+_+_+_+_+—+_ +—+_+-+_+_+_+_+
. Mobility options . Mobility options .
I I I I
+_+_+_+—+_+-+_+_+_+-+_+-+_+-+-+-+-+-+_+_+_+-+_+-+_+_+-+-+_+_+-+-+ 表 2中, Mobility options为移动选项, 移动 IPv6为移动选项定义的通 用格式如表 3所示。 +_+_+_+—+_+-+_+_+_+-+_+-+_+-+-+-+-+-+_+_+_+-+_+-+_ +_+-+-+_+_+-+-+ In Table 2, Mobility options are mobile options, and the common format defined by Mobile IPv6 for mobile options is shown in Table 3.
表 3: table 3:
0 1 2 3 0 1 2 3
01234567890123456789012345678901 01234567890123456789012345678901
+—+—+_+_+—+_+_+-+_+-+_+_+-+_+_+_+_+_+_+-+_+-+_+_+_+—+-+-+-+-+-+-+ +—+—+_+_+—+_+_+-+_+-+_+_+-+_+_+_+_+_+_+-+_+-+_+_+_ +—+-+-+-+-+-+-+
I Option Type | Option Length | Option Data... I Option Type | Option Length | Option Data...
+—+_+_+_+-+_+_+_+_+-+-+_+_+_+_+-+_+-+_+_+-+-+-+_+_+-+-+-+-+-+-+-+ 表 3中, Option Type为移动选项类型, Option Length为移动选项长度, Option Data为移动选项数据。 +—+_+_+_+-+_+_+_+_+-+-+_+_+_+_+-+_+-+_+_+-+-+-+_+_ +-+-+-+-+-+-+-+ In Table 3, Option Type is the move option type, Option Length is the move option length, and Option Data is the move option data.
本发明根据表 3的移动选项的通用格式, 新设置了一个通信节点地址
更新选项, 其格式如表 4所示。 The present invention newly sets a communication node address according to the general format of the mobile option of Table 3. Update options, the format is shown in Table 4.
表 4: Table 4:
0 1 2 3 0 1 2 3
+.+_+_+.+.+_+-+-+-+-+-+-+-+.+-+-+ I Type = 50 | Length = 16 | +.+_+_+.+.+_+-+-+-+-+-+-+-+.+-+-+ I Type = 50 | Length = 16 |
+-+-+—+_+—+_+—+_+—+-+_+_+—+_+—+—+_+_+—+_+_+—+_+—+—+_+_+_+_+_+_+_+ +-+-+-+_+-+_+-+_+-+-+_+_+-+_+-+-+_+_+-+_+_+-+_+-+- +_+_+_+_+_+_+_+
I I I I
+ + + +
I I I I
+ Correspondent Address + + Correspondent Address +
I I I I
+ + +_+—+— +-+_+_+_+—+— +_+_+—+_+_+_+— +_+_+_+_+_+_+_+_+_+-+—+— +_+_+_+_+ 表 4中, Option Type应设置为区别于其它选项类型的数值, 以标识该 移动选项为通信节点地址更新选项, 如可将 Option Type设置为 50等。 Correspondent Address用于携带通信节点的地址信息。 + + +_+—+— +-+_+_+_+—+— +_+_+—+_+_+_+—+_+_+_+_+_+_+_+_ +_+-+—+— +_+_+_+_+ In Table 4, the Option Type should be set to a value different from the other option types to identify the move option as the communication node address update option, such as Option Type is set to 50, etc. The Correspondent Address is used to carry the address information of the communication node.
在移动 IPv6中, 本发明的绑定刷新请求在移动的通信节点的转交地 址发生变化后发送, 绑定刷新请求的源地址是移动的通信节点的转交地 址变化后的新地址信息, 目的地址是对端移动节点的地址, 移动的通信 节点地址更新选项中携带的是移动的通信节点的转交地址变化前的旧地 址信息。 In Mobile IPv6, the binding refresh request of the present invention is sent after the handover address of the mobile communication node changes, and the source address of the binding refresh request is the new address information after the handover address of the mobile communication node is changed, and the destination address is The address of the peer mobile node, the mobile communication node address update option carries the old address information before the change of the care-of address of the mobile communication node.
在移动 IPv6中,当移动节点接收到携带有通信节点地址更新选项的绑 定刷新请求时, 从通信节点地址更新选项中获取通信节点的旧地址信息, 然后, 根据通信节点的旧地址信息检索其自身緩存中的绑定更新列表 , 将通信节点的旧地址信息与绑定更新列表中移动节点已经发送的绑定更 新消息的目的地址进行匹配, 如果存在匹配的表项, 移动节点删除该表 项, 并根据移动的通信节点的新地址信息, 即绑定刷新请求消息中的源 地址, 启动回路由过程和绑定更新过程。 In Mobile IPv6, when the mobile node receives the binding refresh request carrying the communication node address update option, the old address information of the communication node is obtained from the communication node address update option, and then, according to the old address information of the communication node, The binding update list in the self cache matches the old address information of the communication node with the destination address of the binding update message that the mobile node has sent in the binding update list. If there is a matching entry, the mobile node deletes the entry. And according to the new address information of the mobile communication node, that is, the source address in the binding refresh request message, the loop is initiated by the process and the binding update process.
在快速转交移动 IPv6或分层移动 IPv6中,本发明的绑定刷新请求还可 以在移动的通信节点的转交地址发生变化前发送, 绑定刷新请求消息的 源地址是移动的通信节点的当前地址信息, 目的地址是对端移动节点的 地址, 通信节点地址更新选项中携带的是移动的通信节点预期的新地址
信息。 In the fast handover mobile IPv6 or hierarchical mobile IPv6, the binding refresh request of the present invention may also be sent before the handover address of the mobile communication node changes, and the source address of the binding refresh request message is the current address of the mobile communication node. Information, the destination address is the address of the peer mobile node, and the communication node address update option carries the new address expected by the mobile communication node. Information.
在快速转交移动 IPv6或分层移动 IPv6中,当移动节点接收到携带有通 信节点地址更新选项的绑定刷新请求时, 从绑定刷新请求消息的源地址 获取通信节点的旧地址信息, 然后, 根据通信节点的旧地址信息检索其 自身緩存中的绑定更新列表, 将通信节点的旧地址信息与绑定更新列表 中移动节点已经发送的绑定更新消息的目的地址进行匹配, 如果存在匹 配的表项, 移动节点删除该表项, 并根据移动的通信节点的新地址信息, 即通信节点地址更新选项中承载的地址信息, 启动回路由过程和绑定更 新过程。 In the fast handover mobile IPv6 or the hierarchical mobile IPv6, when the mobile node receives the binding refresh request carrying the communication node address update option, the old address information of the communication node is obtained from the source address of the binding refresh request message, and then Retrieving the binding update list in its own cache according to the old address information of the communication node, and matching the old address information of the communication node with the destination address of the binding update message that the mobile node has sent in the binding update list, if there is a matching table The mobile node deletes the entry and initiates a loop by process and binding update process according to the new address information of the mobile communication node, that is, the address information carried in the communication node address update option.
移动节点和移动的通信节点通过上述过程能够及时获得对端节点的 转交地址变化信息, 从而使移动节点和移动的通信节点能够迅速地通过 路由优化方式进行通信。 Through the above process, the mobile node and the mobile communication node can obtain the care-of address change information of the opposite node in time, so that the mobile node and the mobile communication node can quickly communicate through the route optimization manner.
下面结合附图 2对本发明的移动节点间的通信过程做进一步的描述。 图 2为本发明在移动 IPv6中移动节点之间消息交互流程图: The communication process between the mobile nodes of the present invention will be further described below with reference to FIG. 2 is a flow chart of message interaction between mobile nodes in mobile IPv6 according to the present invention:
设定两个需要通信的移动节点分别为 MN1和 MN2。 Set two mobile nodes that need to communicate as MN1 and MN2.
在步骤 1-1、 当 MN1的转交地址发生变化后, MN1向其家乡代理注册 其转交地址, 并向 MN2发送绑定更新消息, 以向 MN2注册其转交地址。 In step 1-1, after the care-of address of MN1 changes, MN1 registers its care-of address with its home agent, and sends a binding update message to MN2 to register its care-of address with MN2.
到步骤 1-2、 MN2接收到 MN1传输来的绑定更新消息后, 将自己作为 移动的通信节点建立其与 MN1的绑定关系。 After step 1-2, the MN2 receives the binding update message transmitted by the MN1, and establishes its binding relationship with the MN1 as the mobile communication node.
此时, 如果 MN1向 MN2发送数据包, 则到步驟 1-3-1、 由于 MN1自身 的绑定更新列表中存在 MN2家乡地址的信息入口, 所以, MN1选择直接 路由方式将数据包路由至 MN2的家乡地址, 然后, 由 MN2的家乡代理中 转至 MN2。 At this time, if the MN1 sends a data packet to the MN2, then to step 1-3-1, since the information entry of the MN2 home address exists in the binding update list of the MN1 itself, the MN1 selects the direct routing mode to route the data packet to the MN2. The home address, then, is transferred from MN2's home agent to MN2.
此时, 如果 MN2向 MN1发送数据包, 则到步骤 1-3-2、 由于 MN2自身 的绑定更新列表中存在 MN1的转交地址, 所以, MN2选择直接路由方式 将数据包直接路由至 MN1。 At this time, if the MN2 transmits a data packet to the MN1, then to step 1-3-2, since the care-of address of the MN1 exists in the binding update list of the MN2 itself, the MN2 selects the direct routing method to directly route the data packet to the MN1.
当 MN2的转交地址发生变化后, 到步骤 1-4、 MN2检索其自身绑定缓 存中存储的信息, 确定所有向其注册转交地址的移动节点, 并将携带有 通信节点地址更新选项的绑定刷新请求发送至各移动节点, 绑定刷新请 求中承载有 MN2的转交地址的变化信息。 其中, 绑定刷新请求消息的源 地址是 MN2的转交地址变化后的新地址, 目的地址是 MN1的地址; 通信
节点地址更新选项中携带的是 MN2的转交地址变化前的旧地址。 After the care-of address of MN2 changes, to steps 1-4, MN2 retrieves the information stored in its own binding cache, determines all mobile nodes to which the care-of address is registered, and carries the binding with the communication node address update option. The refresh request is sent to each mobile node, and the binding update request carries the change information of the care-of address of the MN2. The source address of the binding refresh request message is a new address after the change of the care-of address of the MN2, and the destination address is the address of the MN1; The node address update option carries the old address before the change of the care-of address of MN2.
到步骤 1-5、 MN1接收到 MN2传输来的绑定刷新请求消息后, 根据绑 定刷新请求消息中承载的 MN2的旧地址信息和新地址信息, 更新其自身 存储的绑定更新列表。 绑定更新列表的更新详细过程如前面所述, 在此 不再赘述。 After receiving the binding refresh request message sent by the MN2, the MN1 updates the binding update list stored by itself according to the old address information and the new address information of the MN2 carried in the binding refresh request message. The update detailed process of the binding update list is as described above, and will not be described here.
到步驟 1 -6、 MN1将其需要发送的数据包根据 MN2的转交地址通过路 由优化方式传输至 MN2; MN2将其需要发送的数据包根据 MN1的转交地 址通过路由优化方式传输至 MN1。 To step 1 -6, MN1 transmits the data packet that needs to be transmitted to the MN2 according to the care-of address of MN2 by way of route optimization; MN2 transmits the data packet that needs to be transmitted to MN1 according to the handover address of MN1 through route optimization.
图 3为本发明在快速转交移动 IPv6或分层 IPv6中移动节点之间消息交 互流程图: FIG. 3 is a flow chart of message interaction between mobile nodes in a fast handover mobile IPv6 or hierarchical IPv6 according to the present invention:
设定两个需要通信的移动节点分别为 MN1和 MN2。 Set two mobile nodes that need to communicate as MN1 and MN2.
在步骤 2-1、 当 MN1的转交地址发生变化后, MN1向其家乡代理注册 其转交地址, 并向 MN2发送绑定更新消息, 以向 MN2注册其转交地址。 In step 2-1, after the care-of address of MN1 changes, MN1 registers its care-of address with its home agent and sends a binding update message to MN2 to register its care-of address with MN2.
到步骤 2- 2、 MN2接收到 MN1传输来的绑定更新消息后, 将自己作为 移动的通信节点建立其与 MN1的绑定关系。 Go to step 2-2. After receiving the binding update message transmitted by MN1, MN2 establishes its binding relationship with MN1 as the mobile communication node.
此时, 如果 MN1向 MN2发送数据包, 则到步骤 2-3-1、 由于 MN1自身 的绑定更新列表中存在 MN2家乡地址的信息入口, 所以, MN1选择直接 路由方式将数据包路由至 MN2的家乡地址, 然后, 由 MN2的家乡代理中 转至 MN2。 At this time, if the MN1 sends a data packet to the MN2, then to step 2-3-1, since the information entry of the MN2 home address exists in the binding update list of the MN1 itself, the MN1 selects the direct routing mode to route the data packet to the MN2. The home address, then, is transferred from MN2's home agent to MN2.
此时, 如果 MN2向 MN1发送数据包, 则到步骤 2-3-2、 由于 MN2自身 的绑定更新列表中存在 MN1的转交地址, 所以, MN2选择直接路由方式 将数据包直接路由至 MN1。 At this time, if the MN2 transmits a data packet to the MN1, then to step 2-3-2, since the care-of address of the MN1 exists in the binding update list of the MN2 itself, the MN2 selects the direct routing method to directly route the data packet to the MN1.
在 MN2的转交地址发生变化前, MN2产生一个预期的新地址, 到步 骤 2-4、 MN2检索其自身绑定緩存中存储的信息, 确定所有向其注册转交 地址的移动节点, 并将携带有通信节点地址更新选项的绑定刷新请求发 送至各移动节点, 绑定刷新请求中承载有 MN2的转交地址的变化信息。 其中, 绑定刷新请求消息的源地址是 MN2的当前地址, 目的地址是 MN1 的地址; 通信节点地址更新选项中携带的是 MN2预期的新地址。 Before the care-of address of MN2 changes, MN2 generates an expected new address. In steps 2-4, MN2 retrieves the information stored in its own binding cache, determines all mobile nodes to which the care-of address is registered, and carries The binding refresh request of the communication node address update option is sent to each mobile node, and the change information of the care-of address of the MN2 is carried in the binding refresh request. The source address of the binding refresh request message is the current address of the MN2, and the destination address is the address of the MN1; the communication node address update option carries the new address expected by the MN2.
到步骤 2-5、 MN1接收到 MN2传输来的绑定刷新请求消息后, 根据绑 定刷新请求消息中承载的 MN2的旧地址信息和新地址信息, 更新其自身 存储的绑定更新列表。 绑定更新列表的更新详细过程如前面所述, 在此
不再赘述。 After receiving the binding refresh request message sent by the MN2, the MN1 updates its own stored binding update list according to the old address information and the new address information of the MN2 carried in the binding refresh request message. The update detailed process of the binding update list is as described above, here No longer.
到步骤 2- 6、 MN1将其需要发送的数据包根据 MN2的转交地址通过路 由优化方式传输至 MN2; MN2将其需要发送的数据包根据 MN1的转交地 址通过路由优化方式传输至 MN1。 To step 2-6, MN1 transmits the data packet it needs to transmit to the MN2 according to the care-of address of MN2 by way of route optimization; MN2 transmits the data packet it needs to transmit to MN1 according to the care-of address of MN1 through route optimization.
通过上述描述可以看出, 作为移动的通信节点的 MN2能够在不需要 向其家乡代理注册转交地址信息的情况下, 与移动节点 MN1直接进行通 信, 优化了通信过程, 减少了时延丢包的可能性。 As can be seen from the above description, the MN2 as a mobile communication node can directly communicate with the mobile node MN1 without registering the care-of address information to its home agent, optimizing the communication process and reducing the delay packet loss. possibility.
参照图 4, 图 4示出了本发明移动节点的的原理框图: ] Referring to Figure 4, there is shown a block diagram of the mobile node of the present invention:
本发明提供的移动节点 SO包括: 存储模块 Sl、转交地址信息发送模 块 S2、 数据包传输模块 S3。 The mobile node SO provided by the present invention includes: a storage module Sl, a care-of address information transmitting module S2, and a data packet transmission module S3.
存储模块 S1主要用于存储绑定更新列表及节点定义信息, 存储模块 S1在接收到对端移动节点传输来的绑定更新请求时, 更新其存储的绑定 更新列表, 并将所述节点定义信息存储为其所在的移动节点为移动的通 信节点的信息。 The storage module S1 is mainly used to store the binding update list and the node definition information, and the storage module S1 updates the stored binding update list when receiving the binding update request transmitted by the opposite mobile node, and defines the node. Information is stored as information about the mobile node where the mobile node is mobile.
转交地址信息发送模块主要用于当其所在的移动节点的转交地址处 于变化状态时, 将转交地址的变化信息发送至向其注册转交地址的各移 动节点。 The care-of address information sending module is mainly used to send the change information of the care-of address to each mobile node to which the care-of address is registered when the care-of address of the mobile node where the mobile node is located is in a changed state.
数据包传输模块 S3主要用于根据存储模块中存储的绑定更新列表确 定对端移动节点的转交地址, 并才 据对端移动节点的转交地址发送数据 包。 The data packet transmission module S3 is mainly configured to determine a care-of address of the opposite mobile node according to the binding update list stored in the storage module, and send the data packet according to the care-of address of the opposite mobile node.
由于移动节点在相互通信中角色的不同,当其转交地址处于变化状态 时, 就需要不同的处理操作。 比如, 某移动节点 A在与移动节点 B的通信 中是^ L为移动节点, 而在与移动节点 C的通信中可能就^:为移动的通信节 点。 因此, 本发明通过存储模块 S1中存储的节点定义信息来确定其在通 信过程中的角色, 而该节点定义信息是根据所述移动节点是否收到了对 端移动节点的绑定更新请求来确定的。 Due to the different roles of mobile nodes in mutual communication, different processing operations are required when their care-of addresses are in a changing state. For example, a mobile node A is a mobile node in communication with the mobile node B, and may be a mobile communication node in communication with the mobile node C. Therefore, the present invention determines its role in the communication process by the node definition information stored in the storage module S1, and the node definition information is determined according to whether the mobile node receives the binding update request of the opposite mobile node. .
为了使转交地址信息发送模块 S2在其所在的移动节点处于不同角色 时将其转交地址变化信息通知到所有与其相关的其他移动节点, 还可以在 存储模块 S 1和转交地址信息发送模块 S2之间设置节点定义信息获取模块 S4, 以在其所在的移动节点的转交地址处于变化状态时, 获取存储模块 S1中存储的节点定义信息, 并将其传送给转交地址信息发送模块 S2, 从
而使转交地址信息发送模块 S2根据该信息确定其所在的移动节点在本次 通信中的角色, 并在所述移动节点的转交地址处理变化状态时进行相应 的处理, 具体如下: In order for the care-of address information transmitting module S2 to notify its all-in-one mobile node of its care-of address change information when its mobile node is in a different role, it may also be between the storage module S1 and the care-of address information transmitting module S2. The node definition information obtaining module S4 is configured to acquire the node definition information stored in the storage module S1 when the care-of address of the mobile node where the mobile node is located is changed, and transmit the node definition information to the care-of address information sending module S2. And the care-of address information transmitting module S2 determines the role of the mobile node in which the mobile node is located in the current communication according to the information, and performs corresponding processing when the mobile node's care-of address processing changes state, as follows:
当移动节点的转交地址处于变化状态、 且节点定义信息获取模块 S4 获取的节点定义信息为移动节点为移动的通信节点的信息时, 转交地址 信息发送模块 S2将转交地址的变化信息发送至向其注册转交地址的各移 动节点; 转交地址信息发送模块 S2可根据存储模块中存储的绑定更新列 表确定向其注册转交地址的各移动节点, 发送转交地址变化信息模块可 通过绑定刷新消息将其转交地址的变化信息传输至各移动节点。 具体如 上述方法中的描述。 When the care-of address of the mobile node is in a changed state, and the node definition information acquired by the node definition information acquiring module S4 is information of the mobile node that the mobile node is moving, the care-of address information transmitting module S2 sends the change information of the care-of address to the Registering the mobile node of the care-of address; the care-of address information sending module S2 may determine each mobile node to which the care-of address is registered according to the binding update list stored in the storage module, and the send care-of address change information module may The change information of the care-of address is transmitted to each mobile node. Specifically, it is as described in the above method.
当移动节点的转交地址处于变化状态、 且节点定义信息获取模块 S4 获取的节点定义信息不是移动节点为移动的通信节点的信息时, 转交地 址信息发送模块 S2将转交地址的变化信息发送至需要与其通信的对端移 动节点。 When the care-of address of the mobile node is in a changed state, and the node definition information acquired by the node definition information acquisition module S4 is not the information of the mobile node that the mobile node is moving, the care-of address information transmitting module S2 sends the change information of the care-of address to the The peer mobile node of the communication.
上面所述的移动节点的转交地址处于变化状态在移动 IPv6中表示已 发生变化, 在快速转交移动 IPv6或分层移动 IPv6中表示预期发生变化。 The change of the care-of address of the mobile node described above indicates that it has changed in Mobile IPv6, indicating that the change is expected in Fast Handover Mobile IPv6 or Layered Mobile IPv6.
虽然通过实施例描绘了本发明, 本领域普通技术人员知道, 本发明 有许多变形和变化而不脱离本发明的精神, 本发明的申请文件的权利要 求包括这些变形和变化。
While the invention has been described by the embodiments of the invention, it will be understood that
Claims
1、 一种移动节点之间的通信方法, 其特征在于, 包括: A communication method between mobile nodes, comprising:
a、 两个需要通信的移动节点在其各自的转交地址处于变化状态时, 相互传输转交地址的变化信息; a. Two mobile nodes that need to communicate transmit mutual change information of the care-of address when their respective care-of addresses are in a changed state;
b、 所述移动节点之间通过其各自接收的转交地址的变化信息进行数 据包传输。 b. The mobile node performs data packet transmission by changing information of its respective received care-of address.
2、如权利要求 1所述的一种移动节点之间的通信方法,其特征在于, 所述步驟 a具体包括: The method of communicating between mobile nodes according to claim 1, wherein the step a specifically includes:
在两个需要通信的移动节点中,转交地址先处于变化状态的移动节点 在其转交地址处于变化状态时, 向对端移动节点注册转交地址。 In two mobile nodes that need to communicate, the mobile node whose care-of address is in the first change state registers the care-of address with the opposite mobile node when its care-of address is in a changed state.
3、如权利要求 2所述的一种移动节点之间的通信方法,其特征在于, 所述方法进一步包括: The method for communicating between mobile nodes according to claim 2, wherein the method further comprises:
将接受移动节点注册转交地址的移动节点作为移动的通信节点。 The mobile node that accepts the mobile node registration care-of address is used as the mobile communication node.
4、如权利要求 3所述的一种移动节点之间的通信方法,其特征在于, 所述步骤 a进一步包括: The method of communicating between mobile nodes according to claim 3, wherein the step a further comprises:
移动的通信节点在其转交地址处于变化状态时,根据其存储的绑定更 新列表中的绑定信息确定向其注册转交地址的各移动节点; The mobile communication node determines, when the care-of address thereof is in a changed state, the mobile nodes to which the care-of address is registered according to the binding information in the stored binding update list;
将其转交地址的变化信息传输至所述各移动节点。 The change information of its care-of address is transmitted to each of the mobile nodes.
5、如权利要求 4所述的一种移动节点之间的通信方法,其特征在于, 移动的通信节点将其转交地址的变化信息通过绑定刷新请求消息传输至 所述移动节点。 The communication method between mobile nodes according to claim 4, wherein the mobile communication node transmits the change information of its care-of address to the mobile node through a binding refresh request message.
6、如权利要求 5所述的一种移动节点之间的通信方法,其特征在于, 所述方法进一步包括: The method for communicating between mobile nodes according to claim 5, wherein the method further comprises:
在所述绑定刷新请求消息中设置通信节点地址更新选项。 A communication node address update option is set in the binding refresh request message.
7、 如权利要求 6所述的移动节点之间的通信方法, 其特征在于, 移动的通信节点将其转交地址的变化信息承载于携带有通信节点地 址更新选项的绑定刷新请求消息中传输至移动节点。 7. The communication method between mobile nodes according to claim 6, wherein the mobile communication node transmits the change information of its care-of address to the binding refresh request message carrying the communication node address update option to Mobile node.
8、如权利要求 7所述的一种移动节点之间的通信方法,其特征在于: 所述变化状态为: 已发生变化,所述移动的通信节点的转交地址的变
化信息包括: 转交地址变化前的地址信息和转交地址变化后的地址信息。A communication method between mobile nodes according to claim 7, wherein: said change state is: a change has occurred, and a change of a care-of address of said mobile communication node The information includes: the address information before the change of the care-of address and the address information after the change of the care-of address.
9、如权利要求 8所述的一种移动节点之间的通信方法,其特征在于: 所述绑定刷新请求消息的源地址为:移动的通信节点的转交地址变化 后的地址信息, 目的地址为: 移动节点的地址信息, 所述通信节点地址 更新选项中承载移动的通信节点的转交地址变化前的地址信息。 The method for communicating between mobile nodes according to claim 8, wherein: the source address of the binding refresh request message is: address information after the handover address of the mobile communication node is changed, and the destination address And being: the address information of the mobile node, where the communication node address update option carries the address information before the change of the care-of address of the mobile communication node.
10、如权利要求 7所述的一种移动节点之间的通信方法,其特征在于: 所述变化状态为:预期发生变化,所述移动的通信节点的转交地址的 变化信息包括: 通信节点的当前地址信息和通信节点的预期转交地址信 11、 如权利要求 10所述的一种移动节点之间的通信方法, 其特征在 于: The communication method between the mobile nodes according to claim 7, wherein: the change state is: an expected change, and the change information of the care-of address of the mobile communication node includes: The current address information and the expected care-of address information of the communication node. 11. A communication method between mobile nodes according to claim 10, characterized in that:
所述绑定刷新请求消息的源地址为: 移动的通信节点的当前地址, 目 的地址为: 移动节点的地址信息, 所述通信节点地址更新选项中承载移 动的通信节点的预期转交地址。 The source address of the binding refresh request message is: the current address of the mobile communication node, the destination address is: address information of the mobile node, and the communication node address update option carries the expected care-of address of the mobile communication node.
12、如权利要求 1所述的一种移动节点之间的通信方法,其特征在于, 所述步骤 b具体包括: The method for communicating between the mobile nodes according to claim 1, wherein the step b specifically includes:
移动的通信节点与移动节点分别根据其接收的转交地址的变化信息 更新各自的绑定更新列表; The mobile communication node and the mobile node respectively update the respective binding update list according to the change information of the care-of address received by the mobile node;
移动的通信节点与移动节点分别根据其各自的绑定更新列表中的转 交地址进行数据包传输。 The mobile communication node and the mobile node respectively perform packet transmission according to the care-of address in their respective binding update list.
13、 如权利要求 1至 12中任一项权利要求所述的一种移动节点之间 的通信方法, 其特征在于, 所述移动节点为: 移动 IPv6中的移动节点、 . 或快速转交移动 IPv6中的移动节点、 或分层移动 IPv6中的移动节点。 The communication method between mobile nodes according to any one of claims 1 to 12, wherein the mobile node is: a mobile node in mobile IPv6, or a fast handover mobile IPv6 The mobile node in the mobile node, or the mobile node in the hierarchical mobile IPv6.
14、 一种移动节点, 其特征在于, 包括: 14. A mobile node, comprising:
存储模块: 用于存储绑定更新列表及节点定义信息,并在所述移动节 点接收到对端移动节点传输来的绑定更新请求时, 更新其存储的绑定更 新列表; a storage module: configured to store a binding update list and node definition information, and update the stored binding update list when the mobile node receives the binding update request transmitted by the opposite mobile node;
转交地址信息发送模块: 用于在其转交地址处于变化状态时, 向对端 移动节点传输转交地址的变化信息;
数据包传输模块:用于根据存储模块中存储的绑定更新列表向对端移 动节点发送数据包。 The care-of address information sending module is configured to: when the care-of address is in a changed state, transmit the change information of the care-of address to the opposite mobile node; The data packet transmission module is configured to send a data packet to the opposite mobile node according to the binding update list stored in the storage module.
15、 如权利要求 14所述的一种移动节点, 其特征在于, 15. A mobile node according to claim 14 wherein:
当所述移动节点接收到对端移动节点传输来的绑定更新请求时,所述 存储模块将所述节点定义信息存储为其所在的移动节点为移动的通信节 点。 When the mobile node receives the binding update request transmitted by the opposite mobile node, the storage module stores the node definition information as a mobile communication node where the mobile node is located.
16、如权利要求 15所述的一种移动节点, 其特征在于, 所述移动节点 进一步包括: The mobile node according to claim 15, wherein the mobile node further comprises:
节点定义信息获取模块 ,分别与所述存储模块和所述转交地址信息发 送模块相连, 用于在其所在的移动节点的转交地址处于变化状态时, 获 取所述存储模块中存储的节点定义信息, 并将其传送给所述转交地址信 息发送模块。 The node definition information acquiring module is respectively connected to the storage module and the care-of address information sending module, and is configured to acquire node definition information stored in the storage module when the care-of address of the mobile node where the mobile node is located is in a changed state, And transmitting it to the care-of address information sending module.
17、 如权利要求 16所述的一种移动节点, 其特征在于, 17. A mobile node according to claim 16 wherein:
当所述移动节点的转交地址处于变化状态、且所述节点定义信息获取 模块获取的节点定义信息为所述移动节点为移动的通信节点的信息时, 所述转交地址信息发送模块将转交地址的变化信息发送至向其注册转交 地址的各移动节点; When the care-of address of the mobile node is in a changed state, and the node definition information acquired by the node definition information acquiring module is information that the mobile node is a mobile communication node, the care-of address information sending module will transfer the address The change information is sent to each mobile node to which the care-of address is registered;
当所述移动节点的转交地址处于变化状态、且所述节点定义信息获取 模块获取的节点定义信息不是所述移动节点为移动的通信节点的信息 时, 所述转交地址信息发送模块将转交地址的变化信息发送至需要与其 通信的对端移动节点。
When the care-of address of the mobile node is in a changing state, and the node definition information acquired by the node definition information acquiring module is not the information of the mobile node that is the mobile node, the care-of address information sending module will transfer the address The change information is sent to the peer mobile node that needs to communicate with it.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510108120.4 | 2005-09-29 | ||
CNA2005101081204A CN1942003A (en) | 2005-09-29 | 2005-09-29 | Telecommunication between mobile nodes and mobile nodes |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007036098A1 true WO2007036098A1 (en) | 2007-04-05 |
Family
ID=37899356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2006/001037 WO2007036098A1 (en) | 2005-09-29 | 2006-05-19 | A communication method between mobile nodes and a mobile node |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN1942003A (en) |
WO (1) | WO2007036098A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355498B (en) * | 2008-08-01 | 2011-09-21 | 中国联合网络通信集团有限公司 | Method and system for pre-configuring forwarding address base on neighbor picture |
CN101873572B (en) * | 2009-04-27 | 2012-08-29 | 中国移动通信集团公司 | Data transmission method, system and relevant network equipment based on PMIPv6 |
US20100296420A1 (en) * | 2009-05-22 | 2010-11-25 | Telefonaktiebolaget L M Ericsson (Publ) | Method and nodes for revoking a binding in a mobile ip network |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1430844A (en) * | 2000-05-24 | 2003-07-16 | 摩托罗拉公司 | Communication system and method therefor |
CN1484407A (en) * | 2002-08-16 | 2004-03-24 | ���ǵ�����ʽ���� | Optimized packet routing method |
-
2005
- 2005-09-29 CN CNA2005101081204A patent/CN1942003A/en active Pending
-
2006
- 2006-05-19 WO PCT/CN2006/001037 patent/WO2007036098A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1430844A (en) * | 2000-05-24 | 2003-07-16 | 摩托罗拉公司 | Communication system and method therefor |
CN1484407A (en) * | 2002-08-16 | 2004-03-24 | ���ǵ�����ʽ���� | Optimized packet routing method |
Non-Patent Citations (2)
Title |
---|
LIU LEI, ZHANG YOUGEN: "Mobile IP-v6 Technique", CHINA DATA COMMUNICATIONS, October 2002 (2002-10-01), pages 67 - 73, XP008079582 * |
YANG XIAOFEI, QIN ZHONGLAN: "how to inform other node the COA", THE NEW MOBILE IPV6 RELATED TECHNICAL APPLICATIONS. DATA COMMUNICATIONS, no. 3, 2002, pages 39 * |
Also Published As
Publication number | Publication date |
---|---|
CN1942003A (en) | 2007-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3633430B2 (en) | COMMUNICATION METHOD, COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND RECORDING MEDIUM | |
JP3526032B2 (en) | Mobile network and IP packet transfer method | |
KR101448099B1 (en) | Method for supporting mobility in a low power wireless network based on an Internet protocol and system therefor | |
US9787497B2 (en) | Network apparatus and method using link layer routing | |
KR100879985B1 (en) | Method of Lossless Mobile IP Packet Delivery and System thereof | |
JP2004274733A (en) | Mobile router apparatus, mobile network system, and mobility management method for mobile router apparatus | |
US20080112414A1 (en) | Mobility management system and method for mobile internet protocol network | |
KR20150074220A (en) | System and protocols for inter-mobility access gateway tunneling for fast handoff transition | |
WO2010000174A1 (en) | Registration, communication and handover methods for mobile node and the devices thereof | |
WO2008000133A1 (en) | A method, system and apparatus for realizing fast handover | |
WO2007131404A1 (en) | A method and device for realizing fast handover | |
US20090180437A1 (en) | Communication apparatus and handover method | |
WO2007036098A1 (en) | A communication method between mobile nodes and a mobile node | |
JP2002271368A (en) | Mobile terminal control system in mobile network | |
WO2006103805A1 (en) | Mobile communication system, edge router, mobile management method used in them, program and recording medium | |
JP3573098B2 (en) | Mobile terminal management system, access router and mobile terminal management method in mobile network | |
JP4175855B2 (en) | Mobile network and communication management method thereof | |
JP4652608B2 (en) | Mobile IP data transfer method | |
JP3846625B2 (en) | Data transfer method using mobile IP | |
WO2007022697A1 (en) | A METHOD FOR COMMUNICATING BETWEEN THE IPv6 COMMUNICATION PARTNER AND THE MOBILE IPv6 NODE AS WELL AS THE COMMUNICATION PARTNER AGENT GATEWAY | |
KR100597432B1 (en) | Route Optimization Method for Mobile Nodes in IPv6 Mobile Network on the basis of Neighbor Discovery Proxy | |
JPWO2007138652A1 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND HANDOVER METHOD | |
KR101014283B1 (en) | A network node, a communication network and a method of operation therefor | |
JP2007281721A (en) | Mobile communication control method, and mobile communication system and router | |
JP3850339B2 (en) | Mobile QoS communication system |
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: 06741925 Country of ref document: EP Kind code of ref document: A1 |