[0032] Example 1:
[0033] Solving the current 5G network architecture without providing a method of data traffic statistics involving multiple UPF anchor PSAs. The embodiment of the present invention provides a data flow monitoring method, including: session management network element SMF receives the amount monitoring example issued by the charging control policy network element PCF, and converts the amount of monitoring instance into the usage report rule URR; session management The NE SMF issues the Dosage Rule URR to the ULCL UPF, and at least two UPF anchor points under ULCL UPF, the first PSA and the second PSA, ULCL UPF for session management network elements SMF data reported in the created PDU session A ULCL UPF inserted in the transmission path; session management network element SMF, determines traffic usage according to the traffic statistics reported by the ULCL UPF and at least two UPF anchor points, and transmitted to the charging control policy network Yuan PCF.
[0034] See figure 2 , figure 2 A flow chart of a data flow monitoring method provided in this embodiment. figure 2 The data traffic monitoring method is based on the existing PDU session, the flow steps of data traffic monitoring methods include:
[0035] Step S201, the SMF receives the amount of monitoring monitoring of PCF.
[0036] Step S202, SMF converts the received amount monitoring instance into a dosage report rule URR.
[0037] Step S203, SMF transmits the amount reporting rule URR to ULCl, first PSA, and second PSA.
[0038] Step S204, the SMF receives the traffic statistics of the ULCl, the first PSA, and the second PSA returned.
[0039] Step S205, the SMF determines the amount of traffic according to the returned traffic statistics.
[0040]Step S206, SMF transmits the flow rate to the PCF.
[0041] In some facts, the session management network element SMF receives the usage monitoring instance from the billing control policy network element PCF, including: Detection whether there is a new user terminal access 5G network, for time, session management network element SMF Create a PDU session for the new user terminal. Since the embodiment of the present invention is to give a PDU session protocol in a 5G network, the session management network element SMF needs to determine if there is an accessed user terminal, and when the new user terminal is connected, the user terminal establishes PDU. Session.
[0042] In some embodiments, the amount of the amount monitoring includes: Monitoring Key and dosage Monitor threshold threshold thresholds; Dosage Report Rules URR includes: reporting traffic thresholds and URRIDs that report data traffic monitoring. Monitoring Key is a monitor key, a usage monitoring instance corresponds to a monitoring key; the amount of considers monitoring the threshold threshold threshold for triggering the session management network element SMF, and automatically subscribes to traffic statistics when the statistical flow on the SMF reaches the threshold threshold; The flow threshold is a threshold that triggers the UPF report. When the statistical flow on the UPF reaches the flow threshold, the traffic statistic is automatically on the traffic statistics; the URRID is the URR ID for identifying the URR.
[0043] In some embodiments, the session management network element SMF is the same as the ULCL UPF of the same PDU session, and the amount reporting rule URR transmitted by the first PSA and the second PSA. Multiple UPFs with the same PDU session use the same amount reporting rule URR, which can reduce the processing difficulty of the session management network element SMF, and can be easier to identify whether multiple UPFs are the same group.
[0044] In some embodiments, the conversation management network element SMF determines that the flow rate amount is determined by the flow rate statistical result reported by the ULCL UPF and at least two UPF anchor points, including: the downstream traffic statistics in the traffic statistics result of the ULCL UPF As a result, the downstream flow is used; the upstream traffic statistics result of the ULCL UPF is received, and the query instruction to the first PSA and the second PSA, obtain the first PSA and the second PSA upstream traffic statistics, and the first PSA and the first The sum of the upstream flow statistics results of the second PSA, compared to the upstream current statistics results of ULCL UPF, resulting in the amount of traffic.
[0045] Since the user terminal access 5G network, all downstream traffic is sent to the ULCL UPF through the PSA to send to the ULCL UPF, so the statistics of the downstream traffic only need to obtain the statistics of the downstream traffic from the ULCL UPF, ie when ULCL In the flow rate statistics of the UPF reach the flow threshold, the downstream traffic statistics result is obtained in the flow rate of SMF, that is, the downstream flow rate.
[0046] The upstream traffic is from the user terminal to the ULCL UPF to the PSA. Due to many PSAs, there is also a packet loss in the forwarding process, and the traffic required to monitor the upstream needs to be used simultaneously to get ULCL UPF and PSA traffic. statistical results. At the same time, since the URCL UPF and PSA received the same URR, the traffic threshold is the same, the statistical result of ULCLUPF will first reach the trigger value, and report the traffic statistics. At this time, the traffic statistics result of the PSA will require session management network elements. SMF actively inquiry, send a query instruction.
[0047] In some embodiments, when the upstream traffic statistics of the ULCL UPF is less than or equal to the sum of the upstream flow rate of the first PSA and the second PSA, the upstream traffic statistics result of the ULCL UPF is the amount of uplink traffic. When the upstream traffic statistics result of ULCL UPF is less than or equal to the sum of the upstream traffic delivery statistics of the first PSA and the second PSA, that is, the first PSA and the second PSA are not packetified during forwarding, so ULCL UPF The upstream flow statistics is equal to or equal to the sum of the upstream flow usage statistics of the first PSA and the second PSA.
[0048] In some embodiments, when the upstream flow rate of the ULCL UPF is greater than the sum of the upstream flow rate of the first PSA and the second PSA, the sum of the uplink flow rate is subtracted from the sum of the first PSA and the second PSA. The remaining threshold thresholds; updated the remaining threshold threshold threshold to the usage report rule URR to obtain the remaining amount reporting rules, and will be sent to ULCLUPF, and the first PSA and the second PSA. When the upstream traffic statistics of the ULCL UPF is greater than the sum of the first PSA and the second PSA's upstream flow, that is, the first PSA and the second PSA have a lost package during forwarding, but due to the packet There is a threshold threshold threshold threshold threshold that causes SMF to be monitored. It is not possible to report to the PCF. If the remainder is required, the remaining flow threshold is updated to the usage report rule URR, and the traffic is monitored until the threshold threshold threshold of the usage monitoring.
[0049] A data flow monitoring method provided by the embodiment of the present invention, receives the amount monitoring example from the charging control policy network element PCF through the session management network element SMF, and converts the dosage monitoring instance into the dosage report rule URR; session management network The dollar SMF issues the ULCL UPF under the ULCL UPF, and the first PSA and the second PSA under the ULCL UPF, and the second PSA, ULCL UPF is the data packet created by the session management network element SMF in the created PDU session. A ULCL UPF inserted in the transmission path; session management network element SMF, determines traffic consumption according to the traffic statistics reported by the ULCL UPF and at least two UPF anchor points first PSA and the second PSA, and transmitted to the charging control policy network element PCF. During some implementation, session management network element SMF can be implemented to multiple UPF transmission Dosage Rule URR, and the flow rate is determined by traffic statistics returned by multiple UPFs, and data traffic can be more accurately monitored.