CN107070693A - The method and device of rapid configuration POTN business based on OpenFlow flow table - Google Patents
The method and device of rapid configuration POTN business based on OpenFlow flow table Download PDFInfo
- Publication number
- CN107070693A CN107070693A CN201710028106.6A CN201710028106A CN107070693A CN 107070693 A CN107070693 A CN 107070693A CN 201710028106 A CN201710028106 A CN 201710028106A CN 107070693 A CN107070693 A CN 107070693A
- Authority
- CN
- China
- Prior art keywords
- service
- label
- oduk
- packet
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
Abstract
The invention discloses a kind of method and device of the rapid configuration POTN business based on OpenFlow flow table, it is related to POTN business configuration technical fields.This method includes:Create OpenFlow matching flow tables;OpenFlow is matched flow table issuance to interchanger by SDN controllers;When interchanger receives packet, the port numbers of packet are matched in the port match table that OpenFlow matches flow table, the corresponding type of service of the packet is obtained;According to type of service, the matching of row label is entered in corresponding tag match table;Finally, according to current tag state, by corresponding business demand, the corresponding processing of matched data bag is acted in processing acts matching list, and corresponding encapsulation process is carried out to packet according to the processing action matched.The present invention can realize the rapid configuration of Ethernet service, MPLS TP business and ODUK business, meet the demand that bandwidth and path are frequently adjusted so that the management O&M of network is simply efficient.
Description
Technical field
The present invention relates to POTN, (Packet enhanced Optical Transport Network are grouped enhanced light
Transmit network) business configuration technical field is specifically a kind of rapid configuration POTN business based on OpenFlow flow table
Method and device.
Background technology
Solved in the equipment of variform at this stage under its development of service bearer, PTN (Packet Transport
Network, Packet Transport Network) with OTN (Optical Transport Network, optical transfer network) fusion solution
POTN has obtained understanding and the attention of industry by development in recent years.But, multi-service, Multi net voting, many producers in existing network
The phenomenon of coexistence allows operator to face multiple problems:1st, future services bandwidth and access point will frequently change, how real
The quick adjustment of existing bandwidth and business it is quick open-minded;2nd, the tidal effect in network is more notable, how to maximize raising net
The utilization rate of network;3rd, multiple business, such as Ethernet service, MPLS-TP business and ODUK business, are uploaded in same physical network
Send, how to avoid mutual interference, how differentiated service, management and Operation Network resource.
3 points of driving networks of the above further develop to intelligent, virtualization direction.Therefore, in the prior art, using portion
SDN controllers are affixed one's name to, by SDN open network, to realize opening and adjusting for cross-domain (multi-vendor, trans-regional) business.But,
Under conditions of SDN controllers are set up, the multiple business such as Ethernet service, MPLS-TP business and ODUK business how are realized
The rapid configuration of scape, and meet the demand that service bandwidth and path are frequently adjusted so that the management O&M of whole network becomes more
It is simple efficient, also without specific, effective solution.
The content of the invention
The invention aims to overcome the shortcomings of above-mentioned background technology there is provided a kind of based on the fast of OpenFlow flow table
The method and device of speed configuration POTN business, can realize the rapid configuration of Ethernet service, MPLS-TP business and ODUK business,
Meet the demand that service bandwidth and path are frequently adjusted so that the management O&M of whole network becomes simpler efficient.
To achieve the above objectives, the present invention provides a kind of side of the rapid configuration POTN business based on OpenFlow flow table
Method, comprises the following steps:
S1:OpenFlow matching flow tables are created, the OpenFlow matchings flow table includes port match table, Ethernet service
Tag match table, ODUK service labels matching list, MPLS-TP service labels matching list and processing action matching list;
S2:The OpenFlow of establishment is matched flow table issuance to interchanger by SDN controllers;
S3:When interchanger receives packet, the port numbers of packet are matched to the port match of flow table in OpenFlow
Matched in table, obtain the corresponding type of service of the packet;According to obtained type of service, in corresponding type of service
Enter the matching of row label in tag match table;Finally, according to current tag state, acted by corresponding business demand in processing
The corresponding processing action of matched data bag in matching list, is carried out at corresponding encapsulation according to the processing action matched to packet
Reason.
The present invention also provides a kind of dress of the rapid configuration POTN business based on OpenFlow flow table of application above method
Put, including SDN controllers and interchanger.In the SDN controllers provided with OpenFlow matching flow table creating units and
OpenFlow matches flow table issuance unit;The OpenFlow matchings flow table creating unit is used for:Create OpenFlow matching streams
Table;The OpenFlow matchings flow table issuance unit is used for:The OpenFlow of establishment is matched into flow table issuance to interchanger;It is described
Interchanger is used for:When interchanger receives packet, the port numbers of packet are matched to the port match of flow table in OpenFlow
Matched in table, obtain the corresponding type of service of the packet;According to obtained type of service, in corresponding type of service
Enter the matching of row label in tag match table;Finally, according to current tag state, acted by corresponding business demand in processing
The corresponding processing action of matched data bag in matching list, is carried out at corresponding encapsulation according to the processing action matched to packet
Reason.
The beneficial effects of the present invention are:
Present invention employs a kind of method of the rapid configuration POTN business based on OpenFlow flow table, created
OpenFlow matching flow table in include port match table, Ethernet service tag match table, ODUK service labels matching list,
MPLS-TP service labels matching list and processing action matching list.The OpenFlow of establishment is matched flow table issuance extremely by SDN controllers
After interchanger, exchange opportunity enters the port numbers of the packet header received in the port match table that OpenFlow matches flow table
Row matching, obtains the corresponding type of service of the packet;According to obtained type of service, in the label of corresponding type of service
With the matching for entering row label in table;Finally, according to current tag state, matching list is acted in processing by corresponding business demand
The corresponding processing action of middle matched data bag, corresponding encapsulation process is carried out according to the processing action matched to packet.
Compared with prior art, the present invention can realize that the quick of Ethernet service, MPLS-TP business and ODUK business is matched somebody with somebody
Put, meet the demand that service bandwidth and path are frequently adjusted so that the management O&M of whole network becomes simpler efficient;Together
When, the flow table of POTN business configurations is also achieved, configuration flow is simplified so that control and forward separating, control centralization,
The O&M of multitiered network is simplified, the problems such as many plant equipment docking are coordinated is solved.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the rapid configuration POTN business based on OpenFlow flow table in the embodiment of the present invention;
Fig. 2 matches the graph of a relation of each table in flow table for OpenFlow in the embodiment of the present invention;
The particular flow sheet that Fig. 3 is the step S3 when type of service is Ethernet service type in the embodiment of the present invention;
The particular flow sheet that Fig. 4 is the step S3 when type of service is MPLS-TP types of service in the embodiment of the present invention;
The particular flow sheet that Fig. 5 is the step S3 when type of service is ODUK types of service in the embodiment of the present invention;
Fig. 6 is the structural frames of the device of the rapid configuration POTN business based on OpenFlow flow table in the embodiment of the present invention
Figure.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of rapid configuration POTN business based on OpenFlow flow table
Method, comprises the following steps:
Step S1, OpenFlow matches the establishment of flow table:As shown in Fig. 2 OpenFlow matching flow tables are created, should
OpenFlow matching flow tables include port match table Table0, Ethernet service tag match table Table1, ODUK service label
Matching list Table2, MPLS-TP service label matching list Table3 and processing action matching list Group.
Wherein, port match table Table0, for the corresponding port numbers of matched data bag, by matching port numbers number
According to the corresponding type of service of bag.In the present embodiment, type of service includes Ethernet service type, ODUK types of service and MPLS-
TP types of service;Ethernet service type is divided into words on Ethernet service, words and Ethernet on plug-in CVLAN Ethernet services again
Business transparent transmission;ODUK types of service are divided into words and the transmission of ODUK business in ODUK business again;MPLS-TP types of service are divided into again
Words and the transmission of MPLS-TP business in MPLS-TP business.Different types of service, the different tag match table of correspondence is (i.e.
Table1, Table2 or Table3).
Ethernet service tag match table Table1 is corresponding with the Ethernet service type in port match table Table0, uses
Label under matching Ethernet service type, including user's virtual local area network tags (CVLAN), user's VLAN+clothes
The double-layer label (CVLAN+SVLAN) of business VLAN.
ODUK service label matching list Table2 are corresponding with the ODUK types of service in port match table Table0, for
With the label under ODUK types of service, including take ODUK time slots label (TPN Label).
MPLS-TP service label matching list Table3 are corresponding with the MPLS-TP types of service in port match table Table0,
For matching the label under MPLS-TP types of service, include double-layer label (the LSP Label+PW of label switched path+pseudo-wire
Label)。
Processing acts matching list Group, for the corresponding processing action of matched data bag, is acted according to the processing matched
Corresponding encapsulation process is carried out to packet.Specifically, the processing action that processing action matching list Group is included has:Stamp
User's virtual local area network tags (PUSH CVLAN), stamp service virtual local area networks label (PUSH SVLAN), peel off pseudo-wire mark
Label (POP PW Label), peeling label switching path label (POP LSP Label), stamp pseudo line tag (PUSH PW
Label), tagged switching path label (PUSH LSP Label), stamp occupancy ODUK time slots label (PUSH TPN
Label), peel off and take ODUK time slots label (POP TPN Label).
Step S2, OpenFlow matches issuing for flow table:The OpenFlow of establishment is matched flow table issuance extremely by SDN controllers
Interchanger.During concrete operations, the OpenFlow of establishment is matched flow table by OpenFlow agreements through a safety by SDN controllers
Passage is issued to interchanger.
Step S3, three major businesses scene configuration processing:When interchanger receives packet, the port numbers of packet are existed
Matched in the port match table of OpenFlow matching flow tables, obtain the corresponding type of service of the packet, the service class
Type includes Ethernet service type, MPLS-TP types of service and ODUK types of service;According to obtained type of service, in correspondence
Type of service tag match table in enter the matching of row label;Finally, according to current tag state, needed by corresponding business
The corresponding processing action of matched data bag in processing action matching list is asked, packet is carried out according to the processing action matched
Corresponding encapsulation process.
Specifically, shown in Figure 3, when type of service is Ethernet service type, corresponding service demand is branch crossing
Upper words Ethernet bag, when line side is packaged into ODUK, then step S3 specifically includes below scheme:
Step S301a:When interchanger receives packet, by the port numbers inport_id of packet header and port
Matched with the port numbers inport_id in table Table0, if the match is successful, be transferred to step S301b;If it fails to match, lose
Abandon the packet or report the processing of SDN controllers, terminate.
Step S301b:The corresponding type of service of the packet is obtained according to appropriate ports number, if type of service is ether
Talked about on network service, be transferred to step S301c;If type of service is to be talked about on plug-in CVLAN Ethernet services, i.e., packet has been carried
CVLAN labels, are transferred to step S301d;If type of service, which is Ethernet service transparent transmission, i.e. packet, has carried CVLAN+SVLAN
Label, then be transferred to step S301f.
Step S301c:Directly in processing action matching list Group, user's virtual local area network tags are stamped in matching successively
(PUSH CVLAN), stamp service virtual local area networks label (PUSH SVLAN) and stamp occupancy ODUK time slot labels (PUSH
TPN Label) processing action;Acted according to above-mentioned processing, be followed successively by packet and stamp user's virtual local area network tags
(CVLAN) and Service Virtual Local Area Network tag (SVLAN), and occupancy ODUK time slots label (TPN Label) is distributed by the data
Bag (i.e. Ethernet bag) is encapsulated into corresponding ODUK time slots.
Step S301d:By user's virtual local area network tags (CVLAN) of packet institute band and Ethernet service tag match
User's virtual local area network tags (CVLAN) in table Table1 are matched, if the match is successful, are transferred to step S301e;If matching
Failure, abandons the packet or reports the processing of SDN controllers, terminate.
Step S301e:In processing action matching list Group, service virtual local area networks label (PUSH is stamped in matching successively
SVLAN) and stamp take ODUK time slots label (PUSH TPN Label) processing action;Acted according to above-mentioned processing, for number
Service virtual local area networks label (SVLAN) is stamped according to bag, and distributes occupancy ODUK time slots label (TPN Label) by the packet
It is encapsulated into corresponding ODUK time slots.
Step S301f:By user's virtual local area network tags (CVLAN)+service virtual local area networks label of packet institute band
(SVLAN) with the double-deck mark of user's VLAN+service virtual local area networks in Ethernet service tag match table Table1
Label (CVLAN+SVLAN) are matched, if the match is successful, are transferred to step S301g;If it fails to match, abandon the packet or on
The processing of SDN controllers is offered, is terminated.
Step S301g:Occupancy ODUK time slots label (PUSH TPN are stamped in matching in processing action matching list Group
Label processing action);Acted according to the processing, distribution takes ODUK time slots label (TPN Label) by the packet encapsulation
Into corresponding ODUK time slots.
Shown in Figure 4, when type of service is MPLS-TP types of service, corresponding service demand is to talk about MPLS- on branch crossing
TP business, when line side is packaged into ODUK, then step S3 specifically includes below scheme:
Step S302a:When interchanger receives packet, by the port numbers inport_id of packet header and port
Matched with the port numbers inport_id in table Table0, if the match is successful, be transferred to step S302b;If it fails to match, lose
Abandon the packet or report the processing of SDN controllers, terminate.
Step S302b:The corresponding type of service of the packet is obtained according to appropriate ports number, if type of service is
Talked about in MPLS-TP business, be transferred to step S302c;If type of service is transmitted for MPLS-TP business, i.e., packet has carried LSP marks
Label and PW labels, then be transferred to step S302d.
Step S302c:Directly in processing action matching list Group, pseudo line tag (PUSH PW are stamped in matching successively
Label), tagged switching path label (PUSH LSP Label) and occupancy ODUK time slots label (PUSH TPN are stamped
Label processing action);Acted according to above-mentioned processing, be followed successively by packet and stamp pseudo line tag (PW Label) and label friendship
Path label (LSP Label) is changed, and distributes occupancy ODUK time slots label (TPN Label) and encapsulates the packet (i.e. TP bags)
Into corresponding ODUK time slots.
Step S302d:By label switched path label (LSP Label)+pseudo line tag (PW of packet institute band
Label) with double-layer label (the LSP Label+ of label switched path+pseudo-wire in MPLS-TP service label matching lists Table3
PW Label) matched, if the match is successful, it is transferred to step S302e;If it fails to match, abandon the packet or report SDN
Controller processing, terminates.
Step S302e:In processing action matching list Group, peeling label switching path label (POP is matched successively
LSP Label), peel off pseudo line tag (POP PW Label), stamp pseudo line tag (PUSH PW Label), it is tagged hand over
Change path label (PUSH LSP Label) and stamp the processing action for taking ODUK time slots label (PUSH TPN Label);Root
Acted according to above-mentioned processing, the label switched path label (LSP Label) and pseudo line tag (PW of packet band are first peeled off successively
Label), followed by packet stamps pseudo line tag (PW Label) and label switched path label (LSP Label) again,
Finally distribution takes ODUK time slots label (TPN Label) and the packet (i.e. TP bags) is encapsulated into corresponding ODUK time slots.
Shown in Figure 5, when type of service is ODUK types of service, then step S3 specifically includes below scheme:
Step S303a:When interchanger receives packet, by the port numbers inport_id of packet header and port
Matched with the port numbers inport_id in table Table0, if the match is successful, be transferred to step S303b;If it fails to match, lose
Abandon the packet or report the processing of SDN controllers, terminate.
Step S303b:The corresponding type of service of the packet is obtained according to appropriate ports number, if type of service is ODUK
Talked about in business, be transferred to step S303c;If type of service is transmitted for ODUK business, i.e., packet has carried TPN labels, then is transferred to
Step S303d.
Step S303c:Directly occupancy ODUK time slot labels (PUSH is stamped in matching in processing action matching list Group
TPN Label) processing action;Acted according to the processing, distribution takes ODUK time slots label (TPN Label) by the packet
(i.e. business packet) is encapsulated into corresponding ODUK time slots.
Step S303d:The occupancy ODUK time slots label (TPN Label) of packet institute band is matched with ODUK service labels
Occupancy ODUK time slots label (TPN Label) in table Table2 is matched, if the match is successful, is transferred to step S303e;If
With failure, abandon the packet or report the processing of SDN controllers, terminate.
Step S303e:In processing action matching list Group, matching, which is peeled off, successively takes ODUK time slot labels (POP
TPN Label) and stamp take ODUK time slots label (PUSH TPN Label) processing action;Acted according to above-mentioned processing,
The occupancy ODUK time slots label (TPN Label) of packet band is first peeled off, then stamps for packet occupancy ODUK time slots again
Label (TPN Label), the packet (i.e. business packet) is encapsulated into corresponding ODUK time slots.
It is shown in Figure 6, the embodiment of the present invention also provide a kind of application above method based on the fast of OpenFlow flow table
In the device of speed configuration POTN business, including SDN controllers and interchanger, the SDN controllers stream is matched provided with OpenFlow
Table creating unit and OpenFlow matching flow table issuance units.
Wherein, the OpenFlow matchings flow table creating unit is used for:Create OpenFlow matching flow tables;It is described
OpenFlow matching flow table issuance units are used for:The OpenFlow of establishment is matched into flow table issuance to interchanger;The interchanger
For:When interchanger receives packet, the port numbers of packet are entered in the port match table that OpenFlow matches flow table
Row matching, obtains the corresponding type of service of the packet;According to obtained type of service, in the label of corresponding type of service
With the matching for entering row label in table;Finally, according to current tag state, matching list is acted in processing by corresponding business demand
The corresponding processing action of middle matched data bag, corresponding encapsulation process is carried out according to the processing action matched to packet.
Further, it is shown in Figure 6, Ethernet service processing unit, MPLS-TP industry are additionally provided with the interchanger
Business processing unit and ODUK Service Processing Units.
Wherein, when type of service is Ethernet service type, corresponding service demand is that Ethernet bag, circuit are talked about on branch crossing
When side seal dresses up ODUK, the Ethernet service processing unit is by the port numbers of the packet header received and port match table
Port numbers matched, if it fails to match, abandon the packet or report SDN controllers processing;If the match is successful, according to
Appropriate ports number obtain the corresponding type of service of the packet,
If type of service is to be talked about on Ethernet service, directly in processing action matching list, user's void is stamped in matching successively
The processing action for intend Local Area Network tag, stamping service virtual local area networks label and stamp occupancy ODUK time slot labels;According to above-mentioned
Processing is acted, and is followed successively by packet and is stamped user's virtual local area network tags and Service Virtual Local Area Network tag, and distributes occupancy
The data envelope is attached in corresponding ODUK time slots by ODUK time slots label;
If type of service is to be talked about on plug-in CVLAN Ethernet services, by user's virtual local area network tags of packet institute band
Matched with user's virtual local area network tags in Ethernet service tag match table, if it fails to match, abandon the packet
Or report the processing of SDN controllers;If the match is successful, in processing action matching list, Service Virtual local is stamped in matching successively
Network mark label and the processing action for stamping occupancy ODUK time slot labels, act according to above-mentioned processing, are that packet stamps Service Virtual
Local Area Network tag, and distribute occupancy ODUK time slots label the data envelope is attached in corresponding ODUK time slots;
If type of service is Ethernet service transparent transmission, by user's virtual local area network tags+Service Virtual of packet institute band
Local Area Network tag and the double-layer label of user's VLAN+service virtual local area networks in Ethernet service tag match table enter
Row matching, if it fails to match, abandons the packet or reports the processing of SDN controllers;If the match is successful, act and match in processing
The processing action for taking ODUK time slot labels is stamped in matching in table, is acted according to the processing, and distribution takes ODUK time slots label will
The data envelope is attached in corresponding ODUK time slots.
When type of service is MPLS-TP types of service, corresponding service demand is that MPLS-TP business, circuit are talked about on branch crossing
When side seal dresses up ODUK, the MPLS-TP Service Processing Units are by the port numbers of the packet header received and port match table
In port numbers matched, if it fails to match, abandon the packet or report SDN controllers processing;If the match is successful, root
The corresponding type of service of the packet is obtained according to appropriate ports number,
If type of service is to be talked about in MPLS-TP business, directly in processing action matching list, pseudo-wire mark is stamped in matching successively
Label, tagged switching path label and the processing action for stamping occupancy ODUK time slot labels;Acted according to above-mentioned processing, successively
Pseudo line tag and label switched path label are stamped for packet, and distributes occupancy ODUK time slots label and is attached to the data envelope
In corresponding ODUK time slots;
If type of service be MPLS-TP business transmission, by label switched path label+pseudo line tag of packet institute band with
The double-layer label of label switched path+pseudo-wire in MPLS-TP service label matching lists is matched, if it fails to match, is abandoned
The packet reports the processing of SDN controllers;If the match is successful, in processing action matching list, peeling label is matched successively
Switching path label, peel off pseudo line tag, stamp pseudo line tag, tagged switching path label and stamp occupancy ODUK time slots
The processing action of label;Acted according to above-mentioned processing, the label switched path label and pseudo-wire of packet band are first peeled off successively
Label, followed by packet stamp pseudo line tag and label switched path label again, and finally distribution takes ODUK time slot marks
The data envelope is attached in corresponding ODUK time slots by label.
When type of service is ODUK types of service, the ODUK Service Processing Units are by the end of the packet header received
Slogan is matched with the port numbers in port match table, if it fails to match, is abandoned the packet or is reported at SDN controllers
Reason;If the match is successful, the corresponding type of service of the packet is obtained according to appropriate ports number,
If type of service is to be talked about in ODUK business, directly occupancy ODUK time slot marks are stamped in matching in processing action matching list
The processing action of label;Acted according to the processing, when the data envelope is attached to corresponding ODUK by distribution occupancy ODUK time slots label
In gap;
If type of service is transmitted for ODUK business, by the occupancy ODUK time slots label of packet institute band and ODUK service labels
Occupancy ODUK time slot labels in matching list are matched, if it fails to match, are abandoned the packet or are reported at SDN controllers
Reason;If the match is successful, in processing action matching list, when matching peels off occupancy ODUK time slots label and stamps occupancy ODUK successively
The processing action of gap label;Acted according to above-mentioned processing, first peel off the occupancy ODUK time slot labels of packet band, then be data
Bag stamps occupancy ODUK time slot labels again, and the data envelope is attached in corresponding ODUK time slots.
It should be noted that:The device that above-described embodiment is provided is when being operated, only with stroke of above-mentioned each functional unit
Divide and be illustrated, in practical application, can as needed and by above-mentioned functions distribute and be completed by different functional units, i.e.,
The internal structure of device is divided into different functional units, to complete all or part of function described above.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.
The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (10)
1. a kind of method of the rapid configuration POTN business based on OpenFlow flow table, it is characterised in that this method includes following
Step:
S1:OpenFlow matching flow tables are created, the OpenFlow matchings flow table includes port match table, Ethernet service label
Matching list, ODUK service labels matching list, MPLS-TP service labels matching list and processing action matching list;
S2:The OpenFlow of establishment is matched flow table issuance to interchanger by SDN controllers;
S3:When interchanger receives packet, by the port numbers of packet in the port match table that OpenFlow matches flow table
Matched, obtain the corresponding type of service of the packet;According to obtained type of service, in the label of corresponding type of service
Enter the matching of row label in matching list;Finally, according to current tag state, act and match in processing by corresponding business demand
The corresponding processing action of matched data bag in table, corresponding encapsulation process is carried out according to the processing action matched to packet.
2. the method for the rapid configuration POTN business as claimed in claim 1 based on OpenFlow flow table, it is characterised in that:
The port match table is used for:The corresponding port numbers of matched data bag, by matching port numbers, to obtain packet corresponding
Type of service;The type of service includes Ethernet service type, ODUK types of service and MPLS-TP types of service;It is described with
Too network service type is divided into words on Ethernet service, words and Ethernet service transparent transmission on plug-in CVLAN Ethernet services, described
ODUK types of service are divided into words and the transmission of ODUK business in ODUK business, and the MPLS-TP types of service are divided into MPLS-TP business
Upper words and MPLS-TP business transmission;
The Ethernet service tag match table is corresponding with the Ethernet service type in port match table, for matching Ethernet
Label under type of service, includes the double-deck mark of user's virtual local area network tags, user's VLAN+service virtual local area networks
Label;
The ODUK service labels matching list is corresponding with the ODUK types of service in port match table, for matching ODUK service class
Label under type, including take ODUK time slot labels;
The MPLS-TP service labels matching list is corresponding with the MPLS-TP types of service in port match table, for matching
Label under MPLS-TP types of service, includes the double-layer label of label switched path+pseudo-wire;
The processing acts matching list, and for the corresponding processing action of matched data bag, logarithm is acted according to the processing matched
Corresponding encapsulation process is carried out according to bag;The processing action includes:Stamp user's virtual local area network tags, stamp Service Virtual office
Domain network mark label, peel off pseudo line tag, peeling label switching path label, stamp pseudo line tag, tagged switching path label,
Stamp occupancy ODUK time slots label, peel off occupancy ODUK time slot labels.
3. the method for the rapid configuration POTN business as claimed in claim 2 based on OpenFlow flow table, it is characterised in that when
Type of service is Ethernet service type, and corresponding service demand is that Ethernet bag is talked about on branch crossing, when line side is packaged into ODUK,
Step S3 specifically includes below scheme:
S301a:When interchanger receives packet, the port numbers in the port numbers of packet header and port match table are carried out
Matching, if the match is successful, is transferred to step S301b;If it fails to match, abandon the packet or report the processing of SDN controllers, knot
Beam;
S301b:The corresponding type of service of the packet is obtained according to appropriate ports number, if type of service is on Ethernet service
Words, are transferred to step S301c;If type of service is to be talked about on plug-in CVLAN Ethernet services, step S301d is transferred to;If type of service
For Ethernet service transparent transmission, step S301f is transferred to;
S301c:Directly in processing action matching list, matching successively stamps user's virtual local area network tags, stamps Service Virtual
Local Area Network tag and the processing action for stamping occupancy ODUK time slot labels;Acted according to above-mentioned processing, be followed successively by packet and stamp
User's virtual local area network tags and Service Virtual Local Area Network tag, and distribute occupancy ODUK time slots label the data envelope is attached to
In corresponding ODUK time slots;
S301d:User's virtual local area network tags of packet institute band and user in Ethernet service tag match table are virtual
Local Area Network tag is matched, if the match is successful, is transferred to step S301e;If it fails to match, abandon the packet or report
The processing of SDN controllers, terminates;
S301e:In processing action matching list, matching successively stamps service virtual local area networks label and stamps occupancy ODUK time slots
The processing action of label;Acted according to above-mentioned processing, be that packet stamps service virtual local area networks label, and distribute occupancy ODUK
The data envelope is attached in corresponding ODUK time slots by time slot label;
S301f:By user's virtual local area network tags+service virtual local area networks label of packet institute band and Ethernet service label
The double-layer label of user's VLAN+service virtual local area networks in matching list is matched, if the match is successful, is transferred to step
S301g;If it fails to match, abandon the packet or report the processing of SDN controllers, terminate;
S301g:The processing action for taking ODUK time slot labels is stamped in matching in processing acts matching list;It is dynamic according to the processing
Make, distribution takes ODUK time slots label and the data envelope is attached in corresponding ODUK time slots.
4. the method for the rapid configuration POTN business as claimed in claim 2 based on OpenFlow flow table, it is characterised in that when
Type of service is MPLS-TP types of service, and corresponding service demand is that MPLS-TP business is talked about on branch crossing, and line side is packaged into
During ODUK, step S3 specifically includes below scheme:
S302a:When interchanger receives packet, the port numbers in the port numbers of packet header and port match table are carried out
Matching, if the match is successful, is transferred to step S302b;If it fails to match, abandon the packet or report the processing of SDN controllers, knot
Beam;
S302b:The corresponding type of service of the packet is obtained according to appropriate ports number, if type of service is MPLS-TP business
Upper words, are transferred to step S302c;If type of service is transmitted for MPLS-TP business, step S302d is transferred to;
S302c:Directly processing action matching list in, successively matching stamp pseudo line tag, tagged switching path label and
Stamp the processing action for taking ODUK time slot labels;Acted according to above-mentioned processing, be followed successively by packet and stamp pseudo line tag and mark
Switching path label is signed, and distributes occupancy ODUK time slots label the data envelope is attached in corresponding ODUK time slots;
S302d:By in label switched path label+pseudo line tag of packet institute band and MPLS-TP service label matching lists
The double-layer label of label switched path+pseudo-wire is matched, if the match is successful, is transferred to step S302e;If it fails to match, abandon
The packet reports the processing of SDN controllers, terminates;
S302e:In processing action matching list, peeling label switching path label is matched successively, pseudo line tag is peeled off, stamps puppet
Line label, tagged switching path label and the processing action for stamping occupancy ODUK time slot labels;Acted according to above-mentioned processing,
The label switched path label and pseudo line tag of packet band are first peeled off successively, and followed by packet stamps pseudo-wire mark again
Label and label switched path label, finally distribution take ODUK time slots label and the data envelope are attached into corresponding ODUK time slots
In.
5. the method for the rapid configuration POTN business as claimed in claim 2 based on OpenFlow flow table, it is characterised in that when
When type of service is ODUK types of service, step S3 specifically includes below scheme:
S303a:When interchanger receives packet, the port numbers in the port numbers of packet header and port match table are carried out
Matching, if the match is successful, is transferred to step S303b;If it fails to match, abandon the packet or report the processing of SDN controllers, knot
Beam;
S303b:The corresponding type of service of the packet is obtained according to appropriate ports number, if type of service is in ODUK business
Words, are transferred to step S303c;If type of service is transmitted for ODUK business, step S303d is transferred to;
S303c:Directly the processing action for taking ODUK time slot labels is stamped in matching in processing acts matching list;According to the processing
Action, distribution takes ODUK time slots label and the data envelope is attached in corresponding ODUK time slots;
S303d:By the occupancy ODUK time slots in the occupancy ODUK time slots label of packet institute band and ODUK service label matching lists
Label is matched, if the match is successful, is transferred to step S303e;If it fails to match, abandon the packet or report SDN controls
Device processing, terminates;
S303e:In processing action matching list, matching, which is peeled off, successively takes ODUK time slots label and stamps occupancy ODUK time slot marks
The processing action of label;Acted according to above-mentioned processing, first peel off the occupancy ODUK time slot labels of packet band, then be packet weight
It is new to stamp occupancy ODUK time slot labels, the data envelope is attached in corresponding ODUK time slots.
6. a kind of device of the rapid configuration POTN business based on OpenFlow flow table of application claim 1 methods described, bag
Include SDN controllers and interchanger, it is characterised in that:In the SDN controllers provided with OpenFlow matching flow table creating units and
OpenFlow matches flow table issuance unit;The OpenFlow matchings flow table creating unit is used for:Create OpenFlow matching streams
Table;The OpenFlow matchings flow table issuance unit is used for:The OpenFlow of establishment is matched into flow table issuance to interchanger;
The interchanger is used for:When interchanger receives packet, the port numbers of packet are matched into flow table in OpenFlow
Matched in port match table, obtain the corresponding type of service of the packet;According to obtained type of service, in corresponding industry
Enter the matching of row label in the tag match table of service type;Finally, according to current tag state, exist by corresponding business demand
The corresponding processing action of matched data bag in processing action matching list, is carried out corresponding according to the processing action matched to packet
Encapsulation process.
7. the device of the rapid configuration POTN business as claimed in claim 6 based on OpenFlow flow table, it is characterised in that:
The port match table is used for:The corresponding port numbers of matched data bag, by matching port numbers, to obtain packet corresponding
Type of service;The type of service includes Ethernet service type, ODUK types of service and MPLS-TP types of service;It is described with
Too network service type is divided into words on Ethernet service, words and Ethernet service transparent transmission on plug-in CVLAN Ethernet services, described
ODUK types of service are divided into words and the transmission of ODUK business in ODUK business, and the MPLS-TP types of service are divided into MPLS-TP business
Upper words and MPLS-TP business transmission;
The Ethernet service tag match table is corresponding with the Ethernet service type in port match table, for matching Ethernet
Label under type of service, includes the double-deck mark of user's virtual local area network tags, user's VLAN+service virtual local area networks
Label;
The ODUK service labels matching list is corresponding with the ODUK types of service in port match table, for matching ODUK service class
Label under type, including take ODUK time slot labels;
The MPLS-TP service labels matching list is corresponding with the MPLS-TP types of service in port match table, for matching
Label under MPLS-TP types of service, includes the double-layer label of label switched path+pseudo-wire;
The processing acts matching list, and for the corresponding processing action of matched data bag, logarithm is acted according to the processing matched
Corresponding encapsulation process is carried out according to bag;The processing action includes:Stamp user's virtual local area network tags, stamp Service Virtual office
Domain network mark label, peel off pseudo line tag, peeling label switching path label, stamp pseudo line tag, tagged switching path label,
Stamp occupancy ODUK time slots label, peel off occupancy ODUK time slot labels.
8. the device of the rapid configuration POTN business as claimed in claim 7 based on OpenFlow flow table, it is characterised in that:Institute
State and Ethernet service processing unit is provided with interchanger, when type of service is Ethernet service type, corresponding service demand is branch
Ethernet bag is talked about on crossing, when line side is packaged into ODUK, the Ethernet service processing unit is by the packet header received
Port numbers matched with the port numbers in port match table, if it fails to match, abandon the packet or report SDN controls
Device processing;If the match is successful, the corresponding type of service of the packet is obtained according to appropriate ports number,
If type of service is to be talked about on Ethernet service, directly in processing action matching list, user's virtual office is stamped in matching successively
Domain network mark label, the processing action stamped service virtual local area networks label and stamp occupancy ODUK time slot labels;According to above-mentioned processing
Action, is followed successively by packet and stamps user's virtual local area network tags and Service Virtual Local Area Network tag, and when distributing occupancy ODUK
The data envelope is attached in corresponding ODUK time slots by gap label;
If type of service be plug-in CVLAN Ethernet services on talk about, by user's virtual local area network tags of packet institute band with
User's virtual local area network tags too in network service tag match table are matched, if it fails to match, abandon the packet or on
Offer the processing of SDN controllers;If the match is successful, in processing action matching list, service virtual local area networks mark is stamped in matching successively
The processing action for taking ODUK time slot labels is signed and stamped, is acted according to above-mentioned processing, is that packet stamps Service Virtual local
Network mark label, and distribute occupancy ODUK time slots label the data envelope is attached in corresponding ODUK time slots;
If type of service is Ethernet service transparent transmission, by user's virtual local area network tags+Service Virtual local of packet institute band
Network mark label and the double-layer label progress of user's VLAN+service virtual local area networks in Ethernet service tag match table
Match somebody with somebody, if it fails to match, abandon the packet or report the processing of SDN controllers;If the match is successful, in processing action matching list
The processing action for taking ODUK time slot labels is stamped in matching, is acted according to the processing, distribution takes ODUK time slot labels and counts this
It is attached to according to encapsulating in corresponding ODUK time slots.
9. the device of the rapid configuration POTN business as claimed in claim 7 based on OpenFlow flow table, it is characterised in that:Institute
State and MPLS-TP Service Processing Units are provided with interchanger, when type of service is MPLS-TP types of service, corresponding service demand is
MPLS-TP business is talked about on branch crossing, when line side is packaged into ODUK, the MPLS-TP Service Processing Units are by the data received
The port numbers in bag packet header are matched with the port numbers in port match table, if it fails to match, are abandoned the packet or are reported
The processing of SDN controllers;If the match is successful, the corresponding type of service of the packet is obtained according to appropriate ports number,
If type of service be MPLS-TP business on talk about, directly processing action matching list in, successively matching stamp pseudo line tag,
Tagged switching path label and the processing action for stamping occupancy ODUK time slot labels;Acted, be followed successively by according to above-mentioned processing
Packet stamps pseudo line tag and label switched path label, and distributes occupancy ODUK time slots label the data envelope is attached into phase
In the ODUK time slots answered;
If type of service be MPLS-TP business transmission, by label switched path label+pseudo line tag of packet institute band with
The double-layer label of label switched path+pseudo-wire in MPLS-TP service label matching lists is matched, if it fails to match, is abandoned
The packet reports the processing of SDN controllers;If the match is successful, in processing action matching list, peeling label is matched successively
Switching path label, peel off pseudo line tag, stamp pseudo line tag, tagged switching path label and stamp occupancy ODUK time slots
The processing action of label;Acted according to above-mentioned processing, the label switched path label and pseudo-wire of packet band are first peeled off successively
Label, followed by packet stamp pseudo line tag and label switched path label again, and finally distribution takes ODUK time slot marks
The data envelope is attached in corresponding ODUK time slots by label.
10. the device of the rapid configuration POTN business as claimed in claim 7 based on OpenFlow flow table, it is characterised in that:
ODUK Service Processing Units are provided with the interchanger, when type of service is ODUK types of service, the ODUK business processings
Unit is matched the port numbers of the packet header received with the port numbers in port match table, if it fails to match, is abandoned
The packet reports the processing of SDN controllers;If the match is successful, the corresponding industry of the packet is obtained according to appropriate ports number
Service type,
If type of service is to be talked about in ODUK business, directly matching is stamped and takes ODUK time slot labels in processing acts matching list
Processing is acted;Acted according to the processing, distribution takes ODUK time slots label and the data envelope is attached in corresponding ODUK time slots;
If type of service is transmitted for ODUK business, the occupancy ODUK time slots label of packet institute band is matched with ODUK service labels
Occupancy ODUK time slot labels in table are matched, if it fails to match, are abandoned the packet or are reported the processing of SDN controllers;
If the match is successful, in processing action matching list, matching, which is peeled off, successively takes ODUK time slots label and stamps occupancy ODUK time slots
The processing action of label;Acted according to above-mentioned processing, first peel off the occupancy ODUK time slot labels of packet band, then be packet
Again occupancy ODUK time slot labels are stamped, the data envelope is attached in corresponding ODUK time slots.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710028106.6A CN107070693B (en) | 2017-01-12 | 2017-01-12 | The method and device of rapid configuration POTN business based on OpenFlow flow table |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710028106.6A CN107070693B (en) | 2017-01-12 | 2017-01-12 | The method and device of rapid configuration POTN business based on OpenFlow flow table |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107070693A true CN107070693A (en) | 2017-08-18 |
CN107070693B CN107070693B (en) | 2019-10-11 |
Family
ID=59598786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710028106.6A Active CN107070693B (en) | 2017-01-12 | 2017-01-12 | The method and device of rapid configuration POTN business based on OpenFlow flow table |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107070693B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107623635A (en) * | 2017-10-30 | 2018-01-23 | 深圳市德赛微电子技术有限公司 | A kind of network exchanging chip can recognize that the intelligent Matching method of flow table |
CN108551447A (en) * | 2018-04-11 | 2018-09-18 | 浙江大学 | A kind of intermediate equipment path authentication method based on SDN |
CN110278152A (en) * | 2018-08-31 | 2019-09-24 | 新华三信息安全技术有限公司 | A kind of method and device for establishing fast-forwarding table |
CN112929117A (en) * | 2021-01-28 | 2021-06-08 | 广州瓦良格机器人科技有限公司 | Compatible definable deterministic communication Ethernet |
CN113225376A (en) * | 2021-03-29 | 2021-08-06 | 桂林电子科技大学 | Ethernet frame and SDN data frame adapting method based on FPGA |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685033A (en) * | 2013-12-19 | 2014-03-26 | 武汉邮电科学研究院 | General flow table and method for supporting packet switching and circuit switching in SDN framework |
US20140098813A1 (en) * | 2012-10-10 | 2014-04-10 | Telefonaktiebolaget L M Ericsson (Publ) | Ip multicast service join process for mpls-based virtual private cloud networking |
CN104079492A (en) * | 2013-03-28 | 2014-10-01 | 华为技术有限公司 | Method, device and system of configuring flow table in OpenFlow network |
CN104348716A (en) * | 2013-07-23 | 2015-02-11 | 杭州华三通信技术有限公司 | Message processing method and equipment |
CN104580027A (en) * | 2013-10-25 | 2015-04-29 | 杭州华三通信技术有限公司 | OpenFlow message forwarding method and equipment |
CN104823416A (en) * | 2012-11-29 | 2015-08-05 | 华为技术有限公司 | Packet prioritization in a software-defined network implementing OpenFlow |
CN104954258A (en) * | 2014-03-26 | 2015-09-30 | 中兴通讯股份有限公司 | Data message processing method, data message processing device and open flow switch |
-
2017
- 2017-01-12 CN CN201710028106.6A patent/CN107070693B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140098813A1 (en) * | 2012-10-10 | 2014-04-10 | Telefonaktiebolaget L M Ericsson (Publ) | Ip multicast service join process for mpls-based virtual private cloud networking |
CN104823416A (en) * | 2012-11-29 | 2015-08-05 | 华为技术有限公司 | Packet prioritization in a software-defined network implementing OpenFlow |
CN104079492A (en) * | 2013-03-28 | 2014-10-01 | 华为技术有限公司 | Method, device and system of configuring flow table in OpenFlow network |
CN104348716A (en) * | 2013-07-23 | 2015-02-11 | 杭州华三通信技术有限公司 | Message processing method and equipment |
CN104580027A (en) * | 2013-10-25 | 2015-04-29 | 杭州华三通信技术有限公司 | OpenFlow message forwarding method and equipment |
CN103685033A (en) * | 2013-12-19 | 2014-03-26 | 武汉邮电科学研究院 | General flow table and method for supporting packet switching and circuit switching in SDN framework |
CN104954258A (en) * | 2014-03-26 | 2015-09-30 | 中兴通讯股份有限公司 | Data message processing method, data message processing device and open flow switch |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107623635A (en) * | 2017-10-30 | 2018-01-23 | 深圳市德赛微电子技术有限公司 | A kind of network exchanging chip can recognize that the intelligent Matching method of flow table |
CN107623635B (en) * | 2017-10-30 | 2020-07-21 | 深圳市德赛微电子技术有限公司 | Intelligent matching method for network switching chip to identify flow table |
CN108551447A (en) * | 2018-04-11 | 2018-09-18 | 浙江大学 | A kind of intermediate equipment path authentication method based on SDN |
CN108551447B (en) * | 2018-04-11 | 2020-05-12 | 浙江大学 | SDN-based intermediate device path authentication method |
CN110278152A (en) * | 2018-08-31 | 2019-09-24 | 新华三信息安全技术有限公司 | A kind of method and device for establishing fast-forwarding table |
CN110278152B (en) * | 2018-08-31 | 2020-05-29 | 新华三信息安全技术有限公司 | Method and device for establishing fast forwarding table |
US11646976B2 (en) | 2018-08-31 | 2023-05-09 | New H3C Security Technologies Co., Ltd. | Establishment of fast forwarding table |
CN112929117A (en) * | 2021-01-28 | 2021-06-08 | 广州瓦良格机器人科技有限公司 | Compatible definable deterministic communication Ethernet |
CN113225376A (en) * | 2021-03-29 | 2021-08-06 | 桂林电子科技大学 | Ethernet frame and SDN data frame adapting method based on FPGA |
Also Published As
Publication number | Publication date |
---|---|
CN107070693B (en) | 2019-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107070693B (en) | The method and device of rapid configuration POTN business based on OpenFlow flow table | |
CN103828303B (en) | Modularization head end framework with downstream multicast | |
CN100334857C (en) | Looped network and its service realizing method | |
CN101005445B (en) | Method for mapping service flow to service transmission path and optical network terminal | |
CN100555949C (en) | A kind of to GPON system configuration Native VLAN and processing Ethernet method of message | |
US11477549B2 (en) | Transmission network system, data switching and transmission method, apparatus and equipment | |
CN104104616B (en) | The method, apparatus and system of data dispatch and exchange | |
WO2019237521A1 (en) | Access network olt slicing method and system employing onu granularity | |
CN103795605B (en) | Method and system for converting OTN signals into Ethernet payloads | |
CN109257266B (en) | Method for expanding PON local area network group based on VXLAN technology | |
CN101686180A (en) | Data transmission method, network node and data transmission system | |
CN100571187C (en) | A kind of method of utilizing the multiple packet switching network tunnels carrying pseudo-line service | |
CN102739514A (en) | Traffic switching in hybrid fiber coaxial (hfc) network | |
CN103685033A (en) | General flow table and method for supporting packet switching and circuit switching in SDN framework | |
CN104486242B (en) | A kind of VLAN centralized Control method and system of EPON networks | |
CN101836399A (en) | Forwarding loop prevention apparatus and methods | |
CN106506110A (en) | Statistic multiplexing optical transfer network method and device | |
CN102546118A (en) | Service forwarding and priority mapping method for China-data over cable system interface specification (C-DOCSIS) system | |
CN105992297A (en) | SDN-based connection management and forwarding control method and related equipment | |
CN101621485B (en) | Device and method for compatibly realizing grouping transmission service and time division multiplexing (TDM) service | |
CN110266424A (en) | A kind of Packet Service is mapped to the method and OTN equipment of optical transport network | |
CN101132365A (en) | Message unvarnished transmission method and apparatus | |
CN105208468B (en) | The method and system opened automatically for OTN business | |
CN106330499A (en) | Time division multiplexing data transmission method and device, as well as network-side edge devices | |
CN110049341A (en) | Method for processing video frequency and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |