A 5G session quality monitoring method and system

By obtaining and updating the UPF user IP table, and performing association and behavior verification based on GTP message data, the problem of missing signaling and intricate analysis in 5G session quality monitoring is solved, and efficient operation and maintenance of 5G communication networks is achieved Improve capability.

CN115442834BActive Publication Date: 2024-12-17WUHAN HONGXU INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210950411.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-09
Publication Date
2024-12-17
Estimated Expiration
2042-08-09

AI Technical Summary

Technical Problem

In the prior art, there is a lack of signaling for 5G session quality monitoring, and the monitoring and analysis is not refined enough, making it difficult to effectively improve the operation and maintenance capabilities of the communication network in the expansion and operation and maintenance adjustment of the operator's core network.

Method used

By obtaining and updating the UPF user plane IP table, data association and behavior verification are performed based on GTP message data, session quality monitoring of UPF-U IP is realized, signaling and data plane abnormalities are identified, and causes of abnormalities are quickly identified.

Benefits of technology

It realizes refined monitoring of 5G session quality, can quickly identify abnormal causes in the absence of signaling, and improves the operation and maintenance capabilities of the communication network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115442834B_ABST
    Figure CN115442834B_ABST
Patent Text Reader

Abstract

The present invention provides a 5G session quality monitoring method and system, which belongs to the field of communication technology, including: obtaining a UPF user plane IP table, updating and maintaining the UPF user plane IP table, and obtaining an updated UPF user plane IP table; based on the updated UPF user plane IP table, performing data association on the GTP message data interacted between the gNodeB entity and the UPF entity, and updating the number of data associations and the number of data hits; determining data that cannot be associated with the UPF user plane IP, performing data behavior verification on the data that cannot be associated with the UPF user plane IP, and obtaining a data behavior verification result; obtaining a session quality monitoring statistical result from the updated UPF user plane IP table and the data behavior verification result. The present invention can solve the problem that ordinary signaling message analysis cannot effectively monitor the situation of signaling missing and the monitoring and analysis is not refined enough by establishing a UPF user plane IP table.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and in particular to a 5G session quality monitoring method and system. Background Art

[0002] The fifth generation mobile communication technology (5G) is still in the commercial deployment stage. The current radio access technology (RAT) uses the session management function (SMF) as the control plane network element anchor point and the user plane function (UPF) as the data plane network element anchor point to maintain N11 user sessions or N4 user sessions, and can also associate the control plane with the data plane based on the user session. Integrity requirements are put forward for the signaling message access of the SMF entity and the UPF or the access and mobility management function (AMF) entity, and the data message access of the 5G base station (nextGenerationNodeB, gNodeB) entity and the UPF entity. In the face of the expansion and operation and maintenance adjustments of the core network by operators, the ability to effectively monitor the access session quality can improve the operation and maintenance capabilities of the 5G communication network.

[0003] In the prior art, session quality monitoring is mainly based on the ratio of request / response messages at the signaling level and the success ratio of session operation creation / update / deletion. There are common problems such as the inability to effectively monitor signaling loss and the lack of refinement in monitoring and analysis. Summary of the invention

[0004] The present invention provides a 5G session quality monitoring method and system, which are used to solve the defects of the prior art in session quality monitoring, such as the inability to effectively monitor in the case of missing signaling and the lack of refinement in monitoring and analysis, and to realize session quality monitoring specific to UPF-U IP.

[0005] In a first aspect, the present invention provides a 5G session quality monitoring method, comprising:

[0006] Obtain a UPF user plane IP table, update and maintain the UPF user plane IP table, and obtain an updated UPF user plane IP table;

[0007] Based on the updated UPF user plane IP table, data association is performed on the GTP message data interacted between the gNodeB entity and the UPF entity, and the data association count and data hit count are updated;

[0008] According to the GTP message outer IP of the GTP message data not existing in the updated UPF user plane IP table, it is determined that the data that cannot be associated with the UPF user plane IP is verified, and the data behavior verification result is obtained by performing a data behavior verification on the data that cannot be associated with the UPF user plane IP;

