CN105721329A - Shunting method, OpenFlow switch, controller and shunting system - Google Patents

Shunting method, OpenFlow switch, controller and shunting system Download PDF

Info

Publication number
CN105721329A
CN105721329A CN201410736900.2A CN201410736900A CN105721329A CN 105721329 A CN105721329 A CN 105721329A CN 201410736900 A CN201410736900 A CN 201410736900A CN 105721329 A CN105721329 A CN 105721329A
Authority
CN
China
Prior art keywords
shunting
openflow switch
switch
configuration
controller
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.)
Withdrawn
Application number
CN201410736900.2A
Other languages
Chinese (zh)
Inventor
胡方伟
刘奇峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410736900.2A priority Critical patent/CN105721329A/en
Publication of CN105721329A publication Critical patent/CN105721329A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a shunting method, an OpenFlow switch, a controller and a shunting system, and relates to the communication field, being able to solve the problem of being short of a load sharing system under a new OpenFlow protocol framework. The shunting method includes the steps that an OpenFlow switch sends the switch configuration attribute to a controller, wherein the switch configuration attribute carries a shunting characteristic parameter which shows that the OpenFlow switch supports shunting; the OpenFlow switch receives shunting configuration issued from the controller; and according to the shunting configuration, the OpenFlow switch shunts the flow arrives in the OpenFlow switch to different forward entities. The shunting method, the OpenFlow switch, the controller and the shunting system are suitable for a new OpenFlow protocol framework network, and can realize load sharing under the new OpenFlow protocol framework.

Description

Shunt method, OpenFlow switch, controller and separate system
Technical field
The present invention relates to the communications field, particularly relate to the shunt method under a kind of OpenFlow agreement, OpenFlow switch, controller and separate system.
Background technology
Software defined network (SoftwareDefinedNetwork, SDN) is a kind of new network innovation framework.The OpenFlow agreement that SDN adopts is by separating network equipment chain of command (comprising OpenFlow controller Controller) and data surface (comprising OpenFlow switch CapableSwitch), it is achieved thereby that the flexible control of network traffics, the innovation for core network and application provides good platform.
OpenFlow agreement is used for describing the standard of mutual information used between controller and switch and the interface standard of controller and switch.The core of agreement is the set for OpenFlow protocol information structure.
Controller manages switch by OpenFlow agreement.By this agreement, controller both can actively also can be passive increase, renewal or delete stream list item (flowentry).In order to realize the service quality rating for customer flow, OpenFlow agreement supports meter table, and meter table is flowed list item by Meter and constitutes, and defines the meter of each stream so that OpenFlow can perform various simple Qos operation, for instance speed limit;If being combined with every port queue, then can perform the Qos operation of complexity, such as DiffServ operation etc..Meter measured message speed also controls message rate, Meter can be affixed directly to stream list item in, any stream list item can in its instruction set specification Meter.
On the other hand, owing to the technique of one single chip is close to the limit, a lot of manufacturers are proposed multi core chip, and the corresponding actual treatment module forwarding face can adopt multi core chip.In order to give full play to the performance of multi core chip, it is generally required to the traffic load come in by interface according to certain algorithm is shared above each chip and core.Inside original communication apparatus, due to lower floor forwards face can the current business of perception, it is possible to according to current business scene, it is determined that corresponding load sharing algorithm, it is ensured that while playing multi core chip performance, also can perfect finishing service demand.And under new OpenFlow protocol infrastructure, business scenario can not be done corresponding it is assumed that so problem existing for not can determine that load sharing algorithm by forwarding face.Particularly, the existence of the business models such as meter table, improper being likely to of the design of load sharing algorithm causes business to realize.
Summary of the invention
The invention provides a kind of shunt method, OpenFlow switch, controller and separate system, solve and lack the problem of load sharing mechanism under new OpenFlow protocol infrastructure.
A kind of shunt method, including:
OpenFlow switch sends switch configuration attribute to controller, carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Described OpenFlow switch receives the shunting configuration that described controller issues;
Described OpenFlow switch is according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different Delivery Function.
Preferably, described Delivery Function is specially the kernel of chip or multi core chip.
Preferably, also carrying the bifurcated characteristic of described OpenFlow switch in described switch configuration attribute, described bifurcated characteristic is layout type shunting or calculation type shunting.
Preferably, when described OpenFlow switch adopts layout type shunting, comprising matching field and Delivery Function numbering in described shunting configuration, the flow shunt arriving this OpenFlow switch, according to described shunting configuration, is included by described OpenFlow switch to different Delivery Function:
Described OpenFlow switch is numbered according to described matching field and Delivery Function, build shunting table, the described shunting table record matching field corresponding relation with Delivery Function numbering;
The flow received is mated by described OpenFlow switch with each matching field in described shunting table, when finding the matching field matched, according to the Delivery Function numbering that this matching field is corresponding, by described flow shunt to corresponding Delivery Function.
Preferably, when described OpenFlow switch adopts calculation type shunting, comprising HASH algorithm in described shunting configuration, the different kernels of the flow shunt to different chips or multi core chip that arrive this OpenFlow switch, according to described shunting configuration, are included by described OpenFlow switch:
Described OpenFlow switch calculates the HASH value obtained for forwarding face traffic classification according to described HASH algorithm, and build shunting table according to this HASH value, the corresponding relation of described shunting table record matching field and Delivery Function numbering, described Delivery Function is specially the kernel of chip or multi core chip;
Described OpenFlow switch extracts the described matching field of the flow arriving this OpenFlow switch, searches the Delivery Function numbering that the matching field with this flow matches, by described flow shunt to corresponding Delivery Function from described shunting table.
Preferably, OpenFlow switch sends before the step of switch configuration attribute to controller, also includes:
Described OpenFlow switch receives the query message that described controller sends, and described query message indicates described OpenFlow switch to report described switch configuration attribute.
Present invention also offers a kind of shunt method, including:
Controller receives the switch configuration attribute that OpenFlow switch sends, and carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Described controller, in conjunction with business model and described switch configuration attribute, generates shunting configuration;
Described controller issues described shunting configuration to described OpenFlow switch, indicates described OpenFlow switch to configure the shunting of flow according to described shunting.
Preferably, also carrying the bifurcated characteristic of described OpenFlow switch in described switch configuration attribute, described bifurcated characteristic is layout type shunting or calculation type shunting.
Preferably, when described OpenFlow switch adopts layout type shunting, described shunting configuration comprises matching field and Delivery Function numbering;When described OpenFlow switch adopts calculation type shunting, described shunting configuration comprises the HASH value for same traffic classification.
Preferably, described controller to described OpenFlow switch issue described shunting configuration particularly as follows:
Described controller issues described shunting configuration by OpenFlow agreement or OF-CONFIG agreement to described OpenFlow switch.
Preferably, described controller also includes before receiving the step of the switch configuration attribute that OpenFlow switch sends:
Described controller resolves the business model of upper layer application application, obtains the shunting configuration that bifurcated characteristic is corresponding with different bifurcated characteristics;
Described controller sends query message to described OpenFlow switch, and described query message indicates described OpenFlow switch to report described switch configuration attribute.
Preferably, described controller in conjunction with business model and described switch configuration attribute, generate shunting configuration particularly as follows:
Described controller specifies bifurcated characteristic or according to the bifurcated characteristic in described switch configuration attribute according to from OpenFlow switch described in behavior, it is determined that tap configuration accordingly.
Present invention also offers a kind of OpenFlow switch, including:
Attribute reporting module, for sending switch configuration attribute to controller, carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Configuration receiver module, for receiving the shunting configuration that described controller issues;
Tap and perform module, for according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different entities.
Preferably, described switch configuration attribute also carries the bifurcated characteristic of described OpenFlow switch, described bifurcated characteristic is layout type shunting or calculation type shunting, when described OpenFlow switch adopts layout type shunting, comprising matching field and Delivery Function numbering in described shunting configuration, described shunting performs module and includes:
First shunting table construction unit, for numbering according to described matching field and Delivery Function, build shunting table, the described shunting table record matching field corresponding relation with Delivery Function numbering;
First dividing cell, for being mated with each matching field in described shunting table by the flow received, when finding the matching field matched, according to the Delivery Function numbering that this matching field is corresponding, by described flow shunt to corresponding Delivery Function.
Preferably, when described OpenFlow switch adopts calculation type shunting, comprising HASH algorithm in described shunting configuration, described OpenFlow switch is according to described shunting configuration, and described shunting performs module and also includes:
Second shunting table construction unit, for calculating the HASH value obtained for forwarding face traffic classification according to described HASH algorithm, and build shunting table according to this HASH value, the corresponding relation of described shunting table record matching field information and Delivery Function numbering, described Delivery Function is specially the kernel of chip or multi core chip;
Second dividing cell, for extracting the described matching field of the flow arriving this OpenFlow switch, searches the Delivery Function numbering that the matching field with this flow matches, by described flow shunt to corresponding Delivery Function from described shunting table.
Preferably, also include:
Message receiver module, for receiving the query message that described controller sends, described query message indicates described OpenFlow switch to report described switch configuration attribute.
Present invention also offers a kind of controller, including:
Attribute reception module, for receiving the switch configuration attribute that OpenFlow switch sends, carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Configuration generation module, is used in conjunction with business model and described switch configuration attribute, generates shunting configuration;
Configuration distributing module, for issuing described shunting configuration to described OpenFlow switch, indicates described OpenFlow switch to configure the shunting of flow according to described shunting.
Preferably, this controller also includes:
Business model parsing module, for resolving the business model of upper layer application application, obtains the shunting configuration that bifurcated characteristic is corresponding with different bifurcated characteristics;
Query message sending module, for sending query message to described OpenFlow switch, described query message indicates described OpenFlow switch to report described switch configuration attribute.
Present invention also offers a kind of separate system, including controller and OpenFlow switch;
Described controller, for receiving the switch configuration attribute that described OpenFlow switch sends, this switch configuration attribute carries bifurcated characteristic parameter, show that this OpenFlow switch support taps, in conjunction with business model and described switch configuration attribute, generate shunting configuration, and issue described shunting configuration to described OpenFlow switch, indicate described OpenFlow switch to configure the shunting of flow according to described shunting;
Described OpenFlow switch, is used for sending described switch configuration attribute to described controller, receive the shunting configuration that described controller issues, according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different Delivery Function.
Preferably, described controller, it is additionally operable to resolve the business model of upper layer application application, obtain the shunting configuration that bifurcated characteristic is corresponding with different bifurcated characteristics, sending query message to described OpenFlow switch, described query message indicates described OpenFlow switch to report described switch configuration attribute.
Described OpenFlow switch receives the query message that described controller sends.
The invention provides a kind of shunt method, OpenFlow switch, controller and separate system, OpenFlow switch sends switch configuration attribute to controller, this switch configuration attribute carries bifurcated characteristic parameter, show that this OpenFlow switch support taps, OpenFlow switch receives the shunting configuration that described controller issues, and according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different Delivery Function.Achieve the load sharing under new OpenFlow protocol infrastructure, solve and lack the problem of load sharing mechanism under new OpenFlow protocol infrastructure.
Accompanying drawing explanation
The flow chart of a kind of shunt method that Fig. 1 provides for embodiments of the invention one;
The flow chart of a kind of shunt method that Fig. 2 provides for embodiments of the invention two;
Fig. 3 is the schematic diagram of the shunting table generated in embodiments of the invention two;
The flow chart of a kind of shunt method that Fig. 4 provides for embodiments of the invention three;
Fig. 5 is that in embodiments of the invention three, the shunting of calculation type shunting represents intention;
The structural representation of a kind of OpenFlow switch that Fig. 6 provides for embodiments of the invention four;
Fig. 7 is the structural representation that in Fig. 6, shunting performs module 603;
The structural representation of a kind of controller that Fig. 8 provides for embodiments of the invention four.
Detailed description of the invention
Under new OpenFlow protocol infrastructure, business scenario can not be done corresponding it is assumed that so problem existing for not can determine that load sharing algorithm by forwarding face.Particularly, the existence of the business models such as meter table, improper being likely to of the design of load sharing algorithm causes business to realize.
In order to solve the problems referred to above, The embodiment provides a kind of shunt method, OpenFlow switch, controller and separate system.Below in conjunction with accompanying drawing, embodiments of the invention are described in detail.It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
First in conjunction with accompanying drawing, embodiments of the invention one are illustrated.
Embodiments providing a kind of shunt method, idiographic flow is as it is shown in figure 1, include:
Step 101: upper layer application declares business model to controller.
Step 102: controller resolves business model, it is thus achieved that the shunting configuration that different bifurcated characteristics are corresponding;
In the embodiment of the present invention, the bifurcated characteristic related to specifically includes that layout type shunting and calculation type shunting.Wherein, layout type streaming request controller directly sends matching field and Delivery Function number information to OpenFlow switch;Calculation type shunting then requires that controller sends one for forwarding the HASH value of face traffic classification to OpenFlow switch.
Corresponding, layout type is tapped, shunting configuration comprises the matching field of shunting and Delivery Function numbering;Tapping for calculation type, shunting configuration comprises the information such as above-mentioned HASH value, algorithm, and Delivery Function numbering.
Step 103: controller sends query message to obtain separation capacity and the characteristic of switch support to OpenFlow switch.
Step 104:OpenFlow switch returns separation capacity and bifurcated characteristic to controller;
In this step, OpenFlow switch by switch configuration attribute to controller report separation capacity, it was shown that whether this OpenFlow switch supports shunting.
When described OpenFlow switch support taps, optionally, it is also possible in this switch configuration attribute, carry bifurcated characteristic.
Switch configuration attribute carries separation capacity to be realized by the switch configuration attribute (switchconfigure) in the existing OpenFlow agreement of extension, concrete, increase an OFPC_EN_LOAD_BALANCE labelling and be used for indicating bifurcated characteristic:
/*Switchconfiguration.*/
structofp_switch_config{
Structofp_headerheader;
Uint16_tflags;
Uint16_tmiss_send_len;
};
OFP_ASSERT (sizeof (structofp_switch_config)==12);
enumofp_config_flags{
OFPC_FRAG_NORMAL=0,
OFPC_FRAG_DROP=1 < < 0,
OFPC_FRAG_REASM=1 < < 1,
OFPC_FRAG_MASK=3,
OFPC_EN_LOAD_BALANCE=4,
}。
Step 105: controller, in conjunction with business model and switch bifurcated characteristic, generates shunting configuration;
In embodiments of the invention, controller can tap the relevant configuration of the bifurcated characteristic in configuration according to the bifurcated characteristic confirmation that OpenFlow switch reports;Can also be decided in its sole discretion the bifurcated characteristic of OpenFlow switch by controller, and determine therefrom that and tap configuration accordingly.
Step 106: controller completes issuing of shunting configuration by OpenFlow agreement or OF-CONFIG agreement;
Assignment configuration corresponding to layout type shunting issues and can realize by extending the action in existing OpenFlow agreement, concrete, with the addition of OFPAT_DISTRIBUTE, specific as follows:
Step 107:OpenFlow switch is according to shunting configuration, and by the assignment of traffic that receives to different Delivery Function, described Delivery Function is specially the core of chip or multi core chip.
Below in conjunction with accompanying drawing, embodiments of the invention two are illustrated.
Embodiments providing a kind of shunt method, the bifurcated characteristic of OpenFlow switch is layout type shunting, and idiographic flow is as in figure 2 it is shown, include:
Step 201:OpenFlow switch receives the OFPT_FLOW_MOD message that controller sends, and carries and builds the diffluent information that shunting configuration is required, such as information such as matching field, Delivery Function numberings in OFPT_FLOW_MOD message.
Wherein, matching field can be obtained according to the packetin message of OpenFlow switch by controller, and Delivery Function numbering is to carry in the configuration attribute sent on switch.
The OFPT_FLOW_MOD message received is done compliance inspection by step 202:OpenFlow switch, if message format is correct, then continues step 203, otherwise returns error message;
Step 203:OpenFlow switch, according to the diffluent information carried in OFPT_FLOW_MOD message, builds shunting table, and the structure of the shunting table of layout type shunting is as it is shown on figure 3, comprise the Delivery Function numbering that matching field is corresponding with matching field.
Below in conjunction with accompanying drawing, embodiments of the invention three are illustrated.
Embodiments providing a kind of shunt method, the diverting feature of OpenFlow switch is calculation type shunting, idiographic flow as shown in Figure 4,
Step 401:OpenFlow switch receives the OFPMP_TABLE_FEATURESrequest message that controller sends.
The OFPMP_TABLE_FEATURErequest message received is checked by step 402:OpenFlow switch, checks whether the entity part of message is empty.If entity part is not empty, then continues step 403, otherwise pass directly to step 404;
Step 403:OpenFlow switch checks the numerical value of the newly-increased attribute (such as OFPC_EN_LOAD_BALANCE) of definition in ofp_table_features structure, including the configuration parameter of bifurcated characteristic value (as, layout type taps, and the value of the configuration parameter of bifurcated characteristic is the Delivery Function numbering of matching field and correspondence;If the words of calculation type, it is then hash algorithm), and according to HASH algorithm, the HASH value for forwarding face traffic classification is obtained as input using matching field information, build shunting table, corresponding relation between shunting token load matching field and Delivery Function, the structure of the shunting table of calculation type shunting is as shown in Figure 5.
Step 404:OpenFlow switch responds OFPMP_TABLE_FEATUREReply message is to controller.
Below in conjunction with accompanying drawing, embodiments of the invention four are illustrated.
Embodiments provide a kind of OpenFlow switch, its structure as shown in Figure 6, including:
Attribute reporting module 601, for sending switch configuration attribute to controller, carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Configuration receiver module 602, for receiving the shunting configuration that described controller issues;
Tap and perform module 603, for according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different Delivery Function.In the embodiment of the present invention, described Delivery Function is specially the kernel of chip or multi core chip.
Preferably, described switch configuration attribute also carries the bifurcated characteristic of described OpenFlow switch, described bifurcated characteristic is layout type shunting or calculation type shunting, when described OpenFlow switch adopts layout type shunting, described shunting configuration comprises matching field and Delivery Function numbering, described shunting perform module 603 structure as it is shown in fig. 7, comprises:
First shunting table construction unit 6031, for numbering according to described matching field and Delivery Function, build shunting table, the described shunting table record matching field corresponding relation with Delivery Function numbering;
First dividing cell 6032, for being mated with each matching field in described shunting table by the flow received, when finding the matching field matched, according to the Delivery Function numbering that this matching field is corresponding, by described flow shunt to corresponding Delivery Function.
Preferably, when described OpenFlow switch adopts calculation type shunting, comprising HASH algorithm in described shunting configuration, described OpenFlow switch is according to described shunting configuration, and described shunting performs module 603 and also includes:
Second shunting table construction unit 6033, for calculating the HASH value obtained for forwarding face traffic classification according to described HASH algorithm, and build shunting table according to this HASH value, the corresponding relation of described shunting table record matching field information and Delivery Function numbering, described Delivery Function is specially the kernel of chip or multi core chip;
Second dividing cell 6034, for extracting the described matching field of the flow arriving this OpenFlow switch, searches the Delivery Function numbering that the matching field with this flow matches, by described flow shunt to corresponding Delivery Function from described shunting table.
Preferably, above-mentioned OpenFlow switch also includes:
Message receiver module 604, for receiving the query message that described controller sends, described query message indicates described OpenFlow switch to report described switch configuration attribute.
The embodiment of the present invention additionally provides a kind of controller, its structure as shown in Figure 8, including:
Attribute reception module 801, for receiving the switch configuration attribute that OpenFlow switch sends, carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Configuration generation module 802, is used in conjunction with business model and described switch configuration attribute, generates shunting configuration;
Configuration distributing module 803, for issuing described shunting configuration to described OpenFlow switch, indicates described OpenFlow switch to configure the shunting of flow according to described shunting.
Preferably, controller noted above also includes:
Business model parsing module 804, for resolving the business model of upper layer application application, obtains the shunting configuration that bifurcated characteristic is corresponding with different bifurcated characteristics;
Query message sending module 805, for sending query message to described OpenFlow switch, described query message indicates described OpenFlow switch to report described switch configuration attribute.
The embodiment of the present invention additionally provides a kind of separate system, including controller noted above and OpenFlow switch;
Described controller, for receiving the switch configuration attribute that described OpenFlow switch sends, this switch configuration attribute carries bifurcated characteristic parameter, show that this OpenFlow switch support taps, in conjunction with business model and described switch configuration attribute, generate shunting configuration, and issue described shunting configuration to described OpenFlow switch, indicate described OpenFlow switch to configure the shunting of flow according to described shunting;
Described OpenFlow switch, is used for sending described switch configuration attribute to described controller, receive the shunting configuration that described controller issues, according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different Delivery Function.
Preferably, described controller, it is additionally operable to resolve the business model of upper layer application application, obtain the shunting configuration that bifurcated characteristic is corresponding with different bifurcated characteristics, sending query message to described OpenFlow switch, described query message indicates described OpenFlow switch to report described switch configuration attribute.
Described OpenFlow switch receives the query message that described controller sends.
OpenFlow switch, controller and the separate system that embodiments of the invention provide, can combine with a kind of shunt method that embodiments of the invention provide, OpenFlow switch sends switch configuration attribute to controller, this switch configuration attribute carries bifurcated characteristic parameter, show that this OpenFlow switch support taps, OpenFlow switch receives the shunting configuration that described controller issues, and according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different Delivery Function.Achieve the load under new OpenFlow protocol infrastructure, solve and lack the problem of load sharing mechanism under new OpenFlow protocol infrastructure.
One of ordinary skill in the art will appreciate that all or part of step of above-described embodiment can use computer program flow process to realize, described computer program can be stored in a computer-readable recording medium, described computer program performs (such as system, unit, device etc.) on corresponding hardware platform, upon execution, including step of embodiment of the method one or a combination set of.
Alternatively, all or part of step of above-described embodiment can also use integrated circuit to realize, and these steps can be fabricated to integrated circuit modules one by one respectively, or the multiple modules in them or step are fabricated to single integrated circuit module realize.So, the present invention is not restricted to the combination of any specific hardware and software.
Each device/functional module/functional unit in above-described embodiment can adopt general calculation element to realize, and they can concentrate on single calculation element, it is also possible to is distributed on the network that multiple calculation element forms.
When each device/functional module/functional unit in above-described embodiment is using the form realization of software function module and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Computer read/write memory medium mentioned above can be read only memory, disk or CD etc..
Any those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain described in claim.

Claims (20)

1. a shunt method, it is characterised in that including:
OpenFlow switch sends switch configuration attribute to controller, carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Described OpenFlow switch receives the shunting configuration that described controller issues;
Described OpenFlow switch is according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different Delivery Function.
2. shunt method according to claim 1, it is characterised in that described Delivery Function is specially the kernel of chip or multi core chip.
3. shunt method according to claim 1, it is characterised in that also carry the bifurcated characteristic of described OpenFlow switch in described switch configuration attribute, described bifurcated characteristic is layout type shunting or calculation type shunting.
4. shunt method according to claim 3, it is characterized in that, when described OpenFlow switch adopts layout type shunting, described shunting configuration comprises matching field and Delivery Function numbering, the flow shunt arriving this OpenFlow switch, according to described shunting configuration, is included by described OpenFlow switch to different Delivery Function:
Described OpenFlow switch is numbered according to described matching field and Delivery Function, build shunting table, the described shunting table record matching field corresponding relation with Delivery Function numbering;
The flow received is mated by described OpenFlow switch with each matching field in described shunting table, when finding the matching field matched, according to the Delivery Function numbering that this matching field is corresponding, by described flow shunt to corresponding Delivery Function.
5. shunt method according to claim 3, it is characterized in that, when described OpenFlow switch adopts calculation type shunting, described shunting configuration comprises HASH algorithm, the different kernels of the flow shunt to different chips or multi core chip that arrive this OpenFlow switch, according to described shunting configuration, are included by described OpenFlow switch:
Described OpenFlow switch calculates the HASH value obtained for forwarding face traffic classification according to described HASH algorithm, and build shunting table according to this HASH value, the corresponding relation of described shunting table record matching field and Delivery Function numbering, described Delivery Function is specially the kernel of chip or multi core chip;
Described OpenFlow switch extracts the described matching field of the flow arriving this OpenFlow switch, searches the Delivery Function numbering that the matching field with this flow matches, by described flow shunt to corresponding Delivery Function from described shunting table.
6. shunt method according to claim 1, it is characterised in that OpenFlow switch sends before the step of switch configuration attribute to controller, also includes:
Described OpenFlow switch receives the query message that described controller sends, and described query message indicates described OpenFlow switch to report described switch configuration attribute.
7. a shunt method, it is characterised in that including:
Controller receives the switch configuration attribute that OpenFlow switch sends, and carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Described controller, in conjunction with business model and described switch configuration attribute, generates shunting configuration;
Described controller issues described shunting configuration to described OpenFlow switch, indicates described OpenFlow switch to configure the shunting of flow according to described shunting.
8. shunt method according to claim 7, it is characterised in that also carry the bifurcated characteristic of described OpenFlow switch in described switch configuration attribute, described bifurcated characteristic is layout type shunting or calculation type shunting.
9. shunt method according to claim 8, it is characterised in that when described OpenFlow switch adopts layout type shunting, comprises matching field and Delivery Function numbering in described shunting configuration;When described OpenFlow switch adopts calculation type shunting, described shunting configuration comprises the HASH value for same traffic classification.
10. shunt method according to claim 7, it is characterised in that described controller to described OpenFlow switch issue described shunting configuration particularly as follows:
Described controller issues described shunting configuration by OpenFlow agreement or OF-CONFIG agreement to described OpenFlow switch.
11. the shunt method according to claim 7 or 8, it is characterised in that described controller also includes before receiving the step of the switch configuration attribute that OpenFlow switch sends:
Described controller resolves the business model of upper layer application application, obtains the shunting configuration that bifurcated characteristic is corresponding with different bifurcated characteristics;
Described controller sends query message to described OpenFlow switch, and described query message indicates described OpenFlow switch to report described switch configuration attribute.
12. shunt method according to claim 11, it is characterised in that described controller in conjunction with business model and described switch configuration attribute, generate shunting configuration particularly as follows:
Described controller specifies bifurcated characteristic or according to the bifurcated characteristic in described switch configuration attribute according to from OpenFlow switch described in behavior, it is determined that tap configuration accordingly.
13. an OpenFlow switch, it is characterised in that including:
Attribute reporting module, for sending switch configuration attribute to controller, carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Configuration receiver module, for receiving the shunting configuration that described controller issues;
Tap and perform module, for according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different entities.
14. OpenFlow switch according to claim 13, it is characterized in that, described switch configuration attribute also carries the bifurcated characteristic of described OpenFlow switch, described bifurcated characteristic is layout type shunting or calculation type shunting, when described OpenFlow switch adopts layout type shunting, comprising matching field and Delivery Function numbering in described shunting configuration, described shunting performs module and includes:
First shunting table construction unit, for numbering according to described matching field and Delivery Function, build shunting table, the described shunting table record matching field corresponding relation with Delivery Function numbering;
First dividing cell, for being mated with each matching field in described shunting table by the flow received, when finding the matching field matched, according to the Delivery Function numbering that this matching field is corresponding, by described flow shunt to corresponding Delivery Function.
15. OpenFlow switch according to claim 14, it is characterized in that, when described OpenFlow switch adopts calculation type shunting, described shunting configuration comprises HASH algorithm, described OpenFlow switch is according to described shunting configuration, and described shunting performs module and also includes:
Second shunting table construction unit, for calculating the HASH value obtained for forwarding face traffic classification according to described HASH algorithm, and build shunting table according to this HASH value, the corresponding relation of described shunting table record matching field information and Delivery Function numbering, described Delivery Function is specially the kernel of chip or multi core chip;
Second dividing cell, for extracting the described matching field of the flow arriving this OpenFlow switch, searches the Delivery Function numbering that the matching field with this flow matches, by described flow shunt to corresponding Delivery Function from described shunting table.
16. OpenFlow switch according to claim 13, it is characterised in that also include:
Message receiver module, for receiving the query message that described controller sends, described query message indicates described OpenFlow switch to report described switch configuration attribute.
17. a controller, it is characterised in that including:
Attribute reception module, for receiving the switch configuration attribute that OpenFlow switch sends, carries bifurcated characteristic parameter in this switch configuration attribute, it was shown that this OpenFlow switch support taps;
Configuration generation module, is used in conjunction with business model and described switch configuration attribute, generates shunting configuration;
Configuration distributing module, for issuing described shunting configuration to described OpenFlow switch, indicates described OpenFlow switch to configure the shunting of flow according to described shunting.
18. controller according to claim 17, it is characterised in that also include:
Business model parsing module, for resolving the business model of upper layer application application, obtains the shunting configuration that bifurcated characteristic is corresponding with different bifurcated characteristics;
Query message sending module, for sending query message to described OpenFlow switch, described query message indicates described OpenFlow switch to report described switch configuration attribute.
19. a separate system, it is characterised in that include controller and OpenFlow switch;
Described controller, for receiving the switch configuration attribute that described OpenFlow switch sends, this switch configuration attribute carries bifurcated characteristic parameter, show that this OpenFlow switch support taps, in conjunction with business model and described switch configuration attribute, generate shunting configuration, and issue described shunting configuration to described OpenFlow switch, indicate described OpenFlow switch to configure the shunting of flow according to described shunting;
Described OpenFlow switch, is used for sending described switch configuration attribute to described controller, receive the shunting configuration that described controller issues, according to described shunting configuration, by the flow shunt of this OpenFlow switch of arrival to different Delivery Function.
20. separate system according to claim 19, it is characterised in that
Described controller, it is additionally operable to resolve the business model of upper layer application application, obtaining the shunting configuration that bifurcated characteristic is corresponding with different bifurcated characteristics, send query message to described OpenFlow switch, described query message indicates described OpenFlow switch to report described switch configuration attribute;
Described OpenFlow switch receives the query message that described controller sends.
CN201410736900.2A 2014-12-05 2014-12-05 Shunting method, OpenFlow switch, controller and shunting system Withdrawn CN105721329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410736900.2A CN105721329A (en) 2014-12-05 2014-12-05 Shunting method, OpenFlow switch, controller and shunting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410736900.2A CN105721329A (en) 2014-12-05 2014-12-05 Shunting method, OpenFlow switch, controller and shunting system

