A 5G private network data offloading method and device

By implementing traffic packet shunt processing in 5G private network, the problem of insufficient data security and independence in the existing technology is solved, and a safe and reliable data shunt is achieved, ensuring that internal data is not outflowed, and independence and deployment are maintained Convenience.

CN114258076BActive Publication Date: 2024-11-05CERTUS NETWORK TECHNANJING +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111660725.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-11-05
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

The existing technology lacks a safe, reliable and independent 5G private network data diversion method, and cannot effectively ensure that internal data does not enter the public network or flow out.

Method used

The traffic packet shunt processing is realized between the base station access Gnb port, the internal application server connection port Local port and the public network port 5GC port, including network card packet collection, packet collection port judgment, processing of different types of traffic packets and packet routing Forwarding to ensure that data is not transmitted across borders.

Benefits of technology

It realizes data diversion of 5G private network with good security performance, ensuring that internal data is not outflowed, and has strong independence, does not require additional network element equipment to participate, and is easy to deploy, and does not change the existing business processing processes of the base station and core network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114258076B_ABST
    Figure CN114258076B_ABST
Patent Text Reader

Abstract

The present invention discloses a 5G private network data diversion method and device, which has good security performance and strong independence, and can ensure that internal data does not enter the public network and the data does not flow out. The method includes the following steps: (10) network card packet receiving: different network card interfaces receive traffic packets; (20) packet receiving port judgment: according to different receiving interfaces of the traffic packet, respectively transfer to (50) Gnb port traffic processing, (40) 5GC port traffic processing or (30) Local port traffic processing steps; (30) Local port traffic processing: perform GTP encapsulation or directly recognize the underlying routing table; (40) 5GC port traffic processing: according to different types of traffic packets, respectively perform public network downlink data packet processing or signaling packet processing; (50) Gnb port traffic processing: according to different types of traffic packets, respectively perform public network downlink data packet processing or signaling packet processing; (60) packet routing forwarding: forward the traffic packet according to the forwarding rules of the underlying routing table.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of 5G communication technology, and in particular to a 5G private network data diversion method and device with good security performance. Background Art

[0002] In the 5G era, communication operators are developing rapidly for unlimited users, and the pressure of network expansion has increased sharply. For some users, the network utilization rate is already below the cost line, and the high utilization rate of the network directly affects the user experience. In addition, the existing users have different demands for traffic, price, and service quality. Simplified, single-dimensional, and inclusive service guarantees for all customers based only on the amount of business cannot meet the development and management needs. Operators' traffic management has reached a bottleneck of increasing volume but not revenue. Operators need to transform from traffic management to "traffic + content" management to achieve a further extension of the focus strategy.

[0003] One important application scenario is that a large number of group users, such as enterprises, access internal application servers through base stations, and private network traffic is directly diverted to the user's internal application server through the intermediate diversion application. For data security reasons, it is also necessary to ensure that internal data does not enter the public network and does not flow out.

[0004] Existing offload methods include UPF sinking and base station offload. Although the UPF sinking solution is fully functional, it requires the joint participation of UPF and 5GC. The base station offload solution requires a lot of functional adaptation and modification of base station services, and its independence is weak.

[0005] Therefore, the problem with the existing technology is: there is a lack of a secure, reliable and independent 5G private network data diversion method. Summary of the invention

[0006] The purpose of the present invention is to provide a 5G private network data diversion method with good security performance and strong independence, which can ensure that internal data does not enter the public network and the data does not flow out.

[0007] Another object of the present invention is to provide a 5G private network data diversion device with good security performance.

[0008] The technical solution to achieve the purpose of the present invention is:

[0009] A 5G private network data diversion method is used to divert the import and export traffic between the base station access port Gnb port, the internal application server connection port Local port and the public network port 5GC port; comprising the following steps:

[0010] (10) Network card packet receiving: different network card interfaces receive traffic packets;

[0011] (20) Packet receiving port judgment: Determine the receiving interface of the traffic packet based on the address of the network card interface;

[0012] When the packet receiving port is the base station access port Gnb port, go to (50) Gnb port traffic processing step;