[0009] The session quality monitoring statistics are obtained from the updated UPF user plane IP table and the data behavior verification results.

[0010] According to a 5G session quality monitoring method provided by the present invention, before obtaining the UPF user plane IP table and updating and maintaining the UPF user plane IP table, it also includes:

[0011] Obtain the UPF-U IP by obtaining the session establishment response message sent by the UPF entity to the session management function SMF entity, or the session modification response message sent by the SMF entity to the access and mobility management function AMF entity, or the N1N2 information transfer message;

[0012] Construct the UPF user plane IP table based on the UPF-U IP.

[0013] According to a 5G session quality monitoring method provided by the present invention, the obtaining of a user plane management function UPF user plane IP table, updating and maintaining the UPF user plane IP table, and obtaining an updated UPF user plane IP table include:

[0014] If it is determined that the acquired current UPF-U IP does not exist in the UPF user plane IP table, the current UPF-U IP is updated to the UPF user plane IP table;

[0015] If it is determined that the acquired current UPF-U IP exists in the UPF user plane IP table and the session update based on the current signaling message is successful, the number of signaling associations of the current UPF-U IP in the UPF user plane IP table is counted and accumulated by 1.

[0016] According to a 5G session quality monitoring method provided by the present invention, based on the updated UPF user plane IP table, data association is performed on the GTP message data interacted between the gNodeB entity and the UPF entity, and the data association number and data hit number are updated, including:

[0017] Extracting GTP tunnel information of the GTP message data, wherein the GTP tunnel information includes gNodeBIP, UPF-U IP and TEID;

[0018] If it is determined that the outer IP of the GTP message of the GTP message data exists in the updated UPF user plane IP table, the number of data associations of the current UPF-U IP in the updated UPF user plane IP table is counted and accumulated by 1;

[0019] The user session table is obtained based on the session establishment response message and the session modification response message. If it is determined that the session is obtained in the user session table based on the outer IP of the GTP message and the TEID, the number of data hits of the current UPF-U IP in the updated UPF user plane IP table is counted and accumulated by 1.

[0020] According to a 5G session quality monitoring method provided by the present invention, the outer IP of the GTP message data does not exist in the UPF user plane IP table, then the data that cannot be associated with the UPF user plane IP is determined, and the data behavior verification is performed on the data that cannot be associated with the UPF user plane IP to obtain the data behavior verification result, including:

[0021] Perform a temporary UPF user plane IP table search on the outer IP of the unassociated GTP message. If it is determined that the outer IP exists in the temporary UPF user plane IP table, the number of data associations of the current UPF-U IP in the temporary UPF user plane IP table is counted and accumulated by 1;

[0022] If it is determined that the outer IP does not exist in the temporary UPF user plane IP table, and the outer IP exists in the base station IP table, and the other outer IP does not exist in the base station IP table, then the other outer IP is stored in the temporary UPF user plane IP table; wherein the base station IP table is obtained based on parsing and updating a known signaling message;

[0023] If it is determined that the unassociated GTP message has any UPF-U IP in the temporary UPF user plane IP table as the source IP, the user data part carried by the unassociated GTP message is a router advertisement RA message of the sixth version of the Internet Control Message Protocol ICMPv6, and in addition, there is any UPF-U IP that is the same as the source IP of the RA message as the destination IP, and the user data part carried by the unassociated GTP message contains a domain name system DNS message, then it is determined that the current UPF-U IP in the temporary UPF user plane IP table is a suspected UPF-U IP lacking signaling.

[0024] According to a 5G session quality monitoring method provided by the present invention, the session quality monitoring statistical result is obtained by the updated UPF user plane IP table and the data behavior verification result, including:

[0025] Determine a preset statistical time period, count the number of data associations and the number of data hits newly added to the updated UPF user plane IP table within the preset statistical time period, and obtain a data hit ratio. If it is determined that the data hit ratio is less than a preset threshold, the associated signaling of the current UPF-U IP is missing;

[0026] If it is determined that the associated data statistics of the UPF-U IP suspected of lacking signaling in the temporary UPF user plane IP table are not lower than the associated data statistical average value in the UPF user plane IP table multiplied by a preset ratio, then the associated signaling of the current UPF-U IP is missing.

[0027] In a second aspect, the present invention further provides a 5G session quality monitoring system, including:

[0028] An update module, used to obtain a UPF user plane IP table, update and maintain the UPF user plane IP table, and obtain an updated UPF user plane IP table;

[0029] A processing module, configured to perform data association on the GTP message data interacted between the gNodeB entity and the UPF entity based on the updated UPF user plane IP table, and update the number of data associations and the number of data hits;

[0030] A verification module, used for determining data that cannot be associated with the UPF user plane IP according to the GTP message outer IP of the GTP message data not existing in the updated UPF user plane IP table, performing data behavior verification on the data that cannot be associated with the UPF user plane IP, and obtaining a data behavior verification result;

[0031] The monitoring module is used to obtain session quality monitoring statistics from the updated UPF user plane IP table and the data behavior verification result.

[0032] In a third aspect, the present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements any one of the 5G session quality monitoring methods described above.

[0033] In a fourth aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a 5G session quality monitoring method as described in any one of the above.

[0034] In a fifth aspect, the present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the 5G session quality monitoring methods described above.

[0035] The 5G session quality monitoring method and system provided by the present invention establish a UPF user plane IP table through a session establishment message, and perform association hit linkage between the signaling plane and the user data plane based on this table, and further enable behavior verification for data that cannot be associated. In the case of abnormal session quality, the cause of the abnormality can be quickly identified, and the problem that ordinary signaling message analysis cannot effectively monitor the missing signaling and the monitoring and analysis are not refined enough can be solved, thereby realizing session quality monitoring specific to UPF-U IP. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 It is a flow chart of the 5G session quality monitoring method provided by the present invention;

[0038] Figure 2 It is a structural diagram of a 5G session quality monitoring system provided by the present invention;

[0039] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] Combine the following Figure 1-Figure 3 The 5G session quality monitoring method of the present invention is described.

[0042] Figure 1 is a flow chart of the 5G session quality monitoring method provided by the present invention, such as Figure 1 As shown, including:

[0043] Step 100: Obtain a UPF user plane IP table, update and maintain the UPF user plane IP table, and obtain an updated UPF user plane IP table;

[0044] Step 200: Based on the updated UPF user plane IP table, data association is performed on the GTP message data exchanged between the gNodeB entity and the UPF entity, and the data association count and data hit count are updated;

[0045] Step 300: According to the GTP message outer IP of the GTP message data not existing in the updated UPF user plane IP table, it is determined that the data cannot be associated with the UPF user plane IP, and a data behavior check is performed on the data that cannot be associated with the UPF user plane IP to obtain a data behavior check result;

[0046] Step 400: Obtain session quality monitoring statistics from the updated UPF user plane IP table and the data behavior verification result.

[0047] Specifically, after the UPF user plane IP table is established according to the session, the UPF user plane IP table is updated and maintained to obtain an updated UPF user plane IP table. Based on the updated UPF user plane IP table, the GTP message data interacting between the gNodeB entity and the UPF entity is data-associated, and the number of data associations and the number of data hits are updated, that is, the message tunnel information is extracted and the message type carrying user data is identified. Then, the data that cannot be associated in the UPF user plane IP table is extracted and marked as suspected signaling-missing UPF-U IP to obtain the data behavior verification result. Finally, based on the updated UPF user plane IP table and the data behavior verification results, the current signaling missing situation and data missing situation are analyzed, and the session quality monitoring statistics are output.

[0048] The present invention establishes a UPF user plane IP table through a session establishment message, and performs association hit linkage between the signaling plane and the user data plane based on this table, further enables behavior verification for data that cannot be associated, and can quickly identify the cause of the abnormality when the session quality is abnormal, solve the problem that ordinary signaling message analysis cannot effectively monitor the situation of signaling missing and the monitoring and analysis is not refined enough, and realize session quality monitoring specific to UPF-U IP.

[0049] On the basis of the above embodiment, the obtaining of the UPF user plane IP table and before updating and maintaining the UPF user plane IP table further includes:

[0050] Obtain the UPF-U IP by obtaining the session establishment response message sent by the UPF entity to the session management function SMF entity, or the session modification response message sent by the SMF entity to the access and mobility management function AMF entity, or the N1N2 information transfer message;

[0051] Construct the UPF user plane IP table based on the UPF-U IP.

[0052] Specifically, first obtain the session establishment response message sent by the UPF entity to the session management function SMF entity, which belongs to the N4 interface signaling, or the session modification response message sent by the SMF entity to the AMF entity, which belongs to the N11 interface signaling, or the N1N2 information transfer message, which belongs to the N11 interface signaling, and then obtain the UPF-U IP.

[0053] Here, if the signaling of the N4 interface is imported, the Create PDR (Packet Detection Rule) information element in the session establishment response message sent by the UPF entity to the SMF entity is parsed to obtain the UPF-U IP. This PDR information element can be associated with the PDR information element in the session establishment request (Session Establishment Request) message sent by the SMF entity to the UPF entity through the PDR ID. The Source Interface parameter of the associated PDR information element needs to be Access or the 3GPPInterface Type parameter needs to be N3;

[0054] If the signaling imported is from the N11 interface, parse the session modification response message sent by the SMF entity to the AMF entity or the N2 session resource modification request message (PDU Session ResourceModify Request) carried by the N1N2 information transfer message, and obtain the UPF-UIP in the PDU Session Resource Modify Request Transfer cell;

[0055] Determine whether the currently acquired UPF-U IP exists in the UPF user plane IP table. If not, update this IP to the UPF user plane IP table to obtain the UPF user plane IP table.

[0056] The present invention obtains the signaling of the N4 interface or the N11 interface and extracts the corresponding UPF-UIP to establish a UPF user plane IP table.

[0057] On the basis of the above embodiment, the obtaining of the user plane management function UPF user plane IP table, updating and maintaining the UPF user plane IP table, and obtaining an updated UPF user plane IP table include:

[0058] If it is determined that the acquired current UPF-U IP does not exist in the UPF user plane IP table, the current UPF-U IP is updated to the UPF user plane IP table;

[0059] If it is determined that the acquired current UPF-U IP exists in the UPF user plane IP table and the session update based on the current signaling message is successful, the number of signaling associations of the current UPF-U IP in the UPF user plane IP table is counted and accumulated by 1.

[0060] Specifically, on the basis of establishing the UPF user plane IP table, hit statistics are performed on the signaling that completes the session establishment process to maintain and update the UPF user plane IP table.

[0061] First, determine whether the currently acquired UPF-U IP exists in the UPF user plane IP table. If not, update this IP to the UPF user plane IP table;

[0062] If it exists, further determine whether the session based on the current signaling message is updated successfully. If so, the number of signaling associations for this UPF-U IP entry in the UPF user plane IP table is accumulated by 1.

[0063] It should be noted that a successful session update means that the signaling message can complete the association of the request response message, the context association of a table entry in the historical session table, or the creation of a new session table entry.

[0064] On the basis of the above embodiment, the GTP message data interacted between the gNodeB entity and the UPF entity is associated with data based on the updated UPF user plane IP table, and the number of data associations and the number of data hits are updated, including:

[0065] Extracting GTP tunnel information of the GTP message data, wherein the GTP tunnel information includes gNodeBIP, UPF-U IP and TEID;

[0066] If it is determined that the outer IP of the GTP message of the GTP message data exists in the updated UPF user plane IP table, the number of data associations of the current UPF-U IP in the updated UPF user plane IP table is counted and accumulated by 1;

