CN104486218B - A kind of MPLS network control system and method based on SDN - Google Patents

A kind of MPLS network control system and method based on SDN Download PDF

Info

Publication number
CN104486218B
CN104486218B CN201410781729.7A CN201410781729A CN104486218B CN 104486218 B CN104486218 B CN 104486218B CN 201410781729 A CN201410781729 A CN 201410781729A CN 104486218 B CN104486218 B CN 104486218B
Authority
CN
China
Prior art keywords
label
level
call number
message
information base
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
CN201410781729.7A
Other languages
Chinese (zh)
Other versions
CN104486218A (en
Inventor
翟跃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiuyun Infinite Network Technology Co ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410781729.7A priority Critical patent/CN104486218B/en
Publication of CN104486218A publication Critical patent/CN104486218A/en
Priority to PCT/CN2015/089496 priority patent/WO2016095574A1/en
Application granted granted Critical
Publication of CN104486218B publication Critical patent/CN104486218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of MPLS network control system and method based on SDN.MPLS network control system based on SDN includes:SDN controllers, for issuing IP forward tables, Label Forwarding Information Base and flow table to interchanger, flow table includes being used for according to purpose IP Match IPs message and according to tag match tape label message;Interchanger includes border TSR and LSR;Border TSR is used to receive IP forward tables, Label Forwarding Information Base and flow table, and according to flow table handle received packet;LSR is used to receive Label Forwarding Information Base and flow table, and according to flow table handle received packet.Technical scheme can make full use of the link circuit resource of the whole network to accomplish more preferable network traffics optimization.

Description

A kind of MPLS network control system and method based on SDN
Technical field
The present invention relates to a kind of computer networking technology, more particularly to a kind of MPLS network control system based on SDN And method.
Background technology
Currently, data center's flow is broadly divided into two types, north-south flow and East and West direction flow.North-south is with user Access based on data center's content, East and West direction flow includes:Data center's cloud resource pond is (in same data center or across in data The heart) synchronous, backup, CDN (Content Delivery Network, content distributing network) flow push etc..For above-mentioned All kinds of flows, it is less at present to use traffic engineering mechanism, cause inside data center or link utilization is imitated between data center The problem of rate is not high, major embodiment is both ways:For synchronous, backup flow, in most cases these flows link band Wide utilization rate is very low, causes network bandwidth resources to waste.For pushing flow, because its flow is concentrated mainly on access busy, Usual crest ratio is relatively concentrated.To ensure peak flow transmission bandwidth, link bandwidth can only design according to peak value, cause link Percentage bandwidth utilization rate in the case of normal discharge is very low, exacerbates network bandwidth resources waste.
Multiprotocol label switching (MPLS, Multi-Protocol Label Switching) is that one kind is used for rapid data The system of MESSAGE EXCHANGE and route, it provides the abilities such as target, routing address, forwarding and exchange for network traffic data.But It is difficult to perceive link bandwidth utilization rate to be caused due to the MPLS distributed AC servo systems used, is collected, analysis the whole network flow distribution situation. Therefore, although existing MPLS network can improve the utilization rate of network bandwidth resources, but still there is very big network bandwidth The improvement space of resource utilization.
How in consideration of it, using MPLS network the utilization rate of network bandwidth resources is further improved just into art technology Personnel's urgent problem to be solved.
The content of the invention
In view of the above the shortcomings that prior art, it is an object of the invention to provide a kind of MPLS network based on SDN Control system and method, for solving the problems, such as the utilization rate of network bandwidth resources in the prior art up for further improving.
In order to achieve the above objects and other related objects, the present invention provides a kind of MPLS network control system based on SDN, The MPLS network control system based on SDN includes:SDN controllers, for issuing IP forward tables, label forwarding to interchanger Table and flow table, the flow table include being used for according to purpose IP Match IPs message and according to tag match tape label message;When When according to purpose IP, the match is successful, the IP Message processings operation of execution includes:The IP forward tables are inquired about to obtain gateway and go out Label information, and forward the IP messages;When according to tag match success, the tape label Message processing operation of execution includes: Inquire about the Label Forwarding Information Base and obtain exit port and outgoing label information, and forward the tape label message;The interchanger bag Include border TSR and LSR;The border TSR is used to receive the IP forward tables, mark Forward table and flow table are signed, and according to the flow table handle received packet, the border TSR Processing includes the IP messages for entering the MPLS network being converted into tape label message and will leave the band of the MPLS network Label packet is converted into IP messages;The LSR is used to receive the Label Forwarding Information Base and flow table, and according to The flow table received packet is handled, and the processing of the LSR includes carrying out tape label message Forwarding.
Alternatively, SDN controllers establish label forwarding passage according to the flow distribution situation of the whole network, and the label is turned Passage is converted into the IP forward tables to hair, Label Forwarding Information Base is handed down to the interchanger.
Alternatively, the label forwarding passage includes a plurality of, and every label forwarding passage is according to different link bands Wide situation distributes different weights;IP forward tables that the label forwarding passage is converted into, Label Forwarding Information Base possess basis The function that weight is forwarded.
Alternatively, the IP forward tables are secondary index table;Wherein, the one-level IP forward tables include purpose IP, mask, Secondary table call number;Two level IP forward tables include gateway, outgoing label and next call number;The IP Message processings behaviour of the execution The specific implementation of work includes:After the IP messages match one-level IP forward tables, secondary table call number is obtained, then according to Secondary table call number obtains gateway and outgoing label and next call number in two level IP forward tables;Next call number will return Write the secondary table call number of one-level IP forward tables.
Alternatively, the Label Forwarding Information Base is secondary index table;Wherein, the one-level Label Forwarding Information Base include inbound port, Enter label, secondary table call number;Two level Label Forwarding Information Base includes exit port, outgoing label and next call number;The execution The specific implementation of tape label Message processing operation includes:After tape label message matches one-level Label Forwarding Information Base, secondary table is obtained Call number, exit port and outgoing label and next rope are then obtained in two level Label Forwarding Information Base according to the secondary table call number Quotation marks;Next call number will be written back to the secondary table call number of one-level Label Forwarding Information Base.
The present invention provides a kind of MPLS network control method based on SDN, the MPLS network control method based on SDN Including:SDN controllers issue IP forward tables, Label Forwarding Information Base and flow table to interchanger, and the flow table includes being used for according to mesh IP Match IPs message and according to tag match tape label message;When according to purpose IP, the match is successful, the IP messages of execution Processing operation includes:Inquire about the IP forward tables and obtain gateway and outgoing label information, and forward the IP messages;When according to mark When the match is successful, the tape label Message processing operation of execution includes label:The Label Forwarding Information Base is inquired about to obtain exit port and go out Label information, and forward the tape label message;The interchanger includes border TSR and LSR; The border TSR receives IP forward tables, Label Forwarding Information Base and the flow table, and the LSR receives The Label Forwarding Information Base and flow table;The interchanger according to the flow table handle received packet, wherein, institute Stating the processing of border TSR includes the IP messages for entering the MPLS network being converted into tape label message and will be from The tape label message for opening the MPLS network is converted into IP messages;The processing of the LSR is included tape label report Text is forwarded.
Alternatively, SDN controllers establish label forwarding passage according to the flow distribution situation of the whole network, and the label is turned Passage is converted into the IP forward tables to hair, Label Forwarding Information Base is handed down to the interchanger.
Alternatively, the label forwarding passage includes a plurality of, and every label forwarding passage is according to different link bands Wide situation distributes different weights;IP forward tables that the label forwarding passage is converted into, Label Forwarding Information Base possess basis The function that weight is forwarded.
Alternatively, the IP forward tables are secondary index table;Wherein, the one-level IP forward tables include purpose IP, mask, Secondary table call number;Two level IP forward tables include gateway, outgoing label and next call number;The IP Message processings behaviour of the execution The specific implementation of work includes:After the IP messages match one-level IP forward tables, secondary table call number is obtained, then according to Secondary table call number obtains gateway and outgoing label and next call number in two level IP forward tables;Next call number will return Write the secondary table call number of one-level IP forward tables.
Alternatively, the Label Forwarding Information Base is secondary index table;Wherein, the one-level Label Forwarding Information Base include inbound port, Enter label, secondary table call number;Two level Label Forwarding Information Base includes exit port, outgoing label and next call number;The execution The specific implementation of tape label Message processing operation includes:After tape label message matches one-level Label Forwarding Information Base, secondary table is obtained Call number, exit port and outgoing label and next rope are then obtained in two level Label Forwarding Information Base according to the secondary table call number Quotation marks;Next call number will be written back to the secondary table call number of one-level Label Forwarding Information Base.
As described above, a kind of the MPLS network control system and method based on SDN of the present invention, have below beneficial to effect Fruit:Flow table has been expanded based on SDN, the concentrated controling management of SDN controllers is easy to collect and survey the whole network flow distribution situation, according to SDN controllers can more accurately establish a plurality of label forwarding passage (LSP), and enter the reasonable tune of downlink traffic according to weight Degree, the flow table forwarding of the link flow based on weight is realized in the case of multilink, the link circuit resource of the whole network can be made full use of Accomplish more preferable network traffics optimization.
Brief description of the drawings
Fig. 1 is shown as a kind of module diagram of an embodiment of MPLS network control system based on SDN of the present invention.
Fig. 2 is shown as a kind of structural representation of an embodiment of MPLS network control system based on SDN of the present invention.
Fig. 3 is shown as a kind of structural representation of an embodiment of MPLS network control system based on SDN of the present invention.
Fig. 4 is shown as a kind of structural representation of an embodiment of MPLS network control system based on SDN of the present invention.
Fig. 5 is shown as a kind of structural representation of an embodiment of MPLS network control system based on SDN of the present invention.
Fig. 6 is shown as a kind of functional schematic of an embodiment of MPLS network control system based on SDN of the present invention.
Fig. 7 is shown as a kind of functional schematic of an embodiment of MPLS network control system based on SDN of the present invention.
Fig. 8 is shown as a kind of schematic flow sheet of an embodiment of MPLS network control method based on SDN of the present invention.
Fig. 9 is shown as a kind of schematic flow sheet of an embodiment of MPLS network control method based on SDN of the present invention.
Figure 10 is shown as a kind of schematic flow sheet of an embodiment of MPLS network control method based on SDN of the present invention.
Figure 11 is shown as a kind of schematic flow sheet of an embodiment of MPLS network control method based on SDN of the present invention.
Figure 12 is shown as a kind of schematic flow sheet of an embodiment of MPLS network control method based on SDN of the present invention.
Component label instructions
The 1 MPLS network control system based on SDN
11 SDN controllers
12 border TSRs
13 LSRs
S1~S3 steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.
It should be noted that the diagram provided in the present embodiment only illustrates the basic conception of the present invention in a schematic way, Then the component relevant with the present invention is only shown in schema rather than is painted according to component count, shape and the size during actual implement System, kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its assembly layout kenel also may be used Can be increasingly complex.
The present invention provides a kind of MPLS network control system based on SDN.SDN (Software Defined Network, Software defined network) be a kind of new network of Emulex network innovation framework, its core technology OpenFlow by by network equipment chain of command with Data surface separates, it is achieved thereby that the flexible control of network traffics.Border TSR is properly termed as LER, and mark is handed over Change router and be properly termed as LSR.In one embodiment, as shown in figure 1, the MPLS network control system 1 based on SDN is wrapped Include SDN controllers 11, border TSR 12 and LSR 13.Wherein:
SDN controllers 11, for issuing IP forward tables, Label Forwarding Information Base and flow table to interchanger, the flow table includes For according to purpose IP Match IPs message and according to tag match tape label message;When according to purpose IP, the match is successful, hold Capable IP Message processings operation includes:Inquire about the IP forward tables and obtain gateway and outgoing label information, and forward the IP to report Text;When according to tag match success, the tape label Message processing operation of execution includes:The Label Forwarding Information Base is inquired about to obtain out Port and outgoing label information, and forward the tape label message;The interchanger includes border TSR 12 and mark Remember TSR 13.In one embodiment, need to increase by two types, OFPAT_ inside original flow table instruction set LOOKUP_FIB and OFPAT_LOOKUP_LFIB.New instruction type OFPAT_LOOKUP_FIB forwards the IP of matching Table, instruction type OFPAT_LOOKUP_LFIB will match the Label Forwarding Information Base.In one embodiment, SDN controllers 11 Establish label forwarding passage according to the flow distribution situation of the whole network, and by the label forwarding passage be converted into the IP forward tables, Label Forwarding Information Base is handed down to the interchanger.In one embodiment, the label forwarding passage includes a plurality of, every mark Sign forwarding channel and different weights is distributed according to different link bandwidth situations;The IP that the label forwarding passage is converted into Forward table, Label Forwarding Information Base possess the function of being forwarded according to weight.In one embodiment, as shown in Fig. 2 being shown in figure The structure of MPLS network control system 1 based on SDN distinguishes the label forwarding passage that situation establishes according to the flow of the whole network. By the MPLS label distributed in advance, a plurality of label forwarding passage (LSP, alternatively referred to as tag changeable path are established for message Footpath), and the rational management of link flow is realized by the flow table of extension, so as to effectively utilize link bandwidth resource.At another In embodiment, as shown in Figure 3, it is shown that packet message turns in the label of the structure of MPLS network control system 1 based on SDN Send out the forwarding of passage.Source A to terminal B has two static LSP.Wherein LSP A weight is that 3, LSP B weight is 2.Point Group 1 to 5 will undertake identical Business Stream (having identical source IP address and purpose IP address, carrying identical type of service). Packet 1,3,5 will walk LSP A, and packet 2,4 will walk LSP B.
In one embodiment, SDN controllers 1 will be responsible for static LSP (packet of identical source and destination can use difference The a plurality of LSP of weight) establish process, MPLS label distribution will use local binding mode, SDN controllers 1 according to user's request, Distribute rational LSP and corresponding weight.If LER handles IP packet messages, controller is needed according to purpose IP in message Address, writes the matching field of flow table, and action is set as OFPAT_LOOKUP_FIB.Two level IP forwarding concordance lists will be according to purpose IP, mask, LSP weight, gateway and outgoing label are statically configured and issued.If LSP weight is n, then two Also there must be n bars same gateway and the entry of outgoing label in level IP forward tables.If LER or LSR processing labeled packet reports Text, controller need according to outer layer label in message, to write the matching field of flow table, and action is set as OFPAT_LOOKUP_ LFIB.Two level label forwarding concordance list will enter label, LSP weight according to inbound port, and exit port and outgoing label are carried out statically Configure and issue.If LSP weight is n, then also there must be the identical exit port of n bars in two level Label Forwarding Information Base and goes out The entry of label.
The border TSR 12 is used to receive IP forward tables, Label Forwarding Information Base and the flow table, and according to institute State flow table handle received packet, the processing of the border TSR includes that the MPLS network will be entered IP messages be converted into tape label message and the tape label message for leaving the MPLS network be converted into IP messages.At one In embodiment, the IP forward tables are secondary index table, i.e. two level IP forwarding concordance lists, include one-level IP forward tables and two level IP Forward table;Wherein, the one-level IP forward tables include purpose IP, mask, secondary table call number;Two level IP forward tables include net Pass, outgoing label and next call number;The specific implementation of the IP Message processings operation of the execution includes:When the IP messages After one-level IP forward tables, secondary table call number is obtained, is then obtained according to the secondary table call number in two level IP forward tables Obtain gateway and outgoing label and next call number;Next call number will be written back to the two level table index of one-level IP forward tables Number.In one embodiment, as shown in figure 4, the one-level IP forward tables contain purpose IP, mask, two level IP forward tables Index, the two level IP forward tables contain the index of gateway, outgoing label and next list item.When without label IP messages matching one-level After IP forward tables, two level IP forwarding table indexs are obtained, gateway is then obtained in two level IP forward tables according to this index and gone out The index of label and next list item.The index of last next list item will be written back to the index word of the secondary table of one-level IP forward tables Section.After next identical IP messages matching one-level IP forward tables, the index of next list item of two level IP forward tables will be obtained, from And realize the MPLS traffic engineerings of Weight.
The LSR 13 is used to receive the Label Forwarding Information Base and flow table, and is carried out according to the flow table Received packet is handled, the processing of the LSR includes being forwarded tape label message.At one In embodiment, the Label Forwarding Information Base is secondary index table, i.e. two level label forwarding concordance list, comprising one-level Label Forwarding Information Base and Two level Label Forwarding Information Base;Wherein, the one-level Label Forwarding Information Base includes inbound port, enters label, secondary table call number;Two level label Forward table includes exit port, outgoing label and next call number;The specific implementation of the tape label Message processing operation of the execution Including:After tape label message matches one-level Label Forwarding Information Base, secondary table call number is obtained, then according to the two level table index Exit port and outgoing label and next call number are obtained number in two level Label Forwarding Information Base;Next call number will be written back to one The secondary table call number of level Label Forwarding Information Base.In one embodiment, as shown in figure 5, the one-level Label Forwarding Information Base contains Inbound port, enter label, the index of two level Label Forwarding Information Base.The two level Label Forwarding Information Base contains exit port, outgoing label (including Label act) and next list item index.After tape label message matches one-level Label Forwarding Information Base, two level table index is obtained, Then exit port and the index of outgoing label and next list item are obtained in two level Label Forwarding Information Base according to this index.It is last next The index of list item will be written back to the index field of the secondary table of one-level Label Forwarding Information Base.When next same packets message matches one-level After Label Forwarding Information Base, the index of next list item of secondary table will be obtained, so as to realize the MPLS traffic engineerings of Weight.
In one embodiment, as shown in fig. 6, the border of the MPLS network control system 1 based on SDN exchanges The processing of router 12 and the LSR 13 to message is as schemed.Inside mpls domain, all data messages Label is all carried, so LSR (LSR 13) need to only retain two level Label Forwarding Information Base (LFIB), (border exchanges LER Router 12) need to handle IP messages as boundary marker TSR, so being also required to retain two level IP on forwarding plane Forward table.In one embodiment, as shown in fig. 7, processing bag of the MPLS network control system 1 based on SDN to message Include:IP is grouped corresponding label is obtained by the processing of flow table and IP secondary index tables in LER (border TSR 12) Packet message.The labeled packet message passes through the flow table and mark in LSR (LSR 13) inside MPLS network The processing for signing secondary index table carries out the forwarding of labeled packet message.The labeled packet message passes through at MPLS network edge The processing of LER (border TSR 12) flow tables and label secondary index table obtains corresponding IP packet messages and forwarded.
The present invention provides a kind of MPLS network control method based on SDN, as shown in figure 8, the MPLS nets based on SDN Network control method includes:
Step S1, SDN controller issues IP forward tables, Label Forwarding Information Base and flow table to interchanger, and the flow table includes For according to purpose IP Match IPs message and according to tag match tape label message;When according to purpose IP, the match is successful, hold Capable IP Message processings operation includes:Inquire about the IP forward tables and obtain gateway and outgoing label information, and forward the IP to report Text;When according to tag match success, the tape label Message processing operation of execution includes:The Label Forwarding Information Base is inquired about to obtain out Port and outgoing label information, and forward the tape label message;The interchanger includes border TSR and mark TSR.
In one embodiment, need to increase by two types, OFPAT_LOOKUP_ inside original flow table instruction set FIB and OFPAT_LOOKUP_LFIB.New instruction type OFPAT_LOOKUP_FIB is by the IP forward tables of matching, instruction Type OFPAT_LOOKUP_LFIB will match the Label Forwarding Information Base.In one embodiment, SDN controllers 11 are according to the whole network Flow distribution situation establish label forwarding passage, and the label forwarding passage is converted into the IP forward tables, label turns Deliver and be handed down to the interchanger.In one embodiment, the label forwarding passage includes a plurality of, every label forwarding Passage distributes different weights according to different link bandwidth situations;The IP forwardings that the label forwarding passage is converted into Table, Label Forwarding Information Base possess the function of being forwarded according to weight.In one embodiment, SDN controllers 1 will be responsible for static state LSP (packet of identical source and destination can use a plurality of LSP of different weights) establishes process, and MPLS label distribution will use this Ground binding mode, SDN controllers 1 distribute rational LSP and corresponding weight according to user's request.If IP points of LER processing Group message, controller need according to purpose IP address in message, to write the matching field of flow table, and action is set as OFPAT_ LOOKUP_FIB.Two level IP forwardings concordance list will be carried out statically according to purpose IP, mask, LSP weight, gateway and outgoing label Configure and issue.If LSP weight is n, then also there must be n bars same gateway and outgoing label in two level IP forward tables Entry.If LER or LSR processing labeled packet messages, controller are needed according to outer layer label in message, flow table is write Matching field, action are set as OFPAT_LOOKUP_LFIB.Two level label forwarding concordance list will enter label according to inbound port, LSP weight, exit port and outgoing label are statically configured and issued.If LSP weight is n, then in two level label Also there must be the identical exit port of n bars and the entry of outgoing label in forward table.
Step S2, the border TSR is used to receive IP forward tables, Label Forwarding Information Base and the flow table, described LSR is used to receive the Label Forwarding Information Base and flow table.
Step S3, the interchanger according to the flow table handle received packet, wherein, the border is handed over Changing the processing of router includes the IP messages for entering the MPLS network being converted into tape label message and will leave described The tape label message of MPLS network is converted into IP messages;The processing of the LSR includes carrying out tape label message Forwarding.Specifically, IP is grouped and phase is obtained by the processing of flow table and IP secondary index tables in LER (border TSR 12) The labeled packet message answered.The labeled packet message is inside MPLS network by LSR (LSR 13) The processing of flow table and label secondary index table carries out the forwarding of labeled packet message.The labeled packet message is on MPLS network side Edge obtains corresponding IP packet messages by the processing of LER (border TSR 12) flow tables and label secondary index table and turned Hair.In one embodiment, the IP forward tables are secondary index table, i.e. two level IP forwarding concordance lists, are forwarded comprising one-level IP Table and two level IP forward tables;Wherein, the one-level IP forward tables include purpose IP, mask, secondary table call number;Two level IP is forwarded Table includes gateway, outgoing label and next call number;The specific implementation of the IP Message processings operation of the execution includes:When described After IP messages matching one-level IP forward tables, secondary table call number is obtained, is then turned according to the secondary table call number in two level IP Deliver middle acquisition gateway and outgoing label and next call number;Next call number will be written back to the two level of one-level IP forward tables Table index number.In one embodiment, the one-level IP forward tables contain purpose IP, mask, the index of two level IP forward tables, The two level IP forward tables contain the index of gateway, outgoing label and next list item.Turn when without label IP messages matching one-level IP After delivering, two level IP forwarding table indexs are obtained, gateway and outgoing label are then obtained in two level IP forward tables according to this index And the index of next list item.The index of last next list item will be written back to the index field of the secondary table of one-level IP forward tables. After next identical IP messages matching one-level IP forward tables, the index of next list item of two level IP forward tables will be obtained, so as to Realize the MPLS traffic engineerings of Weight.
In one embodiment, the Label Forwarding Information Base is secondary index table, i.e. two level label forwarding concordance list, includes one Level Label Forwarding Information Base and two level Label Forwarding Information Base;Wherein, the one-level Label Forwarding Information Base includes inbound port, enters label, secondary table Call number;Two level Label Forwarding Information Base includes exit port, outgoing label and next call number;The tape label Message processing of the execution The specific implementation of operation includes:After tape label message matches one-level Label Forwarding Information Base, secondary table call number is obtained, then basis The secondary table call number obtains exit port and outgoing label and next call number in two level Label Forwarding Information Base;Next rope Quotation marks will be written back to the secondary table call number of one-level Label Forwarding Information Base.In one embodiment, the one-level Label Forwarding Information Base bag Contain inbound port, enter label, the index of two level Label Forwarding Information Base.The two level Label Forwarding Information Base contains exit port, outgoing label (including label action) and the index of next list item.After tape label message matches one-level Label Forwarding Information Base, secondary table is obtained Index, exit port and the index of outgoing label and next list item are then obtained in two level Label Forwarding Information Base according to this index.Most The index of next list item will be written back to the index field of the secondary table of one-level Label Forwarding Information Base afterwards.When next same packets message After one-level Label Forwarding Information Base, the index of next list item of secondary table will be obtained, so as to realize the MPLS flow works of Weight Journey.
In one embodiment, as shown in figure 9, the MPLS network control method based on SDN includes:Controller is analyzed The flow difference situation of the whole network, generation multilink LSP (Weight);Controller is according to LSP, when receiving first packet message Issue flow table (assigning new element type OFPAT_LOOKUP_FIB and OFPAT_LOOKUP_LFIB) and secondary index table;Handing over On changing planes, IP messages will match flow table, perform and search FIB actions;On switches, label packet will match flow table, and execution is looked into LFIB is looked for act.
In one embodiment, as shown in Figure 10, the MPLS network control method based on SDN includes:LER is received Packet message, judge whether the packet message is IP packet messages, if the packet message is not for IP packet messages, Based on outer layer label, flow table is inquired about;When being matched in flow table, action " OFPAT_LOOKUP_LFIB " inquiry two level mark is performed Label forwarding concordance list, obtains exit port and outgoing label information is forwarded.If can not be matched in flow table, by the packet Message is sent to the processing of SDN controllers.If the packet message is for IP packet messages, based on purpose IP, flow table is inquired about; When being matched in flow table, action " OFPAT_LOOKUP_FIB " inquiry two level IP forwarding concordance lists are performed, gateway is obtained and goes out Label information is forwarded.If can not be matched in flow table, the packet message is sent to the processing of SDN controllers.
In one embodiment, as shown in figure 11, the MPLS network control method based on SDN includes:LSR is received Packet message, judge whether the packet message is labeled packet message, if the packet message is for labeled packet message, Outer layer label is then based on, inquires about flow table;When being matched in flow table, action " OFPAT_LOOKUP_LFIB " inquiry two level is performed Label forwarding concordance list, obtains exit port and outgoing label information is forwarded., will be described point if can not be matched in flow table Group message is sent to the processing of SDN controllers.If the packet message is not labeled packet message, the packet report is abandoned Text.
In one embodiment, as shown in figure 12, the MPLS network control method based on SDN includes:When packet is reported When text does not match interchanger flow table, SDN controllers are sent to handle the packet message, whether controller judges packet message type For IP packet messages, if the packet message is not IP packet messages, write according to the outer layer label of the packet message Flow table, according to inbound port, enter label, LSP weight, exit port and outgoing label write-in two level label forwarding concordance list.If institute It is IP packet messages to state packet message, then SDN controllers judge to forward the switch type of the packet message, if the friendship Type of changing planes is LER, then flow table is write according to the purpose IP of the packet message, according to purpose IP, mask, LSP weight, net Close and outgoing label write-in two level IP forwards concordance list.If the switch type is not LER, the packet message is abandoned.
The execution sequence of the step of MPLS network control method based on SDN of the present invention is not limited to above-described embodiment institute Description, as long as including above-mentioned steps i.e. within technical scheme.
In summary, a kind of MPLS network control system and method based on SDN of the invention, have below beneficial to effect Fruit:Flow table has been expanded based on SDN, the concentrated controling management of SDN controllers is easy to collect and survey the whole network flow distribution situation, according to SDN controllers can more accurately establish a plurality of label forwarding passage (LSP), and enter the reasonable tune of downlink traffic according to weight Degree, the flow table forwarding of the link flow based on weight is realized in the case of multilink, the link circuit resource of the whole network can be made full use of Accomplish more preferable network traffics optimization.So the present invention effectively overcomes various shortcoming of the prior art and has high industrial Value.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (10)

  1. A kind of 1. MPLS network control system based on SDN, it is characterised in that the MPLS network control system based on SDN Including:
    SDN controllers, for issuing IP forward tables, Label Forwarding Information Base and flow table to interchanger, the flow table is used for according to mesh IP Match IPs message and according to tag match tape label message;When according to purpose IP, the match is successful, the IP messages of execution Processing operation includes:Inquire about the IP forward tables and obtain gateway and outgoing label information, and forward the IP messages;When according to mark When the match is successful, the tape label Message processing operation of execution includes label:The Label Forwarding Information Base is inquired about to obtain exit port and go out Label information, and forward the tape label message;The interchanger includes border TSR and LSR;
    The border TSR is used to receive IP forward tables, Label Forwarding Information Base and the flow table, and according to the flow table Received packet is handled, the processing of the border TSR includes turning the IP messages for entering the MPLS network Change tape label message into and the tape label message for leaving the MPLS network is converted into IP messages;
    The LSR is used to receive the Label Forwarding Information Base and flow table, and according to the flow table to receiving report Text is handled, and the processing of the LSR includes being forwarded tape label message.
  2. 2. the MPLS network control system according to claim 1 based on SDN, it is characterised in that:SDN controllers are according to complete The flow distribution situation of net establishes label forwarding passage, and the label forwarding passage is converted into the IP forward tables, label Forward table is handed down to the interchanger.
  3. 3. the MPLS network control system according to claim 2 based on SDN, it is characterised in that:The label forwarding is led to Including a plurality of, every label forwarding passage distributes different weights according to different link bandwidth situations in road;The label IP forward tables that forwarding channel is converted into, Label Forwarding Information Base possess the function of being forwarded according to weight.
  4. 4. the MPLS network control system according to claim 1 based on SDN, it is characterised in that:The IP forward tables are Secondary index table;Wherein, one-level IP forward tables include purpose IP, mask, secondary table call number;Two level IP forward tables include net Pass, outgoing label and next call number;The specific implementation of the IP Message processings operation of the execution includes:When the IP messages After one-level IP forward tables, secondary table call number is obtained, is then obtained according to the secondary table call number in two level IP forward tables Obtain gateway and outgoing label and next call number;Next call number will be written back to the two level table index of one-level IP forward tables Number.
  5. 5. the MPLS network control system according to claim 1 based on SDN, it is characterised in that:The Label Forwarding Information Base For secondary index table;Wherein, one-level Label Forwarding Information Base includes inbound port, enters label, secondary table call number;Two level Label Forwarding Information Base Including exit port, outgoing label and next call number;The specific implementation of the tape label Message processing operation of the execution includes:When After tape label message matching one-level Label Forwarding Information Base, secondary table call number is obtained, then according to the secondary table call number two Exit port and outgoing label and next call number are obtained in level Label Forwarding Information Base;Next call number will be written back to one-level label The secondary table call number of forward table.
  6. A kind of 6. MPLS network control method based on SDN, it is characterised in that:The MPLS network control method based on SDN Including:
    SDN controllers issue IP forward tables, Label Forwarding Information Base and flow table to interchanger, and the flow table is used for according to purpose IP With IP messages and according to tag match tape label message;When according to purpose IP, the match is successful, the IP Message processings behaviour of execution Work includes:Inquire about the IP forward tables and obtain gateway and outgoing label information, and forward the IP messages;When according to tag match During success, the tape label Message processing operation of execution includes:Inquire about the Label Forwarding Information Base and obtain exit port and outgoing label letter Breath, and forward the tape label message;The interchanger includes border TSR and LSR;
    The border TSR receives IP forward tables, Label Forwarding Information Base and the flow table, the LSR Receive the Label Forwarding Information Base and flow table;
    The interchanger is handled received packet according to the flow table, wherein, the processing of the border TSR Including the IP messages for entering the MPLS network are converted into tape label message and the tape label of the MPLS network will be left Message is converted into IP messages;The processing of the LSR includes being forwarded tape label message.
  7. A kind of 7. MPLS network control method based on SDN according to claim 6, it is characterised in that:SDN controller roots Establish label forwarding passage according to the flow distribution situation of the whole network, and by the label forwarding passage be converted into the IP forward tables, Label Forwarding Information Base is handed down to the interchanger.
  8. A kind of 8. MPLS network control method based on SDN according to claim 7, it is characterised in that:The label turns Passage is sent out including a plurality of, every label forwarding passage distributes different weights according to different link bandwidth situations;It is described IP forward tables that label forwarding passage is converted into, Label Forwarding Information Base possess the function of being forwarded according to weight.
  9. A kind of 9. MPLS network control method based on SDN according to claim 6, it is characterised in that:The IP forwardings Table is secondary index table;Wherein, one-level IP forward tables include purpose IP, mask, secondary table call number;Two level IP forward tables include Gateway, outgoing label and next call number;The specific implementation of the IP Message processings operation of the execution includes:When the IP messages After matching one-level IP forward tables, secondary table call number is obtained, then according to the secondary table call number in two level IP forward tables Obtain gateway and outgoing label and next call number;Next call number will be written back to the two level table index of one-level IP forward tables Number.
  10. A kind of 10. MPLS network control method based on SDN according to claim 6, it is characterised in that:The label turns Deliver as secondary index table;Wherein, one-level Label Forwarding Information Base includes inbound port, enters label, secondary table call number;Two level label turns Deliver including exit port, outgoing label and next call number;The specific implementation bag of the tape label Message processing operation of the execution Include:After tape label message matches one-level Label Forwarding Information Base, secondary table call number is obtained, then according to the secondary table call number Exit port and outgoing label and next call number are obtained in two level Label Forwarding Information Base;Next call number will be written back to one-level The secondary table call number of Label Forwarding Information Base.
CN201410781729.7A 2014-12-16 2014-12-16 A kind of MPLS network control system and method based on SDN Active CN104486218B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410781729.7A CN104486218B (en) 2014-12-16 2014-12-16 A kind of MPLS network control system and method based on SDN
PCT/CN2015/089496 WO2016095574A1 (en) 2014-12-16 2015-09-14 Sdn-based mpls network control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410781729.7A CN104486218B (en) 2014-12-16 2014-12-16 A kind of MPLS network control system and method based on SDN

Publications (2)

Publication Number Publication Date
CN104486218A CN104486218A (en) 2015-04-01
CN104486218B true CN104486218B (en) 2017-12-22

Family

ID=52760724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410781729.7A Active CN104486218B (en) 2014-12-16 2014-12-16 A kind of MPLS network control system and method based on SDN

Country Status (2)

Country Link
CN (1) CN104486218B (en)
WO (1) WO2016095574A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486218B (en) * 2014-12-16 2017-12-22 上海斐讯数据通信技术有限公司 A kind of MPLS network control system and method based on SDN
CN104901890B (en) * 2015-06-24 2018-01-02 上海斐讯数据通信技术有限公司 A kind of SDN route generation, matching process and system
CN105187307B (en) * 2015-08-19 2018-07-31 上海斐讯数据通信技术有限公司 MAC-in-MAC message transmitting methods based on SDN and system
CN105450447B (en) * 2015-11-17 2018-05-18 上海斐讯数据通信技术有限公司 A kind of network system and network operation method
CN106789658B (en) * 2016-12-29 2019-09-27 南京邮电大学 Satellite MPLS network flow equalization method based on SDN controller
CN106936705B (en) * 2017-03-06 2020-06-02 重庆邮电大学 Software defined network routing method
CN109981753B (en) * 2019-03-07 2021-04-27 中南大学 Software-defined edge computing system and resource allocation method for Internet of things
CN110891020B (en) * 2019-12-24 2021-07-13 中国电子科技集团公司第五十四研究所 Flow table quantity optimization method of SDN in-band control network

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100550823C (en) * 2003-12-26 2009-10-14 上海贝尔阿尔卡特股份有限公司 A kind of Ethernet transfer equipment and method with quick protection and fair characteristic
CN100490421C (en) * 2004-10-20 2009-05-20 华为技术有限公司 Method for realizing flow equitable transmission in MPLS looped network
CN100596102C (en) * 2006-09-29 2010-03-24 中国电信股份有限公司 Method for establishing label switched path of minimized path preemption cost
CN102271079B (en) * 2010-06-04 2014-11-05 华为技术有限公司 Message forwarding method, node and system
CN103095583B (en) * 2012-11-09 2016-03-16 盛科网络(苏州)有限公司 The method and system of Openflow two-stage stream table are realized by chip loopback
FI20126275L (en) * 2012-12-07 2014-06-08 Tellabs Oy Method and apparatus for configuring a programmatically defined network
CN103973568B (en) * 2013-02-05 2017-03-08 上海贝尔股份有限公司 For the method and apparatus for forwarding SDN stream on the net in MPLS core
EP2838231B1 (en) * 2013-05-15 2017-02-01 NTT DoCoMo, Inc. Network system and access controller and method for operating the network system
CN104486218B (en) * 2014-12-16 2017-12-22 上海斐讯数据通信技术有限公司 A kind of MPLS network control system and method based on SDN

Also Published As

Publication number Publication date
CN104486218A (en) 2015-04-01
WO2016095574A1 (en) 2016-06-23

Similar Documents

Publication Publication Date Title
CN104486218B (en) A kind of MPLS network control system and method based on SDN
CN105359470B (en) Flow table management method and relevant device and system
CN102594664B (en) Flow forwarding method and device
CN106664252B (en) Realize method, equipment and the system of service chaining
CN103229468B (en) Packet-switched resources distribution method and equipment
CN105247822B (en) A kind of method, apparatus and computer readable storage medium for establishing network service chaining
CN104283756B (en) A kind of method and apparatus for realizing distributed multi-tenant virtual network
CN100512209C (en) Method for solving resource conflict in distribution route counting
CN104243362B (en) A kind of message forwarding method and device
CN106789658A (en) Satellite MPLS network flow equalization method based on SDN controllers
CN104717098B (en) A kind of data processing method and device
CN107204867A (en) A kind of information transferring method, device and system
CN105871722A (en) Tag structure and tag message forwarding method and device
CN107005462A (en) The method, apparatus and system of data forwarding in software defined network
CN106559330A (en) A kind of dynamic path planning method based on SDN
CN105871721A (en) Segment routing processing method, processing device and sending device
CN107710693A (en) The method of opening relationships between multigroup label switched path and virtual network
CN105634940A (en) SR information acquisition method and route segment network establishment method
CN106059915A (en) System and method for implementing limitation of north-south traffic of tenants based on SDN controller
CN105871718A (en) SDN (Software-Defined Networking) inter-domain routing implementation method
CN105791153A (en) Service traffic scheduling method and system, traffic controller and network edge device
US20200267078A1 (en) Support for multiple virtual networks over an underlay network topology
CN109450793A (en) A kind of method and apparatus of service traffics scheduling
CN103973568A (en) Method and equipment for forwarding SDN (software defined network) flow on MPLS (multi-protocol label switching) core network
CN106941437A (en) A kind of information transferring method and device

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201103

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221228

Address after: 163000 Room 201, gate 2, No. 21, Yongjun street, Sartu District, Daqing City, Heilongjiang Province

Patentee after: Hong Lei

Address before: 318015 no.2-3167, area a, nonggangcheng, 2388 Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee before: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230117

Address after: 103-12, Floor 1, Building 6 (North), Yard 1, Shuangqing Road, Haidian District, Beijing, 100085

Patentee after: Beijing's current small partner technology partnership (L.P.)

Address before: 163000 Room 201, gate 2, No. 21, Yongjun street, Sartu District, Daqing City, Heilongjiang Province

Patentee before: Hong Lei

Effective date of registration: 20230117

Address after: 100085 108-5, Floor 1, Building 6 (North), Yard 1, Shuangqing Road, Haidian District, Beijing

Patentee after: Beijing Yonghang Zhixin Network Technology Co.,Ltd.

Address before: 103-12, Floor 1, Building 6 (North), Yard 1, Shuangqing Road, Haidian District, Beijing, 100085

Patentee before: Beijing's current small partner technology partnership (L.P.)

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230313

Address after: 163000 Room 201, gate 2, No. 21, Yongjun street, Sartu District, Daqing City, Heilongjiang Province

Patentee after: Hong Lei

Address before: 100085 108-5, Floor 1, Building 6 (North), Yard 1, Shuangqing Road, Haidian District, Beijing

Patentee before: Beijing Yonghang Zhixin Network Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230418

Address after: 103-12, Floor 1, Building 6 (North), Yard 1, Shuangqing Road, Haidian District, Beijing, 100085

Patentee after: Beijing's current small partner technology partnership (L.P.)

Address before: 163000 Room 201, gate 2, No. 21, Yongjun street, Sartu District, Daqing City, Heilongjiang Province

Patentee before: Hong Lei

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230427

Address after: 100085 108-5, Floor 1, Building 6 (North), Yard 1, Shuangqing Road, Haidian District, Beijing

Patentee after: Beijing Yonghang Zhixin Network Technology Co.,Ltd.

Address before: 103-12, Floor 1, Building 6 (North), Yard 1, Shuangqing Road, Haidian District, Beijing, 100085

Patentee before: Beijing's current small partner technology partnership (L.P.)

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230529

Address after: 331, West 3rd Floor, Building 10, Enji West Park, No.1 Liangjiadian, Fuwai, Haidian District, Beijing, 100080

Patentee after: Beijing Jiuyun infinite network technology Co.,Ltd.

Address before: 100085 108-5, Floor 1, Building 6 (North), Yard 1, Shuangqing Road, Haidian District, Beijing

Patentee before: Beijing Yonghang Zhixin Network Technology Co.,Ltd.