Live broadcast quality assessment method, device, electronic equipment and medium

By using the target evaluation model trained by network status information and quality labels, the problem of low accuracy of live video quality evaluation in the existing technology is solved, and higher evaluation accuracy is achieved.

CN116170606BActive Publication Date: 2024-09-06CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111405551.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-24
Publication Date
2024-09-06
Estimated Expiration
2041-11-24

AI Technical Summary

Technical Problem

Existing live video quality assessment methods rely on user subjective data, resulting in low assessment accuracy.

Method used

By obtaining the network status information of the live broadcast data packet to be evaluated, and inputting it into the target evaluation model trained based on the sample live video stream network status information and quality labels for evaluation, the accuracy of the evaluation results is improved.

Benefits of technology

It improves the accuracy of live broadcast quality assessment, can more accurately reflect the actual quality status of live broadcast videos, and reduces subjective deviations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116170606B
    Figure CN116170606B
Patent Text Reader

Abstract

The present invention provides a live broadcast quality assessment method, device, electronic device and medium, which relate to the field of communication technology, wherein the method comprises: obtaining network status information of a live broadcast data packet to be assessed; inputting the network status information of the live broadcast data packet to be assessed into a target live broadcast assessment model to perform live broadcast quality assessment, and obtaining a target live broadcast quality assessment result of the live broadcast data packet to be assessed; the target live broadcast assessment model is obtained by training an initial live broadcast assessment model based on the network status information of a sample live broadcast video stream and the value of a quality label of the sample live broadcast video stream. In this way, the accuracy of the obtained target quality assessment result can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a live broadcast quality assessment method, device, electronic equipment and medium. Background Art

[0002] Currently, the traffic generated by videos accounts for a large proportion of the total business traffic. With the rapid development of video surveillance, short video live broadcast platforms, online conferences, etc., the proportion of live video traffic is relatively large. Therefore, as an operator, it is very necessary to evaluate the quality of live broadcasts.

[0003] At present, the commonly used method for evaluating the quality of live broadcasts is to obtain experience data from the user side to analyze the quality of live videos. For example, the comment information and rating information of users who watch live videos are obtained to evaluate the quality of live videos. Due to the subjectivity of users, this can easily lead to low accuracy in the evaluation of live videos. Summary of the invention

[0004] The embodiments of the present invention provide a live broadcast quality assessment method, device, electronic device and medium to solve the problem of low accuracy in existing live broadcast video quality assessment.

[0005] To solve the above technical problems, the present invention is achieved as follows:

[0006] In a first aspect, an embodiment of the present invention provides a live broadcast quality assessment method, the live broadcast quality assessment method comprising:

[0007] Obtain network status information of the live data packet to be evaluated;

[0008] The network status information of the live data packet to be evaluated is input into the target live broadcast evaluation model for live broadcast quality evaluation to obtain the target live broadcast quality evaluation result of the live data packet to be evaluated; wherein, the target live broadcast evaluation model is obtained by training the initial live broadcast evaluation model based on the network status information of the sample live video stream and the value of the quality label of the sample live video stream.

[0009] In a second aspect, an embodiment of the present invention provides a live broadcast quality assessment device, including:

[0010] A first acquisition module is used to acquire network status information of a live broadcast data packet to be evaluated;

[0011] The result acquisition module is used to input the network status information of the live broadcast data packet to be evaluated into the target live broadcast evaluation model to perform live broadcast quality evaluation, and obtain the target live broadcast quality evaluation result of the live broadcast data packet to be evaluated; wherein, the target live broadcast evaluation model is obtained by training the initial live broadcast evaluation model based on the network status information of the sample live video stream and the value of the quality label of the sample live video stream.

[0012] In a third aspect, an embodiment of the present invention provides an electronic device, including a transceiver and a processor.

[0013] The processor is used to obtain network status information of the live broadcast data packet to be evaluated; and

[0014] The network status information of the live data packet to be evaluated is input into the target live broadcast evaluation model for live broadcast quality evaluation to obtain the target live broadcast quality evaluation result of the live data packet to be evaluated; the target live broadcast evaluation model is obtained by training the initial live broadcast evaluation model based on the network status information of the sample live video stream and the value of the quality label of the sample live video stream.

[0015] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the live broadcast quality assessment method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the live broadcast quality assessment method described in the first aspect are implemented.

[0017] In the live broadcast quality assessment method of the present embodiment, the network status information of the live broadcast data packet to be assessed can be used to perform live broadcast quality assessment of the live broadcast data packet to be assessed, and the network status information of the live broadcast data packet to be assessed is input into a target live broadcast assessment model obtained by training with the network status information of a sample live video stream and the value of the quality label of the sample live video stream to perform live broadcast quality assessment, and obtain a target live broadcast quality assessment result of the live broadcast data packet to be assessed. In this way, the accuracy of the obtained target quality assessment result can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0019] Figure 1 is a flow chart of a live broadcast quality assessment method provided by an embodiment of the present invention;

[0020] Figure 2 It is a network transmission principle diagram provided by an embodiment of the present invention;

[0021] Figure 3 is a flow chart of another live broadcast quality assessment method provided by an embodiment of the present invention;

[0022] Figure 4 It is a schematic diagram of traffic segmentation and feature derivation provided by an embodiment of the present invention;

[0023] Figure 5 This is one of the structural schematic diagrams of a live broadcast quality assessment device provided by an embodiment of the present invention;

[0024] Figure 6 This is a second structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] See also Figure 1 , Figure 1 is a flow chart of a live broadcast quality assessment method provided by an embodiment of the present invention.

[0027] Step 101: Obtain network status information of the live data packet to be evaluated.

[0028] The live data packet to be evaluated can be understood as a data packet transmitted during the live video broadcast, and can be a live data packet to be evaluated within a preset interval. During the live video broadcast, data packets are transmitted through the network, and the network status information can be understood as information representing the network status during the live video broadcast.

[0029] Step 102: inputting the network status information of the live broadcast data packet to be evaluated into the target live broadcast evaluation model to perform live broadcast quality evaluation, and obtaining a target live broadcast quality evaluation result of the live broadcast data packet to be evaluated;

[0030] The target live broadcast evaluation model is obtained by training the initial live broadcast evaluation model based on the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream.

[0031] In one example, the initial live broadcast evaluation model may be, but is not limited to, xgBoost (extreme gradient boosting), LightGBM (Light Gradient Boosting Machine), extreme random tree, DNN (Deep Neural Networks), etc.

[0032] In this embodiment, the network status information of the live data packet to be evaluated is input into the target live evaluation model for live quality evaluation, and the target live quality evaluation result of the live data packet to be evaluated is obtained to achieve the evaluation of the live quality. Among them, the target live evaluation model is obtained by training the initial live evaluation model through the network status information of the sample live video stream and the value of the quality label of the sample live video stream, that is, the trained target live evaluation model not only considers the network status information of the sample live video stream, but also considers the value of the quality label of the sample live video stream. The target live evaluation model is used to evaluate the live quality of the live data packet to be evaluated, which can improve the accuracy of the live quality evaluation. As an example, the quality label can include the number of freezes, picture quality or QoE (Quality of Experience), etc., wherein the picture quality can be represented by the picture quality level, for example, the picture quality level can be determined by comparing the picture quality with multiple preset picture quality ranges, and the picture quality is in the target preset picture quality range in the multiple preset picture quality ranges, and the picture quality level is determined to be the level corresponding to the target preset picture quality range. It should be noted that there are multiple video frames in a certain video segment, and each video frame has a corresponding picture quality. The picture quality of these multiple video frames can be averaged to obtain the average picture quality, and the picture quality level can be determined according to the average picture quality, that is, the above picture quality level can be the level of the average picture quality, etc. It can be understood that the quality label can be an experience label. The target live broadcast quality assessment result can be a target number of freezes, target picture quality or target QoE, corresponding to the quality label used in the training process.

[0033] In the live broadcast quality assessment method of the present embodiment, the network status information of the live broadcast data packet to be assessed can be used to perform live broadcast quality assessment of the live broadcast data packet to be assessed, and the network status information of the live broadcast data packet to be assessed is input into a target live broadcast assessment model obtained by training with the network status information of a sample live video stream and the value of the quality label of the sample live video stream to perform live broadcast quality assessment, and obtain a target live broadcast quality assessment result of the live broadcast data packet to be assessed. In this way, the accuracy of the obtained target quality assessment result can be improved.

[0034] In one embodiment, the target live broadcast evaluation model is trained in the following manner:

[0035] Obtain network status information of the sample live video stream and the value of the quality label of the sample live video stream;

[0036] The initial live broadcast evaluation model is trained through the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model.

[0037] The target live broadcast evaluation model is obtained by training the initial live broadcast evaluation model through the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream. That is, the trained target live broadcast evaluation model not only considers the network status information of the sample live broadcast video stream, but also considers the value of the quality label of the sample live broadcast video stream. Using the target live broadcast evaluation model to perform live broadcast quality evaluation on the live broadcast data packet to be evaluated can improve the accuracy of live broadcast quality evaluation.

[0038] In one embodiment, the sample live video stream includes a plurality of sample live data packets;

[0039] The network status information of the sample live video stream is obtained, including:

[0040] Divide the multiple sample live data packets into data packets according to the timestamps of the multiple sample live data packets and the preset interval duration to obtain N segments of data packets, wherein N is an integer greater than 1, and any segment of data packets includes at least two sample live data packets;

[0041] Get the values ​​of K network indicators of each sample live data packet, where K is an integer greater than 1;

[0042] The values ​​of the same network indicators of at least two sample live data packets in each data packet are counted to determine L network features of each data packet, where L is an integer greater than or equal to K;

[0043] The initial live broadcast evaluation model is trained through the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model, including:

[0044] According to the L network features of N data packets and the values ​​of the quality labels of the sample live video streams, the initial live evaluation model is trained to obtain the target live evaluation model.

[0045] Since the live video stream is transmitted in the form of a data packet during the live transmission process, the sample live data stream may include multiple sample live data packets. For example, a push streaming transmission protocol based on the UDP (User Datagram Protocol) protocol is usually used for streaming transmission, that is, the data packet in the embodiment of the present application may be a UDP data packet.

[0046] Each sample live data packet has a corresponding timestamp. Multiple sample live data packets in the sample live video stream are arranged in order of timestamps from earliest to latest. Multiple sample live data packets can be divided into data packets according to the timestamps of the multiple sample live data packets and the preset interval duration to obtain N data packets.

[0047] It should be noted that the sample live video stream is a video stream that has been tested for live broadcast through the network using a test device. In this way, the values ​​of K network indicators of each sample live data packet in multiple sample live data packets can be obtained, and these indicators can be obtained by statistics during the live broadcast test. The network indicator can represent an indicator of the network state. In an example, the K network indicators may include at least two of the uplink delay, downlink delay, round-trip delay (the sum of the uplink delay and the downlink delay), uplink jitter, downlink jitter, round-trip jitter (the sum of the uplink jitter and the downlink jitter), uplink packet loss rate, downlink packet loss rate, round-trip packet loss rate (the sum of the uplink packet loss rate and the downlink packet loss rate), uplink bandwidth, downlink bandwidth, and round-trip bandwidth (the sum of the uplink bandwidth and the downlink bandwidth).

[0048] Each data packet includes at least two sample live data packets, and each sample live data packet has corresponding K network indicator values. The values ​​of the same network indicators of different data packets may be different. The values ​​of the same network indicators of at least two sample live data packets in each data packet can be counted to obtain L network features of each data packet, that is, one network indicator can correspond to at least one network feature, that is, one network indicator can derive at least one network feature, and one network feature of a data packet is obtained by counting one network indicator of at least two sample live data packets in the data packet segment. For example, the data packet segment includes m (at least 2) sample live data packets. For a network indicator of uplink delay, in the data packet segment, each of the m sample live data packets has a corresponding uplink delay, that is, there are m uplink delays. By counting the m uplink delays, at least one network feature is obtained. For example, for the network indicator of the above-mentioned uplink delay, the corresponding at least one network feature may include at least one of the maximum uplink delay among m uplink delays, the average uplink delay of m uplink delays, the uplink delay variance of m uplink delays (a variance), the discrete value of the maximum uplink delay among m uplink delays, the discrete value of the uplink delay average of m uplink delays, the discrete value of the uplink delay variance of m uplink delays, and the cross-feature of uplink delay. It should be noted that the network status information of the sample live video stream includes L network features of N data packets.

[0049] During the training process, L network features of N data packets and the value of the quality label of the sample live video stream can be used to train the initial live evaluation model to obtain the target live evaluation model to achieve model training.

[0050] In this embodiment, traffic segmentation is performed at a preset interval duration to obtain N data packets, and the values ​​of the same network indicators of at least two sample live data packets in each data packet are statistically analyzed to achieve feature derivation, thereby obtaining L network features for each data packet. That is, statistics are performed on the overall network status within the preset interval duration at a preset interval duration, and the initial live broadcast evaluation model is trained in combination with the value of the quality label of the sample live video stream, thereby improving the accuracy of the target live broadcast evaluation model. Subsequently, the target live broadcast evaluation model is used to perform live broadcast quality evaluation on the live data packet to be evaluated, thereby improving the accuracy of the live broadcast quality evaluation.

[0051] In one embodiment, the value of the quality label of the sample live video stream includes the values ​​of the quality labels of M video frame segments;

[0052] According to the L network features of the N data packets and the value of the quality label of the sample live video stream, the initial live evaluation model is trained to obtain the target live evaluation model, including:

[0053] In the case where the N-segment data packets include P target segment data packets, the L network features of each target segment data packet are associated with the value of the quality label of the corresponding video frame segment to obtain P sample data, where P is a positive integer, the P target segment data packets correspond to the P video frame segments in the M video frame segments, and the difference between the timestamp of the first video frame in any video frame segment in the P video frame segments and the timestamp of the first data packet in the corresponding target segment data packet is less than a preset threshold;

[0054] The initial live broadcast evaluation model is trained using P sample data to obtain the target live broadcast evaluation model.

[0055] There may be segment data packets that do not meet the conditions in the N segment data packets, and they need to be filtered out, wherein the above-mentioned P target segment data packets are segment data packets that meet the conditions. For example, for any target segment data packet, the difference between the timestamp of the first video frame at the target video frame end in the M video frame segments and the timestamp of the first data packet in the target segment data packet is less than the preset threshold, and the P target segment data packets correspond to the P video frame segments one by one. Associate the L network features of each target segment data packet with the value of the quality label of the corresponding video frame segment to obtain P sample data, that is, one sample data includes the L network features of a target segment data packet and the value of the quality label of the video frame segment corresponding to the target segment data packet. Among them, the preset threshold is verified and determined based on multiple actual practice results. The timestamp of the sample live data packet can be understood as the sending time of the data packet, and the timestamp of the video frame in the sample live video stream can be understood as the receiving time of the video frame.

[0056] In this embodiment, L network features of P target segment data packets that meet the conditions among N segment data packets are associated with the values ​​of the quality labels of the corresponding video frame segments to obtain P sample data, which can improve the accuracy of the sample data, thereby improving the model training effect and the accuracy of the target live broadcast evaluation model obtained. The target live broadcast evaluation model is subsequently used to evaluate the live broadcast quality of the live broadcast data packet to be evaluated, which can improve the accuracy of the target live broadcast evaluation result.

[0057] In one embodiment, obtaining the value of the quality label of the sample live video stream includes:

[0058] Segment the sample live video stream into video frames according to the preset interval length to obtain M video frame segments, where M is an integer greater than 1;

[0059] The value of the quality label of each video frame segment is determined to obtain the values ​​of the quality labels of M video frame segments.

[0060] In the process of determining the value of the quality label, statistics are based on video frames. First, the sample live video stream needs to be segmented into video frames according to the preset interval length to obtain M video frame segments, and any video frame segment includes at least one video frame. Then the value of the quality label of each video frame segment is determined to obtain the values ​​of the quality labels of the M video frame segments, that is, the value of the quality label of the sample live video stream includes the values ​​of the quality labels of the M video frame segments. It should be noted that for the quality label of the number of freezes, the number of freezes of any video frame segment can be the number of frames in which freezes occur in at least one video frame of the video frame segment. For the picture quality, the picture quality of any video frame segment can be the average picture quality of at least one video frame of the video frame segment. For example, if the picture quality level is used to represent the picture quality, the above picture quality can be understood as the picture quality level, and the picture quality of any video frame segment can be the average picture quality level of at least one video frame of the video frame segment. For QoE, the QoE of any video frame segment can be the average QoE of at least one video frame of the video frame segment. It should be noted that in the process of determining the value of the quality label of the sample live video stream, the number of freezes, picture quality and QoE are all the qualities reflected by the terminal receiving the sample live video stream, that is, the live video frames of the terminal are monitored, the live quality of each video frame is calculated, and the live quality of each video frame within the preset interval is comprehensively counted to obtain the quality label of the corresponding video frame segment.

[0061] In this embodiment, the live video frames can be monitored, the live quality of each video frame is calculated, the live quality of each video frame within a preset interval is comprehensively counted, and the quality label of the corresponding video frame segment is obtained. The value of the quality label of the obtained sample live video stream includes the values ​​of the quality labels of M video frame segments, that is, each video frame segment of the sample live video stream has a corresponding quality label value, and the model is trained in combination with L network features of N data packets to improve the accuracy of the target live broadcast evaluation model.

[0062] In one embodiment, the initial live broadcast evaluation model is trained using P sample data to obtain a target live broadcast evaluation model, including:

[0063] According to P sample data, the correlation coefficient between each network feature and the quality label is calculated to obtain K correlation coefficients;

[0064] Sort the K correlation coefficients;

[0065] Input P sample data into the initial live broadcast evaluation model for quality evaluation, and obtain P first quality evaluation results;

[0066] Calculate the evaluation accuracy of the initial live broadcast evaluation model according to the P first quality evaluation results and the quality labels in the P sample data;

[0067] When the number of network features in the P sample data is greater than 1, the network feature with the smallest correlation coefficient in the P target sample data is deleted to update the P sample data, and the step of inputting the P sample data into the initial live broadcast evaluation model for quality evaluation is returned to obtain P first quality evaluation results; when the number of network features in the P sample data is equal to 1, L evaluation accuracies are obtained;

[0068] The initial live broadcast evaluation model is trained using the P target sample data corresponding to the maximum value among the L evaluation accuracies to obtain the target live broadcast evaluation model.

[0069] There are many ways to calculate the correlation coefficient, which is not limited in the embodiments of the present application. The P sample data include L network features of P target segment data packets and the values ​​of quality labels of P video frame segments. It can be understood that the number of network features in the P sample data obtained after data association is L, which is greater than 1. It should be noted that the above-mentioned input of the P sample data into the initial live broadcast evaluation model for quality evaluation to obtain P first quality evaluation results. It can be understood that the initial live broadcast evaluation model performs quality evaluation on the L network features of the P target segment data packets in the P sample data, and obtains P first quality evaluation results. The P first quality evaluation results correspond one-to-one to the P target segment data packets. Each of the P target segment data packets has a corresponding video frame segment, and the video frame segment has a corresponding quality label. The quality label can be understood as the actual quality result of the video frame segment. The first quality assessment result is the quality result predicted by the model and needs to be compared. If the first quality assessment result of the target segment data packet is consistent with the quality label of the video frame segment corresponding to the target segment data packet, it can be determined that the first quality assessment result of the target segment data packet is accurate. The first quality assessment result of each of the P target segment data packets is compared with the quality label of the corresponding video frame segment, so that the accurate number of the first quality assessment results of the P target segment data packets can be determined. An evaluation accuracy can be calculated based on the correct data and P.

[0070] Then, determine whether the number of network features in the P sample data is greater than 1. At this time, the number of network features is L, which is greater than 1, then delete the network feature with the smallest correlation coefficient in the P sample data to update the P sample data. At this time, the number of network features in the updated P sample data is reduced by one and becomes L-1, and then return to the step of inputting the P sample data into the initial live broadcast evaluation model for quality evaluation to obtain P first quality evaluation results, and re-perform quality evaluation. Since the P sample data have been updated, the latest P sample data are used when re-performing quality evaluation. After the P first quality evaluation results are obtained, the evaluation accuracy of the initial live broadcast evaluation model is recalculated based on the re-obtained P first quality evaluation results and the quality labels in the P sample data, that is, another evaluation accuracy is obtained. Then determine whether the number of network features in the P sample data is greater than 1. At this time, the number of network features is L-1. If it is greater than 1, delete the network feature with the smallest correlation coefficient in the latest P sample data to update the P sample data, and then return to the step of inputting the P sample data into the initial live broadcast evaluation model for quality evaluation to obtain P first quality evaluation results, re-perform quality evaluation, and re-obtain P first quality evaluation results. According to the P first quality evaluation results and the quality labels in the P sample data, recalculate the evaluation accuracy of the initial live broadcast evaluation model to obtain another evaluation accuracy. This cycle is repeated until the network feature with the last correlation coefficient is input into the initial live broadcast evaluation model for quality evaluation to obtain P first quality evaluation results, and the evaluation accuracy of the initial live broadcast evaluation model is calculated according to the P first quality evaluation results and the quality labels in the P sample data. At this time, the number of network features in the P sample data is equal to 1, and the stop condition is met. It is no longer necessary to delete features and it is no longer necessary to return to the step of inputting the P sample data into the initial live broadcast evaluation model for quality evaluation to obtain P first quality evaluation results for re-evaluation, and L evaluation accuracies can be obtained. Then, P sample data corresponding to the maximum value among the L evaluation accuracies are selected as training samples, and the initial live broadcast evaluation model is trained to obtain the target live broadcast evaluation model.

