A policy and charging enforcement function apparatus, comprising: a communicator, configured to receive a policy and charging control rule from a policy and charging rules function; and a processor, configured to: determine, based on the policy and charging control rule, that a service data flow of a user equipment is a sponsor service data flow sponsored by a sponsor, and when the sponsor service data flow uses online charging, determine, based on a rating group of the sponsor service data flow comprised in the policy and charging control rule, whether the policy and charging enforcement function apparatus has a credit quota that matches the rating group and a quota type of the sponsor service data flow, wherein the communicator is further configured to: when the policy and charging enforcement function apparatus does not have the credit quota for the sponsor service data flow, send a credit control request comprising the rating group to an online charging apparatus to request the online charging apparatus to allocate, based on the rating group, the credit quota for the sponsor service data flow to the policy and charging enforcement function apparatus, and receive the credit quota from the online charging apparatus for the sponsor service data flow, and wherein the processor is further configured to record use information of use of the credit quota by the sponsor service data flow. a communicator, configured to receive a policy and charging control rule from a policy and charging rules function; and a processor, configured to: determine, based on the policy and charging control rule, that a service data flow of a user equipment is a sponsor service data flow sponsored by a sponsor, and when the sponsor service data flow uses online charging, determine, based on a rating group of the sponsor service data flow comprised in the policy and charging control rule, whether the policy and charging enforcement function apparatus has a credit quota that matches the rating group and a quota type of the sponsor service data flow, determine, based on the policy and charging control rule, that a service data flow of a user equipment is a sponsor service data flow sponsored by a sponsor, and when the sponsor service data flow uses online charging, determine, based on a rating group of the sponsor service data flow comprised in the policy and charging control rule, whether the policy and charging enforcement function apparatus has a credit quota that matches the rating group and a quota type of the sponsor service data flow, wherein the communicator is further configured to: when the policy and charging enforcement function apparatus does not have the credit quota for the sponsor service data flow, send a credit control request comprising the rating group to an online charging apparatus to request the online charging apparatus to allocate, based on the rating group, the credit quota for the sponsor service data flow to the policy and charging enforcement function apparatus, and receive the credit quota from the online charging apparatus for the sponsor service data flow, and when the policy and charging enforcement function apparatus does not have the credit quota for the sponsor service data flow, send a credit control request comprising the rating group to an online charging apparatus to request the online charging apparatus to allocate, based on the rating group, the credit quota for the sponsor service data flow to the policy and charging enforcement function apparatus, and receive the credit quota from the online charging apparatus for the sponsor service data flow, and wherein the processor is further configured to record use information of use of the credit quota by the sponsor service data flow.