[0013] When the packet receiving port is the public network port 5GC port, go to (40) 5GC port traffic processing step;

[0014] When the packet receiving port is the local port of the internal application server connection port, go to (30) the local port traffic processing step;

[0015] (30) Local port traffic processing: For the traffic packets received at the Local port, GTP encapsulation is performed or the underlying routing table is directly recognized, and the process goes to (60) packet routing forwarding step;

[0016] (40) 5GC port traffic processing: For the traffic packets received at the 5GC port, according to whether the traffic packets are downlink data packets or downlink signaling packets, public network downlink data packet processing or signaling packet processing is performed respectively; and then the process goes to (60) packet routing and forwarding step;

[0017] (50) Gnb port traffic processing: for traffic packets received at the Gnb port, according to whether the data packet is an uplink data packet or an uplink signaling packet; according to different types of traffic packets, perform public network downlink data packet processing or signaling packet processing respectively; and transfer to (60) packet routing and forwarding step;

[0018] (60) Packet routing forwarding: Forward traffic packets according to the forwarding rules of the underlying routing table.

[0019] The technical solution to achieve another purpose of the present invention is:

[0020] A 5G private network data diversion device is used to divert the import and export traffic between the base station access port Gnb port, the internal application server connection port Local port and the public network port 5GC port; it includes:

[0021] The network card packet receiving module is used to receive traffic packets from different network card interfaces;

[0022] The packet receiving port judgment module is used to determine the receiving interface of the traffic packet according to the address of the network card interface;

[0023] When the packet receiving port is the base station access port Gnb port, it is transferred to the Gnb port traffic processing module;

[0024] When the packet receiving port is the public network port 5GC port, it is transferred to the 5GC port traffic processing module;

[0025] When the packet receiving port is the local port of the internal application server connection port, it is transferred to the local port traffic processing module;

[0026] The local port traffic processing module is used to perform GTP encapsulation or directly recognize the underlying routing table for the traffic packets received at the local port and transfer them to the packet routing forwarding module;

[0027] The 5GC port traffic processing module is used to process the traffic packets received by the 5GC port, according to whether the traffic packets are downlink data packets or downlink signaling packets, respectively, and transfer them to the packet routing forwarding module;

[0028] The Gnb port traffic processing module is used to process the traffic packets received at the Gnb port according to whether the data packets are uplink data packets or uplink signaling packets; according to the different types of traffic packets, perform public network downlink data packet processing or signaling packet processing respectively; and transfer the processing to the packet routing forwarding module;

[0029] The packet routing forwarding module is used to forward traffic packets according to the forwarding rules of the underlying routing table.

[0030] Compared with the prior art, the present invention has the following significant advantages:

[0031] 1. Good security performance: The present invention can ensure that internal data does not enter the public network, the data does not flow out, and has good security performance.

[0032] 2. Strong independence: The present invention belongs to a type of base station diversion. Although the UPF sinking solution is fully functional, it requires the cooperation of UPF and 5GC. The current solution does not require the cooperation of 5GC and UPF. Compared with the UPF sinking solution, no new network element equipment is required. Compared with other base station diversion solutions, this diversion solution does not make any adaptation function modifications to the base station service. This solution not only meets the security isolation requirements of private network diversion data, but also does not change the existing business processing procedures of the base station and the core network. It has strong independence and is easy to deploy.

[0033] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is the main flow chart of the 5G private network data diversion method of the present invention.

[0035] Figure 2 yes Figure 1 Flowchart of the 5GC port traffic processing steps.

[0036] Figure 3 yes Figure 1 Flowchart of the Gnb port traffic processing steps.

[0037] Figure 4 This is the network topology diagram of 5G private network diversion. DETAILED DESCRIPTION

[0038] like Figure 1 As shown, the 5G private network data diversion method of the present invention is used to divert the import and export traffic between the base station access port Gnb port, the internal application server connection port Local port and the public network port 5GC port;

[0039] It includes the following steps:

[0040] (10) Network card packet receiving: different network card interfaces receive traffic packets;

