CN106850803A - A kind of WRR system and algorithm based on SDN - Google Patents

A kind of WRR system and algorithm based on SDN Download PDF

Info

Publication number
CN106850803A
CN106850803A CN201710065812.8A CN201710065812A CN106850803A CN 106850803 A CN106850803 A CN 106850803A CN 201710065812 A CN201710065812 A CN 201710065812A CN 106850803 A CN106850803 A CN 106850803A
Authority
CN
China
Prior art keywords
sdn
server
flow table
unit
wrr
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
CN201710065812.8A
Other languages
Chinese (zh)
Other versions
CN106850803B (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.)
GLOBAL TONE COMMUNICATION TECHNOLOGY Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201710065812.8A priority Critical patent/CN106850803B/en
Publication of CN106850803A publication Critical patent/CN106850803A/en
Application granted granted Critical
Publication of CN106850803B publication Critical patent/CN106850803B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1029Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Landscapes

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

Abstract

WRR system and algorithm the present invention relates to be based on SDN.Present system includes that client modules are asked for sending client;Server module, for receiving and processes client's request that the client modules send;SDN switch module, for server module described in dynamic detection, and reports SDN controller modules by testing result;SDN controller modules, testing result for being reported according to the SDN switch module generates WRR Policy Table, and according to the WRR Policy Table for the client of the client modules asks distribution server, and flow table is issued to the SDN switch module according to server-assignment result.The all of configuration of the present invention all concentrates on controller, and SDN switch can be with automatic sensing server and notification controller, configuration is conveniently simple, it is uniformly controlled by controller, controller formulates WRR strategy according to the server info for reporting, and flow table is issued, so as to realize load balancing function.

Description

A kind of WRR system and algorithm based on SDN
Technical field
The present invention relates to mobile communication technology field, specially a kind of WRR system and algorithm based on SDN.
Background technology
Software defined network (SoftwareDefinedNetwork, SDN), is a kind of new network innovation of Emulex networks Framework, is a kind of implementation of network virtualization, and its core technology OpenFlow is by by network equipment chain of command and data Face separates, it is achieved thereby that the flexible control of network traffics, makes network become more intelligent as pipeline.Traditional IT architecture In network, according to business demand deployment reach the standard grade after, if business demand changes, remodify corresponding network equipment Configuration on (router, interchanger, fire wall) is a very cumbersome thing.In internet/mobile Internet instant ten thousand Under the service environment of change, high stable and the high-performance of network are also insufficient for business demand, and flexibility and agility are all the better It is key.The thing that SDN is done is to separate the control on the network equipment, by the controller management concentrated, without dependence Underlay network device (router, interchanger, fire wall), shields the difference from underlay network device.And control has been Full-open, user can be with self-defined any network route for wanting to realize and transmission rule strategy, so that more flexibly and intelligent.
SDN is the representative of next generation IP network network management framework design, and this thinking is emphasized to split control plane and forwarding Face, with " stream is exchanged " replacement " bag conversion ", is replaced with " centralized management " and is separately configured.OpenFlow is then to realize this thinking When, with the flow table of network central management platform, (FlowTable, more general word is NIB, i.e., NetworkInformationBase) the agreement of substitution network equipment routing table (RIB, RoutingInformationBase).
SDN includes SDNController (SDN controllers) and SDN switch.SDN controllers are software defined networks Application program in network (SDN), is responsible for flow control to ensure intelligent network.SDN controllers are based on such as OpenFlow associations View, it is allowed to which server tells interchanger to where sending packet.SDN controllers are the control centres of whole SDN, By OpenFlow agreements, issue various flow tables by SDN controllers carries out message forwarding to SDN switch.In SDN, branch The SDN interaction machines for holding OpenFlow carry out business forwarding by flow table, and the flow table in SDN interaction machines is that SDN controllers are generated simultaneously One rule is handed down to SDN interaction machines.
With flowing of access rapid growth, portfolio is improved constantly, and server is often operated in overload state, therefore uses Family cannot obtain uninterrupted availability and faster SRT.Existing solution is, by load-balancing technique, to pass The load balancing of system is concentrated in a load-balancing device, and load-balancing device is responsible for user according to configured balance policy Request is distributed in server farm.And Control granularity is what the port based on load-balancing device was set so that Control granularity It is excessive, and whole configuration is distributed (whole network has many load-balancing devices), configuration complexity and easily error.And When customer service is a lot, SDN controllers can generate a large amount of flow table items, by OpenFlow agreements flow table issuance mechanism in itself, The flow table speed for configuring SDN switch is slow, therefore generation flow table is a lot, and flow table issuance speed is slow, causes business to be given birth to completely The effect time can be very long, influences Consumer's Experience.
The content of the invention
The problem that the present invention exists for prior art, it is proposed that a kind of WRR system and algorithm based on SDN, institute Some configurations all concentrate on controller, and SDN switch can be with automatic sensing server and notification controller, configuration convenience Simply, it is uniformly controlled by controller, controller formulates WRR strategy according to the server info for reporting, and issues flow table, So as to realize load balancing function.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of WRR system based on SDN, including:
Client modules, for sending client's request;
Server module, for receiving and processes client's request that the client modules send;
SDN switch module, for server module described in dynamic detection, and reports SDN controllers by testing result Module;
SDN controller modules, the testing result for being reported according to the SDN switch module generates WRR strategy Table, and according to the WRR Policy Table for the client of the client modules asks distribution server, and according to service Device allocation result issues flow table to the SDN switch module.
Preferably, the SDN switch module includes:
PING packet sending units, for sending PING messages to obtain the IP address of active server to interface;
FTP request message structural units, ftp server address is enlivened obtaining for constructing FTP request messages;
HTTP request message structural unit, WEB server address is enlivened obtaining for constructing HTTP request message;
Message reporting unit, for by the PING packet sending units, the FTP request messages structural unit and described The server info that HTTP request message structural unit is obtained reports the SDN controllers in Experimenter message forms Module.
Preferably, the SDN controller modules include:
Message receiving unit, for receiving the Experimenter messages that the SDN switch module is reported;
Packet parsing unit, for parsing the Experimenter messages of the message receiving unit reception to obtain service Device information;
WRR Policy Table's generation unit, for the server info generation weighting wheel obtained according to packet parsing unit Ask Policy Table;
Server-assignment unit, weight and access times for obtaining each server according to WRR Policy Table, And according to the weight and access times of each server for respective server distributes client;
Flow table issuance unit, for calculating forward-path according to the server-assignment result of the server-assignment unit, And flow table is issued to the SDN switch module according to the forward-path.
Preferably, the SDN controller modules also include:
Threshold setting unit, the threshold value for setting flow table item;
Threshold test is detected, is connected with the threshold setting unit, for detecting the flow table item that the SDN controllers are generated Quantity whether exceed default threshold value;
Stream file unit, is connected with the threshold detection unit, the number of the flow table item for being generated in the SDN controllers Stream file of the generation comprising flow table item when amount is more than default threshold value;
Flow table information transmitting unit, is connected with the stream file unit, for being sent comprising described to the SDN switch The flow table message of stream file information.
Preferably, also including in the SDN controllers:
Feedback information receiving unit, for judge to be had been received by Preset Time the SDN switch feedback for true Recognize the feedback information for having obtained flow table item and having issued flow table.
A kind of Weighted Round Robin of use said system, comprises the following steps:
1) client is sent by client modules to ask;
2) by SDN switch module dynamic detection server module, and testing result is reported into SDN controller moulds Block;
3) testing result reported according to the SDN switch module by SDN controller modules generates WRR plan Sketch form, and according to the WRR Policy Table for the client of the client modules asks distribution server, and according to clothes Business device allocation result issues flow table to the SDN switch module;
4) client's request that the client modules send is received and processed by server module.
Preferably, the step 2) specifically include:
21) PING messages are sent to obtain the IP address of active server to interface by PING packet sending units;
22) FTP request messages are constructed by FTP request messages structural unit and enlivens ftp server address to obtain;
23) HTTP request message is constructed by HTTP request message structural unit and enlivens WEB server address to obtain;
24) by message reporting unit by the PING packet sending units, the FTP request messages structural unit and institute State the server info of HTTP request message structural unit acquisition and report the SDN controls in Experimenter message forms Device module.
Preferably, the step 3) specifically include:
31) the Experimenter messages that the SDN switch module is reported are received by message receiving unit;
32) the Experimenter messages for being received by message receiving unit described in packet parsing unit resolves are obtaining clothes Business device information;
33) server info obtained according to packet parsing unit by WRR Policy Table generation unit generates weighting Polling schemas table;
34) weight of each server is obtained and using secondary according to WRR Policy Table by server-assignment unit Number, and be that respective server distributes client according to the weight and access times of each server;
35) forwarding road is calculated according to the server-assignment result of the server-assignment unit by flow table issuance unit Footpath, and flow table is issued to the SDN switch module according to the forward-path.
Preferably, the Weighted Round Robin of the SDN controllers is further comprising the steps of:
41) threshold value of flow table item is set by threshold setting unit;
42) detect the quantity of the flow table item that the SDN controllers are generated whether more than default by threshold detection unit Threshold value;
43) it is used to exceed default threshold value in the quantity of the flow table item of SDN controllers generation by stream file unit Stream files of the Shi Shengcheng comprising the flow table item;
44) flow table comprising the stream file information is sent to the SDN switch by flow table information transmitting unit to disappear Breath.
Preferably, the Weighted Round Robin of the SDN controllers is further comprising the steps of:
Judge to be had been received by Preset Time that the SDN switch feeds back for confirming by feedback information receiving unit Obtain flow table item and issue the feedback information of flow table;
When the feedback information of the SDN switch feedback is not received in Preset Time, the flow table issuance unit is to institute State SDN switch and issue the flow table comprising the flow table item.
The beneficial effects of the invention are as follows:
Based on SDN frameworks, the strategy of WRR is based on whole network, there is provided service end to end, SDN switch possesses The function of timing aware services device, and SDN controllers are reported by Experimenter messages, controller is according to the clothes for reporting Business device information formulates WRR strategy, and issues flow table, so as to realize load balancing function.
Brief description of the drawings
Fig. 1 is the structural representation of WRR system of the present invention based on SDN;
Fig. 2 is the schematic diagram of Weighted Round Robin of the present invention based on SDN;
Fig. 3 is the general flow chart of Weighted Round Robin of the present invention based on SDN;
Fig. 4 is the handling process schematic diagram of SDN switch module of the present invention;
Fig. 5 is the handling process schematic diagram of SDN controller modules of the present invention;
Fig. 6 is the WRR schematic diagram of SDN controller modules of the present invention.
Specific embodiment
The following is specific embodiment of the invention and with reference to accompanying drawing, technical scheme is further described, But the present invention is not limited to these embodiments.
As shown in Figure 1-2, a kind of WRR system based on SDN, including:
Client modules, for sending client's request, including some client devices.
Server module, for receiving and processes client's request that the client modules send.Including some servers, Multiple servers constitute a group, and they are connected by the network equipment, and these servers provide same or analogous network Service.
As shown in figure 4, SDN switch module, for server module described in dynamic detection, and testing result is reported SDN controller modules.The SDN switch module includes, PING packet sending units, for interface send PING messages with Obtain the IP address of active server;FTP request message structural units, for construct FTP request messages with obtain enliven FTP take Business device address;HTTP request message structural unit, WEB server address is enlivened obtaining for constructing HTTP request message;Report Literary reporting unit, for by the PING packet sending units, the FTP request messages structural unit and the HTTP request report The server info that literary structural unit is obtained reports the SDN controller modules in Experimenter message forms.
As seen in figs. 5-6, SDN controller modules, the testing result for being reported according to the SDN switch module is generated WRR Policy Table, and according to the WRR Policy Table for the client of the client modules asks distribution server, And flow table is issued to the SDN switch module according to server-assignment result.By controller aware services device group, root According to the strategy of WRR, the distribution by user's request in server farm provides the user service, and available to server Property is safeguarded.The strategy of WRR is based on whole network, there is provided service end to end, and SDN switch possesses timing and perceives The function of server, and SDN controllers are reported by Experimenter messages, controller is according to the server info for reporting WRR strategy is formulated, and issues flow table, so as to realize load balancing function.
Controller should support the control plane hardware current limliting configuration task sequence based on SDN, should include:Control based on SDN Plane hardware current-limiting function processed is opened or closed, hardware current limliting Policy Table.Configuration item includes the WRR function based on SDN, For opening or closing WRR function and WRR Policy Table based on SDN, WRR Policy Table is by reporting Experimenter messages are created, can be by the static modification configuration of user.
The field of Experimenter messages includes server ip address, this field definition server ip address;Server Type, this field definition type of server, 1 is ftp server, and 2 is WEB server;Interchanger ID, this field specifies connection clothes The interchanger ID of business device;Switch ports themselves, this field specifies the port of the interchanger of connection server;Weight, this field is specified The weight of server;Access times, the number of times that this field given server is used.
From the form of the privately owned extension Experimenter messages of SDN switch module to SDN controller modules, Experimenter values are needed to organize application to ONF for 255, and Experimenter type values are shown to be from SDN switch for 1 To controller direction.After server detection terminates, privately owned extension Experimenter messages report control by SDN switch Device processed.Wherein server info includes:Server ip address and type of server.
The SDN controller modules include, message receiving unit, for receiving what the SDN switch module was reported Experimenter messages;Packet parsing unit, for parsing the Experimenter messages that the message receiving unit is received To obtain server info;WRR Policy Table's generation unit, for the server info obtained according to packet parsing unit Generation WRR Policy Table;Server-assignment unit, the weight for obtaining each server according to WRR Policy Table And access times, and be that respective server distributes client according to the weight and access times of each server;Flow table issuance list Unit, for calculating forward-path according to the server-assignment result of the server-assignment unit, and according to the forward-path Flow table is issued to the SDN switch module.
When customer service is a lot, SDN controller modules can generate a large amount of flow table items, by OpenFlow agreements in itself Flow table issuance mechanism, the flow table speed for configuring SDN switch module is slow, therefore generation flow table is a lot, flow table issuance speed Slowly, cause the business complete entry-into-force time can be very long, influence Consumer's Experience.Therefore, the SDN controller modules also include, threshold value Setting unit, the threshold value for setting flow table item, the threshold value of flow table item can be set according to offered load ability, network speed etc. It is fixed.Flow table is issued to SDN switch module by SDN controller modules, the allocative efficiency of server is further increased.
Threshold test is detected, is connected with the threshold setting unit, for detecting the flow table item that the SDN controllers are generated Quantity whether exceed default threshold value.When the quantity of flow table item is not above threshold value, SDN controller modules continue with tradition Flow table issuance mode is to SDN switch module, i.e. SDN controller modules generation flow table and a rule is handed down to SDN switch mould Block.When the quantity of the flow table item of SDN controller modules generation exceedes the threshold value of default flow table item, then the stream file unit life Into the stream file comprising the flow table item.
Stream file unit, is connected with the threshold detection unit, the number of the flow table item for being generated in the SDN controllers Stream file of the generation comprising flow table item when amount is more than default threshold value.Flow table information transmitting unit, with the stream file list Unit is connected, for sending the flow table message comprising the stream file information to the SDN switch.The flow table is included in generation After the stream file of item, the flow table information transmitting unit sends the flow table comprising the stream file information to the SDN switch Message, wherein at least including the title of stream file mark and stream file in the flow table information.
The SDN switch module is also included:Flow table information receiving unit, flow table item acquiring unit and configuration distributing list Unit.The flow table information receiving unit is used to receive the flow table message comprising stream file information from SDN controller modules;The stream List item acquiring unit is connected with the flow table information receiving unit, for according to the flow table message that receives with default net Network access mode obtains the flow table item in the stream file from the SDN controller modules.
Additionally, after the flow table message comprising the stream file information is sent to the SDN switch module, to ensure SDN switch module has obtained the flow table item in stream file, and the SDN controller modules send one and inquire that message inquiry is described Whether SDN switch module has obtained the flow table item in stream file.Therefore, also included in the SDN switch module:Feedback Information transmitting unit, is connected with the configuration distributing unit, for being sent for confirming to have obtained to the SDN controller modules Flow table item has simultaneously issued the feedback information of flow table.Also include in the SDN controllers, feedback information receiving unit, for judging Having obtained flow table item for confirmation and having issued the feedback letter of flow table for the SDN switch feedback is had been received by Preset Time Breath.When feedback information receiving unit does not receive the feedback information of the SDN interactions machine feedback in Preset Time, under the flow table Bill unit issues the flow table comprising the flow table item to the SDN switch module.That is, the feedback information receives single Unit does not receive having obtained flow table item for confirmation and having issued stream for the feedback information transmitting element feedback in Preset Time During the feedback information of table, SDN controller modules continue with traditional flow table issuance mode to SDN switch module, i.e. SDN controllers Simultaneously a rule is handed down to SDN switch module to module generation flow table.
As shown in figure 3, a kind of Weighted Round Robin, it is comprised the following steps:
1) client is sent by client modules to ask;
2) by SDN switch module dynamic detection server module, and testing result is reported into SDN controller moulds Block.The step 2) specifically include, 21) PING messages are sent to obtain active service to interface by PING packet sending units The IP address of device;22) FTP request messages are constructed by FTP request messages structural unit and enlivens ftp server address to obtain; 23) HTTP request message is constructed by HTTP request message structural unit and enlivens WEB server address to obtain;24) by report Literary reporting unit is by the PING packet sending units, the FTP request messages structural unit and the HTTP request message structure The server info for making unit acquisition reports the SDN controller modules in Experimenter message forms.
3) testing result reported according to the SDN switch module by SDN controller modules generates WRR plan Sketch form, and according to the WRR Policy Table for the client of the client modules asks distribution server, and according to clothes Business device allocation result issues flow table to the SDN switch module.
The step 3) specifically include, 31) receive what the SDN switch module was reported by message receiving unit Experimenter messages;32) Experimenter received by message receiving unit described in packet parsing unit resolves is reported Text is obtaining server info;33) server obtained according to packet parsing unit by WRR Policy Table generation unit Information generates WRR Policy Table;34) each server is obtained according to WRR Policy Table by server-assignment unit Weight and access times, and according to the weight and access times of each server be respective server distribute client;35) lead to Cross flow table issuance unit and forward-path is calculated according to the server-assignment result of the server-assignment unit, and according to described turn Hair path issues flow table to the SDN switch module.
4) client's request that the client modules send is received and processed by server module.
The Weighted Round Robin of the SDN controllers is further comprising the steps of, and 41) flow table is set by threshold setting unit The threshold value of item;42) detect the quantity of the flow table item that the SDN controllers are generated whether more than default by threshold detection unit Threshold value;43) it is used to be given birth to when the quantity of the flow table item of SDN controllers generation exceedes default threshold value by stream file unit Into the stream file comprising the flow table item;44) sent to the SDN switch by flow table information transmitting unit and include the stream The flow table message of fileinfo.
The Weighted Round Robin of the SDN controllers is further comprising the steps of, is judged by feedback information receiving unit Having obtained flow table item for confirmation and having issued the feedback letter of flow table for the SDN switch feedback is had been received by Preset Time Breath;When the feedback information of the SDN switch feedback is not received in Preset Time, the flow table issuance unit is to the SDN Interchanger issues the flow table comprising the flow table item.That is, the SDN controller modules do not receive institute in Preset Time State when having obtained flow table item and issued the feedback information of flow table for confirmation of SDN switch module feedback, SDN controller moulds Block continues with traditional flow table issuance mode to SDN switch module, i.e. SDN controller modules generation flow table and a rule is handed down to SDN switch module.
SDN controller modules are responsible for whole SDN (Software Defined Network, software defined network) Centralization control, there is very important effect for holding the whole network resource view, improving Internet resources delivery quality.It is single Controller cannot tackle SDN problem across multiple regions;The distributed type assemblies of many motors control device formation are needed, is kept away Exempt from the problem of the aspects such as reliability, autgmentability, performance that single controller node is caused.
Therefore, the SDN switch module also includes communications processor element, and the SDN controller modules include:First SDN controllers, at least one the 2nd SDN controllers and configuration management element.The first SDN controllers, for described The communications processor element of SDN switch module sets up main connection;The 2nd SDN controllers, for the SDN switch mould The communications processor element of block sets up auxiliary connection;The configuration management element, in the case of the main Joint failure, in institute State the new main connection selected in each described auxiliary connection of SDN switch module.The SDN controllers of the new main connection connect with old master Data syn-chronization is kept between the SDN controllers for connecing, is lost activity in the SDN controller modules and (is for example broken down and make main company Connect failure) the load of SDN controllers distribution to other active SDN controls is averaged according to default Load Sharing Algorithm Device processed.
In order that SDN switch module can switch to new main connection from old master's connection, the SDN switch module and Need the presence of corresponding communication interaction between SDN controller modules.Specifically, the configuration management element the SDN exchange The new main connection selected in each described auxiliary connection of machine module, including:Receive comprising the SDN switch MAC Address first Experimenter messages, and calculated each to determine according to the IP address and the MAC Address of the SDN controller modules The connection type of SDN controllers and the SDN switch module, the connection type is the main connection or auxiliary connection, then, The 2nd Experimenter messages are sent to the SDN switch module, each described 2nd Experimenter message is included The IP address and connection type of a SDN controller in the SDN controller modules.
Synchronization between the SDN controllers is divided into real-time synchronization and cycle synchronisation, and real-time synchronization is increment synchronization, causes reality When synchronous factor include at 4 points:Statistical information change, composer change, north orientation application change and the change of OF message etc.;Cycle It is synchronously the synchronization of full database, due to spending the time more long, answers background process.Except connection state information, each SDN controls Data content in the database of device can keep completely the same.
Specific embodiment described herein is only to the spiritual explanation for example of the present invention.Technology neck belonging to of the invention The technical staff in domain can be made various modifications or supplement to described specific embodiment or be replaced using similar mode Generation, but without departing from spirit of the invention or surmount scope defined in appended claims.

