CN106506369A - A kind of method and apparatus for obtaining address information - Google Patents

A kind of method and apparatus for obtaining address information Download PDF

Info

Publication number
CN106506369A
CN106506369A CN201511031771.8A CN201511031771A CN106506369A CN 106506369 A CN106506369 A CN 106506369A CN 201511031771 A CN201511031771 A CN 201511031771A CN 106506369 A CN106506369 A CN 106506369A
Authority
CN
China
Prior art keywords
nodal point
point equipment
address information
secondary nodal
message
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.)
Pending
Application number
CN201511031771.8A
Other languages
Chinese (zh)
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 CN201511031771.8A priority Critical patent/CN106506369A/en
Publication of CN106506369A publication Critical patent/CN106506369A/en
Pending legal-status Critical Current

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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • H04L61/2553Binding renewal aspects, e.g. using keep-alive messages

Abstract

The invention provides a kind of method and apparatus for obtaining address information, methods described includes:Receive the log-on message that primary nodal point equipment sends, address information is obtained from the log-on message, when the address information belongs to the pre- issue network segment, the address information is sent to node device, achieving makes MS that address information is sent to node device, so as to be both needed to MS acquisition request address informations without the need for each node device.

Description

A kind of method and apparatus for obtaining address information
Technical field
A kind of the present invention relates to communications field, more particularly to method and apparatus for obtaining address information.
Background technology
LISP (Locator/ID Separation Protocol, position/ID separated protocols) provides a kind of new The network architecture of type, is divided into two independent addresses IP address:End points identity EID (Endpoint Identifiers) address and route location RLOC (Routing Locator) address, wherein, EID ground Location is used for being identified terminal unit;And RLOC addresses are used for being identified routing device, when In certain terminal unit needs and peer node equipment in this end node devices in the LISP network architectures When certain terminal unit carries out message communication, need first to obtain from mapping server MS (Map-Server) requests The EID-to-RLOC address informations in peer node equipment are taken, and according to the EID-to-RLOC for obtaining Address information, by between this end node devices and peer node equipment set up LISP transmit tunnel come Packet sending and receiving is completed, wherein, this end node devices can be entrance tunnels router ITR (Ingress Tunnel Router), distant-end node equipment can be exit tunnel router ETR (Egress Tunnel ), or this end node devices and distant-end node equipment are tunnel router xTR (x Tunnel Router Router).
In the prior art, when there is no peer node equipment in multiple end node devices During EID-to-RLOC address informations, each this end node devices is both needed to the MS in the LISP network architectures (Map-Server) EID-to-RLOC address informations are asked.
Content of the invention
In view of this, the application provides a kind of method and apparatus for obtaining address information, makes MS by address Information is sent to node device, so as to be both needed to MS acquisition request address informations without the need for each node device.
For solving above-mentioned technical problem, the technical scheme of the application is realized in:
A kind of method for obtaining address information, methods described are applied in mapping server MS, the side Method includes:
Receive the log-on message that primary nodal point equipment sends;
Address information is obtained from the log-on message, when the address information belongs to the pre- issue network segment, The address information is sent to node device, the node device is registered node device in MS.
A kind of device for obtaining address information, described device are applied in mapping server MS, the dress Put including:
Setup module, for arranging the pre- issue network segment of MS;
Receiver module, for receiving the log-on message of primary nodal point equipment transmission;
Acquisition module, for obtaining address information from the log-on message;
Judge module, for judging whether the address information belongs to the pre- issue network segment;
When the judge module, sending module, for judging that the address information belongs to the pre- issue network segment When, the address information is sent to node device, the node device is registered node in MS Equipment.
From such scheme, in the application when MS receives the log-on message of primary nodal point equipment, The address information of primary nodal point equipment is obtained from the log-on message, and when the address information belongs to pre- issue During the network segment, the address information can be sent to arbitrary node equipment by MS, so as to solve when multiple nodes During address information without primary nodal point equipment in equipment, multiple node devices are both needed to send request to MS and obtain Take the solicited message of the address information of primary nodal point equipment.
Description of the drawings
LISP networking schematic diagrams of the Fig. 1 for the embodiment of the present application;
Schematic flow sheets of the Fig. 2 for a kind of acquisition address information method of the embodiment of the present application;
LISP networking schematic diagrams of the Fig. 3 for the embodiment of the present application.
Specific embodiment
For making the objects, technical solutions and advantages of the present invention become more apparent, develop simultaneously referring to the drawings Embodiment, is described in further detail to scheme of the present invention, it is clear that described embodiment is only Only it is a part of embodiment of the invention, rather than whole embodiments.Embodiment in based on the present invention, All other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be noted that address information is EID-to-RLOC address informations, wherein, RLOC is used for The address of mark node device, EID are used for the address for identifying the terminal unit in the node device.
Distinguish for convenience, the application introduces node device, primary nodal point equipment, and secondary nodal point Equipment, wherein, node device is that registered arbitrary node device in MS, primary nodal point equipment are To mapping server MS (Map-Server) send log-on message node device, or be with by other Node device corresponding to the address information of node device institute acquisition request;Secondary nodal point equipment is to MS The node device of acquisition request address information is sent, it can therefore be seen that described primary nodal point equipment, Secondary nodal point equipment can realize primary nodal point equipment or secondary nodal point equipment work(in the LISP network architectures The arbitrary node device of energy.
Wherein, described node device can be understood as the edge router in the LISP network architectures, example Such as:Entrance tunnels router ITR, exit tunnel router ETR, or tunnel router xTR, its Middle xTR is while supporting the router of ITR and ETR functions.
As shown in Figure 1, there is provided a networking schematic diagram based on the LISP network architectures, set with node As a example by standby xTR, the schematic diagram illustrates MS, node device xTR1~xTR7 in the LISP network architectures With some terminal units, wherein, terminal unit includes some main frame HOST, file server FS (File Server), display server DS (Display Server) and printing server PS (Printing Server) Based on above-mentioned network construction, when in the main frame HOST1 xTR7 to be accessed in node device xTR1 During display server DS, xTR1 can first search the EID-to-RLOC addresses that itself whether have recorded DS Information (EID identifies the address of DS, and RLOC identifies the address of xTR7), if exist, xTR1 roots Communication lines between xTR1 and xTR7 are set up by, HOST1 according to the EID-to-RLOC address informations and DS passes through the communication route;If not existing, xTR1 sends Map-Requset to MS Message, for asking the EID-to-RLOC address informations of DS to MS, now, MS can be by itself The EID-to-RLOC address informations of the DS of record feed back to xTR1 by Map-Reply messages, or The Map-Requset messages for receiving can be transmitted to xTR7 by person MS, when xTR7 receives the message Afterwards, the EID-to-RLOC address informations of the DS of self record are passed through Map-Reply messages by xTR7 XTR1 is fed back to, after xTR1 receives Map-Reply messages, obtains DS's from the message EID-to-RLOC address informations, and set up with xTR7 according to the EID-to-RLOC address informations for obtaining Communication lines are by by the communication route between HOST1 and DS.
If during display server DS in the xTR7 to be accessed of the HOST3 in subsequent time, xTR2, If not recording the EID-to-RLOC address informations of DS in xTR2, xTR2 will repeat above-mentioned xTR1 The EID-to-RLOC address informations of DS are obtained to the step of MS acquisition request DS address informations, And then communication lines are set up by logical by this between HOST3 and DS with xTR7 according to the address information for obtaining Letter route.
As shown in Fig. 2 embodiments providing a kind of method for obtaining address information, methods described It is applied in mapping server MS, methods described includes:
Step 201, receives the log-on message that primary nodal point equipment sends.
Step 202, obtains address information, from the log-on message when the address information belongs to pre- During the cloth network segment, the address information is sent to node device, the node device is registered in MS Node device.
In step 201, when new node device adds LISP networks, (node device can be with For routers such as ITR, ETR or xTR), or the terminal unit change in certain existing node device When (for example increasing new terminal unit), the node device needs to send log-on message to MS, now The node device is just the primary nodal point equipment described in step 201, and wherein, the log-on message is carried The EID-to-RLOC address informations of terminal unit in the node device, when MS receives the log-on message Afterwards, EID-to-RLOC address informations are obtained from log-on message and are recorded;
Preferably, address information table is generated in MS, by the EID-to-RLOC address informations storage for obtaining In the address information table.
In step 202., when MS receives the log-on message in step 201, from the log-on message Middle acquisition EID-to-RLOC address informations, when judging that the EID-to-RLOC address informations belong to When issuing the network segment in MS in advance (judge that RLOC address informations belong to the pre- issue network segment in MS, or Person judges that EID address informations belong to the pre- issue network segment in MS), for example, the pre- issue network segment in MS For 2.1.0.0/16, in EID-to-RLOC address informations, the address of ROLC is 2.1.2.1/24, because 2.1.2.1/24 address belongs to the 2.1.0.0/16 network segments, and therefore EID-to-RLOC address informations belong in MS The pre- issue network segment, then MS the EID-to-RLOC address informations are sent to node device, wherein, The EID-to-RLOC address informations are sent to node device, it can be understood as, will be described EID-to-RLOC address informations are sent to (described to be noted to MS to the node device of MS registrations The node device of volume can be the arbitrary node equipment that registers in MS).
In the present embodiment, MS itself can be provided with the preset network segment, so that MS works in the preset network segment In (so that MS process belongs to the message in the preset network segment), the pre- issue net described in the present embodiment Section can be identical with the preset network segment, or the part network segment in the preset network segment.
By above-described embodiment as can be seen that when MS is received in the log-on message that primary nodal point equipment sends EID-to-RLOC address informations belong to pre- issue the network segment when, MS can be by the EID-to-RLOC Address information is sent to the node device in LISP networks, so that the node device in LISP networks Without the need for further to the MS acquisition requests address informations again, make the MS can by arranging the pre- network segment of issuing Flexibly to choose whether the EID-to-RLOC addresses in the log-on message for sending primary nodal point equipment (node device is the arbitrary node that registers to MS to the node device that information is sent in LISP networks Equipment), it is achieved that MS to log-on message in EID-to-RLOC address informations have send selection Property, i.e., when the EID-to-RLOC addresses letter in the log-on message that the primary nodal point equipment that MS is received sends When breath belongs to the pre- issue network segment, then the EID-to-RLOC address informations are sent to LISP nets by MS Node device in network, otherwise, the EID-to-RLOC address informations are not sent to LISP networks by MS In node device, further, due to this pre- issue network segment can select the part net in the preset network segment Section so that only belong to the pre- EID-to-RLOC address informations for issuing the network segment just by MS to LISP Node device in network sends, effectively save MS itself, MS to route between node device with And the resource of node device.
The embodiment of the present invention provides another kind of prioritization scheme, and node device can be of little use EID-to-RLOC address informations are never sent to node device, and the prioritization scheme is to the pre- issue net Section arrange ageing time, if receive before the ageing time terminates node device transmission for described The active notice of address information, then, after the ageing time terminates, continue to issue the address information The address information otherwise, after the ageing time terminates, is no longer issued node and is set by node device Standby, specifically, MS arranges ageing time to the pre- issue network segment for arranging, and has been transmitted across by MS EID-to-RLOC address informations be labeled as an inactive state, if before ageing time terminates MS receive To node device send carry active notice message when, MS according to the active notice in message, By with the EID-to-RLOC address informations corresponding to the active notice by original an inactive state labelling For active state, then, after the ageing time for issuing the network segment in advance terminates, MS continues to send to node device The EID-to-RLOC address informations of active state are marked as, otherwise, after ageing time terminates, MS does not continue to send the EID-to-RLOC addresses letter for being marked as an inactive state to node device Breath.
Wherein, with the EID-to-RLOC address informations corresponding to active notice by original an inactive state Be labeled as active state, specifically, MS according in the active notice for receiving carry RLOC addresses, With or EID addresses, will with the RLOC addresses and or the corresponding EID-to-RLOC in EID addresses ground Location information flag is active state, and accordingly, different node devices are receiving MS transmissions After EID-to-RLOC address informations, number of times that the EID-to-RLOC address informations for receiving are used Preset value is set, when counting what received EID-to-RLOC address informations were used in T time (in T time, the quilt of received EID-to-RLOC address informations is counted when number of times reaches preset value Call number, wherein described T time are not more than the pre- ageing time for issuing the network segment, it is preferred that T time Pre- issue network segment ageing time for 1/2), then the EID-to-RLOC address informations are carried active MS is sent in notice.
Or, ageing time is arranged to the pre- issue network segment, and the address information used Number of times arrange preset value, if receive before ageing time terminates node device transmission for the address When reaching preset value using the number of times for notifying of information, then, after the ageing time terminates, continue institute State address information and issue node device, otherwise, after the ageing time terminates, no longer by the address Information issues node device, and specifically, MS arranges ageing time to the pre- issue network segment for arranging, and The number of times used by EID-to-RLOC address informations recorded in MS arranges preset value, if old Before the change time terminates, MS receive node device transmission for certain EID-to-RLOC address information By using notify number of times reached preset value when, then after the ageing time terminates, continuation will be described Address information issues node device, otherwise, will be after the ageing time terminates, no longer by the address Information issues node device.Accordingly, different node devices are receiving the EID-to-RLOC of MS transmissions After address information, the use state of the EID-to-RLOC address informations is monitored, when certain section Point device monitors the EID-to-RLOC address informations and is used, then by the EID-to-RLOC ground Location information is carried and is sent to MS in using notice.
By above-described embodiment as can be seen that when the EID-to-RLOC address informations that MS sends are node During the EID-to-RLOC address informations that equipment is of little use, MS no longer can send this seldom to node device EID-to-RLOC address informations, send the EID-to-RLOC being of little use so as to reduce because of MS Address information and waste the resource of MS, node device and bandwidth.In an embodiment of the present invention, When the EID-to-RLOC address informations carried in the log-on message that primary nodal point equipment sends belong to MS's Pre- when issuing the network segment, now, the pre- network segment of issuing can be the preset network segment, and MS receives secondary nodal point equipment The solicited message of transmission, the solicited message be secondary nodal point equipment to MS acquisition request primary nodal point equipment In certain terminal unit EID-to-RLOC address informations, MS according to the solicited message, further, MS, according to the solicited message EID-to-RLOC addresses of requested acquisition is believed according to corresponding strategy Breath is sent to secondary nodal point equipment, and other node devices in addition to the secondary nodal point equipment (should Other node devices can be understood as arbitrary node equipment).
Wherein, the tactful corresponding policing parameter is:Group or Permission Levels or MS receive request The number of information.Correspondingly, primary nodal point equipment and/or secondary nodal point equipment are sending registration letter to MS During breath, the log-on message carries respective group or carries respective Permission Levels, described MS obtains group or authority of each node device etc. from the log-on message for carrying group or Permission Levels Level;Or MS arranges group or Permission Levels to registered node device.
In order to preferably illustrate technical scheme, The embodiment provides following preferably side Case, it should be appreciated that following preferred version is only for preferably illustrating the present invention, in order to not limiting this Invention, instantiation are as follows:
The invention provides a kind of embodiment, when the policing parameter is group, MS receives secondary nodal point The solicited message that equipment sends, if judge to send the second of the solicited message according to the solicited message The group of node device is identical with the group of the primary nodal point equipment, then by requested acquisition EID-to-RLOC address informations are sent to secondary nodal point equipment, and have and the primary nodal point equipment, Or identical group of secondary nodal point equipment other node devices other.
In the present embodiment, primary nodal point equipment and/or secondary nodal point equipment send to MS and carry group Log-on message, the MS obtains the group of each node device from carrying in the other log-on message of group, Or MS arranges group to registered node device.Specifically, primary nodal point equipment and/or second section (preferably the group is corresponding to carry group to MS in the log-on message that point device sends RLOC addresses in EID-to-RLOC address informations, that is, all terminals with identical RLOC addresses Equipment has identical group), MS receives above-mentioned log-on message, and obtains and record each log-on message In group, or in MS to registered node device arrange group.As long as MS can obtain section Group corresponding to point device, to be obtain from the log-on message of node device or from MS from Obtain in the group information of the node device of body configuration, without restriction.The node device that MS records are obtained Group information.
In the present embodiment, MS have recorded the EID-to-RLOC of each terminal unit in different node devices Address information, while have recorded the group corresponding to different node devices, further, asks according to described The group of the secondary nodal point equipment for asking information to judge to send the solicited message and the primary nodal point equipment Group identical determination methods include:When MS receives the solicited message of secondary nodal point equipment transmission, MS according in the solicited message carry (for example secondary nodal point sets with the device-dependent information of secondary nodal point Standby No. ID, EID address informations, RLOC address informations etc.) determine second section recorded in MS The group of point device, or, group is carried in the solicited message that secondary nodal point equipment is sent to MS, MS determines the group of secondary nodal point equipment, further, MS roots according to the group carried in solicited message Related to the EID-to-RLOC address informations of primary nodal point equipment to be obtained according to carried in solicited message Information (No. ID of such as primary nodal point equipment, EID address informations, RLOC address informations etc.) really Determine the group of the primary nodal point equipment recorded in MS, MS is by the group of the secondary nodal point equipment for determining Mated with the group of the primary nodal point equipment for determining, if group is identical, judged secondary nodal point The group of equipment is identical with the group of primary nodal point equipment;
For convenience of description, a LISP network scenarios is embodiments provided, as shown in figure 3, Group is configured in node device, and concrete configuration is equal 1 and for the group of node device xTR1, xTR2 2, the group of node device xTR3, xTR4 is 1, and the group of node device xTR5, xTR6 is The group of 2, node device xTR7 is that 1, xTR1~xTR7 can send note to MS in building network Volume information, carries the group of node device, and terminal unit in node device in the log-on message EID-to-RLOC address informations, MS are received and record the letter of the EID-to-RLOC addresses in log-on message Breath, and the group of record xTR1~xTR7, for example, when MS have received xTR1~xTR7 transmissions Log-on message after, obtain log-on message in xTR1~xTR7 EID-to-RLOC address informations, with And obtain xTR1~xTR7 group, and according to group understand xTR1, xTR2, xTR3, xTR4, There is xTR7 identical group 1, xTR1, xTR2, xTR5, xTR6 there is identical group 2.
File server FS (File in the terminal unit HOST1 xTR5 to be accessed in xTR1 When Server), if the EID-to-RLOC address informations without FS in xTR1, xTR1 need to MS request xTR5 in FS EID-to-RLOC address informations, due to xTR1, xTR2, xTR5, XTR6 has identical group 2, and therefore MS can be by the EID-to-RLOC addresses letter of FS in xTR5 Breath is sent to xTR1, xTR2, xTR6, if when the terminal unit HOST3 in xTR2 is also intended to access In xTR5 during FS, due to MS, warp-wise xTR2 has pushed the address information of FS, therefore HOST3 EID-to-RLOC address informations according to the FS in xTR2 are communicated with the FS in xTR5, nothing Need the solicited message for sending the EID-to-RLOC address informations of FS in request xTR5 again to MS;
In the same manner, as the display server DS in the terminal unit HOST2 xTR7 to be accessed in xTR1 When (Display server), if the EID-to-RLOC address informations without DS in xTR7 in xTR1, Therefore xTR1 to MS ask xTR7 in DS EID-to-RLOC address informations, due to xTR1, XTR2, xTR3, xTR4, xTR7 have identical group 1, and therefore MS can be by DS in xTR7 EID-to-RLOC address informations be sent to xTR1, xTR2, xTR3, xTR4, if xTR2, xTR3, When in xTR4, arbitrary terminal unit needs to access DS in xTR7, without the need for sending request xTR7 to MS again The solicited message of the EID-to-RLOC address informations of middle DS.
By the present embodiment as can be seen that MS passes through the group for recording each node device in LISP networks, And when send the group of secondary nodal point equipment of solicited message with corresponding to the address information of requested acquisition When the group of primary nodal point equipment is identical, the EID-to-RLOC that secondary nodal point equipment can be asked by MS Address information is sent to secondary nodal point equipment, and the EID-to-RLOC address informations are sent to tool There is the group with primary nodal point equipment, or identical with the group of secondary nodal point equipment group of other nodes other set Standby, so that having and primary nodal point equipment or identical group of secondary nodal point equipment other node devices other Without the need for EID-to-RLOC address informations described in MS acquisition requests.
Present invention also offers another kind of embodiment, when the policing parameter is Permission Levels, MS is received The solicited message that secondary nodal point equipment sends, if judge to send the request letter according to the solicited message When the Permission Levels of the secondary nodal point equipment of breath are not less than the Permission Levels of the primary nodal point equipment, then will The EID-to-RLOC address informations of requested acquisition are sent to secondary nodal point equipment, and are sent to and have It is not less than other node devices of the primary nodal point equipment Permission Levels.
In the present embodiment, primary nodal point equipment and/or secondary nodal point equipment send to MS and carry authority etc. The log-on message of level, the MS obtain the power of each node device from the log-on message for carrying Permission Levels Limit grade, or MS is to registered node device setting Permission Levels.Specifically, primary nodal point sets (the preferred authority of carrying Permission Levels in the log-on message that standby and/or secondary nodal point equipment sends to MS RLOC addresses in the corresponding EID-to-RLOC address informations of grade, that is, have identical RLOC addresses All terminal units have identical Permission Levels), MS receives above-mentioned log-on message, and obtain per Permission Levels in individual log-on message, or authority etc. is arranged to registered node device in MS Level.As long as MS can obtain the Permission Levels corresponding to node device, to being the note from node device Obtain in volume information or obtain from the Permission Levels of the node device of MS itself configurations, without restriction. The Permission Levels of the node device that MS records are obtained.
In the present embodiment, MS have recorded the EID-to-RLOC of each terminal unit in different node devices Address information, and the Permission Levels of different node devices are have recorded, further, according to the request Information judges that the Permission Levels of the secondary nodal point equipment for sending the solicited message are not less than the first segment The determination methods of the Permission Levels of point device include:When MS receives the request of secondary nodal point equipment transmission During information, MS is according to carrying in the solicited message and the device-dependent information of secondary nodal point (such as the No. ID of two node devices, EID address informations, RLOC address informations etc.) determine recorded in MS Secondary nodal point equipment Permission Levels, or, in the solicited message that secondary nodal point equipment is sent to MS Permission Levels are carried, MS determines secondary nodal point equipment according to the Permission Levels carried in solicited message Permission Levels, further, MS is according to carrying in solicited message with primary nodal point equipment to be obtained The related information of EID-to-RLOC address informations (No. ID of such as primary nodal point equipment, EID addresses letter Breath, RLOC address informations etc.) determine the Permission Levels of primary nodal point equipment recorded in MS, MS Permission Levels of the Permission Levels of the secondary nodal point equipment of determination with the primary nodal point equipment for determining are compared Compared with judging whether the Permission Levels of secondary nodal point equipment are not less than the Permission Levels of primary nodal point equipment.
For convenience of description, a LISP network scenarios is embodiments provided, as shown in figure 3, Group is configured in node device, and concrete configuration is distinguished for the Permission Levels of node device xTR1~xTR7 For 1~7, in network construction, xTR1~xTR7 can send log-on message to MS, and MS can record note EID-to-RLOC address informations in volume information, and the Permission Levels of record xTR1~xTR7, if When xTR4 asks the address information of HOST5 in xTR3 to MS, due to xTR5, xTR6, xTR7 Permission Levels be all higher than the Permission Levels of xTR3, therefore, MS can be by the ground of HOST5 in xTR3 Location information is sent to xTR4, xTR5, xTR6, xTR7.
By the present embodiment as can be seen that MS is by recording authority of each node device etc. in LISP networks Level, and when the Permission Levels of the secondary nodal point equipment for sending solicited message are not less than the ground with requested acquisition During the Permission Levels of the primary nodal point equipment corresponding to the information of location, MS can be by secondary nodal point device request EID-to-RLOC address informations are sent to secondary nodal point equipment, and by the EID-to-RLOC addresses Information is sent to other node devices for being not less than primary nodal point equipment Permission Levels, so that having not Need not be to described in MS acquisition requests less than other node devices of primary nodal point equipment Permission Levels EID-to-RLOC address informations.
Present invention also offers another kind of embodiment, the policing parameter is that MS receives the individual of solicited message During number, preset value is arranged to the requested number of times of the EID-to-RLOC address informations recorded in MS, MS receives the solicited message that secondary nodal point equipment sends, and counts the number of the solicited message of reception, and Using the number of the solicited message for counting as the requested times N of the address information ', work as the value of N ' During not less than preset value, the EID-to-RLOC address informations of requested acquisition are sent to the second section Point device, and other node devices being sent in addition to the secondary nodal point equipment.
In the present embodiment, due to there may be multiple terminal devices in each secondary nodal point equipment, and every Individual terminal unit is likely to exist ask to be set up with certain terminal unit in same primary nodal point equipment and is led to , therefore there is a secondary nodal point equipment because of the request of plurality of terminal unit to MS in the situation of letter The situation of the repeatedly solicited message of the EID-to-RLOC address informations of request primary nodal point equipment is sent, or There is the number of requests that secondary nodal point equipment ignores multiple terminal devices in person, i.e., when in secondary nodal point equipment certain When one terminal unit sends request, secondary nodal point equipment just according to the request of the terminal unit, is sent out to MS The situation of the once solicited message of the EID-to-RLOC address informations of request primary nodal point equipment is sent, so According to two kinds of above-mentioned situations, if there is M secondary nodal point equipment, can exist and ask to MS transmission M ' are individual Information is sought, and M ' is the integer not less than M.
In the present embodiment, when primary nodal point equipment sends log-on message to MS, MS is from the registration The EID-to-RLOC address informations of terminal unit in primary nodal point equipment are obtained in information, and to acquired The requested number of times of EID-to-RLOC address informations arrange preset value (preset value can MS from It is configured when obtaining EID-to-RLOC address informations in log-on message, or when MS is according to receiving Secondary nodal point equipment send solicited message, determine that secondary nodal point equipment is intended to obtain according to the solicited message During the EID-to-RLOC address informations for taking, preset value is arranged to the EID-to-RLOC address informations), Further, an arbitrarily secondary nodal point equipment is in MS acquisition request primary nodal point equipment During EID-to-RLOC address informations, MS counts the number of the solicited message of reception, and will count Solicited message number as the requested times N of the EID-to-RLOC address informations ', work as system When counting out the value of N ' not less than preset value, the EID-to-RLOC address informations are sent to described by MS Secondary nodal point equipment, and other node devices in addition to the secondary nodal point equipment.
For convenience of description, a LISP network scenarios is embodiments provided, as shown in figure 3, In network construction, xTR1~xTR7 can send log-on message to MS, carry section in the log-on message The EID-to-RLOC address informations of terminal unit in point device, MS can be recorded in log-on message EID-to-RLOC address informations, and the requested number of times of the EID-to-RLOC address informations for recording is set Put preset value.
For example, MS is requested to the EID-to-RLOC address informations of the DS in the xTR7 that recorded Number of times arrange preset value be 3, when terminal unit HOST1 pass through xTR1, terminal unit HOST3 Sent in acquisition request xTR7 to MS by xTR3 by xTR2 and terminal unit HOST5 During the solicited message of the EID-to-RLOC address informations of DS, MS can count DS in request xTR7 The number of solicited message of EID-to-RLOC address informations be 3, then N ' is 3, and then is directed to The requested number of times of the EID-to-RLOC address informations of DS reaches 3 times, then MS can be by DS EID-to-RLOC address informations are sent to xTR1~xTR6.
Or, when terminal unit HOST1 sends DS in request xTR7 by xTR1 to MS During the solicited message of EID-to-RLOC address informations, when MS receives the solicited message, MS pair The requested number of times of the EID-to-RLOC address informations of DS arranges preset value, the preset value for for example arranging In the request xTR7 EID-to-RLOC address information of DS is counted within a certain period of time for 2, MS The number of solicited message is 2, then N ' is 2, and then obtains believing for the EID-to-RLOC addresses of DS Cease requested number of times and reach 2 times, then the EID-to-RLOC address informations of DS can be sent to by MS XTR1~xTR6.
By the present embodiment as can be seen that MS judge requested to same EID-to-RLOC address informations Times N ' value and preset value size, when the value for judging N ' is not less than preset value, MS can be by The EID-to-RLOC address informations are sent to secondary nodal point equipment, and except the secondary nodal point equipment with Other outer node devices.
Based on the inventive concept same with said method, a kind of acquisition ground in the embodiment of the present invention, is additionally provided The device of location information, the device are applied on mapping server MS, wherein, and the device can pass through software Realize, it is also possible to realized by way of hardware or software and hardware combining.As a example by implemented in software, as one Device on individual logical meaning, is the processor in the MS being located by which, by nonvolatile memory Corresponding computer program instructions read what operation in internal memory was formed.From for hardware view, the present invention is real Apply example proposition acquisitions address information device be located MS be hardware configuration, except include processor, Outside network interface, internal memory and nonvolatile memory, other hardware can also be included, such as be responsible for processing report Forwarding chip of text etc.;For from hardware configuration, the MS is also possible to be distributed apparatus, potentially includes Multiple interface cards, to carry out the extension of Message processing in hardware view.
The embodiment of the present invention provides a kind of device for obtaining address information, and described device is applied to mapping services In device MS, described device includes:
Setup module, for arranging the pre- issue network segment of MS;
Receiver module, for receiving the log-on message of primary nodal point equipment transmission;
Acquisition module, for obtaining address information from the log-on message;
Judge module, for judging whether the address information belongs to the pre- issue network segment;
When the judge module, sending module, for judging that the address information belongs to the pre- issue network segment When, the address information is sent to node device, the node device is registered node in MS Equipment.
Wherein, described address information can be EID-to-RLOC address informations, further, send Module by the address information be sent to node device be construed as sending module will be described EID-to-RLOC address informations are sent to node device, wherein, the EID-to-RLOC addresses are believed Breath is sent to node device, it can be understood as, the EID-to-RLOC address informations are sent to LISP (the described node device that has registered to MS can be as the node device that has registered to MS in network The arbitrary node equipment that registers in MS).
Further, the setup module is additionally operable to arrange the pre- issue network segment, and to the pre- issue net Section arranges ageing time, and optionally described setup module is additionally operable to the EID-to-RLOC address informations Preset value is set, and the judge module is additionally operable to judge whether the EID-to-RLOC address informations belong to Issue the network segment in pre-, the sending module, be additionally operable to when the judge module judge described When EID-to-RLOC address informations belong to the pre- issue network segment, the EID-to-RLOC address informations are sent out Give registered node device.
In embodiments of the present invention, the receiver module, is additionally operable to receive the request that secondary nodal point equipment sends Information, the solicited message are used for the EID-to-RLOC address informations for asking the primary nodal point equipment, The judge module, is additionally operable to judge the solicited message that receiver module is received, specifically, The judge module is judged that according to corresponding strategy the sending module is sentenced according to the judge module The EID-to-RLOC address informations of requested for solicited message acquisition are sent to secondary nodal point by disconnected result Equipment, and other node devices in addition to the secondary nodal point equipment.
Wherein, the tactful corresponding policing parameter is:Group or Permission Levels or receiver module are received The number of solicited message.
Correspondingly, primary nodal point equipment and/or secondary nodal point equipment is when log-on message is sent to MS, institute State log-on message to carry respective group or carry respective Permission Levels, the receiver module connects Log-on message is received, the acquisition module obtains each node from the log-on message for carrying group or Permission Levels The group or Permission Levels of equipment;Or the acquisition module, from for the setting of registered node device Group or Permission Levels information in obtain the group or Permission Levels of each node device.
As long as acquisition module can obtain the group or Permission Levels corresponding to node device, to being from section Obtain in the log-on message of point device or obtain from the group information of the node device of MS itself configurations , without restriction.Acquisition module also records the group or Permission Levels of the node device of acquisition.
In the embodiment that the present invention is provided, when the policing parameter is group, the judge module is also The solicited message sent for secondary nodal point equipment that receiver module is received judges, judges described the Whether the group of two node devices is identical with the group of the primary nodal point equipment, the sending module, also For judging the group of the group of the secondary nodal point equipment and the primary nodal point equipment when judge module When identical, the address information be sent to and had and the primary nodal point equipment, or secondary nodal point equipment Identical group of other node device.
In another embodiment that the present invention is provided, when the policing parameter is Permission Levels, described sentence Disconnected module, the solicited message that the secondary nodal point equipment for receiving to receiver module sends judge, sentence Whether the Permission Levels of the disconnected secondary nodal point equipment are less than the Permission Levels of the primary nodal point equipment, institute Sending module is stated, is additionally operable to judge that the Permission Levels of the secondary nodal point equipment are not less than when judge module During the Permission Levels of the primary nodal point equipment, the address information is sent to and is not less than the first segment The node device of point device Permission Levels.
In another embodiment that the present invention is provided, the policing parameter is that the receiver module receives request During the number of information, the setup module is additionally operable to arrange in advance the requested number of times of the address information If value, the receiver module, it is additionally operable to receive solicited message, and counts the number of solicited message, and Using the number of the solicited message for counting as the requested times N of the address information ', the transmission mould Block, is additionally operable to, when judge module judges that the value of N ' is not less than preset value, the address information be sent Give the secondary nodal point equipment, and other node devices in addition to the secondary nodal point equipment.
By above-described embodiment as can be seen that in embodiments of the present invention, when MS receives primary nodal point From the log-on message, during the log-on message of equipment, obtain the EID-to-RLOC addresses of primary nodal point equipment Information, and when the EID-to-RLOC address informations belong to the pre- issue network segment, MS will can be somebody's turn to do EID-to-RLOC address informations are sent to node device, and further, MS can also be according to secondary nodal point The EID-to-RLOC address informations are sent to node device by the solicited message that equipment sends, so that In proper multiple node devices during EID-to-RLOC address informations without primary nodal point equipment, multiple nodes Equipment is without the need for the EID-to-RLOC address informations of MS request primary nodal point equipment.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention Can the mode of required general hardware platform be added by software to realize, naturally it is also possible to by hardware, but very In the case of many, the former is more preferably embodiment.Such understanding is based on, technical scheme is substantially The part that in other words prior art is contributed can be embodied in the form of software product, the computer Software product is stored in a storage medium, is used so that a computer equipment (can including some instructions Being personal computer, server, or network equipment etc.) execute side described in each embodiment of the invention Method.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the mould in accompanying drawing Block or flow process are not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that module in device in embodiment can according to embodiment describe into Row is distributed in the device of embodiment, it is also possible to carry out respective change be disposed other than one of the present embodiment or In multiple devices.The module of above-described embodiment can merge into a module, can also be further split into multiple Submodule.The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Disclosed above is only several specific embodiments of the invention, but, the present invention is not limited to this, The changes that any person skilled in the art can think of should all fall into protection scope of the present invention.

Claims (14)

1. a kind of obtain address information method, it is characterised in that methods described is applied to mapping server In MS, methods described includes:
Receive the log-on message that primary nodal point equipment sends;
Address information is obtained from the log-on message, when the address information belongs to the pre- issue network segment, by institute State address information and be sent to node device, the node device is registered node device in MS.
2. the method for claim 1, it is characterised in that the address information is sent to node and is set Standby, including:
The solicited message that secondary nodal point equipment sends is received, according to the solicited message, the address information is sent out Give the secondary nodal point equipment, and other node devices in addition to the secondary nodal point equipment;
Wherein, the solicited message is used for the address information for asking the primary nodal point equipment.
3. method as claimed in claim 2, it is characterised in that the reception secondary nodal point equipment sends The address information, according to the solicited message, is sent to the secondary nodal point equipment by solicited message, with And other node devices in addition to the secondary nodal point equipment, including:
The solicited message that secondary nodal point equipment sends is received,
If the group of the secondary nodal point equipment for being judged to send the solicited message according to the solicited message and institute State primary nodal point equipment group identical when, the address information is sent to the secondary nodal point equipment, with And be sent to have and the primary nodal point equipment or identical group of secondary nodal point equipment other node devices other.
4. method as claimed in claim 3, it is characterised in that methods described also includes:Primary nodal point sets Standby and/or secondary nodal point equipment sends to MS and carries the other log-on message of group, and the MS is from carrying group The group of each node device is obtained in other log-on message, or MS is to registered node device setting group Not.
5. method as claimed in claim 2, it is characterised in that the reception secondary nodal point equipment sends The address information, according to the solicited message, is sent to the secondary nodal point equipment by solicited message, with And other node devices in addition to the secondary nodal point equipment, including:
The solicited message that secondary nodal point equipment sends is received,
If the Permission Levels of the secondary nodal point equipment for being judged to send the solicited message according to the solicited message Be not less than the primary nodal point equipment Permission Levels when, the address information is sent to the secondary nodal point Equipment, and it is sent to other node devices for being not less than the primary nodal point equipment Permission Levels.
6. method as claimed in claim 5, it is characterised in that methods described also includes:Primary nodal point sets Standby and/or secondary nodal point equipment sends the log-on message for carrying Permission Levels to MS, and the MS is from carrying power The Permission Levels of each node device are obtained in the log-on message of limit grade, or MS is set to registered node Standby setting Permission Levels.
7. method as claimed in claim 2, it is characterised in that the reception secondary nodal point equipment sends The address information, according to the solicited message, is sent to the secondary nodal point equipment by solicited message, with And other node devices in addition to the secondary nodal point equipment, including:
Preset value is arranged to the requested number of times of the address information;
Receive solicited message, count the number of solicited message, and using the number of the solicited message for counting as The requested times N of the address information ';
When the value for judging N ' is not less than the preset value, the address information is sent to the second section Point device, and other node devices in addition to the secondary nodal point equipment.
8. a kind of obtain address information device, it is characterised in that described device is applied to mapping server In MS, described device includes:
Setup module, for arranging the pre- issue network segment of MS;
Receiver module, for receiving the log-on message of primary nodal point equipment transmission;
Acquisition module, for obtaining address information from the log-on message;
Judge module, for judging whether the address information belongs to the pre- issue network segment;
Sending module, for when the judge module judges that the address information belongs to the pre- issue network segment, inciting somebody to action The address information is sent to node device, and the node device is registered node device in MS.
9. device as claimed in claim 8, it is characterised in that
The receiver module, is additionally operable to receive the solicited message that secondary nodal point equipment sends, and the solicited message is used In the address information for asking the primary nodal point equipment;
The judge module, is additionally operable to judge the solicited message that receiver module is received.
10. device as claimed in claim 9, it is characterised in that
The judge module, the solicited message that the secondary nodal point equipment for receiving to receiver module sends are sentenced Disconnected, judge whether the group of the secondary nodal point equipment is identical with the group of the primary nodal point equipment;
The sending module, is additionally operable to judge the group and described of the secondary nodal point equipment when judge module When the group of one node device is identical, the address information is sent to and is had and the primary nodal point equipment, Or identical group of other node device of secondary nodal point equipment.
11. devices as claimed in claim 10, it is characterised in that
The receiver module, is additionally operable to receive primary nodal point equipment, and/or secondary nodal point equipment is sent to MS Carry the other log-on message of group;
The acquisition module, is additionally operable to from carrying the group that obtains each node device in the other log-on message of group, Or the group for arranging is obtained from registered node device.
12. devices as claimed in claim 9, it is characterised in that
The judge module, is additionally operable to carry out the solicited message that the secondary nodal point equipment that receiver module is received sends Judge, judge whether the Permission Levels of the secondary nodal point equipment are less than authority of the primary nodal point equipment etc. Level;
The sending module, is additionally operable to judge that the Permission Levels of the secondary nodal point equipment are not low when judge module When the Permission Levels of the primary nodal point equipment, the address information is sent to and is not less than the first segment The node device of point device Permission Levels.
13. devices as claimed in claim 12, it is characterised in that
The receiver module, is additionally operable to receive primary nodal point equipment, and/or secondary nodal point equipment is sent to MS Carry the log-on message of Permission Levels;
The acquisition module, is additionally operable to the authority for obtaining each node device from the log-on message for carrying Permission Levels Deng, or the Permission Levels for arranging are obtained from registered node device.
14. devices as claimed in claim 9, it is characterised in that
The receiver module, is additionally operable to receive solicited message, counts the number of solicited message, and will count Solicited message number as the requested times N of the address information ';
The judge module, is additionally operable to judge the requested times N of the address information ' value and preset value Size;
The sending module, is additionally operable to when judge module judges that the value of N ' is not less than preset value, will be described Address information is sent to the secondary nodal point equipment, and other nodes in addition to the secondary nodal point equipment Equipment;
The setup module, also arranges preset value with to the requested number of times of the address information.
CN201511031771.8A 2015-12-31 2015-12-31 A kind of method and apparatus for obtaining address information Pending CN106506369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511031771.8A CN106506369A (en) 2015-12-31 2015-12-31 A kind of method and apparatus for obtaining address information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511031771.8A CN106506369A (en) 2015-12-31 2015-12-31 A kind of method and apparatus for obtaining address information

Publications (1)

Publication Number Publication Date
CN106506369A true CN106506369A (en) 2017-03-15

Family

ID=58287409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511031771.8A Pending CN106506369A (en) 2015-12-31 2015-12-31 A kind of method and apparatus for obtaining address information

Country Status (1)

Country Link
CN (1) CN106506369A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866438A (en) * 2021-03-26 2021-05-28 新华三信息安全技术有限公司 Address allocation method and device and address allocation server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887498A (en) * 2010-06-30 2010-11-17 南京邮电大学 Virus checking method based on immune algorithm in mixed peer-to-peer network
CN102868612A (en) * 2011-07-04 2013-01-09 中兴通讯股份有限公司 Mobility realization method based on LISP and tunnel router
CN103167464A (en) * 2011-12-09 2013-06-19 中兴通讯股份有限公司 Method for triggering and updating mobile node mapping information, mapping server (MS) and mobile node (MN)
CN104780109A (en) * 2015-04-27 2015-07-15 杭州华三通信技术有限公司 Virtual machine migration method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887498A (en) * 2010-06-30 2010-11-17 南京邮电大学 Virus checking method based on immune algorithm in mixed peer-to-peer network
CN102868612A (en) * 2011-07-04 2013-01-09 中兴通讯股份有限公司 Mobility realization method based on LISP and tunnel router
CN103167464A (en) * 2011-12-09 2013-06-19 中兴通讯股份有限公司 Method for triggering and updating mobile node mapping information, mapping server (MS) and mobile node (MN)
CN104780109A (en) * 2015-04-27 2015-07-15 杭州华三通信技术有限公司 Virtual machine migration method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866438A (en) * 2021-03-26 2021-05-28 新华三信息安全技术有限公司 Address allocation method and device and address allocation server
CN112866438B (en) * 2021-03-26 2022-07-22 新华三信息安全技术有限公司 Address allocation method and device and address allocation server

Similar Documents

Publication Publication Date Title
US9173244B2 (en) Methods for establishing and using public path, M2M communication method, and systems thereof
CN101309273B (en) Method and device for generating safety alliance
US8102879B2 (en) Application layer metrics monitoring
CN102624611B (en) Method, device, processor and network equipment for message dispersion
WO2022078293A1 (en) Method for detecting multicast service flow and related apparatus
US20210014174A1 (en) Method, Device, and System for Transmitting Multicast Packet
US20080095177A1 (en) Method and Apparatus for Explicit Multicast Service in Ethernet
KR102580332B1 (en) Method and Apparatus for Controlling Congestion in Communication Systems with Services
EP4167529A1 (en) Slice data transmission method and apparatus, electronic device, and computer readable storage medium
CN111092937A (en) Session creation method, control method, session creation system, network element and medium
CN104038505A (en) Method and device for preventing IPSec (internet protocol security) replaying
CN113364682A (en) Data transmission method and device, storage medium and electronic device
CN113055293A (en) Routing method and device in software defined wide area network and communication system
CN104683312A (en) Method and device for negotiating media multiplexing
CN112583736A (en) Signaling message distribution method, device, equipment and medium
CN106921534A (en) Data traffic monitoring and managing method and device
EP3503484A1 (en) Message transmission method, device and network system
CN102340511B (en) Safety control method and device
US11153214B2 (en) In service flow capability update in guaranteed bandwidth multicast network
CN106506369A (en) A kind of method and apparatus for obtaining address information
CN113543234A (en) Port resource reservation method, electronic device and storage medium
CN111464443B (en) Message forwarding method, device, equipment and storage medium based on service function chain
CN111865805B (en) Multicast GRE message processing method and system
CN111669610B (en) Live video transmission method, system, device, server, electronic equipment and storage medium
CN106936900A (en) Clustered node statistical method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
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: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315