A non-transitory computer-readable storage medium, storing computer instructions, the computer instructions, when executed by at least one processor, causing the at least one processor to implement:
- receiving, from a network node in a data network, a dynamic policy resource, the dynamic policy resource comprising:
- a policy template identifier that identifies policy template information for controlling transmission of media stream services and service differentiators corresponding to the policy template information, the service differentiators being used for distinguishing media stream services of different service types in the media stream services, wherein the policy template information includes continuity features of the media stream services, wherein an association relationship between service differentiators and the continuity features of the media stream services is established in the policy template information;
- determining a service differentiator of a to-be-initiated media stream service based on the policy template information and the service differentiators;
- determining whether a protocol data unit session capable of carrying the to-be-initiated media stream service exists, the protocol data unit session including a quality of service stream corresponding to the service differentiator of the to-be-initiated media stream service, comprising:
- determining whether the protocol data unit session capable of carrying the to-be-initiated media stream service has a continuity feature of the to-be-initiated media stream service according to the association relationship and the service differentiator;
- binding the to-be-initiated media stream service to the quality of service stream in the protocol data unit session in response to a determination that the protocol data unit session exists;
- and
- establishing, in response to a determination that the protocol data unit session does not exist, a protocol data unit session including the quality of service stream corresponding to the service differentiator of the to-be-initiated media stream service.