Service process control method and network device
First Claim
1. A service process control method in a network device, wherein the network device comprises a plurality of data processing modules, and wherein each data processing module is configured to perform a specific type of processing on a packet received by the network device, the service process control method comprising:
- selecting, according to an execution policy of at least one service and characteristic information of the packet received by the network device, a set of data processing modules from the plurality of data processing modules;
invoking the set of data processing modules to perform a processing procedure to the packet according to a first execution sequence;
reselecting, during the processing procedure and according to a processing result of the packet obtained by at least one of the set of data processing modules, one or more data processing modules from the plurality of data processing modules for processing the packet; and
invoking the reselected one or more data processing modules to process the packet according to a second execution sequence.
1 Assignment
0 Petitions
Accused Products
Abstract
A service process control method and a network device. The method includes: selecting, according to an execution policy of at least one service deployed on a network device, M data processing modules for processing a packet received by the network device, and determining a processing sequence for the selected M data processing modules to process the packet; and invoking the selected M data processing modules to sequentially process, according to the processing sequence, the packet. In the foregoing technical solutions of embodiments of the present invention, an execution sequence for a data processing module to process the packet is dynamically generated according to a policy set corresponding to the service, thereby reducing an unnecessary processing process and redundant information collection in a service execution procedure, improving service processing flexibility, and enhancing overall performance of the device.
12 Citations
15 Claims
-
1. A service process control method in a network device, wherein the network device comprises a plurality of data processing modules, and wherein each data processing module is configured to perform a specific type of processing on a packet received by the network device, the service process control method comprising:
-
selecting, according to an execution policy of at least one service and characteristic information of the packet received by the network device, a set of data processing modules from the plurality of data processing modules; invoking the set of data processing modules to perform a processing procedure to the packet according to a first execution sequence; reselecting, during the processing procedure and according to a processing result of the packet obtained by at least one of the set of data processing modules, one or more data processing modules from the plurality of data processing modules for processing the packet; and invoking the reselected one or more data processing modules to process the packet according to a second execution sequence. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A network device, comprising:
-
a transceiver module; a list generating module; a scheduling module; and a plurality of data processing modules, wherein each data processing module is configured to perform a specific type of processing on a packet, wherein the transceiver module is configured to receive a packet, and wherein the list generating module is configured to select, according to an execution policy of at least one service and characteristic information of the packet received by the network device, a set of data processing modules for processing the packet received by the transceiver module from the plurality of data processing modules, wherein the scheduling module is configured to invoke the set of data processing modules to perform a processing procedure to the packet according to a first execution sequence, and wherein the list generating module is further configured to; reselect, according to a processing result of the packet obtained by at least one of the data processing modules in the set of data processing modules, one or more data processing modules from the plurality of data processing modules for processing the packet during the processing procedure; and invoke the reselected one or more data processing modules to process the packet according to a second execution sequence. - View Dependent Claims (7, 8, 9)
-
-
10. A network device, comprising:
-
a processor; and a non-transitory processor-readable medium having processor-executable instructions stored thereon, wherein the processor is configured to execute the processor-executable instructions so as to; select, according to an execution policy of at least one service and characteristic information of the packet received by the network device, a set of data processing modules from a plurality of data processing modules; invoke the set of data processing modules to perform a processing procedure to the packet according to a first execution sequence; reselect, according to a processing result of the packet obtained by at least one of the set of data processing modules, one or more data processing modules from the plurality of data processing modules for processing the packet during the processing procedure; and invoke the reselected one or more data processing modules to process the packet according to a second execution sequence.
-
-
11. A service process control method in a network device comprising a plurality of data processors, the method comprising:
-
obtaining characteristic information of a packet received by the network device; generating, according to the characteristic information of the packet and a policy set, a first list and a first execution sequence, wherein first list indicates a set of data processors selected from the plurality of data processors, and wherein the first execution sequence is of the set of data processors; invoking the set of data processors indicated by the first list to perform a processing procedure to the packet according to the first execution sequence; generating, during the processing procedure, a second list and a second execution sequence, wherein the second list indicates one or more data processors reselected from the plurality of data processors according to a processing result of the packet obtained by at least one of the set of data processors, and wherein the second execution sequence is of the reselected one or more data processors; and invoking, the reselected one or more data processors to process the packet according to the second execution sequence indicated by the second list. - View Dependent Claims (12, 13, 14, 15)
-
Specification