CN108989137B - Time delay measuring method and device for end-to-end communication and computer readable storage medium - Google Patents

Time delay measuring method and device for end-to-end communication and computer readable storage medium Download PDF

Info

Publication number
CN108989137B
CN108989137B CN201710404656.3A CN201710404656A CN108989137B CN 108989137 B CN108989137 B CN 108989137B CN 201710404656 A CN201710404656 A CN 201710404656A CN 108989137 B CN108989137 B CN 108989137B
Authority
CN
China
Prior art keywords
signaling
communication
service
signaling data
receiving
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
CN201710404656.3A
Other languages
Chinese (zh)
Other versions
CN108989137A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710404656.3A priority Critical patent/CN108989137B/en
Publication of CN108989137A publication Critical patent/CN108989137A/en
Application granted granted Critical
Publication of CN108989137B publication Critical patent/CN108989137B/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
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/364Delay profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a time delay measuring method and a device of end-to-end communication and a computer readable storage medium, which are characterized in that the time delay measuring method and the device of end-to-end communication record corresponding sending time by monitoring service communication signaling data sent from a sending end, record corresponding receiving time when a receiving end receives the service communication signaling data, and then calculate communication time delay according to the receiving time and the sending time, thereby conveniently realizing the analysis of the communication time delay of an end-to-end communication system; by tracking and analyzing the service communication signaling data, a powerful basis for network maintenance is provided for communication personnel, and the maintenance efficiency is improved.

Description

Time delay measuring method and device for end-to-end communication and computer readable storage medium
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method and an apparatus for measuring a time delay of end-to-end communication, and a computer-readable storage medium.
Background
The 5G network, as a fifth generation mobile communication network, faces challenges in terms of high rate, end-to-end low delay, reliability, large-scale connection, and the like.
The domestic and foreign 5G research organizations such as ITU, IMT-2020 Pushing group and the like all put forward end-to-end time delay requirements of millisecond level for 5G, and the definition of the end-to-end time delay is as follows: the length of time that the data packet has been received successfully by the application layer of the destination node since the data packet has arrived since the application layer of the source node left. The end-to-end delay comprises air interface delay, core network delay and PDN network delay. In the prior art, the time delay of various communication systems is specifically: ideally the end-to-end delay is 1ms, and typically the end-to-end delay is around 5-10 ms. In the 4G network currently used by us, the end-to-end ideal delay is about 10ms, and the end-to-end delay of LTE is 50-100ms, which means that 5G needs to shorten the end-to-end delay to one tenth of 4G.
Based on the existing communication technology, the communication delay of the system far does not meet the requirement of a 5G network, and if the monitoring adjustment of the communication delay is to be realized, the service flow interacted in the system needs to be monitored and analyzed, so that an analysis method capable of analyzing end-to-end overall delay statistical data and time slice statistical data in the communication process and displaying the end-to-end overall delay statistical data and the time slice statistical data to a user in an intuitive form is urgently needed to be provided.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention provide a method and an apparatus for measuring a time delay of end-to-end communication, and a computer-readable storage medium, so as to solve the technical problems that a positioning analysis calculation of a communication time delay cannot be implemented in the process of end-to-end communication, so that a time delay of a system is large, and a user experience is reduced.
To solve the foregoing technical problem, an embodiment of the present invention provides a method for measuring a time delay of end-to-end communication, including:
monitoring service communication signaling data sent by a sending end of an end-to-end communication system, and recording the sending time for sending the service communication signaling data and the service type corresponding to the service communication signaling data;
identifying whether a receiving end of an end-to-end communication system receives the service communication signaling data, and if so, recording the receiving time of the receiving end receiving the service communication signaling data;
and calculating the signaling time delay of the end-to-end communication system communication according to the recorded sending time and receiving time.
An embodiment of the present invention further provides a device for measuring a time delay of end-to-end communication, including:
the data monitoring module is used for monitoring service communication signaling data sent by a sending end of the end-to-end communication system and recording the sending time for sending the service communication signaling data and the service type corresponding to the service communication signaling data;
the identification module is used for identifying whether a receiving end of an end-to-end communication system receives the service communication signaling data or not, and recording the receiving time of the receiving end receiving the service communication signaling data if the receiving end receives the service communication signaling data;
and the time delay calculation module is used for calculating the signaling time delay of the end-to-end communication system communication according to the recorded sending time and receiving time.
The embodiment of the invention also provides a device for measuring the time delay of end-to-end communication, which comprises: the device comprises a memory, a processor and a time delay analysis program which is stored on the memory and can run on the processor, wherein the time delay analysis program realizes the steps of the time delay measurement method of the end-to-end communication when being executed by the processor.
An embodiment of the present invention further provides a computer storage medium, where a time delay analysis program is stored on the computer readable storage medium, and when the time delay analysis program is executed, the steps of the time delay measurement method for end-to-end communication described above are implemented.
The invention has the beneficial effects that:
according to the method and the device for measuring the time delay of the end-to-end communication and the computer readable storage medium provided by the embodiment of the invention, the service communication signaling data sent from the sending end is monitored, the corresponding sending time is recorded at the same time, when the receiving end is identified to receive the service communication signaling data, the corresponding receiving time is recorded, and then the communication time delay is calculated according to the receiving time and the sending time, so that the analysis of the communication time delay of the end-to-end communication system is conveniently realized; by tracking and analyzing the service communication signaling data, a powerful basis for network maintenance is provided for communication personnel, and the maintenance efficiency is improved.
Drawings
Fig. 1 is a flowchart of a method for measuring a delay of end-to-end communication according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a signaling model definition provided in an embodiment of the present invention;
fig. 3 is a signaling model according to an embodiment of the present invention;
fig. 4 is a flowchart of extracting signaling data according to a signaling model according to an embodiment of the present invention;
fig. 5 is a service slice calculation example provided in an embodiment of the present invention;
fig. 6 is a flowchart of calculating a communication delay according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a delay analysis report according to an embodiment of the present invention;
fig. 8 is a presentation example of a delay analysis report according to an embodiment of the present invention;
fig. 9 is a block diagram of a delay measuring apparatus for end-to-end communication according to a second embodiment of the present invention;
fig. 10 is a block diagram of a delay measurement apparatus for end-to-end communication according to a third embodiment of the present invention.
Detailed Description
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings.
The first embodiment is as follows:
referring to fig. 1, fig. 1 is a flowchart of a method for measuring a time delay of end-to-end communication provided in this embodiment, where the method may be specifically implemented based on an existing network management system, and specifically, the method implements analysis of the time delay by monitoring data interaction between an originating terminal and a destination terminal in the system, and the processing steps specifically include:
s101, service communication signaling data sent by a sending end in an end-to-end communication system is monitored, and sending time and a corresponding service type are recorded.
S102, identifying whether the receiving end of the end-to-end communication system receives the service communication signaling data, if yes, recording the corresponding receiving time.
And S103, calculating communication time delay according to the receiving time and the sending time.
In this embodiment, a sending end in the end-to-end communication system refers to a network element that sends a data packet, and a receiving end refers to a network element that receives the data packet and is applied or analyzed, where the whole end-to-end communication system may include two network elements or multiple network elements, and when the whole end-to-end communication system includes multiple network elements, the sending end refers to a first network element in the system, the receiving end refers to a last network element in the system, and the other network elements are used as connection network elements for implementing the first and second network elements.
In this embodiment, the service communication signaling data refers to service transmission data when an end-to-end communication system implements service interaction, where the service transmission data requests sending, feedback receiving, and the like of data through various communication signaling, and therefore the service communication signaling data is a signaling necessary for service output transmission. Certainly, in practical applications, the service communication signaling data may also be a specific communication signaling set specifically for the user when the user analyzes the delay between the end-to-end systems.
In step S102, identifying whether the service communication signaling data sent by the sending end is received from the receiving end specifically by using the established service model, and when the data matched with the service model that has been received at the receiving end is identified, obtaining the receiving time when the data is received.
In practical application, the service model is specifically established according to the existing 3GPP communication protocol, and then, whether the same service data exists on the receiving end is specifically identified, that is, a service model corresponding to the service type is selected from a plurality of service models according to the service type recorded in step S101, whether a service flow matched with the service model exists in the receiving end is identified according to the service model, and corresponding communication signaling data is extracted from the service flow according to the identification result, and corresponding receiving time is recorded.
In this embodiment, the service model specifically includes a signaling model, where the signaling model includes a start signaling group, an intermediate signaling group, and an end signaling group required for triggering the service process, and in practical applications, different services interact with each other and the signaling groups used by the different services are different, so that the identifying whether the receiving end of the end-to-end communication system receives the service communication signaling data may be specifically implemented by the signaling model.
Preferably, a signaling group required for implementing the service interaction is obtained according to a signaling model, and an initial signaling corresponding to the initial signaling group is determined from the communication signaling data according to the signaling group;
searching an ending signaling group corresponding to the starting signaling according to the starting signaling;
and screening the communication signaling data according to the ending signaling group, determining ending signaling in the communication signaling data, and recording the receiving time of the ending signaling confirmed to be received by the receiving end.
In practical application, when performing delay analysis on service communication signaling data in an end-to-end communication system, first determining a corresponding service type and a corresponding signaling model, extracting the corresponding signaling data according to the signaling model, and finally performing delay analysis on the extracted signaling data, where the signaling model is specifically shown in fig. 2, the left half of the diagram shows a signaling flow diagram abstracted according to an actual service flow, and the signaling flow diagram includes three important components:
starting signaling: the trigger signaling of the signaling procedure may also be referred to as the first signaling of the procedure.
And (4) ending signaling: the last signaling of the signaling flow, which identifies the end of the flow. End signaling 1, end signaling 2, … …, end signaling n, as shown at the bottom of the figure, indicate that there are many possibilities for end signaling. This is because the flow may end normally, may end abnormally (for example, the flow fails), or in some other cases, the end signaling is often not unique.
Intermediate signaling: signaling that is transferred and translated between network elements, in addition to the start and end signaling. The part of signaling is characterized in that certain signaling can be conditioned according to different networking, service and other conditions. In view of this feature, the partial signaling can be divided into two broad categories: the signaling that the flow must contain and the signaling that the flow may contain.
According to the above signaling flow, the signaling flow model on the right side of fig. 2 can be mapped. The model has a set of start signaling, intermediate signaling (if any), and end signaling. The start signaling identifies the start of the flow; the intermediate signaling (if any) includes the signaling that must be included in the flow; the intermediate signaling (if any) includes signaling that the condition in the flow occurs; and an end signaling group, which defines several pieces of end signaling corresponding to the flow start signaling (each piece of end signaling may be the end of the flow).
Since the signaling model is the key for extracting signaling data, in order to better understand, the analysis method provided by the embodiment of the present invention defines a signaling model in the following manner, as shown in fig. 3:
starting signaling:
Attach Request
end signaling group:
attach reject (none in FIG. 3, FIG. 3 is a normal flow)
Modify Bearer Response
Intermediate signaling (mandatory):
Create Session Request
Create Session Response
Initial Context Setup Request
…………
intermediate signaling (optional)
Delete Session Request
Delete Session Response
…………
According to the signaling model and in combination with specific services, a plurality of service flows can be defined, and the extraction and analysis of signaling data are performed according to the signaling model, as shown in fig. 4:
s401, traversing the collected signaling data set.
Specifically, the signaling group in the obtained signaling data set is divided according to the starting signaling combination and the intermediate signaling combination ending signaling group in the signaling model, at least three types of signaling exist in one service flow, and in order to facilitate subsequent query operation, the signaling group needs to be divided according to the signaling model.
S402, judging whether one signaling in the extracted set can be matched with an initial signaling of a certain configured service signaling process, if not, continuously traversing the acquired signaling data set.
S403, if the signaling is the initial signaling of a certain service process, finding an end signaling group corresponding to the initial signaling.
S404, traversing the ending signaling group, extracting an ending signaling from a plurality of ending signaling, then indexing the ending signaling from the next starting signaling of the current signaling in the signaling set, and if no indexing is performed to the ending signaling, continuing traversing the ending signaling until the traversing is ended.
S405, if the ending signaling is indexed, all the signaling in the closed interval is extracted according to the starting signaling number and the ending signaling number.
S406, cleaning the process. And removing the service flow which is not matched with the service model from the service communication signaling data according to the service model.
In practical application, before a flow is extracted, the signaling reported by multiple network elements is sequenced, the sequencing is mainly based on the reporting sequence of single network element signaling and the timestamp of the signaling, and due to the inconsistency of network element time and the complexity of a service (such as data service is being performed and a call comes in between), the extracted flow may be mixed with signaling which is not the flow. The flows can be flushed with the signaling defined in the previous traffic flow (start, end signaling and intermediate signaling), i.e. the signaling not in the flow is removed.
S407, extracting the cleaned signaling, marking the initial signaling and the ending signaling (marking which is the initial signaling and which is the ending signaling), and constructing a signaling flow.
And S408, continuously traversing the collected signaling data set (not starting from the end signaling, but starting from the next piece of the initial signaling) until the last signaling is traversed, and extracting all signaling flows.
In practical application, the ending signaling group includes all possible situations for ending a service, so before calculating the time delay, the signaling in the signaling data is traversed by the method to judge the actual situation of each signaling, if the signaling for calculating the time delay is selected to belong to the ending signaling for abnormally ending the service, the calculated time delay has a very large error, the reference value of the error is very low, the optimization scheme determined by a network maintainer is finally misled, and if the time delay is abnormal, the new signaling data needs to be monitored again to be obtained for analyzing the time delay.
In this embodiment, the obtained signaling model may be a signaling model including all service interactions belonging to an end-to-end communication system, and in this case, if an analysis information amount of heartache occurs during analysis according to such signaling model delay, in order to better avoid such a situation, the method provided by the present invention further includes slicing the obtained service communication signaling data, preferably, slicing according to a service type, where each time slice corresponds to one service, that is, can be understood as a sub-process in a service flow, and then performing model configuration according to the type of the sub-process, where a method for extracting and analyzing a signaling data flow is consistent with the service flow in fig. 4, as shown in fig. 5, this embodiment provides an example of service slice calculation.
In this embodiment, after the sending and receiving time of the corresponding data and signaling is extracted, the corresponding time delay is calculated according to the obtained time, and the analysis result is displayed to the network maintenance staff for performing the optimization processing on the system time delay, as shown in fig. 6:
s601, the ending signaling time of the service process subtracts the starting signaling time to form the delay data of the whole service process.
And S602, subtracting the starting signaling time from the ending signaling time corresponding to the slicing service to obtain corresponding slicing time delay data.
S603, traversing the time delay of the same service flow and the slice in the signaling file, and calculating the average value.
S604, the statistical time delay analysis result is visually displayed to the user, and the effect is shown in figure 7.
And S605, giving a delay analysis report, and taking an example in FIG. 8.
And S606, exporting the delay analysis result support into a file, wherein the format can be html, xls and the like.
In this embodiment, in addition to directly analyzing the interactive signaling data of the service through the above steps to implement the delay analysis, the analysis may also be performed by setting an identifier, specifically by setting a signaling identifier in the service communication signaling data sent by the sending end; monitoring whether the signaling identifier exists in service communication signaling data in the receiving end; and if so, acquiring the receiving time when the service communication signaling data provided with the signaling identifier is received.
The time delay measuring method of end-to-end communication provided by the embodiment of the invention has the advantages that the service communication signaling data sent from the sending end is monitored, the corresponding sending time is recorded, when the receiving end is identified to receive the service communication signaling data, the corresponding receiving time is recorded, and then the communication time delay is calculated according to the receiving time and the sending time, so that the analysis of the communication time delay of the end-to-end communication system is conveniently realized; through the tracking analysis of the service communication signaling data, a powerful basis for network maintenance is provided for communication personnel, and the maintenance efficiency is improved.
Example two:
referring to fig. 9, fig. 9 is a block diagram of a structure of a latency measurement apparatus for peer-to-peer communication according to this embodiment, where the apparatus includes: a data monitoring module 91, an identification module 92 and a time delay calculation module 93, wherein:
the data monitoring module 91 is configured to monitor service communication signaling data sent by a sending end of the end-to-end communication system, and record sending time for sending the service communication signaling data and a service type corresponding to the service communication signaling data.
In this embodiment, the service communication signaling data refers to service transmission data when an end-to-end communication system implements service interaction, where the service transmission data requests sending, feedback receiving, and the like of data through various communication signaling, and therefore the service communication signaling data is a signaling necessary for service output transmission. Of course, in practical application, the service communication signaling data may also be a specific communication signaling specially set for the user when analyzing the time delay between the end-to-end systems.
Wherein, a sending end in the end-to-end communication system refers to a network element that sends a data packet, and a receiving end refers to a network element that receives the data packet and is applied or analyzed, the whole end-to-end communication system may include two network elements or may include multiple network elements, when the multiple network elements are included, the sending end refers to a first network element in the system, the receiving end refers to a last network element in the system, and the others are connection network elements that implement the first and second network elements, as shown in fig. 2.
An identifying module 92, configured to identify whether a receiving end of the end-to-end communication system receives the service communication signaling data, and if so, record receiving time when the receiving end receives the service communication signaling data.
And a delay calculating module 93, configured to calculate a signaling delay of the end-to-end communication system according to the recorded sending time and receiving time.
In this embodiment, the apparatus further includes a model building module 94, where the model building module 94 is configured to build a service model of the end-to-end communication system according to a 3GPP communication protocol.
The identification module 92 is configured to determine a corresponding service model according to the service type; and identifying whether a service flow matched with the service model exists from the receiving end according to the service model, extracting corresponding communication signaling data from the service flow according to an identification result, and recording corresponding receiving time.
Preferably, the service model includes a signaling model, and the signaling model includes a start signaling group, an intermediate signaling group, and an end signaling group required for triggering the service flow, where the start signaling group and the end signaling group trigger and end signaling necessary in the service flow, and the intermediate signaling group determines whether the signaling is required according to an actual situation. For the situation that the ending signaling group includes all possible situations of ending a service, therefore, before calculating the time delay, the signaling in the signaling data is traversed by the method, the actual situation of each signaling is judged, if the signaling for calculating the time delay belongs to the ending signaling for ending the abnormal ending of the service, the calculated time delay has a very large error, the reference value is very low, the optimization scheme determined by the network maintenance personnel is finally misled, and if the abnormal situation occurs, the new signaling data needs to be monitored again to analyze the time delay.
The identifying module 92 is configured to determine, from the communication signaling data, a start signaling corresponding to the start signaling group; searching an ending signaling group corresponding to the starting signaling according to the starting signaling; and screening the communication signaling data according to the ending signaling group, determining ending signaling in the communication signaling data, and recording the receiving time of the ending signaling confirmed to be received by the receiving end.
In practical application, different service interactions and signaling groups used by the different service interactions are different, so that whether the receiving end of the end-to-end communication system receives the service communication signaling data or not can be realized through a signaling model.
For example, when there is a service interaction through the signaling model defined in fig. 3, the obtained service communication signaling data is extracted according to the signaling model in fig. 3, the service communication signaling data is first screened according to the initial signaling group in the signaling model to screen out the initial signaling, and it is determined whether the initial signaling is in the initial signaling group in the model, if not, a rejection step is performed to reject the signaling from the data set; if the signaling exists, recording the initial signaling, recording the corresponding sending time, and continuously judging the next signaling; after all initial signaling in the signaling data is determined, searching a corresponding ending signaling group according to the initial signaling, simultaneously screening whether the ending signaling in the signaling data belongs to the ending signaling group, if so, recording the ending signaling and corresponding receiving time, and finally calculating corresponding communication time delay according to the recorded sending time of the initial signaling and the recorded receiving time of the ending signaling.
In this embodiment, in addition to directly analyzing the interactive signaling data of the service through the above steps to implement the delay analysis, the analysis may also be performed by setting an identifier, specifically by setting a signaling identifier in the service communication signaling data sent by the sending end; monitoring whether the signaling identifier exists in service communication signaling data in the receiving end; and if so, acquiring the receiving time when the service communication signaling data provided with the signaling identifier is received.
In this embodiment, the delay measurement device for end-to-end communication may be specifically configured as a subsystem in a network management system in the end-to-end communication system, and by adding the system, not only is the correctness of the service interaction signaling between the terminals monitored, but also the time required for implementing service flow interaction while the services are interacted at the terminals is analyzed, and a worker may optimally adjust the communication time between the terminals according to the analyzed delay report at any time.
The time delay measuring device for end-to-end communication provided by the embodiment of the invention monitors the service communication signaling data sent by the sending end, records the corresponding sending time at the same time, records the corresponding receiving time when the receiving end is identified to receive the service communication signaling data, and then calculates the communication time delay according to the receiving time and the sending time; the time delay analysis is carried out through the service signaling data interacted with the system, so that the time delay analysis of the system is realized, the time consumed for analyzing the time delay process is shortened, the current situation of the time delay of a communication network and the communication quality of the system are improved for a user, the problem that the positioning analysis calculation of the communication time delay cannot be realized in the communication process of an end-to-end system is solved, the time delay of the system is larger, and the use experience of the user is improved.
Example three:
referring to fig. 10, fig. 10 is a block diagram of a structure of a latency measurement apparatus for peer-to-peer communication according to this embodiment, where the apparatus includes: a processor 11, a memory 12 and a communication bus 13, wherein the memory 12 stores a time delay analysis program, and the time delay analysis program comprises:
the communication bus 13 is used for realizing communication connection between the processor 11 and the memory 12;
the processor 11 is configured to execute the latency analysis program stored in the memory 12 to implement the following steps:
monitoring service communication signaling data sent by a sending end of an end-to-end communication system, and recording the sending time for sending the service communication signaling data and the service type corresponding to the service communication signaling data;
identifying whether a receiving end of an end-to-end communication system receives the service communication signaling data, and if so, recording the receiving time of the receiving end receiving the service communication signaling data;
and calculating the signaling time delay of the end-to-end communication system communication according to the recorded sending time and receiving time.
In practical application, the service communication signaling data refers to service transmission data when an end-to-end communication system realizes service interaction, and the service transmission data requests sending, feedback receiving and the like of data through various communication signaling, so the service communication signaling data is necessary signaling for service output transmission. Of course, in practical application, the service communication signaling data may also be a specific communication signaling specially set for the user when analyzing the time delay between the end-to-end systems.
In this embodiment, the processor 11 is further configured to execute the latency analysis program to implement the following steps:
establishing a service model of the end-to-end communication system according to a 3GPP communication protocol;
determining a corresponding service model according to the service type;
and identifying whether a service flow matched with the service model exists in the receiving end according to the service model, extracting corresponding communication signaling data from the service flow according to an identification result, and recording corresponding receiving time.
Preferably, the service model includes a signaling model, the signaling model includes a start signaling group, an intermediate signaling group, and an end signaling group required for triggering the service process, and when the processor 11 executes the delay analysis program to recognize whether the receiving end of the end-to-end communication system receives the service communication signaling data, the following method is specifically used:
determining, from the communication signaling data, an initial signaling corresponding to the initial signaling group;
searching an ending signaling group corresponding to the starting signaling according to the starting signaling;
and screening the communication signaling data according to the ending signaling group, determining ending signaling in the communication signaling data, and recording the receiving time of the ending signaling confirmed to be received by the receiving end.
In practical application, different service interactions and signaling groups used by the different service interactions are different, so that whether the receiving end of the end-to-end communication system receives the service communication signaling data or not can be realized through a signaling model. For example, when there is a service interaction through the signaling model defined in fig. 3, the obtained service communication signaling data is extracted according to the signaling model in fig. 3, the service communication signaling data is first screened according to the initial signaling group in the signaling model to screen out the initial signaling, and it is determined whether the initial signaling is in the initial signaling group in the model, if not, a rejection step is performed to reject the signaling from the data set; if the signaling exists, recording the initial signaling, recording the corresponding sending time, and continuously judging the next signaling; after all initial signaling in the signaling data is determined, searching a corresponding ending signaling group according to the initial signaling, simultaneously screening whether the ending signaling in the signaling data belongs to the ending signaling group, if so, recording the ending signaling and corresponding receiving time, and finally calculating corresponding communication time delay according to the recorded sending time of the initial signaling and the recorded receiving time of the ending signaling.
In this embodiment, the delay measurement apparatus for end-to-end communication may implement delay analysis by directly analyzing the interactive signaling data of the service, and may also perform analysis by the processor 11 executing the delay analysis program to set an identifier for the service communication signaling data, specifically, by setting a signaling identifier in the service communication signaling data sent by the sending end; monitoring whether the signaling identifier exists in service communication signaling data in the receiving end; and if so, acquiring the receiving time when the service communication signaling data provided with the signaling identifier is received.
Correspondingly, the present invention further provides a computer-readable storage medium, where a time delay analysis program is stored on the computer-readable storage medium, and when the time delay analysis program is executed, the steps of the time delay measurement method for end-to-end communication provided in the foregoing embodiment are implemented.
To sum up, in the method and apparatus for measuring a time delay of end-to-end communication and the computer-readable storage medium provided in the embodiments of the present invention, by monitoring service communication signaling data sent by a sending end and recording corresponding sending time, when a receiving end is identified to receive the service communication signaling data, corresponding receiving time is recorded, and then a communication time delay is calculated according to the receiving time and the sending time; the time delay analysis is carried out through the service signaling data interacted with the system, so that the time delay analysis of the system is realized, the time consumed for analyzing the time delay process is shortened, the current situation of the time delay of a communication network and the communication quality of the system are improved for a user, the problem that the positioning analysis calculation of the communication time delay cannot be realized in the communication process of an end-to-end system is solved, the time delay of the system is larger, and the use experience of the user is improved.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented in program code executable by a computing device, such that they may be stored on a computer storage medium (ROM/RAM, magnetic disk, optical disk) and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of the embodiments of the present invention, and the specific embodiments are not to be considered as limiting the invention. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A method for measuring a delay of an end-to-end communication, comprising:
monitoring service communication signaling data sent by a sending end of an end-to-end communication system, and recording the sending time for sending the service communication signaling data and a service type corresponding to the service communication signaling data;
identifying whether a receiving end of an end-to-end communication system receives the service communication signaling data, and if so, recording the receiving time of the receiving end receiving the service communication signaling data;
calculating the signaling time delay of the end-to-end communication system communication according to the recorded sending time and receiving time;
before identifying whether the receiving end of the end-to-end communication system receives the service communication signaling data, the method further comprises the following steps:
establishing a service model of the end-to-end communication system according to a 3GPP communication protocol;
the identifying whether the receiving end of the end-to-end communication system receives the service communication signaling data includes:
determining a corresponding service model according to the service type;
and identifying whether a service flow matched with the service model exists in the receiving end according to the service model, extracting corresponding communication signaling data from the service flow according to an identification result, and recording corresponding receiving time.
2. The method of claim 1, wherein the service model comprises a signaling model, and the signaling model comprises a start signaling group, an intermediate signaling group, and an end signaling group required for triggering the service process;
the identifying whether the receiving end of the end-to-end communication system receives the service communication signaling data further comprises:
determining from the communication signaling data an initiation signaling corresponding to the initiation signaling group;
searching an ending signaling group corresponding to the starting signaling according to the starting signaling;
and screening the communication signaling data according to the ending signaling group, determining ending signaling in the communication signaling data, and recording the receiving time of the ending signaling confirmed to be received by the receiving end.
3. The method for measuring delay of end-to-end communication according to claim 1, before identifying whether the service communication signaling data is received by a receiving end of an end-to-end communication system, further comprising:
setting a signaling identifier in the service communication signaling data sent by the sending end;
the identifying whether the receiving end of the end-to-end communication system receives the service communication signaling data includes:
monitoring whether the signaling identifier exists in service communication signaling data in the receiving end;
and if so, acquiring the receiving time when the service communication signaling data provided with the signaling identifier is received.
4. The method for measuring latency of end-to-end communication according to any one of claims 1 to 3, further comprising: and removing the service flow which is not matched with the service model from the service communication signaling data according to the service model.
5. An apparatus for measuring latency of peer-to-peer communication, comprising:
the data monitoring module is used for monitoring service communication signaling data sent by a sending end of the end-to-end communication system and recording the sending time for sending the service communication signaling data and the service type corresponding to the service communication signaling data;
the identification module is used for identifying whether a receiving end of an end-to-end communication system receives the service communication signaling data or not, and recording the receiving time of the receiving end receiving the service communication signaling data if the receiving end receives the service communication signaling data;
the time delay calculation module is used for calculating the signaling time delay of the end-to-end communication system communication according to the recorded sending time and receiving time;
further comprising: the model establishing module is used for establishing a service model of the end-to-end communication system according to a 3GPP communication protocol;
the identification module is used for determining a corresponding service model according to the service type; and identifying whether a service flow matched with the service model exists from the receiving end according to the service model, extracting corresponding communication signaling data from the service flow according to an identification result, and recording corresponding receiving time.
6. The apparatus for measuring latency of end-to-end communication according to claim 5, wherein the service model comprises a signaling model, and the signaling model comprises a start signaling group, an intermediate signaling group, and an end signaling group required for triggering the service process;
the identification module is further configured to determine, from the communication signaling data, an initiation signaling corresponding to the initiation signaling group; searching an ending signaling group corresponding to the starting signaling according to the starting signaling; and screening the communication signaling data according to the ending signaling group, determining ending signaling in the communication signaling data, and recording the receiving time of the ending signaling confirmed to be received by the receiving end.
7. The apparatus for measuring latency of end-to-end communication according to claim 5, further comprising: an identification module, configured to set a signaling identifier in the service communication signaling data sent by the sending end;
the identification module is used for monitoring whether the signaling identifier exists in the service communication signaling data in the receiving end; and if so, acquiring the receiving time when the service communication signaling data provided with the signaling identifier is received.
8. The apparatus for measuring end-to-end communication delay according to any one of claims 5-7, further comprising: and the filtering module is used for removing the service flow which is not matched with the service model from the service communication signaling data according to the service model.
9. An end-to-end communication delay measurement apparatus, the apparatus comprising: memory, a processor and a latency analysis program stored on the memory and executable on the processor, the latency analysis program when executed by the processor implementing the steps of the end-to-end communication latency measurement method of any one of claims 1 to 4.
10. A computer-readable storage medium, having a latency analysis program stored thereon, which when executed performs the steps of the end-to-end communication latency measurement method of any one of claims 1 to 4.
CN201710404656.3A 2017-06-01 2017-06-01 Time delay measuring method and device for end-to-end communication and computer readable storage medium Active CN108989137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710404656.3A CN108989137B (en) 2017-06-01 2017-06-01 Time delay measuring method and device for end-to-end communication and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710404656.3A CN108989137B (en) 2017-06-01 2017-06-01 Time delay measuring method and device for end-to-end communication and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108989137A CN108989137A (en) 2018-12-11
CN108989137B true CN108989137B (en) 2023-04-18

