CN104796344A - Method, system, Openflow switch and server for realizing message forwarding based on SDN - Google Patents

Method, system, Openflow switch and server for realizing message forwarding based on SDN Download PDF

Info

Publication number
CN104796344A
CN104796344A CN201410020251.6A CN201410020251A CN104796344A CN 104796344 A CN104796344 A CN 104796344A CN 201410020251 A CN201410020251 A CN 201410020251A CN 104796344 A CN104796344 A CN 104796344A
Authority
CN
China
Prior art keywords
message
unit
openflow switch
sdn controller
user
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
Application number
CN201410020251.6A
Other languages
Chinese (zh)
Other versions
CN104796344B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410020251.6A priority Critical patent/CN104796344B/en
Priority to PCT/CN2014/080771 priority patent/WO2015106544A1/en
Publication of CN104796344A publication Critical patent/CN104796344A/en
Application granted granted Critical
Publication of CN104796344B publication Critical patent/CN104796344B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/64Routing or path finding of packets in data switching networks using an overlay routing layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing

Abstract

The invention discloses a method, a system, an Openflow switch and a server for realizing message forwarding based on an SDN. The method comprises the following steps: a source Openflow switch determines that a received data message is the message of a user according to port information; when a destination identity identifier in the message hits a mapping flow table, a destination location identifier corresponding to the destination identity identifier is obtained from the mapping flow table; when the obtained destination location identifier is the location identifier of the source Openflow switch, the message is sent to a destination user according to port information corresponding to the destination identity identifier; or the message is encapsulated and sent to a destination Openflow switch corresponding to the destination location identifier, and the message is decapsulated at the destination Openflow switch in order to send the message to the destination user according to the port information of the destination user. According to the invention, the location identifier of the destination switch is queried based on the destination identity identifier to realize message forwarding. When a terminal moves, the identity identifier is unchanged. The mapping flow table of the location identifier and the identity identifier is updated to carry out message forwarding. The load of an SDN controller is reduced.

Description

