CN112055422B - Method and device for associating 5G signaling with user plane data - Google Patents

Method and device for associating 5G signaling with user plane data Download PDF

Info

Publication number
CN112055422B
CN112055422B CN202010991554.8A CN202010991554A CN112055422B CN 112055422 B CN112055422 B CN 112055422B CN 202010991554 A CN202010991554 A CN 202010991554A CN 112055422 B CN112055422 B CN 112055422B
Authority
CN
China
Prior art keywords
signaling
teid
user plane
pfcp session
uplink
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.)
Active
Application number
CN202010991554.8A
Other languages
Chinese (zh)
Other versions
CN112055422A (en
Inventor
周婷婷
王涛
怀兴城
王一冕
包秀国
黄亮
魏军峰
董刚
邹学强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
THE TENTH RESEARCH INSTITUTE OF TELECOMMUNICATIONS TECHNOLOGY Co.,Ltd.
National Computer Network and Information Security Management Center
Original Assignee
Tenth Research Institute Of Telecommunications Technology Co ltd
National Computer Network and Information Security Management Center
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tenth Research Institute Of Telecommunications Technology Co ltd, National Computer Network and Information Security Management Center filed Critical Tenth Research Institute Of Telecommunications Technology Co ltd
Priority to CN202010991554.8A priority Critical patent/CN112055422B/en
Publication of CN112055422A publication Critical patent/CN112055422A/en
Application granted granted Critical
Publication of CN112055422B publication Critical patent/CN112055422B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a device for associating 5G signaling with user plane data, and relates to the field of mobile communication. The method is used for solving the problems that the existing 5G user internet service data is not associated with the user identification, and if only user plane data is monitored, the service data cannot be associated with the user. Collecting N4 interface signaling and N3 interface data included in a 5G core network, and shunting the collected N4 interface signaling and the collected N3 interface data according to a protocol; analyzing and associating the N4 interface signaling to generate a mapping relation between an uplink user plane F-TEID and a downlink user plane F-TEID; carrying out GTP tunnel decapsulation on the N3 interface data to generate a mapping relation between the uplink and downlink user plane F-TEID and user data; and obtaining the mapping relation between the user data and the user identification according to the mapping relation between the uplink and downlink user plane F-TEID and the user identification and the mapping relation between the uplink and downlink user plane F-TEID and the user data.

Description

Method and device for associating 5G signaling with user plane data
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method and an apparatus for associating 5G signaling with user plane data.
Background
The 5G is a new generation mobile communication system developed for the mobile communication demand in 2020, has the characteristics of high speed, wide bandwidth, high reliability, low time delay and the like, and can meet the application demand of multiple industries and multiple service fields such as future virtual reality, ultra-high definition video, intelligent manufacturing and the like. With the diversification of communication requirements in the 5G era, the 5G network has great changes in architecture form and deployment mode compared with the traditional network, and adopts the basic architecture of the 5G core network of SBA (based on service) and the technical architecture of C/U separation (separation of control and user plane); transferring the traditional network element from the special hardware to a general server by using SDN (software defined network)/NFV (network function virtualization) technology, and realizing the network element function by using software; and simultaneously, new technologies such as MEC network edge calculation, D2D sub-networking, network slicing and the like are introduced.
Currently, each large operator has performed 5G-scale commercial test in multiple cities. During the trial operation of the 5G network, some newly added 5G services may cause service flow processing errors in certain specific scenes, so that the network quality is low and the stability is poor, and therefore, a 5G mobile internet monitoring system is required to monitor the internet access services of a 5G user, analyze and process the monitored abnormalities in time, optimize network deployment and promote the improvement of the network quality.
Because the 5G adopts a C/U separated architecture, the user identification is not carried in the user plane data, the user identification is carried in the control plane signaling, if only the user plane data is monitored, the service data flow cannot be associated to the user, and the service requirement of the operator is not met. Therefore, it is necessary to monitor the user plane data and the control plane signaling simultaneously, so as to implement the association between the user plane data and the user identifier.
In summary, there is no association between the existing 5G user internet service data and the user identifier, and if only the user plane data is monitored, there is a problem that the service data cannot be associated with the user.
Disclosure of Invention
The embodiment of the invention provides a method and a device for associating 5G signaling with user plane data, which are used for solving the problems that the existing 5G user Internet access service data is not associated with a user identifier, and if only the user plane data is monitored, the service data cannot be associated with a user.
The embodiment of the invention provides a method for associating 5G signaling with user plane data, which comprises the following steps:
collecting N4 interface signaling and N3 interface data included in a 5G core network, and shunting the collected N4 interface signaling and the collected N3 interface data according to a protocol;
analyzing and associating the N4 interface signaling to generate a mapping relation between an uplink user plane F-TEID and a downlink user plane F-TEID;
carrying out GTP tunnel decapsulation on the N3 interface data to generate a mapping relation between the uplink and downlink user plane F-TEID and user data;
and obtaining the mapping relation between the user data and the user identification according to the mapping relation between the uplink and downlink user plane F-TEID and the user identification and the mapping relation between the uplink and downlink user plane F-TEID and the user data.
Preferably, the analyzing and associating the N4 interface signaling to generate a mapping relationship between an uplink and downlink user plane F-TEID and a user identifier specifically includes:
analyzing and associating the PFCP Session Establishment signaling process;
analyzing and associating a PFCP Session Modification signaling process;
the PFCP Session Modification signaling procedure is associated with the PFCP Session Establishment signaling procedure.
Preferably, the PFCP Session Establishment signaling procedure includes PFCP Session Establishment Request signaling and PFCP Session Establishment Response signaling;
the analyzing and associating the PFCP Session Establishment signaling process specifically includes:
and associating the PFCP Session Establishment Request signaling with the PFCP Session Establishment Response signaling to obtain a mapping relation between a binary group, an uplink user plane F-TEID and the user identification.
Preferably, the PFCP Session Modification signaling procedure includes PFCP Session Modification Request signaling and PFCP Session Modification Response signaling;
analyzing and associating a PFCP Session Modification signaling process, specifically comprising:
and associating the PFCP Session Modification Request signaling with the PFCP Session Modification Response signaling to obtain a mapping relation between a binary group and a downlink user plane F-TEID.
Preferably, the associating the PFCP Session Modification signaling procedure with the PFCP Session Establishment signaling procedure specifically includes:
associating the mapping relation between the binary group and the uplink user plane F-TEID and the user identification with the mapping relation between the binary group and the downlink user plane F-TEID to obtain the mapping relation between the binary group and the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification;
and determining the mapping relation between the uplink user plane F-TEID and the user identification and the mapping relation between the downlink user plane F-TEID and the user identification according to the mapping relation between the binary group and the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification.
Preferably, the duplet comprises an uplink control plane F-SEID and a downlink control plane F-SEID.
The embodiment of the invention provides a device for associating 5G signaling with user plane data, which comprises:
the shunting unit is used for collecting N4 interface signaling and N3 interface data included in the 5G core network and shunting the collected N4 interface signaling and the collected N3 interface data according to a protocol;
a first obtaining unit, configured to perform analysis association on the N4 interface signaling to obtain a mapping relationship between an uplink user plane F-TEID and a user identifier;
a second obtaining unit, configured to perform GTP tunnel decapsulation on the N3 interface data, to obtain a mapping relationship between the uplink and downlink user plane F-TEID and user data;
and a third obtaining unit, configured to obtain a mapping relationship between the user data and the user identifier according to a mapping relationship between the uplink and downlink user plane F-TEID and the user identifier and a mapping relationship between the uplink and downlink user plane F-TEID and the user data.
Preferably, the first obtaining unit is specifically configured to
Analyzing and associating the PFCP Session Establishment signaling process;
analyzing and associating a PFCP Session Modification signaling process;
the PFCP Session Modification signaling procedure is associated with the PFCP Session Establishment signaling procedure.
Preferably, the PFCP Session Establishment signaling procedure includes PFCP Session Establishment Request signaling and PFCP Session Establishment Response signaling; the PFCP Session Modification signaling procedure includes PFCP Session Modification Request signaling and PFCP Session Modification Response signaling;
the first obtaining unit is specifically configured to:
associating the PFCP Session Establishment Request signaling with the PFCP Session Establishment Response signaling to obtain a mapping relation between a binary group, an uplink user plane F-TEID and the user identification;
and associating the PFCP Session Modification Request signaling with the PFCP Session Modification Response signaling to obtain a mapping relation between a binary group and a downlink user plane F-TEID.
Preferably, the first obtaining unit is specifically configured to:
associating the mapping relation between the binary group and the uplink user plane F-TEID and the user identification with the mapping relation between the binary group and the downlink user plane F-TEID to obtain the mapping relation between the binary group and the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification;
and determining the mapping relation between the uplink user plane F-TEID and the user identification and the mapping relation between the downlink user plane F-TEID and the user identification according to the mapping relation between the binary group, the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification.
The embodiment of the invention provides a method and a device for associating 5G signaling with user plane data, wherein the method comprises the following steps: collecting N4 interface signaling and N3 interface data included in a 5G core network, and shunting the collected N4 interface signaling and the collected N3 interface data according to a protocol; analyzing and associating the N4 interface signaling to generate a mapping relation between an uplink user plane F-TEID and a downlink user plane F-TEID; carrying out GTP tunnel decapsulation on the N3 interface data to generate a mapping relation between the uplink and downlink user plane F-TEID and user data; and obtaining the mapping relation between the user data and the user identification according to the mapping relation between the uplink and downlink user plane F-TEID and the user identification and the mapping relation between the uplink and downlink user plane F-TEID and the user data. According to the method, the correlation between the 5G user internet service data and the user identification is realized by acquiring and analyzing the N4 interface signaling and the N3 interface data in the 5G core network, so that data support is provided for the analysis of the 5G mobile internet monitoring system. The problem that the existing 5G user internet service data is not associated with the user identification, and if only user plane data is monitored, the service data cannot be associated with the user is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for associating 5G signaling with user plane data according to an embodiment of the present invention;
fig. 2 is a schematic diagram of the positions of the N4 interface and the N3 interface in a 5G network according to an embodiment of the present invention;
fig. 3 is a main flow diagram of an N4 interface signaling resolution association provided in the embodiment of the present invention;
fig. 4 is a schematic diagram of an analysis association flow of a N4 interface PFCP Session Establishment signaling process according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an N4 interface PFCP Session Modification signaling process parsing association flow according to an embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating an association process between a PFCP Session Modification signaling process and a PFCP Session Establishment signaling process of an N4 interface according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a mapping relationship generated by analyzing a PFCP Session Establishment Request message according to an embodiment of the present invention;
fig. 8 is a schematic diagram illustrating a mapping relationship generated by analyzing a PFCP Session Establishment Response message according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a mapping relationship generated by associating a PFCP Session Establishment Request message with a PFCP Session Establishment Response message according to an embodiment of the present invention;
fig. 10 is a schematic diagram of another mapping relationship generated by associating a PFCP Session Establishment Request message with a PFCP Session Establishment Response message according to an embodiment of the present invention;
fig. 11 is a schematic diagram illustrating a mapping relationship generated by analyzing a PFCP Session Modification Request message according to an embodiment of the present invention;
fig. 12 is a schematic diagram illustrating a mapping relationship generated by analyzing a PFCP Session Modification Response message according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a mapping relationship generated by associating a PFCP Session Modification Request message with a PFCP Session Modification Response message according to an embodiment of the present invention;
fig. 14 is another mapping relationship generated by associating the PFCP Session Modification Request message with the PFCP Session Modification Response message according to the embodiment of the present invention;
fig. 15 is a schematic diagram of a mapping relationship generated by the correlation between the PFCP Session Modification process and the PFCP Session Establishment process according to the embodiment of the present invention;
fig. 16 is a schematic diagram of another mapping relationship generated by associating the PFCP Session Modification process with the PFCP Session Establishment process according to the embodiment of the present invention;
fig. 17 is a schematic diagram of another mapping relationship generated by the correlation between the PFCP Session Modification process and the PFCP Session Establishment process according to the embodiment of the present invention;
fig. 18 is a schematic diagram of a mapping relationship generated by parsing N3 interface data according to an embodiment of the present invention;
fig. 19 is a schematic diagram of another mapping relationship generated by parsing N3 interface data according to an embodiment of the present invention;
fig. 20 is a schematic diagram of a mapping relationship generated by associating N3 interface data with N4 interface signaling according to an embodiment of the present invention;
fig. 21 is a schematic structural diagram of an apparatus for associating 5G signaling with user plane data according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 exemplarily shows a flow chart of a method for associating 5G signaling with user plane data provided by an embodiment of the present invention, and as shown in fig. 1, the method mainly includes the following steps:
s1, collecting N4 interface signaling and N3 interface data included in the 5G core network, and shunting the collected N4 interface signaling and the collected N3 interface data according to a protocol;
s2, analyzing and associating the N4 interface signaling to generate a mapping relation between an uplink user plane F-TEID and a downlink user plane F-TEID;
s3, carrying out GTP tunnel decapsulation on the N3 interface data to generate a mapping relation between the uplink and downlink user plane F-TEID and the user data;
s4, obtaining the mapping relation between the user data and the user identification according to the mapping relation between the uplink and downlink user plane F-TEID and the user identification and the mapping relation between the uplink and downlink user plane F-TEID and the user data.
The above steps are to copy and output the N4 interface signaling and N3 interface data in the 5G core network, and output them to a device for associating the 5G signaling with the user plane data, or output them to other devices using the method for associating the 5G signaling with the user plane data.
In S1, the N4 interface is an interface between the SMF and the UPF of the 5G core network, and a PFCP protocol is used for communication; the N3 interface is AN interface between a 5G access network (R) AN and a UPF of a 5G core network, a GTP-U protocol is adopted for communication, and data transmitted in the N3 interface is 5G user internet service data. In particular, the position schematic diagram of the N4 interface and the N3 interface in the 5G network provided in fig. 2 can be referred to.
It should be noted that, in the embodiment of the present invention, the signaling of the N4 interface may be split according to the UDP port number 8805, and the data of the N3 interface may be split according to the UDP port number 2152.
Fig. 3 is a main flow chart of analyzing and associating signaling of an N4 interface according to an embodiment of the present invention, and as shown in fig. 3, in S2, analyzing and associating the signaling of the N4 interface mainly includes the following steps:
s21: and analyzing and associating the PFCP Session Establishment signaling process to generate a mapping relation between the binary group and the uplink user plane F-TEID and the user identification.
It should be noted that, in the embodiment of the present invention, the duplet includes an uplink control plane F-SEID and a downlink control plane F-SEID.
Further, the PFCP Session Establishment signaling process includes a PFCP Session Establishment Request signaling and a PFCP Session Establishment Response signaling, and analyzes and associates the PFCP Session Establishment signaling process, which may specifically refer to an N4 interface PFCP Session Establishment signaling process analysis and association flow chart provided in fig. 4, and as shown in fig. 4, mainly includes the following steps:
s211: and analyzing the PFCP Session Establishment Request message, and extracting the mapping relation among the triple, the downlink control plane F-SEID and the user identification, wherein the triple comprises an uplink control plane IP, a downlink control plane IP and a Sequence Number.
In the embodiment of the invention, the uplink control plane IP can be extracted from a destination IP field of an IP header in a PFCP Session Establishment Request message, the downlink control plane IP can be extracted from a source IP field of the IP header in the PFCP Session Establishment Request message, the Sequence Number can be extracted from a Sequence Number field of the PFCP protocol header, the downlink control plane F-SEID can be extracted from a CP F-SEID cell of a PFCP protocol load part, and the User identifier can be extracted from a User ID cell of the PFCP protocol load part.
After the Key information is extracted from the PFCP Session update Request message, the triple can be used as Key, the downlink control plane F-SEID and the user identification can be used as Value, and a mapping relation is generated. The mapping relationship generated by the triple, the downlink control plane F-SEID, and the user identifier may refer to a mapping relationship diagram generated by analyzing the PFCP Session Establishment Request message provided in fig. 7.
S212: and analyzing the PFCP Session Establishment Response message, and extracting the mapping relation among the triples, the uplink control plane F-SEID and the uplink user plane F-TEID.
The uplink control plane IP can be extracted from a source IP field of an IP head in a PFCP Session Establishment Response message, the downlink control plane IP can be extracted from a destination IP field of the IP head in the PFCP Session Establishment Response message, the Sequence Number can be extracted from a Sequence Number field of the PFCP protocol head, the uplink control plane F-SEID can be extracted from a CP F-SEID cell of a PFCP protocol load part, and the uplink user plane F-TEID can be extracted from a Created PDR cell of the PFCP protocol load part.
After the above Key information is extracted from the PFCP Session Establishment Response message, the triplet may be used as Key, and the uplink control plane F-SEID and the uplink user plane F-TEID may be used as Value to generate a mapping relationship, where the mapping relationship generated by the triplet, the uplink control plane F-SEID and the uplink user plane F-TEID may refer to the mapping relationship diagram for analyzing the PFCP Session Establishment Response message, provided in fig. 8.
S213: and associating the PFCP Session update Request message with the PFCP Session update Response message to acquire the mapping relation of the binary group, the uplink user plane F-TEID and the user identification.
First, the mapping relationship generated in step S211 and the mapping relationship generated in step S212 are associated according to Key values (uplink control plane IP, downlink control plane IP, Sequence Number), and if the Key values are the same, merging the Value values to generate a mapping relation of the triple, the uplink control plane F-SEID, the downlink control plane F-SEID, the uplink user plane F-TEID and the user identification, wherein the triplet is used as Key, the uplink control plane F-SEID, the downlink control plane F-SEID, the uplink user plane F-TEID and the user identification are used as Value, wherein, the mapping relation generated by the triple, the uplink control plane F-SEID, the downlink control plane F-SEID, the uplink user plane F-TEID and the user identification, reference may be made to fig. 9 for a schematic diagram of a mapping relationship generated by associating a PFCP Session Establishment Request message and a PFCP Session Establishment Response message.
Secondly, a binary group can be extracted from the Value part of the mapping relationship to be used as a Key, an uplink user plane F-TEID and a user identifier to be used as a Value, and a mapping relationship is generated, wherein the mapping relationship among the binary group, the uplink user plane F-TEID and the user identifier can refer to another mapping relationship diagram generated by the correlation of the PFCP Session Establishment Request message and the PFCP Session Establishment Response message provided in fig. 10.
S22: and analyzing and associating the PFCP Session Modification signaling process to generate a mapping relation between the binary group and the downlink user plane F-TEID.
Specifically, the PFCP Session Modification signaling procedure includes PFCP Session Modification Request signaling and PFCP Session Modification Response signaling. Fig. 5 is a schematic diagram of an analysis association flow of a PFCP Session Modification signaling process of an N4 interface according to an embodiment of the present invention, where as shown in fig. 5, the association process includes the following steps:
s221: and analyzing the PFCP Session Modification Request message, and extracting the mapping relation among the triples, the uplink control plane F-SEID and the downlink user plane F-TEID.
The uplink control plane IP can be extracted from a destination IP field of an IP header in a PFCP Session Modification Request message, the downlink control plane IP can be extracted from a source IP field of the IP header in the PFCP Session Modification Request message, a Sequence Number can be extracted from a Sequence Number field of the PFCP protocol header, the uplink control plane F-SEID can be obtained by combining the destination IP and the SEID field in the PFCP protocol header, and the downlink user plane F-TEID can be extracted from an Update FAR cell of the PFCP protocol load part.
After the above Key information is extracted from the PFCP Session Modification Request message, a mapping relationship may be generated by using the triplet as Key, the uplink control plane F-SEID, and the downlink user plane F-TEID as Value, where the mapping relationship among the triplet, the uplink control plane F-SEID, and the downlink user plane F-TEID may refer to the mapping relationship diagram for analyzing the PFCP Session Modification Request message generation provided in fig. 11.
S222: and analyzing the PFCP Session Modification Response message, and extracting the mapping relation between the triple and the downlink control plane F-SEID.
The uplink control plane IP can be extracted from a source IP field of an IP header in a PFCP Session Modification Response message, the downlink control plane IP can be extracted from a destination IP field of the IP header in the PFCP Session Modification Response message, a Sequence Number can be extracted from a Sequence Number field of the PFCP protocol header, and a downlink control plane F-SEID can be obtained by combining the destination IP and the SEID field in the PFCP protocol header.
After the above Key information is extracted from the PFCP Session Modification Response message, a mapping relationship may be generated by using the triplet as a Key and the downlink control plane F-SEID as a Value, where the mapping relationship between the triplet and the downlink control plane F-SEID may refer to the mapping relationship diagram generated by analyzing the PFCP Session Modification Response message provided in fig. 12.
S223: and associating the PFCP Session Modification Request message with the PFCP Session Modification Response message to acquire the mapping relation between the binary group and the downlink user plane F-TEID.
First, the mapping relationship generated in step S221 and the mapping relationship generated in step S222 are associated according to the Key values, and if the Key values are the same, the Value values are merged to generate a triple as the Key, and the uplink control plane F-SEID, the downlink control plane F-SEID, and the downlink user plane TEID are used as the mapping relationship of the Value. For a mapping relationship among the triplets, the uplink control plane F-SEID, the downlink control plane F-SEID, and the downlink user plane TEID, reference may be made to a mapping relationship diagram generated by associating the PFCP Session Modification Request message and the PFCP Session Modification Response message provided in fig. 13.
Secondly, the mapping relationship between the binary and the F-TEID of the downlink user plane can be extracted from the Value part of the mapping relationship as shown in fig. 14.
S23: and associating the PFCP Session Modification signaling process with the PFCP Session updating signaling process to generate a mapping relation between an uplink user plane F-TEID and a user identifier and a mapping relation between a downlink user plane F-TEID and a user identifier.
Fig. 6 is a schematic diagram of an association flow between a PFCP Session Modification signaling process and a PFCP Session Establishment signaling process of an N4 interface according to an embodiment of the present invention, where as shown in fig. 6, the association flow includes the following steps:
s231: the mapping relationship generated in step S223 and the mapping relationship generated in step S213 are associated according to Key values (uplink control plane F-SEID, downlink control plane F-SEID), and if the Key values are the same, the Value values are merged to generate a mapping relationship of a binary group, an uplink user plane F-TEID, a downlink user plane F-TEID, and a user identifier, where the binary group is Key, and the uplink user plane F-TEID, the downlink user plane F-TEID, and the user identifier are used as Value to generate the mapping relationship, and the binary group is Key, and the mapping relationship of the uplink user plane F-TEID, the downlink user plane F-TEID, and the user identifier is Value is generated, as shown in fig. 15, which can refer to a mapping relationship diagram generated by associating the PFCP Session Modification process and the PFCP Session Establishment process.
S232: an uplink user plane F-TEID can be extracted from the Value part of the mapping relationship generated in step S231 as a Key, a user identifier is used as the mapping relationship of the Value, and a schematic diagram of another mapping relationship generated by associating the PFCP Session Modification process with the PFCP Session Establishment process can be provided with reference to fig. 16; the downlink user plane F-TEID is used as Key, the user identifier is used as mapping relationship of Value, and a schematic diagram of another mapping relationship generated by associating the PFCP Session Modification process with the PFCP Session Establishment process can be provided with reference to fig. 17.
S3: and carrying out GTP tunnel decapsulation on the N3 interface data to generate a mapping relation between the uplink and downlink user plane F-TEID and the user plane data.
Fig. 18 is a schematic diagram of a mapping relationship generated by analyzing N3 interface data, where the mapping relationship may be obtained by analyzing uplink user plane data and extracting uplink user plane F-TEID as Key and user plane data as Value. The uplink user plane F-TEID (i.e. UPF user plane F-TEID) can be obtained by combining the destination IP field in the GTP data packet IP header with the TEID field in the GTP protocol header.
Fig. 19 is a schematic diagram of another mapping relationship generated by parsing N3 interface data according to an embodiment of the present invention, where a mapping relationship between a downlink user plane F-TEID as Key and a user plane data as Value can be extracted by parsing downlink user plane data. The F-TEID of the downlink user plane can be obtained by combining a destination IP field in an IP header of the GTP data message with a TEID field in a GTP protocol header.
S4: and obtaining the mapping relation between the user data and the user identification according to the mapping relation between the uplink and downlink user plane F-TEID and the user identification and the mapping relation between the uplink and downlink user plane F-TEID and the user data.
For the uplink user plane data, the mapping relationship generated in step S3 and the mapping relationship generated in step S232 may be associated according to the uplink user plane F-TEID, so as to obtain the mapping relationship in which the user plane data is used as Value and IMSI (subscriber identity) is used as Key, where the mapping relationship between the user plane data and the subscriber identity may be provided by referring to fig. 20, which is a schematic diagram of the mapping relationship generated by associating the N3 interface data with the N4 interface signaling.
For the downlink user plane data, the further mapping relationship generated in step S3 and the further mapping relationship generated in step S232 may be associated according to the downlink user plane F-TEID, so as to obtain the mapping relationship between the user plane data and the user identifier, see also fig. 20.
In summary, an embodiment of the present invention provides a method and an apparatus for associating 5G signaling with user plane data, including: collecting N4 interface signaling and N3 interface data included in a 5G core network, and shunting the collected N4 interface signaling and the collected N3 interface data according to a protocol; analyzing and associating the N4 interface signaling to generate a mapping relation between an uplink user plane F-TEID and a downlink user plane F-TEID; carrying out GTP tunnel decapsulation on the N3 interface data to generate a mapping relation between the uplink and downlink user plane F-TEID and user data; and obtaining the mapping relation between the user data and the user identification according to the mapping relation between the uplink and downlink user plane F-TEID and the user identification and the mapping relation between the uplink and downlink user plane F-TEID and the user data. According to the method, the correlation between the 5G user internet service data and the user identification is realized by acquiring and analyzing the N4 interface signaling and the N3 interface data in the 5G core network, so that data support is provided for the analysis of the 5G mobile internet monitoring system. The problem that the existing 5G user internet service data is not associated with the user identification, and if only user plane data is monitored, the service data cannot be associated with the user is solved.
Based on the same inventive concept, embodiments of the present invention provide a device for associating 5G signaling with user plane data, and since the principle of the device for solving the technical problem is similar to a method for associating 5G signaling with user plane data, the implementation of the device may refer to the implementation of the method, and repeated details are omitted.
Fig. 21 is a schematic structural diagram of an apparatus for associating 5G signaling with user plane data according to an embodiment of the present invention, and as shown in fig. 21, the apparatus mainly includes: a shunting unit 211, a first obtaining unit 212, a second obtaining unit 213, a second obtaining unit 214 and a third obtaining unit 215.
The offloading unit 211 is configured to acquire an N4 interface signaling and N3 interface data included in a 5G core network, and offload the acquired N4 interface signaling and N3 interface data according to a protocol;
a first obtaining unit 212, configured to perform analysis association on the N4 interface signaling to obtain a mapping relationship between an uplink user plane F-TEID and a user identifier;
a second obtaining unit 213, configured to perform GTP tunnel decapsulation on the N3 interface data, to obtain a mapping relationship between the uplink and downlink user plane F-TEID and the user data;
a third obtaining unit 214, configured to obtain a mapping relationship between the user data and the user identifier according to a mapping relationship between the uplink and downlink user plane F-TEID and the user identifier and a mapping relationship between the uplink and downlink user plane F-TEID and the user data.
Preferably, the first obtaining unit 212 is specifically configured to
Analyzing and associating the PFCP Session Establishment signaling process;
analyzing and associating a PFCP Session Modification signaling process;
the PFCP Session Modification signaling procedure is associated with the PFCP Session Establishment signaling procedure.
Preferably, the PFCP Session Establishment signaling procedure includes PFCP Session Establishment Request signaling and PFCP Session Establishment Response signaling; the PFCP Session Modification signaling procedure includes PFCP Session Modification Request signaling and PFCP Session Modification Response signaling;
the first obtaining unit 212 is specifically configured to:
associating the PFCP Session Establishment Request signaling with the PFCP Session Establishment Response signaling to obtain a mapping relation between a binary group, an uplink user plane F-TEID and the user identification;
and associating the PFCP Session Modification Request signaling with the PFCP Session Modification Response signaling to obtain a mapping relation between a binary group and a downlink user plane F-TEID.
Preferably, the first obtaining unit 212 is specifically configured to:
associating the mapping relation between the binary group and the uplink user plane F-TEID and the user identification with the mapping relation between the binary group and the downlink user plane F-TEID to obtain the mapping relation between the binary group and the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification;
and determining the mapping relation between the uplink user plane F-TEID and the user identification and the mapping relation between the downlink user plane F-TEID and the user identification according to the mapping relation between the binary group, the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification.
It should be understood that the above apparatus for associating 5G signaling with user plane data includes only units that are logically divided according to the functions implemented by the device apparatus, and in practical applications, the above units may be overlapped or split. The functions implemented by the apparatus for associating 5G signaling with user plane data provided in this embodiment correspond to the method for associating 5G signaling with user plane data provided in the foregoing embodiment one to one, and for a more detailed processing flow implemented by the apparatus, detailed description is already made in the above method embodiment, and details are not described here.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for associating 5G signaling with user plane data is characterized by comprising the following steps:
collecting N4 interface signaling and N3 interface data included in a 5G core network, and shunting the collected N4 interface signaling and the collected N3 interface data according to a protocol;
analyzing and associating the N4 interface signaling to generate a mapping relation between an uplink user plane F-TEID and a downlink user plane F-TEID;
carrying out GTP tunnel decapsulation on the N3 interface data to generate a mapping relation between the uplink and downlink user plane F-TEID and user data;
and obtaining the mapping relation between the user data and the user identification according to the mapping relation between the uplink and downlink user plane F-TEID and the user identification and the mapping relation between the uplink and downlink user plane F-TEID and the user data.
2. The method according to claim 1, wherein said parsing and associating said N4 interface signaling to generate a mapping relationship between an uplink and downlink user plane F-TEID and a user identity, specifically comprises:
analyzing and associating the PFCP Session Establishment signaling process;
analyzing and associating a PFCP Session Modification signaling process;
the PFCP Session Modification signaling procedure is associated with the PFCP Session Establishment signaling procedure.
3. The method of claim 2, wherein the PFCP Session Establishment signaling procedure comprises PFCP Session Establishment Request signaling and PFCP Session Establishment Response signaling;
the analyzing and associating the PFCP Session Establishment signaling process specifically includes:
and associating the PFCP Session Establishment Request signaling with the PFCP Session Establishment Response signaling to obtain a mapping relation between a binary group, an uplink user plane F-TEID and the user identification.
4. The method of claim 2, wherein the PFCP Session Modification signaling procedure comprises PFCP Session Modification Request signaling and PFCP Session Modification Response signaling;
analyzing and associating a PFCP Session Modification signaling process, specifically comprising:
and associating the PFCP Session Modification Request signaling with the PFCP Session Modification Response signaling to obtain a mapping relation between a binary group and a downlink user plane F-TEID.
5. The method according to claim 3 or 4, wherein associating the PFCP Session Modification signaling procedure with the PFCP Session Establishment signaling procedure specifically comprises:
associating the mapping relation between the binary group and the uplink user plane F-TEID and the user identification with the mapping relation between the binary group and the downlink user plane F-TEID to obtain the mapping relation between the binary group and the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification;
and determining the mapping relation between the uplink user plane F-TEID and the user identification and the mapping relation between the downlink user plane F-TEID and the user identification according to the mapping relation between the binary group and the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification.
6. The method of claim 5, wherein the duplet comprises an uplink control plane F-SEID and a downlink control plane F-SEID.
7. An apparatus for associating 5G signaling with user plane data, comprising:
the shunting unit is used for collecting N4 interface signaling and N3 interface data included in the 5G core network and shunting the collected N4 interface signaling and the collected N3 interface data according to a protocol;
a first obtaining unit, configured to perform analysis association on the N4 interface signaling to obtain a mapping relationship between an uplink user plane F-TEID and a user identifier;
a second obtaining unit, configured to perform GTP tunnel decapsulation on the N3 interface data, to obtain a mapping relationship between the uplink and downlink user plane F-TEID and user data;
and a third obtaining unit, configured to obtain a mapping relationship between the user data and the user identifier according to a mapping relationship between the uplink and downlink user plane F-TEID and the user identifier and a mapping relationship between the uplink and downlink user plane F-TEID and the user data.
8. The apparatus of claim 7, wherein the first obtaining unit is specifically configured to:
analyzing and associating the PFCP Session Establishment signaling process;
analyzing and associating a PFCP Session Modification signaling process;
the PFCP Session Modification signaling procedure is associated with the PFCP Session Establishment signaling procedure.
9. The apparatus of claim 8, wherein the PFCP Session Establishment signaling procedure comprises PFCP Session Establishment Request signaling and PFCP Session Establishment Response signaling; the PFCP Session Modification signaling procedure includes PFCP Session Modification Request signaling and PFCP Session Modification Response signaling;
the first obtaining unit is specifically configured to:
associating the PFCP Session Establishment Request signaling with the PFCP Session Establishment Response signaling to obtain a mapping relation between a binary group, an uplink user plane F-TEID and the user identification;
and associating the PFCP Session Modification Request signaling with the PFCP Session Modification Response signaling to obtain a mapping relation between a binary group and a downlink user plane F-TEID.
10. The apparatus according to claim 9, wherein the first obtaining unit is specifically configured to:
associating the mapping relation between the binary group and the uplink user plane F-TEID and the user identification with the mapping relation between the binary group and the downlink user plane F-TEID to obtain the mapping relation between the binary group and the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification;
and determining the mapping relation between the uplink user plane F-TEID and the user identification and the mapping relation between the downlink user plane F-TEID and the user identification according to the mapping relation between the binary group, the uplink user plane F-TEID, the downlink user plane F-TEID and the user identification.
CN202010991554.8A 2020-09-18 2020-09-18 Method and device for associating 5G signaling with user plane data Active CN112055422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010991554.8A CN112055422B (en) 2020-09-18 2020-09-18 Method and device for associating 5G signaling with user plane data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010991554.8A CN112055422B (en) 2020-09-18 2020-09-18 Method and device for associating 5G signaling with user plane data

Publications (2)

Publication Number Publication Date
CN112055422A CN112055422A (en) 2020-12-08
CN112055422B true CN112055422B (en) 2022-03-08

Family

ID=73604088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010991554.8A Active CN112055422B (en) 2020-09-18 2020-09-18 Method and device for associating 5G signaling with user plane data

Country Status (1)

Country Link
CN (1) CN112055422B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672381B (en) * 2021-01-13 2022-11-11 深圳市恒扬数据股份有限公司 Data association method, device, terminal equipment and medium
CN113179229A (en) * 2021-03-10 2021-07-27 长沙星融元数据技术有限公司 Verification method, verification device, storage medium and electronic equipment
CN113825129B (en) * 2021-09-14 2024-05-03 工业和信息化部北京互联网交换中心 Industrial Internet asset mapping method in 5G network environment
CN117098188B (en) * 2023-08-11 2024-03-12 武汉博易讯信息科技有限公司 Method and system for user plane data association backfilling through N4 flow

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998668A (en) * 2009-08-27 2011-03-30 中兴通讯股份有限公司 Method and device for transmitting data between GTP-U (GPRS Tunneling Protocol for the User plane) entities in radio connection
CN109634908B (en) * 2018-12-14 2021-05-04 北京锐安科技有限公司 Data association method, data processing device and storage medium
ES2900460T3 (en) * 2019-02-14 2022-03-17 Ericsson Telefon Ab L M PFCP Association Release Requested by Enhanced UP Function
CN111182577B (en) * 2020-01-03 2022-04-22 重庆邮电大学 CDR synthesis monitoring system and method suitable for 5G road tester
CN111405572B (en) * 2020-03-26 2022-09-13 中国铁塔股份有限公司 Mapping relation establishing method, device, user plane function and medium

Also Published As

Publication number Publication date
CN112055422A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN112055422B (en) Method and device for associating 5G signaling with user plane data
CN111565113B (en) Flexible Ethernet network topology abstraction method and system for SDN controller
CN112291724B (en) 5G signaling visualization method and device
WO2017092347A1 (en) Method, device and system for updating client configuration in memcached system
CN112738791B (en) User information correlation backfill method, device, equipment and medium based on 5G core network
CN111432025B (en) Cloud edge cooperation-oriented distributed service directory management method and system
EP3364627B1 (en) Adaptive session intelligence extender
CN110971702A (en) Service calling method and device, computer equipment and storage medium
CN114926163A (en) Resource cross-chain transfer method and device
CN113485842A (en) Method and device for analyzing data based on device cluster
CN113596917A (en) Method and device for realizing GTP communication data message processing based on signaling assistance
CN110768870B (en) Quality monitoring method and device for intelligent special line
WO2023213089A1 (en) Data processing method and apparatus, computer readable medium, and terminal device
CN115269719A (en) Data synchronization method and device
CN107147694B (en) Information processing method and device
CN114553707A (en) Method and device for generating topology information of network and delimiting network fault
CN107086958A (en) A kind of data transmission method, wap gateways and system
CN114465878B (en) Service port switching method and device
CN109040671A (en) A kind of implementation method of LTE network mobile video monitor
WO2024089943A1 (en) Procedure execution control method and program
CN113132233B (en) Data processing method, software defined network controller and data processing system
CN117938989B (en) Method, device, equipment and storage medium for associating 5G signaling with user data
CN116996933A (en) Control method and control module of fusion gateway, fusion gateway and storage medium
CN113067771B (en) Managing virtual link aggregation channels
WO2020200123A1 (en) Communication method and apparatus

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210220

Address after: 710061 Yanta West Road, Yanta District, Xi'an, Shaanxi Province, No. 6

Applicant after: THE TENTH RESEARCH INSTITUTE OF TELECOMMUNICATIONS TECHNOLOGY Co.,Ltd.

Applicant after: NATIONAL COMPUTER NETWORK AND INFORMATION SECURITY MANAGEMENT CENTER

Address before: 710061 Yanta West Road, Yanta District, Xi'an, Shaanxi Province, No. 6

Applicant before: THE TENTH RESEARCH INSTITUTE OF TELECOMMUNICATIONS TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant