CN104243340B - Message processing method and device in a kind of software defined network - Google Patents

Message processing method and device in a kind of software defined network Download PDF

Info

Publication number
CN104243340B
CN104243340B CN201410505928.5A CN201410505928A CN104243340B CN 104243340 B CN104243340 B CN 104243340B CN 201410505928 A CN201410505928 A CN 201410505928A CN 104243340 B CN104243340 B CN 104243340B
Authority
CN
China
Prior art keywords
switching equipment
group
qos
value
weighted value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410505928.5A
Other languages
Chinese (zh)
Other versions
CN104243340A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201410505928.5A priority Critical patent/CN104243340B/en
Publication of CN104243340A publication Critical patent/CN104243340A/en
Application granted granted Critical
Publication of CN104243340B publication Critical patent/CN104243340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides message processing method in a kind of software defined network, methods described includes:When receiving data message, carry out forwarding flow table matching;When group table mark in the forwarding flow table matched be present, the qos value of the data message is calculated, and weighted value is matched in each instruction bucket in the group table according to corresponding to the qos value of calculating in this group of table mark;According to default hash algorithm, and the weighted value matched in each instruction bucket carries out load calculating, and forwards the data message using instruction bucket corresponding to load result of calculation.Based on same inventive concept, the application also proposes message process device in a kind of software defined network, improves the efficiency using network bandwidth, and different data transmission qualities is provided for different QoS message.

Description

Message processing method and device in a kind of software defined network
Technical field
The present invention relates to communication technical field, message processing method and device in more particularly to a kind of software defined network.
Background technology
In software defined network (Soft Define Network, SDN), used between control device and switching equipment Open flows (Openflow) agreement passes through the channel configuration and management as key-course and the signalling path of forwarding, control device Switching equipment.
Control device issues forwarding flow table to instruct message to forward to switching equipment, and group amendment (Group Mod) can carry Instructed for the additional act in forwarding flow table, such as, Hash selection defines the load balancing that equative route realizes message.Support Group (Group) the table type that message load is shared is selection (Select) type, multiple instruction bucket be present in the Group tables, often A series of actions instruction changed and forwarded for message is contained in individual instruction bucket.Switching equipment can be according to certain Hash (Hash) weight specified in algorithm and Group tables carries out load balancing.
The content of the invention
In view of this, the application provides message processing method and device in a kind of software defined network, to solve to only rely on Specified weight value realizes the limitation of load balancing.
In order to solve the above technical problems, what the technical scheme of the application was realized in:
Message processing method in a kind of software defined network, methods described include:
Receive the group table that control device issues and be locally stored, control device is carried in each instruction bucket in this group of table The qos value of configuration and the corresponding relation of weighted value, and weighted value corresponding to same qos value in each instruction bucket in this group of table With for 1;
When receiving data message, carry out forwarding flow table matching;
When group table mark in the forwarding flow table matched be present, the qos value of the data message is calculated, and according to calculating Qos value matches weighted value in each instruction bucket in group table corresponding to this group of table mark;
According to default hash algorithm, and the weighted value matched in each instruction bucket carries out load calculating, and using negative Carry instruction bucket corresponding to result of calculation and forward the data message.
Message processing method in a kind of software defined network, methods described include:
When control device is to the switching equipment configuration group table of equative route being present, the qos value of configuration is carried in this group of table With the corresponding relation of weighted value, and in each instruction bucket in this group of table weighted value corresponding to same qos value and for 1;And will This group of table is handed down to the switching equipment, the switching equipment is stored this group of table;
The control device receives the data message sent on the switching equipment, and issue forwarding flow table when, in the forwarding flow The group table mark of the group table for switching equipment configuration is carried in table, the switching equipment is calculated the qos value of the data message, and According to default hash algorithm, and matched in the group table according to corresponding to the qos value of calculating in this group of table mark in each instruction bucket Weighted value carry out load calculating, using load result of calculation corresponding to instruction bucket forward the data message.
Message process device in a kind of software defined network, described device include:Receiving unit, memory cell, processing are single Member and transmitting element;
The receiving unit, for reception group table;
The memory cell, the group table for the receiving unit to be received are being locally stored;Each finger in this group of table The corresponding relation of qos value and weighted value that control device configuration is carried in bucket is made, and it is same in each instruction bucket in this group of table Weighted value corresponding to qos value and for 1;
The processing unit, for receiving data message when the receiving unit, forwarded according to the data message Flow table matches;When group table mark in the forwarding flow table matched be present, the qos value of the data message is calculated, and according to calculating Qos value match weighted value in each instruction bucket that this group of table identifies in the memory cell in corresponding group of table;According to pre- If hash algorithm, and the weighted value matched in each instruction bucket carry out load calculating;
The transmitting element, for instructing bucket forwarding should corresponding to the load result of calculation that is calculated using the processing unit Data message.
Message process device in a kind of software defined network, described device include:Dispensing unit, transmitting element and reception are single Member;
The dispensing unit, for the switching equipment configuration group table of equative route be present, and carry and match somebody with somebody in this group of table The qos value and the corresponding relation of weighted value put, and in each instruction bucket in this group of table weighted value corresponding to same qos value sum For 1;
The transmitting element, for issuing the group table of the configuration of described dispensing unit to the switching equipment, make the switching equipment Store this group of table;When the receiving unit receives data message, forwarding flow table is issued, and carried in the forwarding flow table and be The group table mark of the group table of switching equipment configuration, makes the switching equipment calculate the qos value of the data message, and according to default Kazakhstan The weighted value matched in uncommon algorithm, and the group table according to corresponding to the qos value of calculating in this group of table mark in each instruction bucket enters Row load is calculated, and the data message is forwarded using instruction bucket corresponding to load result of calculation;
The receiving unit, for receiving the data message sent on switching equipment.
As can be seen from the above technical solution, in the application by the selective power of expanded set table, the QoS of data message is introduced The corresponding different weighted value of value, so as to realize that the message of different QoS carries out load balancing, improves the effect using network bandwidth Rate, different data transmission qualities is provided for different QoS message.
Brief description of the drawings
Fig. 1 is the schematic diagram of an instruction bucket in a group table in the embodiment of the present application;
Fig. 2 is SDN networking schematic diagrams;
Fig. 3 is that switching equipment handles message schematic flow sheet in SDN in the embodiment of the present application;
Fig. 4 is that control device handles message schematic flow sheet in SDN in the embodiment of the present application;
Fig. 5 is the apparatus structure schematic diagram being applied in the embodiment of the present application in the switching equipment of above-mentioned technology;
Fig. 6 is the apparatus structure schematic diagram being applied in the embodiment of the present application in the control device of above-mentioned technology.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with the accompanying drawings and according to embodiment, Technical scheme is described in detail.
In SDN, switching equipment can by feature (features) message announcement control device this switching equipment whether Support expanded set table ability.Whether the expanded set table ability in the embodiment of the present application can identify and using in the embodiment of the present application Instruct the extension weight domain field increased newly in bucket.
After control device receives this feature message, determine whether the switching equipment supports expanded set table ability.
When the switching equipment has the equative route to other switching equipment, for the switching equipment configuration group table, and at this Increase extension weight domain field in each instruction bucket in group table, for carry service quality (Quality of Service, QoS) the corresponding relation of value and weighted value, and in a group table respectively in instruction bucket weighted value corresponding to same qos value and for 1. If it is determined that the switching equipment supports expanded set table ability, then this group of table is handed down to the switching equipment.
In specific implementation, weighted value can be realized using hundred-mark system, then same qos value in bucket is respectively instructed in a group table Corresponding weighted value and for 100%.
Control device can issue multiple groups of tables, such as class of user when for an equative route of the switching equipment Type divides, and the mark of each group table is different, is handed down to the switching equipment together.
If it is determined that the switching equipment does not support expanded set table ability, then when issuing group table for the switching equipment, by existing reality It is existing, i.e., do not increase the extension weight domain field in the embodiment of the present application.
When the equative route to other switching equipment being present, it is necessary to when issuing group table for the switching equipment in the switching equipment, If not can determine that whether the switching equipment supports expanded set table ability, that is, it is not received by the characteristic message of switching equipment transmission When, then give tacit consent to the switching equipment and support expanded set table ability, increase extension weight in each instruction bucket in the group table issued Domain field, for carrying the corresponding relation of qos value and weighted value.
When switching equipment receives the group table that control device issues, if carrying extension weight domain in instruction bucket in this group of table Field, and this switching equipment supports expanded set table ability, then is stored locally;Otherwise, controlled by error message notification This switching equipment of equipment does not support expanded set table ability.
When control device receives the error message of switching equipment transmission, it is embodied as the switching equipment as existing again and is issued Group table, and record the switching equipment and do not support expanded set table ability.
Control device issues a group table when initial by certain rule, due to it is initial when each switching equipment on without any flow, It is identical in weighted value corresponding to each instruction bucket that each QoS can be configured.
Control device is according to the configuration information and flow forwarding state of switching equipment, every in cycle statistically equivalent path Average transmission rate, least residue bandwidth on path, add up dropping packets quantity, and the transmission quality of link is determined per rule road Whether the quality in footpath improves, if it is, the weighted value for corresponding to high QoS in bucket will be instructed to tune up corresponding to the paths, low QoS's Weighted value is turned down;Otherwise, the weighted value for corresponding to high QoS in bucket will be instructed to turn down corresponding to the paths, low QoS weighted value is adjusted Greatly.
When the application implements, in each instruction bucket in a group table weighted value corresponding to same qos value and be 1, Therefore, the weighted value corresponding to the QoS in adjust instruction bucket anyway in a group table, but in the group table after adjusting, together One qos value it is each instruction bucket in corresponding weighted value and will be 1.
The corresponding relation of qos value and weighted value can be dynamically adjusted in the embodiment of the present application, so as to reach adjustment in good time not The real-time of message with QoS is shared, and optimizes the transmission performance of network to greatest extent.
Referring to Fig. 2, Fig. 2 is SDN networking schematic diagrams.In Fig. 2 there are two equivalences in switching equipment 1 between arriving switching equipment 2 Path, it is respectively:Switching equipment 1- switching equipment 2- switching equipment 3;Switching equipment 1- switching equipment 4- switching equipment 3.
, can be in the same qos value in two instruction buckets due to there has been no flow forwarding in SDN under initial situation Corresponding weighted value is respectively set to 50%.Lift a simply example:
Exist in instruction bucket 1 (corresponding path be switching equipment 1- switching equipment 2- switching equipment 3) 2 groups of qos values and The corresponding relation of weighted value, such as qos value 1:Weighted value 50%;Qos value 2:Weighted value 50%.
Exist in instruction bucket 2 (corresponding path be switching equipment 1- switching equipment 4- switching equipment 3) 2 groups of qos values and The corresponding relation of weighted value, such as qos value 1:Weighted value 50%;Qos value 2:Weighted value 50%.
For control device when determining the quality per paths in the cycle, path quality corresponding to determine instruction bucket 1 becomes excellent, and refers to When making the path quality corresponding to bucket 2 deteriorate, it weighted value corresponding to qos value 1 will tune up in instruction bucket 1, such as be tuned up by 50% 80%, and weighted value corresponding to qos value 2 is turned down, is such as transferred to 30% by 50%;Weighted value corresponding to qos value 1 in bucket 2 will be instructed Turn down, such as turned down by 50% to 20%, and weighted value corresponding to qos value 2 tunes up, and is such as tuned up by 50% to 70%.
It is smaller with qos value in the present embodiment, exemplified by showing that QoS is higher.In specific implementation, as the quality of path quality can To configure threshold value determination, and configuration quality parameter is with the corresponding relation of weighted value, so as to the size of adjust automatically weighted value;Also may be used With the size of the good and bad manual adjustment weighted value according to quality, for the amplitude of regulation, the embodiment of the present application is not limited, can be with Configured according to practical application.
No matter how the weighted value in this group of table in each instruction bucket adjusts, and is weighed corresponding to each same qos value instructed in bucket Weight values and for 1.
Group table after renewal is handed down to switching equipment by control device, makes group table corresponding to switching equipment renewal local;When Cycle then, if not updating local group table, can issue a group table again to switching equipment, can not also issue.
When the application implements, control device and switching equipment can be according to User Priorities (802.1P), on probation (EXP) or differentiated service code point (DSCP) determines qos value.Wherein, EXP is reserved in MPLS network in case field on probation, The priority of MPLS label is often used as, is used when calculating QoS.
Control device is when issuing group table, and the qos value that is determined using 802.1P is then to calculate qos value using 802.1P When data message issues forwarding flow table, then corresponding group table mark is carried in flow table is forwarded.In a word, ensure for same business Or the data message of user, control device and switching equipment can calculate identical using the same rule of same priority information Qos value, to ensure that the qos value that data message calculates can match corresponding weighted value in group table.
Referring to Fig. 1, Fig. 1 is the schematic diagram of an instruction bucket in a group table in the embodiment of the present application.Expansion in Fig. 1 It is new field in the embodiment of the present application to open up weight domain (Extended Weight Field), and other fields are compared with realization.
Extended weight field fields, comprising extension weight length (Extended weight length), it is The length of whole Extened Weight Field fields, in addition to the qos value and weighted value occurred in pairs, i.e. qos value and power The corresponding relation of weight values.
Original Weight fields still may have in instruction bucket, when Extended Weight Field fields are not given birth to Effect or in the absence of when, original weight field carries out weighted value when load calculates as the action command bucket in the instruction bucket.
Therefore control device is according to being actually needed, and can be with the different group table of cycle detection inspection link-quality There is identical action command collection (Bucket Actions), identical action command collection can have different in different group tables A paths in weighted value, i.e. equative route can exist in different group tables, and can have different weighted values, at this It can be directed on path and match identical flow table, and the message for calculating different QoS value corresponds to different weighted values, so as to There is different proportion to share.
The qos value of message is identical but matches the message of different forwarding flow tables and can also correspond to difference on the path Weighted value, so as to there is different proportion to share, as long as ensureing that weighted value in each forwarding flow table reference group table is different Achieve that.
Referring to Fig. 3, Fig. 3 is that switching equipment handles message schematic flow sheet in SDN in the embodiment of the present application.Specific steps For:
Step 301, when switching equipment receives data message, carry out forwarding flow table matching.
When switching equipment receives data message in this step, carried out forwarding flow table according to the relevant information of data message Match somebody with somebody, if forwarding flow table corresponding to not matching, controller is reported by the relevant information of the data message or data message, then The forwarding flow table issued according to controller carries out flow table matching and carries out the forwarding of data message.
Step 302, when group table mark in the forwarding flow table matched be present, the qos value of the data message, and root are calculated According to matching weighted value in each instruction bucket of the qos value of calculating in group table corresponding to this group of table mark.
Group table mark when the forwarding flow table matched, and in the forwarding flow table be present, illustrate that arrival purpose equipment is present Cost path determines forward-path, it is necessary to carry out load balancing.
Switching equipment needs to carry out qos value calculating according to the data message, when calculating qos value, is used with control device Identical precedence information (UP, EXP, DSCP) and using it is same rule determine qos value, such as control device using first rule simultaneously Qos values are calculated using UP values, then this switching equipment also using the first rule and calculates Qos using the UP values carried in data message Value, to ensure to match corresponding weighted value in bucket is instructed.
The switching equipment in the extension weight domain in each instruction bucket in this group of table of the QoS that calculates using matching pair The weighted value answered.
If the weight length value in the extension weight domain is 0, illustrate that the field is invalid, use weight word in each instruction bucket Weighted value in section carries out load calculating, i.e., by existing realization.
Step 303, the switching equipment is according to default hash algorithm, and the weighted value matched in each instruction bucket is carried out Load calculates, and forwards the data message using instruction bucket corresponding to load result of calculation.
Load computation rule is not limited in the application specific embodiment, only when carrying out load and calculating using calculating The qos value gone out corresponding weighted value in each instruction bucket calculates.
Referring to Fig. 4, Fig. 4 is that control device handles message schematic flow sheet in SDN in the embodiment of the present application.Specific steps For:
Step 401, control device receives the data message sent on switching equipment.
Step 402, the control device receives the data message sent on the switching equipment, and issue forwarding flow table when, The group table mark of the group table for switching equipment configuration is carried in the forwarding flow table, the switching equipment is calculated the data message Qos value, and according to default hash algorithm, and organize each instruction bucket in table according to corresponding to the qos value of calculating in this group of table mark In the weighted value that matches carry out load calculating, forward the data message using instruction bucket corresponding to load result of calculation.
The control device can generate different groups when generating group table corresponding to any equative route with class of user type Table.
The control device is when receiving data message and issuing forwarding flow table and need to carry group table mark, according to the number received The user type of the data message is determined according to message, and is carried table mark is organized corresponding to the user type of determination in forwarding flow table In issue.
User type can use IP address, port numbers or VLAN marks to be identified in the embodiment of the present application.
Such as it is identified using VLAN marks, then group table is identified as 1, VLAN101- corresponding to VLAN1-VLAN100 Group table is identified as 2 corresponding to VLAN200;Group table is identified as 3 corresponding to VLAN201-VLAN300.
When receiving the data message that is sent on switching equipment, when issuing forwarding flow table for the data message, due to purpose There is equative route in equipment, then need carrying group table to identify, then according to belonging to the VLAN marks that the data message carries determine it VLAN scopes, so that it is determined that corresponding group of table mark, so as to which corresponding group of table mark is carried in the forwarding flow table issued.
It is different that the control device identifies generation when generating group table corresponding to any equative route, by type of service or user The group table of mark;Therefore, need to carry corresponding group table mark when issuing forwarding flow table, it is specific as follows:
When by type of service generation group table, the group table that the control device carries in the forwarding flow table issued identifies basis The type of the data message received determines;
When identifying generation group table by user, the group table that the control device carries in the forwarding flow table issued identifies basis The source IP address of the data message received determines.
Based on same inventive concept, the application also proposes message process device in a kind of software defined network.Referring to figure 5, Fig. 5 be the apparatus structure schematic diagram being applied in the embodiment of the present application in the switching equipment of above-mentioned technology.The device includes:Connect Receive unit 501, memory cell 502, processing unit 503 and transmitting element 504;
Receiving unit 501, for reception group table;
Memory cell 502, the group table for receiving unit 501 to be received are being locally stored;Each instruction in this group of table The qos value of control device configuration and the corresponding relation of weighted value, and same QoS in each instruction bucket in this group of table are carried in bucket Weighted value corresponding to value and for 1;
Processing unit 503, for receiving data message when receiving unit 501, forwarding flow is carried out according to the data message Table matches;When group table mark in the forwarding flow table matched be present, the qos value of the data message is calculated, and according to calculating Qos value matches weighted value in each instruction bucket that this group of table identifies in memory cell 502 in corresponding group of table;According to default Kazakhstan Uncommon algorithm, and the weighted value matched in each instruction bucket carry out load calculating;
Transmitting element 504, the number is forwarded for instruction bucket corresponding to the load result of calculation that is calculated using processing unit 503 According to message.
It is preferred that
Processing unit 503, the regular identical of qos value is configured with control device specifically for the rule for calculating qos value.
Based on same inventive concept, the application also proposes message process device in a kind of software defined network.Referring to figure 6, Fig. 6 be the apparatus structure schematic diagram being applied in the embodiment of the present application in the control device of above-mentioned technology.The device includes:Match somebody with somebody Put unit 601, transmitting element 602 and receiving unit 603.
Dispensing unit 601, for the switching equipment configuration group table of equative route, and the carrying configuration in this group of table be present Qos value and weighted value corresponding relation, and in each instruction bucket in this group of table weighted value corresponding to same qos value and be 1;
Transmitting element 602, for issuing the group table of the configuration of dispensing unit 601 to the switching equipment, deposit the switching equipment Store up this group of table;When receiving unit 603 receives data message, forwarding flow table is issued, and is carried in the forwarding flow table to be somebody's turn to do The group table mark of the group table of switching equipment configuration, makes the switching equipment calculate the qos value of the data message, and according to default Hash The weighted value matched in algorithm, and the group table according to corresponding to the qos value of calculating in this group of table mark in each instruction bucket is carried out Load is calculated, and the data message is forwarded using instruction bucket corresponding to load result of calculation;
Receiving unit 603, for receiving the data message sent on switching equipment.
It is preferred that the device further comprises:Determining unit 604;
Receiving unit 603, for receiving characteristic message, the error message of switching equipment transmission;
Determining unit 604, for after dispensing unit 601 is to the switching equipment configuration group table, determining receiving unit 603 Whether the characteristic message of whether supporting expanded set table ability of switching equipment transmission is received;Sent out when receiving the switching equipment The characteristic message sent, and the switching equipment supports expanded set table ability;Or the characteristic message of switching equipment transmission is not received When, triggering transmitting element 602 carries the qos value of configuration and the corresponding relation of weighted value when issuing group table to the switching equipment;When The characteristic message of switching equipment transmission is received, and when the switching equipment does not support expanded set table ability, triggers transmitting element 602 do not carry the corresponding relation of qos value and weighted value when issuing group table to the switching equipment;
Transmitting element 602, it is further used for when receiving unit 603 receives the error message of switching equipment transmission, A group table is issued again to the switching equipment, and does not carry the corresponding relation of qos value and weighted value.
It is preferred that
Dispensing unit 601, specifically for for the switching equipment configuration group table when, class of user type configures different group Table;
Transmitting element 602, it is further used for when issuing forwarding flow table and need to carry group table mark, according to the data received Message determines the user type of the data message, and is carried table mark is organized corresponding to the user type of determination in flow table is forwarded Issue.
It is preferred that the device further comprises:Statistic unit 605;
Statistic unit 605, for the configuration information according to switching equipment and flow forwarding state, cycle statistically equivalent path In every paths on average transmission rate, least residue bandwidth, add up dropping packets quantity, the transmission quality of link determines Whether the quality of every paths in the equative route on the switching equipment improves;
Dispensing unit 601, it is further used for when statistic unit 605 determines the Quality advance of any paths, by this The weighted value that high QoS is corresponded in instruction bucket corresponding to path is tuned up, and low QoS weighted value is turned down;Otherwise, it is the paths are corresponding Instruction bucket in correspond to high QoS weighted value and turn down, low QoS weighted value tunes up;
Transmitting element 602, it is further used for when the group table renewal that dispensing unit 601 configures, by the group table after renewal again Corresponding group table secondary to be handed down to corresponding switching equipment, and that switching equipment renewal is locally stored.
The unit of above-described embodiment can be integrated in one, and can also be deployed separately;A unit is can be merged into, also may be used To be further split into multiple subelements.
In summary, for the application by the selective power of expanded set table, the qos value for introducing data message corresponds to different power Weight values, so as to realize that the message of different QoS carries out load balancing, the efficiency using network bandwidth is improved, is different QoS message Different data transmission qualities is provided.
The corresponding relation of qos value and weighted value is also adapted dynamically in the application specific embodiment, so as to reach in good time tune Sharing in real time for the message of whole different QoS, optimizes the transmission performance of network to greatest extent.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.

