CN111404763B - A core network performance testing method, device and system - Google Patents

A core network performance testing method, device and system Download PDF

Info

Publication number
CN111404763B
CN111404763B CN201910000937.1A CN201910000937A CN111404763B CN 111404763 B CN111404763 B CN 111404763B CN 201910000937 A CN201910000937 A CN 201910000937A CN 111404763 B CN111404763 B CN 111404763B
Authority
CN
China
Prior art keywords
tested
test
core network
message set
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910000937.1A
Other languages
Chinese (zh)
Other versions
CN111404763A (en
Inventor
周泉
何金键
秦宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication 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 China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910000937.1A priority Critical patent/CN111404763B/en
Publication of CN111404763A publication Critical patent/CN111404763A/en
Application granted granted Critical
Publication of CN111404763B publication Critical patent/CN111404763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供了一种核心网性能测试方法、装置及系统,其中,核心网性能测试方法包括:获取至少一个待测消息集合;对至少一个待测消息集合分别进行测试配置,获得测试配置结果;根据至少一个待测消息集合和测试配置结果,对待测网元进行核心网性能测试,得到测试结果。本方案通过获取至少一个待测消息集合;对至少一个待测消息集合分别进行测试配置,获得测试配置结果;根据至少一个待测消息集合和测试配置结果,对待测网元进行核心网性能测试,得到测试结果;从而能够基于消息的压力加载方法实现针对特定的消息和特定的行为开展定向测试,实现灵活的测试能力调度;并且不再通过商用仪表模拟周边网元进行包围测试,大大降低了测试成本。

Figure 201910000937

The present invention provides a core network performance testing method, device and system, wherein the core network performance testing method includes: acquiring at least one message set to be tested; respectively performing test configuration on the at least one message set to be tested, and obtaining a test configuration result; According to the at least one message set to be tested and the test configuration result, the core network performance test is performed on the network element to be tested, and the test result is obtained. This solution obtains at least one set of messages to be tested; performs test configuration on at least one set of messages to be tested respectively, and obtains a test configuration result; Obtain the test results; thus, the message-based pressure loading method can implement directional testing for specific messages and specific behaviors, and realize flexible test capability scheduling; and the surrounding network elements are no longer simulated by commercial instruments for surround testing, which greatly reduces the number of tests. cost.

Figure 201910000937

Description

一种核心网性能测试方法、装置及系统A core network performance testing method, device and system

技术领域technical field

本发明涉及通信技术领域,特别是指一种核心网性能测试方法、装置及系统。The present invention relates to the field of communication technology, in particular to a core network performance testing method, device and system.

背景技术Background technique

目前核心网性能测试基于现有仪表厂商的全包围测试方案,如图1所示:基于某一业务模型,以用户行为为基础进行测试,通过商用仪表来模拟被测网元(比如4G核心网EPC,IP多媒体子系统IMS等)周边设备来对被测网元(如EPC,IMS,归属签约用户服务器HSS,路由代理节点DRA等)实行包围连接,通过商用仪表的专有硬件和软件模拟上百万的用户对被测网元进行压力加载。图1中BSC表示基站控制器,RNC表示无线网络控制器,eNB表示演进型基站,HLR表示归属位置寄存器,HSS表示归属用户服务器,MME表示移动性实体管理,SGSN表示服务GPRS支持节点,SGW表示服务网关,GGSN表示网关GPRS支持节点,eMSC表示增强的移动交换中心。At present, the core network performance test is based on the full-envelopment test scheme of the existing instrument manufacturers, as shown in Figure 1: Based on a certain business model, the test is based on user behavior, and the network element under test (such as 4G core network) is simulated by commercial instruments. EPC, IP Multimedia Subsystem IMS, etc.) peripheral equipment to implement surround connection to the network elements under test (such as EPC, IMS, home subscriber server HSS, routing agent node DRA, etc.), through the proprietary hardware and software simulation of commercial instruments Millions of users put pressure on the network element under test. In Figure 1, BSC stands for Base Station Controller, RNC stands for Radio Network Controller, eNB stands for Evolved Base Station, HLR stands for Home Location Register, HSS stands for Home Subscriber Server, MME stands for Mobility Entity Management, SGSN stands for Serving GPRS Support Node, and SGW stands for Serving gateway, GGSN means gateway GPRS support node, eMSC means enhanced mobile switching center.

随着网络容量不断增加及虚拟化进程的推进,上述测试方法存在如下缺点:With the continuous increase of network capacity and the advancement of virtualization process, the above test method has the following disadvantages:

1、传统测试方法的负载全部基于话务模型和用户数,对于特定消息和特定行为(尤其是异常行为)的测试用例(如乒乓切换等)难以实现,无法实现灵活的测试能力调度。1. The load of the traditional test method is all based on the traffic model and the number of users. It is difficult to implement test cases (such as ping-pong switching, etc.) for specific messages and specific behaviors (especially abnormal behaviors), and it is impossible to achieve flexible test capacity scheduling.

2、核心网板卡处理能力不断增强,性能大幅提升,性能测试用例涉及用户数量和流量也大幅增加(如单个HSS同时处理用户数达到3000万,IP短消息网关同时处理用户数更是需要达到6000万以上),现有测试方法通过商用仪表模拟周边网元进行包围测试的流量加载成本也就大幅增加。2. The processing capacity of the core network card has been continuously enhanced, and the performance has been greatly improved. The number of users and traffic involved in performance test cases have also increased significantly (for example, the number of users processed by a single HSS at the same time reaches 30 million, and the number of users processed by the IP short message gateway at the same time needs to reach 60 million or more), the existing test method uses commercial instruments to simulate surrounding network elements to perform encirclement testing, and the traffic loading cost will increase significantly.

3、随着核心网虚拟化进程的推进,越来越多的核心网网元从设备厂商专有硬件平台通过软硬件解耦或者三层解耦等方式迁移到X86通用平台。不同的业务层、虚拟层、硬件层之间配对方式非常灵活,传统的全包围测试无法满足虚拟化核心网对各层性能测试的需求。3. With the advancement of core network virtualization, more and more core network elements are migrated from equipment manufacturers' proprietary hardware platforms to X86 general-purpose platforms through software and hardware decoupling or three-layer decoupling. The pairing mode between different service layers, virtualization layers, and hardware layers is very flexible, and the traditional full-envelopment test cannot meet the requirements of the virtualized core network for performance testing of each layer.

4、研发运营一体化和灵活部署是虚拟化核心网的重要特点,性能测试作为系统部署之后的一个必要环节。传统的基于硬件的包围测试方法无法满足虚拟化核心网“部署即测试”的要求。4. Integration of R&D and operations and flexible deployment are important features of the virtualized core network, and performance testing is a necessary link after system deployment. Traditional hardware-based wrap-around testing methods cannot meet the "deployment-to-test" requirement of a virtualized core network.

发明内容Contents of the invention

本发明的目的在于提供一种核心网性能测试方法、装置及系统,解决现有技术中的核心网性能测试方案无法实现灵活的测试能力调度以及测试成本不断大幅增加的问题。The purpose of the present invention is to provide a core network performance testing method, device and system to solve the problems that the core network performance testing scheme in the prior art cannot realize flexible test capability scheduling and the test cost is constantly increasing significantly.

为了解决上述技术问题,本发明实施例提供一种核心网性能测试方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a core network performance testing method, including:

获取至少一个待测消息集合;Obtain at least one message set to be tested;

对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;Performing test configuration on the at least one message set to be tested respectively to obtain a test configuration result;

根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果。According to the at least one message set to be tested and the test configuration result, perform a core network performance test on the network element to be tested to obtain a test result.

可选的,所述获取至少一个待测消息集合,包括:Optionally, the acquiring at least one message set to be tested includes:

根据测试的业务量需求和组网的拓扑结构,获取至少一个待测消息集合。Obtain at least one message set to be tested according to the service volume requirement of the test and the topology structure of the networking.

可选的,所述根据测试的业务量需求和组网的拓扑结构,获取至少一个待测消息集合,包括:Optionally, the acquisition of at least one message set to be tested according to the traffic requirements of the test and the topology of the networking includes:

根据测试的业务量需求和组网的拓扑结构,得到至少一个负载压力数;Obtain at least one load pressure number according to the business volume requirements of the test and the topology of the network;

根据所述至少一个负载压力数,获取至少一个待测消息集合。Acquire at least one message set to be tested according to the at least one load pressure number.

可选的,所述对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果,包括:Optionally, performing test configuration on the at least one message set to be tested respectively to obtain a test configuration result includes:

为所述至少一个待测消息集合分别配置网协IP地址、端口号和/或发包速率,获得测试配置结果。Configure the network association IP address, port number and/or packet sending rate for the at least one message set to be tested, and obtain a test configuration result.

可选的,所述根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果,包括:Optionally, performing a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result, to obtain a test result, including:

根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试;Performing a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result;

若在测试过程中获取到至少一个所述待测消息集合的更新信息,则根据所述更新信息、所述至少一个待测消息集合和所述测试配置结果,对待测网元继续进行核心网性能测试,得到测试结果。If the update information of at least one message set to be tested is obtained during the test, continue to perform core network performance on the network element to be tested according to the update information, the at least one message set to be tested, and the test configuration result. Test and get test results.

可选的,所述测试结果包括:Optionally, the test results include:

每个待测消息集合中的待测消息的发送成功数量和/或发送成功比例。The number of successfully sent messages and/or the successful sent ratio of the messages to be tested in each message set to be tested.

本发明实施例还提供了一种核心网性能测试系统,包括:The embodiment of the present invention also provides a core network performance testing system, including:

消息层和与所述消息层通信的用户层;a message layer and a user layer communicating with said message layer;

其中,所述消息层,用于获取至少一个待测消息集合;对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;Wherein, the message layer is used to obtain at least one message set to be tested; perform test configuration on the at least one message set to be tested respectively, and obtain a test configuration result;

所述用户层,用于根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果。The user layer is configured to perform a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result, and obtain a test result.

可选的,所述消息层具体用于:Optionally, the message layer is specifically used for:

根据测试的业务量需求和组网的拓扑结构,获取至少一个待测消息集合。Obtain at least one message set to be tested according to the service volume requirement of the test and the topology structure of the networking.

可选的,所述消息层具体用于:Optionally, the message layer is specifically used for:

根据测试的业务量需求和组网的拓扑结构,得到至少一个负载压力数;Obtain at least one load pressure number according to the business volume requirements of the test and the topology of the network;

根据所述至少一个负载压力数,获取至少一个待测消息集合。Acquire at least one message set to be tested according to the at least one load pressure number.

可选的,所述消息层具体用于:Optionally, the message layer is specifically used for:

为所述至少一个待测消息集合分别配置网协IP地址、端口号和/或发包速率。The network association IP address, port number and/or packet sending rate are respectively configured for the at least one message set to be tested.

可选的,所述用户层具体用于:Optionally, the user layer is specifically used for:

根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试;Performing a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result;

若在测试过程中获取到至少一个所述待测消息集合的更新信息,则根据所述更新信息、所述至少一个待测消息集合和所述测试配置结果,对待测网元继续进行核心网性能测试,得到测试结果。If the update information of at least one message set to be tested is obtained during the test, continue to perform core network performance on the network element to be tested according to the update information, the at least one message set to be tested, and the test configuration result. Test and get test results.

可选的,所述测试结果包括:Optionally, the test results include:

每个待测消息集合中的待测消息的发送成功数量和/或发送成功比例。The number of successfully sent messages and/or the successful sent ratio of the messages to be tested in each message set to be tested.

可选的,还包括:Optionally, also include:

与所述消息层通信的虚拟层,以及与所述虚拟层通信的物理层;a virtualization layer in communication with the messaging layer, and a physical layer in communication with the virtualization layer;

其中,所述物理层,用于为核心网性能测试系统提供测试物理资源;Wherein, the physical layer is used to provide test physical resources for the core network performance test system;

所述虚拟层,用于将计算、存储的网络资源进行虚拟化,并将虚拟化后的网络资源集中在共享资源池中;The virtualization layer is used to virtualize computing and storage network resources, and concentrate the virtualized network resources in a shared resource pool;

所述消息层,通过调用所述共享资源池中的虚拟资源,以获取至少一个待测消息集合;对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果。The message layer acquires at least one message set to be tested by invoking virtual resources in the shared resource pool; and performs test configuration on the at least one message set to be tested to obtain a test configuration result.

可选的,所述消息层与网络功能虚拟化NFV框架中的虚拟网元直接对接。Optionally, the message layer is directly connected to a virtual network element in a network function virtualization NFV framework.

本发明实施例还提供了一种核心网络,所述核心网络具有网络功能虚拟化NFV框架,包括:上述的核心网性能测试系统。The embodiment of the present invention also provides a core network, the core network has a network function virtualization NFV framework, including: the above-mentioned core network performance testing system.

本发明实施例还提供了一种核心网性能测试装置,包括:The embodiment of the present invention also provides a core network performance testing device, including:

第一处理模块,用于获取至少一个待测消息集合;A first processing module, configured to acquire at least one message set to be tested;

第二处理模块,用于对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;The second processing module is configured to respectively perform test configuration on the at least one message set to be tested, and obtain a test configuration result;

第三处理模块,用于根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果。The third processing module is configured to perform a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result, and obtain a test result.

可选的,所述第一处理模块,包括:Optionally, the first processing module includes:

第一获取子模块,用于根据测试的业务量需求和组网的拓扑结构,获取至少一个待测消息集合。The first obtaining sub-module is used to obtain at least one message set to be tested according to the service volume requirement of the test and the topology structure of the networking.

可选的,所述第一获取子模块,包括:Optionally, the first acquisition submodule includes:

第一处理单元,用于根据测试的业务量需求和组网的拓扑结构,得到至少一个负载压力数;The first processing unit is configured to obtain at least one load pressure number according to the traffic demand of the test and the topology of the networking;

第一获取单元,用于根据所述至少一个负载压力数,获取至少一个待测消息集合。The first acquiring unit is configured to acquire at least one message set to be tested according to the at least one load pressure number.

可选的,第二处理模块,包括:Optionally, the second processing module includes:

第一配置子模块,用于为所述至少一个待测消息集合分别配置网协IP地址、端口号和/或发包速率,获得测试配置结果。The first configuration sub-module is configured to respectively configure the network association IP address, port number and/or packet sending rate for the at least one message set to be tested, and obtain a test configuration result.

可选的,所述第三处理模块,包括:Optionally, the third processing module includes:

第一处理子模块,用于根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试;The first processing submodule is configured to perform a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result;

第二处理子模块,用于若在测试过程中获取到至少一个所述待测消息集合的更新信息,则根据所述更新信息、所述至少一个待测消息集合和所述测试配置结果,对待测网元继续进行核心网性能测试,得到测试结果。The second processing submodule is configured to: if the update information of at least one message set to be tested is obtained during the test, according to the update information, the at least one message set to be tested and the test configuration result, treat The test network element continues to perform the core network performance test, and obtains the test result.

可选的,所述测试结果包括:Optionally, the test results include:

每个待测消息集合中的待测消息的发送成功数量和/或发送成功比例。The number of successfully sent messages and/or the successful sent ratio of the messages to be tested in each message set to be tested.

本发明实施例还提供了一种核心网性能测试系统,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述程序时实现上述的核心网性能测试方法。An embodiment of the present invention also provides a core network performance testing system, including a memory, a processor, and a computer program stored on the memory and operable on the processor; when the processor executes the program, the The above core network performance testing method.

本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的核心网性能测试方法中的步骤。An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the above core network performance testing method are implemented.

本发明的上述技术方案的有益效果如下:The beneficial effects of above-mentioned technical scheme of the present invention are as follows:

上述方案中,所述核心网性能测试方法通过获取至少一个待测消息集合;对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果;从而能够基于消息的压力加载方法实现针对特定的消息和特定的行为开展定向测试,实现灵活的测试能力调度;并且不再通过商用仪表模拟周边网元进行包围测试,大大降低了测试成本。In the above scheme, the core network performance testing method acquires at least one message set to be tested; performs test configuration on the at least one message set to be tested respectively to obtain a test configuration result; according to the at least one message set to be tested and the Based on the test configuration results described above, the core network performance test is performed on the network element to be tested, and the test results are obtained; thus, the directional test can be carried out for specific messages and specific behaviors based on the message-based pressure loading method, and flexible test capability scheduling can be realized; and no longer Surrounding tests are performed by simulating peripheral network elements through commercial instruments, which greatly reduces test costs.

附图说明Description of drawings

图1为现有技术中的核心网性能测试架构示意图;FIG. 1 is a schematic diagram of a core network performance test architecture in the prior art;

图2为本发明实施例的核心网性能测试方法流程示意图;2 is a schematic flow chart of a core network performance testing method according to an embodiment of the present invention;

图3为本发明实施例的核心网性能测试系统结构示意图;3 is a schematic structural diagram of a core network performance testing system according to an embodiment of the present invention;

图4为本发明实施例的核心网性能测试系统具体应用架构示意图;4 is a schematic diagram of a specific application architecture of a core network performance testing system according to an embodiment of the present invention;

图5为本发明实施例的业务处理流程示意图;FIG. 5 is a schematic diagram of a business processing flow in an embodiment of the present invention;

图6为本发明实施例的消息层与NFV框架中的虚拟网元直接对接示意图;6 is a schematic diagram of direct connection between the message layer and the virtual network element in the NFV framework of the embodiment of the present invention;

图7为本发明实施例的核心网性能测试流程示意图;FIG. 7 is a schematic diagram of a core network performance testing process according to an embodiment of the present invention;

图8为本发明实施例的测试组网示意图;FIG. 8 is a schematic diagram of a test network according to an embodiment of the present invention;

图9为本发明实施例的消息组及负载压力示意图;FIG. 9 is a schematic diagram of a message group and a load pressure according to an embodiment of the present invention;

图10为本发明实施例的消息配置示意图;FIG. 10 is a schematic diagram of message configuration according to an embodiment of the present invention;

图11为本发明实施例的开始测试及动态加压示意图;Fig. 11 is a schematic diagram of the start test and dynamic pressurization of the embodiment of the present invention;

图12为本发明实施例的测试报告示意图;Fig. 12 is a schematic diagram of a test report of an embodiment of the present invention;

图13为本发明实施例的核心网性能测试装置结构示意图。FIG. 13 is a schematic structural diagram of a core network performance testing device according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

本发明针对现有的技术中的核心网性能测试方案无法实现灵活的测试能力调度以及测试成本不断大幅增加的问题,提供一种核心网性能测试方法,如图2所示,包括:The present invention aims at the problem that the core network performance test scheme in the existing technology cannot realize flexible test capability scheduling and the test cost increases continuously, and provides a core network performance test method, as shown in FIG. 2 , including:

步骤21:获取至少一个待测消息集合;Step 21: Obtain at least one message set to be tested;

步骤22:对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;Step 22: performing test configuration on the at least one message set to be tested respectively, and obtaining a test configuration result;

步骤23:根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果。Step 23: Perform a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result, and obtain a test result.

本发明实施例提供的所述核心网性能测试方法通过获取至少一个待测消息集合;对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果;从而能够基于消息的压力加载方法实现针对特定的消息和特定的行为开展定向测试,实现灵活的测试能力调度;并且不再通过商用仪表模拟周边网元进行包围测试,大大降低了测试成本。The core network performance testing method provided by the embodiment of the present invention acquires at least one message set to be tested; respectively performs test configuration on the at least one message set to be tested to obtain a test configuration result; according to the at least one message set to be tested and the test configuration result, performing a core network performance test on the network element to be tested to obtain a test result; thereby being able to implement a directional test for a specific message and a specific behavior based on a message-based pressure loading method, and realize flexible test capability scheduling; and Surrounding tests are no longer performed by simulating surrounding network elements through commercial instruments, which greatly reduces test costs.

其中,所述获取至少一个待测消息集合,包括:根据测试的业务量需求和组网的拓扑结构,获取至少一个待测消息集合。Wherein, said acquiring at least one message set to be tested includes: acquiring at least one message set to be tested according to the traffic requirement of the test and the topology of the networking.

具体的,所述根据测试的业务量需求和组网的拓扑结构,获取至少一个待测消息集合,包括:根据测试的业务量需求和组网的拓扑结构,得到至少一个负载压力数;根据所述至少一个负载压力数,获取至少一个待测消息集合。Specifically, said obtaining at least one message set to be tested according to the traffic requirements of the test and the topology of the networking includes: obtaining at least one load pressure number according to the traffic requirements of the test and the topology of the networking; The at least one load pressure number is used to obtain at least one message set to be tested.

可以是,根据一个负载压力数得到一个对应的待测消息集合,但并不以此为限。It may be that a corresponding message set to be tested is obtained according to a load pressure number, but it is not limited thereto.

本发明实施例中,所述对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果,包括:为所述至少一个待测消息集合分别配置网协IP地址、端口号和/或发包速率,获得测试配置结果。In the embodiment of the present invention, said performing test configuration on said at least one message set to be tested respectively to obtain the test configuration result includes: respectively configuring network association IP addresses, port numbers and/or Packet sending rate, get test configuration results.

具体的,所述根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果,包括:根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试;若在测试过程中获取到至少一个所述待测消息集合的更新信息,则根据所述更新信息、所述至少一个待测消息集合和所述测试配置结果,对待测网元继续进行核心网性能测试,得到测试结果。Specifically, performing the core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result to obtain the test result includes: according to the at least one message set to be tested and the test configuration result As a result of the configuration, perform a core network performance test on the network element to be tested; if the update information of at least one message set to be tested is obtained during the test, then according to the update information, the at least one message set to be tested, and the Test the configuration results, continue to perform the core network performance test on the network element to be tested, and obtain the test results.

这样能够实现动态加压。This enables dynamic pressurization.

本发明实施例中,所述测试结果可包括:每个待测消息集合中的待测消息的发送成功数量和/或发送成功比例,但并不以此为限。In the embodiment of the present invention, the test result may include: the number of successfully sent messages and/or the ratio of successfully sent messages in each message set to be tested, but it is not limited thereto.

本发明实施例还提供了一种核心网性能测试系统,如图3所示,包括:The embodiment of the present invention also provides a core network performance testing system, as shown in Figure 3, including:

消息层31和与所述消息层31通信的用户层32;a message layer 31 and a user layer 32 communicating with said message layer 31;

其中,所述消息层31,用于获取至少一个待测消息集合;对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;Wherein, the message layer 31 is configured to acquire at least one message set to be tested; perform test configuration on the at least one message set to be tested respectively, and obtain a test configuration result;

所述用户层32,用于根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果。The user layer 32 is configured to perform a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result, and obtain a test result.

本发明实施例提供的所述核心网性能测试系统通过获取至少一个待测消息集合;对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果;从而能够基于消息的压力加载方法实现针对特定的消息和特定的行为开展定向测试,实现灵活的测试能力调度;并且不再通过商用仪表模拟周边网元进行包围测试,大大降低了测试成本。The core network performance testing system provided by the embodiment of the present invention acquires at least one message set to be tested; performs test configuration on the at least one message set to be tested respectively to obtain a test configuration result; according to the at least one message set to be tested and the test configuration result, performing a core network performance test on the network element to be tested to obtain a test result; thereby being able to implement a directional test for a specific message and a specific behavior based on a message-based pressure loading method, and realize flexible test capability scheduling; and Surrounding tests are no longer performed by simulating surrounding network elements through commercial instruments, which greatly reduces test costs.

其中,所述消息层具体用于:根据测试的业务量需求和组网的拓扑结构,获取至少一个待测消息集合。Wherein, the message layer is specifically configured to: obtain at least one message set to be tested according to the service volume requirement of the test and the topology structure of the networking.

具体的,所述消息层具体用于:根据测试的业务量需求和组网的拓扑结构,得到至少一个负载压力数;根据所述至少一个负载压力数,获取至少一个待测消息集合。Specifically, the message layer is specifically configured to: obtain at least one load pressure number according to the test traffic requirement and the network topology; and obtain at least one message set to be tested according to the at least one load pressure number.

本发明实施例中,所述消息层具体用于:为所述至少一个待测消息集合分别配置网协IP地址、端口号和/或发包速率。In the embodiment of the present invention, the message layer is specifically configured to: respectively configure the network association IP address, port number and/or packet sending rate for the at least one message set to be tested.

具体的,所述用户层具体用于:根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试;若在测试过程中获取到至少一个所述待测消息集合的更新信息,则根据所述更新信息、所述至少一个待测消息集合和所述测试配置结果,对待测网元继续进行核心网性能测试,得到测试结果。Specifically, the user layer is specifically configured to: perform a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result; if at least one of the network elements to be tested is obtained during the test For the update information of the message set, according to the update information, the at least one message set to be tested and the test configuration result, the network element to be tested continues to perform the core network performance test to obtain the test result.

本发明实施例中,所述测试结果可包括:每个待测消息集合中的待测消息的发送成功数量和/或发送成功比例,但并不以此为限。In the embodiment of the present invention, the test result may include: the number of successfully sent messages and/or the ratio of successfully sent messages in each message set to be tested, but it is not limited thereto.

进一步的,所述核心网性能测试系统还包括:与所述消息层通信的虚拟层,以及与所述虚拟层通信的物理层;其中,所述物理层,用于为核心网性能测试系统提供测试物理资源;所述虚拟层,用于将计算、存储的网络资源进行虚拟化,并将虚拟化后的网络资源集中在共享资源池中;所述消息层,通过调用所述共享资源池中的虚拟资源,以获取至少一个待测消息集合;对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果。Further, the core network performance testing system also includes: a virtual layer communicating with the message layer, and a physical layer communicating with the virtual layer; wherein, the physical layer is used to provide the core network performance testing system with Test physical resources; the virtualization layer is used to virtualize computing and storage network resources, and concentrate the virtualized network resources in the shared resource pool; the message layer, by calling the shared resource pool virtual resources to obtain at least one message set to be tested; performing test configuration on the at least one message set to be tested to obtain a test configuration result.

其中,所述消息层可与网络功能虚拟化NFV框架中的虚拟网元直接对接,实现对虚拟网元的测试。Wherein, the message layer can be directly connected with the virtual network element in the network function virtualization NFV framework, so as to realize the test on the virtual network element.

其中,上述核心网性能测试方法的所述实现实施例均适用于该核心网性能测试系统的实施例中,也能达到相同的技术效果。Wherein, the implementation examples of the above-mentioned core network performance testing method are all applicable to the embodiments of the core network performance testing system, and can also achieve the same technical effect.

下面对本发明实施例提供的所述核心网性能测试系统进行进一步举例说明。The core network performance testing system provided by the embodiment of the present invention will be further described with examples below.

针对上述技术问题,本发明实施例提供了一种核心网性能测试系统,具体的,对应的基于消息的核心网测试系统架构可如图4所示,本系统分为四层,分别为物理层、虚拟层、消息层和用户层。In view of the above technical problems, the embodiment of the present invention provides a core network performance testing system, specifically, the corresponding message-based core network testing system architecture can be shown in Figure 4, the system is divided into four layers, respectively physical layer , virtual layer, message layer and user layer.

其中,物理层:物理层主要为整个测试系统提供测试物理资源,通用x86服务器的计算能力和存储能力是虚拟层的基础(物理层使用的是通用的x86服务器)。Among them, the physical layer: the physical layer mainly provides test physical resources for the entire test system, and the computing power and storage capacity of the general x86 server are the basis of the virtual layer (the physical layer uses a general x86 server).

虚拟层:通过hypervisor将计算,存储,网络资源进行虚拟化。将所有的虚拟资源集中在统一的共享资源池中,方便调度。Virtualization layer: Computing, storage, and network resources are virtualized through the hypervisor. Concentrate all virtual resources in a unified shared resource pool for easy scheduling.

消息层:消息层是本方案提出的基于消息的虚拟化核心网测试方案的主控逻辑层。消息层分为测试引擎、消息组控制和资源调度三个模块。Message layer: The message layer is the main control logic layer of the message-based virtualized core network test solution proposed in this solution. The message layer is divided into three modules: test engine, message group control and resource scheduling.

1.测试引擎:测试引擎主要为测试提供虚拟用户的管理及调度功能,分为负载控制和调度控制两部分。其中负载控制主要根据测试的需求控制虚拟用户的数量,加载的速度等。调度控制主要控制消息单元的运行状态,如运行,暂停,停止等。测试引擎与消息组之间松耦合,独立于处理的消息类型,具有通用性。1. Test engine: The test engine mainly provides virtual user management and scheduling functions for testing, and is divided into two parts: load control and scheduling control. Among them, the load control mainly controls the number of virtual users and the loading speed according to the requirements of the test. Scheduling control mainly controls the running state of the message unit, such as running, pausing, stopping, etc. The test engine is loosely coupled with the message group, independent of the type of message processed, and has universality.

2.消息组控制:消息组是所有消息的集合,用来模拟测试的完整业务流程,其中每一条消息具有独立性。消息组可仿真被测网元周边所有网元的业务流程及接口协议,实现全包围测试。消息组控制包括消息单元和消息配置两部分。2. Message group control: A message group is a collection of all messages used to simulate the complete business process of the test, and each message is independent. The message group can simulate the business processes and interface protocols of all network elements around the network element under test to realize full-envelopment testing. Message group control includes two parts: message unit and message configuration.

消息单元可以是用户根据测试需求自定义的一对收发消息或几对收发消息的组合,通常一个消息单元为某种业务处理流程的子集。以HSS网元VoLTE新注册流程为例,说明消息单元的定义,整体的业务流程如图5所示,正常的业务流程由四对消息组成:UAR(User-Authoriization-Request,用户鉴权请求)/UAA(User-Authoriization-Answer,用户鉴权响应)、MAR(Multimedia-Auth-Request,多媒体鉴权请求)/MAA(Multimedia-Auth-Answer,多媒体鉴权响应)、UAR/UAA、SAR(Server-Assignment-Request,服务器分配请求)/SAA(Server-Assignment-Answer,服务器分配响应)。现有商用仪表也是遵循该流程的。本方案将业务流程中的消息拆分成几个消息组来管理,如图5的流程中,将四对消息分别作为四个消息单元,分别控制他们的负荷。当一对消息出现异常,不影响其他消息收发,方便进行异常处理。当完整的业务流程包含的消息对较多时,用户可选择将多对消息作为一个消息单元,消息的拆分度可控。The message unit can be a pair of sending and receiving messages or a combination of several pairs of sending and receiving messages customized by the user according to the test requirements. Usually, a message unit is a subset of a certain business process. Taking the new registration process of HSS network element VoLTE as an example, the definition of the message unit is explained. The overall business process is shown in Figure 5. The normal business process consists of four pairs of messages: UAR (User-Authoriization-Request, user authentication request) /UAA(User-Authoriization-Answer, User Authentication Response), MAR(Multimedia-Auth-Request, Multimedia Authentication Request)/MAA(Multimedia-Auth-Answer, Multimedia Authentication Response), UAR/UAA, SAR(Server -Assignment-Request, Server Assignment Request)/SAA (Server-Assignment-Answer, Server Assignment Response). Existing commercial meters also follow this process. This solution splits the messages in the business process into several message groups for management. In the process shown in Figure 5, four pairs of messages are used as four message units, and their loads are controlled respectively. When a pair of messages is abnormal, it does not affect the sending and receiving of other messages, which is convenient for exception handling. When a complete business process contains many message pairs, the user can choose to use multiple pairs of messages as a message unit, and the degree of message splitting is controllable.

消息配置包括静态配置和动态库两部分,其中静态配置在测试过程中无需修改,如IP地址,端口号等等。动态库主要实现消息单元与测试引擎的对接功能,包括获取发送内容、封装请求、发送请求,接收响应、处理响应等。测试引擎能过通过动态库来实现消息的加载与调度。Message configuration includes static configuration and dynamic library. The static configuration does not need to be modified during the test, such as IP address, port number and so on. The dynamic library mainly implements the docking function between the message unit and the test engine, including obtaining the sending content, encapsulating the request, sending the request, receiving the response, processing the response, etc. The test engine can realize the loading and dispatching of messages through the dynamic library.

3.资源调控:资源调控主要用于监控资源的使用情况,实现资源的调度。3. Resource regulation: Resource regulation is mainly used to monitor resource usage and realize resource scheduling.

用户层:用户层主要为用户提供测试的操作界面,用户可进行测试用例的制定,流程控制,监控测试过程,生成测试报告等操作。User layer: The user layer mainly provides users with a test operation interface, and users can perform operations such as formulating test cases, process control, monitoring the test process, and generating test reports.

本方案提出的基于消息的核心网测试架构与NFV核心网架构具有较高的一致性,测试系统的消息层可直接与NFV中的虚拟网元对接(如图6所示),实现对虚拟网元的测试;还可将测试工具(本系统)直接集成到具有NFV框架的核心网络中,通过MANO直接调用测试工具,实现“部署即测试”(Mano并不是本系统的一部分,而是NFV架构中的一部分,实现网元的编排与调度功能。这里指本系统的消息层可直接和NFV架构中的虚拟化网络功能层对接,提供MANO可调用的接口,MANO即可直接调度本系统)。The message-based core network test architecture proposed in this solution is highly consistent with the NFV core network architecture. The message layer of the test system can be directly connected to the virtual network elements in NFV (as shown in Figure 6). It can also directly integrate the test tool (this system) into the core network with the NFV framework, and directly call the test tool through MANO to realize "deployment is testing" (Mano is not a part of the system, but the NFV architecture Part of it realizes the orchestration and scheduling functions of network elements. Here it means that the message layer of this system can directly connect with the virtualized network function layer in the NFV architecture, and provide an interface that MANO can call, and MANO can directly schedule this system).

图6中EMS表示网元管理系统,VNF表示虚拟的网络功能,OSS表示运营支持系统,BSS表示业务支撑系统。In Figure 6, EMS represents the network element management system, VNF represents the virtual network function, OSS represents the operation support system, and BSS represents the business support system.

具体的,本系统的测试流程可如图7所示,包括:Specifically, the testing process of this system can be shown in Figure 7, including:

步骤71:根据测试的业务量需求以及组网的拓扑结构核算每一消息单元的负载压力数。其中,测试组网图可如图8所示,消息组及负载压力可如图9所示。Step 71: Calculating the load pressure of each message unit according to the test traffic requirement and the topology of the networking. Wherein, the test network diagram may be shown in FIG. 8 , and the message group and load pressure may be shown in FIG. 9 .

图8中MSC Server表示移动交换中心服务器,HLR表示归属位置寄存器,HSS表示归属用户服务器,MME表示移动性实体管理,SGSN表示服务GPRS支持节点,BOSS表示业务运营支撑系统,TAS表示通信应用服务器,I-CSCF表示询问呼叫会话控制功能,S-CSCF表示服务呼叫会话控制功能。In Figure 8, MSC Server represents the Mobile Switching Center Server, HLR represents the Home Location Register, HSS represents the Home Subscriber Server, MME represents the Mobility Entity Management, SGSN represents the Serving GPRS Support Node, BOSS represents the Business Operation Support System, and TAS represents the Communication Application Server, I-CSCF stands for Interrogating Call Session Control Function, and S-CSCF stands for Serving Call Session Control Function.

图9中CAPS表示每秒建立呼叫数量。In Fig. 9, CAPS represents the number of established calls per second.

步骤72:对消息组进行配置,包括IP、端口号、发包速率等参数,可如图10所示。Step 72: Configure the message group, including parameters such as IP, port number, and packet sending rate, as shown in FIG. 10 .

图10中DNS表示域名系统,IP表示网络协议,Value表示值,virip表示测试结果自定义的变量名称-虚拟ip。In Figure 10, DNS represents the domain name system, IP represents the network protocol, Value represents the value, and virip represents the variable name—virtual ip—customized by the test result.

步骤73:通过测试引擎对各个消息单元进行负载设置。Step 73: Perform load setting for each message unit through the test engine.

步骤74:开始测试,实时监控测试指标,可如图11所示(开始测试,还可动态加压)。Step 74: Start the test and monitor the test indicators in real time, as shown in Figure 11 (the test can also be dynamically pressurized).

具体可为,用户层调度消息层、虚拟层和物理层协同执行测试。Specifically, the user layer schedules the message layer, the virtual layer, and the physical layer to execute the test cooperatively.

图11中EPC表示核心分组网演进,VOBB表示宽带语音。In Figure 11, EPC represents the core packet network evolution, and VOBB represents broadband voice.

步骤75:结束测试,获取报告(可如图12所示),问题分析(核心网性能分析)。Step 75: End the test, obtain a report (as shown in FIG. 12 ), and analyze problems (core network performance analysis).

具体可为,用户层调度消息层、虚拟层和物理层协同执行。Specifically, the user layer schedules the message layer, the virtual layer, and the physical layer for coordinated execution.

图12中包含参数测试能力Testing Capability,测试开始时间Test Start Time,测试结束时间Test End Time,以及测试持续时间Test Duration;其中,IP-TRAFFIC-DNS表示网络协议-流量-域名系统。Figure 12 includes parameter testing capability Testing Capability, test start time Test Start Time, test end time Test End Time, and test duration Test Duration; where, IP-TRAFFIC-DNS means network protocol-traffic-domain name system.

由上可知,本发明实施例提供了一种基于消息的核心网测试负荷加载方法,摒弃了传统的基于业务模型和用户行为的测试方案,将测试需要的业务模型拆解成基于接口的独立消息单元,然后将消息组合、控制从而进行测试。本测试系统可部署在通用X86平台上,摆脱传统仪表对软硬件的限制,满足虚拟化核心网的测试需求。It can be seen from the above that the embodiment of the present invention provides a message-based core network test load loading method, which abandons the traditional test scheme based on business models and user behaviors, and disassembles the business models required for testing into independent messages based on interfaces. unit, then combine messages, control them and test them. This test system can be deployed on a general-purpose X86 platform, get rid of the limitations of traditional instruments on software and hardware, and meet the test requirements of the virtualized core network.

其中,本系统:1)设置与NFV架构相同的四层结构,可将测试系统的消息层与NFV中的虚拟网元直接对接,对虚拟网元进行测试;2)在消息层进行负载压力核算,并利用消息组仿真被测网元周边所有网元的业务流程及接口协议,可实现全包围测试。Among them, this system: 1) sets the same four-layer structure as the NFV architecture, and can directly connect the message layer of the test system with the virtual network element in NFV to test the virtual network element; 2) perform load pressure calculation on the message layer , and use the message group to simulate the business process and interface protocol of all network elements around the network element under test, so as to realize the full-envelopment test.

综上,本发明实施例提供的关于核心网网元性能测试的架构以及基于消息单元的负载加压方法可以实现灵活的测试能力调度,负载加压能力也大幅度增加;而基于通用X86服务器的部署方式也可以满足虚拟化核心网网元“部署即测试”的要求,从而真正实现测试能力虚拟化的目标。To sum up, the framework for performance testing of core network elements and the load pressurization method based on message units provided by the embodiments of the present invention can realize flexible test capacity scheduling, and the load pressurization capability has also been greatly increased; while the general-purpose X86 server-based The deployment method can also meet the requirement of "deployment is testing" of virtualized core network elements, so as to truly realize the goal of virtualization of test capabilities.

本发明实施例还提供了一种核心网络,所述核心网络具有网络功能虚拟化NFV框架,包括:上述的核心网性能测试系统。The embodiment of the present invention also provides a core network, the core network has a network function virtualization NFV framework, including: the above-mentioned core network performance testing system.

其中,上述核心网性能测试系统的所述实现实施例均适用于该核心网络的实施例中,也能达到相同的技术效果。Wherein, the implementation examples of the above-mentioned core network performance testing system are all applicable to the embodiments of the core network, and can also achieve the same technical effect.

本发明实施例还提供了一种核心网性能测试装置,如图13所示,包括:The embodiment of the present invention also provides a core network performance testing device, as shown in Figure 13, including:

第一处理模块131,用于获取至少一个待测消息集合;The first processing module 131 is configured to acquire at least one message set to be tested;

第二处理模块132,用于对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;The second processing module 132 is configured to respectively perform test configuration on the at least one message set to be tested, and obtain a test configuration result;

第三处理模块133,用于根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果。The third processing module 133 is configured to perform a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result, and obtain a test result.

本发明实施例提供的所述核心网性能测试装置通过获取至少一个待测消息集合;对所述至少一个待测消息集合分别进行测试配置,获得测试配置结果;根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试,得到测试结果;从而能够基于消息的压力加载方法实现针对特定的消息和特定的行为开展定向测试,实现灵活的测试能力调度;并且不再通过商用仪表模拟周边网元进行包围测试,大大降低了测试成本。The core network performance testing device provided in the embodiment of the present invention acquires at least one message set to be tested; performs test configuration on the at least one message set to be tested respectively to obtain a test configuration result; according to the at least one message set to be tested and the test configuration result, performing a core network performance test on the network element to be tested to obtain a test result; thereby being able to implement a directional test for a specific message and a specific behavior based on a message-based pressure loading method, and realize flexible test capability scheduling; and Surrounding tests are no longer performed by simulating surrounding network elements through commercial instruments, which greatly reduces test costs.

其中,所述第一处理模块,包括:第一获取子模块,用于根据测试的业务量需求和组网的拓扑结构,获取至少一个待测消息集合。Wherein, the first processing module includes: a first obtaining sub-module, configured to obtain at least one message set to be tested according to the traffic demand of the test and the topology of the networking.

具体的,所述第一获取子模块,包括:第一处理单元,用于根据测试的业务量需求和组网的拓扑结构,得到至少一个负载压力数;第一获取单元,用于根据所述至少一个负载压力数,获取至少一个待测消息集合。Specifically, the first acquisition submodule includes: a first processing unit, configured to obtain at least one load pressure number according to the traffic demand of the test and the topology of the networking; a first acquisition unit, configured to obtain at least one load pressure number according to the At least one load pressure number to obtain at least one message set to be tested.

本发明实施例中,第二处理模块,包括:第一配置子模块,用于为所述至少一个待测消息集合分别配置网协IP地址、端口号和/或发包速率,获得测试配置结果。In the embodiment of the present invention, the second processing module includes: a first configuration submodule, configured to respectively configure the network association IP address, port number and/or packet sending rate for the at least one message set to be tested, and obtain the test configuration result.

具体的,所述第三处理模块,包括:第一处理子模块,用于根据所述至少一个待测消息集合和所述测试配置结果,对待测网元进行核心网性能测试;第二处理子模块,用于若在测试过程中获取到至少一个所述待测消息集合的更新信息,则根据所述更新信息、所述至少一个待测消息集合和所述测试配置结果,对待测网元继续进行核心网性能测试,得到测试结果。Specifically, the third processing module includes: a first processing submodule, configured to perform a core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result; the second processing submodule A module, configured to, if the update information of at least one message set to be tested is obtained during the test, proceed to the network element to be tested according to the update information, the at least one message set to be tested, and the test configuration result Conduct core network performance tests and obtain test results.

本发明实施例中,所述测试结果可包括:每个待测消息集合中的待测消息的发送成功数量和/或发送成功比例。In the embodiment of the present invention, the test result may include: the number of successfully sent messages and/or the ratio of successfully sent messages in each message set to be tested.

其中,上述核心网性能测试方法的所述实现实施例均适用于该核心网性能测试装置的实施例中,也能达到相同的技术效果。Wherein, the implementation examples of the above-mentioned core network performance testing method are all applicable to the embodiments of the core network performance testing device, and can also achieve the same technical effect.

本发明实施例还提供了一种核心网性能测试系统,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述程序时实现上述的核心网性能测试方法。An embodiment of the present invention also provides a core network performance testing system, including a memory, a processor, and a computer program stored on the memory and operable on the processor; when the processor executes the program, the The above core network performance testing method.

其中,上述核心网性能测试方法的所述实现实施例均适用于该核心网性能测试系统的实施例中,也能达到相同的技术效果。Wherein, the implementation examples of the above-mentioned core network performance testing method are all applicable to the embodiments of the core network performance testing system, and can also achieve the same technical effect.

本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的核心网性能测试方法中的步骤。An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the above core network performance testing method are implemented.

其中,上述核心网性能测试方法的所述实现实施例均适用于该计算机可读存储介质的实施例中,也能达到相同的技术效果。Wherein, the above implementation examples of the core network performance testing method are all applicable to the examples of the computer-readable storage medium, and can also achieve the same technical effect.

需要说明的是,此说明书中所描述的许多功能部件都被称为模块/子模块/单元,以便更加特别地强调其实现方式的独立性。It should be noted that many functional components described in this specification are referred to as modules/submodules/units, in order to more particularly emphasize the independence of their implementation.

本发明实施例中,模块/子模块/单元可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位里上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。In the embodiments of the present invention, the modules/submodules/units may be implemented by software so as to be executed by various types of processors. An identified module of executable code may, by way of example, comprise one or more physical or logical blocks of computer instructions which may, for example, be structured as an object, procedure, or function. Notwithstanding, the executable code of an identified module need not be physically located together, but may include distinct instructions stored in different bits which, when logically combined, constitute the module and implement the specified Purpose.

实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs and across multiple memory devices. Likewise, operational data may be identified within modules, and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed in different locations (including on different storage devices), and may exist, at least in part, only as electronic signals on a system or network.

在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所以可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成(VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。When the module can be realized by software, considering the level of the existing hardware technology, the module that can be realized by software, regardless of the cost, those skilled in the art can build the corresponding hardware circuit to realize the corresponding function. The hardware circuit includes conventional very large scale integration (VLSI) circuits or gate arrays as well as existing semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.

以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述原理前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。What has been described above is a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications can also be made without departing from the principle of the present invention. These improvements and modifications should also be considered as Be the protection scope of the present invention.

Claims (23)

1. A method for testing performance of a core network is characterized by comprising the following steps:
acquiring at least one message set to be tested, wherein each message set to be tested in the at least one message set to be tested is a subset of a business processing flow, and the subset of the business processing flow is obtained by splitting messages in the business processing flow;
respectively carrying out test configuration on the at least one message set to be tested to obtain a test configuration result;
and performing core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result to obtain a test result.
2. The method according to claim 1, wherein the obtaining at least one set of messages to be tested comprises:
and acquiring at least one message set to be tested according to the tested traffic demand and the networking topological structure.
3. The method for testing the performance of the core network according to claim 2, wherein the obtaining of at least one message set to be tested according to the tested traffic demand and the networking topology comprises:
obtaining at least one load pressure number according to the tested traffic demand and the networking topological structure;
and acquiring at least one message set to be tested according to the at least one load pressure number.
4. The method according to claim 1, wherein the performing test configuration on the at least one message set to be tested respectively to obtain a test configuration result comprises:
and respectively configuring a network protocol IP address, a port number and/or a packet sending rate for the at least one message set to be tested to obtain a test configuration result.
5. The method according to claim 1, wherein the performing, according to the at least one message set to be tested and the test configuration result, a core network performance test on a network element to be tested to obtain a test result comprises:
performing core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result;
and if the update information of at least one message set to be tested is acquired in the test process, continuously performing core network performance test on the network element to be tested according to the update information, the at least one message set to be tested and the test configuration result to obtain a test result.
6. The core network performance testing method of claim 1, wherein the test result comprises:
and the sending success quantity and/or the sending success ratio of the messages to be tested in each message set to be tested.
7. A core network performance testing system, comprising:
a message layer and a user layer in communication with the message layer;
the message layer is used for acquiring at least one message set to be tested; respectively carrying out test configuration on the at least one message set to be tested to obtain a test configuration result, wherein each message set to be tested in the at least one message set to be tested is a subset of a business processing flow, and the subset of the business processing flow is obtained by splitting messages in the business processing flow;
and the user layer is used for performing core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result to obtain a test result.
8. The core network performance testing system of claim 7, wherein the message layer is specifically configured to:
and acquiring at least one message set to be tested according to the tested traffic demand and the networking topological structure.
9. The core network performance testing system of claim 8, wherein the message layer is specifically configured to:
obtaining at least one load pressure number according to the tested traffic demand and the networking topological structure;
and acquiring at least one message set to be tested according to the at least one load pressure number.
10. The core network performance testing system of claim 7, wherein the message layer is specifically configured to:
and respectively configuring a network protocol IP address, a port number and/or a packet sending rate for the at least one message set to be tested.
11. The core network performance testing system of claim 7, wherein the user layer is specifically configured to:
performing core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result;
and if the updating information of at least one message set to be tested is acquired in the testing process, continuing the performance test of the core network on the network element to be tested according to the updating information, the at least one message set to be tested and the test configuration result to obtain a test result.
12. The core network performance testing system of claim 7, wherein the test results comprise:
the sending success quantity and/or the sending success ratio of the messages to be tested in each message set to be tested.
13. The core network performance testing system of any of claims 7-12, further comprising:
a virtual layer in communication with the message layer, and a physical layer in communication with the virtual layer;
the physical layer is used for providing test physical resources for a core network performance test system;
the virtual layer is used for virtualizing the calculated and stored network resources and centralizing the virtualized network resources in a shared resource pool;
the message layer acquires at least one message set to be tested by calling virtual resources in the shared resource pool; and respectively carrying out test configuration on the at least one message set to be tested to obtain a test configuration result.
14. The core network performance testing system of claim 13, wherein the message layer interfaces directly with virtual network elements in a network functions virtualization, NFV, framework.
15. A core network having a network function virtualization, NFV, framework, comprising: a core network performance test system as claimed in any one of claims 7 to 14.
16. A core network performance testing apparatus, comprising:
the system comprises a first processing module, a second processing module and a third processing module, wherein the first processing module is used for acquiring at least one message set to be tested, each message set to be tested in the at least one message set to be tested is a subset of a business processing flow, and the subset of the business processing flow is obtained by splitting messages in the business processing flow;
the second processing module is used for respectively carrying out test configuration on the at least one message set to be tested to obtain a test configuration result;
and the third processing module is used for performing core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result to obtain a test result.
17. The core network performance testing apparatus of claim 16, wherein the first processing module comprises:
and the first acquisition submodule is used for acquiring at least one message set to be tested according to the tested traffic demand and the networking topological structure.
18. The core network performance testing apparatus of claim 17, wherein the first obtaining sub-module comprises:
the first processing unit is used for obtaining at least one load pressure number according to the tested traffic demand and the networking topological structure;
and the first acquisition unit is used for acquiring at least one message set to be tested according to the at least one load pressure number.
19. The core network performance testing apparatus of claim 16, wherein the second processing module comprises:
and the first configuration submodule is used for respectively configuring a network protocol IP address, a port number and/or a packet sending rate for the at least one message set to be tested to obtain a test configuration result.
20. The core network performance testing apparatus of claim 16, wherein the third processing module comprises:
the first processing submodule is used for carrying out core network performance test on the network element to be tested according to the at least one message set to be tested and the test configuration result;
and the second processing submodule is used for continuously carrying out the core network performance test on the network element to be tested according to the update information, the at least one message set to be tested and the test configuration result to obtain a test result if the update information of the at least one message set to be tested is obtained in the test process.
21. The core network performance testing apparatus of claim 16, wherein the test result comprises:
and the sending success quantity and/or the sending success ratio of the messages to be tested in each message set to be tested.
22. A core network performance testing system comprising a memory, a processor and a computer program stored on the memory and executable on the processor; a core network performance testing method according to any one of claims 1 to 6, when the processor executes the program.
23. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps in the core network performance testing method according to any one of claims 1 to 6.
CN201910000937.1A 2019-01-02 2019-01-02 A core network performance testing method, device and system Active CN111404763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910000937.1A CN111404763B (en) 2019-01-02 2019-01-02 A core network performance testing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910000937.1A CN111404763B (en) 2019-01-02 2019-01-02 A core network performance testing method, device and system

Publications (2)

Publication Number Publication Date
CN111404763A CN111404763A (en) 2020-07-10
CN111404763B true CN111404763B (en) 2022-11-08

Family

ID=71432003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910000937.1A Active CN111404763B (en) 2019-01-02 2019-01-02 A core network performance testing method, device and system

Country Status (1)

Country Link
CN (1) CN111404763B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412949A (en) * 2021-05-26 2022-11-29 中国移动通信集团浙江有限公司 Graphical 5GC fault dial testing method and device capable of being programmed and computing equipment
CN113365300A (en) * 2021-07-28 2021-09-07 北京恒安嘉新安全技术有限公司 Simulation system of mobile network and service test method of mobile network
CN116170828A (en) * 2023-04-18 2023-05-26 北京博上网络科技有限公司 5G core network testing method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740342A (en) * 2012-06-08 2012-10-17 大唐移动通信设备有限公司 Network management equipment performance simulation test method and system
CN106789432A (en) * 2016-12-28 2017-05-31 中软信息系统工程有限公司 Test system based on autonomous controllable cloud platform technology

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821211B (en) * 2011-06-10 2017-04-19 中兴通讯股份有限公司 Automatic testing method and device for communication network elements
WO2015031512A1 (en) * 2013-08-27 2015-03-05 Huawei Technologies Co., Ltd. System and method for mobile network function virtualization
CN104135735A (en) * 2014-08-25 2014-11-05 宁波普天通信技术有限公司 Automatic testing method, device and system for LTE core network
CN104601412B (en) * 2015-02-12 2018-01-26 中国工商银行股份有限公司 A kind of independent test network system and its method for building up
CN104852912B (en) * 2015-04-29 2018-07-06 中国互联网络信息中心 Domain name registration service device Performance Test System and method
CN107749807B (en) * 2017-10-31 2020-07-28 江苏省未来网络创新研究院 Network function verification method and verification system for NFV
CN108011846B (en) * 2017-11-03 2022-07-26 华为技术有限公司 Method and device for managing services in network function virtualization architecture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740342A (en) * 2012-06-08 2012-10-17 大唐移动通信设备有限公司 Network management equipment performance simulation test method and system
CN106789432A (en) * 2016-12-28 2017-05-31 中软信息系统工程有限公司 Test system based on autonomous controllable cloud platform technology

Also Published As

Publication number Publication date
CN111404763A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN104579822B (en) Mobile application automated performance testing system and method based on Http agreements
CN111404763B (en) A core network performance testing method, device and system
US8996920B2 (en) Finite state machine method for test case generation and execution of communication protocols
CN103248535B (en) A kind of cloud system method of testing and device
US11032126B2 (en) Diagnostic traffic generation for automatic testing and troubleshooting
US10846128B2 (en) Managing the graceful termination of a virtualized network function instance
CN108256118B (en) Data processing method, device, system, computing equipment and storage medium
CN102355688A (en) Equipment testing system and method
WO2017113848A1 (en) Testing method, testing platform and simulated testing device for test case
CN115914042A (en) Methods, systems, and computer readable media for network traffic generation using machine learning
CN104125281A (en) Method and device for recording examination and approval state of resource application in cloud data centre
CN107992386A (en) A kind of router memory method for testing pressure and system
CN101207525B (en) System and apparatus for testing wireless network controller signaling processing module
CN105245379A (en) Method and device for testing network management system through simulating SNMP (simple network management protocol) network element
CN101969442A (en) Process running environment perception and migration based network analog framework implementation method
CN112527453B (en) Virtualization information simulation system, method and computer-readable storage medium
CN112506768B (en) Test method, test device, electronic equipment and storage medium
CN113409048B (en) Block chain docking platform monitoring method, block chain docking platform and electronic device
CN114339799B (en) Dual-card terminal test system and method and electronic equipment
CN111221687B (en) Cloud storage testing system and method
CN113760707B (en) Interface testing method, device, equipment and computer-readable storage medium
CN112242910B (en) Network element fault location method, device, computing equipment and computer storage medium
CN110895507B (en) Simulation test method and device, simulation server and storage medium
WO2023182983A1 (en) "real feel" autonomous network test solution system, method, device, and program
US20240251263A1 (en) Testing in 5g sa 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
GR01 Patent grant
GR01 Patent grant