Service process control method and network device
AssigneeHuawei Technologies Co., Ltd.
InventorsUri Hasson, Shengjun Tang, Jun He
Life of this patent
Estimating the term…
Abstract
A service process control method includes selecting, according to an execution policy of at least one service deployed on a network device, M data processors for processing a packet received by the network device, determining a processing sequence for the selected M data processors to process the packet, and invoking the selected M data processors to sequentially process, according to the processing sequence, the packet. An execution sequence for a data processor to process the packet is dynamically generated according to a policy set corresponding to the service.
Claims20
A method for scheduling a plurality of data processors and implemented by a scheduling device, the method comprising:
- receiving a packet;
- determining a first ordered set of the data processors for processing the packet, wherein the first ordered set comprises a first subset of the data processors;
- processing the packet using one or more first data processors of the first subset of the data processors to obtain a first processing result;
- determining a second ordered set of the data processors for processing the packet based on the first processing result, wherein the second ordered set comprises a second subset of the data processors;
- and
- processing the packet using one or more second data processors of the second subset of the data processors to obtain a second processing result.
A scheduling device, comprising:
- a receiver configured to receive a packet;
- a memory configured to store computer-executable instructions;
- and
- a processor coupled to the receiver and the memory and configured to execute the computer-executable instructions to cause the scheduling device to be configured to:
- determine a first ordered set of data processors for processing the packet, wherein the first ordered set comprises a first subset of the data processors;
- process the packet using one or more first data processors of the first subset of the data processors to obtain a first processing result;
- determine a second ordered set of the data processors for processing the packet, wherein the second ordered set comprises a second subset of the data processors;
- and
- process the packet using one or more second data processors of the second subset of the data processors obtain a second processing result.
A service processing system, comprising:
- a plurality of data processing devices configured to perform packet processing;
- an identifying device configured to:
- identify characteristic information of a packet;
- and
- determine, based on the characteristic information and a policy set, a first ordered set of the data processing devices for processing the packet, wherein the first ordered set comprises a first subset of the data processing devices, and wherein the first ordered set is represented by a first identifier;
- and
- a scheduling device configured to:
- receive the packet with the first identifier from the identifying device;
- and
- forward, based on the first identifier, the packet to the first subset of the data processing devices in accordance with a first order indicated by the first identifier.
Dependencies are inferred from the claim text.