Family

ID=64502527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710404656.3A Active CN108989137B (en) 2017-06-01 2017-06-01 Time delay measuring method and device for end-to-end communication and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108989137B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970759B (en) * 2019-05-20 2023-05-30 中兴通讯股份有限公司 Delay adjustment method and device for end-to-end service, storage medium and electronic device
CN111314779B (en) * 2020-02-13 2022-03-11 网宿科技股份有限公司 Method and device for determining streaming media transmission quality

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7304962B1 (en) * 1999-12-17 2007-12-04 Nokia Corporation Delay measurement system in a packet network
CN101345662A (en) * 2008-08-18 2009-01-14 信息产业部电信传输研究所 Testing device and method for switch delay time in mobile communication switch course
CN101808016A (en) * 2010-03-02 2010-08-18 河海大学常州校区 Method and system for rapidly measuring end-to-end network performance of DiffServ region under IPv6
CN103024767A (en) * 2011-09-23 2013-04-03 中兴通讯股份有限公司 Mobile communication service end-to-end performance evaluation method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047491B (en) * 2006-06-06 2010-05-12 华为技术有限公司 Communication process system and its method, and time measuring device between network element
CN102026129B (en) * 2010-12-24 2014-09-10 中兴通讯股份有限公司 Method and device for processing call delay information
US8699359B2 (en) * 2011-09-30 2014-04-15 Alcatel Lucent Data plane delay KPI monitoring in live network
CN102630088A (en) * 2012-03-12 2012-08-08 北京中创信测科技股份有限公司 Method for carrying out signaling analysis through customizing state machine
CN103581953B (en) * 2012-07-19 2016-06-22 珠海世纪鼎利通信科技股份有限公司 A kind of method of wireless drive test data and monitoring signaling data association
CN103024790B (en) * 2012-11-26 2016-08-10 大唐移动通信设备有限公司 Network communication quality automated testing method and system
CN104703198B (en) * 2013-12-04 2018-10-02 中国移动通信集团广东有限公司 A kind of determination method and device of end to end network service time delay

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7304962B1 (en) * 1999-12-17 2007-12-04 Nokia Corporation Delay measurement system in a packet network
CN101345662A (en) * 2008-08-18 2009-01-14 信息产业部电信传输研究所 Testing device and method for switch delay time in mobile communication switch course
CN101808016A (en) * 2010-03-02 2010-08-18 河海大学常州校区 Method and system for rapidly measuring end-to-end network performance of DiffServ region under IPv6
CN103024767A (en) * 2011-09-23 2013-04-03 中兴通讯股份有限公司 Mobile communication service end-to-end performance evaluation method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Melvi Ulvan. Delay Performance of Session Establishment Signaling in IP Multimedia Subsystem.《 2009 16th International Conference on Systems, Signals and Image Processing》.2009,全文. *

Also Published As

Publication number Publication date
CN108989137A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US9680722B2 (en) Method for determining a severity of a network incident
CN107508722B (en) Service monitoring method and device
US8576724B2 (en) Method, system, and computer program product, for correlating special service impacting events
US9172593B2 (en) System and method for identifying problems on a network
CN108768791A (en) A kind of information collection configuration management system and method
US20150195154A1 (en) Creating a Knowledge Base for Alarm Management in a Communications Network
US8477653B2 (en) Monitoring individual data flow performance
CN101843134A (en) Method and monitoring component for network traffic monitoring
CN107872503B (en) Firewall session number monitoring method and device
CN108989137B (en) Time delay measuring method and device for end-to-end communication and computer readable storage medium
CN108924007A (en) The big data acquisition of communication operation information and storage system and method
CN110825466B (en) Program jamming processing method and jamming processing device
CN103812688A (en) Alarm determining method and device
CN112751722B (en) Data transmission quality monitoring method and system
CN107171817B (en) Fault information acquisition method and device
CN102612058B (en) Method and device for determining performance index statistical result
CN104615702B (en) Information pushing method and device
CN101917699B (en) Random reported signaling tracking method and device based on users
CN111488997A (en) Automatic operation and maintenance method, device, equipment and storage medium
CN101232404B (en) Remote network management method of EPON access system
CN110121190B (en) Data management method and device and computer readable storage medium
CN107547444B (en) Traffic statistical method and switching equipment
CN112312376B (en) Method and system for remotely and interactively managing multifunctional electric meter
CN110896545B (en) Online charging roaming fault positioning method, related device and storage medium
CN102123092A (en) Method and system for analyzing multicast performance

Legal Events

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