Publications (1)

Publication Number Publication Date
CN105721329A true CN105721329A (en) 2016-06-29

Family

ID=56143867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410736900.2A Withdrawn CN105721329A (en) 2014-12-05 2014-12-05 Shunting method, OpenFlow switch, controller and shunting system

Country Status (1)

Country Link
CN (1) CN105721329A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294773A (en) * 2017-05-30 2017-10-24 浙江工商大学 A kind of Network collocation method of software definable
CN108667733A (en) * 2018-03-29 2018-10-16 新华三信息安全技术有限公司 A kind of network equipment and message processing method
CN112235213A (en) * 2020-12-16 2021-01-15 金锐同创(北京)科技股份有限公司 SDN switch shunting method, system, terminal and storage medium
CN112866019A (en) * 2021-01-11 2021-05-28 科大讯飞股份有限公司 Method for limiting bandwidth of elastic IP address, related equipment and readable storage medium
CN113225267A (en) * 2021-04-13 2021-08-06 南京熊猫汉达科技有限公司 Intelligent flow distribution method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130272135A1 (en) * 2012-04-11 2013-10-17 Gigamon Llc Traffic visibility in an open networking environment
CN103428094A (en) * 2013-08-12 2013-12-04 杭州华三通信技术有限公司 Method and device for packet transmitting in Open Flow system
CN103441927A (en) * 2013-09-12 2013-12-11 盛科网络(苏州)有限公司 Message processing method and device
US20140169189A1 (en) * 2012-12-17 2014-06-19 Broadcom Corporation Network Status Mapping
CN104079492A (en) * 2013-03-28 2014-10-01 华为技术有限公司 Method, device and system of configuring flow table in OpenFlow network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130272135A1 (en) * 2012-04-11 2013-10-17 Gigamon Llc Traffic visibility in an open networking environment
US20140169189A1 (en) * 2012-12-17 2014-06-19 Broadcom Corporation Network Status Mapping
CN104079492A (en) * 2013-03-28 2014-10-01 华为技术有限公司 Method, device and system of configuring flow table in OpenFlow network
CN103428094A (en) * 2013-08-12 2013-12-04 杭州华三通信技术有限公司 Method and device for packet transmitting in Open Flow system
CN103441927A (en) * 2013-09-12 2013-12-11 盛科网络(苏州)有限公司 Message processing method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294773A (en) * 2017-05-30 2017-10-24 浙江工商大学 A kind of Network collocation method of software definable
CN107294773B (en) * 2017-05-30 2020-01-31 浙江工商大学 software definable network service configuration method
CN108667733A (en) * 2018-03-29 2018-10-16 新华三信息安全技术有限公司 A kind of network equipment and message processing method
CN112235213A (en) * 2020-12-16 2021-01-15 金锐同创(北京)科技股份有限公司 SDN switch shunting method, system, terminal and storage medium
CN112235213B (en) * 2020-12-16 2021-04-06 金锐同创(北京)科技股份有限公司 SDN switch shunting method, system, terminal and storage medium
CN112866019A (en) * 2021-01-11 2021-05-28 科大讯飞股份有限公司 Method for limiting bandwidth of elastic IP address, related equipment and readable storage medium
CN113225267A (en) * 2021-04-13 2021-08-06 南京熊猫汉达科技有限公司 Intelligent flow distribution method and device
CN113225267B (en) * 2021-04-13 2022-06-28 南京熊猫汉达科技有限公司 Intelligent flow distribution method and device