The method of message repeating, system, Openflow switch and server is realized based on SDN
Technical field
The present invention relates to software defined network (SDN) field, espespecially a kind ofly realize the method for message repeating, system, Openflow switch and server based on SDN.
Background technology
Software defined network (Software Defined Network is called for short SDN) is a kind of new network innovation framework, is a change for conventional network equipment and framework.The framework theory of SDN is network equipment forwarding and control element separation, adopts the SDN controller concentrated by Openflow protocol integrated test system network, by providing network virtualization function on SDN controller, and providing API, conveniently carrying out transmission via net.Fig. 1 is prior art SDN configuration diagram, as shown in Figure 1, is realized the controlling functions that the switch in network, router etc. comprise by SDN controller; Switch in network, the forwarding capability in router are peeled off from infrastructure layer, are realized by Openflow switch.In SDN, the Openflow switch that the unified management of SDN controller is all, forms the new network architecture.
The IP address used in existing SDN, both as the station location marker of communication terminal host network interface in network topology of network layer, again as the identify label of transport layer host network interface, SDN controller generates routing table, for message repeating according to IP address.Adopt in this way, when position of host machine moves, the IP address of main frame changes, SDN controller needs to recalculate route, route changes, and can cause terminal network service disruption, simultaneously, the identify label of communication terminal main frame also changes, and which increases the difficulty of the network supervision carrying out message repeating according to identify label.
In sum, current SDN as the identify label of the station location marker of network layer and transport layer, makes the semantic overload problem of IP address day by day serious using IP address.In addition, when main frame frequently moves, IP address frequent variations, has not only increased the weight of the load of SDN controller, also affects the network supervision carrying out message repeating according to identify label.
Summary of the invention
In order to solve the problems of the technologies described above, the invention discloses and a kind ofly realize the method for message repeating, system and server based on SDN.Be separated with position by the identity realizing SDN, carry out message repeating, SDN controller routing overhead can be reduced.
In order to reach the object of the application, the invention provides a kind of method realizing message repeating based on software defined network SDN, comprising:
According to port information, source Openflow switch determines that the data message received is the message of user;
When the object identify label hit mapped streams table in message, from mapped streams table, obtain the destination locations corresponding with object identify label identify;
When the destination locations obtained is designated the station location marker of source Openflow switch, the port information corresponding according to object identify label, sends message to object user; Otherwise, encapsulate and send the object Openflow switch of message to destination locations mark correspondence, at object Openflow switch decapsulation message, to send message to object user according to the port information of object user.
Further, also comprise before the method:
User place user terminal UE upload user identifier is to SDN controller, and SDN controller obtains the identify label of user to server according to user identifier;
Server set up the station location marker of User Identity and described source Openflow switch corresponding relation, be stored in the mapped streams table of user, and the mapped streams table of user is handed down to the Openflow switch in SDN via SDN controller.
Further, before determining that the data message received is the message of user according to port information, the method also comprises: message and the message of Openflow switch of distributing user adopt the port between different ports zones;
The message of user is: the message do not encapsulated that user sends;
The message of Openflow switch is: the message being packaged with customer location mark.
Further, message at least comprises: header and message content;
Header at least comprises: source identify label, object identify label, source port information, destination interface information, protocol type.
Further, when the miss mapped streams table of the object identify label in message, the method also comprises:
Source Openflow switch transmission comprises the Packet_in message of object identify label to SDN controller, and SDN controller identifies to the destination locations that the identify label of server lookup object is corresponding;
SDN controller issues Packet_out message and a Flow_mod message to source Openflow switch, and the 2nd Flow_mod message is to object Openflow switch, to carry out message repeating.
Further, a Flow_mod message comprises: carry the mapped streams table of object identify label and destination locations mark, carry the encapsulation stream table of destination locations mark and carry the decapsulation stream table of source position mark.
2nd Flow_mod message comprises: carry the mapped streams table of source identify label and source position mark, carry the encapsulation stream table of source position mark and carry the decapsulation stream table of destination locations mark.
Further, SDN controller is according to described source position mark and described destination locations mark, calculating source Openflow switch is to the communication path of object Openflow switch, when communication path be non-through time, the method also comprises: described SDN controller issues and comprises port information corresponding to source position mark, and the port information of destination locations mark correspondence is to all middle Openflow switch in communication path.
Further, Packet_in message comprises: message or message at the buffer memory ID of Openflow switch, and comprise the match field of object identify label.
Further, when the miss mapped streams table of source Openflow switch, the method also comprises, and when source Openflow switch configuration is buffer memory message and buffer memory is enough, carries out buffer memory to message, gives SDN controller by the buffer memory ID of message; When source Openflow switch configuration is when buffer memory message or buffer memory are not enough, message is delivered to SDN controller in the subsidiary content of event.
Further, server generates the Openflow switch list information issuing mapped streams table, the method also comprises, when the station location marker that SDN controller receives UE changes, send the station location marker that upgrades to server to upgrade mapped streams table, and issue renewal mapped streams table to the Openflow switch in list according to the list information of generation.
Further, when Openflow switch detects user's deferred information, the method also comprises: Openflow switch uploads Port_state to SDN controller, and SDN controller sends the information of the mapped streams table deleting this user to server;
Server deletes this user's mapped streams table information, and SDN controller generates and issues the 3rd FLOW_MOD message to the Openflow switch in the list of described list information, to delete the information of the mapped streams table of this user.
Further, the method also comprises: described server is the network element be connected alternately with SDN controller; Or,
Be arranged at the functional module of SDN controller inside.
On the other hand, the application also provides a kind of system realizing message repeating based on software defined network SDN, comprising: user terminal UE, SDN controller, server and Openflow switch; Wherein,
UE, for sending message to Openflow switch;
Openflow switch comprises: message judging unit, hit unit, port information unit, encapsulation unit, decapsulation unit and message repeating unit; Wherein,
According to port information, message judging unit, determines that the message received is the message of user during for receiving data message, or the message of Openflow switch;
Hit unit, for according to the object identify label hit mapped streams table in message, obtains the destination locations corresponding with object identify label and identifies from mapped streams table;
Port information unit, during for being designated the station location marker of source Openflow switch at the destination locations obtained, reads the port information that object identify label is corresponding from message; The port information that object identify label is corresponding is read from the message of decapsulation;
Encapsulation unit, for when the destination locations mark obtained is not the station location marker of source Openflow switch, encapsulates and sends the object Openflow switch of message to destination locations mark correspondence;
Decapsulation unit, for carrying out decapsulation by encapsulated message;
Message repeating unit, for the port information according to port information unit, sends message to object user;
Server, comprising: mapped streams table unit and stream table issue unit; Wherein,
Mapped streams table unit, for generating the mapped streams table of User Identity and station location marker;
Stream table issues unit, for mapped streams table is issued to SDN controller;
SDN controller, comprising: stream table retransmission unit, is forwarded to Openflow switch for the mapped streams table issued by server.
Further, Openflow switch also comprises: identifier acquiring unit, station location marker uploading unit and port allotting unit; Correspondingly, described SDN controller also comprises data communication interface; Described server also comprises allocation units; Wherein,
Identifier acquiring unit, for when UE logs in, obtains the user identifier of UE, is sent to server by SDN controller;
Station location marker uploading unit, for when UE logs in, is identified by SDN controller uploading position;
Port allotting unit, when logging in for UE, distributes to the corresponding port of UE;
The allocation units of server, when logging in for user terminal UE, obtain user identifier and distribute to the corresponding identify label of user;
The data communication interface of SDN controller, for the identifier acquiring unit of Openflow switch, station location marker uploading unit and port information unit transmission information to server.
Further, port allotting unit specifically for, distribute to the port between the message of the user ports zone different from the message of Openflow switch;
The message of user is: the message do not encapsulated that user sends;
The message of Openflow switch is: the message being packaged with customer location mark.
Further, message at least comprises: header and message content;
Described header at least comprises: source identify label, object identify label, source port information, destination interface information, protocol type.
Further, Openflow switch also comprises: data-message unit; SDN controller also comprises: feedback trigger element, Related Information Unit; Wherein,
Data-message unit, for when hitting the miss mapped streams table of unit, transmission comprises the Packet_in message of object identify label to SDN controller, to be obtained destination locations mark corresponding to object identify label from the data stream list unit of server by SDN controller;
The feedback trigger element of SDN controller, for issuing Packet_out message to source Openflow switch, makes source Openflow switch receive a Flow_mod message; Meanwhile, the 2nd Flow_mod message is sent to object Openflow switch;
Related Information Unit, for sending a Flow_mod message to the hit unit of source Openflow switch, encapsulation unit and decapsulation unit; Send the 2nd Flow_mod message to object Openflow switch to carry out the hit unit of message repeating, encapsulation unit and decapsulation unit.
Further, a Flow_mod message comprises: carry the mapped streams table of object identify label and destination locations mark, carry the encapsulation stream table of destination locations mark and carry the decapsulation stream table of source position mark;
2nd Flow_mod message comprises: carry the mapped streams table of source identify label and source position mark, carry the encapsulation stream table of source position mark and carry the decapsulation stream table of destination locations mark.
Further, SDN controller also comprises: calculating path unit and average information unit; Wherein
Calculating path unit, for according to described source position mark and described destination locations mark, calculates the communication path of source Openflow switch to object Openflow switch;
Average information unit, for when communication path be non-through time, issue the message of the Openflow switch comprising port information corresponding to source position mark and port information corresponding to destination locations mark to all middle Openflow switch in communication path.
Further, Packet_in message comprises: message or message at the buffer memory ID of Openflow switch, and comprise the match field of object identify label.
Further, source Openflow switch also comprises caching process unit, for when hitting the miss mapped streams table of unit, when source Openflow switch configuration is buffer memory message and buffer memory is enough, buffer memory is carried out to message, gives SDN controller by the buffer memory ID of message; When source Openflow switch configuration is when buffer memory message or buffer memory are not enough, message is delivered to SDN controller in the subsidiary content of event.
Further, SDN controller also comprises record cell, for generating the Openflow switch list information issuing mapped streams table;
The station location marker uploading unit of Openflow switch, also for uploading the station location marker that upgrades when UE moves to the mapped streams table unit of server;
Mapped streams table unit, also for regenerating the mapped streams table information upgrading station location marker and identify label.
Further, Openflow switch also comprises deferred information unit, and correspondingly, SDN controller also comprises processed offline unit; Wherein,
Deferred information unit, for when Openflow switch detects user's deferred information, uploads Port_state information to SDN controller;
The processed offline unit of SDN controller, for sending the information of deleting user's mapped streams table to server according to Port_state information; Generate corresponding 3rd FLOW_MOD message of deleting user's mapped streams table information;
Mapped streams table unit, also carries out the deletion of user's mapped streams table information for the information of the mapped streams table of this user of deletion sent according to SDN controller;
The stream table retransmission unit of SDN controller, also for the list information according to record cell, is issued to the Openflow switch in list information by the 3rd FLOW_MOD message, to delete the information of the mapped streams table of this user.
Further, server is the network element be connected alternately with SDN controller; Or,
Be arranged at the functional module of SDN controller inside.
Again on the one hand, the application also provides a kind of Openflow switch realizing message repeating based on software defined network SDN, comprising: message judging unit, hit unit, port information unit, encapsulation unit, decapsulation unit and message repeating unit; Wherein,
According to port information, message judging unit, determines that the message received is the message of user or the message of Openflow switch during for receiving data message;
Hit unit, for according to the object identify label hit mapped streams table in message, obtains the destination locations corresponding with object identify label and identifies from mapped streams table;
Port information unit, during for being designated the station location marker of source Openflow switch at the destination locations obtained, reads the port information that object identify label is corresponding from message; The port information that object identify label is corresponding is read from the message of decapsulation;
Encapsulation unit, for when the destination locations mark obtained is not the station location marker of source Openflow switch, encapsulated message is also sent to object Openflow switch corresponding to destination locations mark;
Decapsulation unit, for carrying out decapsulation by encapsulated message;
Message repeating unit, for the port information according to port information unit, is sent to object user by message.
Further, this Openflow switch also comprises: identifier acquiring unit, station location marker uploading unit and port allotting unit; SDN controller also comprises data communication interface; Server also comprises allocation units; Wherein,
Identifier acquiring unit, for when UE logs in, obtains the user identifier of UE, is sent to server by SDN controller;
Station location marker uploading unit, for when UE logs in, is identified by SDN controller uploading position;
Port allotting unit, when logging in for UE, distributes to the corresponding port of UE;
The allocation units of server, when logging in for user terminal UE, obtain user identifier and distribute to the corresponding identify label of user;
The data communication interface of SDN controller, for the transmission information of the identifier acquiring unit of Openflow switch, station location marker uploading unit and port information unit to server.
Further, port allotting unit specifically for, distribute to the port between the message of the user ports zone different from the message of Openflow switch;
The message of user is: the message do not encapsulated that user sends;
The message of Openflow switch is: the message being packaged with customer location mark.
Further, message at least comprises: header and message content;
Header at least comprises: source identify label, object identify label, source port information, destination interface information, protocol type.
Further, this Openflow switch also comprises: data-message unit; SDN controller also comprises: feedback trigger element, Related Information Unit; Wherein,
Data-message unit, for when hitting the miss mapped streams table of unit, sends the Packet_in message SDN controller comprising object identify label, to obtain destination locations mark corresponding to object identify label by SDN controller from server;
The feedback trigger element of SDN controller, for issuing Packet_out message to source Openflow switch, makes source Openflow switch receive a Flow_mod message; Meanwhile, the 2nd Flow_mod message is sent to object Openflow switch;
Related Information Unit, for sending a Flow_mod message to the hit unit of source Openflow switch, encapsulation unit and decapsulation unit; Send the 2nd Flow_mod message to object Openflow switch to carry out the hit unit of message repeating, encapsulation unit and decapsulation unit.
Further, a Flow_mod message comprises: carry the mapped streams table of object identify label and destination locations mark, carry the encapsulation stream table of destination locations mark and carry the decapsulation stream table of source position mark.
2nd Flow_mod message comprises: carry the mapped streams table of source identify label and source position mark, carry the encapsulation stream table of source position mark and carry the decapsulation stream table of destination locations mark.
Further, Packet_in message comprises: message or message at the buffer memory ID of Openflow switch, and comprise the match field of object identify label.
Further, port information unit, also for when calculating source Openflow switch according to described source position mark and described destination locations mark SDN controller and not being through to the communication path of object Openflow switch, what receive that SDN controller issues comprises the port information that port information corresponding to source position mark and destination locations identify correspondence.
Further, this Openflow switch also comprises caching process unit, for when hitting the miss mapped streams table of unit, when source Openflow switch configuration is buffer memory message and buffer memory is enough, buffer memory is carried out to message, gives SDN controller by the buffer memory ID of message; When source Openflow switch configuration is when buffer memory message or buffer memory are not enough, message is delivered to SDN controller in the subsidiary content of event.
Again on the one hand, the application also provides a kind of server realizing message repeating based on software defined network SDN, comprising: allocation units and mapped streams table unit; Wherein,
Allocation units, when logging in for user terminal UE, obtain user identifier and distribute to the corresponding identify label of user;
Mapped streams table unit, station location marker for the source Openflow switch of the identify label that distributes according to allocation units and UE generates the mapped streams table of user, and by SDN controller, mapped streams table is handed down to Openflow switch, to carry out the message repeating of SDN.
Further, this server also comprises stream table and issues unit; Wherein,
Stream table issues unit, for the mapped streams table of mapped streams table unit is issued to SDN controller;
Mapped streams table unit, the station location marker also moving the change of generation for receiving SDN controller UE position is, according to the station location marker of change location identification renewal and the mapped streams table information of identify label.
Further, this server also comprises processed offline unit, for according to the mapped streams table information uploading to this user of SDN controller Port_state information deletion during user's off-line, notify that the Openflow switch of this user's mapped streams table of all preservations deletes the mapped streams table information of this user by SDN controller.
The application proposes a kind of technical scheme, comprising: according to port information, source Openflow switch determines that the data message received is the message of user; When the object identify label hit mapped streams table in message, from mapped streams table, obtain the destination locations corresponding with object identify label identify; When the destination locations obtained is designated the station location marker of source Openflow switch, the port information corresponding according to object identify label, sends message to object user; Otherwise, encapsulate and send the object Openflow switch of message to destination locations mark correspondence, at object Openflow switch decapsulation message, to send message to object user according to the port information of object user.The application also provides system, Openflow switch and the server corresponding with the inventive method.The present invention searches the station location marker of object switch by object identify label, and to realize message repeating, when fast mobile terminal, identify label is constant, and the mapped streams table upgrading station location marker and identify label carries out message repeating, reduces the load of SDN controller.
On the other hand, the present invention adopts identify label constant, the method that station location marker adjusts accordingly according to moving process, carries out network security supervision provide the foundation for adopting identify label.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is prior art SDN configuration diagram;
Fig. 2 the present invention is based on the flow chart that SDN realizes the method for message repeating;
Fig. 3 the present invention is based on the structured flowchart that SDN realizes the system of message repeating;
Fig. 4 is that the embodiment of the present invention 1 realizes the method flow diagram of user's login based on SDN;
Fig. 5 is that the embodiment of the present invention 2 realizes the method flow diagram of message repeating based on SDN;
Fig. 6 is that the embodiment of the present invention 3 realizes the method flow diagram of user's off-line based on SDN.
Embodiment
In software defined network (SDN), the transmission of message is generally via the source Openflow switch of source user terminal direct communication, and the object Openflow switch that the object user received is corresponding; When source Openflow switch and object Openflow switch are not through communication paths, also comprise middle Openflow switch, in the communication process of reality, for communicating of different user and message repeating, Openflow switch often represents different roles, the process of its message repeating is a dynamic process, and therefore the source Openflow switch of Openflow switch, object Openflow switch and middle Openflow switch are the identity of a real-time change.Here it is emphasized that the Openflow switch of its direct communication must be source Openflow switch relative to this user when user carries out message transmission.
Fig. 2 the present invention is based on the flow chart that SDN realizes the method for message repeating, as shown in Figure 2, comprising:
According to port information, step 200, source Openflow switch determine that the data message received is the message of user.
Step 201, when the object identify label hit mapped streams table in message, from mapped streams table, obtain the destination locations corresponding with object identify label identify.
The destination locations that step 202, judgement obtain is designated the station location marker of source Openflow switch, if so, enters step 203; Otherwise enter step 204;
Step 203, the port information corresponding according to object identify label, send message to object user; Process ends.
Step 204, encapsulate and send message to object Openflow switch corresponding to destination locations mark, at object Openflow switch decapsulation message, to send message to object user according to the port information of object user.
Also comprise before the inventive method: user place user terminal UE upload user identifier is to SDN controller, and SDN controller obtains the identify label of user to server according to user identifier;
Server set up the station location marker of User Identity and described source Openflow switch corresponding relation, be stored in the mapped streams table of user, and the mapped streams table of user is handed down to the Openflow switch in SDN via SDN controller.
Before determining that the data message received is the message of user according to port information, the inventive method also comprises: message and the message of Openflow switch of distributing user adopt the port between different ports zones;
The message of user is: the message do not encapsulated that user sends;
The message of Openflow switch is: the message being packaged with customer location mark.
Message at least includes header and message content; Wherein,
Header at least comprises active identify label, object identify label, source port information, destination interface information, protocol type.
When the miss mapped streams table of the object identify label in message, the method also comprises:
The Openflow switch transmission of described source comprises the Packet_in message of object identify label to SDN controller, and SDN controller identifies to the destination locations that the identify label of server lookup object is corresponding;
SDN controller issues Packet_out message and a Flow_mod message to source Openflow switch, and the 2nd Flow_mod message is to object Openflow switch, to carry out message repeating.
Further, a Flow_mod message comprises: carry the mapped streams table of object identify label and destination locations mark, carry the encapsulation stream table of destination locations mark and carry the decapsulation stream table of source position mark.
2nd Flow_mod message comprises: carry the mapped streams table of source identify label and source position mark, carry the encapsulation stream table of source position mark and carry the decapsulation stream table of destination locations mark.
It should be noted that, source position mark decapsulation stream table, for source Openflow switch receive object Openflow switch reply be packaged with source position mark message time carry out decapsulation;
In like manner, the encapsulation stream table of destination locations mark, after obtaining destination locations mark, encapsulates the message comprising destination locations mark for source Openflow switch;
The encapsulation stream table of source position mark, when replying for object Openflow switch, wrapper is containing the message of source position mark;
The decapsulation stream table of destination locations mark, for object Openflow switch receive that source Openflow switch sends be packaged with the message of destination locations mark time carry out decapsulation.
SDN controller is according to described source position mark and described destination locations mark, calculating source Openflow switch is to the communication path of object Openflow switch, when communication path be non-through time, the method also comprises: described SDN controller issues and comprises port information corresponding to source position mark, and the port information of destination locations mark correspondence is to all middle Openflow switch in communication path.
Further, Packet_in message comprises: message or message at the buffer memory ID of Openflow switch, and comprise the match field of object identify label.
When the miss mapped streams table of source Openflow switch, the method also comprises, and when source Openflow switch configuration is buffer memory message and buffer memory is enough, carries out buffer memory to message, gives SDN controller by the buffer memory ID of message; When source Openflow switch configuration is when buffer memory message or buffer memory are not enough, message is delivered to SDN controller in the subsidiary content of event.
Server generates the Openflow switch list information issuing mapped streams table, the inventive method also comprises, when the station location marker that SDN controller receives UE changes, send the station location marker that upgrades to server to upgrade mapped streams table, and issue renewal mapped streams table to the Openflow switch in list according to the list information of generation.
When Openflow switch detects user's deferred information, the inventive method also comprises: Openflow switch uploads Port_state to SDN controller, and SDN controller sends the information of the mapped streams table deleting this user to server;
Server deletes this user's mapped streams table information, and SDN controller generates and issues the 3rd FLOW_MOD message to the Openflow switch in the list of described list information, to delete the information of the mapped streams table of this user.
The inventive method also comprises: described server is the network element be connected alternately with SDN controller; Or,
Be arranged at the functional module of SDN controller inside.
Fig. 3 the present invention is based on the structured flowchart that SDN realizes the system of message repeating, as shown in Figure 3, comprising: user terminal UE, SDN controller, server and Openflow switch; Wherein,
UE, for sending message to Openflow switch.
Message at least comprises: header and message content;
Header at least comprises: source identify label, object identify label, source port information, destination interface information, protocol type.
Openflow switch comprises: message judging unit, hit unit, port information unit, encapsulation unit, decapsulation unit and message repeating unit; Wherein,
According to port information, message judging unit, determines that the message received is the message of user during for receiving data message, or the message of Openflow switch.
Hit unit, for according to the object identify label hit mapped streams table in message, obtains the destination locations corresponding with object identify label and identifies from mapped streams table.
Port information unit, during for being designated the station location marker of source Openflow switch at the destination locations obtained, reads the port information that object identify label is corresponding from message; The port information that object identify label is corresponding is read from the message of decapsulation.
Encapsulation unit, for when the destination locations mark obtained is not the station location marker of source Openflow switch, encapsulates and sends the object Openflow switch of message to destination locations mark correspondence;
Decapsulation unit, for carrying out decapsulation by encapsulated message;
Message repeating unit, for the port information according to port information unit, sends message to object user;
Server, comprising: mapped streams table unit and stream table issue unit; Wherein,
Mapped streams table unit, for generating the mapped streams table of User Identity and station location marker;
Stream table issues unit, for mapped streams table is issued to SDN controller;
SDN controller, comprising: stream table retransmission unit, is forwarded to Openflow switch for the mapped streams table issued by server.
Openflow switch also comprises: identifier acquiring unit, station location marker uploading unit and port allotting unit; Correspondingly, described SDN controller also comprises data communication interface; Wherein,
Identifier acquiring unit, for when UE logs in, obtains the user identifier of UE, is sent to server, to obtain the identify label of user by SDN controller.
Station location marker uploading unit, for when UE logs in, is identified by SDN controller uploading position.
Port allotting unit, when logging in for UE, distributes to the corresponding port of UE.
The data communication interface of SDN controller, for the identifier acquiring unit of Openflow switch, station location marker uploading unit and port information unit transmission information to server.
Further, port allotting unit specifically for; Distribute to the port between the message of the user ports zone different from the message of Openflow switch;
The message of described user is: the message do not encapsulated that user sends;
The message of described Openflow switch is: the message being packaged with customer location mark.
The data communication interface of SDN controller, for the identifier acquiring unit of Openflow switch, station location marker uploading unit and port information unit transmission information to server.
Openflow switch also comprises: data-message unit; SDN controller also comprises: feedback trigger element, Related Information Unit; Wherein,
Data-message unit, for when hitting the miss mapped streams table of unit, transmission comprises the Packet_in message of object identify label to SDN controller, to be obtained destination locations mark corresponding to object identify label from the data stream list unit of server by SDN controller.
Further, Packet_in message comprises: message or message at the buffer memory ID of Openflow switch, and comprise the match field of object identify label.
The feedback trigger element of SDN controller, for issuing Packet_out message to source Openflow switch, makes source Openflow switch receive a Flow_mod message; Meanwhile, the 2nd Flow_mod message is sent to object Openflow switch.
Related Information Unit, for sending a Flow_mod message to the hit unit of source Openflow switch, encapsulation unit and decapsulation unit; Send the 2nd Flow_mod message to object Openflow switch to carry out the hit unit of message repeating, encapsulation unit and decapsulation unit.
It should be noted that, the Flow_mod information of prior art does not comprise the functional module that the present invention hits the information of unit, encapsulation unit and decapsulation unit, information is specialized by the present invention, is to content of the present invention is clearly described, be not meant to limit the present invention.The present invention constructs these unit, but in practical application, the information often said units comprised and function are fused in existing functional module goes to perform, and by data stream list information, by arranging accordingly and merging, is not independent information unit.
One Flow_mod message comprises: carry the mapped streams table of object identify label and destination locations mark, carry the encapsulation stream table of destination locations mark and carry the decapsulation stream table of source position mark;
2nd Flow_mod message comprises: carry the mapped streams table of source identify label and source position mark, carry the encapsulation stream table of source position mark and carry the decapsulation stream table of destination locations mark.
SDN controller also comprises: calculating path unit and average information unit; Wherein
Calculating path unit, for according to described source position mark and described destination locations mark, calculates the communication path of source Openflow switch to object Openflow switch;
Average information unit, for when communication path be non-through time, issue the message of the Openflow switch comprising port information corresponding to source position mark and port information corresponding to destination locations mark to all middle Openflow switch in communication path.
Source Openflow switch also comprises caching process unit, for when hitting the miss mapped streams table of unit, when source Openflow switch configuration is buffer memory message and buffer memory is enough, carrying out buffer memory to message, giving SDN controller by the buffer memory ID of message; When source Openflow switch configuration is when buffer memory message or buffer memory are not enough, message is delivered to SDN controller in the subsidiary content of event.
SDN controller also comprises record cell, for generating the Openflow switch list information issuing mapped streams table;
The station location marker uploading unit of Openflow switch, also for uploading the station location marker that upgrades when UE moves to the mapped streams table unit of server;
Mapped streams table unit, also for regenerating the mapped streams table information upgrading station location marker and identify label.
Openflow switch also comprises deferred information unit, and correspondingly, SDN controller also comprises processed offline unit; Wherein,
Deferred information unit, for when Openflow switch detects user's deferred information, uploads Port_state information to SDN controller;
The processed offline unit of SDN controller, for sending the information of deleting user's mapped streams table to server according to Port_state information; Generate corresponding 3rd FLOW_MOD message of deleting user's mapped streams table information;
Mapped streams table unit, also carries out the deletion of user's mapped streams table information for the information of the mapped streams table of this user of deletion sent according to SDN controller;
The stream table retransmission unit of SDN controller, also for the list information according to record cell, is issued to the Openflow switch in list information by the 3rd FLOW_MOD message, to delete the information of the mapped streams table of this user.
Further, server is the network element be connected alternately with SDN controller; Or,
Be arranged at the functional module of SDN controller inside.
It should be noted that, in Fig. 3, user terminal A representative sends the user of message, and user terminal B represents the user being in same source Openflow switch with user terminal A, and user terminal C represents the user being in different Openflow switch from user terminal A, it may be the Openflow switch with direct communication path, or, can not the Openflow switch of direct communication.
Realize an Openflow switch for message repeating based on software defined network SDN, comprising: comprising: message judging unit, hit unit, port information unit, encapsulation unit, decapsulation unit and message repeating unit; Wherein,
According to port information, message judging unit, determines that the message received is the message of user or the message of Openflow switch during for receiving data message;
Hit unit, for according to the object identify label hit mapped streams table in message, obtains the destination locations corresponding with object identify label and identifies from mapped streams table;
Port information unit, during for being designated the station location marker of source Openflow switch at the destination locations obtained, reads the port information that object identify label is corresponding from message; The port information that object identify label is corresponding is read from the message of decapsulation;
Encapsulation unit, for when the destination locations mark obtained is not the station location marker of source Openflow switch, encapsulated message is also sent to object Openflow switch corresponding to destination locations mark;
Decapsulation unit, for carrying out decapsulation by encapsulated message;
Message repeating unit, for the port information according to port information unit, is sent to object user by message.
Openflow switch of the present invention also comprises: identifier acquiring unit, station location marker uploading unit and port allotting unit; SDN controller also comprises data communication interface; Wherein,
Identifier acquiring unit, for when UE logs in, obtains the user identifier of UE, is sent to server, to obtain the identify label of user by SDN controller;
Station location marker uploading unit, for when UE logs in, station location marker will be given SDN controller;
Port allotting unit, when logging in for UE, distributes to the corresponding port of UE;
The data communication interface of SDN controller, for the transmission information of the identifier acquiring unit of Openflow switch, station location marker uploading unit and port information unit to server.
Further, port allotting unit specifically for, distribute to the port between the message of the user ports zone different from the message of Openflow switch;
The message of user is: the message do not encapsulated that user sends;
The message of Openflow switch is: the message being packaged with customer location mark.
Message at least comprises: header and message content;
Header at least comprises: source identify label, object identify label, source port information, destination interface information, protocol type.
Openflow switch of the present invention also comprises: data-message unit; SDN controller also comprises: feedback trigger element, Related Information Unit; Wherein,
Data-message unit, for when hitting the miss mapped streams table of unit, send comprise object identify label Packet_in message to SDN controller, identify to obtain destination locations corresponding to object identify label by SDN controller from server.
Further, Packet_in message comprises: message or message at the buffer memory ID of Openflow switch, and comprise the match field of object identify label.
The feedback trigger element of SDN controller, for issuing Packet_out message to source Openflow switch, makes source Openflow switch receive a Flow_mod message; Meanwhile, the 2nd Flow_mod message is sent to object Openflow switch;
Related Information Unit, for sending a Flow_mod message to the hit unit of source Openflow switch, encapsulation unit and decapsulation unit; Send the 2nd Flow_mod message to object Openflow switch to carry out the hit unit of message repeating, encapsulation unit and decapsulation unit.
One Flow_mod message comprises: carry the mapped streams table of object identify label and destination locations mark, carry the encapsulation stream table of destination locations mark and carry the decapsulation stream table of source position mark.
2nd Flow_mod message comprises: carry the mapped streams table of source identify label and source position mark, carry the encapsulation stream table of source position mark and carry the decapsulation stream table of destination locations mark.
Port information unit, also for when calculating source Openflow switch according to described source position mark and described destination locations mark SDN controller and not being through to the communication path of object Openflow switch, what receive that SDN controller issues comprises the port information that port information corresponding to source position mark and destination locations identify correspondence.
Openflow switch of the present invention also comprises caching process unit, for when hitting the miss mapped streams table of unit, when source Openflow switch configuration is buffer memory message and buffer memory is enough, buffer memory is carried out to message, give SDN controller by the buffer memory ID of message; When source Openflow switch configuration is when buffer memory message or buffer memory are not enough, message is delivered to SDN controller in the subsidiary content of event.
Realize a server for message repeating based on software defined network SDN, comprising: allocation units and mapped streams table unit; Wherein,
Allocation units, when logging in for user terminal UE, obtain user identifier and distribute to the corresponding identify label of user.
Mapped streams table unit, station location marker for the source Openflow switch of the identify label that distributes according to allocation units and UE generates the mapped streams table of user, and by SDN controller, mapped streams table is handed down to Openflow switch, to carry out the message repeating of SDN.
Server of the present invention also comprises stream table and issues unit; Wherein,
Stream table issues unit, for the mapped streams table of mapped streams table unit is issued to SDN controller;
Mapped streams table unit, the station location marker also moving the change of generation for receiving SDN controller UE position is, according to the station location marker of change location identification renewal and the mapped streams table information of identify label.
Server of the present invention also comprises processed offline unit, for according to the mapped streams table information uploading to this user of SDN controller Port_state information deletion during user's off-line, notify that the Openflow switch of this user's mapped streams table of all preservations deletes the mapped streams table information of this user by SDN controller.
Below in conjunction with embodiment, carry out clearly illustrating in detail to the inventive method, embodiment, just in order to clearer explanation the inventive method, is not limited to the content of the inventive method protection.
Embodiment 1
Fig. 4 is that the embodiment of the present invention 1 realizes the method flow diagram of user's login based on SDN, as shown in Figure 4, comprising:
Step 400, UE access Openflow switch, log in, above send user identifier.
Step 401, Openflow switch send user identifier, Openflow station location marker and port numbers.
It should be noted that, the distribution of port numbers here and be treated to the conventional techniques means of those skilled in the art.Do not repeat them here.
Step 402, SDN controller send user identifier, station location marker that Openflow switch send.
Step 403, according to user identifier, distribute to the corresponding identify label of terminal, and generate the mapped streams table information of identify label and station location marker.
Step 404, issue mapped streams table information, and record the list issued.
Embodiment 2
Fig. 5 is that the embodiment of the present invention 2 realizes the method flow diagram of message repeating based on SDN, as shown in Figure 5, comprising:
What step 500, source Openflow switch were determined to receive according to port information is the message of user.
Step 501, source Openflow switch search mapped streams table, object identify label hit mapped streams table, when object identify label hit mapped streams table information, perform step 5020; During miss mapped streams table information, perform step 5030.
Step 5020, according to object identify label inquiry destination locations mark, when destination locations is designated the station location marker of source Openflow switch, perform step 5021; When destination locations mark is not the station location marker of source Openflow switch, perform step 5022.
Step 5021, source Openflow switch obtain object user port information, and forwarding data packets is to object user.
Step 5022, source Openflow switch encapsulated message, forward the packet.
Step 5023, middle Openflow switch detect that the message of reception is Openflow switch message, obtain destination locations mark, E-Packet.
Step 5024, object Openflow switch obtain object user port information and are then transmitted to object user.
During miss mapped streams table information,
The transmission of step 5030, source Openflow switch carries the Packet_in message of object identify label to SDN controller.
The destination locations that the mapped streams table information acquisition object identify label of step 5031, SDN controller querying server is corresponding identifies.
Step 5032, return the mapping relations of object identify label.
Step 5033, SDN controller calculate the source Openflow switch path to object Openflow switch, when source Openflow switch is direct path to the path of object Openflow switch, and execution step 50340, otherwise execution step 50350
Step 50340, SDN controller issue Packet_out message and a Flow_mod message to source Openflow switch, and the 2nd Flow_mod message is to object Openflow switch.
Step 50350, SDN controller issue and comprise port information corresponding to source position mark, and the port information of destination locations mark correspondence gives middle Openflow switch.
After step 50340 and 50350, through source Openflow switch and object Openflow switch, and non-through middle Openflow switch contains the destination locations mark and port information of carrying out message repeating, can carry out message repeating according to step 5020 to 5024.
Embodiment 3
Fig. 6 is that the embodiment of the present invention 3 realizes the method flow diagram of user's off-line based on SDN, as shown in Figure 6, comprising:
Step 600, user's off-line, detect that port becomes down.
It should be noted that, user's off-line, it is common practise that port becomes down, not the claimed content of the inventive method.
Step 601, when Openflow switch detects user's deferred information, upload Port_state information to SDN controller.
Step 602, SDN controller delete the mapped streams table information of this user according to Port_state Information Notification Services device.
Step 603, server delete the mapped streams table information of this user.
Step 604, SDN controller generate corresponding 3rd FLOW_MOD message of deleting user's mapped streams table information.
Wherein, step 603 and step 604 can be carried out simultaneously.
3rd FLOW_MOD message to be issued to the Openflow switch in list by step 605, SDN controller according to list information, to delete the information of the mapped streams table of this user.
Although the execution mode disclosed by the application is as above, the execution mode that described content only adopts for ease of understanding the application, and be not used to limit the application.Those of skill in the art belonging to any the application; under the prerequisite not departing from the spirit and scope disclosed by the application; any amendment and change can be carried out in the form implemented and details; but the scope of patent protection of the application, the scope that still must define with appending claims is as the criterion.

Claims (36)

1. realize a method for message repeating based on software defined network SDN, it is characterized in that, comprising:
According to port information, source Openflow switch determines that the data message received is the message of user;
When the object identify label hit mapped streams table in message, from mapped streams table, obtain the destination locations corresponding with object identify label identify;
When the destination locations obtained is designated the station location marker of source Openflow switch, the port information corresponding according to object identify label, sends message to object user; Otherwise, encapsulate and send the object Openflow switch of message to destination locations mark correspondence, at object Openflow switch decapsulation message, to send message to object user according to the port information of object user.
2. method according to claim 1, is characterized in that, also comprises before the method:
Described user place user terminal UE upload user identifier is to SDN controller, and SDN controller obtains the identify label of user to server according to user identifier;
Server set up the station location marker of User Identity and described source Openflow switch corresponding relation, be stored in the mapped streams table of user, and the mapped streams table of user is handed down to the Openflow switch in SDN via SDN controller.
3. method according to claim 1, it is characterized in that, before determining that the data message received is the message of user according to port information, the method also comprises: message and the message of Openflow switch of distributing user adopt the port between different ports zones;
The message of described user is: the message do not encapsulated that user sends;
The message of described Openflow switch is: the message being packaged with customer location mark.
4. method according to claim 1, is characterized in that, described message at least comprises: header and message content;
Described header at least comprises: source identify label, object identify label, source port information, destination interface information, protocol type.
5. the method according to any one of Claims 1 to 4, is characterized in that, when the miss mapped streams table of the object identify label in described message, the method also comprises:
The Openflow switch transmission of described source comprises the Packet_in message of object identify label to SDN controller, and SDN controller identifies to the destination locations that the identify label of server lookup object is corresponding;
SDN controller issues Packet_out message and a Flow_mod message to source Openflow switch, and the 2nd Flow_mod message is to object Openflow switch, to carry out message repeating.
6. method according to claim 5, it is characterized in that, a described Flow_mod message comprises: carry the mapped streams table of object identify label and destination locations mark, carry the encapsulation stream table of destination locations mark and carry the decapsulation stream table of source position mark;
Described 2nd Flow_mod message comprises: carry the mapped streams table of source identify label and source position mark, carry the encapsulation stream table of source position mark and carry the decapsulation stream table of destination locations mark.
7. method according to claim 6, it is characterized in that, described SDN controller is according to described source position mark and described destination locations mark, calculating source Openflow switch is to the communication path of object Openflow switch, when communication path be non-through time, the method also comprises: described SDN controller issues and comprises port information corresponding to source position mark, and the port information of destination locations mark correspondence is to all middle Openflow switch in communication path.
8. method according to claim 5, is characterized in that, described Packet_in message comprises: message or message at the buffer memory ID of Openflow switch, and comprise the match field of object identify label.
9. method according to claim 8, it is characterized in that, when the miss mapped streams table of described source Openflow switch, the method also comprises, when source Openflow switch configuration is buffer memory message and buffer memory is enough, buffer memory is carried out to message, gives SDN controller by the buffer memory ID of message; When source Openflow switch configuration is when buffer memory message or buffer memory are not enough, message is delivered to SDN controller in the subsidiary content of event.
10. method according to claim 2, it is characterized in that, server generates the Openflow switch list information issuing mapped streams table, the method also comprises, when the station location marker that SDN controller receives UE changes, send the station location marker that upgrades to server to upgrade mapped streams table, and issue renewal mapped streams table to the Openflow switch in list according to the list information of generation.
11. methods according to claim 10, it is characterized in that, when Openflow switch detects user's deferred information, the method also comprises: Openflow switch uploads Port_state to SDN controller, and SDN controller sends the information of the mapped streams table deleting this user to server;
Server deletes this user's mapped streams table information, and SDN controller generates and issues the 3rd FLOW_MOD message to the Openflow switch in the list of described list information, to delete the information of the mapped streams table of this user.
12., according to the method described in claim 1 ~ 11, is characterized in that, the method also comprises: described server is the network element be connected alternately with SDN controller; Or,
Be arranged at the functional module of SDN controller inside.
13. 1 kinds realize the system of message repeating based on software defined network SDN, it is characterized in that, comprising: user terminal UE, SDN controller, server and Openflow switch; Wherein,
UE, for sending message to Openflow switch;
Openflow switch comprises: message judging unit, hit unit, port information unit, encapsulation unit, decapsulation unit and message repeating unit; Wherein,
According to port information, message judging unit, determines that the message received is the message of user during for receiving data message, or the message of Openflow switch;
Hit unit, for according to the object identify label hit mapped streams table in message, obtains the destination locations corresponding with object identify label and identifies from mapped streams table;
Port information unit, during for being designated the station location marker of source Openflow switch at the destination locations obtained, reads the port information that object identify label is corresponding from message; The port information that object identify label is corresponding is read from the message of decapsulation;
Encapsulation unit, for when the destination locations mark obtained is not the station location marker of source Openflow switch, encapsulates and sends the object Openflow switch of message to destination locations mark correspondence;
Decapsulation unit, for carrying out decapsulation by encapsulated message;
Message repeating unit, for the port information according to port information unit, sends message to object user;
Server, comprising: mapped streams table unit and stream table issue unit; Wherein,
Mapped streams table unit, for generating the mapped streams table of User Identity and station location marker;
Stream table issues unit, for mapped streams table is issued to SDN controller;
SDN controller, comprising: stream table retransmission unit, is forwarded to Openflow switch for the mapped streams table issued by server.
14. systems according to claim 13, is characterized in that, described Openflow switch also comprises: identifier acquiring unit, station location marker uploading unit and port allotting unit; Correspondingly, described SDN controller also comprises data communication interface; Described server also comprises allocation units; Wherein,
Identifier acquiring unit, for when UE logs in, obtains the user identifier of UE, is sent to server by SDN controller;
Station location marker uploading unit, for when UE logs in, is identified by SDN controller uploading position;
Port allotting unit, when logging in for UE, distributes to the corresponding port of UE;
The allocation units of server, when logging in for user terminal UE, obtain user identifier and distribute to the corresponding identify label of user;
The data communication interface of SDN controller, for the identifier acquiring unit of Openflow switch, station location marker uploading unit and port information unit transmission information to server.
15. systems according to claim 14, is characterized in that, described port allotting unit specifically for, distribute to the port between the message of the user ports zone different from the message of Openflow switch;
The message of described user is: the message do not encapsulated that user sends;
The message of described Openflow switch is: the message being packaged with customer location mark.
16. systems according to claim 13, is characterized in that, described message at least comprises: header and message content;
Described header at least comprises: source identify label, object identify label, source port information, destination interface information, protocol type.
17. systems according to any one of claim 13 ~ 16, it is characterized in that, described Openflow switch also comprises: data-message unit; SDN controller also comprises: feedback trigger element, Related Information Unit; Wherein,
Data-message unit, for when hitting the miss mapped streams table of unit, transmission comprises the Packet_in message of object identify label to SDN controller, to be obtained destination locations mark corresponding to object identify label from the data stream list unit of server by SDN controller;
The feedback trigger element of SDN controller, for issuing Packet_out message to source Openflow switch, makes source Openflow switch receive a Flow_mod message; Meanwhile, the 2nd Flow_mod message is sent to object Openflow switch;
Related Information Unit, for sending a Flow_mod message to the hit unit of source Openflow switch, encapsulation unit and decapsulation unit; Send the 2nd Flow_mod message to object Openflow switch to carry out the hit unit of message repeating, encapsulation unit and decapsulation unit.
18. systems according to claim 17, it is characterized in that, a described Flow_mod message comprises: carry the mapped streams table of object identify label and destination locations mark, carry the encapsulation stream table of destination locations mark and carry the decapsulation stream table of source position mark;
Described 2nd Flow_mod message comprises: carry the mapped streams table of source identify label and source position mark, carry the encapsulation stream table of source position mark and carry the decapsulation stream table of destination locations mark.
19. systems according to claim 18, is characterized in that, described SDN controller also comprises: calculating path unit and average information unit; Wherein
Calculating path unit, for according to described source position mark and described destination locations mark, calculates the communication path of source Openflow switch to object Openflow switch;
Average information unit, for when communication path be non-through time, issue the message of the Openflow switch comprising port information corresponding to source position mark and port information corresponding to destination locations mark to all middle Openflow switch in communication path.
20. systems according to claim 17, is characterized in that, described Packet_in message comprises: message or message at the buffer memory ID of Openflow switch, and comprise the match field of object identify label.
21. according to the system described in claim 13 ~ 16, it is characterized in that, described source Openflow switch also comprises caching process unit, for when hitting the miss mapped streams table of unit, when source Openflow switch configuration is buffer memory message and buffer memory is enough, buffer memory is carried out to message, gives SDN controller by the buffer memory ID of message; When source Openflow switch configuration is when buffer memory message or buffer memory are not enough, message is delivered to SDN controller in the subsidiary content of event.
22. systems according to claim 14, is characterized in that, described SDN controller also comprises record cell, for generating the Openflow switch list information issuing mapped streams table;
The station location marker uploading unit of described Openflow switch, also for uploading the station location marker that upgrades when UE moves to the mapped streams table unit of server;
Described mapped streams table unit, also for regenerating the mapped streams table information upgrading station location marker and identify label.
23. systems according to claim 22, is characterized in that, described Openflow switch also comprises deferred information unit, and correspondingly, SDN controller also comprises processed offline unit; Wherein,
Deferred information unit, for when Openflow switch detects user's deferred information, uploads Port_state information to SDN controller;
The processed offline unit of SDN controller, for sending the information of deleting user's mapped streams table to server according to Port_state information; Generate corresponding 3rd FLOW_MOD message of deleting user's mapped streams table information;
Mapped streams table unit, also carries out the deletion of user's mapped streams table information for the information of the mapped streams table of this user of deletion sent according to SDN controller;
The stream table retransmission unit of SDN controller, also for the list information according to record cell, is issued to the Openflow switch in list information by the 3rd FLOW_MOD message, to delete the information of the mapped streams table of this user.
24., according to the system described in claim 13 ~ 23, is characterized in that, described server is the network element be connected alternately with SDN controller; Or,
Be arranged at the functional module of SDN controller inside.
25. 1 kinds realize the Openflow switch of message repeating based on software defined network SDN, it is characterized in that, comprising: message judging unit, hit unit, port information unit, encapsulation unit, decapsulation unit and message repeating unit; Wherein,
According to port information, message judging unit, determines that the message received is the message of user or the message of Openflow switch during for receiving data message;
Hit unit, for according to the object identify label hit mapped streams table in message, obtains the destination locations corresponding with object identify label and identifies from mapped streams table;
Port information unit, during for being designated the station location marker of source Openflow switch at the destination locations obtained, reads the port information that object identify label is corresponding from message; The port information that object identify label is corresponding is read from the message of decapsulation;
Encapsulation unit, for when the destination locations mark obtained is not the station location marker of source Openflow switch, encapsulated message is also sent to object Openflow switch corresponding to destination locations mark;
Decapsulation unit, for carrying out decapsulation by encapsulated message;
Message repeating unit, for the port information according to port information unit, is sent to object user by message.
26. Openflow switches according to claim 25, is characterized in that, this Openflow switch also comprises: identifier acquiring unit, station location marker uploading unit and port allotting unit; SDN controller also comprises data communication interface; Server also comprises allocation units; Wherein,
Identifier acquiring unit, for when UE logs in, obtains the user identifier of UE, is sent to server by SDN controller;
Station location marker uploading unit, for when UE logs in, is identified by SDN controller uploading position;
Port allotting unit, when logging in for UE, distributes to the corresponding port of UE;
The allocation units of server, when logging in for user terminal UE, obtain user identifier and distribute to the corresponding identify label of user;
The data communication interface of SDN controller, for the transmission information of the identifier acquiring unit of Openflow switch, station location marker uploading unit and port information unit to server.
27. Openflow switches according to claim 25, is characterized in that, described port allotting unit specifically for, distribute to the port between the message of the user ports zone different from the message of Openflow switch;
The message of described user is: the message do not encapsulated that user sends;
The message of described Openflow switch is: the message being packaged with customer location mark.
28. Openflow switches according to claim 25, it is characterized in that, described message at least comprises: header and message content;
Described header at least comprises: source identify label, object identify label, source port information, destination interface information, protocol type.
29. Openflow switches according to any one of claim 25 ~ 28, it is characterized in that, this Openflow switch also comprises: data-message unit; SDN controller also comprises: feedback trigger element, Related Information Unit; Wherein,
Data-message unit, for when hitting the miss mapped streams table of unit, sends the Packet_in message SDN controller comprising object identify label, to obtain destination locations mark corresponding to object identify label by SDN controller from server;
The feedback trigger element of SDN controller, for issuing Packet_out message to source Openflow switch, makes source Openflow switch receive a Flow_mod message; Meanwhile, the 2nd Flow_mod message is sent to object Openflow switch;
Related Information Unit, for sending a Flow_mod message to the hit unit of source Openflow switch, encapsulation unit and decapsulation unit; Send the 2nd Flow_mod message to object Openflow switch to carry out the hit unit of message repeating, encapsulation unit and decapsulation unit.
30. Openflow switches according to claim 29, it is characterized in that, a described Flow_mod message comprises: carry the mapped streams table of object identify label and destination locations mark, carry the encapsulation stream table of destination locations mark and carry the decapsulation stream table of source position mark;
Described 2nd Flow_mod message comprises: carry the mapped streams table of source identify label and source position mark, carry the encapsulation stream table of source position mark and carry the decapsulation stream table of destination locations mark.
31. Openflow switches according to claim 29, is characterized in that, described Packet_in message comprises: message or message at the buffer memory ID of Openflow switch, and comprise the match field of object identify label.
32. Openflow switches according to claim 25, it is characterized in that, described port information unit, also for when calculating source Openflow switch according to described source position mark and described destination locations mark SDN controller and not being through to the communication path of object Openflow switch, what receive that SDN controller issues comprises the port information that port information corresponding to source position mark and destination locations identify correspondence.
33. according to the Openflow switch described in claim 25 ~ 28, it is characterized in that, this Openflow switch also comprises caching process unit, for when hitting the miss mapped streams table of unit, when source Openflow switch configuration is buffer memory message and buffer memory is enough, buffer memory is carried out to message, gives SDN controller by the buffer memory ID of message; When source Openflow switch configuration is when buffer memory message or buffer memory are not enough, message is delivered to SDN controller in the subsidiary content of event.
34. 1 kinds realize the server of message repeating based on software defined network SDN, it is characterized in that, comprising: allocation units and mapped streams table unit; Wherein,
Allocation units, when logging in for user terminal UE, obtain user identifier and distribute to the corresponding identify label of user;
Mapped streams table unit, station location marker for the source Openflow switch of the identify label that distributes according to allocation units and UE generates the mapped streams table of user, and by SDN controller, mapped streams table is handed down to Openflow switch, to carry out the message repeating of SDN.
35. servers according to claim 34, is characterized in that, this server also comprises stream table and issues unit; Wherein,
Stream table issues unit, for the mapped streams table of mapped streams table unit is issued to SDN controller;
Mapped streams table unit, the station location marker also moving the change of generation for receiving SDN controller UE position is, according to the station location marker of change location identification renewal and the mapped streams table information of identify label.
36. servers according to claim 34, it is characterized in that, this server also comprises processed offline unit, for according to the mapped streams table information uploading to this user of SDN controller Port_state information deletion during user's off-line, notify that the Openflow switch of this user's mapped streams table of all preservations deletes the mapped streams table information of this user by SDN controller.
CN201410020251.6A 2014-01-16 2014-01-16 Method and system for realizing message forwarding based on SDN, Openflow switch and server Active CN104796344B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410020251.6A CN104796344B (en) 2014-01-16 2014-01-16 Method and system for realizing message forwarding based on SDN, Openflow switch and server
PCT/CN2014/080771 WO2015106544A1 (en) 2014-01-16 2014-06-25 Sdn-based packet forwarding method and system, openflow switches and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410020251.6A CN104796344B (en) 2014-01-16 2014-01-16 Method and system for realizing message forwarding based on SDN, Openflow switch and server

