CN116170828A - 5G core network testing method and system - Google Patents
5G core network testing method and system Download PDFInfo
- Publication number
- CN116170828A CN116170828A CN202310412011.XA CN202310412011A CN116170828A CN 116170828 A CN116170828 A CN 116170828A CN 202310412011 A CN202310412011 A CN 202310412011A CN 116170828 A CN116170828 A CN 116170828A
- Authority
- CN
- China
- Prior art keywords
- network
- core network
- simulation
- virtual
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a 5G core network test method and a system, wherein the method comprises the following steps: establishing a virtual 5G communication network system, wherein the virtual 5G communication network system is composed of a simulation base station and a plurality of simulation terminals, wherein the simulation base station is created by a Linux kernel; the analog base station is used for processing the interaction information of the control plane and the data plane of the 5G core network; the simulation terminal is used for simulating a real individual of the UE; network communication is carried out between the virtual 5G communication network system and the 5G core network; and configuring a network performance testing tool in the virtual 5G communication network system, and performing performance testing on a communication network between the virtual 5G communication network system and the 5G core network through the network performance testing tool. The invention can solve the problems of single service, simple scene, poor generalization and the like when the traditional 5G test system adopts the packet mode test.
Description
Technical Field
The invention relates to the technical field of 5G communication, in particular to a 5G core network testing method and system.
Background
With the rise of 5G technology, four systems of networks, platforms, data and security are steadily advanced, and innovative modes such as platform design, intelligent design, networking collaboration, personalized customization, service extension, digital management and the like are continuously emerging, so that in order to better enable users to enjoy 5G high-quality network services, how to test the capabilities of the 5G core network, such as stability, high speed, reliability and the like is particularly important.
The current 5G core network test system in the market mainly tests a core network data plane in a packet mode. The tested data service flow is single and inflexible. When a new scenario test is added, the test system is usually required to be developed again, and the service scenario is poor in generalization.
For the problems in the related art, no effective solution has been proposed at present.
Disclosure of Invention
Aiming at the problems in the related art, the invention provides a 5G core network testing method and a system, which can simulate a terminal UE by creating a network space, perform data transmission with the core network in the network space by using a testing tool, simulate the data service flow performed by the UE after the data bearing is established with the core network, and solve the problems of single service, simple scene, poor generalization and the like when the traditional 5G testing system adopts a packet mode test.
The technical scheme of the invention is realized as follows:
according to an aspect of the present invention, a 5G core network testing method is provided.
The 5G core network testing method comprises the following steps:
establishing a virtual 5G communication network system, wherein the virtual 5G communication network system is composed of a simulation base station and a plurality of simulation terminals, wherein the simulation base station is created by a Linux kernel; the analog base station is used for processing the interaction information of the control plane and the data plane of the 5G core network; the simulation terminal is used for simulating a real individual of the UE;
network communication is carried out between the virtual 5G communication network system and the 5G core network;
and configuring a network performance testing tool in the virtual 5G communication network system, and performing performance testing on a communication network between the virtual 5G communication network system and the 5G core network through the network performance testing tool.
The method for creating the analog terminal comprises the following steps: creating a plurality of independent network spaces through a Network Namespace module in a Linux kernel; and configuring network IP allocation allocated by the 5G core network to each network space, and establishing a service client in each network space to form the simulation terminal.
Wherein, the network communication between the virtual 5G communication network system and the 5G core network comprises: initiating a registration and session establishment flow to a 5G core network through a simulation base station; after registration and session establishment are completed, initiating an uplink data request through a service client in the simulation terminal; the simulation terminal sends the data packet to the simulation base station for packet processing, and forwards the data packet to the 5G core network through the N3 interface; the 5G core network processes the data packet and then forwards the data packet to the program server for response processing; the program server side sends a downlink data response to the service client side; the data packet is sent to the simulation base station after being processed by the 5G core network, the downlink data packet is sent to the service client in the simulation terminal after being unpacked, and uplink and downlink data interaction is completed.
Wherein the network performance testing tool comprises at least one of: ping test tool, iperf test tool, ftp test tool.
According to another aspect of the present invention, a 5G core network test system is provided.
The 5G core network test system comprises:
the virtual network establishment module is used for establishing a virtual 5G communication network system, wherein the virtual 5G communication network system is composed of a simulation base station and a plurality of simulation terminals, wherein the simulation base station is created by a Linux kernel; the analog base station is used for processing the interaction information of the control plane and the data plane of the 5G core network; the simulation terminal is used for simulating a real individual of the UE;
the network communication module is used for carrying out network communication on the virtual 5G communication network system and the 5G core network;
the network testing module is used for configuring a network performance testing tool in the virtual 5G communication network system and testing the performance of the communication network between the virtual 5G communication network system and the 5G core network through the network performance testing tool.
When the virtual network establishment module establishes a simulation terminal, a plurality of independent network spaces are established through a Network Namespace module in a Linux kernel; and configuring network IP allocation allocated by the 5G core network to each network space, and establishing a service client in each network space to form the simulation terminal.
When the network communication module performs network communication between the virtual 5G communication network system and the 5G core network, a registration and session establishment flow is initiated to the 5G core network through the simulation base station; after registration and session establishment are completed, initiating an uplink data request through a service client in the simulation terminal; the simulation terminal sends the data packet to the simulation base station for packet processing, and forwards the data packet to the 5G core network through the N3 interface; the 5G core network processes the data packet and then forwards the data packet to the program server for response processing; the program server side sends a downlink data response to the service client side; the data packet is sent to the simulation base station after being processed by the 5G core network, the downlink data packet is sent to the service client in the simulation terminal after being unpacked, and uplink and downlink data interaction is completed.
Wherein the network performance testing tool comprises at least one of: ping test tool, iperf test tool, ftp test tool.
Advantageous effects
The invention can cope with various service scene tests, deploy the client in the 5G network application into the simulation terminal, send data to the server by using the client, simulate the real scene service flow to carry out data flow test, and different terminals can trigger diversified data service flow arrangement, and verify the processing capacity of the control surface and the data surface of the 5G core network.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for testing a 5G core network according to an embodiment of the present invention;
fig. 2 is a block diagram of a 5G core network test system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a 5G network construction principle according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the invention, fall within the scope of protection of the invention.
According to the embodiment of the invention, a 5G core network testing method and a 5G core network testing system are provided.
As shown in fig. 1, a method for testing a 5G core network according to an embodiment of the present invention includes:
step S101, a virtual 5G communication network system is established, wherein the virtual 5G communication network system is composed of a simulation base station and a plurality of simulation terminals, wherein the simulation base station is created by a Linux kernel; the analog base station is used for processing the interaction information of the control plane and the data plane of the 5G core network; the simulation terminal is used for simulating a real individual of the UE;
step S103, carrying out network communication on the virtual 5G communication network system and the 5G core network;
step S105, a network performance testing tool is configured in the virtual 5G communication network system, and performance testing is carried out on the communication network between the virtual 5G communication network system and the 5G core network through the network performance testing tool.
In one embodiment, the method for creating the analog terminal includes: creating a plurality of independent network spaces through a Network Namespace module in a Linux kernel; and configuring network IP allocation allocated by the 5G core network to each network space, and establishing a service client in each network space to form the simulation terminal.
In one embodiment, network communication of a virtual 5G communication network system with a 5G core network comprises: initiating a registration and session establishment flow to a 5G core network through a simulation base station; after registration and session establishment are completed, initiating an uplink data request through a service client in the simulation terminal; the simulation terminal sends the data packet to the simulation base station for packet processing, and forwards the data packet to the 5G core network through the N3 interface; the 5G core network processes the data packet and then forwards the data packet to the program server for response processing; the program server side sends a downlink data response to the service client side; the data packet is sent to the simulation base station after being processed by the 5G core network, the downlink data packet is sent to the service client in the simulation terminal after being unpacked, and uplink and downlink data interaction is completed.
In one embodiment, the network performance testing tool comprises at least one of: ping test tool, iperf test tool, ftp test tool.
As shown in fig. 2, a 5G core network testing system according to an embodiment of the present invention includes:
a virtual network establishing module 201, configured to establish a virtual 5G communication network system, where the virtual 5G communication network system is composed of a simulated base station and a plurality of simulated terminals, which are created by a Linux kernel; the analog base station is used for processing the interaction information of the control plane and the data plane of the 5G core network; the simulation terminal is used for simulating a real individual of the UE;
a network communication module 203, configured to perform network communication between the virtual 5G communication network system and the 5G core network;
the network testing module 205 is configured to configure a network performance testing tool in the virtual 5G communication network system, and perform performance testing on a communication network between the virtual 5G communication network system and the 5G core network through the network performance testing tool.
In one embodiment, when the virtual network establishment module 201 creates the analog terminal, a plurality of independent network spaces are created by a Network Namespace module in the Linux kernel; and configuring network IP allocation allocated by the 5G core network to each network space, and establishing a service client in each network space to form the simulation terminal.
In one embodiment, when the network communication module 203 performs network communication between the virtual 5G communication network system and the 5G core network, a registration and session establishment procedure is initiated to the 5G core network through the analog base station; after registration and session establishment are completed, initiating an uplink data request through a service client in the simulation terminal; the simulation terminal sends the data packet to the simulation base station for packet processing, and forwards the data packet to the 5G core network through the N3 interface; the 5G core network processes the data packet and then forwards the data packet to the program server for response processing; the program server side sends a downlink data response to the service client side; the data packet is sent to the simulation base station after being processed by the 5G core network, the downlink data packet is sent to the service client in the simulation terminal after being unpacked, and uplink and downlink data interaction is completed.
In one embodiment, the network performance testing tool comprises at least one of: ping test tool, iperf test tool, ftp test tool.
In practical application, as shown in fig. 3, when testing is performed on a plurality of terminals, the 5G test system can create a designated number of UEs in a concurrent manner, respectively perform different service tests, and perform pattern arrangement according to scene requirements, so that the system is more close to the real environment of the current network. The test system control layer may use any network test tools currently available in the operating system to perform the test in the network space of the terminal, such as ping, iperf, ftp, etc.;
for example, the processing capacity of downlink data service on the 5G core network is verified, and a 5G novel testing system is used for carrying out performance test by combining with an iperf network performance testing tool. Connecting an iperf server to a 5G core network N6 interface, configuring an iperf client in a 5G test system, completing control plane signaling flow interaction between the 5G test system and the 5G core network through a simulation base station, and realizing a simulation terminal (UE) by using a Network Namespace network space creation mode, at the moment, creating the iperf client in the simulation terminal, initiating a data service to the iperf server by using an iperf test command in the simulation terminal, and testing the data service processing capability of the 5G core network; and creating the iporf server in the simulation terminal, connecting the iporf client with the N6 interface of the 5G core network, initiating data service to the server by the client, and testing the processing capability of the downlink data service of the 5G core network. And by using a 5G test system and combining an iperf network performance test tool, performance test indexes such as packet loss rate, throughput, time delay and the like of the 5G core network can be obtained through testing, and the service processing performance of the 5G core network is analyzed and optimized. The method can simulate a batch of terminals and perform pressure test on the data service processing function of the 5G core network.
Therefore, by means of the technical scheme, the method and the device can cope with various service scene tests, the client in the 5G network application is deployed in the simulation terminal, the client is used for sending data to the server, the data flow test is carried out by simulating the real scene service flow, different terminals can trigger diversified data service flow arrangement, and meanwhile, the processing capacity of the control surface and the data surface of the 5G core network is verified.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.
Claims (8)
1. A 5G core network testing method, comprising:
establishing a virtual 5G communication network system, wherein the virtual 5G communication network system is composed of a simulation base station and a plurality of simulation terminals, wherein the simulation base station is created by a Linux kernel; the analog base station is used for processing the interaction information of the control plane and the data plane of the 5G core network; the simulation terminal is used for simulating a real individual of the UE;
network communication is carried out between the virtual 5G communication network system and the 5G core network;
and configuring a network performance testing tool in the virtual 5G communication network system, and performing performance testing on a communication network between the virtual 5G communication network system and the 5G core network through the network performance testing tool.
2. The 5G core network testing method according to claim 1, wherein the method for creating the analog terminal comprises:
creating a plurality of independent network spaces through a Network Namespace module in a Linux kernel;
and configuring network IP allocation allocated by the 5G core network to each network space, and establishing a service client in each network space to form the simulation terminal.
3. The 5G core network testing method of claim 2, wherein the network communication between the virtual 5G communication network system and the 5G core network comprises:
initiating a registration and session establishment flow to a 5G core network through a simulation base station; after registration and session establishment are completed, initiating an uplink data request through a service client in the simulation terminal;
the simulation terminal sends the data packet to the simulation base station for packet processing, and forwards the data packet to the 5G core network through the N3 interface;
the 5G core network processes the data packet and then forwards the data packet to the program server for response processing; the program server side sends a downlink data response to the service client side;
the data packet is sent to the simulation base station after being processed by the 5G core network, the downlink data packet is sent to the service client in the simulation terminal after being unpacked, and uplink and downlink data interaction is completed.
4. A 5G core network testing method according to claim 3, wherein said network performance testing tool comprises at least one of:
ping test tool, iperf test tool, ftp test tool.
5. A 5G core network test system, comprising:
the virtual network establishment module is used for establishing a virtual 5G communication network system, wherein the virtual 5G communication network system is composed of a simulation base station and a plurality of simulation terminals, wherein the simulation base station is created by a Linux kernel; the analog base station is used for processing the interaction information of the control plane and the data plane of the 5G core network; the simulation terminal is used for simulating a real individual of the UE;
the network communication module is used for carrying out network communication on the virtual 5G communication network system and the 5G core network;
the network testing module is used for configuring a network performance testing tool in the virtual 5G communication network system and testing the performance of the communication network between the virtual 5G communication network system and the 5G core network through the network performance testing tool.
6. The 5G core network test system of claim 5, wherein the virtual network creation module creates a plurality of independent network spaces through a Network Namespace module in a Linux kernel when creating the analog terminal; and configuring network IP allocation allocated by the 5G core network to each network space, and establishing a service client in each network space to form the simulation terminal.
7. The 5G core network testing system of claim 6, wherein the network communication module initiates a registration and session establishment procedure to the 5G core network through the analog base station when the virtual 5G communication network system is in network communication with the 5G core network; after registration and session establishment are completed, initiating an uplink data request through a service client in the simulation terminal; the simulation terminal sends the data packet to the simulation base station for packet processing, and forwards the data packet to the 5G core network through the N3 interface; the 5G core network processes the data packet and then forwards the data packet to the program server for response processing; the program server side sends a downlink data response to the service client side; the data packet is sent to the simulation base station after being processed by the 5G core network, the downlink data packet is sent to the service client in the simulation terminal after being unpacked, and uplink and downlink data interaction is completed.
8. The 5G core network testing system of claim 7, wherein the network performance testing tool comprises at least one of:
ping test tool, iperf test tool, ftp test tool.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310412011.XA CN116170828A (en) | 2023-04-18 | 2023-04-18 | 5G core network testing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310412011.XA CN116170828A (en) | 2023-04-18 | 2023-04-18 | 5G core network testing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116170828A true CN116170828A (en) | 2023-05-26 |
Family
ID=86420399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310412011.XA Pending CN116170828A (en) | 2023-04-18 | 2023-04-18 | 5G core network testing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116170828A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119521278A (en) * | 2025-01-17 | 2025-02-25 | 北京网测科技有限公司 | Core network signaling plane testing method, device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108390810A (en) * | 2018-01-05 | 2018-08-10 | 郑州信大捷安信息技术股份有限公司 | One kind is based on the more android system network virtualization methods of single linux kernel |
CN110351156A (en) * | 2018-04-03 | 2019-10-18 | 大唐移动通信设备有限公司 | A kind of test method and device |
CN111294827A (en) * | 2019-02-28 | 2020-06-16 | 展讯通信(上海)有限公司 | Adaptive network communication method and device of application program |
CN111404763A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | A core network performance testing method, device and system |
CN113613281A (en) * | 2021-07-09 | 2021-11-05 | 京信网络系统股份有限公司 | Core network performance test method, device, system and storage medium |
US20220095122A1 (en) * | 2020-09-23 | 2022-03-24 | T-Mobile Usa, Inc. | Simulating operation of a 5g wireless telecommunication network |
CN115226155A (en) * | 2022-07-05 | 2022-10-21 | 北京赛思信安技术股份有限公司 | A device and method for transparent data injection between a mobile communication base station and a core network |
-
2023
- 2023-04-18 CN CN202310412011.XA patent/CN116170828A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108390810A (en) * | 2018-01-05 | 2018-08-10 | 郑州信大捷安信息技术股份有限公司 | One kind is based on the more android system network virtualization methods of single linux kernel |
CN110351156A (en) * | 2018-04-03 | 2019-10-18 | 大唐移动通信设备有限公司 | A kind of test method and device |
CN111404763A (en) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | A core network performance testing method, device and system |
CN111294827A (en) * | 2019-02-28 | 2020-06-16 | 展讯通信(上海)有限公司 | Adaptive network communication method and device of application program |
US20220095122A1 (en) * | 2020-09-23 | 2022-03-24 | T-Mobile Usa, Inc. | Simulating operation of a 5g wireless telecommunication network |
CN113613281A (en) * | 2021-07-09 | 2021-11-05 | 京信网络系统股份有限公司 | Core network performance test method, device, system and storage medium |
CN115226155A (en) * | 2022-07-05 | 2022-10-21 | 北京赛思信安技术股份有限公司 | A device and method for transparent data injection between a mobile communication base station and a core network |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119521278A (en) * | 2025-01-17 | 2025-02-25 | 北京网测科技有限公司 | Core network signaling plane testing method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107819649B (en) | Private protocol testing method of satellite communication network based on mass terminals | |
CN101626383B (en) | Route test method of aeronautical telecommunication network and router virtual machine | |
CN102355688A (en) | Equipment testing system and method | |
RU2007107347A (en) | METHOD AND DEVICE FOR PROVIDING INFORMATION ON RELATED COMMUNICATION SESSIONS IN HYBRID TELECOMMUNICATION NETWORKS | |
CN109905280A (en) | A simulation method and system for mobile satellite network | |
CN116170828A (en) | 5G core network testing method and system | |
Rivera et al. | Providing heterogeneous signaling and user traffic for 5G core network functional testing | |
CN114040408B (en) | Target range system based on 4G mobile network simulation environment | |
CN106921448B (en) | Method and device for testing satellite communication system | |
CN113630802B (en) | NR user plane service testing method and device | |
CN103023940A (en) | Method and device for transmitting data between PC (Personal Computer) and mobile terminal | |
CN105634876A (en) | Terminal performance testing method and system | |
US6597694B1 (en) | System and method for generating bulk calls and emulating applications | |
CN105930188B (en) | A kind of method of the virtual multiple mobile devices of list mobile device | |
CN112867046A (en) | Method for testing upf network element function based on analog simulation core network | |
CN107948994A (en) | The detection method and device of network insertion result, computer-readable storage medium | |
CN109922484A (en) | A kind of test method and test device | |
EP3562196B1 (en) | Mobile communication tester, testing system as well as a method for testing at least one device under test | |
CN114143243B (en) | Radio frequency test method and system | |
CN114339799B (en) | Dual-card terminal test system and method and electronic equipment | |
US20080311901A1 (en) | Method and Apparatus for Evaluating the Performance of a Radiomobile Transmission System | |
CN113891380A (en) | Virtual wireless network processing system and method | |
CN114071467A (en) | Shooting range system based on 4G mobile network simulation environment | |
Chen et al. | Design of a MEC-integrated 5G MANO Platform | |
CN103167546A (en) | Mobile G net wireless service testing system with data acquisition server and method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230526 |
|
RJ01 | Rejection of invention patent application after publication |