[0041] (20) Packet receiving port judgment: Determine the receiving interface of the traffic packet based on the address of the network card interface;

[0042] When the packet receiving port is the base station access port Gnb port, go to (50) Gnb port traffic processing step;

[0043] When the packet receiving port is the public network port 5GC port, go to (40) 5GC port traffic processing step;

[0044] When the packet receiving port is the local port of the internal application server connection port, go to (30) the local port traffic processing step;

[0045] (30) Local port traffic processing: For the traffic packets received at the Local port, GTP encapsulation is performed or the underlying routing table is directly recognized, and the process goes to (60) packet routing forwarding step;

[0046] The (30) Local port traffic processing is specifically as follows:

[0047] For the traffic packets received by the Local port, the source IP is considered to be UE IP, and UeMapTbl is queried. If the query is successful, GTP encapsulation is performed according to the queried GTP header information. If the query fails, the underlying routing table is directly recognized; then go to (60) packet routing forwarding step and forward according to the forwarding rules of the underlying routing table.

[0048] The General Data Transfer Platform (GTP) is a data transmission platform for distributed applications. It provides general transmission functions that meet the needs of enterprise-level applications according to demand.

[0049] (40) 5GC port traffic processing: For the traffic packets received at the 5GC port, according to whether the traffic packets are downlink data packets or downlink signaling packets, public network downlink data packet processing or signaling packet processing is performed respectively; and then the process goes to (60) packet routing and forwarding step;

[0050] like Figure 2 As shown, the (40) 5GC port traffic processing step includes:

[0051] (41) Traffic packet type determination: determining whether the data packet is a downlink signaling packet or a downlink data packet according to whether the traffic packet protocol type is sctp or udp; and processing the data packet according to different types of traffic packets;

[0052] (42) Downlink signaling packet processing: For downlink signaling packets, the specific content of the packet is parsed according to the signaling Ngap protocol, and whether to learn or delete the existing tunnel information is determined based on whether the packet parsing conforms to the specified action type; go to (60) packet routing and forwarding step;

[0053] (43) Public network downlink data packet processing: For downlink data packets, the UEIP and downlink data packet GTP header information are directly extracted according to the data packet GTP header information, stored in the table UeMapTbl, the underlying routing table is recognized, and the process goes to (60) packet routing forwarding step, and forwarded according to the forwarding rules of the underlying routing table.

[0054] (50) Gnb port traffic processing: for traffic packets received at the Gnb port, according to whether the data packet is an uplink data packet or an uplink signaling packet; according to different types of traffic packets, perform public network downlink data packet processing or signaling packet processing respectively; and transfer to (60) packet routing and forwarding step;

[0055] like Figure 3 As shown, the (50) Gnb port traffic processing step includes:

[0056] (51) Traffic packet type determination: determining whether the data packet is an uplink signaling packet or an uplink data packet according to whether the traffic packet protocol type is sctp or udp; and processing the data packets separately according to different types;

[0057] (52) Uplink signaling packet processing: For the uplink signaling packet, the specific content of the packet is parsed according to the signaling Ngap protocol, and whether to learn or delete the existing tunnel information is determined based on whether the packet parsing conforms to the specified action type; go to (60) packet routing and forwarding step;

[0058] (53) Uplink data packet processing: For uplink data packets, parse the data packet GTP header information, process the data according to the tunnel information learned from the signaling part, and finally generate the correspondence between UEIP and the downlink data packet GTP header information, and store it in the table UeMapTbl; check whether the inner target IP of the UDP data packet matches the rule issued by LBF. If it matches the rule IP issued by LBF, it is considered that the data packet is sent to the private network server. At this time, the GTP header information of the data packet sent to the private network server is stripped, and the process goes to (60) packet routing forwarding step to send the data to the Local port.

[0059] (60) Packet routing forwarding: forwarding traffic packets according to the forwarding rules of the underlying routing table.

[0060] The 5G private network data diversion method of the present invention is used to divert the import and export traffic between the base station access port Gnb port, the internal application server connection port Local port and the public network port 5GC port, so as to ensure that the internal data does not enter the public network and the data does not flow out.

