CN104980373B - A kind of system and method for controlling server and its application - Google Patents

A kind of system and method for controlling server and its application Download PDF

Info

Publication number
CN104980373B
CN104980373B CN201410135557.6A CN201410135557A CN104980373B CN 104980373 B CN104980373 B CN 104980373B CN 201410135557 A CN201410135557 A CN 201410135557A CN 104980373 B CN104980373 B CN 104980373B
Authority
CN
China
Prior art keywords
interchanger
flow table
table item
control server
routing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410135557.6A
Other languages
Chinese (zh)
Other versions
CN104980373A (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 kind of system and method for controlling server and its application, and control server is connected with multiple switch, can have path to be connected between interchanger, each interchanger can be attached one or more terminal devices, form big double layer network.The control server includes network struction module, routing calculation module, address mapping module, traffic management module, flow table update module and ARP processing modules.By controlling unified management and control of the server for the whole network switching equipment, the routing iinformation of the big double layer network of rapid configuration reduces network convergence time, and handles addressing request by controller, reduces the request of broadcast addressing in network, reduces transmission delay.Simultaneously as the management and control of this system is concentrated mainly on control server, for whole network by update and modification control server only need to be configured, simplify the execution of management measure.

Description

A kind of system and method for controlling server and its application
Technical field
The present invention relates to a kind of computer network field, more particularly to a kind of system for controlling server and its application and Method.
Background technology
In traditional data center server area network design, usually by the scope limitation of double layer network in network insertion Layer is hereinafter, avoid the occurrence of large-scale L 2 broadcast domain.With the development of virtualization technology, virtualize what is brought to data center It is not only the variation of the raising of server utilization, the also network architecture.Specifically, an association skill of virtualization technology Art-dynamic migration of virtual machine is widely used in data center.But before and after virtual machine (vm) migration requirement virtual machine (vm) migration IP and MAC Address it is constant, this just needs the network before and after virtual machine (vm) migration to be in inside same two layers of domain.Since client will The range for seeking virtual machine (vm) migration is increasing, even across the migration between different geographical, different computer rooms, so that data The range of center double layer network is increasing, the big double layer network of profession this frontier special topic occurs.
Big double layer network is extended through extensive double layer network and VLAN, realizes big model of the virtual machine inside data center Enclose migration, the big double layer network in data center needs to cover multiple access switch and core switch, with data center Polycentric deployment, across the data center migration of virtual machine, calamity are standby, the demands such as across data center traffic load balancing so that two The extension of layer network is not only until the boundary of data center, it is also necessary to consider the region across data center machine room, extension To same city backup center, long-range Disaster Preparation Center.Therefore, data transmission is more frequent in big double layer network and data volume is big.
Traditional double layer network is not suitable for the big rule of structure due to the shortcomings of convergence time is long, interchanger needs to learn whole net MAC The double layer network of mould, therefore the technology of the big two layers of networking of data center is produced, such as TRILL/FabricPath, SPB.But These technologies still calculate path using distributed routing protocol, cause convergence time long, and its addressing system is still complete Net broadcast addressing causes transmission delay longer.Meanwhile in TRILL/FabricPath, SPB these technologies, and stream is not implemented Buret is managed, and Internet resources effectively can not be disposed, be configured and be utilized.
Therefore, the routing between switching equipment how is quickly determined in big double layer network, convergence time is reduced, reduces data The delay of transmission, it has also become the technical issues of those skilled in the art are urgently to be resolved hurrily.
Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of control server and its applications System and method, prolong for solving the router-level topology overlong time between big two-layer network exchanger, transmission in the prior art The problem of waiting longer late.
In order to achieve the above objects and other related objects, the present invention provides a kind of control server, the control server It is connected with multiple switch, the multiple interchanger is identified by the interchanger ID of predistribution, the multiple interchanger point It is not connected with terminal, the control server is reflected including routing calculation module, network struction module, flow table update module, address Penetrate module and ARP processing modules;The network struction module preset routing strategy for determining routing algorithm and For selecting the traffic management rationally routeing regular;The routing calculation module is used to obtain the topology knot of the multiple interchanger Structure information and the routing strategy, the routing algorithm that the routing calculation module is determined according to the routing strategy The routed path information between interchanger described in any two is calculated with the topological structure of the interchanger;The routing road Diameter information be using one in any two interchanger as source interchanger and another interchanger determines as a purpose; The routing calculation module selects reasonable routing iinformation in the routed path information according to the traffic management rule and will The reasonable routing iinformation is sent to the flow table update module;The flow table update module is used to generate each interchanger Flow table item, and the flow table item is sent to each interchanger, the flow table item includes matching domain and instruction, for the friendship It changes planes and data packet is handled using the flow table item in the handing-over machine, the data packet is is connected directly with the interchanger The source terminal data packet to be sent;The processing is included the matching domain of the flow table item in the data packet and the interchanger It is matched, performs the instruction of the flow table item of successful match during successful match in the interchanger;The flow table update module The reasonable routing iinformation received is converted to the routing flow table item of interchanger corresponding with the reasonable routing iinformation, and The routing flow table item is issued in corresponding interchanger;The matching domain of the routing flow table item is handed over comprising the purpose Change planes ID, and the instruction of the routing flow table item includes forwarding the matched data packet according to the reasonable routing iinformation;Institute It states flow table update module and is additionally operable to generation ARP packet stream list items, and the ARP packet streams list item is sent in the source interchanger; The ARP packet streams list item is used to handle the ARP packets that the source interchanger receives, and the instruction of the ARP packet streams list item is included institute State the ARP processing modules that ARP forwards a packet to the control server;The flow table update module is additionally operable to according at the ARP The data packet of interchanger forwarding requests to generate corresponding flow table item, and corresponding flow table item is sent out described in reason resume module Give the interchanger for forwarding the matched data packet;
The ARP processing modules receive the ARP packets of the source interchanger forwarding, and it is whole to establish the source that the ARP packets are included The correspondence of client information and the source exchanger information is stored in described address mapping block;Call the flow table update module The first processing flow table item is established, the described first processing flow table item is sent to the source interchanger;The first processing flow table item Matching domain include the source terminal address and source interchanger ID, it is described first processing flow table item instruction include by institute it is matched Data forward a packet to the switch port of the source terminal connection;The ARP processing modules are looked into described address mapping block Ask the correspondence with the presence or absence of the purpose IP address of terminal in the ARP packets;If in the presence of with obtaining the purpose terminal IP The corresponding purpose interchanger ID in location and the purpose terminal MAC address, call the flow table update module to establish second processing The second processing flow table item is sent to the source interchanger by flow table item;The matching domain of the second processing flow table item includes The source terminal MAC Address and the purpose terminal MAC address, the instruction of the second processing flow table item are handed over including adding purpose ID change planes to the matched data packet of institute;If being not present, packet loss.
Preferably, the control server further includes traffic management module, and the flow table item is included for statistical data stream The counter of relevant information is measured, the traffic management module obtains the related letter of each flow table item counter in each interchanger Breath, the flow information of each routed path is obtained according to the relevant information of the counter;The traffic management module is according to institute Flow information and preset management strategy are stated, determines new traffic management rule, and the new traffic management rule is sent To the network struction module.
Preferably, the network struction module is additionally operable to determine management strategy, and the management strategy is sent to described Traffic management module.
The present invention provides a kind of big double layer network system, it is characterised in that:The big double layer network system include it is multiple with Terminal is connected the control server in interchanger and a claims 1 to 3 described in any claim, the control service Device is connected with multiple switch, and the multiple interchanger is identified by the interchanger ID of predistribution;The interchanger includes One or more flow tables, every flow table include one or more flow table items;The interchanger receives what the interchanger was directly connected to The data packet with the flow table item in the flow table is matched, performs the stream of successful match by the terminal data packet to be sent The instruction of list item.
The present invention provides a kind of big double layer network implementation method, and the big double layer network implementation method includes at least:Control Server generates and determines the routed path information of any two inter-exchange, and the routed path information is included from source interchanger To the routed path information between purpose interchanger;The control server is converted to multiple routed path information described Routed path information route flow table item accordingly, and the matching domain of the routing flow table item includes the purpose interchanger ID, instruction Including the data packet of successful match is forwarded according to the routed path information;It is described to control server by the routing flow table item It is issued in corresponding interchanger;The control server generates ARP packet stream list items for each interchanger, described The ARP packets of reception are transmitted to the control server process, and the ARP packet streams list item is sent to institute by ARP packet streams list item It states in interchanger;ARP packets are sent in the source interchanger by source terminal, in the source interchanger, the ARP packets with it is described ARP packet stream list item successful match, performs the instruction of the successful match flow table item, and the ARP packets are sent to the control takes Business device;The ARP packet source terminal addresses and the correspondence of source interchanger ID that the control server storage receives, call flow table Update module establishes the first processing flow table item, and the described first processing flow table item is sent to the source interchanger;At described first The matching domain for managing flow table item includes the source terminal address and source interchanger ID, and the instruction of the first processing flow table item includes will Matched data forward a packet to the source switch port of source terminal connection;ARP processing modules are in address mapping module Inquiry is with the presence or absence of the correspondence of the purpose IP address of terminal in the ARP packets;If in the presence of the purpose terminal IP is obtained The corresponding purpose interchanger ID in address and the purpose terminal MAC address call flow table update module to establish second processing stream The second processing flow table item is sent to the source interchanger by list item;The matching domain of the second processing flow table item includes institute Source terminal IP address and the purpose terminal MAC address are stated, the instruction of the second processing flow table item is exchanged including adding purpose Machine ID is to the matched data packet of institute;Source terminal is delivered a packet in the interchanger, in the interchanger, the data Packet and second processing flow table item successful match, perform the instruction of the successful match flow table item, for institute in data packet addition State purpose interchanger ID;The data packet and the routing flow table item successful match, perform the finger of the successful match flow table item It enables, the data packet is forwarded;In the interchanger, the data packet and the first processing flow table item successful match perform institute The instruction of successful match flow table item is stated, the matched data of institute are forwarded a packet into the terminal prot.
Preferably, the big double layer network implementation method further includes:The source interchanger is according to flow table item to receiving Data packet is matched, and without the flow table item of successful match, then abandons the data packet.
Preferably, the specific reality of routed path information that the control server generates and determines any two inter-exchange Now include:The control server obtains the switch-layer topology structure of the big double layer network;The control server determines road By selection strategy;The control server generates any two inter-exchange according to switch-layer topology structure and routing strategy Routed path information;The control server determines the source interchanger according to preset management strategy for any source interchanger Relevant routed path information.
Preferably, the control server determines the data packet according to the purpose terminal address of the data packet received The concrete methods of realizing of purpose interchanger ID includes:It whether there is the data in the information of the control server inquiry storage The correspondence of purpose terminal address in packet, if in the presence of the corresponding purpose interchanger ID of the purpose terminal address is obtained.
Preferably, the control server determines the data packet according to the purpose terminal address of the data packet received The concrete methods of realizing of purpose interchanger ID includes:The control server establishes broadcast flow table item, the broadcast flow table item Matching domain includes purpose terminal address, and the instruction of the broadcast flow table item includes obtaining the purpose interchanger using broadcast mode ID;The broadcast flow table item is sent to the interchanger by the control server.
Preferably, the big double layer network implementation method further includes:The control server obtains and counts all exchanges The relevant information of routing flow table item in machine determines the flow of each routed path according to the statistical information of each routing flow table item Information, and traffic management rule is determined according to the flow information.
As described above, a kind of system and method for the control server and its application of the present invention, have the advantages that: By controlling unified management and control of the server for the whole network switching equipment, the routing iinformation of the big double layer network of rapid configuration reduces net Network convergence time, and addressing request is handled by controller, the request of broadcast addressing in network is reduced, transmission is reduced and prolongs Late.Simultaneously as the management and control of this system is concentrated mainly on control server, for whole network by update and modification only need to be configured Server is controlled, simplifies the execution of management measure.
Description of the drawings
Fig. 1 is shown as a kind of system module schematic diagram of big double layer network system of the present invention.
Fig. 2 is shown as a kind of flow diagram of big double layer network implementation method of the present invention.
Fig. 3 is shown as a kind of example schematic of big double layer network system of the present invention.
Component label instructions
1 control server
11 network struction modules
12 routing calculation modules
13 flow table update modules
14 ARP processing modules
15 address mapping modules
16 traffic management modules
2 Overflow interchangers
3 terminals
S1~S6 steps
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.
It should be noted that the diagram provided in the present embodiment only illustrates the basic conception of the present invention in a schematic way, Then in schema only display with it is of the invention in related component rather than component count, shape and size during according to actual implementation paint System, kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel also may be used during actual implementation It can be increasingly complex.
As shown in Figure 1, big double layer network system includes a control server 1 and multiple in the embodiment of the present invention Interchanger 2, control server 1 are connected with multiple switch, and the interchanger 2 is the interchanger with flow table processing capacity, is led to It is often overflow interchangers.During the big double layer network initialization, system has pre-allocated one for marking for each interchanger 2 The interchanger ID of knowledge.There is path to be connected between interchanger 2, each interchanger 2 can be attached one or more terminals.
The control server 1 include network struction module 11, routing calculation module 12, flow table update module 13, at ARP Manage module 14, address mapping module 15 and traffic management module 16.
Network struction module 11 is preset with routing strategy for determining routing algorithm and for selecting reasonable road By traffic management rule.The network struction module 11 is additionally operable to determine management strategy, and for the management strategy to be sent to Traffic management module 16 receives the traffic management rule that traffic management module is sent.Specifically, user can pass through network struction Module 11 selects the routing strategy of big double layer network, and management strategy, traffic management is regular, wherein, routing strategy is used Used routing algorithm when determining to calculate routed path information for routing calculation module 12.Management strategy is used for for flowtube It manages module to use, path flow information of the traffic management module 16 in route network, judges the congestion shape of each routed path State, and then traffic management rule is determined according to management strategy.
The routing calculation module 12 is used to obtain the topology information of the multiple interchanger 2 and the routing choosing Select strategy, the routing calculation module 12 is opened up according to the routing algorithm that the routing strategy determines and the interchanger 2 It flutters Structure Calculation and obtains the routed path information between interchanger 2 described in any two;The routed path information is with described One in any two interchanger 2 as source interchanger and another interchanger determines as a purpose;The router-level topology Module 12 selects reasonable routing iinformation in the routed path information according to traffic management rule and believes the reasonable routing Breath is sent to the flow table update module 13.Specifically, big bilaminar system can establish control server 1 and each in initialization Connection relation between interchanger 2 is distributed marks of the interchanger ID as the equipment for each interchanger 2, and is obtained big The topology information of double layer network interchanger 2.Routing calculation module 12 obtains Route Selection plan from network struction module 11 Slightly, the routing algorithm of calculating routed path information use is determined according to routing strategy, routing calculation module 12 is according to described Switch-layer topology structural information and routing algorithm calculate the optimal routing under different modules of each two interchanger 2 Routing information.Described two interchangers one are source interchanger, another is purpose interchanger, and routed path information is to be handed over from source It changes planes to the routed path information of purpose interchanger;Routed path information between each two interchanger all includes opposite two Any of the routed path information in direction, i.e. two interchangers 2 can serve as source interchanger.The module includes road Electrical path length, reliability, time delay etc..The routing calculation module 12 is advised according to the traffic management obtained from network struction module 11 Be then any one interchanger 2 it is described should with selection one or more in routed path information that the interchanger 2 is source interchanger Source interchanger 2 arrives the reasonable routing iinformation between other interchangers, and by all reasonable routing iinformations of all interchangers It is sent to the flow table update module 13.
The flow table update module 13 is used to receive the routed path information and be converted on each interchanger 2 Flow table item is route, and the routing flow table item is issued in the interchanger 2.The flow table item includes matching domain, counter And instruction.Matching domain is used to match the packet header content of data packet that interchanger receives;Counter can be directed to and exchange Every flow table, each data flow in machine, each device port, each forwarding queue are safeguarded, for data flow quantity statistical Relevant information.Such as:For every flow table, count the entry number of current active, data packet inquiry times, data packet matched time Number etc.;For each data flow, the number-of-packet received, byte number, data flow duration etc. are counted;For each equipment Port counts the number-of-packet received, transmission data packet number, receives byte number, sends the indexs such as byte number;For each team Row, count number-of-packet and byte number of transmission etc..Instruction is used to indicate interchanger 2 should be as after matched data packet is received What handles it.In the routing flow table item of routed path information conversion, matching domain includes purpose interchanger ID, and instruction includes Matched data packet is forwarded.Because the routing iinformation is the routing iinformation between each two interchanger, the source interchanger Refer to the interchanger 2 of transmission data packet, purpose interchanger refers to the interchanger 2 of received data packet, and the routed path information is Refer to the relevant information that data packet is sent to the transmitting path passed through of purpose exchange from source interchanger.The flow table update module Generation ARP packet stream list items are additionally operable to, and the ARP packet streams list item is sent in the source interchanger;The ARP packet streams list item For handling the ARP packets that the source interchanger receives, the instruction of the ARP packet streams list item includes forwarding a packet to matched ARP The ARP processing modules of the control server.ARP, i.e. address resolution protocol, by following the agreement, as long as it is understood that The IP address of certain machine, you can to know its physical address.ARP is surrounded by fixed types value, usually 0x0806, has institute The data packet for stating fixed class offset is ARP packets.The types value that the matching domain of ARP packet stream list items includes data packet is ARP packet classes Offset.ARP packet streams list item can detect that matched ARP packets in this way.
Interchanger 2 receives the data packet that directly connected terminal is sent, and in the present invention, the data packet includes Ipv packets.At this point, interchanger 2 matches the data packet using the flow table item in source interchanger 2 as source interchanger, if looked for To the flow table item of successful match, then instruction and the execution of the successful match flow table item are obtained.One data packet can match more A flow table item, the flow table item can have priority, in the case where matching multiple flow table items, in the high flow table item of priority Instruction first carries out.The realization of the priority can realize by setting special Priority field in flow table item, reference can be made to OpenFlow agreements 1.3;It can also be realized by controlling matched sequence.ARP processing modules generation flow table item it is preferential Grade is higher than the routing flow table item converted by interchanger routed path information.Source interchanger is connected directly with sending terminal. Purpose interchanger is connected directly with purpose terminal.
Described address mapping block 15 stores the interchanger 2 and corresponding with terminal 3 that the interchanger 2 is connected directly Relation record, the correspondence include the interchanger ID passes corresponding with the address information of the terminal 3 of the interchanger 2 System.The address information of the terminal can include IP address information, can also include mac address information.
The ARP processing modules 14 receive the data packet that source interchanger 2 forwards, and source terminal can be included usually in ARP packets Address information (alternatively referred to as sends terminal address information), and purpose IP address of terminal (alternatively referred to as receives IP address of terminal).ARP Processing module 14 is stored in the correspondence between the source terminal address information in the data packet and the source interchanger ID In address mapping module 15.The correspondence includes IP address of terminal, terminal MAC address, interchanger ID, the friendship of terminal connection It changes planes port.ARP processing modules 14 call the flow table update module 13 to establish the first processing flow table item, and described first is handled Flow table item is sent to the source interchanger 2;The matching domain of the first processing flow table item includes the source terminal address and source and hands over Change planes ID, and the instruction of the first processing flow table item includes the matched data of institute forwarding a packet to the source terminal port;Flow table Generated first processing flow table item is sent to source interchanger by update module 13.
The ARP processing modules 14 are inquired in described address mapping block 15 with the presence or absence of the purpose in the data packet The correspondence of IP address of terminal, if in the presence of the corresponding purpose interchanger ID of the purpose IP address of terminal is obtained, purpose is whole Hold MAC Address.ARP processing modules 14 call the flow table update module 13 to establish addition the second addition ID flow table items.Specifically, ARP processing modules 14 can be by the source terminal MAC Address, and purpose interchanger ID and purpose terminal MAC address are sent to described Flow table update module 13.For the flow table update module 13 according to the source terminal MAC Address, purpose interchanger ID and purpose are whole End mac address information establishes second processing flow table item.The matching domain of second processing flow table item includes source terminal MAC Address and mesh Terminal MAC address, the instruction of second processing flow table item include adding purpose interchanger ID to a matched data packet.Flow table is more The second processing flow table item generated is sent to source interchanger by new module 13.
The ARP processing modules 14 inquire the number forwarded with the presence or absence of source interchanger 2 in described address mapping block 15 According to the correspondence of the purpose IP address of terminal in packet, if being not present, the ARP packets are abandoned.
Flow measurement module 16 obtains and counts the relevant information of all flow table items in all interchangers 2.Specifically, institute The information in counter of the relevant information including flow table item of flow table item is stated, flow measurement module 16 is to the correlation of each flow table item Information is counted, and obtains the flow information of each routed path.The traffic management module 16 is from network struction module 11 Management strategy or default management strategy are obtained, the congestion shape of each routed path is judged according to the flow information of each routed path State, and new traffic management rule is determined according to the congestion state and management strategy of each routed path, and by the traffic management Rule is sent to the network struction module 11.Traffic management rule includes disabling some routed path, enables some routing road Diameter etc..One routed path is referred to as a link.
As shown in Fig. 2, the present invention is provided in a kind of implementation method of big double layer network system, the implementation method can be applied In above-mentioned big double layer network system, the implementation method of big double layer network system includes the following steps:
Step S1, control server generate and determine the routed path information of any two inter-exchange, the routing road Diameter information is included from source interchanger to the routed path information purpose interchanger.Specifically, control server can include Network struction module, routing calculation module, flow table update module, ARP processing modules, address mapping module and traffic management mould Block.When server is controlled to establish a connection with each interchanger, control server can give each interchanger to distribute a friendship ID change planes to identify each switch device, concurrently send configuration information to the interchanger so that interchanger can send it Link information gives control server, and control server obtains the topological structure of interchanger according to the link information of interchanger.It is described The form that respective switch is connected with each other in the topological structure of interchanger, that is, big double layer network.Control the router-level topology in server Module obtains the topological structure and routing strategy of interchanger, and determines routing algorithm, routing meter according to routing strategy Module is calculated according to routed path information between the topological structure and routing algorithm of interchanger calculating each two interchanger.The routing Selection strategy can be preset by network struction module.Routing calculation module is true according to switch-layer topology and routing strategy Fixed routing algorithm calculates optimal path of each pair of interchanger under different modules, the path as double layer network.Its In, module includes path length, reliability, time delay etc..Routed path information between each two interchanger refers to Link information between link communication information or each two interchanger between clear each two interchanger.Described two interchangers one A is source interchanger, another is purpose interchanger, and routed path information is the routing road from source interchanger to purpose interchanger Diameter information;Routed path information between each two interchanger all includes the routed path information of opposite both direction, i.e., and two Any of a interchanger can serve as source interchanger.The routing calculation module is according to obtaining from network struction module Traffic management rule is that any one interchanger determines one in the routed path information using the interchanger as source interchanger Or a plurality of source interchanger is to the reasonable routing iinformation between other interchangers, and by all reasonable roads of all interchangers The flow table update module is sent to by information.
The relevant multiple routed path information of the source interchanger are converted to route flow by step S2, the control server List item, it is described routing flow table item matching domain include the purpose interchanger ID, instruction include by the data packet of successful match into Row forwarding;The routing flow table item is issued in the source interchanger by the control server.Specifically, the flow table item packet Include matching domain, counter and instruction.Matching domain is used to match the packet header content of data packet that interchanger receives;It counts Every flow table that device can be directed in interchanger, each data flow, each device port, each forwarding queue are safeguarded, are used In the relevant information of data flow quantity statistical.Such as:For every flow table, entry number, the data packet inquiry time of current active are counted Several, data packet matched number etc.;For each data flow, the number-of-packet received, byte number, data flow duration are counted Deng;For each device port, the number-of-packet received, transmission data packet number are counted, byte number is received, sends byte number etc. Index.Instruction is used to indicate how interchanger should be handled it after matched data packet is received.Routed path information In the routing flow table item of conversion, matching domain includes purpose interchanger ID, and instruction includes matched data forwarding a packet to the mesh Interchanger corresponding port.Because the routing iinformation is the routing iinformation between each two interchanger, the source interchanger Refer to the interchanger of transmission data packet, purpose interchanger refers to the interchanger of received data packet.Referring to Fig. 3, wherein, interchanger The routing iinformation of Sw1 to interchanger sw4 is L1-L3 and L2---L4.The flow table item information being converted into includes:
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_header actions:output:3 (link2) (action)
Weight (weight) ofp_action_header actions:output:2 (link1) (actions)
Wherein:Weight represents the weight for judging which action of selection.
Similarly:Other interchangers are all as described above.
Step S3, the control server generate ARP packet stream list items for the interchanger, and by the ARP packet streams list item It is sent in the interchanger.Specifically, the ARP packet streams list item is described for handling the interchanger ARP packets to be sent The instruction of ARP packet stream list items includes forwarding a packet to the ARP into the ARP processing modules of the control server.
ARP packets are sent in the source interchanger by step S4, source terminal, in the source interchanger, the ARP packets with The ARP packet streams list item successful match, performs the instruction of the successful match flow table item, and the ARP packets are sent to the control Control server.Specifically, when source terminal is unknown to the MAC Address of the purpose terminal sent, then source terminal is in transmission data Bao Shi can first send the addressing of ARP packets.
Step S5, the ARP packet source terminal information that the control server storage receives are corresponding with source exchanger information Relationship, according to correspondence generation the first processing flow table item.It is searched according to the purpose IP address of terminal of the ARP packets received To corresponding correspondence, second processing flow table item is generated, the described first processing flow table item and the second addition flow table item are sent Into the source interchanger.Specifically, ARP processing modules 14 are source terminal address information (the source terminal IP in the data packet Address and source terminal MAC Address) with the source exchanger information (source interchanger ID and source interchanger connect the port of source terminal) Between correspondence be stored in address mapping module 15.The correspondence include IP address of terminal, terminal MAC address, Interchanger ID, the switch port of terminal connection.ARP processing modules 14 call the flow table update module 13 to establish the first processing Described first processing flow table item is sent to the source interchanger 2 by flow table item;The matching domain of the first processing flow table item includes The source terminal address and source interchanger ID, the instruction of the first processing flow table item include forwarding a packet to the matched data of institute The source terminal port;Generated first processing flow table item is sent to source interchanger by flow table update module 13.At the ARP Reason module 14 inquires the correspondence with the presence or absence of the purpose IP address of terminal in the data packet in described address mapping block 15 Relationship, if in the presence of the corresponding purpose interchanger ID of the purpose IP address of terminal, purpose terminal MAC address is obtained.At ARP Reason module 14 calls the flow table update module 13 to establish addition second processing flow table item.Specifically, ARP processing modules 14 can incite somebody to action The source terminal MAC Address, purpose interchanger ID and purpose terminal MAC address are sent to the flow table update module 13.Institute Flow table update module 13 is stated to be established according to the source terminal MAC Address, purpose interchanger ID and purpose terminal MAC address information Second processing flow table item.The matching domain of second processing flow table item includes source terminal MAC Address and purpose terminal MAC address, the The instruction of two processing flow table items includes adding purpose interchanger ID to the matched data packet of institute.Flow table update module 13 will be generated Second processing flow table item be sent to source interchanger.The ARP processing modules 14 are inquired in described address mapping block 15 The correspondence of purpose IP address of terminal in the no data packet forwarded there are source interchanger 2, if being not present, abandons the ARP Packet.It, can be in system in order to ensure there are the correspondence of the IP address of terminal of all terminals in described address mapping block 15 All terminals in this system is allowed all to send an ARP packet during initialization.
Step S6, source terminal are delivered a packet in the source interchanger, in the source interchanger, the data packet With the second processing flow table item successful match, the instruction of the successful match flow table item is performed, in data packet addition The purpose interchanger ID;The data packet and the routing flow table item successful match, perform the successful match flow table item Instruction, the data is forwarded a packet in next interchanger of routing.Specifically, the data packet includes unicast packet. Referring to Fig. 3, source terminal h1 transmits packets to purpose terminal h2, and source terminal h1 first delivers a packet to source interchanger SW1 In, in SW1, the data packet with the routing flow table item successful match in SW1, perform corresponding operation, data packet according to Specified path (L1) is output in SW2.
Step S7, by repeatedly forwarding, the data packet is reached in purpose interchanger, in the purpose interchanger, institute Data packet and the described first processing flow table item successful match are stated, the instruction of the successful match flow table item is performed, by the data It forwards a packet in the corresponding port that the data packet is instructed to the flow table item, the data packet reaches purpose terminal.Referring to Fig. 3, data packet is sent in interchanger SW2, in SW2, the data packet with the routing flow table item successful match in SW2, Corresponding operation is performed, data packet is output to according to specified path (L3) in SW4.In SW4, the data packet with in SW4 The first processing flow table item successful match, perform corresponding operation, exported from the correct port of interchanger SW4;H2, which is got, to be come From the data packet of h1.
In the implementation method of the big double layer network system, interchanger receives the number that directly connected terminal is sent According to packet, at this point, interchanger matches the data packet using the flow table item in the interchanger of source as source interchanger, if found With successful flow table item, then instruction and the execution of the successful match flow table item are obtained.One data packet can match multiple streams List item, the flow table item can have priority, in the case where matching multiple flow table items, the instruction in the high flow table item of priority It first carries out.The realization of the priority can realize by setting special Priority field in flow table item, reference can be made to OpenFlow agreements 1.3;It can also be realized by controlling matched sequence.If can not find the flow table item of successful match, hand over The data packet will be abandoned by changing planes.Each flow table item of OpenFlow interchangers can be corresponding with zero to multiple actions, if do not had It is defined forwarding behavior, then will be abandoned by acquiescence with the matched data packet in flow table item packet header domain.In addition, interchanger is to the stream The processing of list item is pipeline system.
The big double layer network implementation method further includes:The control server obtains and counts the road in all interchangers By the relevant information of flow table item, the flow information of each routed path is determined according to the statistical information of each routing flow table item, and Traffic management rule is determined according to the flow information.Specifically, the relevant information of the flow table item includes the counting of flow table item Information in device, flow measurement module count the relevant information of each flow table item, obtain the flow of each routed path Information.The traffic management module obtains management strategy or default management strategy from network struction module, is route according to each item The flow information in path judges the congestion state of each routed path, and true according to the congestion state and management strategy of each routed path Fixed new traffic management rule, and the traffic management rule is sent to the network struction module.Traffic management rule packet It includes and disables some routed path, enables some routed path etc..One routed path is referred to as a link.Above method The sequence of execution can be suitably changed as the case may be.
In conclusion a kind of system and method for controlling server and its application of the present invention, by control server for The unified management and control of the whole network switching equipment, the routing iinformation of the big double layer network of rapid configuration reduce network convergence time, and pass through Controller handles addressing request, reduces the request of broadcast addressing in network, reduces transmission delay.Simultaneously as this system Management and control is concentrated mainly on control server, for whole network by update and modification only control server need to be configured, simplify pipe The execution of reason measure.So the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (10)

1. a kind of control server, it is characterised in that:The control server is connected with multiple switch, the multiple interchanger It is identified by the interchanger ID of predistribution, the multiple interchanger is connected separately with terminal, and the control server includes Routing calculation module, network struction module, flow table update module, address mapping module and ARP processing modules;
The network struction module presets routing strategy for determining routing algorithm and for selecting what is rationally route Traffic management rule;
The routing calculation module is used to obtain the topology information of the multiple interchanger and the routing strategy, The routing calculation module is calculated according to the topological structure of the routing algorithm that the routing strategy determines and the interchanger Obtain the routed path information between interchanger described in any two;The routed path information is exchanged with any two One in machine as source interchanger and another interchanger determines as a purpose;The routing calculation module is according to the stream Amount management rule selects reasonable routing iinformation in the routed path information and is sent to the reasonable routing iinformation described Flow table update module;
The flow table update module is used to generate the flow table item of each interchanger, and the flow table item is sent to each friendship It changes planes, the flow table item includes matching domain and instruction, for the interchanger using the flow table item in the handing-over machine to data Packet is handled, and the data packet is the source terminal data packet to be sent being connected directly with the interchanger;The processing packet It includes and matches the data packet with the matching domain of the flow table item in the interchanger, during successful match in the interchanger Perform the instruction of the flow table item of successful match;
The flow table update module is converted to the reasonable routing iinformation received corresponding with the reasonable routing iinformation The routing flow table item of interchanger, and the routing flow table item is issued in corresponding interchanger;The routing flow table item Matching domain include the purpose interchanger ID, it is described routing flow table item instruction include according to the reasonable routing iinformation to institute State matched data packet forwarding;The flow table update module is additionally operable to generation ARP packet stream list items, and by the ARP packet streams list item It is sent in the source interchanger;The ARP packet streams list item is used to handle the ARP packets that the source interchanger receives, the ARP packets The instruction of flow table item includes forwarding a packet to the ARP into the ARP processing modules of the control server;
The ARP processing modules receive the ARP packets of the source interchanger forwarding, establish the source terminal letter that the ARP packets are included The correspondence of breath and the source exchanger information is stored in described address mapping block;The flow table update module is called to establish Described first processing flow table item is sent to the source interchanger by the first processing flow table item;Of the first processing flow table item Include the source terminal address and source interchanger ID with domain, the instruction of the first processing flow table item is included the matched data of institute Forward a packet to the switch port of the source terminal connection;The ARP processing modules are inquired in described address mapping block The correspondence of the no purpose IP address of terminal there are in the ARP packets;If in the presence of the purpose IP address of terminal pair is obtained The purpose interchanger ID and the purpose terminal MAC address answered, calls the flow table update module to establish second processing flow table , the second processing flow table item is sent to the source interchanger;The matching domain of the second processing flow table item includes described Source terminal MAC Address and the purpose terminal MAC address, the instruction of the second processing flow table item include adding purpose interchanger ID is to the matched data packet of institute;If being not present, packet loss.
2. control server according to claim 1, it is characterised in that:The control server further includes traffic management mould Block, the flow table item include the counter for data flow quantity statistical relevant information, and the traffic management module obtains described each The relevant information of each flow table item counter in interchanger, the stream of each routed path is obtained according to the relevant information of the counter Measure information;The traffic management module determines new traffic management rule according to the flow information and preset management strategy, And the new traffic management rule is sent to the network struction module.
3. control server according to claim 2, it is characterised in that:The network struction module is additionally operable to determine management Strategy, and the management strategy is sent to the traffic management module.
4. a kind of big double layer network system, it is characterised in that:The big double layer network system include it is multiple be connected with terminal exchange Control server in machine and a claims 1 to 3 described in any claim, the control server are exchanged with multiple Machine is connected, and the multiple interchanger is identified by the interchanger ID of predistribution;The interchanger includes one or more flow tables, Every flow table includes one or more flow table items;The interchanger receives the terminal that the interchanger the is directly connected to number to be sent According to packet, the data packet with the flow table item in the flow table is matched, performs the instruction of the flow table item of successful match.
5. a kind of big double layer network implementation method, it is characterised in that:The big double layer network implementation method includes at least:
Control server generate and determines the routed path information of any two inter-exchange, the routed path information including from Source interchanger is to the routed path information between purpose interchanger;
Multiple routed path information are converted to the routed path information and route flow table accordingly by the control server , the matching domain of the routing flow table item includes the purpose interchanger ID, and instruction includes will according to the routed path information The data packet forwarding of successful match;The routing flow table item is issued in corresponding interchanger by the control server;
The control server generates ARP packet stream list items for each interchanger, and the ARP packet streams list item is by the ARP of reception Packet is transmitted to the control server process, and the ARP packet streams list item is sent in the interchanger;
ARP packets are sent in the source interchanger by source terminal, in the source interchanger, the ARP packets and the ARP packet streams List item successful match performs the instruction of the successful match flow table item, and the ARP packets are sent to the control server;
The ARP packet source terminal addresses and the correspondence of source interchanger ID that the control server storage receives, call flow table Update module establishes the first processing flow table item, and the described first processing flow table item is sent to the source interchanger;At described first The matching domain for managing flow table item includes the source terminal address and source interchanger ID, and the instruction of the first processing flow table item includes will The matched data of institute forward a packet to the source terminal corresponding ports;Whether ARP processing modules are inquired in address mapping module deposits The correspondence of purpose IP address of terminal in the ARP packets;If in the presence of it is corresponding to obtain the purpose IP address of terminal Purpose interchanger ID and the purpose terminal MAC address call flow table update module to establish second processing flow table item, by described in Second processing flow table item is sent to the source interchanger;The matching domain of the second processing flow table item includes the source terminal MAC Address and the purpose terminal MAC address, the instruction of the second processing flow table item include adding purpose interchanger ID to institute The data packet matched;
Source terminal is delivered a packet in the interchanger, in the interchanger, the data packet and second processing flow table Item successful match, performs the instruction of the successful match flow table item, for the upper purpose interchanger ID of data packet addition;
The data packet and the routing flow table item successful match, perform the instruction of the successful match flow table item, by the number It is forwarded according to packet;
In the interchanger, the data packet and the first processing flow table item successful match perform the successful match flow table item Instruction, the matched data of institute are forwarded a packet into the terminal prot.
6. big double layer network implementation method according to claim 5, it is characterised in that:The big double layer network implementation method It further includes:The source interchanger matches the data packet received according to flow table item, without the flow table item of successful match, then Abandon the data packet.
7. big double layer network implementation method according to claim 5, it is characterised in that:The control server generation is simultaneously true The specific implementation for determining the routed path information of any two inter-exchange includes:The control server obtains big two layers of net The switch-layer topology structure of network;The control server determines routing strategy;The control server is opened up according to interchanger Flutter structure and the routed path information of routing strategy generation any two inter-exchange;The control server is according to default Management strategy determine the relevant routed path information of the source interchanger for any source interchanger.
8. big double layer network implementation method according to claim 5, it is characterised in that:The control server is according to reception To the purpose terminal address of data packet determine that the concrete methods of realizing of the purpose interchanger ID of the data packet includes:The control With the presence or absence of the correspondence of the purpose terminal address in the data packet in the information of control server inquiry storage, if in the presence of, Then obtain the corresponding purpose interchanger ID of the purpose terminal address.
9. big double layer network implementation method according to claim 5, it is characterised in that:The control server is according to reception To the purpose terminal address of data packet determine that the concrete methods of realizing of the purpose interchanger ID of the data packet includes:The control Control server establishes broadcast flow table item, and the matching domain of the broadcast flow table item includes purpose terminal address, the broadcast flow table item Instruction include obtaining the purpose interchanger ID using broadcast mode;The control server sends the broadcast flow table item To the interchanger.
10. big double layer network implementation method according to claim 5, it is characterised in that:The big double layer network realization side Method further includes:The control server obtains and counts the relevant information of the routing flow table item in all interchangers, according to each The statistical information of routing flow table item determines the flow information of each routed path, and determine traffic management according to the flow information 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 CN104980373A (en) 2015-10-14
CN104980373B true 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)

Families Citing this family (7)

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

Citations (3)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103460653A (en) * 2011-03-31 2013-12-18 日本电气株式会社 Computer system, and communication method

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
CN104980373A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104980373B (en) A kind of system and method for controlling server and its application
JP7417825B2 (en) slice-based routing
CN105049360B (en) The method and system of interchanger virtualization in network for promoting interconnection switch
CN104412551B (en) It is optimized with the ambulant packets forwarding of virtual machine
CN104780066B (en) Determined for the physical pathway of virtual network stream of packets
CN105453523B (en) Method and apparatus for ensuring the seamless flowing of flow
CN104285416B (en) The virtual router in termination covering tunnel in storage area network
CN103227843B (en) A kind of physical link address management method and device
US8824286B2 (en) Network aware global load balancing system and method
CN108768817A (en) A kind of virtualization network constructing system, data packet sending method
CN106685835B (en) A method of realizing the distributed routing of high speed between the calculate node of data center
CN104618243B (en) Method for routing, apparatus and system, Scheduling of Gateway method and device
CN104717098B (en) A kind of data processing method and device
CN105391635B (en) A kind of network virtualization method based on SDN
CN103929368B (en) Load balance method and device for multiple service units
CN102714628A (en) Communication system, control apparatus, processing rule setting method, packet transmitting method and program
CN105556916B (en) The information statistical method and device of network flow
CN104040527A (en) Connecting layer-2 domains over layer-3 networks
CN104301417B (en) A kind of load-balancing method and device
CN105634923B (en) Ethernet based on SDN controllers broadcasts optimized treatment method
CN105791402B (en) A kind of cloud computing platform network virtualization implementation method and corresponding plug-in unit and agency
Wang et al. Designing efficient high performance server-centric data center network architecture
CN108322391A (en) Data transferring method based on flow table
CN107800626A (en) Processing method, device and the equipment of data message
CN103916253A (en) Information transmission method and system on basis of information center network

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