5G CHF
本指南作为 5G CHF 协议的协议实现合规声明。
分类:
本文档主题:
- 简介
- Charging Function 计费服务
- Charging Function 支出限额控制服务
- Charging Function 与 Network Repository Function (NRF) 的交互
- CHF-CDR 格式
简介
5G CHF 包含 Nchf 接口,用于为策略管理启用融合计费和支出限额控制。本文还概述了与 Network Repository Function 的交互。
如何解读合规章节中的状态
下表说明合规章节中各状态的含义。
| 状态 | 含义 |
|---|---|
| 支持 | 应用程序支持该功能。 应用程序支持该属性,并将其映射到计费功能。该属性在请求中接收,并用于计费流程。该属性会按规范要求在响应中发送。也可以选择将该属性用于事件存储,并用于辅助计费决策。 |
| 支持扩展 | 应用程序通过扩展支持该功能。 应用程序支持该属性,并可选择将其用于价格选择。该属性在请求中接收,但不会在开箱即用的计费流程中使用。 该属性可能会也可能不会在响应中发送。你可以选择利用计费流程中的可用扩展来实现预期功能。 你也可以选择将该属性存储在事件中,并用于计费决策。 |
| 不支持 | 应用程序不支持该功能或属性。 |
| 不适用 | 该章节不适用于此实现。 |
| 信息性 | 该章节仅用于提供信息。 |
Charging Function 计费服务
章节合规
下表描述 5G System Charging Service 3GPP TS 32.291 v16.5.1 (2020-09) 的章节合规情况:
表 1-1: 5G System Charging Service 3GPP TS 32.291 v16.5.1 (2020-09) 章节合规
| Section Number | Section | Status | Notes |
|---|---|---|---|
| 1 | Scope | 信息性 | - |
| 2 | References | 信息性 | - |
| 3 | Definitions, symbols and abbreviations | 信息性 | - |
| 4 | Overview | 支持 | - |
| 5 | Services offered by CHF | 支持 | - |
| 5.1 | Introduction | 支持 | - |
| 5.2 | Nchf_ConvergedCharging service | 支持 | - |
| 5.2.1 | Service description | 支持 | - |
| 5.2.2 | Service operations | 支持 | - |
| 5.2.2.1 | Introduction | 支持 | - |
| 5.2.2.2 | Nchf_ConvergedCharging_Create Operation | 支持 | - |
| 5.2.2.3 | Nchf_ConvergedCharging_Update Operation | 支持 | - |
| 5.2.2.4 | Nchf_ConvergedCharging_Release Operation | 支持 | - |
| 5.2.2.5 | Nchf_ConvergedCharging_Notify Operation | 支持 | - |
| 5.3 | Nchf_OfflineOnlyCharging service | 支持 | - |
| 5.3.1 | Service description | 支持 | - |
| 5.3.2 | Service operations | 支持 | - |
| 5.3.2.1 | Introduction | 支持 | - |
| 5.3.2.2 | Nchf_OfflineOnlyCharging_Create Operation | 支持 | - |
| 5.3.2.3 | Nchf_OfflineOnlyCharging_Update Operation | 支持 | - |
| 5.3.2.4 | Nchf_OfflineOnlyCharging_Release Operation | 支持 | - |
| 6 | API Definitions | 支持 | - |
| 6.1 | Nchf_ConvergedCharging Service API | 支持 | - |
| 6.1.1 | Introduction | 支持 | - |
| 6.1.2 | Usage of HTTP | 支持 | - |
| 6.1.2.1 | General | 支持 | - |
| 6.1.2.2 | HTTP standard headers | 支持 | - |
| 6.1.2.2.1 | General | 支持 | - |
| 6.1.2.2.2 | Content type | 支持 | - |
| 6.1.2.3 | HTTP custom headers | 支持 | 在自定义标头中,仅支持 3gpp-Sbi-Target-apiRoot header。 |
| 6.1.2.3.1 | General | 支持 | - |
| 6.1.3 | Resources | 支持 | - |
| 6.1.3.1 | Overview | 支持 | - |
| 6.1.3.2 | Resource: Charging Data | 支持 | - |
| 6.1.3.2.1 | Description | 支持 | - |
| 6.1.3.2.2 | Resource Definition | 支持 | - |
| 6.1.3.2.3 | Resource Standard Methods | 支持 | - |
| 6.1.3.2.3.1 | POST | 支持 | ChargingDataRequest and ChargingDataResponse。响应包含以下代码之一:成功时为 201 (created)。失败时 ProblemDetails 包含 400、403、404。 |
| 6.1.3.2.4 | Resource Custom Operations | 不适用 | - |
| 6.1.3.3 | Resource: Individual Charging Data | 支持 | - |
| 6.1.3.3.1 | Description | 支持 | - |
| 6.1.3.3.2 | Resource Definition | 支持 | - |
| 6.1.3.3.3 | Resource Standard Methods | 不适用 | - |
| 6.1.3.3.4 | Resource Custom Operations | 支持 | - |
| 6.1.3.3.4.1 | Overview | 支持 | - |
| 6.1.3.3.4.2 | Operation: update | 支持 | - |
| 6.1.3.3.4.2.1 | Description | 支持 | - |
| 6.1.3.3.4.2.2 | Operation Definition | 支持 | ChargingDataRequest and ChargingDataResponse。响应包含以下代码之一:成功时为 200 (OK)。失败时 ProblemDetails 包含 400、403、404。 |
| 6.1.3.3.4.3 | release | 支持 | - |
| 6.1.3.3.4.3.1 | Description | 支持 | - |
| 6.1.3.3.4.3.2 | Operation Definition | 支持 | ChargingDataRequest and ChargingDataResponse。成功时响应为 204 (No content)。失败时 ProblemDetails 包含 404。 |
| 6.1.4 | Custom Operations without associated resources | 不适用 | - |
| 6.1.5 | Notifications | 支持 | - |
| 6.1.5.1 | General | 支持 | - |
| 6.1.5.2 | Event Notification | 支持 | - |
| 6.1.5.2.1 | Description | 支持 | - |
| 6.1.5.2.2 | Target URI | 支持 | - |
| 6.1.5.2.3 | Standard Methods | 支持 | - |
| 6.1.5.2.3.1 | POST | 支持 | ChargingDataRequest and ChargingDataResponse。成功时响应为 204 (No content)。失败时 ProblemDetails 包含 404。 |
| 6.1.6 | Data Model | 支持 | - |
| 6.1.6.1 | General | 支持 | - |
| 6.1.6.2 | Structured data types | 支持 | - |
| 6.1.6.2.1 | Common Data Type | 支持 | - |
| 6.1.6.2.1.1 | Type ChargingDataRequest | 支持 | |
| subscriberIdentifier | 支持扩展 | ||
| nfConsumerIdentification | 支持扩展 | ||
| invocationTimeStamp | 支持 | ||
| invocationSequenceNumber | 支持 | ||
| retransmissionIndicator | 支持扩展 | ||
| oneTimeEvent | 支持扩展 | ||
| oneTimeEventType | 支持扩展 | ||
| notifyUri | 支持扩展 | ||
| supportedFeatures | 支持 | ||
| serviceSpecificationInfo | 支持扩展 | ||
| multipleUnitUsage | 支持扩展 | ||
| triggers | 支持 | ||
| 6.1.6.2.1.2 | Type ChargingDataResponse | 支持 | |
| invocationTimeStamp | 支持 | ||
| invocationResult | 支持扩展 | ||
| invocationSequenceNumber | 支持 | ||
| sessionFailover | 支持 | ||
| supportedFeatures | 支持扩展 | ||
| multipleUnitInformation | 支持扩展 | ||
| triggers | 支持 | ||
| 6.1.6.2.1.3 | Type ChargingNotifyRequest | 支持扩展 | |
| notificationType | 支持扩展 | ||
| reauthorizatoinDetails | 支持扩展 | ||
| 6.1.6.2.1.4 | Type NFIdentification | 支持扩展 | |
| nodeFunctionality | 支持扩展 | ||
| nFName | 支持扩展 | ||
| nFIPv4Address | 支持扩展 | ||
| nfIPv6Address | 支持扩展 | ||
| nFFqdn | 支持扩展 | ||
| nFPLMNID | 支持扩展 | ||
| 6.1.6.2.1.5 | Type MultipleUnitUsage | 支持 | |
| ratingGroup | 支持 | ||
| requestedUnit | 支持 | ||
| usedUnitContainer | 支持 | ||
| 6.1.6.2.1.6 | Type InvocationResult | 支持扩展 | |
| error (ProblemDetails) | 支持扩展 | ||
| failureHandling | 支持扩展 | ||
| 6.1.6.2.1.7 | Type Trigger | 支持 | 参见 6.1.6.3.6 了解支持的 Trigger 类型。 |
| triggerType | 支持扩展 | ||
| triggerCategory | 支持扩展 | ||
| timeLimit (DurationSec) | 支持扩展 | ||
| volumeLimit | 支持扩展 | ||
| volumeLimit64 | 支持扩展 | ||
| maxNumberOfccc | 支持扩展 | ||
| 6.1.6.2.1.8 | Type MultipleUnitInformation | 支持 | |
| resultCode | 支持 | ||
| ratingGroup | 支持 | ||
| grantedUnit | 支持 | ||
| triggers | 支持 | ||
| validityTime (DurationSec) | 支持扩展 | ||
| quotaHandlingTime (DurationSec) | 支持 | ||
| finalUnitIndication | 支持 | ||
| timeQuotaThreshold | 支持 | ||
| volumeQuotaThreshold | 支持扩展 | ||
| unitQuotaThreshold | 支持扩展 | ||
| 6.1.6.2.1.9 | Type RequestedUnit | 支持 | |
| time | 支持 | ||
| totalVolume | 支持 | ||
| uplinkVolume | 支持 | ||
| downLinkVolume | 支持 | ||
| serviceSpecificUnits | 支持 | ||
| 6.1.6.2.1.10 | Type UsedUnitContainer | 支持 | |
| serviceId | 支持 | ||
| quotaManagementIndicator | 支持 | ||
| triggers | 支持 | ||
| triggerTimeStamp | 支持扩展 | ||
| time | 支持扩展 | ||
| totalVolume | 支持 | ||
| uplinkVolume | 支持 | ||
| downlinkVolume | 支持 | ||
| serviceSpecificUnits | 支持 | ||
| eventTimeStamps | 支持扩展 | ||
| localSequenceNumber | 支持扩展 | ||
| 6.1.6.2.1.11 | Type GrantedUnit | 支持 | |
| tariffTimeChange | 支持 | ||
| time | 支持 | ||
| totalVolume | 支持 | ||
| uplinkVolume | 支持 | ||
| downlinkVolume | 支持 | ||
| serviceSpecificUnits | 支持 | ||
| 6.1.6.2.1.12 | Type FinalUnitIndication | 支持 | |
| finalUnitAction | 支持 | ||
| restrictionFilterRule | 不支持 | ||
| filterId | 不支持 | ||
| redirectServer | 支持 | ||
| 6.1.6.2.1.13 | Type RedirectServer | 支持 | |
| redirectAddressType | 支持 | ||
| redirectServerAddress | 支持 | ||
| 6.1.6.2.1.14 | Type ReauthorizationDetails | 支持 | |
| service (serviceId) | 支持 | ||
| ratingGroup | 支持 | ||
| quotaManagementIndicator | 支持 | ||
| 6.1.6.2.1.15 | Void | 不适用 | |
| 6.1.6.2.1.16 | Type ChargingNotifyResponse | 不支持 | |
| invocationResult | 不支持 | ||
| 6.1.6.2.2 | 5G Data Connectivity Specified Data Type | 支持 | - |
| 6.1.6.2.2.1 | ChargingDataRequest | 支持 | 开箱即用的计费流程不会处理 5G roaming 记录。 |
| 6.1.6.2.2.2 | ChargingDataResponse | 支持扩展 | 开箱即用的计费流程不会处理 5G roaming 记录。 |
| 6.1.6.2.2.3 | MultipleUnitUsage | 支持扩展 | - |
| 6.1.6.2.2.4 | MultipleUnitInformation | 支持扩展 | - |
| 6.1.6.2.2.5 | UsedUnitContainer | 支持扩展 | - |
| 6.1.6.2.2.6 | PDUSessionChargingInformation | 支持扩展 | uetimeZone 用作事件的请求时间。 |
| 6.1.6.2.2.7 | UserInformation | 支持扩展 | - |
| 6.1.6.2.2.8 | PDUSessionInformation | 支持扩展 | - |
| 6.1.6.2.2.9 | PDUContainerInformation | 支持扩展 | - |
| 6.1.6.2.2.10 | NetworkSlicingInfo | 支持扩展 | - |
| 6.1.6.2.2.11 | PDUAddress | 支持扩展 | - |
| 6.1.6.2.2.12 | ServingNetworkFunctionID | 支持扩展 | - |
| 6.1.6.2.2.13 | RoamingQBCInformation | 支持扩展 | - |
| 6.1.6.2.2.14 | MultipleQFIcontainer | 支持扩展 | - |
| 6.1.6.2.2.15 | RoamingChargingProfile | 支持扩展 | 开箱即用的计费流程不会处理 5G roaming 记录。 |
| 6.1.6.2.2.16 | QFIContainerInformation | 支持扩展 | 所有项仅在请求中支持,响应中不支持 |
| 6.1.6.2.2.17 | RANSecondaryRATUsageReport | 支持扩展 | - |
| 6.1.6.2.2.18 | QosFlowsUsageReport | 支持扩展 | - |
| 6.1.6.2.2.19 | MAPDUSessionInformation | 支持扩展 | - |
| 6.1.6.2.3 | SMS Specified Data Type | 支持扩展 | - |
| 6.1.6.2.3.1 | ChargingDataRequest | 支持扩展 | - |
| 6.1.6.2.3.2 | SMSChargingInformation | 支持扩展 | - |
| 6.1.6.2.3.3 | OriginatorInfo | 支持扩展 | - |
| 6.1.6.2.3.4 | RecipientInfo | 支持扩展 | - |
| 6.1.6.2.3.5 | SMAddressInfo | 支持扩展 | - |
| 6.1.6.2.3.6 | RecipientAddress | 支持扩展 | - |
| 6.1.6.2.3.7 | MessageClass | 支持扩展 | - |
| 6.1.6.2.3.8 | SMAddressDomain | 支持扩展 | - |
| 6.1.6.2.3.9 | SMInterface | 支持扩展 | - |
| 6.1.6.2.4 | 5G connection and mobility Specified Data | 不支持 | - |
| 6.1.6.2.4.1 | ChargingDataRequest | 不支持 | - |
| 6.1.6.2.4.2 | ChargingDataResponse | 不支持扩展 | - |
| 6.1.6.2.4.3 | Type RegistrationChargingInformation | 不支持 | |
| registrationMessagetype | 不支持 | ||
| userInformation | 不支持 | ||
| userLocationinfo | 不支持 | ||
| uetimeZone | 不支持 | ||
| rATType | 不支持 | ||
| 5gMMCapability | 不支持 | ||
| mICOModeIndication | 不支持 | ||
| smsIndication | 不支持 | ||
| taiList | 不支持 | ||
| serviceAreaRestriction | 不支持 | ||
| requestedNSSAI | 不支持 | ||
| allowedNssai | 不支持 | ||
| rejectedNSSAI | 不支持 | ||
| - | 不支持 | ||
| 6.1.6.2.4.4 | Type N2ConnectionChargingInformation | 不支持 | |
| n2ConnectionMessageType | 不支持 | ||
| userInformation | 不支持 | ||
| userLocationinfo | 不支持 | ||
| uetimeZone | 不支持 | ||
| rATType | 不支持 | ||
| amfUeNgapId | 不支持 | ||
| ranUeNgapId | 不支持 | ||
| ranNodeId | 不支持 | ||
| restrictedRatList | 不支持 | ||
| forbiddenAreaList | 不支持 | ||
| serviceAreaRestriction | 不支持 | ||
| restrictedCnList | 不支持 | ||
| allowedNssai | 不支持 | ||
| rrcEstCause | 不支持 | ||
| - | 不支持 | ||
| 6.1.6.2.4.5 | Type LocationReportingChargingInformation | 不支持 | |
| locationReportingMessageType | 不支持 | ||
| userInformation | 不支持 | ||
| userLocation | 不支持 | ||
| infouetimeZone | 不支持 | ||
| presenceReportingAreaInformation | 不支持 | ||
| rATType | 不支持 | ||
| - | 不支持 | ||
| 6.1.6.2.5 | Exposure Function Northbound API Specified | 不支持 | |
| - | 不支持 | ||
| 6.1.6.2.5.1 | Type ChargingDataRequest | 不支持 | |
| 6.1.6.2.5.1a | Type ChargingDataResponse | 不支持 | |
| 6.1.6.2.5.2 | Type NEFChargingInformation | 不支持 | |
| groupIdentifier | 不支持 | ||
| aPIDirection | 不支持 | ||
| aPITargetNetworkFunction | 不支持 | ||
| aPIResultCode | 不支持 | ||
| aPIName | 不支持 | ||
| aPIReference | 不支持 | ||
| aPIContent | 不支持 | ||
| 6.1.6.2.6 | Network Slice Management (NSM) Specified Data Type | 不支持 | |
| 6.1.6.2.6.1 | Type ChargingDataRequest | 不支持 | |
| tenantIdentifier | 不支持 | ||
| mnSConsumerIdentifier | 不支持 | ||
| nSMChargingInformation | 不支持 | ||
| 6.1.6.2.6.2 | Type ChargingDataResponse | 不支持 | |
| 6.1.6.2.6.3 | Type NSMChargingInformation | 不支持 | |
| managementOperation | 不支持 | ||
| idNetworkSliceInstance | 不支持 | ||
| listOfServiceProfileChargingInformation | 不支持 | ||
| managementOperationStatus | 不支持 | ||
| operationalState | 不支持 | ||
| administrativeState | 不支持 | ||
| 6.1.6.2.6.4 | Type ServiceProfileChargingInformation | 不支持 | |
| serviceProfileIdentifier | 不支持 | ||
| sNSSAIList | 不支持 | ||
| latency | 不支持 | ||
| availability | 不支持 | ||
| resourceSharingLevel | 不支持 | ||
| jitter | 不支持 | ||
| reliability | 不支持 | ||
| maxNumberofUEs | 不支持 | ||
| coverageArea | 不支持 | ||
| uEMobilityLevel | 不支持 | ||
| delayToleranceIndicator | 不支持 | ||
| dLThptPerSlice | 不支持 | ||
| dLThptPerUE | 不支持 | ||
| uLThptPerSlice | 不支持 | ||
| uLThptPerUE | 不支持 | ||
| maxNumberofPDUsessions | 不支持 | ||
| kPIMonitoringList | 不支持 | ||
| supportedAccessTechnology | 不支持 | ||
| v2XCommunicationModeIndicator | 不支持 | ||
| addServiceProfileChargingInfo | 不支持 | ||
| 6.1.6.2.6.5 | Type Throughput | 不支持 | |
| guaranteedThpt | 不支持 | ||
| maximumThpt | 不支持 | ||
| 6.1.6.2.7 | NS performance and analytics Specified Data Type | 不支持 | |
| 6.1.6.2.7.1 | Type ChargingDataRequest | 不支持 | |
| tenantIdentifier | 不支持 | ||
| nSPAChargingInformation | 不支持 | ||
| 6.1.6.2.7.2 | Type ChargingDataResponse | 不支持 | |
| 6.1.6.2.7.3 | Type UsedUnitContainer | 不支持 | |
| nSPAContainerInformation | 不支持 | ||
| 6.1.6.2.7.4 | Type NSPAChargingInformation | 不支持 | |
| singleNSSAI | 不支持 | ||
| 6.1.6.2.7.5 | Type NSPAContainerInformation | 不支持 | |
| latency | 不支持 | ||
| throughput | 不支持 | ||
| maximumPacketLossRate | 不支持 | ||
| serviceExperienceStatisticsData | 不支持 | ||
| theNumberOfPDUSessions | 不支持 | ||
| theNumberOfRegisteredSubscribers | 不支持 | ||
| loadLevel | 不支持 | ||
| 6.1.6.3 | Simple data types and enumerations | 支持 | |
| 6.1.6.3.1 | Introduction | 支持 | |
| 6.1.6.3.2 | Simple data types | 支持扩展 | |
| Diagnostics | 支持扩展 | ||
| IPFilterRule | 支持扩展 | ||
| N2ConnectionMessageType | 支持扩展 | ||
| LocationReportingMessageType | 支持扩展 | ||
| 6.1.6.3.3 | Enumeration: NotificationType | 支持 | |
| 6.1.6.3.4 | Enumeration: NodeFunctionality | 支持 | |
| 6.1.6.3.5 | Enumeration: ChargingCharacteristicsSelectionMode | 支持 | |
| 6.1.6.3.6 | Enumeration: TriggerType | 支持 | 支持 FINAL、RAT_CHANGE 和 TARIFF_TIME_CHANGE。其他 trigger types 通过扩展支持。 |
| 6.1.6.3.7 | Enumeration: FinalUnitAction | 支持 | |
| 6.1.6.3.8 | Enumeration: RedirectAddressType | 支持 | |
| 6.1.6.3.9 | Enumeration: TriggerCategory | 支持 | |
| 6.1.6.3.10 | Enumeration: QuotaManagementIndicator | 支持 | |
| 6.1.6.3.11 | Enumeration: FailureHandling | 支持 | |
| 6.1.6.3.12 | Enumeration: SessionFailover | 支持 | |
| 6.1.6.3.13 | Enumeration: 3GPPPSDataOffStatus | 支持 | |
| 6.1.6.3.14 | Enumeration: ResultCode | 支持 | |
| 6.1.6.3.15 | Enumeration: PartialRecordMethod | 支持 | |
| 6.1.6.3.16 | Enumeration: RoamerInOut | 支持 | |
| 6.1.6.3.17 | Void | 支持 | |
| 6.1.6.3.18 | Enumeration: SMMessageType | 支持 | |
| 6.1.6.3.19 | Enumeration: SMPriority | 支持 | |
| 6.1.6.3.20 | Enumeration: DeliveryReportRequested | 支持 | |
| 6.1.6.3.21 | Enumeration: InterfaceType | 支持 | |
| 6.1.6.3.22 | Enumeration: ClassIdentifier | 支持 | |
| 6.1.6.3.23 | Enumeration: SMAddressType | 支持 | |
| 6.1.6.3.24 | Enumeration: SMAddresseeType | 支持 | |
| 6.1.6.3.25 | Enumeration: SMServiceType | 支持 | |
| 6.1.6.3.26 | Enumeration: ReplyPathRequested | 支持 | |
| 6.1.6.3.27 | Enumeration: DnnSelectionMode | 支持 | |
| 6.1.6.3.28 | Enumeration: EventType | 支持 | |
| 6.1.6.3.29 | Enumeration: MICOModeIndication | 支持 | |
| 6.1.6.3.30 | Enumeration: RegistrationMessageType | 支持 | |
| 6.1.6.3.31 | Enumeration: SmsIndication | 支持 | |
| 6.1.6.3.32 | Enumeration: APIDirection | 支持 | |
| 6.1.6.3.33 | Enumeration: ManagementOperation | 支持 | |
| 6.1.6.3.34 | Enumeration: ManagementOperationStatus | 支持 | |
| 6.1.6.4 | Data types describing alternative data types or combinations of data types | 不适用 | |
| 6.1.6.5 | Binary data | 不适用 | |
| 6.1.7 | Error handling | 支持 | |
| 6.1.7.1 | General | 支持 | |
| 6.1.7.2 | Protocol Errors | 不适用 | |
| 6.1.7.3 | Application errors | 支持 | |
| 6.1.8 | Feature negotiation | 不支持 | |
| 6.2 | Nchf_OfflineOnlyCharging Service API | 支持 | |
| 6.2.1 | Introduction | 支持 | |
| 6.2.2 | Usage of HTTP | 支持 | |
| 6.2.3 | Resources | 支持 | |
| 6.2.3.1 | Overview | 支持 | |
| 6.2.3.2 | Resource: Charging Data | 支持 | |
| 6.2.3.2.1 | Description | 支持 | |
| 6.2.3.2.2 | Resource Definition | 支持 | |
| 6.2.3.2.3 | Resource Standard Methods | 支持 | |
| 6.2.3.2.3.1 | POST | 支持 | ChargingDataRequest and ChargingDataResponse。响应包含以下代码之一:成功时为 201 (created)。失败时 ProblemDetails 包含 400、403 和 404。 |
| 6.2.3.2.4 | Resource Custom Operations | 不适用 | |
| 6.2.3.3 | Resource: Individual Offline Only Charging Data | 支持 | |
| 6.2.3.3.1 | Description | 支持 | |
| 6.2.3.3.2 | Resource Definition | 支持 | |
| 6.2.3.3.3 | Resource Standard Methods | 不适用 | |
| 6.2.3.3.4 | Resource Custom Operations | 支持 | |
| 6.2.3.3.4.1 | Overview | 支持 | |
| 6.2.3.3.4.2 | Operation: update | 支持 | |
| 6.2.3.3.4.2.1 | Description | 支持 | |
| 6.2.3.3.4.2.2 | Operation Definition | 支持 | ChargingDataRequest and ChargingDataResponse。响应包含以下代码之一:成功时为 200 (OK)。失败时 ProblemDetails 包含 400、403 和 404。 |
| 6.2.3.3.4.3 | Operation: release | 支持 | |
| 6.2.3.3.4.3.1 | Description | 支持 | |
| 6.2.3.3.4.3.2 | Operation Definition | 支持 | ChargingDataRequest and ChargingDataResponse。成功时响应为 204 (No content)。失败时 ProblemDetails 包含 404。 |
| 6.2.4 | Custom Operations without associated resources | 不适用 | |
| 6.2.5 | Data Model | 支持 | |
| 6.2.5.1 | General | 支持 | |
| 6.2.5.2 | Structured data types | 支持 | |
| 6.2.5.2.1 | Common Data Type | 支持 | |
| 6.2.5.2.1.1 | Type ChargingDataRequest | 支持 | |
| subscriberIdentifier | 支持 | ||
| nfConsumerIdentification | 支持 | ||
| invocationTimeStamp | 支持扩展 | ||
| invocationSequenceNumber | 支持 | ||
| serviceSpecificationInformation | 支持 | ||
| multipleUnitUsage | 支持扩展 | ||
| triggers | 支持扩展 | 参见 6.2.5.3.5 了解支持的 Trigger 类型。 | |
| 6.2.5.2.1.2 | Type ChargingDataResponse | 支持 | |
| invocationTimeStamp | 支持 | ||
| invocationResult | 支持 | ||
| invocationSequenceNumber | 支持 | ||
| sessionFailover | 支持 | ||
| triggers | 支持扩展 | ||
| 6.2.5.2.1.3 | Type MultipleUnitUsage | 支持 | |
| ratingGroup | 支持 | ||
| usedUnitContainer | 支持 | ||
| 6.2.5.2.1.4 | Type UsedUnitContainer | 支持 | |
| serviceId | 支持 | ||
| triggers | 支持 | ||
| triggerTimeStamp | 支持 | ||
| time | 支持 | ||
| totalVolume | 支持扩展 | ||
| uplinkVolume | 支持 | ||
| downlinkVolume | 支持 | ||
| serviceSpecificUnits | 支持 | ||
| eventTimeStamps | 支持扩展 | ||
| localSequenceNumber | 支持扩展 | ||
| 6.2.5.2.1.5 | Type Trigger | 支持扩展 | |
| triggerType | 支持扩展 | ||
| triggerCategory | 支持扩展 | ||
| timeLimit (DurationSec) | 支持扩展 | ||
| volumeLimit64 | 支持扩展 | ||
| eventLimit | 支持扩展 | ||
| maxNumberOfccc | 支持扩展 | ||
| 6.2.5.2.2 | 5G Data Connectivity Specified Data Type | 支持 | |
| 6.2.5.2.2.1 | Type ChargingDataRequest | - | 与 6.1.6.2.2.1 相同 |
| 6.2.5.2.2.2 | Type ChargingDataResponse | - | 与 6.2.5.2.1.2 相同 |
| 6.2.5.2.2.3 | Type MultipleUnitUsage | - | 与 6.2.5.2.1.3 相同 |
| 6.2.5.2.2.4 | Type UsedUnitContainer | - | 与 6.2.5.2.1.4 相同 |
| 6.2.5.2.2.5 | Type PDUSessionChargingInformation | - | 与 6.1.6.2.2.6 相同 |
| 6.2.5.2.2.6 | Type UserInformation | - | 与 6.1.6.2.2.7 相同 |
| 6.2.5.2.2.7 | Type PDUSessionInformation | - | 与 6.1.6.2.2.8 相同 |
| 6.2.5.2.2.8 | Type PDUContainerInformation | - | 与 6.1.6.2.2.9 相同 |
| 6.2.5.2.2.9 | Type NetworkSlicingInfo | - | 与 6.1.6.2.2.10 相同 |
| 6.2.5.2.2.10 | Type PDUAddress | - | 与 6.1.6.2.2.11 相同 |
| 6.2.5.2.2.11 | Type ServingNetworkFunctionID | - | 与 6.1.6.2.2.12 相同 |
| 6.2.5.2.2.12 | Type RoamingQBCInformation | - | 与 6.1.6.2.2.13 相同 |
| 6.2.5.2.2.13 | Type MultipleQFIcontainer | - | 与 6.1.6.2.2.14 相同 |
| 6.2.5.2.2.14 | Type RoamingChargingProfile | - | 与 6.1.6.2.2.15 相同 |
| 6.2.5.2.2.15 | Type QFIContainerInformation | - | 与 6.1.6.2.2.16 相同 |
| 6.2.5.2.2.16 | Type RANSecondaryRATUsageReport | - | 与 6.1.6.2.2.17 相同 |
| 6.2.5.2.2.17 | Type QosFlowsUsageReport | - | 与 6.1.6.2.2.18 相同 |
| 6.2.5.3 | Simple data types and enumerations | 支持 | |
| 6.2.5.3.1 | Introduction | 支持 | |
| 6.2.5.3.2 | Simple data types | - | 与 6.1.6.3.2 相同 |
| 6.2.5.3.3 | Enumeration: ChargingCharacteristicsSelectionMode | - | 与 6.1.6.3.5 相同 |
| 6.2.5.3.4 | Enumeration: NodeFunctionality | 支持 | |
| 6.2.5.3.5 | Enumeration: TriggerType | 支持 | 支持 FINAL、RAT_CHANGE 和 TARIFF_TIME_CHANGE。其他 trigger types 通过扩展支持。 |
| 6.2.5.3.6 | Enumeration: ResultCode | 支持 | |
| 6.2.5.3.7 | Enumeration: 3GPPPSDataOffStatus | - | 与 6.1.6.3.13 相同 |
| 6.2.5.3.8 | Enumeration: PartialRecordMethod | - | 与 6.1.6.3.15 相同 |
| 6.2.5.3.9 | Enumeration: RoamerInOut | - | 与 6.1.6.3.16 相同 |
| 6.2.5.3.10 | Enumeration: SubscriberIdentityType | - | 与 6.1.6.3.17 相同 |
| 6.2.6 | Error handling | 支持 | |
| 6.2.6.1 | General | 支持 | |
| 6.2.6.2 | Protocol Errors | 不适用 | |
| 6.2.6.3 | Application errors | 支持 | |
| 6.2.7 | Feature negotiation | 不支持 | |
| 7 | Bindings of CDR field, Information Element and Resource Attribute | 支持 | |
| 7.0 | General | 支持 | |
| 7.1 | Bindings of common CDR field, Information Element and Resource Attribute | 支持 | |
| 7.2 | Bindings for 5G data connectivity | 支持 | |
| 7.3 | Bindings for SMS charging | 不支持 | |
| 7.4 | Bindings for 5G connection and mobility | 不支持 | |
| 7.5 | Bindings for Exposure Function Northbound API charging | 不支持 | |
| 7.6 | Bindings for NS performance and Analytics charging | 不支持 | |
| 8.0 | Security | 不支持 | 不支持 OAuth2。 |
响应代码
表 1-2: 响应代码
| Response codes | Description |
|---|---|
| 201 Created (Create) | 确认已创建 Charging Data 资源,并返回该资源的表示。 Charging Data 资源已成功创建并返回。 所创建资源的表示通过 201 响应中的 Location header field 标识。 |
| 200 OK (Updates) | 确认已修改 Charging Data 资源,并返回该资源的表示。 已修改的 Charging Data 资源成功返回。 |
| 204 No Content (Release) | 与 ChargingDataRef 匹配的 Charging Data 资源已修改,然后被释放。 |
| 400 Bad Request | CHARGING_FAILED:HTTP request 被拒绝,因为 CHF 进行计费或创建 CDR 所需的 session 或 subscriber information 集不完整、有误或不可用(例如 Rating Group、subscriber information)。 RE_AUTHORIZATION_FAILED:HTTP request 被拒绝,因为 NF Consumer (CTF) 上报使用量所需的信息集不完整、有误或不可用。 |
| 403 Forbidden | CHARGING_NOT_APPLICABLE:HTTP request 被 CHF 拒绝,因为已确定无需任何计费或 CDR 创建即可向最终用户授予该服务。 END_USER REQUEST_DENIED:HTTP request 因与最终用户相关的限制或约束而被 CHF 拒绝。 QUOTA_LIMIT_REACHED:HTTP request 被 CHF 拒绝,因为最终用户账户无法覆盖所请求的服务。如果请求包含已使用单位,则在适用时会扣减这些单位。 END_USER_REQUEST_REJECTED:HTTP request 因最终用户限制或约束而被 CHF 拒绝。 |
| 404 Not Found | USER_UNKNOWN:HTTP request 被拒绝,因为请求中指定的最终用户无法由 CHF 提供服务。 |
| 500 Internal Server Error | 通用应用程序错误 |
Charging Function 支出限额控制服务
章节合规
下表根据 3GPP TS 29.594 v16.3.0 (2020-09) 概述 5G System Charging Service 中各章节的合规情况。
表 2-1: 5G System Charging Service 3GPP TS 29.594 v16.3.0 (2020-09) 章节合规
| Section Number | Section | Status | Notes |
|---|---|---|---|
| 1 | Scope | 信息性 | - |
| 2 | References | 信息性 | - |
| 3 | Definitions and abbreviations | 信息性 | - |
| 4 | Nchf_SpendingLimitControl Service | 支持 | - |
| 4.1 | Service Description | 支持 | - |
| 4.1.1 | Overview | 支持 | - |
| 4.1.2 | Service Architecture | 支持 | - |
| 4.1.3 | Network Functions | 支持 | - |
| 4.1.3.1 | Charging Function (CHF) | 支持 | - |
| 4.1.3.2 | NF Service Consumers | 支持 | - |
| 4.2 | Service Operations | 支持 | - |
| 4.2.1 | Introduction | 支持 | - |
| 4.2.2 | Nchf_SpendingLimitControl_Subscribe service operation | 支持 | - |
| 4.2.2.1 | General | 支持 | - |
| 4.2.2.2 | Initial spending limit retrieval | 支持 | - |
| 4.2.2.3 | Intermediate spending limit report retrieval | 支持 | - |
| 4.2.3 | Nchf_SpendingLimitControl_Unsubscribe service operation | 支持 | - |
| 4.2.3.1 | General | 支持 | - |
| 4.2.3.2 | Unsubscribe from spending limit reporting | 支持 | - |
| 4.2.4 | Nchf_SpendingLimitControl_Notify service operation | 支持 | - |
| 4.2.4.1 | General | 支持 | - |
| 4.2.4.2 | Spending limit report | 支持 | - |
| 4.2.4.3 | Subscription termination request by CHF | 不支持 | - |
| 5 | Nchf_SpendingLimitControl Service API | 支持 | - |
| 5.1 | Introduction | 支持 | - |
| 5.2 | Usage of HTTP | 支持 | - |
| 5.2.1 | General | 支持 | - |
| 5.2.2 | HTTP standard headers | 支持 | - |
| 5.2.2.1 | General | 支持 | - |
| 5.2.2.2 | Content type | 支持 | - |
| 5.2.3 | HTTP custom headers | 支持 | 在自定义标头中,仅支持 3gpp-Sbi-Target-apiRoot header。 |
| 5.3 | Resources | 支持 | - |
| 5.3.1 | Resource Structure | 支持 | - |
| 5.3.2 | Resource: Spending Limit Retrieval Subscriptions (Collection) | 支持 | - |
| 5.3.2.1 | Description | 支持 | - |
| 5.3.2.2 | Resource Definition | 支持 | - |
| 5.3.2.3 | Resource Standard Methods | 支持 | - |
| 5.3.2.3.1 | POST | 支持 | 使用 SpendingLimitContext 的 POST request,用于创建新的 individual spending limit retrieval subscription。 POST Response 包含 SpendingLimitStatus 作为 201 (Created),ProblemDetails 带 400 (Bad Request)。 |
| 5.3.2.4 | Resource Custom Operations | 不适用 | - |
| 5.3.3 | Resource: Individual Spending Limit Retrieval Subscription (Document) | 支持 | - |
| 5.3.3.1 | Description | 支持 | - |
| 5.3.3.2 | Resource definition | 支持 | - |
| 5.3.3.3 | Resource Standard Methods | 支持 | - |
| 5.3.3.3.1 | PUT | 支持 | 使用 SpendingLimitContext 的 PUT request,用于修改现有 individual spending limit retrieval subscription。 POST Response 包含 SpendingLimitStatus 作为 200 (OK),ProblemDetails 带 400 (Bad Request)。 |
| 5.3.3.3.2 | DELETE | 支持 | DELETE request。 DELETE Response 包含 204 (No Content)。成功场景:与 subscriptionId 匹配的 individual spending limit subscription 已删除。 |
| 5.4 | Customer Operations without associated resources | 不适用 | - |
| 5.5 | Notifications | 支持 | - |
| 5.5.1 | General | 支持 | 不支持 Terminate |
| 5.5.2 | Spending limit notification | 支持 | - |
| 5.5.2.1 | Description | 支持 | - |
| 5.5.2.2 | Target URI | 支持 | - |
| 5.5.2.3 | Standard Methods | 支持 | - |
| 5.5.2.3.1 | POST | 支持 | 使用 SpendingLimitStatus 针对 policy counters 发送 POST request。 POST Response 包含 204 (no Content),并确认已收到通知。 |
| 5.5.3 | Subscription Termination | 不支持 | - |
| 5.5.3.1 | Description | 支持 | - |
| 5.5.3.2 | Target URI | 支持 | - |
| 5.5.3.3 | Standard Methods | 支持 | - |
| 5.5.3.3.1 | POST | 支持 | 使用 SubscriptionTerminationInfo 的 POST request,用于删除资源。 POST Response 包含 204 (no Content),并确认已收到通知。 |
| 5.6 | Data Model | 支持 | - |
| 5.6.1 | General | 支持 | - |
| 5.6.2 | Structured data types | 支持 | - |
| 5.6.2.1 | Introduction | 支持 | - |
| 5.6.2.2 | Type SpendingLimitContext | 支持 | - |
| 5.6.2.3 | Type SpendingLimitStatus | 支持 | - |
| 5.6.2.4 | Type PolicyCounterInfo | 支持 | - |
| 5.6.2.5 | Type PendingPolicyCounterStatus | 支持 | - |
| 5.6.2.6 | Type SubscriptionTerminationInfo | 不支持 | - |
| 5.6.3 | Simple data types and enumerations | 支持 | - |
| 5.6.3.1 | Introduction | 支持 | - |
| 5.6.3.2 | Simple data types | 支持 | - |
| 5.6.3.3 | Enumeration: TerminationCause | 不支持 | - |
| 5.7 | Error handling | 支持 | - |
| 5.7.1 | General | 支持 | - |
| 5.7.2 | Protocol Errors | 不适用 | - |
| 5.7.3 | Application Errors | 支持 | - |
| 5.8 | Feature negotiation | 不支持 | - |
| 5.9 | Security | 不支持 | 不支持 OAuth2。 |
响应代码
表 2-2: 响应代码
| Response codes | Description |
|---|---|
| 201 Created | SUCCESS:spending limit subscription 已创建,并提供 spending limit reports。 |
| 200 OK | individual spending limit subscription 已修改,并提供 spending limit reports。 |
| 204 No Content | 请参见各个操作 |
| 400 Bad Request | USER_UNKNOWN:请求中指定的 subscriber 在 CHF 中未知,因此无法创建 subscription。 NO_AVAILABLE_POLICY_COUNTERS:CHF 中没有可供该 subscriber 使用的 policy counters |
| 500 Internal Server Error | 通用应用程序错误 |
Charging Function 与 Network Repository Function (NRF) 的交互
章节合规
下表根据 3GPP TS 29.510 v16.5.0 (2020-09) 中的 5G System Network Function Repository Services,说明 CHF 作为 consumer Network Function 与 NRF 交互时支持的服务。
表 3-1: CHF 作为 Consumer Network Function 支持的服务
| Section Number | Section | Status | Notes |
|---|---|---|---|
| 5 | Services Offered by the NRF | 支持 | |
| 5.1 | Introduction | 支持 | 仅支持 NFManagement Service 及其 NFRegister、NFUpdate、NFDeregister 和 NFListRetrieval 操作。 |
| 5.2 | Nnrf_NFManagement Service | 支持 | |
| 5.2.1 | Service Description | 支持 | |
| 5.2.2 | Service Operations | 支持 | |
| 5.2.2.1 | Introduction | 支持 | |
| 5.2.2.2 | NFRegister | 支持 | |
| 5.2.2.2.1 | General | 支持 | |
| 5.2.2.2.2 | NF (other than NRF) registration to NRF | 支持 | |
| 5.2.2.3 | NFUpdate | 支持 | |
| 5.2.2.3.1 | General | 支持 | |
| 5.2.2.3.2 | NF Heart-Beat | 支持 | |
| 5.2.2.4 | NFDeregister | 支持 | |
| 5.2.2.4.1 | General | 支持 | |
| 5.2.2.5 | NFStatusSubscribe | 不支持 | |
| 5.2.2.6 | NFStatusNotify | 不支持 | |
| 5.2.2.7 | NFStatusUnsubscribe | 不支持 | |
| 5.2.2.8 | NFListRetrieval | 支持 | |
| 5.2.2.8.1 | General | 支持 | |
| 5.2.2.9 | NFProfileRetrieval | 不支持 | |
| 5.2.2.9.1 | General | 不支持 |
CHF-CDR 格式
下表概述 3GPP TS 32.298 version 16.5.0 规范中 3GPP Charging Function Call Detail Record (CHF-CDR) 字段的合规状态。
表 4-1: CHF-CDR 格式
| Field | Status |
|---|---|
| Record Type | 支持 |
| Recording Network Function ID | 不支持 |
| Charging Session Identifier | 支持 |
| Subscriber Identifier | 支持 |
| NF Consumer Information | 支持 |
| NF Functionality | 支持 |
| NF Name | 支持 |
| NF Address | 支持 |
| NF PLMN ID | 支持 |
| Triggers | 支持 |
| SMF Triggers | 支持 |
| List of Multiple Unit Usage | 支持 |
| Rating Group | 支持 |
| Used Unit Container | 支持 |
| Service Identifier | 支持 |
| Quota management Indicator | 支持 |
| Local Sequence Number | 支持 |
| Time | 支持 |
| Uplink Volume | 支持 |
| Downlink Volume | 支持 |
| Total Volume | 支持 |
| Service Specific Units | 支持 |
| Event Time Stamp | 支持 |
| Rating Indicator | 支持 |
| Triggers | 支持 |
| SMF Triggers | 支持 |
| Trigger Time Stamp | 支持 |
| PDU Container Information | 支持 |
| UPF ID | 支持 |
| Record Opening Time | 支持 |
| Duration | 支持 |
| Record Sequence Number | 支持 |
| Cause for Record Closing | 支持 |
| Local Record Sequence Number | 支持 |
| Record Extensions | 不支持 |
| Service Specification Information | 支持 |
| PDU Session Charging Information | 支持 |
| Roaming QBC Information | 支持 |
| SMS Charging Information | 支持 |
| Registration Charging Information | 不支持 |
| N2 connection charging Information | 不支持 |
| Location reporting charging Information | 不支持 |