[0067] The user session table is obtained based on the session establishment response message and the session modification response message. If it is determined that the session is obtained in the user session table based on the outer IP of the GTP message and the TEID, the number of data hits of the current UPF-U IP in the updated UPF user plane IP table is counted and accumulated by 1.

[0068] Specifically, the user data of the N3 interface is hit counted. If it is determined that the outer IP of the GTP message exists in the UPF user plane IP table, the number of data associations of this UPF-UIP table entry in the UPF user plane IP table is counted and accumulated by 1;

[0069] The user session table is searched based on the outer IP of the GTP message and the GTP TEID. If the session is found, the number of data hits for this UPF-U IP table entry in the UPF user plane IP table is counted and accumulated by 1.

[0070] It should be noted that the GTP outer message IP of the N3 interface includes gNodeB IP and UPF-U IP. The GTP header of the uplink message contains UPF-U TEID. At this time, UPF-U IP and UPF-U TEID are used for search and gNodeB IP is used for verification and comparison; the GTP header of the downlink message contains gNodeB TEID. At this time, gNodeB IP and gNodeB TEID are used for search and UPF-U IP is used for verification and comparison.

[0071] The user session table here is a session information table based on user information generated by the N4 signaling message interacting between the UPF entity and the SMF entity or the N11 signaling message interacting between the SMF entity and the AMF entity, including the GTP tunnel information of the N3 interface (gNodeB IP, gNodeB TEID, UPF-U IP, UPF-U TEID).

[0072] On the basis of the above embodiment, if the outer IP of the GTP message according to the GTP message data does not exist in the updated UPF user plane IP table, it is determined that the data that cannot be associated with the UPF user plane IP is determined, and a data behavior check is performed on the data that cannot be associated with the UPF user plane IP to obtain a data behavior check result, including:

[0073] Perform a temporary UPF user plane IP table search on the outer IP of the unassociated GTP message. If it is determined that the outer IP exists in the temporary UPF user plane IP table, the number of data associations of the current UPF-U IP in the temporary UPF user plane IP table is counted and accumulated by 1;

[0074] If it is determined that the outer IP does not exist in the temporary UPF user plane IP table, and the outer IP exists in the base station IP table, and the other outer IP does not exist in the base station IP table, then the other outer IP is stored in the temporary UPF user plane IP table; wherein the base station IP table is obtained based on parsing and updating a known signaling message;

[0075] If it is determined that the unassociated GTP message has any UPF-U IP in the temporary UPF user plane IP table as the source IP, the user data part carried by the unassociated GTP message is the router advertisement RA message of the sixth version of the Internet Control Message Protocol ICMPv6, and in addition, there is any UPF-U IP that is the same as the source IP of the RA message as the destination IP, and the user data part carried by the unassociated GTP message is a domain name system DNS message, then it is determined that the current UPF-U IP in the temporary UPF user plane IP table is a suspected UPF-U IP lacking signaling.

[0076] Specifically, the present invention needs to further verify the GTP data packet associated with the outer IP of the GTP message that cannot be found in the UPF user plane IP table.

[0077] The outer IP of the GTP message is searched in the temporary UPF user plane IP table. If found, the number of data associations for this IP table entry is accumulated by 1; otherwise, further check whether only one of the outer IP of the GTP message exists in the base station IP table. If so, record the other IP in the temporary UPF user plane IP table;

[0078] If it is determined that the GTP data message has an IP in the temporary UPF user plane IP table as the source IP, and the user data part carried by the message is a Router Advertisement (RA) message of the sixth version of the Internet Control Message Protocol (Internet Control Message Protocol Version 6, ICMPv6), and it is also determined that the GTP data message has the same IP as the source IP of the RA message as the destination IP, and the user data part carried by the message is a Domain Name System (Domain Name System, DNS) message, then mark this IP in the temporary UPF user plane IP table as a UPF-U IP suspected of lacking signaling;

