CN113613281A - Core network performance test method, device, system and storage medium - Google Patents
Core network performance test method, device, system and storage medium Download PDFInfo
- Publication number
- CN113613281A CN113613281A CN202110777066.1A CN202110777066A CN113613281A CN 113613281 A CN113613281 A CN 113613281A CN 202110777066 A CN202110777066 A CN 202110777066A CN 113613281 A CN113613281 A CN 113613281A
- Authority
- CN
- China
- Prior art keywords
- core network
- service message
- base station
- terminal
- test
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure relates to a core network performance test method, a core network performance test device, computer equipment and a medium. The core network performance test method comprises the following steps: obtaining a test script, wherein the test script comprises: virtual equipment information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station and configuration information of service messages; establishing connection with a core network according to virtual configuration information corresponding to at least one base station in the test script; simulating at least one terminal to send service messages to at least one base station according to virtual equipment information corresponding to at least one terminal and configuration information of the service messages; simulating at least one base station to send service messages to the core network. That is, a large amount of service messages are sent to the core network through the simulated batch terminals and the batch base stations, and the performance of the core network is tested, so that the test cost is saved, the test time is saved, and the efficiency of the performance test of the core network is improved.
Description
Technical Field
The present disclosure relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for testing performance of a core network, a computer device, and a medium.
Background
A mobile communication network is generally composed of terminals, base stations, and a core network. With the rapid development of mobile communication and the popularization of intelligent terminals, operators deploy more and more base stations to meet the requirement of seamless signal coverage, and meanwhile, higher requirements are provided for the performance of a core network.
Before large-scale commercial use of the core network, an equipment manufacturer needs to perform performance test on the core network in a laboratory environment, that is, send signaling service messages and/or data service messages with large traffic volume to equipment of the core network to obtain performance indexes of the core network, and objectively evaluate the processing capacity of the core network. At present, a method for testing the performance of a core network in a laboratory generally uses a large number of real terminals, a plurality of real base stations and the core network to build a test environment, and a tester operates the terminals to perform dial testing to restore the application scene of the existing network.
However, the method in the prior art has high test cost and long test time, which results in low test efficiency.
Disclosure of Invention
To solve the technical problem or at least partially solve the technical problem, the present disclosure provides a core network performance testing method, apparatus, computer device, and medium.
In a first aspect, the present disclosure provides a method for testing performance of a core network, including:
obtaining a test script, wherein the test script comprises: the method includes that virtual device information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station, and configuration information of a service message, wherein the service message includes: a signaling service message and/or a data service message;
establishing connection with a core network according to virtual configuration information corresponding to at least one base station in the test script;
simulating at least one terminal to send the service message to the at least one base station according to the virtual device information corresponding to the at least one terminal and the configuration information of the service message;
simulating the at least one base station to send the service message to the core network;
receiving a response message corresponding to the service message sent by the core network;
and determining the performance of the core network based on the sent service message and the response message corresponding to the service message.
In a second aspect, the present disclosure provides a core network performance testing apparatus, including:
an obtaining module, configured to obtain a test script, where the test script includes: the method includes that virtual device information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station, and configuration information of a service message, wherein the service message includes: a signaling service message and/or a data service message;
the processing module is used for establishing connection with a core network according to the virtual configuration information corresponding to at least one base station in the test script;
a sending module, configured to simulate, according to the virtual device information corresponding to the at least one terminal and the configuration information of the service message, the at least one terminal to send the service message to the at least one base station;
the sending module is further configured to simulate the at least one base station to send the service message to the core network;
a receiving module, configured to receive a response message corresponding to the service message sent by the core network;
the processing module is further configured to determine the performance of the core network based on the sent service message and a response message corresponding to the service message.
In a third aspect, the present disclosure provides a core network performance testing system, including: the core network performance testing method comprises a core network, a simulation testing server, at least one terminal and at least one base station, wherein the core network performance testing method of the first aspect is realized when the simulation testing server is executed, and the performance of the core network can be tested.
In a fourth aspect, the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
obtaining a test script, wherein the test script comprises: the method includes that virtual device information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station and configuration information of service messages are obtained, wherein the service messages include: a signaling service message and/or a data service message; establishing connection with a core network according to virtual configuration information corresponding to at least one base station in the test script; simulating at least one terminal to send service messages to at least one base station according to virtual equipment information corresponding to at least one terminal and configuration information of the service messages; simulating at least one base station to send service messages to the core network. That is, a large amount of service messages are sent to the core network through the batch of terminals and the batch of base stations simulated by the simulation test server, so that the performance of the core network is tested, the test cost is saved, the test time is saved, and the efficiency of the performance test of the core network is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a network architecture of an embodiment of a core network performance testing method provided in the present disclosure;
fig. 2 is a schematic flowchart of an embodiment of a core network performance testing method provided by the present disclosure;
fig. 3 is a schematic flowchart of another embodiment of a core network performance testing method provided in the present disclosure;
fig. 4 is a schematic flowchart of another embodiment of a core network performance testing method provided in the present disclosure;
fig. 5 is a schematic flowchart of another embodiment of a core network performance testing method provided by the present disclosure;
fig. 6 is a schematic structural diagram of a core network performance testing apparatus provided in the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
With the increasing number of terminals and base stations, the performance of the operator on the core network, for example: user capacity, key service processing capacity, etc., put forward higher requirements. At present, in a laboratory environment, a large number of real terminals and base stations are generally used for performing performance test on a core network, and the test cost is high, the networking is complex, the test time is long, and the test efficiency is low.
Fig. 1 is a schematic network architecture diagram of an embodiment of a core network performance testing method provided by the present disclosure, and includes a core network, a simulation test server, at least one terminal, and at least one base station, where the communication connection between the at least one base station and the core network may be, for example, a connection through a switch, and the simulation test server and the core network may be, for example, a connection through a switch, and is used for simulating the performance test of the core network by the at least one terminal and the at least one base station.
Based on the network architecture shown in fig. 1, the present disclosure provides a core network performance testing method, applied to a simulation test server, including: obtaining a test script, wherein the test script comprises: virtual equipment information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station, and configuration information of service messages; establishing connection with a core network according to virtual configuration information corresponding to at least one base station in the test script; simulating at least one terminal to send service messages to at least one base station according to virtual equipment information corresponding to at least one terminal and configuration information of the service messages; simulating at least one base station to send service messages to a core network; receiving a response message corresponding to a service message sent by a core network; and determining the performance of the core network based on the sent service message and the response message corresponding to the service message. That is, the simulation batch of terminals and the batch of base stations send a large amount of service messages to the core network to perform performance test on the core network, so that the test cost is saved, the test time is saved, and the efficiency of the performance test of the core network is improved.
The technical solutions of the present disclosure are described in several specific embodiments, and the same or similar concepts may be referred to one another, and are not described in detail in each place.
Fig. 2 is a schematic flowchart of an embodiment of a core network performance testing method provided in an embodiment of the present disclosure, where the core network performance testing method provided in this embodiment is applied to a simulation test server in a network architecture shown in fig. 1, and as shown in fig. 2, the method in this embodiment includes: steps S201-S206.
S201: and acquiring the test script.
The test script comprises: the method includes that virtual device information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station and configuration information of service messages are obtained, wherein the service messages include: a signaling service message and/or a data service message; the test script further includes the number of terminals and the number of base stations.
Optionally, the virtual device information corresponding to the terminal includes: the terminal comprises a user number identifier and authentication data corresponding to the terminal, wherein the user number identifier comprises: international Mobile Subscriber identity Number (IMSI), Mobile Subscriber International Integrated Service Digital Network Number (MSISDN), and the like, and the authentication data includes: user security keys, network authentication keys, etc. The virtual configuration information corresponding to the base station includes: an Internet Protocol (IP) address, a port number, and a base station identifier (e.g., an Evolved Node B Identification in a long term evolution network) of the base station. The signaling service message comprises the service message included in the following service flow: attach, detach, multi-Packet Data Network (PDN) establishment, location update, Service Request, S1 release, paging, X2 handover, S1 handover, etc.; data traffic messages include data streams of different frame lengths, for example: a data stream with a frame length of 64 bytes, a data stream with a frame length of 700 bytes, a data stream with a frame length of 1400 bytes, etc.
S202: and establishing connection with the core network according to the virtual configuration information corresponding to at least one base station in the test script.
One possible implementation is: simulating at least one base station to establish connection with an Evolved Packet Core (EPC) according to virtual configuration information corresponding to at least one base station of a test script, including:
s2021: and simulating at least one base station to establish Stream Control Transmission Protocol (SCTP) connection with the EPC according to the virtual configuration information corresponding to the at least one base station in the test script.
S2022: and simulating at least one base station and an EPC to establish an S1 Application layer (S1 Application Protocol, S1AP) link according to the virtual configuration information corresponding to the at least one base station in the test script.
The base station may be an Evolved NodeB (eNodeB) in a long term evolution Network or an Evolved Universal Radio Access Network (EUTRAN) under dual connectivity with a new air interface (EUTRAN) and a base station under dual connectivity with a new air interface (en-gNB).
S203: and simulating at least one terminal to send the service message to at least one base station according to the virtual equipment information corresponding to at least one terminal and the configuration information of the service message.
One possible implementation is:
the configuration information of the service message comprises: the sending rate of the traffic messages. Simulating at least one terminal to send service messages to at least one base station according to the virtual device information corresponding to the at least one terminal and the sending rate of the service messages, for example: the sending rate of an Attach request (Attach request) message in an Attach flow is 10 pieces/s, 10 terminals are simulated according to virtual equipment information corresponding to the 10 terminals, and each terminal sends the Attach request message to at least one base station at the rate of 1 piece/s; or simulating 5 terminals according to virtual equipment information corresponding to the 5 terminals, and sending an attachment request message to at least one base station by each terminal at a rate of 2/s; or simulating 1 terminal according to the virtual equipment information corresponding to the 1 terminal, and sending the attachment request message to at least one base station at the rate of 10 pieces/s.
Another possible implementation is:
the configuration information of the service message further comprises: and transmitting the service messages of the terminal. And simulating at least one terminal to send the service message to at least one base station according to the virtual equipment information corresponding to at least one terminal and the sending sequence of the service message of the terminal. For example: the configuration information of the service message comprises: simulating that the terminal A sends the attachment request message first according to the virtual device information corresponding to the terminal A, and then sending the detachment request message to at least one base station according to the sending rate of the detachment request message.
S204: simulating at least one base station to send service messages to the core network.
One possible implementation is:
simulating at least one base station to send a signaling service message to a Mobile Management Entity (MME), wherein the signaling service message comprises the signaling service message interacted between the base station and a core network in the following service flow: attach, detach, multi-PDN establishment, location update, Service Request, S1 release, paging, X2 handover, S1 handover, etc.
At least one base station is simulated to send a data service message to a Serving Gateway (SGW), where the data service message may be a data stream with different frame lengths based on a User data packet Protocol (UDP), a File Transfer Protocol (FTP), a HyperText Transfer Protocol (HTTP), and other protocols.
S205: and receiving a response message corresponding to the service message sent by the core network.
One possible implementation is:
receiving a response message corresponding to the signaling service message sent by the MME;
and receiving a response message corresponding to the data service message sent by the SGW.
S206: and determining the performance of the core network based on the sent service message and the response message corresponding to the service message.
One possible implementation is: based on the sent service messages and the response messages corresponding to the service messages, counting the number of the sent service messages, the number of the received response messages corresponding to the service messages, the time for sending the service messages, the time for receiving the response messages corresponding to the service messages, the length of the sent data service messages, the length of the received response messages corresponding to the data service messages and the like in real time or periodically, and determining the performance of the core network. The performance of the core network includes: the processing speed of the signaling service message, the uplink rate of the data service, the downlink rate of the data service, the processing delay of the signaling service message, the processing delay and throughput of the data service, etc., wherein the uplink rate of the data service and the downlink rate of the data service can be characterized by gigabits per Second (GBPS) or megabits per Second (GBPS), and the throughput is characterized by Packet Per Second (PPS).
Optionally, the number of successful response messages corresponding to the received service message and the number of failed response messages corresponding to the received service message may be respectively counted according to the result of the response message corresponding to the service message.
Optionally, after the test is finished, the performance of the core network obtained in real time or periodically during the test process may be summarized to determine the target performance of the core network.
In this embodiment, a test script is obtained, where the test script includes: the method includes that virtual device information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station, the number of terminals, the number of base stations and configuration information of service messages are obtained, wherein the service messages include: a signaling service message and/or a data service message; establishing connection with a core network according to virtual configuration information corresponding to at least one base station in the test script; simulating at least one terminal to send service messages to at least one base station according to virtual equipment information corresponding to at least one terminal and configuration information of the service messages; simulating at least one base station to send service messages to a core network; receiving a response message corresponding to a service message sent by a core network; and determining the performance of the core network based on the sent service message and the response message corresponding to the service message. That is, a large amount of service messages are sent to the core network through the simulated batch terminals and the batch base stations, and the performance of the core network is tested, so that the test cost is saved, the test time is saved, and the efficiency of the performance test of the core network is improved.
Optionally, S201-S206 are performed by a simulation server; or, the step S201 is executed by a first simulation test server, and the steps S202 to S206 are executed by a second simulation test server, and the first simulation test server and the second simulation test server are connected through network communication. When S201, S202-S206 are executed by the first simulation test server and the second simulation test server, respectively, the first simulation test server sends a test script to the second simulation test server after executing S201, and the second simulation test server executes S202-S206. The second simulation test server sends the performance of the core network to the first simulation test server in real time or periodically after executing S206, and may also send the target performance of the core network to the first simulation test server after the test is finished.
Optionally, the test script may further include: the time at which the test begins to be executed. Before executing S202, the method further includes: starting a timer for timing, and judging whether the current system time is equal to the time for starting the test; if yes, executing S202; if not, continuing to count time.
Fig. 3 is a schematic flowchart of another embodiment of a method for testing performance of a core network according to an embodiment of the present disclosure, where fig. 3 is a possible implementation manner of S201 on the basis of the embodiment shown in fig. 2, as shown in fig. 3:
s2011: and generating a test script based on the received test configuration information.
The user can input test configuration information according to the test scenario. Wherein, the test scenario includes: sending each service message independently in batch; obtaining a combination of the service messages according to the orthogonal test, and sending the combination of the service messages in batches; sending the service messages or the combination of the service messages in batch according to the performance indexes in the telephone traffic model; sending single service messages or service message combinations in batches within preset time, and the like, wherein the test configuration information comprises: configuration information of a core network, virtual device information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station, the number of terminals, the number of base stations, configuration information of service messages, and the like. Taking EPC as an example, the configuration information of the core network includes: the name of the EPC (e.g., a certain laboratory core Network), the IP address and port of the MME, the IP address and port of the SGW, the IP address and port of a Packet Data Network gateway (PGW), Tracking Area Code (TAC), Public Land Mobile Network (PLMN) identifier, and the like.
And generating configuration information of the service message in the test script based on the test configuration information input by the user. For example, the test configuration information input by the user includes: the virtual device information corresponding to one base station is an IP address 192.168.1.11 and the number of base stations is 4, and the IP addresses corresponding to 4 base stations in the generated test script are respectively: 192.168.1.11, 192.168.1.12, 192.168.1.13, and 192.168.1.14.
Optionally, the test configuration information input by the user may further include: the sending rate of the business process and/or the sending sequence of the business process. The business process comprises the following steps: attach, detach, multiple PDN establishment, location update, Service Request, S1 release, paging, X2 switch, S1 switch, data stream with frame length of 64 bytes, data stream with frame length of 700 bytes, data stream with frame length of 1400 bytes, etc. And generating configuration information of the service messages in the test script based on the sending rate of the service process, the service messages included in the service process and/or the sending sequence of the service process. For example: the S1 handover procedure includes: switching request message and switching request message, the test configuration information input by the user includes: s1 sending rate of the switching flow and S1 sending sequence of the switching flow (first sending the service request flow, then sending S1 switching flow), based on the sending rate of the service flow, the service message included in the service flow and/or the sending sequence of the service flow, the configuration information of the service message in the generated test script includes: s1 the sending rate and the sending sequence of the first service message (handover request message) in the handover procedure, wherein the sending rate of the handover request message is the sending rate of the S1 handover procedure, and the sending sequence of the handover request message is: the method comprises the steps of firstly sending a first service message in a service request process, receiving a response message corresponding to the first service message in the service request process sent by a core network, sending a second service message in the service request process, …, receiving a response message corresponding to a last service message in the service request process sent by the core network, and sending an attachment request message in an S1 switching process.
Optionally, the test configuration information input by the user may further include: the time at which the test starts to be executed and the time at which the test ends to be executed. And generating the time for starting the test execution and the time for finishing the test execution in the test script based on the time for starting the test execution and the time for finishing the test execution, which are input by the user.
In this embodiment, the test script is generated based on the test configuration information input by the user, that is, the number of the analog terminals, the virtual device information corresponding to the analog terminals, the number of the analog base stations, and the like in the test script can be modified through the test configuration information input by the user, so that various scenarios of the performance test of the core network can be realized, the test cost is saved, the test time is saved, and thus, the efficiency of the performance test of the core network is improved.
Optionally, another possible implementation manner of S201 is: and generating a test script based on preset test configuration information. The preset test configuration information can be set by a tester according to the traffic model of the core network.
Fig. 4 is a schematic flowchart of another embodiment of a core network performance testing method provided for an embodiment of the present disclosure, and fig. 4 may further include, on the basis of the embodiment shown in fig. 2 or fig. 3: step S207.
S207: and after the test is finished, releasing connection resources between the core network and the network.
One possible implementation is: receiving a test ending instruction input by a user, determining the end of the test, releasing an S1 application layer link with the core network, and releasing the SCTP connection with the core network.
Another possible implementation is: the test script can also comprise: and the time for ending the execution of the test determines the end of the test according to the time for ending the execution of the test in the test script, releases the S1 application layer link with the core network and releases the SCTP connection with the core network. In the embodiment, after the test is finished, the connection resource between the core network and the core network is released, so that the resource of the core network is prevented from being occupied for a long time, and the accuracy of the performance test of the core network is improved.
Optionally, S201-S207 are executed by a simulation test server; or, the step S201 is executed by a first simulation test server, the steps S202-S207 are executed by a second simulation test server, and the first simulation test server and the second simulation test server are connected through network communication. When S201, S202-S207 are executed by the first simulation test server and the second simulation test server, respectively, the first simulation test server sends a test script to the second simulation test server after executing S201, and the second simulation test server executes S202-S207.
Fig. 5 is a schematic flowchart of another embodiment of a core network performance testing method provided for the embodiment of the present disclosure, where fig. 5 may further include, on the basis of the embodiment shown in fig. 4 and before S202: steps S501 and S502.
S501: a test start instruction is received.
Optionally, a test start instruction input by the user is received, for example: and receiving the operation of clicking the 'execution' control by the user.
S502; and distributing resources required by the test script according to the test script.
And allocating process resources, central processor resources and memory resources according to the number of the terminals and the number of the base stations in the test script.
In this embodiment, a test start instruction is received; distributing resources required by the test script according to the test script; it should be noted that, after the test is finished, the resources required by the test script are released; namely, the testing starts to distribute the resources required by the testing script, and the testing ends to release the resources required by the testing script, so that the efficiency of executing the testing script is improved.
Optionally, S201, S501-S502, and S202-S207 are executed by one server; or, S201 and S501 are executed by a first simulation test server, S502 and S202-S207 are executed by a second simulation test server, the first simulation test server and the second simulation test server are connected through network communication, the first simulation test server sends a test script to the second simulation test server after executing S501, and the second simulation test server executes S502 and S202-S207.
Optionally, the test script may further include: and the loop times are used for indicating the times of loop execution of the test scripts.
Fig. 6 is a schematic structural diagram of a core network performance testing apparatus according to the present disclosure, where the apparatus of this embodiment includes: an obtaining module 601, a processing module 602, a sending module 603 and a receiving module 604.
The obtaining module 601 is configured to obtain a test script, where the test script includes: the method includes that virtual device information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station, the number of terminals, the number of base stations and configuration information of service messages are obtained, wherein the service messages include: a signaling service message and/or a data service message;
a processing module 602, configured to establish a connection with a core network according to virtual configuration information corresponding to at least one base station in the test script;
a sending module 603, configured to simulate, according to the virtual device information corresponding to the at least one terminal and the configuration information of the service message, the at least one terminal to send the service message to the at least one base station;
a sending module 603, configured to simulate at least one base station to send a service message to a core network;
a receiving module 604, configured to receive a response message corresponding to a service message sent by a core network;
the processing module 602 is further configured to determine the performance of the core network based on the sent service message and a response message corresponding to the service message.
Optionally, the configuration information of the service message includes: the sending rate of the service message;
the sending module 603 is specifically configured to simulate, according to the virtual device information corresponding to the at least one terminal and the sending rate of the service message, the at least one terminal to send the service message to the at least one base station.
Optionally, the configuration information of the service message includes: the sending sequence of the service messages of the terminal;
the sending module 603 is specifically configured to simulate, according to the virtual device information corresponding to the at least one terminal and a sending sequence of the service message of the terminal, the at least one terminal to send the service message to the at least one base station.
Optionally, the obtaining module 601 is specifically configured to generate a test script based on the received test configuration information.
Optionally, the processing module 602 is further configured to release connection resources with the core network.
Optionally, the obtaining module 601 is further configured to receive a test start instruction;
the processing module 602 is further configured to allocate resources required by the test script according to the test script.
Optionally, the obtaining module 601 is further configured to receive a release instruction of a resource required by the test script.
The apparatus of this embodiment may be used to implement the technical solution of any one of the method embodiments shown in fig. 2 to fig. 5, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the present disclosure provides a core network performance test system, including: the system comprises a core network, a simulation test server, at least one terminal and at least one base station, wherein the simulation test server executes the technical scheme of the method embodiment shown in any one of figures 2 to 5, and can realize the test of the performance of the core network. The implementation principle and the technical effect are similar, and the detailed description is omitted here.
The present disclosure also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the solution of the method embodiment shown in any one of fig. 2 to 5.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for testing performance of a core network is characterized by comprising the following steps:
obtaining a test script, wherein the test script comprises: the method includes that virtual device information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station, and configuration information of a service message, wherein the service message includes: a signaling service message and/or a data service message;
establishing connection with a core network according to virtual configuration information corresponding to at least one base station in the test script;
simulating at least one terminal to send the service message to the at least one base station according to the virtual device information corresponding to the at least one terminal and the configuration information of the service message;
simulating the at least one base station to send the service message to the core network;
receiving a response message corresponding to the service message sent by the core network;
and determining the performance of the core network based on the sent service message and the response message corresponding to the service message.
2. The method of claim 1, wherein the configuration information of the service message comprises: the sending rate of the service message;
the simulating, according to the virtual device information corresponding to the at least one terminal and the configuration information of the service message, that the at least one terminal sends the service message to the at least one base station includes:
and simulating at least one terminal to send the service message to the at least one base station according to the virtual equipment information corresponding to the at least one terminal and the sending rate of the service message.
3. The method of claim 1, wherein the configuration information of the service message comprises: the sending sequence of the service messages of the terminal;
the simulating, according to the virtual device information corresponding to the at least one terminal and the sending rate of the service message, that the at least one terminal sends the service message to the at least one base station includes:
simulating at least one terminal to send the service message to the at least one base station according to the virtual device information corresponding to the at least one terminal and the sending sequence of the service message of the terminal.
4. The method of any of claims 1-3, wherein obtaining the test script comprises:
and generating the test script based on the received test configuration information.
5. The method according to any one of claims 1-3, further comprising, after the end of the test:
and releasing connection resources between the core network and the network.
6. The method according to claim 1, wherein before establishing a connection with a core network according to the virtual configuration information corresponding to the at least one base station in the test script, the method further comprises:
receiving a test starting instruction;
and distributing resources required by the test script according to the test script.
7. The method according to claim 6, wherein before releasing the resources required by the test script, further comprising:
and receiving a release instruction of the resources required by the test script.
8. A core network performance testing apparatus, comprising:
an obtaining module, configured to obtain a test script, where the test script includes: the method includes that virtual device information corresponding to at least one terminal, virtual configuration information corresponding to at least one base station, the number of terminals, the number of base stations, and configuration information of service messages, wherein the service messages include: a signaling service message and/or a data service message;
the processing module is used for establishing connection with a core network according to the virtual configuration information corresponding to at least one base station in the test script;
a sending module, configured to simulate, according to the virtual device information corresponding to the at least one terminal and the configuration information of the service message, the at least one terminal to send the service message to the at least one base station;
the sending module is further configured to simulate the at least one base station to send the service message to the core network;
a receiving module, configured to receive a response message corresponding to the service message sent by the core network;
the processing module is further configured to determine the performance of the core network based on the sent service message and a response message corresponding to the service message.
9. A core network performance testing system, comprising: a core network, a simulation test server, at least one terminal and at least one base station, wherein the simulation test server executes the method of any one of claims 1-7 to realize the test of the performance of the core network.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110777066.1A CN113613281B (en) | 2021-07-09 | 2021-07-09 | Core network performance test method, device, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110777066.1A CN113613281B (en) | 2021-07-09 | 2021-07-09 | Core network performance test method, device, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113613281A true CN113613281A (en) | 2021-11-05 |
CN113613281B CN113613281B (en) | 2023-10-20 |
Family
ID=78304290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110777066.1A Active CN113613281B (en) | 2021-07-09 | 2021-07-09 | Core network performance test method, device, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113613281B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115865172A (en) * | 2022-11-24 | 2023-03-28 | 中国星网网络应用有限公司 | A satellite network testing device and method |
CN116170828A (en) * | 2023-04-18 | 2023-05-26 | 北京博上网络科技有限公司 | 5G core network testing method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222734A (en) * | 2008-01-23 | 2008-07-16 | 中兴通讯股份有限公司 | Subdistrict service simulating device, large traffic testing set and subdistrict service simulation method |
CN104135735A (en) * | 2014-08-25 | 2014-11-05 | 宁波普天通信技术有限公司 | Automatic testing method, device and system for LTE core network |
CN106332123A (en) * | 2015-06-29 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for expanding the number of test users |
CN106332161A (en) * | 2015-06-16 | 2017-01-11 | 中兴通讯股份有限公司 | Simulation test method and device, and service simulator |
CN112867046A (en) * | 2021-03-02 | 2021-05-28 | 浪潮软件科技有限公司 | Method for testing upf network element function based on analog simulation core network |
-
2021
- 2021-07-09 CN CN202110777066.1A patent/CN113613281B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222734A (en) * | 2008-01-23 | 2008-07-16 | 中兴通讯股份有限公司 | Subdistrict service simulating device, large traffic testing set and subdistrict service simulation method |
CN104135735A (en) * | 2014-08-25 | 2014-11-05 | 宁波普天通信技术有限公司 | Automatic testing method, device and system for LTE core network |
CN106332161A (en) * | 2015-06-16 | 2017-01-11 | 中兴通讯股份有限公司 | Simulation test method and device, and service simulator |
CN106332123A (en) * | 2015-06-29 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for expanding the number of test users |
CN112867046A (en) * | 2021-03-02 | 2021-05-28 | 浪潮软件科技有限公司 | Method for testing upf network element function based on analog simulation core network |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115865172A (en) * | 2022-11-24 | 2023-03-28 | 中国星网网络应用有限公司 | A satellite network testing device and method |
CN116170828A (en) * | 2023-04-18 | 2023-05-26 | 北京博上网络科技有限公司 | 5G core network testing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN113613281B (en) | 2023-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112672383B (en) | Communication method and network device | |
US9591560B2 (en) | Temporary credential assignment when connecting to roaming wireless networks | |
KR20210032830A (en) | Apparatus and method for psa-upf relocation in wireless communication system | |
CN108605383A (en) | The method and apparatus that the cell standardising process of the NR for being sliced based on network is executed in wireless communication system | |
CN113709909B (en) | Multi-connection communication method and device | |
CN111083690B (en) | Method and device for reporting user plane functional entity information | |
CN113382468B (en) | Address allocation method for local network device, electronic device, and storage medium | |
US11997751B2 (en) | Method for supporting UE association and communications device | |
JP7192140B2 (en) | Policy management method and device | |
CN111567082A (en) | Traffic steering between LTE and NR | |
JP6735719B2 (en) | Node device, control method thereof, and program | |
CN113613281B (en) | Core network performance test method, device, system and storage medium | |
Baba et al. | Lightweight virtualized evolved packet core architecture for future mobile communication | |
WO2021028890A1 (en) | Systems and methods to measure the number of packets in cups | |
WO2014134819A1 (en) | Billing method, access network device and gateway device | |
CN113473564A (en) | Method for switching network slice, method and device for establishing PDU session | |
US20230269574A1 (en) | Apparatus and method for providing data measured by user plane function in a wireless communication system | |
WO2022071726A1 (en) | Method and apparatus for group management for group event monitoring | |
CN113727390B (en) | Data transmission method, device and communication system | |
WO2018066402A1 (en) | Gateway device, communication method, and non-transitory computer readable medium in which program is stored | |
CN114270881B (en) | A method and device for accessing a network | |
CN113228598B (en) | Cellular telecommunication network | |
CN112449317B (en) | Method and device for reporting charging information | |
EP4228344A1 (en) | Method and apparatus for requesting prs configuration, and communication device and storage medium | |
CN115696490A (en) | Local area network communication method, device, terminal, electronic equipment and storage medium |
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 |