CN110768868A - Terminal data network performance analysis method and device - Google Patents
Terminal data network performance analysis method and device Download PDFInfo
- Publication number
- CN110768868A CN110768868A CN201911028981.XA CN201911028981A CN110768868A CN 110768868 A CN110768868 A CN 110768868A CN 201911028981 A CN201911028981 A CN 201911028981A CN 110768868 A CN110768868 A CN 110768868A
- Authority
- CN
- China
- Prior art keywords
- request
- terminal
- score
- success
- data network
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a terminal data network performance analysis method, which comprises the following steps: respectively acquiring a control plane access performance parameter and a user plane access performance parameter of the terminal in a preset time period from a control plane interface and a user plane interface according to the identification information of the terminal; calculating a terminal control plane access score, a terminal user plane access score, a terminal timeliness score and a terminal integrity score of the terminal based on the control plane access performance parameter and the user plane access performance parameter; and calculating to obtain the data network performance comprehensive score of the terminal according to a weighted summation method based on at least one of the terminal control plane access score, the terminal user plane access score, the terminal timeliness score and the terminal integrity score. The invention also provides a terminal data network performance analysis device, and relates to the technical field of communication.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for analyzing terminal data network performance.
Background
With the advancement of science and technology, a mobile phone becomes a main tool for people to surf the internet, and sometimes, in the process of surfing the internet by using the mobile phone, the situations of poor internet quality such as slow internet surfing, video blocking and the like occur.
Disclosure of Invention
The invention aims to at least solve one of the technical problems in the prior art, and provides a terminal data network performance analysis method and a terminal data network performance analysis device, which are used for solving the problem that the data network performance of a terminal cannot be analyzed and evaluated in the prior art.
In one aspect, the present invention provides a method for analyzing terminal data network performance, including:
respectively acquiring a control plane access performance parameter and a user plane access performance parameter of the terminal in a preset time period from a control plane interface and a user plane interface according to the identification information of the terminal;
calculating a terminal control plane access score, a terminal user plane access score, a terminal timeliness score and a terminal integrity score of the terminal based on the control plane access performance parameter and the user plane access performance parameter;
and calculating to obtain the data network performance comprehensive score of the terminal according to a weighted summation method based on at least one of the terminal control plane access score, the terminal user plane access score, the terminal timeliness score and the terminal integrity score.
Preferably, the data network performance comprehensive score of the terminal is calculated according to the following formula:
Sc=S1×a1+S2×a2+S3×a3+S4×a4
wherein S iscFor a comprehensive rating of the terminal' S data network performance, S1To end inEnd control plane access scoring, S2Rating for end user plane access, S3For terminal timeliness scoring, S4Scoring the integrity of the terminal, a1~a4Is a preset weight value.
Preferably, the control plane access performance parameters include: the number of successful attachment times, the number of failed attachment times caused by user reasons, the number of attachment requests, the number of successful user requests for public data network connection, the number of failed user requests for public data network connection, the number of user requests for public data network connection requests, the number of successful default bearer context, the number of successful dedicated bearer context, the number of default bearer context requests, the number of dedicated bearer context requests, the number of successful tracking area updates, the number of failed tracking area times caused by user reasons, the number of request tracking area updates, the number of successful service requests, the number of failed service requests caused by user reasons, and the number of service requests;
the access score of the control plane of the terminal is calculated according to the following formula:
S1=A1×A2×A3×A4×A5×100;
wherein A is1Indicates the success rate of attachment, A2Indicating the success rate of the public data network connection, A3Indicates bearer context success rate, A4Indicates tracking area update success rate, A5Indicating a service request success rate;
the attachment success rate A1Calculating based on the attachment success times, the attachment failure times caused by the user reasons and the attachment request times;
the public data network is connected to form a power A2Calculating based on the successful times of the user requesting the public data network connection, the times of the user requesting the public data network connection failure caused by the user reason and the times of the user requesting the public data network connection request;
the bearer context success rate A3Based on the success times of the default bearer context, the success times of the dedicated bearer context, and theCalculating the times of the default bearer context request and the times of the special bearer context request;
the tracking area update success rate A4Calculating the number of times of successful updating of the tracking area, the number of times of failure of the tracking area caused by the user reason and the number of times of updating requests of the tracking area;
the success rate A of the service request5And calculating based on the service request success times, the service request failure times caused by the user reasons and the service request times.
Preferably, the user plane access performance parameters include: DNS analysis success times, DNS analysis request times, downlink syn response success times, uplink syn request times, get request response success times, get request times, post request response success times and post request times;
the terminal user plane access score is calculated according to the following formula:
S2=B1×B2×B3×B4×100
wherein S is2Representing end user plane access scores, B1Indicates DNS success rate, B2Indicates syn success rate, B3Indicates get request success rate, B4Indicating a post request success rate;
the DNS success rate B1Calculating based on the DNS analysis success times and the DNS analysis request times;
the syn success rate B2Calculating based on the successful times of the downlink syn response and the times of the uplink syn request;
the get request success rate B3Calculating based on the success times of the get request response and the times of the get request;
the post request success rate B4And calculating based on the successful times of the post request response and the times of the post request.
Preferably, the control plane access performance parameters include: the time difference between the attachment request and the attachment reception, the attachment success frequency, the time difference between the default bearer context response and the default bearer context request, the time difference between the special bearer context response and the special bearer context request, the frequency of the default bearer context request, the frequency of the special bearer context request, the time difference between the tracking area update response and the tracking area update request, the tracking area update success frequency, the time difference between the service request response and the service request sending, and the service request success frequency;
the user plane access performance parameters include: the time delay from a DNS response message to a DNS request message, the times of DNS analysis success, the time delay from syn initiation to response, the times of downlink syn response success, the time delay from a get request response message to a get request message, the times of get request response success, the time delay from a post request response message to a post request message, the times of post request response success, the page display duration with the flow less than a preset threshold, the times of page display success with the flow less than the preset threshold, the conversation flow with the flow greater than the preset threshold and the conversation time delay with the flow greater than the preset threshold;
the terminal timeliness score is calculated according to the following formula:
S3=D1×d1+D2×d2+D3×d2+D4×d4
wherein S is3Indicating terminal timeliness rating, D1Indicating control plane delay score, D2Representing user plane delay scores, D3Indicating a packet service delay score, D4Representing a big packet rate score; d 1-d 4 are preset weight values;
wherein the control plane delay score D1Based on the time difference between the attach request and the attach receiving, the attachment success times, the time difference between the default bearer context response and the default bearer context request, the time difference between the special bearer context response and the special bearer context request, the default bearer context request times, the special bearer context request times, the time difference between the tracking area update response and the tracking area update request, the tracking area update success times, the time difference between the service request response and the service request sending, and the service request success timesCalculating to obtain;
the user plane delay score D2Calculating based on the time delay from the DNS response message to the DNS request message, the DNS analysis success times, the time delay from syn initiation to response, the downlink syn response success times, the time delay from the get request response message to the get request message, the get request response success times, the time delay from the post request response message to the post request sending message, and the post request response success times;
the packet service delay score D3Calculating based on the page display duration with the flow smaller than a preset threshold and the page display success times with the flow smaller than the preset threshold;
the big packet rate score D4And calculating based on the conversation flow with the flow larger than the preset threshold and the conversation time delay with the flow larger than the preset threshold.
Preferably, the user plane access performance parameters include: the number of times of finishing when the TCP has a reset signal but has no finishing signal and the success number of get requests;
the terminal integrity score is calculated according to the following formula:
S4=(1-T)×100%
wherein S is4Representing the terminal integrity score, and T representing the TCP disconnection rate;
and calculating the TCP disconnection rate based on the number of times that the TCP is ended when a reset signal occurs but no end signal exists and the success number of the get request.
Preferably, after the step of calculating the data network performance composite score of the terminal, the method further includes:
storing the corresponding relation between the identification information of the terminal and the comprehensive performance score of the data network; the identification information includes an international mobile equipment identity of the terminal.
Preferably, the method further comprises:
acquiring the corresponding relation between the stored identification information of the terminals with the preset number and the network performance comprehensive score;
dividing terminals with the same type distribution code into a group according to the type distribution code in the international mobile equipment identification code;
and calculating the average value of the data network performance comprehensive scores of all the terminals in the group aiming at each group of terminals so as to obtain the data network performance comprehensive score of the terminal of the model corresponding to the group of terminals.
Preferably, after the step of calculating, for each group of terminals, an average value of the data network performance composite scores of all the terminals in the group to obtain the data network performance composite score of the terminal of the model corresponding to the group of terminals, the method further includes:
generating an evaluation report, wherein the evaluation report comprises the terminal model corresponding to each group of terminals and the corresponding data network performance comprehensive score;
and displaying the evaluation report to a user.
In another aspect, the present invention further provides a terminal data network performance analysis apparatus, including a storage module, where a computer program is stored in the storage module, and the computer program is used to implement the method described in this application when executed.
The invention has the beneficial technical effects that:
according to the method and the device for analyzing the terminal data network performance, the control plane access performance parameters and the user plane access performance parameters related to the terminal are respectively obtained from the control plane interface and the user plane interface, and the data network performance comprehensive score of the terminal can be rapidly calculated based on a certain calculation method according to the control plane access performance parameters and the user plane access performance parameters, so that the data network performance of the terminal is evaluated, and further, the problem positioning and improvement of the terminal by related departments are facilitated.
Drawings
Fig. 1 is a flowchart of a method for analyzing performance of a terminal data network according to an embodiment of the present invention;
fig. 2 is a flowchart of a terminal data network performance analysis method according to a second embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, a detailed description is given below of a terminal data network performance analysis method and apparatus provided by the present invention with reference to the accompanying drawings.
The terminal data network performance analysis method provided by the invention is used for analyzing the performance of a terminal using data network (network provided by an operator).
Example one
The present embodiment provides a method for analyzing terminal data network performance, as shown in fig. 1, including:
step S101, respectively obtaining control plane access performance parameters and user plane access performance parameters of the terminal in a preset time period from a control plane interface and a user plane interface according to the identification information of the terminal.
In the present invention, a control plane interface refers to an interface where a base station communicates with a Mobility Management Entity (MME), i.e., an S1-MME interface, and the interface is used to transmit Session Management (SM) and Mobility Management (MM) information, i.e., signaling plane or control plane information; the user plane interface refers to an interface, i.e., S1-U interface, for a base station to communicate with a serving gateway (S-GW), which is used to tunnel user data traffic, i.e., user plane data, between the gateway and the eNodeB device.
When the terminal uses the data network, the two interfaces can transmit a large number of control plane access performance parameters and user plane access performance parameters related to the terminal, and the information transmission process can carry identification information of the terminal, so that the information is extracted and analyzed according to the identification information of the terminal, and the data network performance of the terminal can be effectively evaluated.
Step S102, calculating a terminal control plane access score, a terminal user plane access score, a terminal timeliness score and a terminal integrity score of the terminal based on the control plane access performance parameter and the user plane access performance parameter.
And step S103, calculating to obtain a data network performance comprehensive score of the terminal according to a weighted summation method based on at least one of a terminal control plane access score, a terminal user plane access score, a terminal timeliness score and a terminal integrity score.
In the embodiment, the control plane access performance parameters and the user plane access performance parameters related to the terminal are respectively acquired from the control plane interface and the user plane interface, and the data network performance comprehensive score of the terminal can be rapidly calculated based on a certain calculation method according to the control plane access performance parameters and the user plane access performance parameters, so that the data network performance of the terminal is evaluated, and further, the problem positioning and improvement of the terminal by related departments are facilitated.
Example two
The present embodiment provides a method for analyzing performance of a terminal data network, which is further supplemented on the basis of the first embodiment.
In this embodiment, the control plane access performance parameter of the terminal acquired from the S1-MME interface may include: attachment success times (Attach success times), attachment failure times due to user reasons, attachment request times (Attach request times), user request public data network connection success times (UE request PDN connection success times), user request public data network connection failure times due to user reasons (UE request PDN connection failure times due to user reasons), user request public data network connection request times (UE request PDN connection request times), default bearer context success times (default bearer _ context success times), dedicated bearer context success times (dedicated bearer _ context success times), default bearer context request times (default bearer _ context request times), dedicated bearer context request times (dedicated bearer _ context request times), tracking area update success times (TAU success times), user cause tracking area failure times (user cause TAU failure times), and the like, Tracking the number of area update requests (TAU Request times), the number of Service Request successes (Service _ Request successes), the number of Service Request failures due to the user (Service _ Request failures due to the user), the number of Service requests (Service _ Request requests), the time difference between Attach requests and Attach receptions (time difference between Attach _ Accept and Attach Request), the time difference between the default bearer context response and the default bearer context Request (the time difference between the default bearer _ context Accept and the bearer _ context _ Request), the time difference between the dedicated bearer context response and the dedicated bearer context Request (the time difference between the dedicated bearer _ context Accept and the bearer _ context _ Request), the time difference between the tracking area update response and the tracking area update Request (the time difference between the TAU Accept and the TAU Request), and the time difference between the Service Request response and the Service Request issue (the time difference between the Service _ Request and the Service _ Request).
The user plane access performance parameters of the terminal obtained from the S1-U interface may include: the number of successful DNS resolution, the number of requests for DNS resolution, the number of successful downlink syn response times (number of successful downlink syn _ Ack times), the number of uplink syn requests, the number of successful get Request responses (number of successful get Resp times), the number of get requests, the number of successful post Request responses (number of successful post Request times), the number of post requests, the time delay from the DNS response message to the DNS Request message (time delay from the DNS Resp message to the DNS Request message), the time delay from the syn initiation to the response (time delay from the syn to the Ack), the time delay from the get Request response message to the get Request message (time delay from the get Resp message to the get Request message), the time delay from the post Request response message to the post Request message (time delay from the post Resp message to the post Request message), the page display duration for which the traffic is less than a preset threshold, the number of successful page display for which the traffic is less than a preset traffic threshold, the session traffic which is greater than a preset threshold, the session for which is greater than a preset traffic, The session delay of the flow rate is larger than a preset threshold value, the number of times that the TCP ends when a reset signal occurs but no end signal occurs (the number of times that the TCP ends when RST occurs and the FIN does not exist), and the success number of the get request.
The parameters are conventional data generated when the terminal uses the data network in the art, and the parameters may be directly extracted based on data acquired from the S1-MME interface and the S1-U interface, or obtained through simple statistics, so the meaning and the acquisition mode of each parameter are not described in detail again in this embodiment.
In this embodiment, the data network performance comprehensive score of the terminal is calculated according to the following formula:
Sc=S1×a1+S2×a2+S3×a3+S4×a4(1)
in the formula (1), ScFor a comprehensive rating of the terminal' S data network performance, S1Scoring the terminal control plane access, S2Rating for end user plane access, S3For terminal timeliness scoring, S4Scoring the integrity of the terminal, a1~a4The preset weight value can be set by those skilled in the art according to practical experience.
Preferably, the terminal control plane access score is calculated according to the following formula:
S1=A1×A2×A3×A4×A5×100; (2)
in the formula (2), A1Indicates the success rate of attachment, A2Indicating the success rate of the public data network connection, A3Indicates bearer context success rate, A4Indicates tracking area update success rate, A5Indicating the service request success rate.
Specifically, the calculation method of the attachment success rate is as follows:
attachment success rate A1The number of attach requests is (number of attach successes + number of attach failures due to user cause).
The attachment failure caused by the user is a case of attachment failure caused by the terminal device in the process of attaching the terminal, for example, a hardware failure of the terminal or a software failure of the terminal. The data information at the S1-MME interface records the reason when the terminal attachment fails, for example, the terminal does not respond or the server does not respond, and by counting the information, the number of times of attachment failure caused by the user reason of the terminal in a preset time period can be counted.
Connection of public data networks to power A2The calculation method comprises the following steps:
connection of public data networks to power A2The UE requests the PDN connection request times (the UE requests the PDN connection success times + the UE causes the UE to request the PDN connection failure times).
The meaning of the failure of requesting PDN connection by the UE due to the user is similar to that of the attach failure due to the user, and the obtaining method is also similar to the obtaining method of the number of times of attach failure due to the user.
Bearer context success rate a3The calculation method comprises the following steps:
bearer context success rate a3(default bearer _ context success number + dedicated bearer _ context success number)/(default bearer _ context request number + dedicated bearer _ context request number).
Tracking area update success rate a4The calculation method comprises the following steps:
tracking area update success rate a4(number of TAU successes + number of TAU failures due to user cause)/number of TAU requests.
Service request success rate a5The calculation method comprises the following steps:
service request success rate a5(number of Service _ Request successes + number of Service _ Request failures due to user reason)/number of Service _ Request requests.
The success rate A of attachment is calculated according to the method1Public data network connection success rate A2Bearing context success rate A3Tracking area update success rate A4And service request success rate A5Then, A is mixed1~A5Substituting the obtained result into the formula (2) to obtain the terminal control plane access score S of the terminal1。
Preferably, in this embodiment, the access score of the terminal user plane is calculated according to the following formula:
S2=B1×B2×B3×B4×100 (3)
in the formula (3), S2Representing end user plane access scores, B1Indicates DNS success rate, B2Indicates syn success rate, B3Indicates get request success rate, B4Indicating a post request success rate.
Specifically, DNS success rate B1The calculation method comprises the following steps:
DNS success rate B1DNS resolution success/DNS resolution request times.
syn success rate B2The calculation method comprises the following steps:
syn success rate B2Downlink syn _ ack success times/uplink syn request times.
get request success rate B3The calculation method comprises the following steps:
get request success rate B3Get resp success/get request times.
post request success rate B4The calculation method comprises the following steps:
post request success rate B4Pos tressp success/post request times.
Respectively calculating DNS success rate B according to the method1Syn success rate B2Get request success rate B3Post request success rate B4Then, B is mixed1~B4Substituting into the above formula (3) to obtain the terminal control plane access score S of the terminal2。
Preferably, in this embodiment, the terminal timeliness score is calculated according to the following formula:
S3=D1×d1+D2×d2+D3×d2+D4×d4(4)
in the formula (4), S3Indicating terminal timeliness rating, D1Indicating control plane delay score, D2Representing user plane delay scores, D3Indicating a packet service delay score, D4Representing a big packet rate score; d 1-d 4 are preset weight values, which can be set by those skilled in the art according to practical experience.
In particular, the control plane delay score D1The calculation method comprises the following steps: first, calculate the control plane delay valueThen will beBy substituting into a predetermined threshold functionThe control plane delay score D can be obtained from the number1。
Wherein, the Attach delay is the total time difference between the Attach Accept and the Attach Request/the number of Attach requests.
It should be noted that the total time difference between the Attach Accept and the Attach Request refers to a sum of time differences between the multiple Attach Accept and the Attach Request acquired at the S1-MME interface, that is, the total time difference between the Attach Accept and the Attach Request indicates a sum of time differences between all the Attach Accept and the Attach Request during multiple Attach procedures of the terminal occurring within a preset time period.
The pointer _ context delay (total time difference of the default pointer _ context _ Request from pointer _ context _ Request + total time difference of the dedicated pointer _ context _ Request from pointer _ context _ Request)/(number of times of Request of default pointer _ context + number of requests of dedicated pointer _ context).
Wherein, the total time difference between the default beacon _ context _ Request and the dedicated beacon _ context _ Request respectively represents the sum of the time differences between all default beacon _ context _ requests and the beacon _ context _ Request within the preset time period and the sum of the time differences between all dedicated beacon _ context _ requests within the preset time period.
The TAU time delay is the total time difference between the TAU Accept and the TAU Request/the number of times of TAU success.
Wherein, the total time difference between the TAU Accept and the TAU Request represents the sum of the time differences between all the TAUAAccept and the TAU Request of the terminal in the preset time period.
The Service _ Request delay is the total time difference between the Service _ Request Accept and the Service _ Request/the number of times of success of the Service _ Request.
The total time difference between the Service _ Request Accept and the Service _ Request refers to the sum of the time differences between all the Service _ Request accepts and the Service _ Request requests in the preset time period.
It should be noted that the units of the Attach delay, the beer _ context delay, the TAU delay, and the Service _ Request delay obtained by the above calculation method are all 1000 seconds, and after obtaining the Attach delay, the beer _ context delay, the TAU delay, and the Service _ Request delay, the sum of them is divided by 1000 to obtain the control plane delay valueThe control plane latency valueIn seconds, when the control plane delay value is obtainedThen, willSubstituting the obtained time delay score into the threshold function to obtain the control plane time delay score D1。
Calculating control plane delay score D1The threshold function of (d) is:
wherein x represents the control plane delay, and the unit is second.
User plane delay score D2The calculation method comprises the following steps: firstly, calculate the time delay value of user planeThen will beSubstituting the obtained time delay score into a preset threshold function to obtain a control surface time delay score D2。
Specifically, the DNS delay is the total delay of the DNS resp message from the DNS Request message/the number of times DNS resolution succeeds.
It should be noted that, the total delay of the DNS resp message from the DNS Request message refers to the sum of the delays of all DNS resp messages from the DNS Request message in the preset time period of the terminal.
TCP establishes a connection acknowledgement delay (total delay from syn to Ack/number of successful downstream syn _ Ack).
It should be noted that the total time delay of syn to Ack refers to the sum of the time delays of all syn to Ack within a preset time period of the terminal.
get delay-total delay of get Resp message from get Request message/number of times get Resp succeeds.
It should be noted that the total delay of the get Resp message from the get Request message refers to the sum of the delays of all the get Resp messages received by the terminal within the preset time period from the get Request message.
The post delay is the total delay of the post Resp message from the post Request message/the number of times the post Resp succeeds.
It should be noted that, the total delay between the post Resp message and the post Request message refers to the sum of the delays between all the post Resp messages and the post Request message in the preset time period.
The units of DNS time delay, TCP connection establishment confirmation time delay, get time delay and post time delay which are obtained according to the calculation method are all 1000 seconds, after the DNS time delay, the TCP connection establishment confirmation time delay, the get time delay and the post time delay are obtained, the sum of the DNS time delay, the TCP connection establishment confirmation time delay, the get time delay and the post time delay is divided by 1000 to obtain a user plane time delay value XD2The value of the user plane delay XD2Is in seconds, and the control plane delay value X is obtainedD2Then, X is put inD2Substituted into the threshold functionObtaining a user plane delay score D2。
Calculating user plane delay score D2The threshold function of (d) is:
where x represents the user plane latency value in seconds.
Packet service delay score D3The calculation method comprises the following steps: firstly, calculating the time delay value of the packet serviceThen will beSubstituting into the preset threshold function to obtain the packet service delay score D3。
It should be noted that the total page display duration with the flow rate smaller than the preset threshold refers to the sum of the page display durations with all the flow rates smaller than the preset threshold in the preset time period of the terminal. In the present invention, preferably, the preset threshold is set to 50KB, and the unit of the total page display duration with the flow rate smaller than the preset threshold is second.
The packet service delay value calculated according to the formulaIn units of milliseconds, calculating the delay value of packet serviceThen substituting the time delay score D into the threshold function to obtain the time delay score D of the packet service3。
Calculating packet service delay score D3The threshold function of (d) is:
where x represents the packet traffic delay value in milliseconds.
Big packet rate score D4The calculation method comprises the following steps: firstly, calculate the big packet speed valueThen the big packet speed value is calculatedSubstituting into a preset threshold function to obtain a packet rate score D4。
It should be noted that the total session traffic with a traffic greater than the preset threshold and the total session delay with a traffic greater than the preset threshold are respectively a sum of all session traffic with a traffic greater than the preset threshold and a sum of session delays with all traffic greater than the preset threshold in the preset time period, where preferably, the preset threshold is set to 50 Kb.
Calculating the packet rate value according to the formulaIs in kbps (kilobit rate), and calculates the value of the large packet rateThen, the big packet speed value is calculatedSubstituting into the threshold function to obtain the large packet rate score D4。
Calculating a big packet rate score D4The threshold function of (d) is:
where x represents the large packet rate in kbps.
In calculating control plane delay score D1User plane delay score D2Packet service delay score D3And big packet rate score D4Then, D is added1~D4Substituting into the above formula (4) to obtain the terminal timeliness score S3。
Preferably, in this embodiment, the terminal integrity score S4Calculated according to the following formula:
S4=(1-T)×100% (5)
in the formula (5), S4Representing the terminal integrity score and T representing the TCP drop rate score.
The method for calculating the TCP disconnection rate score comprises the following steps: firstly, the TCP disconnection rate X is calculatedTThen the TCP disconnection rate X is calculatedTAnd substituting the TCP disconnection rate score into a preset threshold function to obtain the TCP disconnection rate score T.
Wherein the content of the first and second substances,
TCP disconnection rate XTNumber of times that TCP occurs RST and no FIN ends/get request success times 100%.
The TCP disconnection rate X calculated according to the formulaTThe unit of (1) is percentage (%), and the TCP disconnection rate is XTAnd substituting the TCP disconnection rate score into the threshold function to obtain the TCP disconnection rate score T.
The threshold function for calculating the TCP disconnection rate score T is as follows:
wherein x represents TCP disconnection rate in percentage (%), for example, x ≦ 1 means x is less than or equal to 1%.
In this embodiment, the access score S of the control plane of the terminal is calculated1Terminal user plane access scoring S2Terminal timeliness scoring S3And terminal integrity score S4Then, the S is added1~S4Substituting the data network performance into the formula (1) to obtain the data network performance comprehensive score S of the terminalc。
In addition, in this embodiment, as shown in fig. 2, after step S103, the method further includes:
and step S104, storing the corresponding relation between the identification information of the terminal and the comprehensive performance score of the data network.
In this embodiment, the identification information of the terminal may be an International Mobile Equipment Identity (IMEI) of the terminal, and after the data network performance comprehensive score of the terminal is calculated in step S103, the IMEI number of the terminal and the data network performance comprehensive score are stored in a corresponding manner.
And step S105, acquiring the corresponding relation between the stored identification information of the terminals with the preset number and the network performance comprehensive score.
In this embodiment, step S105 is not performed immediately after step S104, but is performed after the entire terminal data network performance analysis apparatus has calculated and stored the data network performance comprehensive scores of a certain number of terminals, and fig. 2 of the present invention only illustrates that step S105 is performed after step S104, but is not limited to that step S105 is performed immediately after each step S104.
And S106, dividing the terminals with the same type distribution code into a group according to the type distribution code in the international mobile equipment identification code.
And S107, calculating the average value of the data network performance comprehensive scores of all the terminals in the group aiming at each group of terminals to obtain the data network performance comprehensive score of the terminal of the type corresponding to the group of terminals.
The IMEI number of the terminal includes a Type Allocation Code (TAC) representing a terminal model, which is used to distinguish a brand and a model of the terminal, and specifically, the TAC number is the first 8 digits of the IMEI number. In this embodiment, the terminals are grouped according to their TAC numbers, and the terminals can be classified according to their brands and models, so that the data network performance comprehensive score of each terminal model is subsequently calculated. In this embodiment, the data network performance comprehensive score of each type of terminal is calculated by type, so that relevant departments (such as terminal manufacturers) can analyze and locate relevant problems of a certain type of specific terminal conveniently, and common problems and individual problems of a certain type of terminal can be analyzed quickly.
And step S108, generating an evaluation report.
The evaluation report includes the terminal model corresponding to each group of terminals and the corresponding data network performance comprehensive score.
And step S109, displaying the evaluation report to the user.
After the comprehensive data network performance score of each type of terminal is calculated according to the terminal model, an evaluation report can be generated and displayed to a user, so that the user can conveniently check the evaluation report.
EXAMPLE III
The embodiment provides a terminal data network performance analysis device, which comprises a storage module, wherein a computer program is stored in the storage module, and when the computer program is executed, the computer program is used for realizing the methods provided by the first embodiment and the second embodiment of the invention.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.
Claims (10)
1. A terminal data network performance analysis method is characterized by comprising the following steps:
respectively acquiring a control plane access performance parameter and a user plane access performance parameter of the terminal in a preset time period from a control plane interface and a user plane interface according to the identification information of the terminal;
calculating a terminal control plane access score, a terminal user plane access score, a terminal timeliness score and a terminal integrity score of the terminal based on the control plane access performance parameter and the user plane access performance parameter;
and calculating to obtain the data network performance comprehensive score of the terminal according to a weighted summation method based on at least one of the terminal control plane access score, the terminal user plane access score, the terminal timeliness score and the terminal integrity score.
2. The method of claim 1, wherein the data network performance composite score of the terminal is calculated according to the following formula:
Sc=S1×a1+S2×a2+S3×a3+S4×a4
wherein S iscFor a comprehensive rating of the terminal' S data network performance, S1Scoring the terminal control plane access, S2Rating for end user plane access, S3For terminal timeliness scoring, S4Scoring the integrity of the terminal, a1~a4Is a preset weight value.
3. The method according to claim 1 or 2, wherein the control plane access performance parameters comprise: the number of successful attachment times, the number of failed attachment times caused by user reasons, the number of attachment requests, the number of successful user requests for public data network connection, the number of failed user requests for public data network connection, the number of user requests for public data network connection requests, the number of successful default bearer context, the number of successful dedicated bearer context, the number of default bearer context requests, the number of dedicated bearer context requests, the number of successful tracking area updates, the number of failed tracking area times caused by user reasons, the number of request tracking area updates, the number of successful service requests, the number of failed service requests caused by user reasons, and the number of service requests;
the access score of the control plane of the terminal is calculated according to the following formula:
S1=A1×A2×A3×A4×A5×100;
wherein A is1Indicates the success rate of attachment, A2Indicating the success rate of the public data network connection, A3Indicates bearer context success rate, A4Indicates tracking area update success rate, A5Indicating a service request success rate;
the attachment success rate A1Calculating based on the attachment success times, the attachment failure times caused by the user reasons and the attachment request times;
the public data network is connected to form a power A2Calculating based on the successful times of the user requesting the public data network connection, the times of the user requesting the public data network connection failure caused by the user reason and the times of the user requesting the public data network connection request;
the bearer context success rate A3Calculating based on the success times of the default bearer context, the success times of the special bearer context, the request times of the default bearer context and the request times of the special bearer context;
the tracking area update success rate A4Calculating the number of times of successful updating of the tracking area, the number of times of failure of the tracking area caused by the user reason and the number of times of updating requests of the tracking area;
the success rate A of the service request5And calculating based on the service request success times, the service request failure times caused by the user reasons and the service request times.
4. The method according to claim 1 or 2, wherein the user plane access performance parameters comprise: DNS analysis success times, DNS analysis request times, downlink syn response success times, uplink syn request times, get request response success times, get request times, post request response success times and post request times;
the terminal user plane access score is calculated according to the following formula:
S2=B1×B2×B3×B4×100
wherein S is2Representing end user plane access scores, B1Indicates DNS success rate, B2Indicates syn success rate, B3Indicates get request success rate, B4Indicating a post request success rate;
the DNS success rate B1Calculating based on the DNS analysis success times and the DNS analysis request times;
the syn success rate B2Calculating based on the successful times of the downlink syn response and the times of the uplink syn request;
the get request success rate B3Calculating based on the success times of the get request response and the times of the get request;
the post request success rate B4And calculating based on the successful times of the post request response and the times of the post request.
5. The method according to claim 1 or 2, wherein the control plane access performance parameters comprise: the time difference between the attachment request and the attachment reception, the attachment success frequency, the time difference between the default bearer context response and the default bearer context request, the time difference between the special bearer context response and the special bearer context request, the frequency of the default bearer context request, the frequency of the special bearer context request, the time difference between the tracking area update response and the tracking area update request, the tracking area update success frequency, the time difference between the service request response and the service request sending, and the service request success frequency;
the user plane access performance parameters include: the time delay from a DNS response message to a DNS request message, the times of DNS analysis success, the time delay from syn initiation to response, the times of downlink syn response success, the time delay from a get request response message to a get request message, the times of get request response success, the time delay from a post request response message to a post request message, the times of post request response success, the page display duration with the flow less than a preset threshold, the times of page display success with the flow less than the preset threshold, the conversation flow with the flow greater than the preset threshold and the conversation time delay with the flow greater than the preset threshold;
the terminal timeliness score is calculated according to the following formula:
S3=D1×d1+D2×d2+D3×d2+D4×d4
wherein S is3Indicating terminal timeliness rating, D1Indicating control plane delay score, D2Representing user plane delay scores, D3Indicating a packet service delay score, D4Representing a big packet rate score; d 1-d 4 are preset weight values;
wherein the control plane delay score D1Calculating based on the time difference between the attachment request and the attachment reception, the attachment success frequency, the time difference between the default bearer context response and the default bearer context request, the time difference between the special bearer context response and the special bearer context request, the default bearer context request frequency, the special bearer context request frequency, the time difference between the tracking area update response and the tracking area update request, the tracking area update success frequency, the time difference between the service request response and the service request sending, and the service request success frequency;
the user plane delay score D2Calculating based on the time delay from the DNS response message to the DNS request message, the DNS analysis success times, the time delay from syn initiation to response, the downlink syn response success times, the time delay from the get request response message to the get request message, the get request response success times, the time delay from the post request response message to the post request sending message, and the post request response success times;
the packet service delay score D3Calculating based on the page display duration with the flow smaller than a preset threshold and the page display success times with the flow smaller than the preset threshold;
the big packet rate score D4Conversation flow and large flow based on the fact that the flow is larger than a preset threshold valueThe session delay at a preset threshold is calculated.
6. The method according to claim 1 or 2, wherein the user plane access performance parameters comprise: the number of times of finishing when the TCP has a reset signal but has no finishing signal and the success number of get requests;
the terminal integrity score is calculated according to the following formula:
S4=(1-T)×100%
wherein S is4Representing the terminal integrity score, and T representing the TCP disconnection rate;
and calculating the TCP disconnection rate based on the number of times that the TCP is ended when a reset signal occurs but no end signal exists and the success number of the get request.
7. The method of claim 1, further comprising, after the step of calculating the composite score of data network performance of the terminal:
storing the corresponding relation between the identification information of the terminal and the comprehensive performance score of the data network; the identification information includes an international mobile equipment identity of the terminal.
8. The method of claim 7, further comprising:
acquiring the corresponding relation between the stored identification information of the terminals with the preset number and the network performance comprehensive score;
dividing terminals with the same type distribution code into a group according to the type distribution code in the international mobile equipment identification code;
and calculating the average value of the data network performance comprehensive scores of all the terminals in the group aiming at each group of terminals so as to obtain the data network performance comprehensive score of the terminal of the model corresponding to the group of terminals.
9. The method according to claim 8, wherein after the step of calculating, for each group of terminals, an average value of the data network performance composite scores of all the terminals in the group to obtain the data network performance composite score of the terminal of the model corresponding to the group of terminals, the method further comprises:
generating an evaluation report, wherein the evaluation report comprises the terminal model corresponding to each group of terminals and the corresponding data network performance comprehensive score;
and displaying the evaluation report to a user.
10. A terminal data network performance analysis apparatus comprising a storage module, wherein the storage module stores a computer program, and the computer program is used for implementing the method according to any one of claims 1 to 9 when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911028981.XA CN110768868A (en) | 2019-10-28 | 2019-10-28 | Terminal data network performance analysis method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911028981.XA CN110768868A (en) | 2019-10-28 | 2019-10-28 | Terminal data network performance analysis method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110768868A true CN110768868A (en) | 2020-02-07 |
Family
ID=69334139
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911028981.XA Pending CN110768868A (en) | 2019-10-28 | 2019-10-28 | Terminal data network performance analysis method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110768868A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111092792A (en) * | 2020-03-23 | 2020-05-01 | 北京安博通科技股份有限公司 | Method and device for evaluating network performance of terminal |
CN111726797A (en) * | 2020-06-23 | 2020-09-29 | Oppo广东移动通信有限公司 | User identification card switching method and device, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102149110A (en) * | 2011-03-18 | 2011-08-10 | 中兴通讯股份有限公司 | Terminal performance assessment method and device |
CN102164375A (en) * | 2010-02-22 | 2011-08-24 | 华为技术有限公司 | Method and system for collecting terminal measurement data |
CN106131832A (en) * | 2015-11-25 | 2016-11-16 | 北京邮电大学 | A kind of core net framework merged with Cellular Networks towards WLAN |
CN106993296A (en) * | 2017-05-02 | 2017-07-28 | 中国联合网络通信集团有限公司 | The performance estimating method and device of terminal |
US20190253469A1 (en) * | 2012-06-13 | 2019-08-15 | All Purpose Networks, Inc. | Methods and systems of an all purpose broadband network with publish-subscribe broker network |
-
2019
- 2019-10-28 CN CN201911028981.XA patent/CN110768868A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102164375A (en) * | 2010-02-22 | 2011-08-24 | 华为技术有限公司 | Method and system for collecting terminal measurement data |
CN102149110A (en) * | 2011-03-18 | 2011-08-10 | 中兴通讯股份有限公司 | Terminal performance assessment method and device |
US20190253469A1 (en) * | 2012-06-13 | 2019-08-15 | All Purpose Networks, Inc. | Methods and systems of an all purpose broadband network with publish-subscribe broker network |
CN106131832A (en) * | 2015-11-25 | 2016-11-16 | 北京邮电大学 | A kind of core net framework merged with Cellular Networks towards WLAN |
CN106993296A (en) * | 2017-05-02 | 2017-07-28 | 中国联合网络通信集团有限公司 | The performance estimating method and device of terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111092792A (en) * | 2020-03-23 | 2020-05-01 | 北京安博通科技股份有限公司 | Method and device for evaluating network performance of terminal |
CN111726797A (en) * | 2020-06-23 | 2020-09-29 | Oppo广东移动通信有限公司 | User identification card switching method and device, storage medium and electronic equipment |
CN111726797B (en) * | 2020-06-23 | 2023-09-26 | Oppo广东移动通信有限公司 | User identification card switching method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9398475B2 (en) | Method, device, and system for monitoring quality of internet access service of mobile terminal | |
CN106911517B (en) | Method and system for positioning end-to-end problem of mobile internet | |
CN105828376B (en) | Quality of service monitoring method and equipment based on user's perception | |
EP3021520B1 (en) | Method and apparatus for delimiting problem | |
CN106332138A (en) | Method for obtaining MRO user information based on S1-MME signalling association | |
CN108901079B (en) | Timeout time determination method, device, equipment and storage medium | |
EP2945327A1 (en) | Media data transmission method, apparatus and system | |
CN110768868A (en) | Terminal data network performance analysis method and device | |
CN109996277B (en) | Method and device for judging poor quality cell | |
WO2011026405A1 (en) | Method and device for detecting umts terminal | |
KR101384795B1 (en) | Network monitoring and analysis tool | |
EP3310048A1 (en) | Video bit rate identification method and device | |
CN113676926B (en) | User network sensing portrait method and device | |
CN110875825B (en) | Fault judgment method and device | |
CN103906111A (en) | Problem determination method and device for general packet radio service network | |
WO2014089768A1 (en) | Method, system and corresponding device for collecting, processing and applying data | |
US11310670B2 (en) | Network capacity adjustment using experience blocking ratio | |
US20150296448A1 (en) | Method and device for message processing between communications systems | |
CN103237314B (en) | Service quality evaluating method and apparatus | |
CN109995830B (en) | Session management system of LTE network | |
CN114710801B (en) | Processing method and device of evaluation parameters of network performance, storage medium and equipment | |
CN114096008A (en) | Partial bandwidth adjusting method and device, electronic equipment and storage medium | |
CN110769435B (en) | Communication method, apparatus, system, and computer-readable storage medium | |
US20150117190A1 (en) | Service packet processing method and devices | |
JP6480701B2 (en) | Call analysis device, call analysis method, and computer program |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200207 |
|
RJ01 | Rejection of invention patent application after publication |