Video stutter identification method, apparatus, electronic device, and computer program product
Based on the DPI data of the entire home broadband network and the network characteristics of users, a model is trained using random forest and extreme gradient boosting algorithms to identify video stuttering. This solves the problem of low accuracy in video stuttering identification in existing technologies and achieves efficient and accurate video stuttering identification.
Patent Information
- Application Number
- CN202210851528.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-19
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-07-19
AI Technical Summary
Existing methods for identifying video stuttering have low accuracy and cannot effectively identify video stuttering issues.
By identifying different testing scenarios, video testing is performed on each scenario to obtain the characteristics of the testing scenario and the characteristics of deep packet inspection indicators. Random forest algorithm and extreme gradient boosting algorithm are used for model training. Combined with the DPI data of the entire broadband network and the user network characteristics, users with video stuttering are identified.
It improves the accuracy of video stuttering detection, can automatically and effectively identify video stuttering, and reduces the detection cost.
Smart Images

Figure CN117459794B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mobile communication technology, specifically to a video stuttering identification method, apparatus, electronic device, and computer program product. Background Technology
[0002] With the continuous development of video transmission technology, the demand for video services is also constantly increasing. In order to improve the quality of video services, service providers will improve network video technology to improve user satisfaction. Among them, video buffering is one of the key factors affecting user satisfaction.
[0003] Currently, commonly used methods for video stuttering identification include: 1. Installing a specific chip on the user side and identifying video stuttering by monitoring the chip's buffer data; 2. Limited to specific video hardware devices, determining whether the video is stuttering by taking image information from the target device within the detection time period; 3. Based on mobile data DPI (Deep Packet Inspection) combined with stuttering indicators. However, the accuracy of video stuttering identification using the above methods is relatively low. Summary of the Invention
[0004] This application provides a video stuttering recognition method, apparatus, electronic device, and computer program product to solve the problem of low accuracy in video stuttering recognition.
[0005] In a first aspect, embodiments of this application provide a video stuttering recognition method, including:
[0006] Different dialing scenarios are identified, and video dialing is performed on each dialing scenario to obtain the dialing scenario characteristics of each dialing scenario;
[0007] Based on the characteristics of the testing scenario and the characteristics of the first deep packet detection index, a model is trained to obtain a video stuttering recognition model.
[0008] Determine the network characteristics of all users in the network, and input the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain the users experiencing video stuttering.
[0009] In one embodiment, determining different dialing scenarios includes:
[0010] Determine the type of video stuttering issue;
[0011] Based on the type of video stuttering problem, multiple testing types are determined, and different testing scenarios are determined based on the testing types.
[0012] In one embodiment, determining the network characteristics of all users includes:
[0013] Based on the deep packet inspection data of all users on the network and the soft probe data of the optical modem, the router information, optical modem information and target parameters are determined;
[0014] Based on the router information, the optical modem information, and the target parameters, the network characteristics of all users in the network are determined.
[0015] In one embodiment, training the model based on the characteristics of the testing scene and the first deep packet inspection index features to obtain a video stuttering recognition model includes:
[0016] The features of the probing scene and the features of the first depth packet detection index are used as input samples for the model;
[0017] The video stuttering recognition model is obtained by modeling based on the random forest algorithm and the extreme gradient boosting algorithm.
[0018] In one embodiment, the modeling based on the random forest algorithm and extreme gradient boosting to obtain the video stuttering recognition model includes:
[0019] Determine the accuracy and recall of the random forest algorithm and the extreme gradient boosting algorithm;
[0020] The optimal algorithm is determined based on the accuracy and recall, and the video stuttering recognition model is obtained by modeling based on the optimal algorithm.
[0021] In one embodiment, the method further includes:
[0022] Identify the target features that affect video stuttering, and determine the score for each target feature;
[0023] The target features are sorted according to the scores.
[0024] In one embodiment, before training the model based on the characteristics of the testing scene and the first deep packet inspection index features to obtain the video stuttering recognition model, the following steps are included:
[0025] Collect deep packet inspection data with high bandwidth;
[0026] Video traffic data is determined based on the deep packet inspection data of the bandwidth, and the first deep packet inspection index feature is determined based on the video traffic data.
[0027] Secondly, embodiments of this application provide a video stuttering recognition device, comprising:
[0028] The determination module is used to determine different dialing scenarios and perform video dialing tests on each dialing scenario to obtain the dialing scenario characteristics of each dialing scenario;
[0029] The training module is used to train the model based on the characteristics of the testing scene and the characteristics of the first deep packet inspection index to obtain a video stuttering recognition model.
[0030] The identification module is used to determine the network characteristics of all users in the network, and input the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain the users experiencing video stuttering.
[0031] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory storing a computer program, wherein the processor executes the program to implement the steps of the video stuttering recognition method described in the first aspect.
[0032] Fourthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the steps of the video stuttering recognition method described in the first aspect.
[0033] The video stuttering identification method, apparatus, electronic device, and computer program product provided in this application embodiment determine different dialing scenarios, perform video dialing tests on each scenario to obtain the dialing scenario characteristics, train a model based on the dialing scenario characteristics and the first deep packet inspection index characteristics to obtain a video stuttering identification model, determine the network characteristics of all users, and input the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain users experiencing video stuttering. This application embodiment uses DPI data of the entire home broadband network and specific scenario data of home broadband users to find the correlation between DPI indicators and video stuttering, and automatically and effectively identify video stuttering, thereby improving the accuracy of identification. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is one of the flowcharts illustrating the video stuttering recognition method provided in this application embodiment;
[0036] Figure 2 This is a second schematic flowchart of the video stuttering recognition method provided in the embodiments of this application;
[0037] Figure 3 This is the third flowchart illustrating the video stuttering recognition method provided in this application embodiment;
[0038] Figure 4This is the fourth flowchart illustrating the video stuttering identification method provided in this application embodiment;
[0039] Figure 5 This is a schematic diagram of the dialing test type provided in the embodiments of this application;
[0040] Figure 6 This is a flowchart illustrating the process of determining the network topology of user terminals according to an embodiment of this application;
[0041] Figure 7 This is a schematic diagram of the feature influence ranking results provided in the embodiments of this application;
[0042] Figure 8 This is a schematic diagram of the video stuttering recognition device provided in the embodiments of this application;
[0043] Figure 9 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0045] Figure 1 This is one of the flowcharts illustrating the video stuttering identification method provided in this application. (Refer to...) Figure 1 This application provides a video stuttering identification method, which may include:
[0046] Step S10: Determine different dialing scenarios, and perform video dialing for each dialing scenario to obtain the dialing scenario features of each dialing scenario;
[0047] It should be noted that since there is no direct indicator of video stuttering in home broadband DPI, there is currently no method for identifying video stuttering based on home broadband DPI. On the other hand, the main factor affecting video playback quality in home broadband networks is the user network configuration, and relying solely on home broadband DPI cannot effectively determine video stuttering. Based on this, this application embodiment uses home broadband network-wide DPI data and specific user network scenario data to identify video stuttering.
[0048] Specifically, determine the type of video stuttering issue, then determine multiple testing types based on the type of video stuttering issue, and finally determine different testing scenarios based on the testing types. For example, refer to... Figure 5Broadband video stuttering issues are categorized into four main types: platform problems, speed mismatch, Wi-Fi signal problems, and outdated terminals. The causes of each problem are analyzed, and seven test types are designed based on these causes: different bandwidths, different dial-up devices, different Wi-Fi devices, different Wi-Fi frequency bands, different test distances, different numbers of test users, and different video platforms. The detailed test scenarios based on these seven test types are shown in Table 1.
[0049] Table 1
[0050]
[0051]
[0052] As shown in Table 1, various testing scenarios can be determined based on different testing types. For example, 4*4*4*2*3*4*4=6144 combinations of testing scenarios can be obtained. Among them, high-priced routers are priced >300 yuan, mid-priced routers are priced between 100 and 300 yuan, and low-priced routers are priced <100 yuan. The scenarios can be further refined according to the modeling requirements.
[0053] By identifying the type of video stuttering problem, and then determining various testing types based on the type of video stuttering problem, and then determining different testing scenarios based on the testing types, different testing scenarios can be quickly determined based on different combinations of testing types, thereby improving the efficiency of determining testing scenarios.
[0054] Step S20: Train the model based on the characteristics of the test scene and the characteristics of the first deep packet inspection index to obtain the video stuttering recognition model;
[0055] After determining the characteristics of each testing scenario, it is also necessary to determine the first deep packet inspection (DPI) indicator features. Specifically, deep packet inspection data of bandwidth is collected, and then video traffic data is determined based on the bandwidth DPI data. The first DPI indicator features are then determined based on the video traffic data. For example, broadband DPI data is collected through the internet egress point. Based on this broadband DPI data, the data packets corresponding to the user's time point are determined, and those with content-type=video / mp4 are identified as video traffic. The video classification is then refined and updated. For example:
[0056] Douyin: Content type = video / mp4 and application subcategory = Douyin or (application ICP website = ByteDance and domain name contains "douyin");
[0057] Youku: Content type = video / mp4 and application category = Youku or ((application category = CIBN domain or application category = Tudou) and (domain contains "vali-g1.cp31" or domain contains "ykugc-vip.cp31")).
[0058] Calculate the performance metrics corresponding to the relevant DPI data, namely the first-level deep packet inspection metrics, including TCP success rate, TCP retransmission rate, TCP out-of-order rate, GET success rate, large packet rate, and small packet latency. Simultaneously, deeply mine information corresponding to user accounts, including router model, network characteristics such as the price and frequency band of the router crawled by the web crawler.
[0059] By collecting bandwidth-based deep packet inspection data, the first deep packet inspection index feature is determined based on this data, thereby improving the efficiency and accuracy of determining the first deep packet inspection index feature.
[0060] After determining the characteristics of the probing scenario and the first deep packet inspection metrics, these characteristics are summarized. For example, features can be summarized based on the user account and time corresponding to the DPI data. Then, outlier and missing value handling is performed on the summarized data, the data is standardized, and appropriate features are selected, such as:
[0061] Outlier handling: Some rate delay fields contain long-tailed data, so outliers need to be handled. For example, based on the IQR (interquartile range) method, data in the field that exceeds the expected range can be reassigned to upper and lower limits.
[0062] Missing value handling: After removing user numbers from the training set, distinguish between discrete and continuous features, and handle missing values in the data. For example, for discrete features, use high-frequency values to fill missing values, and for continuous features, use the average value to fill missing values.
[0063] Data standardization: StandardScaler is used to standardize continuous values. The StandardScaler function is used to standardize data so that the mean of each feature is 0 and the variance is 1. In other words, this function is used to make the distribution of the data conform to a standard normal distribution.
[0064] After completing the data processing of the test scene features and the first depth packet detection index features, the test scene features and the first depth packet detection index features are used as input samples for the model. The representative random forest algorithm and the extreme gradient boosting algorithm are used for modeling to obtain the video stuttering recognition model.
[0065] Step S30: Network characteristics of all users. Input the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain users experiencing video stuttering.
[0066] After determining the video stuttering identification model, the number of users experiencing video stuttering across the entire network can be predicted based on this model. This prediction requires determining the network topology and second deep packet inspection (DPI) characteristics of all users. Specifically, based on the DPI data and optical modem (ONM) soft probe data of all users, router information, OMM information, and target parameters are determined. Then, based on these parameters, the network topology characteristics of all users are determined. These characteristics include router information, OMM information, and target parameters. Router information includes model, price, frequency range, transmission rate, network interface, and network protocol; OMM information includes model, parameters, and Wi-Fi status; and target parameters include user account information.
[0067] For example, refer to Figure 6 By mining the URL fields in the home broadband DPI, it was discovered that the keyword "rtv=" reveals the user's wireless router brand, and the keyword "rtm=" reveals the user's wireless router model. Using custom functions (UDFs) provided by the Hive data warehouse and employing the NFA engine for regular expression matching, the router brand and model corresponding to the home broadband account were extracted. Simultaneously, by mining the optical modem's soft probe, the optical modem model could be revealed, and the device information below it could reveal the router model. Combining the home broadband DPI and soft probe data, the identification of the home broadband end network was achieved. Through web crawling, the prices and technical parameters of all optical modems and routers were collected, including model, price, frequency range, transmission rate, network interface, and network protocol. Finally, a table mapping all network user accounts to optical modem and router models and specific parameters was output.
[0068] By using deep packet inspection data from all network users and optical modem soft probe data, router information, optical modem information, and target parameters are determined. Then, based on this data, the network characteristics of all network users are determined, thereby improving the efficiency and accuracy of obtaining network information of all network users.
[0069] After determining the network characteristics of all users, the network characteristics of all users and the second deep packet inspection index characteristics are input into the video stuttering recognition model. Then, the video stuttering recognition model outputs the video stuttering user information of the entire network, such as the account of the video stuttering user.
[0070] In one specific embodiment, the steps to identify users experiencing video buffering across the entire network are as follows:
[0071] Video call testing: Based on the pre-designed call testing scenarios, conduct 20 minutes of video call testing for each scenario, and record detailed call testing time, signal strength, video stuttering time, duration, and number of stutters.
[0072] Model training and inference: The model was trained using ensemble learning. After optimization, the tested model achieved an average accuracy of 92%, a recall of 91%, and an F1 score of 0.91. Then, the feature influence was ranked using an OOB algorithm, as shown in the reference. Figure 7 In terms of video perception: the most influential factors are Wi-Fi usage distance, Wi-Fi device price, and frequency band; in terms of performance indicators: the most relevant are TCP out-of-order rate, large packet rate, and TCP retransmission rate.
[0073] Considering the need for comprehensive network-wide output quality, and the inability to obtain all test data across the entire network (e.g., user Wi-Fi distance, number of users), this data was reduced to simplify the model. After optimization, the model achieved an average accuracy of 92%, a recall of 92%, and an F1 score of 0.92. By utilizing nationwide broadband DPI data from the Hive database and combining it with router model and crawled data to obtain router frequency bands, prices, and other characteristics, optimizations were made to predict and output video buffering issues for users across the network, with real-time hourly updates.
[0074] The video stuttering identification method provided in this application embodiment determines different dialing scenarios, performs video dialing tests on each scenario to obtain the dialing scenario characteristics, trains a model based on the dialing scenario characteristics and the first deep packet inspection index characteristics to obtain a video stuttering identification model, determines the network characteristics of all users, and inputs the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain users experiencing video stuttering. This application embodiment uses DPI data of the entire home broadband network and specific scenario data of home broadband users to find the correlation between DPI indicators and video stuttering, and automatically and effectively identifies video stuttering, thereby improving the accuracy of identification.
[0075] refer to Figure 2 , Figure 2 This is a second schematic flowchart of the video stuttering recognition method provided in this application embodiment. In this application embodiment, the step of training the model based on the test scene features and the first deep packet inspection index features to obtain the video stuttering recognition model includes:
[0076] Step S21: Use the probing scene features and the first depth packet detection index features as input samples for the model;
[0077] Step S22: Model the video stuttering recognition model based on the random forest algorithm and the extreme gradient boosting algorithm.
[0078] It should be noted that the embodiments of this application employ ensemble learning modeling, which includes two methods: Bagging and Boosting. Bagging involves randomly sampling data or parameters with replacement, using one or more algorithms for modeling, and combining multiple base models in parallel. Boosting trains the base algorithm, and subsequent algorithms learn based on the results of previous algorithms, focusing on adjusting weights according to the error rate, and combining multiple steps sequentially. The embodiments of this application select the representative Random Forest algorithm of Bagging and the representative XgBoost algorithm (Extreme Gradient Boosting algorithm) of Boosting for modeling.
[0079] As the name suggests, Random Forest uses random sampling to train multiple decision trees, constructing a forest where each tree is independent. Its randomness is reflected not only in the random sampling of samples but also in the random selection of classification attributes for each node in the tree. After the Random Forest algorithm is trained, when test samples enter, each decision tree makes independent judgments, and finally, through bagging, the category with the most votes (mode) is output. Similarly, by sampling the original data with replacement to construct N subsets, building N decision trees, and outputting N results, when new data enters the Random Forest, after the results from the N decision trees are output, a vote is performed, and the result with the most votes is output. Likewise, each branch of a decision tree in a Random Forest does not use all features but randomly selects a certain proportion of features without replacement, and then selects the optimal feature.
[0080] The model uses the terminal environment parameters and DPI performance parameters of the dial-up test design as features, that is, the dial-up test scenario features and the first deep packet inspection index features as input samples for the model, including user bandwidth, dial-up device, Wi-Fi device, Wi-Fi frequency band, test distance, number of test users, video platform, user TCP and HTTP related indicators (including TCP success rate, TCP retransmission rate, TCP out-of-order rate, GET success rate, large packet rate, small packet latency, etc.), and whether the video is stuttering is used as a label for modeling.
[0081] In the basic model, cross-validation is performed on the training samples, and the model is trained using the default parameters of a random forest. Then, the model is optimized through steps such as sampling, feature tuning, and parameter tuning. The model hyperparameters, including the number of trees, tree depth, number of leaf nodes, and the size of the information gain limit, are adjusted using the powerful model tuning tool gridSearchCV.
[0082] XGBoost is an optimized distributed gradient boosting library designed to be efficient, flexible, and portable. XGBoost is an improvement on the gradient boosting algorithm. It uses Newton's method to solve the extreme value of the loss function, expands the loss function to the second order using Taylor expansion, and adds a regularization term to the loss function. The objective function during training consists of two parts: the first part is the gradient boosting algorithm loss, and the second part is the regularization term.
[0083] XGBoost was used for modeling and comparison. To evaluate the performance of different algorithms, the F1 score was used to balance precision and recall, and the optimal algorithm was selected. The F1 score was defined as follows:
[0084] F1 score = Precision * Recall * 2 / (Precision + Recall);
[0085] The accuracy, recall, and F1 score of the models trained by the two algorithms are determined respectively. Then, the optimal algorithm is determined based on these values. For example, suppose that after optimization, the Xgboost model has an average accuracy of 90%, a recall of 89%, and the highest F1 score of 0.89; after optimization, the Random Forest model has an average accuracy of 92%, a recall of 91%, and an F1 score of 0.91. That is, the Random Forest has a higher F1 score, so the Random Forest algorithm is selected.
[0086] This application embodiment models the video stuttering recognition model by using the characteristics of the testing scene and the first deep packet inspection index. Based on the model, the video stuttering recognition model is used to identify users experiencing video stuttering, thereby improving the recognition efficiency. At the same time, the optimal algorithm is determined by accuracy and recall. The video stuttering recognition model built based on the optimal algorithm is used to identify users experiencing video stuttering, thus improving the recognition accuracy of the video stuttering recognition model.
[0087] refer to Figure 3 , Figure 3 This is the third flowchart illustrating the video stuttering recognition method provided in this application embodiment. In this application embodiment, the method further includes:
[0088] Step S40: Determine the target features affecting video stuttering and determine the score for each target feature;
[0089] Step S50: Sort the target features according to the scores.
[0090] It should be noted that after predicting all users experiencing video stuttering on the entire network based on the video stuttering identification model, optimization needs to be performed on these users. During optimization, it is necessary to identify the factors that have the greatest impact on video stuttering and then optimize based on those factors.
[0091] Specifically, the target features affecting video stuttering are identified, and a score is assigned to each target feature. Then, the target features are ranked according to their scores, for example, using an OOB (Random Forest) algorithm or a GINI (Decision Tree) algorithm. The ranking of the impact of each target feature on video stuttering is output. It's understandable that since the random decision tree generation process uses Bootstrap, not all samples are used in the generation of a single tree; these unused samples are called "out-of-bag" samples. The accuracy of the tree can be evaluated using these out-of-bag samples. Other subtrees are evaluated using the same principle, and the average value is taken to represent the performance of the random forest algorithm. Due to the existence of out-of-bag samples, cross-validation is unnecessary (saving time). Each feature is assigned a random number sequentially, and the change in algorithm performance is observed. A large change indicates the importance of the feature, and each feature is assigned a score; the higher the score, the more important the feature. For example, refer to... Figure 7 , Figure 7 This is the ranking result based on the OOB algorithm for feature influence ranking. Figure 7 It is known that the most influential factors on user experience are Wi-Fi range, Wi-Fi device price, and frequency band. Therefore, when optimizing for users experiencing video stuttering, these three factors should be investigated and optimized first to improve optimization efficiency.
[0092] This application embodiment sorts the target features, enabling optimization of users experiencing video buffering issues across the entire network based on the sorting results, thereby improving the efficiency and accuracy of optimization.
[0093] refer to Figure 4 , Figure 4 This is the fourth flowchart of the video stuttering recognition method provided in the embodiments of this application.
[0094] This application embodiment, under existing home broadband DPI data conditions, effectively identifies video stuttering across the entire broadband network without installing any additional accessories. The specific steps for identifying video stuttering are as follows:
[0095] 1. Video call test: Based on video quality, design different call test scenarios for home broadband users, including: different bandwidth, different dialing devices, different Wi-Fi devices, different Wi-Fi frequency bands, different test distances, different number of test users, and different video platforms. Conduct half an hour of video call test for each scenario, record the stuttering time, duration, and number of times, and then extract the call test scenario features X1~XK and the video stuttering situation Y.
[0096] 2. DPI Data Mining: Broadband data packets are collected through the Internet egress point. Based on the broadband data packets, performance data of each time point corresponding to the dial-up test account is obtained to obtain indicator features. Then, the performance indicator features Xk+1~Xn (n>k) are extracted, which are the deep packet inspection indicator features.
[0097] 3. Data exploration: Summarize the characteristics of the testing scenarios and the characteristics of deep packet inspection indicators into X1 to Xn. Obtain a sufficient amount of data through multi-scenario testing. Then, process the data for outliers and missing values, standardize the data, and select appropriate features.
[0098] 4. Model Training and Optimization: Construct an ensemble learning basic model based on Python, determine the optimization direction of the model through the learning curve, compare different ensemble learning algorithms, select the algorithm with the best F1 score, and save the trained model;
[0099] 5. Impact Ranking: Based on the OOB or GINI algorithm, output the ranking of the impact of each feature on video stuttering;
[0100] 6. User Network Mining: Deeply mine home broadband DPI and home broadband soft probe data to obtain the user's optical modem and router models. Through web crawling technology, obtain the product parameters of the corresponding models, including price, frequency band, transmission rate, etc.
[0101] 7. Model Inference: Apply the model to all broadband users across the network, and combine network characteristics and DPI index characteristics to output predictions of users experiencing video buffering.
[0102] This application uses DPI data from the entire home broadband network and specific scenario data of home broadband users to find the correlation between DPI indicators and video stuttering, and automatically and effectively identify video stuttering, thereby improving the accuracy of identification. At the same time, this application can effectively identify video stuttering across the entire broadband network without the need for additional accessories, thereby effectively reducing costs.
[0103] The video stuttering recognition device provided in the embodiments of this application is described below. The video stuttering recognition device described below can be referred to in correspondence with the video stuttering recognition method described above.
[0104] refer to Figure 8 , Figure 8 This is a schematic diagram of the video stuttering recognition device provided in this application embodiment. The video stuttering recognition device provided in this application embodiment includes a determination module 801, a training module 802, and a recognition module 803.
[0105] The determining module 801 is used to determine different dialing scenarios and perform video dialing tests on each dialing scenario to obtain the dialing scenario features of each dialing scenario.
[0106] The training module 802 is used to train the model based on the characteristics of the testing scene and the characteristics of the first deep packet detection index to obtain a video stuttering recognition model.
[0107] The identification module 803 is used to determine the network characteristics of all users in the network, and input the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain the video stuttering users.
[0108] The video stuttering identification device provided in this application embodiment determines different dialing scenarios, performs video dialing tests on each scenario to obtain the dialing scenario characteristics, trains a model based on the dialing scenario characteristics and the first deep packet inspection index characteristics to obtain a video stuttering identification model, determines the network characteristics of all users, and inputs the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain users experiencing video stuttering. This application embodiment uses DPI data of the entire home broadband network and specific scenario data of home broadband users to find the correlation between DPI indicators and video stuttering, and automatically and effectively identifies video stuttering, thereby improving the accuracy of identification.
[0109] In one embodiment, the determining module 801 is specifically used for:
[0110] Determine the type of video stuttering issue;
[0111] Based on the type of video stuttering problem, multiple testing types are determined, and different testing scenarios are determined based on the testing types.
[0112] In one embodiment, the identification module 803 is specifically used for:
[0113] Based on the deep packet inspection data of all users on the network and the soft probe data of the optical modem, the router information, optical modem information and target parameters are determined;
[0114] Based on the router information, the optical modem information, and the target parameters, the network characteristics of all users in the network are determined.
[0115] In one embodiment, the training module 802 is specifically used for:
[0116] The features of the probing scene and the features of the first depth packet detection index are used as input samples for the model;
[0117] The video stuttering recognition model is obtained by modeling based on the random forest algorithm and the extreme gradient boosting algorithm.
[0118] In one embodiment, the training module 802 is specifically used for:
[0119] Determine the accuracy and recall of the random forest algorithm and the extreme gradient boosting algorithm;
[0120] The optimal algorithm is determined based on the accuracy and recall, and the video stuttering recognition model is obtained by modeling based on the optimal algorithm.
[0121] In one embodiment, the video stuttering identification device further includes: a first determining module and a sorting module;
[0122] The first determining module is used to determine the target features that affect video stuttering and to determine the score of each target feature;
[0123] The sorting module is used to sort the target features according to the scores.
[0124] In one embodiment, the determining module 801 is specifically used for:
[0125] Collect deep packet inspection data with high bandwidth;
[0126] Video traffic data is determined based on the deep packet inspection data of the bandwidth, and the first deep packet inspection index feature is determined based on the video traffic data.
[0127] Figure 9 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930, and a communication bus 940, wherein the processor 910, the communication interface 920, and the memory 930 communicate with each other via the communication bus 940. The processor 910 can call a computer program in the memory 930 to execute the steps of the video stuttering identification method, such as including:
[0128] Different dialing scenarios are identified, and video dialing is performed on each dialing scenario to obtain the dialing scenario characteristics of each dialing scenario;
[0129] Based on the characteristics of the testing scenario and the characteristics of the first deep packet detection index, a model is trained to obtain a video stuttering recognition model.
[0130] Determine the network characteristics of all users in the network, and input the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain the users experiencing video stuttering.
[0131] Furthermore, the logical instructions in the aforementioned memory 930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0132] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the steps of the video stuttering recognition method provided in the above embodiments, such as including:
[0133] Different dialing scenarios are identified, and video dialing is performed on each dialing scenario to obtain the dialing scenario characteristics of each dialing scenario;
[0134] Based on the characteristics of the testing scenario and the characteristics of the first deep packet detection index, a model is trained to obtain a video stuttering recognition model.
[0135] Determine the network characteristics of all users in the network, and input the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain the users experiencing video stuttering.
[0136] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0137] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for identifying video stuttering, characterized in that, include: Determine the type of video stuttering problem, and determine multiple testing types based on the type of video stuttering problem; The types of tests include: different bandwidths, different dialing devices, different Wi-Fi devices, different Wi-Fi frequency bands, different test distances, different numbers of test users, and different video platforms; Different dialing scenarios are determined based on combinations of different dialing test types, and video dialing tests are performed on each dialing scenario to obtain the dialing scenario features of each dialing scenario. Collect deep packet inspection data of bandwidth, determine video traffic data based on the deep packet inspection data of bandwidth, and determine the first deep packet inspection index feature based on the video traffic data; The probing scenario features and the first deep packet inspection index features are summarized based on user account and time dimensions to obtain summary data; The summarized data is processed for missing values and outliers are processed based on the IQR method. Data that exceeds the expected range is reassigned to upper or lower limits. The continuous value features are standardized so that the mean of each continuous value feature is 0 and the variance is 1. Based on the processed test scene features and the first deep packet detection index features, the model is trained to obtain the video stuttering recognition model. Determine the network characteristics of all users in the network, and input the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain the users experiencing video stuttering.
2. The video stuttering recognition method according to claim 1, characterized in that, The determination of the network characteristics of all users includes: Based on the deep packet inspection data of all users on the network and the optical modem soft probe data, the router information, optical modem information, and target parameters are determined; the target parameters include the user account. Based on the router information, the optical modem information, and the target parameters, the network characteristics of all users in the network are determined.
3. The video stuttering recognition method according to claim 1, characterized in that, The step of training a model based on the processed test scene features and the first deep packet inspection index features to obtain a video stuttering recognition model includes: The processed probing scene features and the first depth packet detection index features are used as input samples for the model; The video stuttering recognition model is obtained by modeling based on the random forest algorithm and the extreme gradient boosting algorithm.
4. The video stuttering recognition method according to claim 3, characterized in that, The video stuttering recognition model is obtained by modeling based on the random forest algorithm and the extreme gradient boosting algorithm, including: Determine the accuracy and recall of the random forest algorithm and the extreme gradient boosting algorithm; The optimal algorithm is determined based on the accuracy and recall, and the video stuttering recognition model is obtained by modeling based on the optimal algorithm.
5. The video stuttering recognition method according to claim 1, characterized in that, The method further includes: Identify the target features that affect video stuttering, and determine the score for each target feature; The target features are sorted according to the scores.
6. A video stuttering identification device, applied to the video stuttering identification method as described in any one of claims 1 to 5, characterized in that, include: The determination module is used to determine different dialing scenarios and perform video dialing tests on each dialing scenario to obtain the dialing scenario characteristics of each dialing scenario; The training module is used to train the model based on the characteristics of the testing scene and the characteristics of the first deep packet inspection index to obtain a video stuttering recognition model. The identification module is used to determine the network characteristics of all users in the network, and input the network characteristics and the second deep packet inspection index characteristics into the video stuttering identification model to obtain the users experiencing video stuttering.
7. An electronic device comprising a processor and a memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the video stuttering recognition method according to any one of claims 1 to 5.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the video stuttering recognition method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Poor-quality router detection method, device and apparatus and storage medium
CN113411236A