[0071] That is, in this embodiment, P sample data are first input into the initial live broadcast evaluation model for quality evaluation, and P first quality evaluation results are obtained, and an evaluation accuracy is obtained. Then, the network features are deleted in order of correlation coefficients from low to high to update the P sample data. The updated P sample data are input into the initial live broadcast evaluation model for re-quality evaluation, and P first quality evaluation results are obtained again. In this way, L evaluation accuracies can be obtained, and the P sample data corresponding to the maximum evaluation accuracy are selected for model training, that is, the network feature combination corresponding to the maximum evaluation accuracy is selected for model training. In this way, not only the amount of data used for training can be reduced to improve training efficiency, but also the effect of model training can be ensured, and the accuracy of the target live broadcast quality evaluation model can be ensured.

[0072] In one embodiment, according to the timestamps of the multiple sample live data packets and the preset interval duration, the multiple sample live data packets are divided to obtain N data packets, including:

[0073] According to the start time of the i-th division and the preset interval length, determine the end time of the i-th division, i is a positive integer, and i≤N, the initial value of i is 1, the start time of the 1st division is the timestamp of the first data packet in the multiple sample live data packets, and when i is greater than 1, the start time of the i-th division is the timestamp of the first data packet in the multiple sample live data packets after the end time of the i-1th division;

[0074] Determine the sample live data packet with a timestamp in the i-th time range among the multiple sample live data packets as the i-th data packet, where the i-th time range is the time range from the start time of the i-th division to the end time of the i-th division;

[0075] When multiple sample live data packets also include unsegmented data packets, i is incremented by one, and the step of determining the end time of the i-th division based on the start time of the i-th division and the preset interval duration is returned until the segmentation of multiple sample live data packets is completed to obtain N data packets.

[0076] Taking the preset interval length as T as an example, first take the timestamp of the first data packet among multiple sample live data packets as the first division start time t s1 , add it to T, and get the end time of the first division t j1 , that is, t j1= t s1 +T, timestamp multiple sample live data packets at t s1 to j1 The sample live data packet in the time range of is determined as the first segment of data packet. Then the second division is performed, and the second division starts at time t s2is the timestamp of the first data packet after the end time of the first division in the multiple sample live data packets, which can also be understood as the timestamp of the first data packet after the last data packet in the first segment of the multiple sample live data packets. The start time of the second division is t j1 Add T, and the end time of the second division is t j1 , that is, t j2= t s2 +T, timestamp multiple sample live data packets at t s2 to j2 The sample live data packet in the time range is determined as the second data packet. Then the third division is performed, and the start time of the third division is t s3 The timestamp of the first data packet after the end time of the second division in the multiple sample live data packets can also be understood as the timestamp of the first data packet after the last data packet in the second segment of the multiple sample live data packets. The start time of the third division is t j1 Add T, and the end time of the third division is t j1 , that is, t j3= t s3 +T, timestamp multiple sample live data packets at t s3 to j3 The sample live data packet within the time range is determined as the third data packet. And so on, until multiple sample live data packets are divided, N data packets are obtained.

[0077] In this embodiment, traffic segmentation is performed N times with a preset interval length to obtain N segments of data packets. The start time of the first division is the timestamp of the first data packet among the multiple sample live data packets. When i is greater than 1, the start time of the i-th division is the timestamp of the first data packet among the multiple sample live data packets after the end time of the i-1th division. The end time of the i-th division is determined according to the start time of the i-th division and the preset interval length. The sample live data packets with timestamps in the time range from the start time of the i-th division to the end time of the i-th division among the multiple sample live data packets are determined as the i-th segment of data packets. In this way, the accuracy of traffic segmentation can be improved.

[0078] In one embodiment, the live data packet to be evaluated includes a plurality of data packets;

[0079] Obtain network status information of the live data packet to be evaluated, including:

[0080] Obtain the value of K network indicators of each data packet in the multiple data packets, where K is an integer greater than 1;

[0081] The values ​​of the same network indicator of multiple data packets are counted to determine L network features of the multiple data packets, where L is an integer greater than or equal to K.

[0082] It can be understood that the network status information of the live data packet to be evaluated includes L network features of multiple data packets.

[0083] Since L network features of N data packets are used in the process of model training to obtain the target live broadcast evaluation model, in the actual live broadcast quality prediction process, it is necessary to obtain L network features of the live broadcast data packet to be evaluated and input them into the trained target live broadcast evaluation model for live broadcast quality evaluation, so as to improve the accuracy of the target live broadcast quality evaluation results.

[0084] In one embodiment, the L network features include K network feature groups, any network feature group includes at least one network feature, and the target network feature group includes at least one of the following:

[0085] The maximum value of the target network indicator;

[0086] The average value of the target network metric;

[0087] The variance of the target network metric;

[0088] Discrete value of the maximum value of the target network indicator;

[0089] The discrete value of the mean value of the target network indicator;

[0090] The discrete value of the variance of the target network metric;

[0091] Cross-characterization of target network metrics;

[0092] Among them, the cross-feature of the target network indicator is the cross-value of at least two of the maximum value of the target network indicator, the average value of the target network indicator and the variance of the target network indicator; wherein the target network feature group is any feature group among the K network feature groups, and the target network indicator is an indicator among the K network indicators corresponding to the target network feature group.

[0093] It can be understood that each of the K network indicators corresponds to a network feature group, that is, the K network indicators correspond to the K network feature groups one-to-one, and each network feature group includes only one network feature, so L and K are equal.

[0094] It should be noted that at least two intersection values ​​can be understood as the product of at least two values ​​or the result of normalizing and adding at least two values. For example, for the maximum value of the target network indicator and the average value of the target network indicator, the intersection value of the two is the product of the maximum value of the target network indicator and the average value of the target network indicator, or the result of normalizing and adding the maximum value of the target network indicator and the average value of the target network indicator.

[0095] In addition, it should be noted that the discrete value represents the result of encoding a certain value through an encoding method, and the encoding method may be a one-hot encoding method, that is, mapping a certain value to a discrete value.

[0096] In this embodiment, the above-mentioned L network features can be obtained by deriving the features of the network indicators. The L network features can be divided into K network feature groups. Each network feature group can include the maximum value of the target network indicator, the average value of the target network indicator, the variance of the target network indicator, the discrete value of the maximum value of the target network indicator, the discrete value of the average value of the target network indicator, the discrete value of the variance of the target network indicator and at least one of the cross-features, which can characterize the overall state of the network. The initial live broadcast evaluation model is trained using the L network features of N data packets and the value of the quality label of the sample live video stream to improve the accuracy of the trained model. The quality evaluation is performed by inputting the L network features of multiple data packets of the evaluated live broadcast data packets into the trained target live broadcast evaluation model to improve the accuracy of the quality evaluation.

