Disclosure of Invention
The embodiment of the application solves the problem of low transmission quality in the video data transmission process in the prior art by providing the ultra-high definition video transmission method based on multiplexing communication, and realizes the improvement of the transmission quality in the video data transmission process.
The embodiment of the application provides an ultra-high-definition video transmission method based on multiplexing communication, which comprises the following steps of S1, carrying out signal processing on an obtained initial video signal to obtain a first video signal, wherein the signal processing comprises decoding, buffering and segmentation, S2, carrying out multiplexing processing on the first video signal to obtain a second video signal, carrying out compound stream transmission on the second video signal to obtain a transmission related index, wherein the transmission related index comprises a transmission rate index, a transmission efficiency index and a transmission accuracy index, the transmission rate index is used for evaluating the transmission rate change condition in the transmission process of a compound stream, the transmission efficiency index is used for evaluating the transmission efficiency in the transmission process of the compound stream, the transmission accuracy index is used for measuring the accuracy degree in the transmission process of the compound stream, the multiplexing processing is used for combining the first video signal into the compound stream, the compound stream is used for reducing delay in the transmission process of the second video signal, S3, carrying out comprehensive evaluation on the transmission related index according to the transmission related index to obtain a transmission quality index, obtaining the first compound stream according to the transmission quality index, and carrying out high-definition processing on the compound stream after the compound stream is decoded and combined to carry out the high-definition processing.
Further, the specific acquisition process of the first video signal is that an initial video signal is acquired through acquisition equipment in a preset data collection time period, the acquisition equipment is used for ensuring that the acquired video signal meets an ultra-high definition standard, decoding is carried out on the acquired initial video signal to acquire a decoding signal, the decoding is used for converting the initial video signal, and the buffered decoding signal is segmented to acquire the first video signal, wherein the segmentation is used for improving the multiplexing efficiency.
Further, the specific acquisition process of the transmission rate index comprises the steps of measuring first transmission data through first transmission equipment in a preset time period in the composite stream transmission process, wherein the first transmission equipment comprises a frequency spectrum analyzer, a signal-to-noise ratio tester, a network tester and a timer, the first transmission data comprises a first channel width, a first signal-to-noise ratio, a first transmission data volume and a first transmission time, acquiring a first rate measured value according to the first channel width and the first signal-to-noise ratio and acquiring a first effective rate measured value according to the first transmission data volume and the first transmission time, acquiring a preset first rate threshold value, a preset first effective rate threshold value, a preset first rate weight and a preset second rate weight from a database, and acquiring the transmission rate index by combining the first rate measured value and the first effective rate measured value.
Further, the transmission rate index is calculated using the following formula:
In the formula, A transmission rate index representing an i-th preset time period in the composite stream transmission process, i=1, 2,..f, i representing the number of preset time periods, f representing the total number of preset time periods, R i1 representing a first rate measurement value of the i-th preset time period in the composite stream transmission process, R i2 represents a first effective rate measurement for an i-th preset time period in the composite stream transmission process, R 1 represents a preset first rate threshold, R 2 represents a preset first effective rate threshold, μ 1 represents a preset first rate weight, μ 2 represents a preset second rate weight, and e represents a natural constant.
Further, the specific acquisition process of the transmission efficiency index comprises the steps of measuring second transmission data through second transmission equipment in a preset time period in the composite stream transmission process, wherein the second transmission equipment comprises a network tester and a timer, the second transmission data comprises a first message period length, a first round trip time and a first packet loss rate, acquiring a preset message period length threshold value, a preset round trip time threshold value and a preset packet loss rate threshold value from a database, acquiring a preset throughput threshold value according to the acquired data, acquiring a first throughput value according to the measured second transmission data, and acquiring the transmission efficiency index in combination with the preset throughput threshold value.
Further, the transmission efficiency index is calculated using the following formula:
In the formula, A transmission efficiency index indicating an i-th preset time period in the composite stream transmission process, i=1, 2,..f, i indicates the number of the preset time period, f indicates the total number of the preset time periods, T i denotes a first throughput measurement value of an i-th preset time period in the composite stream transmission process, T 0 denotes a preset throughput threshold value of the i-th preset time period in the composite stream transmission process, and e denotes a natural constant.
The specific acquisition process of the transmission accuracy index comprises the steps of measuring third transmission data through third transmission equipment in a preset time period in a composite stream transmission process, wherein the third transmission equipment comprises an error code tester and a high-speed digital oscilloscope, the third transmission data comprises error code element numbers, first total code element numbers, error bit numbers and first total bit numbers, acquiring first error rate measurement values according to the error code element numbers and the first total code element numbers and first error bit rate measurement values according to the error bit numbers and the first total bit numbers, acquiring preset first error rate threshold values, preset second error rate threshold values, preset first error code weights and preset second error code weights from a database, and acquiring the transmission accuracy index by combining the first error rate measurement values and the first error rate measurement values.
Further, the transmission accuracy index is calculated using the following formula:
In the formula, Representing a transmission accuracy index of an i-th preset time period in the composite stream transmission process, i=1, 2,..f, i representing the number of the preset time period, f representing the total number of preset times, M i1 representing a first bit error rate measurement value of the i-th preset time period in the composite stream transmission process, M i2 represents a first bit error rate measurement value of an ith preset time period in the composite stream transmission process, M 1 represents a preset first bit error rate threshold, M 2 represents a preset second bit error rate threshold, δ 1 represents a preset first bit error weight, δ 2 represents a preset second bit error weight, and e represents a natural constant.
Further, the specific acquisition process of the first composite stream comprises the steps of acquiring a preset first quality weight, a preset second quality weight and a preset third quality weight from a database, acquiring a transmission quality index in combination with a transmission related index, comparing the transmission quality index with a preset transmission range, judging whether the transmission quality index is in the preset transmission range, acquiring a first composite stream corresponding to the preset transmission range if the transmission quality index is in the preset transmission range, and otherwise, re-multiplexing the first video signal until the transmission quality index is in the preset transmission range.
Further, the specific process of decoding and integrating the first composite stream includes the steps of separating the first composite stream to obtain a separated sub-stream, separating the sub-streams in the composite stream, performing secondary decoding on the separated sub-stream to obtain a decoded sub-stream, decoding the separated sub-stream by a decoder, recombining the decoded sub-streams to obtain a combined sub-stream, recombining the combined sub-stream to obtain the combined sub-stream by a preset encapsulation format, and performing high-definition processing on the combined sub-stream.
One or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
1. The method comprises the steps of obtaining a first video signal through signal processing of an obtained initial video signal, obtaining a second video signal through multiplexing of the first video signal, obtaining a transmission related index through compound stream transmission of the second video signal, obtaining a transmission quality index through comprehensive evaluation according to the transmission related index, obtaining a first compound stream according to the transmission quality index, and finally decoding and integrating the first compound stream, so that multi-angle evaluation of data transmission quality is achieved, further improvement of transmission quality in a video data transmission process is achieved, and the problem of low transmission quality in the video data transmission process in the prior art is effectively solved.
2. And comparing the transmission quality index with a preset transmission range, judging whether the transmission quality index is in the preset transmission range, if so, acquiring a first composite stream corresponding to the preset transmission range, otherwise, re-multiplexing the first video signal until the transmission quality index is in the preset transmission range, thereby realizing screening of qualified transmission quality indexes and further realizing improvement of accuracy of evaluating the transmission quality.
3. The method comprises the steps of obtaining a split sub-stream by carrying out separation treatment on a first composite stream, then carrying out secondary decoding treatment on the split sub-stream to obtain a decoded sub-stream, then carrying out recombination on the decoded sub-stream to obtain a combined sub-stream, and finally carrying out high definition treatment on the combined sub-stream, thereby realizing the optimization of the data stream generating process and further realizing the improvement of the quality of the generated data stream.
Detailed Description
The embodiment of the application solves the problem of low transmission quality in the video data transmission process in the prior art by providing the ultrahigh-definition video transmission method and the ultrahigh-definition video transmission device based on multiplexing communication, acquires a first video signal by performing signal processing on an acquired initial video signal, acquires a second video signal by performing multiplexing processing on the first video signal, acquires a transmission related index by performing compound stream transmission on the second video signal, acquires a transmission quality index by performing comprehensive evaluation according to the transmission related index, acquires a first compound stream according to the transmission quality index, and finally performs decoding integration processing on the first compound stream, thereby realizing the improvement of the transmission quality in the video data transmission process.
The technical scheme in the embodiment of the application aims to solve the problem of low transmission quality in the video data transmission process, and the overall thought is as follows:
The method comprises the steps of obtaining a first video signal through signal processing of an initial video signal, obtaining a second video signal according to the first video signal, carrying out composite stream transmission to obtain a transmission related index, carrying out comprehensive evaluation according to the transmission related index to obtain a transmission quality index, obtaining a first composite stream according to the transmission related index, and finally carrying out decoding integration processing on the first composite stream, so that the improvement of the transmission quality in the video data transmission process is achieved.
In order to better understand the above technical solutions, the following detailed description will refer to the accompanying drawings and specific embodiments.
The method comprises the steps of S1, carrying out signal processing on an obtained initial video signal to obtain a first video signal, wherein the signal processing comprises decoding, buffering and segmentation, the first video signal represents the initial video signal subjected to the signal processing, S2, carrying out multiplexing on the first video signal to obtain a second video signal, carrying out compound stream transmission on the second video signal to obtain a transmission related index, wherein the transmission related index comprises a transmission rate index, a transmission efficiency index and a transmission accuracy index, the transmission rate index is used for evaluating the transmission rate change condition in the transmission process of the compound stream, the transmission efficiency index is used for evaluating the transmission efficiency in the transmission process of the compound stream, the transmission accuracy index is used for measuring the accuracy degree in the transmission process of the compound stream, the multiplexing is used for combining the first video signal into the compound stream, the second video signal is the first video signal subjected to the multiplexing process, the compound stream is used for reducing delay in the transmission process of the second video signal, S3, carrying out comprehensive evaluation on the transmission related index according to the transmission related index to obtain a transmission quality index, obtaining the first compound stream according to the transmission quality, and carrying out preset decoding range of the compound stream, carrying out the first composite stream decoding and the first composite stream is used for evaluating the composite stream to be combined to obtain the composite quality, and the composite stream is subjected to the composite quality decoding, and the composite stream is subjected to the composite stream combination to the composite quality combination and is subjected to the composite stream 4 to the composite quality combination.
In this embodiment, signal processing is performed on signals sent by multiple transmitters to obtain a first video signal of a small unit, multiplexing is performed on the first video signal, the first video signal of the small unit is combined into a composite stream to obtain a second video signal, then a first composite stream conforming to a preset transmission range is obtained according to the second video signal, a composite stream with unqualified quality is screened out, and finally the first composite stream is decoded, integrated and separated sub-streams are obtained and then synchronously transmitted to multiple receivers, so that improvement of transmission quality in a video data transmission process is realized.
Further, the specific acquisition process of the first video signal includes the steps of acquiring an initial video signal through an acquisition device in a preset data collection time period, wherein the acquisition device is used for ensuring that the acquired video signal meets an ultra-high definition standard, the initial video signal represents the video signal meeting the ultra-high definition standard, decoding the acquired initial video signal to acquire a decoded signal, the decoded signal is used for converting the initial video signal, the decoded signal represents the decoded initial video signal, the conversion comprises code stream analysis, entropy decoding, inverse quantization and inverse transformation, frame reconstruction and post-processing, the buffered decoded signal is segmented to acquire the first video signal, the segmentation is used for improving multiplexing efficiency, and the buffering is used for smoothing the data stream to reduce play jamming.
In this embodiment, an ultra-high definition image acquisition sensor (such as an ultra-high definition camera) is used to acquire an original video signal, so as to ensure that the quality of the acquired video signal meets ultra-high definition standards (such as 4K, 8K, etc.), an analysis code stream segments the received original video signal into manageable units such as frames, slices or macroblocks, entropy decoding is a lossless decoding technique used to recover original symbols from a compressed bit stream to reduce redundancy and save storage space, after entropy decoding, quantized transform coefficients are obtained, an inverse quantization process is to recover the coefficients to a state before quantization, and inverse transform is to convert the frequency domain coefficients back to a time domain (i.e., pixel domain) so as to reconstruct pixel values of a video frame, frame reconstruction is to reconstruct a complete video frame by using the decoded pixel values, motion vectors and possibly other auxiliary information (such as prediction residual), and post-processing is an optional step in the decoding process used to improve visual quality of the reconstructed video frame, and improve transmission quality in the video data transmission process is realized.
Further, the specific acquisition process of the transmission rate index is as follows, the first transmission data is measured through a first transmission device in a preset time period in the composite stream transmission process, the first transmission device comprises a spectrum analyzer, a signal-to-noise ratio tester, a network tester and a timer, the first transmission data comprises a first channel width, a first signal-to-noise ratio, a first transmission data amount and a first transmission time, the first channel width represents the channel width of a second video signal in the preset time period in the composite stream transmission process, the first signal-to-noise ratio represents the signal-to-noise ratio of the second video signal in the preset time period in the composite stream transmission process, the first transmission data amount represents the data amount of the second video signal transmitted in the preset time period in the composite stream transmission process, and the first transmission time represents the time required for the second video signal transmission in the preset time period in the composite stream transmission process; obtaining a first effective rate measurement value based on a first channel width and a first signal-to-noise ratio, and obtaining a first effective rate measurement value based on a first transmission data amount and a first transmission time, the first rate measurement value representing a measurement value of a transmission rate of a second video signal in a preset time period during composite stream transmission, the first effective rate measurement value representing a measurement value of an effective rate of the second video signal in the preset time period during composite stream transmission, obtaining a preset first rate threshold value, a preset first effective rate threshold value, a preset first rate weight, and a preset second rate weight from a database, and obtaining a transmission rate index in combination with the first rate measurement value and the first effective rate measurement value, the preset first rate weight being used to evaluate a degree of influence of the first rate measurement value on the transmission rate index, the preset second rate weight is used to evaluate the extent to which the first effective rate measurement affects the transmission rate index.
In this embodiment, the spectrum analyzer is an electronic instrument for measuring the spectral content of a signal. It is able to show the distribution of the signal in the frequency domain, i.e. the individual frequency components of the signal and their power or amplitude. The signal-to-noise ratio tester is specially used for measuring the ratio between the signal and the noise, namely the signal-to-noise ratio. It helps to evaluate the quality of the signal, determine if the signal can be effectively received and processed in a noisy environment. A network tester is an instrument used to diagnose, test and verify the performance of a computer network. The method can simulate various network flows and conditions to evaluate the key performance indexes such as throughput, delay, packet loss rate and the like of the network. The timer is a device for measuring time, can be accurate to a second time unit, a millisecond time unit or even shorter time unit, is used for presetting a first speed threshold value, and is used for realizing improvement of transmission quality in the video data transmission process by calculating the average value representation of first speed data in a database and presetting a first effective speed threshold value, and is used for calculating the average value representation of the first effective speed data in the database.
In a specific embodiment, a fitting curve is obtained by fitting the relation between the first rate measured value and the corresponding transmission rate index to the first rate measured value and the corresponding transmission rate index in the history period, and the preset first rate weight corresponding to the first rate measured value is obtained by inputting the first rate measured value according to the fitting curve.
In a specific embodiment, a fitting curve is obtained by fitting the relation between the first effective rate measured value and the corresponding transmission rate index to the first effective rate measured value and the corresponding transmission rate index in a history period, and the preset second rate weight corresponding to the first effective rate measured value is obtained by inputting the first effective rate measured value according to the fitting curve.
Further, the transmission rate index is calculated using the following formula:
In the formula, A transmission rate index representing an i-th preset time period in the composite stream transmission process, i=1, 2,..f, i representing the number of preset time periods, f representing the total number of preset time periods, R i1 representing a first rate measurement value of the i-th preset time period in the composite stream transmission process, R i2 represents a first effective rate measurement for an i-th preset time period in the composite stream transmission process, R 1 represents a preset first rate threshold, R 2 represents a preset first effective rate threshold, μ 1 represents a preset first rate weight, μ 2 represents a preset second rate weight, and e represents a natural constant.
In this embodiment, the algorithm of this embodiment combines the first rate measurement value R i1 and the first effective rate measurement value R i2, and comprehensively analyzes to obtain the transmission rate index of the ith preset time period in the composite stream transmission process, and definesΔr 1 is a first deviation, Δr 2 is a second deviation, and in this formula there is a common regulatory relationship between the first rate measurement value R i1 and the first effective rate measurement value R i2, as the first rate measurement value R i1 and the first effective rate measurement value R i2 increase, when R 1 and R 2 are sufficiently small, as Δr 1 and Δr 2 increase gradually, the transmission rate index increases gradually, and at this time the first rate measurement value R i1 and the first effective rate measurement value R i2 are positively correlated with the transmission rate index, but when R 1 and R 2 are sufficiently large, Δr 1 and Δr 2 decrease gradually, and at this time the first rate measurement value R i1 and the first effective rate measurement value R i2 are negatively correlated with the transmission rate index, and thus are analyzed accurately by establishing a mathematical form.
In particular, R i1=Bi*log2(1+Si),Wherein B i represents a first channel width of an i-th preset time period in the composite stream transmission process, S i represents a first signal-to-noise ratio of the i-th preset time period in the composite stream transmission process, L i represents a first transmission data amount of the i-th preset time period in the composite stream transmission process, and T i represents a first transmission time of the i-th preset time period in the composite stream transmission process.
It should be explained that the expression of the first channel width B i is: Wherein B i' represents first channel width data of an i-th preset time period in the composite stream transmission process, B i 0 represents reference first channel width data of an i-th preset time period in the composite stream transmission process, Δb i represents first channel width reference deviation, and the expression of the first signal to noise ratio S i is: Wherein S i' represents first snr data of an ith preset time period in the composite stream transmission process, S i 0 represents reference first snr data of the ith preset time period in the composite stream transmission process, Δs i represents first snr reference deviation, and the expression of the first transmission data amount L i is: Wherein L i' represents first transmission data amount data of an i-th preset time period in the composite stream transmission process, L i 0 represents reference first transmission data amount data of an i-th preset time period in the composite stream transmission process, Δl i represents first transmission data amount reference deviation, and the expression of the first transmission time T i is: Wherein T i' represents first transmission time data of an i-th preset time period in the composite stream transmission process, T i 0 represents reference first transmission time data of the i-th preset time period in the composite stream transmission process, and Δt i represents a first transmission time reference deviation.
It should be understood that the first channel width data of the i-th preset time period in the composite stream transmission process is obtained by measurement, the reference first channel width data is represented by a result of calculating a mean value of the first channel width data of the i-th preset time period in the composite stream transmission process, the first channel width reference deviation is obtained by calculating the first channel width data and the reference first channel width data by a deviation formula, the first signal to noise ratio data of the i-th preset time period in the composite stream transmission process is obtained by measurement, the reference first signal to noise ratio data is represented by a result of calculating a mean value of the first signal to noise ratio data of the i-th preset time period in the composite stream transmission process, the first signal to noise ratio reference deviation is obtained by calculating the first signal to noise ratio data and the reference first signal to noise ratio data by a deviation formula, the first transmission data amount of the i-th preset time period in the composite stream transmission process is obtained by measurement, the reference first transmission data amount of the first preset time period in the composite stream transmission process is represented by a first transmission data amount of the first preset time period in the composite stream transmission process is calculated by a deviation formula, the reference first transmission data of the reference first preset time period in the composite stream transmission process is obtained by a value of calculating a reference first signal to noise ratio data of the first preset time period in the composite stream transmission process, the first transmission data amount of the i-th preset time period in the composite stream transmission process is obtained by a reference time of the first transmission data of the first preset time period in the composite stream transmission process, the reference first signal to the first signal to be calculated by a reference first signal to the first signal to be, the video data transmission quality is improved in the video data transmission process by representing the difference value between the reference value and the real measured value.
Further, the specific acquisition process of the transmission efficiency index comprises the steps of measuring second transmission data through second transmission equipment in a preset time period in the composite stream transmission process, wherein the second transmission equipment comprises a network tester and a timer, the second transmission data comprises a first message period length, a first round trip time and a first packet loss rate, the first message period length represents the maximum message period length of a second video signal in the preset time period in the composite stream transmission process, the first round trip time represents the round trip time required for the second video signal transmission in the preset time period in the composite stream transmission process, the first packet loss rate represents the probability of losing the second video signal in the preset time period in the composite stream transmission process, the preset message period length threshold, the preset round trip time threshold and the preset packet loss rate threshold are acquired from a database, the preset throughput threshold is obtained according to the acquired data, the preset throughput threshold represents the preset throughput of the second video signal in the preset time period in the composite stream transmission process, the first throughput value is acquired according to the measured second transmission data, and the preset throughput threshold is acquired in combination with the transmission efficiency index.
In this embodiment, the preset packet segment length threshold is represented by calculating the average value of the packet segment length data in the database, the preset round trip time threshold is represented by calculating the average value of the round trip time data in the database, the preset packet loss rate threshold is represented by calculating the average value of the packet loss rate data in the database, and T 0 represents the preset throughput threshold of the ith preset time segment in the composite stream transmission process, specifically byThe obtained M 0 represents a preset message segment length threshold, t 0 represents a preset round trip time threshold, and p 0 represents a preset packet loss rate threshold, thereby realizing the improvement of transmission quality in the video data transmission process.
Further, the transmission efficiency index is calculated using the following formula:
In the formula, A transmission efficiency index indicating an i-th preset time period in the composite stream transmission process, i=1, 2,..f, i indicates the number of the preset time period, f indicates the total number of the preset time periods, T i denotes a first throughput measurement value of an i-th preset time period in the composite stream transmission process, T 0 denotes a preset throughput threshold value of the i-th preset time period in the composite stream transmission process, and e denotes a natural constant.
In this embodiment, as the first throughput measurement T i increases, it means that more data can be carried in the same transmission period, so that the packet loss risk caused by network congestion, signal interference and other factors is relatively reduced, and when T 0 is sufficiently small,The overall transmission efficiency index increases gradually, and the first throughput measurement value T i is positively correlated with the transmission efficiency index, but when T 0 is sufficiently large,The overall is gradually reduced, and the transmission efficiency index is gradually reduced, and at this time, the first throughput measurement value T i is inversely related to the transmission efficiency index, so that the accurate analysis is performed by establishing a mathematical form.
In particular, the method comprises the steps of,Wherein M i represents a first packet segment length of an ith preset time segment in the composite stream transmission process, t i represents a first round trip time of the ith preset time segment in the composite stream transmission process, p i represents a first packet loss rate of the ith preset time segment in the composite stream transmission process, M 0 represents a preset packet segment length threshold, t 0 represents a preset round trip time threshold, and p 0 represents a preset packet loss rate threshold.
Specifically, the range of the first packet segment length M i is 1000-5000 (bytes), the range of the first round trip time t i is 10-100 (ms), the range of the first packet loss rate p i is 0-1, the preset packet segment length threshold M 0 is 4000, the preset round trip time threshold t 0 is 100 (ms), the preset packet loss rate threshold p 0 is 1, as shown in table 1, which is a statistical table of the change of the transmission efficiency index provided by the embodiment of the present application:
Table 1 statistical table of variation of transmission efficiency index
As shown in the table, with the gradual increase of the first segment length M i, the first round trip time t i and the first packet loss rate p i gradually decrease, and the transmission efficiency index isThe first message segment length M i is positively correlated with the transmission efficiency index, and the first round trip time t i and the first packet loss rate p i are negatively correlated with the transmission efficiency index, which means that the transmission efficiency in the transmission process of the composite stream is gradually improved, and the improvement of the transmission quality in the transmission process of video data is realized.
Further, the specific acquisition process of the transmission accuracy index is that third transmission data is measured by a third transmission device in a preset time period in the composite stream transmission process, the third transmission device comprises an error code tester and a high-speed digital oscilloscope, the third transmission data comprises an error code element number, a first total code element number, an error bit number and a first total bit number, the error code element number represents the code element number of a second video signal with transmission errors in the preset time period in the composite stream transmission process, the first total code element number represents the code element number of the second video signal with total transmission errors in the preset time period in the composite stream transmission process, the error bit number represents the bit number of the second video signal with transmission errors in the preset time period in the composite stream transmission process, and the first total bit number represents the bit number of the second video signal with total transmission errors in the preset time period in the composite stream transmission process; obtaining a first bit error rate measurement value according to the number of error symbols and the first total number of symbols, obtaining a first bit error rate measurement value according to the number of error bits and the first total number of bits, wherein the first bit error rate measurement value represents a measurement value of the bit error rate of the second video signal in a preset time period in the composite stream transmission process, the first bit error rate measurement value represents a measurement value of the bit error rate of the second video signal in the preset time period in the composite stream transmission process, obtaining a preset first bit error rate threshold value, a preset second bit error rate threshold value, a preset first bit error weight and a preset second bit error weight from a database, obtaining a transmission accuracy index by combining the first bit error rate measurement value and the first bit error rate measurement value, wherein the preset first bit error rate weight is used for evaluating the influence degree of the first bit error rate measurement value on the transmission accuracy index, the second bit error weight is preset for evaluating the influence degree of the first bit error rate measurement value on the transmission accuracy index.
In this embodiment, the preset first error rate is represented by calculating the average value of the first error rate data in the database, the preset second error rate is represented by calculating the average value of the second error rate data in the database, and the error rate tester is a special instrument for measuring the error rate and the error rate data in the digital signal transmission, and the error rate tester determines the error rate by injecting a specific error code into the digital signal and then detecting whether the receiving end correctly receives the error code. The high-speed digital oscilloscope is an electronic measuring instrument used in the technical field of electronics and communication, is mainly used for displaying and analyzing the waveform and characteristics of electronic signals, has extremely high sampling rate, can capture and display the waveform details of high-speed signals, and realizes the improvement of transmission quality in the transmission process of video data.
In a specific embodiment, a fitting curve is obtained by fitting a relation between a first error rate measured value and a corresponding transmission accuracy index in a history period to the first error rate measured value and the corresponding transmission accuracy index, and the preset first error weight corresponding to the first error rate measured value is obtained by inputting the first error rate measured value according to the fitting curve.
In a specific embodiment, a fitting curve is obtained by fitting a relation between a first bit error rate measured value and a corresponding transmission accuracy index in a history period to the first bit error rate measured value and the corresponding transmission accuracy index, and the preset second bit error weight corresponding to the first bit error rate measured value is obtained by inputting the first bit error rate measured value according to the fitting curve.
Further, the transmission accuracy index is calculated using the following formula:
In the formula, Representing a transmission accuracy index of an i-th preset time period in the composite stream transmission process, i=1, 2,..f, i representing the number of the preset time period, f representing the total number of preset times, M i1 representing a first bit error rate measurement value of the i-th preset time period in the composite stream transmission process, M i2 represents a first bit error rate measurement value of an ith preset time period in the composite stream transmission process, M 1 represents a preset first bit error rate threshold, M 2 represents a preset second bit error rate threshold, δ 1 represents a preset first bit error weight, δ 2 represents a preset second bit error weight, and e represents a natural constant.
In this embodiment, as the first bit error rate measurement M i1 and the first bit error rate measurement M i2 increase, when M 1 and M 2 are sufficiently small,Integral and integralThe overall transmission accuracy index gradually increases and the transmission accuracy index gradually decreases, at which time the first bit error rate measurement M i1 and the first bit error rate measurement M i2 are inversely related to the transmission accuracy index, but when M 1 and M 2 are sufficiently large,Integral and integralThe whole is gradually reduced, and the transmission accuracy index is gradually increased, and at the moment, the first bit error rate measurement value M i1 and the first bit error rate measurement value M i2 are positively correlated with the transmission accuracy index, so that accurate analysis is performed by establishing a mathematical form.
In particular, the method comprises the steps of,Wherein W i represents the number of error symbols in the i-th preset time period in the composite stream transmission process, W Zi represents the first total number of symbols in the i-th preset time period in the composite stream transmission process, B i represents the number of error bits in the i-th preset time period in the composite stream transmission process, and B Zi represents the first total number of bits in the i-th preset time period in the composite stream transmission process.
Assuming that δ 1=0.5,δ2 =0.5, the range of the first bit error rate measurement value M i1 is 0-0.1, the range of the first bit error rate measurement value M i2 is 0-0.01, the preset first bit error rate threshold value M 1 is 0.5, the preset second bit error rate threshold value M 2 is 0.05, as shown in fig. 2, a statistical diagram of variation of transmission accuracy indexes provided by the embodiment of the present application is shown, and it can be known from the diagram that, with gradual increase of the first bit error rate measurement value M i1 and the first bit error rate measurement value M i2, the transmission accuracy indexesGradually increase, at this time, the first bit error rate measurement value M i1 and the first bit error rate measurement value M i2 are compared with the transmission accuracy indexPositive correlation means that the transmission accuracy in the transmission process of the composite stream is gradually improved, and the improvement of the transmission quality in the video data transmission process is realized.
Further, the specific acquisition process of the first composite stream comprises the steps of acquiring a preset first quality weight, a preset second quality weight and a preset third quality weight from a database, acquiring a transmission quality index in combination with a transmission related index, wherein the preset first quality weight is used for evaluating the influence degree of a transmission rate index on the transmission quality index, the preset second quality weight is used for evaluating the influence degree of a transmission efficiency index on the transmission quality index, the preset third quality weight is used for evaluating the influence degree of a transmission accuracy index on the transmission quality index, comparing the transmission quality index with a preset transmission range, judging whether the transmission quality index is in the preset transmission range, acquiring a first composite stream corresponding to the preset transmission range if the transmission quality index is in the preset transmission range, and otherwise, multiplexing the first video signal until the transmission quality index is in the preset transmission range.
In this embodiment, the transmission rate index is used to evaluate the change condition of the transmission rate in the transmission process of the composite stream, and reflects the speed and stability of data transmission, in an ideal case, the higher the transmission rate index is, the larger the data amount transmitted in unit time is, the transmission efficiency index may be correspondingly improved, and the improvement of the transmission efficiency index generally means that more effective data is successfully transmitted, which is helpful to reduce the additional overhead generated by retransmitting the erroneous data, thereby improving the transmission accuracy index, so that the influence of the three needs to be considered to comprehensively evaluate, and the improvement of the transmission quality in the transmission process of the video data is realized.
Specifically, the transmission quality index is obtained by the following steps:
Where D i denotes a transmission quality index of an i-th preset time period in the composite stream transmission process, i=1, 2,..f, i denotes a number of the preset time period, f denotes a total number of preset times, β 1 is a preset first quality weight, β 2 is a preset second quality weight, β 3 is a preset third quality weight, A transmission rate index indicating an i-th preset period in the composite stream transmission process,A transmission efficiency index indicating an i-th preset period in the composite stream transmission process,Representing the transmission accuracy index of the ith preset time period in the composite stream transmission process.
In a specific embodiment, a fitting curve is obtained by fitting the relation between the transmission rate index and the corresponding transmission quality index to the transmission rate index and the corresponding transmission quality index in the history period, and the preset first quality weight corresponding to the transmission rate index is obtained according to the input transmission rate index of the fitting curve.
In a specific embodiment, a fitting curve is obtained by fitting the relation between the transmission efficiency index and the corresponding transmission quality index in the historical period, and the preset second quality weight corresponding to the transmission efficiency index is obtained according to the input transmission efficiency index of the fitting curve.
In a specific embodiment, a fitting curve is obtained by fitting the relation between the transmission accuracy index and the corresponding transmission quality index in the historical period and the corresponding transmission accuracy index, and the preset third quality weight corresponding to the transmission accuracy index is obtained according to the input transmission accuracy index of the fitting curve.
Further, the specific process of decoding and integrating the first composite stream is that the first composite stream is subjected to separation treatment to obtain a separated sub-stream, the separation treatment is used for separating sub-streams in the composite stream, the separated sub-stream represents the first composite stream subjected to separation treatment, the second decoding treatment is performed on the separated sub-stream to obtain a decoded sub-stream, the second decoding treatment is used for decoding the separated sub-stream through a decoder, the decoded sub-stream represents the separated sub-stream subjected to the second decoding treatment, the decoded sub-stream is subjected to recombination to obtain a combined sub-stream, the recombination is used for combining the decoded sub-streams through a preset encapsulation format, the combined sub-stream represents the recombined decoded sub-stream, and the high-definition treatment is performed on the combined sub-stream, wherein the high-definition treatment comprises up-conversion, color correction, denoising and sharpening.
In this embodiment, a specific separation tool (e.g., a demultiplexer) is used to separate the sub-streams according to the identifiers in the composite stream, and a corresponding decoder (e.g., a video decoder, an audio decoder) is used to decode the separated sub-streams. The decoding process is to convert the compressed data stream back to original data, such as uncompressed video frames and audio samples, to recombine the decoded video frames and audio samples into one or more combined sub-streams according to preset encapsulation formats, such as MP4 (MPEG-4 part 14) multimedia computer archive format and MKV (Matroska Video Fi l e) multimedia encapsulation format, and to up-convert the video resolution to a higher level to support high-definition or ultra-high-definition display, to improve the details and definition of the image by increasing the number of pixels, to color correct the color balance, contrast and saturation of the video to obtain more natural or attractive visual effect, to denoise the video, to reduce noise and interference in the video, to improve the definition of the image, to sharpen the edge details of the video image, to make the image more clear and sharp, and to realize the improvement of the transmission quality in the video data transmission process.
In summary, in the embodiment of the present application, the first video signal is obtained by performing signal processing on the obtained initial video signal, then the second video signal is obtained by performing multiplexing processing on the first video signal, and the transmission related index is obtained by performing composite stream transmission on the second video signal, then the transmission quality index is obtained by performing comprehensive evaluation according to the transmission related index, the first composite stream is obtained according to the transmission quality index, and finally the first composite stream is decoded and integrated, thereby realizing multi-angle evaluation of data transmission quality, further realizing improvement of transmission quality in the video data transmission process, and effectively solving the problem of low transmission quality in the video data transmission process in the prior art.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.