[0061] The network topology diagram of 5G private network diversion applied by the present invention is as follows Figure 4 shown.

[0062] The method of the present invention connects the base station access port Gnb in the intermediate diversion application at the base station outlet, and this interface accesses all the inlet and outlet traffic of the base station. The method of the present invention directional forwards the private network data plane traffic to the internal application server connection port Local port, and forwards the remaining signaling and public network data plane traffic to the public network port 5GC port.

[0063] The method of the present invention can issue rules according to the private network server IP and port range, direct the uplink data matched by the forwarding rules to the internal server of the enterprise, and perform corresponding GTP header decapsulation on the uplink traffic of the private network data and GTP header encapsulation operations on the downlink traffic.

[0064] The method of the present invention can not only directly strip the GTP header information of the private network uplink data without passing through the public network UPF network element, and directly distribute the dedicated data traffic to the private network server, but also can encapsulate the correct GTP header information of the private network downlink data packet based on the learned information for the downlink traffic from the private network without passing through the UPF.

[0065] The 5G private network data diversion device of the present invention is used to divert the import and export traffic between the base station access port Gnb port, the internal application server connection port Local port and the public network port 5GC port; it includes:

[0066] The network card packet receiving module is used to receive traffic packets from different network card interfaces;

[0067] The packet receiving port judgment module is used to determine the receiving interface of the traffic packet according to the address of the network card interface;

[0068] When the packet receiving port is the base station access port Gnb port, it is transferred to the Gnb port traffic processing module;

[0069] When the packet receiving port is the public network port 5GC port, it is transferred to the 5GC port traffic processing module;

[0070] When the packet receiving port is the local port of the internal application server connection port, it is transferred to the local port traffic processing module;

[0071] The local port traffic processing module is used to perform GTP encapsulation or directly recognize the underlying routing table for the traffic packets received at the local port and transfer them to the packet routing forwarding module;

[0072] The specific functions of the Local port traffic processing module are:

[0073] For the traffic packets received by the Local port, it is considered to be UEip based on the source ip, and UeMapTbl is queried. If the query is successful, GTP encapsulation is performed according to the queried GTP header information. If the query fails, the underlying routing table is directly recognized; then it is transferred to the packet routing forwarding module and forwarded according to the forwarding rules of the underlying routing table.

[0074] The 5GC port traffic processing module is used to process the traffic packets received by the 5GC port, according to whether the traffic packets are downlink data packets or downlink signaling packets, respectively, and transfer them to the packet routing forwarding module;

[0075] The 5GC port traffic processing module includes:

[0076] A traffic packet type determination unit, used to determine whether the data packet is a downlink signaling packet or a downlink data packet according to whether the traffic packet protocol type is sctp or udp; and process the data packet according to different types of traffic packets;

[0077] The downlink signaling packet processing unit is used to parse the specific content of the downlink signaling packet according to the signaling Ngap protocol, and decide whether to learn or delete the existing tunnel information according to whether the packet analysis conforms to the specified action type; and transfer to the packet routing forwarding module;

[0078] The public network downlink data packet processing unit is used to directly extract the ueip and downlink data packet gtp header information according to the data packet gtp header information, store it in the table UeMapTbl, recognize the underlying routing table, transfer it to the packet routing forwarding module, and forward it according to the forwarding rules of the underlying routing table.

[0079] The Gnb port traffic processing module is used to process the traffic packets received at the Gnb port according to whether the data packets are uplink data packets or uplink signaling packets; according to the different types of traffic packets, perform public network downlink data packet processing or signaling packet processing respectively; and transfer the processing to the packet routing forwarding module;

[0080] The Gnb port traffic processing step includes:

[0081] A traffic packet type determination unit, used to determine whether the data packet is an uplink signaling packet or an uplink data packet according to whether the traffic packet protocol type is sctp or udp; and process the data packets respectively according to different types;

[0082] The uplink signaling packet processing unit is used to parse the specific content of the uplink signaling packet according to the signaling Ngap protocol, and decide whether to learn or delete the existing tunnel information according to whether the packet analysis conforms to the specified action type; and transfer to the packet routing forwarding module;

[0083] The uplink data packet processing unit is used to parse the GTP header information of the uplink data packet, process the data according to the tunnel information learned from the signaling part, and finally generate the corresponding relationship between the UEIP and the GTP header information of the downlink data packet, and store it in the table UeMapTbl; check whether the inner target IP of the UDP data packet matches the rule issued by the LBF. If it hits the rule IP issued by the LBF, it is considered that the data packet is sent to the private network server. At this time, the GTP header information of the data packet sent to the private network server is stripped, and it is transferred to the packet routing forwarding module to send the data to the Local port.

[0084] The packet routing forwarding module is used to forward traffic packets according to the forwarding rules of the underlying routing table.

Claims

1. A 5G private network data diversion method is used to divert the import and export traffic between the base station access port Gnb port, the internal application server connection port Local port and the public network port 5GC port; characterized in that: The steps include: (10) Network card packet receiving: different network card interfaces receive traffic packets; (20) Packet receiving port judgment: Determine the receiving interface of the traffic packet based on the address of the network card interface; When the packet receiving port is the base station access port Gnb port, go to (50) Gnb port traffic processing step; When the packet receiving port is the public network port 5GC port, go to (40) 5GC port traffic processing step; When the packet receiving port is the local port of the internal application server connection port, go to (30) the local port traffic processing step; (30) Local port traffic processing: For the traffic packets received at the Local port, GTP encapsulation is performed or the underlying routing table is directly recognized, and the process goes to (60) packet routing forwarding step; (40) 5GC port traffic processing: For the traffic packets received at the 5GC port, according to whether the traffic packets are downlink data packets or downlink signaling packets, public network downlink data packet processing or signaling packet processing is performed respectively; and then the process goes to (60) packet routing and forwarding step; (50) Gnb port traffic processing: For the traffic packets received at the Gnb port, according to whether the traffic packets are uplink data packets or uplink signaling packets, public network uplink data packet processing or signaling packet processing is performed respectively; and then the process goes to (60) packet routing and forwarding step; (60) Packet routing forwarding: forwarding traffic packets according to the forwarding rules of the underlying routing table; The (30) Local port traffic processing steps are specifically as follows: For the traffic packets received by the Local port, the source IP is considered to be UE IP, and the UeMapTbl is queried. If the query is successful, the GTP encapsulation is performed according to the queried GTP header information. If the query fails, the underlying routing table is directly recognized; then go to (60) packet routing forwarding step, and forward according to the forwarding rules of the underlying routing table; The (40) 5GC port traffic processing step includes: (41) Traffic packet type determination: determining whether the traffic packet is a downlink signaling packet or a downlink data packet according to whether the traffic packet protocol type is sctp or udp; and processing the traffic packets according to different types; (42) Downlink signaling packet processing: For downlink signaling packets, the specific content of the packet is parsed according to the signaling Ngap protocol, and whether to learn or delete the existing tunnel information is determined based on whether the packet parsing conforms to the specified action type; go to (60) packet routing and forwarding step; (43) Public network downlink data packet processing: For downlink data packets, directly extract the ueip and downlink data packet gtp header information according to the downlink data packet gtp header information, store it in the table UeMapTbl, recognize the underlying routing table, and go to (60) packet routing forwarding step to forward it according to the forwarding rules of the underlying routing table; The (50) Gnb port traffic processing step includes: (51) Traffic packet type determination: determining whether the traffic packet is an uplink signaling packet or an uplink data packet according to whether the traffic packet protocol type is sctp or udp; and processing the traffic packets according to different types; (52) Uplink signaling packet processing: For uplink signaling packets, the specific content of the packet is parsed according to the signaling Ngap protocol, and whether to learn or delete the existing tunnel information is determined based on whether the packet parsing conforms to the specified action type; go to (60) packet routing and forwarding step; (53) Uplink data packet processing: For uplink data packets, parse the GTP header information of the uplink data packets, process the data according to the tunnel information learned from the signaling part, and finally generate the correspondence between the UEIP and the GTP header information of the downlink data packets, and store it in the table UeMapTbl; check whether the inner target IP of the UDP data packet matches the rule sent by the LBF. If it matches the rule IP sent by the LBF, it is considered that the uplink data packet is sent to the private network server. At this time, the GTP header information of the uplink data packet sent to the private network server is stripped, and the process goes to the (60) packet routing forwarding step to send the data to the Local port.