[0097] In one embodiment, after the network status information of the live data packet to be evaluated is input into the target live evaluation model to evaluate the live quality, and the target live quality evaluation result of the live data packet to be evaluated is obtained, the method further includes:

[0098] When the target live broadcast quality assessment result is less than the preset quality threshold, fault location is performed based on information such as the timestamp of the live broadcast data packet to be assessed.

[0099] The process of the above method is described in detail below with a specific embodiment.

[0100] like Figure 2As shown, the present application obtains network indicators from the network side, generates sample data using the traffic segmentation and feature derivation scheme proposed in the present application, and then uses the video quality assessment software tool to monitor the video quality of the terminal users at the granularity of time slices and output the monitoring results (quality labels). Then, the network side sample data and the user side monitoring results are associated according to the key identifiers, and finally, the AI ​​(artificial intelligence) algorithm is used for modeling to mine the complex mapping relationship between network data and live user experience, so that the user experience status can be accurately inferred from the network side indicators, and the causes of poor user experience can be located in near real time, assisting in network fault location. The video live user experience can be inferred in a fine-grained, accurate, and real-time manner through network measurement indicators; network fault location can be performed based on the user experience, because some network anomalies are imperceptible to users and can be ignored to solve the faults that really bring poor experience or impact to users. It should be noted that Figure 2 In the figure, BV-1, BV-2 and BV-3 represent different hard probes, and vProbe represents a soft probe.

[0101] like Figure 3 FIG. 1 is a flowchart of a live broadcast quality evaluation method according to an embodiment of the present invention. The specific process is as follows:

[0102] First, traffic segmentation is performed on the sample live video stream.

[0103] According to the timestamps of the multiple sample live data packets and the preset interval length T, the multiple sample live data packets are divided to obtain N data packets, that is, they are divided every interval length T, so that they can be divided into N time periods, such as Figure 4 As shown, the N time periods are T1, T2, ..., TN. For example, the start time of the first time period T1 is the start time of the first division t s1 The end time of time period T1 is the end time of the first division t j1 , that is, the starting time of the i-th time period Ti is the starting time of the i-th division t si , the end time of the i-th time period Ti is the end time of the i-th division t ji , the N data packets obtained by traffic segmentation correspond to N time periods one by one, that is, a data packet is a data packet with a timestamp in a corresponding time period. Figure 4 As shown, the i-th time period Ti is a column, which includes n sample live data packets, namely P1, P2, ..., P n .

[0104] Then, feature derivation is performed.

[0105] like Figure 4 As shown, P mFor example, m is an integer less than or equal to n. The main network indicators can be delay, jitter, packet loss rate and bandwidth, that is, these indicators can be collected from the network side. On this basis, feature derivation can be performed, that is, each main network indicator can use indicators corresponding to uplink, downlink and loopback, that is, K network indicators can use uplink delay, downlink delay, loopback delay, uplink jitter, downlink jitter, loopback jitter, uplink packet loss rate, downlink packet loss rate, loopback packet loss rate, uplink bandwidth, downlink bandwidth and loopback bandwidth. Based on the K network indicators, feature derivation can be continued to obtain L network features, including K network feature groups. The target network feature group can include the maximum value of the target network indicator, the average value of the target network indicator, the variance of the target network indicator, the discrete value of the maximum value of the target network indicator, the discrete value of the average value of the target network indicator, the discrete value of the variance of the target network indicator and the cross-feature. In this way, through feature derivation, more network features can be generated, which can improve the accuracy of characterizing the overall state of the network.

[0106] Secondly, the values ​​of the quality labels of the M video frame segments of the sample live video stream are obtained.

[0107] The sample live video stream can be segmented into video frames according to preset intervals to obtain M video frame segments, and then the value of the quality label of each video frame segment is determined, thereby obtaining the values ​​of the quality labels of the M video frame segments.

[0108] Furthermore, data association is performed to generate P sample data.

[0109] In the case where N data packets include P target segment data packets, the L network features of each target segment data packet are associated with the value of the quality label of the corresponding video frame segment, thereby obtaining P sample data. Table 1 shows the content of one sample data.

[0110] Table 1

[0111]

[0112]

[0113] Then, feature selection is performed.

[0114] The process of feature selection includes: Step 1, calculation of univariate correlation coefficient: based on the univariate feature selection algorithm, calculate the correlation coefficient between each network feature and the quality label; Step 2, sorting of univariate correlation coefficient: sorting the univariate correlation coefficients in step 1 from high to low; Step 3, calculation of multivariate screening algorithm: use the multivariate screening algorithm combined with the backward search rule to screen the network features; Step 4, each time step 3 is calculated, the evaluation accuracy of the initial live broadcast evaluation model is recorded, so that L evaluation accuracies can be obtained. It should be noted that the multivariate feature selection algorithm is to input a set of features into the model, remove one of the features each time, record the accuracy of the model until the last feature is reached, and then select the feature combination corresponding to the maximum accuracy. Univariate feature selection algorithms include maximum information coefficient (MIC), Pearson correlation coefficient, variance filtering and other algorithms; multivariate feature selection algorithms include backward search, recursive feature elimination algorithm and the like.

[0115] It can be understood that first, based on P sample data, the correlation coefficient between each network feature and the quality label is calculated to obtain L correlation coefficients; the P sample data are input into the initial live broadcast evaluation model for quality evaluation to obtain P first quality evaluation results; based on the P first quality evaluation results and the quality labels in the P sample data, the evaluation accuracy of the initial live broadcast evaluation model is calculated; the network feature with the smallest correlation coefficient in the P target sample data is deleted to update the P sample data, and the step of returning to the step of inputting the P sample data into the initial live broadcast evaluation model for quality evaluation to obtain P first quality evaluation results is performed until L evaluation accuracies are obtained.

[0116] Furthermore, the initial live broadcast evaluation model is trained to obtain the target live broadcast evaluation model.

[0117] Select P sample data corresponding to the maximum accuracy among the L accuracies and input them into the initial live broadcast evaluation model for training.

[0118] In an example, since the P sample data corresponding to the maximum accuracy among the L accuracies may be unbalanced, before training, the balance of the P sample data corresponding to the maximum accuracy among the L accuracies can be determined. If they are balanced, the P sample data corresponding to the maximum accuracy among the L accuracies are directly used to input the initial live broadcast evaluation model for training. If they are unbalanced, the P sample data corresponding to the maximum accuracy among the L accuracies need to be balanced to obtain the balanced sample data, and the balanced sample data are used for training.

[0119] Then, the target live broadcast evaluation model is deployed online.

[0120] The target live broadcast evaluation model obtained after training is put online to evaluate the quality of live broadcast data packets in the actual online live broadcast process and obtain the target live broadcast quality evaluation results. Fault location can also be performed based on the target live broadcast quality evaluation results.

[0121] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a live broadcast quality assessment device provided by an embodiment of the present invention. Figure 5 As shown, the live broadcast quality assessment device 500 includes:

[0122] The first acquisition module 501 is used to acquire network status information of the live broadcast data packet to be evaluated;