Claims (12)

1. message processing method in a kind of software defined network, it is characterised in that methods described includes:
Switching equipment receives the group table that control device issues and is being locally stored, and control is carried in each instruction bucket in this group of table The service quality QoS value of device configuration and the corresponding relation of weighted value, and same qos value pair in each instruction bucket in this group of table Answer weighted value and be 1;
When the switching equipment receives data message, carry out forwarding flow table matching;
When group table mark in the forwarding flow table matched be present, the qos value of the data message is calculated, and according to the QoS of calculating Value matches weighted value in each instruction bucket in group table corresponding to this group of table mark;
The switching equipment is according to default hash algorithm, and the weighted value matched in each instruction bucket carries out load calculating, and The data message is forwarded using instruction bucket corresponding to load result of calculation.
2. according to the method for claim 1, it is characterised in that methods described further comprises:
The switching equipment calculates the rule of qos value with the regular identical of control device configuration qos value.
3. message processing method in a kind of software defined network, it is characterised in that methods described includes:
When control device is to the switching equipment configuration group table of equative route being present, the service quality of configuration is carried in this group of table The corresponding relation of qos value and weighted value, and in each instruction bucket in this group of table weighted value corresponding to same qos value and for 1; And this group of table is handed down to the switching equipment, make the switching equipment if it is determined that carrying extension weight domain in instruction bucket in this group of table Field, and this switching equipment supports expanded set table ability, then stores this group of table;
The control device receives the data message sent on the switching equipment, and issue forwarding flow table when, in the forwarding flow table The group table mark for the group table of switching equipment configuration is carried, the switching equipment is calculated the qos value of the data message, and according to The power matched in default hash algorithm, and the group table according to corresponding to the qos value of calculating in this group of table mark in each instruction bucket Weight values carry out load calculating, and the data message is forwarded using instruction bucket corresponding to load result of calculation.
4. according to the method for claim 3, it is characterised in that after the control device configuration group table, to the switching equipment Before issuing group table, methods described further comprises:
Whether the control device receives the characteristic message for whether supporting expanded set table ability of switching equipment transmission;
When the characteristic message for receiving switching equipment transmission, and the switching equipment supports expanded set table ability;Or do not receive During the characteristic message that the switching equipment is sent, the qos value of configuration and pair of weighted value are carried when issuing group table to the switching equipment It should be related to;
When the characteristic message for receiving switching equipment transmission, and when the switching equipment does not support expanded set table ability, to the friendship Exchange device does not carry the corresponding relation of qos value and weighted value when issuing group table;
The control device issues a group table again when receiving the error message of switching equipment transmission to the switching equipment, and The corresponding relation of qos value and weighted value is not carried;Wherein, the error message is the switching equipment in the case where receiving control device During the group table of hair, however, it is determined that extension weight domain field is not carried in the instruction bucket in this group of table, and/or this switching equipment is not supported During expanded set table ability, the error message of transmission.
5. the method according to claim 3 or 4, it is characterised in that methods described further comprises:
For the control device when generating group table corresponding to any equative route, class of user type generates different group tables;
The control device determines the datagram when issuing forwarding flow table and need to carry group table mark according to the data message received The user type of text, and group table mark corresponding to the user type of determination is carried and issued in flow table is forwarded.
6. the method according to claim 3 or 4, it is characterised in that methods described further comprises:
The control device is according to the configuration information and flow forwarding state of switching equipment, cycle statistically equivalent path Zhong Meitiao roads Average transmission rate, least residue bandwidth on footpath, add up dropping packets quantity, and the transmission quality of link determines the switching equipment On equative route in every paths quality, and determine whether the quality of any paths improves, if it is, by this road The weighted value that high QoS is corresponded in instruction bucket corresponding to footpath is tuned up, and low QoS weighted value is turned down;Otherwise, by corresponding to the paths The weighted value that high QoS is corresponded in instruction bucket is turned down, and low QoS weighted value tunes up;
When locally group table renewal, the group table after renewal is handed down into corresponding switching equipment again makes the switching equipment update this The corresponding group table of ground storage.
7. message process device in a kind of software defined network, it is characterised in that described device includes:Receiving unit, storage are single Member, processing unit and transmitting element;
The receiving unit, for reception group table;
The memory cell, the group table for the receiving unit to be received are being locally stored;Each instruction bucket in this group of table The corresponding relation of the middle service quality QoS value and weighted value for carrying control device configuration, and in each instruction bucket in this group of table Weighted value corresponding to same qos value and for 1;
The processing unit, for receiving data message when the receiving unit, forwarding flow table is carried out according to the data message Matching;When group table mark in the forwarding flow table matched be present, the qos value of the data message is calculated, and according to the QoS of calculating Value matches weighted value in each instruction bucket that this group of table identifies in the memory cell in corresponding group of table;According to default Hash Algorithm, and the weighted value matched in each instruction bucket carry out load calculating;
The transmitting element, the data are forwarded for instruction bucket corresponding to the load result of calculation that is calculated using the processing unit Message.
8. device according to claim 7, it is characterised in that
The processing unit, the regular identical of qos value is configured with control device specifically for the rule for calculating qos value.
9. message process device in a kind of software defined network, it is characterised in that described device includes:Dispensing unit, send list Member and receiving unit;
The dispensing unit, for the switching equipment configuration group table of equative route, and the carrying configuration in this group of table be present The corresponding relation of service quality QoS value and weighted value, and weighted value corresponding to same qos value in each instruction bucket in this group of table And for 1;
The transmitting element, for issuing the group table of the configuration of described dispensing unit to the switching equipment, if making the switching equipment true Extension weight domain field is carried in instruction bucket in fixed this group of table, and this switching equipment supports expanded set table ability, then storage should Group table;When the receiving unit receives data message, forwarding flow table is issued, and it is the exchange to be carried in the forwarding flow table The group table mark of the group table of device configuration, the switching equipment is calculated the qos value of the data message, and calculated according to default Hash The weighted value matched in method, and the group table according to corresponding to the qos value of calculating in this group of table mark in each instruction bucket is born Carry and calculate, the data message is forwarded using instruction bucket corresponding to load result of calculation;
The receiving unit, for receiving the data message sent on switching equipment.
10. device according to claim 9, it is characterised in that the device further comprises:Determining unit;
The receiving unit, for receiving characteristic message, the error message of switching equipment transmission;
The determining unit, for after the dispensing unit is to the switching equipment configuration group table, determining the receiving unit Whether the characteristic message of whether supporting expanded set table ability of switching equipment transmission is received;Sent out when receiving the switching equipment The characteristic message sent, and the switching equipment supports expanded set table ability;Or the characteristic message of switching equipment transmission is not received When, trigger when the transmitting element issues group table to the switching equipment and carry the qos value of configuration and the corresponding relation of weighted value;When The characteristic message of switching equipment transmission is received, and when the switching equipment does not support expanded set table ability, triggers the transmission Unit does not carry the corresponding relation of qos value and weighted value when issuing group table to the switching equipment;
The transmitting element, it is further used for when the receiving unit receives the error message of switching equipment transmission, to The switching equipment issues a group table again, and does not carry the corresponding relation of qos value and weighted value, wherein, the error message is should Switching equipment is when receiving the group table that control device issues, however, it is determined that extension weight domain is not carried in the instruction bucket in this group of table Field, and/or when this switching equipment does not support expanded set table ability, the error message of transmission.
11. the device according to claim 9 or 10, it is characterised in that
The dispensing unit, specifically for for the switching equipment configuration group table when, class of user type configures different group table;
The transmitting element, it is further used for when issuing forwarding flow table and need to carry group table mark, according to the datagram received Text determines the user type of the data message, and is carried table mark is organized corresponding to the user type of determination in the case where forwarding in flow table Hair.
12. the device according to claim 9 or 10, it is characterised in that the device further comprises:Statistic unit;
The statistic unit, for the configuration information according to switching equipment and flow forwarding state, in cycle statistically equivalent path Every paths on average transmission rate, least residue bandwidth, add up dropping packets quantity, the transmission quality of link determines should Whether the quality of every paths in the equative route on switching equipment improves;
The dispensing unit, it is further used for when the statistic unit determines the Quality advance of any paths, by this road The weighted value that high QoS is corresponded in instruction bucket corresponding to footpath is tuned up, and low QoS weighted value is turned down;Otherwise, by corresponding to the paths The weighted value that high QoS is corresponded in instruction bucket is turned down, and low QoS weighted value tunes up;
The transmitting element, it is further used for when the group table renewal of the configuration of described dispensing unit, by the group table after renewal again Corresponding switching equipment is handed down to, and the corresponding group table that switching equipment renewal is locally stored.
CN201410505928.5A 2014-09-28 2014-09-28 Message processing method and device in a kind of software defined network Active CN104243340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410505928.5A CN104243340B (en) 2014-09-28 2014-09-28 Message processing method and device in a kind of software defined network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410505928.5A CN104243340B (en) 2014-09-28 2014-09-28 Message processing method and device in a kind of software defined network

