CN113938852A - Data traffic monitoring method, SMF network element, PSA network element and readable storage medium - Google Patents
Data traffic monitoring method, SMF network element, PSA network element and readable storage medium Download PDFInfo
- Publication number
- CN113938852A CN113938852A CN202010672472.7A CN202010672472A CN113938852A CN 113938852 A CN113938852 A CN 113938852A CN 202010672472 A CN202010672472 A CN 202010672472A CN 113938852 A CN113938852 A CN 113938852A
- Authority
- CN
- China
- Prior art keywords
- psa
- usage
- network element
- upf
- traffic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1432—Metric aspects
- H04L12/1435—Metric aspects volume-based
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
According to the data traffic monitoring method, the SMF network element, the PSA network element and the readable storage medium provided by the embodiment of the invention, the usage monitoring instance sent by the PCF is received by the session management network element SMF, and the usage monitoring instance is converted into the usage report rule URR; the session management network element SMF issues the usage report rule URR to the ULCL UPF, and the first PSA and the second PSA of at least two UPF anchor points under the ULCL UPF, wherein the ULCL UPF is one ULCL UPF inserted in a data message transmission path of the created PDU session by the session management network element SMF; and the session management network element SMF determines the traffic volume according to the ULCL UPF and the traffic volume statistical results reported by the first PSA and the second PSA of the at least two UPF anchor points, and sends the traffic volume statistical results to the charging control policy network element PCF. In some implementation processes, the session management network element SMF can send the usage reporting rule URR to the plurality of UPFs, and the traffic usage is determined according to the traffic statistics returned by the plurality of UPFs, so that the data traffic can be monitored more accurately.
Description
Technical Field
The embodiment of the invention relates to the technical field of 5G communication, in particular to but not limited to a data traffic monitoring method, an SMF network element, a PSA network element and a readable storage medium.
Background
In a 5 th generation communication system (5G), when a user accesses a 5G network, the user creates a PDU (protocol Data unit) Session through a Session management network element SMF, the Session management network element SMF inserts an Uplink Classifier UPF network element (Uplink Classifier) abbreviated as UL CL UPF into a Data packet transmission path of the PDU Session, and the Data packet of the user is forwarded to different UPF anchor points psa (PDU Session anchor) through the UL CL UPF network element. For the data message passing through the UPF network element, the data flow of the user can be monitored by adopting a mode of monitoring the amount issued by the PCF. The usage monitoring issued by the PCF can be directed to a certain service or a group of services, and can also be directed to all services on the PDU session of the user. Since the data traffic exchange process of the user terminal includes not only UL CL UPF but also several UPFs such as UPF anchor PSA, the current 5G 3GPP 29.512 protocol does not describe how to perform the usage cumulative statistics for several UPFs.
Disclosure of Invention
The embodiment of the invention provides a data traffic monitoring method, an SMF network element, a PSA network element and a readable storage medium, aiming at solving the problem that a method for counting data traffic related to a PSA (multiple UPF anchor point) is not provided under the current 5G network architecture.
To solve the foregoing technical problem, an embodiment of the present invention provides a data traffic monitoring method, including:
a session management network element SMF receives a usage monitoring instance sent by a charging control policy network element PCF and converts the usage monitoring instance into a usage report rule URR;
the session management network element SMF issues the usage reporting rule URR to an ULCL UPF, and a first PSA and a second PSA of at least two UPF anchor points below the ULCL UPF, where the ULCL UPF is an ULCL UPF inserted in a data packet transmission path of the created PDU session by the session management network element SMF;
and the session management network element SMF determines the traffic usage according to the ULCL UPF and the traffic statistics reported by the first PSA and the second PSA of the at least two UPF anchor points, and sends the traffic usage to the charging control policy network element PCF.
The embodiment of the invention also provides a data traffic monitoring method, which comprises the following steps:
PSA of UPF anchor point receives the dosage report rule URR sent by the SMF, and counts the uplink flow according to the dosage report rule URR;
and when receiving a query instruction sent by the session management network element SMF, sending an uplink flow statistic result to the session management network element SMF.
An embodiment of the present invention further provides a session management network element SMF, including:
a receiving unit, configured to receive a usage monitoring instance issued by a charging control policy network element PCF, and traffic statistics results reported by an ULCL UPF and a first PSA and a second PSA of two UPF anchor points below the ULCL UPF, where the ULCL UPF is an ULCL UPF inserted in a data packet transmission path of a created PDU session by a session management network element SMF;
a conversion unit for converting the usage monitoring instance into a usage reporting rule URR;
a sending unit, configured to send the usage reporting rule URR to the ULCL UPF, and the first PSA and the second PSA of at least two UPF anchor points below the ULCL UPF, and send the traffic usage to the charging control policy network element PCF;
and the determining unit is used for determining the flow rate usage according to the ULCL UPF and the flow rate statistical results reported by the at least two UPF anchor points, namely the first PSA and the second PSA.
The embodiment of the present invention further provides a PSA network element of a UPF anchor, including:
a receiving unit, configured to receive a usage report rule URR and a query instruction sent by a session management network element SMF;
the statistical unit is used for counting the uplink flow according to the usage report rule URR;
and the sending unit is used for sending the uplink flow statistic result to the session management network element SMF when receiving the query instruction.
Embodiments of the present invention also provide a computer storage medium, where the computer storage medium stores one or more computer programs, and the one or more computer programs are executable by one or more processors to implement the steps of the data traffic monitoring method described above.
According to the data traffic monitoring method, the SMF network element, the PSA network element and the readable storage medium provided by the embodiment of the invention, the usage monitoring instance sent by the PCF is received by the session management network element SMF, and the usage monitoring instance is converted into the usage report rule URR; the session management network element SMF issues the usage report rule URR to the ULCL UPF, and the first PSA and the second PSA of at least two UPF anchor points under the ULCL UPF, wherein the ULCL UPF is one ULCL UPF inserted in a data message transmission path of the created PDU session by the session management network element SMF; and the session management network element SMF determines the traffic volume according to the ULCL UPF and the traffic volume statistical results reported by the first PSA and the second PSA of the at least two UPF anchor points, and sends the traffic volume statistical results to the charging control policy network element PCF. In some implementation processes, the session management network element SMF can send the usage reporting rule URR to the plurality of UPFs, and the traffic usage is determined according to the traffic statistics returned by the plurality of UPFs, so that the data traffic can be monitored more accurately.
Additional features and corresponding advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a schematic diagram of a 5G Uplink Classifier user plane architecture provided by an embodiment of the present invention;
fig. 2 is a schematic flowchart of a data traffic monitoring method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of usage monitoring installation according to a fourth embodiment of the present invention;
fig. 4 is a schematic flow chart of a data traffic monitoring method according to a fourth embodiment of the present invention, in a case where no packet is lost;
fig. 5 is a schematic flow chart of a data traffic monitoring method according to a fifth embodiment of the present invention in a case of packet loss;
fig. 6 is a schematic diagram of a session management network element SMF according to a sixth embodiment of the present invention;
fig. 7 is a schematic diagram of a PSA network element according to a sixth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the 5G Uplink Classifier user plane architecture of the embodiment of the present invention, when a user terminal accesses a 5G network, a session management network element SMF creates a PDU session for the user terminal, and inserts an Uplink Classifier UPF network element, abbreviated as an ULCL UPF network element, into a data packet transmission path of the PDU session, where a plurality of different UPF anchor points PSA are connected under the ULCL UPF network element, data traffic of the user terminal is sent out through the ULCL UPF network element and the UPF anchor point PSA, and meanwhile, returned data traffic is converged to the ULCL UPF network element through the UPF anchor point PSA and then returned to the user terminal. In the process, when the data traffic of the user terminal needs to be monitored, the charging control policy network element PCF sends a traffic monitoring instance to the session management network element SMF, where the traffic monitoring instance may be directed to a certain service or a group of services, or may be directed to all services on the PDU session of the user, the session management network element SMF sends a traffic reporting rule URR to a plurality of UPFs according to the traffic monitoring instance, the UPFs feed back data traffic statistics results to the session management network element SMF according to the traffic reporting rule URR, and the session management network element SMF sends the statistics results to the charging control policy network element PCF after summarizing the statistics results. A schematic diagram of the 5G Uplink Classifier user plane architecture can be seen in fig. 1.
The first embodiment is as follows:
the method solves the problem that the data traffic statistics related to the PSA of the multi-UPF anchor point are not provided under the current 5G network architecture. The embodiment of the invention provides a data flow monitoring method, which comprises the following steps: the session management network element SMF receives the usage monitoring example sent by the PCF and converts the usage monitoring example into a usage report rule URR; the session management network element SMF issues the usage report rule URR to the ULCL UPF, and the first PSA and the second PSA of at least two UPF anchor points under the ULCL UPF, wherein the ULCL UPF is one ULCL UPF inserted in a data message transmission path of the created PDU session by the session management network element SMF; and the session management network element SMF determines the traffic volume according to the ULCL UPF and the traffic volume statistical results reported by the first PSA and the second PSA of the at least two UPF anchor points, and sends the traffic volume statistical results to the charging control policy network element PCF.
Referring to fig. 2, fig. 2 is a schematic flow chart of a data traffic monitoring method according to the present embodiment. The data traffic monitoring method of fig. 2 is based on the existing PDU session, and the flow steps of the data traffic monitoring method include:
step S201, the SMF receives the usage monitoring example sent by the PCF.
Step S202, the SMF converts the received usage monitoring instance into a usage reporting rule URR.
Step S203, the SMF sends the usage reporting rule URR to the ULCL, the first PSA and the second PSA.
Step S204, the SMF receives the flow statistics returned by the ULCL, the first PSA and the second PSA.
And S205, determining the flow rate by the SMF according to the returned flow rate statistical result.
And step S206, the SMF sends the traffic volume to the PCF.
In some facts, before the session management network element SMF receives the usage monitoring instance delivered by the charging control policy network element PCF, the method further includes: and detecting whether a new user terminal accesses the 5G network, if so, the session management network element SMF creates a PDU session for the new user terminal. Because the embodiment of the invention provides the PDU session protocol in the 5G network, the session management network element SMF needs to determine whether a new user terminal is accessed, and establishes the PDU session for the user terminal when the new user terminal is accessed.
In some embodiments, examples of usage monitoring include: a threshold for monitoring a monitoring key and usage; the usage reporting rule URR includes: and reporting the flow threshold value and URRID of the data flow monitoring. The monitoring key is a monitoring key, and one dosage monitoring instance corresponds to one monitoring key; the threshold value of the usage monitoring is a threshold value reported by triggering the session management network element SMF, and when the statistical flow on the SMF reaches the threshold value, a flow statistical result is automatically reported; the flow threshold is a threshold for triggering the reporting of the UPF, and when the statistical flow on the UPF reaches the flow threshold, a flow statistical result is automatically reported; URRID is the ID of the URR and is used to identify the URR.
In some embodiments, the ULCL UPF and the usage reporting rules URR sent by the session management network element SMF to the same PDU session are the same for both the first PSA and the second PSA. The same quantity reporting rule URR is adopted by a plurality of UPFs of the same PDU conversation, so that the processing difficulty of the SMF of the conversation management network element can be reduced, and whether the UPFs are in the same group or not can be identified more easily.
In some embodiments, the determining, by the session management network element SMF, the traffic volume based on the ULCL UPF and the traffic statistics reported by the at least two UPF anchor points by the first PSA and the second PSA comprises: receiving a downlink traffic statistical result in the traffic statistical result of the ULCL UPF, wherein the downlink traffic statistical result is the downlink traffic usage; and receiving an uplink flow statistical result of the ULCL UPF, sending a query instruction to the first PSA and the second PSA, acquiring uplink flow statistical results of the first PSA and the second PSA, and comparing the sum of the uplink flow statistical results of the first PSA and the second PSA with the uplink flow statistical result of the ULCL UPF to obtain the uplink flow usage.
Because the user terminal is accessed into the 5G network, all downlink traffic is collected to the ULCL UPF through the PSA and then sent to the user terminal, the statistics of the downlink traffic usage only requires to obtain the statistical result of the downlink traffic from the ULCL UPF, that is, when the traffic statistics of the ULCL UPF reaches the traffic threshold, the obtained statistical result of the downlink traffic is the downlink traffic usage in the traffic statistical result returned to the session management network element SMF.
The uplink traffic is from the user terminal to the ULCL UPF and then to the PSA, and since there are many PSAs and packet loss still exists during forwarding, the traffic statistics of the ULCL UPF and the PSA need to be obtained at the same time when the uplink traffic usage needs to be accurately monitored. Meanwhile, because the ULCL UPF and the URR received by the PSA are the same, that is, the flow threshold is the same, the statistical result of the ULCL UPF will reach the trigger value first, and the flow statistical result is reported, and at this time, the session management network element SMF is required to actively inquire and send the query instruction to obtain the flow statistical result of the PSA.
In some embodiments, the upstream flow statistics of the ULCL UPF are the upstream flow usage when the upstream flow statistics of the ULCL UPF are less than or equal to the sum of the upstream flow usage statistics of the first PSA and the second PSA. And when the upstream flow statistical result of the ULCL UPF is less than or equal to the sum of the upstream flow usage statistical results of the first PSA and the second PSA, namely, the first PSA and the second PSA do not lose packet in the forwarding process, the upstream flow statistical result of the ULCL UPF is less than or equal to the sum of the upstream flow usage statistical results of the first PSA and the second PSA.
In some embodiments, when the upstream flow usage of the ULCL UPF is greater than the sum of the upstream flow usage of the first PSA and the second PSA, subtracting the sum of the upstream flow usage of the first PSA and the second PSA from the downstream flow usage to obtain a residual threshold; and updating the residual threshold value into the dosage report rule URR to obtain a residual dosage report rule, and sending the residual dosage report rule to the ULCL UPF, the first PSA and the second PSA. When the uplink flow statistical result of the ULCL UPF is greater than the sum of the uplink flow usage statistical results of the first PSA and the second PSA, that is, packet loss occurs in the forwarding process of the first PSA and the second PSA, but the SMF does not reach the threshold of usage monitoring due to the existence of the packet loss, cannot report to the PCF, needs to determine the remaining usage, updates the threshold of the remaining flow into the usage reporting rule URR, and monitors the flow again until the threshold of the usage monitoring is reached.
The embodiment of the invention provides a data flow monitoring method, which receives a usage monitoring example sent by a PCF (policy control element) through a session management element SMF (session management element), and converts the usage monitoring example into a usage report rule URR; the session management network element SMF issues the usage report rule URR to the ULCL UPF, and the first PSA and the second PSA of at least two UPF anchor points under the ULCL UPF, wherein the ULCL UPF is one ULCL UPF inserted in a data message transmission path of the created PDU session by the session management network element SMF; and the session management network element SMF determines the traffic volume according to the ULCL UPF and the traffic volume statistical results reported by the first PSA and the second PSA of the at least two UPF anchor points, and sends the traffic volume statistical results to the charging control policy network element PCF. In some implementation processes, the session management network element SMF can send the usage reporting rule URR to the plurality of UPFs, and the traffic usage is determined according to the traffic statistics returned by the plurality of UPFs, so that the data traffic can be monitored more accurately.
Example two:
the embodiment provides a data traffic monitoring method, which is applied to a 5G communication system, and the data traffic monitoring method includes: PSA of UPF anchor point receives the URR sent by SMF, and counts the upstream flow according to URR; and when receiving a query instruction sent by the session management network element SMF, sending the uplink flow statistic result to the session management network element SMF.
In some embodiments, the PSAs include at least a first PSA and a second PSA. The PSA is connected to the ULCL UPF, and after the user terminal has accessed the 5G network and a PDU session is established, the user terminal is connected to the ULCL UPF, and the ULCL UPF sends data out and receives data back through the PSA, so the PSA connected to the ULCL UPF usually comprises at least more than two.
In some embodiments, the usage reporting rule URR includes: reporting a flow threshold value and URRID of data flow monitoring; the first PSA and the second PSA receive the same usage reporting rule URR. By adopting the same quantity reporting rule URR, the processing difficulty of the session management network element SMF can be reduced, and whether a plurality of UPFs are in the same group or not can be more easily identified.
The implementation provides a data traffic monitoring method, which comprises the following steps: PSA of UPF anchor point receives the URR sent by SMF, and counts the upstream flow according to URR; and when receiving a query instruction sent by the session management network element SMF, sending the uplink flow statistic result to the session management network element SMF. The usage reporting rule URR sent by the session management network element SMF is sent to the PSA of the UPF anchor point, the PSA is usually provided with a plurality of PSA, the monitoring of the flow of the PSA is realized, and meanwhile, the statistical result of the uplink flow is obtained from the PSA for determining the flow usage, so that the accuracy of data flow monitoring can be further improved.
Example three:
the embodiment provides a data traffic monitoring method, which specifically comprises the following steps:
step S1, the charging control policy network element PCF issues a usage monitoring instance for monitoring the service data traffic on the PDU session created by the terminal user. The number of PSAs managed by the PDU session may be more than one, and in order to accurately count the data traffic of the user, the session management network element SMF needs to convert the usage monitoring instance into URRs and send the URRs to the ULCL UPF and anchor point UPF PSAs 1 and PSA2, respectively. The URRs for different UPFs receiving usage monitoring contain traffic thresholds for user data traffic monitoring and a URRID. URRID is an identification ID of one URR, and URRIDs on different UPFs may be the same or different, without limitation.
Step S2, the data packet of the user terminal is divided into uplink and downlink, and the downlink data packet is converged on the ULCL UPF before being forwarded to the terminal user, and it is clear whether the packet is discarded or forwarded to the ULCL UPF itself, so the invention can accurately count the traffic of the downlink packet without passing through the ULCL directly through PSA.
Step S3, the upstream data packet needs to be forwarded to PSA1 or PSA2 after passing through the ULCL UPF, and the final trend is known only to PSA, and if the upstream traffic is discarded on PSA, the ULCL UPF cannot know, so that the upstream traffic statistics is not accurate enough when placed on the ULCL UPF. With the flow rates of the respective URRs being counted on PSA1 and PSA 2. When the data traffic counted on the ULCL UPF reaches a URR threshold, reporting the SMF, and judging and managing the accuracy of the reported URR traffic by the SMF:
step S31, PSA1 and PSA2 have no packet loss phenomenon, that is, the uplink data flow rate of the URR corresponding to the ULCL UPF is equal to or less than the sum of the uplink data flow rate of the URR corresponding to the PSA1 plus the uplink data flow rate of the URR corresponding to the PSA 2. When the data flow of the ULCL UPF reaches the threshold of the issued URR, the ULCL UPF reports the URR to the SMF, the reported URR comprises uplink flow, downlink flow and total flow, the SMF queries flow statistics corresponding to the URR after receiving the data flow, the SMF queries the PSA1 and the PSA2, summarizes the queried uplink flows on the PSA1 and the PSA2 and compares the summarized uplink flows with the uplink flow reported by the ULCL UPF, and if the uplink data statistical flow corresponding to the URR on the ULCL UPF is found to be equal to or less than the sum of the uplink data flow corresponding to the URR on the PSA1 and the uplink data flow corresponding to the URR on the PSA2, the usage monitoring flow counted by the ULCL UPF is reported to the PCF.
Step S32, PSA1, or PSA2 has a packet loss phenomenon, that is, the uplink data traffic of the urc corresponding to the ULCL UPF is greater than the sum of the uplink data traffic of the URR corresponding to PSA1 plus the uplink data traffic of the URR corresponding to PSA 2. When the data flow of the ULCL UPF reaches the threshold limit of the URR of the ULCL UPF, the ULCL UPF reports the URR to the SMF, the reported URR comprises an uplink flow, a downlink flow and a total flow, the SMF queries flow statistics of corresponding URRs after receiving the data flow, queries PSA1 and PSA2, summarizes the queried uplink flows on PSA1 and PSA2 and compares the summarized uplink flows with the uplink flow reported by the ULCL UPF, and the found uplink data flow of the corresponding URR on the ULCL UPF is larger than the sum of the uplink data flow of the corresponding URR on PSA1 and the uplink data flow of the corresponding URR on PSA 2. This case indicates that the sum of the actual statistical flows at PSA1 and PSA2 has not reached the threshold of the issued URR, and SMF will buffer the sum of the upstream data flows of PSA1 and PSA2 that have been currently counted, calculate the remaining flows that need to be continuously monitored, update to the threshold of the URR, and issue again to ULCL UPF, PSA1, and PSA 2.
And S321, ULCL UPF, PSA1 and PSA2 carry out the data flow volume monitoring statistics again according to the updated URR. The statistical method continues according to steps S31 and S32.
According to the data traffic monitoring method provided by the embodiment of the invention, the data traffic amount monitoring is carried out on the UPFs by distinguishing the uplink and the downlink of the data service, so that the user traffic is more accurately counted, the benefits of each operator are better guaranteed, and the core competitiveness of the operator in 5G network deployment is improved.
Example four:
next, a flow of a case where no packet is lost in the data traffic monitoring method provided in this embodiment is described in more detail, referring to fig. 3 and fig. 4, fig. 3 is a schematic flow diagram of usage monitoring installation provided in this embodiment, and fig. 4 is a schematic flow diagram of a case where no packet is lost in the data traffic monitoring method provided in this embodiment.
It should be noted that, in this embodiment, an N7 interface is supported between the SMF and the PCF; the SMF and UPF directly support the N4 interface between the two network elements, and belong to the 3GPP protocol definition standard.
Step S301, the user terminal establishes a link in the 5G network, the SMF creates a PDU session for the user, and selects a UCL UPF and two UPF anchor points (PSA1 and PSA 2).
Step S302, the PCF issues a usage monitoring instance to the SMF for the user, where the usage monitoring instance includes a monitoring key and a threshold for usage monitoring.
In step S303, the SMF sends the Usage Reporting Rule (URR) including the usage threshold, which is used for data traffic statistics of the user, to the ULCL UPF.
At step S304, the SMF sends the same Usage Reporting Rule (URR) inclusive usage threshold to the PSA 1.
Step S305, the SMF sends the same Usage Reporting Rule (URR) inclusive usage threshold to the PSA 2.
Step S401, the user terminal starts to do data service, and the uplink data message is forwarded to PSA1 or PSA2 through ULCL and finally sent to DN side; the downlink message is converged to the ULCL by PSA1 or PSA2 and finally sent to the UE side.
Step S402, reporting the statistical traffic to the SMF when the traffic statistics corresponding to the URR on the ULCL reaches the threshold of the URR.
Step S403, the SMF queries the PSA1 for the current counted flow of the URR.
Step S404, SMF inquires PSA2 about the current counted flow of the URR.
Step S405, the SMF compares the ULCL upstream flow statistics with the inquired PSA1+ PSA2 upstream flow statistics, and when the ULCL upstream flow is less than or equal to the PSA1+ PSA2 upstream flow, it shows that the PSA1 and PSA2 have no packet loss phenomenon, and the flow statistics reported by the ULCL UPF are accurate. The SMF reports the traffic statistics of the ULCL UPF to the PCF.
Example five:
next, a flow of a packet loss situation of the data traffic monitoring method provided in this embodiment is described in more detail, referring to fig. 3 and fig. 5, and fig. 5 is a schematic flow diagram of the data traffic monitoring method provided in this embodiment in a packet loss situation.
It should be noted that, in this embodiment, an N7 interface is supported between the SMF and the PCF; the SMF and UPF directly support the N4 interface between the two network elements, and belong to the 3GPP protocol definition standard.
Step S301, the user terminal establishes a link in the 5G network, the SMF creates a PDU session for the user, and selects a UCL UPF and two UPF anchor points (PSA1 and PSA 2).
Step S302, the PCF issues a usage monitoring instance to the SMF for the user, where the usage monitoring instance includes a monitoring key and a threshold for usage monitoring.
In step S303, the SMF sends the Usage Reporting Rule (URR) including the usage threshold, which is used for data traffic statistics of the user, to the ULCL UPF.
At step S304, the SMF sends the same Usage Reporting Rule (URR) inclusive usage threshold to the PSA 1.
Step S305, the SMF sends the same Usage Reporting Rule (URR) inclusive usage threshold to the PSA 2.
Step S501, the user terminal starts to do data service, and the uplink data message is forwarded to PSA1 or PSA2 through ULCL and finally sent to DN side; the downlink message is converged to the ULCL by PSA1 or PSA2 and finally sent to the UE side.
Step S502, when the traffic statistics corresponding to URR on the ULCL reaches the threshold of URR, reporting the statistical traffic to the SMF.
Step S503, SMF inquires PSA1 about the current counted flow of the corresponding URR.
Step S504, SMF inquires PSA2 about the current counted flow of the URR.
Step S505, the SMF compares the uplink flow statistics of the ULCL with the queried uplink flow statistics of PSA1+ PSA2, and when the uplink flow of the ULCL is greater than the uplink flow of PSA1+ PSA2, it shows that the upstream packet loss phenomenon exists in PSA1 or PSA 2. The SMF will recalculate the threshold, and since the downstream message is statistically accurate on the ULCL UPF, the SMF buffers the currently counted upstream data traffic of PSA1 and PSA2 and the downstream traffic on the ULCL, and calculates the threshold of the remaining traffic update URR that needs to be continuously monitored by subtracting the current total upstream traffic of PSA1 and PSA2 from the upstream traffic of the ULCL and sends the threshold to the ULCL UPF.
At step S506, the SMF sends the URR of the usage monitoring threshold remaining at step 10b to the PSA 1.
At step S507, the SMF sends the URR of the remaining usage monitoring threshold at step 10b to the PSA 2.
The subsequent usage monitoring statistics will start again with step S501.
Example six:
the embodiment also provides a session management network element SMF, which is applied in a 5G communication system, as shown in fig. 6, and includes:
a receiving unit 61, configured to receive a usage monitoring instance issued by a charging control policy network element PCF, and traffic statistics results reported by an ULCL UPF and a first PSA and a second PSA of two UPF anchor points below the ULCL UPF, where the ULCL UPF is an ULCL UPF inserted in a data packet transmission path of a created PDU session by a session management network element SMF;
a conversion unit 62, configured to convert the usage monitoring instance into a usage reporting rule URR;
a sending unit 63, configured to send the usage reporting rule URR to the ULCL UPF, and the first PSA and the second PSA of at least two UPF anchor points below the ULCL UPF, and send the traffic usage to the charging control policy network element PCF;
a determining unit 64, configured to determine the flow usage according to the ULCL UPF and the flow statistics reported by the at least two UPF anchor points, the first PSA and the second PSA.
In some embodiments, the session management network element SMF further comprises: and the PDU session creating unit is used for detecting whether a new user terminal accesses the 5G network, and if so, creating the PDU session for the new user terminal.
The embodiment also provides a PSA network element for a UPF anchor point, which is applied in a 5G communication system, and as shown in fig. 7, the PSA network element includes:
a receiving unit 71, configured to receive a usage reporting rule URR and a query instruction sent by a session management network element SMF;
a statistic unit 72, which counts the uplink flow according to the usage report rule URR;
a sending unit 73, configured to send an uplink traffic statistic result to the session management network element SMF when receiving the query instruction.
The present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer readable storage medium in this embodiment may be used to store one or more computer programs, and the one or more computer programs stored therein may be executed by the processor to implement at least one step of the data traffic monitoring method in the first and fifth embodiments.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
In addition, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to one of ordinary skill in the art. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.
Claims (14)
1. A data traffic monitoring method is applied to a 5G communication system and is characterized by comprising the following steps:
a session management network element SMF receives a usage monitoring instance sent by a charging control policy network element PCF and converts the usage monitoring instance into a usage report rule URR;
the session management network element SMF issues the usage reporting rule URR to an ULCL UPF, and a first PSA and a second PSA of at least two UPF anchor points below the ULCL UPF, where the ULCL UPF is an ULCL UPF inserted in a data packet transmission path of the created PDU session by the session management network element SMF;
and the session management network element SMF determines the traffic usage according to the ULCL UPF and the traffic statistics reported by the first PSA and the second PSA of the at least two UPF anchor points, and sends the traffic usage to the charging control policy network element PCF.
2. The data traffic monitoring method according to claim 1, wherein before the session management element SMF receives the usage monitoring instance delivered from the charging control policy element PCF, the method further comprises:
and detecting whether a new user terminal accesses the 5G network, if so, the session management network element SMF creates a PDU session for the new user terminal.
3. The data traffic monitoring method of claim 1, wherein the usage monitoring instance comprises: a threshold for monitoring a monitoring key and usage;
the usage reporting rule URR includes: and reporting the flow threshold value and URRID of the data flow monitoring.
4. The data traffic monitoring method according to claim 3, characterized in that the ULCL UPF of the session management network element SMF to the same PDU session and the usage reporting rules URR sent by the first PSA and the second PSA are the same.
5. The data traffic monitoring method according to any of claims 1-4, wherein the determining, by the session management network element SMF, traffic usage according to the ULCL UPF and traffic statistics reported by the at least two UPF anchor points, the first PSA and the second PSA, comprises:
receiving a downlink traffic statistical result in the traffic statistical result of the ULCL UPF, wherein the downlink traffic statistical result is the downlink traffic usage;
and receiving an uplink flow statistical result of the ULCL UPF, sending a query instruction to the first PSA and the second PSA, obtaining the uplink flow statistical results of the first PSA and the second PSA, and comparing the sum of the uplink flow statistical results of the first PSA and the second PSA with the uplink flow statistical result of the ULCL UPF to obtain the uplink flow usage.
6. The data traffic monitoring method according to claim 5, wherein when the upstream traffic statistic of the ULCL UPF is less than or equal to the sum of the upstream traffic statistic of the first PSA and the second PSA, the upstream traffic statistic of the ULCL UPF is the upstream traffic.
7. The data flow monitoring method of claim 5, wherein when the ULCL UPF upstream flow usage is greater than the sum of the first PSA and second PSA upstream flow usage, subtracting the sum of the first PSA and second PSA upstream flow usage from the downstream flow usage to obtain a residual flow threshold;
and updating the residual flow threshold value into the dosage report rule URR to obtain a residual dosage report rule, and sending the residual dosage report rule to the ULCL UPF, the first PSA and the second PSA.
8. A data traffic monitoring method is applied to a 5G communication system and is characterized by comprising the following steps:
PSA of UPF anchor point receives the dosage report rule URR sent by the SMF, and counts the uplink flow according to the dosage report rule URR;
and when receiving a query instruction sent by the session management network element SMF, sending an uplink flow statistic result to the session management network element SMF, wherein the uplink flow statistic result is used for determining the flow usage.
9. The data flow monitoring method of claim 8, wherein the PSAs include at least a first PSA and a second PSA.
10. The data traffic monitoring method according to claim 9, wherein the usage reporting rule URR includes: reporting a flow threshold value and URRID of data flow monitoring;
the first PSA and the second PSA receive the same usage reporting rule URR.
11. A session management network element for use in a 5G communication system, comprising:
a receiving unit, configured to receive a usage monitoring instance issued by a charging control policy network element PCF, and traffic statistics results reported by an ULCL UPF and a first PSA and a second PSA of two UPF anchor points below the ULCL UPF, where the ULCL UPF is an ULCL UPF inserted in a data packet transmission path of a created PDU session by a session management network element SMF;
a conversion unit for converting the usage monitoring instance into a usage reporting rule URR;
a sending unit, configured to send the usage reporting rule URR to the ULCL UPF, and the first PSA and the second PSA of at least two UPF anchor points below the ULCL UPF, and send the traffic usage to the charging control policy network element PCF;
and the determining unit is used for determining the flow rate usage according to the ULCL UPF and the flow rate statistical results reported by the at least two UPF anchor points, namely the first PSA and the second PSA.
12. The session management network element of claim 11, further comprising:
and the PDU session creating unit is used for detecting whether a new user terminal accesses the 5G network, and if so, creating the PDU session for the new user terminal.
13. A PSA network element of UPF anchor point is applied to a 5G communication system, and is characterized by comprising:
a receiving unit, configured to receive a usage report rule URR and a query instruction sent by a session management network element SMF;
the statistical unit is used for counting the uplink flow according to the usage report rule URR;
and the sending unit is used for sending the uplink flow statistic result to the session management network element SMF when receiving the query instruction.
14. A computer readable storage medium, storing one or more computer programs, which are executable by one or more processors to perform the steps of the data traffic monitoring method according to any one of claims 1 to 7, and to perform the steps of the data traffic monitoring method according to any one of claims 8 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010672472.7A CN113938852A (en) | 2020-07-14 | 2020-07-14 | Data traffic monitoring method, SMF network element, PSA network element and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010672472.7A CN113938852A (en) | 2020-07-14 | 2020-07-14 | Data traffic monitoring method, SMF network element, PSA network element and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113938852A true CN113938852A (en) | 2022-01-14 |
Family
ID=79273804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010672472.7A Pending CN113938852A (en) | 2020-07-14 | 2020-07-14 | Data traffic monitoring method, SMF network element, PSA network element and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113938852A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116669134A (en) * | 2023-07-07 | 2023-08-29 | 中国电信股份有限公司 | Method, device, equipment and medium for adapting SMF network element and UPF network element |
-
2020
- 2020-07-14 CN CN202010672472.7A patent/CN113938852A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116669134A (en) * | 2023-07-07 | 2023-08-29 | 中国电信股份有限公司 | Method, device, equipment and medium for adapting SMF network element and UPF network element |
CN116669134B (en) * | 2023-07-07 | 2023-11-07 | 中国电信股份有限公司 | Method, device, equipment and medium for adapting SMF network element and UPF network element |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10389801B2 (en) | Service request processing method, related apparatus, and system | |
US11109273B2 (en) | Data packet distribution method, sender device, receiver device, and storage medium | |
CN109996216B (en) | Subscription request processing method, network entity and capability opening platform | |
CN111324886A (en) | Service request processing method and device and server | |
WO2022001482A1 (en) | Traffic charging method, network device and storage medium | |
KR101017532B1 (en) | Method for flow control in a communication system | |
US20180167424A1 (en) | Online charging mechanisms during ocs non-responsiveness | |
CN113938852A (en) | Data traffic monitoring method, SMF network element, PSA network element and readable storage medium | |
CN112737940A (en) | Data transmission method and device | |
CN107005433B (en) | Flow table entry timing processing method and device | |
CN112637898B (en) | Downlink data stream session bandwidth limiting method, network element, device and medium | |
US11991085B2 (en) | Data packet marking method and device, and data transmission system | |
CN109347760B (en) | Data sending method and device | |
CN112243204B (en) | Method, system and related equipment for processing charging | |
WO2021027757A1 (en) | Fee-calculation processing method and system for guaranteed data service, and related apparatus | |
CN109756854B (en) | Cluster service release method | |
CN113300976B (en) | Data transmission method and device, storage medium and electronic equipment | |
US20230344942A1 (en) | Methods and systems for charging deductions disregarding existing reservations | |
US11252568B1 (en) | Method and apparatus for rearranging traffic data | |
US11979517B2 (en) | Methods and nodes for maintaining a communication session for a subscriber | |
CN110430118B (en) | Bill mail managing method, apparatus, computer device and computer readable storage medium | |
CN111200573B (en) | RPC request calling method and device | |
JP6720676B2 (en) | Communication device, communication control method, and communication control program | |
KR20060102675A (en) | Method and system for providing free messaging service in communication system | |
CN116095729A (en) | Method, device, server and storage medium for determining quality difference base station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |