CN106059928A - Host migration method and device - Google Patents

Host migration method and device Download PDF

Info

Publication number
CN106059928A
CN106059928A CN201610382951.9A CN201610382951A CN106059928A CN 106059928 A CN106059928 A CN 106059928A CN 201610382951 A CN201610382951 A CN 201610382951A CN 106059928 A CN106059928 A CN 106059928A
Authority
CN
China
Prior art keywords
main frame
xtr
eid
device identification
moved
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
CN201610382951.9A
Other languages
Chinese (zh)
Other versions
CN106059928B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201610382951.9A priority Critical patent/CN106059928B/en
Publication of CN106059928A publication Critical patent/CN106059928A/en
Application granted granted Critical
Publication of CN106059928B publication Critical patent/CN106059928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a host migration method and device. The method comprises the following steps that: a first xTR receives an online message sent by a host to be immigrated; a first notification message is sent to a MS; attribute information of the host to be immigrated is carried in the first notification message; the attribute information comprises a first address identifier EID of the host to be immigrated; according to a feedback message received from the MS, whether the host to be immigrated is an emigrated host of a second xTR or not can be judged; judgement information used for judging whether the host to be immigrated is the emigrated host of the second xTR or not is carried in the feedback message; and the first xTR immigrates the host to be immigrated if the fact that the host to be immigrated is the emigrated host of the second xTR is determined. By means of the embodiment, the problem that a false host is immigrated due to a false online message can be solved.

Description