[0079] It should be noted that the base station IP table can be parsed and updated from known signaling messages; in addition, the purpose of detecting ICMPv6 RA messages is to determine whether there is a user IPv6 stateless address allocation process, and the purpose of detecting DNS messages is to determine whether there is user Internet access data; the user plane IPv6 address type is determined to be a base station network type or IP private network (VoNR) can also be used as a basis for judgment. There are generally a lot of unrelated GTP data. If for a UPF-U IP in the temporary UPF-U IP table, it is determined that there are both RA messages and DNS messages that meet the conditions, then the current UPF-U IP is determined to be a suspected UPF-U IP that lacks signaling.

[0080] Based on the above embodiment, the session quality monitoring statistics are obtained by the updated UPF user plane IP table and the data behavior verification result, including:

[0081] Determine a preset statistical time period, count the number of data associations and the number of data hits newly added to the updated UPF user plane IP table within the preset statistical time period, and obtain a data hit ratio. If it is determined that the data hit ratio is less than a preset threshold, the associated signaling of the current UPF-U IP is missing;

[0082] If it is determined that the associated data statistics of the UPF-U IP suspected of lacking signaling in the temporary UPF user plane IP table are not lower than the associated data statistical average value in the UPF user plane IP table multiplied by a preset ratio, then the associated signaling of the current UPF-U IP is missing.

[0083] Specifically, further analyze the updated UPF user plane IP table to determine whether there is an entry in the table that only has signaling association statistics but no data association statistics. If so, it is determined that this IP lacks data association with the N3 interface;

[0084] Count the number of new data associations and hits in the UPF user-side IP table within a time period, and determine whether the data hit ratio (number of hits divided by number of associations) is less than a fixed threshold. If so, it is determined that the associated signaling of this IP is missing. Usually, the fixed threshold should not be set lower than 98% in an ideal environment.

[0085] In addition, the temporary UPF user plane IP table is further analyzed to count the marked IPs in the temporary UPF user plane IP table to determine whether the associated data statistics of such IPs are not lower than the average value of the associated data statistics of each IP in the UPF user plane IP table multiplied by a preset ratio, usually 50%. If so, it is determined that the associated signaling of this IP is missing.

[0086] The present invention establishes a UPF user plane IP table according to a session establishment message, and performs association hit linkage between the signaling plane and the user data plane based on this table, further enables behavior verification for data that cannot be associated, and can quickly identify the cause of the abnormality when the session quality is abnormal.

[0087] The 5G session quality monitoring system provided by the present invention is described below. The 5G session quality monitoring system described below and the 5G session quality monitoring method described above can be referenced to each other.

[0088] Figure 2 is a structural diagram of the 5G session quality monitoring system provided by the present invention, such as Figure 2As shown, it includes: an updating module 21, a processing module 22, a checking module 23 and a monitoring module 24, wherein:

[0089] The update module 21 is used to obtain the UPF user plane IP table, update and maintain the UPF user plane IP table, and obtain an updated UPF user plane IP table; the processing module 22 is used to perform data association on the GTP message data interacting between the gNodeB entity and the UPF entity based on the updated UPF user plane IP table, and update the data association times and the data hit times; the verification module 23 is used to determine that the data cannot be associated with the UPF user plane IP based on the fact that the outer layer IP of the GTP message data does not exist in the updated UPF user plane IP table, and perform data behavior verification on the data that cannot be associated with the UPF user plane IP to obtain the data behavior verification result; the monitoring module 24 is used to obtain the session quality monitoring statistical result from the updated UPF user plane IP table and the data behavior verification result.

[0090] The present invention establishes a UPF user plane IP table through a session establishment message, and performs association hit linkage between the signaling plane and the user data plane based on this table, further enables behavior verification for data that cannot be associated, and can quickly identify the cause of the abnormality when the session quality is abnormal, solve the problem that ordinary signaling message analysis cannot effectively monitor the situation of signaling missing and the monitoring and analysis is not refined enough, and realize session quality monitoring specific to UPF-U IP.

[0091] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3As shown, the electronic device may include: a processor (processor) 310, a communication interface (CommunicationsInterface) 320, a memory (memory) 330 and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 can call the logic instructions in the memory 330 to execute the 5G session quality monitoring method, which includes: obtaining the UPF user plane IP table, updating and maintaining the UPF user plane IP table, and obtaining an updated UPF user plane IP table; based on the updated UPF user plane IP table, performing data association on the GTP message data interacting between the gNodeB entity and the UPF entity, and updating the data association times and the data hit times; according to the fact that the outer IP of the GTP message data does not exist in the updated UPF user plane IP table, it is determined that the data cannot be associated with the UPF user plane IP, and data behavior verification is performed on the data that cannot be associated with the UPF user plane IP to obtain a data behavior verification result; the session quality monitoring statistical results are obtained from the updated UPF user plane IP table and the data behavior verification result.

[0092] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0093] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the 5G session quality monitoring method provided by the above methods, the method including: obtaining a UPF user plane IP table, updating and maintaining the UPF user plane IP table, and obtaining an updated UPF user plane IP table; based on the updated UPF user plane IP table, performing data association on the GTP message data interacting between the gNodeB entity and the UPF entity, and updating the data association number and the data hit number; according to the fact that the outer IP of the GTP message data of the GTP message data does not exist in the updated UPF user plane IP table, it is determined that the data cannot be associated with the UPF user plane IP, and data behavior verification is performed on the data that cannot be associated with the UPF user plane IP to obtain a data behavior verification result; the session quality monitoring statistical result is obtained from the updated UPF user plane IP table and the data behavior verification result.

[0094] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the 5G session quality monitoring method provided by the above methods, the method comprising: obtaining a UPF user plane IP table, updating and maintaining the UPF user plane IP table, and obtaining an updated UPF user plane IP table; based on the updated UPF user plane IP table, performing data association on the GTP message data interacting between the gNodeB entity and the UPF entity, and updating the data association times and the data hit times; based on the fact that the outer layer IP of the GTP message data does not exist in the updated UPF user plane IP table, it is determined that the data cannot be associated with the UPF user plane IP, and data behavior verification is performed on the data that cannot be associated with the UPF user plane IP to obtain a data behavior verification result; and session quality monitoring statistics are obtained from the updated UPF user plane IP table and the data behavior verification result.

[0095] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0096] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A 5G session quality monitoring method, characterized in that: include: Obtain a user plane IP table of a user plane management function UPF, update and maintain the UPF user plane IP table, and obtain an updated UPF user plane IP table; Based on the updated UPF user plane IP table, data association is performed on the GPRS tunnel protocol GTP message data interacted between the gNodeB entity and the UPF entity, and the data association number and data hit number are updated; According to the GTP message outer IP of the GTP message data not existing in the updated UPF user plane IP table, it is determined that the data that cannot be associated with the UPF user plane IP is verified, and the data behavior verification result is obtained by performing a data behavior verification on the data that cannot be associated with the UPF user plane IP; The session quality monitoring statistics are obtained from the updated UPF user plane IP table and the data behavior verification results.

2. The 5G session quality monitoring method according to claim 1, characterized in that: Before obtaining the UPF user plane IP table and updating and maintaining the UPF user plane IP table, the method further includes: Obtain the UPF-U IP by obtaining the session establishment response message sent by the UPF entity to the session management function SMF entity, or the session modification response message sent by the SMF entity to the access and mobility management function AMF entity, or the N1N2 information transfer message; Construct the UPF user plane IP table based on the UPF-U IP.

3. The 5G session quality monitoring method according to claim 2, characterized in that: The obtaining of a user plane management function UPF user plane IP table, updating and maintaining the UPF user plane IP table, and obtaining an updated UPF user plane IP table includes: If it is determined that the acquired current UPF-U IP does not exist in the UPF user plane IP table, the current UPF-U IP is updated to the UPF user plane IP table; If it is determined that the acquired current UPF-U IP exists in the UPF user plane IP table and the session update based on the current signaling message is successful, the number of signaling associations of the current UPF-U IP in the UPF user plane IP table is counted and accumulated by 1.

