5G核心网学习平台
CHF 实践篇 #01

CHF产生的离线话单(CHF-CDR)长啥样?

《5G核心网原理与实践》实践篇 · CHF 网元功能

CHF产⽣的离线话单(CHF-CDR)⻓啥样?

爱卫生

2023年08月28日 23:57

CHF产生的离线话单在32.298的5.1.5.0节CHF record (CHF-CDR)定义。

主要参数太多,具体请翻阅规范。这里仅摘录主要参数的名称。

CHF-CDR中的主要参数包括:

- Record Type

- Recording Network Function ID

- Charging Session Identifier

- Subscriber Identifier

- Tenant Identifier

- MnS Consumer Identifier

- NF Consumer Information

- NF Functionality

- NF Name

- Charging Identifier

- Triggers

- SMF Triggers

- NF PLMN ID

- NF Address

- 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

- NSPA Container Information

- PC5 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

- NEF API Charging Information

- NSPA Charging Information

- NSM charging Information

- Location reporting charging Information

- N2 connection charging Information

- IMS Charging Information

- ProSe charging Information

- Edge Enabling Infrastructure Resource Usage Charging Information

- EAS Deployment Charging Information

- Direct Edge Enabling Service Charging Information

- Exposed Edge Enabling Service Charging Information

- EAS ID

- EDN ID

- EAS Provider Identifier

然后来看一个真实的CHF-CDR实例。

CHFRecord.CHFRecord.chargingFunctionRecord

{

recordType : '200'D

recordingNetworkFunctionID : "chf.changjia.com"

subscriberIdentifier

{

subscriptionIDType : 'eND-USER-IMSI (1)'

subscriptionIDData : 'xxxxx0383830303030303333303031'H

}

nFunctionConsumerInformation

{

networkFunctionality : 'sMF (1)'

networkFunctionName : "9ba5c290-xxxx-4d72-b718-10018003xxxx"

networkFunctionIPv4Address

{

iPTextV4Address : "10.10.xx.xx"

}

networkFunctionPLMNIdentifier : '64F0xx'H

networkFunctionIPv6Address

{

iPTextV6Address : "2409:8000:xxxx:xxxx::12f"

}

}

triggers

{

sMFTrigger : '503'D

}

listOfMultipleUnitUsage

ratingGroup : '253'D

usedUnitContainers

sMFTrigger : '503'D

}

triggers

{

triggerTimeStamp : '2103011924092B0800'H

dataTotalVolume : '303104'D

dataVolumeUplink : '151552'D

dataVolumeDownlink : '151552'D

localSequenceNumber : '5'D

ratingIndicator : '0'D

pDUContainerInformation

{

timeOfFirstUsage : '2103011923462B0800'H

timeOfLastUsage : '2103011924012B0800'H

}

quotaManagementIndicator : '1'D

recordOpeningTime : '2103011923462B0800'H

duration : '23'D

recordSequenceNumber : '5'D

causeForRecClosing : '0'D

localRecordSequenceNumber : '1350'D

pDUSessionChargingInformation

{

pDUSessionChargingID : '3691180905'D

userIdentifier

{

iSDN-E164 : "861380003xxxx"

}

userEquipmentInfo

{

subscriberEquipmentNumberType : 'iMEISV (0)'

subscriberEquipmentNumberData : '86xxx00003300xxx'H

}

userLocationInformation : '161xxx64F0xx00000xxxF0xx0000xxx000'H

pDUSessionId : '5'D

networkSliceInstanceID

{

sST : '3'D

sD : '000001'H

}

pDUType : 'iPv4 (1)'

sSCMode : '1'D

sUPIPLMNIdentifier : '64FxxxF8'H

servingNetworkFunctionID

servingNetworkFunctionInformation

{

networkFunctionality : 'aMF (2)'

networkFunctionName : "5440184d-xxxx-xxxx-be9e-65142cb2affc"

networkFunctionIPv6Address

{

}

iPTextV6Address : "2409:aa:bb:cc:1:2:3:4"

}

aMFIdentifier : 'xxxxC3FFFFFF'H

}

}

rATType : '51'D

dataNetworkNameIdentifier : "apnxx"

pDUAddress

{

pDUIPv4Address

{

iPTextV4Address : "172.24.x.x"

}

iPV4dynamicAddressFlag : '1'D

}

uETimeZone : '2300'H

pDUSessionstartTime : '2103011915292B0800'H

pDUSessionstopTime : '2103011924092B0800'H

chargingCharacteristics : '0400'H

chChSelectionMode : 'homeDefault (3)'

subscribedQoSInformation

{

fiveQi : '8'D

aRP

{

priorityLevel : '2'D

preemptionCapability : 'nOT-PREEMPT (0)'

preemptionVulnerability : 'nOT-PREEMPTABLE (0)'

}

}

subscribedSessionAMBR

{

ambrUL : '50000000'H

ambrDL : '0150000000'H

}

servingCNPLMNID : '64F0xx'H

}

chargingSessionIdentifier : 'xxxx3931313830393035'H

}

无论是想学习课程、看视频、看案例、看log、看实战,统统都有。

← 返回 CHF 实践篇