CN101742485A - Method and device for transmitting data - Google Patents

Method and device for transmitting data Download PDF

Info

Publication number
CN101742485A
CN101742485A CN 200810181043 CN200810181043A CN101742485A CN 101742485 A CN101742485 A CN 101742485A CN 200810181043 CN200810181043 CN 200810181043 CN 200810181043 A CN200810181043 A CN 200810181043A CN 101742485 A CN101742485 A CN 101742485A
Authority
CN
China
Prior art keywords
address
care
mobile node
binding relationship
data
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.)
Granted
Application number
CN 200810181043
Other languages
Chinese (zh)
Other versions
CN101742485B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200810181043 priority Critical patent/CN101742485B/en
Priority to PCT/CN2009/072070 priority patent/WO2010057379A1/en
Publication of CN101742485A publication Critical patent/CN101742485A/en
Application granted granted Critical
Publication of CN101742485B publication Critical patent/CN101742485B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/082Mobility data transfer for traffic bypassing of mobility servers, e.g. location registers, home PLMNs or home agents
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]

Abstract

The embodiment of the invention discloses a method and a device for transmitting data. The method comprises the following steps: receiving data transmitted to a home address of a mobile node; searching a binding relationship between the home address and a care-of address of the mobile node; transmitting the data according to the binding relationship; and transmitting the binding relationship to a former hop router. In the embodiment of the invention, the received data transmitted to the home address of the mobile node is directly transmitted to the care-of address of the mobile node through the binding relationship between the home address and the care-of address, so that the data does not need to be transmitted to the home address first and then transmitted to the care-of address from the home address, data transmission routes are decreased, network data transmission quantity is reduced, and network congestion is avoided.

Description

