This application claims priority to Chinese Patent Application No. 201410545651.9, filed on Oct. 15, 2014, which is hereby incorporated by reference in its entirety.
Embodiments of the present disclosure relate to network technologies, and in particular, to a method for controlling a service data flow and a network device.
With quick development of new network technologies, mobile terminals are popularized rapidly, and mobile offices and wireless access also spring up accordingly. Any terminals are used to access a network anytime and anywhere, and have a same forwarding priority, network bandwidth, network access permission, and security policy after accessing the network in different places, which becomes a development trend of an enterprise network.
For this trend, that a network controller (Controller) component is added to a network, and centralized control is performed on user information in the entire network by using the controller is put forward based on a Software Defined Network (SDN) concept. The controller synchronizes security group information to execution point devices network-wide, the execution point devices include a switch, a firewall, and the like, and the security group information refers to information about a protected network resource or information about an end user. The user performs authentication, and gets online, and the execution point devices acquire security group information of service traffic, and perform admission control or application control on the service traffic. The admission control refers to protecting a network boundary, and controlling a terminal accessing a network, and the application control refers to protecting application traffic of a network boundary on the premise of admission, and controlling application traffic of a terminal accessing a network.
However the execution point devices can perform only admission control or application control on service traffic, and in this way, efficiency of processing the service traffic by the execution point devices is low. Therefore, how to improve efficiency of processing the service traffic by the execution point devices is a technical problem needing to be urgently resolved nowadays.
Embodiments of the present disclosure provide a method for controlling a service data flow and a network device, so as to resolve a problem of low efficiency of processing service traffic by an execution point device.
According to a first aspect, an embodiment of the present disclosure provides a method for controlling a service data flow, including receiving, by a network device, a service data flow, and acquiring a control label that is carried, based on the Label Control Protocol (LCP), in the service data flow, and performing, by the network device, network access control on the service data flow according to the control label by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information, where the network access control includes at least one of admission control and application control.
With reference to the first aspect, in a first possible implementation manner of the first aspect, if the network device is a firewall device, the performing, by the network device, network access control on the service data flow according to the control label by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information includes respectively performing, if the control label is first information, admission control and application control on the service data flow by using the admission control configuration information and the application control configuration information, where the first information is used for indicating that a receiver of the service data flow has not performed admission control or application control on the service data flow, performing, if the control label is second information, application control on the service data flow only by using the application control configuration information, where the second information is used for indicating that a receiver of the service data flow has completed admission control on the service data flow, but has not performed application control on the service data flow, performing, if the control label is third information, admission control on the service data flow only by using the admission control configuration information, where the third information is used for indicating that a receiver of the service data flow has completed application control on the service data flow, but has not performed admission control on the service data flow, or directly forwarding, if the control label is fourth information, the service data flow, where the fourth information is used for indicating that a receiver of the service data flow has completed admission control and application control on the service data flow.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the method further includes after the respectively performing admission control and application control on the service data flow by using the admission control configuration information and the application control configuration information, updating the first information to the fourth information, and forwarding the service data flow, or after the performing application control on the service data flow only by using the application control configuration information, updating the second information to the fourth information, and forwarding the service data flow, or after the performing admission control on the service data flow only by using the admission control configuration information, updating the third information to the fourth information, and forwarding the service data flow, or during the directly forwarding the service data flow, keeping the fourth information unchanged.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes respectively performing, if it is determined and learned that the service data flow does not carry the control label, admission control and application control on the service data flow by using the admission control configuration information and the application control configuration information, and adding the control label to the service data flow, where a value of the control label is the fourth information, or performing, if it is determined and learned that the service data flow does not carry the control label, application control on the service data flow only by using the application control configuration information, and adding the control label to the service data flow, where a value of the control label is the third information, or performing, if it is determined and learned that the service data flow does not carry the control label, admission control on the service data flow only by using the admission control configuration information, and adding the control label to the service data flow, where a value of the control label is the second information.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, if the network device is a switching device, the performing, by the network device, network access control on the service data flow according to the control label by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information includes performing, if the control label is first information, admission control on the service data flow by using the admission control configuration information, where the first information is used for indicating that a receiver of the service data flow has not performed admission control or application control on the service data flow, directly forwarding, if the control label is second information, the service data flow, where the second information is used for indicating that a receiver of the service data flow has completed admission control on the service data flow, but has not performed application control on the service data flow, performing, if the control label is third information, admission control on the service data flow by using the admission control configuration information, where the third information is used for indicating that a receiver of the service data flow has completed application control on the service data flow, but has not performed admission control on the service data flow, or directly forwarding, if the control label is fourth information, the service data flow, where the fourth information is used for indicating that a receiver of the service data flow has completed admission control and application control on the service data flow.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes after the performing, if the control label is first information, admission control on the service data flow by using the admission control configuration information, updating the first information to the second information, and forwarding the service data flow, or during the directly forwarding, if the control label is second information, the service data flow, keeping the second information unchanged, or after the performing, if the control label is third information, admission control on the service data flow by using the admission control configuration information, updating the third information to the fourth information, and forwarding the service data flow, or during the directly forwarding, if the control label is fourth information, the service data flow, keeping the fourth information unchanged.
With reference to the fourth possible implementation manner of the first aspect or the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes performing, if it is determined and learned that the service data flow does not carry the control label, admission control on the service data flow by using the admission control configuration information, and adding the control label to the service data flow, where a value of the control label is the second information.
According to a second aspect, an embodiment of the present disclosure provides a network device, including a receiving module configured to receive a service data flow, and acquire a control label that is carried, based on the LCP, in the service data flow, and a processing module configured to perform network access control on the service data flow according to the control label by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information, where the network access control includes at least one of admission control and application control.
With reference to the second aspect, in a first possible implementation manner of the second aspect, if the network device is a firewall device, the processing module is configured to respectively perform, if the control label is first information, admission control and application control on the service data flow by using the admission control configuration information and the application control configuration information, where the first information is used for indicating that a receiver of the service data flow has not performed admission control or application control on the service data flow, perform, if the control label is second information, application control on the service data flow only by using the application control configuration information, where the second information is used for indicating that a receiver of the service data flow has completed admission control on the service data flow, but has not performed application control on the service data flow, perform, if the control label is third information, admission control on the service data flow only by using the admission control configuration information, where the third information is used for indicating that a receiver of the service data flow has completed application control on the service data flow, but has not performed admission control on the service data flow, or directly forward, if the control label is fourth information, the service data flow, where the fourth information is used for indicating that a receiver of the service data flow has completed admission control and application control on the service data flow.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the network device further includes an update module, and the update module is configured to after the respectively performing admission control and application control on the service data flow by using the admission control configuration information and the application control configuration information, update the first information to the fourth information, and forward the service data flow, or after the performing application control on the service data flow only by using the application control configuration information, update the second information to the fourth information, and forward the service data flow, or after the performing admission control on the service data flow only by using the admission control configuration information, update the third information to the fourth information, and forward the service data flow, or during the directly forwarding the service data flow, keep the fourth information unchanged.
With reference to the second aspect, the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the network device further includes a determining module, and the determining module is configured to respectively perform, if it is determined and learned that the service data flow does not carry the control label, admission control and application control on the service data flow by using the admission control configuration information and the application control configuration information, and add the control label to the service data flow, where a value of the control label is the fourth information, or perform, if it is determined and learned that the service data flow does not carry the control label, application control on the service data flow only by using the application control configuration information, and add the control label to the service data flow, where a value of the control label is the third information, or perform, if it is determined and learned that the service data flow does not carry the control label, admission control on the service data flow only by using the admission control configuration information, and add the control label to the service data flow, where a value of the control label is the second information.
With reference to the second aspect, in a fourth possible implementation manner of the second aspect, if the network device is a switch, the processing module is configured to perform, if the control label is first information, admission control on the service data flow by using the admission control configuration information, where the first information is used for indicating that a receiver of the service data flow has not performed admission control or application control on the service data flow, directly forward, if the control label is second information, the service data flow, where the second information is used for indicating that a receiver of the service data flow has completed admission control on the service data flow, but has not performed application control on the service data flow, perform, if the control label is third information, admission control on the service data flow by using the admission control configuration information, where the third information is used for indicating that a receiver of the service data flow has completed application control on the service data flow, but has not performed admission control on the service data flow, or directly forward, if the control label is fourth information, the service data flow, where the fourth information is used for indicating that a receiver of the service data flow has completed admission control and application control on the service data flow.
With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the network device further includes an update module, and the update module is configured to after the performing, if the control label is first information, admission control on the service data flow by using the admission control configuration information, update the first information to the second information, and forward the service data flow, or during the directly forwarding, if the control label is second information, the service data flow, keep the second information unchanged, or after the performing, if the control label is third information, admission control on the service data flow by using the admission control configuration information, update the third information to the fourth information, and forward the service data flow, or during the directly forwarding, if the control label is fourth information, the service data flow, keep the fourth information unchanged.
With reference to the fourth possible implementation manner of the second aspect or the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the network device further includes a determining module, configured to perform, if it is determined and learned that the service data flow does not carry the control label, admission control on the service data flow by using the admission control configuration information, and add the control label to the service data flow, where a value of the control label is the second information.
According to the method for controlling a service data flow and the network device in the embodiments of the present disclosure, a service data flow is received, and a control label that is carried, based on the LCP, in the service data flow is acquired; admission control and/or application control is performed on the service data flow according to the control label by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information, so as to perform admission control and/or application control on the service data flow, which therefore effectively improves efficiency of processing the service data flow by the network device.
To describe the technical solutions in the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. The accompanying drawings in the following description show some embodiments of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the following clearly describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. The described embodiments are some but not all of the embodiments of the present disclosure. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
The network device may be a network device such as a Next-generation Firewall (NGFW) or a switch that can provide application control and admission control for the service data flow. The service data flow includes a payload, a control label, and internet protocol (IP) information, the control label is information added to a service data flow based on the LCP, and the network device in this embodiment has functions of adding a control label and identifying a control label. The IP information in the service data flow includes a source IP address, a destination IP address, and some other IP layer information, the network device may acquire security group information corresponding to the service data flow, the security group information refers to information about a protected network resource or information about an end user, and the security group information includes source security group information and destination security group information, where the source security group information represents information about an end user needing to access a protected network resource, and the destination security group information represents information about a protected network resource providing a service. These network resources have fixed IP addresses, and an administrator requires that an end user is not allowed to access these protected resources until the identity of the end user is authenticated and authorization is obtained. For a specific obtaining manner, refer to a manner of obtaining security group information of a service data flow, which may be that: a controller performs centralized control on user information in a network, a user sends an authentication request to the controller by using a network device, the controller acquires, according to the authentication request, source security group information corresponding to an authentication information flow, and returns the source security group information to the network device, and the network device acquires the destination security group information of the service data flow according to a destination IP address of the service data flow, so as to acquire the security group information corresponding to the service data flow.
Step 102: The network device performs network access control on the service data flow according to the control label by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information.
The network access control includes at least one of admission control and application control. The admission control refers to protecting a network boundary, and controlling a terminal accessing a network, that is, performing corresponding control processing on the service data flow according to the security group information of the service data flow. The application control refers to protecting application traffic of a network boundary on the premise of admission, and controlling application traffic of a terminal accessing a network, that is, performing corresponding control processing on the service data flow according to data flow related information and the security group information of the service data flow, where the data flow related information may be information such as a length of the service data flow.
The controller delivers the admission control configuration information and the application control configuration information that are based on the security group information to network devices, the network devices may perform admission control, application control, or admission control first and then application control on the service data flow according to the security group information of the service data flow and the admission control configuration information and the application control configuration information that are based on the security group information.
Optionally, if the network device is a firewall device, a specific implementation manner of step 102 may be respectively performing, if the control label is first information, admission control and application control on the service data flow by using the admission control configuration information and the application control configuration information, where the first information is used for indicating that a receiver of the service data flow has not performed admission control or application control on the service data flow; herein, the respectively performing admission control and application control on the service data flow refers to: first performing admission control on the service data flow by using the admission control configuration information, and then performing application control on the service data flow by using the application control configuration information, performing, if the control label is second information, application control on the service data flow only by using the application control configuration information, where the second information is used for indicating that a receiver of the service data flow has completed admission control on the service data flow, but has not performed application control on the service data flow, performing, if the control label is third information, admission control on the service data flow only by using the admission control configuration information, where the third information is used for indicating that a receiver of the service data flow has completed application control on the service data flow, but has not performed admission control on the service data flow, or directly forwarding, if the control label is fourth information, the service data flow, where the fourth information is used for indicating that a receiver of the service data flow has completed admission control and application control on the service data flow.
Further, if the network device is a firewall device, the method for controlling a service data flow in this embodiment may further include the following steps after the respectively performing admission control and application control on the service data flow by using the admission control configuration information and the application control configuration information in step 102 is performed, updating the first information of the service data flow to the fourth information, and forwarding the service data flow, or after the performing application control on the service data flow only by using the application control configuration information in step 102 is performed, updating the second information of the service data flow to the fourth information, and forwarding the service data flow, or after the performing admission control on the service data flow only by using the admission control configuration information in step 102 is performed, updating the third information of the service data flow to the fourth information, and forwarding the service data flow, or when the directly forwarding the service data flow in step 102 is performed, keeping the fourth information of the service data flow unchanged.
Optionally, if the network device is a firewall device, correspondingly, if it is determined and learned that the service data flow does not carry the control label, admission control and application control are respectively performed on the service data flow by using the admission control configuration information and the application control configuration information, and the control label is added to the service data flow, where a value of the control label is the fourth information, or if it is determined and learned that the service data flow does not carry the control label, application control is performed on the service data flow only by using the application control configuration information, and the control label is added to the service data flow, where a value of the control label is the third information, or if it is determined and learned that the service data flow does not carry the control label, admission control is performed on the service data flow only by using the admission control configuration information, and the control label is added to the service data flow, where a value of the control label is the second information.
Optionally, if the network device is a switching device, step 102 may be performing, if the control label is first information, admission control on the service data flow by using the admission control configuration information, where the first information is used for indicating that a receiver of the service data flow has not performed admission control or application control on the service data flow, directly forwarding, if the control label is second information, the service data flow, where the second information is used for indicating that a receiver of the service data flow has completed admission control on the service data flow, but has not performed application control on the service data flow, performing, if the control label is third information, admission control on the service data flow by using the admission control configuration information, where the third information is used for indicating that a receiver of the service data flow has completed application control on the service data flow, but has not performed admission control on the service data flow, or directly forwarding, if the control label is fourth information, the service data flow, where the fourth information is used for indicating that a receiver of the service data flow has completed admission control and application control on the service data flow.
Further, if the network device is a switching device, the method for controlling a service data flow in this embodiment may further include after the performing, if the control label is first information, admission control on the service data flow by using the admission control configuration information, updating the first information to the second information, and forwarding the service data flow, or during the directly forwarding, if the control label is second information, the service data flow, keeping the second information unchanged, or after the performing, if the control label is third information, admission control on the service data flow by using the admission control configuration information, updating the third information to the fourth information, and forwarding the service data flow, or during the directly forwarding, if the control label is fourth information, the service data flow, keeping the fourth information unchanged.
Optionally, if the network device is a switching device, if it is determined and learned that the service data flow does not carry the control label, admission control is performed on the service data flow by using the admission control configuration information, and the control label is added to the service data flow, where a value of the control label is the second information.
In this embodiment, a network device receives a service data flow, and acquires a control label that is carried, based on the LCP, in the service data flow; and performs network access control on the service data flow according to the control label by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information, where the network access control includes admission control and/or application control, so as to perform admission control and/or application control on the service data flow, which therefore effectively improves efficiency of processing the service data flow by the network device.
The technical solution of the method embodiment shown in
The service data flow may be a packet. The service data flow may be a service data flow (not carrying a control label), or may be a service data flow (carrying a control label) based on the LCP in the present disclosure. A specific form of the service data flow based on the LCP may be shown in
S202: Determine whether the service data flow carries a control label, and if yes, perform S203; otherwise, perform S208.
The NGFW has functions of adding a label and identifying a label. When the NGFW identifies that the service data flow carries the control label, S203 is performed; when the NGFW identifies that the service data flow does not carry the control label, S208 is performed.
S203: Perform corresponding processing on the service data flow according to the control label of the service data flow.
if the control label is the first information, S204 is performed. If the control label is the second information, S205 is performed. If the control label is the third information, S206 is performed. If the control label is the fourth information, S207 is performed.
The NGFW performs corresponding processing on the service data flow according to the control label of the service data flow by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information. A specific form of the admission control configuration information based on the security group information may be shown in Table 1, and a specific form of the application control configuration information based on the security group information may be shown in Table 2. Row attributes in Table 1 and Table 2 are used for indicating source security group information, and the source security group information represents information about an end user needing to access a protected network resource. Herein, description is made exemplarily by using research and development A, outsourcing B, and unknown 0 as an example. Column attributes are used for indicating destination security group information, and the destination security group information represents information about a protected network resource providing a service. These network resources have fixed IP addresses, and an administrator requires that an end user is not allowed to access these protected resources until the identity of the end user is authenticated and authorization is obtained. Herein, description is made exemplarily by using voice C, code D, and a general WEB website as an example. It can be understood that research and development A, outsourcing B, and unknown 0 may also be used as the destination security group information, for example, research and development A needs to access a network resource of outsourcing B. In this case, the source security group information is research and development A, and the destination security group information is outsourcing B. For a manner of obtaining the security group information of the service data flow, refer to step 101. Admission control information and application control information corresponding to the service data flow may be acquired, according to the security group information of the service flow, from the admission control configuration information and the application control configuration information that are based on the security group information, for example, the source security group information is outsourcing B, the destination security group information is voice C. It may be learned according to an admission control configuration matrix in Table 1 that, admission control is allowed, indicating that outsourcing B is allowed to perform a voice C operation, the source security group information is outsourcing B, and the destination security group information is a general WEB website. It may be learned according to an application control configuration matrix in Table 2 that, application control is that a file is allowed or forbidden to be uploaded, indicating that outsourcing B is allowed to access a general WEB website, but is forbidden to upload a file.
S204: Respectively perform admission control and application control on the service data flow by using admission control configuration information and application control configuration information, update first information to fourth information, and forward the service data flow.
S205: Perform application control on the service data flow only by using the application control configuration information, update second information to the fourth information, and forward the service data flow.
S206: Perform admission control on the service data flow only by using the admission control configuration information, update third information to the fourth information, and forward the service data flow.
S207: Directly forward the service data flow, and keep the fourth information unchanged.
S208: Perform admission control and/or application control on the service data flow by using the admission control configuration information and the application control configuration information, and add the control label to the service data flow.
Admission control and application control are respectively performed on the service data flow by using the admission control configuration information and the application control configuration information, and the control label is added to the service data flow, where a value of the control label is the fourth information, or application control is performed on the service data flow only by using the application control configuration information, and the control label is added to the service data flow, where a value of the control label is the third information, or admission control is performed on the service data flow only by using the admission control configuration information, and the control label is added to the service data flow, where a value of the control label is the second information.
In this embodiment, a service data flow is received, whether the service data flow carries a control label is determined, and when the service data flow carries the control label, corresponding control processing is performed on the service data flow according to the control label of the service data flow by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information, the control label of the service data flow on which admission control and/or application control processing is performed is updated; when the service data flow does not carry the control label, after corresponding control processing is performed on the service data flow, the control label is added to the processed service data flow, so as to perform admission control and/or application control on the service data flow. Moreover, when the service data flow passes through a next network device, corresponding control processing is performed on the service data flow according to the updated control label of the service data flow, avoiding repeatedly performing the same control processing, which therefore effectively improves efficiency of processing the service data flow.
For a specific implementation manner, refer to S201.
S302: Determine whether the service data flow carries a control label, and if yes, perform S303; otherwise, perform S308.
The switch has functions of adding a label and identifying a label. When the switch identifies that the service data flow carries the control label, S303 is performed. When the switch identifies that the service data flow does not carry the control label, S308 is performed.
S303: Perform corresponding processing on the service data flow according to the control label of the service data flow.
If the control label is first information, S304 is performed. If the control label is second information, S305 is performed. If the control label is third information, S306 is performed. If the control label is fourth information, S307 is performed.
The switch receives admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information. However, the switch performs admission control on the service data flow only by using the admission control configuration information based on the security group information. For a specific form of the admission control configuration information based on the security group information, refer to Table 1.
S304: Perform admission control on the service data flow by using admission control configuration information, update first information to second information, and forward the service data flow.
S305: Directly forward the service data flow, keep the second information unchanged, and forward the service data flow.
S306: Perform admission control on the service data flow by using the admission control configuration information, update third information to fourth information, and forward the service data flow.
S307: Directly forward the service data flow, keep the fourth information unchanged, and forward the service data flow.
S308: Perform, if it is determined and learned that the service data flow does not carry the control label, admission control on the service data flow by using the admission control configuration information, and add the control label to the service data flow, where a value of the control label is the second information.
In this embodiment, a service data flow is received, whether the service data flow carries a control label is determined, and when the service data flow carries the control label, corresponding admission control processing is performed on the service data flow according to the control label of the service data flow by using admission control configuration information and application control configuration information that are delivered by a controller and are based on security group information, the control label of the service data flow on which admission control processing is performed is updated; when the service data flow does not carry the control label, after corresponding admission control processing is performed on the service data flow, the control label is added to the processed service data flow, so as to perform admission control on the service data flow. Moreover, when the service data flow passes through a next network device, corresponding control processing is performed on the service data flow according to the updated control label of the service data flow, avoiding repeatedly performing the same control processing, which therefore effectively improves efficiency of processing the service data flow.
It should be noted that, in a situation in which a networking scenario is that admission control and application control are performed by using an NGFW and a switch, admission control and application control may be performed on the service data flow by using the method for controlling a service data flow in the embodiments shown in
Optionally, if the network device is a firewall device, the processing module 12 may be configured to: simultaneously perform, if the control label is first information, admission control and application control on the service data flow by using the admission control configuration information and the application control configuration information, where the first information is used for indicating that a receiver of the service data flow has not performed admission control or application control on the service data flow; perform, if the control label is second information, application control on the service data flow only by using the application control configuration information, where the second information is used for indicating that a receiver of the service data flow has completed admission control on the service data flow, but has not performed application control on the service data flow; perform, if the control label is third information, admission control on the service data flow only by using the admission control configuration information, where the third information is used for indicating that a receiver of the service data flow has completed application control on the service data flow, but has not performed admission control on the service data flow; or directly forward, if the control label is fourth information, the service data flow, where the fourth information is used for indicating that a receiver of the service data flow has completed admission control and application control on the service data flow.
Optionally, if the network device is a switching device, the processing module 12 may be configured to: perform, if the control label is first information, admission control on the service data flow by using the admission control configuration information, where the first information is used for indicating that a receiver of the service data flow has not performed admission control or application control on the service data flow; directly forward, if the control label is second information, the service data flow, where the second information is used for indicating that a receiver of the service data flow has completed admission control on the service data flow, but has not performed application control on the service data flow; perform, if the control label is third information, admission control on the service data flow by using the admission control configuration information, where the third information is used for indicating that a receiver of the service data flow has completed application control on the service data flow, but has not performed admission control on the service data flow; or directly forward, if the control label is fourth information, the service data flow, where the fourth information is used for indicating that a receiver of the service data flow has completed admission control and application control on the service data flow.
The apparatus in this embodiment may be configured to perform the technical solution of the method embodiment shown in
The network device in this embodiment may be configured to perform the technical solutions of the method embodiments shown in
The network device in this embodiment may be configured to perform the technical solutions of the method embodiments shown in
A person of ordinary skill in the art may understand that all or some of the steps of the method embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer-readable storage medium. When the program runs, the steps of the method embodiments are performed. The foregoing storage medium includes: any medium that can store program code, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of the present disclosure, but not for limiting the present disclosure. Although the present disclosure is described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some or all technical features thereof, without departing from the scope of the technical solutions of the embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201410545651.9 | Oct 2014 | CN | national |