A method and system for tracing the source and location of 5G traffic users with low latency
By analyzing NGAP and PFCP signaling in 5G signaling messages, obtaining and storing user association information, and establishing a context, 5G user traffic traceability and location tracking with low latency are realized, and the problem of insufficient delay in the existing technology is solved. , supports centralized and distributed signaling processing.
Patent Information
- Application Number
- CN202211332193.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2042-10-28
AI Technical Summary
The existing 5G user traceability methods lack in latency and cannot meet the high-speed and low-latency requirements of 5G networks.
By obtaining and parsing NGAP signaling and PFCP signaling in 5G signaling messages, user association information is obtained and synchronized to the user association information synchronization packet, user association information is analyzed and stored, NGAP and PFCP context is established, and user data is realized. Association and location tracking, supporting centralized and distributed signaling processing modes.
It realizes low-latency 5G user traffic traceability and location tracking, with low overall delay and supports compatibility between two signaling processing methods.
Smart Images

Figure CN115734210B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network communication technology, and in particular to a method and system for tracing the source and location of 5G traffic users with low latency. Background Art
[0002] Mobile communications continue to develop with a new generation of technology every ten years, and have gone through the development of 1G, 2G, 3G, and 4G. Each technological advancement has greatly promoted industrial upgrading and economic and social development. In recent years, 4G networks have created a prosperous Internet economy and solved the problem of people communicating with each other anytime and anywhere. With the rapid development of mobile Internet, new services and new businesses continue to emerge, and mobile data business traffic has exploded. There is an urgent need for a new generation of mobile communication technology with key performances such as high speed, low latency and large connections. 5G mobile communication technology has emerged.
[0003] As the pace of 5G commercialization accelerates, the evolution of network architecture has promoted the development of the Internet while also bringing an impact to the traditional network user tracing system. The 5G core network will tend to adopt a cloud-based distributed deployment architecture. The core network signaling network elements will be mainly deployed in provincial trunk and regional center computer rooms. The data plane network elements adopt a CU separation deployment solution based on the performance differences of different services. For different deployment plans, the traditional user tracing system needs to evolve further. However, the 5G user tracing methods in the existing technology are all lacking in latency, and it is necessary to provide a more efficient 5G user tracing method that is suitable for 5G networks. Summary of the invention
[0004] Purpose of the invention: In view of the above technical problems, the present invention provides a method for tracing the source and location of 5G traffic users with low latency, which realizes tracing the source and location of 5G users with low latency by completing the signaling analysis of N2 and N4 ports and associating the user data of N3 port. The present invention also provides a system for tracing the source and location of 5G traffic users with low latency, which can realize tracing the source of 5G users with low latency.
[0005] Technical solution: To solve the above problems, the present invention discloses a method for tracing the source and location of 5G traffic users with low latency, which specifically includes the following steps:
[0006] (1) Obtain user messages, identify and divert 5G signaling messages and user data messages;
[0007] (2) parsing the NGAP signaling and the PFCP signaling in the 5G signaling message to obtain the user association information and synchronously transmitting it to the user association information synchronization package; the user association information synchronization package is used to receive and store the user association information;
[0008] (3) parsing the user association information in the user association information synchronization package; extracting the bearer information and user information in the user association information and storing them in the bearer information database and the user information database respectively;
[0009] (4) Parse the user data message and extract the bearer information, use the bearer information to query the bearer information database and associate it with the user information database to extract the user information.
[0010] Furthermore, the user association information in step (2) includes first user association information and second user association information, and the specific steps are:
[0011] (2.1) Parse the NGAP signaling in the 5G signaling message and query the NGAP context; if the NGAP context is found, update the first user association information recorded in the NGAP context, including tunnel information, slice information, and user location; if the NGAP context is not found, establish the NGAP context, record the user location, and record the tunnel information and slice information in the corresponding PDU session node; extract the first user association information and synchronously transmit it to the user association information synchronization package;
[0012] (2.2) parsing the PFCP signaling in the 5G signaling message, querying the PFCP context and extracting the second user association information recorded in the PFCP context, including DNN, PDR, and FAR; synchronously transmitting the second user association information to the user association information synchronization package;
[0013] (2.3) The first user association information and the second user association information are obtained and synchronously transmitted to a user association information synchronization package.
[0014] Furthermore, step (2) specifically includes:
[0015] If in the centralized signaling processing mode, extract the uplink bearer information during the query of the NGAP context, query the PFCP context through the uplink bearer information and associate the PFCP context; extract the user context index recorded in the PFCP context, and update the extracted user association information to the user context according to the user context index;
[0016] Parse the PFCP signaling in the 5G signaling message and extract SUPI, query the user context through SUPI, if not found, create a user context to record the user's three-code information, and create a PFCP context to record DNN, PDR, and FAR to update to the PFCP session context; establish an association relationship between the user context and the PFCP context; if the user context is found, directly query the PFCP context through the user context association; if the PFCP context is found, update the DNN, PDR, and FAR recorded in the PFCP context to the PFCP session context; if the PFCP context is not found, create and record DNN, PDR, and FAR information, and update the DNN, PDR, and FAR recorded in the PFCP context to the PFCP session context; the user three-code information is: IMSI, IMEI, and MSISDN;
[0017] The first user association information in the user context and the second user association information in the PFCP session context are obtained and synchronously transmitted to the user association information synchronization package.
[0018] Furthermore, step (2) specifically includes:
[0019] If in the distributed signaling processing mode, the first user association information extracted during the query of the NGAP context and the second user association information extracted during the query of the PFCP context are directly and synchronously transmitted to the user association information synchronization package.
[0020] In addition, the present application also discloses a low-latency 5G traffic user tracing and location tracking system, including a message acquisition module, a 5G signaling analysis module, a user association information processing module, and a user data association module;
[0021] A message acquisition module is used to acquire user messages, identify and divert 5G signaling messages and user data messages; a 5G signaling analysis module is used to respectively parse the NGAP signaling and PFCP signaling in the 5G signaling message to obtain user-related information; the user-related information includes first user-related information and second user-related information; and the extracted user-related information is synchronously transmitted to a user-related information synchronization package; the user-related information synchronization package is used to receive and store user-related information; a user-related information processing module is used to parse the user-related information in the user-related information synchronization package, extract the bearer information and user information in the user-related information, and store them in the corresponding bearer information library and user information database respectively; a user data association module is used to parse the user data message and extract the bearer information, use the bearer information to query the bearer information library and associate the user information database to extract the user information.
[0022] Furthermore, the 5G signaling analysis module includes an NGAP signaling analysis module, a PFCP signaling analysis module, and a user-related information transmission module, specifically including:
[0023] NGAP signaling analysis module, used to parse NGAP signaling in 5G signaling messages and query NGAP context; if found, update the first user association information recorded in the NGAP context, including tunnel information, slice information, and user location; if not found, establish NGAP context, record user location, and record tunnel information and slice information in the corresponding PDU session node;
[0024] A PFCP signaling analysis module is used to parse the PFCP signaling in the 5G signaling message, query the PFCP context and extract the second user association information recorded in the PFCP context, including DNN, PDR, and FAR;
[0025] The user association information transmission module is used to obtain the first user association information and the second user association information and synchronously transmit them to a user association information synchronization package.
[0026] Further, the NGAP signaling analysis module and the PFCP signaling analysis module include a centralized signaling processing unit;
[0027] The centralized signaling processing unit is used to extract uplink bearer information during the query of NGAP context, query PFCP context through the uplink bearer information and associate the PFCP context; extract the user context index recorded in the PFCP context, and update the extracted user association information to the user context according to the user context index;
[0028] Used to parse the PFCP signaling in the 5G signaling message and extract SUPI, query the user context through SUPI, if not found, create a user context to record the user's three-code information, and create a PFCP context to record DNN, PDR, and FAR to update to the PFCP session context; establish an association relationship between the user context and the PFCP context; if the user context is found, directly query the PFCP context through the user context association; if the PFCP context is found, update the DNN, PDR, and FAR recorded in the PFCP context to the PFCP session context; if the PFCP context is not found, create and record DNN, PDR, and FAR information, and update the DNN, PDR, and FAR recorded in the PFCP context to the PFCP session context; the user three-code information is: MSI, IMEI, and MSISDN;
[0029] Used to transmit the first user association information in the acquired user context and the second user association information in the PFCP session context to the user association information transmission module.
[0030] Further, the NGAP signaling analysis module and the PFCP signaling analysis module include a distributed signaling processing unit;
[0031] The distributed signaling processing unit is used to directly transmit the first user association information extracted during the query of the NGAP context and the second user association information extracted during the query of the PFCP context to the user association information transmission module.
[0032] Beneficial effects: The present invention provides a method for tracing and tracking the location of 5G traffic users with low latency, which has the following significant advantages over the prior art: 1. By parsing the NGAP signaling of the N2 port and the PFCP signaling of the N4 port, the NGAP context, PFCP context, and user context are established, and the context mapping is completed to obtain user-related information, and the user-related information is synchronously transmitted to the data plane; the user-related information is parsed to generate a bearer information library and a user information library, and the user data of the N3 port is parsed to obtain the bearer information associated with the user information library, and finally the user information is extracted with low overall latency; 2. The analysis of NGAP signaling and PFCP signaling not only supports centralized signaling processing, but also supports distributed processing, achieving compatibility of the two processing methods. The present invention also provides a system for tracing and tracking the location of 5G traffic users with low latency, which has the following significant advantages over the prior art: it can achieve low-latency 5G user tracing. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 Shown is a flow chart of the method of the present invention;
[0034] Figure 2 It is a flowchart showing the NGAP signaling in different signaling processing modes according to the present invention;
[0035] Figure 3 Shown is the context mapping relationship in the present invention;
[0036] Figure 4 It shows the mapping relationship between bearers and users in the present invention. DETAILED DESCRIPTION
[0037] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.
[0038] like Figure 1 As shown, the present invention provides a method for tracing the source and location of 5G traffic users with low latency, which specifically includes the following steps:
[0039] Step 1: Obtain user messages, identify and classify them, and obtain 5G signaling messages and user data messages respectively.
[0040] Step 2: parse the 5G signaling message to obtain user association information, including first user association information and second user association information. Specifically:
[0041] (1) Parse the NGAP signaling (N2 signaling) in the 5G signaling message;
[0042] Parse NGAP signaling to extract RAN_UE_NGAP_CONTEXT and AMF_UE_NGAP_CONTEXT to query NGAP context; if found, update the first user association information recorded in the NGAP context, including tunnel information, slice information, and user location; if not found, create an NGAP context, record the user location, and record the tunnel information and slice information in the corresponding PDU session node;
[0043] (2) Parse the PFCP signaling (N4 signaling) in the 5G signaling message;
[0044] Parse the PFCP signaling in the 5G signaling message, query the PFCP context and extract the second user association information recorded in the PFCP context, including DNN, PDR, and FAR;
[0045] (3) Obtain the first user association information and the second user association information and synchronously transmit them to the user association information synchronization package.
[0046] Specifically, Figures 2 to 4 As shown, if in the centralized signaling processing mode, if the uplink bearer information is extracted during the query of the NGAP context, the PFCP context is queried through the uplink bearer information and the PFCP context is associated; after successful association, the user context index recorded in the PFCP context is extracted and the user context node index is obtained, and the extracted first user association information is updated to the user context;
[0047] Parse the PFCP signaling in the 5G signaling message to extract CP_PFCP_SESSION, UP_PFCP_SESSION, PDR, FAR, SUPI, PEI, GPSI, DNN and other information, and query the user context through SUPI; if not found, create a user context to record the user's three-code information, and at the same time create a PFCP context to record DNN, PDR, FAR and update it to the PFCP session context; after successful creation, establish the association between the user context and the PFCP context;
[0048] If the user context is found, the PFCP context is found through the user context association; if the PFCP context is found, the DNN, PDR, and FAR recorded in the PFCP context are updated to the PFCP session context; if the PFCP context is not found, the DNN, PDR, and FAR information is created and recorded, and the DNN, PDR, and FAR recorded in the PFCP context are updated to the PFCP session context;
[0049] The first user association information in the user context and the second user association information in the PFCP session context are synchronously transmitted to the user association information synchronization package.
[0050] If the signaling processing is a distributed signaling processing mode, the second user association information extracted during the PFCP context query and the first user association information extracted during the NGAP context query are directly transmitted to the user association information synchronization package, and load balancing is maintained during the transmission process.
[0051] Step 3: parse the user association information in the user association information synchronization package, extract the bearer information and user information in the user association information, and store the bearer information in a bearer information database and the user information in a user information database respectively.
[0052] Step 4: Parse the user data message and extract the bearer information, and extract the user information by querying the bearer information database and associating it with the user information database. Specifically, parse and process the acquired uplink and downlink data traffic of the N3 port to extract the N3 tunnel information, and query the bearer information database through the tunnel information; since the bearer information database and the user information database are associated through SUPI, that is, by querying the bearer information database to associate with the corresponding user information database, the user information can be finally obtained from the user information database.
[0053] In addition, the 5G user data successfully associated with the user information database can encapsulate the user information in a certain format at the head or tail of the message according to the configuration. For example, the user information is carried in the TLV format, including user three codes, user location, DNN and slice information.
[0054] The present invention also provides a low-latency 5G traffic user tracing and location tracking system, including a message acquisition module, a 5G signaling analysis module, a user association information processing module, and a user data association module; specifically including:
[0055] The message acquisition module is used to acquire user messages, identify and divert 5G signaling messages and user data messages;
[0056] The 5G signaling analysis module is used to parse the NGAP signaling and the PFCP signaling in the 5G signaling message to obtain user association information; the user association information includes the first user association information and the second user association information; and synchronously transmit the extracted user association information to the user association information synchronization package; the user association information synchronization package is used to receive and store the user association information; specifically includes:
[0057] NGAP signaling analysis module, used to parse NGAP signaling in 5G signaling messages and query NGAP context; if found, update the first user association information recorded in the NGAP context, including tunnel information, slice information, and user location; if not found, establish NGAP context, record user location, and record tunnel information and slice information in the corresponding PDU session node;
[0058] A PFCP signaling analysis module is used to parse the PFCP signaling in the 5G signaling message, query the PFCP context and extract the second user association information recorded in the PFCP context, including DNN, PDR, and FAR;
[0059] The user association information transmission module is used to obtain the first user association information and the second user association information and synchronously transmit them to a user association information synchronization package.
[0060] Among them, the NGAP signaling analysis module and the PFCP signaling analysis module include a centralized signaling processing unit and a distributed signaling processing unit;
[0061] A centralized signaling processing unit is used to extract uplink bearer information during the query of NGAP context, query PFCP context through uplink bearer information and associate PFCP context; extract user context index recorded in PFCP context, and update the extracted user association information to user context according to user context index; parse PFCP signaling in 5G signaling message and extract SUPI, query user context through SUPI, if not found, create user context to record user three-code information, and create PFCP context to record DNN, PDR, FAR and update to PFCP session context; establish association between user context and PFCP context; if user context is found, directly query PFCP context through user context association; if PFCP context is found, update DNN, PDR, FAR recorded in PFCP context to PFCP session context; if PFCP context is found, create and record DNN, PDR, FAR information, and update DNN, PDR, FAR recorded in PFCP context to PFCP session context; the user three-code information is: IMSI, IMEI, MSISDN;
[0062] Used to transmit the first user association information in the acquired user context and the second user association information in the PFCP session context to the user association information transmission module.
[0063] The distributed signaling processing unit is used to directly transmit the first user association information extracted during the query of the NGAP context and the second user association information extracted during the query of the PFCP context to the user association information transmission module.
[0064] A user association information processing module, used to parse the user association information in the user association information synchronization package, extract the bearer information and user information in the user association information, and store them in the corresponding bearer information database and user information database respectively;
[0065] User data association module; used to parse the user data message and extract the bearer information, use the bearer information to query the bearer information database and associate it with the user information database to extract the user information.
Claims
1. A method for tracing the source and location of 5G traffic users with low latency, characterized in that: The following steps are involved: (1) Obtain user messages, identify and divert 5G signaling messages and user data messages; (2) parsing the NGAP signaling and the PFCP signaling in the 5G signaling message to obtain the user association information and synchronously transmitting it to the user association information synchronization package; the user association information includes the first user association information and the second user association information; the user association information synchronization package is used to receive and store the user association information, and specifically includes the following sub-steps: (2.1) Parse the NGAP signaling in the 5G signaling message and query the NGAP context; if found, update the first user association information recorded in the NGAP context, including tunnel information, slice information, and user location; If not found, an NGAP context is established, the user location is recorded, and the tunnel information and slice information are recorded in the corresponding PDU session node; (2.2) Parse the PFCP signaling in the 5G signaling message, query the PFCP context and extract the second user association information recorded in the PFCP context, including DNN, PDR, and FAR; (2.3) Acquire the first user association information and the second user association information and synchronously transmit them to a user association information synchronization package; (3) Parsing the user association information in the user association information synchronization package; extracting the bearer information and user information in the user association information and storing them in the bearer information database and user information database respectively; (4) Parse the user data message and extract the bearer information, use the bearer information to query the bearer information database and associate it with the user information database to extract the user information.
2. The method for tracing the source and location of low-latency 5G traffic users according to claim 1 is characterized in that: Step (2) specifically includes: If in the centralized signaling processing mode, extract the uplink bearer information during the query of the NGAP context, query the PFCP context through the uplink bearer information and associate the PFCP context; extract the user context index recorded in the PFCP context, and update the extracted user association information to the user context according to the user context index; Parse the PFCP signaling in the 5G signaling message and extract SUPI, query the user context through SUPI, if not found, create a user context to record the user's three-code information, and create a PFCP context to record DNN, PDR, and FAR to update to the PFCP session context; establish an association relationship between the user context and the PFCP context; if the user context is found, directly query the PFCP context through the user context association; if the PFCP context is found, update the DNN, PDR, and FAR recorded in the PFCP context to the PFCP session context; if the PFCP context is not found, create and record DNN, PDR, and FAR information, and update the DNN, PDR, and FAR recorded in the PFCP context to the PFCP session context; the user three-code information is: IMSI, IMEI, and MSISDN; The first user association information in the user context and the second user association information in the PFCP session context are obtained and synchronously transmitted to the user association information synchronization package.
3. The method for tracing the source and location of low-latency 5G traffic users according to claim 1 is characterized in that: Step (2) specifically includes: If in the distributed signaling processing mode, the first user association information extracted during the query of the NGAP context and the second user association information extracted during the query of the PFCP context are directly and synchronously transmitted to the user association information synchronization package.
4. A low-latency 5G traffic user tracing and location tracking system, characterized in that: It includes message acquisition module, 5G signaling analysis module, user association information processing module and user data association module; The message acquisition module is used to acquire user messages, identify and divert 5G signaling messages and user data messages; The 5G signaling analysis module is used to parse the NGAP signaling and the PFCP signaling in the 5G signaling message to obtain user association information; the user association information includes the first user association information and the second user association information; and the extracted user association information is synchronously transmitted to the user association information synchronization package; the user association information synchronization package is used to receive and store the user association information, and specifically includes the following modules: An NGAP signaling analysis module is used to parse the NGAP signaling in the 5G signaling message and query the NGAP context; if found, the first user association information recorded in the NGAP context is updated, including tunnel information, slice information, and user location; If not found, an NGAP context is established, the user location is recorded, and the tunnel information and slice information are recorded in the corresponding PDU session node; A PFCP signaling analysis module is used to parse the PFCP signaling in the 5G signaling message, query the PFCP context and extract the second user association information recorded in the PFCP context, including DNN, PDR, and FAR; A user association information transmission module, used for acquiring the first user association information and the second user association information and synchronously transmitting them to a user association information synchronization package; A user association information processing module, used to parse the user association information in the user association information synchronization package, extract the bearer information and user information in the user association information, and store them in the corresponding bearer information database and user information database respectively; The user data association module is used to parse the user data message and extract the bearer information, use the bearer information to query the bearer information database and associate it with the user information database to extract the user information.
5. The low-latency 5G traffic user tracing and location tracking system according to claim 4 is characterized in that: The NGAP signaling analysis module and the PFCP signaling analysis module include a centralized signaling processing unit; A centralized signaling processing unit, configured to extract uplink bearer information during the process of querying the NGAP context, query the PFCP context through the uplink bearer information, and associate the PFCP context; Extract the user context index recorded in the PFCP context, and update the extracted user association information into the user context according to the user context index; Used to parse the PFCP signaling in the 5G signaling message and extract SUPI, query the user context through SUPI, and if not found, create a user context to record the user's three-code information, and at the same time create a PFCP context record DNN, PDR, FAR and update it to the PFCP session context; Establish the association between user context and PFCP context; If the user context is found, the PFCP context is directly queried through the user context association; If the PFCP context is found, the DNN, PDR, and FAR recorded in the PFCP context are updated to the PFCP session context; If the PFCP context is not found, DNN, PDR, and FAR information are created and recorded, and the DNN, PDR, and FAR recorded in the PFCP context are updated to the PFCP session context; the user three-code information is: IMSI, IMEI, and MSISDN; Used to transmit the first user association information in the acquired user context and the second user association information in the PFCP session context to the user association information transmission module.
6. The low-latency 5G traffic user tracing and location tracking system according to claim 4 is characterized in that: The NGAP signaling analysis module and the PFCP signaling analysis module include a distributed signaling processing unit; The distributed signaling processing unit is used to directly transmit the first user association information extracted during the query of the NGAP context and the second user association information extracted during the query of the PFCP context to the user association information transmission module.