[0123] The result acquisition module 502 is used to input the network status information of the live data packet to be evaluated into the target live broadcast evaluation model to perform live broadcast quality evaluation, and obtain the target live broadcast quality evaluation result of the live data packet to be evaluated; the target live broadcast evaluation model is obtained by training the initial live broadcast evaluation model based on the network status information of the sample live video stream and the value of the quality label of the sample live video stream.

[0124] In one embodiment, the target live broadcast evaluation model is trained in the following manner:

[0125] Obtain network status information of the sample live video stream and the value of the quality label of the sample live video stream;

[0126] The initial live broadcast evaluation model is trained through the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model.

[0127] In one embodiment, the sample live video stream includes a plurality of sample live data packets;

[0128] The network status information of the sample live video stream is obtained, including:

[0129] Divide the multiple sample live data packets into data packets according to the timestamps of the multiple sample live data packets and the preset interval duration to obtain N segments of data packets, wherein N is an integer greater than 1, and any segment of data packets includes at least two sample live data packets;

[0130] Get the values ​​of K network indicators of each sample live data packet, where K is an integer greater than 1;

[0131] The values ​​of the same network indicators of at least two sample live data packets in each data packet are counted to determine L network features of each data packet, where L is an integer greater than or equal to K;

[0132] The initial live broadcast evaluation model is trained by using the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream, and the target live broadcast evaluation model is obtained, including:

[0133] According to the L network features of N data packets and the values ​​of the quality labels of the sample live video streams, the initial live evaluation model is trained to obtain the target live evaluation model.

[0134] In one embodiment, the value of the quality label of the sample live video stream includes the values ​​of the quality labels of M video frame segments;

[0135] According to the L network features of the N data packets and the value of the quality label of the sample live video stream, the initial live evaluation model is trained to obtain the target live evaluation model, including:

[0136] In the case where the N-segment data packets include P target segment data packets, the L network features of each target segment data packet are associated with the value of the quality label of the corresponding video frame segment to obtain P sample data, where P is a positive integer, the P target segment data packets correspond to the P video frame segments in the M video frame segments, and the difference between the timestamp of the first video frame in any video frame segment in the P video frame segments and the timestamp of the first data packet in the corresponding target segment data packet is less than a preset threshold;

[0137] The initial live broadcast evaluation model is trained using P sample data to obtain the target live broadcast evaluation model.

[0138] In one embodiment, obtaining the value of the quality label of the sample live video stream includes:

[0139] Segment the sample live video stream into video frames according to the preset interval length to obtain M video frame segments, where M is an integer greater than 1;

[0140] The value of the quality label of each video frame segment is determined to obtain the values ​​of the quality labels of M video frame segments.

[0141] In one embodiment, the initial live broadcast evaluation model is trained using P sample data to obtain a target live broadcast evaluation model, including:

[0142] According to P sample data, the correlation coefficient between each network feature and the quality label is calculated to obtain L correlation coefficients;

[0143] Sort the L correlation coefficients;

[0144] Input P sample data into the initial live broadcast evaluation model for quality evaluation, and obtain P first quality evaluation results;

[0145] Calculate the evaluation accuracy of the initial live broadcast evaluation model according to the P first quality evaluation results and the quality labels in the P sample data;

[0146] When the number of network features in the P sample data is greater than 1, the network feature with the smallest correlation coefficient in the P sample data is deleted to update the P sample data, and the step of inputting the P sample data into the initial live broadcast evaluation model for quality evaluation is returned to obtain P first quality evaluation results; when the number of network features in the P sample data is equal to 1, L evaluation accuracies are obtained;

[0147] The initial live broadcast evaluation model is trained using the P sample data corresponding to the maximum value among the L evaluation accuracies to obtain the target live broadcast evaluation model.

[0148] In one embodiment, according to the timestamps of the multiple sample live data packets and the preset interval duration, the multiple sample live data packets are divided to obtain N data packets, including:

[0149] According to the start time of the i-th division and the preset interval length, determine the end time of the i-th division, i is a positive integer, and i≤N, the initial value of i is 1, the start time of the 1st division is the timestamp of the first data packet in the multiple sample live data packets, and when i is greater than 1, the start time of the i-th division is the timestamp of the first data packet in the multiple sample live data packets after the end time of the i-1th division;

[0150] Determine the sample live data packet with a timestamp in the i-th time range among the multiple sample live data packets as the i-th data packet, where the i-th time range is the time range from the start time of the i-th division to the end time of the i-th division;

[0151] When multiple sample live data packets also include unsegmented data packets, i is incremented by one, and the step of determining the end time of the i-th division based on the start time of the i-th division and the preset interval duration is returned until the segmentation of multiple sample live data packets is completed to obtain N data packets.

[0152] In one embodiment, the live data packet to be evaluated includes a plurality of data packets;

[0153] The first acquisition module includes:

[0154] An acquisition submodule, used to obtain the value of K network indicators of each data packet in a plurality of data packets, where K is an integer greater than 1;

[0155] The determination module is used to count the values ​​of the same network indicator of multiple data packets and determine L network features of the multiple data packets, where L is an integer greater than or equal to K.

[0156] In one embodiment, the L network features include K network feature groups, and the target network feature group includes at least one of the following:

[0157] The maximum value of the target network indicator;

[0158] The average value of the target network metric;

[0159] The variance of the target network metric;

[0160] Discrete value of the maximum value of the target network indicator;

[0161] The discrete value of the mean value of the target network indicator;

[0162] The discrete value of the variance of the target network metric;

[0163] Cross-characterization of target network metrics;

[0164] Among them, the cross-feature of the target network indicator is the cross-value of at least two of the maximum value of the target network indicator, the average value of the target network indicator and the variance of the target network indicator; wherein the target network feature group is any feature group among the K network feature groups, and the target network indicator is an indicator among the K network indicators corresponding to the target network feature group.

[0165] An embodiment of the present invention further provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, each process of the above-mentioned live broadcast quality assessment method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0166] For details, see Figure 6 An embodiment of the present invention further provides an electronic device, including a bus 601, a transceiver 602, an antenna 603, a bus interface 604, a processor 605 and a memory 606.

[0167] The processor 605 is used for:

[0168] Obtain network status information of the live data packet to be evaluated;

[0169] The network status information of the live data packet to be evaluated is input into the target live broadcast evaluation model for live broadcast quality evaluation to obtain the target live broadcast quality evaluation result of the live data packet to be evaluated; the target live broadcast evaluation model is obtained by training the initial live broadcast evaluation model based on the network status information of the sample live video stream and the value of the quality label of the sample live video stream.

[0170] In one embodiment, the target live broadcast evaluation model is trained in the following manner:

[0171] Obtain network status information of the sample live video stream and the value of the quality label of the sample live video stream;

[0172] The initial live broadcast evaluation model is trained through the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model.

[0173] In one embodiment, the sample live video stream includes a plurality of sample live data packets;

[0174] The network status information of the sample live video stream is obtained, including:

[0175] Divide the multiple sample live data packets into data packets according to the timestamps of the multiple sample live data packets and the preset interval duration to obtain N segments of data packets, wherein N is an integer greater than 1, and any segment of data packets includes at least two sample live data packets;