Host migration method and device
Technical field
The present invention relates to communication technical field, particularly to a kind of LISP (Locator Identity Separation Protocol, station location marker separated protocol) host migration method and device in network.
Background technology
LISP is a kind of position and the procotol of mark separation.LISP network defines two independent ground Space, location, i.e. EID (Endpoint Identifier, Endpoint ID) address and RLOC (Routing Locator, Router position) address.Wherein, EID is the host address of communication end point, for showing the identity of main frame; RLOC is the address of LISP router, for showing the position of router.Tunnel router xTR is ITR (Engress Tunnel Router, goes out for (Ingress Tunnel Router, enter to tunnel router) and ETR To tunnel router) general designation, represent router possess ITR and/or ETR ability.XTR preserves EID-RLOC corresponding relation, safeguards in MS (Map Server, mapping server) and has more fully EID-RLOC corresponding relation.
In LISP network, main frame can migrate independent of RLOC;In transition process, main frame EID address is constant.When host migration, can be along with the change of EID-RLOC corresponding relation, therefore XTR needs to register new EID-RLOC corresponding relation on MS/MR.
Summary of the invention
The purpose of the embodiment of the present invention there are provided a kind of host migration method and device, it is possible to solve due to The problem that there is the false main frame of moving into that false message of reaching the standard grade causes.
In order to achieve the above object, the invention discloses a kind of host migration method, be applied to station location marker and divide The first tunnel router xTR in agreement LISP network, a described xTR pass through mapping server The second tunnel router xTR in MS with LISP network is connected, and described method includes:
Receive the message of reaching the standard grade that main frame to be moved into sends;
Sending the first notice message to described MS, described first notice message carries the genus of the main frame that needs to be moved into Property information;Described attribute information include described in main frame to be moved into first address mark EID;
According to the feedback message received from MS, it is judged that described in main frame to be moved into whether be moving out of the 2nd xTR Main frame, described feedback message carries whether main frame to be moved into described in judge is moving out of the 2nd xTR The judgement information of main frame;
Main frame to be moved into described in if it is determined that is the main frame of moving out of the 2nd xTR, and the most described xTR moves into institute State main frame to be moved into.
In order to achieve the above object, the invention discloses a kind of host migration device, be applied to station location marker and divide The first tunnel router xTR in agreement LISP network, a described xTR pass through mapping server The second tunnel router xTR in MS with LISP network is connected, and described device includes:
Receiver module, for receiving the message of reaching the standard grade that main frame to be moved into sends;
Sending module, for sending the first notice message to described MS, described first notice message carries The attribute information of main frame to be moved into;Described attribute information include described in main frame to be moved into first address mark EID;
Judge module, for according to the feedback message received from MS, it is judged that described in main frame to be moved into be whether The main frame of moving out of the 2nd xTR, whether described feedback message carries described in judge main frame to be moved into and is The judgement information of the main frame of moving out of the 2nd xTR;
Move into module, for if it is determined that described in main frame to be moved into be the main frame of moving out of the 2nd xTR, then described Oneth xTR move into described in main frame to be moved into.
As seen from the above technical solution, in the embodiment of the present invention, an xTR sends out receiving main frame to be moved into Send reach the standard grade message time, to MS send carry an EID first notice message, according to receive feedback report Literary composition judges that whether main frame to be moved into is the main frame of moving out of the 2nd xTR, if it is, main frame to be moved into of moving into, I.e. register this main frame to be moved into MS.It is to say, in the present embodiment, before main frame to be moved into of moving into, First according to an EID of main frame to be moved into and by sending the first notice message to MS, it is judged that this master to be moved into Whether machine is real main frame to be moved into, if it is, this main frame of moving into.And in prior art, xTR exists Receive when reaching the standard grade message, directly register main frame to be moved into.Therefore, the application embodiment of the present invention can solve the problem that Due to the problem that there is the false main frame of moving into that false message of reaching the standard grade causes.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described.It should be evident that describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of principle schematic of host migration in LISP network;
A kind of schematic flow sheet of the host migration method that Fig. 2 provides for the embodiment of the present invention;
A kind of structural representation of the host migration device that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
Fig. 1 is a kind of principle schematic of host migration in LISP network, in Fig. 1, in data center DC2 Main frame VMB migrates at the xTR1 in data center DC1 from xTR2, xTR1 perceive existence newly move into Main frame VMB time, self adding the routing iinformation of this main frame, and registering this main frame to MS.In reality In application, xTR may receive the message of reaching the standard grade of falseness, and the EID in message that reaches the standard grade according to this falseness The false main frame moved into is registered, but the main frame really in reality with this EID is not moved into.This In the case of Zhong, when the main frame really with this EID is moved into, then can be somebody's turn to do due to cause influences such as address conflicts The communication of real main frame.
For this problem, present applicant proposes a kind of host migration method and device, it is possible to solve owing to depositing Reach the standard grade in falseness the problem of false main frame of moving into that message causes.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, complete description.Obviously, described embodiment is only a part of embodiment of the present invention, and not It it is whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound The every other embodiment obtained on the premise of the property made work, broadly falls into the scope of protection of the invention.
The schematic flow sheet of a kind of host migration method that Fig. 2 provides for the embodiment of the present invention, is applied to position The first tunnel router xTR, an xTR in mark separated protocol LISP network are by mapping server MS It is connected with the second tunnel router xTR in LISP network.Wherein, an xTR is side main frame of moving into, the Two xTR are side main frame of moving out.Described method includes:
Step S201: receive the message of reaching the standard grade that main frame to be moved into sends.
This message of reaching the standard grade can be gratuitous ARP packet or IP datagram literary composition etc..Reach the standard grade and message generally carries Need to be moved into first address mark EID and some parameter informations of main frame itself of main frame.
It should be noted that a kind of situation is, if message of reaching the standard grade is message of reaching the standard grade really, to move Before shifting, main frame to be moved into and the 2nd xTR are connected, and i.e. move out from the 2nd xTR;Another kind of Situation is, message of reaching the standard grade is false message, and main frame to be moved into not is main frame to be moved into, the most also Do not move out at the 2nd xTR.In order to determine whether main frame to be moved into is main frame to be moved into, Following steps can be continued executing with.
In actual applications, when main frame migrates between the xTR of local data center, or from data When the xTR at center migrates to the xTR of another data center, main frame can be sent out to its xTR moved into Serve report from a liner literary composition.Therefore, the xTR described in the present embodiment and the 2nd xTR may belong to same Data center, it is also possible to belong to different data centers, this is not specifically limited by the present invention.
Step S202: send the first notice message to MS, the first notice message carries and needs main frame of moving into Attribute information.
Wherein, this attribute information includes the first address mark EID of main frame to be moved into.First notice message is used In the judgement information obtaining the main frame of moving out judging that whether main frame to be moved into be the 2nd xTR.
Above-mentioned judgement information can be that MS determines according to the first notice message received, it is also possible to is MS After first notice message is forwarded to the 2nd xTR, the 2nd xTR determines.This process includes multiple reality Executing mode, this is not limited by the present embodiment.
Step S203: according to the feedback message received from MS, it is judged that whether main frame to be moved into is the 2nd xTR Main frame of moving out.Feedback message carries for judging that whether main frame to be moved into is the master that moves out of the 2nd xTR The judgement information of machine.
Corresponding with step S202, this step can also include numerous embodiments.
The judgement information that feedback message carries can include polytype, could be for judging main frame to be moved into It is whether that the 2nd xTR moves out the equipment identification information (the i.e. second device identification) of main frame, it is also possible to be to confirm Information etc., this is not limited by the present embodiment.The acquisition of feedback message can also include numerous embodiments, Can be that MS obtains according to the first notice message (such as, according to the EID in the first notice message) , it is also possible to it is that the 2nd xTR according to the first notice Receive message and is forwarded by MS.
Step S204: if it is determined that the main frame of moving out that main frame to be moved into is the 2nd xTR, then an xTR moves into Main frame to be moved into.
Further, however, it is determined that main frame to be moved into is not the main frame of moving out of the 2nd xTR, then an xTR is not Move into main frame to be moved into.
Oneth xTR moves into main frame to be moved into, and the i.e. the oneth xTR self is adding the EID of this main frame to be moved into, And it is corresponding to register EID-RLOC according to an EID and the RLOC of self of main frame to be moved into MS Relation.Concrete, xTR main frame of moving into belongs to prior art, and here is omitted for its detailed process.
As shown in the above, in the present embodiment, an xTR is receiving the upper of main frame to be moved into transmission During report from a liner literary composition, sending the first notice message carrying an EID to MS, the feedback message according to receiving is sentenced Whether disconnected main frame to be moved into is the main frame of moving out of the 2nd xTR, if it is, main frame to be moved into of moving into, i.e. This main frame to be moved into is registered to MS.It is to say, in the present embodiment, before main frame to be moved into of moving into, First according to an EID of main frame to be moved into and by sending the first notice message to MS, it is judged that this waits to move into Whether main frame is real main frame to be moved into, if it is, this main frame of moving into.And in prior art, xTR Receive reach the standard grade message time, directly register main frame to be moved into.Therefore, the application embodiment of the present invention can solve Certainly due to the problem that there is the false main frame of moving into that false message of reaching the standard grade causes
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 2, when feedback message is taken The judgement information of band is the second device identification, and the second device identification is main frame of moving out in the 2nd xTR During device identification, step S203, according to the feedback message received from MS, it is judged that whether main frame to be moved into is The main frame of moving out of the 2nd xTR, specifically may include that
Step 1 a: xTR judges whether to exist in the second device identification the first device identification.First equipment It is designated in message of reaching the standard grade the device identification of the main frame to be moved into carried.If existing, then perform step 2.
Wherein, device identification can be the media access address MAC Address of main process equipment, it is also possible to be pre- It is first the Unique Device numbering etc. of each main frame setting, naturally it is also possible to be other marks, as long as be used for marking Showing the mark of main process equipment, can serve as the device identification of the present embodiment, the present embodiment is to its concrete form Do not limit.
It should be noted that in the present embodiment, the possible more than one of the second device identification, if the second equipment Mark exists the first device identification, the main frame of moving out that main frame to be moved into is the 2nd xTR is i.e. described.
Step 2: main frame to be moved into described in determining is the main frame of moving out of the 2nd xTR.
In the present embodiment, the step obtaining the second device identification may include that according in the first notice message The EID carried, and the device identification of the EID of the main frame of moving out of the 2nd xTR and main frame of moving out Corresponding relation, obtains the second device identification.This process specifically can include numerous embodiments, is exemplified below Explanation.
A kind of embodiment is:
When MS receives the first notice message, obtaining an EID from the first notice message, MS sentences Whether disconnected described corresponding relation existing the 2nd EID mated with an EID, if existing, then obtaining described The second device identification corresponding for EID with the 2nd in corresponding relation, carries second to an xTR transmission and sets The feedback message of standby mark.
In this embodiment, described corresponding relation is stored in MS.Described corresponding relation is permissible It is pre-configured in MS, it is also possible to be that MS is obtaining and preserving in the interaction of the 2nd xTR 's.After MS receives the first notice, according to the described corresponding relation of self storage, send to an xTR Carrying the feedback message of the second device identification, an xTR judges main frame to be moved into according to the second device identification It it is whether the main frame of moving out of the 2nd xTR.
It is understood that except preserving the EID of the main frame of moving out of the 2nd xTR and main frame of moving out in MS Device identification corresponding relation outside, it is also possible to the main frame EID preserving other multiple xTR sets with main frame The corresponding relation of standby mark, when there is multiple corresponding relation, MS can utilize in the first notice message Multiple corresponding relations are judged by attribute information respectively.
Another embodiment is:
When the 2nd xTR receives the first notice message that MS forwards, from the first notice message, obtain the One EID, the 2nd xTR judge whether there is the 2nd EID mated with an EID in described corresponding relation, If existing, obtaining the second device identification corresponding for EID with the 2nd in described corresponding relation, and sending to MS Carry the feedback message of the second device identification, so that feedback message is transmitted to an xTR by MS.
In this embodiment, during described corresponding relation is stored in the 2nd xTR.Described corresponding pass System can be pre-configured in the 2nd xTR, it is also possible to is that the 2nd xTR is in the interaction with main frame Middle acquisition also preserves.
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 2, when feedback message is taken Confirmation (this confirmation that judgement information is the main frame of moving out confirming that main frame to be moved into is the 2nd xTR of band Information can use the character specified to identify) time, step S203, according to the feedback message received from MS, Judging that whether main frame to be moved into is the main frame of moving out of the 2nd xTR, if specifically may include that, an xTR exists Receive feedback message in preset time period, then determine that main frame to be moved into is the 2nd xTR according to confirmation Main frame of moving out.
If it is to say, an xTR is not received by feeding back message in preset time period, or such as Really but an xTR have received feedback message in preset time period do not carries corresponding in feedback message Confirmation, then illustrate that main frame to be moved into is not the main frame of moving out of the 2nd xTR.
In the present embodiment, the attribute information in the first notice message can also include the first device identification, the One device identification is the device identification of the main frame to be moved into carried in message of reaching the standard grade.
When also carrying the first device identification in the first notice message, the step obtaining confirmation may include that According to the EID that carries and the first device identification in the first notice message, and the moving out of the 2nd xTR The EID of main frame and the corresponding relation of the device identification of main frame of moving out, obtain confirmation.This process specifically may be used To include numerous embodiments, it is exemplified below explanation.
A kind of embodiment is:
When MS receives the first notice message, from the first notice message, obtain an EID and first set Standby mark, MS judges whether to exist in described corresponding relation the right of a described EID and the first device identification Should being related to, if existing, then obtaining the confirmation of the main frame of moving out confirming that main frame to be moved into is the 2nd xTR, And the feedback message of confirmation is carried to an xTR transmission.
In this embodiment, described corresponding relation is stored in MS.Above-mentioned judge process is concrete May include that MS judges whether to there is the 2nd EID mated with an EID in described corresponding relation, if Exist, then obtain in described corresponding relation with described 2nd the second corresponding for EID device identification, then judge Whether the second device identification exists the first device identification, if existing, then obtains and confirm that main frame to be moved into is the The confirmation of the main frame of moving out of two xTR.
If it is understood that MS judges to exist in described corresponding relation an EID and the first equipment The corresponding relation of mark, then illustrate the main frame of moving out that main frame to be moved into is the 2nd xTR, at this moment, to first XTR feedback acknowledgment information.When oneth xTR receives this confirmation, can confirm that master to be moved into Machine is the main frame of moving out of the 2nd xTR, and message of i.e. reaching the standard grade is real, moves into and waits main frame to be moved into.
Another embodiment is:
When the 2nd xTR receives the first notice message that MS forwards, from the first notice message, obtain the One EID and the first device identification, the 2nd xTR judges whether there is a described EID in described corresponding relation With the corresponding relation of the first device identification, if existing, then obtain and confirm that main frame to be moved into is the 2nd xTR's Move out the confirmation of main frame, and send the feedback message carrying confirmation to MS, so that MS will Feedback message is transmitted to an xTR.
In this embodiment, during described corresponding relation is stored in the 2nd xTR.Above-mentioned judged Whether journey specifically may include that the 2nd xTR to judge in described corresponding relation to exist mates with an EID 2nd EID, if existing, then obtains the second device identification corresponding for EID with the 2nd in described corresponding relation, And judge whether the second device identification exists the first device identification, if existing, then obtain and confirm master to be moved into Machine is the confirmation of the main frame of moving out of the 2nd xTR.
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 2, when described corresponding relation When being stored in MS, for the described corresponding relation that upgrades in time, in order to make the corresponding relation of storage on equipment More accurate, described method can also include:
When an xTR determine wait main frame of moving into be the 2nd xTR move out main frame time, according to an EID and First device identification, notice MS updates described corresponding relation.
Concrete, an xTR can carry the in logon message when registering an EID to MS One device identification, MS, when receiving logon message, updates an EID and the RLOC of an xTR Corresponding relation while, update an EID and the corresponding relation of the first device identification.
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 2, when described corresponding relation When being stored in the 2nd xTR, for the described corresponding relation that upgrades in time, in order to make on equipment the right of storage It is more accurate to be related to, described method can also include:
When an xTR determine wait main frame of moving into be the 2nd xTR move out main frame time, according to an EID and By MS, first device identification, notifies that the 2nd xTR updates described corresponding relation.
Concrete, an xTR can carry the in logon message when registering an EID to MS One device identification, MS, when receiving logon message, updates an EID and the RLOC of an xTR Corresponding relation while, the corresponding relation of an EID and the first device identification is sent to the 2nd xTR, 2nd xTR is updated operation after receiving this corresponding relation.
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 2, described method is all right Including:
When an xTR determine wait main frame of moving into be the 2nd xTR move out main frame time, preserve an EID with The corresponding relation of the first device identification.So, when this is moved out from an xTR again wait main frame of moving into, Oneth xTR can send device identification or confirmation to the new side xTR that moves into, in order to main frame to be moved into Again occur to be able to confirm that whether message of reaching the standard grade is message of reaching the standard grade really when migrating.
The the first notice message and the feedback message that relate in each embodiment above-mentioned all can be by existing skills Message in art improves and realizes.Concrete, the first notice message can use the notice report after improvement Literary composition Map-Notify is transmitted, and wherein carries an EID and the RLOC of an xTR, optionally, Map-Notify message can also carry the first device identification.After feedback message can also use improvement Map-Notify message is transmitted, and wherein carries the second device identification or confirmation.When this message by When MS sends, Map-Notify message can carry the mark of MS, maybe be sent out by the 2nd xTR when this message Send, when being transmitted to an xTR by MS, Map-Notify message can carry the RLOC of the 2nd xTR, So, an xTR can determine this message according to these marks carried in Map-Notify message Source.
A kind of structural representation of the host migration device that Fig. 3 provides for the embodiment of the present invention, is applied to position The first tunnel router xTR in mark separated protocol LISP network, an xTR passes through mapping server The second tunnel router xTR in MS with LISP network is connected.Described device is real with method described in Fig. 2 Executing example corresponding, described device includes receiver module 301, sending module 302, judge module 303 and moves Enter module 304.
Wherein, receiver module 301, for receiving the message of reaching the standard grade that main frame to be moved into sends;
Sending module 302, for sending the first notice message to described MS, described first notice message is taken Band needs to be moved into the attribute information of main frame;Described attribute information include described in the first address label of main frame to be moved into Know EID;
Judge module 303, for according to from MS receive feedback message, it is judged that described in main frame to be moved into be No is the main frame of moving out of the 2nd xTR, and described feedback message carries main frame to be moved into described in judge and is The judgement information of the no main frame of moving out being the 2nd xTR;
Move into module 304, for if it is determined that described in main frame to be moved into be the main frame of moving out of the 2nd xTR, then institute State an xTR move into described in main frame to be moved into.
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 3, when feedback message is taken The judgement information of band is the second device identification, and described second device identification is main frame of moving out in the 2nd xTR During device identification, described judge module, specifically may be used for an xTR and judge described second device identification In whether there is the first device identification, described first device identification be described in reach the standard grade waiting of carrying in message move into The device identification of main frame;If existing, it is determined that described in main frame to be moved into be the main frame of moving out of the 2nd xTR.
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 3, described device is all right Including the first acquisition module (not shown), for according to first carried in described first notice message EID, and the EID of the main frame of moving out of the 2nd xTR and the corresponding relation of the device identification of main frame of moving out, obtain Take described second device identification, specifically include:
When described MS receives the first notice message, from described first notice message, obtain an EID; Judge whether described corresponding relation exists the 2nd EID mated with a described EID;If existing, then obtain Take in described corresponding relation with described 2nd the second corresponding for EID device identification, to the oneth xTR send take Feedback message with described second device identification;Or,
When described 2nd xTR receives the first notice message that described MS forwards, from described first notice Message obtains an EID;Judge whether described corresponding relation exists mated with a described EID Two EID;If exist, obtain in described corresponding relation with described 2nd the second corresponding for EID device identification, And send to described MS and to carry the feedback message of described second device identification, so that described MS is by described Feedback message is transmitted to a described xTR.
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 3, when described feedback message In the judgement information carried be main frame to be moved into described in confirming be the confirmation of main frame of moving out of the 2nd xTR Time, described judge module, if specifically may be used for an xTR receive in preset time period described instead Feedback message, then according to described confirmation determine described in main frame to be moved into be the main frame of moving out of the 2nd xTR.
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 3, described attribute information is also Can include that the first device identification, described first device identification are reached the standard grade the master to be moved into carried in message described in being The device identification of machine;
So, described device can also include the second acquisition module (not shown), for according to described The EID carried in first notice message and the first device identification, and the main frame of moving out of the 2nd xTR EID and the corresponding relation of the device identification of main frame of moving out, obtain described confirmation, specifically include:
When described MS receives the first notice message, from described first notice message, obtain described first EID and the first device identification;Judge whether described corresponding relation exists a described EID and the first equipment The corresponding relation of mark;If existing, then obtain the master that moves out that main frame to be moved into described in confirming is the 2nd xTR The confirmation of machine, and the feedback message carrying described confirmation is sent to a described xTR;Or Person,
When described 2nd xTR receives the first notice message that described MS forwards, from described first notice Message obtains a described EID and the first device identification;Judge whether described corresponding relation exists described Oneth EID and the corresponding relation of the first device identification;If existing, then obtaining main frame to be moved into described in confirming is The confirmation of the main frame of moving out of the 2nd xTR, and carry the anti-of described confirmation to described MS transmission Feedback message, so that described feedback message is transmitted to a described xTR by described MS.
In another embodiment of the invention, on the basis of embodiment illustrated in fig. 3, described device is all right Including more new module (not shown), main frame to be moved into described in determine as a described xTR is the Two xTR move out main frame time, according to a described EID and the first device identification, notify described MS more New described corresponding relation;Or,
For described in determining as a described xTR wait main frame of moving into be the 2nd xTR move out main frame time, according to By described MS, a described EID and the first device identification, notify that described 2nd xTR updates described corresponding pass System.
Owing to said apparatus embodiment obtains based on embodiment of the method, with the method, there is identical technology Effect, therefore the technique effect of device embodiment does not repeats them here.
For device embodiment, owing to it is substantially similar to embodiment of the method, so describing to obtain ratio Relatively simple, relevant part sees the part of embodiment of the method and illustrates.
It should be noted that in this article, the relational terms of such as first and second or the like be used merely to by One entity or operation separate with another entity or operating space, and not necessarily require or imply these Relation or the order of any this reality is there is between entity or operation.And, term " includes ", " bag Contain " or any other variant be intended to comprising of nonexcludability, so that include a series of key element Process, method, article or equipment not only include those key elements, but also its including being not expressly set out His key element, or also include the key element intrinsic for this process, method, article or equipment.Do not having In the case of having more restriction, statement " including ... " key element limited, it is not excluded that including The process of described key element, method, article or equipment there is also other identical element.
It will appreciated by the skilled person that all or part of step in above-mentioned embodiment is can Being completed by the hardware that programmed instruction is relevant, described program can be stored in embodied on computer readable storage In medium.Storage medium designated herein, refers to ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention. All any modification, equivalent substitution and improvement etc. done within the spirit and principles in the present invention, are all contained in In protection scope of the present invention.

