CN104980373A - Control server, control server application system and control server application method - Google Patents

Control server, control server application system and control server application method Download PDF

Info

Publication number
CN104980373A
CN104980373A CN201410135557.6A CN201410135557A CN104980373A CN 104980373 A CN104980373 A CN 104980373A CN 201410135557 A CN201410135557 A CN 201410135557A CN 104980373 A CN104980373 A CN 104980373A
Authority
CN
China
Prior art keywords
switch
list item
packet
control server
stream list
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
CN201410135557.6A
Other languages
Chinese (zh)
Other versions
CN104980373B (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.)
Shanghai Broadband Technology and Application Engineering Research Center
Original Assignee
Shanghai Broadband Technology and Application Engineering Research Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Broadband Technology and Application Engineering Research Center filed Critical Shanghai Broadband Technology and Application Engineering Research Center
Priority to CN201410135557.6A priority Critical patent/CN104980373B/en
Publication of CN104980373A publication Critical patent/CN104980373A/en
Application granted granted Critical
Publication of CN104980373B publication Critical patent/CN104980373B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a control server, a control server application system and a control server application method. The control server is connected with a plurality of switches, the switches can be connected via paths, and each switch can be connected with one or a plurality of terminal devices, thereby forming a large two-layer network. The control server comprises a network construction module, a route calculating module, an address mapping module, a flow management module, a flow table updating module and an ARP processing module. By the uniform management and control of the control server to the whole network switching equipment, the route information of the large two-layer network is configured rapidly, and the network convergence time is reduced. By using the controller to processing an addressing request, the broadcast addressing requests in the network are reduced, and the transmission delay is also reduced. Meanwhile, the management and control of the system are mainly concentrated in the control server, so that the control server just needs to be configured for the updating and modification of the whole network route, and the execution of the management measures is simplified.

Description

The system and method for a kind of Control Server and application thereof
Technical field
The present invention relates to a kind of computer network field, particularly relate to the system and method for a kind of Control Server and application thereof.
Background technology
In traditional data center server district network design, usually the scope of double layer network is limited in below network access layer, avoids occurring large-scale L 2 broadcast territory.Along with the development of Intel Virtualization Technology, the virtual raising being not only server utilization brought to data center, also has the change of the network architecture.Specifically, an association technology-dynamic migration of virtual machine of Intel Virtualization Technology in the data the heart be widely used.But virtual machine (vm) migration require the IP before and after virtual machine (vm) migration and MAC Address constant, this is in inside, same two layers of territory with regard to needing the network before and after virtual machine (vm) migration.Because the increasing extent of customer requirement virtual machine (vm) migration is large, or even cross over the migration between different geographical, different machine room, so make the increasing extent of data center's double layer network large, occur this frontier special topic of large double layer network of specialty.
Large double layer network is extended by extensive double layer network and VLAN, realize the migration on a large scale of virtual machine interior portion in the data, large double layer network in data center needs to cover multiple access switch and core switch, along with the polycentric deployment of data center, virtual machine across data center's migration, calamity is standby, across demands such as data center traffic load balancings, till making the expansion of double layer network be not only the border of the heart in the data, also need the region considering to cross over data center machine room, extend to same city backup center, long-range Disaster Preparation Center.Therefore, in large double layer network, transfer of data is more frequent and data volume is large.
Tradition double layer network, because convergence time is long, switch needs to learn the shortcomings such as whole net MAC, is not suitable for building large-scale double layer network, therefore creates the technology of the large two layers of networking of data center, as TRILL/FabricPath, SPB etc.But these technology still adopt distributed routing protocol calculating path, cause convergence time long, and its addressing system is still the whole network broadcast addressing, causes transmission delay longer.Meanwhile, in these technology of TRILL/FabricPath, SPB, and unrealized traffic management, effectively cannot dispose Internet resources, configure and utilize.
Therefore, in large double layer network, how to determine the route between switching equipment fast, reduce convergence time, reduce the delay of transfer of data, become the technical problem that those skilled in the art are urgently to be resolved hurrily.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide the system and method for a kind of Control Server and application thereof, for solving the router-level topology overlong time in prior art between large two-layer network exchanger, the problem of the longer grade of transmission delay.
For achieving the above object and other relevant objects, the invention provides a kind of Control Server, described Control Server is connected with multiple switch, described multiple switch is identified by preallocated switch ID, described multiple switch is connected to terminal, and described Control Server comprises routing calculation module, network struction module, stream table update module, address mapping module and ARP processing module; Described network struction module presets routing strategy for determining routing algorithm and for selecting the traffic management rule of reasonable route; Described routing calculation module is for obtaining the topology information of described multiple switch and described routing strategy, and the topological structure of the routing algorithm that described routing calculation module is determined according to described routing strategy and described switch calculates the routed path information between any two described switches; Described routed path information is using in described any two switches as source switch and another determined as object switch; Described routing calculation module is selected reasonable routing iinformation according to described traffic management rule and described reasonable routing iinformation is sent to described stream table update module in described routed path information; Described stream table update module is for generating the stream list item of described each switch, and described stream list item is sent to each described switch, described stream list item comprises matching domain and instruction, utilize the stream list item in described handing-over machine to process packet for described switch, described packet is the packet that the source terminal be directly connected with described switch will send; Described process comprises mates the matching domain of described packet with the stream list item in described switch, performs the instruction of the stream list item that the match is successful when the match is successful in described switch; Described stream table update module is converted to the described reasonable routing iinformation received the route flow list item of the switch corresponding to described reasonable routing iinformation, and is issued in corresponding switch by described route flow list item; The matching domain of described route flow list item comprises described object switch ID, and the instruction of described route flow list item comprises and forwarding the packet of described coupling according to described reasonable routing iinformation; Described ARP bag stream list item also for generating ARP bag stream list item, and is sent in the switch of described source by described stream table update module; The ARP bag that described ARP bag stream list item receives for the treatment of described source switch, the instruction of described ARP bag stream list item comprises the ARP processing module of described ARP Packet forwarding to described path control deivce; Described stream table update module also for switch according to the process of described ARP processing module forward packet request generate flow list item accordingly, and corresponding stream list item is sent to the packet forwarding described coupling switch;
Described ARP processing module receives the ARP bag that described source switch forwards, and the corresponding relation setting up source terminal information that described ARP comprises and described source exchanger information is stored in described address mapping module; Call described stream table update module and set up the first process stream list item, described first process stream list item is sent to described source switch; The matching domain of described first process stream list item comprises described source terminal address and source switch ID, and the instruction of described first process stream list item comprises the switch ports themselves mated packet being forwarded to the connection of described source terminal; Described ARP processing module inquires about the corresponding relation of the object IP address of terminal whether existed in described ARP bag in described address mapping module; If exist, then obtain object switch ID corresponding to described object IP address of terminal and described object terminal MAC address, call described stream table update module and set up the second process stream list item, described second process stream list item is sent to described source switch; The matching domain of described second process stream list item comprises described source terminal MAC Address and described object terminal MAC address, and the instruction of described second process stream list item comprises adding purpose switch ID to mated packet; If do not exist, then packet loss.
Preferably, described Control Server also comprises traffic management module, described stream list item comprises the counter for data flow quantity statistical relevant information, described traffic management module obtains the relevant information of each stream list item counter in described each switch, obtains the flow information of each bar routed path according to the relevant information of described counter; Described traffic management module, according to described flow information and default management strategy, is determined new traffic management rule, and described new traffic management rule is sent to described network struction module.
Preferably, described management strategy also for determining management strategy, and is sent to described traffic management module by described network struction module.
The invention provides a kind of large double layer network system, it is characterized in that: described large double layer network system comprises the Control Server in multiple be connected with terminal switch and a claims 1 to 3 described in arbitrary claim, described Control Server is connected with multiple switch, and described multiple switch is identified by preallocated switch ID; Described switch comprises one or more stream tables, often opens stream table and comprises one or more stream list items; Described switch receives the packet that terminal that described switchboard direct connects in succession will send, and is mated by described packet, perform the instruction of the stream list item that the match is successful with the stream list item in described stream table.
The invention provides a kind of large double layer network implementation method, described large double layer network implementation method at least comprises: Control Server generates and determines the routed path information of any two inter-exchanges, the routed path information described routed path information comprises from source switch to object switch; Described multiple routed path information is converted to the corresponding route flow list item of described routed path information by described Control Server, the matching domain of described route flow list item comprises described object switch ID, and instruction comprises and the packet that the match is successful being forwarded according to described routed path information; Described route flow list item is issued in corresponding switch by described Control Server; Described Control Server is described each switch generation ARP bag stream list item, and the ARP Packet forwarding of reception is given described service controller process by described ARP bag stream list item, and is sent in described switch by described ARP bag stream list item; ARP bag is sent in the switch of described source by source terminal, and in the switch of described source, described ARP bag and described ARP wraps and flow list item the match is successful, performs that described the match is successful flows the instruction of list item, is wrapped by described ARP and sends to described Control Server; The corresponding relation of the ARP bag source terminal address that described Control Server storage receives and source switch ID, calls described stream table update module and sets up the first process stream list item, and described first process stream list item is sent to described source switch; The matching domain of described first process stream list item comprises described source terminal address and source switch ID, and the instruction of described first process stream list item comprises the source switch ports themselves mated packet being forwarded to the connection of described source terminal; Described ARP processing module inquires about the corresponding relation of the object IP address of terminal whether existed in described ARP bag in described address mapping module; If exist, then obtain object switch ID corresponding to described object IP address of terminal and described object terminal MAC address, call described stream table update module and set up the second process stream list item, described second process stream list item is sent to described source switch; The matching domain of described second process stream list item comprises described source terminal IP address and described object terminal MAC address, and the instruction of described second process stream list item comprises adding purpose switch ID to mated packet; Source terminal is by Packet Generation in described switch, and in described switch, described packet and second processes and flows list item the match is successful, and performing the instruction of described the match is successful stream list item, is that described packet adds upper described object switch ID; The match is successful for described packet and described route flow list item, performs the instruction of described the match is successful stream list item, forwarded by described packet; In described switch, described packet and first processes and flows list item the match is successful, performs the instruction of described the match is successful stream list item, mated packet is forwarded to described terminal prot.
Preferably, described large double layer network implementation method also comprises: the stream list item of described source switch mates the packet received, and does not have the stream list item that the match is successful, then abandons described packet.
Preferably, described Control Server generates and determines that the specific implementation of the routed path information of any two inter-exchanges comprises: described Control Server obtains the switch-layer topology structure of described large double layer network; Described Control Server determination routing strategy; Described Control Server generates the routed path information of any two inter-exchanges according to switch-layer topology structure and routing strategy; Described Control Server is that arbitrary source switch determines the routed path information that described source switch is relevant according to the management strategy preset.
Preferably, described Control Server determines that according to the object terminal address of the packet received the concrete methods of realizing of the object switch ID of described packet comprises: the corresponding relation that whether there is the object terminal address in described packet in the information that described Control Server inquiry stores, if exist, then obtain the object switch ID that described object terminal address is corresponding.
Preferably, described Control Server determines that according to the object terminal address of the packet received the concrete methods of realizing of the object switch ID of described packet comprises: described Control Server sets up broadcasting stream list item, the matching domain of described broadcasting stream list item comprises object terminal address, and the instruction of described broadcasting stream list item comprises employing broadcast mode and obtains described object switch ID; Described broadcasting stream list item is sent to described switch by described Control Server.
Preferably, described large double layer network implementation method also comprises: described Control Server obtains and adds up the relevant information of the route flow list item in all switches, the flow information of each bar routed path is determined according to the statistical information of each route flow list item, and according to described flow information determination traffic management rule.
As mentioned above, the system and method for a kind of Control Server of the present invention and application thereof, there is following beneficial effect: by the unified management and control of Control Server for the whole network switching equipment, the routing iinformation of the large double layer network of rapid configuration, reduce network convergence time, and by controller process addressing request, reduce the request of broadcast addressing in network, reduce transmission delay.Meanwhile, because the management and control of native system mainly concentrates on Control Server, for whole networking by renewal and amendment only need configure Control Server, simplify the execution of control measures.
Accompanying drawing explanation
Fig. 1 is shown as the system module schematic diagram of a kind of large double layer network system of the present invention.
Fig. 2 is shown as the schematic flow sheet of a kind of large double layer network implementation method of the present invention.
Fig. 3 is shown as the example schematic of a kind of large double layer network system of the present invention.
Element numbers explanation
1 Control Server
11 network struction modules
12 routing calculation module
13 stream table update module
14 ARP processing modules
15 address mapping module
16 traffic management modules
2 Overflow switches
3 terminals
S1 ~ S6 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
As shown in Figure 1, in embodiments of the invention, large double layer network system comprises a Control Server 1 and multiple switch 2, Control Server 1 is connected with multiple switch, and described switch 2, for having the switch of stream list processing ability, is generally overflow switch.During described large double layer network initialization, the system switch ID for identifying that has been the preassignment of each switch 2.Have path to be connected between switch 2, each switch 2 can be attached one or more terminal.
Described Control Server 1 comprises network struction module 11, routing calculation module 12, stream table update module 13, ARP processing module 14, address mapping module 15 and traffic management module 16.
Network struction module 11 is preset with the routing strategy for determining routing algorithm, and for selecting the traffic management rule of reasonable route.Described management strategy also for determining management strategy, and is sent to traffic management module 16 by described network struction module 11, receives the traffic management rule that traffic management module sends.Particularly, user can select the routing strategy of large double layer network by network struction module 11, management strategy, traffic management rule, wherein, routing strategy is used for supplying routing calculation module 12 to determine the routing algorithm adopted when calculating routed path information.Management strategy is used for for traffic management module, and traffic management module 16, according to the path flow information in route network, judges the congestion state of each routed path, and then according to management strategy determination traffic management rule.
Described routing calculation module 12 is for obtaining the topology information of described multiple switch 2 and described routing strategy, and the topological structure of the routing algorithm that described routing calculation module 12 is determined according to described routing strategy and described switch 2 calculates the routed path information between any two described switches 2; Described routed path information is using in described any two switches 2 as source switch and another determined as object switch; Described routing calculation module 12 is selected reasonable routing iinformation according to traffic management rule and described reasonable routing iinformation is sent to described stream table update module 13 in described routed path information.Particularly, large bilaminar system can set up the annexation between Control Server 1 and respective switch 2 when initialization, for each switch 2 distributes the mark of a switch ID as this equipment, and obtains the topology information of large double layer network switch 2.Routing calculation module 12 obtains routing strategy from network struction module 11, determine according to routing strategy the routing algorithm calculating the employing of routed path information, routing calculation module 12 calculates the optimum routed path information under different module of every two switches 2 according to described switch-layer topology structural information and routing algorithm.Described two switches one are source switch, switch for the purpose of another, and routed path information is the routed path information from source switch to object switch; Routed path information between every two switches all comprises the routed path information of relative both direction, and namely in two switches 2, any one can as source switch.Described module comprises path, reliability, time delay etc.Described routing calculation module 12 according to the traffic management rule obtained from network struction module 11 for any one switch 2 described take this switch 2 as reasonable routing iinformation in the routed path information of source switch selection one or more this source switch 2 to other switches, and all described reasonable routing iinformation of all switches is sent to described stream table update module 13.
Described route flow list item for receiving described routed path information and being converted to the route flow list item on each described switch 2, and is issued in described switch 2 by described stream table update module 13.Described stream list item comprises matching domain, counter and instruction.Matching domain is used for mating the packet header content of the packet that switch receives; Counter can in switch often open stream table, each data flow, each device port, each forwarding queue safeguard, for the relevant information of data flow quantity statistical.Such as: for often opening stream table, the list item number, packet inquiry times, data packet matched number of times etc. of current active is added up; For each data flow, add up the number-of-packet, byte number, data flow duration etc. that receive; For each device port, add up the index such as number-of-packet, transmission number-of-packet, reception byte number, transmission byte number received; For each queue, the number-of-packet that statistics sends and byte number etc.Instruction is used to indicate switch 2 and should how processes it after receiving the packet of coupling.In the route flow list item of routed path information conversion, matching domain comprises object switch ID, and instruction comprises the forwarding of the packet of coupling.Because described routing iinformation is the routing iinformation between every two switches, described source switch refers to the switch 2 sending packet, object switch refers to and receives the switch 2 of packet, described routed path information refer to packet from source switch be sent to that object exchanges the relevant information of transmit path of process.Described ARP bag stream list item also for generating ARP bag stream list item, and is sent in the switch of described source by described stream table update module; The ARP bag that described ARP bag stream list item receives for the treatment of described source switch, the instruction of described ARP bag stream list item comprises the ARP processing module of the ARP Packet forwarding of coupling to described path control deivce.ARP, i.e. address resolution protocol, by following this agreement, as long as we are aware of the IP address of certain machine, namely can know its physical address.ARP is surrounded by fixing types value, is generally 0x0806, and the packet with described fixed class offset is ARP bag.The types value that the matching domain of ARP bag stream list item comprises packet is ARP Packet type value.Such ARP bag stream list item can detect the ARP bag of coupling.
Switch 2 receives the packet that the terminal that is directly connected with it sends, and in the present invention, described packet comprises ipv bag.Now, switch 2 utilizes the stream list item in source switch 2 to mate described packet as source switch, if find the stream list item that the match is successful, then described in obtaining, the match is successful flows the instruction of list item and performs.A packet can mate multiple stream list item, and described stream list item can have priority, and when mating multiple stream list item, the instruction in the stream list item that priority is high first performs.The realization of described priority can by arranging special Priority field to realize in stream list item, can see OpenFlow agreement 1.3; Also can be realized by the order controlling coupling.The priority of the stream list item that ARP processing module generates is higher than the route flow list item obtained by switch routed path convert information.Source switch is directly connected with transmitting terminal.Object switch is directly connected with object terminal.
The corresponding relation record of terminal 3 that described address mapping module 15 stores described switch 2 and is directly connected with described switch 2, described corresponding relation comprises the corresponding relation of the switch ID of described switch 2 and the address information of described terminal 3.The address information of described terminal can comprise IP address information, also can comprise mac address information.
Described ARP processing module 14 receives the packet that source switch 2 forwards, and usually can comprise source terminal address information (also can be described as transmitting terminal address information), object IP address of terminal (also can be described as receiving terminal IP address) in ARP bag.ARP processing module 14 is stored in the source terminal address information in described packet and the corresponding relation between described source switch ID in address mapping module 15.Described corresponding relation comprises IP address of terminal, terminal MAC address, switch ID, the switch ports themselves that terminal connects.ARP processing module 14 is called described stream table update module 13 and is set up the first process stream list item, and described first process stream list item is sent to described source switch 2; The matching domain of described first process stream list item comprises described source terminal address and source switch ID, and the instruction of described first process stream list item comprises mated packet is forwarded to described source terminal port; Generated first process stream list item is sent to source switch by stream table update module 13.
Described ARP processing module 14 inquires about the corresponding relation of the object IP address of terminal whether existed in described packet in described address mapping module 15, if exist, then obtains the object switch ID that described object IP address of terminal is corresponding, object terminal MAC address.ARP processing module 14 call described stream table update module 13 set up interpolation second add ID flow list item.Particularly, ARP processing module 14 can by described source terminal MAC Address, and object switch ID and object terminal MAC address send to described stream table update module 13.Described stream table update module 13 is according to described source terminal MAC Address, and object switch ID and object terminal MAC address information set up the second process stream list item.The matching domain of the second process stream list item comprises source terminal MAC Address and object terminal MAC address, and the instruction of the second process stream list item comprises adding purpose switch ID to mated packet.Generated second process stream list item is sent to source switch by stream table update module 13.
Described ARP processing module 14 inquires about the corresponding relation of the object IP address of terminal in the packet that whether there is source switch 2 forwarding in described address mapping module 15, if do not exist, abandons described ARP and wraps.
Flow measurement module 16 obtains and adds up the relevant information of all stream list items in all switches 2.Particularly, the relevant information of described stream list item comprises the information in the counter of stream list item, and the relevant information of flow measurement module 16 to each stream list item is added up, and obtains the flow information of each bar routed path.Described traffic management module 16 obtains management strategy or default management strategy from network struction module 11, the congestion state of each routed path is judged according to the flow information of each bar routed path, and determine new traffic management rule according to the congestion state of each routed path and management strategy, and described traffic management rule is sent to described network struction module 11.Traffic management rule comprises certain routed path of forbidding, enables certain routed path etc.Article one, routed path also can be called a link.
As shown in Figure 2, the invention provides the implementation method in a kind of large double layer network system, described implementation method can be applicable to above-mentioned large double layer network system, and the implementation method of large double layer network system comprises the following steps:
Step S1, Control Server generates and determines the routed path information of any two inter-exchanges, the routed path information described routed path information comprises from source switch to object switch.Particularly, Control Server can comprise network struction module, routing calculation module, stream table update module, ARP processing module, address mapping module and traffic management module.When Control Server and each switch establish a connection, Control Server distributes a switch ID in order to identify each switch device can to each switch, the concurrent configuration information that send is to described switch, make switch can send its link information to Control Server, Control Server obtains the topological structure of switch according to the link information of switch.The interconnective form of respective switch in the topological structure of described switch and large double layer network.Routing calculation module in Control Server obtains topological structure and the routing strategy of switch, and according to routing strategy determination routing algorithm, routing calculation module calculates routed path information between every two switches according to the topological structure of switch and routing algorithm.Described routing strategy can be preset by network struction module.The routing algorithm that routing calculation module is determined according to switch-layer topology and routing strategy, calculates the optimal path of often pair of switch under different module, as the path of double layer network.Wherein, module comprises path, reliability, time delay etc.Namely routed path information between described every two switches specify link information between link communication information between every two switches or every two switches.Described two switches one are source switch, switch for the purpose of another, and routed path information is the routed path information from source switch to object switch; Routed path information between every two switches all comprises the routed path information of relative both direction, and namely in two switches, any one can as source switch.Described routing calculation module is the reasonable routing iinformation that any one switch determines one or more this source switch to other switches in the described routed path information being source switch with this switch according to the traffic management rule obtained from network struction module, and all described reasonable routing iinformation of all switches is sent to described stream table update module.
Step S2, multiple routed path information that described source switch is relevant are converted to route flow list item by described Control Server, and the matching domain of described route flow list item comprises described object switch ID, and the packet that instruction comprises the match is successful forwards; Described route flow list item is issued in the switch of described source by described Control Server.Particularly, described stream list item comprises matching domain, counter and instruction.Matching domain is used for mating the packet header content of the packet that switch receives; Counter can in switch often open stream table, each data flow, each device port, each forwarding queue safeguard, for the relevant information of data flow quantity statistical.Such as: for often opening stream table, the list item number, packet inquiry times, data packet matched number of times etc. of current active is added up; For each data flow, add up the number-of-packet, byte number, data flow duration etc. that receive; For each device port, add up the index such as number-of-packet, transmission number-of-packet, reception byte number, transmission byte number received.Instruction is used to indicate switch and should how processes it after receiving the packet of coupling.In the route flow list item of routed path information conversion, matching domain comprises object switch ID, and instruction comprises the corresponding port packet of coupling being forwarded to described object switch.Because described routing iinformation is the routing iinformation between every two switches, described source switch refers to the switch sending packet, and object switch refers to the switch receiving packet.See Fig. 3, wherein, the routing iinformation of switch Sw1 to switch sw4 is L1-L3 and L2---L4.The stream list item information converted to comprises:
Sw1:
Flow table(table n): matching domain: sw4id, operation: Write-Actions action (s) [OFPAT_GROUP:Id1]
Group table:group id:Id1, type: OFPGT_SELECT,
Buckets (ofp_bucket): weight(weight) ofp_action_headeractions:output:3 (link2) (action)
Weight(weight) ofp_action_headeractions:output:2 (link1) (action)
Wherein: weight representative judges the weight selecting which action.
In like manner: other switches are all described above.
Step S3, described Control Server is that described switch generates ARP bag stream list item, and is sent in described switch by described ARP bag stream list item.Particularly, the ARP bag that described ARP bag stream list item will send for the treatment of described switch, the instruction of described ARP bag stream list item comprises the ARP processing module of described ARP Packet forwarding to described path control deivce.
Step S4, ARP bag is sent in the switch of described source by source terminal, and in the switch of described source, described ARP bag and described ARP wraps and flow list item the match is successful, performs that described the match is successful flows the instruction of list item, is wrapped by described ARP and sends to described Control Server.Particularly, when source terminal does not know the MAC Address of the object terminal that will send, then source terminal is when sending packet, can first send the addressing of ARP bag.
Step S5, the ARP bag source terminal information that described Control Server storage receives and the corresponding relation of source exchanger information, generate the first process stream list item according to described corresponding relation.Object IP address of terminal according to the ARP bag received finds corresponding corresponding relation, generates the second process stream list item, is added by described first process stream list item and second and flows list item and be sent in the switch of described source.Particularly, ARP processing module 14 is stored in the source terminal address information (source terminal IP address and source terminal MAC Address) in described packet in address mapping module 15 with the corresponding relation between described source exchanger information (source switch ID and source switch are connected the port of source terminal).Described corresponding relation comprises IP address of terminal, terminal MAC address, switch ID, the switch ports themselves that terminal connects.ARP processing module 14 is called described stream table update module 13 and is set up the first process stream list item, and described first process stream list item is sent to described source switch 2; The matching domain of described first process stream list item comprises described source terminal address and source switch ID, and the instruction of described first process stream list item comprises mated packet is forwarded to described source terminal port; Generated first process stream list item is sent to source switch by stream table update module 13.Described ARP processing module 14 inquires about the corresponding relation of the object IP address of terminal whether existed in described packet in described address mapping module 15, if exist, then obtains the object switch ID that described object IP address of terminal is corresponding, object terminal MAC address.ARP processing module 14 is called described stream table update module 13 and is set up interpolation second process stream list item.Particularly, ARP processing module 14 can by described source terminal MAC Address, and object switch ID and object terminal MAC address send to described stream table update module 13.Described stream table update module 13 is according to described source terminal MAC Address, and object switch ID and object terminal MAC address information set up the second process stream list item.The matching domain of the second process stream list item comprises source terminal MAC Address and object terminal MAC address, and the instruction of the second process stream list item comprises adding purpose switch ID to mated packet.Generated second process stream list item is sent to source switch by stream table update module 13.Described ARP processing module 14 inquires about the corresponding relation of the object IP address of terminal in the packet that whether there is source switch 2 forwarding in described address mapping module 15, if do not exist, abandons described ARP and wraps.In order to ensure the corresponding relation that there is the IP address of terminal of all terminals in described address mapping module 15, all terminals in native system can be allowed all to send an ARP bag when system initialization.
Step S6, source terminal is by Packet Generation in the switch of described source, and in the switch of described source, described packet and described second processes and flows list item the match is successful, performing the instruction of described the match is successful stream list item, is that described packet adds upper described object switch ID; The match is successful for described packet and described route flow list item, performs the instruction of described the match is successful stream list item, be forwarded in the next switch of route by described packet.Particularly, described packet comprises unicast packet.See Fig. 3, source terminal h1 send packet to object terminal h2, first source terminal h1 by Packet Generation in the switch SW1 of source, in SW1, described packet is with the match is successful with the route flow list item in SW1, and perform and operate accordingly, packet outputs in SW2 according to specified path (L1).
Step S7, through repeatedly forwarding, described packet arrives in object switch, in described object switch, described packet and described first processes and flows list item the match is successful, perform the instruction of described the match is successful stream list item, described packet is forwarded to described packet in the port of the correspondence of described stream list item instruction, described packet arrives object terminal.See Fig. 3, Packet Generation is in switch SW2, and in SW2, described packet is with the match is successful with the route flow list item in SW2, and perform and operate accordingly, packet outputs in SW4 according to specified path (L3).In SW4, described packet flow list item the match is successful with process with first in SW4, and execution operates accordingly, from the correct port output of switch SW4; H2 gets the packet from h1.
In the implementation method of described large double layer network system, switch receives the packet sent with its terminal be directly connected, now, switch utilizes the stream list item in the switch of source to mate described packet as source switch, if find the stream list item that the match is successful, then described in obtaining, the match is successful flows the instruction of list item and performs.A packet can mate multiple stream list item, and described stream list item can have priority, and when mating multiple stream list item, the instruction in the stream list item that priority is high first performs.The realization of described priority can by arranging special Priority field to realize in stream list item, can see OpenFlow agreement 1.3; Also can be realized by the order controlling coupling.If can not find the stream list item that the match is successful, switch will abandon described packet.Each stream list item of OpenFlow switch can to having zero to multiple action, if do not define forwarding behavior, the packet so mated with stream territory, list item packet header will be abandoned by acquiescence.In addition, the process of switch to described stream list item is pipeline system.
Described large double layer network implementation method also comprises: described Control Server obtains and adds up the relevant information of the route flow list item in all switches, the flow information of each bar routed path is determined according to the statistical information of each route flow list item, and according to described flow information determination traffic management rule.Particularly, the relevant information of described stream list item comprises the information in the counter of stream list item, and the relevant information of flow measurement module to each stream list item is added up, and obtains the flow information of each bar routed path.Described traffic management module obtains management strategy or default management strategy from network struction module, the congestion state of each routed path is judged according to the flow information of each bar routed path, and determine new traffic management rule according to the congestion state of each routed path and management strategy, and described traffic management rule is sent to described network struction module.Traffic management rule comprises certain routed path of forbidding, enables certain routed path etc.Article one, routed path also can be called a link.The order that above method performs can suitably change as the case may be.
In sum, the system and method for a kind of Control Server of the present invention and application thereof, by the unified management and control of Control Server for the whole network switching equipment, the routing iinformation of the large double layer network of rapid configuration, reduce network convergence time, and by controller process addressing request, reduce the request of broadcast addressing in network, reduce transmission delay.Meanwhile, because the management and control of native system mainly concentrates on Control Server, for whole networking by renewal and amendment only need configure Control Server, simplify the execution of control measures.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. a Control Server, it is characterized in that: described Control Server is connected with multiple switch, described multiple switch is identified by preallocated switch ID, described multiple switch is connected to terminal, and described Control Server comprises routing calculation module, network struction module, stream table update module, address mapping module and ARP processing module;
Described network struction module presets routing strategy for determining routing algorithm and for selecting the traffic management rule of reasonable route;
Described routing calculation module is for obtaining the topology information of described multiple switch and described routing strategy, and the topological structure of the routing algorithm that described routing calculation module is determined according to described routing strategy and described switch calculates the routed path information between any two described switches; Described routed path information is using in described any two switches as source switch and another determined as object switch; Described routing calculation module is selected reasonable routing iinformation according to described traffic management rule and described reasonable routing iinformation is sent to described stream table update module in described routed path information;
Described stream table update module is for generating the stream list item of described each switch, and described stream list item is sent to each described switch, described stream list item comprises matching domain and instruction, utilize the stream list item in described handing-over machine to process packet for described switch, described packet is the packet that the source terminal be directly connected with described switch will send; Described process comprises mates the matching domain of described packet with the stream list item in described switch, performs the instruction of the stream list item that the match is successful when the match is successful in described switch;
Described stream table update module is converted to the described reasonable routing iinformation received the route flow list item of the switch corresponding to described reasonable routing iinformation, and is issued in corresponding switch by described route flow list item; The matching domain of described route flow list item comprises described object switch ID, and the instruction of described route flow list item comprises and forwarding the packet of described coupling according to described reasonable routing iinformation; Described ARP bag stream list item also for generating ARP bag stream list item, and is sent in the switch of described source by described stream table update module; The ARP bag that described ARP bag stream list item receives for the treatment of described source switch, the instruction of described ARP bag stream list item comprises the ARP processing module of described ARP Packet forwarding to described path control deivce; Described stream table update module also for switch according to the process of described ARP processing module forward packet request generate flow list item accordingly, and corresponding stream list item is sent to the packet forwarding described coupling switch;
Described ARP processing module receives the ARP bag that described source switch forwards, and the corresponding relation setting up source terminal information that described ARP comprises and described source exchanger information is stored in described address mapping module; Call described stream table update module and set up the first process stream list item, described first process stream list item is sent to described source switch; The matching domain of described first process stream list item comprises described source terminal address and source switch ID, and the instruction of described first process stream list item comprises the switch ports themselves mated packet being forwarded to the connection of described source terminal; Described ARP processing module inquires about the corresponding relation of the object IP address of terminal whether existed in described ARP bag in described address mapping module; If exist, then obtain object switch ID corresponding to described object IP address of terminal and described object terminal MAC address, call described stream table update module and set up the second process stream list item, described second process stream list item is sent to described source switch; Described second process stream list item matching domain comprise described source terminal MAC Address and and described object terminal MAC address, described second process stream list item instruction comprises adding purpose switch ID to mated packet; If do not exist, then packet loss.
2. Control Server according to claim 1, it is characterized in that: described Control Server also comprises traffic management module, described stream list item comprises the counter for data flow quantity statistical relevant information, described traffic management module obtains the relevant information of each stream list item counter in described each switch, obtains the flow information of each bar routed path according to the relevant information of described counter; Described traffic management module, according to described flow information and default management strategy, is determined new traffic management rule, and described new traffic management rule is sent to described network struction module.
3. Control Server according to claim 2, is characterized in that: described management strategy also for determining management strategy, and is sent to described traffic management module by described network struction module.
4. a large double layer network system, it is characterized in that: described large double layer network system comprises the Control Server in multiple be connected with terminal switch and a claims 1 to 3 described in arbitrary claim, described Control Server is connected with multiple switch, and described multiple switch is identified by preallocated switch ID; Described switch comprises one or more stream tables, often opens stream table and comprises one or more stream list items; Described switch receives the packet that terminal that described switchboard direct connects in succession will send, and is mated by described packet, perform the instruction of the stream list item that the match is successful with the stream list item in described stream table.
5. a large double layer network implementation method, is characterized in that: described large double layer network implementation method at least comprises:
Control Server generates and determines the routed path information of any two inter-exchanges, the routed path information described routed path information comprises from source switch to object switch;
Described multiple routed path information is converted to the corresponding route flow list item of described routed path information by described Control Server, the matching domain of described route flow list item comprises described object switch ID, and instruction comprises and the packet that the match is successful being forwarded according to described routed path information; Described route flow list item is issued in corresponding switch by described Control Server;
Described Control Server is described each switch generation ARP bag stream list item, and the ARP Packet forwarding of reception is given described service controller process by described ARP bag stream list item, and is sent in described switch by described ARP bag stream list item;
ARP bag is sent in the switch of described source by source terminal, and in the switch of described source, described ARP bag and described ARP wraps and flow list item the match is successful, performs that described the match is successful flows the instruction of list item, is wrapped by described ARP and sends to described Control Server;
The corresponding relation of the ARP bag source terminal address that described Control Server storage receives and source switch ID, calls described stream table update module and sets up the first process stream list item, and described first process stream list item is sent to described source switch; The matching domain of described first process stream list item comprises described source terminal address and source switch ID, and the instruction of described first process stream list item comprises mated packet is forwarded to described source terminal corresponding ports; Described ARP processing module inquires about the corresponding relation of the object IP address of terminal whether existed in described ARP bag in described address mapping module; If exist, then obtain object switch ID corresponding to described object IP address of terminal and described object terminal MAC address, call described stream table update module and set up the second process stream list item, described second process stream list item is sent to described source switch; The matching domain of described second process stream list item comprises described source terminal MAC Address and described object terminal MAC address, and the instruction of described second process stream list item comprises adding purpose switch ID to mated packet;
Source terminal is by Packet Generation in described switch, and in described switch, described packet and second processes and flows list item the match is successful, and performing the instruction of described the match is successful stream list item, is that described packet adds upper described object switch ID; The match is successful for described packet and described route flow list item, performs the instruction of described the match is successful stream list item, forwarded by described packet;
In described switch, described packet and first processes and flows list item the match is successful, performs the instruction of described the match is successful stream list item, mated packet is forwarded to described terminal prot.
6. large double layer network implementation method according to claim 5, it is characterized in that: described large double layer network implementation method also comprises: the stream list item of described source switch mates the packet received, there is no the stream list item that the match is successful, then abandon described packet.
7. large double layer network implementation method according to claim 5, is characterized in that: described Control Server generates and determines that the specific implementation of the routed path information of any two inter-exchanges comprises: described Control Server obtains the switch-layer topology structure of described large double layer network; Described Control Server determination routing strategy; Described Control Server generates the routed path information of any two inter-exchanges according to switch-layer topology structure and routing strategy; Described Control Server is that arbitrary source switch determines the routed path information that described source switch is relevant according to the management strategy preset.
8. large double layer network implementation method according to claim 5, it is characterized in that: described Control Server determines that according to the object terminal address of the packet received the concrete methods of realizing of the object switch ID of described packet comprises: the corresponding relation that whether there is the object terminal address in described packet in the information that described Control Server inquiry stores, if exist, then obtain the object switch ID that described object terminal address is corresponding.
9. large double layer network implementation method according to claim 5, it is characterized in that: described Control Server determines that according to the object terminal address of the packet received the concrete methods of realizing of the object switch ID of described packet comprises: described Control Server sets up broadcasting stream list item, the matching domain of described broadcasting stream list item comprises object terminal address, and the instruction of described broadcasting stream list item comprises employing broadcast mode and obtains described object switch ID; Described broadcasting stream list item is sent to described switch by described Control Server.
10. large double layer network implementation method according to claim 5, it is characterized in that: described large double layer network implementation method also comprises: described Control Server obtains and adds up the relevant information of the route flow list item in all switches, the flow information of each bar routed path is determined according to the statistical information of each route flow list item, and according to described flow information determination traffic management rule.
CN201410135557.6A 2014-04-04 2014-04-04 A kind of system and method for controlling server and its application Active CN104980373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410135557.6A CN104980373B (en) 2014-04-04 2014-04-04 A kind of system and method for controlling server and its application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410135557.6A CN104980373B (en) 2014-04-04 2014-04-04 A kind of system and method for controlling server and its application

