CN105357336A - Mapping relation obtaining method and apparatus - Google Patents

Mapping relation obtaining method and apparatus Download PDF

Info

Publication number
CN105357336A
CN105357336A CN201510893126.0A CN201510893126A CN105357336A CN 105357336 A CN105357336 A CN 105357336A CN 201510893126 A CN201510893126 A CN 201510893126A CN 105357336 A CN105357336 A CN 105357336A
Authority
CN
China
Prior art keywords
mapping
main
subsequent use
mapping relations
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
CN201510893126.0A
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.)
Chongqing Jinmei Communication Co Ltd
Original Assignee
Chongqing Jinmei Communication 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 Chongqing Jinmei Communication Co Ltd filed Critical Chongqing Jinmei Communication Co Ltd
Priority to CN201510893126.0A priority Critical patent/CN105357336A/en
Publication of CN105357336A publication Critical patent/CN105357336A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Abstract

The invention discloses a mapping relation obtaining method in a locator identify separation protocol network, and the method comprises the steps of receiving a register message record mapping relation when a main MS works; and updating synchronously the mapping relation to a standby MS at the same time. When the standby MS detects that the main MS fails to work, the standby MS replaces the main MS to work and sends a mapping server address switching message to an MR; and the MR updates the mapping server address. A subsequent MR makes a request to obtain the mapping relation from a new MS after receiving the mapping request message. Based on the same invention conception, the invention also provides an apparatus that can raise LISP network survivability and enhance network availability.

Description