Claims (10)

1. a kind of WRR system based on SDN, it is characterised in that:Including,
Client modules, for sending client's request;
Server module, for receiving and processes client's request that the client modules send;
SDN switch module, for server module described in dynamic detection, and reports SDN controller modules by testing result;
SDN controller modules, the testing result for being reported according to the SDN switch module generates WRR Policy Table, And according to the WRR Policy Table for the client of the client modules asks distribution server, and according to server point With result flow table is issued to the SDN switch module.
2. a kind of WRR system based on SDN according to claim 1, it is characterised in that:The SDN switch mould Block includes,
PING packet sending units, for sending PING messages to obtain the IP address of active server to interface;
FTP request message structural units, ftp server address is enlivened obtaining for constructing FTP request messages;
HTTP request message structural unit, WEB server address is enlivened obtaining for constructing HTTP request message;
Message reporting unit, for by the PING packet sending units, the FTP request messages structural unit and the HTTP The server info that request message structural unit is obtained reports the SDN controllers mould in Experimenter message forms Block.
3. a kind of WRR system based on SDN according to claim 1, it is characterised in that:The SDN controllers mould Block includes,
Message receiving unit, for receiving the Experimenter messages that the SDN switch module is reported;
Packet parsing unit, is believed for parsing the Experimenter messages that the message receiving unit is received with obtaining server Breath;
WRR Policy Table's generation unit, the server info for being obtained according to packet parsing unit generates WRR plan Sketch form;
Server-assignment unit, weight and access times for obtaining each server according to WRR Policy Table, and root According to the weight and access times of each server for respective server distributes client;
Flow table issuance unit, for calculating forward-path, and root according to the server-assignment result of the server-assignment unit According to the forward-path flow table is issued to the SDN switch module.
4. a kind of WRR system based on SDN according to claim 3, it is characterised in that:The SDN controllers mould Block also includes,
Threshold setting unit, the threshold value for setting flow table item;
Threshold test detection, is connected with the threshold setting unit, the number of the flow table item for detecting the SDN controllers generation Whether amount exceedes default threshold value;
Stream file unit, is connected with the threshold detection unit, and the quantity of the flow table item for being generated in the SDN controllers surpasses Stream file of the generation comprising flow table item when crossing default threshold value;
Flow table information transmitting unit, is connected with the stream file unit, for being sent comprising the stream text to the SDN switch The flow table message of part information.
5. a kind of WRR system based on SDN according to claim 4, it is characterised in that:In the SDN controllers Also include,
Feedback information receiving unit, for judge to be had been received by Preset Time the SDN switch feedback for confirming Obtain flow table item and issue the feedback information of flow table.
6. in a kind of use claim 1-5 any system Weighted Round Robin, it is characterised in that:Comprise the following steps,
1) client is sent by client modules to ask;
2) by SDN switch module dynamic detection server module, and testing result is reported into SDN controller modules;
3) testing result reported according to the SDN switch module by SDN controller modules generates WRR Policy Table, And according to the WRR Policy Table for the client of the client modules asks distribution server, and according to server point With result flow table is issued to the SDN switch module;
4) client's request that the client modules send is received and processed by server module.
7. Weighted Round Robin according to claim 6, it is characterised in that:The step 2) specifically include,
21) PING messages are sent to obtain the IP address of active server to interface by PING packet sending units;
22) FTP request messages are constructed by FTP request messages structural unit and enlivens ftp server address to obtain;
23) HTTP request message is constructed by HTTP request message structural unit and enlivens WEB server address to obtain;
24) by message reporting unit by the PING packet sending units, the FTP request messages structural unit and described The server info that HTTP request message structural unit is obtained reports the SDN controllers in Experimenter message forms Module.
8. Weighted Round Robin according to claim 6, it is characterised in that:The step 3) specifically include,
31) the Experimenter messages that the SDN switch module is reported are received by message receiving unit;
32) the Experimenter messages for being received by message receiving unit described in packet parsing unit resolves are obtaining server Information;
33) server info obtained according to packet parsing unit by WRR Policy Table generation unit generates WRR Policy Table;
34) weight and access times of each server are obtained according to WRR Policy Table by server-assignment unit, and Weight and access times according to each server are respective server distribution client;
35) forward-path is calculated according to the server-assignment result of the server-assignment unit by flow table issuance unit, and Flow table is issued to the SDN switch module according to the forward-path.
9. Weighted Round Robin according to claim 8, it is characterised in that:The Weighted Round Robin of the SDN controllers It is further comprising the steps of,
41) threshold value of flow table item is set by threshold setting unit;
42) whether the quantity for detecting the flow table item that the SDN controllers are generated by threshold detection unit exceedes default threshold value;
43) it is used to be given birth to when the quantity of the flow table item of SDN controllers generation exceedes default threshold value by stream file unit Into the stream file comprising the flow table item;
44) the flow table message comprising the stream file information is sent to the SDN switch by flow table information transmitting unit.
10. Weighted Round Robin according to claim 9, it is characterised in that:The Weighted Round Robin of the SDN controllers It is further comprising the steps of,
Judge to have been received by having been obtained for confirmation for the SDN switch feedback in Preset Time by feedback information receiving unit Take flow table item and issue the feedback information of flow table;
When the feedback information of the SDN switch feedback is not received in Preset Time, the flow table issuance unit is to the SDN Interchanger issues the flow table comprising the flow table item.
CN201710065812.8A 2017-02-06 2017-02-06 SDN-based weighted polling system and algorithm Active CN106850803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710065812.8A CN106850803B (en) 2017-02-06 2017-02-06 SDN-based weighted polling system and algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710065812.8A CN106850803B (en) 2017-02-06 2017-02-06 SDN-based weighted polling system and algorithm

