QOS control method and device
A QoS control method and a device are disclosed. In the method, a session management function SMF entity obtains service data flow SDF-level QoS control information; the SMF entity sends the SDF-level QoS control information to a terminal; and the terminal performs QoS control on an uplink data packet based on the SDF-level QoS control information, or deletes the SDF-level QoS control information. In the foregoing method embodiments, the terminal can perform the QoS control on the uplink data packet based on the SDF-level QoS control information.
1. A quality of service (QoS) control method, comprising:
obtaining, by a device, one or more service data flow (SDF)-level QoS rules from a session management function entity, wherein each SDF-level QoS rule corresponds to an SDF, and wherein each SDF-level QoS rule comprises: a QoS rule identifier, at least one SDF-level packet filter corresponding to the SDF, an SDF-level QoS rule precedence value corresponding to the SDF, and a QoS flow identifier;
performing, by the device, matching between an uplink data packet and the at least one SDF-level packet filters in the one or more SDF-level QoS rules based on the SDF-level QoS rule precedence values until an appropriate SDF-level QoS rule is found, wherein one of the at least one SDF-level packet filters in the appropriate SDF-level QoS rule matches the uplink data packet successfully; and
transmitting, by the device, the uplink data packet using a QoS flow corresponding to a QoS flow identifier in the appropriate SDF-level QoS rule.
2. The QoS control method according to claim 1 , wherein the method further comprising associating, by the device, the QoS flow with a data radio bearer (DRB).
3. The method according to claim 1 , wherein the uplink data packet is verified by a user plane function entity according to SDF control information, and wherein the SDF control information comprises the at least one SDF-level packet filter, the SDF-level QoS rule precedence value, and the QoS flow identifier.
4. The method according to claim 1 , wherein different SDFs correspond to a same QoS flow.
5. The method according to claim 4 , wherein SDF-level QoS rule precedence values of the different SDFs corresponding to the same QoS flow are different.
6. The method according to claim 1 , wherein performing matching comprises:
determining a matching order based on the SDF-level QoS rule precedence values in the one or more SDF-level QoS rules; and
performing matching between the uplink data packet and the at least one SDF-level packet filters in the one or more SDF-level QoS rules based on the matching order until the appropriate SDF-level QoS rule is found.
7. A device, comprising:
a memory storage comprising instructions; and
one or more processors in communication with the memory, wherein the one or more processors execute the instructions to:
obtain one or more service data flow (SDF)-level quality of service (QoS) rules from a session management function entity, wherein each SDF-level QoS rule corresponds to an SDF, and wherein each SDF-level QoS rule comprises: a QoS rule identifier, at least one SDF-level packet filter corresponding to the SDF, an SDF-level QoS rule precedence value corresponding to the SDF, and a QoS flow identifier;
perform matching between an uplink data packet and the at least one SDF-level packet filters in the one or more SDF-level QoS rules based on the SDF-level QoS rule precedence values until an appropriate SDF-level QoS rule is found, wherein one of the at least one SDF-level packet filters in the appropriate SDF-level QoS rule matches the uplink data packet successfully; and
transmit the uplink data packet using a QoS flow corresponding to a QoS flow identifier in the appropriate SDF-level QoS rule.
8. The device according to claim 7 , wherein the one or more processors execute the instructions to associate the QoS flow with a data radio bearer (DRB).
9. The device according to a claim 7 , wherein the device is a terminal.
10. The device according to claim 7 , wherein the uplink data packet is verified by a user plane function entity according to SDF control information, and wherein the SDF control information comprises the at least one SDF-level packet filter, the SDF-level QoS rule precedence value, and the QoS flow identifier.
11. The device according to claim 7 , wherein different SDFs correspond to a same QoS flow.
12. The device according to claim 11 , wherein SDF-level QoS rule precedence values of the different SDFs corresponding to the same QoS flow are different.
13. The device according to claim 7 , wherein in performing matching, the one or more processors execute the instructions to:
determine a matching order based on the SDF-level QoS rule precedence values in the one or more SDF-level QoS rules; and
perform matching between the uplink data packet and the at least one SDF-level packet filters in the one or more SDF-level QoS rules based on the matching order until the appropriate SDF-level QoS rule is found.
14. A quality of service (QoS) control method, comprising:
obtaining, by a session management function entity, one or more service data flow (SDF)-level QoS rules, wherein each SDF-level QoS rule corresponds to an SDF, and wherein each SDF-level QoS rule comprises: a QoS rule identifier, at least one SDF-level packet filter corresponding to the SDF, an SDF-level QoS rule precedence value corresponding to the SDF, and a QoS flow identifier;
providing, by the session management function entity, the one or more SDF-level QoS rules to a terminal;
obtaining, by the terminal, the one or more SDF-level QoS rules from the session management function entity;
performing, by the terminal, matching between an uplink data packet and the at least one SDF-level packet filters in the one or more SDF-level QoS rules based on the SDF-level QoS rule precedence values until an appropriate SDF-level QoS rule is found, wherein one of the at least one SDF-level packet filters in the appropriate SDF-level QoS rule matches the uplink data packet successfully; and
transmitting, by the terminal, the uplink data packet using a QoS flow corresponding to a QoS flow identifier in the appropriate SDF-level QoS rule.
15. The method according to claim 14 , wherein obtaining the one or more SDF-level QoS rules comprises either:
obtaining, by the session management function entity, the one or more SDF-level QoS rules based on policy control rule information or a QoS control rule from a policy control function entity; or
obtaining, by the session management function entity, the one or more SDF-level QoS rules based on a local policy.
16. The method according to claim 14 , wherein the method further comprising associating, by the terminal, the QoS flow with a data radio bearer (DRB).
17. The method according to claim 14 , further comprising verifying, by a user plane function entity, the uplink data packet according to SDF control information, wherein the SDF control information comprises the at least one SDF-level packet filter, the SDF-level QoS rule precedence value, and the QoS flow identifier.
18. The method according to claim 14 , wherein different SDFs correspond to a same QoS flow.
19. The method according to claim 18 , wherein SDF-level QoS rule precedence values of the different SDFs corresponding to the same QoS flow are different.
20. A system, comprising:
a session management function entity configured to obtain one or more service data flow (SDF)-level quality of service (QoS) rules, wherein each SDF-level QoS rule corresponds to an SDF, and wherein each SDF-level QoS rule comprises: a QoS rule identifier, at least one SDF-level packet filter corresponding to the SDF, an SDF-level QoS rule precedence value corresponding to the SDF, and a QoS flow identifier; and
a terminal in communication with the session management function entity and configured to:
obtain the one or more service data flow SDF-level QoS rules from the session management function entity;
perform matching between an uplink data packet and the at least one SDF-level packet filters in the one or more SDF-level QoS rules based on the SDF-level QoS rule precedence values until an appropriate SDF-level QoS rule is found, wherein one of the at least one SDF-level packet filters in the appropriate SDF-level QoS rule matches the uplink data packet successfully; and
transmit the uplink data packet using a QoS flow corresponding to a QoS flow identifier in the appropriate SDF-level QoS rule.
21. The system according to claim 20 , wherein the terminal is further configured to associate the QoS flow with a data radio bearer (DRB).
22. The system according to claim 20 , wherein the system further comprises a user plane function entity, wherein the user plane function entity is configured to verify the uplink data packet according to SDF control information, and wherein the SDF control information comprises: the at least one SDF-level packet filter, the SDF-level QoS rule precedence value, and the QoS flow identifier.
23. The system according to claim 20 , wherein different SDFs correspond to a same QoS flow.
24. The system according to claim 23 , wherein SDF-level QoS rule precedence values of the different SDFs corresponding to the same QoS flow are different.