Packet processing method, device, storage medium and computer program product
AssigneeCloud Intelligence Assets Holding (Singapore) Private Limited
InventorsYang Yang, Huajun Hu, Feng Li, Shoujing Bo
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a packet processing method, a device, a storage medium and a computer program product. The method includes: obtaining a to-be-processed packet; determining a first server corresponding to the to-be-processed packet; updating the first server to a second server when a running state of the first server is an abnormal state, where a running state of the second server is a normal state; editing the to-be-processed packet corresponding to the first server based on the second server, to obtain a processed packet, where the processed packet includes configuration information of the second server.
Claims18
A packet processing method, comprising:
- obtaining a packet;
- determining a first server corresponding to the packet, wherein the first server is used to perform a data processing operation on the packet;
- updating the first server to a second server when a running state of the first server is an abnormal state, wherein a running state of the second server is a normal state;
- and
- editing the packet corresponding to the first server based on the second server, to obtain a processed packet, wherein the processed packet comprises configuration information of the second server,
- wherein the determining the first server corresponding to the packet comprises:
- obtaining a flow table for the packet, wherein the flow table comprises at least one of:
- a first flow table located in a hardware module or a second flow table located in a software module;
- determining the first server corresponding to the packet based on the first flow table, when the packet hits the first flow table;
- and
- determining the first server corresponding to the packet based on the second flow table, when the packet does not hit the first flow table.
A packet processing apparatus, comprising:
- a memory and a processor, wherein the memory is used to store one or more computer instructions which, when executed by the processor, cause the processor to:
- obtain a packet;
- determine a first server corresponding to the packet, wherein the first server is used to perform a data processing operation on the packet;
- update the first server to a second server when a running state of the first server is an abnormal state, wherein a running state of the second server is a normal state;
- and
- edit the packet corresponding to the first server based on the second server, to obtain a processed packet, wherein the processed packet comprises configuration information of the second server,
- wherein, to determine the first server corresponding to the packet, the processor is further configured to:
- obtain a flow table for the packet, wherein the flow table comprises at least one of:
- a first flow table located in a hardware module or a second flow table located in a software module;
- determine the first server corresponding to the packet based on the first flow table, when the packet hits the first flow table;
- and
- determine the first server corresponding to the packet based on the second flow table, when the packet does not hit the first flow table.
Dependencies are inferred from the claim text.