[0176] Get the values ​​of K network indicators of each sample live data packet, where K is an integer greater than 1;

[0177] The values ​​of the same network indicators of at least two sample live data packets in each data packet are counted to determine L network features of each data packet, where L is an integer greater than or equal to K;

[0178] The initial live broadcast evaluation model is trained by using the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream, and the target live broadcast evaluation model is obtained, including:

[0179] According to the L network features of N data packets and the values ​​of the quality labels of the sample live video streams, the initial live evaluation model is trained to obtain the target live evaluation model.

[0180] In one embodiment, the value of the quality label of the sample live video stream includes the values ​​of the quality labels of M video frame segments;

[0181] According to the L network features of the N data packets and the value of the quality label of the sample live video stream, the initial live evaluation model is trained to obtain the target live evaluation model, including:

[0182] In the case where the N-segment data packets include P target segment data packets, the L network features of each target segment data packet are associated with the value of the quality label of the corresponding video frame segment to obtain P sample data, where P is a positive integer, the P target segment data packets correspond to the P video frame segments in the M video frame segments, and the difference between the timestamp of the first video frame in any video frame segment in the P video frame segments and the timestamp of the first data packet in the corresponding target segment data packet is less than a preset threshold;

[0183] The initial live broadcast evaluation model is trained using P sample data to obtain the target live broadcast evaluation model.

[0184] In one embodiment, obtaining the value of the quality label of the sample live video stream includes:

[0185] Segment the sample live video stream into video frames according to the preset interval length to obtain M video frame segments, where M is an integer greater than 1;

[0186] The value of the quality label of each video frame segment is determined to obtain the values ​​of the quality labels of M video frame segments.

[0187] In one embodiment, the initial live broadcast evaluation model is trained using P sample data to obtain a target live broadcast evaluation model, including:

[0188] According to P sample data, the correlation coefficient between each network feature and the quality label is calculated to obtain L correlation coefficients;

[0189] Sort the L correlation coefficients;

[0190] Input P sample data into the initial live broadcast evaluation model for quality evaluation, and obtain P first quality evaluation results;

[0191] Calculate the evaluation accuracy of the initial live broadcast evaluation model according to the P first quality evaluation results and the quality labels in the P sample data;

[0192] When the number of network features in the P sample data is greater than 1, the network feature with the smallest correlation coefficient in the P sample data is deleted to update the P sample data, and the step of inputting the P sample data into the initial live broadcast evaluation model for quality evaluation is returned to obtain P first quality evaluation results; when the number of network features in the P sample data is equal to 1, L evaluation accuracies are obtained;

[0193] The initial live broadcast evaluation model is trained using the P sample data corresponding to the maximum value among the L evaluation accuracies to obtain the target live broadcast evaluation model.

[0194] In one embodiment, according to the timestamps of the multiple sample live data packets and the preset interval duration, the multiple sample live data packets are divided to obtain N data packets, including:

[0195] According to the start time of the i-th division and the preset interval length, determine the end time of the i-th division, i is a positive integer, and i≤N, the initial value of i is 1, the start time of the 1st division is the timestamp of the first data packet in the multiple sample live data packets, and when i is greater than 1, the start time of the i-th division is the timestamp of the first data packet in the multiple sample live data packets after the end time of the i-1th division;

[0196] Determine the sample live data packet with a timestamp in the i-th time range among the multiple sample live data packets as the i-th data packet, where the i-th time range is the time range from the start time of the i-th division to the end time of the i-th division;

[0197] When multiple sample live data packets also include unsegmented data packets, i is incremented by one, and the step of determining the end time of the i-th division based on the start time of the i-th division and the preset interval duration is returned until the segmentation of multiple sample live data packets is completed to obtain N data packets.

[0198] In one embodiment, the live data packet to be evaluated includes a plurality of data packets;

[0199] The processor 605 is further configured to:

[0200] Obtain the value of K network indicators of each data packet in the multiple data packets, where K is an integer greater than 1;

[0201] The values ​​of the same network indicator of multiple data packets are counted to determine L network features of the multiple data packets, where L is an integer greater than or equal to K.

[0202] In one embodiment, the L network features include K network feature groups, and the target network feature group includes at least one of the following:

[0203] The maximum value of the target network indicator;

[0204] The average value of the target network metric;

[0205] The variance of the target network metric;

[0206] The discrete value of the maximum value of the target network indicator;

[0207] The discrete value of the mean value of the target network indicator;

[0208] The discrete value of the variance of the target network metric;

[0209] Cross-characterization of target network metrics;

[0210] Among them, the cross-feature of the target network indicator is the cross-value of at least two of the maximum value of the target network indicator, the average value of the target network indicator and the variance of the target network indicator; wherein the target network feature group is any feature group among the K network feature groups, and the target network indicator is an indicator among the K network indicators corresponding to the target network feature group.

[0211] exist Figure 6 In the embodiment, a bus architecture (represented by bus 601) is shown, bus 601 may include any number of interconnected buses and bridges, bus 601 links various circuits including one or more processors represented by processor 605 and memory represented by memory 606. Bus 601 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 604 provides an interface between bus 601 and transceiver 602. Transceiver 602 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 605 is transmitted on a wireless medium via antenna 603, and further, antenna 603 also receives data and transmits the data to processor 605.

[0212] The processor 605 is responsible for managing the bus 601 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 606 can be used to store data used by the processor 605 when performing operations.

[0213] Optionally, the processor 605 may be a CPU, an ASIC, an FPGA or a CPLD.

[0214] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned live broadcast quality assessment method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0215] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0216] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a user interface function UPF, etc.) to execute the methods of various embodiments of the present invention.

[0217] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A live broadcast quality assessment method, characterized in that: The method comprises: Obtain network status information of the live data packet to be evaluated; The network status information of the live data packet to be evaluated is input into the target live evaluation model to perform live quality evaluation, so as to obtain the target live quality evaluation result of the live data packet to be evaluated; the target live evaluation model is obtained by training the initial live evaluation model based on the network status information of the sample live video stream and the value of the quality label of the sample live video stream; The target live broadcast evaluation model is trained in the following way: Obtaining network status information of the sample live video stream and a value of a quality label of the sample live video stream; The initial live broadcast evaluation model is trained by using the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model; The sample live video stream includes a plurality of sample live data packets; Wherein, obtaining the network status information of the sample live video stream includes: Divide the multiple sample live data packets into data packets according to the timestamps of the multiple sample live data packets and the preset interval duration to obtain N segments of data packets, wherein N is an integer greater than 1, and any segment of data packets includes at least two sample live data packets; Get the values ​​of K network indicators of each sample live data packet, where K is an integer greater than 1; The values ​​of the same network indicators of at least two sample live data packets in each data packet are counted to determine L network features of each data packet, where L is an integer greater than or equal to K; The training of the initial live broadcast evaluation model through the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model includes: The initial live broadcast evaluation model is trained according to the L network features of the N data packets and the value of the quality label of the sample live video stream to obtain the target live broadcast evaluation model.

2. The live broadcast quality assessment method according to claim 1, characterized in that: The value of the quality label of the sample live video stream includes the values ​​of the quality labels of M video frame segments; The training of the initial live broadcast evaluation model according to the L network features of the N data packets and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model includes: In the case where the N data packets include P target segment data packets, L network features of each target segment data packet are associated with the value of the quality label of the corresponding video frame segment to obtain P sample data, wherein P is a positive integer, the P target segment data packets correspond to P video frame segments in the M video frame segments, and the difference between the timestamp of the first video frame in any video frame segment in the P video frame segments and the timestamp of the first data packet in the corresponding target segment data packet is less than a preset threshold; The initial live broadcast evaluation model is trained using the P sample data to obtain the target live broadcast evaluation model.

3. The live broadcast quality assessment method according to claim 2, characterized in that: Obtaining the value of the quality label of the sample live video stream includes: According to the preset interval duration, the sample live video stream is segmented into video frames to obtain M video frame segments, where M is an integer greater than 1; The value of the quality label of each video frame segment is determined to obtain the values ​​of the quality labels of the M video frame segments.

4. The live broadcast quality assessment method according to claim 2, characterized in that: The initial live broadcast evaluation model is trained by the P sample data to obtain the target live broadcast evaluation model, including: According to the P sample data, calculating the correlation coefficient between each network feature and the quality label to obtain L correlation coefficients; Sorting the L correlation coefficients; Inputting the P sample data into the initial live broadcast evaluation model for quality evaluation to obtain P first quality evaluation results; Calculating the evaluation accuracy of the initial live broadcast evaluation model according to the P first quality evaluation results and the quality labels in the P sample data; When the number of network features in the P sample data is greater than 1, the network feature with the smallest correlation coefficient in the P sample data is deleted to update the P sample data, and the step of inputting the P sample data into the initial live broadcast evaluation model for quality evaluation to obtain P first quality evaluation results is returned; when the number of network features in the P sample data is equal to 1, L evaluation accuracies are obtained; The initial live broadcast evaluation model is trained using the P sample data corresponding to the maximum value among the L evaluation accuracies to obtain the target live broadcast evaluation model.

5. The live broadcast quality assessment method according to claim 1, characterized in that: The method of dividing the multiple sample live broadcast data packets according to the timestamps of the multiple sample live broadcast data packets and the preset interval duration to obtain N data packets includes: According to the start time of the i-th division and the preset interval length, determine the end time of the i-th division, where i is a positive integer and i≤N, the initial value of i is 1, the start time of the 1st division is the timestamp of the first data packet among the multiple sample live data packets, and when i is greater than 1, the start time of the i-th division is the timestamp of the first data packet among the multiple sample live data packets after the end time of the i-1th division; Determine the sample live data packet with a timestamp in the i-th time range among the multiple sample live data packets as the i-th data packet, wherein the i-th time range is the time range from the start time of the i-th division to the end time of the i-th division; In the case that the multiple sample live data packets also include unsegmented data packets, i is incremented by one, and the step of determining the end time of the i-th division based on the start time of the i-th division and the preset interval duration is returned until the segmentation of the multiple sample live data packets is completed to obtain the N-segment data packets.

6. The live broadcast quality assessment method according to claim 1, characterized in that: The live data packet to be evaluated includes multiple data packets; The obtaining of network status information of the live data packet to be evaluated includes: Obtaining values ​​of K network indicators of each of the multiple data packets, where K is an integer greater than 1; The values ​​of the same network indicator of the multiple data packets are counted to determine L network features of the multiple data packets, where L is an integer greater than or equal to K.

7. The live broadcast quality assessment method according to claim 1 or 6, characterized in that: The L network features include K network feature groups, and the target network feature group includes at least one of the following: The maximum value of the target network indicator; The average value of the target network metric; The variance of the target network metric; Discrete value of the maximum value of the target network indicator; The discrete value of the mean value of the target network indicator; The discrete value of the variance of the target network metric; Cross-characterization of target network metrics; Among them, the cross-characteristic of the target network indicator is the cross-value of at least two of the maximum value of the target network indicator, the average value of the target network indicator and the variance of the target network indicator; wherein the target network feature group is any feature group among the K network feature groups, and the target network indicator is an indicator among the K network indicators corresponding to the target network feature group.

8. A live broadcast quality assessment device, characterized in that: The device comprises: A first acquisition module is used to acquire network status information of a live broadcast data packet to be evaluated; The result acquisition module is used to input the network status information of the live data packet to be evaluated into the target live evaluation model to perform live quality evaluation, and obtain the target live quality evaluation result of the live data packet to be evaluated; wherein the target live evaluation model is obtained by training the initial live evaluation model based on the network status information of the sample live video stream and the value of the quality label of the sample live video stream; The target live broadcast evaluation model is trained in the following way: Obtaining network status information of the sample live video stream and a value of a quality label of the sample live video stream; The initial live broadcast evaluation model is trained by using the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model; The sample live video stream includes a plurality of sample live data packets; Wherein, obtaining the network status information of the sample live video stream includes: Divide the multiple sample live data packets into data packets according to the timestamps of the multiple sample live data packets and the preset interval duration to obtain N segments of data packets, wherein N is an integer greater than 1, and any segment of data packets includes at least two sample live data packets; Get the values ​​of K network indicators of each sample live data packet, where K is an integer greater than 1; The values ​​of the same network indicators of at least two sample live data packets in each data packet are counted to determine L network features of each data packet, where L is an integer greater than or equal to K; The training of the initial live broadcast evaluation model through the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model includes: The initial live broadcast evaluation model is trained according to the L network features of the N data packets and the value of the quality label of the sample live video stream to obtain the target live broadcast evaluation model.

9. An electronic device, characterized in that: Including transceiver and processor, The processor is used to obtain network status information of the live broadcast data packet to be evaluated; and Inputting the network status information of the live data packet to be evaluated into the target live evaluation model to perform live quality evaluation, and obtaining the target live quality evaluation result of the live data packet to be evaluated; wherein the target live evaluation model is obtained by training the initial live evaluation model based on the network status information of the sample live video stream and the value of the quality label of the sample live video stream; The target live broadcast evaluation model is trained in the following way: Obtaining network status information of the sample live video stream and a value of a quality label of the sample live video stream; The initial live broadcast evaluation model is trained by using the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model; The sample live video stream includes a plurality of sample live data packets; Wherein, obtaining the network status information of the sample live video stream includes: Divide the multiple sample live data packets into data packets according to the timestamps of the multiple sample live data packets and the preset interval duration to obtain N segments of data packets, wherein N is an integer greater than 1, and any segment of data packets includes at least two sample live data packets; Get the values ​​of K network indicators of each sample live data packet, where K is an integer greater than 1; The values ​​of the same network indicators of at least two sample live data packets in each data packet are counted to determine L network features of each data packet, where L is an integer greater than or equal to K; The training of the initial live broadcast evaluation model through the network status information of the sample live broadcast video stream and the value of the quality label of the sample live broadcast video stream to obtain the target live broadcast evaluation model includes: The initial live broadcast evaluation model is trained according to the L network features of the N data packets and the value of the quality label of the sample live video stream to obtain the target live broadcast evaluation model.

10. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the method according to any one of claims 1 to 7 when executed by the processor.

11. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any one of the methods of claims 1 to 7 when executed by a processor.