Embodiment
Fig. 2 shows the packet routed path schematic diagram according to a specific embodiment of the present invention.Wherein, mobile node 20 belongs in the communication subnet of the first kind communication network that first edge router 11 had jurisdiction over, i.e. the ownership place subnet of mobile node 20; Mobile node 20 is currently located in another communication subnet of the first kind communication network that second edge router 12 had jurisdiction over, i.e. the access subnet of mobile node 20.
Here still being that example describes with the second class communication network (hereinafter to be referred as " IPv4 " territory) based on IPv4 communication protocol based on the first kind communication network (hereinafter to be referred as " IPv6 territory ") of IPv6 communication protocol.Wherein, the access subnet and the ownership place subnet of mobile node 20 all belong to the IPv6 territory, and the communication node in the second class communication network Access Network is the IPv4 node.
Concrete, when mobile node 20 moves to the access subnet in the IPv6 territory that second edge router 12 had jurisdiction over, at first need to obtain an access network address.Concrete, mobile node 20 can and obtain an access network address in conjunction with the part of its MAC Address according to the subnet information (for example this subnet address prefix) of this subnet of second edge router 12 broadcasting and (or be referred to as Care-of Address, COA, Care of Address), perhaps the Dynamic Host Configuration Protocol server in this subnet (not shown this Dynamic Host Configuration Protocol server among Fig. 2 for simplicity's sake) request obtains an access network address.
Subsequently, mobile node 20 sends a binding update messages by second edge router 12 to first edge router 11 (being the ownership place edge router), to notify first edge router 11 with the access network address of this mobile node 20.
First edge router 11 is after receiving this binding update messages, can mobile node 20 present located subnets (i.e. the IPv6 communication subnet of being had jurisdiction at second edge router 12) can be judged according to contained subnet address prefix in the current accessed zone network address of fringe node 20 correspondences in this binding update messages, temporary IP v4 address notification second edge router 12 of these mobile node 20 distribution will be then.Because mobile node 20 can identify by its access network address or belonging area network address, first edge router 11 can be with the access network address and temporary IP v4 address notification second edge router 12 of mobile node 20; Perhaps with the belonging area network address and IPv4 address notification second edge router 12 of mobile node 20.
Second edge router 12 the address of the temporary IP v4 address that obtains mobile node 20 and the access network address to or the address of temporary IP v4 address and belonging area network address to after, based on this address to controlling communicating by letter of mobile node 20 and IPv4 node.At this, need to prove, except aforementioned temporary IP v4 address and the access network address or temporary IP v4 address and belonging area network address by first edge router, 11 notice mobile nodes 20, second edge router 12 also can directly obtain its temporary IP v4 address and the access network address or temporary IP v4 address and belonging area network address by mobile node 20.
The IPv4 node of mobile node 20 in the IPv6 territory in the IPv4 territory sends in the situation of packet, after second edge router 12 receives and mails to the packet of IPv4 node from mobile node 20, can be based on the address of aforementioned acquisition to (being temporary IP v4 address and the access network address or the temporary IP v4 address and the belonging area network address of mobile node 20), this packet is carried out protocol conversion process from IPv4 communication protocol to IPv6 communication protocol; Subsequently, the packet after the protocol conversion is directly mail to the IPv4 territory.Then, this packet is routed to the IPv4 node in the IPv4 territory, and particularly, the routing procedure of packet in the IPv4 territory is the common practise that those skilled in the art should know, and the present invention repeats no more here.
Need to prove that the protocol conversion process from IPv4 (or IPv6) communication protocol to IPv6 (or IPv4) communication protocol is the same with protocol conversion process the prior art, mainly to IP packet header of packet conversion process that carries on an agreement.The IPv6 address of IPv4 node correspondence normally constitutes like this, (32 bit) preceding prefix that adds 96 bits constitutes corresponding IPv6 address (128 bit) in the IPv4 address, the prefix of this 96 bit is set by the network manager usually, has nothing in common with each other with the address prefix of each communication subnet in the IPv6 territory.So when second edge router 12 carried on an agreement conversion process at the packet that mobile node 20 is mail to the IPv4 node, the prefix of only removing preceding 96 bits in the destination address (being the IPv6 address of IPv4 node correspondence) of needs with this packet correspondence can obtain the IPv4 address of this IPv4 node.
The mobile node 20 of IPv4 node in the IPv4 territory in the IPv6 territory sends in the situation of packet, second edge router 12 can receive from other edge routers (for example, first edge router 11) transmit from being transmitted to mobile node 20 behind the packet of IPv4 node again; Or directly receive from the packet in IPv4 territory and be transmitted to mobile node 20.
Concrete, if second edge router 12 does not have the IPv4 address information of described mobile node 20 correspondences in being broadcast to the route advertisement message in IPv4 territory, then the IPv4 node packet that mails to mobile node 20 still is routed to first edge router 11.First edge router 11 can carry on an agreement after the conversion process to this packet, and then sends to second edge router 12, sends to mobile node 20 by the packet of second edge router 12 after with this protocol conversion process.Under this kind situation, the forward-path of this packet is same as the prior art.Perhaps first edge router 11 is receiving after the IPv4 node mails to the packet of mobile node 20, also can directly this packet be sent to second edge router 12, being carried on an agreement by 12 pairs of these packets of second edge router sends to mobile node 20 after the conversion process again.
And if second edge router 12 comprises the IPv4 address information of described mobile node 20 correspondences in being broadcast to the route advertisement message in IPv4 territory, promptly this route advertisement message is used to indicate this edge router can receive and transmit information from the second communication network to described mobile node 20, and when route advertisement message is established second edge router 12 for the edge router of the preferential packet that receives the temporary IP v4 address that is sent to this mobile node; Perhaps, the ownership place router of mobile node 20, promptly first edge router 11 is when knowing that this mobile node moves to other communication subnet, for example, when receiving the binding update messages from mobile node 20, the route advertisement message that first edge router 11 is broadcast to the IPv4 territory no longer comprises the temporary IP v4 address of this mobile node, then the IPv4 node packet that mails to mobile node directly is routed the access edge router to this mobile node, i.e. second edge router 12 from the IPv4 territory.Second edge router 12 is after receiving this packet, based on the IPv4 temporary address of these mobile node 20 correspondences, to the protocol conversion process of this packet execution from IPv4 communication protocol to IPv6 communication protocol; Then, the packet after the protocol conversion is sent to the IPv6 node.By packet forward-path shown in Figure 2 as can be seen, when mobile node 20 moves to the access subnet, can be via the access edge router, need not via the ownership place edge router with the IPv4 node communication, thereby alleviated the load of access edge router, and when the access edge router broke down, mobile node 20 can not ended with communicating by letter of IPv4 node yet.
More than from the angle of a mobile node, the technical scheme of the communication process that is used to control the mobile node that moves to the access subnet and IPv4 node in access edge router and the ownership place edge router is described.
For the situation that has a plurality of mobile nodes in the IPv6 network, preferably, each edge router can be notified the temporary IP v4 address set of himself other edge router, and with the address of the temporary IP v4 address of its mobile node of having jurisdiction over that moves to other IPv6 communication subnet and the access network address to or the address of temporary IP v4 address and belonging area network address to notifying other edge router.When the address in the temporary IP v4 address set in certain edge router changes or the access network address of the mobile node that moves to other IPv6 communication subnet that it is had jurisdiction over when changing, also need in time to notify other edge router, with the information unanimity of the access address that keeps temporary IP v4 address set in each edge router and each mobile node that moves to the access subnet.Preferably, other edge router is notified in the temporary IP v4 address of each mobile node that is in the ownership place subnet that each edge router can also be had jurisdiction over it and the address of belonging area network address to information, so that other edge router is receiving when mailing to the packet of this each mobile node from the IPv4 territory, can be based on the address of the temporary IP v4 address of each mobile node and belonging area network address to conversion process that this packet is carried on an agreement, and transmit accordingly.
Particularly, to notify the implementation of other edge router to have to information the address of temporary IP v4 address set information and mobile node multiple for each edge router.
A kind of implementation is that the mode with anycast group realizes, each edge router adds an anycast group, each edge router in the scope of anycast group, share temporary IP v4 address set information separately and each mobile node address of being had jurisdiction over to information; Each mobile node sends to some members in this anycast group with the access network address information of its renewal, in the scope of this anycast group, share the access network address information of each mobile node (about the specific implementation of anycast group by this member then, can be with reference to RFC1546 and RFC4786, the present invention repeats no more here).
Another kind of implementation is to set up a central server (can serve as this central server by certain edge router, perhaps also can be that an other network equipment is served as this central server), each edge router can with separately temporary IP v4 address set information with and the address of each mobile node of being had jurisdiction over information is sent to this central server, send to each edge router respectively by this central server then; Each mobile node sends to this central server with the access network address information of its renewal, sends to each edge router respectively by this central server then.
Also having a kind of implementation is to utilize the route head of IPv6 packet to realize the exchange of the address of each mobile node that temporary IP v4 address set information in each edge router and each edge router are had jurisdiction over to information.For example, in Fig. 3, when first edge router 11 has just started, can send an IPv6 packet that is used to notify its temporary IP v4 address set information of managing to the 3rd edge router 13, this packet of appointment must be via second edge router 12 in IPv6 packet header.(comprise and obtain the access network address for the first time when perhaps the access network address of the mobile node of being had jurisdiction over when first edge router 11 20 changes, perhaps the access network address becomes the another one address from an address), then send IPv6 packet to the three edge routers 13 that are used to notify the access address information after this mobile node 20 changes, and the specific data bag must be via second edge router 12 in the route head of this packet.
In addition, also can set up the exchange of access network address information that an IP multicast group realizes temporary IP v4 address in each edge router and moves to the mobile node of other IPv6 communication subnet.
In a word, the mode of exchange of access network address information that realizes temporary IP v4 address set between each edge router and move to the mobile node of other IPv6 communication subnet has a variety of, and the present invention does not enumerate here one by one.
Need to prove, though only show the network topology structure schematic diagram that the IPv6 territory comprises three communication subnets among Fig. 1 to Fig. 3, those skilled in the art will be understood that and the invention is not restricted to this that technical scheme of the present invention can be applied to the situation that network topology structure comprises a plurality of IPv6 communication subnets.Particularly, between the edge router in what IPv6 communication subnets the address of the temporary IP v4 address of exchange temporary IP v4 address set information and mobile node and the access network address to or the address of temporary IP v4 address and belonging area network address to information, can decide according to concrete network design situation.For example, a Virtual network operator has an edge router to connect this communication subnet, and is connected to the IPv4 backbone network at the communication subnet that the edge of IPv4 backbone network is provided with ten IPv6 territories in each communication subnet.Edge router is responsible for the protocol conversion process to the communication data packet of IPv4 node and IPv6 node, and supports the mobility of IPv6 node.Like this, the temporary IP v4 address information of exchange temporary IP v4 address set information and mobile node between these ten edge routers.
Since each edge router exchanged mutually temporary IP v4 address set information with and the address of each mobile node of being had jurisdiction over to information, each edge router not only comprises the temporary IP v4 address information (the perhaps temporary IP v4 address information that has been used of this edge router management) of this edge router management in the route advertisement message of IPv4 territory broadcasting, also can comprise the temporary IP v4 address set information (the temporary IP v4 address information that has been used that perhaps other edge router is managed) that other edge router is managed.The IPv4 node packet that mails to the IPv6 node will be routed in the nearest edge router of IPv4 node like this.Particularly, packet routed path as shown in Figure 3, because the 3rd edge router 13 is also known the temporary IP v4 address of mobile node 20, then in the route advertisement message of IPv4 territory broadcasting, also comprise the temporary IP v4 address information of mobile node 20 at the 3rd edge router 13.Suppose to compare other edge router, the 3rd edge router 13 is nearest from the IPv4 node, then the IPv4 node packet that mails to mobile node 20 can be routed to the 3rd edge router 13, and then sends to second edge router 12 after carrying out protocol conversion process from IPv4 communication protocol to IPv6 communication protocol by 13 pairs of these packets of the 3rd edge router.The packet of second edge router 12 after with this protocol conversion process sends to mobile node.Perhaps the 3rd edge router 13 directly sends to second edge router 12 with the packet that receives, by sending to mobile node 20 again after the 12 pairs of protocol conversions of these packets execution from IPv4 communication protocol to IPv6 communication protocol of second edge router.
Need to prove, only show the routed path that the IPv4 node mails to the packet of mobile node 20 among Fig. 3, the routed path that sends the packet of IPv4 node for mobile node 20 can be the reverse path of the routed path shown in Fig. 3, also can be routed path as shown in Figure 2, decide by concrete routing policy.
Since each edge router exchanged mutually temporary IP v4 address set information with and the address of each mobile node of being had jurisdiction over to information, make the mobile node 20 and the communication path of IPv4 node can have many.When the edge router in a certain paths wherein breaks down, can select other communication path to communicate.When the overload of certain edge router, can select via the communication path of other edge router carrying out communicating by letter of mobile node 20 and IPv4 node, thus the load of balanced each edge router.Further, if the communication subnet that first edge router 11 is had jurisdiction over has a reserve link that is connected to second edge router 12, then when first edge router 11 breaks down, even mobile node 20 is currently located in the subnet that first edge router 11 had jurisdiction over, also can use reserve link to communicate with the IPv4 node via second edge router 12.
Since each edge router exchanged mutually temporary IP v4 address set information with and the address of each mobile node of being had jurisdiction over to information, make the mobile node 20 might to shorten from the switching time that a communication subnet switches to (perhaps moving to) another communication subnet.Here the implication of switching time is meant: setting up from mobile node and new communication subnet that initial link (but still keep original with original path communicate by letter) to this mobile node begins in new communication subnet can be normally and till other IPv6 node or the IPv4 node communication with new path.Particularly, as shown in Figure 3, when Radix Angelicae Sinensis belongs to communication subnet that the mobile node 20 of the communication subnet that first edge router 11 had jurisdiction over had jurisdiction over from second edge router 12 and moves to the communication subnet that the 3rd edge router 13 had jurisdiction over, the binding update messages that mobile node 20 transmissions are used to notify its new access network address is to the 3rd edge router 13, and the 3rd edge router 13 is transmitted to this binding update messages second edge router 12 and first edge router 11 more then.When this binding update messages arrives second edge router 12, mobile node 20 can be set up in such a way with the new communication path of IPv4 node: suppose that first edge router 11 is from the nearest edge router of IPv4 node, then the IPv4 node packet that mails to mobile node 20 is routed directly to first edge router 11 from the IPv4 territory; Because binding update messages this moment no show still first edge router 11, then first edge router 11 still sends to this packet second edge router 12; Second edge router 12 based on the new access network address information of mobile node 20, sends to the 3rd edge router 13 with this packet, and then sends to mobile node 20 by the 3rd edge router 13 after receiving this packet.And, when binding update messages arrives first edge router 11, could set up the new communication path of mobile node 20 and IPv4 node according to prior art.Therefore, shortened the switching time of mobile node 20.
Fig. 4 show according to a specific embodiment of the present invention in the edge router of communication network, be used for being controlled at based on the mobile node of the first kind communication network of first communication protocol with at the flow chart that communicates based on the communication node in the second class communication network of second communication agreement.Wherein, the subnet of the first kind communication network that this edge router is had jurisdiction over is a mobile node present located access subnet, and promptly this edge router is the edge router in the access subnet of mobile node, i.e. access edge router.
Below be example with network topology structure shown in Figure 2, with reference to Fig. 4 to be used in the access edge router being controlled at based on the mobile node of the first kind communication network of first communication protocol with describe in the flow process that communicates based on the communication node in the second class communication network of second communication agreement.
At first, in step S11, second edge router 12 obtains the second class network address corresponding with the second class communication network of mobile node 20 and the first kind network address corresponding with first kind communication network.Here both can obtain the second class network address corresponding with the second class communication network of this mobile node and the first kind network address corresponding with first kind communication network from the edge router the ownership place subnet of mobile node, also can be to obtain the second class network address of its second class communication network correspondence and the first kind network address corresponding with first kind communication network from this mobile node.The first kind network address comprises that this mobile node is in the belonging area network address that home subnet obtains and/or the access network address that obtains at the access subnet.
Then, in step S12, second edge router 12 is based on the second class network address and the first kind network address of mobile node 20, and control mobile node 20 communicates with communication node.
Particularly, communicating by letter between mobile node 20 and the communication node comprises two kinds of situations: situation one. mobile node 20 transmission information are to communication node; Situation two. communication node sends information to mobile node 20.
To be elaborated to these two kinds of situations below:
Situation one. mobile node 20 transmission information are to communication node
Fig. 5 shows among according to a preferred embodiment of the present invention the step S12 shown in Figure 4 second edge router, 12 control mobile nodes, 20 transmission information to the flow chart of communication node.
At first, in step S1211, the first information that mails to communication node that second edge router 12 receives from mobile node 20.
Then, in step S1212, second edge router 12 is based on the second class network address and the first kind network address of mobile node, to first protocol conversion process of first information execution from first communication protocol to the second communication agreement, to obtain the first information through first protocol conversion.
At last, in step S1213, second edge router 12 will mail to communication node through the first information of first protocol conversion.
Below be example with communication network shown in Figure 2, with reference to Fig. 5 edge router is described the process that the first information from mobile node in the first kind communication network carries out first protocol conversion process.Still being example based on the first kind communication network of IPv6 communication protocol and based on the second class communication network of IPv4 communication protocol, the communication node in this moment second class communication network is the IPv4 node, and the first information is the IP packet.
At first, those skilled in the art should understand, mobile node 20 can utilize its in the ownership place subnet of IPv6 territory the communication node (being the IPv4 node) in the belonging area network address that obtains and the IPv4 territory communicate, also can utilize its access subnet to obtain the access network address and IPv4 node communication in the IPv6 territory, perhaps utilize the belonging area network address and the access network address and IPv4 node to communicate simultaneously, promptly source address both can be the belonging area network address of mobile node 20 in the IPv6 packet that sends out of mobile node 20; It also can be the reference address network address of mobile node 20; Perhaps utilize IP tunneling of the prior art, promptly these IPv6 data are surrounded by two-layer IP packet header, the source address in one deck IP packet header, the inside is the belonging area network address of mobile node 20, destination address is the IPv6 address of IPv4 node correspondence, the source address in one deck IP packet header, outside is the access network address of mobile node 20, and destination address is the IP network address of second edge router 12.
Second edge router 12 is receiving after mobile node 20 mails to the packet of IPv4 node, utilize the temporary IP v4 address of these mobile node 20 correspondences that obtain, to the protocol conversion process of this packet execution from IPv6 communication protocol to IPv4 communication protocol, with the destination address in the packet, the IPv6 address transition that is IPv4 node correspondence is IPv4 address (promptly removes the prefix of 96 bits of this IPv6 address, then obtain the IPv4 address of this IPv4 node); And, source address is converted to the temporary IP v4 address of mobile node based on the temporary IP v4 address information that obtains mobile node, and the other parts of packet are carried out the corresponding protocol conversion process, same here prior art, the present invention repeats no more.
If this packet utilizes IP tunneling to transmit, then it has two-layer IP packet header, second edge router 12 needs one deck IP packet header, outside is removed, then the source address and the destination address in one deck IP packet header, the inside are carried out above-mentioned conversion process, and the other parts of packet are carried out the corresponding protocol conversion process.
Situation two. the communication node in the second class communication network sends information to first kind communication
Mobile node in the network
Second edge router 12 will be transmitted to mobile node 20 from second information that mails to mobile node 20 of communication node.According to the different of the routed path of second information and whether by second edge router 12 conversion process that carries on an agreement, can be divided into following several situation particularly:
I. second edge router 12 receives from communication node via other edge router
Second information, and to being transmitted to mobile node 20 after this second information and executing protocol conversion process
Fig. 6 shows and be used to control the flow chart of communication node transmission information to mobile node 20 according to a preferred embodiment of the present invention in second edge router 12 in step S12 shown in Figure 4.
At first, in step S1221, second edge router 12 receives second information that comes from communication node via other edge router transmission.
Then, in step S1222, second edge router 12 is based on the second class network address and the first kind network address of mobile node, to second protocol conversion process of second information and executing from the second communication agreement to first communication protocol, to obtain second information through second protocol conversion.
At last, in step S1223, second edge router 12 will be transmitted to mobile node 20 through second information of second protocol conversion.
II. second edge router 12 receives from communication node via other edge router
And undertaken after the protocol conversion by any edge router in other edge router
Two information, and second information after this protocol conversion is transmitted to mobile node 20
At first, second edge router 12 receives second information that mails to mobile node 20 from the communication node in the second class communication network via other edge router transmission; Then, second information after the protocol conversion is sent to mobile node 20.
If the edge router in the ownership place subnet of mobile node 20 only in other edge router, it is the second class network address that first edge router 11 shown in Fig. 2 is known these mobile node 20 correspondences, then this second information is routed to first edge router 11, then by the protocol conversion process of 11 pairs of these second information and executing of first edge router from the second class communication protocol to first kind communication protocol, and second information after the protocol conversion sent to second edge router 12, be transmitted to mobile node 20 again by second edge router 12.
If other edge router has all been known the second class network address of mobile node 20, and all to second class communication network broadcasting route advertisement message, this route advertisement message is used for indicating respectively each edge router can receive and transmit information from the second communication network to mobile node 20, then second information might be routed any in other edge router, carry out with above-mentioned ownership place edge router identical operations by this any edge router then, promptly to the protocol conversion process of this second information and executing from the second class communication protocol to first kind communication protocol, and second information after the protocol conversion sent to second edge router 12, be transmitted to mobile node 20 again by second edge router 12.
III. second edge router 12 is directly received from communication section by the second class communication network
Second information of point is to being transmitted to mobile node 20 after this second information and executing protocol conversion
At first, this situation based on prerequisite be that second edge router 12 is known the second class network address of mobile node 20, and to second class communication network broadcasting route advertisement message.Route advertisement message is used to indicate second edge router 12 can receive and transmit information from the second communication network to mobile node 20, and in route advertisement message second edge router 12 is made as the edge router that preferential reception is sent to the second class network address of these mobile node 20 correspondences; Perhaps, first edge router 11 is when knowing that this mobile node 20 moves to other communication subnet, the route advertisement message that is broadcast to the second class communication network no longer comprises the second class network address information of these mobile node 20 correspondences, and except that first edge router 11, other edge router does not comprise the information of the second class network address of these mobile node 20 correspondences yet in the route advertisement message that is broadcast to the second class communication network, then communication node second information that mails to mobile node 20 then is routed directly to second edge router 12 of this mobile node from the second class communication network.
Fig. 7 shows and be used to control communication node transmission information another flow chart to mobile node 20 under this situation in second edge router 12 in step S12 shown in Figure 4.
At first, in step S1221 ', second edge router 12 directly receives second information that comes from communication node via the second class communication network.
Then, in step S1222 ', second edge router 12 is based on the second class network address and the first kind network address of mobile node, second information carried out second protocol conversion process from the second communication agreement to first communication protocol, to obtain second information through second protocol conversion.
At last, in step S1223 ', second edge router 12 will be transmitted to mobile node 20 through second information of second protocol conversion.
Step S1222 ' and step S1223 ' are with step S1222 shown in Fig. 6 and step S1223.
More than this mobile node 20 of control process of communicating by letter with communication node in the access edge router of mobile node 20 is had been described in detail, the process that assist control mobile node 20 in the ownership place edge router of mobile node 20 is communicated by letter with communication node describes below.
Be example with network topology structure shown in Figure 2 still, mobile node 20 belongs in the communication subnet of the first kind communication network that first edge router 11 had jurisdiction over, i.e. the ownership place subnet of mobile node 20; Mobile node 20 is currently located in another communication subnet of the first kind communication network that second edge router 12 had jurisdiction over, i.e. the access subnet of mobile node 20.Describe with the process that Fig. 9 communicates by letter with communication node to assist control mobile node 20 in first edge router 11 below in conjunction with Fig. 2 and with reference to Fig. 8.
Because mobile node 20 moves in the access subnet of the first kind communication network that second edge router 12 had jurisdiction over, therefore, first edge router 11 need be notified second edge router 12 with the second class network address corresponding with the second class communication network of mobile node 20 and with the corresponding first kind network address of first kind communication network.The first kind network address comprises that this mobile node 20 is in the belonging area network address that home subnet obtains and/or the access network address that obtains at the access subnet.
When the first kind network address comprised the access network address of mobile node 20, first edge router 11 also needed to obtain the access network address of mobile node 20 when notifying second edge router 12.When the first kind network address being shown among Fig. 8 comprising the access network address of mobile node 20, first edge router 11 is notified the flow chart of second edge router 12 with the second class network address corresponding with the second class communication network of mobile node 20 and with the corresponding first kind network address of first kind communication network.
At first, in step S211, first edge router 11 obtains mobile node 20 in the access network address that the access subnet is obtained.
Then, in step S212, first edge router 11 is notified second edge router 12 with the network address and the access network address of the second class communication network of mobile node 20 correspondences.
Preferably, when mobile node 20 moves to the access subnet, first edge router 11 also can be broadcasted route advertisement message to the second class communication network, and this route advertisement message is used to notify first edge router 11 can receive and transmit information from the second class communication network to mobile node 20.
When from second information communication node, that mail to mobile node 20, when being routed to first edge router 11, the flow chart that first edge router 11 is carried out as shown in Figure 9.
At first, in step S221, first edge router 11 receives second information that comes from communication node;
Then, in step S222, first edge router 11 is forwarded to second edge router, 12, the second edge routers 12 with second information and again this second information is forwarded to mobile node 20.
Particularly, if second protocol conversion process of this second information from the second communication agreement to first communication protocol carried out by second edge router 12, then first edge router 11 directly is forwarded to second information second edge router 12 in step S222.If second protocol conversion process of this second information from the second communication agreement to first communication protocol carried out by first edge router 11, then first edge router 11 is based on the second class network address and the first kind network address of mobile node 20, second information is carried out second protocol conversion process from the second communication agreement to first communication protocol, to obtain second information through second protocol conversion; To be transmitted to second edge router 12 through second information of second protocol conversion then.
Figure 10 shows according to a specific embodiment of the present invention and is used for being controlled in the edge router of communication network based on the mobile node of the first kind communication network of first communication protocol and structured flowchart at the communication control unit that communicates based on the communication node in the second class communication network of second communication agreement, wherein, the subnet of the first kind communication network had jurisdiction over of this edge router is a mobile node present located access subnet.This communication control unit 100 comprises first deriving means 101, control device 102 and first broadcaster 103.Wherein control device 102 specifically comprises first receiving device 1021, first conversion equipment 1022, first dispensing device 1023 and first retransmission unit 1024 again.Wherein, first retransmission unit 1024 specifically comprises second receiving system 10241, second conversion equipment 10242 and second dispensing device 10243 again.Here for brevity, figure 11 illustrates the optional sub-device in many preferred embodiments, those skilled in the art are according to the application's instruction, will be understood that wherein only first deriving means 101 and control device 102 are to implement the necessary device of the present invention, other sub-devices are option means.
Here be example with network topology structure shown in Figure 2 still, mobile node 20 belongs in the communication subnet of the first kind communication network that first edge router 11 had jurisdiction over, i.e. the ownership place subnet of mobile node 20; Mobile node 20 is currently located in another communication subnet of the first kind communication network that second edge router 12 had jurisdiction over, i.e. the access subnet of mobile node 20.At this moment, communication control unit 100 is arranged in second edge router 12, describes below in conjunction with the Fig. 2 and the process of the communication control unit in second edge router 12 100 control mobile nodes 20 being communicated by letter with communication node with reference to Figure 10.
At first, first deriving means 101 obtains the second class network address corresponding with the second class communication network of mobile node 20 and the first kind network address corresponding with first kind communication network.Here both can be from the edge router the ownership place subnet of mobile node 20, being that edge router 11 obtains the second class network address corresponding with the second class communication network of this mobile node and the first kind network address corresponding with first kind communication network, also can be to obtain the second class network address of its second class communication network correspondence and the first kind network address corresponding with first kind communication network from this mobile node 20.The first kind network address comprises that this mobile node is in the belonging area network address that home subnet obtains and/or the access network address that obtains at the access subnet.
Then, control device 102 is based on the second class network address and the first kind network address of mobile node 20, and control mobile node 20 communicates with communication node.
Particularly, mobile node 20 process of communicating by letter with communication node comprises two kinds of situations: situation one. mobile node sends information to communication node 20; Situation two. communication node sends information to mobile node 20.
To be elaborated to these two kinds of situations below:
Situation one. mobile node 20 transmission information are to communication node
At first, first receiving device 1021 receptions are from the first information that mails to communication node of mobile node 20.
Then, first conversion equipment 1022 is based on the second class network address and the first kind network address of mobile node 20, to first protocol conversion process of first information execution, to obtain the first information through first protocol conversion from first communication protocol to the second communication agreement.
At last, first dispensing device 1023 will mail to communication node through the first information of first protocol conversion.
Situation two. communication node sends information to mobile node 20
First retransmission unit 1024 will be transmitted to mobile node 20 from second information that mails to mobile node 20 of communication node.According to the different of the routed path of second information and whether by the access edge router conversion process that carries on an agreement, can be divided into following several situation particularly:
I. communication control unit 100 receives from communication node via other edge router
Second information, and to being transmitted to mobile node 20 after this second information and executing protocol conversion process
At first, second receiving system 10241 receives second information that comes from communication node via other edge router transmission.
Then, second conversion equipment 10242 is based on the second class network address and the first kind network address of mobile node 20, to second protocol conversion process of second information and executing, to obtain second information through second protocol conversion from the second communication agreement to first communication protocol.
At last, second dispensing device 10243 will be transmitted to mobile node 20 through second information of second protocol conversion.
II. communication control unit 100 receives from communication node via other edge router
And undertaken after the protocol conversion by any edge router in other edge router
Two information, and second information after this protocol conversion is transmitted to mobile node 20
At first, second receiving system 10241 receives second information that mails to mobile node 20 from the communication node in the second class communication network via other edge router transmission; Then, second dispensing device 10243 is sent to mobile node 20 with second information after the protocol conversion.
If the edge router in the ownership place subnet of mobile node 20 only in other edge router, it is the second class network address that first edge router 11 shown in Fig. 2 is known this mobile node correspondence, then this second information is routed to first edge router 11, send to communication control unit 100 then by the protocol conversion process of 11 pairs of these second information and executing of first edge router, and with second information after the protocol conversion from the second class communication protocol to first kind communication protocol.Second receiving system 10241 receives second information after this protocol conversion, and sends to mobile node by second dispensing device 10243.
If other edge router has all been known the second class network address of mobile node, and all to second class communication network broadcasting route advertisement message, route advertisement message is used for indicating respectively each edge router can receive and transmit information from the second communication network to mobile node, then second information might be routed any in other edge router, carry out with above-mentioned ownership place edge router identical operations by this any edge router then, send to the access edge router promptly to the protocol conversion process of this second information and executing, and with second information after the protocol conversion from the second class communication protocol to first kind communication protocol.Second receiving system 10241 receives second information after this protocol conversion, and sends to mobile node by second dispensing device 10243.
III. communication control unit 100 directly receives from communication section from the second class communication network
Second information of point is to being transmitted to mobile node 20 after this second information and executing protocol conversion
At first, this situation based on prerequisite be, first deriving means 101 is known the second class network address of mobile node, and by first broadcaster 103 to second class communication network broadcasting route advertisement message.Route advertisement message is used to indicate second edge router 12 can receive and transmit information from the second communication network to mobile node, and establishes second edge router 12 in route advertisement message and be the preferential edge router that receives the second class network address that is sent to this mobile node correspondence; Perhaps, first edge router 11 is when knowing that this mobile node 20 moves to other communication subnet, the route advertisement message that is broadcast to the second class communication network no longer comprises the second class network address information of these mobile node 20 correspondences, and except that first edge router 11, other edge router does not comprise the information of the second class network address of these mobile node 20 correspondences yet in the route advertisement message that is broadcast to the second class communication network, then communication node second information that mails to mobile node 20 then is routed directly to the access edge router of this mobile node 20 from the second class communication network.
At first, second receiving system 10241 receives second information that comes from communication node.
Then, second conversion equipment 10242 is based on the second class network address and the first kind network address of mobile node 20, second information is carried out second protocol conversion process from the second communication agreement to first communication protocol, to obtain second information through second protocol conversion.
At last, second dispensing device 10243 will be transmitted to mobile node 20 through second information of second protocol conversion.
More than process that these mobile nodes of communication control unit 100 control are communicated by letter with communication node have been described in detail, the process that sub controlling unit 200 assist control mobile nodes are communicated by letter with communication node describes below.
Figure 11 shows according to a specific embodiment of the present invention and is used for assist control based on the mobile node of the first kind communication network of first communication protocol and structured flowchart at the sub controlling unit that communicates based on the communication node in the second class communication network of second communication agreement in the edge router of communication network.This sub controlling unit 200 comprises second deriving means 201, notifying device 205, second broadcaster 203, the 3rd receiving system 204 and second retransmission unit 205.Wherein, second retransmission unit 205 specifically comprises the 3rd conversion equipment 2052 and the 3rd dispensing device 2051 again.Here for brevity, figure 12 illustrates the optional sub-device in many preferred embodiments, those skilled in the art will be understood that wherein that according to the application's instruction only notifying device 202 is to implement the necessary device of the present invention, and other sub-devices are option means.
Be example with network topology structure shown in Figure 2 still, mobile node 20 belongs in the communication subnet of the first kind communication network that first edge router 11 had jurisdiction over, i.e. the ownership place subnet of mobile node 20; Mobile node 20 is currently located in another communication subnet of the first kind communication network that second edge router 12 had jurisdiction over, i.e. the access subnet of mobile node 20.This moment, sub controlling unit 200 was arranged in first edge router 11, described below in conjunction with the Fig. 2 and the process of sub controlling unit 200 assist control mobile nodes 20 in first edge router 11 being communicated by letter with communication node with reference to Figure 12.
Because mobile node 20 moves in the access subnet of the first kind communication network that second edge router 12 had jurisdiction over, therefore, notifying device 202 need be notified second edge router 12 with the second class network address corresponding with the second class communication network of mobile node 20 and with the corresponding first kind network address of first kind communication network.The first kind network address comprises that this mobile node 20 is in the belonging area network address that the ownership place subnet obtains and/or the access network address that obtains at the access subnet.
When the first kind network address comprises the access network address of mobile node 20, the access network address that before notifying device 202 notice access edge routers, also need obtain mobile node 20 by second deriving means 201.At first, second deriving means 201 obtains mobile node 20 in the access network address that the access subnet is obtained.Then, notifying device 202 is notified second edge router 12 with the network address and the access network address of the second class communication network of mobile node 20 correspondences.
Preferably, when mobile node 20 moves to the access subnet, second broadcaster 203 also can be broadcasted route advertisement message to the second class communication network, and this route advertisement message is used to notify first edge router 11 can receive and transmit information from the second class communication network to mobile node 20.
When from second information communication node, that mail to mobile node 20, when being routed to first edge router 11, at first, receive second information that comes from communication node by the 3rd receiving system 204; Then, second retransmission unit 205 is forwarded to the second edge router one, 2, the second edge routers 12 with second information and again this second information is forwarded to mobile node 20.
Particularly, if second protocol conversion process of this second information from the second communication agreement to first communication protocol carried out by second edge router 20, then second retransmission unit 205 directly is forwarded to second information second edge router 20.If second protocol conversion process of this second information from the second communication agreement to first communication protocol carried out by first edge router 11, then the 3rd conversion equipment 2052 is based on the second class network address and the first kind network address of mobile node 20, second information is carried out second protocol conversion process from the second communication agreement to first communication protocol, to obtain second information through second protocol conversion; The 3rd dispensing device 2051 will be transmitted to second edge router 12 through second information of second protocol conversion then.
Need to prove, above from communication control unit 100 be arranged in the access edge router of mobile node, the angle of ownership place edge router that sub controlling unit 200 is arranged in this mobile node is described enforcement of the present invention.Because have a plurality of mobile nodes in the communication subnet that each edge router is had jurisdiction over, this edge router is the ownership place edge router of a mobile node, be again the access edge router of another mobile node simultaneously.Therefore, when including communication control unit 100 with sub controlling unit 200 in the edge router simultaneously, the device of carrying out identical function can merge.For example, second conversion equipment 10242 and the 3rd conversion equipment 2052 can be same conversion equipments; Second dispensing device 10241 and the 3rd dispensing device 2051 can be same dispensing devices.
Though among the present invention with IPv4 communication protocol and IPv6 communication protocol to being that example has been described in detail the present invention, those skilled in the art is according to the instruction of present specification, will be understood that and the invention is not restricted to IPv4 communication protocol and IPv6 communication protocol is right, communication protocol for other is right, and the present invention is suitable equally.The type of the mobile node among the present invention is not limit, and comprises mobile network appliances such as portable terminal that all can communicate with the IPv4 node or Mobile Server.Technical scheme of the present invention all can realize with software or hardware.
More than specific embodiments of the invention are described.It will be appreciated that the present invention is not limited to above-mentioned specific implementations, those skilled in the art can make various distortion or modification within the scope of the appended claims.