Method for quantifying overall compression capacity of multi-channel streaming media compression system

The overall compression capacity of a multi-channel streaming media compression system is calculated using a weighted average method, which solves the problem of uneven quantification of overall compression capacity in existing technologies. This enables a holistic and balanced evaluation of the multi-channel streaming media compression system and provides a more comprehensive assessment of compression capacity.

CN121509650APending Publication Date: 2026-02-10HANGZHOU ARCVIDEO TECHNOLOGY CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411083927.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Existing technologies struggle to quantify the overall compression capability in a holistic, balanced, and representative manner in multi-channel streaming media compression systems, especially when the compression ratios and runtimes of different channels vary. Existing methods may lead to bias or neglect of the representativeness of certain channels.

Method used

The overall compression ratio is calculated using a weighted average method. By setting the weight value of each channel as a percentage of its running time to the total time, the weighted average of the compression ratios of each channel is calculated to obtain the overall compression capacity R of the entire system, which reflects the integrity, balance and representativeness of the compression capacity.

Benefits of technology

It enables quantitative measurement of the compression capability of a multi-channel streaming media compression system over a long time dimension, ensuring that each channel participates according to its weight, solving the limitations of real-time compression capability, and providing a more comprehensive assessment of compression capability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121509650A_ABST
    Figure CN121509650A_ABST
Patent Text Reader

Abstract

The invention discloses a method for quantifying the overall compression capacity of a multi-channel streaming media compression system, which comprises the following steps that the multi-channel streaming media compression system is arranged, n channels in the multi-channel streaming media compression system perform compression tasks at the same time, and each channel is responsible for the compression task of one channel of streaming media; the data volume of the code stream input by a certain channel within a period of time is I; the data volume of the code stream output by a certain channel in a period of time is O; the operation durations of the channels are different, but the input operation duration and the output operation duration of the same channel are the same; the ratio of the total input code rate to the total output code rate of each channel is used as the compression ratio ri of the channel, the weighted average value of the compression ratios of the channels is calculated according to the weighted value of each channel, namely the total compression ratio R of the whole system, the total compression ratio R is the quantization of the total compression capacity of the whole compression system, the larger the value is, the stronger the compression capacity is, and the larger the value is, the larger the compression capacity is. The smaller the value is, the weaker the compression capacity is.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the field of coding and decoding technology, and particularly relates to a method for quantifying the overall compression capability of a multi-path stream media compression system. BACKGROUND

[0002] In a video coding and decoding compression system, the measurement of the overall compression capability is different from that of the real-time compression capability. The real-time compression capability can only reflect the compression capability of the compression system at a certain moment, and lacks integrity, while the overall compression capability needs to measure the performance of the compression capability over a long time. For a compression system capable of multi-path channel parallel compression, the compression ratios and compression running times of different paths are different. If only the compression ratio of a certain path is taken as the quantitative index of the overall compression capability, it is too biased. If the ratio of the total input data volume of all paths to the total output data volume of all paths is taken as the quantitative index of the overall compression capability, the representative of the path with a longer running time is eliminated. SUMMARY

[0003] In view of the above problems, the present application provides a method for quantifying the overall compression capability of a multi-path stream media compression system, which is used for quantitatively measuring the overall compression capability of the multi-path stream media compression system, i.e. quantifying the compression capability, thereby ensuring the integrity and balance of the quantified overall compression capability.

[0004] To solve the above technical problems, the present application adopts the following technical scheme:

[0005] A method for quantifying the overall compression capability of a multi-path stream media compression system, comprising the following steps:

[0006] A multi-path stream media compression system is set, and n channels in the multi-path stream media compression system perform compression tasks simultaneously, each channel being responsible for the compression task of one path of stream media; the data volume of the input stream of a certain channel in a period of time is I; the data volume of the output stream of a certain channel in a period of time is O; the running time of each channel is different, but the input running time and the output running time of the same path are the same; the ratio of the total input code rate of the channel to the total output code rate of the channel is taken as the compression ratio r of the channel i The weighted average value of the compression ratios of the channels according to the weight values of the channels is obtained, i.e. the overall compression ratio R of the whole system, and the overall compression capability of the whole compression system is quantified by the overall compression ratio R. The greater the value is, the stronger the compression capability is, and the smaller the value is, the weaker the compression capability is.

[0007] In a possible implementation, the weight value of the channel is the percentage of the running time of the channel in the total running time of all channels, denoted as t i / T.

[0008] In one possible implementation, the compression ratio r of channel i i for:

[0009]

[0010] Among them I i For the amount of data in the input bitstream of channel i, O i The data volume of the output bitstream of channel i.

[0011] In one possible implementation, the total operating time of all channels is denoted as T:

[0012]

[0013] Where t i Let n be the running time of channel i, and n be the total number of channels.

[0014] In one possible implementation, the overall compression ratio R is expressed as:

[0015]

[0016] The present invention has the following beneficial effects:

[0017] (1) It has a holistic nature and measures compression capability over a long period of time, which solves the limitation of measuring compression capability from a real-time perspective at a certain moment.

[0018] (2) It is representative. The longer the running time of a channel, the higher its weight. The compression capacity of the channel is more representative of the overall compression capacity of the entire system.

[0019] (3) It has balance. Regardless of whether the running time of each channel is long or short, it can participate in the overall compression capacity measurement according to its weight. The compression capacity of each channel will restrict and balance each other. Attached Figure Description

[0020] Figure 1 This is a flowchart illustrating the steps of a method for quantifying the overall compression capability of a multi-channel streaming media compression system according to an embodiment of the present invention. Detailed Implementation

[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] See Figure 1The diagram shows a flowchart of a method for quantifying the overall compression capability of a multi-channel streaming media compression system according to an embodiment of the present invention. The method includes the following steps: setting up a multi-channel streaming media compression system, wherein n channels simultaneously perform compression tasks, each channel responsible for compressing one streaming media stream; the amount of data in the input stream of a certain channel within a certain time period is I; the amount of data in the output stream of a certain channel within a certain time period is O; the runtime of each channel is different, but the input runtime and output runtime of the same channel are the same; the ratio of the total input bitrate to the total output bitrate of the channel is taken as the compression ratio r of that channel. i The overall compression ratio R of the entire system is calculated by taking the weighted average of the compression ratios of each channel based on their respective weight values. This overall compression ratio R quantifies the overall compression capability of the entire compression system; a higher value indicates stronger compression capability, and a lower value indicates weaker compression capability. The overall compression ratio R is affected by the streaming media input source. When the streaming media input sources of all n channels have simple spatial textures and relatively stable temporal textures, the overall compression ratio R can fluctuate around 100. When the streaming media input sources of all n channels have complex spatial textures and variable temporal textures, the compression ratio R of the encoding and decoding compression system will decrease to fluctuate within the range of 2 to 10. The overall compression ratio R is also affected by the channel runtime. If a channel with weak compression capability has the longest runtime among the n channels, the overall compression ratio R will decrease; conversely, if a channel with strong compression capability has the longest runtime among the n channels, the overall compression ratio R will increase.

[0023] In a specific application example, a multi-channel streaming media compression system can be set up on an edge computing box, on which n transcoding programs run simultaneously as n channels; the transcoding program includes a decoder and an encoder, the decoder is responsible for decoding the input streaming media, and the encoder is responsible for encoding and compressing the original streaming media before outputting it.

[0024] In a specific application example, the weight of a channel is the percentage of its runtime relative to the total runtime of all channels, denoted as t. i / T.

[0025] Compression ratio r of channel i i for:

[0026]

[0027] Where I i For the amount of data in the input bitstream of channel i, O i The data volume of the output bitstream of channel i.

[0028] The total operating time of all channels is denoted as T:

[0029]

[0030] Where t i Let n be the running time of channel i, and n be the total number of channels.

[0031] The overall compression ratio R is then expressed as:

[0032]

[0033] In a specific application example, eight channels in the edge computing box are simultaneously performing compression tasks; the streaming media input is the raw RTSP stream from the camera; the streaming media output is the compressed stream output after compression by the edge computing box; the input data size I of each channel is 150,000KB, 240,000KB, 302,000KB, 50,000KB, 960,000KB, 184,000KB, 64,000KB, and 72,000KB, respectively. The output data size O of each channel is 15,000KB, 19,200KB, 26,000KB, 4,800KB, 92,000KB, 12,000KB, 7,000KB, and 16,000KB, respectively; the runtime t of each channel is different, at 600s, 800s, 1000s, 100s, 2000s, 400s, 200s, and 200s, respectively; the ratio of the total input bitrate to the total output bitrate of a channel is used as the compression ratio r of that channel. i ,Right now Substituting the above data into the formula, the overall compression ratio R is obtained as follows:

[0034]

[0035] The overall compression ratio R is a quantification of the overall compression capability of the entire compression system, indicating that the edge computing box can compress the bitstream to 11.02 times.

[0036] By employing the quantification method described above for the overall compression capability of a multi-channel streaming media compression system, its overall compression capability can be quantitatively measured, i.e., its compression capacity can be quantified. This method ensures both the integrity and balance of the quantification of overall compression capability, while also possessing a certain degree of representativeness.

[0037] It should be understood that the exemplary embodiments described herein are illustrative and not restrictive. Although one or more embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art will understand that various changes in form and detail may be made without departing from the spirit and scope of the invention as defined by the appended claims.

Claims

1. A method for quantifying the overall compression capability of a multi-channel streaming media compression system, characterized in that, Includes the following steps: A multi-channel streaming media compression system is set up, wherein n channels perform compression tasks simultaneously, and each channel is responsible for the compression task of one streaming media stream; The amount of data in the input stream of a certain channel is I over a certain period of time; the amount of data in the output stream of a certain channel is O over a certain period of time; the runtime of each channel is different, but the input runtime and output runtime of the same channel are the same. The compression ratio r of a channel is defined as the ratio of its total input bitrate to its total output bitrate. i The compression ratio of each channel is calculated by weighting the channel's weight value to obtain the overall compression ratio R of the entire system. This overall compression ratio R is the quantification of the overall compression capability of the entire compression system. The larger the value, the stronger the compression capability, and the smaller the value, the weaker the compression capability.

2. The method for quantifying the overall compression capability of a multi-channel streaming media compression system as described in claim 1, characterized in that, The weight of a channel is the percentage of its runtime relative to the total runtime of all channels, denoted as t. i / T.

3. The method for quantifying the overall compression capability of a multi-channel streaming media compression system as described in claim 1, characterized in that, Compression ratio r of channel i i for: Where I i For the amount of data in the input bitstream of channel i, O i The data volume of the output bitstream of channel i.

4. The method for quantifying the overall compression capability of a multi-channel streaming media compression system as described in claim 3, characterized in that, The total operating time of all channels is denoted as T: Where t i Let n be the running time of channel i, and n be the total number of channels.

5. The method for quantifying the overall compression capability of a multi-channel streaming media compression system as described in claim 4, characterized in that, The overall compression ratio R is expressed as:

Citation Information

Patent Citations

  • Multiple-position streaming media transmitting method as well as multiple-position streaming media broadcasting method and system

    CN101588488A

  • Methodfor converting video code stream from H. 264 to AVS and device thereof

    CN101621687A

  • Video file processing method and display device

    CN105791979A

  • Evaluation method of video coding algorithm

    CN111565315A

  • Bit-rate modification

    CN1277784A