Publications (2)

Publication Number Publication Date
CN104243340A CN104243340A (en) 2014-12-24
CN104243340B true CN104243340B (en) 2017-11-10

Family

ID=52230718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410505928.5A Active CN104243340B (en) 2014-09-28 2014-09-28 Message processing method and device in a kind of software defined network

Country Status (1)

Country Link
CN (1) CN104243340B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836731B (en) * 2015-05-14 2017-12-08 新华三技术有限公司 A kind of Group list processing method and apparatus of Open Flow agreements
CN104993968B (en) * 2015-07-23 2018-04-10 上海斐讯数据通信技术有限公司 The control method and system of the network equipment in a kind of software defined network
CN105376158B (en) * 2015-10-12 2018-04-27 上海斐讯数据通信技术有限公司 SDN circulation methods and its device based on EXP values in MPLS messages
CN107404440B (en) * 2016-05-19 2021-01-29 华为技术有限公司 Forwarding table item sending method, message forwarding method and device
CN106209440B (en) * 2016-06-28 2019-11-12 新华三技术有限公司 Service quality QoS implementation method and device in software defined network SDN
CN107317887B (en) * 2017-08-23 2019-10-18 北京知道创宇信息技术股份有限公司 A kind of load-balancing method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707807A (en) * 2009-12-14 2010-05-12 中兴通讯股份有限公司 Method and device for scheduling service queue
CN101986627A (en) * 2010-11-25 2011-03-16 北京星网锐捷网络技术有限公司 Method, device and equipment for balancing loads
CN103200122A (en) * 2013-03-05 2013-07-10 中兴通讯股份有限公司 Processing method and system for group table in software definition network, and controller
CN103200102A (en) * 2012-01-09 2013-07-10 中兴通讯股份有限公司 Method, device and system for service routing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9246847B2 (en) * 2012-12-17 2016-01-26 Telefonaktiebolaget L M Ericsson (Publ) Extending the reach and effectiveness of header compression in access networks using SDN

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707807A (en) * 2009-12-14 2010-05-12 中兴通讯股份有限公司 Method and device for scheduling service queue
CN101986627A (en) * 2010-11-25 2011-03-16 北京星网锐捷网络技术有限公司 Method, device and equipment for balancing loads
CN103200102A (en) * 2012-01-09 2013-07-10 中兴通讯股份有限公司 Method, device and system for service routing
CN103200122A (en) * 2013-03-05 2013-07-10 中兴通讯股份有限公司 Processing method and system for group table in software definition network, and controller

Also Published As

Publication number Publication date
CN104243340A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN104243340B (en) Message processing method and device in a kind of software defined network
CN103229468B (en) Packet-switched resources distribution method and equipment
JP5975083B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, PACKET TRANSFER ROUTE CONTROL METHOD, AND PROGRAM
Bera et al. FlowStat: Adaptive flow-rule placement for per-flow statistics in SDN
CN102075444B (en) Network system and method for guaranteeing multi-type service quality
CN102014049B (en) Method and system for power-limited switching and/or routing in a network
CN107431968B (en) Method for establishing routing table, electronic equipment and network
CN106921572B (en) A kind of method, apparatus and system for propagating qos policy
KR101460048B1 (en) Method and apparatus for control of dynamic service chaining by using tagging
US11522784B2 (en) Routing and forwarding method for multi-homed network based on programmable network technology
CN101841487A (en) Configuration method for aggregating link service flow and packet switching device
CN107370673A (en) Method, controller and the system of forward-path are established in a kind of network
CN109787801A (en) A kind of network service management methods, devices and systems
CN106559330A (en) A kind of dynamic path planning method based on SDN
CN106817299A (en) The list item generation method and device and message forwarding method of software defined network
Kassabalidis et al. Adaptive-SDR: Adaptive swarm-based distributed routing
CN102025621A (en) Routing selection method of cognitive network based on mapping mechanism
Wang et al. Edge-based traffic engineering for OSPF networks
Nazumudeen et al. Performance Analysis of Dynamic Routing Protocols Using Packet Tracer
CN107454647A (en) The sending method and device of periodicity routing iinformation
CN102487352B (en) Service distributing method and device
CN104917677A (en) Data stream forwarding control method and system
CN107231318A (en) Switching at runtime control to providing multiple Internet services for home network
Gang et al. Throughput maximization routing in the hybrid segment routing network
KR20130085541A (en) Packet transferring device and method of transferring packet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant