Multi-path data packet scheduling method based on real-time video structure drive
By analyzing the video data structure and network path performance in real time and dynamically adjusting data packet allocation, the problem of inaccurate data packet prioritization in the existing technology is solved, and the continuity and image quality of the video stream are improved.
Patent Information
- Application Number
- CN202410828763.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-25
AI Technical Summary
The existing technology does not accurately analyze the real-time video structure, resulting in inaccurate prioritization of data packets and inability to reasonably distribute them among network paths, resulting in video interruptions and loss of important video content.
Through real-time analysis of the video data structure, key frames and non-key frames are identified, dynamically adjust the distribution of data packets on multiple network paths based on video encoding information and network path performance evaluation values, and real-time adjustment of priority determination parameters and network path levels. , ensuring that data packets are transmitted on paths with good performance.
It improves the accuracy and efficiency of packet prioritization, ensures the continuity and overall image quality of video streams, optimizes network resource utilization, and reduces video freezes and loss of important content.
Smart Images

Figure CN118400317B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of data packet scheduling, and in particular to a multi-path data packet scheduling method based on real-time video structure driving. Background Art
[0002] In recent years, the rapid development of wireless communication technology has promoted the vigorous development of video streaming services, and remote online conferencing applications have led to a spurt in video traffic data. At the same time, users' requirements for the quality of video viewing experience are also increasing. However, the transmission of video data requires a large bandwidth, and higher-definition videos also place higher requirements on network bandwidth. In addition, network instability can cause delays or even packet loss in video data packets, resulting in video freezes, which significantly affects the continuity of the video and the overall image quality, and thus affects the quality of the meeting.
[0003] Chinese patent application publication number: CN116405741A discloses a scheduling method, device and medium for video transmission based on multiple transmission paths, including: obtaining data frames in video data, the types of data frames include key frame types and common frame types, and the data frames include multiple data packets; estimating the transmission time of multiple transmission paths based on the transmission interval, packet loss rate and one-way delay, and determining the number of data packets of the transmission data frames of each transmission path in the multiple transmission paths based on the transmission time of the multiple transmission paths; determining the transmission mode based on the network status corresponding to the multiple transmission paths, the type of data frames and the number of transmission times of data packets in the data frames, and the transmission mode is related to the selection of the transmission path; determining the redundancy index based on the network jam rate and the maximum tolerable jam rate within a preset time period, and the redundancy index is related to the redundancy; and sending the data frame based on the number of data packets, the transmission mode and the redundancy index. Thus, the jam rate of the video can be reduced based on a smaller bandwidth, thereby improving the quality of experience of users watching the video. It can be seen that the existing technology has the problem of inaccurate analysis of real-time video structure, resulting in inaccurate priority division of data packets. Due to the inaccurate priority division of data packets, the data packets cannot be reasonably distributed between network paths, resulting in video interruption and loss of important video content. Summary of the invention
[0004] To this end, the present invention provides a multi-path data packet scheduling method driven by real-time video structure, so as to overcome the problem that the real-time video structure analysis in the prior art is not accurate enough, resulting in inaccurate priority division of data packets, and the inaccurate priority division of data packets leads to the inability to reasonably distribute data packets between network paths, resulting in video disconnection and loss of important video content.
[0005] To achieve the above object, the present invention provides a multi-path data packet scheduling method based on real-time video structure drive, comprising:
[0006] By analyzing the structure of video data in real time, identifying the video content of key frames and non-key frames according to video encoding information, and prioritizing data packets during the transmission of the video content of the key frames and non-key frames;
[0007] Determine the level of a single network path according to the performance evaluation value of the single network path, and reasonably distribute the data packets among several network paths according to the priorities of the data packets;
[0008] Monitor the network status of each network path in real time, and dynamically adjust the distribution of the data packets on each network path according to the real-time changes in the network status;
[0009] According to the freeze time of the video and the data packets transmitted by the first-level network path when the freeze occurs, and the number of similarities greater than the preset similarities between the data packets transmitted by the first-level network path within the preset time after the freeze occurs, the adjustment amount of the judgment parameters of the data packet priority and the judgment parameters of the network path level in the data packet scheduling process is determined.
[0010] Furthermore, when the data packets in the video content transmission process are prioritized, it includes:
[0011] Determining the priority of the data packet according to the type of the video frame;
[0012] Determining the priority of the data packet according to a comparison result between the speech rate in the video content and the preset speech rate;
[0013] The key frames include I frames, and the non-key frames include B frames and P frames.
[0014] Furthermore, the types of the video frames include I frames, P frames and B frames, the preset speech rate is determined according to the average speech rate of the conference host, and the preset speech rate includes a first preset speech rate and a second preset speech rate.
[0015] Further, when determining the grade of a single network path, the grade of the single network path is determined according to a comparison result between a performance evaluation value of the single network path and a preset performance evaluation value, and the grade of the single network path includes a first grade, a second grade and a third grade.
[0016] Furthermore, the performance evaluation value of the single network path is determined based on the bandwidth, delay and packet loss rate of the single network path, and the preset performance evaluation value includes a first performance evaluation value and a second performance evaluation value, and the preset performance evaluation value is determined based on the average value of the bandwidth, delay and packet loss rate in the network path.
[0017] Furthermore, the steps of reasonably allocating data packets among multiple network paths according to their priorities include:
[0018] Get the priority of the data packet and the level of the network path;
[0019] Match the priority of the data packet with the level of the network path;
[0020] Real-time monitoring of the network status of each network path when transmitting data packets.
[0021] Furthermore, the step of dynamically adjusting the distribution of data packets on each path includes:
[0022] Obtain changes in bandwidth, latency, and packet loss rate of network paths monitored in real time;
[0023] Determine the change in performance evaluation value of a single network path;
[0024] The dynamic adjustment of the distribution of the data packets on each path is determined according to the comparison result of the change amount of the performance evaluation value and the preset change amount.
[0025] Furthermore, when determining the adjustment amount of the determination parameter of the data packet priority and the determination parameter of the network path level in the data packet scheduling process, it includes:
[0026] Determine the adjustment amount of the judgment parameter of the data packet priority and the judgment parameter of the network path level in the data packet scheduling process according to the comparison result of the video freeze time and the preset freeze time;
[0027] Based on a comparison result of the number of data packets transmitted by the first-level network path when a freeze occurs and the number of data packets transmitted by the first-level network path within a preset time after the freeze occurs, whose similarity is greater than a preset similarity and a preset number, the adjustment amount of the judgment parameters for the data packet priority in the data packet scheduling process and the judgment parameters for the network path level are determined, wherein the judgment parameters for the data packet priority include a preset speech rate, and the judgment parameters for the network path level include a preset performance evaluation value.
[0028] Furthermore, the preset freeze time is determined according to the duration of the video conference, and the preset number is determined according to the number of data packets transmitted by the first-level network path when the freeze occurs.
[0029] Further, the adjustment amount of the determination parameter of the data packet priority is negatively correlated with the duration of the supplementary meeting;
[0030] The adjustment amount of the determination parameter of the network path level is positively correlated with the duration of the supplementary meeting.
[0031] Compared with the prior art, the beneficial effect of the present invention lies in that the present invention determines that the data packet is the first priority according to the type of the video frame in the video encoding information is an I frame. Compared with the B frame and the P frame, the I frame includes more complete image information, so the data packet is set to the first priority. The above method can improve the accuracy and efficiency of data packet priority division.
[0032] Furthermore, the present invention determines the importance of the conference host's next speech based on the comparison result of the conference host's speaking speed in the video content with the preset speaking speed. When the speaking speed is less than the first preset speaking speed, it means that the content of the conference host's speech is important and the speaking speed is deliberately slowed down, so the priority of the data packet is determined to be the first priority. When the speaking speed is greater than or equal to the first preset speaking speed and less than the second preset speaking speed, it means that the content of the conference host's speech is general content and the usual speaking speed is used, so the priority of the data packet is determined to be the second priority. When the speaking speed is greater than or equal to the second preset speaking speed, it means that the content of the conference host's speech is unimportant and the speaking speed is deliberately increased, so the priority of the data packet is determined to be the third priority. The above method improves the accuracy of data packet priority division and thus reasonably schedules data packets for transmission on corresponding network paths to improve the continuity of video streams and overall image quality.
[0033] Furthermore, the present invention calculates a performance evaluation value of a single network path based on the bandwidth, delay and packet loss rate of the single network path, and determines the level of the network path based on a comparison result between the performance evaluation value and a preset performance evaluation value. The above method improves the accuracy of the network path performance analysis and allocates data packets of different priorities to network paths of corresponding levels. When there are large fluctuations in the network environment, important data packets are allocated to network paths with good performance, thereby improving the continuity of the video stream and the overall image quality.
[0034] Furthermore, the present invention determines the reasonable allocation of data packets to corresponding network paths by comparing the occupancy ratio of network paths during data packet transmission with a preset occupancy ratio, thereby improving the resource utilization of network paths to improve the transmission efficiency of data packets. Through the above method, data packets can be quickly transmitted when the network environment is good when network fluctuations are large, thereby improving the continuity of the video stream and the overall image quality.
[0035] Furthermore, the present invention determines the change in the performance evaluation value of a single network path through the changes in the bandwidth, delay and packet loss rate of the network path monitored in real time, and then determines whether the level of the network path has changed. When the change in the performance evaluation value is greater than or equal to the preset change, it means that the performance of the network path has changed significantly. At this time, it is necessary to dynamically adjust the distribution of data packets on each path. Dynamic adjustment is achieved by reasonably distributing data packets to the changed network paths. The above method improves the accuracy of the control of the data packet scheduling process and thus improves the continuity of the video stream and the overall image quality.
[0036] Furthermore, the present invention determines the adjustment of the judgment parameters of the data packet priority and the judgment parameters of the network path level in the data packet scheduling process according to the comparison result of the video freeze time and the preset freeze time. When the freeze time is greater than or equal to the preset freeze time, it means that the video freeze time is long and the freeze times are many, and the video quality is low. At this time, it is necessary to adjust the judgment parameters of the data packet priority and the judgment parameters of the network path level in the data packet scheduling process. When the freeze time is less than the preset freeze time, it is necessary to analyze the video freeze content to determine whether the conference host repeats the words after the video freezes, so as to avoid the failure to obtain important content due to the freeze of the video content during the short freeze time. The above method improves the accuracy of the control of the data packet scheduling process and thus improves the continuity of the video stream and the overall image quality.
[0037] Furthermore, the present invention determines whether to adjust the data packet scheduling process through the duration of a supplementary meeting initiated after the end of the video conference. When the duration of the supplementary meeting is greater than or equal to the preset meeting duration, it means that too much important content has been lost in the data packet scheduling process and needs to be explained again in the supplementary meeting. At this time, it is determined to increase the preset performance evaluation value with a first adjustment coefficient and then increase the judgment parameter of the network path level to achieve a high-level network path to transmit high-priority data packets to obtain continuous and high-quality images. When the supplementary meeting duration is less than the preset meeting duration, it means that in the data packet scheduling process, the large number of first-priority data packets leads to insufficient network path resources, resulting in a long freeze time. At this time, it is determined to reduce the preset speech rate with a second adjustment coefficient and then increase the judgment parameter of the data packet priority to increase the transmission rate of the data packet and the resource utilization of the network path, thereby improving the continuity of the video stream and the overall image quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 The flowchart of the multi-path data packet scheduling method driven by real-time video structure according to an embodiment of the present invention;
[0039] Figure 2 A flowchart of determining data packet priority in a multi-path data packet scheduling method driven by a real-time video structure according to an embodiment of the present invention;
[0040] Figure 3 The present invention is a flowchart of a multi-path data packet scheduling method driven by a real-time video structure to determine the adjustment of the data packet scheduling process. DETAILED DESCRIPTION
[0041] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0042] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0043] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0044] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0045] See also Figure 1-Figure 3 As shown, Figure 1 The flowchart of the multi-path data packet scheduling method driven by real-time video structure according to an embodiment of the present invention; Figure 2 A flowchart of determining data packet priority in a multi-path data packet scheduling method driven by a real-time video structure according to an embodiment of the present invention; Figure 3 The present invention is a flowchart of a multi-path data packet scheduling method driven by a real-time video structure to determine the adjustment of the data packet scheduling process.
[0046] The multi-path data packet scheduling method driven by a real-time video structure according to an embodiment of the present invention includes:
[0047] Step S1, by real-time analysis of the structure of video data, identifying the video content of key frames and non-key frames according to video encoding information, and prioritizing data packets in the process of transmitting the video content of the key frames and non-key frames;
[0048] Step S2, determining the level of the single network path according to the performance evaluation value of the single network path, and reasonably allocating the data packet among several network paths according to the priority of the data packet;
[0049] Step S3, monitoring the network status of each network path in real time, and dynamically adjusting the distribution of the data packets on each network path according to the real-time changes in the network status;
[0050] Step S4, determining the adjustment amount of the judgment parameters of the data packet priority in the data packet scheduling process and the judgment parameters of the network path level according to the freeze time of the video and the number of similarities greater than the preset similarities between the data packets transmitted by the first-level network path when the freeze occurs and the data packets transmitted by the first-level network path within the preset time after the freeze occurs.
[0051] In the embodiment of the present invention, the key frames include I frames, and the non-key frames include B frames and P frames.
[0052] Specifically, in step S1, when the data packets in the video content transmission process are prioritized, it includes:
[0053] According to the type of the video frame being the first type, the priority of the data packet is the first priority;
[0054] Determining that the priority of the data packet is the first priority according to the type of the video frame being the second type and according to a first comparison result of the speech rate A in the video content and the preset speech rate Ai;
[0055] Determining that the priority of the data packet is the second priority according to the type of the video frame being the second type and according to a second comparison result of the speech rate A in the video content and the preset speech rate Ai;
[0056] According to the type of the video frame being the second type and according to the third comparison result between the speech rate A in the video content and the preset speech rate Ai, it is determined that the priority of the data packet is the third priority.
[0057] In a specific embodiment, it is set that:
[0058] The type of the video frame is I frame, which is the first type;
[0059] The type of the video frame is a P frame or a B frame of the second type;
[0060] A<A1 is the first comparison result between the speech rate in the video content and the preset speech rate;
[0061] A1≤A<A2 is a second comparison result between the speech rate in the video content and the preset speech rate;
[0062] A≥A2 is the third comparison result between the speech speed in the video content and the preset speech speed;
[0063] In a specific embodiment, when the type of the video frame is an I frame, determining the priority of the data packet to be the first priority;
[0064] When the type of the video frame is a B frame or a P frame, it is determined to perform a secondary determination on the priority of the data packet.
[0065] The present invention determines that the data packet is the first priority according to the type of the video frame in the video encoding information is an I frame. Compared with the B frame and the P frame, the I frame includes more complete image information, so the data packet is set to the first priority. The above method can improve the accuracy and efficiency of the data packet priority division.
[0066] Specifically, when the priority of the data packet is divided into two levels, the priority of the data packet is determined according to the comparison result between the speech rate A in the video content and the preset speech rate Ai;
[0067] When A<A1, determining that the priority of the data packet is the first priority;
[0068] When A1≤A<A2, determining that the priority of the data packet is the second priority;
[0069] When A≥A2, determining that the priority of the data packet is the third priority;
[0070] Among them, i=1, 2; the value of the first preset speech speed A1 is four-fifths of the historical average speech speed of the conference host when presiding over the meeting, and the value of the second preset speech speed A2 is the historical average speech speed of the conference host when presiding over the meeting. The value range of the first preset speech speed is set to 120 words / minute-200 words / minute, and the value of the first preset speech speed is preferably 160 words / minute, then the value of the second preset speech speed is 200 words / minute, but the above values are not limited to this, and technical personnel in this field can also adjust the value according to actual needs.
[0071] The present invention determines the importance of the conference host's next speech based on the comparison result of the conference host's speaking speed in the video content with the preset speaking speed. When the speaking speed is less than the first preset speaking speed, it means that the content narrated by the conference host is important and the speaking speed is deliberately slowed down, so the priority of the data packet is determined to be the first priority. When the speaking speed is greater than or equal to the first preset speaking speed and less than the second preset speaking speed, it means that the content narrated by the conference host is general content and the usual speaking speed is used, so the priority of the data packet is determined to be the second priority. When the speaking speed is greater than or equal to the second preset speaking speed, it means that the content narrated by the conference host is unimportant and the speaking speed is deliberately increased, so the priority of the data packet is determined to be the third priority. The above method improves the accuracy of data packet priority division and thus reasonably schedules the data packets for transmission on the corresponding network paths to improve the continuity of the video stream and the overall image quality.
[0072] Specifically, in step S2, when determining the level of a single network path, the level of the single network path is determined according to a comparison result between the performance evaluation value G of the single network path and a preset performance evaluation value Gj;
[0073] When G≥G1, determining that the level of the single network path is the first level;
[0074] When G2≤G<G1, determining that the level of the single network path is the second level;
[0075] When G<G2, determining that the level of the single network path is the third level;
[0076] Among them, j=1,2.
[0077] Specifically, the performance evaluation value G of the single network path is calculated by the following formula: ;
[0078] Among them, Q represents the bandwidth of a single network path, Q0 represents the preset bandwidth, α represents the influence coefficient of bandwidth on the performance evaluation value, and its value is set to 0.33, W represents the delay of a single network path, W0 represents the preset delay, β represents the influence coefficient of delay on the performance evaluation value, and its value is set to 0.34, E represents the packet loss rate of a single network path, E0 represents the preset packet loss rate, and θ represents the influence coefficient of packet loss rate on the performance evaluation value, and its value is set to 0.33.
[0079] In the embodiment of the present invention, the value of the preset bandwidth is the average value of the bandwidths of all network paths, the value of the preset delay is the average value of the delays of all network paths, the preset packet loss rate is the average value of the packet loss rates of all network paths, the value of the first preset performance evaluation value G1 is the performance evaluation value calculated when Q=Q0, W=W0, and E=E0, and the value of the second preset performance evaluation value G2 is the performance evaluation value calculated when Q=0.8Q0, W=0.8W0, and E=0.8E0, but the above values are not limited to this, and those skilled in the art may also adjust the values according to actual needs.
[0080] The present invention calculates the performance evaluation value of a single network path according to the bandwidth, delay and packet loss rate of the single network path, and determines the level of the network path according to the comparison result of the performance evaluation value and a preset performance evaluation value. The above method improves the accuracy of the network path performance analysis and allocates data packets of different priorities to network paths of corresponding levels. When there are large fluctuations in the network environment, important data packets are allocated to network paths with good performance, thereby improving the continuity of the video stream and the overall image quality.
[0081] Specifically, in step S2, the step of reasonably allocating data packets among multiple network paths according to their priorities includes:
[0082] Step S21, obtaining the priority of the data packet and the level of the network path;
[0083] Step S22, matching the priority of the data packet with the level of the network path;
[0084] Step S23, real-time monitoring of the network status of each network path when transmitting data packets.
[0085] The network status described in the embodiment of the present invention includes the real-time status of the bandwidth, delay and packet loss rate of the network path. The first priority data packet is transmitted on the first level network path, the second priority data packet is transmitted on the second level network path, and the third priority data packet is transmitted on the third level network path. It can be understood that when the occupancy ratio of the first level network path is lower than the first preset ratio, the second priority data packet can be transmitted on the first level network path, and when the occupancy ratio of the second level network path is lower than the second preset ratio, the third priority data packet can be transmitted on the second level network path. The first preset ratio is 0.9, and the second preset ratio is 0.92. The occupancy ratio is the ratio of the number of occupied network paths to the total number of paths of this level, but the above value is not limited to this. Those skilled in the art can also adjust the value according to actual needs.
[0086] The present invention determines the reasonable allocation of data packets to corresponding network paths by comparing the occupancy ratio of network paths during data packet transmission with a preset occupancy ratio, thereby improving the resource utilization of network paths to improve the transmission efficiency of data packets. Through the above method, data packets can be quickly transmitted when the network environment is unstable and when the network environment is good, thereby improving the continuity of the video stream and the overall image quality.
[0087] Specifically, in step S3, the step of dynamically adjusting the distribution of data packets on each path includes:
[0088] Step S31, obtaining changes in bandwidth, delay and packet loss rate of the network path monitored in real time;
[0089] Step S32, determining a change in a performance evaluation value of a single network path;
[0090] Step S33: determining to dynamically adjust the distribution of data packets on each path according to the comparison result of the change amount of the performance evaluation value and the preset change amount.
[0091] Specifically, in step S33, dynamically adjusting the allocation of data packets on each path is determined based on the comparison result of the change ΔG of the performance evaluation value and the preset change ΔG0;
[0092] When ΔG≥ΔG0, it is determined to dynamically adjust the distribution of data packets on each path;
[0093] When ΔG<ΔG0, it is determined that the allocation of the data packets on each path is not dynamically adjusted;
[0094] The preset change amount ΔG0 is set to one fifth of the preset performance evaluation value, but the above value is not limited thereto, and those skilled in the art may also adjust the value according to actual needs.
[0095] Specifically, when dynamically adjusting the allocation of data packets on each path, the dynamically adjusted data packets are transmitted on the corresponding changed network path level according to the level change of a single network path.
[0096] The present invention determines the change in the performance evaluation value of a single network path through the changes in the bandwidth, delay and packet loss rate of the network path monitored in real time, and then determines whether the level of the network path has changed. When the change in the performance evaluation value is greater than or equal to the preset change, it means that the performance of the network path has changed significantly. At this time, it is necessary to dynamically adjust the distribution of data packets on each path. Dynamic adjustment is achieved by reasonably distributing data packets to the changed network paths. The above method improves the accuracy of the control of the data packet scheduling process and thus improves the continuity of the video stream and the overall image quality.
[0097] Specifically, in step S4, when determining the adjustment amount of the determination parameter of the data packet priority and the determination parameter of the network path level in the data packet scheduling process, according to the comparison result of the video freeze time T and the preset freeze time T0, and the comparison result of the number N of similarities between the data packets transmitted by the first-level network path when the freeze occurs and the data packets transmitted by the first-level network path within the preset time after the freeze occurs, which is greater than the preset similarity, and the preset number N0, the determination amount of the determination parameter of the data packet priority and the determination parameter of the network path level in the data packet scheduling process is determined, including:
[0098] Determine the adjustment of the judgment parameter of the data packet priority and the judgment parameter of the network path level according to the first comparison result of the video freeze time and the preset freeze time;
[0099] Determine the adjustment of the judgment parameter for the priority of the data packet and the judgment parameter for the network path level according to a second comparison result of the freeze time of the video and the preset freeze time, and a first comparison result of the number of data packets transmitted by the first-level network path when the freeze occurs and the data packets transmitted by the first-level network path within the preset time after the freeze occurs, wherein the similarity is greater than the preset similarity and the preset number;
[0100] According to a second comparison result of the freeze time of the video and the preset freeze time, and a second comparison result of the number of similarities between the data packets transmitted by the first-level network path when the freeze occurs and the data packets transmitted by the first-level network path within the preset time after the freeze occurs being greater than the preset similarity and the preset number, determining not to adjust the determination parameters of the data packet priority and the determination parameters of the network path level;
[0101] Among them, the judgment parameters of the data packet priority include a preset speech rate, the judgment parameters of the network path level include a preset performance evaluation value, the value range of the preset time is set to 10 seconds-120 seconds, and the value of the preset time is preferably 60 seconds, but the above values are not limited to this, and technical personnel in this field can also adjust the value according to actual needs.
[0102] In a specific embodiment, it is set that:
[0103] T≥T0 is the first comparison result between the video freeze time and the preset freeze time;
[0104] T<T0 is a second comparison result between the video freeze time and the preset freeze time;
[0105] N≥N0 is a first comparison result of the number of data packets transmitted by the first-level network path when the freeze occurs and the number of data packets transmitted by the first-level network path within a preset time after the freeze occurs, the similarity of which is greater than the preset similarity and the preset number;
[0106] N<N0 is a second comparison result of the number of similarities between the data packets transmitted by the first-level network path when the freeze occurs and the data packets transmitted by the first-level network path within the preset time after the freeze occurs being greater than the preset similarity and the preset number;
[0107] In a specific embodiment, when T≥T0, it is determined that the determination parameters of the data packet priority and the determination parameters of the network path level need to be adjusted;
[0108] When T<T0, determine to make a secondary determination on the determination parameter of the data packet priority and the determination parameter of the network path level;
[0109] The preset freeze time T0 is 1% of the meeting duration, but the above value is not limited thereto, and technicians in this field may also adjust the value according to actual needs.
[0110] Specifically, in step S4, when the determination parameters of the data packet priority and the determination parameters of the network path level are adjusted for a second determination, the determination parameters of the data packet priority and the determination parameters of the network path level are adjusted according to the comparison result that the similarity between the data packet transmitted by the first-level network path when the freeze occurs and the data packet transmitted by the first-level network path within the preset time after the freeze occurs is greater than the number N of preset similarities and the preset number N0;
[0111] When N≥N0, it is determined that the judgment parameters of the data packet priority and the judgment parameters of the network path level need to be adjusted;
[0112] When N<N0, it is determined that there is no need to adjust the judgment parameters of the data packet priority and the judgment parameters of the network path level;
[0113] Among them, the value of the preset number N0 is one tenth of the number of data packets transmitted by the first-level network path when the freeze occurs, but the above value is not limited to this, and technical personnel in this field can also adjust the value according to actual needs.
[0114] In the embodiment of the present invention, the similarity between the data packet transmitted by the first-level network path when the freeze occurs and the data packet transmitted by the first-level network path within a preset time after the freeze occurs can be obtained by the following method: extracting audio waveform data from the data packet of the video conference, which can be achieved by decoding the video data packet and extracting the audio track, preprocessing the extracted audio waveform, such as noise reduction and removal of silent segments, which helps to reduce the impact of noise and non-speech parts on the similarity calculation, and using an audio waveform similarity calculation method to compare the audio waveform similarity in different data packets. Common methods include cross-correlation and MFCC (Mel frequency cepstral coefficients). The value range of the preset similarity is set to 0.8-1, and the value of the preset similarity is preferably 0.9, but the above value is not limited to this. Technical personnel in this field can also adjust the value according to actual needs.
[0115] The present invention determines the adjustment of the judgment parameters of the data packet priority and the judgment parameters of the network path level in the data packet scheduling process according to the comparison result of the video freeze time and the preset freeze time. When the freeze time is greater than or equal to the preset freeze time, it means that the video freeze time is long and the freeze times are many, and the video quality is low. At this time, it is necessary to adjust the judgment parameters of the data packet priority and the judgment parameters of the network path level in the data packet scheduling process. When the freeze time is less than the preset freeze time, it is necessary to analyze the video freeze content to determine whether the conference host repeats the speech after the video freezes, so as to avoid the failure to obtain important content due to the freeze of the video content when the freeze time is short. The above method improves the accuracy of the control of the data packet scheduling process and thus improves the continuity of the video stream and the overall image quality.
[0116] Specifically, in step S4, when it is determined that the determination parameters of the data packet priority and the network path level need to be adjusted, the adjustment method is determined according to the comparison result of the supplementary meeting duration R and the preset supplementary meeting duration R0;
[0117] When R≥R0, determining to adjust the preset performance evaluation value by a first adjustment coefficient K1;
[0118] When R<R0, determine to adjust the preset speech speed by a second adjustment coefficient K2;
[0119] Among them, the value of the preset supplementary meeting duration R0 is the historical average of the supplementary meeting duration. For example, when the first supplementary meeting duration is 10 minutes, the second supplementary meeting duration is 15 minutes, and the third supplementary meeting duration is 20 minutes, the preset supplementary meeting duration is 15 minutes. However, the above value is not limited to this, and technical personnel in this field can also adjust the value according to actual needs.
[0120] Specifically, the first adjustment coefficient K1 is calculated and set by the following formula: ;
[0121] The second adjustment coefficient K2 is calculated and set by the following formula: ;
[0122] The adjusted preset performance evaluation value G0' is set to G0'=K1×G0;
[0123] The adjusted preset speech rate Ai' is set to A1'=K2×A1, A2'=K2×A2.
[0124] The present invention determines whether to adjust the data packet scheduling process through the duration of a supplementary meeting initiated after the end of the video conference. When the duration of the supplementary meeting is greater than or equal to the preset meeting duration, it means that too much important content has been lost in the data packet scheduling process and needs to be explained again in the supplementary meeting. At this time, it is determined to increase the preset performance evaluation value with a first adjustment coefficient and then increase the judgment parameter of the network path level to achieve a high-level network path to transmit high-priority data packets to obtain continuous and high-quality images. When the duration of the supplementary meeting is less than the preset meeting duration, it means that in the data packet scheduling process, the large number of first-priority data packets leads to insufficient network path resources, resulting in a long freeze time. At this time, it is determined to reduce the preset speech rate with a second adjustment coefficient and then increase the judgment parameter of the data packet priority to increase the transmission rate of the data packet and the resource utilization of the network path, thereby improving the continuity of the video stream and the overall image quality.
[0125] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0126] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A multi-path data packet scheduling method based on real-time video structure drive, characterized in that: include: By analyzing the structure of video data in real time, identifying the video content of key frames and non-key frames according to video encoding information, and prioritizing data packets during the transmission of the video content of the key frames and non-key frames; Determine the level of a single network path according to the performance evaluation value of the single network path, and reasonably distribute the data packets among several network paths according to the priorities of the data packets; Monitor the network status of each network path in real time, and dynamically adjust the distribution of the data packets on each network path according to the real-time changes in the network status; According to the video freeze time and the data packets transmitted by the first-level network path when the freeze occurs, and the number of similarities greater than the preset similarity between the data packets transmitted by the first-level network path within the preset time after the freeze occurs, determining the adjustment amount of the determination parameter of the data packet priority and the determination parameter of the network path level in the data packet scheduling process; Wherein, T≥T0 is a first comparison result between the freeze time of the video and the preset freeze time; T<T0 is a second comparison result between the video freeze time and the preset freeze time; N≥N0 is a first comparison result of the number of data packets transmitted by the first-level network path when the freeze occurs and the number of data packets transmitted by the first-level network path within a preset time after the freeze occurs, the similarity of which is greater than the preset similarity and the preset number; N<N0 is a second comparison result of the number of similarities between the data packets transmitted by the first-level network path when the freeze occurs and the data packets transmitted by the first-level network path within the preset time after the freeze occurs being greater than the preset similarity and the preset number; When T≥T0, it is determined that the judgment parameters of the data packet priority and the judgment parameters of the network path level need to be adjusted; When T<T0, determine to make a secondary determination on the determination parameter of the data packet priority and the determination parameter of the network path level; When the adjustment of the determination parameters of the data packet priority and the determination parameters of the network path level is secondary determined, the adjustment of the determination parameters of the data packet priority and the determination parameters of the network path level is determined according to the comparison result of the number N of similarities between the data packets transmitted by the first-level network path when the jam occurs and the data packets transmitted by the first-level network path within the preset time after the jam occurs, which is greater than the preset similarity and the preset number N0; When N≥N0, it is determined that the judgment parameters of the data packet priority and the judgment parameters of the network path level need to be adjusted; When N<N0, it is determined that there is no need to adjust the judgment parameters of the data packet priority and the judgment parameters of the network path level; The preset freeze time T0 is set to one percent of the conference duration, and the preset number N0 is set to one tenth of the number of data packets transmitted by the first-level network path when the freeze occurs.
2. The multi-path data packet scheduling method based on real-time video structure drive according to claim 1 is characterized in that: Prioritizing data packets during the video content transmission process includes: Determining the priority of the data packet according to the type of the video frame; Determining the priority of the data packet according to a comparison result between the speech rate in the video content and the preset speech rate; The key frames include I frames, and the non-key frames include B frames and P frames.
3. The multi-path data packet scheduling method based on real-time video structure drive according to claim 2 is characterized in that: The types of the video frames include I frames, P frames and B frames. The preset speech rate is determined according to the average speech rate of the conference host. The preset speech rate includes a first preset speech rate and a second preset speech rate.
4. The multi-path data packet scheduling method based on real-time video structure drive according to claim 3 is characterized in that: When determining the level of a single network path, the level of the single network path is determined according to a comparison result between a performance evaluation value of the single network path and a preset performance evaluation value, and the level of the single network path includes a first level, a second level and a third level.
5. The multi-path data packet scheduling method based on real-time video structure drive according to claim 4 is characterized in that: The performance evaluation value of the single network path is determined according to the bandwidth, delay and packet loss rate of the single network path. The preset performance evaluation value includes a first performance evaluation value and a second performance evaluation value. The preset performance evaluation value is determined according to the average value of the bandwidth, delay and packet loss rate in the network path.
6. The multi-path data packet scheduling method based on real-time video structure drive according to claim 5 is characterized in that: The steps to properly distribute packets among multiple network paths according to their priority include: Get the priority of the data packet and the level of the network path; Match the priority of the data packet with the level of the network path; Real-time monitoring of the network status of each network path when transmitting data packets.
7. The multi-path data packet scheduling method based on real-time video structure drive according to claim 6 is characterized in that: The step of dynamically adjusting the distribution of data packets on each path comprises: Obtain changes in bandwidth, latency, and packet loss rate of network paths monitored in real time; Determine the change in performance evaluation value of a single network path; The dynamic adjustment of the distribution of the data packets on each path is determined according to the comparison result of the change amount of the performance evaluation value and the preset change amount.
8. The multi-path data packet scheduling method based on real-time video structure drive according to claim 7 is characterized in that: When determining the adjustment amount of the decision parameter of the data packet priority and the decision parameter of the network path level in the data packet scheduling process, it includes: Determine the adjustment amount of the judgment parameter of the data packet priority and the judgment parameter of the network path level in the data packet scheduling process according to the comparison result of the video freeze time and the preset freeze time; Based on a comparison result of the number of data packets transmitted by the first-level network path when a freeze occurs and the number of data packets transmitted by the first-level network path within a preset time after the freeze occurs, whose similarity is greater than a preset similarity and a preset number, the adjustment amount of the judgment parameters for the data packet priority in the data packet scheduling process and the judgment parameters for the network path level are determined, wherein the judgment parameters for the data packet priority include a preset speech rate, and the judgment parameters for the network path level include a preset performance evaluation value.
9. The multi-path data packet scheduling method based on real-time video structure drive according to claim 8 is characterized in that: The preset freeze time is determined according to the duration of the video conference, and the preset number is determined according to the number of data packets transmitted by the first-level network path when the freeze occurs.
10. The multi-path data packet scheduling method based on real-time video structure drive according to claim 8, characterized in that: The adjustment amount of the determination parameter of the data packet priority is negatively correlated with the duration of the supplementary meeting; The adjustment amount of the determination parameter of the network path level is positively correlated with the duration of the supplementary meeting.
Citation Information
Patent Citations
Video transmission scheduling method and device based on multiple transmission paths and medium
CN116405741A
Method, apparatus and system for detecting and processing video frames
CN108495120A
Voice acquisition automatic stop method and device, terminal equipment and storage medium
CN110970054A
Data packet multi-path scheduling device and method
CN116828623A
Video lag detection method and device, terminal and storage medium
CN118250486A
