CN107070693B - 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 PDF

Info

Publication number
CN107070693B
CN107070693B CN201710028106.6A CN201710028106A CN107070693B CN 107070693 B CN107070693 B CN 107070693B CN 201710028106 A CN201710028106 A CN 201710028106A CN 107070693 B CN107070693 B CN 107070693B
Authority
CN
China
Prior art keywords
service
label
oduk
data packet
type
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
CN201710028106.6A
Other languages
Chinese (zh)
Other versions
CN107070693A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201710028106.6A priority Critical patent/CN107070693B/en
Publication of CN107070693A publication Critical patent/CN107070693A/en
Application granted granted Critical
Publication of CN107070693B publication Critical patent/CN107070693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method and device for the rapid configuration POTN business based on OpenFlow flow table that the invention discloses a kind of, is related to POTN business configuration technical field.This method comprises: creation OpenFlow matches flow table;OpenFlow is matched flow table issuance to interchanger by SDN controller;When interchanger receives data packet, the port numbers of data packet are matched in the port match table of OpenFlow matching flow table, obtain the corresponding type of service of the data packet;According to type of service, the matching of label is carried out in corresponding tag match table;Finally, the corresponding processing of matched data packet acts in processing movement matching list by corresponding business demand according to the type of service of tag match, corresponding encapsulation process is carried out to data packet according to the processing movement being matched to.The present invention is able to achieve the rapid configuration of Ethernet service, MPLS-TP business and ODUK business, meets bandwidth and the needs of path frequently adjusts, so that the management O&M of network is simple and efficient.

Description

The method and device of rapid configuration POTN business based on OpenFlow flow table
Technical field
The present invention relates to POTN, (Packet enhanced Optical Transport Network, is 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 technique
Under the development that the equipment of variform at this stage solves service bearer, PTN (Packet Transport Network, Packet Transport Network) with the fusion solution of OTN (Optical Transport Network, optical transfer network) POTN has obtained the understanding and attention of industry by development in recent years.But multi-service, Multi net voting, more producers in now netting The phenomenon that coexistence allows operator to face multiple problems: 1, future services bandwidth and access point will frequently change, how real The quick adjustment of existing bandwidth and business it is quick open-minded;2, the tidal effect in network is more significant, how to maximize raising net The utilization rate of network;3, multiple business is uploaded such as Ethernet service, MPLS-TP business and ODUK business in same physical network Send, how to avoid mutual interference, how differentiated service, management and Operation Network resource.
Above 3 points of drivings network further develops to intelligent, virtualization direction.Therefore, in the prior art, using portion SDN controller is affixed one's name to, by the open network of SDN, to realize opening and adjusting for cross-domain (multi-vendor, trans-regional) business.But Under conditions of adding SDN controller, the multiple business fields such as Ethernet service, MPLS-TP business and ODUK business how are realized The rapid configuration of scape, and meet service bandwidth and the needs of path frequently adjusts, so that the management O&M of whole network becomes more It is simple and efficient, there are no specific, effective solution schemes.
Summary of the invention
The purpose of the invention is to overcome the shortcomings of above-mentioned background technique, provide a kind of based on the fast of OpenFlow flow table The method and device of speed configuration POTN business, is able to achieve the rapid configuration of Ethernet service, MPLS-TP business and ODUK business, Service bandwidth is met and demand that path frequently adjusts, so that the management O&M of whole network becomes more to be simple and efficient.
To achieve the above objectives, the present invention provides a kind of side of rapid configuration POTN business based on OpenFlow flow table Method, comprising the following steps:
S1: creation OpenFlow matches flow table, and the OpenFlow matching flow table includes port match table, Ethernet service Tag match table, ODUK service label matching list, MPLS-TP service label matching list and processing act matching list;
The OpenFlow of creation is matched flow table issuance to interchanger by S2:SDN controller;
S3: when interchanger receives data packet, the port numbers of data packet are matched to the port match of flow table in OpenFlow It is matched in table, obtains the corresponding type of service of the data packet;According to obtained type of service, in corresponding type of service The matching of label is carried out in tag match table;Finally, being handled according to the type of service of tag match by corresponding business demand The corresponding processing movement of matched data packet in matching list is acted, data packet is sealed accordingly according to the processing movement being matched to Dress processing.
The present invention also provides a kind of dresses of rapid configuration POTN business based on OpenFlow flow table using the above method It sets, including SDN controller and interchanger.Be equipped in the SDN controller OpenFlow matching flow table creating unit and OpenFlow matches flow table issuance unit;The OpenFlow matching flow table creating unit is used for: creation OpenFlow matching stream Table;The OpenFlow matching flow table issuance unit is used for: the OpenFlow of creation is matched flow table issuance to interchanger;It is described Interchanger is used for: when interchanger receives data packet, the port numbers of data packet being matched to the port match of flow table in OpenFlow It is matched in table, obtains the corresponding type of service of the data packet;According to obtained type of service, in corresponding type of service The matching of label is carried out in tag match table;Finally, being handled according to the type of service of tag match by corresponding business demand The corresponding processing movement of matched data packet in matching list is acted, data packet is sealed accordingly according to the processing movement being matched to Dress processing.
The beneficial effects of the present invention are:
The method for the rapid configuration POTN business based on OpenFlow flow table that present invention employs a kind of, is created OpenFlow matching flow table in include port match table, Ethernet service tag match table, ODUK service label matching list, MPLS-TP service label matching list and processing act matching list.The OpenFlow of creation is matched flow table issuance extremely by SDN controller After interchanger, exchange opportunity by the port numbers of the packet header received OpenFlow matching flow table port match table in into Row matching, obtains the corresponding type of service of the data packet;According to obtained type of service, in the label of corresponding type of service With the matching for carrying out label in table;Finally, according to the type of service of tag match, by corresponding business demand in processing movement With the corresponding processing movement of matched data packet in table, data packet is carried out at corresponding encapsulation according to the processing movement being matched to Reason.
Compared with prior art, the present invention is able to achieve quickly matching for Ethernet service, MPLS-TP business and ODUK business It sets, service bandwidth is met and demand that path frequently adjusts, so that the management O&M of whole network becomes more to be simple and efficient;Together When, the flow table of POTN business configuration is also achieved, configuration flow is simplified, so that control and forward separating, control centralization, The O&M for simplifying multitiered network solves the problems such as more plant equipment docking are coordinated.
Detailed description of the invention
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 is the relational graph that OpenFlow matches each table in flow table in the embodiment of the present invention;
The specific flow chart that Fig. 3 is the step S3 when type of service is Ethernet service type in the embodiment of the present invention;
The specific flow chart that Fig. 4 is the step S3 when type of service is MPLS-TP type of service in the embodiment of the present invention;
The specific flow chart that Fig. 5 is the step S3 when type of service is ODUK type 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.
Specific embodiment
With reference to the accompanying drawing 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, comprising the following steps:
Step S1, OpenFlow matches the creation of flow table: as shown in Fig. 2, creation OpenFlow matches flow table, it should It includes port match table Table0, Ethernet service tag match table Table1, ODUK service label that OpenFlow, which matches flow table, Matching list Table2, MPLS-TP service label matching list Table3 and processing act matching list Group.
Wherein, port match table Table0 is used for the corresponding port numbers of matched data packet, is counted by matching port numbers According to the corresponding type of service of packet.In the present embodiment, type of service includes Ethernet service type, ODUK type of service and MPLS- TP type of service;Ethernet service type is divided into words on Ethernet service, words and Ethernet on plug-in CVLAN Ethernet service again Business transparent transmission;ODUK type of service is divided into words and the transmitting of ODUK business in ODUK business again;MPLS-TP type of service is divided into again Words and the transmitting of MPLS-TP business in MPLS-TP business.Different types of service, corresponding different tag match table 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 In matching the label under Ethernet service type, including user's virtual local area network tags (CVLAN), user's virtual LAN+clothes The double-layer label (CVLAN+SVLAN) for virtual LAN of being engaged in.
ODUK service label matching list Table2 is corresponding with the ODUK type of service in port match table Table0, for With the label under ODUK type of service, including occupy ODUK time slot label (TPN Label).
MPLS-TP service label matching list Table3 is corresponding with the MPLS-TP type of service in port match table Table0, For matching the label under MPLS-TP type of service, including label switched path+pseudo-wire double-layer label (LSP Label+PW Label)。
Processing acts matching list Group, for the corresponding processing movement of matched data packet, is acted according to the processing being matched to Corresponding encapsulation process is carried out to data packet.Specifically, the processing movement that processing movement matching list Group includes has: stamping User's virtual local area network tags (PUSH CVLAN) stamp service virtual local area networks label (PUSH SVLAN), removing pseudo-wire mark Label (POP PW Label), stamp pseudo line tag (PUSH PW at peeling label switching path label (POP LSP Label) Label), tagged switching path label (PUSH LSP Label), stamp occupy ODUK time slot label (PUSH TPN Label), removing occupies ODUK time slot label (POP TPN Label).
Step S2, OpenFlow matches issuing for flow table: the OpenFlow of creation is matched flow table issuance extremely by SDN controller Interchanger.When specific operation, the OpenFlow matching flow table of creation is passed through OpenFlow agreement through a safety by SDN controller Channel is issued to interchanger.
Step S3, the configuration processing of three major businesses scene: when interchanger receives data packet, the port numbers of data packet are existed It is matched in the port match table of OpenFlow matching flow table, obtains the corresponding type of service of the data packet, the service class Type includes Ethernet service type, MPLS-TP type of service and ODUK type of service;According to obtained type of service, in correspondence Type of service tag match table in carry out label matching;Finally, according to the type of service of tag match, by corresponding industry The corresponding processing movement of matched data packet in processing movement matching list of business demand, acts according to the processing being matched to data packet Carry out 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 packet, when line side is packaged into ODUK, then step S3 specifically includes following below scheme:
Step S301a: when interchanger receives data packet, by the port numbers inport_id of packet header and port It is matched with the port numbers inport_id in table Table0, if successful match, is transferred to step S301b;If it fails to match, lose It abandons the data packet or is reported to the processing of SDN controller, terminate.
Step S301b: obtaining the corresponding type of service of the data packet according to appropriate ports number, if type of service is ether It is talked about on network service, is transferred to step S301c;If type of service is to talk about on plug-in CVLAN Ethernet service, i.e., data packet has carried CVLAN label is transferred to step S301d;If type of service is Ethernet service transparent transmission, i.e. data packet has carried CVLAN+SVLAN Label is then transferred to step S301f.
Step S301c: directly in processing movement matching list Group, successively user's virtual local area network tags are stamped in matching (PUSH CVLAN), it stamps service virtual local area networks label (PUSH SVLAN) and stamps occupancy ODUK time slot label (PUSH TPN Label) processing movement;It is acted according to above-mentioned processing, is followed successively by data packet and stamps user's virtual local area network tags (CVLAN) and Service Virtual Local Area Network tag (SVLAN) it, and distributes and occupies ODUK time slot label (TPN Label) for the data Packet (i.e. Ethernet packet) is encapsulated into corresponding ODUK time slot.
Step S301d: by user's virtual local area network tags (CVLAN) of data packet institute band and Ethernet service tag match User's virtual local area network tags (CVLAN) in table Table1 match, if successful match, are transferred to step S301e;If matching Failure abandons the data packet or is reported to the processing of SDN controller, terminates.
Step S301e: in processing movement matching list Group, successively service virtual local area networks label (PUSH is stamped in matching SVLAN) and stamp occupy ODUK time slot label (PUSH TPN Label) processing movement;It is acted according to above-mentioned processing, for number Service virtual local area networks label (SVLAN) is stamped according to packet, and distributes and occupies ODUK time slot label (TPN Label) for the data packet It is encapsulated into corresponding ODUK time slot.
Step S301f: by user's virtual local area network tags (CVLAN)+service virtual local area networks label of data packet institute band (SVLAN) it is marked with user's virtual LAN+service virtual local area networks bilayer in Ethernet service tag match table Table1 Label (CVLAN+SVLAN) are matched, if successful match, are transferred to step S301g;If it fails to match, abandon the data packet or on The processing of SDN controller is offered, is terminated.
Step S301g: matching, which is stamped, in processing movement matching list Group occupies ODUK time slot label (PUSH TPN Label processing movement);Reason acts according to this, and distribution occupies ODUK time slot label (TPN Label) for the packet encapsulation Into corresponding ODUK time slot.
Shown in Figure 4, when type of service is MPLS-TP type 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 following below scheme:
Step S302a: when interchanger receives data packet, by the port numbers inport_id of packet header and port It is matched with the port numbers inport_id in table Table0, if successful match, is transferred to step S302b;If it fails to match, lose It abandons the data packet or is reported to the processing of SDN controller, terminate.
Step S302b: the corresponding type of service of the data packet is obtained according to appropriate ports number, if type of service is It is talked about in MPLS-TP business, is transferred to step S302c;If type of service is the transmitting of MPLS-TP business, i.e. data packet has carried LSP mark Label and PW label, then be transferred to step S302d.
Step S302c: directly in processing movement matching list Group, successively pseudo line tag (PUSH PW is stamped in matching Label), tagged switching path label (PUSH LSP Label) and stamp occupy ODUK time slot label (PUSH TPN Label processing movement);It is acted according to above-mentioned processing, is followed successively by data packet and stamps pseudo line tag (PW Label) and label friendship Path label (LSP Label) is changed, and distributes and occupies ODUK time slot label (TPN Label) for the data packet (i.e. TP packet) encapsulation Into corresponding ODUK time slot.
Step S302d: by label switched path label (LSP Label)+pseudo line tag (PW of data packet institute band Label) with MPLS-TP service label matching list Table3 in label switched path+pseudo-wire double-layer label (LSP Label+ PW Label) it is matched, if successful match, it is transferred to step S302e;If it fails to match, abandons the data packet or be reported to SDN Controller processing, terminates.
Step S302e: in processing movement matching list Group, peeling label switching path label (POP is successively matched LSP Label), removing pseudo line tag (POP PW Label), stamp pseudo line tag (PUSH PW Label), tagged friendship It changes path label (PUSH LSP Label) and stamps the processing movement for occupying ODUK time slot label (PUSH TPN Label);Root It is acted according to above-mentioned processing, first the successively label switched path label (LSP Label) and pseudo line tag (PW of removing data packet band Label), followed by data packet stamps pseudo line tag (PW Label) and label switched path label (LSP Label) again, Finally distribution occupies ODUK time slot label (TPN Label) and the data packet (i.e. TP packet) is encapsulated into corresponding ODUK time slot.
Shown in Figure 5, when type of service is ODUK type of service, then step S3 specifically includes following below scheme:
Step S303a: when interchanger receives data packet, by the port numbers inport_id of packet header and port It is matched with the port numbers inport_id in table Table0, if successful match, is transferred to step S303b;If it fails to match, lose It abandons the data packet or is reported to the processing of SDN controller, terminate.
Step S303b: obtaining the corresponding type of service of the data packet according to appropriate ports number, if type of service is ODUK It is talked about in business, is transferred to step S303c;If type of service is the transmitting of ODUK business, i.e., data packet has carried TPN label, then is transferred to Step S303d.
Step S303c: directly matching stamps and occupies ODUK time slot label (PUSH in processing movement matching list Group TPN Label) processing movement;Reason acts according to this, and distribution occupies ODUK time slot label (TPN Label) for the data packet (i.e. business packet) is encapsulated into corresponding ODUK time slot.
Step S303d: the occupancy ODUK time slot label (TPN Label) of data packet institute band is matched with ODUK service label Occupancy ODUK time slot label (TPN Label) in table Table2 is matched, if successful match, is transferred to step S303e;If With failure, abandons the data packet or be reported to the processing of SDN controller, terminate.
Step S303e: in processing movement matching list Group, successively matching removing occupies ODUK time slot label (POP TPN Label) and stamp occupy ODUK time slot label (PUSH TPN Label) processing movement;It is acted according to above-mentioned processing, The first occupancy ODUK time slot label (TPN Label) of removing data packet band, then stamped again for data packet and occupy ODUK time slot The data packet (i.e. business packet) is encapsulated into corresponding ODUK time slot by label (TPN Label).
It is shown in Figure 6, the embodiment of the present invention also provide it is a kind of using the above method based on the fast of OpenFlow flow table The device of speed configuration POTN business, including SDN controller and interchanger, the SDN controller is interior to be equipped with OpenFlow matching stream Table creating unit and OpenFlow match flow table issuance unit.
Wherein, the OpenFlow matching flow table creating unit is used for: creation OpenFlow matching flow table;It is described OpenFlow matching flow table issuance unit is used for: the OpenFlow of creation is matched flow table issuance to interchanger;The interchanger For: when interchanger receives data packet, by the port numbers of data packet OpenFlow matching flow table port match table in into Row matching, obtains the corresponding type of service of the data packet;According to obtained type of service, in the label of corresponding type of service With the matching for carrying out label in table;Finally, according to the type of service of tag match, by corresponding business demand in processing movement With the corresponding processing movement of matched data packet in table, data packet is carried out at corresponding encapsulation according to the processing movement being matched to Reason.
Further, shown in Figure 6, Ethernet service processing unit, MPLS-TP industry are additionally provided in the interchanger Business processing unit and ODUK Service Processing Unit.
Wherein, when type of service is Ethernet service type, corresponding service demand is that Ethernet packet, route are talked about on branch crossing When side seal dresses up ODUK, the Ethernet service processing unit will be in the port numbers for the packet header that received and port match table Port numbers matched, if it fails to match, abandon the data packet or be reported to SDN controller processing;If successful match, according to Appropriate ports number obtain the corresponding type of service of the data packet,
If type of service is to talk about on Ethernet service, directly in processing movement matching list, successively user's void is stamped in matching Quasi- Local Area Network tag stamps service virtual local area networks label and stamps the processing movement for occupying ODUK time slot label;According to above-mentioned Processing movement, is followed successively by data packet and stamps user's virtual local area network tags and Service Virtual Local Area Network tag, and distribute occupancy The data envelope is attached in corresponding ODUK time slot by ODUK time slot label;
If type of service is to talk about on plug-in CVLAN Ethernet service, by user's virtual local area network tags of data packet institute band It is matched with user's virtual local area network tags in Ethernet service tag match table, if it fails to match, abandons the data packet Or it is reported to the processing of SDN controller;If successful match, in processing movement matching list, successively Service Virtual local is stamped in matching Network mark label and the processing movement for stamping occupancy ODUK time slot label, act according to above-mentioned processing, stamp Service Virtual for data packet Local Area Network tag, and distribute occupancy ODUK time slot label and the data envelope is attached in corresponding ODUK time slot;
If type of service is Ethernet service transparent transmission, by user's virtual local area network tags+Service Virtual of data packet institute band User's virtual LAN+service virtual local area networks double-layer label in Local Area Network tag and Ethernet service tag match table into Row matching abandons the data packet or is reported to the processing of SDN controller if it fails to match;If successful match, acts and match in processing The processing movement for occupying ODUK time slot label is stamped in matching in table, and reason acts according to this, and distribution occupies ODUK time slot label will The data envelope is attached in corresponding ODUK time slot.
When type of service is MPLS-TP type of service, corresponding service demand is that MPLS-TP business, route are talked about on branch crossing When side seal dresses up ODUK, the MPLS-TP Service Processing Unit is by the port numbers of the packet header received and port match table In port numbers matched, if it fails to match, abandon the data packet or be reported to SDN controller processing;If successful match, root The corresponding type of service of the data packet is obtained according to appropriate ports number,
If type of service is to talk about in MPLS-TP business, directly in processing movement matching list, successively pseudo-wire mark is stamped in matching Label, tagged switching path label and the processing movement for stamping occupancy ODUK time slot label;It is acted according to above-mentioned processing, successively Pseudo line tag and label switched path label are stamped for data packet, and distributes occupancy ODUK time slot label and is attached to the data envelope In corresponding ODUK time slot;
If type of service be MPLS-TP business transmitting, by label switched path label+pseudo line tag of data packet institute band with Label switched path+pseudo-wire double-layer label in MPLS-TP service label matching list is matched, if it fails to match, is abandoned The data packet is reported to the processing of SDN controller;If successful match, in processing movement matching list, peeling label is successively matched Switching path label removes pseudo line tag, stamps pseudo line tag, tagged switching path label and stamps occupancy ODUK time slot The processing of label acts;It is acted according to above-mentioned processing, first the successively label switched path label and pseudo-wire of removing data packet band Label, followed by data packet stamp pseudo line tag and label switched path label again, and finally distribution occupies ODUK time slot mark The data envelope is attached in corresponding ODUK time slot by label.
When type of service is ODUK type of service, the ODUK Service Processing Unit is 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 data packet or is reported at SDN controller Reason;If successful match, the corresponding type of service of the data packet is obtained according to appropriate ports number,
If type of service is to talk about in ODUK business, directly matching stamps and occupies ODUK time slot mark in processing movement matching list The processing of label acts;Reason acts according to this, when which is attached to corresponding ODUK by distribution occupancy ODUK time slot label In gap;
If type of service is the transmitting of ODUK business, by the occupancy ODUK time slot label of data packet institute band and ODUK service label Occupancy ODUK time slot label in matching list is matched, if it fails to match, is abandoned the data packet or is reported at SDN controller Reason;If successful match, acted in matching list in processing, when successively matching removing occupies ODUK time slot label and stamps occupancy ODUK The processing of gap label acts;It is acted according to above-mentioned processing, first removes the occupancy ODUK time slot label of data packet band, then be data Packet is stamped again occupies ODUK time slot label, which is attached in corresponding ODUK time slot.
It should be understood that device provided by the above embodiment is when being operated, only drawing with above-mentioned each functional unit Divide and be illustrated, in practical application, can according to need and complete above-mentioned function distribution by different functional units, i.e., The internal structure of device is divided into different functional units, to complete all or part of the functions described above.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.
The content being not described in detail in this specification belongs to the prior art well 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, which is characterized in that this method includes following Step:
S1: creation OpenFlow matches flow table, and the OpenFlow matching flow table includes port match table, Ethernet service label Matching list, ODUK service label matching list, MPLS-TP service label matching list and processing act matching list;
The OpenFlow of creation is matched flow table issuance to interchanger by S2:SDN controller;
S3: when interchanger receives data packet, by the port numbers of data packet in the port match table of OpenFlow matching flow table It is matched, obtains the corresponding type of service of the data packet;According to obtained type of service, in the label of corresponding type of service The matching of label is carried out in matching list;Finally, being acted by corresponding business demand in processing according to the type of service of tag match The corresponding processing movement of matched data packet in matching list, carries out at corresponding encapsulation data packet according to the processing movement being matched to Reason.
2. the method for the rapid configuration POTN business based on OpenFlow flow table as described in claim 1, it is characterised in that:
The port match table is used for: the corresponding port numbers of matched data packet, and it is corresponding to obtain data packet by matching port numbers Type of service;The type of service includes Ethernet service type, ODUK type of service and MPLS-TP type 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 service, described ODUK type of service is divided into words and the transmitting of ODUK business, the MPLS-TP type of service in ODUK business and is divided into MPLS-TP business Upper words and the transmitting of MPLS-TP business;
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, including user's virtual local area network tags, the double-deck mark of user's virtual LAN+service virtual local area networks Label;
The ODUK service label matching list is corresponding with the ODUK type of service in port match table, for matching ODUK service class Label under type, including occupy ODUK time slot label;
The MPLS-TP service label matching list is corresponding with the MPLS-TP type of service in port match table, for matching Label under MPLS-TP type of service, including label switched path+pseudo-wire double-layer label;
The processing acts matching list, for the corresponding processing movement of matched data packet, acts logarithm according to the processing being matched to Corresponding encapsulation process is carried out according to packet;The processing movement includes: to stamp user's virtual local area network tags, stamp Service Virtual office Domain network mark label, removing pseudo line tag, peeling label switching path label, stamp pseudo line tag, tagged switching path label, It stamps and occupies ODUK time slot label, removing occupies ODUK time slot label.
3. the method for the rapid configuration POTN business based on OpenFlow flow table as claimed in claim 2, which is characterized in that when Type of service is Ethernet service type, and corresponding service demand is that Ethernet packet is talked about on branch crossing, when line side is packaged into ODUK, Step S3 specifically includes following below scheme:
S301a: when interchanger receives data packet, the port numbers in the port numbers of packet header and port match table are carried out Matching, if successful match, is transferred to step S301b;If it fails to match, abandons the data packet or be reported to the processing of SDN controller, knot Beam;
S301b: obtaining the corresponding type of service of the data packet 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 talk about on plug-in CVLAN Ethernet service, it is transferred to step S301d;If type of service For Ethernet service transparent transmission, it is transferred to step S301f;
S301c: directly in processing movement matching list, successively matching stamps user's virtual local area network tags, stamps Service Virtual Local Area Network tag and the processing movement for stamping occupancy ODUK time slot label;It is acted according to above-mentioned processing, is followed successively by data packet and stamps User's virtual local area network tags and Service Virtual Local Area Network tag, and distribute occupancy ODUK time slot label and be attached to the data envelope In corresponding ODUK time slot;
S301d: user's virtual local area network tags of data packet institute band and the user in Ethernet service tag match table are virtual Local Area Network tag is matched, if successful match, is transferred to step S301e;If it fails to match, abandons the data packet or be reported to The processing of SDN controller, terminates;
S301e: in processing movement matching list, successively matching, which is stamped service virtual local area networks label and stamped, occupies ODUK time slot The processing of label acts;It is acted according to above-mentioned processing, stamps service virtual local area networks label for data packet, and distribute and occupy ODUK The data envelope is attached in corresponding ODUK time slot by time slot label;
S301f: by user's virtual local area network tags+service virtual local area networks label of data packet institute band and Ethernet service label User's virtual LAN+service virtual local area networks double-layer label in matching list matches, if successful match, is transferred to step S301g;If it fails to match, abandons the data packet or be reported to the processing of SDN controller, terminate;
S301g: the processing movement for occupying ODUK time slot label is stamped in matching in processing movement matching list;Reason is dynamic according to this Make, distribution occupies ODUK time slot label and the data envelope is attached in corresponding ODUK time slot.
4. the method for the rapid configuration POTN business based on OpenFlow flow table as claimed in claim 2, which is characterized in that when Type of service is MPLS-TP type of service, and corresponding service demand is that MPLS-TP business is talked about on branch crossing, and line side is packaged into When ODUK, step S3 specifically includes following below scheme:
S302a: when interchanger receives data packet, the port numbers in the port numbers of packet header and port match table are carried out Matching, if successful match, is transferred to step S302b;If it fails to match, abandons the data packet or be reported to the processing of SDN controller, knot Beam;
S302b: obtaining the corresponding type of service of the data packet 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 the transmitting of MPLS-TP business, it is transferred to step S302d;
S302c: directly processing movement matching list in, successively matching stamp pseudo line tag, tagged switching path label and Stamp the processing movement for occupying ODUK time slot label;It is acted according to above-mentioned processing, is followed successively by data packet and stamps pseudo line tag and mark Switching path label is signed, and distributes occupancy ODUK time slot label and the data envelope is attached in corresponding ODUK time slot;
S302d: will be in label switched path label+pseudo line tag of data packet institute band and MPLS-TP service label matching list Label switched path+pseudo-wire double-layer label is matched, if successful match, is transferred to step S302e;If it fails to match, abandon The data packet is reported to the processing of SDN controller, terminates;
S302e: in processing movement matching list, peeling label switching path label is successively matched, pseudo line tag is removed, stamps puppet Line label, tagged switching path label and the processing movement for stamping occupancy ODUK time slot label;It is acted according to above-mentioned processing, First successively the label switched path label and pseudo line tag of removing data packet band, followed by data packet stamp pseudo-wire mark again Label and label switched path label, finally distribution occupy ODUK time slot label and the data envelope are attached to corresponding ODUK time slot In.
5. the method for the rapid configuration POTN business based on OpenFlow flow table as claimed in claim 2, which is characterized in that when When type of service is ODUK type of service, step S3 specifically includes following below scheme:
S303a: when interchanger receives data packet, the port numbers in the port numbers of packet header and port match table are carried out Matching, if successful match, is transferred to step S303b;If it fails to match, abandons the data packet or be reported to the processing of SDN controller, knot Beam;
S303b: obtaining the corresponding type of service of the data packet according to appropriate ports number, if type of service is in ODUK business Words, are transferred to step S303c;If type of service is the transmitting of ODUK business, it is transferred to step S303d;
S303c: directly the processing movement for occupying ODUK time slot label is stamped in matching in processing movement matching list;It manages according to this Movement, distribution occupy ODUK time slot label and the data envelope are attached in corresponding ODUK time slot;
S303d: by the occupancy ODUK time slot of data packet institute band occupied in ODUK time slot label and ODUK service label matching list Label is matched, if successful match, is transferred to step S303e;If it fails to match, abandons the data packet or be reported to SDN control Device processing, terminates;
S303e: in processing movement matching list, successively matching removing, which occupies ODUK time slot label and stamps, occupies ODUK time slot mark The processing of label acts;It is acted according to above-mentioned processing, first removes the occupancy ODUK time slot label of data packet band, then be data packet weight It newly stamps and occupies ODUK time slot label, which is attached in corresponding ODUK time slot.
6. a kind of device of the rapid configuration POTN business based on OpenFlow flow table using claim 1 the method, packet Include SDN controller and interchanger, it is characterised in that: be equipped in the SDN controller OpenFlow matching flow table creating unit and OpenFlow matches flow table issuance unit;The OpenFlow matching flow table creating unit is used for: creation OpenFlow matching stream Table;The OpenFlow matching flow table issuance unit is used for: the OpenFlow of creation is matched flow table issuance to interchanger;
The interchanger is used for: when interchanger receives data packet, by the port numbers of data packet in OpenFlow matching flow table It is matched in port match table, obtains the corresponding type of service of the data packet;According to obtained type of service, in corresponding industry The matching of label is carried out in the tag match table of service type;Finally, being needed according to the type of service of tag match by corresponding business The corresponding processing movement of matched data packet in processing movement matching list is asked, data packet is carried out according to the processing movement being matched to Corresponding encapsulation process.
7. the device of the rapid configuration POTN business based on OpenFlow flow table as claimed in claim 6, it is characterised in that:
The port match table is used for: the corresponding port numbers of matched data packet, and it is corresponding to obtain data packet by matching port numbers Type of service;The type of service includes Ethernet service type, ODUK type of service and MPLS-TP type 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 service, described ODUK type of service is divided into words and the transmitting of ODUK business, the MPLS-TP type of service in ODUK business and is divided into MPLS-TP business Upper words and the transmitting of MPLS-TP business;
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, including user's virtual local area network tags, the double-deck mark of user's virtual LAN+service virtual local area networks Label;
The ODUK service label matching list is corresponding with the ODUK type of service in port match table, for matching ODUK service class Label under type, including occupy ODUK time slot label;
The MPLS-TP service label matching list is corresponding with the MPLS-TP type of service in port match table, for matching Label under MPLS-TP type of service, including label switched path+pseudo-wire double-layer label;
The processing acts matching list, for the corresponding processing movement of matched data packet, acts logarithm according to the processing being matched to Corresponding encapsulation process is carried out according to packet;The processing movement includes: to stamp user's virtual local area network tags, stamp Service Virtual office Domain network mark label, removing pseudo line tag, peeling label switching path label, stamp pseudo line tag, tagged switching path label, It stamps and occupies ODUK time slot label, removing occupies ODUK time slot label.
8. the device of the rapid configuration POTN business based on OpenFlow flow table as claimed in claim 7, it is characterised in that: institute It states and is equipped with Ethernet service processing unit in interchanger, when type of service is Ethernet service type, corresponding service demand is branch Ethernet packet, when line side is packaged into ODUK, packet header that the Ethernet service processing unit will receive are talked about on crossing Port numbers matched with the port numbers in port match table, if it fails to match, abandon the data packet or be reported to SDN control Device processing;If successful match, the corresponding type of service of the data packet is obtained according to appropriate ports number,
If type of service is to talk about on Ethernet service, directly in processing movement matching list, successively user's virtual office is stamped in matching Domain network mark label stamp service virtual local area networks label and stamp the processing movement for occupying ODUK time slot label;According to above-mentioned processing When acting, be followed successively by data packet and stamp user's virtual local area network tags and Service Virtual Local Area Network tag, and distributing occupancy ODUK The data envelope is attached in corresponding ODUK time slot by gap label;
If type of service be plug-in CVLAN Ethernet service on talk about, by user's virtual local area network tags of data packet institute band with User's virtual local area network tags too in network service tag match table match, if it fails to match, abandon the data packet or on Offer the processing of SDN controller;If successful match, in processing movement matching list, successively service virtual local area networks mark is stamped in matching The processing movement for occupying ODUK time slot label is signed and stamped, is acted according to above-mentioned processing, stamps Service Virtual local for data packet Network mark label, and distribute occupancy ODUK time slot label and the data envelope is attached in corresponding ODUK time slot;
If type of service is Ethernet service transparent transmission, by user's virtual local area network tags+Service Virtual local of data packet institute band User's virtual LAN+service virtual local area networks double-layer label progress in network mark label and Ethernet service tag match table Match, if it fails to match, abandons the data packet or be reported to the processing of SDN controller;If successful match, in processing movement matching list The processing movement for occupying ODUK time slot label is stamped in matching, and reason acts according to this, and distribution occupies ODUK time slot label for the number It is attached in corresponding ODUK time slot according to encapsulating.
9. the device of the rapid configuration POTN business based on OpenFlow flow table as claimed in claim 7, it is characterised in that: institute It states and is equipped with MPLS-TP Service Processing Unit in interchanger, when type of service is MPLS-TP type of service, corresponding service demand is MPLS-TP business, when line side is packaged into ODUK, data that the MPLS-TP Service Processing Unit will receive are talked about on branch crossing The port numbers in packet packet header are matched with the port numbers in port match table, if it fails to match, are abandoned the data packet or are reported to The processing of SDN controller;If successful match, the corresponding type of service of the data packet is obtained according to appropriate ports number,
If type of service be MPLS-TP business on talk about, directly processing movement matching list in, successively matching stamp pseudo line tag, Tagged switching path label and the processing movement for stamping occupancy ODUK time slot label;It is acted, is followed successively by according to above-mentioned processing Data packet stamps pseudo line tag and label switched path label, and distributes occupancy ODUK time slot label and the data envelope is attached to phase In the ODUK time slot answered;
If type of service be MPLS-TP business transmitting, by label switched path label+pseudo line tag of data packet institute band with Label switched path+pseudo-wire double-layer label in MPLS-TP service label matching list is matched, if it fails to match, is abandoned The data packet is reported to the processing of SDN controller;If successful match, in processing movement matching list, peeling label is successively matched Switching path label removes pseudo line tag, stamps pseudo line tag, tagged switching path label and stamps occupancy ODUK time slot The processing of label acts;It is acted according to above-mentioned processing, first the successively label switched path label and pseudo-wire of removing data packet band Label, followed by data packet stamp pseudo line tag and label switched path label again, and finally distribution occupies ODUK time slot mark The data envelope is attached in corresponding ODUK time slot by label.
10. the device of the rapid configuration POTN business based on OpenFlow flow table as claimed in claim 7, it is characterised in that: ODUK Service Processing Unit is equipped in the interchanger, when type of service is ODUK type of service, the ODUK business processing Unit matches the port numbers of the packet header received with the port numbers in port match table, if it fails to match, abandons The data packet is reported to the processing of SDN controller;If successful match, the corresponding industry of the data packet is obtained according to appropriate ports number Service type,
If type of service is to talk about in ODUK business, directly matching stamps and occupies ODUK time slot label in processing movement matching list Processing movement;Reason acts according to this, and distribution occupies ODUK time slot label and the data envelope is attached in corresponding ODUK time slot;
If type of service is the transmitting of ODUK business, the occupancy ODUK time slot label of data packet institute band is matched with ODUK service label Occupancy ODUK time slot label in table is matched, if it fails to match, is abandoned the data packet or is reported to the processing of SDN controller; If successful match, in processing movement matching list, successively matching removing, which occupies ODUK time slot label and stamps, occupies ODUK time slot The processing of label acts;It is acted according to above-mentioned processing, first removes the occupancy ODUK time slot label of data packet band, then be data packet Again it stamps and occupies ODUK time slot label, which is attached in corresponding ODUK time slot.
CN201710028106.6A 2017-01-12 2017-01-12 The method and device of rapid configuration POTN business based on OpenFlow flow table Active CN107070693B (en)

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 CN107070693A (en) 2017-08-18
CN107070693B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107623635B (en) * 2017-10-30 2020-07-21 深圳市德赛微电子技术有限公司 Intelligent matching method for network switching chip to identify flow table
CN108551447B (en) * 2018-04-11 2020-05-12 浙江大学 SDN-based intermediate device path authentication method
CN110278152B (en) * 2018-08-31 2020-05-29 新华三信息安全技术有限公司 Method and device for establishing fast forwarding table
CN112929117B (en) * 2021-01-28 2022-03-15 杭州瓦良格智造有限公司 Compatible definable deterministic communication Ethernet
CN113225376B (en) * 2021-03-29 2022-07-08 桂林电子科技大学 Ethernet frame and SDN data frame adapting method based on FPGA

Citations (6)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8831000B2 (en) * 2012-10-10 2014-09-09 Telefonaktiebolaget L M Ericsson (Publ) IP multicast service join process for MPLS-based virtual private cloud networking

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN107070693A (en) 2017-08-18

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
CN106506110A (en) Statistic multiplexing optical transfer network method and device
CN108989915A (en) A kind of method and system of the access net OLT slice based on ONU granularity
CN104365063B (en) Virtualize the method, apparatus and EPON virtualization system of EPON
US11477549B2 (en) Transmission network system, data switching and transmission method, apparatus and equipment
CN103918231B (en) A kind of apparatus and method of Optical Channel Data Unit-k operation exchange
CN101686180A (en) Data transmission method, network node and data transmission system
CN106716880B (en) A kind of Packet Service is mapped to the method and OTN equipment of optical transport network
CN103688499B (en) A kind of Optical Channel Data Unit-k ODU business transporter and method
WO2015106577A1 (en) Method and system for converting otn signal into ethernet payload
CN104486242B (en) A kind of VLAN centralized Control method and system of EPON networks
CN105357099A (en) Implementation method of VPN (virtual private network) on basis of SDN (software defined network)
CN102546118A (en) Service forwarding and priority mapping method for China-data over cable system interface specification (C-DOCSIS) system
CN104869024B (en) A kind of PTN network intelligent bandwidth management method and device
CN109450544A (en) Optical line terminal OLT equipment, passive optical network PON data transferring method
CN105992297A (en) SDN-based connection management and forwarding control method and related equipment
CN109639577A (en) A kind of wide area network bandwidth stage division, apparatus and system
CN105577566A (en) Message gathering transmission method, device and system
CN104362750A (en) Power grid dispatching system based on integrated data network access way
CN101753249A (en) Pocket add-drop multiplexer and data transmission method thereof
CN105208468B (en) The method and system opened automatically for OTN business
CN103441960A (en) Real-time multi-business data communication multiplexing method of electric power system
CN109936781A (en) A kind of method, apparatus and system of data transmission
CN107343231A (en) Asymmetric caching and forwarding module and the Packet Switch Node and network that are made from it

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