4. The 5G session quality monitoring method according to claim 2, characterized in that: The step of performing data association on the GTP message data interacted between the gNodeB entity and the UPF entity based on the updated UPF user plane IP table, and updating the number of data associations and the number of data hits includes: Extracting GTP tunnel information of the GTP message data, wherein the GTP tunnel information includes gNodeBIP, UPF-U IP and TEID; If it is determined that the outer IP of the GTP message of the GTP message data exists in the updated UPF user plane IP table, the number of data associations of the current UPF-U IP in the updated UPF user plane IP table is counted and accumulated by 1; The user session table is obtained based on the session establishment response message and the session modification response message. If it is determined that the session is obtained in the user session table based on the outer IP of the GTP message and the TEID, the number of data hits of the current UPF-U IP in the updated UPF user plane IP table is counted and accumulated by 1.

5. The 5G session quality monitoring method according to claim 4, characterized in that: If the outer IP of the GTP message according to the GTP message data does not exist in the updated UPF user plane IP table, it is determined that the data cannot be associated with the UPF user plane IP, and a data behavior check is performed on the data that cannot be associated with the UPF user plane IP to obtain a data behavior check result, including: Perform a temporary UPF user plane IP table search on the outer IP of the unassociated GTP message. If it is determined that the outer IP exists in the temporary UPF user plane IP table, the number of data associations of the current UPF-U IP in the temporary UPF user plane IP table is counted and accumulated by 1; If it is determined that the outer IP does not exist in the temporary UPF user plane IP table, and the outer IP exists in the base station IP table, and the other outer IP does not exist in the base station IP table, then the other outer IP is stored in the temporary UPF user plane IP table; wherein the base station IP table is obtained based on parsing and updating a known signaling message; If it is determined that the unassociated GTP message has any UPF-U IP in the temporary UPF user plane IP table as the source IP, the user data part carried by the unassociated GTP message contains a router advertisement RA message of the sixth version of the Internet Control Message Protocol ICMPv6, and there is also a UPF-U IP that is the same as the source IP of the RA message as the destination IP, and the user data part carried by the unassociated GTP message contains a domain name system DNS message, then it is determined that the current UPF-U IP in the temporary UPF user plane IP table is a suspected UPF-U IP lacking signaling.

6. The 5G session quality monitoring method according to claim 5, characterized in that: The session quality monitoring statistics are obtained by verifying the updated UPF user plane IP table and the data behavior, including: Determine a preset statistical time period, count the number of data associations and the number of data hits newly added to the updated UPF user plane IP table within the preset statistical time period, and obtain a data hit ratio. If it is determined that the data hit ratio is less than a preset threshold, the associated signaling of the current UPF-U IP is missing; If it is determined that the associated data statistics of the UPF-U IP suspected of lacking signaling in the temporary UPF user plane IP table are not lower than the associated data statistical average value in the UPF user plane IP table multiplied by a preset ratio, then the associated signaling of the current UPF-U IP is missing.

7. A 5G session quality monitoring system, characterized in that: include: An update module, used to obtain a UPF user plane IP table, update and maintain the UPF user plane IP table, and obtain an updated UPF user plane IP table; A processing module, configured to perform data association on the GTP message data interacted between the gNodeB entity and the UPF entity based on the updated UPF user plane IP table, and update the number of data associations and the number of data hits; A verification module, used for determining data that cannot be associated with the UPF user plane IP according to the GTP message outer IP of the GTP message data not existing in the updated UPF user plane IP table, performing data behavior verification on the data that cannot be associated with the UPF user plane IP, and obtaining a data behavior verification result; The monitoring module is used to obtain session quality monitoring statistics from the updated UPF user plane IP table and the data behavior verification result.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the 5G session quality monitoring method as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the 5G session quality monitoring method as described in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the 5G session quality monitoring method as described in any one of claims 1 to 6 is implemented.