Claims (12)

1. a host migration method, it is characterised in that be applied to station location marker separated protocol LISP network In the first tunnel router xTR, a described xTR by mapping server MS and LISP network The second tunnel router xTR be connected, described method includes:
Receive the message of reaching the standard grade that main frame to be moved into sends;
Sending the first notice message to described MS, described first notice message carries the genus of the main frame that needs to be moved into Property information;Described attribute information include described in main frame to be moved into first address mark EID;
According to the feedback message received from MS, it is judged that described in main frame to be moved into whether be moving out of the 2nd xTR Main frame, described feedback message carries whether main frame to be moved into described in judge is moving out of the 2nd xTR The judgement information of main frame;
Main frame to be moved into described in if it is determined that is the main frame of moving out of the 2nd xTR, and the most described xTR moves into institute State main frame to be moved into.
Method the most according to claim 1, it is characterised in that the judgement carried in described feedback message Information is the second device identification, and described second device identification is the device identification of main frame of moving out in the 2nd xTR;
The feedback message that described basis receives from MS, it is judged that described in main frame to be moved into whether be the 2nd xTR Main frame of moving out, specifically include:
Oneth xTR judges whether to exist in described second device identification the first device identification, and described first sets Standby be designated described in reach the standard grade the device identification of the main frame to be moved into carried in message;
If existing, it is determined that described in main frame to be moved into be the main frame of moving out of the 2nd xTR.
Method the most according to claim 2, it is characterised in that take according in described first notice message Oneth EID of band, and the EID of the main frame of moving out of the 2nd xTR and the device identification of main frame of moving out is right Should be related to that the method obtaining described second device identification specifically includes:
When described MS receives the first notice message, from described first notice message, obtain an EID;
Judge whether described corresponding relation exists the 2nd EID mated with a described EID;
If exist, then obtain in described corresponding relation with described 2nd the second corresponding for EID device identification, to Oneth xTR sends the feedback message carrying described second device identification;
Or,
When described 2nd xTR receives the first notice message that described MS forwards, from described first notice Message obtains an EID;
Judge whether described corresponding relation exists the 2nd EID mated with a described EID;
If exist, obtain in described corresponding relation with described 2nd the second corresponding for EID device identification, and to Described MS sends the feedback message carrying described second device identification, so that described MS is by described feedback Message is transmitted to a described xTR.
Method the most according to claim 1, it is characterised in that the judgement carried in described feedback message Information be main frame to be moved into described in confirming be the confirmation of main frame of moving out of the 2nd xTR;
The feedback message that described basis receives from MS, it is judged that described in main frame to be moved into whether be the 2nd xTR Main frame of moving out, specifically include:
If an xTR receives described feedback message in preset time period, then according to described confirmation Main frame to be moved into described in determining is the main frame of moving out of the 2nd xTR.
Method the most according to claim 4, it is characterised in that described attribute information also includes that first sets Standby mark, described first device identification be described in reach the standard grade the device identification of the main frame to be moved into carried in message;
According to the EID carried in described first notice message and the first device identification, and the 2nd xTR The EID of main frame of moving out and the corresponding relation of the device identification of main frame of moving out, obtain the side of described confirmation Method, specifically includes:
When described MS receives the first notice message, from described first notice message, obtain described first EID and the first device identification;
Judge whether described corresponding relation exists a described EID and the corresponding relation of the first device identification;
If existing, then obtain the confirmation of the main frame of moving out that main frame to be moved into described in confirming is the 2nd xTR, And the feedback message of described confirmation is carried to a described xTR transmission;
Or,
When described 2nd xTR receives the first notice message that described MS forwards, from described first notice Message obtains a described EID and the first device identification;
Judge whether described corresponding relation exists a described EID and the corresponding relation of the first device identification;
If existing, then obtain the confirmation of the main frame of moving out that main frame to be moved into described in confirming is the 2nd xTR, And send to described MS and to carry the feedback message of described confirmation, so that described MS is by described feedback Message is transmitted to a described xTR.
6. according to the method described in any one of claim 3 or 5, it is characterised in that described method also includes:
When described in a described xTR determines wait main frame of moving into be the 2nd xTR move out main frame time, according to institute State an EID and the first device identification, notify that described MS updates described corresponding relation;Or
When described in a described xTR determines wait main frame of moving into be the 2nd xTR move out main frame time, according to institute State an EID and the first device identification, notify that described 2nd xTR updates described correspondence by described MS Relation.
7. a host migration device, it is characterised in that be applied to station location marker separated protocol LISP network In the first tunnel router xTR, a described xTR by mapping server MS and LISP network The second tunnel router xTR be connected, described device includes:
Receiver module, for receiving the message of reaching the standard grade that main frame to be moved into sends;
Sending module, for sending the first notice message to described MS, described first notice message carries The attribute information of main frame to be moved into;Described attribute information include described in main frame to be moved into first address mark EID;
Judge module, for according to the feedback message received from MS, it is judged that described in main frame to be moved into be whether The main frame of moving out of the 2nd xTR, whether described feedback message carries described in judge main frame to be moved into and is The judgement information of the main frame of moving out of the 2nd xTR;
Move into module, for if it is determined that described in main frame to be moved into be the main frame of moving out of the 2nd xTR, then described Oneth xTR move into described in main frame to be moved into.
Device the most according to claim 7, it is characterised in that the judgement carried in described feedback message Information is the second device identification, and described second device identification is the device identification of main frame of moving out in the 2nd xTR;
Described judge module, judges whether have in described second device identification specifically for an xTR One device identification, described first device identification be described in reach the standard grade the equipment mark of the main frame to be moved into carried in message Know;If existing, it is determined that described in main frame to be moved into be the main frame of moving out of the 2nd xTR.
Device the most according to claim 8, it is characterised in that described device also includes the first acquisition mould Block, is used for according to the EID carried in described first notice message, and the main frame of moving out of the 2nd xTR EID and the corresponding relation of the device identification of main frame of moving out, obtain described second device identification;Specifically include:
When described MS receives the first notice message, from described first notice message, obtain an EID; Judge whether described corresponding relation exists the 2nd EID mated with a described EID;If existing, then obtain Take in described corresponding relation with described 2nd the second corresponding for EID device identification, to the oneth xTR send take Feedback message with described second device identification;
Or,
When described 2nd xTR receives the first notice message that described MS forwards, from described first notice Message obtains an EID;Judge whether described corresponding relation exists mated with a described EID Two EID;If exist, obtain in described corresponding relation with described 2nd the second corresponding for EID device identification, And send to described MS and to carry the feedback message of described second device identification, so that described MS is by described Feedback message is transmitted to a described xTR.
Device the most according to claim 7, it is characterised in that carries in described feedback message sentences Disconnected information be main frame to be moved into described in confirming be the confirmation of main frame of moving out of the 2nd xTR;
Described judge module, if receive described feedback report specifically for an xTR in preset time period Literary composition, then according to described confirmation determine described in main frame to be moved into be the main frame of moving out of the 2nd xTR.
11. devices according to claim 10, it is characterised in that described attribute information also includes first Device identification, described first device identification be described in reach the standard grade the device identification of the main frame to be moved into carried in message;
Described device also includes the second acquisition module, for according to first carried in described first notice message EID and the first device identification, and the equipment mark of the EID of the main frame of moving out of the 2nd xTR and main frame of moving out The corresponding relation known, obtains described confirmation;Specifically include:
When described MS receives the first notice message, from described first notice message, obtain described first EID and the first device identification;Judge whether described corresponding relation exists a described EID and the first equipment The corresponding relation of mark;If existing, then obtain the master that moves out that main frame to be moved into described in confirming is the 2nd xTR The confirmation of machine, and the feedback message carrying described confirmation is sent to a described xTR;
Or,
When described 2nd xTR receives the first notice message that described MS forwards, from described first notice Message obtains a described EID and the first device identification;Judge whether described corresponding relation exists described Oneth EID and the corresponding relation of the first device identification;If existing, then obtaining main frame to be moved into described in confirming is The confirmation of the main frame of moving out of the 2nd xTR, and carry the anti-of described confirmation to described MS transmission Feedback message, so that described feedback message is transmitted to a described xTR by described MS.
12. according to the device described in any one of claim 9 or 11, it is characterised in that described device also wraps Include more new module, be used for the master that moves out that main frame to be moved into described in determining as a described xTR is the 2nd xTR During machine, according to a described EID and the first device identification, notify that described MS updates described corresponding relation;
Described more new module, be additionally operable to determine as a described xTR described in main frame to be moved into be the 2nd xTR Move out main frame time, according to a described EID and the first device identification, notify described by described MS Two xTR update described corresponding relation.
CN201610382951.9A 2016-05-31 2016-05-31 Host migration method and device Active CN106059928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610382951.9A CN106059928B (en) 2016-05-31 2016-05-31 Host migration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610382951.9A CN106059928B (en) 2016-05-31 2016-05-31 Host migration method and device

Publications (2)

Publication Number Publication Date
CN106059928A true CN106059928A (en) 2016-10-26
CN106059928B CN106059928B (en) 2021-03-02

Family

ID=57172599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610382951.9A Active CN106059928B (en) 2016-05-31 2016-05-31 Host migration method and device

Country Status (1)

Country Link
CN (1) CN106059928B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841442A (en) * 2010-02-08 2010-09-22 电子科技大学 Method for detecting network anomaly in name-address separated network
CN102075420A (en) * 2010-12-27 2011-05-25 北京邮电大学 Location identifier and host identifier separation-based system and mobility management method thereof
US20150188802A1 (en) * 2013-12-26 2015-07-02 Electronics And Telecommunications Research Institute System for supporting multi-tenant based on private ip address in virtual private cloud networks and operating method thereof
CN104935519A (en) * 2015-04-16 2015-09-23 杭州华三通信技术有限公司 Virtual machine migration detection method in locator identity separation protocol (LISP) network and virtual machine migration detection device in locator identity separation protocol network
US20160065531A1 (en) * 2014-08-27 2016-03-03 Cisco Technology, Inc. Source-aware technique for facilitating lisp host mobility
CN105530325A (en) * 2014-09-30 2016-04-27 杭州华三通信技术有限公司 Locator/identity separation protocol host migration method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841442A (en) * 2010-02-08 2010-09-22 电子科技大学 Method for detecting network anomaly in name-address separated network
CN102075420A (en) * 2010-12-27 2011-05-25 北京邮电大学 Location identifier and host identifier separation-based system and mobility management method thereof
US20150188802A1 (en) * 2013-12-26 2015-07-02 Electronics And Telecommunications Research Institute System for supporting multi-tenant based on private ip address in virtual private cloud networks and operating method thereof
US20160065531A1 (en) * 2014-08-27 2016-03-03 Cisco Technology, Inc. Source-aware technique for facilitating lisp host mobility
CN105530325A (en) * 2014-09-30 2016-04-27 杭州华三通信技术有限公司 Locator/identity separation protocol host migration method and device
CN104935519A (en) * 2015-04-16 2015-09-23 杭州华三通信技术有限公司 Virtual machine migration detection method in locator identity separation protocol (LISP) network and virtual machine migration detection device in locator identity separation protocol network

