Method, media gateway and system for managing a filter rule
AssigneeHuawei Technologies Co., Ltd.
InventorNing Zhu
Life of this patent
Estimating the term…
Abstract
A method, a Media Gateway (MG), and a system for managing a filter rule are disclosed. The method includes: The MG receives a processing message from a Media Gateway Controller (MGC); and the MG maintains the packet filter rule context according to the processing message, where the packet filter rule context includes at least one filter rule for filtering a packet received or sent by the MG. The processing message may be a message for creating, modifying or deleting the packet filter rule context. With the present disclosure, the MGC can manage the packet filter rule on the MG effectively.
Claims15
A method for managing a filter rule, comprising:
- receiving, by a Media Gateway (MG), a processing message sent by a Media Gateway Controller (MGC);
- and
- maintaining, by the MG, a packet filter rule context according to the processing message, wherein the packet filter rule context comprises a filter rule for filtering a packet received or sent by the MG, and the processing message comprises a message for creating, modifying or deleting the packet filter rule context
- wherein the packet filter rule context further comprises at least one of the following context properties:
- a filter rule object, indicating a network domain or an interface to which the filter rule is applied;
- a flag property, indicating that the context is a packet filter rule context;
- a packet filter rule switch property, indicating whether the filter rule in the packet filter rule context are valid;
- and a priority property, indicating a priority of the filter rule in the packet filter rule context.
A method for managing a filter rule, comprising:
- receiving, by a Media Gateway (MG), a processing message sent by a Media Gateway Controller (MGC);
- and
- maintaining, by the MG, a packet filter rule context according to the processing message, wherein the packet filter rule context comprises a filter rule for filtering a packet received or sent by the MG, and the processing message comprises a message for creating, modifying or deleting the packet filter rule context,
- wherein:
- the packet filter rule context further comprises a termination, and a termination property of the termination comprises one or more of the following properties:
- a filter rule object, indicating a network domain and/or an interface to which the filter rule is applied;
- a flag property, indicating that the context is a packet filter rule context;
- a packet filter rule switch property, indicating whether the filter rule in the packet filter rule context are valid;
- and
- a priority property, indicating a priority of the filter rule in the packet filter rule context.
A Media Gateway (MG), comprising:
- a context processing unit, configured to maintain a packet filter rule context according to a processing message sent by a Media Gateway Controller (MGC), wherein the packet filter rule context comprises a filter rule for filtering a packet received or sent by the MG, and the processing message may be a message for creating, modifying or deleting the packet filter rule context;
- wherein the packet filter rule context further comprises at least one of the following context properties:
- a filter rule object, indicating a network domain;
- an interface to which the filter rule is applied;
- a flag property, indicating that the context is a packet filter rule context;
- a packet filter rule switch property, indicating whether the filter rule in the packet filter rule context are valid;
- and a priority property, indicating a priority of the filter rule in the packet filter rule context;
- and
- a filtering unit, configured to filter the packet received or sent by the MG according to the filter rule in the packet filter rule context.
A network system, comprising:
- a Media Gateway Controller (MGC), configured to send a processing message to a Media Gateway (MG);
- and
- the MG, configured to maintain a packet filter rule context according to the processing message sent by the MGC, and filter a packet received or sent by the MG according to filter rule in the packet filter rule context, wherein the packet filter rule context comprises a filter rule for filtering the packet received or sent by the MG, and the processing message may be a message for creating, modifying or deleting the packet filter rule context;
- wherein the packet filter rule context further comprises at least on one of the following context properties:
- a filter rule object, indicating a network domain;
- an interface to which the filter rule is applied;
- a flag property, indicating that the context is a packet filter rule context;
- a packet filter rule switch property, indicating whether the filter rule in the packet filter rule context are valid;
- and a priority property, indicating a priority of the filter rule in the packet filter rule context.
Dependencies are inferred from the claim text.