CN112867046A - Method for testing upf network element function based on analog simulation core network - Google Patents

Method for testing upf network element function based on analog simulation core network Download PDF

Info

Publication number
CN112867046A
CN112867046A CN202110228005.XA CN202110228005A CN112867046A CN 112867046 A CN112867046 A CN 112867046A CN 202110228005 A CN202110228005 A CN 202110228005A CN 112867046 A CN112867046 A CN 112867046A
Authority
CN
China
Prior art keywords
virtual machine
upf
virtual
vpp
trex
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
Application number
CN202110228005.XA
Other languages
Chinese (zh)
Inventor
师发发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Communication Technology Co Ltd
Original Assignee
Inspur Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Technology Co Ltd filed Critical Inspur Software Technology Co Ltd
Priority to CN202110228005.XA priority Critical patent/CN112867046A/en
Publication of CN112867046A publication Critical patent/CN112867046A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic

Abstract

The invention discloses a method for testing upf network element functions based on an analog simulation core network, relating to the technical field of communication testing; respectively utilizing the virtual machine to install trex, vpp and upf, and building a test environment: binding a virtual port through a trex virtual machine to communicate with a Vpp virtual machine, simulating a UE function and a DN function by using the virtual port respectively, establishing a GTP tunnel with a upf virtual machine through the Vpp virtual machine, running a upf service process through a upf virtual machine, configuring a corresponding interface IP, receiving a session establishment request sent by the trex virtual machine through the Vpp virtual machine, and configuring uplink and downlink PDR and FAR rules; and upf network element function test is carried out by utilizing the test environment.

Description

Method for testing upf network element function based on analog simulation core network
Technical Field
The invention discloses a method, relates to the technical field of communication testing, and particularly relates to a method for testing upf network element functions based on an analog simulation core network.
Background
The test method in the development process of the 5G data plane network element upf at present mainly comprises two methods, one is the existing network test, the developed function codes are compiled and packaged, the test method is installed in a real networking environment, and the terminal equipment is accessed into a core network to access the effective data center to test the functions of session establishment, uplink and downlink flow and the like, but the method has the defects of complex networking environment, limited number of test terminals, incapability of testing performance related problems and the like; the current instruments such as dotouch, Landside and the like are commonly used for simulating a terminal, a base station, a 5G SMF network element and a data center DN of the current network environment through instrument simulation messages, and performing function tests such as session establishment, package filling and flow injection and performance tests; however, the method has the defects that a professional instrument is complicated to use, needs professional guidance of a manufacturer, and cannot completely simulate a characteristic message or an interactive flow of a new function according to research and development requirements.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method for testing upf network element functions based on an analog simulation core network, which is used for developing and testing the basic functions of a 5G data plane upf network element, simulating GTPu traffic to stream an N3 port, completing unit testing and improving the development efficiency of 5G upf network element functions.
The specific scheme provided by the invention is as follows:
a method for testing upf network element functions based on an analog simulation core network is characterized in that trex, vpp and upf are installed by virtual machines respectively, and a test environment is set up as follows: binding a virtual port through the trex virtual machine to communicate with the Vpp virtual machine, simulating the UE function and the DN function by using the virtual port respectively, establishing a GTP tunnel with the upf virtual machine through the Vpp virtual machine,
running upf service process through upf virtual machine, configuring corresponding interface IP, receiving session establishment request sent by trex virtual machine through Vpp virtual machine and configuring uplink and downlink PDR and FAR rules;
and upf network element function test is carried out by utilizing the test environment.
Further, in the method for testing upf network element functions based on the simulation core network, virtual ports are bound through trex virtual machines, and the IP is set as port0 and port1, wherein port0 simulates the functions of the UE, and port1 simulates the functions of the DN.
Further, in the method for testing upf network element functions based on the emulated core network, a virtual port is bound by a Vpp virtual machine, and an IP of a trex virtual machine is a virtual port of port0 and an N3 interface of a upf virtual machine.
Further, in the method for testing upf network element functions based on the simulation core network, a GTP tunnel is established between the corresponding virtual port of the Vpp virtual machine and the N3 interface of the upf virtual machine.
A system for testing upf network element functions based on an analog simulation core network comprises a building module and a testing module,
the building module respectively utilizes the virtual machines to install trex, vpp and upf, and builds a test environment: binding a virtual port through the trex virtual machine to communicate with the Vpp virtual machine, simulating the UE function and the DN function by using the virtual port respectively, establishing a GTP tunnel with the upf virtual machine through the Vpp virtual machine,
running upf service process through upf virtual machine, configuring corresponding interface IP, receiving session establishment request sent by trex virtual machine through Vpp virtual machine and configuring uplink and downlink PDR and FAR rules;
the test module carries out upf network element function test by using the test environment.
Further, in the system for testing upf network element functions based on the simulation core network, a building module binds virtual ports through trex virtual machines, and sets IPs to be port0 and port1, respectively, where port0 simulates the functions of UE and port1 simulates the functions of DN.
Further, in the system for testing upf network element functions based on the analog simulation core network, the building module binds the virtual port through the Vpp virtual machine, and the IP corresponding to the trex virtual machine is the virtual port of port0 and the N3 interface of upf virtual machine.
Further, the building module in the system based on the simulation core network test upf network element function establishes a GTP tunnel with the N3 interface of the upf virtual machine through the corresponding virtual port of the Vpp virtual machine.
The invention has the advantages that:
the invention provides a method for testing upf network element functions based on an analog simulation core network, which respectively utilizes a virtual machine to install trex, vpp and upf and builds a testing environment: the method comprises the steps of binding a virtual port through a trex virtual machine to communicate with a Vpp virtual machine, simulating a UE function and a DN function by utilizing the virtual port respectively, establishing a GTP tunnel with an upf virtual machine through the Vpp virtual machine, running a upf service process through a upf virtual machine, configuring a corresponding interface IP, receiving a session establishment request sent by the trex virtual machine through the Vpp virtual machine and configuring uplink and downlink PDR and FAR rules, and flexibly and freely combining and generating messages or signaling of interfaces such as a data plane N3, an N6, an N9, a signaling plane N4 and the like required by a upf network element function. And a proprietary test flow can be formulated according to functional needs. Upf developers are facilitated to test and verify new functionality.
Drawings
FIG. 1 is a schematic diagram of a test topology in which the method of the present invention is applied.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
upf when developing new functional tests, it is necessary to perform a verification enclosure by simulating a simulation environment. The invention provides a method for testing upf network element functions based on an analog simulation core network, which respectively utilizes a virtual machine to install trex, vpp and upf and builds a testing environment: binding a virtual port through the trex virtual machine to communicate with the Vpp virtual machine, simulating the UE function and the DN function by using the virtual port respectively, establishing a GTP tunnel with the upf virtual machine through the Vpp virtual machine,
running upf service process through upf virtual machine, configuring corresponding interface IP, receiving session establishment request sent by trex virtual machine through Vpp virtual machine and configuring uplink and downlink PDR and FAR rules;
and upf network element function test is carried out by utilizing the test environment.
The method of the invention can flexibly and freely combine and generate the messages or the signaling of each interface required by upf network element functions, such as data plane N3, N6, N9 and signaling plane N4. And a proprietary test flow can be formulated according to functional needs. Upf developers are facilitated to test and verify new functionality.
In specific application, in some embodiments of the method of the present invention, trex, vpp, and upf are installed by using a virtual machine, respectively, to build a test environment:
preparing three virtual machines, respectively installing Trex, vpp and upf, forming a test environment through the sum of the Trex, vpp and upf, wherein two virtual ports are bound through the Trex virtual machines, ip is respectively set as port0 and port1, port0 simulates the function of UE, port1 simulates the function of DN,
binding virtual ports through a Vpp virtual machine, respectively corresponding to the IP of a trex virtual machine as a virtual port0 and an N3 interface of a upf virtual machine, establishing a GTP tunnel through the corresponding virtual port of the Vpp virtual machine and the N3 interface of the upf virtual machine under the action of a base station simulated by the Vpp virtual machine,
upf virtual machine, running upf business process, configuring N3, N6 and N4 interface ip;
a pfcptol tool can be used on a trex virtual machine to simulate an smf network element to issue a session establishment request to an upf network element, and uplink and downlink PDR and FAR rules are configured;
by using the test environment for testing, referring to fig. 1, the traffic destined to ip port1 from port0 of trex virtual machine is uplink, the traffic destined to ip port0 from port1 is downlink, the Vpp virtual machine establishes GTP tunnel with N3 interface of upf, encapsulates GTP header for uplink traffic, and sends the encapsulated GTP tunnel to N3 interface of upf.
The method can realize the simulation without the network environment and the instrument legal affair. Developing and testing upf network element basic functions of a 5G data plane, simulating GTPu flow to stream an N3 port, and completing unit testing; the development efficiency of the 5G upf network element function is improved, and the problem of difficult unit test is solved.
Meanwhile, the invention also provides a system for testing upf network element functions based on the analog simulation core network, which comprises a building module and a testing module,
the building module respectively utilizes the virtual machines to install trex, vpp and upf, and builds a test environment: binding a virtual port through the trex virtual machine to communicate with the Vpp virtual machine, simulating the UE function and the DN function by using the virtual port respectively, establishing a GTP tunnel with the upf virtual machine through the Vpp virtual machine,
running upf service process through upf virtual machine, configuring corresponding interface IP, receiving session establishment request sent by trex virtual machine through Vpp virtual machine and configuring uplink and downlink PDR and FAR rules;
the test module carries out upf network element function test by using the test environment.
The system of the invention can also flexibly and freely combine and generate the messages or the signaling of each interface, such as data planes N3, N6, N9 and a signaling plane N4, required by the function of the upf network element. And a proprietary test flow can be formulated according to functional needs. Upf developers are facilitated to test and verify new functionality.
In addition, because the information interaction, execution process, and other contents between the modules in the system of the present invention are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
It should be noted that not all steps and modules in the processes and system structures of the above preferred embodiments are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (8)

1. A method for testing upf network element functions based on an analog simulation core network is characterized in that trex, vpp and upf are respectively installed by virtual machines, and a test environment is set up: binding a virtual port through the trex virtual machine to communicate with the Vpp virtual machine, simulating the UE function and the DN function by using the virtual port respectively, establishing a GTP tunnel with the upf virtual machine through the Vpp virtual machine,
running upf service process through upf virtual machine, configuring corresponding interface IP, receiving session establishment request sent by trex virtual machine through Vpp virtual machine and configuring uplink and downlink PDR and FAR rules;
and upf network element function test is carried out by utilizing the test environment.
2. The method as claimed in claim 1, wherein the method for testing upf network element functions based on the emulated core network is that virtual ports are bound through trex virtual machines, and the IP is set to port0 and port1, respectively, where port0 emulates the function of UE and port1 emulates the function of DN.
3. The method for testing upf network element functions based on simulation core network as claimed in claim 1 or 2, wherein the virtual port is bound by a Vpp virtual machine, and the IP of the trex virtual machine is the virtual port of port0 and the N3 interface of upf virtual machine.
4. The method for testing upf network element functions over an emulated core network of claim 3, in which a GTP tunnel is established with the N3 interface of the upf virtual machine through the corresponding virtual port of the Vpp virtual machine.
5. A system for testing upf network element functions based on an analog simulation core network is characterized by comprising a building module and a testing module,
the building module respectively utilizes the virtual machines to install trex, vpp and upf, and builds a test environment: binding a virtual port through the trex virtual machine to communicate with the Vpp virtual machine, simulating the UE function and the DN function by using the virtual port respectively, establishing a GTP tunnel with the upf virtual machine through the Vpp virtual machine,
running upf service process through upf virtual machine, configuring corresponding interface IP, receiving session establishment request sent by trex virtual machine through Vpp virtual machine and configuring uplink and downlink PDR and FAR rules;
the test module carries out upf network element function test by using the test environment.
6. The system according to claim 5, wherein the building module binds virtual ports through trex virtual machines and sets IP as port0 and port1, respectively, wherein port0 simulates the function of a UE and port1 simulates the function of a DN.
7. The system according to claim 5 or 6, wherein the building module binds the virtual port through the Vpp virtual machine, and the IP corresponding to the trex virtual machine is the virtual port of port0 and the N3 interface of the upf virtual machine.
8. The system according to claim 7, wherein the building module builds a GTP tunnel with an N3 interface of a upf virtual machine through a corresponding virtual port of the Vpp virtual machine.
CN202110228005.XA 2021-03-02 2021-03-02 Method for testing upf network element function based on analog simulation core network Pending CN112867046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110228005.XA CN112867046A (en) 2021-03-02 2021-03-02 Method for testing upf network element function based on analog simulation core network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110228005.XA CN112867046A (en) 2021-03-02 2021-03-02 Method for testing upf network element function based on analog simulation core network

Publications (1)

Publication Number Publication Date
CN112867046A true CN112867046A (en) 2021-05-28

Family

ID=75990803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110228005.XA Pending CN112867046A (en) 2021-03-02 2021-03-02 Method for testing upf network element function based on analog simulation core network

Country Status (1)

Country Link
CN (1) CN112867046A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613281A (en) * 2021-07-09 2021-11-05 京信网络系统股份有限公司 Core network performance test method, device, system and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011060721A1 (en) * 2009-11-18 2011-05-26 华为技术有限公司 Method and apparatus for monitoring service quality
WO2011137807A1 (en) * 2010-08-30 2011-11-10 华为技术有限公司 Monitoring method for ip bearing network based on service and device for monitoring quality of ip service
CN104135735A (en) * 2014-08-25 2014-11-05 宁波普天通信技术有限公司 Automatic testing method, device and system for LTE core network
CN104333486A (en) * 2014-10-31 2015-02-04 大唐移动通信设备有限公司 Testing system and method of network cell device
WO2016082143A1 (en) * 2014-11-27 2016-06-02 华为技术有限公司 Virtual network policy configuration method and system, as well as virtual network element and network management system thereof
US20170093681A1 (en) * 2015-09-28 2017-03-30 Juniper Networks, Inc. Providing application metadata using export protocols in computer networks
CN111200848A (en) * 2018-11-19 2020-05-26 华为技术有限公司 Communication method and device
US20200221346A1 (en) * 2019-01-08 2020-07-09 Samsung Electronics Co., Ltd. Management device and method for controlling end-to-end network in wireless communication system
CN111404767A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Network element testing method and framework of NFV core network and MANO framework

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011060721A1 (en) * 2009-11-18 2011-05-26 华为技术有限公司 Method and apparatus for monitoring service quality
WO2011137807A1 (en) * 2010-08-30 2011-11-10 华为技术有限公司 Monitoring method for ip bearing network based on service and device for monitoring quality of ip service
CN104135735A (en) * 2014-08-25 2014-11-05 宁波普天通信技术有限公司 Automatic testing method, device and system for LTE core network
CN104333486A (en) * 2014-10-31 2015-02-04 大唐移动通信设备有限公司 Testing system and method of network cell device
WO2016082143A1 (en) * 2014-11-27 2016-06-02 华为技术有限公司 Virtual network policy configuration method and system, as well as virtual network element and network management system thereof
US20170093681A1 (en) * 2015-09-28 2017-03-30 Juniper Networks, Inc. Providing application metadata using export protocols in computer networks
CN111200848A (en) * 2018-11-19 2020-05-26 华为技术有限公司 Communication method and device
CN111404767A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Network element testing method and framework of NFV core network and MANO framework
US20200221346A1 (en) * 2019-01-08 2020-07-09 Samsung Electronics Co., Ltd. Management device and method for controlling end-to-end network in wireless communication system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
沙莎;: "基于仿真技术的5G核心网络质量监测研究", 信息技术与信息化, no. 01 *
赵虎等: "广电5G 核心网测试研究", 广播与电视技术, pages 33 - 38 *
郎为民;马卫国;申新楼;张汉;裴云祥;: "虚拟化网络功能数据测量框架研究", 电信快报, no. 04, 10 April 2020 (2020-04-10) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613281A (en) * 2021-07-09 2021-11-05 京信网络系统股份有限公司 Core network performance test method, device, system and storage medium
CN113613281B (en) * 2021-07-09 2023-10-20 京信网络系统股份有限公司 Core network performance test method, device, system and storage medium

Similar Documents

Publication Publication Date Title
JP3706144B2 (en) Protocol interface gateway
JP3706145B2 (en) UNIX Open System Interconnection Layer Test
US8072992B2 (en) Interfacing real and virtual networks in hardware-in-the-loop (HITL) simulations
CN102421112B (en) Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system
CN102098702B (en) Performance testing system, method and equipment
CN103178996A (en) Distributed packet-switching chip model verification system and method
CN114422010B (en) Protocol testing method of satellite communication simulation platform based on network virtualization
CN111522727B (en) Simulation object test method, device and system
CN107749807A (en) A kind of network function verification method and checking system towards NFV
Ivey et al. Comparing a scalable SDN simulation framework built on ns-3 and DCE with existing SDN simulators and emulators
CN109039709A (en) A kind of mobile wireless network emulation and experiment porch based on virtualization
CN112867046A (en) Method for testing upf network element function based on analog simulation core network
CN110209587A (en) The test method and device of safety chip operation flow
CN116681013B (en) Simulation verification method, platform, device, equipment and medium of network chip
CN106936658A (en) The method of testing and test platform of test case, simulation test equipment
CN107547256A (en) A kind of power telecom network Hardware In The Loop Simulation Method and system
US6597694B1 (en) System and method for generating bulk calls and emulating applications
Nakata et al. Starbed2: Large-scale, realistic and real-time testbed for ubiquitous networks
CN101207525A (en) System and apparatus for testing wireless network controller signaling processing module
CN100441013C (en) Apparatus and method for testing operating and maintaining functions of Iub interface of base station in communication system
CN113891380A (en) Virtual wireless network processing system and method
CN114071467A (en) Shooting range system based on 4G mobile network simulation environment
Canonico et al. A framework to evaluate 5G networks for smart and fail-safe communications in ERTMS/ETCS
CN106506268B (en) Server access method and system
CN111431739A (en) QualNet-oriented dynamic fault setting method and interface for simulation communication network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220411

Address after: 266107 No. 2, Xiangtan Road, Danshan Industrial Park, Chengyang District, Qingdao, Shandong

Applicant after: Inspur Communication Technology Co.,Ltd.

Address before: 250100 Inspur science and Technology Park, 1036 Inspur Road, hi tech Zone, Jinan City, Shandong Province

Applicant before: Inspur Software Technology Co.,Ltd.

TA01 Transfer of patent application right