CN117793777A - Time delay monitoring method and device - Google Patents

Time delay monitoring method and device Download PDF

Info

Publication number
CN117793777A
CN117793777A CN202311696466.5A CN202311696466A CN117793777A CN 117793777 A CN117793777 A CN 117793777A CN 202311696466 A CN202311696466 A CN 202311696466A CN 117793777 A CN117793777 A CN 117793777A
Authority
CN
China
Prior art keywords
delay
time delay
network
time
monitoring
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.)
Pending
Application number
CN202311696466.5A
Other languages
Chinese (zh)
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.)
Shangfei Intelligent Technology Co ltd
Original Assignee
Shangfei Intelligent 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 Shangfei Intelligent Technology Co ltd filed Critical Shangfei Intelligent Technology Co ltd
Priority to CN202311696466.5A priority Critical patent/CN117793777A/en
Publication of CN117793777A publication Critical patent/CN117793777A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a time delay monitoring method and a device, which relate to the technical field of communication, and the method comprises the following steps: respectively accessing the N3 mirror image port and the N6 mirror image port of the network side equipment by using a preset network probe, and grabbing M message data packets in the N3 mirror image port and the N6 mirror image port; monitoring a first round trip delay between at least one terminal and the network side device based on the M message data packets; under the condition that the first round trip delay is not in a preset delay interval, acquiring a time stamp corresponding to each delay section of the delay to be monitored between each terminal and network side equipment based on M message data packets; based on the time stamp corresponding to each time delay section, the current time delay corresponding to each time delay section is monitored. The invention utilizes the network probe to grasp the message data packets in the N3 and N6 mirror image ports, and based on the message data packets, the delay is initially monitored, such as initial monitoring abnormality, and then the delay corresponding to each delay period is specifically monitored, so that the delay can be effectively monitored.

Description

Time delay monitoring 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 monitoring time delay.
Background
The fifth generation mobile communication technology (5th Generation Mobile Communication Technology,5G) network is mainly a public user facing a terminal customer (To Consumer, toC) scene, and compared with an industrial 5G To Business (ToB) network, the 5G ToC network is not sensitive enough To the requirement of network time delay and has relatively low reliability requirement. There is a need to increase the sensitivity and reliability requirements for network latency requirements.
At present, although the industry has some methods for carrying out sectional analysis on network delay, the existing delay analysis technology can only carry out fuzzy speculation on factors influencing the delay through monitoring wireless environment and network performance indexes, cannot accurately locate the link from which the delay originates and the root cause of the link, and is difficult to effectively monitor the delay.
Disclosure of Invention
The invention provides a time delay monitoring method and a time delay monitoring device, which are used for solving the problems that in the prior art, the link from which the time delay originates and the root cause thereof cannot be accurately positioned, and the time delay is difficult to effectively monitor.
The invention provides a time delay monitoring method, which comprises the following steps:
respectively accessing N3 and N6 mirror image ports of network side equipment by using a preset network probe, and grabbing M message data packets in the N3 and N6 mirror image ports; wherein M is an integer greater than 1;
monitoring a first round trip delay between at least one terminal and the network side device based on the M message data packets;
acquiring a time stamp corresponding to each delay section of the delay to be monitored between each terminal and the network side equipment based on the M message data packets under the condition that the first round trip delay is not in a preset delay section;
and monitoring the current time delay corresponding to each time delay section based on the time stamp corresponding to each time delay section.
According to the time delay monitoring method provided by the invention, the method further comprises the following steps:
and returning to the step of grabbing M message data packets in the N3 and N6 mirror interfaces under the condition that the first round trip delay is in the delay interval.
According to the time delay monitoring method provided by the invention, the time delay interval is obtained through the following steps:
testing the idle network capacity of the network side equipment under no service pressure by using a preset air interface hard probe; wherein the network capability includes at least one of a network condition and a latency condition;
and determining the time delay interval based on the idle network capability.
According to the time delay monitoring method provided by the invention, each time delay section comprises at least one of the following:
a response delay period inside the terminal;
round trip RTT (RTT) delay from terminal to terminal;
RTT air interface delay period;
a base station side delay period;
RTT limited side delay section;
5GC device response time delay;
the server system responds to the delay period.
According to the method for monitoring time delay provided by the invention, before the N3 mirror image port and the N6 mirror image port of the network side equipment are respectively accessed by the preset network probe and M message data packets in the N3 mirror image port and the N6 mirror image port are grabbed, the method further comprises:
and carrying out time synchronization on each terminal to be monitored for time delay and the network side equipment by using a preset accurate clock synchronization mode.
According to the time delay monitoring method provided by the invention, the accurate clock synchronization mode comprises at least one of the following steps:
network time protocol NTP;
precision time protocol PTP;
time sensitive network TSN.
The invention also provides a time delay monitoring device, which comprises:
the grabbing module is used for respectively accessing N3 and N6 mirror image ports of the network side equipment by utilizing a preset network probe and grabbing M message data packets in the N3 and N6 mirror image ports; wherein M is an integer greater than 1;
a first monitoring module, configured to monitor a first round trip delay between at least one terminal and the network side device based on the M message data packets;
the acquisition module is used for acquiring time stamps corresponding to time delay sections of the time delay to be monitored between each terminal and the network side equipment based on the M message data packets under the condition that the first round trip time delay is not in a preset time delay section;
and the second monitoring module is used for monitoring the current time delay corresponding to each time delay section based on the time stamp corresponding to each time delay section.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the time delay monitoring method as described in any of the above when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of latency monitoring as described in any of the above.
The invention also provides a computer program product comprising a computer program which when executed by a processor implements a method of latency monitoring as described in any of the above.
According to the delay monitoring method and device provided by the invention, the network probes are respectively connected to the N3 mirror image ports and the N6 mirror image ports of the network side equipment, so that M message data packets are captured through the two mirror image ports, and then the delay can be initially monitored based on the message data packets, the first round trip delay between at least one terminal and the network side equipment is specifically monitored, if the first round trip delay is not in a preset delay interval, the round trip delay is considered to be abnormal, the delay corresponding to each delay section between the terminal and the network side equipment is further monitored at the moment, and the time stamp corresponding to each delay section to be monitored between each terminal and the network side equipment is obtained based on the M message packets, and the current delay corresponding to each delay section is monitored based on the time stamp corresponding to each delay section.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a time delay monitoring method provided by the invention;
FIG. 2 is a schematic diagram of each delay segment in the delay monitoring method according to the present invention;
FIG. 3 is a second schematic diagram of each delay section in the delay monitoring method according to the present invention;
fig. 4 is a schematic diagram of a system architecture to which the delay monitoring method provided by the present invention is applied;
fig. 5 is a schematic structural diagram of a delay monitoring device provided by the invention;
fig. 6 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. 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 time delay monitoring method and the time delay monitoring device are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of the delay monitoring method provided by the present invention, as shown in fig. 1, the delay monitoring method includes steps 101 to 104; wherein:
step 101, respectively accessing to N3 and N6 mirror image ports of network side equipment by using a preset network probe, and grabbing M message data packets in the N3 and N6 mirror image ports; wherein M is an integer greater than 1.
Step 102, monitoring a first round trip delay between at least one terminal and the network side equipment based on the M message data packets.
Step 103, obtaining, based on the M message data packets, a timestamp corresponding to each delay segment of the delay to be monitored between each terminal and the network side device when the first round trip delay is not within a preset delay interval.
Step 104, based on the time stamp corresponding to each time delay section, monitoring the current time delay corresponding to each time delay section.
In the related art, although some methods for network segment analysis exist in the industry, the existing time delay analysis technology can only infer the factors influencing the time delay through the monitoring of the wireless environment and network performance indexes, which link and the root cause of the time delay can not be accurately positioned, the data acquired by analyzing the time delay in some methods can be positioned by additional time and post-processing, the real-time quick diagnosis can not be realized, and meanwhile, the time delay analysis is not performed in a specific scene relative to the 5G ToB in the industry, so that the running state of the scene is analyzed.
In view of the above problems, the embodiment of the present invention provides a method for monitoring time delay, which mainly comprises the following steps: capturing message data packets through N3 and N6 mirror ports to monitor time delay based on the message data packets, particularly dividing the time delay between a terminal and network side equipment into a plurality of sections according to the message data packets, calculating the current time delay corresponding to each section according to the corresponding time stamp of each section, capturing the message data packets in real time through the N3 and N6 mirror ports and monitoring, and determining the instantaneity of calculating the current time delay corresponding to each section; in addition, the time delay analysis can be performed on the specific scene of the 5G ToB in a targeted manner by utilizing the current time delay subdivided into each section, so as to analyze the running state of the scene.
Specifically, two preset network probes are firstly utilized to respectively access an N3 mirror image port and an N6 mirror image port of network side equipment, wherein the network side equipment is a network base station switch, M message data packets in the N3 mirror image port and the N6 mirror image port can be grabbed, and M is an integer larger than 1;
the N3 interface is AN interface between a 5G Radio Access Network (R) AN and a user plane function (User Plane Function, UPF), and is mainly used for transferring uplink and downlink user plane data between the 5G (R) AN and the UPF.
The N6 interface is an interface of UPF and DN (Data Network) for communicating upstream and downstream user data flows between UPF and DN, communicating with DN networks based on internet protocol (Internet Protocol, IP) and routing protocol. The DN is a network providing services such as internet, cloud/OTT (Over The Top) service, enterprise network and the like which are centered on data.
After capturing the M message data packets, monitoring a first round trip delay between at least one terminal and the network side device based on the M message data packets, where the first round trip delay specifically refers to a total delay of the terminal sending a message to the network side device, and the network side device responding to the first round trip delay and returning the message to the terminal, and determining the first round trip delay according to a timestamp contained in the message data packet so as to monitor the first round trip delay;
under the condition that the first round trip delay is not in a preset delay interval, based on M message data packets, obtaining time stamps corresponding to time delay sections of the delay to be monitored between each terminal and network side equipment, specifically, time stamps of inlets and outlets of each terminal, equipment and the like, and then based on the time stamps corresponding to the time delay sections, monitoring the current delay corresponding to the time delay sections.
Optionally, each of the time delay periods may include at least one of:
1) A response delay period inside the terminal;
2) A Round-Trip Time (RTT) delay period from terminal to terminal;
3) RTT air interface delay period;
4) A base station side delay period;
5) RTT limited side delay section;
6) A 5G core (5 Gcore,5 GC) device response delay;
7) The server system responds to the delay period.
Specifically, fig. 2 is one of schematic diagrams of each delay segment in the delay monitoring method provided by the present invention, as shown in fig. 2, for the following scenario:
the terminal sends a message to the server through a radio frequency module, a baseband processing Unit (BBU), transmission equipment and 5GC equipment in sequence; and the server responds to the message and sequentially transmits response information to the terminal through the 5GC equipment, the transmission equipment, the BBU and the radio frequency module.
The radio frequency module can be further subdivided into the following time delay sections: an uplink data transmission path from a Remote Radio Unit (RRU) to a Central Unit (CU) via a Distributed Unit (DU) module; and the CU module transmits the path of downlink data to the RRU via the DU module.
Through the above-mentioned N3 and N6 mirror ports, M message data packets may be obtained, and then classified and sorted, and analyzed to obtain RTT timestamps of each node, for example, timestamps T0-T20 in fig. 2;
for example, T1 is a time stamp of a message sent by the terminal, T2 is a time stamp of a message received by the radio frequency module, and a difference between the two time stamps can be used to characterize a delay of the transmission of the message from the terminal to the radio frequency module, and other delays are similarly expressed.
Then based on the intra-system segment time delay positioning algorithm, the segment time delay of the network can be calculated, and the intra-system segment time delay positioning algorithm can be as follows:
[1] terminal internal response time delay: t0;
under normal conditions, the value of T0 is usually small, and whether the internal delay of the terminal is normal can be analyzed according to the size of T0.
[2] Terminal-to-terminal RTT: T2-T1, or, T0+T2-T1;
[3] RTT air interface delay: (T5-T1) + (T2-T6);
[4] base station side delay: T5-T3;
[5] RTT wired side delay: T6-T5;
[6]5GC device response time delay: T9-T7;
[7] server system response time delay: T12-T11.
It should be noted that the time delay period may be divided according to practical situations, and the above is only an example, and the present invention is not limited thereto.
Fig. 3 is a second schematic diagram of each delay period in the delay monitoring method provided by the present invention, and as shown in fig. 3, the delay period may specifically further include the following parts:
1) The internal response time delay of the terminal;
2) Air interface time delay;
3) UPF to application server latency;
4) The server system responds to the time delay;
5) A limited side delay;
6) End-to-end delay.
Moreover, as shown in fig. 3, the above-mentioned delay periods also have a corresponding relationship shown in the figure, such as finite side delay=upf to application server delay+server system response delay; or, end-to-end delay = terminal internal response delay + air interface delay + finite side delay, etc.
It should be noted that, the delay monitoring method in the embodiment of the present invention has no requirement on the transmission direction of the end-to-end data packet, and both uplink and downlink delays are applicable.
Alternatively, one or more delays of one or more terminals may be selected for critical monitoring based on a particular industrial scenario.
In the delay monitoring method provided by the embodiment of the invention, the network probes are respectively connected to the N3 mirror image ports and the N6 mirror image ports of the network side equipment, so that M message data packets are captured through the two mirror image ports, and then the delay can be initially monitored based on the message data packets, the first round trip delay between at least one terminal and the network side equipment is specifically monitored, if the first round trip delay is not in a preset delay interval, the round trip delay is considered to be abnormal, at the moment, the delay corresponding to each delay section between the terminal and the network side equipment is required to be further monitored, and the delay corresponding to each delay section to be monitored between each terminal and the network side equipment is acquired based on the M message packets, and the current delay corresponding to each delay section is monitored based on the timestamp corresponding to each delay section.
Optionally, in the case that the first round trip delay is within the delay interval, the step of grabbing the M message packets in the N3 and N6 mirror ports may be performed in return.
Specifically, under the condition that the first round trip delay between the terminal and the network side equipment is in a preset delay interval, the round trip delay between the terminal and the network side equipment is considered to be in a normal delay interval, then the current delay corresponding to each delay interval between the terminal and the network side equipment is not required to be further monitored, M message data packets in the N3 and N6 mirror image ports can be grabbed again, and based on the M message data packets, the first round trip delay between the terminal and the network side equipment is continuously monitored until the first round trip delay is not in the delay interval, and the current delay corresponding to each delay interval is further monitored.
Alternatively, the delay interval may be obtained by:
testing the idle network capacity of the network side equipment under no service pressure by using a preset air interface hard probe; wherein the network capability includes at least one of a network condition and a latency condition;
and determining the time delay interval based on the idle network capability.
Specifically, idle network capacity of the network side equipment under no service pressure, such as network conditions and time delay conditions, can be set up by the air interface hard probe test, and then a scene can be better designed by taking the network capacity limit of the idle network capacity as a reference; on the other hand, if large time delay occurs during the operation of the scene, the time delay interval determined by the air interface hard probe and the time delay condition of the scene terminal can be compared to preliminarily judge whether the network side has a problem or the scene side has a problem.
For example, the time delay of the scene side is required for the network side under normal conditions, for example, if the scanning frequency of the terminal is 30 frames per second in terms of scanning, the time delay is required to be within 33ms to ensure the scene operation.
If the end-to-end delay is 5ms when the idle state is obtained through the air interface hard probe, the network has the capability of ensuring that the end-to-end delay is no problem in the case of running the scene with a high probability, namely if the time delay is within 33ms as above, the network can fully support the scene.
For monitoring, if the time delay measured by the air interface hard probe is not large, and the terminal under the scene is measured to be large, the large probability is that which link in the running system of the scene equipment or the scene is problematic, the problem on the network side can be eliminated first, and then the time delay subsection monitoring is carried out, so that the problem can be specifically refined to which place.
Alternatively, the air interface hard probe may be wired through hardware deployment, or may be loaded inside the base station server through software deployment.
Optionally, before the network probes set in advance are respectively connected to the N3 and N6 mirror ports of the network side device, and M message data packets in the N3 and N6 mirror ports are grabbed, a preset accurate clock synchronization mode may be used to perform time synchronization on each terminal to be monitored for time delay and the network side device.
Specifically, before the time delay monitoring, time synchronization may be performed on all terminals and network side devices (for example, a base station system) involved in the monitoring, so as to calculate the time delay under the same time reference coordinate system, and further improve accuracy of calculating the time delay.
Optionally, the accurate clock synchronization manner may include at least one of:
1) Network time protocol (Network Time Protocol, NTP);
2) Precision time protocol (Precise Time Protocol, PTP);
3) Time sensitive network (Time-Sensitive Network, TSN).
The following illustrates a method for monitoring time delay provided by the embodiment of the present invention.
The invention belongs to a method for precisely positioning the time delay of a 5G network for analyzing a specific industrial scene, which can precisely position the time delay of the 5G network aiming at a target scene, thereby analyzing and optimizing the scene and positioning the scene.
According to the time delay monitoring method, based on the network probes and the servers with accurate time synchronization, the two probes and the servers are respectively connected to N3 and N6 mirror ports of a network base station switch, message data packets in N3 and N6 interfaces are captured, an accurate time synchronization mode is not limited to protocols such as NTP, PTP and the like, meanwhile, an air interface hard probe is deployed, according to a time delay analysis algorithm of the probe server, time delay conditions of all sections in 5G networks such as CU-DU, DU-radio frequency modules and the like in a terminal, the terminal-BBU, the BBU-core network section and the like can be obtained respectively, meanwhile, a probe server platform can be used for analyzing all sections of time delay conditions, data flow conditions and network current conditions of an actual scene in real time according to the terminal access conditions of an industrial scene, positioning scenes and network problems are more convenient, and the problems are solved.
The invention aims at: the time delay monitoring method for analyzing the time delay accurate positioning of the 5G network in the specific industrial scene is provided to improve the service reliability of the 5G private network, and meanwhile, the method can be convenient for accurately positioning the problems of the scene network side, removing faults and the like.
Specifically, fig. 4 is a schematic diagram of a system architecture to which the delay monitoring method provided by the present invention is applied, as shown in fig. 4, where a core network including a 5G network part, a UPF, and a base station server are respectively connected to a switch, two probes are respectively connected to the switch through mirror interfaces of N3 and N6 interfaces, respectively extract a data packet of the N3 interface (a data packet between the switch and the UPF or the core network) and a data packet of the N6 interface (a data packet between the switch and a campus machine room), and then the two probes are connected to the switch through another wire to form a local area network with a probe server of the wire to which the probe server controls and selects a terminal of a scene service to be monitored, and the captured data packets of the N3 and N6 interfaces are analyzed and sorted through the inside of the two probes, so that the obtained real-time segment delay is visualized and displayed on a platform.
The terminals and the devices refer to carriers, such as gateways, customer terminal devices (Customer Premises Equipment, CPE) and the like, which are accessed to the 5G network in an industrial scene and used for executing specific services.
As shown in fig. 2, according to the data packet captured by the probe, the time stamp of each terminal, device entrance and exit can be obtained, the time stamp is more accurate under the action of the accurate time synchronization system, and T0 to T20 are the time stamps of some exits and entrances when each terminal, device and the like do business, and the specific main time delay segmentation is as follows:
[1] terminal internal response time delay: t0;
[2] RTT terminal-to-terminal: t0+t2-T1;
[3] RTT air interface delay: (T5-T1) + (T2-T6);
[4] base station side delay: T5-T3;
[5] RTT wired side delay: T6-T5;
[6]5GC device response time delay: T9-T7;
[7] server system response time delay: T12-T11.
The specific operation mode of the system is as follows: when the scene runs in real time, the total time delay from end to end can be obtained through data transmission, each time delay can be obtained after the time delay of the probe server is calculated in a segmented mode, so that when the scene runs in a low-time-delay and high-reliability mode, if an unstable or high-time-delay condition occurs in the scene, whether a specific problem occurs at a network side or a service side can be rapidly judged.
In addition, an accurate clock synchronization system is built in the system and is deployed in a network time delay probe server, the purpose is to perform time synchronization with a base station system, two probes are respectively connected into mirror ports of N3 and N6 interfaces of a network base station switch, message data packets of the N3 and N6 interfaces are grabbed, meanwhile, a hollow hard probe is deployed outside the base station and is used for detecting network conditions and time delay conditions under no service pressure, then the grabbed 5G network message data packets are classified and sorted in the probe server system, RTT time stamps of each node are obtained through analysis, then the sectional time delay of a network can be calculated based on a sectional time delay positioning algorithm in the system, meanwhile, based on system platform service and terminal selection, accurate end-to-end time delay sectional positioning and real-time observation can be performed on a plurality of terminals of a specific industrial scene, the problem of quick positioning of scene operators and network technicians can be facilitated, and important significance is provided for scene positioning problems and network optimization of network technicians.
The time delay monitoring method provided by the embodiment of the invention has at least the following beneficial effects:
1) The whole system is flexibly built, and the probe system with accurate time delay positioning can be connected by wire through hardware deployment, and can be loaded in a base station server through software deployment.
2) The time delay monitoring method is different from the conventional positioning time delay method, and accurate time synchronization is added in the system, so that the positioning segmentation time delay is more accurate.
3) The system can select a plurality of terminals of specific industrial scene services, select one or a plurality of terminals to monitor real-time delay according to actual conditions, accurately position and rapidly diagnose.
4) The accurate positioning method for the time delay of the scene has no requirement on the transmission direction of the end-to-end data packet, and the uplink time delay and the downlink time delay are applicable.
The time delay monitoring device provided by the invention is described below, and the time delay monitoring device described below and the time delay monitoring method described above can be referred to correspondingly.
Fig. 5 is a schematic structural diagram of a delay monitor apparatus according to the present invention, as shown in fig. 5, the delay monitor apparatus 500 includes:
a grabbing module 501, configured to utilize a preset network probe to access to N3 and N6 mirror interfaces of a network side device, and grab M message data packets in the N3 and N6 mirror interfaces; wherein M is an integer greater than 1;
a first monitoring module 502, configured to monitor a first round trip delay between at least one terminal and the network side device based on the M message data packets;
an obtaining module 503, configured to obtain, based on the M message data packets, a timestamp corresponding to each delay segment of the delay to be monitored between each terminal and the network side device when the first round trip delay is not within a preset delay interval;
the second monitoring module 504 is configured to monitor a current time delay corresponding to each time delay segment based on the time stamp corresponding to each time delay segment.
In the delay monitoring device provided by the embodiment of the invention, the grabbing module is respectively connected to the N3 and N6 mirror ports of the network side equipment by utilizing the network probe, so that M message data packets are grabbed through the two mirror ports, and then the first monitoring module can initially monitor the delay based on the message data packets, specifically monitor the first round trip delay between at least one terminal and the network side equipment, if the first round trip delay is not in a preset delay interval, consider that the round trip delay is abnormal, at the moment, further monitor the delay corresponding to each delay section between the terminal and the network side equipment is needed, the specific acquisition module acquires the time stamp corresponding to each delay section of the delay to be monitored between each terminal and the network side equipment based on the M message packets, and the second monitoring module monitors the current delay corresponding to each delay section based on the time stamp corresponding to each delay section, so that the delay abnormality can be accurately positioned according to the current delay from which link, further analyze the root cause of the delay abnormality is facilitated, and the delay abnormality can be effectively monitored.
Optionally, the delay monitoring apparatus 500 further includes:
a processing module for: and returning to the step of grabbing M message data packets in the N3 and N6 mirror interfaces under the condition that the first round trip delay is in the delay interval.
Optionally, the delay interval is obtained by:
testing the idle network capacity of the network side equipment under no service pressure by using a preset air interface hard probe; wherein the network capability includes at least one of a network condition and a latency condition;
and determining the time delay interval based on the idle network capability.
Optionally, each time delay period includes at least one of:
1) A response delay period inside the terminal;
2) RTT time delay period from terminal to terminal;
3) RTT air interface delay period;
4) A base station side delay period;
5) RTT limited side delay section;
6) 5GC device response time delay;
7) The server system responds to the delay period.
Optionally, the processing module is further configured to:
and carrying out time synchronization on each terminal to be monitored for time delay and the network side equipment by using a preset accurate clock synchronization mode.
Optionally, the accurate clock synchronization mode includes at least one of the following:
1)NTP;
2)PTP;
3)TSN。
fig. 6 is a schematic structural diagram of an electronic device provided by the present invention, and as shown in fig. 6, the electronic device 600 may include: processor 610, communication interface (Communications Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640. The processor 610 may invoke logic instructions in the memory 630 to perform a latency monitoring method comprising:
respectively accessing N3 and N6 mirror image ports of network side equipment by using a preset network probe, and grabbing M message data packets in the N3 and N6 mirror image ports; wherein M is an integer greater than 1;
monitoring a first round trip delay between at least one terminal and the network side device based on the M message data packets;
acquiring a time stamp corresponding to each delay section of the delay to be monitored between each terminal and the network side equipment based on the M message data packets under the condition that the first round trip delay is not in a preset delay section;
and monitoring the current time delay corresponding to each time delay section based on the time stamp corresponding to each time delay section.
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and 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.
In another aspect, the present invention also provides a computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of performing the method of latency monitoring provided by the methods described above, the method comprising:
respectively accessing N3 and N6 mirror image ports of network side equipment by using a preset network probe, and grabbing M message data packets in the N3 and N6 mirror image ports; wherein M is an integer greater than 1;
monitoring a first round trip delay between at least one terminal and the network side device based on the M message data packets;
acquiring a time stamp corresponding to each delay section of the delay to be monitored between each terminal and the network side equipment based on the M message data packets under the condition that the first round trip delay is not in a preset delay section;
and monitoring the current time delay corresponding to each time delay section based on the time stamp corresponding to each time delay section.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the method of latency monitoring provided by the above methods, the method comprising:
respectively accessing N3 and N6 mirror image ports of network side equipment by using a preset network probe, and grabbing M message data packets in the N3 and N6 mirror image ports; wherein M is an integer greater than 1;
monitoring a first round trip delay between at least one terminal and the network side device based on the M message data packets;
acquiring a time stamp corresponding to each delay section of the delay to be monitored between each terminal and the network side equipment based on the M message data packets under the condition that the first round trip delay is not in a preset delay section;
and monitoring the current time delay corresponding to each time delay section based on the time stamp corresponding to each time delay section.
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 (10)

1. A method for monitoring delay, comprising:
respectively accessing N3 and N6 mirror image ports of network side equipment by using a preset network probe, and grabbing M message data packets in the N3 and N6 mirror image ports; wherein M is an integer greater than 1;
monitoring a first round trip delay between at least one terminal and the network side device based on the M message data packets;
acquiring a time stamp corresponding to each delay section of the delay to be monitored between each terminal and the network side equipment based on the M message data packets under the condition that the first round trip delay is not in a preset delay section;
and monitoring the current time delay corresponding to each time delay section based on the time stamp corresponding to each time delay section.
2. The time delay monitoring method of claim 1, wherein the method further comprises:
and returning to the step of grabbing M message data packets in the N3 and N6 mirror interfaces under the condition that the first round trip delay is in the delay interval.
3. The method of claim 1, wherein the delay interval is obtained by:
testing the idle network capacity of the network side equipment under no service pressure by using a preset air interface hard probe; wherein the network capability includes at least one of a network condition and a latency condition;
and determining the time delay interval based on the idle network capability.
4. A method of time delay monitoring according to any one of claims 1 to 3 wherein each time delay period comprises at least one of:
a response delay period inside the terminal;
round trip RTT (RTT) delay from terminal to terminal;
RTT air interface delay period;
a base station side delay period;
RTT limited side delay section;
5GC device response time delay;
the server system responds to the delay period.
5. A method for monitoring time delay according to any one of claims 1 to 3, wherein before the network probes are respectively connected to N3 and N6 mirror ports of a network side device, and M message data packets in the N3 and N6 mirror ports are grabbed, the method further comprises:
and carrying out time synchronization on each terminal to be monitored for time delay and the network side equipment by using a preset accurate clock synchronization mode.
6. The method of claim 5, wherein the accurate clock synchronization scheme comprises at least one of:
network time protocol NTP;
precision time protocol PTP;
time sensitive network TSN.
7. A time delay monitoring device, comprising:
the grabbing module is used for respectively accessing N3 and N6 mirror image ports of the network side equipment by utilizing a preset network probe and grabbing M message data packets in the N3 and N6 mirror image ports; wherein M is an integer greater than 1;
a first monitoring module, configured to monitor a first round trip delay between at least one terminal and the network side device based on the M message data packets;
the acquisition module is used for acquiring time stamps corresponding to time delay sections of the time delay to be monitored between each terminal and the network side equipment based on the M message data packets under the condition that the first round trip time delay is not in a preset time delay section;
and the second monitoring module is used for monitoring the current time delay corresponding to each time delay section based on the time stamp corresponding to each time delay section.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the time delay monitoring method of any one of claims 1 to 6 when the program is executed by the processor.
9. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the time delay monitoring method according to any of claims 1 to 6.
10. A computer program product comprising a computer program which, when executed by a processor, implements the time delay monitoring method according to any one of claims 1 to 6.
CN202311696466.5A 2023-12-11 2023-12-11 Time delay monitoring method and device Pending CN117793777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311696466.5A CN117793777A (en) 2023-12-11 2023-12-11 Time delay monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311696466.5A CN117793777A (en) 2023-12-11 2023-12-11 Time delay monitoring method and device

Publications (1)

Publication Number Publication Date
CN117793777A true CN117793777A (en) 2024-03-29

Family

ID=90379035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311696466.5A Pending CN117793777A (en) 2023-12-11 2023-12-11 Time delay monitoring method and device

Country Status (1)

Country Link
CN (1) CN117793777A (en)

Similar Documents

Publication Publication Date Title
US10637771B2 (en) System and method for real-time load balancing of network packets
CN106850337B (en) Network quality detection method and device
US8243599B2 (en) Method and apparatus for high resolution passive network latency measurement
US8737243B2 (en) Methods and apparatus for monitoring network link quality
CN101035037B (en) Method, system and related device for detecting the network communication quality
US8036121B2 (en) Method of estimating quality degradation on network in communication network system
EP2081321A2 (en) Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor
CN111327478B (en) Network measurement method and device, equipment and storage medium
CN107465565A (en) Link test method and apparatus and system
EP3682595B1 (en) Obtaining local area network diagnostic test results
CN109525736B (en) Voice dial testing loopback method and device
CN110650067A (en) Broadband network performance test evaluation method and system
CN114285767B (en) Service forwarding performance detection device for time-triggered Ethernet switch
Alvarez et al. Field measurements of mobile services with Android smartphones
EP3035596A1 (en) Link performance test method and device, logical processor and network processor
Fabini et al. Delay measurement methodology revisited: Time-slotted randomness cancellation
CN117793777A (en) Time delay monitoring method and device
JP5485204B2 (en) Network quality measurement method, delay fluctuation estimation device, network monitoring system, and program
US7917611B2 (en) Method and system for monitoring the quality of service in telecommunication networks, components and compute products thereof
CN116744353A (en) Network quality detection method based on 5G communication
CN110896544B (en) Fault delimiting method and device
CN114172830B (en) Network delay detection method, device and system
CN116094640A (en) Distributed frame type equipment and time synchronization method thereof
CN105933153A (en) Cluster failure monitoring method and device
CN112491655A (en) Method and device for determining TCP transmission exception type, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination