[0001] This application claims a priority from the Chinese Patent Application No.
200610094818.X, filed with the Chinese Patent Office on June 27, 2006 and entitled "Media Gateway
and Packet Filtering Method Thereof", the contents of which are incorporated herein
by reference in their entirety.
Field of the Invention
[0002] The present invention relates to the communication field, and in particular, to a
packet filtering technology in a media gateway (MG).
Background of the Invention
[0003] Among the news about the latest development of communication technologies, the next
generation network (NGN) and 3rd generation (3G) are the most attractive.
[0004] During the evolution of the NGN, the definition of the NGN has always been changing.
In the "Global NGN Summit 2004" organized by the International Telecommunication Union
(ITU), the NGN is defined as a packet-based network that can provide various services
such as telecom services and can use many types of broadband transmission technologies
with quality of service (QoS) assurance. This definition specifies the ultimate direction
and scope of the NGN.
[0005] The current NGN deployment generally adopts two key components, namely, the media
gateway controller (MGC) and the media gateway (MG), for networking. The MGC is responsible
for the call control function, and the MG is responsible for the service bearing function,
thus separating the call control plane from the service bearer plane. The MGC and
the MG may evolve independently. Thus, the network resources are fully shared, the
equipment upgrade and service extension are simplified, and the costs of development
and maintenance are greatly reduced.
[0006] The media gateway control protocol is a main protocol for communication between the
MG and the MGC. The widely used protocols are H.284/Gateway Control Protocol (MeGaCo)
and Media Gateway Control Protocol (MGCP). The protocol generally used for communication
between MGs is the Real-time Transfer Protocol (RTP), as shown in Figure 1.
[0007] The MGCP protocol was formulated by the Internet Engineering Task Force (IETF) in
October 1999 and revised in January 2003; the H.284/MeGaCo protocol was formulated
by the IETF and the ITU in November 2000 and revised in June 2003; the H.284/MeGaCo
R2 protocol was formulated by the ITU in May 2002 and revised in March 2004; and the
H.284 R3 protocol was formulated by the ITU in September 2005.
[0008] For the H.248/MeGaCo protocol, eight basic commands are applicable between the MGC
and the MG: Add, Modify, Subtract, Move, AuditValue, AuditCapabilities, Notify, and
ServiceChange.
[0009] For the MGCP protocol, nine basic commands are applicable between the MGC and the
MG: NotificationRequest (RQNT), Notify (NTFY), CreateConnection (CRCX), ModifyConnection
(MDCX), DeleteConnection (DLCX), AuditEndpoint (AUEP), AuditConnection (AUCX), ReStartInProgress
(RSIP), and EndpointConfiguration (EPCF).
[0010] The H.248/MeGaCo protocol derives from the MGCP. Taking the H.248 protocol as an
example, the MG bears a service through the resources on the MG. Such resources are
represented by terminations abstractly. Terminations are categorized into physical
terminations and ephemeral terminations. Physical terminations are physical entities
that exist semi-permanently, for example, time division multiplex (TDM) paths; and
ephemeral terminations represent the public resources that are requested for an ephemeral
purpose and released soon after being used, for example, RTP streams. The combinations
between terminations are abstractly represented by contexts. Because a context may
comprise multiple terminations, a topology is used to describe the interrelations
between terminations. The termination not correlated with any other termination is
contained by a special context called null context.
[0011] In such a protocol-based abstract model, a call connection is actually an operation
on the termination and the context. Such operations are performed through the command
request and reply mechanism between the MGC and the MG. Command parameters, also known
as descriptors, are categorized into property, signal, event, and statistic.
[0012] Specifically, "Property" refers to the specifications of the resources, and is generally
sent by the MGC to the MG, or set by the MG, for example, the maximum value and minimum
value of jitter buffer; "Signal" is used by the MGC to instruct the MG to perform
resource operations, for example, play a dialing tone, a ringback tone or a busy tone
to a user; "Event" is used by the MGC to instruct the MG to monitor the state, for
example, monitor the user off-hook, hang-up, dialing and flash-hook; and "Statistic"
indicates the state of resource utilization. Generally, the MG performs calculation,
and the MGC may enable or disable (activate or deactivate) some of the parameters.
The parameters with service relevance are logically aggregated into a package.
[0013] Under the control of the MGC, the MG is responsible for converting and transferring
media streams between a user and a packet switched (PS) network, and between PS networks
in different domains. As shown in Figure 2, an access media gateway (AMG) may perform
media conversion and transfer between a plain old telephone service (POTS) user and
an RTP media stream; a trunk media gateway (TMG) can perform media conversion and
transfer between a time division multiplexing (TDM) trunk and an RTP media stream;
and a packet media gateway can perform media conversion and transfer between RTP media
streams.
[0014] To ensure the quality of service (QoS) and communication security, the MGC needs
to perform packet filtering for various media streams received and sent by the MG,
namely, permit or prohibit the media streams with certain characteristics to enter
or leave the MG. In the prior art, by sending certain filtering rules to the MG, the
MGC permits or prohibits the media streams that meet or do not meet the filtering
rules to enter or leave the MG.. Suppose the filtering rule sent by the current MGC
to the MG is that only the TCP streams from port 21 can be received, when the MG receives
a File Transfer Protocol (FTP) service packet, the MG judges whether it meets the
filtering condition; if the FTP service packet comes from port 21, it meets the filtering
rule, and the packet is permitted to enter or leave the MG; if the FTP service packet
comes other networks or ports, the packet is prohibited to enter or leave the MG.
[0015] In the practical application, the preceding solution has the following problem: the
packet filtering method in the prior art may be unable to meet the requirements of
certain services.
[0016] The main reason is as follows: in the prior art, each packet that enters or leaves
the MG is filtered according to a fixed filtering rule. For certain services, however,
the packets to be transferred for implementing a service are correlated, and the method
in the prior art cannot filter these correlated packets correctly, thus failing to
meet the requirements of the services. For example, in a practical application, the
FTP service uses port 21 to transfer command packets, and uses a dynamically allocated
port to transfer subsequent packets. In this case, if the MGC sets a simple rule that
permits only the FTP service from port 21 to enter or leave the MG, it is impossible
to meet the requirement for transferring the subsequent packets of the service; if
the FTP services from port 21 and all other ports are permitted to enter or leave
the MG to implement the FTP services, the packet filtering effect is lost.
[0017] US 2005/076108 A1 discloses a method for performing NAT learning and firewall filtering on a per-session
basis. In particular, it just discloses the media gateway learns the source address
of a media packet and utilizing the combination of <local IP, loca UDP, remote IP,
and remote UDP> addresses to identify sessions enhances security on a per-session
basis, and releases the local address assigned to the session when the call/ session
ends.
Summary of the Invention
[0018] An embodiment of the present invention provides an MG and a packet filtering method
thereof, so as to enhance the adaptability of the packet filtering mechanism on the
MG.
[0019] In order to achieve the preceding objective, an embodiment of the present invention
provides a packet filtering method in a MG. The method comprises the following steps:
[0020] An MG analyzes the packets of a service instance that are permitted according to
the current packet filtering rule to pass through the MG, and obtains the state change
of the instance; and adds, deletes or changes the packet filtering rule for the packets
of the instance according to the state change of the instance.
[0021] An embodiment of the present invention also provides an MG. The MG comprises: a filtering
unit, adapted to filter packets according to a packet filtering rule; an analyzing
unit; adapted to analyze the packets of a service instance that are permitted to pass
through the MG according to the current packet filtering rule, obtain the state change
of the instance, and report the changed state of the instance to a dynamic filtering
rule setting unit; and a dynamic filtering rule setting unit, adapted to add, delete
or change the packet filtering rule used by the filtering unit to filter packets of
the instance according to the state change of the instance.
[0022] The main difference between the technical solutions of the present invention and
the prior art is that the packet filtering rule of the service instance is changed
dynamically. In other words, the MG analyzes the packets that are being transmitted
in a service instance, obtains the state change of the instance, and then changes
the packet filtering rule applicable to the instance dynamically according to the
state change of the instance. Therefore, the packet filtering rules are adaptive to
the instance; and different packet filtering rules are applied to different instances
of the same service in different scenarios, thus greatly enhancing the adaptability
of the packet filtering mechanism of the MG. By comparison, in the prior art, the
packet filtering rule can only be set and used statically. Namely, once the packet
filtering rules of the MG are set by the MGC, the rules do not change until the MGC
sets new rules for the MG; and the MG is unable to adjust the packet filtering rules
actively.
Brief Description of the Drawings
[0023]
Figure 1 shows the networking diagram of an MGC and an MG in the prior art;
Figure 2 shows the media conversion and transfer process of the MG under the control
of the MGC in the prior art;
Figure 3 is a flowchart of the packet filtering method in the first embodiment of
the present invention; and
Figure 4 is a flowchart of the dynamic filtering method in the packet filtering method
in the first embodiment of the present invention.
Detailed Description of the Invention
[0024] For better understanding of the objective, technical solution and merits of the present
invention, the present invention is hereinafter described in detail with reference
to accompanying drawings and preferred embodiments.
[0025] The main merit of an embodiment of the present invention is as follows: the packet
filtering rule for a service instance may be changed dynamically. In other words,
the MG analyzes the packets that are being transmitted in a service instance, obtains
the state change of the instance, and then changes the packet filtering rule applicable
to the instance dynamically according to the state change of the instance. Therefore,
the packet filtering rules are adaptive to the instance; and different packet filtering
rules are applied to different instances of the same service in difference scenarios.
[0026] The following describes the packet filtering method in the first embodiment of the
present invention.
[0027] As shown in Figure 3, in step 310, the MGC judges whether the current service needs
to undergo a dynamic packet filtering process according to the actual conditions,
for example, capability of the MG, termination subscription information and/or local
capabilities, namely, the MGC judges whether it is necessary to dynamically change
the packet filtering rule for the current service. If a service needs to undergo dynamic
packet filtering, skip to step 330; otherwise go to step 320, in which a predefined
static packet filtering rule is applied to filter the packets of the services. The
static filtering method is the same as that in the prior art, so it is omitted here.
[0028] In step 330, the MGC issues a command to the MG, with the command carrying the information
that indicates the dynamic packet filtering function is enabled or disabled and the
service type information.
[0029] Specifically, the information that indicates the dynamic packet filtering function
is enabled or disabled and the service type information are extended property parameters
in the H.248 or MGCP protocol. The information may be defined in an existing package
or in a new package. If such information is defined in a new package, a new package
must be defined in the H.248 or MGCP protocol first. In this embodiment, the new package
is called Dynamic Packet Filtering (DPF) Package. Afterward, a property parameter
that indicates the dynamic packet filtering function is enabled or disabled and the
service type property parameter are defined in the package. The property parameter
that indicates the dynamic packet filtering function is enabled or disabled is of
the Boolean type, and the parameter value is "On" or "Off"; the value "On" indicates
that the dynamic packet filtering function is enabled, and the value "Off" indicates
that the dynamic packet filtering function is disabled. The default value of this
property parameter is "On". The service type property parameter is of the Enumeration
type, and its value is negotiated between the MGC and the MG and may be "FTP" or "H.323".
Different values represent different service types. By default, this property parameter
represents all service types.
[0030] In step 330, the current FTP service needs to undergo a dynamic packet filtering
process. Therefore, in the command issued by the MGC to the MG, the property parameter
that indicates the dynamic packet filtering function is enabled or disabled is set
to "On", and the service type property parameter is set to "FTP", indicating that
the dynamic packet filtering function is enabled for the FTP service. Afterward, go
to step 340.
[0031] In step 340, after receiving the command from the MGC, the MG enables the dynamic
packet filtering function according to the value "On" of property parameter that indicates
the dynamic packet filtering function is enabled or disabled; and applies the dynamic
packet filtering function to the FTP service according to the value (FTP) of the service
type property parameter. If the command carries no service type property parameter,
the MG applies the default value, namely, it applies the dynamic filtering function
to all services.
[0032] In the subsequent step 350, when the MGC does not need to apply the dynamic filtering
function to the FTP service, the MGC issues a command to the MG. In the command, the
property parameter that indicates the dynamic packet filtering function is enabled
or disabled is set to "Off", and the service type property parameter is set to "FTP",
instructing the MG to disable the dynamic packet filtering function for the FTP service.
Therefore, through the additional property parameters that indicate the dynamic packet
filtering function is enabled or disabled and the service type, the MGC can enable
or disable the packet filtering function for the instance of the specified service
type flexibly according to the values of such parameters.
[0033] In the subsequent step 360, after receiving the command from the MGC, the MG disables
the dynamic packet filtering function for the FTP service because the property parameter
that indicates the dynamic packet filtering function is enabled or disabled in the
command is "Off" and the service type property value is "FTP". If the command carries
no service type property parameter, the MG applies the default value, namely, it disables
the dynamic filtering function for all services.
[0034] Therefore, this embodiment extends the property parameters of the H.248 or MGCP protocol,
and adds a property parameter that indicates the dynamic packet filtering function
is enabled or disabled and a property parameter that indicates the service type, so
that the MGC can enable or disable the packet filtering function for the instance
of the specified service type flexibly according to the values of such parameters.
[0035] The dynamic packet filtering process in this embodiment is: according to the state
change of the FTP service instance, the MG adds, deletes or changes the packet filtering
rule of the instance in time, and uses different packet filtering rules to filter
the packets in different scenarios.
[0036] Specifically, as shown in Figure 4, suppose that a static packet filtering rule predefined
for the FTP service is: permit the TCP streams that use port 21 to enter or leave
the MG". In step 410, after receiving a service packet of the FTP instance, the MG
judges whether the packet meets the predefined static packet filtering rule, namely,
whether the FTP packet comes from port 21; if it comes from port 21, skip to step
430; or else go to step 420, in which the MG discards the FTP service packet.
[0037] In step 430, the MG permits the FTP service packet to pass, and analyzes the service
packet to obtain the state change of the instance. Specifically, the FTP instance
sends a service packet through port 21 to negotiate with the peer, thus changing the
state of the instance. Therefore, in step 430, the MG can obtain the state change
of the instance by analyzing the service packet sent from port 21 (namely, the service
packet used by the FTP instance to negotiate). If the FTP instance decides to use
port 1000 to transmit the subsequent packets after negotiating with the peer, the
MG can obtain the state change in time. For services other than the FTP service, the
MG can also know the state change of the instance by other means according to the
prior art.
[0038] In the subsequent step 440, the MG adds a dynamic packet filtering rule for the instance
- "permit the FTP service packet that uses port 1000 to enter or leave the MG" after
knowing the state change. Therefore, the packet filtering rules are adaptive to the
instance; and different packet filtering rules are applied to different instances
of the same FTP service in different scenarios, thus making the packet filtering mechanism
of the MG much more adaptable to different services. This overcomes the weakness in
the prior art, namely, once the packet filtering rules of the MG are set by the MGC,
the rules do not change until the MGC sets new rules for the MG, and the rules are
inadaptable to certain services.
[0039] In the subsequent step 450, the MG filters the service packets of the FTP instance
according to the added packet filtering rule, and permits the subsequent FTP packets
of the instance from port 1000 to pass through the MG.
[0040] Through a quintuplet (namely, source address, destination address, source port, destination
port, and protocol type) of the instance, the MG restricts other packets that pass
through port 1000, and ensures that only the subsequent packets of the FTP instance
can pass through the MG, thus ensuring security and reliability of filtering while
implementing the dynamic filtering process.
[0041] In the subsequent step 460, the MG continues monitoring the state of the FTP instance.
When detecting the instance is terminated, the MG deletes only the packet filtering
rule set for this instance - "permit the FTP service packet that uses port 1000 to
enter or leave the MG".
[0042] In the second embodiment of the present invention, the MG adds an analyzing unit,
a dynamic filtering rule setting unit and a command resolving module on the basis
of the basic modules in the prior art. The analyzing unit is adapted to analyze the
packets of a service instance that are permitted to pass through the MG according
to the current packet filtering rule, and obtain the state change of the instance;
the dynamic filtering rule setting unit is adapted to add, delete or change the packet
filtering rule of the instance according to the state change of the instance; the
command resolving module is adapted to resolve the command from the MGC, and enable
or disable the analyzing unit and the filtering rule setting unit according to the
resolved contents.
[0043] Specifically, after receiving a command from the MGC, the MG resolves the command
through the command resolving module. If the resolved command contains information
that indicates the dynamic packet filtering function is enabled, the MG enables the
analyzing unit and the dynamic filtering rule setting unit; the analyzing unit analyzes
the packets of the service instance that are permitted to pass through the MG according
to the current filtering rule, and knows the state change of the instance; the dynamic
filtering rule setting unit adds, deletes or changes the packet filtering rule of
the instance according to the state change of the instance; if the command contains
information that indicates the dynamic packet filtering function is disabled, the
MG disables the analyzing unit and the dynamic filtering rule setting unit; if the
command contains service type information in addition to the information that indicates
the dynamic packet filtering function is enabled or disabled, the MG instructs the
analyzing unit and the dynamic filtering rule setting unit to restrict the operation
objects only to the service type specified in the service type information. When the
analyzing unit and the filtering rule setting unit are enabled, the packet filtering
rules of the service instance can be changed dynamically. Namely, the MG obtains the
state change of the instance by analyzing the packets that are being transmitted in
the service instance; and dynamically changes the packet filtering rules applicable
to the instance according to the state change of the instance. Therefore, the packet
filtering rules are adaptive to the instance; and different packet filtering rules
are applied to different instances of the same service in different scenarios, thus
greatly enhancing the adaptability of the packet filtering mechanism of the MG.
[0044] Although the invention has been described through some exemplary embodiments and
accompanying drawings, the invention is not limited to such embodiments. It is apparent
that those skilled in the art can make various modifications and variations to the
invention without departing from the spirit and scope of the invention.
1. A method for packet filtering in a media gateway, MG, comprising:
A. analyzing, by the MG, the packets of a service instance that arc permitted, according
to the current packet filtering rule, to pass through the MG, and obtaining the state
change of the instance, then adding, deleting or changing the packet filtering rule
for the packets of the instance according to the state change of the instance, and
filtering the packets according to the changed filtering rule, the
method further
comprising:
B. issuing, by a media gateway controller, MGC, a command to the MG, the command carrying
information that indicates a dynamic packet filtering function is enabled or disabled,
performing or terminating, by the MG, the step A according to the information
wherein if the command which the MGC issues to the MG further comprises a service
type information;
upon receiving the command, the MG performs the step A only for the instance of the
service type specified by the service type information carried in the command.
and
if the command which the MGC issues to the MG does not comprise the service type information,
the MG performs the step A on all instances of service type by default.
2. The method for packet filtering in a MG according to claim 1, wherein the information
that indicates the dynamic packet filtering function is enabled or disabled, and the
service type information are the property parameters extended in the H.248 or MGCP
protocol.
3. The method for packet filtering in a MG according to claim 1 or 2, wherein the instance
changes the state through negotiation; and
the MG obtains the state change of the instance by analyzing the service packet used
by the instance to negotiate.
4. The method for packet filtering in a MG according to any one of claims I to 3, wherein
when the instance is terminated, the MG deletes the packet filtering rule set only
for this instance.
5. A media gateway, MG, comprising a filtering unit, adapted to filter packets according
to a packet filtering rule, wherein the MG further comprises:
an analyzing unit; adapted to analyze the packets of a service instance that are permitted
to pass through the MG according to the current packet filtering rule, obtain the
state change of the instance, and report the changed state of the instance to a dynamic
filtering rule setting unit; and
a dynamic filtering rule setting unit, adapted to add, delete or change the packet
filtering rule used by the filtering unit to filter the packets of the instance according
to the state change of the instance, the
MG further comprising:
a command resolving module, adapted to resolve the command of a media gateway controller,
MGC, if the command comprises information that indicates the dynamic packet filtering
function is enabled, enable the analyzing unit and the dynamic filtering rule setting
unit, if the command comprises information that indicates the dynamic packet filtering
function is disabled, disable the analyzing unit and the dynamic filtering rule setting
unit, if the command comprises service type information in addition to the information
that indicates the dynamic packet filtering function is enabled or disabled, instruct
the analyzing unit and the dynamic filtering rule setting unit to restrict the operation
objects only to the service type specified in the service type information.
1. Verfahren zur Paketfilterung in einem Medien-Gateway, MG, das Folgendes umfasst:
A. Analysieren durch das MG der Pakete einer Dienstinstanz, denen es in Übereinstimmung
mit einer momentanen Paketfilterungsregel erlaubt ist, durch das MG hindurchzugehen,
und Erhalten der Zustandsänderung der Instanz, dann Hinzufügen, Löschen oder Ändern
der Paketfilterungsregel für die Pakete der Instanz in Übereinstimmung mit der Zustandsänderung
der Instanz und Filtern der Pakete in Übereinstimmung mit der geänderten Filterungsregel,
wobei das Verfahren ferner Folgendes umfasst:
B. Ausgeben durch eine Medien-Gateway-Steuereinrichtung, MGC, eines Befehls an das
MG, wobei der Befehl Informationen führt, die angeben, ob eine dynamische Paketfilterungsfunktion
freigegeben oder gesperrt ist,
Ausführen oder Beenden des Schrittes A durch das MG in Übereinstimmung mit den Informationen,
wobei, falls der Befehl, den die MGC an das MG ausgibt, ferner Diensttypinformationen
umfasst;
beim Empfangen des Befehls das MG den Schritt A nur für die Instanz des Diensttyps
ausführt, der durch die in dem Befehl geführten Diensttypinformationen spezifiziert
ist, und
falls der Befehl, den die MGC an das MG ausgibt, die Diensttypinformationen nicht
umfasst, das MG den Schritt A für alle Instanzen des Diensttyps durch Vorgabe ausführt.
2. Verfahren zur Paketfilterung in einem MG nach Anspruch 1, wobei die Informationen,
die angeben, ob die dynamische Paketfilterungsfunktion freigegeben oder gesperrt ist,
und die Diensttypinformationen die Eigenschaftsparameter sind, die in dem H.248- oder
MGCP-Protokoll erweitert sind.
3. Verfahren zur Paketfilterung in einem MG nach Anspruch 1 oder 2, wobei die Instanz
den Zustand durch Verhandlung ändert; und
das MG die Zustandsänderung der Instanz durch Analysieren des Dienstpakets erhält,
das durch die Instanz verwendet wird, um zu verhandeln.
4. Verfahren zur Paketfilterung in einem MG nach einem der Ansprüche 1 bis 3, wobei dann,
wenn die Instanz beendet wird, das MG die Paketfilterungsregel, die nur für diese
Instanz gesetzt ist, löscht.
5. Medien-Gateway, MG, das eine Filterungseinheit umfasst, die dafür ausgelegt ist, Pakete
in Übereinstimmung mit einer Paketfilterungsregel zu filtern, wobei das MG ferner
Folgendes umfasst:
eine Analyseeinheit, die dafür ausgelegt ist, die Pakete einer Dienstinstanz zu analysieren,
denen es in Übereinstimmung mit der momentanen Paketfilterungsregel erlaubt ist, durch
das MG hindurchzugehen, die Zustandsänderung der Instanz zu erhalten und den geänderten
Zustand der Instanz einer Einheit zum Setzen dynamischer Filterungsregeln zu melden;
und
eine Einheit zum Setzen dynamischer Filterungsregeln, die dafiir ausgelegt ist, die
Paketfilterungsregel, die durch die Filterungseinheit verwendet wird, um die Pakete
der Instanz zu filtern, in Übereinstimmung mit der Zustandsänderung der Instanz hinzuzufiigen,
zu löschen oder zu ändern, wobei das MG ferner Folgendes umfasst:
ein Befehlsauflösungsmodul, das dafür ausgelegt ist, den Befehl von einer Medien-Gateway-Steuereinrichtung,
MGC, aufzulösen, falls der Befehl Informationen umfasst, die angeben, dass die dynamische
Paketfilterungsfunktion freigegeben ist,
die Analyseeinheit und die Einheit zum Setzen dynamischer Filterungsregeln freizugeben,
falls der Befehl Informationen umfasst, die angeben, dass die dynamische Paketfilterungsfunktion
gesperrt ist, die Analyseeinheit und die Einheit zum Setzen dynamischer Filterungsregeln
zu sperren und, falls der Befehl zusätzlich zu den Informationen, die angeben, ob
die dynamische Paketfilterungsfunktion freigegeben oder gesperrt ist, Diensttypinformationen
umfasst, die Analyseeinheit und die Einheit zum Setzen dynamischer Filterungsregeln
anzuweisen, die Operationsobjekte nur auf den in den Diensttypinformationen spezifizierten
Diensttyp einzuschränken.
1. Procédé de filtrage de paquets dans une passerelle multimédia, MG, comprenant :
A. l'analyse, par la MG, des paquets d'une instance de service qui sont autorisés,
selon la règle de filtrage de paquets courante, à passer par la MG, et l'obtention
du changement d'état de l'instance, puis l'addition, la suppression ou le changement
de la règle de filtrage de paquets pour les paquets de l'instance en fonction du changement
d'état de l'instance, et le filtrage des paquets selon la règle de filtrage changée
;
B. la délivrance, par un contrôleur de passerelles multimédia, MGC, d'une commande
à la MG, la commande comportant une information qui indique qu'une fonction de filtrage
de paquets dynamique est activée ou désactivée,
l'exécution ou l'arrêt, par la MG, de l'étape A en fonction de l'information,
dans lequel si la commande que délivre le MGC à la MG comprend en outre une information
de type de service :
à la réception de la commande, la MG exécute l'étape A uniquement pour l'instance
du type de service spécifié par l'information de type de service incluse dans la commande
; et
si la commande que délivre le MGC à la MG ne comprend pas l'information de type de
service, la MG exécute l'étape A sur toutes les instances de type de service par défaut.
2. Procédé de filtrage de paquets dans une MG selon la revendication 1, dans lequel l'information
qui indique que la fonction de filtrage de paquets dynamique est activée ou désactivée,
et l'information de type de service sont les paramètres de propriété étendus dans
le H.248 ou le protocole MGCP.
3. Procédé de filtrage de paquets dans une MG selon la revendication 1 ou 2, dans lequel
l'instance change d'état par négociation ; et
la MG obtient le changement d'état de l'instance en analysant le paquet de service
utilisé par l'instance pour négocier.
4. Procédé de filtrage de paquets dans une MG selon l'une quelconque des revendications
1 à 3, dans lequel quand l'instance est terminée, la MG supprime la règle de filtrage
de paquets établie uniquement pour cette instance.
5. Passerelle multimédia, MG, comprenant une unité de filtrage, adaptée pour filtrer
les paquets selon une règle de filtrage de paquets, la MG comprenant en outre :
une unité d'analyse, adaptée pour analyser les paquets d'une instance de service qui
sont autorisés à passer par la MG selon la règle de filtrage de paquets courante,
obtenir le changement d'état de l'instance, et signaler l'état changé de l'instance
à une unité d'établissement de règle de filtrage dynamique ; et
une unité d'établissement de règle de filtrage dynamique, adaptée pour ajouter,
supprimer ou changer la règle de filtrage de paquets utilisée par l'unité de filtrage
pour filtrer les paquets de l'instance en fonction du changement d'état de l'instance,
la MG comprenant en outre :
un module de résolution de commande, adapté pour résoudre la commande d'un contrôleur
de passerelles multimédia, MGC, si la commande comprend une information qui indique
que la fonction de filtrage de paquets dynamique est activée,
activer l'unité d'analyse et l'unité d'établissement de règle de filtrage dynamique,
si la commande comprend une information qui indique que la fonction de filtrage de
paquets dynamique est désactivée, désactiver l'unité d'analyse et l'unité d'établissement
de règle de filtrage dynamique, si la commande comprend une information de type de
service en plus de l'information qui indique que la fonction de filtrage de paquets
dynamique est activée ou désactivée, instruire l'unité d'analyse et
l'unité d'établissement de règle de filtrage dynamique de restreindre les objets d'opération
uniquement au type de service spécifié dans l'information de type de service.