CN111193641B - Terminal network testing method, device, base station equipment and storage medium - Google Patents

Terminal network testing method, device, base station equipment and storage medium Download PDF

Info

Publication number
CN111193641B
CN111193641B CN201911376171.3A CN201911376171A CN111193641B CN 111193641 B CN111193641 B CN 111193641B CN 201911376171 A CN201911376171 A CN 201911376171A CN 111193641 B CN111193641 B CN 111193641B
Authority
CN
China
Prior art keywords
network
message
base station
monitoring system
terminal
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
CN201911376171.3A
Other languages
Chinese (zh)
Other versions
CN111193641A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN201911376171.3A priority Critical patent/CN111193641B/en
Publication of CN111193641A publication Critical patent/CN111193641A/en
Application granted granted Critical
Publication of CN111193641B publication Critical patent/CN111193641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/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/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Abstract

The application relates to a terminal network testing method, a device, base station equipment and a storage medium, wherein the base station equipment stores network data of the terminal equipment in a mirror image manner to obtain a network data copy; processing the network data copy to restore an internet protocol address (IP) message in the network data; and sending the IP message to a monitoring system, and testing the network transmission index of the terminal equipment through the monitoring system based on the IP message. By adopting the method, the efficiency of the terminal network test can be improved, and the cost of the terminal network test can be reduced.

Description

Terminal network testing method, device, base station equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for testing a terminal network, a base station device, and a storage medium.
Background
In the technical field of mobile communication, commercial coverage construction of a base station often faces complex and variable wireless side air interface environments, and how to intuitively analyze data transmission performance of terminal equipment is helpful for a network manager to perform network optimization and network monitoring.
In the conventional technology, when testing an IP network of a terminal device, a worker mainly acquires network data of the terminal device manually, captures an IP packet in the network data, and then obtains a test result of the terminal IP network by analyzing the IP packet.
However, with the above method, the cost of manually analyzing the IP network of the terminal by the staff is high.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a terminal network testing method, apparatus, base station device and storage medium for solving the above technical problems.
A terminal network testing method comprises the following steps:
mirroring network data of the terminal equipment to obtain a network data copy;
processing the network data copy to restore an internet protocol address (IP) message in the network data;
and sending the IP message to a monitoring system, and testing the network transmission index of the terminal equipment through the monitoring system based on the IP message.
In one embodiment, the network data is a gprs tunneling protocol GTP message transmitted between a PDCP layer in the base station and the access network.
In one embodiment, the processing the network data copy to restore an IP packet of an internet protocol address in the network data includes:
determining a GTP tunnel header in a GTP message according to a GTP protocol;
and removing the GTP tunnel head in the GTP message to obtain the IP message.
In one embodiment, the sending the IP packet to the monitoring system includes:
acquiring the head of the Ethernet message according to the physical address of the monitoring system and the physical address of each network device; the network equipment comprises base station equipment and access network equipment connected with the base station equipment;
adding the Ethernet message head before the IP message to form an Ethernet message;
and sending the Ethernet message to a monitoring system.
In one embodiment, the obtaining the ethernet packet header according to the physical address of the monitoring system and the physical addresses of the network devices includes:
setting a physical address of a monitoring system as a destination address in an Ethernet message header;
and setting a source address in the Ethernet message header according to the physical address of each network device.
In one embodiment, the setting a source address in an ethernet packet header according to a physical address of each network device includes:
for uplink transmission, setting the physical address of the base station equipment as a source address in an Ethernet message header;
for downlink transmission, the physical address of the access network device is set as the source address in the ethernet packet header.
In one embodiment, the monitoring system obtains a network transmission indicator of the terminal device by using a network monitoring tool TCPLSTAT; the network transmission index comprises at least one of dynamic display packet loss rate, maximum time delay, minimum time delay and average time delay.
A terminal network testing apparatus, said apparatus comprising:
the mirror image module is used for mirror image storage of the network data of the terminal equipment to obtain a network data copy;
the processing module is used for processing the network data copy so as to restore an internet protocol address (IP) message in the network data;
and the sending module is used for sending the IP message to the monitoring system and testing the network transmission index of the terminal equipment based on the IP message through the monitoring system.
A base station device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the terminal network testing method when executing the computer program.
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 terminal network testing method.
According to the terminal network testing method, the terminal network testing device, the base station equipment and the storage medium, the base station equipment mirrors and stores the network data of the terminal equipment to obtain the network data copy; processing the network data copy to restore an internet protocol address (IP) message in the network data; and sending the IP message to a monitoring system, and testing the network transmission index of the terminal equipment through the monitoring system based on the IP message. Because the base station equipment processes the network data copy, the IP message in the network data is restored without manually analyzing the message, and the efficiency of terminal network testing is improved; furthermore, the base station equipment sends the IP message to the monitoring equipment, so that the monitoring system can obtain the network transmission indexes of each terminal equipment in the current base station according to the message and analyze the network transmission indexes more intuitively, and the cost of terminal network test is reduced; to sum up, this application is through improving traditional basic station, increases mirror image storage, two layers and forwards, and the mode with the bypass with the help of monitored control system does not have the perception ground real-time analysis terminal IP network transmission condition simultaneously, promotes the investigation and the optimization progress of network transmission problem, reduces the cost of problem analysis in the network transmission, has reduced operator unnecessary manpower and materials loss, promotes operator's economic benefits.
Drawings
FIG. 1 is a diagram of an exemplary environment in which a method for testing a terminal network may be implemented;
FIG. 2 is a flowchart illustrating a method for testing a terminal network according to an embodiment;
FIG. 2A is a diagram illustrating an application of a method for testing a terminal network according to an embodiment;
FIG. 3 is a flowchart illustrating a method for testing a terminal network according to another embodiment;
FIG. 4 is a flowchart illustrating a method for testing a terminal network according to another embodiment;
FIG. 5 is a block diagram showing the structure of a terminal network test apparatus according to an embodiment;
FIG. 6 is a block diagram showing the structure of a terminal network test apparatus according to another embodiment;
FIG. 7 is a block diagram showing the structure of a terminal network test apparatus according to another embodiment;
fig. 8 is an internal configuration diagram of a base station apparatus in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The terminal network testing method provided by the application can be applied to the application environment shown in fig. 1. The base station apparatus 100 is communicatively connected to the terminal apparatus 200 and the monitoring system 300, respectively. The terminal 200 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, portable wearable devices, and the like. The Base Station device 100 may be, but not limited to, a macro Base Station, a micro Base Station, a small Base Station, and other types of Base Station devices, and may be a Base Station (BTS) in Global System for Mobile communication (GSM) or Code Division Multiple Access (CDMA), a Base Station (NodeB, NB) in Wideband Code Division Multiple Access (WCDMA), an evolved Node B (eNB, eNodeB) in LTE, a relay Station, an Access point, a Base Station in a future 5G network, a Customer Premise Equipment (CPE), and the like, and is not limited herein. The monitoring system 300 may be implemented by a single server or a server cluster composed of a plurality of servers.
In an embodiment, as shown in fig. 2, a terminal network testing method is provided, which is described by taking the application of the method to the base station apparatus 100 in fig. 1 as an example, and includes:
s101, mirroring the network data of the terminal equipment, and obtaining a network data copy.
The network data of the terminal device may be data used for analyzing a network transmission index of the terminal device, may be transmission data between the base station device and the access network, and may also be transmission data between physical layers in the base station device, which is not limited herein.
Optionally, the network data is a general packet radio service technology tunneling protocol GTP message transmitted between a packet data convergence protocol PDCP layer in the base station device and the access network device.
The Packet Data Convergence Protocol (PDCP) layer belongs to a second layer of a Radio interface Protocol stack, and processes a Radio Resource Control (RRC) message on a Control plane and an internet Protocol (internet Protocol, IP) message on a user plane. On the user plane, the PDCP layer may group the obtained IP packet from the RRC layer, perform header compression and encryption on the IP packet, and then deliver the IP packet to a Radio Link Control (RLC) layer; in addition, the PDCP layer may also provide in-order commit and duplicate packet detection functions to upper layers. In the control plane, the PDCP layer may provide a signaling transport service for the RRC layer and implement ciphering and consistency protection of RRC signaling, and decryption and consistency check of RRC signaling in the reverse direction.
The GTP message refers to data transmitted based on a General Packet Radio Service Tunnel (GTP) Protocol; the GTP Protocol is carried on a Transmission Control Protocol (TCP) or a User Datagram Protocol (UDP), and is divided into a signaling layer and a Transmission layer. The signaling layer may include various types of request messages such as establishment, management, use, and release; the above-mentioned transmission layer is mainly used for transmitting data.
The network data may include an IP packet of the terminal device, and the IP packet may include service data uploaded by the user, an IP address of the terminal device, a destination address of the service data, and the like.
The mirror image storage refers to that the base station equipment stores the network data to obtain a network data copy. Specifically, when the base station device performs mirror image storage on the network data, how to mirror image and store all the network data in the PDCP layer of the current base station device, or store part of the network data, which is not limited herein. The base station device may mirror and store the network data in real time, or may store the network data under the control of the test instruction, and the mirror storage manner is not limited herein.
And S102, processing the network data copy to restore the IP message of the Internet protocol address in the network data.
Because the network data is transmitted based on the protocol types such as the GTP protocol, the network data is encrypted data and includes header encapsulation such as the GTP header sequence number, so the monitoring system cannot directly analyze the encrypted GTP packet and needs to decrypt the network data.
Specifically, the base station device may decrypt the network data copy, and then extract the IP packet from the decrypted network data. In addition, the base station equipment can also filter network data and extract data required by terminal network test; the integrity protection processing may also be performed on the network data copy, and the processing manner is not limited herein.
When the base station device extracts the IP packet from the decrypted network data copy, the IP packet may be extracted according to the network transmission protocol and the position of the IP packet, or may be extracted according to the corresponding character identifier in front of the IP packet, which is not limited herein.
The IP message may be in IPV4 format or IPV6 format, which is not limited herein.
After the base station equipment decrypts the network data copy, the monitoring system can analyze the decrypted data without manual processing.
S103, the IP message is sent to a monitoring system, and the network transmission index of the terminal equipment is tested through the monitoring system based on the IP message.
On the basis of the above steps, the base station device may send the processed IP packet to the monitoring system. The monitoring system is a system which is located outside the base station and used for monitoring the network transmission performance of the terminal equipment by a user, can obtain the network transmission index of the terminal equipment, and can remind workers to optimize the network according to the network transmission index.
Specifically, the base station device may send the obtained IP packet in real time, or may send the IP packet at a fixed time, which is not limited herein. The base station device may actively send the IP packet to the monitoring system, or may perform the sending step after receiving the sending instruction, which is not limited herein.
The base station equipment can send the IP message to the monitoring system in a wired connection mode and can also send the IP message in a wireless connection mode.
Further, the monitoring system can test the IP message to obtain the network transmission index of the terminal equipment. The network transmission index may be a packet loss rate of the terminal device, or may be a transmission delay or a reception delay of the terminal device; the type of network transmission indicator is not limited herein.
Optionally, the monitoring system may use a network monitoring tool TCPLSTAT to obtain a network transmission index of the terminal device; the network monitoring tool has a strong monitoring function, can visually and visually display network transmission indexes, analyzes the network transmission indexes, provides a strong basis for the commercial coverage of a base station and the rate problem investigation, and provides effective test support for the transmission optimization of the LTE wireless side. The network transmission index may include at least one of a dynamic display packet loss rate, a maximum delay, a minimum delay, and an average delay.
Taking the base station device shown in fig. 2A as an example to explain the above process, the base station device mirror-images and stores GTP messages between the PDCP layer and the access network device, and obtains GTP message copies; then, the GTP message copy is processed, an IP message in the GTP message is restored, and finally the IP message is sent to the monitoring system. The monitoring system may test network transmission indicators of the terminal device based on the IP messages.
In the terminal network testing method, the base station equipment mirror image stores the network data of the terminal equipment to obtain a network data copy; processing the network data copy to restore an internet protocol address (IP) message in the network data; and sending the IP message to a monitoring system, and testing the network transmission index of the terminal equipment through the monitoring system based on the IP message. Because the base station equipment processes the network data copy, the IP message in the network data is restored without manually analyzing the message, and the efficiency of terminal network testing is improved; furthermore, the base station equipment sends the IP message to the monitoring equipment, so that the monitoring system can obtain the network transmission indexes of each terminal equipment in the current base station according to the message and analyze the network transmission indexes more intuitively, and the cost of terminal network test is reduced; to sum up, this application is through improving traditional basic station, increases mirror image storage, two layers and forwards, and the mode with the bypass with the help of monitored control system does not have the perception ground real-time analysis terminal IP network transmission condition simultaneously, promotes the investigation and the optimization progress of network transmission problem, reduces the cost of problem analysis in the network transmission, has reduced operator unnecessary manpower and materials loss, promotes operator's economic benefits.
Fig. 3 is a diagram illustrating a method for testing a terminal network according to an embodiment. Based on the foregoing embodiment, as shown in fig. 3, the foregoing S102 includes:
s201, determining a GTP tunnel header in a GTP message according to a GTP protocol.
The GPT tunnel header refers to a header encapsulation of the GTP packet, and may include information such as a protocol version, a message type, and a tunnel identifier. The base station device may determine which part of information in the GTP message is a GTP tunnel header and which part of information is an IP message according to the GTP protocol.
S202, removing a GTP tunnel head in the GTP message to obtain the IP message.
Further, the base station device may remove a GTP tunnel header in the GTP message to obtain the unencrypted IP message.
According to the terminal network testing method, the base station equipment obtains the IP message by detaching the GTP tunnel head of the GTP message, so that the unencrypted IP message can be sent to the monitoring system, and the monitoring system can analyze the IP message conveniently.
Fig. 4 is a diagram illustrating a method for testing a terminal network according to an embodiment. Based on the foregoing embodiment, as shown in fig. 4, the foregoing S103 includes:
s301, acquiring the head of the Ethernet message according to the physical address of the monitoring system and the physical addresses of the network devices; the network device includes a base station device and an access network device connected to the base station device.
When the base station equipment sends the IP message to the monitoring system, the Ethernet message header can be added in front of the IP message, so that the IP message can be sent to the monitoring system through the Ethernet.
Specifically, the base station device may generate an ethernet packet header according to a physical address of the monitoring system, a physical address of the base station device, or a physical address of the access network device.
Specifically, the base station device may set a physical address of the monitoring system as a destination address in an ethernet packet header; and then setting a source address in the Ethernet message header according to the physical address of each network device. Through the steps, the base station equipment can send the IP message carrying the Ethernet message header to the monitoring system.
When the base station device sets a source address in the ethernet packet header, the source address may be determined according to whether the current network data is uplink data or downlink data.
Specifically, for uplink transmission, the base station device may set a physical address of the base station device as a source address in an ethernet packet header; for downlink transmission, the base station device sets the physical address of the access network device as the source address in the header of the ethernet packet.
Through the source address in the ethernet packet header, it can be determined which network device sent the IP packet.
S302, adding the Ethernet message header to the front of the IP message to form the Ethernet message.
S303, sending the Ethernet message to a monitoring system.
After acquiring the ethernet packet, the base station device may add the ethernet packet header to the front of the IP packet to form the ethernet packet, and then send the ethernet packet to the monitoring system through the ethernet.
According to the terminal network testing method, the base station equipment adds the Ethernet message header before the IP message, so that the IP message can be sent to the monitoring system through the Ethernet, and the reliability of IP message sending is improved.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a terminal network testing apparatus including: a mirror module 10, a processing module 20 and a sending module 30, wherein:
the mirror image module 10 is used for mirror image storage of network data of the terminal equipment to obtain a network data copy;
the processing module 20 is configured to process the network data copy to restore an internet protocol address IP packet in the network data;
and the sending module 30 is configured to send the IP packet to the monitoring system, and test a network transmission index of the terminal device based on the IP packet through the monitoring system.
The terminal network testing device provided by the embodiment of the application can realize the method embodiment, the realization principle and the technical effect are similar, and the details are not repeated.
In one embodiment, based on the above embodiments, the network data is a general packet radio service technology tunneling protocol GTP message transmitted between a packet data convergence protocol PDCP layer in the base station device and the access network device.
In one embodiment, as shown in fig. 6, on the basis of the above embodiment, the processing module 20 includes:
a determining unit 201, configured to determine a GTP tunnel header in a GTP message according to a GTP protocol;
the removing unit 202 is configured to remove a GTP tunnel header in the GTP message to obtain the IP message.
In an embodiment, as shown in fig. 7, on the basis of the above embodiment, the sending module 30 includes:
an obtaining unit 301, configured to obtain an ethernet packet header according to a physical address of the monitoring system and physical addresses of each network device; the network equipment comprises base station equipment and access network equipment connected with the base station equipment;
an adding unit 302, configured to add an ethernet packet header to the IP packet to form an ethernet packet;
a sending unit 303, configured to send the ethernet packet to the monitoring system.
In an embodiment, on the basis of the above embodiment, the obtaining unit 301 is specifically configured to: setting a physical address of a monitoring system as a destination address in an Ethernet message header; and setting a source address in the Ethernet message header according to the physical address of each network device.
In an embodiment, on the basis of the above embodiment, the obtaining unit 301 is specifically configured to: for uplink transmission, setting the physical address of the base station equipment as a source address in an Ethernet message header; for downlink transmission, the physical address of the access network device is set as the source address in the ethernet packet header.
In one embodiment, on the basis of the above embodiment, the monitoring system uses a network monitoring tool TCPLSTAT to obtain a network transmission index of the terminal device; the network transmission index comprises at least one of dynamic display packet loss rate, maximum time delay, minimum time delay and average time delay.
The terminal network testing device provided by the embodiment of the application can realize the method embodiment, the realization principle and the technical effect are similar, and the details are not repeated.
For the specific limitations of the terminal network testing device, reference may be made to the above limitations of the terminal network testing method, which are not described herein again. All or part of each module in the terminal network testing device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a base station apparatus is provided, an internal structure diagram of which may be as shown in fig. 8. The base station device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the base station device is configured to provide computing and control capabilities. The memory of the base station device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the base station device is used for storing terminal network test data. The network interface of the base station apparatus is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a terminal network testing method.
Those skilled in the art will appreciate that the structure shown in fig. 8 is a block diagram of only a portion of the structure relevant to the present application, and does not constitute a limitation on the base station apparatus to which the present application is applied, and a particular base station apparatus may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
In one embodiment, there is provided a base station device comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program implementing the steps of:
mirroring network data of the terminal equipment to obtain a network data copy;
processing the network data copy to restore an internet protocol address (IP) message in the network data;
and sending the IP message to a monitoring system, and testing the network transmission index of the terminal equipment through the monitoring system based on the IP message.
In one embodiment, the network data is a general packet radio service technology tunneling protocol, GTP, message transmitted between a packet data convergence protocol, PDCP, layer in the base station device and the access network device.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining a GTP tunnel header in a GTP message according to a GTP protocol; and removing the GTP tunnel head in the GTP message to obtain the IP message.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the head of the Ethernet message according to the physical address of the monitoring system and the physical address of each network device; the network equipment comprises base station equipment and access network equipment connected with the base station equipment; adding the Ethernet message head before the IP message to form an Ethernet message; and sending the Ethernet message to a monitoring system.
In one embodiment, the processor, when executing the computer program, further performs the steps of: setting a physical address of a monitoring system as a destination address in an Ethernet message header; and setting a source address in the Ethernet message header according to the physical address of each network device.
In one embodiment, the processor, when executing the computer program, further performs the steps of: for uplink transmission, setting the physical address of the base station equipment as a source address in an Ethernet message header; for downlink transmission, the physical address of the access network device is set as the source address in the ethernet packet header.
In one embodiment, the monitoring system adopts a network monitoring tool TCPLSTAT to obtain a network transmission index of the terminal device; the network transmission index comprises at least one of dynamic display packet loss rate, maximum time delay, minimum time delay and average time delay.
The implementation principle and technical effect of the base station device provided in this embodiment are similar to those of the method embodiments described above, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
mirroring network data of the terminal equipment to obtain a network data copy;
processing the network data copy to restore an internet protocol address (IP) message in the network data;
and sending the IP message to a monitoring system, and testing the network transmission index of the terminal equipment through the monitoring system based on the IP message.
In one embodiment, the network data is a general packet radio service technology tunneling protocol, GTP, message transmitted between a packet data convergence protocol, PDCP, layer in the base station device and the access network device.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a GTP tunnel header in a GTP message according to a GTP protocol; and removing the GTP tunnel head in the GTP message to obtain the IP message.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the head of the Ethernet message according to the physical address of the monitoring system and the physical address of each network device; the network equipment comprises base station equipment and access network equipment connected with the base station equipment; adding the Ethernet message head before the IP message to form an Ethernet message; and sending the Ethernet message to a monitoring system.
In one embodiment, the computer program when executed by the processor further performs the steps of: setting a physical address of a monitoring system as a destination address in an Ethernet message header; and setting a source address in the Ethernet message header according to the physical address of each network device.
In one embodiment, the computer program when executed by the processor further performs the steps of: for uplink transmission, setting the physical address of the base station equipment as a source address in an Ethernet message header; for downlink transmission, the physical address of the access network device is set as the source address in the ethernet packet header.
In one embodiment, the monitoring system adopts a network monitoring tool TCPLSTAT to obtain a network transmission index of the terminal device; the network transmission index comprises at least one of dynamic display packet loss rate, maximum time delay, minimum time delay and average time delay.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), and direct bus dynamic RAM (DRDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A terminal network testing method is applied to base station equipment, and the method comprises the following steps:
mirroring network data of the terminal equipment to obtain a network data copy; the network data is a general packet radio service technology tunneling protocol (GTP) message transmitted between a Packet Data Convergence Protocol (PDCP) layer in the base station equipment and the access network equipment;
processing the network data copy to restore an internet protocol address (IP) message in the network data;
sending the IP message to a monitoring system, and testing the network transmission index of the terminal equipment through the monitoring system based on the IP message; and the monitoring system is positioned outside the base station and used for obtaining and displaying the network transmission index of the terminal equipment.
2. The method for testing a terminal network according to claim 1, wherein the processing the network data copy to restore IP packets of internet protocol addresses in the network data comprises:
determining a GTP tunnel header in the GTP message according to a GTP protocol;
and removing a GTP tunnel head in the GTP message to obtain the IP message.
3. The method for testing a terminal network according to any one of claims 1-2, wherein the sending the IP packet to a monitoring system comprises:
acquiring the head of the Ethernet message according to the physical address of the monitoring system and the physical addresses of the network devices; the network equipment comprises base station equipment and access network equipment connected with the base station equipment;
adding the Ethernet message header to the front of the IP message to form an Ethernet message;
and sending the Ethernet message to the monitoring system.
4. The method according to claim 3, wherein the obtaining an ethernet packet header according to the physical address of the monitoring system and the physical addresses of the network devices comprises:
setting the physical address of the monitoring system as a destination address in the Ethernet message header;
and setting a source address in the Ethernet message header according to the physical address of each network device.
5. The method according to claim 4, wherein the setting a source address in the ethernet packet header according to the physical address of each network device comprises:
for uplink transmission, setting the physical address of the base station equipment as a source address in the Ethernet message header;
for downlink transmission, the physical address of the access network device is set as the source address in the ethernet message header.
6. A terminal network testing method according to any of claims 1-2, characterized in that the monitoring system employs a network monitoring tool TCPLSTAT to obtain the network transmission metrics of the terminal device; the network transmission index comprises at least one of dynamic display packet loss rate, maximum time delay, minimum time delay and average time delay.
7. A terminal network testing device is applied to a base station device, and the device comprises:
the mirror image module is used for mirror image storage of the network data of the terminal equipment to obtain a network data copy; the network data is a general packet radio service technology tunneling protocol (GTP) message transmitted between a Packet Data Convergence Protocol (PDCP) layer in the base station equipment and the access network equipment;
the processing module is used for processing the network data copy so as to restore an internet protocol address (IP) message in the network data;
the sending module is used for sending the IP message to a monitoring system and testing the network transmission index of the terminal equipment through the monitoring system based on the IP message; and the monitoring system is positioned outside the base station and used for obtaining and displaying the network transmission index of the terminal equipment.
8. The apparatus of claim 7, wherein the processing module comprises:
a determining unit, configured to determine a GTP tunnel header in the GTP message according to a GTP protocol;
and the dismantling unit is used for dismantling the GTP tunnel header in the GTP message to obtain the IP message.
9. A base station device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any of claims 1 to 6 when executing the computer program.
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 of any one of claims 1 to 6.
CN201911376171.3A 2019-12-27 2019-12-27 Terminal network testing method, device, base station equipment and storage medium Active CN111193641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911376171.3A CN111193641B (en) 2019-12-27 2019-12-27 Terminal network testing method, device, base station equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911376171.3A CN111193641B (en) 2019-12-27 2019-12-27 Terminal network testing method, device, base station equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111193641A CN111193641A (en) 2020-05-22
CN111193641B true CN111193641B (en) 2021-11-23

Family

ID=70709544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911376171.3A Active CN111193641B (en) 2019-12-27 2019-12-27 Terminal network testing method, device, base station equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111193641B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465924B (en) * 2021-12-24 2023-12-22 阿里巴巴(中国)有限公司 Network equipment testing method, data packet generating method and switching chip

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798070A (en) * 2004-12-21 2006-07-05 华为技术有限公司 Method and system for testing functions of forwarding actual services at communication nodes
CN101035033A (en) * 2007-04-04 2007-09-12 杭州华为三康技术有限公司 Message mirroring method and network device for supporting the remote message mirror
CN102196440A (en) * 2010-03-01 2011-09-21 李青山 Method and system for network audit and intrusion detection
CN102394818A (en) * 2011-10-31 2012-03-28 上海顶竹通讯技术有限公司 PS domain system for small-sized mobile core network and message processing method
US8599692B2 (en) * 2009-10-14 2013-12-03 Vss Monitoring, Inc. System, apparatus and method for removing unwanted information from captured data packets
CN104580031A (en) * 2015-01-28 2015-04-29 中国人民解放军国防科学技术大学 Multi-protocol link encapsulation technique based POS (packet over synchronous optical network/internet protocol) frame decoding and framing device and method thereof
CN107222887A (en) * 2017-06-19 2017-09-29 京信通信***(中国)有限公司 The communication performance method of testing and device of base station radio side transmission path

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9680737B2 (en) * 2013-12-20 2017-06-13 Vodafone Ip Licensing Limited Telecommunications networks
CN104754628B (en) * 2013-12-31 2019-03-15 ***通信集团山西有限公司 A kind of data acquisition association analysis method and device based on LTE S1 interface
US20190104045A1 (en) * 2017-09-29 2019-04-04 Netscout Systems, Inc Selective user plane monitoring using a single network monitoring probe
CN110351024B (en) * 2018-04-04 2021-06-15 华为技术有限公司 Data transmission method and device
CN114363116A (en) * 2018-04-08 2022-04-15 华为技术有限公司 Method and device for monitoring service quality
CN110611722A (en) * 2019-10-31 2019-12-24 京信通信***(中国)有限公司 Security monitoring system and security system based on distributed base station

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798070A (en) * 2004-12-21 2006-07-05 华为技术有限公司 Method and system for testing functions of forwarding actual services at communication nodes
CN101035033A (en) * 2007-04-04 2007-09-12 杭州华为三康技术有限公司 Message mirroring method and network device for supporting the remote message mirror
US8599692B2 (en) * 2009-10-14 2013-12-03 Vss Monitoring, Inc. System, apparatus and method for removing unwanted information from captured data packets
CN102196440A (en) * 2010-03-01 2011-09-21 李青山 Method and system for network audit and intrusion detection
CN102394818A (en) * 2011-10-31 2012-03-28 上海顶竹通讯技术有限公司 PS domain system for small-sized mobile core network and message processing method
CN104580031A (en) * 2015-01-28 2015-04-29 中国人民解放军国防科学技术大学 Multi-protocol link encapsulation technique based POS (packet over synchronous optical network/internet protocol) frame decoding and framing device and method thereof
CN107222887A (en) * 2017-06-19 2017-09-29 京信通信***(中国)有限公司 The communication performance method of testing and device of base station radio side transmission path

Also Published As

Publication number Publication date
CN111193641A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
KR102441359B1 (en) Network architecture and security with encrypted client device contexts
US9942825B1 (en) System and method for lawful interception (LI) of Network traffic in a mobile edge computing environment
US20160204996A1 (en) Subscriber tracing in communications
US20210144555A1 (en) Method and electronic device for determining security threat on radio access network
KR20190102068A (en) Security implementation methods, devices, and systems
US9838291B2 (en) Multicore processing of bidirectional traffic flows
CN108605225B (en) Safety processing method and related equipment
US20210195463A1 (en) Ethernet header compression method, ethernet header decompression method, and device
US11503496B2 (en) Data processing method and apparatus
TWI726890B (en) Network architecture and security with encrypted network reachability contexts
US20180167418A1 (en) Apparatus and method for lawful interception
WO2019019150A1 (en) Data transmission method, terminal device and network device
US20140313973A1 (en) Data offloading apparatus and method
CN111193641B (en) Terminal network testing method, device, base station equipment and storage medium
CN112751871A (en) Data transmission method, device, network equipment and storage medium
CN110290130B (en) VOLTE data transmission method and device, access network equipment and storage medium
WO2018188186A1 (en) Handover method and device
CN112615760B (en) Data transmission method, device, base station and storage medium
CN111356178B (en) Transmission method, transmitting side PDCP entity and receiving side PDCP entity
CN110677853B (en) Signaling processing method, device, base station equipment and storage medium
US20140024344A1 (en) Mobile communication method, radio base station, mobile management node, and mobile station
CN110557374A (en) Power data acquisition method and device, computer equipment and storage medium
CN105874755B (en) Data packet forwarding processing method and device
CN112738817B (en) Method and network device for keeping alive service connection of mobile device
US10070318B2 (en) Method, apparatus and system and storage medium for re-establishing radio resource

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Comba Telecom System (China) Ltd.

GR01 Patent grant
GR01 Patent grant