Publications (2)

Publication Number Publication Date
CN106850803A true CN106850803A (en) 2017-06-13
CN106850803B CN106850803B (en) 2020-06-26

Family

ID=59122056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710065812.8A Active CN106850803B (en) 2017-02-06 2017-02-06 SDN-based weighted polling system and algorithm

Country Status (1)

Country Link
CN (1) CN106850803B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960586A (en) * 2019-02-19 2019-07-02 北京邮电大学 A kind of appreciable four-layer load-equalizing device of server state and equalization methods
US20210075745A1 (en) * 2019-09-10 2021-03-11 GigaIO Networks, Inc. Methods and apparatus for improved polling efficiency in network interface fabrics
US11593291B2 (en) 2018-09-10 2023-02-28 GigaIO Networks, Inc. Methods and apparatus for high-speed data bus connection and fabric management
US11593288B2 (en) 2019-10-02 2023-02-28 GigalO Networks, Inc. Methods and apparatus for fabric interface polling

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795805A (en) * 2014-02-27 2014-05-14 中国科学技术大学苏州研究院 Distributed server load balancing method based on SDN
CN104158758A (en) * 2014-08-26 2014-11-19 上海斐讯数据通信技术有限公司 Load balancing processing method and system based on user message time feedback in SDN network
CN104301247A (en) * 2014-10-29 2015-01-21 杭州华三通信技术有限公司 Method and device for load balancing of PPPOE access equipment
CN104486246A (en) * 2014-12-23 2015-04-01 上海斐讯数据通信技术有限公司 SDN (software defined networking) architecture based method for realizing QoS (quality of service) mechanism of VXLAN (virtual extensible LAN)
CN104917678A (en) * 2015-06-02 2015-09-16 上海斐讯数据通信技术有限公司 SDN(software defined networking)-based link aggregation method
US20150358236A1 (en) * 2014-06-05 2015-12-10 KEMP Technologies Inc. Adaptive load balancer and methods for intelligent data traffic steering
CN105357117A (en) * 2015-10-21 2016-02-24 上海斐讯数据通信技术有限公司 Flow table issuing method and system, SDN (Software Defined Network) controller and SDN switch
CN105721577A (en) * 2016-02-15 2016-06-29 安徽大学 Server load balancing method for software defined network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795805A (en) * 2014-02-27 2014-05-14 中国科学技术大学苏州研究院 Distributed server load balancing method based on SDN
US20150358236A1 (en) * 2014-06-05 2015-12-10 KEMP Technologies Inc. Adaptive load balancer and methods for intelligent data traffic steering
CN104158758A (en) * 2014-08-26 2014-11-19 上海斐讯数据通信技术有限公司 Load balancing processing method and system based on user message time feedback in SDN network
CN104301247A (en) * 2014-10-29 2015-01-21 杭州华三通信技术有限公司 Method and device for load balancing of PPPOE access equipment
CN104486246A (en) * 2014-12-23 2015-04-01 上海斐讯数据通信技术有限公司 SDN (software defined networking) architecture based method for realizing QoS (quality of service) mechanism of VXLAN (virtual extensible LAN)
CN104917678A (en) * 2015-06-02 2015-09-16 上海斐讯数据通信技术有限公司 SDN(software defined networking)-based link aggregation method
CN105357117A (en) * 2015-10-21 2016-02-24 上海斐讯数据通信技术有限公司 Flow table issuing method and system, SDN (Software Defined Network) controller and SDN switch
CN105721577A (en) * 2016-02-15 2016-06-29 安徽大学 Server load balancing method for software defined network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张开东.: "基于Kandoo 架构的SDN 网络负载均衡算法研究.", 《山西电子技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11593291B2 (en) 2018-09-10 2023-02-28 GigaIO Networks, Inc. Methods and apparatus for high-speed data bus connection and fabric management
CN109960586A (en) * 2019-02-19 2019-07-02 北京邮电大学 A kind of appreciable four-layer load-equalizing device of server state and equalization methods
US20210075745A1 (en) * 2019-09-10 2021-03-11 GigaIO Networks, Inc. Methods and apparatus for improved polling efficiency in network interface fabrics
US11593288B2 (en) 2019-10-02 2023-02-28 GigalO Networks, Inc. Methods and apparatus for fabric interface polling

Also Published As

Publication number Publication date
CN106850803B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
US9806983B2 (en) System and method for control flow management in software defined networks
Fu et al. Orion: A hybrid hierarchical control plane of software-defined networking for large-scale networks
CN102823205B (en) Aggregating data traffic from access domains
CN106850803A (en) A kind of WRR system and algorithm based on SDN
CN103780471B (en) Multiple controller network device managing method applied to software defined network
CN104301417B (en) A kind of load-balancing method and device
CN104468688A (en) Method and apparatus for network virtualization
CN104871490B (en) The multipath communication device of energy ecology and its method for distributing business for improving energy ecology can be improved
CN106209615B (en) A kind of Dynamic Route Control method and system calculating forward-path based on SPFA algorithm
CN103416022B (en) Throughput testing approach and system in service in distribution router/exchange board structure
CN105119911B (en) A kind of safety certifying method and system based on SDN streams
CN109561033A (en) The method and device of multicast replication in Overlay network
CN105656715B (en) Method and apparatus for monitoring the state of cloud computing environment lower network equipment
CN105429773B (en) A kind of distributed automatization test system and the management configuration method for testing terminal
CN106301921B (en) Elephant flow transmission dispatching method and system based on tunnel
CN107409340A (en) The method and apparatus of flow orientation
Liu et al. A port-based forwarding load-balancing scheduling approach for cloud datacenter networks
Wang et al. A multi-domain SDN scalability architecture implementation based on the coordinate controller
Cui et al. DiFS: Distributed Flow Scheduling for adaptive switching in FatTree data center networks
Wang et al. CDLB: a cross-domain load balancing mechanism for software defined networks in cloud data centre
CN105791113B (en) A kind of multilink delay equalization method and system based on SDN
CN104486290B (en) A kind of Streaming Media cloud transparent service device based on OpenFlow
CN109039893A (en) A kind of data switching networks and method based on wide area IP network
CN110365549B (en) Processing method and processing system of SPTN (shortest Path bridging) network
CN116455817A (en) Software-defined cloud network fusion architecture and route implementation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200519

Address after: High tech Zone 266000 in Shandong province Qingdao city wide Shing Road No. 69 west two or three, four floor and three floor North building area

Applicant after: GLOBAL TONE COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Applicant before: Phicomm (Shanghai) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant