[go: up one dir, main page]

CN113630802B - NR user plane service testing method and device - Google Patents

NR user plane service testing method and device Download PDF

Info

Publication number
CN113630802B
CN113630802B CN202010379186.1A CN202010379186A CN113630802B CN 113630802 B CN113630802 B CN 113630802B CN 202010379186 A CN202010379186 A CN 202010379186A CN 113630802 B CN113630802 B CN 113630802B
Authority
CN
China
Prior art keywords
test
address
module
user plane
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010379186.1A
Other languages
Chinese (zh)
Other versions
CN113630802A (en
Inventor
刘海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Linktester Technology Co ltd
Original Assignee
Datang Linktester Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Linktester Technology Co ltd filed Critical Datang Linktester Technology Co ltd
Priority to CN202010379186.1A priority Critical patent/CN113630802B/en
Publication of CN113630802A publication Critical patent/CN113630802A/en
Application granted granted Critical
Publication of CN113630802B publication Critical patent/CN113630802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput

Landscapes

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

Abstract

The embodiment of the invention provides a method and a device for testing NR user plane service, wherein the method comprises the following steps: sending a first IP address and a second IP address to a test terminal, wherein the first IP address is represented as an IP address allocated to the test terminal, and the second IP address is represented as an IP address allocated to a service server; according to the mapping relation between the first IP address and the second IP address, an IP path between the test terminal and the service server is established; and after the user plane service test is initiated based on the IP path, acquiring service performance index data grasped by each protocol layer in the NR system simulator. The embodiment of the invention provides a NR user plane service testing method and device, which are used for carrying out NR user plane service testing based on an NR system simulator, do not need to build a complex hardware testing environment, are simple in configuration and convenient to test, and improve the testing efficiency.

Description

NR user plane service testing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for testing an NR user plane service.
Background
The service performance of the terminal user plane is an important content for measuring the overall performance of the terminal, the purpose of the service test of the user plane is to obtain the service performance index of the terminal user plane, the service of the terminal user plane comprises uplink service and downlink service, and the service performance index of the terminal user plane mainly comprises throughput, bit error rate, packet loss rate and the like. The user plane service test is a necessary link in the process of developing the base station, usually the test is performed while the development is performed, and the development efficiency and the development period are directly affected due to the various contents of the user plane service test and the efficiency of the user plane service test.
In the prior art, a New air interface (NR) test scheme issued by the third generation partnership project (3rd Generation Partnership Project,3GPP) is a terminal protocol consistency test scheme based on a third-generation test and test control expression (Testing and Test Control Notation version, TTCN-3). The test functions of the upper layer of the NR network in the test model are realized by an NR parallel test component (Parallel Test Component, PTC) module, and the test functions of a service data adaptation protocol (Service Data Adaptation Protocol, SDAP) layer, a packet data convergence protocol (Packet Data Convergence Protocol, PDCP) layer, a radio link control (Radio Link Control, RLC) layer, a medium access control (Media Access Control, MAC) layer and a Physical (PHY) layer are realized by a communication instrument (new air interface system simulator NR SS). However, the existing user plane service testing method includes: 1. testing is performed in the network environment of operators; 2. and testing with a manufacturer of the base station equipment.
However, for the user plane service test, the above method 1 is inflexible in environmental configuration and has a large limitation on the test environment; the 2 nd method has single test scene and needs to coordinate the resources of the base station side, and the two methods have the technical problem of low test efficiency.
Disclosure of Invention
The embodiment of the invention provides a method and a device for testing NR user plane service, which are used for solving the technical problems in the prior art.
In order to solve the above technical problems, in one aspect, an embodiment of the present invention provides a method for testing NR user plane services, including:
sending a first Internet Protocol (IP) address and a second IP address to a test terminal, wherein the first IP address is expressed as an IP address allocated to the test terminal, and the second IP address is expressed as an IP address allocated to a service server;
according to the mapping relation between the first IP address and the second IP address, an IP path between the test terminal and the service server is established;
and after the user plane service test is initiated based on the IP path, acquiring service performance index data grasped by each protocol layer in the NR system simulator.
Further, the acquiring the service performance index data captured by each protocol layer in the NR system simulator specifically includes:
respectively acquiring the throughput grabbed by a packet data convergence protocol PDCP layer, a radio link control RLC layer and a medium access control MAC layer;
acquiring packet loss rate grabbed by the PDCP layer;
and acquiring the bit error rate grabbed by the physical PHY layer.
Further, after the service performance index data captured by each protocol layer in the NR system simulator is obtained, the method further includes:
and sending the service performance index data to an NR parallel test assembly PTC module so that the NR PTC module can generate a test log according to the service performance index data, wherein the NR PTC module is used for realizing the test function of an NR network high layer.
Further, before the first internet protocol IP address and the second IP address are sent to the test terminal, the method further includes:
receiving NR cell configuration information sent by an NR PTC module;
and establishing an NR cell according to the NR cell configuration information.
Further, after the NR cell is established according to the NR cell configuration information, the method further includes:
and receiving random access request information sent by the test terminal so as to enable the test terminal to register to the NR cell.
Further, the first IP address and the second IP address are carried in a protocol data unit PDU session establishment receive message.
Further, when the initiated user plane service test type is an uplink service test, in the process of performing the uplink service test, the method further comprises:
and forwarding the uplink data according to the radio bearer type of the uplink data.
On the other hand, an embodiment of the present invention provides an NR user plane service testing apparatus, including:
the system comprises a test terminal, a sending module, a service server and a sending module, wherein the test terminal is used for sending a first IP address and a second IP address to the test terminal, the first IP address is represented as an IP address allocated to the test terminal, and the second IP address is represented as an IP address allocated to the service server;
the IP access establishing module is used for establishing an IP access between the test terminal and the service server according to the mapping relation between the first IP address and the second IP address;
and the acquisition module is used for acquiring the service performance index data acquired by each protocol layer in the NR system simulator after the user plane service test is initiated based on the IP path.
Further, the acquisition module includes a first acquisition sub-module, a second acquisition sub-module, and a third acquisition sub-module, wherein:
the first obtaining submodule is used for respectively obtaining the throughput grabbed by the packet data convergence protocol PDCP layer, the radio link control RLC layer and the medium access control MAC layer;
the second obtaining submodule is used for obtaining the packet loss rate grabbed by the PDCP layer;
the third obtaining sub-module is used for obtaining the bit error rate grabbed by the physical PHY layer.
Further, the system also comprises a reporting module;
the reporting module is used for sending the service performance index data to the NR parallel testing component PTC module so that the NR PTC module can generate a testing log according to the service performance index data, and the NR PTC module is used for realizing the testing function of an NR network high layer.
Further, the method also comprises a receiving module and a cell establishing module, wherein:
the receiving module is used for receiving NR cell configuration information sent by the NR PTC module;
the cell establishing module is used for establishing an NR cell according to the NR cell configuration information.
Further, the terminal registration processing module is also included;
the terminal registration processing module is used for receiving random access request information sent by the test terminal so as to enable the test terminal to register to the NR cell.
Further, the first IP address and the second IP address are carried in a protocol data unit PDU session establishment receive message.
Further, the system also comprises a forwarding module;
when the initiated user plane service test type is an uplink service test, the forwarding module is used for forwarding uplink data according to the radio bearer type of the uplink data in the process of performing the uplink service test.
In still another aspect, an embodiment of the present invention provides an electronic device, including: the computer program comprises a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor realizes the steps of the method provided in the first aspect when executing the computer program.
In yet another aspect, embodiments of the present invention provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method provided in the first aspect described above.
The embodiment of the invention provides a NR user plane service testing method and device, which are used for carrying out NR user plane service testing based on an NR system simulator, do not need to build a complex hardware testing environment, are simple in configuration and convenient to test, and improve the testing efficiency.
Drawings
FIG. 1 is a schematic diagram of a terminal protocol conformance test model in the prior art;
fig. 2 is a schematic diagram of a terminal protocol conformance RLC data test model in the prior art;
fig. 3 is a schematic diagram of an NR user plane service test system according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an NR user plane service testing method according to an embodiment of the present invention;
fig. 5 is an interactive flowchart of an NR user plane service testing process provided by an embodiment of the present invention;
fig. 6 is a flow chart of processing of service data in an NR SS according to an embodiment of the present invention;
fig. 7 is a schematic diagram of an NR user plane service testing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The traditional NR test scheme published by 3GPP is a terminal protocol consistency test scheme based on TTCN-3. Fig. 1 is a schematic diagram of a terminal protocol consistency test model in the prior art, as shown in fig. 1, a test function of an NR network upper layer is implemented by an NR PTC module, and test functions of an SDAP layer, a PDCP layer, an RLC layer, a MAC layer, and a PHY layer are implemented by a communication instrument (new air interface system simulator, abbreviated as NR simulator or NR SS). The UE is a test terminal, abbreviated as terminal.
As can be seen from fig. 1, the existing TTCN test model mainly simulates the NR high-layer signaling interaction flow, and controls different behaviors of the terminal, so as to achieve the purpose of protocol test.
Fig. 2 is a schematic diagram of a terminal protocol conformance RLC data test model in the prior art, as shown in fig. 2, in which part of layer 2 (L2) functions are omitted when testing RLC layer services, data packets are directly submitted to TTCN scripts, the subsequent processes are directly processed by the scripts, and the functions of the SDAP and PDCP layers are omitted in the middle. The conventional TTCN terminal protocol consistency test scheme only meets the requirement that whether the terminal is realized according to the protocol, the throughput test of an air interface of the terminal is not considered in the aspect of service test, when the air interface data service is tested, the terminal is tested in a loop-back mode, the data volume is small, the test process is only to test different modules of L2, the throughput between layers is not fully verified, and a large gap is reserved between the test process and an actual application scene.
The existing user plane service testing method comprises the following steps: 1. testing is performed in the network environment of operators; 2. and testing with a manufacturer of the base station equipment.
However, for the user plane service test, the above method 1 is inflexible in environmental configuration and has a large limitation on the test environment; the 2 nd method has single test scene and needs to coordinate the resources of the base station side, and the two methods have the technical problem of low test efficiency.
In order to solve the technical problems, the embodiment of the invention mainly tests the wireless air interface service capability of the terminal, tests the throughput of the terminal on the air interface through the high-speed data transmission of the service surface, establishes a path using optical fibers as a medium between the service server and the NR SS for transmitting data by using the optical fibers so as to achieve the high-speed data transmission, and realizes the separation of signaling information and data transmission.
Fig. 3 is a schematic diagram of an NR user plane service testing system provided by an embodiment of the present invention, where, as shown in fig. 3, in an embodiment of the present invention, the NR user plane service testing system includes an NR PTC module, an NR SS, a service server, and a testing terminal.
The NR PTC module is used for realizing the testing function of an NR network high layer. The NR SS is used for realizing the test function of a base station user plane protocol stack, and the base station user plane protocol stack comprises an SDAP layer, a PDCP layer, an RLC layer, a MAC layer and a PHY layer.
The NR SS is mainly used for simulating an NR cell so as to enable a test terminal to register on the NR cell, and the network configures different wireless resources according to different data services according to network configuration service test.
The service server is mainly used for simulating data service interaction with the test terminal, and the test terminal can download and upload files through the NR simulator.
The NR SS is connected to the service server through an optical fiber, and the test terminal is connected with the NR SS through an air interface.
The NR PTC module may be mounted in the NR SS or in the personal computer PC. In fig. 3, an example in which the NR PTC module is mounted on the test PC is described, and the test PC is connected to the NR SS through the network port.
In addition, when full-automatic testing is performed, the testing PC is connected with a serial communication (Cluster communication, COM) port of the testing terminal through a universal serial bus (Universal Serial Bus, USB) interface and used for sending AT instructions and responses to the testing terminal, and the testing PC is connected with the service server through a network cable and used for sending AT instructions and responses to the service server.
The NR PTC module comprises a main control module and an intermediate module.
The main control module is mainly used for providing a man-machine interaction interface, loading test cases constructed and compiled by TTCN or other test languages, starting to execute the test cases, configuring NR SS to establish NR cells, controlling the test terminal to download and upload services, and counting test results.
The intermediate module is mainly used for converting the test configuration information into a message structure which can be received by the NR SS and transmitting the message to the NR SS. And transmitting the message which needs to be fed back by the NR SS to the main control module.
Fig. 4 is a schematic diagram of an NR user plane service testing method provided by an embodiment of the present invention, and as shown in fig. 4, an embodiment of the present invention provides an NR user plane service testing method, where an execution body of the NR user plane service testing apparatus is an NR user plane service testing device, and the apparatus may be an independent device or may be a module integrated in an NR SS. The method comprises the following steps:
step S401, a first IP address and a second IP address are sent to a test terminal, wherein the first IP address is expressed as an IP address allocated to the test terminal, and the second IP address is expressed as an IP address allocated to a service server.
Specifically, fig. 5 is an interactive flow chart of an NR user plane service testing process provided by an embodiment of the present invention, as shown in fig. 5, first, a test case script written in a test language is loaded by an NR PTC module, and the test language may select TTCN-3. The test case script is written by a user in advance and is manually imported into the test PC so that the NR PTC module can load the test case script.
After the NR PTC module loads the test case script, the test configuration information is sent to an NR SS through a test PC carried by the NR PTC module, and the NR SS creates an NR cell according to the test configuration information.
After the test terminal is started, registering to the NR cell, at the moment, interaction of a signaling surface can be completed, and in the signaling interaction process, the NR SS sends a first Internet protocol (Internet Protocol, IP) address and a second IP address to the test terminal, wherein the first IP address refers to an IP address allocated to the test terminal by a network, and the second IP address refers to an IP address allocated to a service server.
The test terminal obtains the IP address allocated by the network according to the signaling interaction flow, and obtains the IP address of the service server.
And step S402, establishing an IP path between the test terminal and the service server according to the mapping relation between the first IP address and the second IP address.
Specifically, after sending the IP address allocated by the network to the test terminal and the IP address allocated to the service server, the NR PTC module issues a mapping relationship between the test terminal IP address and the service server IP address to the NR SS, and after the NR SS receives the mapping relationship between the test terminal IP address and the service server IP address, establishes and maintains an IP path between the test terminal and the service server according to the mapping relationship between the test terminal IP address and the service server IP address.
Step S403, after the user plane service test is initiated based on the IP path, the service performance index data grasped by each protocol layer in the NR system simulator is obtained.
Specifically, after the IP path between the test terminal and the service server is established, the user plane service test can be performed.
Service test software, such as FileZilla, etc., is pre-installed on the test terminal and the service server.
The NR user plane service test may be initiated from a test terminal or from a service server.
The test can be initiated manually or fully automatically.
When full-automatic test is carried out, the test PC is connected with a COM port of the test terminal through the USB interface, and the test terminal is controlled to initiate NR user plane service test by sending an AT command to the test terminal. The test PC is connected with the service server through a network cable, and the service server is controlled to initiate NR user plane service test by sending an AT command to the service server.
As in the full-automatic test shown in fig. 5, the NR PTC software module starts the service server side service test application, configures the service type, IP address and port number, and starts the terminal side service test application, configures the service type, IP address and port number. Then, the test terminal establishes an IP connection with the service server. And carrying out service data interaction between the NR SS and the service server, and carrying out air interface data interaction between the NR SS and the test terminal.
The user plane traffic includes uplink traffic and downlink traffic.
The data of the signaling surface and the data of the user surface are processed separately in the NR SS, the data of the signaling surface is transmitted to the test case script of the main control module through the intermediate module, and the data of the user surface is submitted to the service server for processing through the protocol adaptation module (Protocol Adaptation Module, PAM).
Fig. 6 is a process flow diagram of service data in an NR SS provided in an embodiment of the present invention, where, as shown in fig. 6, downlink data is sent by a service server to reach PAM, where the PAM is used to provide and maintain a link between the NR SS and the service server, so as to ensure that the service data can reach a protocol layer of the NR SS through an optical fiber path, after the data reaches the PAM layer, the PAM converts the data into a data format agreed between layers of PDCP, and then sends the data to the PDCP layer, each layer PDCP, RLC, MAC processes the downlink data according to protocol specifications of each layer, and finally, the data reaches the PHY layer and is sent to a test terminal through an air interface.
The uplink data reaches the PHY layer of the NR SS through the air interface of the test terminal, and is sequentially submitted to other protocol layers of the NR SS through processing, and MAC, RLC, PDCP processes the uplink data according to the specifications of the layers.
And after initiating user plane service test based on the IP path, acquiring service performance index data grasped by each protocol layer in the NR SS.
The service performance index of the user plane mainly comprises throughput, bit error rate, packet loss rate and the like, and the acquired service performance index data at least comprises one of the throughput, bit error rate and packet loss rate.
The embodiment of the invention provides an NR user plane service test method, which is used for carrying out NR user plane service test based on an NR system simulator, does not need to build a complex hardware test environment, has simple configuration and convenient test, and improves the test efficiency.
Based on any one of the foregoing embodiments, further, the acquiring service performance index data captured by each protocol layer in the NR system simulator specifically includes:
respectively acquiring the throughput grabbed by a packet data convergence protocol PDCP layer, a radio link control RLC layer and a medium access control MAC layer;
acquiring packet loss rate grabbed by the PDCP layer;
and acquiring the bit error rate grabbed by the physical PHY layer.
Specifically, the PDCP layer, RLC layer and MAC layer in the NR SS can all grasp the throughput of service data, and the PDCP layer can also grasp the packet loss rate, and the PHY layer mainly grasps the bit error rate.
In the embodiment of the invention, the service performance index data acquired by each protocol layer in the NR SS is mainly acquired by respectively acquiring the throughput acquired by the PDCP layer, the RLC layer and the MAC layer, the packet loss rate acquired by the PDCP layer and the error rate acquired by the PHY layer.
The embodiment of the invention provides a NR user plane service testing method, which can analyze the testing result of the user plane service in more detail and comprehensively by respectively grabbing different user plane service performance indexes by each layer of an NR SS protocol stack.
Based on any one of the foregoing embodiments, further, after obtaining the service performance index data captured by each protocol layer in the NR system simulator, the method further includes:
and sending the service performance index data to an NR parallel test assembly PTC module so that the NR PTC module can generate a test log according to the service performance index data, wherein the NR PTC module is used for realizing the test function of an NR network high layer.
Specifically, in the embodiment of the invention, after the service performance index data captured by each protocol layer in the NR SS is obtained, the service performance index data is sent to the NR PTC module, so that the NR PTC module can generate a test log according to the service performance index data, and the test result can be more intuitively consulted.
The embodiment of the invention provides an NR user plane service testing method, which is characterized in that a testing result is displayed in a test log form through an NR PTC module, so that a user can conveniently and quickly check the testing result.
Based on any of the foregoing embodiments, before the sending the first internet protocol IP address and the second IP address to the test terminal, the method further includes:
receiving NR cell configuration information sent by an NRPTC module;
and establishing an NR cell according to the NR cell configuration information.
Specifically, in the embodiment of the present invention, before sending the first IP address and the second IP address to the test terminal, the method further includes:
and receiving NR cell configuration information sent by the NRPTC module.
And establishing an NR cell according to the NR cell configuration information so as to enable the test terminal to access the NR cell.
The interaction flow for NR SS to establish NR cells is shown in fig. 5.
Firstly, an NR PTC module mounted in a test PC transmits NR cell configuration information to an NR SS, the NR SS receives the NR cell configuration information transmitted by the NR PTC module, and after the NR SS receives the NR cell configuration information, an NR cell is established according to the NR cell configuration information.
The NR SS then replies to the NR PTC module with an NR cell setup complete message.
Finally, the NR SS begins broadcasting system messages for the test terminal to access the NR cell.
The embodiment of the invention provides a NR user plane service testing method, which not only can test NR user plane service, but also can test terminal protocol consistency by testing the process of establishing a cell before service performance testing.
Based on any one of the foregoing embodiments, further, after establishing an NR cell according to the NR cell configuration information, the method further includes:
and receiving random access request information sent by the test terminal so as to enable the test terminal to register to the NR cell.
Specifically, in the embodiment of the invention, after the NR SS establishes an NR cell according to the NR cell configuration information, the NR SS receives random access request information sent by the test terminal so as to register the test terminal to the NR cell.
The interaction flow for testing the terminal access to the NR cell is shown in fig. 5.
And the NR PTC module carried in the test PC transmits a terminal startup AT command to the test terminal to instruct the test terminal to start up, and the test terminal returns to successful startup after starting up.
After the test terminal is started successfully, the NR cell is searched.
The test terminal starts a random access procedure.
The test terminal initiates a radio resource control (Radio Resource Control, RRC) link establishment request to the NR SS, which in turn sends the RRC link establishment request to the NR PTC module.
The NR PTC module configures wireless resources of NR SS: the NR PTC module transmits the radio resource configuration information to the NR SS, after the NR SS receives the radio resource configuration information, the NR SS performs radio resource configuration, and after the radio resource configuration of the NR SS is completed, the NR PTC module replies a configuration completion message.
The NR PTC module configures wireless resources of the test terminal: the NR PTC module transmits the radio resource configuration information to the NR SS, the NR SS receives the radio resource configuration information and then transmits the radio resource configuration information to the test terminal, and the test terminal receives the radio resource configuration information and then performs radio resource configuration.
After the radio resource configuration of the test terminal is completed, non-Access Stratum (NAS) registration request information is sent to the NR SS, and after the NR SS receives the NAS registration request information, the NAS registration request information is sent to the NR PTC module.
After the test terminal initiates the NAS registration request, the test terminal sends protocol data unit (Ptotocol Data Unit, PDU) session establishment request information to the NR SS, and after the NR SS receives the PDU session establishment request information, the NR SS sends the PDU session establishment request information to the NR PTC module.
After receiving the PDU session establishment request information, the NR PTC module transmits PDU session establishment receiving information to the NR SS, and after receiving the PDU session establishment receiving information, the NR SS transmits the PDU session establishment receiving information to the test terminal. When PDU session establishment receiving information is issued, the NR PTC module configures the testing terminal and NR SS service surface infinite resource at the same time.
After receiving the PDU session establishment receiving information, the test terminal obtains the IP address allocated to the test terminal by the NR network side, and also obtains the IP address of the service server.
The embodiment of the invention provides a NR user plane service testing method, which not only can test NR user plane service, but also can test the terminal protocol consistency by testing the random access process of a testing terminal before service performance testing.
Based on any of the above embodiments, further, the first IP address and the second IP address are carried in a protocol data unit PDU session establishment receive message.
Specifically, in the embodiment of the present invention, the IP address allocated to the test terminal by the network sent by the NR SS and the IP address allocated to the service server are carried in the PDU session establishment reception message.
The embodiment of the invention provides a NR user plane service testing method, wherein the IP address of a testing terminal and the IP address of a service server are loaded in the existing PDU session establishment receiving message, the implementation mode is simple, and the compatibility of the system is improved.
Based on any of the above embodiments, further, when the initiated user plane traffic test type is an uplink traffic test, in the process of performing the uplink traffic test, the method further includes:
and forwarding the uplink data according to the radio bearer type of the uplink data.
Specifically, in the embodiment of the present invention, when data arrives at the PDCP layer in the uplink service test, the PDCP layer determines whether the data needs to be sent to an NR PTC module or forwarded to PAM processing according to a Radio Bearer (RB) type of the data.
The signaling data is sent to an intermediate module in the NR PTC module, and the intermediate module forwards the signaling data to a test case script in the main control module.
The service data is converted into a data format which is in agreement with the PAM, then the data is sent to the PAM, after the PAM obtains the data, the data is packaged into an IP message, and the IP message is sent to a service server by an optical fiber path of the NR SS.
The embodiment of the invention provides a NR user plane service testing method, which is used for processing signaling plane data and user plane data separately in NR SS, so that the data processing efficiency is improved.
Fig. 7 is a schematic diagram of an NR user plane service testing apparatus provided by an embodiment of the present invention, and as shown in fig. 7, an embodiment of the present invention provides an NR user plane service testing apparatus, including: a sending module 701, an IP path establishing module 702 and an obtaining module 703, wherein:
the sending module 701 is configured to send a first IP address and a second IP address to a test terminal, where the first IP address is indicated as an IP address allocated to the test terminal, and the second IP address is indicated as an IP address allocated to a service server; the IP path establishing module 702 is configured to establish an IP path between the test terminal and the service server according to the mapping relationship between the first IP address and the second IP address; the acquiring module 703 is configured to acquire service performance index data captured by each protocol layer in the NR system simulator after the user plane service test is initiated based on the IP path.
Specifically, an embodiment of the present invention provides an NR user plane service testing apparatus, which is configured to execute a method in the foregoing corresponding embodiment, and specific steps of executing the method in the foregoing corresponding embodiment by using the apparatus provided by this embodiment are the same as those in the foregoing corresponding embodiment, and are not repeated herein.
The embodiment of the invention provides an NR user plane service testing device, which is used for carrying out NR user plane service testing based on an NR system simulator, does not need to build a complex hardware testing environment, has simple configuration and convenient testing, and improves the testing efficiency.
Based on any one of the above embodiments, further, the acquiring module includes a first acquiring sub-module, a second acquiring sub-module, and a third acquiring sub-module, where:
the first obtaining submodule is used for respectively obtaining the throughput grabbed by the packet data convergence protocol PDCP layer, the radio link control RLC layer and the medium access control MAC layer;
the second obtaining submodule is used for obtaining the packet loss rate grabbed by the PDCP layer;
the third obtaining sub-module is used for obtaining the bit error rate grabbed by the physical PHY layer.
Specifically, an embodiment of the present invention provides an NR user plane service testing apparatus, which is configured to execute a method in the foregoing corresponding embodiment, and specific steps of executing the method in the foregoing corresponding embodiment by using the apparatus provided by this embodiment are the same as those in the foregoing corresponding embodiment, and are not repeated herein.
The embodiment of the invention provides an NR user plane service testing device, which can analyze the testing result of user plane service in more detail and comprehensively by respectively grabbing different user plane service performance indexes through each layer of an NR SS protocol stack.
Based on any one of the above embodiments, further comprising a reporting module;
the reporting module is used for sending the service performance index data to the NR parallel testing component PTC module so that the NR PTC module can generate a testing log according to the service performance index data, and the NR PTC module is used for realizing the testing function of an NR network high layer.
Specifically, an embodiment of the present invention provides an NR user plane service testing apparatus, which is configured to execute a method in the foregoing corresponding embodiment, and specific steps of executing the method in the foregoing corresponding embodiment by using the apparatus provided by this embodiment are the same as those in the foregoing corresponding embodiment, and are not repeated herein.
The embodiment of the invention provides an NR user plane service testing device, which displays the testing result in a test log form through an NR PTC module, so that a user can conveniently and quickly check the testing result.
Based on any of the above embodiments, further comprising a receiving module and a cell establishment module, wherein:
the receiving module is used for receiving NR cell configuration information sent by the NR PTC module;
the cell establishing module is used for establishing an NR cell according to the NR cell configuration information.
Specifically, an embodiment of the present invention provides an NR user plane service testing apparatus, which is configured to execute a method in the foregoing corresponding embodiment, and specific steps of executing the method in the foregoing corresponding embodiment by using the apparatus provided by this embodiment are the same as those in the foregoing corresponding embodiment, and are not repeated herein.
The embodiment of the invention provides a NR user plane service testing device which not only can test NR user plane service, but also can test terminal protocol consistency by testing the process of establishing a cell before service performance test.
Based on any one of the above embodiments, further comprising a terminal registration processing module;
the terminal registration processing module is used for receiving random access request information sent by the test terminal so as to enable the test terminal to register to the NR cell.
Specifically, an embodiment of the present invention provides an NR user plane service testing apparatus, which is configured to execute a method in the foregoing corresponding embodiment, and specific steps of executing the method in the foregoing corresponding embodiment by using the apparatus provided by this embodiment are the same as those in the foregoing corresponding embodiment, and are not repeated herein.
The embodiment of the invention provides a NR user plane service testing device which not only can test NR user plane service, but also can test the terminal protocol consistency by testing the random access process of a testing terminal before service performance testing.
Based on any of the above embodiments, further, the first IP address and the second IP address are carried in a protocol data unit PDU session establishment receive message.
Specifically, an embodiment of the present invention provides an NR user plane service testing apparatus, which is configured to execute a method in the foregoing corresponding embodiment, and specific steps of executing the method in the foregoing corresponding embodiment by using the apparatus provided by this embodiment are the same as those in the foregoing corresponding embodiment, and are not repeated herein.
The embodiment of the invention provides an NR user plane service testing device, wherein the IP address of a testing terminal and the IP address of a service server are borne in the existing PDU session establishment receiving message, the implementation mode is simple, and the compatibility of the system is improved.
Based on any of the above embodiments, further comprising a forwarding module;
when the initiated user plane service test type is an uplink service test, the forwarding module is used for forwarding uplink data according to the radio bearer type of the uplink data in the process of performing the uplink service test.
Specifically, an embodiment of the present invention provides an NR user plane service testing apparatus, which is configured to execute a method in the foregoing corresponding embodiment, and specific steps of executing the method in the foregoing corresponding embodiment by using the apparatus provided by this embodiment are the same as those in the foregoing corresponding embodiment, and are not repeated herein.
The embodiment of the invention provides an NR user plane service testing device, which processes signaling plane data and user plane data separately in NR SS, thereby improving the data processing efficiency.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 8, where the electronic device includes: a processor 801, a communication interface (Communications Interface) 802, a memory 803, and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804. The processor 801 may call a computer program stored on the memory 803 and executable on the processor 801 to perform the steps of:
sending a first Internet Protocol (IP) address and a second IP address to a test terminal, wherein the first IP address is expressed as an IP address allocated to the test terminal, and the second IP address is expressed as an IP address allocated to a service server;
according to the mapping relation between the first IP address and the second IP address, an IP path between the test terminal and the service server is established;
and after the user plane service test is initiated based on the IP path, acquiring service performance index data grasped by each protocol layer in the NR system simulator.
Further, the logic instructions in the memory 803 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Further, embodiments of the present invention provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the steps of the method embodiments described above, for example comprising:
sending a first Internet Protocol (IP) address and a second IP address to a test terminal, wherein the first IP address is expressed as an IP address allocated to the test terminal, and the second IP address is expressed as an IP address allocated to a service server;
according to the mapping relation between the first IP address and the second IP address, an IP path between the test terminal and the service server is established;
and after the user plane service test is initiated based on the IP path, acquiring service performance index data grasped by each protocol layer in the NR system simulator.
Further, embodiments of the present invention provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method embodiments described above, for example, including:
sending a first Internet Protocol (IP) address and a second IP address to a test terminal, wherein the first IP address is expressed as an IP address allocated to the test terminal, and the second IP address is expressed as an IP address allocated to a service server;
according to the mapping relation between the first IP address and the second IP address, an IP path between the test terminal and the service server is established;
and after the user plane service test is initiated based on the IP path, acquiring service performance index data grasped by each protocol layer in the NR system simulator.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (16)

1. A new air interface NR user plane service test method is characterized by comprising the following steps:
sending a first Internet Protocol (IP) address and a second IP address to a test terminal, wherein the first IP address is expressed as an IP address allocated to the test terminal, and the second IP address is expressed as an IP address allocated to a service server;
according to the mapping relation between the first IP address and the second IP address, an IP path between the test terminal and the service server is established;
and after the user plane service test is initiated based on the IP path, acquiring service performance index data grasped by each protocol layer in the NR system simulator.
2. The NR user plane service testing method according to claim 1, wherein the obtaining service performance index data grabbed by each protocol layer in the NR system simulator specifically includes:
respectively acquiring the throughput grabbed by a packet data convergence protocol PDCP layer, a radio link control RLC layer and a medium access control MAC layer;
acquiring packet loss rate grabbed by the PDCP layer;
and acquiring the bit error rate grabbed by the physical PHY layer.
3. The NR user plane service testing method according to claim 1, wherein after obtaining the service performance index data captured by each protocol layer in the NR system simulator, the method further comprises:
and sending the service performance index data to an NR parallel test assembly PTC module so that the NR PTC module can generate a test log according to the service performance index data, wherein the NR PTC module is used for realizing the test function of an NR network high layer.
4. The NR user plane service testing method according to claim 1, wherein before the sending the first internet protocol IP address and the second IP address to the test terminal, further comprising:
receiving NR cell configuration information sent by an NR PTC module;
and establishing an NR cell according to the NR cell configuration information.
5. The NR user plane service testing method according to claim 4, wherein after establishing an NR cell according to the NR cell configuration information, further comprising:
and receiving random access request information sent by the test terminal so as to enable the test terminal to register to the NR cell.
6. The NR user plane traffic testing method of claim 1 wherein the first IP address and the second IP address are carried in a protocol data unit PDU session establishment receive message.
7. The NR user plane traffic testing method according to any one of claims 1-6, wherein when the initiated user plane traffic test type is an uplink traffic test, during the uplink traffic test, further comprising:
and forwarding the uplink data according to the radio bearer type of the uplink data.
8. An NR user plane service testing apparatus, comprising:
the system comprises a test terminal, a sending module, a service server and a sending module, wherein the test terminal is used for sending a first IP address and a second IP address to the test terminal, the first IP address is represented as an IP address allocated to the test terminal, and the second IP address is represented as an IP address allocated to the service server;
the IP access establishing module is used for establishing an IP access between the test terminal and the service server according to the mapping relation between the first IP address and the second IP address;
and the acquisition module is used for acquiring the service performance index data acquired by each protocol layer in the NR system simulator after the user plane service test is initiated based on the IP path.
9. The NR user plane traffic testing apparatus of claim 8 wherein the acquisition module comprises a first acquisition sub-module, a second acquisition sub-module, and a third acquisition sub-module, wherein:
the first obtaining submodule is used for respectively obtaining the throughput grabbed by the packet data convergence protocol PDCP layer, the radio link control RLC layer and the medium access control MAC layer;
the second obtaining submodule is used for obtaining the packet loss rate grabbed by the PDCP layer;
the third obtaining sub-module is used for obtaining the bit error rate grabbed by the physical PHY layer.
10. The NR user plane service testing apparatus of claim 8 further comprising a reporting module;
the reporting module is used for sending the service performance index data to the NR parallel testing component PTC module so that the NR PTC module can generate a testing log according to the service performance index data, and the NR PTC module is used for realizing the testing function of an NR network high layer.
11. The NR user plane traffic testing apparatus of claim 8 further comprising a receiving module and a cell setup module, wherein:
the receiving module is used for receiving NR cell configuration information sent by the NR PTC module;
the cell establishing module is used for establishing an NR cell according to the NR cell configuration information.
12. The NR user plane traffic testing apparatus of claim 11 further comprising a terminal registration processing module;
the terminal registration processing module is used for receiving random access request information sent by the test terminal so as to enable the test terminal to register to the NR cell.
13. The NR user plane traffic testing apparatus of claim 8 wherein the first IP address and the second IP address are carried in a protocol data unit PDU session establishment receive message.
14. The NR user plane traffic testing apparatus according to any one of claims 8-13, further comprising a forwarding module;
when the initiated user plane service test type is an uplink service test, the forwarding module is used for forwarding uplink data according to the radio bearer type of the uplink data in the process of performing the uplink service test.
15. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, performs the steps of the NR user plane traffic testing method according to any one of claims 1 to 7.
16. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the steps of the NR user plane traffic testing method according to any of claims 1 to 7 are implemented when said computer program is executed by a processor.
CN202010379186.1A 2020-05-07 2020-05-07 NR user plane service testing method and device Active CN113630802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010379186.1A CN113630802B (en) 2020-05-07 2020-05-07 NR user plane service testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010379186.1A CN113630802B (en) 2020-05-07 2020-05-07 NR user plane service testing method and device

Publications (2)

Publication Number Publication Date
CN113630802A CN113630802A (en) 2021-11-09
CN113630802B true CN113630802B (en) 2024-02-20

Family

ID=78377050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010379186.1A Active CN113630802B (en) 2020-05-07 2020-05-07 NR user plane service testing method and device

Country Status (1)

Country Link
CN (1) CN113630802B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112867054A (en) * 2021-02-07 2021-05-28 中国移动通信有限公司研究院 Test method, test device, test system and storage medium
CN114258030A (en) * 2021-12-09 2022-03-29 北京泰德东腾通信技术有限公司 Dynamic spectrum sharing test method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572676A (en) * 2009-06-17 2009-11-04 杭州华三通信技术有限公司 Load sharing method and equipment of double outlets at data center
CN101998473A (en) * 2009-08-10 2011-03-30 鼎桥通信技术有限公司 System for testing performance of communication equipment
CN102387516A (en) * 2010-09-03 2012-03-21 鼎桥通信技术有限公司 PS operation analog system and test method for NodeB test
CN103945443A (en) * 2014-05-09 2014-07-23 江苏鑫软图无线技术有限公司 Test method and system for TD-LTE (Internal Tandem Duplication-Line Termination Equipment) wireless network service performance
CN104239198A (en) * 2013-06-09 2014-12-24 展讯通信(上海)有限公司 Intelligent cell phone, software testing method and system of intelligent cell phone, and server
CN105634876A (en) * 2016-03-08 2016-06-01 中国联合网络通信集团有限公司 Terminal performance testing method and system
WO2016188181A1 (en) * 2015-10-30 2016-12-01 中兴通讯股份有限公司 Test method, mobile terminal, server and computer storage medium
WO2017152880A1 (en) * 2016-03-11 2017-09-14 中兴通讯股份有限公司 Method for testing performance of mobile network, mobile terminal, server and testing system
CN108574604A (en) * 2017-03-07 2018-09-25 北京京东尚科信息技术有限公司 test method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404544B (en) * 2016-05-19 2020-10-30 联想企业解决方案(新加坡)有限公司 Method and apparatus for IP address assignment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572676A (en) * 2009-06-17 2009-11-04 杭州华三通信技术有限公司 Load sharing method and equipment of double outlets at data center
CN101998473A (en) * 2009-08-10 2011-03-30 鼎桥通信技术有限公司 System for testing performance of communication equipment
CN102387516A (en) * 2010-09-03 2012-03-21 鼎桥通信技术有限公司 PS operation analog system and test method for NodeB test
CN104239198A (en) * 2013-06-09 2014-12-24 展讯通信(上海)有限公司 Intelligent cell phone, software testing method and system of intelligent cell phone, and server
CN103945443A (en) * 2014-05-09 2014-07-23 江苏鑫软图无线技术有限公司 Test method and system for TD-LTE (Internal Tandem Duplication-Line Termination Equipment) wireless network service performance
WO2016188181A1 (en) * 2015-10-30 2016-12-01 中兴通讯股份有限公司 Test method, mobile terminal, server and computer storage medium
CN105634876A (en) * 2016-03-08 2016-06-01 中国联合网络通信集团有限公司 Terminal performance testing method and system
WO2017152880A1 (en) * 2016-03-11 2017-09-14 中兴通讯股份有限公司 Method for testing performance of mobile network, mobile terminal, server and testing system
CN108574604A (en) * 2017-03-07 2018-09-25 北京京东尚科信息技术有限公司 test method and device

Also Published As

Publication number Publication date
CN113630802A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
JP6945659B2 (en) Information processing method and related equipment
CN110876156B (en) Method, system and computer readable medium for testing a central unit
EP3585095A1 (en) Method for controlling quality of service, and device, smf, upf, ue, pcf and an therefor
CN101237466B (en) Network configuration method, device and system for terminal
US9294945B2 (en) Test apparatus and test method
CN113630802B (en) NR user plane service testing method and device
CN101005411B (en) Circuit-type data service automatic test system, device and method
US7894384B2 (en) Packet data load generator system for 1×-EVDO wireless network
CN112333019B (en) Router configuration and test method and system and readable storage medium
WO2019027480A1 (en) Transport method selection for delivery of server notifications
Amini et al. 5g diy: Impact of different elements on the performance of an e2e 5g standalone testbed
CN114024598B (en) Fronthaul interface testing method and device
WO2023134312A1 (en) Content charging test method, management device, terminal device and storage medium
CN106921448B (en) Method and device for testing satellite communication system
Bozis et al. A Versatile 5G Standalone Testbed Based On Commodity Hardware
Bozis et al. Enhancing 5G performance: A standalone system platform with customizable features
CN101384060A (en) The Method of Upgrading the R99 Network
CN103023940A (en) Method and device for transmitting data between PC (Personal Computer) and mobile terminal
CN116112943B (en) A simulation communication system and its deployment method, and a simulation communication test method
CN111726823B (en) EN-DC link establishment method and device suitable for testing
EP3531739B1 (en) Testing the resource reservation behavior of at least a first device under test in an emulated device-to-device network environment
CN102891900A (en) Domain name resolution method, device and system during traffic offloading
CN103297966B (en) Realize the access authentication method and device of WLAN
CN116170895A (en) Information transmission method, terminal and network equipment
CN101437029A (en) Data transmission method, local maintenance terminal, proxy equipment and system

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