CN101848164B - Method for realizing stream distribution and stream re-direction based on multi-home host extension HIP protocol - Google Patents

Method for realizing stream distribution and stream re-direction based on multi-home host extension HIP protocol Download PDF

Info

Publication number
CN101848164B
CN101848164B CN2010101931445A CN201010193144A CN101848164B CN 101848164 B CN101848164 B CN 101848164B CN 2010101931445 A CN2010101931445 A CN 2010101931445A CN 201010193144 A CN201010193144 A CN 201010193144A CN 101848164 B CN101848164 B CN 101848164B
Authority
CN
China
Prior art keywords
message
receiving terminal
address
redirected
transmitting terminal
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
CN2010101931445A
Other languages
Chinese (zh)
Other versions
CN101848164A (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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN2010101931445A priority Critical patent/CN101848164B/en
Publication of CN101848164A publication Critical patent/CN101848164A/en
Application granted granted Critical
Publication of CN101848164B publication Critical patent/CN101848164B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for realizing stream distribution and stream re-direction based on multi-home host extension HIP protocol, which is used for extending the traditional HIP protocol and adding a redirection request message, a redirection response message, a redirection acknowledgement message and other messages, thereby not only enhancing the multi-interface support of HIP protocol but keeping perfect compatibility with the traditional HIP protocol to ensure that a data receiving end can set a plurality of different receiving interfaces according to various types of data and the data transmission efficiency and the network utilization rate are improved. When implemented, the method realizes the communication of a host or terminal by only needing to keep the former destination address of the host or terminal which cannot recognize the extension information of the invention. Therefore, the deployment and popularization of the invention can be promoted step by step. Moreover, the operation steps of the invention are simple, convenient and easy to implement, only the related protocol of the host needs extension and no modification is required for other network elements of the network, and thus the modification workload of the traditional communication network is very small. Therefore, the invention has perfect popularization and application prospect.

Description

Realize the method that stream distributes and stream is redirected based on multi-home host Extended Protocol HIP
Technical field
The present invention relates to a kind ofly realize the method that stream distributes and stream is redirected based on multi-home host expansion HIP agreement, belong to the Internet communication technology field.
Background technology
Now, increasing host configuration has a plurality of network interfaces, and these network interfaces both can be realized at a plurality of physical interfaces of main frame configuration, and also can realize by the combination of physical interface and logic interfacing.Such as, current mobile device (mobile phone or notebook computer) is usually by a plurality of interfaces (wired, wireless etc.) interconnection network.These interfaces can be connected to identical network, also can be connected to different networks.
Along with popularizing and development of network, the user has proposed requirements at the higher level to the transmission performance of network, in band-limited situation, how to have become a major issue for the user provides high performance service.The existence of many interfaces main frame is so that provide better service to become possibility under finite bandwidth.Because the difference of the current available bandwidth of the network that each interface connects, congestion situation etc., cause each interface that different service quality can be provided, if data allocations can be arrived preferably interface of network condition, perhaps be assigned to simultaneously on a plurality of interfaces and transmit, can improve service quality, make the user obtain better service experience.
But, because the IP address of a plurality of interfaces is different, in the current network architecture, IP is not only station location marker in the address, also be host identification simultaneously, transport layer and IP address binding together, transmit leg can't be associated with same application stream on a plurality of IP address, and recipient's upper layer application also can't distinguish from the different pieces of information bag of the purpose IP address that a plurality of interfaces are received whether belong to same stream.
Host identity protocol HIP(Host Identity Protocol) by between transport layer and network layer, increasing host identity layer, this layer employing host identification HI(Host Identity) identifies main frame, so that the IP address only is the station location marker of main frame, thereby the host identification function of IP address is separated, cut off the close-coupled of network layer and transport layer, made application layer be connected connection with transport layer and be not subjected to the impact of IP address change.In the HIP agreement, as long as determine host identification HI, just can distinguish upper layer application according to host identification and port numbers, and routing function is only played in purpose IP address, when the IP address changes in a connection, the HIP agreement is that the host identification HI of terminal distribution remains unchanged, and provides convenience thereby use when being many interfaces.
Existing HIP agreement is supported the scene of multi-home host, namely support a main frame to exist the mode of the situation of a plurality of IP address to be: multi-home host by upgrade (Update) message will oneself a plurality of IP available address notifications to Correspondent Node, specify simultaneously one of them IP address as the first-selected IP address (Preferred IP) of communicating by letter.With the communication process of opposite end in, the opposite end main frame selects an IP address to communicate as primary address in a plurality of available address of multi-home host, when unreachable or multi-home host was specified another primary address when this IP address, the opposite end main frame just became new primary address (referring to RFC5206) with the destination address of current use.Therefore, although may there be a plurality of usable interfaces in multi-home host, but, existing HIP agreement only sends to each stream on the IP address simultaneously, be that Correspondent Node only selects the first-selected IP address of multi-home host appointment as destination address, the a plurality of usable interfaces that do not take full advantage of simultaneously multi-home host are dispatched data stream, and multi-home host can not be selected suitable network interface according to the application data that is characterized as of using, to improve efficiency of transmission and network utilization; Simultaneously, existing HIP agreement is based on main frame for the change of interface carries out, and is not to carry out underaction for certain stream.These defectives just become the technical bottleneck that the HIP agreement expand to be used, and how solve as early as possible redistributing of data flow and directed technical task again for the current available bandwidth of network and the situation such as congested, just become the in the industry focus of scientific and technical personnel's concern.
Summary of the invention
In view of this, the purpose of this invention is to provide and a kind ofly realize the method that stream distributes and stream is redirected based on multi-home host expansion HIP agreement, the method is that the HIP agreement is expanded, under the immovable prerequisite of host identification, data flow is switched to another interface or is assigned on a plurality of interfaces from an interface of main frame, in order to take full advantage of a plurality of interfaces of main frame, improve the utilance of data transfer efficient and network.
In order to achieve the above object, the invention provides and a kind ofly realize the method that stream distributes and stream is redirected based on multi-home host expansion host identity protocol HIP, it is characterized in that: existing HIP agreement is expanded, the receiving terminal of data increases a plurality of redirect messages, so that can be a plurality of different receiving interfaces of dissimilar data settings; Described method comprises following operating procedure:
(1) before communication, the host identification that transmitting terminal and receiving terminal are set up both sides by the basic exchange process of HIP agreement is related;
(2) receiving terminal uses the finger URL LOCATOR parameter in the updating message is appended a plurality of new IP address from receiving terminal to transmitting terminal;
(3) after transmitting terminal receives the updating message that receiving terminal sends, upgrade first host identification related and and receiving terminal between binding information, send again the response message of this updating message to the new IP address of receiving terminal;
(4) after receiving terminal receives the response message of this updating message that transmitting terminal sends, feed back the affirmation message of this updating message to transmitting terminal; Receive the affirmation message of this updating message when transmitting terminal after, just think that the new IP address of receiving terminal is effective;
(5) for improving efficiency of transmission, receiving terminal is filed a request to transmitting terminal with the redirect request message that carries the redirect request option, require transmitting terminal with the Packet Generation of certain application to another or a plurality of interface;
(6) transmitting terminal is redirected the redirected response message notice receiving terminal of replying option by carrying: a plurality of IP address of carrying in its redirect request all is accepted; Perhaps by carrying the redirected response message notice receiving terminal that is redirected failure option, refuse the part IP address in its redirect request message or refuse whole IP address;
(7) after receiving terminal is received the redirected response message of transmitting terminal transmission, send redirected validation message to transmitting terminal: be to be redirected to reply option if be redirected what carry in the response message, then the redirected validation message sent of receiving terminal represents that it has been ready to from corresponding interface receive data; If being redirected what carry in the response message is to be redirected failure option, then the redirected validation message sent of receiving terminal represents that it has been ready to from correct interface receive data; Described correct interface comprises in redirect request message and does not appear at the corresponding interface in IP address in the IP address list of refusal, and when the IP address that comprises in the redirect request message all appeared in the IP address list of refusal, correct interface was the employed interface of ongoing communication;
(8) transition of communications between transmitting terminal and the receiving terminal is carried out to the corresponding one or more interfaces of receiving terminal, and it is constant perhaps to keep original transmission link.
Described updating message is used for receiving terminal and appends a plurality of new IP addresses to transmitting terminal, so that receiving terminal will these a plurality of new IP address notification transmitting terminals by the LOCATOR parameter in this updating message, and to specify one of them be primary address; This updating message comprises following three parameters: encapsulate safe and effective load information, comprise be used to the old and new Security Parameter Index SPI(Security Parameter Index that sets up security association); LOCATOR comprises that receiving terminal wishes the new IP address of appending to transmitting terminal; Umerical sequence number, the updating message of carrying the sequence number parameter show that the receiving terminal of updating message must confirm this updating message that receives.
The response message of described updating message is that transmitting terminal is to the response of the updating message of receiving terminal; The response message of this updating message comprises following three parameters: encapsulate safe and effective load information, comprise be used to the old and new Security Parameter Index SPI that sets up security association; The numerical value of the sequence number in the umerical sequence number, its numerical value and updating message that transmitting terminal receives is identical; The request of echoing that represents with a random number, when comprising in the response message of updating message when echoing required parameter, receiving terminal must be replied this response message, is used for the validity of the new IP address that proof appends.
The affirmation message of described updating message is that receiving terminal is to the affirmation of the response message of the updating message of transmitting terminal; The affirmation message of this updating message comprises following two parameters: confirm, confirm for the response message of this updating message that transmitting terminal is sent; With the answer of echoing that a random number represents, the numerical value of the random number of the request of echoing in the response message of its numerical value and updating message is identical.
Described redirect message is the redirect request and the relevant information of negotiation that be used for to realize receiving terminal between receiving terminal and the transmitting terminal, according to the redirect request option that wherein carries, be redirected four kinds of different options of replying option and redirected failure option, affirmation and be subdivided into: redirect request message, redirected response message and redirected validation message.
Described redirect request message is that receiving terminal uses the redirect request option in this message to send redirect request to transmitting terminal, the request transmitting terminal sends to the data flow of current certain application another or a plurality of purpose IP address of appointment in this redirect request option, so that the realization load balancing improves efficiency of transmission;
This redirect request message format is provided with following six bytes successively: type identifies this message for being redirected request message; Length is indicated this message-length; Life cycle, indicate effective time of this message; Port numbers, the port numbers of receive data is with host identification label HIT(Host Identity Tag) jointly identify a stream; Host identification label, the host identification of receiving terminal; One or more IP address of switching is set in this option in turn.
Described redirected response message is by the response that whether the IP address that transmitting terminal proposes according to receiving terminal can reach or other situations are made being redirected request message, comprises following two kinds of response messages:
Carry the redirected response message of be redirected replying option: the expression transmitting terminal is accepted the stream redirect request of receiving terminal, and according to the requirement of redirect request message flow point is fitted on another or a plurality of interface; Perhaps keeping original stream distributes constant; This response message form is provided with following five bytes successively: type identifies the option type in this response message; Length is indicated this message-length; Life cycle, indicate effective time of this message; Port numbers, the port numbers of reception respective stream of data is with stream of the common sign of host identification label; Host identification label, the host identification of receiving terminal;
Carry the redirected response message that is redirected failure option: the stream redirect request of expression transmitting terminal rejection end, redirected failure option wherein is provided with IP address list and the reason for rejection of refusal, and the IP address that comprises in redirect request message, do not occur in the IP address list of refusal then is defaulted as the IP address of being redirected that transmitting terminal is accepted; The form of this response message is provided with following six bytes successively: type identifies the option type in this response message; Length is indicated this message-length; Life cycle, indicate effective time of this message; Port numbers is indicated the port numbers that receives respective stream of data, with stream of the common sign of host identification label; Host identification label, the host identification of receiving terminal; Type of error informs that receiving terminal refuses the reason of this IP address; The IP address of mistake is set in this option in turn.
Described redirect request message relates to one or more IP address that receiving terminal provides, when transmitting terminal refusal wherein partly or entirely during the IP address, transmitting terminal will be with the relevant information notice receiving terminal of the IP address of refusal: return the combination byte of one or more groups type of error and wrong ip address to receiving terminal, and the Reason For Denial of the IP address of each refusal is described one by one.
Described redirected validation message is with the redirect message of confirming, is used for the mutual affirmation of the redirect request message between receiving terminal and the transmitting terminal.
The inventive method is based on host identity protocol HIP, utilizes the host identification HI(Host Identity that increases in the HIP agreement) and port numbers distinguish each stream, need on the basis of original IP bag, not do again extra encapsulation.The HIP agreement is separated host identification with station location marker, make the communication can be because of the change interrupt of position (IP address), this be just for being redirected to another or a plurality of interface provides good precondition with a data flow from an interface of multi-home host.
The advantage of the inventive method is: proposed to use simultaneously the request of a plurality of interfaces by the user, can be according to the active requirement of receiving terminal, certain data flow is switched to another one address/interface from an address/interface, or some flow points are fitted on a plurality of address/interfaces, so just can utilize better a plurality of interfaces of main frame to improve efficiency of transmission and network utilization, realize flow equalization, for the user provides better service.In addition, the present invention is based on Business Stream for the change of interface and carries out, and has better flexibility.When a plurality of network interface loads are very unbalanced, if the work flow on the interface that load flow is large moves on to the less interface of other loads on the main frame, perhaps all flows of mean allocation on a plurality of interfaces of main frame can be realized load balancing, increase network utilization.
The technology of the present invention innovative point is to have expanded redirect request in the HIP agreement, be redirected and reply and the message such as redirected affirmations, thereby has both strengthened the support of HIP agreement to many interfaces, keeps good compatibility with existing HIP agreement again.The inventive method can progressively dispose and promote when implementing, and can not cause confusion to existing communication network or order.And in implementation process, for the terminal of supporting extended method of the present invention with main frame or the communicating by letter of terminal of support extension method all do not have to affect.For the main frame that can not identify extended message of the present invention or terminal, only need keep its original destination address can realize its communication.Therefore, deployment of the present invention and popularization can be carried out step by step, do not need to change on a large scale at short notice the deployment of existing network system.Moreover simple, convenient, the easy row of operating procedure of the present invention only needs the relevant communication protocol of main frame is expanded, and need not carry out any modification to other network elements on the network, and is therefore, very little for the index word of existing communication agreement.So the present invention has good popularizing application prospect.
Description of drawings
Fig. 1 is the time sequential routine schematic diagram that the present invention is based on transmitting terminal and receiving terminal in the method that many locals HIP agreements realizes that stream distributes and stream is redirected;
Fig. 2 is the redirect request message format schematic diagram that the present invention expands the HIP agreement.
Fig. 3 (A), (B) are the form schematic diagrames that carries respectively two kinds of redirected response messages that are redirected answer option and redirected failure option that the present invention expands the HIP agreement.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
As everyone knows, host identity protocol HIP has defined a new name space: host identification HI(Host Identity), be used for the station location marker of host identification and main frame is separated.In legacy network, the IP address of main frame is host identification, also is the station location marker of main frame simultaneously, when re-mapping, the change of IP address means that change has also occured host identification, and application layer conversation must stop connecting, and rebulids with new IP address and to be connected.Based on new NameSpace, the HIP agreement has increased a host identity layer between transport layer and IP layer, removed the host identification function of IP address, and transport layer no longer is tied to the IP address, but is tied to host identification; During re-mapping, host identification can not change, and when address modification occured, the session of upper layer application did not need to rebulid connection like this.
Because the HIP view has encapsulated a host identity layer between IP layer and TCP layer, in data transmission procedure, can be by host identification and stream of port numbers unique identification, no matter whether the address of IP layer changes, the identification of convection current is impact not, therefore in the HIP agreement, be easy to a stream is sent to any one or a plurality of interface of destination, and do not affect upper layer application.Although HIP agreement itself is supported the situation in the many locals of main frame, a plurality of IP address that main frame can the buffer memory opposite end can be selected one as destination address from a plurality of IP address.But, when having many interfaces main frame, existing HIP agreement only sends to an address simultaneously to a stream, when primary address inefficacy or primary address change, just send to another interface, carry out the scheduling that does not utilize well many interfaces to flow but this switching is based on main frame, be not based on stream.
In order to utilize better many interfaces, the present invention expands existing HIP agreement, utilize the constant characteristics of host identification, according to the real time status of network and the demand of application, the related news of increase redirect request, replying and confirming so that the receiving terminal of data can be specified different receiving interfaces for dissimilar data, send to another interface with certain stream, the packet that perhaps will belong to same stream sends on a plurality of interfaces simultaneously, improves efficiency of transmission.
The transmitting terminal of tentation data and receiving terminal all use the HIP agreement, and receiving terminal is multi-home host, and it has two network interfaces: interface 1 and interface 2, their IP address is respectively IP1 and IP2.Before transmitting terminal sends data to receiving terminal, the two need to set up the host identification association by basic exchange (Base Exchange) process of host identity protocol, after only having host identification to be successfully associated foundation, the two just can intercom mutually, when supposing to set up the host identification association, what receiving terminal used is the IP address (IP1) of interface 1.
Transmitting terminal and receiving terminal set up host identification related after, receiving terminal by send to transmitting terminal updating message (Update) with IP address (IP2) notice of interface 2 to transmitting terminal, the parameter of carrying IP2 in the updating message is LOCATOR.In order to raise the efficiency, receiving terminal is wished the data by interface 1 and simultaneously receiving end/sending end transmission of interface 2.Receiving terminal is by redirect request message, and the request transmitting terminal sends to interface 1 and interface 2 simultaneously with message.After transmitting terminal receives the redirect request message of receiving terminal, judge first whether this request can be satisfied, if can satisfy, then again packet is encapsulated, and sends to the distinct interface of receiving terminal.In this process, because the host identification of receiving terminal is constant, so it is constant to send to HIP layer packet header of packet of receiving terminal, transmitting terminal is encapsulated as IP layer packet header respectively the IP address of interface 1 and interface 2 according to the redirect request of receiving terminal.Namely the thing that changes of said process is used for the station location marker (IP address) of the receiving terminal of route.
Referring to Fig. 1, specifically introduce the operating process of the inventive method:
(1) before communication, the host identification that transmitting terminal and receiving terminal are set up both sides by the basic exchange process of HIP agreement is related.The concrete message interaction process of basic exchange process is with reference to RFC5201.
(2) receiving terminal uses the LOCATOR parameter in the updating message is appended a plurality of new IP address from receiving terminal to transmitting terminal.Updating message is used for receiving terminal and appends a plurality of IP address to transmitting terminal, and with its a plurality of IP address notification transmitting terminals, and to specify one of them be primary address to receiving terminal by the LOCATOR parameter in the updating message.The parameter of updating message has three: the safe and effective load information parameter of old encapsulation with new Security Parameter Index that is used for setting up security association, comprise that receiving terminal wishes to append to transmitting terminal the LOCATOR parameter of new IP address, and with the sequence number parameter of a numeral, the updating message of carrying the sequence number parameter shows that the receiving terminal of this updating message must confirm this updating message that receives.The concrete reciprocal process of updating message is with reference to RFC5206.
(3) after transmitting terminal receives the updating message that receiving terminal sends, upgrade first host identification related and and receiving terminal between binding information, send again the response message of this updating message to the new IP address of receiving terminal.The parameter of this response message also has three: the safe and effective load information parameter of old encapsulation with new Security Parameter Index that is used for setting up security association, its numerical value and the identical sequence number parameter of sequence number parameter values in the above-mentioned updating message, and the required parameter that echoes that is represented by a random number, the effect of this parameter in updating message is the validity of proof address.
(4) after receiving terminal receives the response message of this updating message that transmitting terminal sends, feed back the affirmation message of this updating message to transmitting terminal; This acknowledge message comprises following two parameters: confirm, confirm for the response message of this updating message that step (3) transmitting terminal is sent; With the answer of echoing that a random number represents, the numerical value of the random number of the request of echoing in the response message of its numerical value and updating message is identical.Receive the affirmation message of this updating message when transmitting terminal after, just think that the new IP address of receiving terminal is effective.
(5) for improving efficiency of transmission, receiving terminal is filed a request to transmitting terminal with the redirect request message that carries the redirect request option, require transmitting terminal with the Packet Generation of certain application to another or a plurality of interface.
Redirect request message is that receiving terminal uses the redirect request option in this message to send redirect request to transmitting terminal, the request transmitting terminal sends to the data flow of current certain application another or a plurality of purpose IP address of appointment in this redirect request option, so that the realization load balancing improves efficiency of transmission.
Referring to Fig. 2, illustrate following six bytes of the form of the redirect request message among the present invention-be provided with successively:
Type (16bits) identifies this message for being redirected request message;
Length (16bits) is indicated this message-length;
Life cycle (16bits), indicate effective time of this message;
Port numbers (16bits), the port numbers of receive data is with stream of the common sign of host identification label;
Host identification label HIT(Host Identity Tag, 128bits), the host identification of receiving terminal;
One or more IP address of switching is set in this option in turn.
(6) transmitting terminal is redirected the redirected response message notice receiving terminal of replying option or redirected failure option by carrying: a plurality of IP address of carrying in its redirect request all is accepted or refuses part IP address wherein or refuses whole IP address.
Redirected response message is by the response that whether the IP address that transmitting terminal proposes according to receiving terminal can reach or other situations are made being redirected request message, comprises following two kinds of response messages:
Carrying the redirected response message of be redirected replying option is the stream redirect request that the expression transmitting terminal is accepted receiving terminal, and according to the requirement of redirect request message flow point is fitted on another or a plurality of interface, or keeps original stream and distribute constant.
Referring to Fig. 3 (A), illustrate following five bytes of the form of the redirected response message among the present invention-be provided with successively:
Type (16bits) identifies the option type in this response message;
Length (16bits) is indicated this message-length;
Life cycle (16bits), indicate effective time of this message;
Port numbers (16bits), the port numbers of reception respective stream of data is with stream of the common sign of host identification label;
Host identification label (128bits), the host identification of receiving terminal;
Carrying the redirected response message that is redirected failure option is the stream redirect request of expression transmitting terminal rejection end, redirected failure option wherein is provided with IP address list and the reason for rejection of refusal, and the IP address that comprises in redirect request message, do not occur in the IP address list of refusal then is defaulted as the IP address of being redirected that transmitting terminal is accepted.
Referring to Fig. 3 (B), illustrate following seven bytes of the form of the redirected response message among the present invention-be provided with successively:
Type (16bits) identifies the option type in this response message;
Length (16bits) is indicated this message-length;
Life cycle (16bits), indicate effective time of this message;
Port numbers (16bits) is indicated the port numbers that receives respective stream of data, with stream of the common sign of host identification label;
Host identification label (128bits), the host identification of receiving terminal;
Type of error (32bits) informs that receiving terminal refuses the reason of this IP address;
The IP address of mistake, the IP address of refusal, and in this option, set in turn.
Because may relating to a plurality of IP address in the redirect request message, when transmitting terminal was refused wherein part IP address, transmitting terminal will be notified receiving terminal with the relevant information of each IP address of refusal; If when refusing a plurality of IP address, then sequential organize of the combined characters festival-gathering of type of error and wrong ip address illustrates the Reason For Denial of the IP address of each refusal one by one.
(7) after receiving terminal is received the redirected response message of transmitting terminal transmission, send redirected validation message to transmitting terminal, inform that it has been ready to from corresponding interface receive data; If what carry in the redirected response message is to be redirected to reply option, then redirected validation message represents that receiving terminal has been ready to from corresponding interface receive data; If what carry in the redirected response message is to be redirected failure option, then redirected validation message represents that receiving terminal has been ready to from correct interface receive data.
Redirected validation message is with the redirect message of confirming, is used for the mutual affirmation of the redirect request message between receiving terminal and the transmitting terminal.
(8) transition of communications between transmitting terminal and the receiving terminal is carried out to the corresponding one or more interfaces of receiving terminal, and it is constant perhaps to keep original transmission link.

Claims (9)

1. realize the method that stream distributes and stream is redirected based on multi-home host expansion host identity protocol HIP for one kind, it is characterized in that: existing HIP agreement is expanded, the receiving terminal of data increases a plurality of redirect messages, so that can be a plurality of different receiving interfaces of dissimilar data settings; Described method comprises following operating procedure:
(1) before communication, the host identification that transmitting terminal and receiving terminal are set up both sides by the basic exchange process of HIP agreement is related;
(2) receiving terminal uses the finger URL LOCATOR parameter in the updating message is appended a plurality of new IP address from receiving terminal to transmitting terminal;
(3) after transmitting terminal receives the updating message that receiving terminal sends, upgrade first host identification related and and receiving terminal between binding information, send again the response message of this updating message to the new IP address of receiving terminal;
(4) after receiving terminal receives the response message of this updating message that transmitting terminal sends, feed back the affirmation message of this updating message to transmitting terminal; Receive the affirmation message of this updating message when transmitting terminal after, just think that the new IP address of receiving terminal is effective;
(5) for improving efficiency of transmission, receiving terminal is filed a request to transmitting terminal with the redirect request message that carries the redirect request option, require transmitting terminal with the Packet Generation of certain application to another or a plurality of interface;
(6) transmitting terminal is redirected the redirected response message notice receiving terminal of replying option by carrying: a plurality of IP address of carrying in its redirect request all is accepted; Perhaps by carrying the redirected response message notice receiving terminal that is redirected failure option: refuse the part IP address in its redirect request message or refuse whole IP address;
(7) after receiving terminal is received the redirected response message of transmitting terminal transmission, send redirected validation message to transmitting terminal: be to be redirected to reply option if be redirected what carry in the response message, then the redirected validation message sent of receiving terminal represents that it has been ready to from corresponding interface receive data; If being redirected what carry in the response message is to be redirected failure option, then the redirected validation message sent of receiving terminal represents that it has been ready to from correct interface receive data; Described correct interface comprises in redirect request message and does not appear at the corresponding interface in IP address in the IP address list of refusal, and when the IP address that comprises in the redirect request message all appeared in the IP address list of refusal, correct interface was the employed interface of ongoing communication;
(8) transition of communications between transmitting terminal and the receiving terminal is carried out to the corresponding one or more interfaces of receiving terminal, and it is constant perhaps to keep original transmission link.
2. method according to claim 1, it is characterized in that: described updating message is used for receiving terminal and appends a plurality of new IP addresses to transmitting terminal, so that receiving terminal will these a plurality of new IP address notification transmitting terminals by the LOCATOR parameter in this updating message, and to specify one of them be primary address; This updating message comprises following three parameters: encapsulate safe and effective load information, comprise be used to the old and new Security Parameter Index of setting up security association; LOCATOR comprises that receiving terminal wishes the new IP address of appending to transmitting terminal; Umerical sequence number, the updating message of carrying the sequence number parameter show that the receiving terminal of updating message must confirm this updating message that receives.
3. method according to claim 1, it is characterized in that: the response message of described updating message is that transmitting terminal is to the response of the updating message of receiving terminal; The response message of this updating message comprises following three parameters: encapsulate safe and effective load information, comprise be used to the old and new Security Parameter Index SPI that sets up security association; The numerical value of the sequence number in the umerical sequence number, its numerical value and updating message that transmitting terminal receives is identical; The request of echoing that represents with a random number, when comprising in the response message of updating message when echoing required parameter, receiving terminal must be replied this response message, is used for the validity of the new IP address that proof appends.
4. method according to claim 1, it is characterized in that: the affirmation message of described updating message is that receiving terminal is to the affirmation of the response message of the updating message of transmitting terminal; The affirmation message of this updating message comprises following two parameters: confirm, confirm for the response message of this updating message that transmitting terminal is sent; With the answer of echoing that a random number represents, the numerical value of the random number of the request of echoing in the response message of its numerical value and updating message is identical.
5. method according to claim 1, it is characterized in that: described redirect message is the redirect request and the relevant information of negotiation that be used for to realize receiving terminal between receiving terminal and the transmitting terminal, according to the redirect request option that wherein carries, be redirected four kinds of different options of replying option and redirected failure option, affirmation and be subdivided into: redirect request message, redirected response message and redirected validation message.
6. method according to claim 5, it is characterized in that: described redirect request message is that receiving terminal uses the redirect request option in this message to send redirect request to transmitting terminal, the request transmitting terminal sends to the data flow of current certain application another or a plurality of purpose IP address of appointment in this redirect request option, so that the realization load balancing improves efficiency of transmission;
This redirect request message format is provided with following six bytes successively: type identifies this message for being redirected request message; Length is indicated this message-length; Life cycle, indicate effective time of this message; Port numbers, the port numbers of receive data is with stream of the common sign of host identification label HIT; Host identification label, the host identification of receiving terminal; One or more IP address of switching is set in this option in turn.
7. method according to claim 5 is characterized in that: described redirected response message is by the response that whether the IP address that transmitting terminal proposes according to receiving terminal can reach or other situations are made being redirected request message, comprises following two kinds of response messages:
Carry the redirected response message of be redirected replying option: the expression transmitting terminal is accepted the stream redirect request of receiving terminal, and according to the requirement of redirect request message flow point is fitted on another or a plurality of interface; Perhaps keeping original stream distributes constant; This response message form is provided with following five bytes successively: type identifies the option type in this response message; Length is indicated this message-length; Life cycle, indicate effective time of this message; Port numbers, the port numbers of reception respective stream of data is with stream of the common sign of host identification label; Host identification label, the host identification of receiving terminal;
Carry the redirected response message that is redirected failure option: the stream redirect request of expression transmitting terminal rejection end, redirected failure option wherein is provided with IP address list and the reason for rejection of refusal, and the IP address that comprises in redirect request message, do not occur in the IP address list of refusal then is defaulted as the IP address of being redirected that transmitting terminal is accepted; The form of this response message is provided with following six bytes successively: type identifies the option type in this response message; Length is indicated this message-length; Life cycle, indicate effective time of this message; Port numbers is indicated the port numbers that receives respective stream of data, with stream of the common sign of host identification label; Host identification label, the host identification of receiving terminal; Type of error informs that receiving terminal refuses the reason of this IP address; The IP address of mistake is set in this option in turn.
8. method according to claim 7, it is characterized in that: described redirect request message relates to one or more IP address that receiving terminal provides, when transmitting terminal refusal wherein partly or entirely during the IP address, transmitting terminal will be with the relevant information notice receiving terminal of the IP address of refusal: return the combination byte of one or more groups type of error and wrong ip address to receiving terminal, and the Reason For Denial of the IP address of each refusal is described one by one.
9. method according to claim 5 is characterized in that: described redirected validation message is with the redirect message of confirming, is used for the mutual affirmation of the redirect request message between receiving terminal and the transmitting terminal.
CN2010101931445A 2010-05-27 2010-05-27 Method for realizing stream distribution and stream re-direction based on multi-home host extension HIP protocol Expired - Fee Related CN101848164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101931445A CN101848164B (en) 2010-05-27 2010-05-27 Method for realizing stream distribution and stream re-direction based on multi-home host extension HIP protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101931445A CN101848164B (en) 2010-05-27 2010-05-27 Method for realizing stream distribution and stream re-direction based on multi-home host extension HIP protocol

Publications (2)

Publication Number Publication Date
CN101848164A CN101848164A (en) 2010-09-29
CN101848164B true CN101848164B (en) 2013-05-29

Family

ID=42772628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101931445A Expired - Fee Related CN101848164B (en) 2010-05-27 2010-05-27 Method for realizing stream distribution and stream re-direction based on multi-home host extension HIP protocol

Country Status (1)

Country Link
CN (1) CN101848164B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480468B (en) * 2010-11-25 2015-08-19 ***通信集团公司 A kind of data flow transmission method, Apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741523A (en) * 2004-08-25 2006-03-01 华为技术有限公司 Key exchange protocol method for realizing main machine transferability and multi-home function
WO2007000731A1 (en) * 2005-06-29 2007-01-04 Nokia Corporation Multi homing transport protocol on a multi-processor arrangement
WO2007031593A1 (en) * 2005-09-15 2007-03-22 Nokia Corporation Routing data packets from a multihomed host
CN101133609A (en) * 2005-03-04 2008-02-27 松下电器产业株式会社 Communication node and communication control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741523A (en) * 2004-08-25 2006-03-01 华为技术有限公司 Key exchange protocol method for realizing main machine transferability and multi-home function
CN101133609A (en) * 2005-03-04 2008-02-27 松下电器产业株式会社 Communication node and communication control method
WO2007000731A1 (en) * 2005-06-29 2007-01-04 Nokia Corporation Multi homing transport protocol on a multi-processor arrangement
WO2007031593A1 (en) * 2005-09-15 2007-03-22 Nokia Corporation Routing data packets from a multihomed host

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
时岩.异构网络中垂直切换若干关键技术的研究.《中国博士学位论文全文数据库》.2007,全文. *

Also Published As

Publication number Publication date
CN101848164A (en) 2010-09-29

Similar Documents

Publication Publication Date Title
US7305474B2 (en) Method of data transfer in mobile and fixed telecommunications systems
CN103339901B (en) Terminal in content guiding network environment and the communication means of intermediate node and terminal and intermediate node
CN102025608B (en) Communication method, data message forwarding method in communication process as well as communication nodes
CN103856995B (en) Pseudo-wire for mobile management
CN102571587B (en) Method and equipment for forwarding messages
CN101136943B (en) System and method for implementing extended Diameter protocol application
JP5178368B2 (en) Gateway device
WO2011106984A1 (en) Method for transmitting data in parallel by mobile terminal and mobile terminal thereof
CN100550916C (en) Be used for network header is mapped to the method and apparatus of the MPLS header of bearer architecture
CN102035813A (en) End-to-end call realizing method, end-to-end call terminal and system
EP1500243B1 (en) Internet protocol based system
WO2005114912A1 (en) Message routing method and system
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN102404192A (en) Message transmission method and network equipment
EP2480009B1 (en) Multimedia message transmission method and apparatus thereof, and domain name server
JP4911222B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD IN COMMUNICATION SYSTEM, AND RELAY DEVICE
CN101848164B (en) Method for realizing stream distribution and stream re-direction based on multi-home host extension HIP protocol
CN103442450A (en) Wireless communication method and wireless communication equipment
CN104284383A (en) Method and device for keeping service continuity
CN1633096A (en) A method of short message value-added service access
WO2010009666A1 (en) Method, system and device for implementing multimedia service
CN101902387B (en) Method for encapsulating general control messages in IP telecommunication network system
CN102572903B (en) The selection of access support node and disaster recovery method, system and access control equipment
CN102365845B (en) Method, system and network equipment for local routing implementation
CN102883310B (en) Remote access method in long-term evolving network and equipment

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: 20130529

Termination date: 20140527