Also Published As

Publication number Publication date
CN106059928B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN105763440B (en) A kind of method and apparatus of message forwarding
CN105282003B (en) Establish the method and system and tunnel control device and virtual switch in tunnel
CN102143247B (en) Method for allocating and configuring address, address allocation server and host machine
CN107770026A (en) Tenant network data transmission method, tenant network system and relevant device
CN102801715A (en) Method for virtual machine migration in network, gateway and system
CN105744579B (en) Method, switching control and the access device that terminal switches between AP
CN107547349A (en) A kind of method and device of virtual machine (vm) migration
CN104350467A (en) Elastic enforcement layer for cloud security using SDN
EP2849498A1 (en) Method of accessing, by wireless device, information mapped to currently positioned space by using network access device, and device for accessing information mapped to currently positioned space by using network access device
CN102123182A (en) Method for separating host identifier (HID) mark from locator based on IPV6 (Internet Protocol Version 6) address
CN107623757A (en) Entry updating method and apparatus
CN102325347A (en) Transport stream template coupling method in LTE system and apparatus thereof
CN105991440A (en) Method and device for preventing flow interruption caused by virtual machine (VM) migration
CN102711193A (en) Apparatus and method for performing fast handover
CN103037360A (en) Mapping request response, information acquiring method and relevant devices based on locator identifier split protocol (LISP)
CN108540408B (en) Openstack-based distributed virtual switch management method and system
CN105791304A (en) Message processing method and message processing device
CN104780110B (en) Message transmitting method and equipment during a kind of virtual machine (vm) migration
CN106059928A (en) Host migration method and device
CN104780102A (en) Information processing method and device for virtual machine migration in LISP (locator identity separation protocol) network
CN103095581B (en) System and method for separated terminal identification location marking and service router
CN105450526B (en) A kind of message processing method and equipment
WO2016074478A1 (en) Method and device for identifying service chain path, and service chain
CN105591890A (en) Method and device for updating mapping buffering of ingress router
CN105610717B (en) A kind of route issuing method and device across SDN network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou science and Technology Industrial Park, high tech Industrial Development Zone, Zhejiang Province, No. six and road, No. 310

Applicant before: Huasan Communication Technology Co., Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant