Video index identification model training method and device
By performing feature calculation and model training on encrypted video traffic data, and extracting key feature identifiers for screening, the problem of difficulty in video quality analysis by Internet service providers in an end-to-end encrypted environment is solved, and accurate quality assessment of encrypted video traffic is achieved. , which improves the user experience.
Patent Information
- Application Number
- CN202310987276.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2024-10-18
AI Technical Summary
It is difficult for Internet service providers to directly infer video quality from network traffic attributes in end-to-end encrypted video streams, making video quality analysis difficult.
By calculating the traffic characteristics of encrypted video data, constructing training samples and training the video indicator recognition model, extracting key feature identifiers for feature screening, improving the recognition accuracy of the model, and achieving quality analysis of encrypted video traffic.
Video quality can be accurately analyzed without decrypting video data, improving the video quality analysis capabilities of Internet service providers and enhancing user experience.
Smart Images

Figure CN118797326A_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of video processing technology, and in particular to a video indicator recognition model training method and device. Background Art
[0002] With the popularization of 5G technology and the popularity of home Internet, online TV, live broadcast, short video and other content are pre-released and popularized, and video traffic has become the main application traffic on the Internet today. Some research reports predict that video streaming will account for 79% of Internet traffic in 2027. Therefore, it is of great significance to analyze and manage the quality of video data. Compared with video content providers who can directly evaluate video quality from client software, Internet service providers must infer video quality when traffic flows through the network.
[0003] At present, the content of video streams based on HTTP / SSL and UDP network connections is gradually increasing, and the proportion of encrypted video traffic in the existing network environment is increasing. End-to-end encryption is becoming more and more common, but when end-to-end encryption of video streams is used, Internet service providers cannot infer video quality indicators only from directly observable network traffic attributes. Therefore, Internet service providers are in urgent need of means to analyze encrypted video traffic. Summary of the invention
[0004] The purpose of one embodiment of the present specification is to provide a video index recognition model training method and device to solve the problem of difficulty in analyzing the quality of encrypted videos.
[0005] To solve the above technical problems, an embodiment of this specification is implemented as follows:
[0006] In a first aspect, an embodiment of the present specification provides a video index recognition model training method, comprising:
[0007] According to the traffic data of each encrypted video in the encrypted video data set, the traffic characteristics of each encrypted video in at least one dimension are calculated to obtain a traffic characteristic set of at least one dimension;
[0008] Constructing a training sample based on the traffic feature set of the at least one dimension, and performing model training according to the training sample and the video indicators of each encrypted video to obtain an initial indicator recognition model;
[0009] Reading a key feature identifier of the initial indicator identification model, and performing feature screening in the traffic feature set of the at least one dimension based on the key feature identifier to obtain a traffic feature subset;
[0010] The traffic feature subset is used as a training sample, and the video indicators of each encrypted video are used as sample labels to perform model training on the initial indicator recognition model to obtain a video indicator recognition model.
[0011] In a second aspect, another embodiment of the present specification provides a video index recognition model training device, including:
[0012] A feature calculation module is configured to calculate the traffic feature of each encrypted video in at least one dimension according to the traffic data of each encrypted video in the encrypted video data set, so as to obtain a traffic feature set of at least one dimension;
[0013] A first model training module is configured to construct a training sample based on the traffic feature set of the at least one dimension, and perform model training according to the training sample and the video indicators of each encrypted video to obtain an initial indicator recognition model;
[0014] A feature screening module is configured to read the key feature identifier of the initial indicator recognition model, and perform feature screening in the traffic feature set of the at least one dimension based on the key feature identifier to obtain a traffic feature subset;
[0015] The second model training module is configured to use the traffic feature subset as a training sample and the video indicators of each encrypted video as a sample label to perform model training on the initial indicator recognition model to obtain a video indicator recognition model.
[0016] In the third aspect, another embodiment of the present specification provides a video indicator recognition model training device, comprising: a memory, a processor, and computer executable instructions stored on the memory and executable on the processor, wherein the computer executable instructions, when executed by the processor, implement the steps of the video indicator recognition model training method as described in the first aspect above.
[0017] In a fourth aspect, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the video indicator recognition model training method as described in the first aspect above are implemented.
[0018] The video indicator recognition model training method provided in the present embodiment first calculates the traffic characteristics of each encrypted video in at least one dimension according to the traffic data of each encrypted video in the encrypted video data set to obtain a traffic feature set of at least one dimension, performs model training according to the training samples constructed by the traffic feature set of at least one dimension and the video indicators of each encrypted video to obtain an initial indicator recognition model, performs model training by using the traffic feature set of at least one dimension to improve the indicator recognition effect of the initial indicator model obtained by training, and further, after obtaining the initial indicator recognition model, reads the key feature identifier of the initial indicator recognition model, performs feature screening in the traffic feature set of at least one dimension based on the key feature identifier, and obtains the traffic Feature subset, using traffic feature subset as training samples and video indicators of each encrypted video as sample labels, the initial indicator recognition model is trained to obtain a video indicator recognition model. By extracting the key feature identifiers of the initial indicator recognition model, the key feature identifiers that have a major impact on the model effect of the initial indicator recognition model during the training of the initial indicator recognition model are obtained. The traffic feature subset obtained by screening the key feature identifiers in the traffic feature set is used to train the initial indicator recognition model. In this way, the key features that have a major impact on the model effect of the initial indicator recognition model are used to further train the initial indicator recognition model to improve the recognition accuracy of the obtained video indicator recognition model. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in one or more embodiments of the present specification, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0020] Figure 1 A processing flow chart of a video index recognition model training method provided by one embodiment of this specification;
[0021] Figure 2 A processing diagram of a video index recognition model training method provided by one embodiment of this specification;
[0022] Figure 3 A processing flow chart of a video indicator recognition model training method applied to a startup delay indicator recognition scenario provided by an embodiment of this specification;
[0023] Figure 4 A schematic diagram of a video index recognition model training device provided in one embodiment of this specification;
[0024] Figure 5A schematic diagram of the structure of a video indicator recognition model training device provided for one embodiment of this specification. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to clearly and completely describe the technical solutions in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.
[0026] This specification provides an embodiment of a video index recognition model training method:
[0027] Reference Figure 1 The video index recognition model training method provided in this embodiment specifically includes the following steps S102 to S108.
[0028] Step S102, based on the traffic data of each encrypted video in the encrypted video data set, calculate the traffic characteristics of each encrypted video in at least one dimension to obtain a traffic characteristic set in at least one dimension.
[0029] During the transmission of video data between the client and the server, in order to ensure the security of the video data, the video data is encrypted for transmission so that only the user terminal can access the decrypted video data; the encrypted video data in this embodiment includes data representing the video data after the generated video data is encrypted.
[0030] The traffic data refers to data characterizing the transmission characteristics of encrypted video data during transmission between an upstream router and a downstream router; the traffic data in this embodiment may be network stack data during the encrypted video data transmission process.
[0031] After obtaining the traffic data, in order to obtain data in the traffic data that can reflect the video quality of the encrypted video, the traffic characteristics are calculated based on the traffic data. The network stack includes the physical layer, data link layer, network layer, transport layer, session layer, presentation layer and application layer. Since the video is encrypted, the quality of the encrypted video is evaluated by the transmission effect of the encrypted video, that is, the video quality of the encrypted video is evaluated through the data of the network layer, transport layer and application layer.
[0032] The traffic characteristics of at least one dimension in this embodiment include network layer traffic characteristics, transport layer traffic characteristics and / or application layer traffic characteristics.
[0033] Since the encrypted video data set includes multiple encrypted video data, the network layer traffic features of each encrypted video constitute a traffic feature set of at least one dimension among network layer traffic features, transport layer traffic features and application layer traffic features.
[0034] In a specific implementation, an encrypted video data set is obtained, and based on the traffic data of each encrypted video in the encrypted video data set, the traffic characteristics of each encrypted video in at least one dimension are calculated to obtain a traffic characteristic set in at least one dimension.
[0035] To obtain the encrypted video data set, a splitter is configured between the upstream router and the downstream router. When detecting the encrypted video transmitted between the upstream and downstream, the splitter copies the transmitted encrypted video data and sends the copied encrypted video data to the DPI (Deep Packet Inspection) system. The encrypted video data obtained by the DPI system can be stored in the form of a pcap (packet capture) file.
[0036] After obtaining the confidential video data set consisting of the encrypted video data sent by the spectrometer, the DPI system calculates the traffic characteristics of the encrypted video in at least one dimension and obtains the traffic feature set of at least one dimension. After obtaining the encrypted video data set, the deep packet inspection method is used to extract the traffic feature set of at least one dimension of each encrypted video in the encrypted video data set.
[0037] In an optional implementation manner provided by this embodiment, according to the traffic data of each encrypted video in the encrypted video data set, the traffic characteristics of each encrypted video in at least one dimension are calculated, and in the process of obtaining the traffic characteristic set of at least one dimension, the following operations are performed:
[0038] The traffic characteristics of at least one dimension of each encrypted video include: network layer traffic characteristics, transport layer traffic characteristics and application layer traffic characteristics. Based on this, this embodiment provides an optional implementation method, in which the traffic characteristic set of at least one dimension is obtained by the following method:
[0039] Calculate the network layer traffic characteristics, transport layer traffic characteristics and application layer traffic characteristics of each encrypted video according to the encrypted video traffic data;
[0040] Based on the network layer traffic characteristics, the transport layer traffic characteristics and the application layer traffic characteristics, a network layer traffic characteristic set, a transport layer traffic characteristic set and an application layer traffic characteristic set are constructed.
[0041] For each encrypted video, the three traffic characteristics of network layer traffic characteristics, transport layer traffic characteristics and application layer traffic characteristics must be calculated. The following is a detailed description of the calculation process of these three traffic characteristics.
[0042] (1) Network layer traffic characteristics
[0043] This embodiment provides an optional implementation manner, in which the network layer traffic feature of any encrypted video in the network layer traffic feature set is calculated in the following manner:
[0044] Read the video traffic data and service traffic data of any of the encrypted videos;
[0045] Based on the video traffic data, calculate the video traffic characteristics of any of the encrypted videos, and based on the service traffic data, calculate the service traffic characteristics of any of the encrypted videos;
[0046] The video traffic characteristics and the service traffic characteristics are used as the network layer traffic characteristics of any encrypted video.
[0047] Optionally, network layer traffic features include indicators that rely on information obtained from observing network flows (identified by IP / port quads). Network layer traffic is divided into three categories: traffic that carries video traffic, that is, traffic that carries encrypted video traffic; traffic that belongs to the service but transmits other types of information, such as web page structure traffic and advertising traffic; and traffic to and from the terminal host network.
[0048] Among them, video traffic characteristics include uplink throughput, downlink throughput, number of packets and bytes per second; video traffic characteristics include average uplink throughput, average downlink throughput, average number of packets and bytes per second, and difference in average downlink throughput of video traffic between consecutive time slots; service traffic data include: service flows carrying video, upstream throughput of total traffic, and downstream throughput of total traffic; service traffic characteristics include service flows that do not carry video and the average upstream throughput of total traffic and the average downstream throughput of total traffic.
[0049] In the process of calculating the network layer traffic characteristics, the network layer traffic data includes the upstream throughput, the downstream throughput, the number of packets and bytes per second, the service flow carrying video, the upstream throughput of the total traffic, and the downstream throughput of the total traffic. After reading these data, based on the read upstream throughput, downstream throughput, the number of packets and bytes per second, the upstream throughput of the total traffic, and the downstream throughput of the total traffic, the average upstream throughput, the average downstream throughput, the average number of packets and bytes per second, the difference in the average downstream throughput of video traffic between consecutive time slots, the service flow that does not carry video and the average upstream throughput of the total traffic, and the average downstream throughput of the total traffic are calculated.
[0050] For example, the obtained network layer traffic feature set is {uplink and downlink throughput of encrypted video 1 + average downlink throughput difference + number of uplink and downlink data packets + number of uplink and downlink bytes + uplink and downlink packet delay, uplink and downlink throughput of encrypted video 2 + average downlink throughput difference + number of uplink and downlink data packets + number of uplink and downlink bytes + uplink and downlink packet delay, uplink and downlink throughput of encrypted video 3 + average downlink throughput difference + number of uplink and downlink data packets + number of uplink and downlink bytes + uplink and downlink packet delay}.
[0051] (2) Transport layer traffic characteristics
[0052] In an optional implementation manner provided by this embodiment, the transport layer traffic feature of any encrypted video in the transport layer traffic feature set is calculated in the following manner:
[0053] Reading the transmission data of any encrypted video based on the protocol stream of any encrypted video;
[0054] According to the transmission data, the uplink and downlink configurations of any encrypted video are calculated as the transport layer traffic characteristics of any encrypted video.
[0055] Specifically, the transmission data of any encrypted video is read based on the TCP (Transmission Control Protocol) stream of any encrypted video; and according to the transmission data, the uplink and downlink configurations of any encrypted video are calculated as the transport layer traffic characteristics of any encrypted video.
[0056] Optionally, the transport layer traffic data of any encrypted video includes the uplink flag, downlink flag, uplink TCP window size, downlink TCP window size, uplink packet average bytes, downlink packet average bytes and round trip time. The transport layer traffic characteristics include the mean, median, maximum, minimum, standard deviation, peak and deviation.
[0057] In the process of calculating the transport layer traffic characteristics, the transport layer traffic data includes the upstream flag bit, the downstream flag bit, the upstream TCP window size, the downstream TCP window size, the average bytes of the upstream data packet, the average bytes of the downstream data packet and the round-trip time. After reading these data, the average value, median, maximum value, minimum value, standard deviation, peak value and deviation of the transport layer traffic are calculated based on the read upstream flag bit, downstream flag bit, upstream TCP window size, downstream TCP window size, average bytes of the upstream data packet, average bytes of the downstream data packet and round-trip time.
[0058] (3) Application layer traffic characteristics
[0059] In an optional implementation manner provided by this embodiment, the application layer traffic feature of any encrypted video in the application layer traffic feature set is calculated in the following manner:
[0060] Divide the video segments according to a preset threshold and video load to obtain video segment data of each video segment of the encrypted video;
[0061] Based on the video segment data, calculating a video segment memory and an end time delay of each video segment in the at least one video segment, and a video segment request delay of adjacent video segments in the at least one video segment;
[0062] The video segment memory and termination time delay of each video segment, and the video segment request delay are used as application layer flow indicators of any encrypted video.
[0063] Specifically, the encrypted video is first divided into video segments; and the application layer traffic index of any encrypted video is calculated based on the video segment data of each video segment.
[0064] For example, video segments are divided according to video load greater than 150, and video segment data of each video segment of the encrypted video is obtained. The encrypted video is 20 seconds, among which the video load from 3 seconds to 8 seconds is greater than 150, the video load from 8 seconds to 11 seconds is less than 150, and the video load from 12 seconds to 20 seconds is greater than 150. The encrypted video includes two video segments, namely, a video segment from 3 seconds to 8 seconds and a video segment from 12 seconds to 20 seconds. After obtaining the two video segments, the video segment sizes of the two video segments are calculated respectively, the video segment termination time delay of the two video segments, and the video segment request delay of at least one adjacent video segment are calculated, and the video segment memory and termination time delay of the two video segments, as well as the video segment request delay are used as application layer traffic indicators of the encrypted video.
[0065] Specifically, the network layer traffic characteristics, transport layer traffic characteristics, and application layer traffic characteristics are as follows:
[0066]
[0067]
[0068] The above specifically explains the process of determining the network layer traffic characteristics, transport layer traffic characteristics and application layer traffic characteristics of an encrypted video. In this embodiment, for each encrypted video in the encrypted video data set, the above method is used to determine the network layer traffic characteristics, transport layer traffic characteristics and application layer traffic characteristics; and then the network layer traffic characteristic set, transport layer traffic characteristic set and application layer traffic characteristic set are obtained.
[0069] Step S104: constructing a training sample based on the traffic feature set of the at least one dimension, and performing model training according to the training sample and the video indicators of each encrypted video to obtain an initial indicator recognition model.
[0070] The training samples are constructed based on at least one traffic feature set obtained, and are used to train an indicator recognition model with the video indicators of each encrypted video to obtain an initial indicator recognition model.
[0071] The model in this embodiment adopts the XGBoost (eXtreme Gradient Boosting, gradient boosting tree model) structure; during the model training process, the training samples are constructed based on the traffic feature set of at least one dimension; the sample labels are the video indicators of each encrypted video. For example, the sample label of the network layer traffic feature of an encrypted video is the video indicator of the encrypted video.
[0072] The XGBoost model constructs training samples for the received traffic feature set of at least one dimension, and performs model training based on the training samples and the video indicators of each encrypted video to obtain an initial indicator recognition model.
[0073] In an optional implementation manner provided in this embodiment, the constructing of training samples based on the traffic feature set of the at least one dimension includes:
[0074] Merging at least two of the network layer traffic features, transport layer traffic features, and application layer traffic features of each encrypted video to obtain a merged feature of each encrypted video;
[0075] Based on the combined features of the encrypted videos, construct a combined feature set;
[0076] The network layer traffic feature set, the transport layer traffic feature set, the application layer traffic feature set and the combined feature set are used as training samples.
[0077] In this embodiment, the training sample can be at least one of the network layer traffic feature set, the transport layer traffic feature set and the application layer traffic feature set, and can also be a combined feature set obtained by combining two or all of the three; it can also be a combined feature set obtained by combining the network layer traffic feature set, the transport layer traffic feature set and the application layer traffic feature set; wherein the combined feature set includes a combination of network layer traffic features, transport layer traffic features and application layer traffic features of different layers, such as the network layer and the transport layer, the network layer and the application layer, or all layers combined, but the model training will not be performed only with the transport layer or application layer features, because this method is usually not very accurate.
[0078] Specifically, the network layer traffic features and transport layer traffic features of each encrypted video can be combined, the network layer traffic features and application layer traffic features can be combined, or the network layer traffic features, transport layer traffic features and application layer traffic features can be combined, and the combined feature set obtained after the combined processing is used as a training sample. After determining the training samples, model training is performed based on the obtained training samples and each encrypted video index to obtain an initial index model.
[0079] It should be noted that, in this embodiment, the video indicators include: startup delay indicator, video resolution indicator, bit rate indicator, resolution switching indicator and rebuffering indicator. Among them, startup delay is the time from the start of the player to the time when the video server connects to the resource and starts rendering the video frame; video resolution is the number of pixels in each dimension of the video frame; bit rate is the number of bits of the video segment transmitted over time; resolution switching is the amplitude and frequency of resolution switching; rebuffering is the rebuffering of the video when it freezes.
[0080] For each video indicator, an XGBoost model for identifying the video indicator can be trained separately; for example, in the process of training the XGBoost model for the video indicator of startup delay, the training sample is a merged feature set after merging the network layer traffic features and the application layer traffic features. The startup delay indicators of the encrypted video corresponding to each merged feature in the merged feature set are used as sample labels of the merged features for model training, and an initial indicator recognition model for identifying the video indicator of startup delay is obtained.
[0081] For another example, in the process of training the XGBoost model of the video indicator of video resolution, the training samples are the merged feature set after merging the network layer traffic features and the transport layer traffic features. The video resolution indicator of the encrypted video corresponding to each merged feature in the merged feature set is used as the sample label of the merged feature for model training, and an initial indicator recognition model for identifying the video indicator of video resolution is obtained.
[0082] It should also be noted that in the process of merging, only the network layer traffic features, transport layer traffic features and application layer traffic features of different dimensions of the same encrypted video can be merged. For example, the network layer traffic feature set includes the network layer traffic features of encrypted video 1, the network layer traffic features of encrypted video 2, and the network layer traffic features of encrypted video 3; the transport layer traffic feature set includes the transport layer traffic features of encrypted video 1, the transport layer traffic features of encrypted video 2, and the transport layer traffic features of encrypted video 3; the application layer traffic feature set includes the application layer traffic features of encrypted video 1, the application layer traffic features of encrypted video 2, and the application layer traffic features of encrypted video 3; in the process of merging, the network layer traffic features, transport layer traffic features and application layer traffic features of each encrypted video are merged to obtain a merged feature set consisting of the merged features of the network layer traffic features, transport layer traffic features and application layer traffic features of encrypted video 1, the merged features of the network layer traffic features, transport layer traffic features and application layer traffic features of encrypted video 2, and the merged features of the network layer traffic features, transport layer traffic features and application layer traffic features of encrypted video 3.
[0083] During the specific implementation, the splitter copies the encrypted video data transmitted between the detected upstream router and the downstream router, and transmits it to the DPI (Deep Packet Inspection) system. After obtaining the encrypted data, the DPI system calculates the traffic characteristics of each encrypted video in at least one dimension based on the traffic data of each encrypted video in the encrypted video data set, obtains the traffic feature set of at least one dimension, and performs model training on the XGBoost structure based on the traffic feature set of at least one dimension to obtain the initial indicator recognition model.
[0084] Step S106, reading the key feature identifier of the initial indicator recognition model, and performing feature screening in the traffic feature set of the at least one dimension based on the key feature identifier to obtain a traffic feature subset.
[0085] The key feature identification is to perform a criticality assessment on the features in the initial indicator recognition model and determine the identification of the key features, so that when the traffic feature set is subsequently screened, feature screening can be performed based on the key feature identification.
[0086] In the specific implementation, since the traffic feature set of at least one dimension contains many features, not all of the included features have a positive impact on the model training, some redundant features will inevitably appear, and a more complex feature set will affect the training effect and time of the model. Based on this, in order to filter out some redundant features, an optional implementation method provided in this embodiment specifically adopts the following method to filter out redundant features:
[0087] Read the key feature identifiers of the initial indicator recognition model;
[0088] The traffic feature set in the at least one dimension is screened based on the key feature identifier to obtain a traffic feature subset.
[0089] The model of the XGBoost structure used in this embodiment can determine the features that play a major role in model training. Therefore, after obtaining the initial indicator identification model of the XGBoost structure, the key feature identifier of the initial indicator identification model is read from the XGBoost initial indicator identification model; after reading the key feature identifier of the initial indicator identification model, in order to obtain the features that play a major role in each initial indicator identification model, based on the key feature identifier, feature screening is performed in the traffic feature set of at least one dimension to obtain a traffic feature subset.
[0090] During the video indicator model training process, the importance of the features of the initial indicator model is evaluated according to preset requirements or current actual conditions, and the key features of the initial indicator recognition model are determined. After reading the key feature identifier, the traffic feature set in at least one dimension can be screened based on the key feature identifier to obtain a traffic feature subset.
[0091] It can be seen that after the key feature identification based on the initial indicator recognition model is used to screen the features in the traffic feature set and obtain the traffic feature subset, the number of training samples is significantly reduced. In addition, when the number of training samples is reduced, the features that are beneficial to model training are retained and redundant features are filtered out.
[0092] For example, after training the XGBoost model for identifying the video indicator of startup delay and obtaining the initial indicator identification model, the key feature identifiers of the initial indicator identification model read include the uplink and downlink throughput and the average downlink throughput difference. Then, feature screening is performed in the network layer traffic feature set, the transport layer traffic feature set and the application layer traffic feature set, and the traffic feature subset obtained by screening is {uplink and downlink throughput of encrypted video 1 + average downlink throughput difference, uplink and downlink throughput of encrypted video 2 + average downlink throughput difference, uplink and downlink throughput of encrypted video 3 + average downlink throughput difference}.
[0093] Step S108, using the traffic feature subset as a training sample and the video indicators of each encrypted video as a sample label, performing model training on the initial indicator recognition model to obtain a video indicator recognition model.
[0094] After the above screening obtains the traffic feature subset that plays a major role in the process of training the initial indicator recognition model, in this step, in order to further improve the recognition effect of the initial indicator recognition model, the initial indicator recognition model is further trained based on the traffic feature subset obtained above. In the further training process, the traffic feature subset is used as a training sample, and the video indicators of each encrypted video are used as sample labels to train the initial indicator recognition model;
[0095] In specific implementation, during model training, cross-validation can be selected to evaluate the prediction performance of the model to reduce overfitting and obtain as much effective information as possible from limited data. Based on this, in order to better train the video index recognition model, an optional implementation method provided in this embodiment specifically adopts the following method to perform model training:
[0096] Performing feature division on the traffic feature set of the at least one dimension to obtain a feature set of a preset data volume;
[0097] Using a target feature subset among the preset number of feature subsets as a test set, and using feature subsets other than the target feature subset among the preset number of feature subsets as a training set;
[0098] Performing model training based on the training set and the test set;
[0099] The video index of each encrypted video is a sample label of the corresponding traffic feature.
[0100] Specifically, during the training of the video index recognition model, the model can be evaluated through 10-fold cross validation. The traffic feature set of at least one dimension is divided into 10 feature sets, and one feature set is used as the test set and the other 9 feature sets are used as the training set in turn. The model is then trained based on the training set and the test set. This is repeated, and the corresponding accuracy rate will be obtained for each test. Finally, the average accuracy rate obtained from the 10 verification results is used as an estimate of the accuracy of the algorithm. In this way, as much effective information as possible can be obtained from limited data, and overfitting can be reduced to a certain extent.
[0101] This embodiment starts from the perspective of ISP (Internet Service Provider), strengthens the means and methods of the Internet Service Provider's video quality analysis capability, solves the difficulties of confidential video quality analysis in the existing network, and combines the machine learning method XGBoost feature selection mechanism to perform analysis and evaluation without mastering the original video data. It can also be more conveniently applied to the existing network environment and combined with the unified DPI system to obtain more accurate video quality analysis conclusions.
[0102] Moreover, for different feature combinations and different video quality indicators, there are certain differences in the results of feature selection. This embodiment trains the XGBoost model based on the traffic feature subsets obtained in different scenarios, deploys the corresponding model in actual scenarios, and combines it with the unified DPI system. ISPs can monitor the video indicators of the existing network in real time, thereby promoting video scheduling optimization and improving user video access experience.
[0103] Furthermore, the trained video indicator recognition model is deployed to the server. After receiving the traffic data of the encrypted video, the traffic characteristics are determined based on the traffic data, and the traffic characteristics are input into the video indicator recognition model to perform video indicator recognition to obtain the video indicator.
[0104] The video index recognition model training method provided in this embodiment is as follows: Figure 2 As shown, when the optical splitter detects encrypted video transmission between the upstream router and the downstream router, the optical splitter sends the encrypted video data to the DPI system. After the DPI system obtains the encrypted video data set composed of the encrypted video data, it calculates the network layer (NET) traffic characteristics, transport layer (TRANS) traffic characteristics and application layer (APP) traffic characteristics of each encrypted video according to the traffic data of each encrypted video, merges the network layer traffic characteristics and the transport layer traffic characteristics to obtain the NET+TRANS traffic characteristics of each encrypted video, merges the network layer traffic characteristics and the application layer traffic characteristics to obtain the NET+APP traffic characteristics of each encrypted video, merges the network layer traffic characteristics, the transport layer traffic characteristics and the application layer traffic characteristics to obtain the NET+TRANS+APP traffic characteristics of each encrypted video, further, based on the NET+TRANS traffic characteristics of each encrypted video, constructs a NET+TRANS traffic characteristic set, based on the NET+APP traffic characteristics of each encrypted video, constructs a NET+APP traffic characteristic set, based on the NET+TRANS+APP traffic characteristics of each encrypted video, constructs a NET+TRANS+APP traffic characteristic set;
[0105] The constructed NET+TRANS traffic feature set, NET+APP traffic feature set and NET+TRANS+APP traffic feature set are used as training samples, and the video indicators of each encrypted video are used as sample labels. The XGBoost model to be trained is trained to obtain an initial XGBoost model for video indicator recognition, and features are extracted from the initial XGBoost model to obtain key feature identifiers of the initial XGBoost model. Based on the key feature identifiers, a traffic feature subset is screened in the training samples.
[0106] Furthermore, the initial XGBoost model is retrained using the traffic feature subset as training samples and the video indicators of each encrypted video as sample labels to obtain an XGBoost model for video indicator recognition; and the obtained XGBoost model is deployed on the server of the video application.
[0107] It should be noted that the model training process can also be carried out on the server, that is, after the DPI system constructs the training samples, the training samples are sent to the server, and the server performs model training based on the training samples and the video indicators of each encrypted video to obtain an initial indicator recognition model, read the key feature identifiers of the initial indicator recognition model, and screen the traffic feature subset in the training samples based on the key feature identifiers. The traffic feature subset is used as the training sample, and the video indicators of each encrypted video are used as sample labels to train the initial indicator recognition model and obtain a video indicator recognition model.
[0108] It should also be noted that, in the process of performing model training based on multiple traffic feature sets to obtain an initial indicator recognition model, model training can be performed based on multiple traffic feature sets together to obtain an initial indicator recognition model, or model training can be performed based on each traffic feature set separately to obtain initial indicator recognition models of a number corresponding to the number of traffic feature sets, and an initial indicator recognition model having a model performance higher than that of other initial indicator recognition models among the multiple initial indicator recognition models obtained is used as the obtained initial indicator recognition model;
[0109] Similarly, in the process of training the initial indicator recognition model using the traffic feature subset as the training sample and the video indicators of each encrypted video as the sample label to obtain the video indicator recognition model, if there are multiple traffic feature subsets, the initial indicator recognition model can be trained based on the multiple traffic feature subsets to obtain a video indicator recognition model. The initial indicator recognition model can also be trained based on the multiple traffic feature subsets respectively to obtain video indicator recognition models of the same number as the number of traffic feature subsets. The video indicator recognition model with higher model performance than other video indicator recognition models among the multiple video indicator recognition models obtained can be used as the video indicator recognition model deployed on the server.
[0110] The following combination Figure 3 , taking the application of the video indicator recognition model training method provided by this embodiment in the startup delay indicator recognition scenario as an example, the video indicator recognition model training method provided by this embodiment is further described. Figure 3 The video indicator recognition model training method applied to the startup delay indicator recognition scenario specifically includes steps S302 to S314.
[0111] Step S302, calculating the network layer traffic characteristics, transport layer traffic characteristics and application layer traffic characteristics of each encrypted video according to the traffic data of each encrypted video in the encrypted video data set.
[0112] Step S304: merge the network layer traffic characteristics, transport layer traffic characteristics, and application layer traffic characteristics of each encrypted video to obtain a merged traffic characteristic of each encrypted video.
[0113] Step S306, based on the network layer traffic characteristics, transport layer traffic characteristics, application layer traffic characteristics and combined traffic characteristics of each encrypted video, construct a network layer traffic characteristic set, a transport layer traffic characteristic set, an application layer traffic characteristic set and a combined traffic characteristic set.
[0114] Step S308, using the network layer traffic feature set, transport layer traffic feature set, application layer traffic feature set and combined traffic feature set as training samples, and the startup delay index of each encrypted video as a sample label for model training, to obtain an initial startup delay index recognition model.
[0115] Step S310, reading the key feature identifier of the initial startup delay indicator identification model.
[0116] Step S312, based on the key feature identifier, feature screening is performed in the network layer traffic feature set, the transport layer traffic feature set, the application layer traffic feature set and the combined traffic feature set to obtain a traffic feature subset.
[0117] Step S314, using the traffic feature subset as a training sample and the startup test index of each encrypted video as a sample label, the initial startup delay index recognition model is trained to obtain the startup delay index recognition model.
[0118] It should be noted that after obtaining the startup delay recognition model, the startup delay recognition model is deployed on the server of the video application. After detecting the encrypted video to be identified, the server of the video application calculates the key features corresponding to the key feature identifiers of the encrypted video to be identified, and inputs the key features into the startup delay recognition model for startup delay identification, thereby obtaining the startup delay index of the encrypted video to be identified, thereby realizing the evaluation of the video quality of the encrypted video to be identified.
[0119] It should also be noted that, in this embodiment, for the video quality evaluation of the encrypted video to be identified, from the perspective of the user's perception of accessing the encrypted video, the video quality can be jointly analyzed for the five video indicators of startup delay, video resolution, bit rate, resolution switching and rebuffering; the above provides a method for analyzing the startup delay indicator as a video indicator, that is, training a startup delay recognition model to identify the startup delay indicator, and for the identification of video resolution, bit rate, resolution switching and rebuffering, respectively training a video resolution recognition model, a bit rate recognition model, a resolution switching model, and a rebuffering model, and based on the trained models, respectively identifying indicators of the encrypted video to be identified, and obtaining a video resolution indicator, a bit rate indicator, a resolution switching indicator and a rebuffering indicator;
[0120] On the basis of obtaining the above five video indicators, the video quality of the encrypted video to be identified is analyzed based on the startup delay indicator, the video resolution indicator, the bit rate indicator, the resolution switching indicator and the rebuffering indicator. In the process of analyzing the video quality of the encrypted video to be identified based on the above five video indicators, manual analysis can be performed, or the five video indicators can be input into a video quality identification model for video quality identification to obtain the video quality indicator of the encrypted video to be identified. Other methods can also be used for analysis, which are not limited in this embodiment.
[0121] Figure 4 A schematic diagram of a video index recognition model training device provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, the device comprises:
[0122] The feature calculation module 402 is configured to calculate the traffic feature of each encrypted video in at least one dimension according to the traffic data of each encrypted video in the encrypted video data set, and obtain a traffic feature set of at least one dimension;
[0123] The first model training module 404 is configured to construct a training sample based on the traffic feature set of the at least one dimension, and perform model training according to the training sample and the video indicators of each encrypted video to obtain an initial indicator recognition model; and is further configured to use the traffic feature subset as a training sample and the video indicators of each encrypted video as a sample label to perform model training on the initial indicator recognition model to obtain a video indicator recognition model;
[0124] The feature screening module 406 is configured to read the key feature identifier of the initial indicator recognition model, and perform feature screening in the traffic feature set of the at least one dimension based on the key feature identifier to obtain a traffic feature subset;
[0125] The second model training module 408 is configured to use the traffic feature subset as training samples and the video indicators of each encrypted video as sample labels to perform model training on the initial indicator recognition model to obtain a video indicator recognition model.
[0126] The video indicator recognition model training method provided in this embodiment firstly runs the feature calculation module 402, calculates the traffic features of each encrypted video in at least one dimension according to the traffic data of each encrypted video in the encrypted data set, and obtains the traffic feature set of at least one dimension, and runs the first model training module 404, performs model training according to the training samples constructed by the traffic feature set of at least one dimension and the video indicators of each encrypted video, obtains the initial indicator recognition model, performs model training by the traffic feature set of at least one dimension, and improves the indicator recognition effect of the trained initial indicator model. Further, after obtaining the initial indicator recognition model, runs the feature screening module 406, reads the key feature identifier of the initial indicator recognition model, performs feature screening in the traffic feature set of at least one dimension based on the key feature identifier, and obtains the traffic feature subset, and then runs the second model training module 408, uses the traffic feature subset as the training sample, uses the video indicators of each encrypted video as the sample label, and performs model training on the initial indicator recognition model to obtain the video indicator recognition model, thereby further training the initial indicator recognition model using the key features that have a major impact on the model effect of the initial indicator recognition model, and improves the recognition accuracy of the obtained video indicator recognition model.
[0127] The video index recognition model training device provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0128] Furthermore, an embodiment of the present specification also provides a video index recognition model training device, Figure 5 A schematic diagram of a video index recognition model training device provided in an embodiment of this specification is shown in FIG. Figure 5 As shown, the device includes: a memory 501, a processor 502, a bus 503 and a communication interface 504. The memory 501, the processor 502 and the communication interface 504 communicate through the bus 503, and the communication interface 504 may include an input and output interface, which includes but is not limited to a keyboard, a mouse, a display, a microphone, a loudspeaker, etc.
[0129] Figure 5 In the embodiment, the memory 501 stores computer executable instructions that can be run on the processor 502. When the computer executable instructions are executed by the processor 502, the following process is implemented:
[0130] According to the traffic data of each encrypted video in the encrypted video data set, the traffic characteristics of each encrypted video in at least one dimension are calculated to obtain a traffic characteristic set of at least one dimension;
[0131] Constructing a training sample based on the traffic feature set of the at least one dimension, and performing model training according to the training sample and the video indicators of each encrypted video to obtain an initial indicator recognition model;
[0132] Reading a key feature identifier of the initial indicator identification model, and performing feature screening in the traffic feature set of the at least one dimension based on the key feature identifier to obtain a traffic feature subset;
[0133] The traffic feature subset is used as a training sample, and the video indicators of each encrypted video are used as sample labels to perform model training on the initial indicator recognition model to obtain a video indicator recognition model.
[0134] The video indicator recognition model training device provided in this embodiment, through the cooperation of the memory 501, the processor 502, the bus 503 and the communication interface 504, first calculates the traffic characteristics of each encrypted video in at least one dimension according to the traffic data of each encrypted video in the encrypted video data set, obtains the traffic feature set of at least one dimension, performs model training according to the training samples constructed by the traffic feature set of at least one dimension and the video indicators of each encrypted video, obtains the initial indicator recognition model, performs model training by the traffic feature set of at least one dimension, improves the indicator recognition effect of the initial indicator model obtained by training, and further, after obtaining the initial indicator recognition model, reads the key feature identifier of the initial indicator recognition model, and based on the key feature identifier in the at least one dimension, performs model training on the training samples and the video indicators of each encrypted video, obtains the initial indicator recognition model, and performs model training on the traffic feature set of at least one dimension, improves the indicator recognition effect of the initial indicator model obtained by training, and further, after obtaining the initial indicator recognition model, reads the key feature identifier of the initial indicator recognition model, and performs model training on the training samples and the video indicators of each encrypted video according to the traffic feature set of at least one dimension, obtains ... and obtains the initial indicator recognition model. The traffic feature set is screened to obtain a traffic feature subset, the traffic feature subset is used as a training sample, and the video indicators of each encrypted video are used as sample labels, and the initial indicator recognition model is trained to obtain a video indicator recognition model, and the key feature identifiers of the initial indicator recognition model are extracted to obtain the key feature identifiers that have a major impact on the model effect of the initial indicator recognition model during the training of the initial indicator recognition model, and the traffic feature subset obtained by screening in the traffic feature set based on the key feature identifiers is trained on the initial indicator recognition model, thereby further training the initial indicator recognition model using the key features that have a major impact on the model effect of the initial indicator recognition model to improve the recognition accuracy of the obtained video indicator recognition model.
[0135] The video indicator recognition model training device provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0136] Furthermore, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented:
[0137] According to the traffic data of each encrypted video in the encrypted video data set, the traffic characteristics of each encrypted video in at least one dimension are calculated to obtain a traffic characteristic set of at least one dimension;
[0138] Constructing a training sample based on the traffic feature set of the at least one dimension, and performing model training according to the training sample and the video indicators of each encrypted video to obtain an initial indicator recognition model;
[0139] Reading a key feature identifier of the initial indicator identification model, and performing feature screening in the traffic feature set of the at least one dimension based on the key feature identifier to obtain a traffic feature subset;
[0140] The traffic feature subset is used as a training sample, and the video indicators of each encrypted video are used as sample labels to perform model training on the initial indicator recognition model to obtain a video indicator recognition model.
[0141] The computer-readable storage medium provided in the present embodiment first calculates the traffic characteristics of each encrypted video in at least one dimension according to the traffic data of each encrypted video in the encrypted video data set to obtain a traffic feature set of at least one dimension, performs model training according to the training samples constructed by the traffic feature set of at least one dimension and the video indicators of each encrypted video to obtain an initial indicator recognition model, performs model training through the traffic feature set of at least one dimension to improve the indicator recognition effect of the initial indicator model obtained by training, and further, after obtaining the initial indicator recognition model, reads the key feature identifier of the initial indicator recognition model, performs feature screening in the traffic feature set of at least one dimension based on the key feature identifier, and obtains the traffic. The feature subset uses the traffic feature subset as a training sample and the video indicators of each encrypted video as sample labels to perform model training on the initial indicator recognition model to obtain a video indicator recognition model. By extracting the key feature identifiers of the initial indicator recognition model, the key feature identifiers that have a major impact on the model effect of the initial indicator recognition model during the training of the initial indicator recognition model are obtained. The traffic feature subset obtained by screening the key feature identifiers in the traffic feature set is used to train the initial indicator recognition model. In this way, the key features that have a major impact on the model effect of the initial indicator recognition model are used to further train the initial indicator recognition model to improve the recognition accuracy of the obtained video indicator recognition model.
[0142] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0143] The computer-readable storage medium provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0144] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0145] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0146] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0147] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0148] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0149] Memory may include non-permanent storage in a computer-readable storage medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable storage medium.
[0150] Computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable storage media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0151] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0152] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0153] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A video index recognition model training method, characterized in that: include: According to the traffic data of each encrypted video in the encrypted video data set, the traffic characteristics of each encrypted video in at least one dimension are calculated to obtain a traffic characteristic set of at least one dimension; Constructing a training sample based on the traffic feature set of the at least one dimension, and performing model training according to the training sample and the video indicators of each encrypted video to obtain an initial indicator recognition model; Reading a key feature identifier of the initial indicator identification model, and performing feature screening in the traffic feature set of the at least one dimension based on the key feature identifier to obtain a traffic feature subset; The traffic feature subset is used as a training sample, and the video indicators of each encrypted video are used as sample labels to perform model training on the initial indicator recognition model to obtain a video indicator recognition model.
2. The video index recognition model training method according to claim 1 is characterized in that: The method of calculating the traffic characteristics of each encrypted video in at least one dimension according to the traffic data of each encrypted video in the encrypted video data set to obtain a traffic characteristic set of at least one dimension includes: Calculate the network layer traffic characteristics, transport layer traffic characteristics and application layer traffic characteristics of each encrypted video according to the encrypted video traffic data; Based on the network layer traffic characteristics, the transport layer traffic characteristics and the application layer traffic characteristics, a network layer traffic characteristic set, a transport layer traffic characteristic set and an application layer traffic characteristic set are constructed.
3. The video index recognition model training method according to claim 2 is characterized in that: The constructing a training sample based on the traffic feature set of the at least one dimension includes: Merging at least two of the network layer traffic features, transport layer traffic features, and application layer traffic features of each encrypted video to obtain a merged feature of each encrypted video; Based on the combined features of the encrypted videos, construct a combined feature set; The network layer traffic feature set, the transport layer traffic feature set, the application layer traffic feature set and the combined feature set are used as training samples.
4. The video index recognition model training method according to claim 2 is characterized in that: The network layer traffic feature of any encrypted video in the network layer traffic feature set is calculated in the following way: Read the video traffic data and service traffic data of any of the encrypted videos; Based on the video traffic data, calculate the video traffic characteristics of any of the encrypted videos, and based on the service traffic data, calculate the service traffic characteristics of any of the encrypted videos; The video traffic characteristics and the service traffic characteristics are used as the network layer traffic characteristics of any encrypted video.
5. The video index recognition model training method according to claim 2 is characterized in that: The transport layer traffic feature of any encrypted video in the transport layer traffic feature set is calculated in the following way: Reading the transmission data of any encrypted video based on the protocol stream of any encrypted video; According to the transmission data, the uplink and downlink configurations of any encrypted video are calculated as the transport layer traffic characteristics of any encrypted video.
6. The video index recognition model training method according to claim 2 is characterized in that: The application layer traffic feature of any encrypted video in the application layer traffic feature set is calculated in the following way: Divide the video segments according to a preset threshold and video load to obtain video segment data of each video segment of any encrypted video; Based on the video segment data, calculating a video segment memory and an end time delay of each video segment in the at least one video segment, and a video segment request delay of adjacent video segments in the at least one video segment; The video segment memory and termination time delay of each video segment, and the video segment request delay are used as application layer traffic features of any encrypted video.
7. The video index recognition model training method according to claim 1 is characterized in that: The performing model training according to the training samples and the video indicators of each encrypted video includes: Performing feature division on the traffic feature set of the at least one dimension to obtain a preset number of feature subsets; Using a target feature subset among the preset number of feature subsets as a test set, and using feature subsets other than the target feature subset among the preset number of feature subsets as a training set; Performing model training based on the training set and the test set; The video index of each encrypted video is a sample label of the corresponding traffic feature.
8. A video index recognition model training device, characterized in that: include: A feature calculation module is configured to calculate the traffic feature of each encrypted video in at least one dimension according to the traffic data of each encrypted video in the encrypted video data set, so as to obtain a traffic feature set of at least one dimension; A first model training module is configured to construct a training sample based on the traffic feature set of the at least one dimension, and perform model training according to the training sample and the video indicators of each encrypted video to obtain an initial indicator recognition model; A feature screening module is configured to read the key feature identifier of the initial indicator recognition model, and perform feature screening in the traffic feature set of the at least one dimension based on the key feature identifier to obtain a traffic feature subset; The second model training module is configured to use the traffic feature subset as a training sample and the video indicators of each encrypted video as a sample label to perform model training on the initial indicator recognition model to obtain a video indicator recognition model.
9. A video index recognition model training device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer executable instructions, and when the computer executable instructions are executed on the processor, the steps of the method described in any one of claims 1 to 7 can be implemented.
10. A computer-readable storage medium having computer-executable instructions stored therein, characterized in that: When the computer executable instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 can be implemented.
