Method and Apparatus for Processing Bearer
Abstract
The present invention provides a method and an apparatus for processing a bearer. The method includes performing depth packet inspection DPI processing on a traffic flow of a service according to a preset layer-7 protocol type matching rule. Alternatively, shallow packet inspection SPI processing is performed on a traffic flow of a service according to a preset layer-3 or layer-4 protocol type matching rule so as to obtain a DPI/SPI processing result. According to the DPI/SPI result and the preset matching rule, a service quality attribute parameter of the service is determined. The method further includes determining whether the service quality attribute parameter is the same as a service quality attribute parameter of an existing bearer, and if different, creating a dedicated bearer for the service.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method, comprising:
performing deep packet inspection (DPI) processing on a traffic flow of a service according to a preset layer-7 protocol type matching rule to obtain a DPI processing result, or performing shallow packet inspection (SPI) processing on a traffic flow of a service according to a preset layer-3 or layer-4 protocol type matching rule to obtain a SPI processing result; determining a service quality attribute parameter of the service according to the DPI result and the preset matching rule or according to the SPI result and the preset matching rule; determining whether the service quality attribute parameter is the same as a service quality attribute parameter of an existing bearer; and in response to determining that the quality attribute parameter is different from the quality attribute parameter of the existing bearer, triggering an update procedure of the existing bearer.
2 . The method according to claim 1 , wherein the service quality attribute parameter of the service comprises a QoS class identifier identifying a quality class of the service and an allocation and retention priority (ARP); and
wherein triggering the update procedure of the existing bearer in response to determining that the quality attribute parameter is different from the quality attribute parameter of the existing bearer comprises:
determining whether the QoS class identifier and the ARP are the same as the QoS class identifier and the ARP of the existing bearer, and if the QoS class identifier and the ARP are not the same as the QoS class identifier and the ARP of the existing bearer, triggering an update procedure of the existing bearer.
3 . The method according to claim 1 , wherein the existing bearer is a default bearer or an existing dedicated bearer.
4 . The method according to claim 1 , wherein the existing bearer is a default bearer, and triggering the update procedure of the existing bearer comprises sending a default bearer update request.
5 . The method according to claim 1 , wherein the existing bearer is an existing dedicated bearer, and triggering the update procedure of the existing bearer comprises:
acquiring a 5-tuple of the service; acquiring a guaranteed bit rate (GBR) and a maximum bit rate (MBR) of the service; adding the 5-tuple of the service into a traffic flow template Of (TFT) parameter of the existing dedicated bearer, and adding a GBR and an MBR of the existing dedicated bearer to the GBR and MBR of the service so as to obtain an accumulated value of a GBR and a MBR; and using the accumulated value of the GBR and MBR as the GBR and MBR of the existing dedicated bearer.
6 . The method according to claim 1 , further comprising:
in response to the existing bearer not receiving a traffic flow of the service within a preset period, updating the existing bearer.
7 . The method according to claim 1 , further comprising:
in response to detecting that the service is already disconnected and a traffic flow is no longer generated, updating the existing bearer.
8 . The method according to claim 1 , wherein the existing bearer is an existing dedicated bearer, and triggering the update procedure of the existing bearer comprises:
acquiring a 5-tuple of the service; acquiring a guaranteed bit rate (GBR) and a maximum bit rate (MBR) of the service; subtracting the 5-tuple of the service from a traffic flow template (TFT) parameter of the existing dedicated bearer; subtracting the GBR and MBR of the service from a GBR and a MBR of the dedicated bearer so as to obtain an updated accumulated value of a GBR and a MBR; and using the updated accumulated value of the GBR and MBR as the GBR and MBR of the dedicated bearer.
9 . The method according to claim 8 , further comprising:
in response to all services carried by the dedicated bearer stopping a transmitting of traffic flows, initiating a deletion procedure of the dedicated bearer, so as to delete the dedicated bearer.
10 . An apparatus, comprising a processor, the processor configured to:
perform deep packet inspection (DPI) processing on a traffic flow of a service according to a preset layer-7 protocol type matching rule to obtain a DPI processing result, or perform shallow packet inspection (SPI) processing on a traffic flow of a service according to a preset layer-3 or layer-4 protocol type matching rule to obtain an SPI processing result; determine a service quality attribute parameter of the service according to the DPI result and the preset matching rule, or according to the SPI result and the preset matching rule; determine whether the service quality attribute parameter is the same as a service quality attribute parameter of an existing bearer; and in response to determining that the quality attribute parameter is different from a quality attribute parameter of the existing bearer, triggering an update procedure of the existing bearer.
11 . The apparatus according to claim 10 , wherein the service quality attribute parameter of the service comprises a QoS class identifier identifying a quality class of the service and an allocation and retention priority (ARP); and
wherein the processor is further configured to determine whether the QoS class identifier and the ARP of the service are the same as a QoS class identifier and an ARP of the existing bearer, and if the QoS class identifier and the ARP of the service are different than a QoS class identifier and an ARP of the existing bearer, trigger an update procedure of the existing bearer.
12 . The apparatus according to claim 10 , wherein the existing bearer is a default bearer or an existing dedicated bearer.
13 . The apparatus according to claim 10 , wherein the existing bearer is a default bearer and the processor is configured to send a default bearer update request.
14 . The apparatus according to claim 10 , wherein the existing bearer is an existing dedicated bearer, and the processor is further configured to:
acquire a 5-tuple of the service; acquire a guaranteed bit rate (GBR) and a maximum bit rate (MBR) of the service; and add the 5-tuple of the service to a traffic flow parameter (TFT) parameter of the existing dedicated bearer, add a GBR and an MBR of the existing dedicated bearer to the GBR and MBR of the service so as to obtain an accumulated value of a GBR and a MBR, and use the accumulated value of the GBR and MBR as the GBR and MBR of the existing dedicated bearer.
15 . The apparatus according to claim 10 , wherein the processor is further configured to:
when the existing bearer does not receive a traffic flow of the service within a preset period, update the existing bearer.
16 . The apparatus according to claim 10 , wherein the processor is further configured to:
when it is detected through an SPI/DPI technology that the service is already disconnected and a traffic flow is no longer generated, update the existing bearer.
17 . The apparatus according to claim 10 , wherein the existing bearer is an existing dedicated bearer, and the processor further configured to:
acquire a 5-tuple of the service; acquire a guaranteed bit rate (GBR) and a maximum bit rate (MBR) of the service; and subtract the 5-tuple of the service from a traffic flow template (nil) parameter of the existing dedicated bearer, subtract the GBR and MBR of the service from a GBR and an MBR of the dedicated bearer to obtain an updated accumulated value of the GBR and MBR, and use the updated accumulated value of the GBR and MBR as the GBR and MBR of the dedicated bearer.
18 . The apparatus according to claim 17 , wherein the processor is further configured to:
when all services carried by the dedicated bearer stop transmitting traffic flows, initiate a deletion procedure of the dedicated bearer so as to delete the dedicated bearer.Join the waitlist — get patent alerts
Track US2016330646A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.