Publications (2)

Publication Number Publication Date
CN104980373A true CN104980373A (en) 2015-10-14
CN104980373B CN104980373B (en) 2018-06-19

Family

ID=54276491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410135557.6A Active CN104980373B (en) 2014-04-04 2014-04-04 A kind of system and method for controlling server and its application

Country Status (1)

Country Link
CN (1) CN104980373B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108183862A (en) * 2018-01-24 2018-06-19 上海宽带技术及应用工程研究中心 Communication means/system, readable storage medium storing program for executing and the equipment of software definition switching network
CN109327557A (en) * 2018-10-16 2019-02-12 郑州云海信息技术有限公司 A kind of management method and device of virtual machine IP address
CN110752998A (en) * 2019-09-10 2020-02-04 广州西麦科技股份有限公司 ARP message processing method and related device
CN111641568A (en) * 2020-05-09 2020-09-08 中国电子科技集团公司第五十四研究所 Modular switch and network architecture
CN112532506A (en) * 2020-12-02 2021-03-19 天津卓朗科技发展有限公司 Hybrid networking method, device, server and computer-readable storage medium
CN113841364A (en) * 2019-03-18 2021-12-24 布莱特威公司 System, method and architecture for data center network switching
CN113904984A (en) * 2021-10-21 2022-01-07 杭州志卓科技股份有限公司 Data transmission method suitable for SAP and B2B systems

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685006A (en) * 2012-05-03 2012-09-19 中兴通讯股份有限公司 Method and device for forwarding data messages
CN102938794A (en) * 2012-11-14 2013-02-20 华为技术有限公司 Address resolution protocol (ARP) message forwarding method, exchanger and controller
WO2013185715A1 (en) * 2012-09-18 2013-12-19 中兴通讯股份有限公司 Method for implementing virtual network and virtual network
US20140019639A1 (en) * 2011-03-31 2014-01-16 Hiroshi Ueno Computer system and communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140019639A1 (en) * 2011-03-31 2014-01-16 Hiroshi Ueno Computer system and communication method
CN102685006A (en) * 2012-05-03 2012-09-19 中兴通讯股份有限公司 Method and device for forwarding data messages
WO2013185715A1 (en) * 2012-09-18 2013-12-19 中兴通讯股份有限公司 Method for implementing virtual network and virtual network
CN102938794A (en) * 2012-11-14 2013-02-20 华为技术有限公司 Address resolution protocol (ARP) message forwarding method, exchanger and controller

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108183862A (en) * 2018-01-24 2018-06-19 上海宽带技术及应用工程研究中心 Communication means/system, readable storage medium storing program for executing and the equipment of software definition switching network
CN108183862B (en) * 2018-01-24 2021-02-09 上海宽带技术及应用工程研究中心 Communication method/system of software-defined switching network, readable storage medium and device
CN109327557A (en) * 2018-10-16 2019-02-12 郑州云海信息技术有限公司 A kind of management method and device of virtual machine IP address
CN109327557B (en) * 2018-10-16 2021-10-01 郑州云海信息技术有限公司 Method and device for managing IP address of virtual machine
CN113841364A (en) * 2019-03-18 2021-12-24 布莱特威公司 System, method and architecture for data center network switching
CN110752998A (en) * 2019-09-10 2020-02-04 广州西麦科技股份有限公司 ARP message processing method and related device
CN110752998B (en) * 2019-09-10 2023-01-20 广州西麦科技股份有限公司 ARP message processing method and related device
CN111641568A (en) * 2020-05-09 2020-09-08 中国电子科技集团公司第五十四研究所 Modular switch and network architecture
CN112532506A (en) * 2020-12-02 2021-03-19 天津卓朗科技发展有限公司 Hybrid networking method, device, server and computer-readable storage medium
CN112532506B (en) * 2020-12-02 2023-01-06 天津卓朗科技发展有限公司 Hybrid networking method, device, server and computer-readable storage medium
CN113904984A (en) * 2021-10-21 2022-01-07 杭州志卓科技股份有限公司 Data transmission method suitable for SAP and B2B systems
CN113904984B (en) * 2021-10-21 2022-12-16 杭州志卓科技股份有限公司 Data transmission method suitable for SAP and B2B system

Also Published As

Publication number Publication date
CN104980373B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN104980373A (en) Control server, control server application system and control server application method
CN105049360B (en) The method and system of interchanger virtualization in network for promoting interconnection switch
CN108768817A (en) A kind of virtualization network constructing system, data packet sending method
CN105812260B (en) A kind of method, apparatus and system that control mac address forwarding table is sent
CN101136921B (en) Communication apparatus and communication system
CN106685835B (en) A method of realizing the distributed routing of high speed between the calculate node of data center
CN103560967B (en) The virtual data center mapping method of a kind of business demand perception
CN103763367A (en) Method and system for designing distributed virtual network in cloud calculating data center
KR20210095890A (en) Logic routers with segmented network elements
US20180077048A1 (en) Controller, control method and program
CN101656732A (en) Routing control system
CN104301417B (en) A kind of load-balancing method and device
US9467374B2 (en) Supporting multiple IEC-101/IEC-104 masters on an IEC-101/IEC-104 translation gateway
CN109547349A (en) Flow managing method, device, terminal and storage medium based on virtual flow-line
CN103795623A (en) Method and device for realizing traffic interflow between virtual devices
CN105791402B (en) A kind of cloud computing platform network virtualization implementation method and corresponding plug-in unit and agency
CN105812294A (en) Openflow switch device, packet exchanging thereof, SDN controller and data flow control method thereof
CN108322391B (en) Data transmission method based on flow table
CN107211036A (en) A kind of method and data center network of data center network networking
CN105391635A (en) Network virtualization method based on software defined network (SDN)
CN104798350A (en) Virtual link aggregations across multiple fabric switches
CN109861925A (en) Data transmission method, relevant apparatus and network
CN113992577B (en) Network intercommunication method, device, equipment and medium
CN102891903B (en) A kind of NAT method and equipment
CN108234211A (en) Network control method, system and storage medium

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