A charging method, comprising: determining, by a control plane function entity, to request a charging function entity to establish a service-based interface, SBI, charging session for a 4G data connection that is established for a terminal; and requesting, by the control plane function entity through the SBI charging session, to perform online charging or offline charging in the 4G data connection; characterized in that: during a handover of the terminal from the 4G data connection to a 5G data connection, the method further comprises: determining (S414, 418), by the control plane function entity, that a 4G handover trigger is in an active state, and that a type of the 4G handover trigger is an immediate reporting trigger; and sending, by the control plane function entity, a charging update message to the charging function entity through the SBI charging session, wherein the charging update message comprises network usage information of the 4G data connection or a quota request of the 5G data connection after the handover; or determining (S414, 418), by the control plane function entity, that a 4G handover trigger event trigger is in an active state, and that a type of the 4G handover trigger event trigger is a deferred reporting trigger; and stopping, by the control plane function entity, recording network usage information of the 4G data connection, and re-recording network usage information of the 5G data connection after the handover; or determining, by the control plane function entity, that there is no active 4G handover trigger; and combining and recording, by the control plane function entity, network usage information of the 4G data connection and network usage information of the 5G data connection after the handover. determining, by a control plane function entity, to request a charging function entity to establish a service-based interface, SBI, charging session for a 4G data connection that is established for a terminal; and requesting, by the control plane function entity through the SBI charging session, to perform online charging or offline charging in the 4G data connection; characterized in that: during a handover of the terminal from the 4G data connection to a 5G data connection, the method further comprises: determining (S414, 418), by the control plane function entity, that a 4G handover trigger is in an active state, and that a type of the 4G handover trigger is an immediate reporting trigger; and sending, by the control plane function entity, a charging update message to the charging function entity through the SBI charging session, wherein the charging update message comprises network usage information of the 4G data connection or a quota request of the 5G data connection after the handover; or determining (S414, 418), by the control plane function entity, that a 4G handover trigger event trigger is in an active state, and that a type of the 4G handover trigger event trigger is a deferred reporting trigger; and stopping, by the control plane function entity, recording network usage information of the 4G data connection, and re-recording network usage information of the 5G data connection after the handover; or determining, by the control plane function entity, that there is no active 4G handover trigger; and combining and recording, by the control plane function entity, network usage information of the 4G data connection and network usage information of the 5G data connection after the handover. determining (S414, 418), by the control plane function entity, that a 4G handover trigger is in an active state, and that a type of the 4G handover trigger is an immediate reporting trigger; and sending, by the control plane function entity, a charging update message to the charging function entity through the SBI charging session, wherein the charging update message comprises network usage information of the 4G data connection or a quota request of the 5G data connection after the handover; or determining (S414, 418), by the control plane function entity, that a 4G handover trigger event trigger is in an active state, and that a type of the 4G handover trigger event trigger is a deferred reporting trigger; and stopping, by the control plane function entity, recording network usage information of the 4G data connection, and re-recording network usage information of the 5G data connection after the handover; or determining, by the control plane function entity, that there is no active 4G handover trigger; and combining and recording, by the control plane function entity, network usage information of the 4G data connection and network usage information of the 5G data connection after the handover.