A kind of method and apparatus that sends data
Technical field
The embodiment of the invention relates to the communications field, relates in particular to a kind of method and apparatus that sends data.
Background technology
The increasingly extensive application of the develop rapidly of internet and mobile computer has promoted the research of people to the mobile computer wireless access, promptly to the research of mobile Internet.As other desktop computers user, mobile computer user expectation can be in any place, access network, shared resource and service any time.In order to realize above-mentioned dream, will solve global mobility support issue.Aspect the mobility support, according to processing level difference to moving, there are three kinds of different notions: (1) moving on application layer, mainly be meant moving of user or application, for example certain dial user from first move to can use behind the second ground original user authentication information, second dial up on the telephone; (2) move at the IP layer, refer to the user and the terminal equipment that carries can move between IP network, promptly can be between multiple mobile physics net (such as WLAN (wireless local area network) and digital mobile telephone network) seamless switching; (3) move in physical layer, as WLAN, GPRS, user and the terminal equipment that carries thereof can be roamed in the physics coverage of network.Along with the arrival of information age, there are a lot of aspects to require network layer, i.e. IP mobility.
Mobile IP is exactly wherein a kind of scheme that locomotive function is provided on fhe global the Internet, and it has extensibility, reliability and fail safe, and makes node still can remain on the communication of carrying out when handoff links.Mobile IP provides a kind of IP routing mechanism, is that mobile node can be connected on any link with a permanent IP address.The requirement of various data services makes mobile IP finally become inevitable choice in the mobility of future communications and roaming property, the mobile communication.
Because mobile IP self limiting when design, the obstacle that exists some to overcome makes mobile IP can't use on a large scale at present.Yet, it seems that from the development of IETF relevant criterion among mobile IP was in always and constantly improves, a large amount of scholars and researcher made hard effort for the improvement of mobile IP.
In the prior art, can adopt MIPv6 (Mobile IPv6, mobile IP v 6) technology to realize mobile IP.Work the same with router when MIPv6MN (Mobile Node, mobile node) is connected on its home link with any fixing main frame.When mobile node was connected on its foreign link, its adopted the address automatic distributing method of IPv6 definition to obtain Care-of Address on the foreign link.Because mobile IP v 6 does not have Foreign Agent, so unique a kind of Care-of Address is a co-located care-of address in the mobile IP v 6, mobile node decides any method that adopts with the M position in the router broadcast message of accepting.If the M position is 0, mobile node adopts passive address to dispose automatically so, and the address disposes automatically otherwise mobile node adopts initiatively.
Mobile node is notified to home agent with its Care-of Address.If the fail safe in the time of can guaranteeing to operate, mobile node are also notified several communication nodes with its Care-of Address.
In implementing process of the present invention, the inventor finds to exist at least in the prior art following shortcoming:
Mobile IP is a macro-mobility, manages a large amount of mobile nodes, and the MN quantity that can appear at the last registration of a HA (HomeAgent, home agent) is too much, the single point failure problem occurs; Equally, in HMIPv6 (Hierarchical Mobile IPv6, hierarchy motion Ipv 6), because MN independently selects MAP (Mobile Anchor Point, mobile attachment point), may cause some MAP to bear more proxy task, thereby also the single point failure problem can occur.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus that sends data, and the data that will mail to the home address of mobile node with realization directly send to the Care-of Address of this mobile node, thereby optimize data transfer path, reduce the network data transmission amount.
The embodiment of the invention provides a kind of method that sends data, may further comprise the steps:
Reception is to the data of the home address transmission of mobile node;
Search the home address of described mobile node and the binding relationship of Care-of Address;
Send described data according to described binding relationship;
Upwards a hop router sends described binding relationship.
The embodiment of the invention also provides a kind of device that sends data, comprising:
Receiving element is used to receive the data to the home address transmission of mobile node;
Search the unit, be used to search the home address of described mobile node and the binding relationship of Care-of Address;
First transmitting element is used for searching the binding relationship that the unit finds and sending described data according to described;
Second transmitting element, being used for upwards, a hop router sends the described binding relationship that the unit finds of searching.
Compared with prior art, the embodiment of the invention possesses following advantage at least:
Binding relationship by home address and Care-of Address, the data that receive the home address that mails to mobile node are directly sent to the Care-of Address of this mobile node, thereby will these data at first not be transferred to home address, be transferred to Care-of Address by home address again, reduced data transfer path, reduce the network data transmission amount, avoided network congestion.
Description of drawings
The schematic flow sheet of the method that Fig. 1 provides for the embodiment of the invention;
The schematic flow sheet of the method that Fig. 2 provides for another embodiment of the present invention;
Fig. 3 is the configuration diagram of SAE in the embodiment of the invention one application scenarios;
Fig. 4 is the structural representation of system in the embodiment of the invention one application scenarios;
The schematic flow sheet of method in an application scenarios that Fig. 5 provides for the embodiment of the invention;
Fig. 6 disposes configuration diagram in the embodiment of the invention one application scenarios;
The schematic flow sheet of method in an application scenarios that Fig. 7 provides for the embodiment of the invention;
The structural representation of the device that Fig. 8 provides for the embodiment of the invention;
The structural representation of the device that Fig. 9 provides for another embodiment of the present invention;
The structural representation of the device that Figure 10 provides for another embodiment of the present invention;
The structural representation of transmitting element in the device that Figure 11 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is introduced.
The embodiment of the invention provides a kind of method that sends data, as shown in Figure 1, may further comprise the steps:
Step s101 receives the data to the home address transmission of mobile node;
Step s102 searches the home address of mobile node and the binding relationship of Care-of Address;
Step s103 sends data according to above-mentioned binding relationship;
Step s104, upwards a hop router sends above-mentioned binding relationship.
By the method that adopts the embodiment of the invention to provide, binding relationship according to home address and Care-of Address, the data that receive the home address that mails to mobile node are directly sent to the Care-of Address of this mobile node, thereby will these data at first not be transferred to home address, be transferred to Care-of Address by home address again, reduce data transfer path, reduced the network data transmission amount, avoided network congestion.
The embodiment of the invention provides a kind of method that sends data, to reduce the data traffic on HA and HN.As shown in Figure 2, be example with HA, specifically may further comprise the steps:
Step s201, when mobile node moves to field network, when Correspondent Node sent data to mobile node, these data can mail to the home link of mobile node, and home agent sends to data by the tunnel Care-of Address place of mobile node.Simultaneously binding update messages is oppositely sent to a last hop router of HA forwarding data, this router is called as OR1.
After step s202, OR1 receive the binding update messages of HA, judge that home address with this MN is the data of destination and is whether the data of destination are forwarded to same router with the Care-of Address of this MN.
If, then send the optimization router and bind non-acknowledge message to OR1, reject this message; Otherwise, receive the binding message of HA transmission and set up the binding information table according to this binding message, preserve the binding relationship in this binding message, send and optimize router binding acknowledgement message as response.
Concrete, when new variation takes place in the position of MN, MN obtains new Care-of Address, send the new Care-of Address of message request registration to HA, this message need send to HA through router OR1, after OR1 receives this message, the home address of preserving in the address information renewal binding relationship table according to MN in this message and the binding relationship of Care-of Address.Then, OR1 can continue this message to send to home agent, also can not send.
When step s203, OR1 received the data that mail to this MN again, OR1 at first searched the binding information table of preservation, if do not find corresponding list item, i.e. and the address information of this MN not in the binding information table, OR1 gives HA with data forwarding; If find corresponding list item, execution in step s204 then.
Step s204, OR1 carry out the secondary encapsulation according to the address information of this MN in the binding information of preserving to receiving the data that mail to this MN; And the binding information of this MN is transmitted to the last hop router OR2 of OR1, OR2 and OR1 repeat the operating process of HA/MAP and OR1.
Concrete, OR1 is encapsulated into the Care-of Address of the MN of preservation on the data, the destination address that makes the data that mail to this MN is the Care-of Address of this MN in the binding information of preserving among the OR1, and OR1 directly mails to this MN by this Care-of Address with data, does not need to transmit through HA.
After OR1 is transmitted to a last hop router OR2 to the binding information of this MN, identical with OR1, OR2 also can preserve the home address of this MN and the binding relationship between Care-of Address, waits when OR2 receives the data that mail to this MN next time, can directly according to the Care-of Address of preserving data be mail to this MN.
The method of the transmission data that the embodiment of the invention provides can be applied in any two mobility network framework, as WLAN (Wireless Local Area Network, WLAN (wireless local area network)), WIMAX (Worldwide Interoperability for Microwave Access, worldwide interoperability for microwave inserts), GPRS (GPRS, General Packet Radio Service) etc.In embodiments of the present invention the router of supporting the movable IP routing optimizing function is called OR (Optimal Router optimizes router), the HA that is distributed on the borde gateway is called EHA.
In the embodiment of the invention, the address forwarding capability of HA is placed to other router in the access network, the functional entity that relates in the embodiment of the invention:
Mobile node (Mobile Node, MN), main frame or router; It is keeping moving to another network or subnet from a network or subnet under the constant situation in IP address.
(Edge Home Agent EHA), has a main frame or the router of a port on the moving nodes local link to the border home agent.When mobile node left home link, it was intercepted and captured and mails to the grouping of mobile node and be transmitted to mobile node, and it also keeps the record of relevant mobile node current location, is distributed on the borde gateway.
Couple in router (Access Router, AR), first hop router of MN accesses network.
OR (Optimal Router optimizes router) can upgrade on general router, also can upgrade on the basis of HA.No matter OR based on which kind of device upgrade, needs to possess following function:
1) sends optimization router binding update messages;
The main purpose that OR is optimized the router Binding Update is for the Care-of Address of mobile node being told the last jumping OR of the OR on HA and this paths of CN.Last one jumps OR mails to the data of this HA with intercepting and capturing, sends the data to mobile node with this address.Therefore home agent must have the correspondence table of a moving nodes local address and Care-of Address, and this correspondence table can be called the binding information table, and a list item in the table just is called binding list item.The main purpose of Binding Update process is exactly the binding list item that produces or upgrade mobile node among the OR.One suboptimization router Binding Update is only effective in certain life span.
2) banding cache;
Support the router OR of mobile IPV6 routing optimality must safeguard a banding cache, be used to deposit the Care-of Address of MN and the binding information table of home address.If there is one in the order way address of the data that send in the binding information table, just use the address in the binding information table.
3) real-time update;
For the accuracy of the binding relationship of the home address of the mobile node that guarantees to preserve among the OR and Care-of Address, OR needs this binding relationship of real-time update.Renewal process is: when new variation takes place in the position of mobile node, dispose when obtaining new Care-of Address, mobile node sends the new Care-of Address of message request registration to HA, and OR intercepts and captures this message.If OR preserves the home address of this mobile node and the binding relationship of Care-of Address, then the address information according to MN in this message upgrades the home address of preservation and the binding relationship of Care-of Address; Otherwise, this message is continued to send to HA.
Concrete, the method for the transmission data that the embodiment of the invention provides is:
1, home agent HA multicast or broadcast a message that is called agency broadcasting periodically comprises the identification information of this HA in this message.
2, mobile node periodically receives and acts on behalf of broadcast, checks that wherein the identification information of HA oneself is connected on home link or the foreign link with definite.If the identification information of the HA that mobile node receives changes, indicate that then this mobile node is connected on the foreign link.When mobile node was connected on the home link, mobile node operated just as stationary nodes, did not need the function service of mobile IP; If mobile node is found to be connected on the foreign link, then start mobile IP function service.
3, dispose rules when mobile node passes through one when home link moves to foreign link, obtain an IP address as Care-of Address.After obtaining Care-of Address, mobile node is registered this address to home agent, home agent is preserved the Care-of Address of this mobile node, and set up the binding relationship of this Care-of Address and home address, when receiving the message that mails to this moving nodes local address, forwards is arrived the Care-of Address of this mobile node according to this binding relationship.
4, when Correspondent Node when mobile node sends data, these data can mail to the home link of mobile node, and the home agent that is moved node is intercepted and captured.After home agent is intercepted and captured these data, inquiry binding information table, if relevant for the binding information of this mobile node, home agent just takes out the Care-of Address about this mobile node from this binding list item, data is sent to the Care-of Address place of mobile node by the tunnel.
When 5, home agent sends to the Care-of Address place of mobile node to data by the tunnel, also binding update messages is oppositely sent to the last hop router that HA transmits data, this router is called as OR1 temporarily.After OR1 receives the binding message of HA, judge that home address with this MN is the data of destination and is whether the data of destination are forwarded to same router with the Care-of Address of this MN; If, then respond receiveing the response of can not receiving, otherwise receive this binding message to home agent, with its buffer memory, and send optimization router binding acknowledgement message as response.After EHA received this optimization router binding acknowledgement message, it is invalid that the corresponding cache binding list item is set to.When OR1 received the data that mail to this MN again, OR1 at first can remove to search the binding information table of preservation, if find corresponding list item, OR1 continues to give HA with data forwarding.
If 6 find corresponding list item, on the one hand, OR1 will be according to the binding information of preserving, these data are carried out the secondary encapsulation, destination address is the Care-of Address of home address correspondence, these data are routed directly to Care-of Address by the tunnel, and need not be routed to HA earlier, and HA is forwarded to Care-of Address more then.
7, on the other hand, OR1 is transmitted to a last hop router OR2 to this MN binding information, and OR2 is a router from the data of MN to OR1 that transmit.Receive the response message of OR2 as OR1 after, it is invalid that binding message that should MN is changed to.When OR2 receives the binding message of OR1 and mails to the data of MN, carry out the action of class OR1, mail to the data of MN on the one hand, the hop router that makes progress is on the one hand sent out binding message, till binding message can not be pushed.
8, when new variation took place in the position of MN, MN obtained new Care-of Address, sent the new Care-of Address of message request registration to home agent, and this message is intercepted and captured by OR1.The home address of preserving in the updating location information binding relationship table of OR1 according to mobile node in this message and the binding relationship of Care-of Address; After the data of this MN are mail in OR1 intercepting and capturing next time, these data are mail to the new Care-of Address of this MN according to the home address of this MN after upgrading and the binding relationship of Care-of Address.Behind the home address that the OR1 renewal is preserved and the binding relationship of Care-of Address, this registration message can be continued to send to home agent, also can not send.
In the method for the transmission data that the embodiment of the invention provides, optimization router message and structure thereof are:
The realization of the function of HA/MAP dynamic transfer needs three message:
1, optimizes the router binding update messages;
2, optimize router binding acknowledgement message;
3, optimize router and bind non-acknowledge message.
The message format of the embodiment of the invention is based on mobile header and expands.Mobile header is an extension header of IPV6 header, and mobile header also is mobile node, peer node and home agent created and managed all relevant message uses in binding a extension header.
1, optimizes router binding update messages and form
Optimize router decision when certain the binding update messages of certain MN is transmitted to its last when jumping optimization router OR2, will utilize this message.The optimization router sends this message mutually and notifies the home address of MN and the corresponding relation of Care-of Address, and the form of this message is as shown in table 1.
Table 1
Figure G2008101810439D0000081
Parameters is specially in the table one:
The payload agreement, the selector of 8bit, expression is immediately following the header type of mobile header.This field is used to further expand.
Header length, 8 signless integers are that header length is moved in unit representation with 8B, do not comprise preceding 8B, mobile header length must be the integer multiple of 8bit.
The selector of mobile header type, 8bit, the route-optimization message type that expression is being discussed.
Keep, use the 8bit field that keeps for future.Transmit leg must be 0 with value initialization, and the recipient must ignore this field.
Verification and, 16 signless integers, this field comprise mobile header verification and.
A, be used for requiring peer node will return a binding acknowledgement after receiving Binding Update, H/L/K is the definition in the mobile IP v 6 in addition.
O, this field represent whether be the router optimization Binding Update, and it is the router optimization Binding Update that 1 expression is put in this position, and putting 0 expression is the Binding Update of normal definitions among the MIPv6.
Reservation, unused bytes.Transmit leg must be 0 with this value initialization, and the recipient must ignore this field.
Sequence number, 16 signless integers, the coupling that is used to optimize the router Binding Update and optimizes the router binding acknowledgement.
The life cycle of the Binding Update of life cycle, this MN.
The effective length field of mobile option, complete mobile header is the integral multiple of 8B, and this field comprises 0 or the mobile option of more TLV coding, and the following option is effective in this Binding Update:
1) home address option
2) Care-of Address option
Mobile option is at the coding of mobile messaging residue message field, and type of service-length-value (TLV) form is as shown in table 2:
Table 2
Option type Option Option data
Parameters is specially in the table 2:
Option type, the moving option type sign of 8 displacements, local Care-of Address option type is 16, the Care-of Address option type is 3.When the option type value side of not being received discerned, the recipient skipped this option, remaining option in the correct processing messages.
Option, 8 signless integers are the length of unit representation mobile option with the byte, the home address option, and the length of Care-of Address option all is 16.
Option data, effective length data.
2, optimize router binding acknowledgement message/optimization router and bind non-acknowledge message
When OR2 receives the router binding update messages, according to certain condition, for example whether all belong to this router according to the home address of mobile node and the Care-of Address of mobile node, judge whether to receive this message.If condition satisfies, OR2 sends to OR1 and optimizes router binding acknowledgement message.Optimize router binding acknowledgement message and be used for confirming optimization router binding update messages.
When OR2 receives the router binding update messages,, whether receive this message according to certain condition judgment.If condition does not satisfy, OR2 sends the optimization router to OR1 and binds non-acknowledge message.
This message format is as shown in table 3:
Table 3
Figure G2008101810439D0000101
Parameters is specially in the table 3:
The selector of payload agreement, 8bit, expression is immediately following the header type of mobile header.This field is used to further expand.
Header length, 8 signless integers are that header length is moved in unit representation with 8B, do not comprise preceding 8B, and mobile header length must be the integer multiple of 8bit.
The selector of mobile header type, 8bit, the route-optimization message type that expression is being discussed.
Keep, use the 8bit field that keeps for future.Transmit leg must be 0 with value initialization, and the recipient must ignore this field.
Verification and, 16 signless integers, this field comprise mobile header verification and.
State, 8 signless integers are used to represent that the router Binding Update is received situation.Wherein 1 expression receives, 0 expression refusal.Other integer is used for expansion from now on.
K, whether need to consult security association automatically, 1 expression needs are set, be provided with 0 and do not need represent.
Reservation, transmit leg must be initialized as 0 with retention, and the recipient must ignore this field.
Sequence number, the sequence number of optimizing in the router affirmation duplicate from the router optimization Binding Update.
The life cycle of the Binding Update of life cycle, this MN, if be rejected, this option is with invalid.
Mobile option, 0 expression receive binding, 1 expression refusal binding.
By the method that adopts the embodiment of the invention to provide, judge binding update messages, shunt the route data amount of HA/MAP step by step, thereby utilize dynamic adjustment router, reduce the HA data traffic.
Below in conjunction with a concrete application scenarios the present invention is further introduced.The method of the transmission data that provide with the embodiment of the invention is applied as example in 3GPP (3rd Generation Partnership Project, third generation partner program).
Along with the continuous development of the communication technology, various new wireless access wide band technologies continue to bring out, and 3G (3rd Generation, third generation digital communication) system has been formed challenge, and 3GPP has proposed System Architecture Evolution project SAE, and its framework as shown in Figure 3.
IP-based 3GPP business will provide by different access technologies, therefore will support the seamless mobility between the different access technologies, as WLAN and non-3GPP connecting system.In order to solve mobility, one of scheme that 3GPP proposes is exactly MIP.
The SAE/LTE framework is following important evolution architecture, an important directions of this architecture evolution is the network flattening, reduce the Signalling exchange time delay, the evolution in SAE/LTE framework future is function and eNB (the evolved Node-B with gateway, evolved base station) function merges, the present invention can implement at this framework, comprehensive top many-sided consideration, and specific embodiments of the present invention is as shown in Figure 4.
ENB has MAP function and OR function simultaneously.Miscellaneous equipment, as equipment in operator's net, eNB disposes IP as OR1, OR2, OR3 and HA.
When MN switches to another MAP from a MAP, in order to save signaling, when not carrying out the MAP renewal, rich road phenomenon will appear, will carry out the dynamic adjustment of MAP according to the present invention.
Concrete, the method that the HA/MAP that utilizes the embodiment of the invention to provide dynamically adjusts is carried out dynamic MAP adjustment and Signalling exchange, as shown in Figure 5, may further comprise the steps:
Step s501, MN sends local Binding Update to first equipment and HA.
Above-mentioned first equipment is the equipment that comprises MAP1, eNB and OR function.In the time of in MN moves to the first equipment scope, MN need send local Binding Update.MN sends local Binding Update to first equipment, and send Binding Update to HA simultaneously, first equipment and HA receive local Binding Update and Binding Update according to certain condition, and binding message is cached in the binding table, then, send local Binding Update affirmation and Binding Update affirmation conduct response respectively to MN, the Binding Update when MN moves is finished.
Step s502, first equipment and HA send to MN with CN to the datagram that MN sends according to Binding Update.
CN and MN communication, the datagram that CN mails to MN is intercepted and captured by HA, sends to first equipment with tunnel style then, and first equipment receives that this datagram removes outside IP header, with the new Care-of Address of MN is that destination address carries out the encapsulation of IP header again, promptly mails to MN with tunnel style again.
Step s503, MN obtain new Care-of Address at the MAP3/Enb/OR place, and new Care-of Address is registered to first equipment.
When MN is postponed the MAP2/Enb/OR direction when moving to MN at MAP3/Enb/OR, according to EMAP draft agreement, MN obtains new Care-of Address at the MAP3/Enb/OR place, and new Care-of Address is registered to first equipment.
Step s504, first equipment mails to MN according to new Care-of Address with the data of CN.
The data forwarding process of this moment is still constant, and the datagram that CN mails to MN is intercepted and captured by HA, sends to first equipment with tunnel style then.First equipment is received the outside IP header of this datagram dismounting, is that destination address carries out the encapsulation of IP header again with the new Care-of Address of MN, promptly mails to MN with tunnel style.
Step s505, first equipment pass through OBU message transfers partial function to the OR1 router.
The local banding cache that to preserve according to it oneself is assembled into OBU message, sends to its a last router OR1, and OR1 receives OBU, will if satisfy condition of acceptance, will send OBA message receiveing the response as OBU according to top rule judgment.This moment, the partial function of first equipment was transferred to the OR1 router.
Step s506, OR1 handles and sends to MN the data that CN sends.
The datagram that CN mails to MN is intercepted and captured by HA, sends to OR1 with tunnel style then, and OR1 receives this datagram, removes outside IP header, is that destination address carries out the encapsulation of IP header again with the new Care-of Address of MN, promptly mails to MN with tunnel style.
In this process, if new variation takes place in the position of MN, obtain new Care-of Address, then OR1 intercepts and captures the request message of this MN to the Care-of Address registration of home agent transmission, the home address of preserving in the Care-of Address renewal binding relationship table according to MN in this message and the binding relationship of Care-of Address.
Step s507, OR1 pass through OBU message transfers partial function to the OR2 router.
Continue the adjustment process of dynamic MAP then, the local banding cache that OR1 preserves oneself it is assembled into OBU message, sends to its a last router OR2, and OR2 receives OBU, will will return OBA message if receive according to top rule judgment.This partial function with MAP has been adjusted to the OR router and has been carried out.
Step s508, OR2 handles and sends to MN the data that CN sends.
When CN again when MN sends datagram, intercepted and captured by HA, send to OR2 with tunnel style then.After OR2 receives this datagram, removing outside IP header, is that destination address carries out the encapsulation of IP header again with the new Care-of Address of MN, promptly mails to MN with tunnel style.
In above-mentioned steps s507-508, with identical among the step s506, when the Care-of Address of MN changes, the Care-of Address of the MN that real-time update is preserved and the banding cache of home address.
Below in conjunction with the Another Application scene the present invention is introduced.
WLAN (wireless local area network) (Wireless Local Area Networks, WLAN), be meant with the LAN (Local Area Network) of wireless channel as transmission medium, be the important supplement and the extension of wired networking mode, and become vital part in the computer network gradually, needing to be widely used in removable data to handle the field that maybe can't carry out the physical transmission medium wiring.
The deployment framework of the present invention in WLAN as shown in Figure 6.Wherein, AP is the access point of WLAN, has OR function and home agent function simultaneously.Identical in the function of OR and message structure and the above-mentioned 3G application scenarios.
Concrete, the detailed process of method under this framework of the transmission data that the embodiment of the invention provides may further comprise the steps as shown in Figure 7:
Step s701, in the time of in MN moves to the second equipment scope, MN sends binding update messages and tells second equipment its new Care-of Address.This second equipment is the equipment that comprises AP, HA1 and OR function.
Step s702, CN and MN communication, the datagram that CN mails to MN is intercepted and captured by second equipment, sends to MN with tunnel style then.
Step s703, when MN is postponed the AP/HA2/OR direction when moving to AP/HA3/OR, MN obtains new Care-of Address at the AP/HA3/OR place, and new Care-of Address is registered to second equipment.
Step s704, CN and MN communication, the datagram that CN mails to MN is intercepted and captured by second equipment, sends to MN with tunnel style then.
Step s705, second equipment sends local banding cache to OR1, carries out routing optimality.
The local banding cache that second equipment is preserved oneself it is assembled into OBU message, sends to its a last router OR1, and OR1 receives OBU, will will return OBA message if receive according to top rule judgment, and this routing optimality is finished.
The datagram that step s706, CN mail to MN is intercepted and captured by OR1, is that destination address carries out the encapsulation of IP header again with the new Care-of Address of MN, promptly mails to MN with tunnel style.
Step s707, OR1 sends local banding cache to OR2, carries out routing optimality.
The local banding cache that OR1 preserves oneself it is assembled into OBU message, sends to its a last router OR2, and OR2 receives OBU, will will return OBA message if receive according to top rule judgment, otherwise return NOBA, and this routing optimality is finished.
The datagram that step s708, CN mail to MN is intercepted and captured by OR2, and OR2 receives that this newspaper removes outside IP header, is that destination address carries out the encapsulation of IP header again with the new Care-of Address of MN, promptly mails to MN with tunnel style.
In the step that provides in the embodiment of the invention, identical with above-mentioned embodiment, when the Care-of Address of MN changes, the Care-of Address of the MN that OR1, OR2 real-time update are preserved and the banding cache of home address.
By the method that adopts the embodiment of the invention to provide, do not change the protocol software of existing communication main frame, and some router on network topology is suitably optimized, increase function corresponding, avoid MN to send signaling and carry out routing optimality, realized dynamic adjustment, optimized route the HA/MAP partial function.Adjustment by HA is distributed can reduce the obstruction on HA and HN, just mails to HA and HN, and data and signaling packet that HA and HN send out can reduce failure.
The embodiment of the invention provides a kind of device that sends data, as shown in Figure 8, comprising:
Receiving element 81 is used to receive the data to the home address transmission of mobile node;
Search unit 82, be used to search the home address of mobile node and the binding relationship of Care-of Address;
First transmitting element 83 is used for according to searching the binding relationship transmission data that unit 82 finds;
Second transmitting element 84 is used for upwards hop router transmission and searches the binding relationship that unit 82 finds.
Another embodiment of the present invention provides a kind of device that sends data, as shown in Figure 9, comprising:
Message sink unit 91 is used to receive the binding update messages about the home address of mobile node; Comprise the home address of mobile node and the binding relationship of Care-of Address in the binding update messages.
Table is set up unit 92, and the binding relationship that is used for the binding update messages that receives according to message sink unit 91 is set up the binding relationship table; The home address of binding relationship table storage mobile node and the binding relationship of Care-of Address.
Judging unit 93 is used for judging according to the binding relationship table whether the home address of mobile node and the Care-of Address of mobile node all belong to this router.
Preserve unit 94, be used for judging unit 93 judged results for not the time, preserve the home address of mobile node in the binding update messages and the binding relationship of Care-of Address.
Receiving element 95 is used to receive the data to the home address transmission of mobile node.
Search unit 96, be used to search the home address of mobile node and the binding relationship of Care-of Address.
First transmitting element 97 is used for according to searching the binding relationship transmission data that unit 96 finds.
Second transmitting element 98 is used for upwards hop router transmission and searches the binding relationship that unit 96 finds.
Another embodiment of the present invention provides a kind of device that sends data, as shown in figure 10, comprising:
Registering unit 101 is used to receive the registration message about the Care-of Address of mobile node.
Updating block 102, the Care-of Address that is used for the registration message that receives according to registering unit 101 upgrades the home address of mobile node and the binding relationship of Care-of Address.
Receiving element 103 is used to receive the data to the home address transmission of mobile node.
Search unit 104, be used to search the home address of mobile node and the binding relationship of Care-of Address.
First transmitting element 105 is used for according to searching the binding relationship transmission data that unit 104 finds.
Second transmitting element 106 is used for upwards hop router transmission and searches the binding relationship that unit 104 finds.
Wherein, the structure of transmitting element 83 comprises as shown in figure 11:
Encapsulation subelement 831, the destination address that is used for encapsulation of data is the Care-of Address of binding relationship mobile node;
Send subelement 832, be used for the Care-of Address of the data after the encapsulation to mobile node sent.
Said apparatus is specifically as follows home agent, mobile attachment point or router.
By the device that adopts the embodiment of the invention to provide, binding relationship according to home address and Care-of Address, the data that receive the home address that mails to mobile node are directly sent to the Care-of Address of this mobile node, thereby will these data at first not be transferred to home address, be transferred to Care-of Address by home address again, reduce data transfer path, reduced the network data transmission amount, avoided network congestion.
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 some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. a method that sends data is characterized in that, may further comprise the steps:
Reception is to the data of the home address transmission of mobile node;
Search the home address of described mobile node and the binding relationship of Care-of Address;
Send described data according to described binding relationship;
Upwards a hop router sends described binding relationship.
2. the method for claim 1 is characterized in that, also comprises before the binding relationship of the described home address of searching described mobile node and Care-of Address:
Reception is about the binding update messages of the home address of described mobile node; Comprise the home address of described mobile node and the binding relationship of Care-of Address in the described binding update messages;
Set up the binding relationship table according to the binding relationship in the described binding update messages; Described binding relationship table is stored the home address of described mobile node and the binding relationship of Care-of Address.
3. method as claimed in claim 2 is characterized in that, described foundation according to the binding relationship in the described binding update messages also comprises after the binding relationship table:
Judge according to described binding relationship table whether the home address of described mobile node and the Care-of Address of described mobile node all belong to this router;
If described judged result is preserved the home address of mobile node in the described binding update messages and the binding relationship of Care-of Address for not.
4. the method for claim 1 is characterized in that, also comprises before the binding relationship of the described home address of searching described mobile node and Care-of Address:
Reception is about the registration message of the Care-of Address of described mobile node;
Upgrade the home address of mobile node and the binding relationship of Care-of Address according to the Care-of Address in the described registration message.
5. the method for claim 1 is characterized in that, described described data transmissions to the Care-of Address of described mobile node according to described binding relationship comprises:
The destination address that encapsulates described data is the Care-of Address of mobile node in the described binding relationship;
The Care-of Address of data after the described encapsulation to described mobile node sent.
6. a device that sends data is characterized in that, comprising:
Receiving element is used to receive the data to the home address transmission of mobile node;
Search the unit, be used to search the home address of described mobile node and the binding relationship of Care-of Address;
First transmitting element is used for searching the binding relationship that the unit finds and sending described data according to described;
Second transmitting element, being used for upwards, a hop router sends the described binding relationship that the unit finds of searching.
7. device as claimed in claim 6 is characterized in that, also comprises:
The message sink unit is used to receive the binding update messages about the home address of described mobile node; Comprise the home address of described mobile node and the binding relationship of Care-of Address in the described binding update messages;
Table is set up the unit, and the binding relationship that is used for the binding update messages that receives according to described message sink unit is set up the binding relationship table; Described binding relationship table is stored the home address of described mobile node and the binding relationship of Care-of Address.
8. device as claimed in claim 7 is characterized in that, also comprises:
Judging unit is used for judging according to described binding relationship table whether the home address of described mobile node and the Care-of Address of described mobile node all belong to this router;
Preserve the unit, be used for described judgment unit judges result for not the time, preserve the home address of mobile node in the described binding update messages and the binding relationship of Care-of Address.
9. device as claimed in claim 6 is characterized in that, also comprises:
Registering unit is used to receive the registration message about the Care-of Address of described mobile node;
Updating block, the Care-of Address that is used for the registration message that receives according to described registering unit upgrades the home address of mobile node and the binding relationship of Care-of Address.
10. device as claimed in claim 6 is characterized in that, described transmitting element comprises:
The encapsulation subelement, the destination address that is used for encapsulating described data is the Care-of Address of described binding relationship mobile node;
Send subelement, be used for the Care-of Address of the data after the described encapsulation to described mobile node sent.
11., it is characterized in that described device is specially home agent, mobile attachment point or router as each described device of claim 6-10.
CN 200810181043 2008-11-21 2008-11-21 Method and device for transmitting data Expired - Fee Related CN101742485B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200810181043 CN101742485B (en) 2008-11-21 2008-11-21 Method and device for transmitting data
PCT/CN2009/072070 WO2010057379A1 (en) 2008-11-21 2009-06-01 Method for sending data and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810181043 CN101742485B (en) 2008-11-21 2008-11-21 Method and device for transmitting data

