CN104683238B - The transmission method and equipment of a kind of data message in LISP network - Google Patents

The transmission method and equipment of a kind of data message in LISP network Download PDF

Info

Publication number
CN104683238B
CN104683238B CN201510036045.9A CN201510036045A CN104683238B CN 104683238 B CN104683238 B CN 104683238B CN 201510036045 A CN201510036045 A CN 201510036045A CN 104683238 B CN104683238 B CN 104683238B
Authority
CN
China
Prior art keywords
tunnel
router
data message
terminal device
mapping
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.)
Active
Application number
CN201510036045.9A
Other languages
Chinese (zh)
Other versions
CN104683238A (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.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201510036045.9A priority Critical patent/CN104683238B/en
Publication of CN104683238A publication Critical patent/CN104683238A/en
Application granted granted Critical
Publication of CN104683238B publication Critical patent/CN104683238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the transmission methods and equipment of the data message in a kind of LISP network, this method comprises: tunnel portal router receives the first data message from terminal device, the corresponding precedence information of the terminal device is carried in first data message, the first tunnel head of the precedence information is carried for the encapsulation of the first data message, and the first data message is sent to tunnel outlet router;Tunnel outlet router decapsulates first tunnel head, and the first data message is sent to service server;The tunnel portal router receives the second data message that the terminal device is sent to from tunnel outlet router, second data message encapsulates the second tunnel head for carrying the precedence information, second tunnel head is decapsulated, and the second data message is sent to the terminal device.In the embodiment of the present invention, it is ensured that the message of high priority is preferentially forwarded, and guarantees the message of high priority not packet loss.

Description

The transmission method and equipment of a kind of data message in LISP network
Technical field
The present invention relates to field of communication technology, transmission method more particularly, to the data message in a kind of LISP network and Equipment.
Background technique
As shown in Figure 1, for LISP (Location/ID Separation Protocol, position and identity separated protocol) The networking schematic diagram of network, the LISP network network ip address can be divided into EID (Endpoint ID, end mark) and RLOC (Routing Locator, route locating).Wherein, the mapping relations of EID-to-RLOC can be introduced in LISP network, The EID does not have global routing function, and the RLOC is routed for the whole network for identifying host.In LISP network, IPv4 or Person IPv6 host only identifies its ID, and position is by ITR (Ingress Tunnel Router, tunnel portal router)/ETR (Egress Tunnel Router, tunnel outlet router) identifies, ITR and ETR be it is opposite, determined according to message direction ITR and ETR.For example, in the 1 place domain LISP of host is ITR, the 2 place domain LISP of host when host 1 sends message to host 2 That interior is ETR;When host 2 sends message to host 1, that in the 2 place domain LISP of host is ITR, in the 1 place domain LISP of host It is ETR.It include data plane and control plane in LISP network, data plane is mainly used for encapsulation/decapsulation of message and turns Hair, control plane mainly complete the mapping of EID and RLOC.
In LISP network, when there are the messages of priority difference to need through ISP (Internet Service Provider, Internet Service Provider) network transmission when, then each forwarding device in ISP network does not perceive these messages Priority difference.Based on this, when congestion occurs in link, do not ensure that the message of high priority is preferentially forwarded, thus Lead to the message of high priority also to will appear packet loss.
Summary of the invention
The embodiment of the present invention provides the transmission method of a kind of position and the data message in identity separated protocol LISP network, It the described method comprises the following steps:
Tunnel portal router receives the first data message from terminal device, carries in first data message The corresponding precedence information of the terminal device;The first tunnel of the precedence information is carried for the encapsulation of the first data message Head, and the first data message is sent to tunnel outlet router, first tunnel head is decapsulated by tunnel outlet router, And the first data message is sent to service server;
The tunnel portal router receives the mapping request message from tunnel outlet router, and goes out to the tunnel Mouth router sends mapping response message, described to map the address information that the terminal device is carried in response message, the tunnel Mapping relations between the address information of road ingress router, the precedence information;The tunnel portal router, which receives, to be come The second data message of the terminal device is sent to from tunnel outlet router, second data message is routed by tunnel exit It is described preferential that device encapsulates carrying after receiving the second data message from the service server, using the mapping relations Second tunnel head of grade information;The tunnel portal router de-encapsulates fill second tunnel head, and the second data message is sent out Give the terminal device.
The tunnel portal router is the first tunnel head that the encapsulation of the first data message carries the precedence information Process specifically includes:
The tunnel portal configuration of routers internal layer service code point DSCP that checks the mark is mapped to the service quality of outer layer DSCP Qos policy, the qos policy are used for the precedence information for the dscp field for making tunnel portal router using the first data message Obtain the precedence information of the dscp field of the first tunnel head;
The tunnel portal router is after receiving the first data message, from the dscp field of first data message The corresponding precedence information of the terminal device is obtained, and adds the precedence information in the dscp field of the first tunnel head, And first tunnel head is encapsulated for first data message.
The method further includes: the tunnel portal router sends mapping logon message to mapping server;Its In, address information, the institute of all terminal devices of the tunnel portal router administration are carried in the mapping logon message State the address information of tunnel portal router;By the mapping server in end mark EID, route locating RLOC mapping table Record the mapping relations between the address information of each terminal device, the address information of the tunnel portal router.
The embodiment of the present invention provides the transmission method of a kind of position and the data message in identity separated protocol LISP network, It the described method comprises the following steps:
Tunnel outlet router receives the first data message from tunnel portal router, the first data message quilt Tunnel portal router is receiving the first datagram for carrying the corresponding precedence information of terminal device from terminal device Wen Hou encapsulates the first tunnel head for carrying the precedence information;The tunnel outlet router decapsulates first tunnel First data message is sent to service server by trace header;
The tunnel outlet router receives the second datagram that the terminal device is sent to from the service server Text, and determine that the address information, the address information of the tunnel portal router, the terminal device of the terminal device are corresponding Precedence information between mapping relations;
The tunnel outlet router is that second data message encapsulation carries the terminal using the mapping relations Second tunnel head of the corresponding precedence information of equipment, and the second data message is sent to the tunnel portal router;By The tunnel portal router de-encapsulates fill second tunnel head, and the second data message is sent to the terminal device.
The tunnel outlet router determines the address of the address information of the terminal device, the tunnel portal router The process of mapping relations between information, the corresponding precedence information of the terminal device, specifically includes: the tunnel exit road By device after receiving the second data message, judges that end identifies EID, whether record described second in route locating RLOC mapping table The corresponding record of the destination address of data message;If it is, obtaining the terminal device in RLOC mapping table from the EID Address information, the address information of the tunnel portal router, reflecting between the corresponding precedence information of the terminal device Penetrate relationship;If it is not, then the tunnel outlet router sends mapping request message to the tunnel portal router, and receive The mapping response message that the tunnel portal router is sent to the tunnel outlet router is taken in the mapping response message Address information with the terminal device, the address information of the tunnel portal router, the terminal device are corresponding preferential Mapping relations between grade information;The tunnel outlet router obtains the terminal device from the mapping response message Address information, the address information of the tunnel portal router, the mapping between the corresponding precedence information of the terminal device Relationship.
The embodiment of the present invention provides the tunnel portal router in a kind of position and identity separated protocol LISP network, described Tunnel portal router specifically includes:
Receiving module, for receiving the first data message from terminal device;Wherein, it is taken in first data message With the corresponding precedence information of the terminal device;Sending module, described in being carried for first data message encapsulation First tunnel head of the corresponding precedence information of terminal device, and first data message is sent to tunnel exit routing Device decapsulates first tunnel head by the tunnel outlet router, and first data message is sent to business clothes Business device;
The receiving module is also used to receive the mapping request message from the tunnel outlet router;The transmission Module is also used to send mapping response message to the tunnel outlet router;Wherein, it is carried in the mapping response message The address information of the terminal device, the address information of the tunnel portal router, the corresponding priority of the terminal device Mapping relations between information;
The receiving module is also used to receive the second datagram that the terminal device is sent to from tunnel outlet router Text, second data message by tunnel outlet router after receiving the second data message from the service server, The the second tunnel head for carrying the precedence information is encapsulated using the mapping relations;The sending module is also used to unseal Second tunnel head is filled, and the second data message is sent to the terminal device.
The sending module, be specifically used for for first data message encapsulation carrying terminal device it is corresponding excellent During first tunnel head of first grade information, the configuration internal layer service code point DSCP that checks the mark is mapped to the Service Quality of outer layer DSCP Qos policy is measured, the priority that the qos policy is used for the dscp field for making tunnel portal router using the first data message is believed Breath obtains the precedence information of the dscp field of the first tunnel head;After receiving the first data message, from first data The dscp field of message obtains the corresponding precedence information of the terminal device, and adds institute in the dscp field of the first tunnel head Precedence information is stated, and encapsulates first tunnel head for first data message.
The sending module is also used to send mapping logon message to mapping server;Wherein, the mapping logon message In carry the address information of all terminal devices of the tunnel portal router administration, the ground of the tunnel portal router Location information;EID is identified in end by the mapping server, the address of each terminal device is recorded in route locating RLOC mapping table Mapping relations between information, the address information of the tunnel portal router.
The embodiment of the present invention provides the tunnel outlet router in a kind of position and identity separated protocol LISP network, described Tunnel outlet router specifically includes:
Receiving module, for receiving the first data message from tunnel portal router, the first data message quilt Tunnel portal router is receiving the first datagram for carrying the corresponding precedence information of terminal device from terminal device Wen Hou encapsulates the first tunnel head for carrying the precedence information;Sending module, for decapsulating first tunnel head, And the first data message is sent to service server;
The receiving module is also used to receive the second datagram that the terminal device is sent to from the service server Text, and determine that the address information, the address information of the tunnel portal router, the terminal device of the terminal device are corresponding Precedence information between mapping relations;
The sending module is also used to be that second data message encapsulation carries the terminal using the mapping relations Second tunnel head of the corresponding precedence information of equipment, and the second data message is sent to the tunnel portal router;By The tunnel portal router de-encapsulates fill second tunnel head, and the second data message is sent to the terminal device.
The receiving module, specifically for determine the terminal device address information, the tunnel portal router Address information, during the mapping relations between the corresponding precedence information of the terminal device, receiving the second data After message, judges that end identifies EID, the destination address of second data message whether is recorded in route locating RLOC mapping table Corresponding record;If it is, from the EID, the address information of the acquisition terminal device, the tunnel in RLOC mapping table Mapping relations between the address information of ingress router, the corresponding precedence information of the terminal device;If it is not, then to institute It states tunnel portal router and sends mapping request message, and receive the mapping response message from the tunnel portal router, The address information of the terminal device, the address information of the tunnel portal router, institute are carried in the mapping response message State the mapping relations between the corresponding precedence information of terminal device;The terminal device is obtained from the mapping response message Address information, the address information of the tunnel portal router, reflecting between the corresponding precedence information of the terminal device Penetrate relationship.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, when the message of different priorities is transmitted by ISP network, If congestion occurs in link, it can guarantee that the message of high priority is preferentially forwarded, it is high preferential so as to avoid There is packet loss in the message of grade, i.e. the message of guarantee high priority not packet loss.
Detailed description of the invention
Fig. 1 is the networking schematic diagram of LISP network;
Fig. 2 is a kind of transmission method flow diagram of data message provided in an embodiment of the present invention;
Fig. 3 is the form schematic diagram of the mapping response message after the extension proposed in the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of tunnel portal router provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of tunnel outlet router provided in an embodiment of the present invention.
Specific embodiment
Aiming at the problems existing in the prior art, the embodiment of the present invention provides a kind of biography of the data message in LISP network Transmission method, using Fig. 1 as the application scenarios schematic diagram of the embodiment of the present invention, this method is applied to the LISP net including multiple domains LISP In network, the domain LISP S is communicated by ISP network with the domain LISP D.With in the S of the domain LISP terminal device (such as host A, host B, Host C) need to access service server (such as server A, server B) in the D of the domain LISP for, then include tunnel in the S of the domain LISP Road ingress router (such as ITR1, ITR2), the domain LISP D interior includes tunnel outlet router (such as ETR1, ETR2).In addition, ISP net Further include MS (Map Server, mapping server) in network, safeguards EID on the mapping server, RLOC mapping table, the EID, RLOC mapping table is used to record the mapping relations between the IP address of terminal device, the IP address of tunnel portal router, and remembers Record the mapping relations between the address information of service server, the address information of tunnel outlet router.
In the embodiment of the present invention, in initial registration procedure, tunnel portal router sends mapping note to mapping server Volume message (Map-Register) carries all terminal devices of tunnel portal router administration in the mapping logon message The address information of address information, tunnel portal router;Mapping server reflects after receiving mapping logon message in EID, RLOC The mapping relations between the address information of each terminal device, the address information of tunnel portal router are recorded in firing table.Tunnel goes out Mouth router sends mapping logon message to mapping server, carries tunnel outlet router management in the mapping logon message All service servers address information, the address information of tunnel outlet router;Mapping server is receiving mapping registration After message, the address information of each service server, the address information of tunnel outlet router are recorded in EID, RLOC mapping table Between mapping relations.
As shown in Figure 1, the ITR1 in the S of the domain LISP carries following letter into the mapping logon message that mapping server is sent Breath: the mapping relations between the IP address (1.0.1.1/24) of host A, the IP address (10.0.0.1) of ITR1;The IP of host B Location (1.0.2.1/24), ITR1 IP address (10.0.0.1) between mapping relations;IP address (the 1.0.3.1/ of host C 24), the mapping relations between the IP address (10.0.0.1) of ITR1.Mapping server receive mapping logon message after, The following list item of maintenance in EID, RLOC mapping table: (1.0.1.1,10.0.0.1), (1.0.2.1,10.0.0.1), (1.0.3.1, 10.0.0.1).Further, the ETR1 in the D of the domain LISP carries following letter into the mapping logon message that mapping server is sent Breath: the mapping relations between the IP address (2.0.1.2/24) of server A, the IP address (12.0.0.2) of ETR1;Server B Mapping relations between IP address (2.0.2.2/24), the IP address (12.0.0.2) of ETR1.Mapping server is receiving mapping , can be in EID after logon message, the following list item of maintenance in RLOC mapping table: (2.0.1.2,12.0.0.2) and (2.0.2.2, 12.0.0.2)。
Host A, host B, host C in the S of the domain LISP need to access in the D of the domain LISP service server (such as server A, Server B), host A is located at President Office, and priority with higher needs to guarantee the data-message transmission of host A, no Allow packet loss, host B, the priority of host C are slightly lower, allow part time delay or packet loss.In addition, host A, host B, host C is separately connected Port1 (port 1), Port2 and the Port3 of Router X (router X).Based on above-mentioned application scenarios, the present invention In embodiment, port priority can be configured, to distinguish the priority for the data message that different hosts issue.For example, in port1 Lower configuration QoS (Quality of Services, service quality) strategy 1, so that Router X is the data received from port1 Message adds priority 60;Qos policy 2 is configured at port2, so that Router X is that the data message received from port2 adds Add priority 45;Qos policy 3 is configured at port3, so that Router X is that the data message received from port3 adds preferentially Grade 40.
Under above-mentioned application scenarios, as shown in Fig. 2, the transmission method of the data message in the LISP network includes following step It is rapid:
Step 201, tunnel portal router receives the first data message from terminal device, in first data message Carry the corresponding precedence information of the terminal device.For example, for the first data message that host A issues, first data The precedence information (such as 60) of Router X addition is carried in message.
Wherein, the precedence information that Router X is added in the first data message can be added to the first data message In DSCP (Differentiated Services Code Point, service code point of checking the mark) field.
Step 202, tunnel portal router is that the first data message encapsulates the corresponding precedence information of carried terminal equipment The first tunnel head, and first data message is sent to tunnel outlet router.
In the embodiment of the present invention, tunnel portal router is that the first data message encapsulation carried terminal equipment is corresponding preferential The process of first tunnel head of grade information, is specifically including but not limited to such as under type: tunnel portal configuration of routers internal layer DSCP It is mapped to the qos policy of outer layer DSCP, the DSCP word which is used to that tunnel portal router to be made to utilize the first data message The precedence information of section obtains the precedence information of the dscp field of the first tunnel head.Based on this qos policy, tunnel portal routing Device obtains the corresponding priority letter of terminal device after receiving the first data message, from the dscp field of the first data message Breath, and the precedence information is added in the dscp field of the first tunnel head, and encapsulate the first tunnel head for the first data message.By The corresponding precedence information of terminal device is carried in the first tunnel head of the first data message, therefore each in ISP network Forwarding device can be with the priority of perception data message, and the priority based on data message E-Packets, to guarantee Gao You The message of first grade is preferentially forwarded.
As shown in Figure 1, ITR1 is received since the first data message is the data message that host A is sent to server A After first data message, judges EID, destination address (the i.e. server A of the first data message whether is had recorded in RLOC mapping table IP address 2.0.1.2) corresponding record.If it is not, then ITR1 sends mapping request message to mapping server, taken by mapping Mapping request message is sent to ETR1 by device of being engaged in, and ETR1 is after receiving mapping request message, to ITR1 return mapping response message, The mapping between the IP address 12.0.0.2 of the IP address 2.0.1.2 and ETR1 of server A is carried in the mapping response message Relationship.Later, the IP address of ITR1 IP address 2.0.1.2 and ETR1 of record server A in EID, RLOC mapping table 12.0.0.2 the mapping relations between.Based on this mapping relations, ITR1 can will encapsulate the first tunnel head and (carry priority letter Breath) the first data message be sent to ETR1.
Step 203, tunnel outlet router receives the first data message from tunnel portal router, decapsulation first First tunnel head of data message, and the first data message is sent to service server.
Step 204, tunnel outlet router receives that be sent to terminal device (i.e. above-mentioned to business service from service server Device send the first data message terminal device) the second data message (response of the first data message), and determine terminal set Standby address information (i.e. the destination address of the second data message), the address information of tunnel portal router, terminal device are corresponding Precedence information between mapping relations.
In the embodiment of the present invention, tunnel outlet router determines the address information of terminal device, tunnel portal router The process of mapping relations between the corresponding precedence information of address information, terminal device, is specifically including but not limited to such as lower section Formula: tunnel outlet router judges EID, whether records the second datagram in RLOC mapping table after receiving the second data message The corresponding record of destination address of text.If so, tunnel outlet router obtains terminal device out of EID, RLOC mapping table Address information, the address information of tunnel portal router, the mapping relations between the corresponding precedence information of terminal device.If No, tunnel outlet router sends mapping request message to tunnel portal router, and tunnel portal router, which receives, comes from tunnel The mapping request message of egress router, and mapping response message is sent to tunnel outlet router, tunnel outlet router connects The mapping response message from tunnel portal router is received, the address information of carried terminal equipment, tunnel in the mapping response message Mapping relations between the address information of road ingress router, precedence information;Tunnel outlet router from mapping response message The middle acquisition address information of terminal device, the address information of tunnel portal router, the corresponding precedence information of terminal device it Between mapping relations.
Wherein, the mapping response message sent for tunnel portal router to tunnel outlet router, needs to existing Mapping response message (Map-Reply message) be extended so that can be with carried terminal equipment pair in the mapping response message The precedence information answered.Based on this, tunnel portal router is receiving the mapping request message from tunnel outlet router After (Map-Request message), tunnel portal router can be with into the mapping response message that tunnel outlet router is sent The corresponding precedence information of the terminal device is carried, such as priority 60.As shown in figure 3, for the mapping response message after extension Form schematic diagram is extended, i.e., after use by the Reserved field of the part Record to existing mapping response message 8bit is the precedence field of terminal device, for identifying the corresponding precedence information of terminal device.
As shown in Figure 1, since the second data message is the data message that server A is sent to host A, ETR1 exists After receiving the second data message, judges EID, the destination address of the second data message whether is had recorded in RLOC mapping table (i.e. the IP address 1.0.1.1 of host A) corresponding record.If it is not, then ETR1 sends mapping request message to mapping server, The mapping request message is sent to ITR1 by mapping server, ITR1 connects after receiving mapping request message, returns to ETR1 Map response message, carry in the mapping response message IP address 1.0.1.1, ITR1 of host A IP address 10.0.0.1, Mapping relations between the corresponding precedence information 60 of host A.Later, ETR1 record host A in EID, RLOC mapping table Mapping relations between the corresponding precedence information 60 of IP address 10.0.0.1, the host A of IP address 1.0.1.1, ITR1, that is, remember It records (1.0.1.1,10.0.0.1,60).
Step 205, tunnel outlet router is that the second data message encapsulation carried terminal equipment is corresponding using mapping relations Precedence information the second tunnel head, and the second data message is sent to tunnel portal router.For example, Intrusion Detection based on host A IP address 1.0.1.1, ITR1 the corresponding precedence information 60 of IP address 10.0.0.1, host A between mapping relations, ETR1 is the second tunnel head that the encapsulation of the second data message carries precedence information 60, and the second number that will encapsulate the second tunnel head ITR1 is sent to according to message.
Step 206, tunnel portal router receives the second data message from tunnel outlet router, decapsulation second Second tunnel head of data message, and the second data message is sent to terminal device.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, when the message of different priorities is transmitted by ISP network, If congestion occurs in link, it can guarantee that the message of high priority is preferentially forwarded, it is high preferential so as to avoid There is packet loss in the message of grade, i.e. the message of guarantee high priority not packet loss.
Based on inventive concept same as the above method, a kind of position is additionally provided in the embodiment of the present invention and is separated with identity Tunnel portal router in agreement LISP network, as shown in figure 4, the tunnel portal router specifically includes:
Receiving module 11, for receiving the first data message from terminal device;Wherein, in first data message Carry the corresponding precedence information of the terminal device;Sending module 12, for being carried for first data message encapsulation First tunnel head of the corresponding precedence information of the terminal device, and first data message is sent to tunnel exit road By device, first tunnel head is decapsulated by the tunnel outlet router, and first data message is sent to business Server;
The receiving module 11 is also used to receive the mapping request message from the tunnel outlet router;The hair Module 12 is sent, is also used to send mapping response message to the tunnel outlet router;Wherein, it is taken in the mapping response message It is corresponding excellent with the address information of the terminal device, the address information of the tunnel portal router, the terminal device Mapping relations between first grade information;
The receiving module 11 is also used to receive the second data that the terminal device is sent to from tunnel outlet router Message, second data message are receiving the second data message from the service server by tunnel outlet router Afterwards, the second tunnel head for carrying the precedence information is encapsulated using the mapping relations;The sending module 12, is also used to The second tunnel head is decapsulated, and the second data message is sent to the terminal device.
The sending module 12, be specifically used for for first data message encapsulation carrying terminal device it is corresponding During first tunnel head of precedence information, the configuration internal layer service code point DSCP that checks the mark is mapped to the service of outer layer DSCP Quality Q oS strategy, the qos policy are used for the priority for the dscp field for making tunnel portal router using the first data message Information obtains the precedence information of the dscp field of the first tunnel head;After receiving the first data message, from first number The corresponding precedence information of the terminal device is obtained according to the dscp field of message, and is added in the dscp field of the first tunnel head The precedence information, and first tunnel head is encapsulated for first data message.
The sending module 12 is also used to send mapping logon message to mapping server;Wherein, the mapping registration report The address informations of all terminal devices of the tunnel portal router administration, the tunnel portal router are carried in text Address information;EID is identified in end by the mapping server, the ground of each terminal device is recorded in route locating RLOC mapping table Mapping relations between location information, the address information of the tunnel portal router.
Wherein, the modules of apparatus of the present invention can integrate in one, can also be deployed separately.Above-mentioned module can close And be a module, multiple submodule can also be further split into.
Based on inventive concept same as the above method, a kind of position is additionally provided in the embodiment of the present invention and is separated with identity Tunnel outlet router in agreement LISP network, as shown in figure 5, the tunnel outlet router specifically includes:
Receiving module 21, for receiving the first data message from tunnel portal router, first data message The first data for carrying the corresponding precedence information of terminal device from terminal device are being received by tunnel portal router After message, the first tunnel head for carrying the precedence information is encapsulated;Sending module 22, for decapsulating the first tunnel head, And the first data message is sent to service server;
The receiving module 21 is also used to receive the second data that the terminal device is sent to from the service server Message, and determine address information, the address information of the tunnel portal router, the terminal device pair of the terminal device The mapping relations between precedence information answered;
The sending module 22 is also used to be that second data message encapsulation carries the end using the mapping relations Second tunnel head of the corresponding precedence information of end equipment, and the second data message is sent to the tunnel portal router; Second tunnel head is filled by the tunnel portal router de-encapsulates, and the second data message is sent to the terminal device.
The receiving module 21, specifically for determine the terminal device address information, the tunnel portal route During mapping relations between the address information of device, the corresponding precedence information of the terminal device, the second number is being received After message, judges that end identifies EID, the destination of second data message whether is recorded in route locating RLOC mapping table The corresponding record in location;If it is, from the EID, the address information of the acquisition terminal device, the tunnel in RLOC mapping table Mapping relations between the address information of road ingress router, the corresponding precedence information of the terminal device;If it is not, then to The tunnel portal router sends mapping request message, and receives the mapping from the tunnel portal router and respond report Text, carry in the mapping response message address information of the terminal device, the address information of the tunnel portal router, Mapping relations between the corresponding precedence information of the terminal device;The terminal is obtained from the mapping response message to set Between the address information of standby address information, the tunnel portal router, the corresponding precedence information of the terminal device Mapping relations.
Wherein, the modules of apparatus of the present invention can integrate in one, can also be deployed separately.Above-mentioned module can close And be a module, multiple submodule can also be further split into.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which is stored in a storage medium, if including Dry instruction is used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes this hair Method described in bright each embodiment.It will be appreciated by those skilled in the art that attached drawing is the schematic diagram of a preferred embodiment, Module or process in attached drawing are not necessarily implemented necessary to the present invention.It will be appreciated by those skilled in the art that in embodiment Device in module can according to embodiment describe be distributed in the device of embodiment, corresponding change position can also be carried out In the one or more devices for being different from the present embodiment.The module of above-described embodiment can be merged into a module, can also be with It is further split into multiple submodule.The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.With Upper disclosed several specific embodiments only of the invention, still, the present invention is not limited to this, any those skilled in the art Member can think of variation should all fall into protection scope of the present invention.

Claims (10)

1. a kind of transmission method of the data message in position and identity separated protocol LISP network, which is characterized in that the side Method the following steps are included:
Tunnel portal router receives the first data message from terminal device, carries in first data message described The corresponding precedence information of terminal device;The first tunnel head of the precedence information is carried for the encapsulation of the first data message, and First data message is sent to tunnel outlet router, first tunnel head is decapsulated by tunnel outlet router, and will First data message is sent to service server;
The tunnel portal router receives the mapping request message from tunnel outlet router, and to the tunnel exit road Mapping response message is sent by device, carries the address information of the terminal device in the mapping response message, the tunnel enters Mapping relations between the address information of mouthful router, the precedence information;The tunnel portal router, which receives, comes from tunnel Road egress router is sent to the second data message of the terminal device, and second data message is existed by tunnel outlet router After receiving the second data message from the service server, is encapsulated using the mapping relations and carry the priority letter Second tunnel head of breath;The tunnel portal router de-encapsulates fill second tunnel head, and the second data message is sent to The terminal device.
2. the method as described in claim 1, which is characterized in that the tunnel portal router is that the encapsulation of the first data message is taken The process of the first tunnel head with the precedence information, specifically includes:
The tunnel portal configuration of routers internal layer differentiated services code points DSCP is mapped to the service quality QoS plan of outer layer DSCP Slightly, the qos policy is for obtaining tunnel portal router using the precedence information of the dscp field of the first data message The precedence information of the dscp field of first tunnel head;
The tunnel portal router obtains after receiving the first data message from the dscp field of first data message The corresponding precedence information of the terminal device, and the precedence information is added in the dscp field of the first tunnel head, and be First data message encapsulates first tunnel head.
3. the method as described in claim 1, which is characterized in that further comprise before the method:
The tunnel portal router sends mapping logon message to mapping server;Wherein, it is taken in the mapping logon message Address letter with the address information of all terminal devices of the tunnel portal router administration, the tunnel portal router Breath;EID is identified in end by the mapping server, the address letter of each terminal device is recorded in route locating RLOC mapping table It ceases, the mapping relations between the address information of the tunnel portal router.
4. a kind of transmission method of the data message in position and identity separated protocol LISP network, which is characterized in that the side Method the following steps are included:
Tunnel outlet router receives the first data message from tunnel portal router, and first data message is by tunnel Ingress router after receiving the first data message for carrying the corresponding precedence information of terminal device from terminal device, Encapsulate the first tunnel head for carrying the precedence information;The tunnel outlet router decapsulates first tunnel head, First data message is sent to service server;
The tunnel outlet router receives the second data message that the terminal device is sent to from the service server, and Determine that the address information of the terminal device, the address information of the tunnel portal router, the terminal device are corresponding excellent Mapping relations between first grade information;
The tunnel outlet router is that second data message encapsulation carries the terminal device using the mapping relations Second tunnel head of corresponding precedence information, and the second data message is sent to the tunnel portal router;By described Tunnel portal router de-encapsulates fill second tunnel head, and the second data message is sent to the terminal device.
5. method as claimed in claim 4, which is characterized in that the tunnel outlet router determines the ground of the terminal device Location information, the address information of the tunnel portal router, the mapping between the corresponding precedence information of the terminal device are closed The process of system, specifically includes:
The tunnel outlet router judges that end identifies EID, route locating RLOC mapping table after receiving the second data message Inside whether record the corresponding record of destination address of second data message;If it is, from the EID, RLOC mapping table The interior address information for obtaining the terminal device, the address information of the tunnel portal router, the terminal device are corresponding Mapping relations between precedence information;
If it is not, then the tunnel outlet router sends mapping request message to the tunnel portal router, and receive institute The mapping response message that tunnel portal router is sent to the tunnel outlet router is stated, is carried in the mapping response message The address information of the terminal device, the address information of the tunnel portal router, the corresponding priority of the terminal device Mapping relations between information;The tunnel outlet router obtains the ground of the terminal device from the mapping response message Location information, the address information of the tunnel portal router, the mapping between the corresponding precedence information of the terminal device are closed System.
6. the tunnel portal router in a kind of position and identity separated protocol LISP network, which is characterized in that the tunnel enters Mouth router specifically includes:
Receiving module, for receiving the first data message from terminal device;Wherein, it is carried in first data message The corresponding precedence information of the terminal device;Sending module, for carrying the terminal for first data message encapsulation First tunnel head of the corresponding precedence information of equipment, and first data message is sent to tunnel outlet router, by The tunnel outlet router decapsulates first tunnel head, and first data message is sent to service server;
The receiving module is also used to receive the mapping request message from the tunnel outlet router;The sending module, It is also used to send mapping response message to the tunnel outlet router;Wherein, it is carried in the mapping response message described The address information of terminal device, the address information of the tunnel portal router, the corresponding precedence information of the terminal device Between mapping relations;
The receiving module is also used to receive the second data message that the terminal device is sent to from tunnel outlet router, Second data message after receiving the second data message from the service server, is utilized by tunnel outlet router The mapping relations encapsulate the second tunnel head for carrying the precedence information;The sending module is also used to decapsulate institute The second tunnel head is stated, and the second data message is sent to the terminal device.
7. tunnel portal router as claimed in claim 6, which is characterized in that
The sending module is specifically used for carrying the corresponding priority of the terminal device for first data message encapsulation During first tunnel head of information, configuration internal layer differentiated services code points DSCP is mapped to the service quality of outer layer DSCP Qos policy, the qos policy are used for the precedence information for the dscp field for making tunnel portal router using the first data message Obtain the precedence information of the dscp field of the first tunnel head;After receiving the first data message, from first datagram The dscp field of text obtains the corresponding precedence information of the terminal device, and described in the addition of the dscp field of the first tunnel head Precedence information, and first tunnel head is encapsulated for first data message.
8. tunnel portal router as claimed in claim 6, which is characterized in that
The sending module is also used to send mapping logon message to mapping server;Wherein, it is taken in the mapping logon message Address letter with the address information of all terminal devices of the tunnel portal router administration, the tunnel portal router Breath;EID is identified in end by the mapping server, the address letter of each terminal device is recorded in route locating RLOC mapping table It ceases, the mapping relations between the address information of the tunnel portal router.
9. the tunnel outlet router in a kind of position and identity separated protocol LISP network, which is characterized in that the tunnel goes out Mouth router specifically includes:
Receiving module, for receiving the first data message from tunnel portal router, first data message is by tunnel Ingress router after receiving the first data message for carrying the corresponding precedence information of terminal device from terminal device, Encapsulate the first tunnel head for carrying the precedence information;Sending module, for decapsulating first tunnel head, and by One data message is sent to service server;
The receiving module is also used to receive the second data message that the terminal device is sent to from the service server, And determine that the address information, the address information of the tunnel portal router, the terminal device of the terminal device are corresponding Mapping relations between precedence information;
The sending module is also used to be that second data message encapsulation carries the terminal device using the mapping relations Second tunnel head of corresponding precedence information, and the second data message is sent to the tunnel portal router;By described Tunnel portal router de-encapsulates fill second tunnel head, and the second data message is sent to the terminal device.
10. tunnel outlet router as claimed in claim 9, which is characterized in that
The receiving module, specifically on the ground of the address information, the tunnel portal router that determine the terminal device During mapping relations between location information, the corresponding precedence information of the terminal device, the second data message is being received Afterwards, judge that end identifies EID, the destination address that second data message whether is recorded in route locating RLOC mapping table is corresponding Record;If it is, from the EID, the address information of the acquisition terminal device, the tunnel portal in RLOC mapping table Mapping relations between the address information of router, the corresponding precedence information of the terminal device;If it is not, then to the tunnel Road ingress router sends mapping request message, and receives the mapping response message from the tunnel portal router, described The address information of the terminal device, the address information of the tunnel portal router, the end are carried in mapping response message Mapping relations between the corresponding precedence information of end equipment;The ground of the terminal device is obtained from the mapping response message Location information, the address information of the tunnel portal router, the mapping between the corresponding precedence information of the terminal device are closed System.
CN201510036045.9A 2015-01-23 2015-01-23 The transmission method and equipment of a kind of data message in LISP network Active CN104683238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510036045.9A CN104683238B (en) 2015-01-23 2015-01-23 The transmission method and equipment of a kind of data message in LISP network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510036045.9A CN104683238B (en) 2015-01-23 2015-01-23 The transmission method and equipment of a kind of data message in LISP network

Publications (2)

Publication Number Publication Date
CN104683238A CN104683238A (en) 2015-06-03
CN104683238B true CN104683238B (en) 2019-01-22

Family

ID=53317857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510036045.9A Active CN104683238B (en) 2015-01-23 2015-01-23 The transmission method and equipment of a kind of data message in LISP network

Country Status (1)

Country Link
CN (1) CN104683238B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106712989B (en) * 2015-11-12 2020-01-21 中兴通讯股份有限公司 QoS management method and device
CN114500384A (en) * 2020-11-11 2022-05-13 华为技术有限公司 Communication method, device and system and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065013A (en) * 2010-12-17 2011-05-18 北京邮电大学 Locator information optimal selection system and method based on ID (Identity) and Locator separation
CN102088448A (en) * 2009-12-02 2011-06-08 中兴通讯股份有限公司 Transmitting method of Internet protocol (IP) message and boundary tunnel router
CN104022956A (en) * 2014-06-11 2014-09-03 杭州华三通信技术有限公司 Method and device for data message processing in location/ID separation protocol network
CN104168223A (en) * 2013-04-19 2014-11-26 国际商业机器公司 Method and system for determining the priority of groups

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088448A (en) * 2009-12-02 2011-06-08 中兴通讯股份有限公司 Transmitting method of Internet protocol (IP) message and boundary tunnel router
CN102065013A (en) * 2010-12-17 2011-05-18 北京邮电大学 Locator information optimal selection system and method based on ID (Identity) and Locator separation
CN104168223A (en) * 2013-04-19 2014-11-26 国际商业机器公司 Method and system for determining the priority of groups
CN104022956A (en) * 2014-06-11 2014-09-03 杭州华三通信技术有限公司 Method and device for data message processing in location/ID separation protocol network

Also Published As

Publication number Publication date
CN104683238A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN107920023B (en) Method and system for realizing security resource pool
US10237230B2 (en) Method and system for inspecting network traffic between end points of a zone
US8416787B2 (en) Method, system and apparatus for implementing L2VPN between autonomous systems
WO2016165492A1 (en) Method and apparatus for implementing service function chain
US9614774B2 (en) Method for providing a QoS prioritized data traffic
US20130128739A1 (en) Method and Device to Control Communication with Multiple Networks Based on Respective Quality of Service Requirements
CN105591971B (en) A kind of implementation method and device of QoS
CN107181663A (en) A kind of message processing method, relevant device and computer-readable recording medium
CN106233673A (en) Network service inserts
CN111953604A (en) Method and device for providing service for service flow
US8724630B2 (en) Method and system for implementing network intercommunication
CN110535768B (en) Multicast data transmission method and related equipment
CN105703999B (en) The method and apparatus for establishing gre tunneling
US20230045227A1 (en) In-situ flow detection-based packet processing method and apparatus
CN107659485A (en) A kind of method and device of equipment and server communication in VPN VPN
CN105577416B (en) Service function chain operation, management and maintenance method and node equipment
CN107659484B (en) Method, device and system for accessing VXLAN network from VLAN network
JP2016508682A (en) Method and arrangement for differentiating VPN traffic across domains by QOS
CN108199968A (en) Route processing method and device
CN112737954B (en) Message processing method, device, system, equipment and storage medium
EP3823255B1 (en) Access apparatus and access apparatus-performed method for connecting user device to network
CN104683238B (en) The transmission method and equipment of a kind of data message in LISP network
CN103796191B (en) Method, device and the terminal of data are sent to user terminal
CN109246016B (en) Cross-VXLAN message processing method and device
CN104780110B (en) Message transmitting method and equipment during a kind of virtual machine (vm) migration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate 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.

GR01 Patent grant
GR01 Patent grant