CN101494849B - Communication equipment, method and system thereof - Google Patents

Communication equipment, method and system thereof Download PDF

Info

Publication number
CN101494849B
CN101494849B CN2009101189912A CN200910118991A CN101494849B CN 101494849 B CN101494849 B CN 101494849B CN 2009101189912 A CN2009101189912 A CN 2009101189912A CN 200910118991 A CN200910118991 A CN 200910118991A CN 101494849 B CN101494849 B CN 101494849B
Authority
CN
China
Prior art keywords
mobile router
node
routing iinformation
packet
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009101189912A
Other languages
Chinese (zh)
Other versions
CN101494849A (en
Inventor
杜超华
周迪
任俊峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009101189912A priority Critical patent/CN101494849B/en
Publication of CN101494849A publication Critical patent/CN101494849A/en
Application granted granted Critical
Publication of CN101494849B publication Critical patent/CN101494849B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a communication method, system and equipment. The method comprises the following steps: the mobile router sends a login request message to the home agency, and identifies the first option of the login request message; the local agency acquires the first option identification, when the first option identification represents the mobile router has no foreign agency in foreign network, establishes a tunnel between the home agency and the combined transmitting address; when the first option identification represents the mobile router has a foreign agency in foreign network, establishes a tunnel between the home agency and the transmitting address. In the invention, establishing tunnel between the home agency and the transmitting address or establishing tunnel between the home agency and the combined transmitting address, enables the home agency to send the communication node data package to foreign network node while establishing one tunnel, and increases transmission efficiency.

Description

A kind of communication means, system and equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of communication means, system and equipment.
Background technology
Along with Internet develop rapidly and the increasingly extensive application of portable terminal, promoted the development of mobile IP technology, mobile IP technology is that mobile node is with fixed network IP address, realize crossing over the different segment roaming function, and the technology that in roam procedure, do not change of the network legal power that guarantees IP Network Based, wherein, mobile IP is applied to all based on TCP (Transmission Control Protocol, transmission control protocol)/network environment of IP in, for the user provides unlimited wide netsurfing service.
Network when mobile node initially connects is a home network, the router that this mobile node connected is a home agent, the packet that other node sends sends to mobile node by home agent, when mobile node roams into field network, mobile node is not acted on behalf of to the local in physical connection, the packet that other node mails to mobile node can only arrive home agent and can't arrive the mobile node that roams in the field network, at this moment, need finish together to the roaming of home agent registration by Foreign Agent.This registration process is specially: Foreign Agent has roamed into field network to home agent notice mobile node, and can visit by the transfer address, home agent is established to the data tunnel of transfer address, the packet that destination address is identical with mobile node IP address sends to data tunnel, wherein, the transfer address is the interface IP address that is connected with mobile node on the Foreign Agent, when packet arrives the terminal point (being Foreign Agent) of data tunnel, Foreign Agent is according to MAC (the Media Access Control of mobile node, FDDI sublayer protocol) ARP of address lookup self maintained (Address Resolution Protocol, address resolution protocol) table, thus by two layers of forwarding data packet delivery is arrived mobile node.Wherein,, the protocol stack of supporting mobile IP function need be installed on mobile node, thereby make mobile node can initiate the roaming registration for packet is sent to mobile node.
The realization of mobile IP technology needs the agreement support on home agent, Foreign Agent and the mobile node, when a plurality of nodes that belong to a subnet are roamed simultaneously, need the mobile IP protocol stack be installed for each node, at this moment, introduce the complexity that mobile router can the mitigation system management, and make a plurality of nodes in the subnet any change to realize roaming.By increasing mobile router between the node of home network and home agent, when a plurality of nodes roaming in the subnet, mobile router (rather than mobile node itself) and Foreign Agent are finished the roaming registration process to home agent.Wherein, mobile router is the same with mobile node to be registered, make home agent be established to the data tunnel of Foreign Agent, and set up the immediate data tunnel of home agent and mobile router, thereby the mobile node that connects for mobile router carries out transfer of data.Wherein, the packet that communication node mails to mobile node at first arrives home agent, and home agent is transmitted data to mobile node by the internal layer tunnel that directly arrives mobile router; Wherein, the tunnel is a logical concept, and the internal layer tunnel comes down to by outer layer tunnel (home agent is to the tunnel Foreign Agent) and Foreign Agent connecting and composing to mobile router; Home agent is behind the packet that receives from communication node, for packet inserts two tunnel headers, the header designation data bag of outside arrives Foreign Agent from home agent, on Foreign Agent, outer field header is removed, and Foreign Agent sends the data to mobile router according to the header of internal layer then.On mobile router, remove inner header again, according to the destination address information in the packet of reduction packet is finally sent to corresponding terminal (mobile node) then; The packet that sends to communication node from mobile subnetwork then can pass through mobile router and Foreign Agent and directly send to communication node, need not pass through home agent again.
In the prior art, mobile router roams into registration process networking as shown in Figure 1 in the field network of Foreign Agent, when mobile router is on the field network, need from the agent advertisement of Foreign Agent, obtain Care-of Address (being configured on the Foreign Agent), and send the login request message carried address information to home agent, home agent is by analyzing registration information, set up home agent to the tunnel between the Foreign Agent, and the tunnel between from the home agent to the mobile router.When the local agency receives the packet that mails to mobile router, packet is carried out the encapsulation of home agent to the mobile router tunnel, and home agent sends out just after the Foreign Agent tunnel encapsulation.
Mobile router roams into register flow path networking as shown in Figure 2 in the field network that does not have Foreign Agent, when mobile router is on the field network, need obtain associating Care-of Address (local address on the mobile router) from outside (for example Dynamic Host Configuration Protocol server), and the login request message of having carried the associating address information to the home agent transmission, home agent is after having analyzed registration information, also need to set up home agent to the tunnel between the associating Care-of Address, and the tunnel between from the home agent to the mobile router.When the local agency receives the packet that mails to mobile router, packet is carried out the encapsulation of home agent to the mobile router tunnel, and home agent sends out just after associating Care-of Address tunnel encapsulation.
Based on top analysis, at present there is following shortcoming in the registration process that roams in the field network of mobile router: during the mobile node of the packet of communication node in sending to field network, when Foreign Agent being arranged in field network and not having Foreign Agent, all need to carry out tunnel encapsulation twice, thereby reduced the efficient of transmitting.And need transmit by home agent during the communicating by letter of communication node and mobile node, cause the waste of resource, increase the transmission time.
Summary of the invention
The invention provides a kind of communication means, system and equipment,, improve efficiency of transmission to reduce the encapsulation number of times in tunnel.
In order to achieve the above object, the present invention proposes a kind of communication means, be applied to comprise in the system of mobile router, at least one node among the mobile network and at least one communication node among home agent, the mobile network, described mobile router and described at least one node said method comprising the steps of in field network:
Described mobile router sends to described home agent with login request message, and identifies first option of described login request message, and the sign of described first option represents Foreign Agent is arranged or do not have Foreign Agent in the field network at described mobile router place;
Described home agent obtains the sign of described first option, when in the sign of described first option is represented the field network at described mobile router place, not having Foreign Agent, set up the tunnel between described home agent and the associating Care-of Address, when in the sign of described first option is represented the field network at described mobile router place, Foreign Agent being arranged, set up the tunnel between described home agent and the Care-of Address;
Described mobile router is by described home agent and the tunnel of associating between the Care-of Address or the packet of described at least one communication node of the reception of the tunnel between described home agent and the Care-of Address, and described packet is sent to node among the corresponding mobile network.
Preferably, comprise Foreign Agent in the system that described method is used, described mobile router sends to login request message before the described home agent, also comprises:
Described mobile router sends to described Foreign Agent with described login request message, and identify second option of described login request message, carry the routing iinformation of described mobile router and the routing iinformation of described at least one node in the described login request message;
Described Foreign Agent obtains the sign of described second option, when the sign of described second option represents that described Foreign Agent need be learnt the routing iinformation of the routing iinformation of described mobile router and described at least one node, described Foreign Agent is learnt the routing iinformation of the described mobile router that carries in the described login request message and the routing iinformation of described at least one node, sets up the route table items of described mobile router routing iinformation and described at least one node routing iinformation;
Described Foreign Agent is transmitted to described home agent with described login request message, carries the address information of described mobile router in the described login request message.
Preferably, after the routing iinformation of the described mobile router that carries in the described study login request message and the routing iinformation of described at least one node, also comprise:
When the sign of described second option represented that described Foreign Agent need send the routing iinformation of the routing iinformation of described mobile router and described at least one node, described Foreign Agent was broadcast at least one communication node in the network with the routing iinformation of the routing iinformation of described mobile router and described at least one node.
Preferably, the described routing iinformation and the routing iinformation of described at least one node with mobile router is broadcast to after at least one communication node in the network, also comprises:
Described at least one communication node is transmitted to described mobile router with packet by described Foreign Agent according to the routing iinformation of described mobile router.
Preferably, described Foreign Agent is transmitted to described login request message after the described home agent, also comprises:
Described home agent receives the packet from described at least one communication node;
Described home agent encapsulates described packet, and adds the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Packet after described home agent will encapsulate by the tunnel between described home agent and the Care-of Address sends to described Foreign Agent;
The described packet of described Foreign Agent decapsulation obtains the routing iinformation of described mobile router and the routing iinformation of described at least one node, searches route table items, and the packet after the decapsulation is sent to described mobile router.
Preferably, after the described tunnel of setting up between home agent and the associating Care-of Address, also comprise:
Described home agent receives the packet from described at least one communication node;
Described home agent encapsulates described packet, and adds the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Packet after described home agent will encapsulate by the tunnel between described home agent and the associating Care-of Address sends to described mobile router.
Preferably, the described node that packet is sent among the corresponding mobile network specifically comprises:
Described mobile router sends to node among the corresponding mobile network according to the routing iinformation of the routing iinformation of described mobile router and described at least one node with described packet.
The present invention proposes a kind of communication system, comprising: at least one node among the mobile router among the mobile network, home agent, the mobile network and at least one communication node, described mobile router and described at least one node are in field network, wherein:
Described mobile router, be used for login request message is sent to described home agent, and identifying first option of described login request message and second option of described login request message, the sign of described first option represents Foreign Agent is arranged or do not have Foreign Agent in the field network at described mobile router place; By home agent and associating tunnel or the packet that receives described at least one communication node of the tunnel between home agent and the Care-of Address between the Care-of Address, and described packet sent to node among the corresponding mobile network;
Described home agent, be used to obtain the sign of described first option, when in the sign of described first option is represented the field network at described mobile router place, not having Foreign Agent, set up the tunnel between described home agent and the associating Care-of Address, when in the sign of described first option is represented the field network at described mobile router place, Foreign Agent being arranged, set up the tunnel between described home agent and the Care-of Address.
Preferably, described system also comprises:
Foreign Agent is used to receive the login request message from described mobile router, has carried the routing iinformation of described mobile router and the routing iinformation of described at least one node in the described login request message;
Obtain the sign of described second option, when the sign of described second option represents that described Foreign Agent need send the routing iinformation of the routing iinformation of described mobile router and described at least one node, learn the routing iinformation of the described mobile router that carries in the described login request message and the routing iinformation of described at least one node, set up the route table items of described mobile router routing iinformation and described at least one node routing iinformation, and the routing iinformation of the routing iinformation of described mobile router and described at least one node is broadcast at least one communication node in the network; Or when the sign of described second option represents that described Foreign Agent need be learnt the routing iinformation of the routing iinformation of described mobile router and described at least one node, learn the routing iinformation of the described mobile router that carries in the described login request message and the routing iinformation of described at least one node, set up the route table items of described mobile router routing iinformation and described at least one node routing iinformation;
Described login request message is sent to described home agent, carry the address information of described mobile router in the described login request message.
The present invention proposes a kind of communication equipment, be applied to comprise in the system of mobile router, at least one node among the mobile network and at least one communication node among the mobile network, described mobile router and described at least one node are in field network, and described communication equipment comprises:
Receiver module, be used to receive login request message from described mobile router, first option of described login request message has different signs, the sign of described first option represents Foreign Agent is arranged or do not have Foreign Agent in the field network at described mobile router place, and has carried the routing iinformation of described mobile router and the routing iinformation of described at least one node in the described login request message;
Acquisition module is connected with described receiver module, is used for obtaining the sign of login request message first option that described receiver module receives;
Set up module, be connected, when the sign that is used for first option that gets access to when described acquisition module represents that the field network at described mobile router place does not have Foreign Agent, set up and the tunnel of uniting between the Care-of Address with described acquisition module; Or
When in the sign of described first option that described acquisition module gets access to is represented the field network at described mobile router place, Foreign Agent being arranged, set up and Care-of Address between the tunnel.
Preferably, described receiver module also is used to receive the packet from least one communication node;
Described communication equipment also comprises:
Package module is connected with described receiver module, is used to encapsulate the packet that described receiver module receives, and adds the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Sending module, with described package module with set up module and be connected respectively, be used for the tunnel set up between that module is set up and the Care-of Address according to described, the packet after the described package module encapsulation is sent to Foreign Agent; Or
According to the described tunnel of setting up between that module is set up and the associating Care-of Address, the packet after the described package module encapsulation is sent to mobile router.
The present invention proposes a kind of communication equipment, be applied to comprise in the system of mobile router among the mobile network, at least one node, home agent and at least one communication node among the mobile network, described mobile router and described at least one node are in field network, it is characterized in that described communication equipment comprises:
Receiver module, be used to receive login request message from described mobile router, second option of described login request message has different signs, and has carried the routing iinformation of described mobile router and the routing iinformation of described at least one node in the described login request message;
Acquisition module is connected with described receiver module, is used to obtain the sign of described second option;
Study module, be connected respectively with described acquisition module with described receiver module, the sign that is used for second option that obtains according to described acquisition module, when the sign of described second option is represented the routing iinformation of the routing iinformation of the described mobile router of needs study and described at least one node, learn the routing iinformation of the described mobile router that carries in the login request message that described receiver module receives and the routing iinformation of described at least one node, set up the route table items of described mobile router routing iinformation and described at least one node routing iinformation;
Sending module is connected with described receiver module, is used for the login request message that described receiver module receives is sent to described home agent, carries the address information of described mobile router in the described login request message.
Preferably, described sending module also is used for when the sign of described second option represents that needs send the routing iinformation of the routing iinformation of described mobile router and described at least one node, and the routing iinformation of the routing iinformation of described mobile router and described at least one node is broadcast at least one communication node in the network.
Preferably, described receiver module also is used to receive the packet from described at least one communication node;
The routing iinformation that described sending module also is used for the mobile router that carries according to the packet that described receiver module receives sends to described mobile router with described packet.
Preferably, described receiver module also is used to receive the packet from least one communication node of described home agent;
Described communication equipment also comprises:
Decapsulation module is connected with described receiver module, is used for the packet of described at least one communication node that the described receiver module of decapsulation receives;
The packet that described acquisition module also is used at least one communication node of receiving according to described receiver module obtains the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Described communication equipment also comprises:
Search module, be connected, be used for the routing iinformation of the mobile router that gets access to according to described acquisition module and the routing iinformation of described at least one node and search route table items with described acquisition module;
Described sending module, with decapsulation module with search module and be connected respectively, also be used for according to described search module searches to the packet of route table items after with decapsulation send to described mobile router so that described mobile router sends to node among the corresponding mobile network according to the routing iinformation of described at least one node with described packet.
Compared with prior art, the present invention has the following advantages: set up the tunnel between home agent and the Care-of Address when in field network Foreign Agent being arranged, and set up tunnel between home agent and the associating Care-of Address when not having Foreign Agent in the field network, thereby make when home agent sends to the packet of communication node node in the field network under the situation of setting up a tunnel, improved the efficient of transmission.Be broadcast to communication node by the routing iinformation with mobile router, packet does not need the forwarding through home agent, has saved resource.
Description of drawings
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in the present invention or the description of the Prior Art below, apparently, accompanying drawing in describing below only is accompanying drawings more of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is for there being the registration networking schematic diagram of Foreign Agent in the field network in the prior art;
Fig. 2 is not for there being the registration networking schematic diagram of Foreign Agent in the field network in the prior art;
A kind of communication means flow chart that Fig. 3 proposes for the present invention;
Fig. 4 is the schematic diagram of the login request message of the present invention's proposition;
Fig. 5 is the concrete applicating flow chart of the communication means of the present invention's proposition;
Fig. 6 is the another kind of concrete applicating flow chart of the communication means of the present invention's proposition;
A kind of communication equipment structure chart that Fig. 7 proposes for the present invention;
The another kind of communication equipment structure chart that Fig. 8 proposes for the present invention.
Embodiment
Below in conjunction with the accompanying drawing among the present invention, the technical scheme among the present invention is clearly and completely described, obviously, described only is a part of the present invention, rather than whole.Based on the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other invention that is obtained under the creative work prerequisite.
Core concept of the present invention is in the field network at the node place among the mobile network Foreign Agent to be arranged, mobile router among the mobile network is when home agent sends login request message, by using the RSV (Reserved of login request message, reserve) different sign in the position (for example 00,01,10,11) expression: the route table items of different nodes among the generation route table items of mobile router and the mobile network among the mobile network that Foreign Agent need be learnt to carry in the login request message, but routing iinformation is not sent in the whole network; Or the route table items of different nodes among the route table items of the Foreign Agent mobile router that need learn to carry in the login request message and the mobile network, and routing iinformation sent in the whole network; Or the route table items of different nodes among the Foreign Agent route table items that do not need the mobile router learning to carry in the login request message and the mobile network; Thereby different situations are handled respectively.The i.e. route table items of different nodes in route table items that Foreign Agent has been learnt mobile router among the mobile network and mobile network, but when routing iinformation not being sent in the whole network, tunnel (tunnel between not needing to set up from the home agent to the mobile router) between home agent is set up from the home agent to the Foreign Agent, thus the efficient that packet transmits improved in network; When Foreign Agent has been learnt the route table items of mobile router and the route table items of different nodes, and when sending to routing iinformation in the whole network, home agent is set up the tunnel from the home agent to the Foreign Agent, communication node reception in the network and study are from the routing iinformation of Foreign Agent, the packet of communication node is when sending to node, can be not forwarding by home agent, thereby saved resource, reduced the transmission time; When Foreign Agent was not learnt the route table items of the route table items of mobile router and different nodes, home agent was set up tunnel from the home agent to the Foreign Agent and home agent to the tunnel between the mobile router.
When not having Foreign Agent in the field network at node place among the mobile network, mobile router sends login request message by the associating Care-of Address to home agent, and the D option in the identifier register request message (for example, there is not Foreign Agent in the field network at node place among the use 0 expression mobile network), after home agent is resolved login request message, obtain D option sign, after not having Foreign Agent in the field network of judging the node place, only set up the tunnel between home agent and the associating Care-of Address, thereby reduce the encapsulation number of times of message.
A kind of communication means that the present invention proposes, be applied to comprise in the system of mobile router, at least one node among the mobile network and at least one communication node among home agent, the mobile network, described mobile router and described at least one node are in field network, as shown in Figure 3, said method comprising the steps of:
Step S301, described mobile router sends to described home agent with login request message, and identifying first option of described login request message, the sign of described first option represents Foreign Agent is arranged or do not have Foreign Agent in the field network at described mobile router place.
Wherein, this first option can be the D option in the login request message, also can be other option in the login request message.
Wherein, comprise Foreign Agent in the system that described method is used, described mobile router sends to login request message before the described home agent, also comprises:
Described mobile router sends to described Foreign Agent with described login request message, and identify second option of described login request message, carry the routing iinformation of described mobile router and the routing iinformation of described at least one node in the described login request message; Wherein, this second option can be the RSV option in the login request message, and promptly the RSV position in the login request message also can be other option in the login request message.
Described Foreign Agent obtains the sign of described second option, when the sign of described second option represents that described Foreign Agent need be learnt the routing iinformation of the routing iinformation of described mobile router and described at least one node, described Foreign Agent is learnt the routing iinformation of the described mobile router that carries in the described login request message and the routing iinformation of described at least one node, sets up the route table items of described mobile router routing iinformation and described at least one node routing iinformation;
Described Foreign Agent is transmitted to described home agent with described login request message, carries the address information of described mobile router in the described login request message.
Wherein, after the routing iinformation of the described mobile router that carries in the described study login request message and the routing iinformation of described at least one node, also comprise:
When the sign of described second option represented that described Foreign Agent need send the routing iinformation of the routing iinformation of described mobile router and described at least one node, described Foreign Agent was broadcast at least one communication node in the network with the routing iinformation of the routing iinformation of described mobile router and described at least one node.
Wherein, the described routing iinformation and the routing iinformation of described at least one node with mobile router is broadcast to after at least one communication node in the network, also comprises:
Described at least one communication node is transmitted to described mobile router with packet by described Foreign Agent according to the routing iinformation of described mobile router.
Step S302, described home agent obtains the sign of described first option, when in the sign of described first option is represented the field network at described mobile router place, not having Foreign Agent, set up the tunnel between described home agent and the associating Care-of Address, when in the sign of described first option is represented the field network at described mobile router place, Foreign Agent being arranged, set up the tunnel between described home agent and the Care-of Address.
Wherein, described Foreign Agent is transmitted to described login request message after the described home agent, also comprises:
Described home agent receives the packet from described at least one communication node;
Described home agent encapsulates described packet, and adds the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Packet after described home agent will encapsulate by the tunnel between described home agent and the Care-of Address sends to described Foreign Agent;
The described packet of described Foreign Agent decapsulation obtains the routing iinformation of described mobile router and the routing iinformation of described at least one node, and searches route table items, and the packet after the decapsulation is sent to described mobile router.
Wherein, after the described tunnel of setting up between home agent and the associating Care-of Address, also comprise:
Described home agent receives the packet from described at least one communication node;
Described home agent encapsulates described packet, and adds the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Packet after described home agent will encapsulate by the tunnel between described home agent and the associating Care-of Address sends to described mobile router.
Step S303, described mobile router is by home agent and associating tunnel or the packet that receives described at least one communication node of the tunnel between home agent and the Care-of Address between the Care-of Address, and described packet is sent to node among the corresponding mobile network.
Wherein, the described node that packet is sent among the corresponding mobile network specifically comprises: described mobile router sends to node among the corresponding mobile network according to the routing iinformation of the routing iinformation of described mobile router and described at least one node with described packet.
The present invention proposes a kind of concrete application of communication means, this method is applicable to the situation that Foreign Agent is arranged in the field network that the mobile network moves to, among the present invention, rrq message as shown in Figure 4, mobile router represents that by using the D option in RRQ (Registration Request, the register requirement) message Foreign Agent is arranged in the field network, for example, when the numerical value of D option is 0, Foreign Agent is arranged in the field network; And the RSV bit representation Foreign Agent in the use rrq message is to the processing of mobile network's routing iinformation, and for example, when the RSV position was 01, the mobile network information that Foreign Agent need be learnt among the RRQ generated route table items, and mobile network's routing iinformation is spread out; When the RSV position was 10, the mobile network information that Foreign Agent need be learnt among the RRQ generated route table items, but did not issue routing iinformation to whole network; When the RSV position was 00, the mobile network information that Foreign Agent does not need to learn among the RRQ generated route table items.Applicable scope is specially among the present invention: when a plurality of nodes that belong to a subnet are roamed simultaneously, by using mobile router to initiate registration, thereby make the reciprocal process of finishing packet between a plurality of nodes among the mobile network and the communication node to home agent.
Among the present invention, the network at the original place of node is a home network, agency in home network is a home agent, after this node is stayed out township's network, this node is the node among the mobile network, wherein, above-mentioned node includes but not limited to terminal, router, and above-mentioned home agent includes but not limited to the local router.The network that node moved among the mobile network is a field network, agency in field network is a Foreign Agent, when a plurality of nodes (terminal) when moving to field network, by mobile router is moved to field network with a plurality of terminals, thereby reduce protocol requirement to portable terminal, mobile router and a plurality of terminal constitute the mobile network, promptly comprise mobile router and node among the mobile network, and wherein this node is the node among the mobile network; Above-mentioned communication node is the node that arbitrary node sends packet in the mobile network, includes but not limited to terminal, router, base station, switch.The communication process of above-mentioned communication means may further comprise the steps as shown in Figure 5:
Step S501, HA (Home Agent, home agent) and FA (Foreign Agent, Foreign Agent) periodically issue agent advertisement on network, with statement HA and FA present position.
Wherein, HA can be called home agent or home agent or local agent, and FA can be called Foreign Agent or other cities agency or foreign agent, certainly, the title of HA and FA is not limited to above-mentioned title, among the present invention, is example with home agent and Foreign Agent.
Wherein, agent advertisement message is ICMP (Internet Control Message Protocol, the Internet Internet Control Message Protocol) expansion of router advertisement message, IP address of router and agent advertisement extend information have been comprised in this agent advertisement message, be the IP address information of having carried home agent in the announcement message of home agent, the IP address information of having carried Foreign Agent in the announcement message of Foreign Agent.
Among the present invention, all right active broadcast ICMP " proxy requests " message of mobile router, after any agency (being router) receives this Agent Solicitation, should send response message immediately, mobile router is chosen the Foreign Agent (or home agent) of one of them agency as this mobile router according to the factors such as historical experience, strategy of self after receiving response message.
Wherein, all mobile agents all should possess the agent advertisement function, and can respond to proxy requests; All mobile routers all need possess the proxy requests function; When mobile router is not received the agent advertisement that mobile agent (home agent or Foreign Agent) is issued on network in Preset Time, and can't obtain under the situation of Care-of Address by link layer protocol or additive method, just understand active broadcast ICMP Agent Solicitation, thereby obtain an agency.
Step S502, the agent advertisement that the mobile router analysis receives determines that this mobile router is on the home network or on field network.
Wherein, the periodic snoop agents announcement message of mobile router, whether roam out home network to judge this mobile router, the agent advertisement that receives when mobile router be home agent on network, issue agent advertisement the time, can determine that this mobile router is on home network, or turn back to home network from field network; Mobile router need not to start locomotive function in home network the time; When mobile router turns back to home network from field network, send the registration request cancelled, do not need to carry out the registration process to home agent.The agent advertisement that receives when mobile router be Foreign Agent on network, issue agent advertisement the time, can determine that this mobile router is on field network, this mobile router obtains address information from the agent advertisement of Foreign Agent issue, this Care-of Address is a tunnel endpoint address, it can be foreign agent care-of address, this foreign agent care-of address is an address of Foreign Agent, and mobile router can utilize this foreign agent care-of address to register.
Among the present invention, be that the communication process that moves to field network with mobile router is that example describes, promptly the agent advertisement that receives of mobile router is the agent advertisement that Foreign Agent is issued on network, and this mobile router is on field network; The communication process that receives the agent advertisement of home agent for mobile router does not repeat them here.
Step S503, mobile router outwards act on behalf of the transmission rrq message.
Mobile router is being known when being positioned at field network, need initiate registration process to home agent, be that mobile router need send rrq message to home agent by Foreign Agent, and rrq message is sent on the Foreign Agent by mobile router earlier, wherein, carry the routing iinformation of mobile router and the routing iinformation of the node among the mobile network in this rrq message, also carried address information in this rrq message.
Among the present invention, need to use the D option in the rrq message to represent that Foreign Agent is arranged in the field network, be that mobile router need carry out assignment to the D position in the rrq message according to self strategy, for example, for D position assignment is in the 1 expression field network Foreign Agent to be arranged, when Foreign Agent and home agent get access to the D position when being 1, all can know in the field network of mobile router place has Foreign Agent.
Among the present invention, RSV bit representation Foreign Agent in the needs use rrq message is to the processing of mobile network's (mobile router and node place network) routing iinformation, be that mobile router need carry out assignment to the RSV position in the rrq message according to self strategy, for example, for RSV position assignment is that the mobile network information that 01 expression Foreign Agent need be learnt to carry in the rrq message generates route table items, and mobile network's routing iinformation is spread out; For RSV position assignment is that the mobile network information that 10 expression Foreign Agents need be learnt to carry among the RRQ generates route table items, but do not issue routing iinformation to whole network; When RSV position assignment is that the mobile network information that 00 expression Foreign Agent does not need to learn among the RRQ generates route table items; Assignment to the RSV position can also be other situation, does not repeat them here.Same, when Foreign Agent gets access to the numerical value sign of RSV position, can identify pairing strategy according to this route information is handled.
After step S504, Foreign Agent receive rrq message from mobile router, resolve the content in the rrq message, and handle accordingly according to the identification information of RSV position in the rrq message.
In Foreign Agent, stored the different disposal process of different identification pairing Foreign Agent in RSV position to rrq message, for example, when the identification information that parses RSV position in the rrq message when Foreign Agent is 01, this Foreign Agent is learned the mobile network's routing iinformation (routing iinformation of node among the routing iinformation of mobile router and the mobile network) that should learn to carry in the rrq message, and the generation route table items, and mobile network's routing iinformation spread out.
Concrete, the processing procedure that parses the identification information correspondence of RSV position in the rrq message when Foreign Agent is that the mobile network information that Foreign Agent need be learnt to carry in the rrq message generates route table items, and when mobile network's routing iinformation spread out, the mobile network's who carries in the Foreign Agent study rrq message routing iinformation, and in this Foreign Agent, set up the route table items of different nodes among mobile router and the mobile network, wherein, the outgoing interface of route table items all is set to the outgoing interface of mobile router, promptly when Foreign Agent receives the packet that mails to node among the above-mentioned mobile network, routing iinformation according to destination address in the packet finds corresponding route table items, and according to this route table items forwarding packet, and the outgoing interface of route table items has been arranged to the outgoing interface of mobile router, and the packet that mails to node among the mobile network will be sent to mobile router by Foreign Agent.Wherein, Foreign Agent also needs mobile network's routing iinformation is spread out, be that the port that Foreign Agent passes through Routing Protocol is announced whole network with node place mobile network's routing iinformation, after communication node in the network receives node place mobile network's routing iinformation, when this communication node need be in the mobile network node when sending packet, this communication node can directly send to Foreign Agent with packet, and be transmitted to mobile router by Foreign Agent, certainly, communication node in the network also can send to packet the home agent of node, is transmitted to mobile router by home agent by Foreign Agent.
The processing procedure that parses the identification information correspondence of RSV position in the rrq message when Foreign Agent is that the mobile network information that Foreign Agent need be learnt to carry in the rrq message generates route table items, but the routing iinformation of not issuing the mobile network is during to whole network, the mobile network's who carries in the Foreign Agent study rrq message routing iinformation, and in this Foreign Agent, set up the route table items of different nodes among mobile router and the mobile network, wherein, the outgoing interface of route table items all is set to the outgoing interface of mobile router, and the packet that mails to node among the mobile network will be sent to mobile router by Foreign Agent.
The processing procedure that parses the identification information correspondence of RSV position in the rrq message when Foreign Agent is a mobile network information that Foreign Agent does not need to learn to carry in the rrq message when generating route table items, and Foreign Agent is not handled rrq message.
Step S505, Foreign Agent is transmitted to home agent with rrq message.
Wherein, carried the address information that mobile router gets access in this rrq message from the agent advertisement of Foreign Agent issue, this Care-of Address is the end address in tunnel, can be an address of Foreign Agent.
In home agent, also stored the different disposal process of different identification pairing Foreign Agent in RSV position to rrq message, this home agent can be set up tunnel between home agent and the Care-of Address to the different disposal process of rrq message according to Foreign Agent, or set up the tunnel between home agent and the Care-of Address and set up home agent and mobile router between the tunnel.
Concrete, the processing procedure that goes out the identification information correspondence of RSV position in the rrq message when the local proxy resolution is mobile network's routing iinformation that Foreign Agent need be learnt to carry in the rrq message, and mobile network's routing iinformation spread out, or the Foreign Agent mobile network's routing iinformation that need learn to carry in the rrq message, but when not needing routing iinformation with the mobile network to spread out, home agent only need be set up the tunnel between home agent and the Care-of Address, promptly after the packet that receives from communication node is acted on behalf of in the local, home agent uses IP tunneling, raw data packets is encapsulated in the packet of forwarding, thereby make the intact Care-of Address place that is in termination point of a tunnel that is forwarded to of raw data packets, wherein, the tunnel is a logical concept, for thereby the packet of communication node increases the packet that a header forms forwarding, carried the destination address place mobile network's of communication node packet routing iinformation in the header of this increase, the outgoing interface in this tunnel is a Care-of Address, it is an address of Foreign Agent, wherein, the mobile network's who carries in the above-mentioned header routing iinformation is that home agent obtains from rrq message.
The processing procedure that goes out the identification information correspondence of RSV position in the rrq message when the local proxy resolution is that mobile network information that Foreign Agent does not need to learn to carry in the rrq message is when generating route table items, home agent need be set up the tunnel between home agent and the Care-of Address, and the tunnel between home agent and the mobile router, wherein, the routing iinformation of address information and mobile router all obtains from rrq message.Home agent is behind the packet that receives from communication node, home agent uses two-layer tunneling technique, packet is carried out twice encapsulation, be packet and insert two tunnel headers, outer header designation data bag arrives Care-of Address from home agent, and inner header designation data bag arrives mobile router from home agent.
After step S506, home agent receive the packet that sends to the mobile network, this packet is sent to Care-of Address by the tunnel between home agent and the Care-of Address, promptly send on the Foreign Agent.
Wherein, the packet that sends to the mobile network for from the mobile network in the packet of node of node communication, when the local agency only set up and Care-of Address between the tunnel time, in the header of encapsulation, add mobile network's routing iinformation; When tunnel between local agency's foundation and the Care-of Address and the tunnel between foundation and the mobile router, outer header designation data bag arrives Care-of Address from home agent, and inner header designation data bag arrives mobile router from home agent.
Step S507, Foreign Agent receives packet, and packet is sent to mobile router.
When Foreign Agent has been learnt mobile network's routing iinformation of carrying in the rrq message, and when mobile network's routing iinformation spread out, Foreign Agent will receive from the packet of home agent and/or directly from the packet of communication node; The packet that receives for (passing through Care-of Address) from home agent, the packet that the Foreign Agent decapsulation receives, and will separate the packet of being honored as a queen and send to mobile router, wherein, Foreign Agent is according to the mobile network's who carries in the packet routing iinformation, mobile network information in nonlocal proxies store generates the pairing route table items of routing iinformation of searching the mobile network in the route table items, as can be known, the outgoing interface of this mobile network's the pairing routing address of routing iinformation is the interface of mobile router, be that the packet of Foreign Agent after with decapsulation sends on the mobile router, wherein, the packet after this decapsulation is original packet (packet that communication node sends).
Among the present invention, because Foreign Agent has been announced whole network by the port of Routing Protocol with node place mobile network's routing iinformation, communication node in the network can directly send to Foreign Agent with packet according to mobile network's routing iinformation, be that Foreign Agent directly receives the packet from communication node, and packet sent to mobile router according to the mobile network's who carries in the packet routing iinformation.At this moment, communication node does not need packet is sent to home agent, does not promptly have operating process among the step S506.
The mobile network information of having learnt to carry in the rrq message when Foreign Agent generates route table items, but when mobile network's routing iinformation not being spread out, Foreign Agent will receive the packet from home agent, the packet that decapsulation receives, and will separate the packet of being honored as a queen and send to mobile router.
When mobile network's routing iinformation that Foreign Agent is not learnt to carry in the rrq message, Foreign Agent (passing through Care-of Address) receives from the packet of home agent through twice encapsulation, this packet of decapsulation, remove outer header, and packet is sent to mobile router according to the routing iinformation of mobile router in the nexine header.
Step S508, mobile router send to packet the node of the correspondence among the mobile network.
Wherein, the mobile network information of carrying in Foreign Agent study rrq message generates route table items, and mobile network's routing iinformation spread out or Foreign Agent study rrq message in the mobile network information of carrying generate route table items, but when not needing routing iinformation with the mobile network to spread out, mobile router is after receiving packet, packet is directly sent to the destination address of this packet, promptly send to node corresponding among the mobile network.
When Foreign Agent does not need the mobile network information learning to carry in the rrq message to generate route table items, mobile router is after receiving packet, packet is carried out decapsulation, remove the inner header of packet, and packet sent to the destination address of this packet, promptly send to node corresponding among the mobile network.
Step S509, the node among the mobile network is replied packet or when communication node sends packet, by mobile router and Foreign Agent packet is sent to communication node to communication node.
Among the present invention, node among the mobile network directly sends to mobile router with packet, mobile router is searched routing table according to the address information of communication node in the packet, and packet is transmitted to communication node according to the routing iinformation of communication node in the routing table, at this moment, do not need forwarding from the packet of the node among the mobile network by home agent.
Wherein, the inventive method can be adjusted each sequence of steps according to actual needs.
Another kind of concrete application of the communication means that the present invention proposes, this method is applicable to the situation that does not have Foreign Agent in the field network that the mobile network moves to, mobile router represents there is not Foreign Agent in the field network by using the D option in the rrq message, for example, when the numerical value of D option is 1, there is not Foreign Agent in the field network.Applicable scope is specially among the present invention: when a plurality of nodes that belong to a subnet are roamed simultaneously, initiate registration by using mobile router to home agent, thereby make the reciprocal process of finishing packet between a plurality of nodes among the mobile network and the communication node, above-mentioned communication process may further comprise the steps as shown in Figure 6:
Step S601, mobile router are known and are arranged in field network, and do not have Foreign Agent in the field network at place.
Concrete, the periodic snoop agents announcement message of mobile router, when judging mobile router and roamed out home network, this mobile router is arranged in field network.Mobile router is not received the agent advertisement of Foreign Agent in the default time, and during mobile router active broadcast ICMP " proxy requests " message, does not receive response message yet, does not then have Foreign Agent in the field network at mobile router place.
Wherein, when not having Foreign Agent, mobile router need obtain an address of temporarily distributing to mobile mobile router from outside (as passing through DHCP), and this address is the associating Care-of Address.
Step S602, mobile router sends rrq message by the associating Care-of Address to home agent.
Wherein, mobile router is being known when being positioned at field network, need initiate registration process to home agent, represent there is not Foreign Agent in the field network by using the D option in the rrq message, be that mobile router need carry out assignment to the D position in the rrq message according to self strategy, for example, for D position assignment is not have Foreign Agent in the 0 expression field network, when local agency gets access to the D position when being 0, can know in the field network of mobile router place does not have Foreign Agent.Wherein, this rrq message has also carried the routing iinformation of node among the routing iinformation of associating address information, mobile router and the mobile network.
Step S603, the tunnel between home agent foundation and the associating Care-of Address.
Wherein, home agent gets access to the sign in the D option after receiving rrq message, when not having Foreign Agent in the field network at this sign expression mobile router place, sets up the tunnel between home agent and the associating Care-of Address.
Step S604, after home agent receives the packet that sends to the mobile network, packet is encapsulated, the routing iinformation of node among the routing iinformation of interpolation mobile router and the mobile network, and with this packet the tunnel between the Care-of Address sends to the associating Care-of Address by home agent and associating, promptly send on the mobile router.
Step S605 receives packet on the mobile router, this packet of decapsulation according to the routing iinformation of node among the routing iinformation of mobile router and the mobile network, sends to this packet the node of the correspondence among the mobile network.
Step S606, node is replied packet or when communication node sends packet, by mobile router packet is sent to communication node to communication node among the mobile network.
Wherein, the inventive method can be adjusted each sequence of steps according to actual needs.
A kind of communication system that the present invention also proposes comprises at least one node and at least one communication node among mobile router among the mobile network, home agent, the mobile network, and mobile router and at least one node are in field network, wherein:
Mobile router, be used for login request message is sent to home agent, and second option of first option of identifier register request message and login request message, the sign of first option represents Foreign Agent is arranged or do not have Foreign Agent in the field network at mobile router place; By home agent and associating tunnel or the packet that receives at least one communication node of the tunnel between home agent and the Care-of Address between the Care-of Address, and packet sent to node among the corresponding mobile network;
Home agent, be used to obtain the sign of first option, when in the sign of first option is represented the field network at mobile router place, not having Foreign Agent, set up the tunnel between home agent and the associating Care-of Address, when in the sign of first option is represented the field network at mobile router place, Foreign Agent being arranged, set up the tunnel between home agent and the Care-of Address.
Also comprise in this communication system: Foreign Agent, be used to receive login request message from mobile router, carried the routing iinformation of mobile router and the routing iinformation of at least one node in this login request message;
Obtain the sign of second option, when the sign of second option represents that Foreign Agent need send the routing iinformation of the routing iinformation of mobile router and at least one node, the routing iinformation of the mobile router that carries in the study login request message and the routing iinformation of at least one node, set up the route table items of mobile router routing iinformation and at least one node routing iinformation, and the routing iinformation of the routing iinformation of mobile router and at least one node is broadcast at least one communication node in the network; Or when the sign of second option represents that Foreign Agent need be learnt the routing iinformation of the routing iinformation of mobile router and at least one node, obtain the sign of second option, the routing iinformation of the mobile router that study is carried in the login request message and the routing iinformation of at least one node are set up the route table items of mobile router routing iinformation and at least one node routing iinformation;
Login request message is transmitted to home agent, carries the address information of mobile router in the login request message.
The invention allows for a kind of communication equipment, be applied to comprise in the system of mobile router, at least one node among the mobile network and at least one communication node among the mobile network, mobile router and at least one node are in field network, this communication equipment is mobile network's home agent, as shown in Figure 7, this communication equipment comprises:
Receiver module 71, be used to receive rrq message from mobile router, first option of this rrq message has different signs, the sign of first option represents Foreign Agent is arranged or do not have Foreign Agent in the field network at mobile router place, and has carried the routing iinformation of mobile router and the routing iinformation of at least one node in the rrq message.
Wherein, this receiver module 71 also is used to receive the packet from least one communication node.
Acquisition module 72 is connected with receiver module 71, is used for obtaining the sign of rrq message first option that receiver module 71 receives.
Set up module 73, be connected, when the sign that is used for first option that gets access to when acquisition module 72 represents that the field network at mobile router place does not have Foreign Agent, set up and the tunnel of uniting between the Care-of Address with acquisition module 72; Or
When in the sign of first option that acquisition module 72 gets access to is represented the field network at mobile router place, Foreign Agent being arranged, set up and Care-of Address between the tunnel.
Package module 74 is connected with receiver module 71, is used to encapsulate the packet that receiver module 71 receives, and adds the routing iinformation of mobile router and the routing iinformation of at least one node.
Sending module 75, with package module 74 with set up module 73 and be connected respectively, be used for the packet after package module 74 encapsulation being sent to Foreign Agent according to the tunnel of setting up between that set up and the Care-of Address of module 73; Or
Tunnel according to setting up between that module 73 is set up and the associating Care-of Address sends to mobile router with the packet after package module 74 encapsulation.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
The invention allows for a kind of communication equipment, be applied to comprise in the system of mobile router among the mobile network, at least one node, home agent and at least one communication node among the mobile network, mobile router and at least one node are in field network, this communication equipment is mobile network's Foreign Agent, as shown in Figure 8, this communication equipment comprises:
Receiver module 81 is used to receive the rrq message from mobile router, and second option of this rrq message has different signs, and has carried the routing iinformation of mobile router and the routing iinformation of at least one node in the rrq message.
Wherein, this receiver module 81 also is used to receive the packet from least one communication node.
Wherein, this receiver module 81 also is used to receive the packet from least one communication node of home agent.
Acquisition module 82 is connected with receiver module 81, is used to obtain the sign of second option.
Wherein, this acquisition module 82 packet of also being used at least one communication node of receiving according to receiver module 81 obtains the routing iinformation of mobile router and the routing iinformation of at least one node.
Study module 83, be connected respectively with acquisition module 82 with receiver module 81, the sign that is used for second option that obtains according to acquisition module 82, when the sign of second option is represented the routing iinformation of the routing iinformation of needs study mobile router and at least one node, the routing iinformation of the mobile router that carries in the rrq message that study receiver module 81 receives and the routing iinformation of at least one node, set up the routing iinformation of the mobile router that carries in the rrq message that the route table items study receiver module 81 of mobile router routing iinformation and at least one node routing iinformation receives and the routing iinformation of at least one node, set up the route table items of mobile router routing iinformation and at least one node routing iinformation.
Sending module 84 is connected with receiver module 81, is used for the rrq message that receiver module 81 receives is transmitted to home agent, carries the address information of mobile router in the rrq message.
Wherein, this sending module also is used for when the sign of second option represents that needs send the routing iinformation of the routing iinformation of mobile router and at least one node, the routing iinformation of the routing iinformation of mobile router and at least one node is broadcast at least one communication node in the network, so that mobile router sends to node among the corresponding mobile network according to the routing iinformation of at least one node with packet.
Wherein, this sending module routing iinformation of also being used for the mobile router that carries according to the packet that receiver module 81 receives sends to mobile router with packet.
Wherein, this sending module 84 also with decapsulation module 85 with search module 86 and be connected respectively, be used for sending to mobile router according to searching route table items that module 85 the finds packet after with decapsulation module 85 decapsulations.
Decapsulation module 85 is connected with receiver module 81, is used for the packet of at least one communication node that decapsulation receiver module 81 receives.
Search module 86, be connected, be used for the routing iinformation of the mobile router that gets access to according to acquisition module 82 and the routing iinformation of at least one node and search route table items with acquisition module 82.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise that some instructions are with so that a computer equipment (can be personal computer, server, perhaps network equipment etc.) is carried out method of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (15)

1. communication means, be applied to comprise in the system of mobile router, at least one node among the mobile network and at least one communication node among home agent, the mobile network, described mobile router and described at least one node are in field network, it is characterized in that, said method comprising the steps of:
Described mobile router sends to described home agent with login request message, and identifies first option of described login request message, and the sign of described first option represents Foreign Agent is arranged or do not have Foreign Agent in the field network at described mobile router place;
Described home agent obtains the sign of described first option, when in the sign of described first option is represented the field network at described mobile router place, not having Foreign Agent, set up the tunnel between described home agent and the associating Care-of Address, when in the sign of described first option is represented the field network at described mobile router place, Foreign Agent being arranged, set up the tunnel between described home agent and the Care-of Address;
Described mobile router is by described home agent and the tunnel of associating between the Care-of Address or the packet of described at least one communication node of the reception of the tunnel between described home agent and the Care-of Address, and described packet is sent to node among the corresponding mobile network.
2. the method for claim 1 comprises Foreign Agent in the system that described method is used, and it is characterized in that described mobile router sends to login request message before the described home agent, also comprises:
Described mobile router sends to described Foreign Agent with described login request message, and identify second option of described login request message, carry the routing iinformation of described mobile router and the routing iinformation of described at least one node in the described login request message;
Described Foreign Agent obtains the sign of described second option, when the sign of described second option represents that described Foreign Agent need be learnt the routing iinformation of the routing iinformation of described mobile router and described at least one node, described Foreign Agent is learnt the routing iinformation of the described mobile router that carries in the described login request message and the routing iinformation of described at least one node, sets up the route table items of described mobile router routing iinformation and described at least one node routing iinformation;
Described Foreign Agent is transmitted to described home agent with described login request message, carries the address information of described mobile router in the described login request message.
3. method as claimed in claim 2 is characterized in that, after the routing iinformation of the described mobile router that carries in the described study login request message and the routing iinformation of described at least one node, also comprises:
When the sign of described second option represented that described Foreign Agent need send the routing iinformation of the routing iinformation of described mobile router and described at least one node, described Foreign Agent was broadcast at least one communication node in the network with the routing iinformation of the routing iinformation of described mobile router and described at least one node.
4. method as claimed in claim 3 is characterized in that, the described routing iinformation and the routing iinformation of described at least one node with mobile router is broadcast to after at least one communication node in the network, also comprises:
Described at least one communication node is transmitted to described mobile router with packet by described Foreign Agent according to the routing iinformation of described mobile router.
5. method as claimed in claim 2 is characterized in that, described Foreign Agent is transmitted to described login request message after the described home agent, also comprises:
Described home agent receives the packet from described at least one communication node;
Described home agent encapsulates described packet, and adds the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Packet after described home agent will encapsulate by the tunnel between described home agent and the Care-of Address sends to described Foreign Agent;
The described packet of described Foreign Agent decapsulation obtains the routing iinformation of described mobile router and the routing iinformation of described at least one node, searches route table items, and the packet after the decapsulation is sent to described mobile router.
6. the method for claim 1 is characterized in that, after the described tunnel of setting up between home agent and the associating Care-of Address, also comprises:
Described home agent receives the packet from described at least one communication node;
Described home agent encapsulates described packet, and adds the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Packet after described home agent will encapsulate by the tunnel between described home agent and the associating Care-of Address sends to described mobile router.
7. as claim 5 or 6 described methods, it is characterized in that the described node that packet is sent among the corresponding mobile network specifically comprises:
Described mobile router sends to node among the corresponding mobile network according to the routing iinformation of described at least one node with described packet.
8. a communication system is characterized in that, comprises at least one node and at least one communication node among mobile router among the mobile network, home agent, the mobile network, and described mobile router and described at least one node are in field network, wherein:
Described mobile router, be used for login request message is sent to described home agent, and identifying first option of described login request message and second option of described login request message, the sign of described first option represents Foreign Agent is arranged or do not have Foreign Agent in the field network at described mobile router place; By home agent and associating tunnel or the packet that receives described at least one communication node of the tunnel between home agent and the Care-of Address between the Care-of Address, and described packet sent to node among the corresponding mobile network;
Described home agent, be used to obtain the sign of described first option, when in the sign of described first option is represented the field network at described mobile router place, not having Foreign Agent, set up the tunnel between described home agent and the associating Care-of Address, when in the sign of described first option is represented the field network at described mobile router place, Foreign Agent being arranged, set up the tunnel between described home agent and the Care-of Address.
9. system as claimed in claim 8 is characterized in that, also comprises:
Foreign Agent is used to receive the login request message from described mobile router, has carried the routing iinformation of described mobile router and the routing iinformation of described at least one node in the described login request message;
Obtain the sign of described second option, when the sign of described second option represents that described Foreign Agent need send the routing iinformation of the routing iinformation of described mobile router and described at least one node, learn the routing iinformation of the described mobile router that carries in the described login request message and the routing iinformation of described at least one node, set up the route table items of described mobile router routing iinformation and described at least one node routing iinformation, and the routing iinformation of the routing iinformation of described mobile router and described at least one node is broadcast at least one communication node in the network; Or when the sign of described second option represents that described Foreign Agent need be learnt the routing iinformation of the routing iinformation of described mobile router and described at least one node, learn the routing iinformation of the described mobile router that carries in the described login request message and the routing iinformation of described at least one node, set up the route table items of described mobile router routing iinformation and described at least one node routing iinformation;
Described login request message is transmitted to described home agent, carries the address information of described mobile router in the described login request message.
10. communication equipment, be applied to comprise in the system of mobile router, at least one node among the mobile network and at least one communication node among the mobile network, described mobile router and described at least one node is characterized in that described communication equipment comprises in field network:
Receiver module, be used to receive login request message from described mobile router, first option of described login request message has different signs, the sign of described first option represents Foreign Agent is arranged or do not have Foreign Agent in the field network at described mobile router place, and has carried the routing iinformation of described mobile router and the routing iinformation of described at least one node in the described login request message;
Acquisition module is connected with described receiver module, is used for obtaining the sign of login request message first option that described receiver module receives;
Set up module, be connected, when the sign that is used for first option that gets access to when described acquisition module represents that the field network at described mobile router place does not have Foreign Agent, set up and the tunnel of uniting between the Care-of Address with described acquisition module; Or
When in the sign of described first option that described acquisition module gets access to is represented the field network at described mobile router place, Foreign Agent being arranged, set up and Care-of Address between the tunnel.
11. communication equipment as claimed in claim 10 is characterized in that, described receiver module also is used to receive the packet from described at least one communication node;
Described communication equipment also comprises:
Package module is connected with described receiver module, is used to encapsulate the packet that described receiver module receives, and adds the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Sending module, with described package module with set up module and be connected respectively, be used for the tunnel set up between that module is set up and the Care-of Address according to described, the packet after the described package module encapsulation is sent to Foreign Agent; Or
According to the described tunnel of setting up between that module is set up and the associating Care-of Address, the packet after the described package module encapsulation is sent to mobile router.
12. communication equipment, be applied to comprise in the system of mobile router among the mobile network, at least one node, home agent and at least one communication node among the mobile network, described mobile router and described at least one node are in field network, it is characterized in that described communication equipment comprises:
Receiver module, be used to receive login request message from described mobile router, second option of described login request message has different signs, and has carried the routing iinformation of described mobile router and the routing iinformation of described at least one node in the described login request message;
Acquisition module is connected with described receiver module, is used to obtain the sign of described second option;
Study module, be connected respectively with described acquisition module with described receiver module, the sign that is used for second option that obtains according to described acquisition module, when the sign of described second option is represented the routing iinformation of the routing iinformation of the described mobile router of needs study and described at least one node, learn the routing iinformation of the described mobile router that carries in the login request message that described receiver module receives and the routing iinformation of described at least one node, set up the route table items of described mobile router routing iinformation and described at least one node routing iinformation;
Sending module is connected with described receiver module, is used for the login request message that described receiver module receives is transmitted to described home agent, carries the address information of described mobile router in the described login request message.
13. communication equipment as claimed in claim 12, it is characterized in that, described sending module also is used for when the sign of described second option represents that needs send the routing iinformation of the routing iinformation of described mobile router and described at least one node, and the routing iinformation of the routing iinformation of described mobile router and described at least one node is broadcast at least one communication node in the network.
14. communication equipment as claimed in claim 12 is characterized in that, described receiver module also is used to receive the packet from described at least one communication node;
The routing iinformation that described sending module also is used for the mobile router that carries according to the packet that described receiver module receives sends to described mobile router with described packet.
15. communication equipment as claimed in claim 12 is characterized in that, described receiver module also is used to receive the packet from least one communication node of described home agent;
Described communication equipment also comprises:
Decapsulation module is connected with described receiver module, is used for the packet of described at least one communication node that the described receiver module of decapsulation receives;
The packet that described acquisition module also is used for described at least one communication node of receiving according to described receiver module obtains the routing iinformation of described mobile router and the routing iinformation of described at least one node;
Described communication equipment also comprises:
Search module, be connected, be used for the routing iinformation of the mobile router that gets access to according to described acquisition module and the routing iinformation of described at least one node and search route table items with described acquisition module;
Described sending module, with decapsulation module with search module and be connected respectively, also be used for according to described search module searches to the packet of route table items after with decapsulation send to described mobile router so that described mobile router sends to node among the corresponding mobile network according to the routing iinformation of described at least one node with described packet.
CN2009101189912A 2009-03-11 2009-03-11 Communication equipment, method and system thereof Expired - Fee Related CN101494849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101189912A CN101494849B (en) 2009-03-11 2009-03-11 Communication equipment, method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101189912A CN101494849B (en) 2009-03-11 2009-03-11 Communication equipment, method and system thereof

Publications (2)

Publication Number Publication Date
CN101494849A CN101494849A (en) 2009-07-29
CN101494849B true CN101494849B (en) 2010-08-11

Family

ID=40925195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101189912A Expired - Fee Related CN101494849B (en) 2009-03-11 2009-03-11 Communication equipment, method and system thereof

Country Status (1)

Country Link
CN (1) CN101494849B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635951B (en) * 2009-08-19 2012-07-04 杭州华三通信技术有限公司 Data packet transmission method and data packet transmission device in mobile IP technology
EP3082363B1 (en) 2014-01-06 2018-10-31 Huawei Technologies Co., Ltd. Routing method and routing apparatus
CN112437467A (en) * 2020-10-23 2021-03-02 中国人民解放军61062部队 Ad hoc network tunnel communication method without home agent

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1411231A (en) * 2002-10-17 2003-04-16 武汉邮电科学研究院 Data packet transmission method in mobile IP
CN1561053A (en) * 2004-02-24 2005-01-05 中兴通讯股份有限公司 Communication method of transmitting and moving internet protocol association with network address

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1411231A (en) * 2002-10-17 2003-04-16 武汉邮电科学研究院 Data packet transmission method in mobile IP
CN1561053A (en) * 2004-02-24 2005-01-05 中兴通讯股份有限公司 Communication method of transmitting and moving internet protocol association with network address

Also Published As

Publication number Publication date
CN101494849A (en) 2009-07-29

Similar Documents

Publication Publication Date Title
JP4616732B2 (en) Packet transfer device
JP4927939B2 (en) Automatic home agent selection
US7760666B2 (en) Method of generating and managing connection identifiers for supporting multicast for each group in IPv6-based wireless network and network interface using the method
CN101511117B (en) Two-layer cross-network segment communicating method, system and equipment
JP4522035B2 (en) Communication system and method
EP2829094B1 (en) Method, apparatus and computer program product for automatic tunneling of ipv6 packets with topologically incorrect source addresses
CN1951087B (en) Method and apparatus for obtaining server information in a wireless network
CN104022936B (en) A kind of tunnel establishing method and device
CN103108308A (en) Method, network element and user end for achieving identity location separation and distribution interface identification
CN102739541A (en) Method, device and system for starting routing function and transmitting data
JP2014504095A (en) Method and system for efficient homeless MPLS micromobility
CN100459544C (en) Prefix delegation system and method of ad-hoc network
EP1712061B1 (en) Method and apparatus providing address management in a flat structure mobile network
CN102546407A (en) Message sending method and device
CN101494849B (en) Communication equipment, method and system thereof
CN102957755B (en) A kind of address resolution method, device and information transferring method
JP3589089B2 (en) Communication protocol proxy processing method, communication protocol proxy processing device, and communication protocol proxy processing service device
JP2003018185A (en) Mobile ip communication system, mobile ip communication method, network repeater system and terminal for mobile object
US7286542B2 (en) Mobile communication network system, foreign agent router, address server and packet delivery method employed therein
JP2007267074A (en) Information transfer device
CN102655473A (en) Communication method, equipment and system
JP2003318943A (en) Ip address generating method and wireless base station apparatus
JP2001168906A (en) Position information managing system
Lee et al. Considerations of neighbor discovery protocol over IEEE 802.16 networks
JP4741401B2 (en) Information transfer device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100811

Termination date: 20200311

CF01 Termination of patent right due to non-payment of annual fee