CPC H04L 65/80 (2013.01) | 18 Claims |
1. A method of adapting to Quality of Service (QoS) changes in a 5th Generation (5G) network, the method being executed by one or more processors implementing a quality of service (QoS) application programming interface (API) of a terminal device, and the method comprising:
receiving a parameter acquisition request from an application program client that is executed in the terminal device;
acquiring, in response to the parameter acquisition request, target QoS parameters for a QoS flow that includes one or more service data packets provided by the application program client, the target QoS parameters being issued by a session management network element in the 5G network,
receiving a subscription request for a QoS parameter change network function from the application program client; and
in response to the application program client being subscribed to the QoS parameter change network function of the session management network element and in response to a change in the target QoS parameters by the session management network element, providing to the application program client, the changed target QoS parameters by the terminal device to the application program client, wherein
the application program client is configured to adjust, in response to receiving the changed target QoS parameters during a protocol data unit (PDU) session corresponding to the application program client, one or more parameters that are used by the application program client to generate the one or more service data packets in the QoS flow.
|