2. A 5G private network data diversion device, used to divert the import and export traffic between the base station access port Gnb port, the internal application server connection port Local port and the public network port 5GC port; characterized in that, include: The network card packet receiving module is used to receive traffic packets from different network card interfaces; The packet receiving port judgment module is used to determine the receiving interface of the traffic packet according to the address of the network card interface; When the packet receiving port is the base station access port Gnb port, it is transferred to the Gnb port traffic processing module; When the packet receiving port is the public network port 5GC port, it is transferred to the 5GC port traffic processing module; When the packet receiving port is the local port of the internal application server connection port, it is transferred to the local port traffic processing module; The local port traffic processing module is used to perform GTP encapsulation or directly recognize the underlying routing table for the traffic packets received at the local port and transfer them to the packet routing forwarding module; The 5GC port traffic processing module is used to process the traffic packets received by the 5GC port, according to whether the traffic packets are downlink data packets or downlink signaling packets, respectively, and transfer them to the packet routing forwarding module; The Gnb port traffic processing module is used to process the traffic packets received at the Gnb port according to whether the traffic packets are uplink data packets or uplink signaling packets; according to the different types of traffic packets, perform public network uplink data packet processing or signaling packet processing respectively; and transfer the traffic packets to the packet routing forwarding module; The packet routing forwarding module is used to forward traffic packets according to the forwarding rules of the underlying routing table; The specific functions of the Local port traffic processing module are: For the traffic packets received by the Local port, the source IP is considered to be UE IP, and the UeMapTbl is queried. If the query is successful, the GTP encapsulation is performed according to the queried GTP header information. If the query fails, the underlying routing table is directly recognized; then it is transferred to the packet routing forwarding module and forwarded according to the forwarding rules of the underlying routing table; The 5GC port traffic processing module includes: A traffic packet type determination unit, used to determine whether the traffic packet is a downlink signaling packet or a downlink data packet according to whether the traffic packet protocol type is sctp or udp; and process the traffic packets respectively according to different types; The downlink signaling packet processing unit is used to parse the specific content of the downlink signaling packet according to the signaling Ngap protocol, and decide whether to learn or delete the existing tunnel information according to whether the packet analysis conforms to the specified action type; and transfer to the packet routing forwarding module; The public network downlink data packet processing unit is used to directly extract the ueip and downlink data packet gtp header information according to the downlink data packet gtp header information, store it in the table UeMapTbl, recognize the underlying routing table, transfer it to the packet routing forwarding module, and forward it according to the forwarding rules of the underlying routing table; The Gnb port traffic processing module includes: A traffic packet type determination unit, used to determine whether the traffic packet is an uplink signaling packet or an uplink data packet according to whether the traffic packet protocol type is sctp or udp; and process the traffic packets respectively according to different types; The uplink signaling packet processing unit is used to parse the specific content of the uplink signaling packet according to the signaling Ngap protocol, and decide whether to learn or delete the existing tunnel information according to whether the packet analysis conforms to the specified action type; and transfer to the packet routing forwarding module; The uplink data packet processing unit is used to parse the uplink data packet GTP header information for the uplink data packet, process the data according to the tunnel information learned from the signaling part, and finally generate the corresponding relationship between the UEIP and the downlink data packet GTP header information, and store it in the table UeMapTbl; check whether the inner target IP of the UDP data packet matches the rule issued by the LBF. If the rule IP issued by the LBF is matched, it is considered that the uplink data packet is sent to the private network server. At this time, the uplink data packet sent to the private network server is stripped of the GTP header information, transferred to the packet routing forwarding module, and the data is sent to the Local port.