The method and apparatus that a kind of mapping relations obtain
Technical field
The present invention relates to technical field of communication network, particularly relate to the method and apparatus that a kind of mapping relations obtain.
Background technology
Address (ADDR separated protocol (LISP, LocatorIdentifySeparationProtocal) be a kind of host identification (EID of side Network Based, EndpointIdentifiers) agreement of (RLOC, RoutingLocator) is separated with position.LISP network is divided into Access Network and backbone network.Wherein, EID is used for identifying main frame in website, can not participate in overall route, not have the routing iinformation of EID in core net; And RLOC is used for identifying the routing node of Access Network and backbone network.The distribution of main frame EID has nothing to do with network topology and position, comprises RLOC in the routing table of backbone network, and this mode makes routing table in backbone network have highly convergence property.LISP is by entrance tunnels router (ITR, and exit tunnel router (ETR IngressTunnelRouter), EgressTunnelRouter) achieve the isolation of access network and backbone network, it realizes the Mapping Resolution from EID to RLOC by a mapping mode.LISP completes the forwarding of message by the mode of " mapping+encapsulation ".
When a website host node from host node to another one website send data time, opposite end EID does not have route table items in the core network.After data arrive ITR, if ITR does not find the mapping item of EID-to-RLOC in local mapped cache table, mapping request message can be sent to MR (MapResolver), the mapping relations of acquisition request EID-to-RLOC; After MR receives the mapping request message of ITR, MS (MapServer) or this request message of oneself proxy resolution can be transmitted to.ITR obtains RLOC address corresponding to opposite end EID after receiving and mapping response message, and then ITR is with the RLOC of oneself for source address, and for the purpose of the RLOC of opposite end ETR, message encapsulation is carried out in address.This message of opposite end ETR decapsulation, is finally sent to object Correspondent Node by message.The mapping relations of object EID and the RLOC wherein carried are kept in mapped cache table simultaneously, directly can be packaged into LISP message when this object EID of subsequent access and send.
Tactical communication system, due to its position residing in battlefield, needs to guarantee when network node is by can not the normal use of other network nodes in influential system after destroying.Adopt centerized fusion mode because mapping relations in current LISP protocol obtain, but under tactical communications network environment, MS will cause whole network normally to work once there is damage.
Summary of the invention
In view of this, the invention provides in a kind of address (ADDR separated protocol network and obtain EID-to-RLOC mapping relations method and apparatus by active and standby MS mode, to improve the survivability of LISP network, strengthen the availability of LISP network.
For solving the problems of the technologies described above, the technical scheme of this aspect is achieved in that
The method that in address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on mapping server, the method comprises:
Described main MS is in normal work period, and tunnel outlet router ETR sends logon message to main MS; After main MS receives this message, EID-to-RLOC mapping relations are saved in local data base, if MS for subsequent use exists, main MS by mapping relations synchronized update to MS for subsequent use;
After ITR receives data message, if there are not EID-to-RLOC mapping relations in local mapped cache table, send mapping request message to mapping request server MR; MS carries out LISP encapsulation by mapping response message notice ITR, ITR according to the mapping relations got;
After described MS for subsequent use monitors main MS operational failure, become the work that new main MS replaces former MS, and send " mapping server address switchover message " to MR.
The method that in address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on mapping request server MR, the method comprises:
The mapping server address of record before described MR upgrades in time after receiving " the mapping server address switchover message " of MS for subsequent use, and transmission confirms that response message guarantees transmitting;
The mapping request message that follow-up MR receives ITR transmission asks mapping relations directly to new MS.
Mapping relations acquisition device in a kind of address (ADDR separated protocol network, be applied in address (ADDR separated protocol LISP network on main mapping server, this device comprises: annexation detecting unit, mapping relations lock unit and transmitting element;
Annexation detecting unit, for this device as main MS, checks whether MS for subsequent use exists and safeguard the annexation of active and standby MS;
Mapping relations lock unit, by local mapping database by batch backup or incremental backup mode synchronized update to MS for subsequent use;
Transmitting element, sends mapping relations updating message to MS for subsequent use.
Mapping relations acquisition device in a kind of address (ADDR separated protocol network, be applied in address (ADDR separated protocol LISP network on mapping server for subsequent use, this device comprises: annexation detecting unit, receiving element, memory cell, confirmation unit and mapping server switch unit;
Whether annexation detecting unit, for this device as MS for subsequent use, detect main MS and exist and safeguard active and standby annexation;
Receiving element, for this device as MS for subsequent use, the response message of the mapping relations updating message receiving main MS transmission and " the mapping server address switchover message " that receive MR;
Memory cell, preserves the mapping relations received from main MS in the local database;
Confirmation unit, confirms response to the mapping relations updating message that main MS sends;
Mapping server switch unit, for this device as MS for subsequent use, notice MR carries out mapping server address switchover.
Mapping relations acquisition device in a kind of address (ADDR separated protocol network, be applied in address (ADDR separated protocol LISP network on MR, this device comprises: receiving element, processing unit and transmitting element;
Receiving element, for this device as MR, receives " mapping server address switchover message " that MS for subsequent use sends;
Processing unit, upgrades the mapping server address of MR record;
Transmitting element, sends response message, confirms " the mapping server address switchover message " that MS for subsequent use sends.
In sum, single MS can be avoided by this method to lose efficacy the problem causing whole LISP network obstructed.In LISP network, the damage of MS for subsequent use can not affect main MS and responds mapping request message, and after main MS damage in LISP network, periodically monitored the operating state of main MS by MS for subsequent use, once find to lose efficacy, MS for subsequent use can become new main MS fast; New main MS can process the mapping request message that MR sends in time, can improve the survivability of LISP network, strengthens the reliability of network.
Accompanying drawing explanation
Fig. 1 is LISP network diagram in the embodiment of the present application;
Fig. 2 notifies MR mapping server address switchover message format schematic diagram in the embodiment of the present application;
Fig. 3 is the apparatus structure schematic diagram that the application is applied in above-described embodiment on main MS;
Fig. 4 is the apparatus structure schematic diagram that the application is applied in above-described embodiment on MS for subsequent use;
Fig. 5 is the apparatus structure schematic diagram that the application is applied in above-described embodiment on MR.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, to develop simultaneously embodiment below in conjunction with accompanying drawing, technical scheme of the present invention is described in detail.
The application provides a kind of method that in address (ADDR separated protocol network, mapping relations obtain, and be applied in address (ADDR separated protocol LISP network on mapping server, the method comprises:
In LISP network, each ETR registers the mapping relations of EID address and RLOC address to main MS.
When main MS receives the logon message of ETR, store in the local database and safeguard.If by annexation detecting unit, main MS finds that MS for subsequent use exists, by incremental update mode to MS synchronization map relation list item for subsequent use; If MS for subsequent use is just detected after main MS receives logon message, main MS needs all mapping relations synchronized update in local mapping database on MS equipment for subsequent use.
Described MS for subsequent use receives this information, after carrying out validity checking, preserves mapping relations and sends confirmation response message to main MS.
Described main MS needs startup retransmission timer after sending mapping relations updating message to MS for subsequent use, if main MS does not receive MS for subsequent use in time-out time confirm response message, main MS retransmits this message until receive the confirmation response of MS for subsequent use.
Main MS, in running, is found by heartbeat checking mechanism and safeguards MS annexation for subsequent use.
By starting heartbeat checking mechanism, MS for subsequent use upon actuation, also checks whether main MS normally works and safeguard annexation.
After ITR receives data message, if there are not EID-to-RLOC mapping relations in local mapped cache table, send mapping request message to MR; MS responds this message by mapping response message, and ITR carries out LISP encapsulation according to the map information got.
In network operation process, if main MS breaks down due to fortuitous event, MS for subsequent use detects that main MS sent " the mapping server address switchover message " shown in Fig. 2 to MR after losing efficacy, and notice MR carries out mapping server address and changes.Wherein " MSAddress " shown in Fig. 2 is the RLOC address of this MS for subsequent use.
The method that in address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on mapping request server MR, the method comprises:
After MR receives " mapping server address switchover message ", upgrade the mapping server address of local record, confirmation message can be sent to MS for subsequent use simultaneously and guarantee transmitting;
After ITR receives data message, if there are not EID-to-RLOC mapping relations in local mapped cache table, send mapping request message to MR; New MS can respond this message by mapping response message, and ITR can carry out LISP encapsulation according to the map information got.
Based on same inventive concept, the application also proposed the device that in a kind of address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on main mapping server, this device comprises: annexation detecting unit, mapping relations lock unit and transmitting element;
Annexation detecting unit, for this device as main MS, checks whether MS for subsequent use exists and safeguard the annexation of active and standby MS;
Mapping relations lock unit, by local mapping database by batch backup or incremental backup mode synchronized update to MS for subsequent use;
Transmitting element, sends mapping relations updating message to MS for subsequent use.
The device that in a kind of address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on mapping server for subsequent use, this device comprises: annexation detecting unit, receiving element, memory cell, confirmation unit and mapping server switch unit;
Whether annexation detecting unit, for this device as MS for subsequent use, detect main MS and exist and safeguard active and standby annexation;
Receiving element, for this device as MS for subsequent use, the response message of the mapping relations updating message receiving main MS transmission and " the mapping server address switchover message " that receive MR;
Memory cell, preserves the mapping relations received from main MS in the local database;
Confirmation unit, confirms response to the mapping relations updating message that main MS sends;
Mapping server switch unit, for this device as MS for subsequent use, notice MR carries out mapping server address switchover.
The device that in address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on MR, this device comprises: receiving element, processing unit and transmitting element;
Receiving element, for this device as MR, receives " mapping server address switchover message " that MS for subsequent use sends;
Processing unit, upgrades the mapping server address of MR record;
Transmitting element, sends response message, confirms " the mapping server address switchover message " that MS for subsequent use sends.

Claims (7)

1. the method that in address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on mapping server MS, it is characterized in that, described method comprises:
Described main MS is in normal work period, and tunnel outlet router ETR sends logon message to main MS; Mapping relations are saved in local data base after receiving this message by main MS, if MS for subsequent use exists, main MS by mapping relations synchronized update to MS for subsequent use;
After ITR receives data message, if there are not EID-to-RLOC mapping relations in local mapped cache table, send mapping request message to mapping request server MR; MS carries out LISP encapsulation by mapping response message notice ITR, ITR according to the mapping relations got;
After described MS for subsequent use monitors main MS operational failure, become the work that new main MS replaces former MS, and send " mapping server address switchover message " to MR.
2. method according to claim 1, is characterized in that, described method comprises further:
Described active and standby MS safeguards annexation by heartbeat detection mechanism, forms Hot Spare relation between active and standby MS; MS for subsequent use periodically monitors the operating state of main MS, once find main MS operational failure, MS for subsequent use becomes new main MS and replaces former MS to work on.
3. method according to claim 2, is characterized in that, described method comprises further:
Described active and standby MS just starts in the process of establishing a connection, if there are EID-to-RLOC mapping relations in the mapping database of main MS, main MS needs all mapping relations synchronized update in local mapping database on MS equipment for subsequent use; After active and standby MS annexation is set up, if main MS has new EID-to-RLOC mapping relations, by incremental mode synchronized update to MS for subsequent use;
If during the aging deletion mapping relations of described main MS, synchronization notice deletes the mapping relations that MS for subsequent use preserves.
4. in address (ADDR separated protocol network, mapping relations obtain a processing method, and be applied in address (ADDR separated protocol LISP network on mapping request server MR, the method comprises:
After described MR receives " the mapping server address switchover message " of MS for subsequent use, before upgrading in time, the mapping server address of record also sends and confirms that response message guarantees transmitting;
The mapping request message that follow-up MR receives ITR transmission asks mapping relations directly to new MS.
5. the device that in address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on main mapping server, this device comprises: annexation detecting unit, mapping relations lock unit and transmitting element;
Annexation detecting unit, for this device as main MS, checks whether MS for subsequent use exists and safeguard the annexation of active and standby MS;
Mapping relations lock unit, by local mapping database by batch backup or incremental backup mode synchronized update to MS for subsequent use;
Transmitting element, sends mapping relations updating message to MS for subsequent use.
6. the device that in an address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on mapping server for subsequent use, this device comprises: annexation detecting unit, receiving element, memory cell, confirmation unit and mapping server switch unit;
Whether annexation detecting unit, for this device as MS for subsequent use, detect main MS and exist and safeguard active and standby annexation;
Receiving element, for this device as MS for subsequent use, the response message of the mapping relations updating message receiving main MS transmission and " the mapping server address switchover message " that receive MR;
Memory cell, preserves the mapping relations received from main MS in the local database;
Confirmation unit, replys the confirmation of the mapping relations updating message that main MS sends;
Mapping server switch unit, for this device as MS for subsequent use, notice MR carries out mapping server address switchover.
7. the device that in address (ADDR separated protocol network, mapping relations obtain, be applied in address (ADDR separated protocol LISP network on MR, this device comprises: receiving element, processing unit and transmitting element;
Receiving element, for this device as MR, receives " mapping server address switchover message " that MS for subsequent use sends;
Processing unit, upgrades the mapping server address of MR record;
Transmitting element, sends response message, confirms " the mapping server address switchover message " that MS for subsequent use sends.
CN201510893126.0A 2015-12-08 2015-12-08 Mapping relation obtaining method and apparatus Pending CN105357336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510893126.0A CN105357336A (en) 2015-12-08 2015-12-08 Mapping relation obtaining method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510893126.0A CN105357336A (en) 2015-12-08 2015-12-08 Mapping relation obtaining method and apparatus

Publications (1)

Publication Number Publication Date
CN105357336A true CN105357336A (en) 2016-02-24

Family

ID=55333195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510893126.0A Pending CN105357336A (en) 2015-12-08 2015-12-08 Mapping relation obtaining method and apparatus

Country Status (1)

Country Link
CN (1) CN105357336A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763669A (en) * 2016-03-02 2016-07-13 杭州华三通信技术有限公司 Method and device for supporting host name mapping of edge device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060391A (en) * 2007-05-16 2007-10-24 华为技术有限公司 Master and spare server switching method and system and master server and spare server
CN104539530A (en) * 2015-01-13 2015-04-22 重庆金美通信有限责任公司 Host/standby switching uninterrupted forwarding method
WO2015180294A1 (en) * 2014-05-27 2015-12-03 中兴通讯股份有限公司 Protection switching trigger method and apparatus for signal degrade of link aggregation port

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060391A (en) * 2007-05-16 2007-10-24 华为技术有限公司 Master and spare server switching method and system and master server and spare server
WO2015180294A1 (en) * 2014-05-27 2015-12-03 中兴通讯股份有限公司 Protection switching trigger method and apparatus for signal degrade of link aggregation port
CN104539530A (en) * 2015-01-13 2015-04-22 重庆金美通信有限责任公司 Host/standby switching uninterrupted forwarding method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763669A (en) * 2016-03-02 2016-07-13 杭州华三通信技术有限公司 Method and device for supporting host name mapping of edge device
CN105763669B (en) * 2016-03-02 2019-12-06 新华三技术有限公司 Method and device for supporting host name mapping of edge device

Similar Documents

Publication Publication Date Title
US10397045B2 (en) Method for migrating service of data center, apparatus, and system
TWI642282B (en) Fail recovery method and internet of things system and charging system using the same
US9032240B2 (en) Method and system for providing high availability SCTP applications
CN103916277B (en) The method and apparatus that realization does not interrupt forwarding service when restarting
CN105472049B (en) CGN backup protection method and device for carrier-grade network address conversion
CN102710520B (en) Method and device for backing up lonworks network service (LNS)
CN104679611A (en) Data resource copying method and device
CN103036702B (en) A kind of N+1 backup method of cross-network segment and device
CN102223304A (en) Method and device for continuously forwarding after main/standby switch
CN105592139A (en) HA implementation method and device of distributed file system management platform
EP2993957A1 (en) User equipment management method, device and system
CN107888434B (en) Network equipment configuration synchronization method and device
CN113169895A (en) N +1 redundancy for virtualization services with low latency failover
CN106712997B (en) Method, equipment and system for recovering table entry
CN108900441B (en) Network switching method, first electronic device and readable storage medium
CN109189854B (en) Method and node equipment for providing continuous service
CN105357336A (en) Mapping relation obtaining method and apparatus
CN105338127A (en) Media access control MAC address table updating method, switch and system
JP5157685B2 (en) COMMUNICATION SYSTEM, NETWORK DEVICE, COMMUNICATION RECOVERY METHOD USED FOR THEM, AND PROGRAM THEREOF
CN108270593A (en) A kind of two-node cluster hot backup method and system
US11432172B2 (en) Channel establishment method and base station
CN109088767B (en) Route updating method and device
CN106302248B (en) Neighbor establishing method and device
JP3246409B2 (en) Fault monitoring method
CN103595629A (en) Rapid gateway switching method and device for hosts in IRDP (ICMP Router Discovery Protocol) network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160224

WD01 Invention patent application deemed withdrawn after publication