Method for automatically testing network element, test center, test network element, and storage medium

By deploying test service instances in mobile core network elements to form test network elements, and using its own network resources to conduct automatic testing, it solves the problems of complexity and long cycle of network element test configuration in the 5G network, and achieves flexibility and efficiency. promote.

WO2024187877A1PCT designated stage expired Publication Date: 2024-09-19ZTE CORP

Patent Information

Application Number
PCT/CN2023/139815
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-13
Filing Date
2023-12-19
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

When facing the 5G network, the existing network element testing technology has many and complex interfaces, which results in a heavy workload of point-to-point rigid connection configuration and a long deployment cycle, and cannot adapt to the rapid development of the 5G network.

Method used

By deploying test service instances in mobile core network elements, a test network element is formed, and its own network carrying resources are used for testing, thereby reducing the special configuration of the interface and protocol stack of the tested network element and realizing automatic testing.

Benefits of technology

It greatly reduces the workload and deployment cycle of network element testing, improves the flexibility and openness of testing, and adapts to the rapid development needs of 5G networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023139815_19092024_PF_FP_ABST
    Figure CN2023139815_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A method for automatically testing a network element, a test center, a test network element, and a storage medium. The method comprises: the test center obtaining a test task set of a target test network element, the target test network element being a test network element for testing a target tested network element, and the test network element being a mobile core network element on which a test service instance is deployed; sending the test task set to the target test network element; the target test network element receiving the test task set sent by the test center; and controlling the test service instance to test the target tested network element according to the test task set.
Need to check novelty before this filing date? Find Prior Art

Description

Method for automatically testing network elements, test center, test network elements, and storage medium

[0001] Cross-references

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on March 13, 2023, with application number 202310273971.2 and titled “Method, test center, test network element and storage medium for automatic testing of network elements”. The entire contents of that application are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of network element testing technology, and in particular to a method for automatically testing network elements, a test center, a test network element, and a storage medium. Background Art

[0004] Compared to traditional networks like 4G, the 5G core network has undergone a complete restructuring. Existing network element testing technologies for the massive scale of 5G networks present the following challenges: Selecting a network element for testing requires connecting specialized automated test equipment to the tested element's various interface networks and protocol stacks. This rigid, point-to-point connection results in a heavy workload and a long deployment cycle, making it unsuitable for the rapid development of 5G networks.

[0005] Summary of the Invention

[0006] Based on this, embodiments of the present application provide a method for automatically testing network elements, a test center, a test network element, and a storage medium.

[0007] In a first aspect, the present application provides a method for automatically testing network elements, which is applied to a test center. The method includes: obtaining a test task set of a target test network element, where the target test network element is a test network element that tests a target network element under test, and the test network element is a mobile core network element deployed with a test service instance; sending the test task set to the target test network element, so that the test service instance of the target test network element tests the target network element under test according to the test task set.

[0008] In the second aspect, the present application provides a method for automatically testing network elements, which is applied to a target test network element, wherein the target test network element is a test network element that tests a target network element under test, and the test network element is a mobile core network element deployed with a test service instance. The method includes: receiving a test task set sent by a test center; controlling the test service instance to test the target network element under test according to the test task set.

[0009] In a third aspect, the present application provides a test center, which includes a communication circuit, a memory, and a processor, wherein the communication circuit is used for communication; the memory is used to store a computer program; and the processor is used to execute the computer program and implement the method of automatically testing network elements as described in the first aspect above when executing the computer program.

[0010] In a fourth aspect, the present application provides a test network element, which is a mobile core network element deployed with a test service instance, and the test network element includes a communication circuit, a memory, and a processor, wherein the communication circuit is used for communication; the memory is used to store a computer program; and the processor is used to execute the computer program and implement the method of automatically testing the network element as described in the second aspect above when executing the computer program.

[0011] In a fifth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to implement the method for automatically testing network elements as described in the first or second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] FIG1 is a schematic diagram of an application environment of an embodiment of a method for automatically testing network elements of the present application;

[0013] FIG2 is a schematic diagram of a deployment method of a test network element in an embodiment of the method for automatically testing a network element in the present application;

[0014] 3 to 5 are flowcharts of three embodiments of the method for automatically testing network elements of the present application;

[0015] FIG6 is a flow chart of another embodiment of a method for automatically testing a network element according to the present application;

[0016] FIG7 is a flow chart of another embodiment of a method for automatically testing a network element according to the present invention;

[0017] FIG8 is a flow chart of another embodiment of a method for automatically testing a network element according to the present invention;

[0018] FIG9 is a flow chart of another embodiment of a method for automatically testing a network element according to the present application;

[0019] FIG10 is a flow chart of another embodiment of a method for automatically testing a network element according to the present application;

[0020] FIG11 is a flow chart of another embodiment of a method for automatically testing a network element according to the present application;

[0021] FIG12 is a flow chart of another embodiment of a method for automatically testing a network element according to the present application;

[0022] FIG13 is a flow chart of another embodiment of a method for automatically testing a network element according to the present application;

[0023] FIG14 is a flow chart of another embodiment of a method for automatically testing a network element according to the present application;

[0024] FIG15 is a flow chart of another embodiment of a method for automatically testing a network element according to the present application;

[0025] FIG16 is a flow chart of another embodiment of a method for automatically testing a network element according to the present application;

[0026] FIG17 is a schematic diagram of an embodiment of a scenario model in a method for automatically testing a network element of the present application;

[0027] FIG18 is a schematic structural diagram of an embodiment of a test center of the present application;

[0028] FIG19 is a schematic structural diagram of an embodiment of a test network element of the present application. DETAILED DESCRIPTION

[0029] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0030] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined, or partially merged, so the actual execution order may vary depending on the actual situation.

[0031] In the subsequent description, suffixes such as "module," "component," or "unit" used to represent elements are used only to facilitate the description of the present application and have no specific meaning. Therefore, "module," "component," or "unit" may be used interchangeably.

[0032] Before introducing the embodiments of the present application in detail, the technical contents related to the present application are first introduced.

[0033] Compared with traditional networks such as 4G, the 5G core network has been reconstructed. It not only adopts the virtualized NFV (Network Function Virtualization) architecture, but also redefines the network entity in the form of NF (Network Function). Each NF provides functions to the outside world as an independent function (service) and implements service-based HTTP2 interface calls, thus realizing the transformation from the traditional rigid network (fixed hardware of network elements, fixed functions of network elements, fixed connections between network elements, etc.) to a service-based flexible network, enabling the core network to enjoy many cloud-based features, convenient service deployment and intelligent operation and maintenance.

[0034] Table 1 shows the 5G network architecture interfaces in the TS 23.501 protocol published by the 3GPP organization. While there are many pure 5G interfaces, a large number of mobile phones are still in 4G mode. Typically, the 5G core network also supports 4G access, overlaying interfaces from 2G, 3G, and 4G core networks. In existing network deployments, the scale and overall complexity of the 5G core network exceed any mobile core network in history. Managing this massive network and ensuring serviceability requires more agile automated testing technologies.

[0035] Table 1 List of 5GC interface names

[0036] For the large-scale 5G network, the existing network element testing technology has the following problems: when a network element is selected for testing, it is necessary to connect the dedicated automated test equipment with the various interface networks and protocol stacks of the network element under test; because the core network interfaces that integrate 2G, 3G, 4G and 5G access are very numerous, involving network bearer, cloud platform, service configuration, etc., this rigid point-to-point connection leads to a large workload and time-consuming docking configuration, and a long deployment cycle, which cannot adapt to the rapid development of 5G networks.

[0037] The embodiment of the present application provides a method for automatically testing network elements, a test center, a test network element and a storage medium. Since the test service instance that performs network element testing is deployed in the mobile core network element to become a test network element, the test network element is not independent of the network element under test. The test network element itself is also a mobile core network element and can share the network carrying resources of the mobile core network element. When the test service instance of the test network element tests the network element under test according to the test task set provided by the test center, it can fully utilize its own network carrying resources without the need to specifically open up various interfaces and protocol stacks with the network element under test. Therefore, the workload and deployment cycle of network element testing can be greatly reduced, and the flexibility and openness of network element testing can be improved.

[0038] The following describes some embodiments of the present application in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.

[0039] First, the application environment of the method of the embodiment of the present application and the deployment method of the test network element of the embodiment are explained.

[0040] The application environment of the method of the embodiment of the present application is shown in Figure 1. Referring to the 3GPP TS 23.501 5G system architecture specification, the 5G communication network includes SMF (Session Management Function), PCF (Policy Control Function), CHF (Charging Function), UPF (User Plane Function), AMF (Access and Mobility Management Function), NRF (Network Repository Function) and other network elements. The TS (Test Service, test service instance) in the figure is a test service instance (i.e., a test process executor) for testing the network element under test in the embodiment of the present application. It is a test microservice that is integrated with the mobile core network network element and is called a test network element. The TS inside each test network element is interconnected with the test center. For example, the network elements integrated with the TS in the figure include: NSSF (Network Slice Selection Function), AUSF (Authentication Server Function), UDM (Unified Data Management), NRF, AMF, SMF, PCF, AF (Application Function), AN (Access Network), UPF, and DN (Data Network). The dashed lines in the figure represent the control flow between the test center and the TS, while the solid lines represent the information flow between network elements. The TS is responsible for receiving the test task set issued by the test center and executing the test process according to the test task set, sending and receiving messages involved in the test process through the interface protocol stack. The test center can be responsible for providing the test process for the target network element under test and orchestrating the test process according to the test task. The test center can also perform resource management and scheduling for all TSs. The test center can be deployed in the same data center as the network elements or in a large region. The network elements interconnect with the data center resource pool within the region through the management plane.

[0041] The deployment of a test network element in one embodiment is shown in Figure 2. The 5G core network element is deployed on a cloud data center infrastructure and can be divided into a hardware layer, a platform layer, and a service layer. The hardware layer is the infrastructure, providing hardware resources for computing, networking, and storage. The platform layer provides basic services and data storage. Basic services may include microservice governance and cloud platform services. Data storage includes distributed memory storage and persistent SQL storage. The platform layer also provides services such as distributed communication management and system resource management. The service layer can be divided into business logic, test services, security services, network management and operation, and signaling protocol services. The test network element is located in the business layer. Key components in this embodiment include the test center and the test service TS. The test service TS is integrated into the mobile core network element (using the AMF network element as an example). The test service may include three parts: TS_Northbound Interface, TS_Executor, and TS_Bearer Management. The test center may include three parts: test process design, test process orchestration, and test service management of the test network element. In the figure, the service layer uses the AMF network element as an example. The business logic includes mobility management services and access management services, and also integrates the test service TS. The test service TS interacts with the test center through the northbound interface.

[0042] The test network element can also be deployed in other ways. For example, the computing, network, and storage resources required by the test network element can be deployed as part of the test network element, or the storage resources can be deployed as part of the test network element, and so on.

[0043] The method of the embodiment of the present application includes a method on the test center side and a method on the target test network element side. The method on the test center side and the method on the target test network element side, when combined, can greatly reduce the workload and deployment cycle of network element testing, and can improve the flexibility and openness of network element testing. The method on the test center side and the method on the target test network element side are implemented independently, and each provides half of the technical support for the technical effect of greatly reducing the workload and deployment cycle of network element testing and improving the flexibility and openness of network element testing. In order to better understand the method of the embodiment of the present application, the method on the test center side and the method on the target test network element side are combined for explanation below.

[0044] Refer to Figures 3 to 5, which are flow charts of three embodiments of the method for automatically testing network elements of the present application. Figure 3 is a flow chart of the method at the test center end, Figure 4 is a flow chart of the method at the target test network element end, and Figure 5 is a flow chart combining the method at the test center end and the method at the target test network element end.

[0045] The method for testing the center end includes: step S101 and step S102, and the method for testing the target network element end includes: step S201 and step S202.

[0046] Step S101: The test center obtains a test task set of a target test network element, where the target test network element is a test network element that tests a target network element under test, and the test network element is a mobile core network element deployed with a test service instance.

[0047] The test center provides test task sets for interaction with test network elements. Test service instances provide test services. Test network elements are mobile core network elements deployed with test service instances. These include, but are not limited to, 4G and 5G mobile core network elements. 4G mobile core network elements include, but are not limited to, base stations and Packet Data Networks (PDNs). 5G mobile core network elements include, but are not limited to, NRFs, AMFs, SMFs, and PCFs.

[0048] The target NE under test is the object being tested, and the target test NE is a test NE capable of providing test services to the target NE under test, that is, capable of testing the target NE under test. The target NE under test can be a single NE or multiple NEs. There are one or more target test NEs, typically including multiple different target test NEs. These multiple target test NEs may include upstream and downstream target test NEs. When there are multiple target test NEs, the test center obtains a test task set for each target test NE.

[0049] The way in which the test center obtains the test task set of the target test network element may include: obtaining the test task set of the target test network element locally from the test center, and the test center may generate the test task set of the target test network element locally; the test center may also obtain the test task set of the target test network element from a third-party device, and generate the test task set of the target test network element through the third-party device.

[0050] Step S102: The test center sends the test task set to the target test network element, so that the test service instance of the target test network element tests the target tested network element according to the test task set.

[0051] The test center sends the acquired test task set to the target test network element. When there are multiple target test network elements, the test center sends the test task set of each target test network element to each target test network element respectively.

[0052] Step S201: The target test network element receives a test task set sent by a test center.

[0053] Step S202: The target test network element controls the test service instance to test the target tested network element according to the test task set.

[0054] After the target test NE receives the test task set from the test center, the test service instance tests the target NE under test according to the test task set. The target test NE is also a mobile core network element, not a dedicated test device independent of the target NE under test. This allows it to fully utilize its own network bearer resources during testing, eliminating the need for dedicated configuration.

[0055] In the embodiment of the present application, since the test service instance that performs network element testing is deployed in the mobile core network element to become a test network element, the test network element is not independent of the network element under test. The test network element itself is also a mobile core network element and can share the network bearing resources of the mobile core network element. When the test service instance of the test network element tests the network element under test according to the test task set provided by the test center, it can make full use of its own network bearing resources without having to specifically open up various interfaces and protocol stacks with the network element under test. Therefore, the workload and deployment cycle of the network element testing can be greatly reduced, and the flexibility and openness of the network element testing can be improved.

[0056] In some embodiments, the test network element includes at least one of a first test network element and a second test network element, wherein the first test network element is a test network element with a service-oriented interface, and the second test network element is a test network element with a non-service-oriented interface. 5G core network elements generally have a service-oriented interface. A service-oriented interface is a shared boundary between an automation system and another automation system, such as a Web service interface. By using a series of standard specifications, it provides syntax interoperability support for different applications on the Internet, making it possible for application interactions between enterprises to develop from a local scope to a global scope. Interaction using a service-oriented interface only requires compliance with the protocol corresponding to the corresponding service interface, without considering their respective internal implementations, thereby greatly reducing the coupling between interactions and increasing the flexibility of interactions.

[0057] The 5G core network element with the test service instance deployed is usually the first test network element. The 4G and lower core network elements usually have non-service interfaces, and the 4G and lower core network elements with the test service instance deployed are usually the second test network element.

[0058] In some embodiments, step S102, the test center sends the test task set to the test network element, and may also include: the test center sends the test task set to the test service instance of the test network element through the northbound interface, and the test service instance of the test network element includes the northbound interface.

[0059] The Northbound Interface (Intf.N) is an interface defined by manufacturers or operators for network access and management. Users use this interface to develop network management applications in the application layer, allowing them to access and manage the network through these applications. The test service instance of the first test network element includes a northbound interface. The test center interacts with the test service instance of the first test network element through the northbound interface. Therefore, the test center sends the test task set to the test service instance of the first test network element via the northbound interface. This facilitates the test center's management of the test service instance of the test network element.

[0060] In some embodiments, step S101 , in which the test center obtains a test task set of a target test network element, may include: sub-step S1011 and sub-step S1012 , as shown in FIG6 .

[0061] Sub-step S1011: The test center obtains the test process of the target network element under test.

[0062] The test process of the target network element under test can be a general template process for testing the target network element under test. Therefore, the test process of the target network element under test can be saved in the storage space after it is generated for the first time. When the test process of the target network element under test is needed subsequently, it can be directly obtained from the storage space, which can save the time required for testing.

[0063] The content of the test process of the target network element under test includes but is not limited to: simulated network elements around the target network element under test (usually including upstream and downstream simulated network elements of the target network element under test), simulated messages for interaction between the target network element under test and the surrounding simulated network elements, parameters that the simulated messages need to carry, interfaces that need to be loaded when the target network element under test interacts with the surrounding simulated network elements, etc.

[0064] The way in which the test center obtains the test process of the target network element under test may include: obtaining the test process of the target network element under test locally from the test center, and the test center can generate the test process of the target network element under test locally; the test center can also obtain the test process of the target network element under test from a third-party device, and generate the test process of the target network element under test through the third-party device.

[0065] In some embodiments, the test process of the target network element under test may also be referred to as a PPA (Protocol Process Automation) process of the target network element under test.

[0066] Sub-step S1012: The test center arranges the test process of the target network element under test according to the test task of the target network element under test to obtain a test task set of the target test network element.

[0067] For different test tasks, when testing the same target network element under test, the test process will have some identical processes and different processes. Therefore, it is necessary to arrange the test process of the target network element under test according to the test task of the target network element under test to obtain the test task set corresponding to this test task.

[0068] Through the above-mentioned method, the test center can locally arrange the test process of the target network element under test, thereby increasing the functions and capabilities of the test center.

[0069] In some embodiments, sub-step S1011, in which the test center obtains the test process of the target network element under test, may also include: sub-step S10111, sub-step S10112 and sub-step S10113, as shown in FIG7 .

[0070] Sub-step S10111: The test center selects the target network element to be tested.

[0071] First, the test center needs to determine the target network element to be tested and select the target network element from the network elements provided by the test center. The target network element can be a single network element or a combination of multiple network elements.

[0072] For example, the network elements under test provided by the test center include: AMF, SMF, UPF, UDM, PCF, MME (Mobility Management Entity), SGW (Serving GateWay), PGW (PDN GateWay, PDN Gateway), SBC (Session Border Controller), GGSN (Gateway GPRS Support Node), SGSN (Serving GPRS Support Node), etc. The target network element under test can be one of the above network elements under test or a combination of the above network elements under test.

[0073] Sub-step S10112: The test center determines the simulated network elements around the target network element under test, the interfaces that the simulated network elements need to load when performing simulated message interaction with the target network element under test, and the fixed parameters and / or variable parameters that the simulated messages need to carry.

[0074] A simulated network element can refer to a network element in the test process to distinguish it from an actual test network element. For example, if the simulated network element is an AMF, then the actual test requires a corresponding AMF. The surrounding simulated network elements can be determined based on the target network element under test. The simulated network elements surrounding the target network element under test can generally include upstream simulated network elements and downstream simulated network elements.

[0075] Different network entities can use different interfaces when interacting with each other, and different interfaces correspond to different protocols. Therefore, when different simulated network elements interact with the target network element under test through simulated messages, the interfaces that need to be loaded by the simulated network elements are also different.

[0076] The simulated message interaction between the simulated network element and the target network element under test can generally include sending and receiving simulated messages. When sending a simulated message, it is generally necessary to set some parameters for the desired test, and when receiving a simulated message, it is generally necessary to verify the parameters in the simulated message that are desired to be verified. Therefore, it is necessary to determine the parameters that the simulated message needs to carry. These parameters include fixed parameters and / or variable parameters. Fixed parameters generally do not change with the test task and can be pre-configured when the test process is generated. Variable parameters generally change with the test task and can be set according to the specific test task when the test process is arranged. They usually need to be set manually.

[0077] Sub-step S10113: The test center sets fixed parameters that the simulation message needs to carry, and then generates a test process for the target network element under test.

[0078] Since fixed parameters generally do not change with the test task, you can pre-set the fixed parameters that the simulation message needs to carry, and then generate a test flow for the target network element under test. If there are multiple target network elements under test, when generating the test flow for the target network element under test, you need to generate a test flow for each target network element under test.

[0079] Through the above-mentioned manner, the test center can generate the test process of the target network element under test locally, thereby increasing the functions and capabilities of the test center.

[0080] In some embodiments, sub-step S1012: the test center arranges the test process of the target network element under test according to the test task of the target network element under test to obtain the test task set of the target test network element, and may also include: sub-step 10121, sub-step 10122, sub-step 10123, sub-step 10124, sub-step 10125 and sub-step 10126, see Figure 8.

[0081] Sub-step 10121: The test center determines the test task of the target network element under test.

[0082] The test center must first determine the test tasks for the target network element under test. The test tasks include, but are not limited to: the services to be tested on the target network element under test, the test objectives to be achieved, the test success criteria, the test failure criteria, and the handling of test anomalies.

[0083] Sub-step 10122: The test center selects a scenario model for testing the test process of the target network element under test according to the test task.

[0084] A scenario model may refer to a test model that is pre-established based on different test tasks and is related to a test scenario. Different test tasks correspond to different scenario models. Scenario models include test scenario models after network element upgrades in mobile networks, test scenario models after cutover, test scenario models after expansion, and patch test scenario models; model parameters include network element information, engineering activity type, service type, network type, PPA test process, etc.; service types include PPA test process control plane services, media plane services, voice services, and short message services; control plane services include registration, deregistration, paging, service requests, downlink notifications, IPv4 and IPv6 basic services, offline billing, and online billing, usage reporting, and other services; media plane services include browser access, FTP, streaming media playback, WeChat, Douyin, and other well-known APP services; voice services include voice calls under 2G, 3G, 4G, and 5G standards, as well as voice calls within the province, outside the province, and internationally; short messages include SMS, MMS, and 5G messages. The embodiment of the present application can save programming time by selecting pre-established scenario models according to the test tasks.

[0085] Sub-step 10123: The test center sets the name of the test task and the execution strategy of the test task in the selected scenario model.

[0086] The execution strategy may refer to a strategy for how the test task is executed, such as single execution, periodic execution, scheduled execution, random execution, etc.

[0087] Sub-step 10124: The test center determines the target simulated network element related to the test task according to the test task of the target network element under test and the test process of the target network element under test.

[0088] The test process of the target network element under test is a general template process, including all simulated network elements around the target network element under test. When it comes to specific test tasks, some simulated network elements do not participate in the test tasks. Therefore, it is necessary to determine the target simulated network elements related to the test task based on the test task and the test process of the target network element under test.

[0089] Sub-step 10125: The test center selects a target test network element to execute the test task based on the target simulated network element.

[0090] Since there is usually more than one test network element and the test service instances of different test network elements may have different states, after the target simulation network element is determined, it is necessary to select the target test network element for executing the test task from the test network elements.

[0091] For example, the target simulated network element is AMF, and the current test network elements include test network element AMF1, test network element AMF2, and test network element AMF3. It is necessary to select the target test network element to perform the test task from test network element AMF1, test network element AMF2, and test network element AMF3. If all three test network elements are idle, one can be selected as the target test network element. If test network element AMF1 and test network element AMF2 are currently under test, test network element AMF3 can be selected as the target test network element, and so on.

[0092] Sub-step 10126: The test center sets the variable parameters in the target simulation message related to the target test network element according to the test task of the target tested network element and the user's input information, and then generates a test task set for the target test network element.

[0093] Variable parameters generally vary with the test task and are typically set manually based on the specific test task when arranging the test process. Therefore, it is necessary to set the variable parameters in the target simulation message related to the target test element based on the test task of the target test element and the user's input information, thereby generating a test task set for the target test element. These variable parameters include, but are not limited to, user number, cell information, PLMN (Public Land Mobile Network), DNN (Data Network Name), slice, etc.

[0094] When setting variable parameters, the variable parameters in all test processes within the scenario model can be dynamically scanned and provided to the expert for parameter setting. For example, if the variable parameter in the script is named: {network element_message (abbreviation)_parameter}, the scanning method can be to identify and extract the "{}" parameter.

[0095] In some embodiments, sub-step 10125, the test center selects the target test network element to execute the test task based on the target simulated network element, and may also include: sub-step 101251, sub-step 101252 and sub-step 101253, as shown in Figure 9.

[0096] Sub-step 101251: The test center obtains service information of the currently registered test network element and the test service instance of the registered test network element.

[0097] The registered test network element is the currently registered test network element. The service information of the test service instance of the registered test network element may refer to information related to the service of the test service instance of the registered test network element, which may include: the unique identifier of the test service instance, name, supported API version, URI scheme, status of the test service instance (registered, unregistered, suspended, etc.), IP address and port information, priority relative to other services of the same type, static capacity information, dynamic load information, timestamp of the test service instance startup (or restart), etc.

[0098] Sub-step 101252: The test center selects a registered test network element whose test service instance is idle as the target test network element based on the target simulated network element, the registered test network element, and the service information of the test service instance of the registered test network element.

[0099] Sub-step 101253: The test center locks the test service instance of the target test network element.

[0100] According to the registered test network element, the currently registered test network element can be obtained, and according to the service information of the test service instance of the registered test network element, the idle test service instance can be obtained (whether it is idle can be determined based on the dynamic load information, if the load is 0, it means idle), so that the registered test network element with an idle test service instance can be selected, which can avoid selecting the registered test network element whose test service instance is being tested; then the test service instance of the target test network element is locked, which can avoid the test service instance of the target test network element being selected by other test tasks before the current test task starts, causing a conflict.

[0101] In some embodiments, step S201, before the target test network element receives the test task set sent by the test center, may also include: the target test network element registering the locally deployed test service instance with the network element data repository function NRF and / or the test center.

[0102] In some embodiments, sub-step 101251, the test center obtains the service information of the currently registered registered test network element and the test service instance of the registered test network element, and may also include: the test center obtains the service information of the registered test network element and the test service instance of the registered test network element from the network element data repository function NRF and / or locally.

[0103] In theory, any test network element can register directly with the test center, allowing the test center to locally obtain service information about the registered test network element and its test service instance. However, since all 5G core network elements currently register with the Network Element Repository (NRF), which includes discovering surrounding network elements, registering 5G core network elements with test service instances directly with the test center would require significant changes to the current network architecture. Therefore, first test network elements with service-based interfaces can remain registered with the NRF. By simply increasing the interaction between the test center and the NRF, the test center can obtain service information about the registered test network element and its test service instance from the NRF. This approach reduces deployment costs and facilitates NRF management of network elements. For example, currently, automated test equipment is deployed independently outside of mobile core network elements and is not connected to the NRF. Therefore, the NRF is unaware of changes in test services, such as registration, updates, deregistration, and number changes, resulting in a lack of unified management and scheduling of test services. In the embodiment of the present application, the NRF can perceive the test service, perceive the changes of the test service, and can uniformly manage and schedule the test service.

[0104] The second test network element with a non-service interface can be directly registered with the test center, and the test center directly obtains the service information of the registered test network element and the test service instance of the registered test network element from the local computer.

[0105] In some embodiments, step S202, in which the target test network element controls the test service instance to test the target tested network element according to the test task set, may include: sub-step S2021 and sub-step S2022, as shown in FIG10 .

[0106] Sub-step S2021: The target test network element controls the test service instance to store the test task set in the configuration file of the test service instance, and at the same time stores the user-related injection information in the test task set into the database corresponding to the target test network element through the service interface of the target test network element. The injection information is used by the signaling protocol service of the target test network element to forward the user message sent by the target network element under test to the test service instance.

[0107] The test service instance stores the test task set in the configuration file of the test service instance to facilitate subsequent message processing. The signaling protocol service of the target test network element is used to manage and schedule the interfaces for the target test network element to interact with other network elements (each interface corresponds to a protocol). The target test network element is deployed with a test service instance and is also a mobile core network element. Therefore, among the user messages received by the interface managed by the signaling protocol service, only a part of the user messages related to the test need to be forwarded to the test service instance. The signaling protocol service obtains the injection information related to the user from the database corresponding to the target test network element. According to the injection information, it can be known which user messages need to be forwarded to the test service instance. Among them, the database corresponding to the target test network element can be a UDR (Unified Data Repository).

[0108] Sub-step S2022: The target test network element controls the test service instance to load the configuration file, and processes messages one by one according to the order of the simulated messages in the test task set.

[0109] The test service instance loads the configuration file into memory and processes the messages one by one in the order in which the test task set simulates the messages. Message processing is mainly divided into two categories:

[0110] One approach involves the test service instance receiving a user message and performing parameter verification. Upon receiving a user message forwarded by the signaling protocol service, the test service instance decodes the message according to the protocol application layer of the corresponding interface and verifies the expected parameters in the message. If the verification passes, processing continues with the next message. If the verification fails, the message is marked as failed and processing continues with the next message.

[0111] The other method constructs a user message and sends it to the peer end. A signaling code stream is constructed and encoded based on the simulated message and expected parameters in the test task set. The user message is then sent by invoking the signaling protocol service management interface of the target test network element. After sending the user message, a timer is started. If a response message is received from the peer end before the timer expires, processing continues with the next message. If no response message is received after the timer expires, the message is resent once, for a total of three resends. If no response message is received after three or more attempts, the message is marked as failed and processing continues with the next message.

[0112] In some embodiments, the method further includes: step S203, step S204 and step S205, as shown in FIG11.

[0113] Step S203: The target test network element controls the test service instance to periodically send detection messages to the signaling protocol service.

[0114] In order to monitor whether the test service link between the target test network element and the target tested network element is normal, the test service instance may periodically send a detection message to the signaling protocol service.

[0115] Step S204: The target test network element controls the test service instance to receive link status information returned by the signaling protocol service in response to the detection message, where the link status information indicates whether an abnormality occurs in the test service link between the target test network element and the target tested network element.

[0116] After receiving the detection message, the signaling protocol service returns link status information. The test service instance can know whether an abnormality occurs in the test service link between the target test network element and the target tested network element based on the link status information.

[0117] Step S205: When an abnormality occurs in the test service link, the target test network element controls the test service instance to feedback the abnormality of the test service link to the network element repository function NRF, so that the NRF feedbacks the abnormality of the test service link to the test center.

[0118] If an exception occurs on the test service link, the test service instance reports the exception to the network element data repository function (NRF). The NRF then reports the exception to the test center, allowing the test center to understand the relevant test exception. The test center can also display an alarm message about the network element's test service link exception.

[0119] In some embodiments, the method further includes: step S103 and step S206, as shown in FIG12 .

[0120] Step S103: The test center sends a test stop message to the target test network element, where the test stop message instructs the target test network element to stop the current test.

[0121] Step S206: The target test network element receives the test stop message sent by the test center, responds to the test stop message, and stops the current test.

[0122] In an embodiment of the present application, if the test center wishes to stop the current test, it may send a test stop message to the target test network element. After the target test network element receives the test stop message, it may stop the current test.

[0123] In some embodiments, the method further includes: step S104, step S207, and step S105, as shown in FIG13 .

[0124] Step S104: The test center sends a test progress query message to the target test network element.

[0125] Step S207: The target test network element receives the test progress query message sent by the test center; responds to the test progress query message, and returns a test progress message to the test center.

[0126] Step S105: The test center receives a test progress message returned by the target test network element in response to the test progress query message.

[0127] In an embodiment of the present application, if the test center wishes to query the test progress, it may send a test progress query message to the target test network element. After receiving the test progress query message, the target test network element may return a test progress message to the test center. The test center may know the test progress upon receiving the test progress message.

[0128] In some embodiments, the method further includes: step S106, step S208, and step S107, as shown in FIG14 .

[0129] Step S106: The test center sends a test result request message to the target test network element.

[0130] Step S208: The target test network element receives the test result request message sent by the test center; responds to the test result request message, and returns a test result message to the test center.

[0131] Step S107: The test center receives the test result message returned by the target test network element in response to the test result request message; and displays the test result according to the test result message.

[0132] In an embodiment of the present application, if the test center wants to obtain the current test results, it can send a test result request message to the target test network element. After the target test network element receives the test result request message, it returns a test result message to the test center. After receiving the test result message, the test center can know the current test results and can also display the test results.

[0133] In some embodiments, if the target test network element completes the test, it may also proactively return a test result message to the test center.

[0134] The above methods are combined with specific examples below to explain in detail the methods of the embodiments of the present application.

[0135] Referring to FIG15 , the main steps of the process of the embodiment of the present application are as follows:

[0136] Step 1: Network deployment:

[0137] The embodiment of this application takes the 5G network as an example, and the terminal can access real services normally. When the base station is deployed, the test service instance is selected for configuration. The base station can simulate two types of simulated mobile phones and simulated base stations (i.e., two types of test service instances). In the data center, the deployment of the test center, NRF, and SMF is completed. When the SMF is deployed, the test service instance is selected for configuration to send user messages to the surrounding network elements of the SMF.

[0138] Step 2: Test service instance registration:

[0139] Mobile core network elements carrying test service instance registration can be divided into two situations: one is the network elements with service-oriented interfaces, which are managed by NRF; the other is the network elements that do not yet support service-oriented interfaces, such as base stations and PDNs. These network elements are not managed by NRF and are directly managed by the test center.

[0140] NF registration process for test service instances of network elements with service-oriented interfaces: The network element deployment file contains TS services during installation. When the network element starts normally, it will initiate initial registration with NRF. The process is as follows:

[0141] When the SMF deployment file contains the TS test service, after SMF is started, it sends a PUT request to NRF when registering, carrying the three services nsmf-pdusession, nsmf-event-exposure, and nsmf-test. The nsmf-pdusession service instance is used for mobile user session processing, the nsmf-event-exposure service instance is used for SMF event processing, and the nsmf-test service instance is used by SMF to send user messages to surrounding network elements. The relevant parameters carried by the nsmf-test service instance during registration are as follows:

[0142] NFUpdate process for test service instances: If the test service instance was not deployed during SMF installation and is redeployed through capacity expansion, SMF can update the test service instance to the NRF using the NFUpdate process. During the NFUpdate process, SMF sends a PUT request message to the NRF, carrying the relevant parameters for the nsmf-test test service instance. Upon receiving the request, the NRF stores the parameters for the nsmf-test test service instance in its database and returns a 200 OK response to the SMF.

[0143] Registration of test service instances for network elements with non-service interfaces: After deployment, base stations containing TS test services are configured with connection information for the test center. This connection information includes the test service instance's name, office number, service number, location, test center access URL, and test center access authentication and authorization information. After configuration is complete, the test service instance in the base station proactively sends a registration PUT request to the test center. After the test center performs authentication and authorization interactions with the test service instance on the base station, the base station's test service instance successfully connects to the test center. The test center can obtain the status and address information of the base station's test service instance. If the status of the test service instance on the base station changes, an update request will be promptly sent to the test center to complete the status change of the base station's test service instance.

[0144] Step 3: The test center obtains the registered test network element with the test service instance through NRF:

[0145] Provide NRF information configuration on the test center. The NRF information configuration includes the NRF login URL, username, and password. After completing the NRF information configuration in the test center, send a GET request to the NRF to obtain the NF resources managed by the NRF. The interaction process is as follows:

[0146] 1. The test center triggers the NRF synchronization action. The test center initiates user authentication based on the URL address of the NRF and sends a POST request to the NRF.

[0147] Method: POST

[0148] URL: / api / v1 / users / auth

[0149] Body of a POST request

[0150] 2. If the username and password carried in the POST request are authenticated in NRF, a 200OK message is returned with the following body. If the username does not exist or the password is incorrect, an error code is returned.

[0151] 3. After the user passes authentication, the test center initiates a GET request to retrieve the relevant information and access address of the registered test network element with the test service instance from the NRF. The relevant information of the network element includes the network element identification, status and test service login information.

[0152] Method: GET

[0153] URL: / api / v1 / nrf / ne_list

[0154] [Head] of a GET request

[0155] 4. After receiving the NRF, the test network element registered under the NRF and its service information are returned to the test center. The corresponding parameters are as follows.

[0156] [Body] of a successful response

[0157] The parameter list carried by nfServices of the test service instance is as follows:

[0158] Step 4: Design the PPA test process for the network element under test:

[0159] The test center provides PPA design functions for the network elements under test, realizing the simulation of various interface protocols of 2G, 3G core network, 4G core network and 5G core network. The interface names are as follows:

[0160] 2G, 3G core network interfaces: Gb, Gn, Gp, Gi and other interfaces.

[0161] 4G core network interfaces: S1-MME, S1-U, S5 / S8, Ga, Gx, Gy, SGi and other interfaces.

[0162] 5G core network interfaces include N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, N13, N14, N15, N16, N26, and N33.

[0163] The PPA test process of a tested network element must be able to be migrated from one environment to another. During the design phase, the PPA test process must adhere to certain important principles to ensure that the PPA test process can be flexibly and openly applied in the live network. PPA test process design principles may include:

[0164] 1) When there are multiple design methods for a business test process, choose the low-cost method to implement it;

[0165] 2) The single PPA testing process maintains independence and decoupling;

[0166] 3) The checkpoints for receiving messages in the PPA test process must be accurate and comply with the parameters specified in the protocol;

[0167] 4) Parameters carried in messages sent and received by the simulated network element, which change with the test task, must be replaced with variable parameters. For such variable parameters, fixed parameters are prohibited. Variable parameters in the script can be named: {network element_message (abbreviation)_parameter};

[0168] 5) The timer between messages in the PPA test process should not be set too short. A timer that is too short may cause execution failure in another environment.

[0169] The steps of PPA test process design are as follows:

[0170] A. Select the network elements to be tested: The network elements to be tested provided by the test center include single entities such as AMF, SMF, UPF, UDM, PCF, MME, SGW, PGW, SBC, GGSN, SGSN, etc., or a combination of network elements.

[0171] B. Determine the simulated network elements, loading interfaces, and parameters carried in the message. Simulated network elements include 2G, 3G, 4G, and 5G core network element names, simulated base stations, simulated UEs, and simulated PDNs.

[0172] C. Set the fixed parameters carried by the message.

[0173] Referring to Figure 16, the 5G registration process with the tested network element being AMF is instantiated as an example. The relevant simulated network elements in the PPA test process include: simulated base station (i.e. simulated RAN, simulated base station and simulated UE), simulated RAN, simulated AUSF, simulated UDM, and simulated PCF. The signaling interaction process is as follows:

[0174] (1) In the simulated base station and simulated UE nodes, a Registration Request message is sent. This message contains parameters such as registration type, user identity (SUCI or 5G-GUTI or PEI), UE's 5GC capability, and optional Requested NSSAI.

[0175] (2) Under the simulated AUSF node, add the N12 interface to receive the Nausf_UEAuthentication_Authenticate_Request message and set the UE's SUCI parameters. Add the Nausf_UEAuthentication_Authenticate_Response message to send and set the authentication vector information parameters.

[0176] (3) Under the simulated base station and simulated UE nodes, add the function of receiving the Authencation_Request message. Then, add the function of sending the Authencation Response message, and set the correct "RES or RES*".

[0177] (4) Under the simulated AUSF node, add the receiving Nausf-UEAuthentication_Authenticate Confirm Request message and check whether it carries the correct "RES*". Add the sending Nausf-UEAuthentication_Authenticate Confirm Respons message and set it to carry SUPI and kseaf.

[0178] (5) In the simulated base station and simulated UE nodes, the Security Mode Command message is received and the Security Mode Complete message is sent to the AMF.

[0179] (6) Under the simulated UDM node, add the function of receiving the Nudm_UECM_Registration Request message and then sending the Nudm_UECM_Registration Response message, which contains the following parameters:

[0180] ①User-Name:SUPI;

[0181] ②Terminal Information;

[0182] ③Visited PLMN ID;

[0183] ④RAT Type.

[0184] Add the Nudm_SDM_Get Request message, and then add the Nudm_SDM_Get Response message to set the correct contract information, DNN, mobile phone number, and uplink and downlink contract rates.

[0185] Added the receiving Nudm_SDM_Subcribe Request message, and then added the Nudm_SDM_Subcribe Response message to initiate subscription information.

[0186] (7) Select the simulated PCF network element, add the receiving Npcf_AMPolicyControl_Create Request message, check the SUPI, GPSI, PLMN, GUAMI, userLocation and other parameters. Add the sending Npcf_AMPolicyControl_Create Response message.

[0187] (8) Select the simulated base station node, and under the base station simulates the UE, add the Registration Accept registration acceptance message and check whether it contains the following parameters:

[0188] ①5G-GUTI---issued when AMF reallocates 5G-GUTI;

[0189] ②TA-LIST---After the terminal enters a new TA, it will compare the value with the current TA-LIST. If it finds that it has entered a new TA, it will initiate a mobility update registration;

[0190] ③Allowed / Rejected / Configured NSSAI;

[0191] ④PDU session status.

[0192] Finally, a Registration Complete message is sent to the AMF. This completes the design of a complete user registration PPA test process, including the network element under test, its surrounding simulated network elements, and messages.

[0193] Step 5: Test task arrangement and creation:

[0194] In the test center, select the corresponding scenario model to orchestrate test tasks. Scenario models include post-network element upgrade testing, post-cutover testing, post-capacity expansion testing, and patch testing scenarios in 5G networks. Model parameters include network element information, project activity type, service type, network type, and PPA test process. Service types include PPA control plane services, media plane services, voice services, and short message services. Control plane services include registration, deregistration, paging, service requests, downlink notifications, basic IPv4 and IPv6 services, offline billing, online billing, and usage reporting. Media plane services include browser access, FTP, streaming media playback, and services from popular apps like WeChat and TikTok. Voice services include voice calls across 2G, 3G, 4G, and 5G standards, as well as intra-provincial, inter-provincial, and international voice calls. Short message services include SMS, MMS, and 5G messaging.

[0195] Set the name of the test task, set the execution strategy (single execution, periodic execution, timed execution and random execution), select the PPA executor (i.e. the test network element containing TS), and set the variable parameters (user number, cell information, PLMN, DNN and slices, etc.). When selecting the PPA executor, dynamically scan out the simulated network elements in all PPA test processes in the scenario model, automatically match the test service instance of the idle target test network element, select the test service instance of the idle target test network element, and lock the test service instance of the idle target test network element to avoid process conflicts. When setting variable parameters, dynamically scan the variable parameters in all PPA test processes in the scenario model and provide them to experts for parameter setting. The scanning method can be to identify and extract the "{}" parameters. See Figure 17, which is a schematic diagram of an embodiment of the interface of the scenario model.

[0196] The test center and the PPA executor collaborate to execute test tasks through the service-oriented Resful API interface. The interface for creating a test task is as follows:

[0197] Method: POST

[0198] URL: / api / v1 / ppa / task

[0199] [body] of a POST request

[0200] [Meta] of a successful response

[0201] [Body] of the failed response

[0202] Example:

[0203] Request URL:

[0204] Step 6: Execute the test task

[0205] In the test center, start the test task on the task management interface and send the test process set to the PPA executor in the target test network element. The task execution interface is as follows:

[0206] Method: POST

[0207] URL: / api / v1 / ppa / task / execute? userid=460011234567890&taskid=AAA

[0208] [body] of a POST request

[0209] [ppacases]

[0210] [ppaflow]

[0211] [Meta] of a successful response

[0212] [Body] of a successful response

[0213] [Meta] of failed response

[0214] [Body] of the failed response

[0215] Example:

[0216] POST request URL:

[0217] Step 7: PPA executor sends and receives messages

[0218] After receiving the test task set, the test service instance of the target test network element immediately saves the test task set into the configuration file of the test service instance. At the same time, it injects user-related injection information into the unified database of the network element through the service interface. The injected information includes user information, session information, contract information, billing information, policy control, and access information of the test service, etc., so that the underlying signaling protocol service can forward the user message sent by the other end to the test service instance.

[0219] The executor loads the configuration file into memory and processes the messages one by one in the order of the test task set. There are two main types of messages in message processing:

[0220] One method is to test the service instance's received message and perform parameter verification. When the executor receives a message forwarded by the signaling protocol service, it decodes the message according to the protocol application layer of the corresponding interface and verifies the expected parameters in the message. If the verification passes, processing continues with the next message. If the verification fails, the message is marked as failed and processing continues with the next message.

[0221] The other method is to construct a message and send it to the peer end. A signaling code stream is constructed based on the simulated message and expected parameters to encode the message. The message is then sent by invoking the signaling protocol service of the target test network element. After sending the message, a timer is started. If a response message is received from the peer end before the timer expires, processing continues with the next message. If no response message is received after the timer expires, the message is resent, up to a maximum of three times. If no response message is received after three attempts, the message is considered a failure and processing continues with the next message.

[0222] The bearer management module in the test service instance is responsible for managing the link status with the signaling protocol service. It periodically sends test messages to the signaling protocol service, which immediately returns these messages to the bearer management module. When a link anomaly occurs, the test service instance promptly triggers the test service status and reports it to the NRF. The NRF then reports an alarm indicating an anomaly in the test service link of the target test NE to the test center, which then displays the alarm on the test center.

[0223] Step 8. Query test progress

[0224] In the test center, after the task is executed, pay attention to the execution progress and query the progress through the progress query interface. The interface is as follows:

[0225] Method: GET

[0226] URL: / api / v1 / ppa / run / progress? runid=306a1920_9919_4b36_8f5c_3a89a30ae697

[0227] [URL] of the GET request

[0228] [Meta] of a successful response

[0229] [Body] of a successful response

[0230] [detail]

[0231] [Meta] of failed response

[0232] [Body] of the failed response

[0233] Example:

[0234] Request URL:

[0235] Step 9: Stop test execution

[0236] In the test center, users can actively stop the test task or when the test task progress reaches 100%, the test center will send a request to stop the test task. The interface parameters are as follows:

[0237] Method: DELETE

[0238] URL: / api / v1 / ppa / task / stop

[0239] DELETE request [Body]

[0240] [Meta] of a successful response

[0241] [Meta] of failed response

[0242] [Body] of the failed response

[0243] Example:

[0244] Request URL:

[0245] Step 10: Get the test results and present them in the test center

[0246] After the test is completed, the test center sends a request message to the test service instance to obtain the test result, and obtains the test result of the test service through the following interface interaction.

[0247] Method: GET

[0248] URL: / api / v1 / ppa / run / report? userid=460011234567890&runid=306a1920_9919_4b36_8f5c_3a89a30ae697

[0249] [URL] of the GET request

[0250] [Meta] of a successful response

[0251] [Body] of a successful response

[0252] [detail]

[0253] [Meta] of failed response

[0254] [Body] of the failed response

[0255] Example:

[0256] Request URL:

[0257] The test center obtains the test results of all test service instances through the interface and displays the test results on the test center interface, which can include the following important information:

[0258] 1) Graphically display the statistics of test results: total number, number of successes, number of failures, and number of unexecuted tests.

[0259] 2) The interface can quickly filter successful PPA test processes, failed PPA test processes and unexecuted PPA test processes.

[0260] 3) After each PPA test process, there are logs and messages showing the message interactions within PPA.

[0261] 4) The test report can be exported in Excel or Word format on the result presentation interface.

[0262] 5) When executing tasks cyclically, the result presentation interface provides historical records viewing.

[0263] 6) Historical test tasks can be archived with one click, and the test results can be saved in the test center, making it easier for users to track historical test status.

[0264] Through the above method, the embodiment of the present application has the following advantages:

[0265] (1) Easy deployment: The deployment efficiency of TS (test service instance) is greatly improved. In a domestic network cloud data center, the test equipment is deployed in another independent data center. The network cloud data center adopts SDN networking, while the data center where the test equipment is located adopts traditional VLAN networking. The test equipment simulates the surrounding network elements and connects with the N2, N3, N4, N6, N8, N11 and N12 ports of the real AMF and UPF network elements, as well as the service logic configuration connection, which requires 20 man-days of manpower. However, with the embodiment of the present application, the test service instance is deployed with the network element and shares the network element interface, saving 20 man-days of investment.

[0266] (2) Improve efficiency: Intrinsic testing capabilities of network elements. The PPA executor is integrated with the network element. The signaling protocol services within the network element can be used not only by the business logic of the network element, but also by test service instances, greatly improving the utilization efficiency of link resources.

[0267] (3) Expanding capabilities: By integrating with network elements and networks, the service-oriented architecture of 5GC can be fully utilized to greatly enrich the automated test scenarios and improve the scenario coverage of automated test cases.

[0268] The embodiments of the present application can be applied in 5GC-related self-intelligent networks at home and abroad, and may also be widely used in 6GC in the future.

[0269] Refer to Figure 18, which is a structural diagram of an embodiment of the test center of the present application. It should be noted that the test center of the embodiment of the present application can implement the above-mentioned test center method. For detailed description of the relevant content, please refer to the above-mentioned method part, which will not be repeated here.

[0270] The test center 100 includes a communication circuit 3, a memory 1, and a processor 2. The communication circuit 3 is used for communication; the memory 1 is used to store a computer program; and the processor 2 is used to execute the computer program and, when executing the computer program, implement any of the above-described methods for automatically testing network elements in the test center. The communication circuit 3 and the memory 1 are connected to the processor 2 via a bus.

[0271] The processor 2 may be a microcontroller unit, a central processing unit or a digital signal processor, etc. The memory 1 may be a Flash chip, a read-only memory, a magnetic disk, an optical disk, a USB flash drive or a mobile hard disk, etc.

[0272] Refer to Figure 19, which is a structural diagram of an embodiment of the test network element of the present application. It should be noted that the test network element of the embodiment of the present application can implement the above-mentioned target test network element end method. For detailed description of the relevant content, please refer to the above-mentioned method part, which will not be repeated here.

[0273] The test network element 200 is a mobile core network element deployed with a test service instance. The test network element 200 includes a communication circuit 33, a memory 11, and a processor 22. The communication circuit 33 is used for communication; the memory 11 is used to store a computer program; and the processor 22 is used to execute the computer program and, when executing the computer program, implement any of the above methods for automatically testing a target test network element. The communication circuit 33 and the memory 11 are connected to the processor 22 via a bus.

[0274] The processor 22 may be a microcontroller unit, a central processing unit or a digital signal processor, etc. The memory 11 may be a Flash chip, a read-only memory, a magnetic disk, an optical disk, a USB flash drive or a mobile hard disk, etc.

[0275] The present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor implements any of the above methods for automatically testing network elements in the test center.

[0276] The computer-readable storage medium may be an internal storage unit of the test center, such as a hard disk or memory. The computer-readable storage medium may also be an external storage device of the test center, such as a plug-in hard disk, smart memory card, secure digital card, flash memory card, etc.

[0277] The present application also provides another computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor implements any method for automatically testing a network element as described above on the target test network element side.

[0278] The computer-readable storage medium may be an internal storage unit of the test network element, such as a hard disk or memory. The computer-readable storage medium may also be an external storage device of the test network element, such as a plug-in hard disk, smart memory card, secure digital card, flash memory card, etc.

[0279] Those skilled in the art will appreciate that all or some of the steps in the methods, systems, and functional modules / units in the devices disclosed above may be implemented as software, firmware, hardware, or appropriate combinations thereof.

[0280] In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0281] The preferred embodiments of the present application are described above with reference to the accompanying drawings, but are not intended to limit the scope of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and essence of the present application shall fall within the scope of the present application.

Claims

1. A method for automatically testing a network element, applied to a test center, the method comprising: Acquire a test task set of a target test network element, where the target test network element is a test network element that tests a target network element under test, and the test network element is a mobile core network element on which a test service instance is deployed; The test task set is sent to the target test network element, so that the test service instance of the target test network element tests the target tested network element according to the test task set.

2. The method according to claim 1, wherein: The step of obtaining a test task set of a target test network element includes: Obtaining the test process of the target network element under test; The test process of the target network element under test is arranged according to the test task of the target network element under test to obtain a test task set of the target test network element.

3. The method according to claim 2, wherein: The test process of obtaining the target network element under test includes: Selecting the target network element under test; Determine the simulated network elements around the target network element under test, the interfaces that the simulated network elements need to load when performing simulated message interaction with the target network element under test, and the fixed parameters and / or variable parameters that the simulated messages need to carry; The fixed parameters that the simulation message needs to carry are set, thereby generating a test flow for the target network element under test.

4. The method according to claim 2, wherein: The step of arranging the test process of the target network element under test according to the test task of the target network element under test to obtain the test task set of the target test network element includes: Determining the test task of the target network element under test; According to the test task, a scenario model for testing the test process of the target network element under test is selected; In the selected scenario model, setting the name of the test task and the execution strategy of the test task; Determining a target simulated network element related to the test task according to the test task of the target network element under test and the test process of the target network element under test; According to the target simulation network element, selecting a target test network element to execute the test task; According to the test task of the target network element under test and the input information of the user, the variable parameters in the target simulation message related to the target test network element are set, thereby generating a test task set for the target test network element.

5. The method according to claim 4, wherein: The step of selecting a target test network element to execute the test task according to the target simulation network element includes: Obtaining service information of a currently registered test network element and a test service instance of the test network element; According to the target simulation network element, the registration test network element and the service information of the test service instance of the registration test network element, selecting a registration test network element whose test service instance is idle as the target test network element; The test service instance of the target test network element is locked.

6. The method according to claim 5, wherein: The obtaining of the service information of the currently registered registration test network element and the test service instance of the registration test network element includes: The service information of the registered test network element and the test service instance of the registered test network element is obtained from the network element data repository function NRF and / or locally.

7. The method according to claim 1, wherein: The method further comprises: Sending a test stop message to the target test network element, wherein the test stop message instructs the target test network element to stop the current test; and / or, Sending a test progress query message to the target test network element; Receive a test progress message returned by the target test network element in response to the test progress query message; and / or, Sending a test result request message to the target test network element; Receiving a test result message returned by the target test network element in response to the test result request message; The test result is displayed according to the test result message.

8. A method for automatically testing a network element, applied to a target test network element, wherein the target test network element is a test network element that tests a target tested network element, and the test network element is a mobile core network element deployed with a test service instance, the method comprising: Receive the test task set sent by the test center; The test service instance is controlled to test the target network element under test according to the test task set.

9. The method according to claim 8, wherein: Before receiving the test task set sent by the test center, the method further includes: The locally deployed test service instance is registered with the network element repository function NRF and / or the test center.

10. The method according to claim 8, wherein: The controlling the test service instance to test the target network element under test according to the test task set includes: Control the test service instance to store the test task set in the configuration file of the test service instance, and store the injection information related to the user in the test task set in the database corresponding to the target test network element through the service interface of the target test network element, wherein the injection information is used for the signaling protocol service of the target test network element to forward the user message sent by the target tested network element to the test service instance; The test service instance is controlled to load the configuration file, and messages are processed one by one in the order of the simulated messages in the test task set.

11. The method according to claim 10, wherein: The method further comprises: Controlling the test service instance to periodically send detection messages to the signaling protocol service; Controlling the test service instance to receive link status information returned by the signaling protocol service in response to the detection message, wherein the link status information indicates whether an abnormality occurs in the test service link between the target test network element and the target tested network element; When an abnormality occurs in the test service link, the test service instance is controlled to feedback the abnormality of the test service link to the network element repository function NRF, so that the NRF feeds back the abnormality of the test service link to the test center.

12. The method according to claim 8, wherein: The method further comprises: Receiving a test stop message sent by the test center; In response to the test stop message, stop the current test; and / or, Receiving a test progress query message sent by the test center; In response to the test progress query message, return a test progress message to the test center; and / or, Receiving a test result request message sent by the test center; In response to the test result request message, a test result message is returned to the test center.

13. A test center, comprising a communication circuit, a memory and a processor, wherein the communication circuit is used for communication; the memory is used for storing a computer program; the processor is used for executing the computer program and implementing the method for automatically testing a network element as described in any one of claims 1 to 7 when executing the computer program.

14. A test network element, which is a mobile core network element deployed with a test service instance, and comprises a communication circuit, a memory and a processor, wherein the communication circuit is used for communication; the memory is used for storing a computer program; the processor is used for executing the computer program and implementing the method for automatically testing the network element as described in any one of claims 8 to 12 when executing the computer program.

15. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor implements the method for automatically testing a network element according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Method for executing tests in network elements and corresponding network elements

    CN103580936A

  • Automatic testing method, device and system for LTE core network

    CN104135735A

  • Testing method, device and equipment for network adjustment engineering and medium

    CN109639527A

  • Testing method, device and equipment based on network element simulation and computer storage medium

    CN112543473A

  • Simulating operation of a 5g wireless telecommunication network

    US20220095122A1

Cited By

  • Power distribution gateway panoramic detection method and system, terminal equipment and computer readable storage medium

    CN119254663A

  • SBC surrounding test system and method

    CN120416095A

  • Data transmission security test method and device, medium and program product

    CN120512697A