Publications (2)

Publication Number Publication Date
CN101742485A true CN101742485A (en) 2010-06-16
CN101742485B CN101742485B (en) 2013-01-09

Family

ID=42197825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810181043 Expired - Fee Related CN101742485B (en) 2008-11-21 2008-11-21 Method and device for transmitting data

Country Status (2)

Country Link
CN (1) CN101742485B (en)
WO (1) WO2010057379A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458398A (en) * 2012-05-28 2013-12-18 电信科学技术研究院 Method and equipment for transmitting data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100438682C (en) * 2004-05-14 2008-11-26 华为技术有限公司 Method of dynamic allocating home address remotely for mobile IPv6 node
CN1816002A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Method for realizing home town-agent retransmission message in mobile IP network
US20060280146A1 (en) * 2005-06-14 2006-12-14 Nokia Corporation Handover support for multiple types of traffic
CN101051986B (en) * 2006-05-15 2010-04-07 华为技术有限公司 Method and device for realizing quick switch

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458398A (en) * 2012-05-28 2013-12-18 电信科学技术研究院 Method and equipment for transmitting data
CN103458398B (en) * 2012-05-28 2017-02-08 电信科学技术研究院 Method and equipment for transmitting data

Also Published As

Publication number Publication date
CN101742485B (en) 2013-01-09
WO2010057379A1 (en) 2010-05-27

Similar Documents

Publication Publication Date Title
Campbell et al. An overview of cellular IP
Reinbold et al. IP micro-mobility protocols
JP4794520B2 (en) System, access gateway, home agent, and program for optimizing communication path in network-driven mobility management protocol
CN101810015B (en) Traffic localization with proxy mobility
CN102196402B (en) The method and system of terminals in wireless communication systems switching
JP5059129B2 (en) Registration of mobile terminals in overlapping cell coverage areas by the first and second networks
CN100558076C (en) Mobile terminal apparatus and changing method thereof
US20070280149A1 (en) Mobile node, base station, router and packet communication system
CN101026544A (en) Hierarchical mobility IPv6 rapid switching method and system
CN102123378A (en) Method for switching terminal and corresponding communication network
JP2006080930A (en) Communication system, server, router and mobile terminal
JP2004112727A (en) Mobile telecommunications control system, mobile communication control method, and router, server and data structure preferably used for the system and method
CN104301445A (en) Mobile Internet data transmission method and system
US8824353B2 (en) Mobility route optimization in a network having distributed local mobility anchors
Wang et al. A routing scheme for connecting delay-sensitive urban vehicular networks to the IPv6-based internet
CN1964317A (en) A method and system to optimize route in wireless access network
Zhang et al. Design and performance of mobile IP paging
Campbell et al. Internet micromobility
CN101964968A (en) Method and system for inquiring domain name in mobile terminal
Gohar et al. A distributed mobility control scheme in LISP networks
CN101114995A (en) Routing optimization method and device for packet mobile network
WO2007066866A1 (en) Routing optimization method
CN101742485B (en) Method and device for transmitting data
JP5311889B2 (en) COMMUNICATION SYSTEM, MOBILE COMMUNICATION DEVICE, HOME AGENT, AND COMMUNICATION METHOD
Majumder et al. Implementation of enhanced forward pointer-based mobility management scheme for handling internet and intranet traffic in wireless mesh network

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130109

Termination date: 20131121