Quality of service control method and device for software-defined networking
Abstract
Embodiments of the present invention provide a QoS control method and a device for SDN. A control plane device includes: a determining unit, configured to determine a flow entry, where the flow entry includes QoS information, the QoS information is used to indicate a QoS processing rule, the QoS processing rule includes a QoS parameter, and the QoS processing rule is used to instruct to perform QoS control on a data packet according to the QoS parameter; and a sending unit, configured to send the flow entry to a forwarding plane device, so that the forwarding plane device obtains the QoS processing rule, and performs QoS control on a target packet according to the QoS parameter in the QoS processing rule, where the target packet is a data packet that matches the flow entry.
Claims
exact text as granted — not AI-modified1 . A communication system, comprising:
a control plane device and a forwarding plane device; the control plane device is configured to: determine a flow entry information, wherein the flow entry information comprises quality of service (QoS) information indicating a QoS processing rule, wherein the QoS processing rule comprises a QoS parameter, and wherein the QoS processing rule is used to indicate to perform QoS control on a data packet according to the QoS parameter; and send the flow entry information to a forwarding plane device; and the forwarding plane device is configured to: receive the flow entry information from the control plane device; and perform QoS control on a target packet according to the QoS parameter in the QoS processing rule, wherein the target packet matches the flow entry information.
2 . The communication system according to claim 1 , wherein the QoS parameter comprises at least one of the following:
a packet drop rate parameter; a delay parameter; a jitter parameter; or a rate limiting parameter; and wherein, correspondingly, the QoS processing rule is used to indicate at least one of the following: performing packet drop control on the target packet according to the packet drop rate parameter; performing delay control on the target packet according to the delay parameter; performing jitter control on the target packet according to the jitter parameter; or performing rate limiting control on the target packet according to the rate limiting parameter.
3 . The communication system according to claim 1 , wherein the QoS information comprises the QoS processing rule.
4 . The communication system according to claim 3 , wherein the QoS processing rule comprises at least one of the following instructions:
a first instruction, wherein the first instruction comprises a packet drop rate parameter, and wherein the first instruction is used to instruct to perform packet drop control on the target packet according to the packet drop rate parameter; a second instruction, wherein the second instruction comprises a delay parameter, and wherein the second instruction is used to instruct to perform delay control on the target packet according to the delay parameter; a third instruction, wherein the third instruction comprises a jitter parameter, and wherein the third instruction is used to instruct to perform jitter control on the target packet according to the jitter parameter; or a fourth instruction, wherein the fourth instruction comprises a rate limiting parameter, and wherein the fourth instruction is used to instruct to perform rate limiting control on the target packet according to the rate limiting parameter.
5 . The communication system according to claim 1 , wherein the control plane device is configured to send configuration information to the forwarding plane device, and wherein the configuration information comprises the QoS processing rule and an index identifier corresponding to the QoS processing rule; and
wherein the QoS information comprises the index identifier.
6 . The communication system according to claim 5 , wherein:
the configuration information comprises a meter entry, wherein a meter band of the meter entry comprises the QoS processing rule, and wherein the index identifier is an identifier of the meter entry, and wherein, correspondingly, the QoS information comprises a meter instruction, wherein the meter instruction comprises the identifier of the meter entry; or wherein the configuration information comprises queue information, wherein a queue in the queue information comprises the QoS processing rule, and wherein the index identifier is an identifier of the queue, and wherein, correspondingly, the QoS information comprises a queue instruction, wherein the queue instruction comprises the identifier of the queue; or wherein the QoS information comprises a customized QoS processing instruction, wherein the customized QoS processing instruction comprises the index identifier, and wherein the customized QoS processing instruction is used to instruct to obtain, according to the index identifier, the QoS processing rule from the configuration information.
7 . The communication system according to claim 1 , wherein:
the forwarding plane device is configured to: determine, according to the flow entry information, that a data packet is the target packet; and obtain the QoS processing rule according to the QoS information.
8 . A non-transitory computer-readable medium storing computer instructions for execution by one or more processors, wherein the computer instructions configure the one or more processors to:
determine a flow entry information, wherein the flow entry information comprises quality of service (QoS) information indicating a QoS processing rule, wherein the QoS processing rule comprises a QoS parameter, and wherein the QoS processing rule is used to indicate to perform QoS control on a data packet according to the QoS parameter; and send the flow entry information to a forwarding plane device, so that the forwarding plane device performs QoS control on a target packet according to the QoS parameter in the QoS processing rule, wherein the target packet matches the flow entry.
9 . The non-transitory computer-readable medium according to claim 8 , wherein the QoS parameter comprises at least one of the following:
a packet drop rate parameter; a delay parameter; a jitter parameter; or a rate limiting parameter; and wherein, correspondingly, the QoS processing rule is used to indicate at least one of the following: performing packet drop control on the target packet according to the packet drop rate parameter; performing delay control on the target packet according to the delay parameter; performing jitter control on the target packet according to the jitter parameter; or performing rate limiting control on the target packet according to the rate limiting parameter.
10 . The non-transitory computer-readable medium according to claim 8 , wherein the QoS information comprises the QoS processing rule.
11 . The non-transitory computer-readable medium according to claim 10 , wherein the QoS processing rule comprises at least one of the following instructions:
a first instruction, wherein the first instruction comprises a packet drop rate parameter, and wherein the first instruction is used to instruct to perform packet drop control on the target packet according to the packet drop rate parameter; a second instruction, wherein the second instruction comprises a delay parameter, and wherein the second instruction is used to instruct to perform delay control on the target packet according to the delay parameter; a third instruction, wherein the third instruction comprises a jitter parameter, and wherein the third instruction is used to instruct to perform jitter control on the target packet according to the jitter parameter; or a fourth instruction, wherein the fourth instruction comprises a rate limiting parameter, and wherein the fourth instruction is used to instruct to perform rate limiting control on the target packet according to the rate limiting parameter.
12 . The non-transitory computer-readable medium according to claim 8 , wherein the computer instructions configure the one or more processors to:
send configuration information to the forwarding plane device, and wherein the configuration information comprises the QoS processing rule and an index identifier corresponding to the QoS processing rule; and wherein the QoS information comprises the index identifier.
13 . The non-transitory computer-readable medium according to claim 12 , wherein:
the configuration information comprises a meter entry, wherein a meter band of the meter entry comprises the QoS processing rule, and wherein the index identifier is an identifier of the meter entry, and wherein, correspondingly, the QoS information comprises a meter instruction, wherein the meter instruction comprises the identifier of the meter entry; or wherein the configuration information comprises queue information, wherein a queue in the queue information comprises the QoS processing rule, and wherein the index identifier is an identifier of the queue, and wherein, correspondingly, the QoS information comprises a queue instruction, wherein the queue instruction comprises the identifier of the queue; or wherein the QoS information comprises a customized QoS processing instruction, wherein the customized QoS processing instruction comprises the index identifier, and wherein the customized QoS processing instruction is used to instruct to obtain, according to the index identifier, the QoS processing rule from the configuration information.
14 . A non-transitory computer-readable medium storing computer instructions for execution by one or more processors, wherein the computer instructions configure the one or more processors to:
receive the flow entry information from a control plane device, wherein the flow entry information comprises quality of service (QoS) information indicating a QoS processing rule, wherein the QoS processing rule comprises a QoS parameter, and wherein the QoS processing rule is used to indicate to perform QoS control on a data packet according to the QoS parameter; and perform QoS control on a target packet according to the QoS parameter in the QoS processing rule, wherein the target packet matches the flow entry information.
15 . The non-transitory computer-readable medium according to claim 14 , wherein the QoS parameter comprises at least one of the following:
a packet drop rate parameter; a delay parameter; a jitter parameter; or a rate limiting parameter; and wherein, correspondingly, the QoS processing rule is used to indicate at least one of the following: performing packet drop control on the target packet according to the packet drop rate parameter; performing delay control on the target packet according to the delay parameter; performing jitter control on the target packet according to the jitter parameter; or performing rate limiting control on the target packet according to the rate limiting parameter.
16 . The non-transitory computer-readable medium according to claim 14 , wherein the QoS information comprises the QoS processing rule.
17 . The non-transitory computer-readable medium according to claim 16 , wherein the QoS processing rule comprises at least one of the following instructions:
a first instruction, wherein the first instruction comprises a packet drop rate parameter, and wherein the first instruction is used to instruct to perform packet drop control on the target packet according to the packet drop rate parameter; a second instruction, wherein the second instruction comprises a delay parameter, and wherein the second instruction is used to instruct to perform delay control on the target packet according to the delay parameter; a third instruction, wherein the third instruction comprises a jitter parameter, and wherein the third instruction is used to instruct to perform jitter control on the target packet according to the jitter parameter; or a fourth instruction, wherein the fourth instruction comprises a rate limiting parameter, and wherein the fourth instruction is used to instruct to perform rate limiting control on the target packet according to the rate limiting parameter.
18 . The non-transitory computer-readable medium according to claim 14 , wherein the computer instructions configure the one or more processors to:
receive configuration information from the control plane device, and wherein the configuration information comprises the QoS processing rule and an index identifier corresponding to the QoS processing rule; and wherein the QoS information comprises the index identifier.
19 . The non-transitory computer-readable medium according to claim 18 , wherein:
the configuration information comprises a meter entry, wherein a meter band of the meter entry comprises the QoS processing rule, and wherein the index identifier is an identifier of the meter entry, and wherein, correspondingly, the QoS information comprises a meter instruction, wherein the meter instruction comprises the identifier of the meter entry; or wherein the configuration information comprises queue information, wherein a queue in the queue information comprises the QoS processing rule, and wherein the index identifier is an identifier of the queue, and wherein, correspondingly, the QoS information comprises a queue instruction, wherein the queue instruction comprises the identifier of the queue; or wherein the QoS information comprises a customized QoS processing instruction, wherein the customized QoS processing instruction comprises the index identifier, and wherein the customized QoS processing instruction is used to instruct to obtain, according to the index identifier, the QoS processing rule from the configuration information.
20 . The non-transitory computer-readable medium according to claim 14 , wherein the computer instructions configure the one or more processors to:
determine, according to the flow entry information, that a data packet is the target packet; and obtain the QoS processing rule according to the QoS information.Join the waitlist — get patent alerts
Track US2021119934A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.