Publications (2)

Publication Number Publication Date
CN104796344A true CN104796344A (en) 2015-07-22
CN104796344B CN104796344B (en) 2020-01-14

Family

ID=53542357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410020251.6A Active CN104796344B (en) 2014-01-16 2014-01-16 Method and system for realizing message forwarding based on SDN, Openflow switch and server

Country Status (2)

Country Link
CN (1) CN104796344B (en)
WO (1) WO2015106544A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262704A (en) * 2015-09-15 2016-01-20 中国人民解放军信息工程大学 Mapping device based on controller and switch, and mapping method thereof
CN105591953A (en) * 2015-09-18 2016-05-18 杭州华三通信技术有限公司 Method and device for implementation of OpenFlow example
CN105591805A (en) * 2015-09-28 2016-05-18 杭州华三通信技术有限公司 Method and device for modification of service chain configuration
CN105847157A (en) * 2016-03-21 2016-08-10 中国人民解放军国防科学技术大学 End-to-end communication method between identification networks based on SDN
CN106789703A (en) * 2017-01-12 2017-05-31 上海斐讯数据通信技术有限公司 A kind of traffic policing algorithm based on SDN frameworks
CN107147577A (en) * 2017-05-04 2017-09-08 北京邮电大学 A kind of data forwarding method and system based on software defined network SDN
CN107222545A (en) * 2017-06-20 2017-09-29 北京全域医疗技术有限公司 A kind of data transmission method and device
WO2018018567A1 (en) * 2016-07-29 2018-02-01 华为技术有限公司 Method and device for managing switch
CN109005116A (en) * 2017-06-07 2018-12-14 华为技术有限公司 A kind of message forwarding method and device
CN110535771A (en) * 2018-05-24 2019-12-03 中兴通讯股份有限公司 A kind of data forwarding method, the network equipment and computer readable storage medium
CN111343096A (en) * 2020-02-21 2020-06-26 深圳市风云实业有限公司 Method, equipment, exchange chip and storage medium for forwarding label-ground separation message
CN113315704A (en) * 2021-05-20 2021-08-27 中国联合网络通信集团有限公司 Message forwarding method, SDN controller, switch and system
CN114885443A (en) * 2022-07-01 2022-08-09 之江实验室 Multi-mode network control system and method supporting mobile access of terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025789A (en) * 2009-09-17 2011-04-20 中兴通讯股份有限公司 Address mapping maintenance method and address mapping system
WO2011065268A1 (en) * 2009-11-26 2011-06-03 日本電気株式会社 Load distribution system, load distribution method, and program
CN102594689A (en) * 2012-02-22 2012-07-18 中兴通讯股份有限公司 Distributed network control method and device
CN102714628A (en) * 2010-01-05 2012-10-03 日本电气株式会社 Communication system, control apparatus, processing rule setting method, packet transmitting method and program
CN103051629A (en) * 2012-12-24 2013-04-17 华为技术有限公司 Software defined network-based data processing system, method and node
CN103209121A (en) * 2013-03-15 2013-07-17 中兴通讯股份有限公司 Discovery method and device based on Open Flow protocol for control plane device
CN103391296A (en) * 2013-07-29 2013-11-13 北京华为数字技术有限公司 Controller, openflow switch and method and system of channel establishing
CN103428771A (en) * 2013-09-05 2013-12-04 迈普通信技术股份有限公司 Communication method, software defined network SDN switch and communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051539B (en) * 2012-12-14 2015-09-16 中兴通讯股份有限公司 A kind of net control implementation method based on DHT, System and Network controller

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025789A (en) * 2009-09-17 2011-04-20 中兴通讯股份有限公司 Address mapping maintenance method and address mapping system
WO2011065268A1 (en) * 2009-11-26 2011-06-03 日本電気株式会社 Load distribution system, load distribution method, and program
CN102714628A (en) * 2010-01-05 2012-10-03 日本电气株式会社 Communication system, control apparatus, processing rule setting method, packet transmitting method and program
CN102594689A (en) * 2012-02-22 2012-07-18 中兴通讯股份有限公司 Distributed network control method and device
CN103051629A (en) * 2012-12-24 2013-04-17 华为技术有限公司 Software defined network-based data processing system, method and node
CN103209121A (en) * 2013-03-15 2013-07-17 中兴通讯股份有限公司 Discovery method and device based on Open Flow protocol for control plane device
CN103391296A (en) * 2013-07-29 2013-11-13 北京华为数字技术有限公司 Controller, openflow switch and method and system of channel establishing
CN103428771A (en) * 2013-09-05 2013-12-04 迈普通信技术股份有限公司 Communication method, software defined network SDN switch and communication system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
NICK MCKEOWN: "OpenFlow: Enabling Innovation in Campus Networks", 《ACM SIGCOMM COMPUTER COMMUNICATION REVIEW》 *
OPENFLOW: "OpenFlow Switch Specification", 《OPEN NETWORK FOUNDATION》 *
PING DONG: "An Efficient Approach to Map Identity onto Locator", 《INTERNATIONAL CONFERENCE ON MOBILE TECHNOLOGY》 *
ZHANGFENG HU: "A GENERIC AND SCALABLE MAPPING SYSTEM FOR ID/LOCATOR SEPARATION BASED FUTURE INTERNET ARCHITECTURES", 《 INTERNATIONAL CONFERENCE ON AUTOMATIC CONTROL AND ARTIFICIAL INTELLIGENCE (ACAI 2012) 》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262704A (en) * 2015-09-15 2016-01-20 中国人民解放军信息工程大学 Mapping device based on controller and switch, and mapping method thereof
CN105591953A (en) * 2015-09-18 2016-05-18 杭州华三通信技术有限公司 Method and device for implementation of OpenFlow example
CN105591805A (en) * 2015-09-28 2016-05-18 杭州华三通信技术有限公司 Method and device for modification of service chain configuration
CN105591805B (en) * 2015-09-28 2018-10-26 新华三技术有限公司 A kind of method and apparatus of modification service chaining configuration
CN105847157A (en) * 2016-03-21 2016-08-10 中国人民解放军国防科学技术大学 End-to-end communication method between identification networks based on SDN
CN105847157B (en) * 2016-03-21 2018-12-18 中国人民解放军国防科学技术大学 Communication means end to end between mark network based on SDN
WO2018018567A1 (en) * 2016-07-29 2018-02-01 华为技术有限公司 Method and device for managing switch
CN106789703A (en) * 2017-01-12 2017-05-31 上海斐讯数据通信技术有限公司 A kind of traffic policing algorithm based on SDN frameworks
CN106789703B (en) * 2017-01-12 2020-10-13 上海斐讯数据通信技术有限公司 SDN architecture-based traffic supervision method
CN107147577A (en) * 2017-05-04 2017-09-08 北京邮电大学 A kind of data forwarding method and system based on software defined network SDN
CN109005116A (en) * 2017-06-07 2018-12-14 华为技术有限公司 A kind of message forwarding method and device
CN109005116B (en) * 2017-06-07 2020-07-24 华为技术有限公司 Message forwarding method and device
CN107222545A (en) * 2017-06-20 2017-09-29 北京全域医疗技术有限公司 A kind of data transmission method and device
CN110535771A (en) * 2018-05-24 2019-12-03 中兴通讯股份有限公司 A kind of data forwarding method, the network equipment and computer readable storage medium
CN111343096A (en) * 2020-02-21 2020-06-26 深圳市风云实业有限公司 Method, equipment, exchange chip and storage medium for forwarding label-ground separation message
CN111343096B (en) * 2020-02-21 2023-12-15 深圳市风云实业有限公司 Method, equipment, exchange chip and storage medium for forwarding standard separation message
CN113315704A (en) * 2021-05-20 2021-08-27 中国联合网络通信集团有限公司 Message forwarding method, SDN controller, switch and system
CN114885443A (en) * 2022-07-01 2022-08-09 之江实验室 Multi-mode network control system and method supporting mobile access of terminal
US11917523B2 (en) 2022-07-01 2024-02-27 Zhejiang Lab Polymorphic network control system and method supporting mobile access of terminal

Also Published As

Publication number Publication date
WO2015106544A1 (en) 2015-07-23
CN104796344B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN104796344A (en) Method, system, Openflow switch and server for realizing message forwarding based on SDN
US10237089B2 (en) Packet tunneling method, switching device, and control device
CN109756425B (en) Multicast forwarding method, device and BFR
CN104702479B (en) The method and apparatus that tunnel is established in SDN network
US9325615B2 (en) Method and apparatus for implementing communication between virtual machines
CN104506408B (en) The method and device of data transfer based on SDN
KR101530594B1 (en) Communication system, information processing device, communication node, communication method, and computer-readable storage medium storing program
CN104901891A (en) Method and device for forwarding multicast message
US9876706B2 (en) Relay system and switching device for a layer 3 network
CN104618194B (en) Software defined network monitoring messages method and SDN controllers, switching equipment
CN102170386B (en) The implementation method that identify label is separated with position, system and data encapsulation method
WO2014136864A1 (en) Packet rewriting apparatus, control apparatus, communication system, packet transmitting method and program
CN101951589B (en) Method for information acquisition/notification, data message retransmission and switching and access node
US20160330167A1 (en) Arp Implementation Method, Switch Device, and Control Device
CN104468384A (en) System and method for achieving multi-service priorities
CN104283785A (en) Method and device for processing flow table rapidly
CN101945034A (en) Data switching system and method based on locator identify separation protocol (LISP)
CN104243270A (en) Tunnel setup method and tunnel setup device
CN104363170A (en) Data flow forwarding method and device in software defined network (SDN)
EP3113425B1 (en) Encapsulation method for service routing packet, service forwarding entity and control plane
US20160149795A1 (en) Overlay network-based original packet flow mapping apparatus and method therefor
CN109936492B (en) Method, device and system for transmitting message through tunnel
US20130266011A1 (en) Transparent rbridge
CN103957161B (en) A kind of message forwarding method and its device
KR102025680B1 (en) SDN based ARP implementation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant