A method and device for identifying poor quality IP
By training a supervised perceptual label model, using dial sensing data to associate DPI XDR bill data, and identifying poor quality IP, the problem of low correlation of a single KPI indicator and difficulty in threshold setting in the existing technology has been solved, and the problem of poor quality IP has been improved. Identification accuracy and monitoring efficiency.
Patent Information
- Application Number
- CN202311502577.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-10
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-11-10
AI Technical Summary
When existing technology identifies low-quality IP, the correlation of a single KPI indicator is low, and the threshold setting is difficult and low in adaptability, resulting in low sensitivity and large errors in identifying low-quality IP, and cannot accurately reflect the actual perception of users.
Utilize dial test sensing data to correlate DPI XDR bill data, train a supervised sensing label model, output sensing labels through model inference, count the number and proportion of sensing abnormal labels in the IP dimension, and identify IPs with high frequency of sensing abnormalities as poor quality IPs .
Significantly improves the accuracy of identifying poor-quality IP, making it closer to users' actual perception, and significantly improves the efficiency of business quality monitoring.
Smart Images

Figure CN117692948B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communication technology, and in particular to a method and device for identifying poor quality IP addresses. Background Art
[0002] With the rapid development of 4G and 5G networks, mobile Internet services have sprung up like mushrooms after a spring rain and developed rapidly. Mobile Internet services will become the main form of communication and entertainment for people. Mobile Internet service quality detection is an important task for major operators. There are many environments that affect the services, which are generally divided into user terminals, base station cells, core networks and content source sides. The content source side is mainly achieved through poor quality IP identification. Poor quality refers to the poor quality of users' Internet access, which is generally divided into three types: one is poor quality caused by the decline of server performance, one is poor quality caused by excessive server load, and the other is poor transmission route quality.
[0003] The current method of identifying poor quality IPs is mainly based on KPI indicators, as follows:
[0004] 1. Based on the user's Internet DPI call records, the business KPI indicators in the IP dimension are counted at an hourly or daily granularity, including HTTP response success rate, HTTP response delay, HTTP download rate, TCP establishment success rate, TCP link establishment delay, etc.
[0005] 2. Indicator quality difference judgment: input the KPI indicator of the IP dimension, and judge whether the indicator has quality difference through fixed threshold or dynamic threshold.
[0006] 3. Identification of poor quality IPs. Based on the poor quality judgment results of the IP indicators, the number of poor quality indicators of the IP is further counted, that is, the number of poor quality indicators of the IP within a certain time period is counted. If the threshold value is reached, the IP is judged to be a poor quality IP. For example, if an IP has 10 poor quality indicators within 1 day, which exceeds the threshold value of 8, it is judged to be a poor quality IP.
[0007] The existing shortcomings of identifying poor quality IPs based on KPI indicators are:
[0008] 1. Video perception has a low correlation with a single KPI indicator. Using a single KPI indicator to evaluate IP service quality will result in large errors. For example, when the HTTP response delay in HTTP success rate, HTTP response delay, HTTP download rate, TCP retransmission rate, and TCP RTT delay is poor, video perception (stuttering) does not necessarily indicate degradation.
[0009] 2. Poor quality of KPI indicators. Difficult to set thresholds and low adaptability. It is difficult to associate business perception to set thresholds. Different businesses and cities have different thresholds, which leads to distortion of indicator threshold judgment perception. For example, based on experience, the ideal threshold of TCP retransmission rate in Guangzhou is 2%, but it should be set to 3% in Shenzhen.
[0010] 3. The hourly and daily KPI indicators of the IP dimension have small fluctuations. After the hourly and daily indicators are aggregated, the user's instantaneous perceived quality difference is averaged (the small sample quality difference is overwhelmed by the large sample quality difference), resulting in low sensitivity in quality difference identification and certain distortion. Summary of the invention
[0011] In order to solve the problems existing in the prior art, the present invention provides a method and device for identifying poor quality IPs. A supervised perception label model is constructed by using the perception data of dialing test in association with the DPI XDR call record data of dialing test. First, the TCP and HTTP key fields in the XDR are input, and the perception label of the XDR is output through model reasoning. Then, based on the number and proportion of perception abnormality labels in the IP dimension of the labeled XDR, it is determined whether it is a perception abnormal IP. Finally, the IP with a high frequency of perception abnormalities is identified as a poor quality IP. The present invention makes the poor quality IP closer to the actual perception of users and can significantly improve the efficiency of business quality monitoring.
[0012] The present invention provides a method for identifying poor quality IP, comprising the following steps:
[0013] Use the perception data from dial testing to correlate the DPI XDR call record data from dial testing and train a supervised perception label model.
[0014] Input the key feature fields in the XDR call record data into the trained perception label model, and output the perception label of the XDR call record data through the perception label model;
[0015] Statistical analysis of IP-based perception results based on labeled XDR call record data.
[0016] Identify poor quality IPs based on the perception results of IP dimensions.
[0017] Preferably, the process of performing perceptual label recognition using a supervised perceptual label model includes the following steps:
[0018] The application layer obtains the XDR call record from the data storage layer;
[0019] The application layer calls the perception tag model and inputs the key feature fields of the XDR call record data. The perception tag model identifies the perception tag and returns the identification result.
[0020] After the application layer obtains the results of the perception tag model, it inserts the XDR record.
[0021] Preferably, the construction of a supervised perceptual labeling model includes the following steps:
[0022] Input dial test data and XDR call record data, where the dial test data contains the user's Internet access perception information.
[0023] Data association: dial test data and XDR call record data are associated based on user number, time and video VID.
[0024] Feature selection, based on the key feature fields of XDR call record data, uses expert experience screening combined with automatic screening to build the feature set of the model.
[0025] For model training, 80% of the associated XDR call record data is divided into a training set and 20% into a test set. The model is trained based on the optimal parameter combination of XGBoost, and GridSearchCV is used for parameter optimization.
[0026] Model prediction and evaluation, using test set data to evaluate model performance, including accuracy, recall, confusion matrix, etc.
[0027] Preferably, the input of the supervised perceptual labeling model includes: city, time, business, TCP retransmission rate, TCP RTT, TCP out-of-order rate, TCP link establishment delay, HTTP response delay and HTTP download rate.
[0028] Preferably, the key feature fields in the input XDR call record data include TCP retransmission rate, TCP RTT, TCP out-of-order rate, TCP link establishment delay, HTTP response delay and HTTP download rate in the XDR call record data.
[0029] Preferably, the output label of the supervised perception label model is 1, indicating normal perception, and the label is -1, indicating abnormal perception.
[0030] Preferably, after obtaining the XDR call record data, the supervised perception tag model interface is called, and if the call is successful, the perception tag recognition result is returned, and if the call is abnormal, an error code is returned.
[0031] Preferably, the labeled user KPI data is aggregated in the IP dimension to calculate the total number of label records, the number of abnormal labels, and the proportion of abnormal labels.
[0032] Preferably, based on the abnormal label ratio and the number of abnormal labels in the IP dimension, whether it is a poor quality IP is identified. When the number of abnormal labels > j and the abnormal label ratio > k, the labeled XDR data is marked as poor quality, where j and k are the preset abnormal label number threshold and abnormal label ratio threshold, respectively.
[0033] Preferably, the number of poor quality times in the IP dimension is counted based on the poor quality mark in the IP dimension, and IPs with a poor quality times > N within a time period M are identified as poor quality IPs.
[0034] The present invention provides a poor quality IP identification device, comprising a processor, which executes the steps of any of the above-mentioned poor quality IP identification methods.
[0035] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0036] The present invention uses the perception data of dialing test to associate with the DPI xdr call record data of dialing test to train and build a supervised perception label model. First, the TCP and HTTP key fields in the XDR are input, and the perception label of the XDR is output through model reasoning. Then, based on the number and proportion of perception abnormality labels in the IP dimension of the labeled XDR, it is identified whether it is a perception abnormal IP. Finally, the IP with a high frequency of perception abnormality is identified as a poor quality IP. The present invention makes the poor quality IP closer to the actual perception of users and can significantly improve the efficiency of business quality monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of a perception tag model calling process according to an embodiment of the present invention;
[0038] Figure 2 A flow chart of a method for identifying poor quality IPs according to an embodiment of the present invention;
[0039] Figure 3 A flowchart of a poor quality IP identification device according to an embodiment of the present invention;
[0040] Figure 4 The figure is a flow chart for constructing a perceptual tag model according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings.
[0042] The present invention provides a method for identifying poor quality IP, comprising the following steps:
[0043] Use the perception data from dial testing to correlate the DPI XDR call record data from dial testing and train a supervised perception label model.
[0044] Input the key feature fields in the XDR call record data into the trained perception label model, and output the perception label of the XDR call record data through the perception label model;
[0045] Statistical analysis of IP-based perception results based on labeled XDR call record data.
[0046] Identify poor quality IPs based on the perception results of IP dimensions.
[0047] According to a specific embodiment of the present invention, the process of performing perceptual tag recognition using a supervised perceptual tag model includes the following steps:
[0048] The application layer obtains the XDR call record from the data storage layer;
[0049] The application layer calls the perception tag model and inputs the key feature fields of the XDR call record data. The perception tag model identifies the perception tag and returns the identification result.
[0050] After the application layer obtains the results of the perception tag model, it inserts the XDR record.
[0051] According to a specific embodiment of the present invention, the construction of a supervised perceptual label model includes the following steps:
[0052] 1) Input the dial test data and XDR call record data, where the dial test data contains the user's Internet perception information (playback buffer greater than 1 second or freeze triggers a perception abnormality).
[0053] 2) Data association: the dial test data and XDR call record data are associated based on the user number, time and video VID.
[0054] 3) Feature selection: expert experience screening combined with automatic screening is used to construct the feature set of the model, as shown in Table 1.
[0055] Table 1. Feature set of the constructed model
[0056]
[0057]
[0058] 4) Model training, first divide the data into 80% of the data as a training set and 20% as a test set, as shown in Table 2.
[0059] Table 2. Data partition table
[0060] Total number of data Negative samples Positive Sample Training set 7416 7396 20 Test Set 1855 1850 5
[0061] Then, based on the XGBoost optimal parameter combination training model, GridSearchCV is used to optimize the parameters. The optimal model training parameters of xgboost are as follows:
[0062] learning_rate 0.1
[0063] max_depth 1
[0064] n_estimators 100
[0065] 5) Model prediction and evaluation: Use the test set data to evaluate the model performance, as follows:
[0066] On the test set the accuracy is 89% and the recall is 100%.
[0067] According to a specific embodiment of the present invention, the input of the supervised perceptual labeling model includes: city, time, business, TCP retransmission rate, TCP RTT, TCP out-of-order rate, TCP link establishment delay, HTTP response delay and HTTP download rate.
[0068] According to a specific implementation scheme of the present invention, the XDR call record data fields mainly include: city, start time, end time, VID, upstream traffic, downstream traffic, number of upstream IP packets, number of downstream IP packets, number of upstream TCP retransmission messages, number of downstream TCP retransmission messages, number of upstream TCP out-of-order messages, number of downstream TCP out-of-order messages, download traffic, download duration, download rate, upstream RTT, offline RTT, tcp link establishment success rate, tcp link establishment delay, etc.
[0069] According to a specific implementation scheme of the present invention, the key feature fields of XDR call record data mainly include: city, start time, end time, video VID, community, mobile phone number, download traffic, playback time, download rate, number of perceived anomalies, perceived anomaly duration and other indicators.
[0070] According to a specific embodiment of the present invention, the key feature fields in the input XDR call record data include TCP retransmission rate, TCP RTT, TCP out-of-order rate, TCP link establishment delay, HTTP response delay and HTTP download rate in the XDR call record data.
[0071] According to a specific embodiment of the present invention, the output label of the supervised perception label model is 1, indicating normal perception, and the label is -1, indicating abnormal perception.
[0072] According to a specific implementation scheme of the present invention, after obtaining the XDR call record data, the supervised perception tag model interface is called, and if the call is successful, the perception tag recognition result is returned, and if the call is abnormal, an error code is returned.
[0073] According to a specific implementation scheme of the present invention, the labeled user KPI data is aggregated in the IP dimension to calculate the total number of label records, the number of abnormal labels and the proportion of abnormal labels.
[0074] According to a specific implementation scheme of the present invention, based on the abnormal label ratio and the number of abnormal labels in the IP dimension, whether it is a poor quality IP is identified. When the number of abnormal labels > j and the abnormal label ratio > k, the labeled XDR data is marked as poor quality, wherein j and k are the preset abnormal label number threshold and abnormal label ratio threshold, respectively.
[0075] According to a specific implementation of the present invention, the number of poor quality times in the IP dimension is counted based on the poor quality mark in the IP dimension, and IPs with a poor quality times > N within a time period M are identified as poor quality IPs.
[0076] The present invention provides a poor quality IP identification device, comprising a processor, which executes the steps of any of the above-mentioned poor quality IP identification methods.
[0077] Example 1
[0078] According to a specific embodiment of the present invention, the poor quality IP identification method of the present invention is introduced in detail below.
[0079] The present invention provides a method for identifying a poor quality IP, comprising the following steps:
[0080] Use the perception data from dial testing to correlate the DPI XDR call record data from dial testing and train a supervised perception label model.
[0081] Input the key feature fields in the XDR call record data into the trained perception label model, and output the perception label of the XDR call record data through the perception label model;
[0082] Statistical analysis of IP-based perception results based on labeled XDR call record data.
[0083] Identify poor quality IPs based on the perception results of IP dimensions.
[0084] Example 2
[0085] According to a specific embodiment of the present invention, the poor quality IP identification method of the present invention is introduced in detail below.
[0086] The present invention provides a method for identifying a poor quality IP, comprising the following steps:
[0087] 1. Extract the user's Internet access DPI call record data as the system input data source, including the key information fields of the user's Internet access TCP and HTTP protocol processes.
[0088] 2. XDR anomaly detection: extract key fields from XDR (see the request parameters of the perception tag model for details) and then call the perception tag model. The tags inferred by the model are inserted into the XDR records. The tag "1" indicates that the XDR is normal, and -1 indicates that the XDR is abnormal.
[0089] 3. Call the perception tag model to perform perception tag recognition. The perception tag model is a supervised model trained by associating dial test data with XDR. It inputs field information such as city, time, business, TCP retransmission rate, TCP RTT, TCP disorder rate, TCP link establishment delay, HTTP response delay, and HTTP download rate. The output label is 1 (normal perception) or -1 (abnormal perception).
[0090] The specific process of calling the perception tag model is as follows:
[0091] 1) The application obtains XDR call record data from the data storage layer for business-aware abnormal label inference.
[0092] 2) If the call is successful, the business perception recognition result is returned; if the processing is abnormal, an error code is returned.
[0093] 3) After the application inserts the perception tag model call results into XDR, quality analysis is performed based on the business perception recognition results.
[0094] The implementation method of calling the perception tag model interface is as follows Figure 1 As shown, specifically including:
[0095] (1) The perception tag model is deployed on the capability exposure platform and called by the application layer through the capability interface.
[0096] (2) Input data when calling, and request parameters for the perception tag model:
[0097] Table 3. Perception tag model request parameters
[0098]
[0099]
[0100] Table 4. Input indicator description
[0101]
[0102]
[0103] (3) Call the perception label model through the py script. The specific sample code is as follows:
[0104]
[0105]
[0106]
[0107] (4) The call return number;
[0108] Table 5. Description of response parameters of the perception label model output
[0109]
[0110] The sample code for the output data of the perception label model is as follows:
[0111]
[0112]
[0113] 4. IP abnormal label statistics: user XDR data after labeling is aggregated into hourly granular statistical indicators in the IP dimension, including the total number of label records, the number of abnormal labels, and the proportion of abnormal labels.
[0114] Table 6. Example of IP anomaly label statistics
[0115] Serial number Field Name illustrate 1 City 2 time Hourly or daily granularity 3 Service IP 4 Total records Number of XDR records for the service IP 5 Number of abnormal label records The number of records with label -1 6 Abnormal label ratio Number of abnormal label records / total number of records 7 Is it abnormal? Judging by the number of abnormal label records and the abnormal label ratio
[0116] 5. IP quality poor identification, input IP abnormal label statistics through the quality poor algorithm, identify and output the poor quality IP, the specific quality poor judgment process is as follows:
[0117] 1) Based on the P abnormal label statistics with a granularity of I hour, if the number of perceived abnormal records > M (the default is 100) and the perceived abnormality ratio > N (the default is 0.05), the record is judged as abnormal, and the "Is it abnormal" field is set to 1, otherwise it is set to 0.
[0118] 2) Count the abnormal frequency of IP dimension in 24 hours a day, specifically:
[0119] Abnormal frequency = sum (whether abnormal)
[0120] 3) IP poor quality identification, if the poor quality frequency > K (the default K is 4), the IP is judged to be a poor quality IP.
[0121] It can also include step 6. Poor quality IP list. After the final poor quality list is output, it can be used to dispatch the order to relevant professionals for further processing.
[0122] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A method for identifying poor quality IPs. It is characterized in that The steps include: Use the perception data from dial testing to correlate the DPI XDR call record data from dial testing and train a supervised perception label model. Input the key feature fields in the XDR call record data into the trained perception label model, and output the perception label of the XDR call record data through the perception label model; Statistical analysis of IP-based perception results based on labeled XDR call record data. Identify poor quality IPs based on the perception results of IP dimensions; Specifically, the user KPI data after labeling is aggregated in the IP dimension to calculate the total number of label records, the number of abnormal labels, and the proportion of abnormal labels; based on the proportion of abnormal labels and the number of abnormal labels in the IP dimension, identify whether it is a poor quality IP. When the number of abnormal labels>j and the proportion of abnormal labels>k, the labeled XDR data is marked as poor quality, where j and k are the preset thresholds of the number of abnormal labels and the proportion of abnormal labels, respectively; based on the poor quality mark in the IP dimension, the number of poor quality times in the IP dimension is counted, and the IP with the number of poor quality times>N in the time period M is identified as poor quality IP; Among them, the construction of the supervised perception label model includes the following steps: Input dial test data and XDR call record data, where the dial test data contains the user's Internet access perception information; Data association: the dial test data and XDR call record data are associated based on the user number, time and video VID; Feature selection: Based on the key feature fields of XDR call record data, we use expert experience screening combined with automatic screening to build the feature set of the model; For model training, 80% of the associated XDR call record data is divided into a training set and 20% into a test set. The model is trained based on the optimal parameter combination of XGBoost, and GridSearchCV is used for parameter optimization.
2. The method for identifying poor quality IP according to claim 1, It is characterized in that The process of perceptual label recognition by the supervised perceptual label model includes the following steps: The application layer obtains the XDR call record from the data storage layer; The application layer calls the perception tag model and inputs the key feature fields of the XDR call record data. The perception tag model identifies the perception tag and returns the identification result. After the application layer obtains the results of the perception tag model, it inserts the XDR record.
3. The method for identifying poor quality IP according to claim 2, It is characterized in that After obtaining the XDR call record data, call the supervised perception tag model interface. If the call is successful, the perception tag recognition result is returned. If the call is abnormal, an error code is returned.
4. The method for identifying poor quality IP according to claim 1, It is characterized in that The inputs of the supervised perceptual labeling model include: city, time, business, TCP retransmission rate, TCP RTT, TCP out-of-order rate, TCP link establishment delay, HTTP response delay and HTTP download rate.
5. The method for identifying poor quality IP according to claim 4, It is characterized in that The key feature fields in the input XDR call record data include the TCP retransmission rate, TCP RTT, TCP out-of-order rate, TCP link establishment delay, HTTP response delay and HTTP download rate in the XDR call record data.
6. The method for identifying poor quality IP according to claim 1, It is characterized in that The output label of the supervised perception label model is 1, indicating normal perception, and the label is -1, indicating abnormal perception.
7. A device for identifying poor quality IPs, It is characterized in that It includes a processor that executes the steps of the poor quality IP identification method described in any one of claims 1-6.