Similar Documents

Publication Publication Date Title
CN106713185B (en) A kind of load-balancing method and device of multi-core CPU
CN105721329A (en) Shunting method, OpenFlow switch, controller and shunting system
CN106664261B (en) A kind of methods, devices and systems configuring flow entry
US9288120B2 (en) Data center bridging network configuration and management
CN101924695B (en) For the method and system that network connects
US10528682B2 (en) Automatic performance characterization of a network-on-chip (NOC) interconnect
CN104429029A (en) Delay-based traffic rate control in networks with central controllers
WO2014018733A1 (en) Forwarding tables for hybrid communication networks
US10411742B2 (en) Link aggregation configuration for a node in a software-defined network
CN104285423B (en) In the communication network towards bag transmit data method and in communication network relative set user equipment
CN108028805A (en) A kind of system and method for control flow equalization in band in software defined network
CN108777646A (en) Flux monitoring method and device
US20180197110A1 (en) Metrics to Train Machine Learning Predictor for NoC Construction
CN106911588A (en) Methods, devices and systems for realizing deep-packet detection optimization
CN115065637B (en) Method and device for transmitting computing power resource information and electronic equipment
US9819575B2 (en) Path selection based on error analysis
US20180198687A1 (en) Infrastructure to Apply Machine Learning for NoC Construction
CN103346950B (en) Between a kind of rack wireless controller customer service plate, method and device are shared in load equally
US10469337B2 (en) Cost management against requirements for the generation of a NoC
US20140269686A1 (en) Virtual router and switch
CN101808037A (en) Method and device for traffic management in switch network
CN109842503A (en) Link-quality test method and system
CN105812278A (en) Service quality control method and device in software defined network
US9674094B1 (en) Method and apparatus for controlling transmission of packets over a link aggregation group
TWI575908B (en) Heterogeneous network system, network apparatus, and rendezvous path selection method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20160629