An early identification method for multi-platform video traffic in high-speed networks

By constructing a protocol-independent feature space and supervised machine learning methods, the problem of identifying multi-platform video traffic in high-speed networks is solved, achieving fast and accurate identification in the early stages, and reaching a recognition rate of more than 98% in 10Gbps networks. , reducing resource consumption.

CN115174961BActive Publication Date: 2024-09-27SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210796253.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-07
Publication Date
2024-09-27
Estimated Expiration
2042-07-07

AI Technical Summary

Technical Problem

Existing video traffic identification methods cannot effectively identify multi-platform video traffic in high-speed networks, especially threshold-based methods that rely on protocols and have poor performance, while machine learning-based methods cannot quickly identify video traffic in sampling environments with limited resources. .

Method used

Using a protocol-independent feature space construction method, by extracting stable feature vectors from a small number of data packets in the video stream, and using supervised machine learning methods to train the classification model, video traffic can be accurately identified in the early stages of streaming. Specific steps include collecting video traffic, preprocessing and labeling the traffic, building a feature space, training a classification model, and applying the model for identification in high-speed networks.

Benefits of technology

It achieves early identification of multi-platform video traffic in high-speed networks, can quickly identify video traffic in the early stages of streaming transmission, and identifies more than 98% of video traffic in 10Gbps networks, reducing resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115174961B
    Figure CN115174961B
Patent Text Reader

Abstract

The present invention discloses a multi-platform video traffic early identification method for high-speed networks. First, the original traffic is collected from multiple platforms, and then the video stream and non-video stream are marked according to the handshake or request information of the stream. Then, a feature space for classifying video and non-video traffic is constructed based on the protocol-independent principle, and feature vectors are extracted from the marked traffic to construct a data set. Finally, a supervised machine learning method is used to construct a classification model for the data set containing video and non-video traffic offline. The classification model, combined with the feature space proposed above, can accurately identify video traffic in a high-speed network in a high-speed network sampling data collection scenario. The feature space proposed by the present invention can extract stable feature vectors from a small number of data packets of the stream, and can identify video traffic in the early stage of stream transmission. The present invention can realize real-time identification of video traffic in massive high-speed traffic within limited memory and reasonable time, and can be used for network traffic analysis and network management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an early identification method for multi-platform video traffic facing a high-speed network, belonging to the technical field of network security. Background Art

[0002] With the development of the Internet, video traffic is increasingly dominating the global network. By 2022, IP video traffic will account for 82% of all IP traffic (including enterprise and consumer), up from 75% in 2017, with a compound annual growth rate of 33%. Timely identification of video traffic in high-speed networks helps manage and allocate network resources, so traffic identification methods have always been the focus of Internet service providers (ISPs).

[0003] However, with the increasing demand for video streaming services among users, a large number of video platforms using different transmission protocols have emerged, which has brought some challenges to the identification of video traffic. In addition, due to the high speed of network bandwidth, ISPs can only obtain sampling data of video traffic at traffic collection nodes with limited resources, which has also put forward new requirements for video traffic identification methods.

[0004] At present, researchers have proposed a series of video traffic identification methods, among which threshold-based and machine learning-based methods are widely used, but these methods still have some limitations.

[0005] (1) Threshold-based recognition method

[0006] The threshold-based method records certain statistical values ​​of the flow and compares them with the set threshold. It determines whether it is a video flow based on whether these statistical values ​​exceed the threshold. Although this type of method can quickly and accurately identify video traffic, the setting of the threshold is highly dependent on the protocol itself and can only identify video traffic of certain specific applications. The diversity of video transmission protocols makes this type of method unable to identify video traffic on all platforms on high-speed networks.

[0007] (2) Recognition method based on machine learning

[0008] The video traffic identification method based on machine learning constructs a traffic classification model by extracting effective features from the content and pattern of the traffic. Its identification performance depends on the construction of the feature space. The existing feature space construction methods are mainly divided into two categories. One is to construct the transmission mode of the video stream (such as timing features) from the entire traffic. However, this method takes a long time to extract features from the complete long stream and cannot identify video traffic in high-speed networks within a reasonable time. The other method extracts features from the key data packets of the stream (such as the data packets in the handshake phase), thereby reducing the time required for feature extraction and improving the speed of identification. The effectiveness of this type of method depends on whether the key data packets can be obtained in the early stage of stream establishment. However, in high-speed networks, due to limited resources, the sampled traffic obtained by the ISP cannot contain all the key data packets, so this type of method performs poorly in the high-speed network sampling environment. In summary, the existing machine learning-based methods cannot be used to identify video traffic in high-speed networks. Summary of the invention

[0009] In order to be able to identify video traffic in high-speed networks within limited memory and a reasonable time, the present invention discloses a multi-platform video traffic early identification method for high-speed networks. Specifically, the method first collects video traffic from different platforms, and then marks the video stream and non-video stream according to the handshake or request information of the unknown stream. Then, based on the protocol-independent principle, a feature space for classifying video and non-video streams is constructed, and feature vectors are extracted from the marked traffic to construct a data set. Finally, a supervised machine learning method is used to train a classification model for the obtained data set offline. The classification model, combined with the feature space proposed above, can accurately identify video traffic in high-speed networks in the scenario of high-speed network sampling data collection. The feature space proposed by the present invention can extract stable feature vectors from a small number of data packets of the stream, so video traffic can be identified in the early stages of stream transmission.

[0010] In order to achieve the purpose of the present invention, the specific technical steps of this scheme are as follows:

[0011] Step (1) collecting video playback traffic on different platforms through data collection equipment;

[0012] Step (2) preprocesses the collected traffic and marks video and non-video streams;

[0013] Step (3) extracts features from the traffic marked in step (2), constructs a feature space based on the rules, and then obtains a sample set with labels;

[0014] Step (4) uses the sample set obtained in step (3) as a training set, and then uses a supervised machine learning method to train a classification model that can distinguish between video streams and non-video streams;

[0015] Step (5) sets the sampling ratio, systematically samples the traffic in the high-speed network by group, then groups the sampled groups into flows and extracts features;

[0016] Step (6) applies the classification model obtained in step (4) to predict the unknown flow and identify the video traffic.

[0017] Furthermore, in step (1), collecting video traffic specifically includes the following sub-steps:

[0018] (1.1) Capture traffic on the lab host and Android device. Use Wireshark to capture traffic directly on the host. Connect the Android device to the hotspot on the host and use Wireshark to capture the traffic of the Android device's video playback process. When capturing video traffic, disable the Internet access permissions of other applications.

[0019] (1.2) Select popular video websites at home and abroad, play videos and capture traffic according to the following strategy: set the maximum capture time of each video to 5 minutes, then end the capture and save it as a pcap file;

[0020] (1.3) Write an automated script to implement step (1.2) and capture video traffic in batches.

[0021] Furthermore, in step (2), the traffic preprocessing and marking specifically include the following sub-steps:

[0022] (2.1) for the video traffic of different platforms obtained in step (1), reassemble the data packets into bidirectional flows according to the five-tuple (source IP, source port, destination IP, destination port and transport layer protocol), and discard the flows with less than N packets;

[0023] (2.2) Determine the transmission protocol used by the bidirectional stream. If it is a non-encrypted video stream, proceed to (2.3); otherwise, proceed to (2.4);

[0024] (2.3) extracting the URL request information containing the transmitted file type from the bidirectional stream, determining whether the stream is a video stream based on the file type keyword and marking it;

[0025] (2.4) extracting the SNI field containing the domain name information from the handshake information in the bidirectional stream, and judging whether the stream is a video stream and marking it according to the keywords contained in the SNI;

[0026] Furthermore, in step (3), constructing a labeled sample set specifically includes the following sub-steps:

[0027] (3.1) Extract the features shown in Table 1 for the labeled stream obtained in step (2);

[0028] Table 1 Statistical values ​​and descriptions

[0029] Statistics Description of the statistic f_pck The number of packets transmitted in the upstream direction b_pck Number of packets transmitted in the downstream direction f_len The number of bytes transmitted in the upstream direction b_len Number of bytes transmitted in the downstream direction f_d_p Number of payload packets transmitted in the upstream direction b_d_p Number of packets with payload transmitted in the downlink direction f_d_l Number of bytes of data with payload transmitted in the upstream direction b_d_l Number of data bytes with payload transmitted in the downstream direction p_len The number of bytes of payload carried by each packet in a bidirectional flow tmGap Effective transmission time of bidirectional flow

[0030] (3.2) Further process the collected information and eliminate the influence of data packet sampling on feature stability through statistical calculation;

[0031] (3.3) When selecting features, try to avoid the influence of the protocol itself on the features. Starting from the three major characteristics of video traffic transmission itself (asymmetry of uplink and downlink traffic transmission, high transmission rate, and unique payload length distribution), construct the feature space shown in Table 2;

[0032] Table 2 Feature space and its description

[0033]

[0034]

[0035] (3.4) Based on the constructed feature space, feature vectors are extracted from the collected traffic to construct a sample set.

[0036] Furthermore, in step (4), training the classification model specifically includes the following steps:

[0037] (4.1) Divide the sample set into training set and test set in a ratio of 3:1;

[0038] (4.2) Use the random forest algorithm to train the training set, reduce the dimension of the feature vector through the test set, and determine the parameters of the algorithm;

[0039] (4.3) Obtain a classification model for video traffic identification.

[0040] Furthermore, in step (5), collecting high-speed network traffic and extracting feature vectors specifically includes the following steps:

[0041] (5.1) Deploy traffic collection equipment in high-speed networks and use tcpdump to continuously capture traffic;

[0042] (5.2) Set the sampling ratio, systematically sample the acquired data, and reassemble the stream into quintuples;

[0043] (5.3) Set the number of packets M required for feature extraction, and extract the feature vector from the first M packets of the sampled stream;

[0044] Furthermore, in step (6), the feature vector of the high-speed network traffic extracted in step (5) is input into the classification model obtained in step (4), from which the video traffic is identified and the result is output.

[0045] Compared with the prior art, the technical solution of the present invention has the following advantages:

[0046] (1) The present invention proposes a new feature space that uses protocol-independent features. Through this feature space, your model can identify multi-platform video traffic using different protocols, which is more practical in high-speed networks.

[0047] (2) The feature space proposed in the present invention can extract stable feature vectors from the first 500 data packets of each stream, so that the video can be quickly identified in the early stage of stream transmission. The test results show that the present invention can be used for real-time identification of video traffic.

[0048] (3) The present invention combines sampling technology with a video stream identification method to reduce resource consumption of traffic processing in high-speed networks. Experiments have shown that when the sampling rate is set to 1 / 32, the present invention can identify more than 98% of video traffic in a 10 Gbps high-speed network. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is the overall architecture diagram of the present invention;

[0050] Figure 2 The probability distribution of packet payload length for video streams and other types of streams;

[0051] Figure 3 The present invention sets the recognition performance of different sampling rates in high-speed network traffic. DETAILED DESCRIPTION

[0052] The technical solution provided by the present invention will be described in detail below in conjunction with specific embodiments. It should be understood that the following specific implementation methods are only used to illustrate the present invention and are not used to limit the scope of the present invention.

[0053] Specific embodiment: The present invention provides a multi-platform video traffic early identification method for high-speed networks, and its overall architecture is as follows Figure 1 As shown, the following steps are included:

[0054] Step (1) collecting video playback traffic on different platforms through data collection equipment;

[0055] Step (2) preprocesses the collected traffic and marks video and non-video streams;

[0056] Step (3) extracts features from the traffic marked in step (2), constructs a feature space based on the rules, and then obtains a sample set with labels;

[0057] Step (4) uses the sample set obtained in step (3) as a training set, and then uses a supervised machine learning method to train and obtain a classification model that can distinguish between video streams and non-video streams;

[0058] Step (5) sets the sampling ratio, systematically samples the traffic in the high-speed network by group, then groups the sampled groups into flows and extracts features;

[0059] Step (6) applies the classification model obtained in step (4) to predict the unknown flow and identify the video traffic.

[0060] In one embodiment of the present invention, in step (1), the specific steps of collecting video traffic from different platforms are as follows:

[0061] (1.1) Capture traffic on the lab host and Android device respectively. Use Wireshark to capture traffic directly on the host; connect the Android device to the hotspot on the host and use Wireshark to capture the traffic of specific processes on the Android device. When capturing video traffic, disable the Internet access permissions of other applications.

[0062] (1.2) Select popular video websites at home and abroad, play videos and capture traffic according to the following strategy: set the maximum capture time of each video to 5 minutes, then end the capture and save it as a pcap file;

[0063] (1.3) Write an automated script to capture video traffic according to the strategy in step (1.2). When capturing video traffic, disable other networked devices.

[0064] (1.4) We selected some video platforms with the largest number of users at home and abroad, collected their video playback traffic, and analyzed the transmission protocols used by different platforms. The specific description of the traffic is shown in Table 1.

[0065] Collection Platform Number of bytes of data collected Transport Protocol Facebook 378MB HTTP+TLS1.3; Youtube 13.85GB HTTP+TLS1.3; GQUIC; Twitter 70MB HTTP+TLS1.3; Bilibili 2.87GB HTTP+TCP; UDT; iQIYI 5.3GB HTTP+TCP; HTTP+TLS1.2; YouTube 1.29GB HTTP+TCP; HTTP+TLS1.2; quick worker 3.07GB HTTP+TLS1.2; HTTP+TLS1.3; Renren Films 1.18GB HTTP+TLS1.2; Sohu Movies 1.01GB HTTP+TCP; HTTP+TLS1.3; GQUIC; Tik Tok 112MB HTTP+TCP; HTTP+TLS1.2; Volcano video 334MB HTTP+TCP; Other platforms 0.99GB HTTP+TCP; HTTP+TLS1.2;

[0066] In one embodiment of the present invention, in step (2), the specific steps of preprocessing and marking traffic are as follows:

[0067] (2.1) For the captured video traffic, reassemble the data packets into bidirectional flows according to the five-tuple (source IP, source port, destination IP, destination port, and transport layer protocol), set N to 100, and discard flows with less than N packets;

[0068] (2.2) Use the dpkt tool to unpack the stream and extract key information about the traffic type based on the transport protocol used by the stream. The specific steps are as follows: If the stream is encrypted using the TLS or QUIC protocol, find the data packet containing the ClientHello information, extract the SNI field containing the server domain name information, and determine whether the stream is a video stream based on the keywords contained in the SNI field; if the stream is transmitted using the unencrypted HTTP protocol, obtain the URL from the data packet containing the GET request, and determine whether the stream is a video stream based on the request data type keyword contained in the URL.

[0069] (2.3) Write a program to implement batch extraction of SNI and URL, and quickly mark video streams and non-video streams based on regular expression matching.

[0070] In one embodiment of the present invention, in step (3), the statistical values ​​shown in Table 2 are collected for the labeled bidirectional flow obtained in step (2), and then the collected information is amplified according to the inverse of the set sampling rate to eliminate the influence of sampling on the stability of the statistical value. Then, according to the characteristics of video traffic transmission, statistical features are constructed specifically from the following three directions:

[0071] Table 2 Statistical values ​​and descriptions

[0072] Statistics Description of the statistic f_pck The number of packets transmitted in the upstream direction b_pck Number of packets transmitted in the downstream direction f_len The number of bytes transmitted in the upstream direction b_len Number of bytes transmitted in the downstream direction f_d_p Number of payload packets transmitted in the upstream direction b_d_p Number of packets with payload transmitted in the downlink direction f_d_l Number of bytes of data with payload transmitted in the upstream direction b_d_l Number of data bytes with payload transmitted in the downstream direction p_len The number of bytes of payload carried by each packet in a bidirectional flow tmGap Effective transmission time of bidirectional flow

[0073] (3.1) Based on the asymmetry of uplink and downlink transmission of video streams, four statistical features are constructed: RAT = {r_b_pck, r_b_len, r_b_dp, r_b_dl}. Among them, r_b_pck is the ratio of the number of data packets sent in the downlink direction to the number of bidirectional streams, r_b_len is the ratio of the number of bytes sent in the downlink direction to the number of bidirectional streams, r_b_dp is the ratio of the number of payload data packets sent in the downlink direction to the number of bidirectional streams, and r_b_dl is the ratio of the number of payload data bytes sent in the downlink direction to the number of bidirectional streams. Formula (1) is used to calculate these four statistical features:

[0074]

[0075] (3.2) Based on the high transmission rate characteristics of the video stream, four statistical features SPD = {b_spd_pck, f_spd_pck, b_spd_len, f_spd_len} are constructed. b_spd_pck and f_spd_pck are the transmission rates of the number of data packets in the downstream and upstream directions, respectively, and b_spd_len and f_spd_len are the byte transmission rates in the downstream and upstream directions, respectively. These four statistical features are calculated using formula (2):

[0076]

[0077] (3.3) Attached Figure 2 The probability distribution of the payload length of the video stream is different from that of other types of streams. Therefore, based on the unique payload length distribution of the video stream, the payload length is divided into intervals. According to the common MTU of 1300 bytes in the network link, the payload of the data packet is divided into 13 intervals of 100 bytes each, plus the left and right boundaries, a total of 15 intervals. Since the bidirectional stream contains two directions, it contains a total of 30 intervals. These features are named PLD and calculated using formula (3):

[0078]

[0079] Interval i is the number of data packets contained in the i-th interval.

[0080] (3.4) The feature space is constructed by combining the three types of features, namely RAT, SPD and PLD. The feature space contains a total of 38 features, and the feature vector is extracted from the labeled traffic obtained in step (2) to construct a data set.

[0081] In one embodiment of the present invention, in step (4), training the classification model specifically comprises the following steps:

[0082] (4.1) The dataset obtained in step (3) is divided into a training set and a test set in a ratio of 3:1, where the training set contains 7899 samples and the test set contains 2633 samples;

[0083] (4.2) This example uses the random forest algorithm to train the training set and test it on the test set. First, the feature reuse is sorted based on the mean impurity reduction (MDI), and the 8 most important features are selected to achieve the dimensionality reduction operation of the feature vector. The final selected features are shown in Table 3; then the optimal parameters of the random forest algorithm are determined based on the grid search ten-fold cross validation; finally, the classification model for identifying video traffic is obtained.

[0084] Table 3 Flow characteristics and meanings

[0085] Feature Name meaning per_b_(0) The ratio of the number of packets with a payload length of 0 bytes in the downlink direction to the total number of packets per_b_(1-100) The ratio of the number of packets with a payload length of 1 to 100 bytes in the downlink direction to the total number of packets per_f_(>1300) The ratio of the number of packets with a payload length greater than 1300 bytes to the total number of packets in the upstream direction r_f_dp Ratio between the number of payload packets transmitted in the upstream direction and in the bidirectional flow r_f_dl Ratio between the number of payload bytes transmitted in the upstream direction and in the bidirectional flow r_f_pck Ratio between the number of packets transmitted in the upstream direction and the number of packets transmitted in the bidirectional flow r_f_len Ratio between the number of bytes transmitted in the upstream direction and in the bidirectional flow b_spd_len Data transmission rate in the downlink direction

[0086] In one embodiment of the present invention, in step (5), the specific steps of collecting high-speed network traffic and extracting feature vectors are as follows:

[0087] (5.1) In this example, traffic was collected at the campus network port on the morning of November 8, 2021. The collection time was 400s, the port bandwidth collected was 10Gbps, and the final traffic size was 117GB, including 171485 flows. The collected traffic included video traffic from different platforms;

[0088] (5.2) In this example, the sampling rate is set to 1 / 32, the collected data is sampled by a grouping system, and then the data packets with the same quintuple are reassembled into the same bidirectional flow;

[0089] (5.3) According to the test results, this example sets the number of packets M required to extract the feature vector of the flow to 500, extracts features from the sampled traffic, and finally obtains a total of 30,766 samples with features;

[0090] In one embodiment of the present invention, in step (6), applying a video traffic identifier to identify high-speed network video traffic includes the following specific steps:

[0091] (6.1) This example selects precision and recall as evaluation indicators. In view of the fact that high-speed traffic does not contain any labels, the following two methods are used to calculate precision and recall respectively:

[0092] Sampling verification method: Apply the classification model to obtain labeled classification results, manually proofread some of the results, and estimate the precision of the classification model;

[0093] Label re-completion method: Mix M pre-labeled video stream samples into the predicted samples, apply the classification model to obtain labeled classification results, and let the number of samples predicted as video streams by the classification model be m among the M samples. The recall of the classification model can be estimated as m / M.

[0094] (6.2) This example applies a classification model to identify video traffic on a high-speed traffic dataset. The dataset contains video traffic from multiple platforms. Figure 3 The precision and recall of the model at different sampling rates are shown in the figure, proving that the present invention can identify more than 98% of multi-platform video traffic in high-speed networks;

[0095] (6.3) This example experimentally analyzes the shortest time required for the present invention to identify video traffic in a high-speed network to prove that the present invention has strong practicality. The time required for the present invention to identify video streams in a high-speed network includes feature extraction time and model prediction time. The time required for stream feature extraction is mainly affected by bandwidth and sampling rate. For high-speed network traffic with 10Gbp bandwidth, at a sampling rate of 1 / 32 and ignoring other processing overhead, the present invention only takes 2.24 milliseconds to extract features from the first 500 data packets of a bidirectional stream. For the 30766 samples used in this example, the present invention can complete feature extraction in as short as 68915 milliseconds and model prediction in as short as 322 milliseconds. In summary, for 400 seconds of data in a real high-speed network of 10Gbps, the present invention can complete the identification of video traffic in as short as 69.237 seconds, which proves that the present invention can be used for real-time identification of video traffic on different platforms in a high-speed network.

[0096] The technical means disclosed in the scheme of the present invention are not limited to the technical means disclosed in the above-mentioned implementation mode, but also include technical schemes composed of any combination of the above-mentioned technical features. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications are also regarded as the protection scope of the present invention.

Claims

1. A multi-platform video traffic early identification method for high-speed networks, characterized in that: The method comprises the following steps: Step (1) collecting video playback traffic on different platforms through data collection equipment; Step (2) preprocesses the collected traffic and marks video and non-video streams; Step (3) extracts features from the traffic marked in step (2), constructs a feature space based on the rules, and then obtains a sample set with labels; Step (4) uses the sample set obtained in step (3) as a training set, and then uses a supervised machine learning method to train a classification model that can distinguish between video streams and non-video streams; Step (5) sets the sampling ratio, systematically samples the traffic in the high-speed network by group, then groups the sampled groups into flows and extracts features; Step (6) applies the classification model obtained in step (4) to predict the unknown flow and identify the video flow; In the step (1), the method for collecting video traffic is as follows: (1.1) Capture traffic on the lab host and Android device respectively. Use Wireshark to capture traffic directly on the host. Connect the Android device to the hotspot on the host and use Wireshark to capture the traffic of the video playback process on the Android device. When capturing video traffic, disable the Internet access permissions of other applications. (1.2) Select video websites on different platforms, play videos and capture traffic according to the following strategy: set the maximum capture time for each video to 5 minutes, then end the capture and save it as a pcap file; (1.3) Write an automated script to implement step (1.2) and capture video traffic in batches. In step (2), the traffic preprocessing and marking specifically include the following steps: (2.1) For the video traffic of different platforms obtained in step (1), group the data packets with the same five-tuple, i.e., source IP, source port, destination IP, destination port and transport layer protocol, into the same bidirectional flow, and discard the flows with less than N packets; (2.2) Determine the transmission protocol used by the bidirectional stream. If it is a non-encrypted video stream, proceed to (2.3); otherwise, proceed to (2.4); (2.3) extracting the URL request information containing the transmitted file type from the bidirectional stream, determining whether the stream is a video stream based on the file type keyword and marking it; (2.4) Extract the SNI field containing the domain name information from the handshake information in the bidirectional stream, and determine whether the stream is a video stream and mark it based on the keywords contained in the SNI. In step (3), the specific steps of constructing a labeled sample set are as follows: (3.1) Record the statistical values ​​shown in Table 1 for the marked bidirectional flows; Table 1 Statistical values ​​and descriptions (3.2) Further process the collected information and eliminate the influence of data packet sampling on feature stability through statistical calculation; (3.3) Based on the three major characteristics of video traffic transmission, namely the asymmetry of uplink and downlink traffic transmission, high transmission rate, and payload length distribution, a feature space is constructed for bidirectional traffic as shown in Table 2; Table 2 Description of feature space and its features (3.4) Based on the constructed feature space, extract feature vectors from the collected traffic to construct a sample set. In step (4), training the classification model specifically includes the following steps: (4.1) Divide the sample set into training set and test set in a ratio of 3:1; (4.2) Use the random forest algorithm to train the training set, reduce the dimension of the feature vector through the test set, and determine the parameters of the algorithm; (4.3) Obtain a classification model for video traffic identification, In the step (5), collecting high-speed network traffic and extracting feature vectors specifically includes the following steps: (5.1) Deploy traffic collection equipment in high-speed networks and use tcpdump to continuously capture traffic; (5.2) Set the sampling ratio, systematically sample the acquired data, and reassemble the stream into quintuples; (5.3) Set the number of packets M required for feature extraction, and extract the feature vector from the first M packets of the sampled stream. In the step (6), the feature vector of the high-speed network traffic extracted in the step (5) is input into the classification model obtained in the step (4), from which the video traffic is identified and the result is output.