A KVM data channel transmission quality monitoring system based on DCT transformation
By introducing DCT transform denoising and Hoffman coding compression technology into the KVM data channel transmission quality monitoring system, combining multi-source data acquisition and comprehensive data transmission quality analysis, the problem of insufficient comprehensive transmission quality control in the existing system is solved, and more efficient data transmission quality monitoring and control is achieved.
Patent Information
- Application Number
- CN202411777477.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-12-05
AI Technical Summary
The existing KVM data channel transmission quality monitoring system only relies on reducing the duration of data channel failure to ensure transmission quality, and lacks comprehensive monitoring of multi-source data acquisition and image data transmission losses, resulting in insufficient comprehensive transmission quality control.
A KVM data channel transmission quality monitoring system based on DCT transformation is designed, including data channel monitoring module, DCT transform denoising module, Hoffman encoding compression module, data transmission quality analysis module, etc., through real-time monitoring of data channel performance, DCT transform denoising and Hoffman encoding compression of image data, and comprehensively analyze and evaluate the data transmission quality.
It improves the control accuracy of data transmission quality, enhances the fault tolerance of data transmission, effectively reduces image data transmission losses, and improves the packet encoding quality.
Smart Images

Figure CN119254660B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and more specifically, to a KVM data channel transmission quality monitoring system based on DCT transformation. Background Art
[0002] With the continuous evolution of network infrastructure, the upgrading of hardware equipment (such as from dial-up Internet access to fiber-optic broadband and 5G mobile networks) and the improvement of network protocols (from TCP / IP protocols to various application layer protocols), data transmission technology is also constantly developing, constantly integrating coding and encryption technologies to ensure the quality of data transmission.
[0003] The existing KVM data channel transmission quality monitoring system monitors the bandwidth, delay, CPU occupancy, memory occupancy and physical hardware temperature of the data channel and compares them with the corresponding set parameter thresholds to identify whether there is a fault in the data channel. If there is a fault, maintenance is performed; if there is no fault, data transmission is performed. This can improve the accuracy of fault identification and perform maintenance in a timely manner, and can reduce the duration of data channel faults to ensure the transmission quality of the data channel.
[0004] However, there are still some problems with the existing system: the existing system only monitors the data channel, which can reduce the duration of data channel failure to a certain extent. However, it is rather one-sided to ensure the transmission quality of the data channel only by reducing the duration of data channel failure. Multi-source data should be collected to ensure the operation quality of the data channel. At the same time, the image data transmission loss and data packet encoding quality should be considered during image data transmission to improve the data transmission quality. Summary of the invention
[0005] In order to overcome the above defects of the prior art, an embodiment of the present invention provides a KVM data channel transmission quality monitoring system based on DCT transformation to solve the problems raised in the above background technology.
[0006] To achieve the above object, the present invention provides the following technical solution: a KVM data channel transmission quality monitoring system based on DCT transformation, comprising:
[0007] Data channel monitoring module: real-time monitoring of the bandwidth, latency, CPU occupancy, memory occupancy and physical hardware temperature of the data channel and transmitting the monitored data to the data channel application analysis module;
[0008] Data channel application analysis module: based on the real-time monitoring data of the received data channel, analyze whether the data channel has a fault, record the number of the faulty data channel, analyze the application performance priority of the data channel that is not faulty, and send the faulty data channel number and the application performance priority analysis results of the data channel that is not faulty to the data transmission control module;
[0009] DCT transform denoising module: performs DCT transform denoising on the image data to be transmitted based on the set DCT transform denoising algorithm process, and transmits the DCT transform coefficient data packet of the image data to be transmitted after denoising to the Huffman coding compression module;
[0010] Huffman coding compression module: uses Huffman coding algorithm to encode and compress the DCT transform coefficient data packet of the denoised image data to be transmitted to generate a compressed data packet to be transmitted and send it to the data transmission control module;
[0011] Data transmission control module: after receiving the faulty data channel number, it closes the faulty data channel and arranges maintenance; after receiving the compressed data packet to be transmitted, it allocates it to the non-faulty data channel with the highest application performance priority at the same receiving time for data transmission;
[0012] Data transmission information retrieval module: retrieves data transmission information within a preset period from the data transmission log and forwards it to the data transmission quality analysis module;
[0013] Data transmission quality analysis module: analyzes the data channel operation quality, image data transmission loss and data packet encoding quality respectively, integrates the analysis results and analyzes the data transmission quality, and sends the data transmission quality analysis results to the data transmission control effect evaluation module;
[0014] Data transmission control effect evaluation module: compares the calculated data transmission quality index within the preset period with the set data transmission quality expected value. If the calculated value is greater than or equal to the expected value, the data transmission control effect within the preset period meets expectations. If the calculated value is less than the expected value, the data transmission control effect within the preset period does not meet expectations. The evaluation result is transmitted to the data transmission control center.
[0015] Database: used to store data information of all modules in the system.
[0016] Preferably, the data channel application analysis module includes a data receiving unit, a channel fault judgment unit, a channel application performance priority analysis unit and an analysis result sending unit, the data receiving unit is used to receive real-time monitoring data of different data channels; the channel fault judgment unit compares the real-time monitoring data of different data channels with the corresponding set thresholds, and the comparison results of the same data channel are that the real-time bandwidth is within the set bandwidth threshold interval, the real-time delay is less than the set delay threshold, the CPU occupancy rate is less than the set CPU occupancy rate threshold, the memory occupancy rate is less than the set memory occupancy threshold, and the real-time temperature of the physical hardware is within the set temperature threshold interval of the physical hardware, then the data channel is judged to be fault-free, otherwise the data channel is judged to be faulty, and the faulty data channel number is recorded; the channel application performance priority analysis unit is used to calculate the application performance priority coefficient XA of the non-faulty data channel, and the specific formula is: , Tyr, Tys, αcr, αcs, αnr, αns are the set delay threshold, real-time delay, set CPU occupancy threshold, real-time CPU occupancy, set memory occupancy threshold, and real-time memory occupancy respectively; XAd and XAt are the bandwidth priority coefficient and the physical hardware operating temperature priority coefficient respectively; if the real-time bandwidth of the non-faulty data channel is within the set bandwidth threshold interval, XAd=1; if the real-time temperature of the physical hardware of the non-faulty data channel is within the set temperature threshold interval of the physical hardware, XAt=1; the analysis result sending unit is used to send the faulty data channel number and the non-faulty data channel number and their application performance priority coefficient to the data transmission control module.
[0017] Preferably, the DCT transform denoising module includes an image data blocking unit, a sine-cosine decomposition transform unit, a DCT transform unit, a high-frequency filtering unit, an inverse tangent transform unit and a DCT transform image output unit, wherein the image data blocking unit is used to block the image data to be transmitted; the sine-cosine decomposition transform unit is used to perform sine-cosine decomposition on the image data to be transmitted to obtain sine and cosine mapping diagrams; the DCT transform unit is used to perform DCT transform on the sine and cosine mapping diagrams to obtain DCT frequency domain diagrams and DCT transform coefficients corresponding to the sine and cosine mapping diagrams; the high-frequency filtering unit applies a high-pass filter to perform threshold shrinkage processing on the DCT frequency domain diagrams of the sine mapping diagram and the cosine mapping diagram; the inverse tangent transform unit performs inverse tangent transform on the DCT frequency domain diagrams of the filtered sine mapping diagram and the cosine mapping diagram to obtain the DCT transform coefficients corresponding to the DCT frequency domain diagram of the complete image data to be transmitted after denoising; the DCT transform image output unit transmits the DCT transform coefficient data packet corresponding to the DCT frequency domain diagram of the complete image data to be transmitted after denoising to the Huffman coding compression module.
[0018] Preferably, the Huffman coding compression module includes a DCT transform coefficient receiving unit, a frequency statistics unit, a Huffman coding table generating unit, a data packet coding and compression unit and a compressed data packet sending unit, wherein the DCT transform coefficient receiving unit is used to receive the DCT transform coefficient data packet of the image data to be transmitted after denoising; the frequency statistics unit is used to count the frequency of occurrence of each byte in the DCT transform coefficient data packet; the Huffman coding table generating unit is used to generate a Huffman coding table; the data packet coding and compression unit uses the generated Huffman coding table to encode and compress the DCT transform coefficient data packet of the image data to be transmitted after denoising to obtain a final compressed data packet to be transmitted; and the compressed data packet sending unit sends the generated compressed data packet to be transmitted to the data transmission control module.
[0019] Preferably, the data transmission control module includes a data receiving unit, a channel fault feedback unit, a data channel allocation unit, a reception response feedback unit and a transmission record automatic backup unit, wherein the data receiving unit is used to receive the number of the faulty data channel and the number of the non-faulty data channel and their application performance priority coefficients, and display the reception time of the compressed data packet to be transmitted; the channel fault feedback unit closes the faulty data channel and generates a fault maintenance task after receiving the faulty data channel number, and feeds back a data channel fault maintenance status prompt to the data transmission end when all data channels fail; the data channel allocation unit marks the compressed data packet to be transmitted and the non-faulty data channel number received at the same reception time as the same group of data when some data channels fail, and extracts the non-faulty data channel with the largest application performance priority coefficient as the target data channel to perform the data transmission task; the reception response feedback unit is used to feed back the reception response flag packet sent by the data receiving end after receiving the compressed data packet to the data transmission end; the transmission record automatic backup unit is used to automatically back up the data transmission record.
[0020] Preferably, the data transmission information within a preset period retrieved by the data transmission information retrieval module includes the data transmission packet loss rate βa, the bit error rate βb, the signal distortion rate βc, the channel failure duration Tcg, the channel operation duration Tcy, the number of data transmissions nz, the number of successful data transmissions nc, the pixel value of the image coordinate point to be transmitted when the i-th data is successfully transmitted and the pixel value of the image coordinate point decompressed and reconstructed after transmission, the application performance priority coefficient XAi of the data channel used when the i-th data is successfully transmitted, the coding compression ratio θai, the coding efficiency θbi and the decoding speed θci when the i-th data is successfully transmitted.
[0021] Preferably, the data transmission quality analysis module includes a data receiving unit, a data channel operation quality analysis unit, an image data transmission loss analysis unit, a coding quality analysis unit, a data transmission quality comprehensive analysis unit and an analysis result output unit. The data receiving unit is used to receive data transmission information within a preset period; the data channel operation quality analysis unit inputs the extracted transmission packet loss rate βa, bit error rate βb, signal distortion rate βc, channel fault duration Tcg and channel operation duration Tcy into the data channel operation quality analysis mathematical model to obtain the data channel operation quality coefficient XTZ. The data channel operation quality analysis mathematical model is specifically:
[0022] , e is a natural constant; the image data transmission loss analysis unit calculates the peak signal-to-noise ratio PSNRi and the structural similarity index SSIMi of the image to be transmitted and the decompressed and reconstructed image after the i-th data is successfully transmitted based on the peak signal-to-noise ratio algorithm and the structural similarity index algorithm, and then calculates the image data transmission loss coefficient XSi when the i-th data is successfully transmitted. The specific formula is: , e is a natural constant; the coding quality analysis unit calculates the data packet coding quality coefficient XBi when the i-th data is successfully transmitted based on the coding compression ratio θai, coding efficiency θbi and decoding speed θci when the i-th data is successfully transmitted. The specific formula is: ; The data transmission quality comprehensive analysis unit is used to calculate the data transmission quality index YZ, the specific formula is: The analysis result output unit is used to send the calculated data transmission quality index within the preset period to the data transmission control effect evaluation module.
[0023] Technical effects and advantages of the present invention:
[0024] The present invention sets a data channel application analysis module to analyze whether there is a fault in the data channel based on the received real-time bandwidth, delay, CPU occupancy, memory occupancy and physical hardware temperature of the data channel, record the faulty data channel number, analyze the application performance priority of the non-faulty data channel, and can switch the data channel with the highest application performance priority to perform the data transmission task when some data channels fail, which is beneficial to improving the data transmission quality to a certain extent and can improve the data transmission fault tolerance capability.
[0025] A DCT transform denoising module is set to perform DCT transform denoising on the image data to be transmitted based on the set DCT transform denoising algorithm process, and a Huffman coding compression module is set to encode and compress the DCT transform coefficient data packet of the denoised image data to be transmitted using the Huffman coding algorithm to generate a compressed data packet to be transmitted, which can effectively remove the noise carried by the image data, reduce the compression transmission loss of the image data, and improve the coding quality of the data packet.
[0026] A data transmission quality analysis module is set up to analyze the data channel operation quality, image data transmission loss and data packet encoding quality respectively. The data transmission quality is analyzed after integrating the analysis results. The collected data is more multi-source and the analysis angle is more comprehensive. The data transmission quality analyzed based on multi-source data and multiple angles is higher and the data transmission control effect is better. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a system structure block diagram of the present invention.
[0028] Figure 2 It is a diagram of the method steps of the present invention. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] like Figure 1 The embodiment shown provides a KVM data channel transmission quality monitoring system based on DCT transform, including a data channel monitoring module, a data channel application analysis module, a DCT transform denoising module, a Huffman coding compression module, a data transmission control module, a data transmission information retrieval module, a data transmission quality analysis module, a data transmission control effect evaluation module and a database. The data channel monitoring module and the data channel application analysis module are connected to the data transmission control module, the DCT transform denoising module and the Huffman coding compression module are connected to the data transmission control module, the data transmission control module, the data transmission information retrieval module, the data transmission quality analysis module and the data transmission control effect evaluation module are connected in sequence, and all modules in the system are connected to the database.
[0031] The data channel monitoring module monitors the bandwidth, delay, CPU occupancy, memory occupancy and physical hardware temperature of the data channel in real time and transmits the monitored data to the data channel application analysis module;
[0032] Specifically, in this embodiment, network performance monitoring tools such as Wireshark and NetFlow Analyze can be used to monitor the bandwidth and delay of the transmission channel, KVM management tools such as ApplicationsManager and VMware vSphere can be used to monitor CPU occupancy and memory occupancy, and temperature sensors can be used to monitor the physical hardware temperature of the KVM data channel.
[0033] The data channel application analysis module monitors the received data channel in real time to analyze whether the data channel has a fault, records the faulty data channel number, analyzes the application performance priority of the non-faulty data channel, and sends the faulty data channel number and the non-faulty data channel application performance priority analysis result to the data transmission control module;
[0034] Further, the data channel application analysis module includes a data receiving unit, a channel fault judgment unit, a channel application performance priority analysis unit and an analysis result sending unit. The data receiving unit is used to receive real-time monitoring data of different data channels; the channel fault judgment unit compares the real-time monitoring data of different data channels with the corresponding set thresholds. When the comparison results of the same data channel are that the real-time bandwidth is within the set bandwidth threshold interval, the real-time delay is less than the set delay threshold, the CPU occupancy rate is less than the set CPU occupancy rate threshold, the memory occupancy rate is less than the set memory occupancy threshold, and the real-time temperature of the physical hardware is within the set temperature threshold interval of the physical hardware, the data channel is judged to be fault-free. Otherwise, the data channel is judged to be faulty and the faulty data channel number is recorded; the channel application performance priority analysis unit is used to calculate the application performance priority coefficient XA of the non-faulty data channel. The specific formula is: , Tyr, Tys, αcr, αcs, αnr, αns are the set delay threshold, real-time delay, set CPU occupancy threshold, real-time CPU occupancy, set memory occupancy threshold, and real-time memory occupancy respectively; XAd and XAt are the bandwidth priority coefficient and the physical hardware operating temperature priority coefficient respectively; if the real-time bandwidth of the non-faulty data channel is within the set bandwidth threshold interval, XAd=1; if the real-time temperature of the physical hardware of the non-faulty data channel is within the set temperature threshold interval of the physical hardware, XAt=1; the analysis result sending unit is used to send the faulty data channel number and the non-faulty data channel number and their application performance priority coefficient to the data transmission control module.
[0035] The DCT transform denoising module performs DCT transform denoising processing on the image data to be transmitted based on the set DCT transform denoising algorithm process, and transmits the DCT transform coefficient data packet of the image data to be transmitted after denoising to the Huffman coding compression module;
[0036] Further, the DCT transform denoising module includes an image data blocking unit, a sine-cosine decomposition transform unit, a DCT transform unit, a high-frequency filtering unit, an inverse tangent transform unit and a DCT transform image output unit, wherein the image data blocking unit is used to block the image data to be transmitted; the sine-cosine decomposition transform unit is used to perform sine-cosine decomposition on the image data to be transmitted to obtain sine and cosine mapping diagrams; the DCT transform unit is used to perform DCT transform on the sine and cosine mapping diagrams to obtain DCT frequency domain diagrams and DCT transform coefficients corresponding to the sine and cosine mapping diagrams; the high-frequency filtering unit applies a high-pass filter to perform threshold shrinkage processing on the DCT frequency domain diagrams of the sine mapping diagram and the cosine mapping diagram; the inverse tangent transform unit performs inverse tangent transform on the DCT frequency domain diagrams of the filtered sine mapping diagram and the cosine mapping diagram to obtain DCT transform coefficients corresponding to the DCT frequency domain diagram of the complete image data to be transmitted after denoising; the DCT transform image output unit transmits the DCT transform coefficient data packet corresponding to the DCT frequency domain diagram of the complete image data to be transmitted after denoising to the Huffman coding compression module.
[0037] Specifically, it should be noted that the DCT transform denoising algorithm process includes the following steps:
[0038] A1. Divide the image data to be transmitted into M×N blocks in sequence;
[0039] A2. Perform sine and cosine decomposition transformation on the image data to be transmitted to obtain sine and cosine mapping diagrams. The specific algorithm is as follows:
[0040] , , where f(m,n) is the two-dimensional element of the original spatial domain image at point (m,n), S(m,n) and C(m,n) are the intensity values after sine decomposition transformation and cosine decomposition transformation of point (m,n) respectively;
[0041] A3. Perform two-dimensional DCT transformation on the sine and cosine mapping images to obtain the DCT frequency domain images and DCT transformation coefficients of the corresponding sine and cosine mapping images. The specific algorithm is as follows:
[0042] ,
[0043] ,
[0044] , , a(u) and a(v) are normalized coefficients, FS(u,v) and FCu,v) are the DCT transform coefficients of the sine map and cosine map at the point (u,v) after two-dimensional DCT transform respectively;
[0045] A4. Apply high-pass filter to perform threshold shrinkage processing on DCT frequency domain image. The coefficient threshold filter expression of DCT is: , , GS(u,v), GCu,v) are the DCT frequency domain images corresponding to the sine mapping image and the DCT frequency domain images corresponding to the cosine mapping image after filtering. Hu,v) is the transfer function of the high-pass filter, which can be expressed as: , FS0 and FC0 are the DCT transform coefficient thresholds when filtering the DCT frequency domain image corresponding to the sine mapping image and the DCT frequency domain image corresponding to the cosine mapping image;
[0046] A5. Perform an inverse tangent transform on the DCT frequency domain images of the filtered sine mapping image and cosine mapping image to obtain the final denoised complete DCT transform coefficients. The specific formula of the inverse tangent transform is as follows:
[0047] ,Fu,v) is the DCT transform coefficient of the point (u,v) in the complete DCT frequency domain image after denoising.
[0048] The Huffman coding compression module uses the Huffman coding algorithm to encode and compress the DCT transform coefficient data packet of the denoised image data to be transmitted to generate a compressed data packet to be transmitted and send it to the data transmission control module;
[0049] Furthermore, the Huffman coding compression module includes a DCT transform coefficient receiving unit, a frequency statistics unit, a Huffman coding table generating unit, a data packet coding and compression unit, and a compressed data packet sending unit. The DCT transform coefficient receiving unit is used to receive the DCT transform coefficient data packet of the image data to be transmitted after denoising; the frequency statistics unit is used to count the frequency of occurrence of each byte in the DCT transform coefficient data packet; the Huffman coding table generating unit is used to generate a Huffman coding table; the data packet coding and compression unit uses the generated Huffman coding table to encode and compress the DCT transform coefficient data packet of the image data to be transmitted after denoising to obtain a final compressed data packet to be transmitted; the compressed data packet sending unit sends the generated compressed data packet to be transmitted to the data transmission control module.
[0050] Specifically, the Huffman coding algorithm process includes the following steps:
[0051] B1, scanning the DCT transform coefficient data packet, and counting the frequency of each byte in the data packet;
[0052] B2. Create a node list containing all characters and their frequencies based on the frequencies obtained by statistics. Select the two nodes with the lowest frequencies, create a new node as their parent node, and set the frequency to the sum of the frequencies of the two nodes. Insert the new node into the node list and delete the original two nodes. Repeat the above steps until only one node is left in the node list, which is the root node of the Huffman tree. Connect all parent nodes and corresponding child nodes to obtain the Huffman tree.
[0053] B3, traverse the Huffman tree, generate the corresponding Huffman code for each byte, when traversing the path, going left means the code bit is 0, and going right means the code bit is 1, store the generated Huffman code in a table to obtain the Huffman code table;
[0054] B4. Use the generated Huffman coding table to encode the DCT transform coefficient data packet, and replace each byte with its corresponding Huffman code to obtain the final compressed data packet to be transmitted.
[0055] It should be specifically explained in this embodiment that in order to correctly restore the original data during decompression, it is usually necessary to transmit the Huffman coding table as well.
[0056] The data transmission control module closes the faulty data channel and arranges maintenance after receiving the faulty data channel number, and allocates the data packet to be transmitted to the non-faulty data channel with the highest application performance priority at the same receiving time for data transmission after receiving the compressed data packet to be transmitted;
[0057] Furthermore, the data transmission control module includes a data receiving unit, a channel fault feedback unit, a data channel allocation unit, a reception response feedback unit and a transmission record automatic backup unit. The data receiving unit is used to receive the number of the faulty data channel and the number of the non-faulty data channel and their application performance priority coefficients, and the reception time of the compressed data packet to be transmitted; the channel fault feedback unit closes the faulty data channel and generates a fault maintenance task after receiving the faulty data channel number, and feeds back a data channel fault maintenance status prompt to the data transmission end when all data channels fail; the data channel allocation unit marks the compressed data packet to be transmitted and the non-faulty data channel number received at the same reception time as the same group of data when some data channels fail, and extracts the non-faulty data channel with the largest application performance priority coefficient as the target data channel to perform the data transmission task; the reception response feedback unit is used to feed back the reception response flag packet sent by the data receiving end after receiving the compressed data packet to the data transmission end; the transmission record automatic backup unit is used to automatically back up the data transmission record.
[0058] The data transmission information retrieving module retrieves data transmission information within a preset period from the data transmission log and forwards it to the data transmission quality analysis module;
[0059] Furthermore, the data transmission information within a preset period retrieved by the data transmission information retrieval module includes the data transmission packet loss rate βa, the bit error rate βb, the signal distortion rate βc, the channel failure duration Tcg, the channel operation duration Tcy, the number of data transmissions nz, the number of successful data transmissions nc, the pixel value of the image coordinate point to be transmitted when the i-th data is successfully transmitted and the pixel value of the image coordinate point decompressed and reconstructed after transmission, the application performance priority coefficient XAi of the data channel used when the i-th data is successfully transmitted, the coding compression ratio θai, the coding efficiency θbi and the decoding speed θci when the i-th data is successfully transmitted.
[0060] The data transmission quality analysis module analyzes the data channel operation quality, image data transmission loss and data packet encoding quality respectively, analyzes the data transmission quality after integrating the analysis results, and sends the data transmission quality analysis results to the data transmission control effect evaluation module;
[0061] Further, the data transmission quality analysis module includes a data receiving unit, a data channel operation quality analysis unit, an image data transmission loss analysis unit, a coding quality analysis unit, a data transmission quality comprehensive analysis unit and an analysis result output unit. The data receiving unit is used to receive data transmission information within a preset period; the data channel operation quality analysis unit inputs the extracted transmission packet loss rate βa, bit error rate βb, signal distortion rate βc, channel fault duration Tcg and channel operation duration Tcy into the data channel operation quality analysis mathematical model to obtain the data channel operation quality coefficient XTZ. The data channel operation quality analysis mathematical model is specifically:
[0062] , e is a natural constant; the image data transmission loss analysis unit calculates the peak signal-to-noise ratio PSNRi and the structural similarity index SSIMi of the image to be transmitted and the decompressed and reconstructed image after the i-th data is successfully transmitted based on the peak signal-to-noise ratio algorithm and the structural similarity index algorithm, and then calculates the image data transmission loss coefficient XSi when the i-th data is successfully transmitted. The specific formula is: , e is a natural constant; the coding quality analysis unit calculates the data packet coding quality coefficient XBi when the i-th data is successfully transmitted based on the coding compression ratio θai, coding efficiency θbi and decoding speed θci when the i-th data is successfully transmitted. The specific formula is: ; The data transmission quality comprehensive analysis unit is used to calculate the data transmission quality index YZ, the specific formula is: The analysis result output unit is used to send the calculated data transmission quality index within the preset period to the data transmission control effect evaluation module.
[0063] It should be specifically noted in this embodiment that the peak signal-to-noise ratio algorithm and the structural similarity index algorithm are prior arts and will not be elaborated in detail here.
[0064] The data transmission control effect evaluation module: compares the calculated data transmission quality index within the preset period with the set data transmission quality expected value. If the calculated value is greater than or equal to the expected value, the data transmission control effect within the preset period meets the expectations. If the calculated value is less than the expected value, the data transmission control effect within the preset period does not meet the expectations, and transmits the evaluation result to the data transmission control center;
[0065] The database is used to store data information of all modules in the system.
[0066] It should be specifically noted in this embodiment that the preset values, expected values and set thresholds used are all selected based on actual needs and are not limited to specific values here.
[0067] like Figure 2 The present embodiment provides a method for monitoring the transmission quality of a KVM data channel based on DCT transformation, comprising the following steps:
[0068] S1: Real-time monitoring of data channel bandwidth, latency, CPU occupancy, memory occupancy, and physical hardware temperature;
[0069] S2: Analyze whether there is a fault in the data channel based on the real-time monitoring data of the received data channel, record the number of the faulty data channel, and calculate the application performance priority coefficient for the data channel that is not faulty;
[0070] S3: Perform DCT transform denoising processing on the image data to be transmitted based on the set DCT transform denoising algorithm process;
[0071] S4: using a Huffman coding algorithm to encode and compress the DCT transform coefficient data packet of the denoised image data to be transmitted to generate a compressed data packet to be transmitted;
[0072] S5: After receiving the faulty data channel number, close the faulty data channel and arrange maintenance; after receiving the compressed data packet to be transmitted, allocate it to the non-faulty data channel with the highest application performance priority at the same receiving time for data transmission;
[0073] S6: retrieve from the data transmission log the data transmission packet loss rate, bit error rate, signal distortion rate, duration of channel failure, duration of channel operation, number of data transmissions, number of successful data transmissions, pixel values of image coordinate points to be transmitted during each successful data transmission and pixel values of image coordinate points decompressed and reconstructed after transmission, application performance priority coefficient of the data channel used during each successful data transmission, encoding compression ratio, encoding efficiency, and decoding speed during each successful data transmission within a preset period;
[0074] S7: Calculate the data channel operation quality coefficient, the image data transmission loss coefficient each time data is successfully transmitted, and the data packet coding quality coefficient each time data is successfully transmitted based on the retrieved data, and calculate the data transmission quality index based on the data channel operation quality coefficient, the image data transmission loss coefficient each time data is successfully transmitted, the data packet coding quality coefficient each time data is successfully transmitted, and the application performance priority coefficient of the data channel used each time data is successfully transmitted;
[0075] S8: Compare the calculated data transmission quality index within the preset period with the set expected value of data transmission quality. If the calculated value is greater than or equal to the expected value, the data transmission control effect within the preset period meets expectations. If the calculated value is less than the expected value, the data transmission control effect within the preset period does not meet expectations. The evaluation result is transmitted to the data transmission control center.
[0076] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A KVM data channel transmission quality monitoring system based on DCT transform, characterized in that: include: Data channel monitoring module: real-time monitoring of the bandwidth, latency, CPU occupancy, memory occupancy and physical hardware temperature of the data channel and transmitting the monitored data to the data channel application analysis module; Data channel application analysis module: based on the real-time monitoring data of the received data channel, analyze whether the data channel has a fault, record the number of the faulty data channel, analyze the application performance priority of the data channel that is not faulty, and send the faulty data channel number and the application performance priority analysis results of the data channel that is not faulty to the data transmission control module; DCT transform denoising module: performs DCT transform denoising on the image data to be transmitted based on the set DCT transform denoising algorithm process, and transmits the DCT transform coefficient data packet of the image data to be transmitted after denoising to the Huffman coding compression module; Huffman coding compression module: uses Huffman coding algorithm to encode and compress the DCT transform coefficient data packet of the denoised image data to be transmitted to generate a compressed data packet to be transmitted and send it to the data transmission control module; Data transmission control module: after receiving the faulty data channel number, it closes the faulty data channel and arranges maintenance; after receiving the compressed data packet to be transmitted, it allocates it to the non-faulty data channel with the highest application performance priority at the same receiving time for data transmission; Data transmission information retrieval module: retrieves data transmission information within a preset period from the data transmission log and forwards it to the data transmission quality analysis module; Data transmission quality analysis module: analyzes the data channel operation quality, image data transmission loss and data packet encoding quality respectively, integrates the analysis results and analyzes the data transmission quality, and sends the data transmission quality analysis results to the data transmission control effect evaluation module; Data transmission control effect evaluation module: compare the calculated data transmission quality index within the preset period with the set data transmission quality expected value. If the calculated value is greater than or equal to the expected value, the data transmission control effect within the preset period meets expectations. If the calculated value is less than the expected value, the data transmission control effect within the preset period does not meet expectations. The evaluation result is transmitted to the data transmission control center.
2. The KVM data channel transmission quality monitoring system based on DCT transformation according to claim 1 is characterized in that: The data channel application analysis module includes a data receiving unit, a channel fault judgment unit, a channel application performance priority analysis unit and an analysis result sending unit, and the data receiving unit is used to receive real-time monitoring data of different data channels; The channel fault judgment unit compares the real-time monitoring data of different data channels with the corresponding set thresholds. When the comparison results of the same data channel are that the real-time bandwidth is within the set bandwidth threshold range, the real-time delay is less than the set delay threshold, the CPU occupancy rate is less than the set CPU occupancy rate threshold, the memory occupancy rate is less than the set memory occupancy rate threshold, and the real-time temperature of the physical hardware is within the set temperature threshold range of the physical hardware, the data channel is judged to be fault-free. Otherwise, the data channel is judged to be faulty and the faulty data channel number is recorded. The channel application performance priority analysis unit is used to calculate the application performance priority coefficient XA of the data channel without faults. The specific formula is: , Tyr, Tys, αcr, αcs, αnr, αns are the set delay threshold, real-time delay, set CPU occupancy threshold, real-time CPU occupancy, set memory occupancy threshold, and real-time memory occupancy respectively; XAd and XAt are the bandwidth priority coefficient and the physical hardware operating temperature priority coefficient respectively; if the real-time bandwidth of the non-faulty data channel is within the set bandwidth threshold interval, XAd=1; if the real-time temperature of the physical hardware of the non-faulty data channel is within the set temperature threshold interval of the physical hardware, XAt=1; the analysis result sending unit is used to send the faulty data channel number and the non-faulty data channel number and their application performance priority coefficient to the data transmission control module.
3. The KVM data channel transmission quality monitoring system based on DCT transformation according to claim 1 is characterized in that: The DCT transform denoising module includes an image data block unit, a sine-cosine decomposition transform unit, a DCT transform unit, a high-frequency filtering unit, an inverse tangent transform unit and a DCT transform image output unit. The image data block unit is used to block the image data to be transmitted; the sine-cosine decomposition transform unit is used to perform sine-cosine decomposition on the image data to be transmitted to obtain sine and cosine mapping graphs; the DCT transform unit is used to perform DCT transform on the sine and cosine mapping graphs to obtain DCT frequency domain graphs and DCT transform coefficients corresponding to the sine and cosine mapping graphs; the high-frequency filtering unit uses a high-pass filter to perform threshold shrinkage processing on the DCT frequency domain graphs of the sine mapping graph and the cosine mapping graph; The inverse tangent transformation unit performs an inverse tangent transformation on the DCT frequency domain images of the filtered sine mapping image and the cosine mapping image to obtain the DCT transformation coefficients corresponding to the DCT frequency domain images of the complete image data to be transmitted after denoising; the DCT transformation image output unit transmits the DCT transformation coefficient data packet corresponding to the DCT frequency domain images of the complete image data to be transmitted after denoising to the Huffman coding compression module.
4. The KVM data channel transmission quality monitoring system based on DCT transformation according to claim 1 is characterized in that: The Huffman coding compression module includes a DCT transform coefficient receiving unit, a frequency statistics unit, a Huffman coding table generating unit, a data packet coding compression unit and a compressed data packet sending unit. The DCT transform coefficient receiving unit is used to receive the DCT transform coefficient data packet of the image data to be transmitted after denoising; the frequency statistics unit is used to count the frequency of occurrence of each byte in the DCT transform coefficient data packet; the Huffman coding table generating unit is used to generate a Huffman coding table; the data packet coding compression unit uses the generated Huffman coding table to encode and compress the DCT transform coefficient data packet of the image data to be transmitted after denoising to obtain the final compressed data packet to be transmitted; The compressed data packet sending unit sends the generated compressed data packet to be transmitted to the data transmission control module.
5. The KVM data channel transmission quality monitoring system based on DCT transformation according to claim 1 is characterized in that: The data transmission control module includes a data receiving unit, a channel fault feedback unit, a data channel allocation unit, a receiving response feedback unit and a transmission record automatic backup unit. The data receiving unit is used to receive the number of the faulty data channel and the number of the non-faulty data channel and their application performance priority coefficients, and the reception time of the compressed data packet to be transmitted; The channel fault feedback unit closes the faulty data channel and generates a fault maintenance task after receiving the faulty data channel number, and feeds back a data channel fault maintenance status prompt to the data transmission end when all data channels fail; When some data channels fail, the data channel allocation unit marks the compressed data packets to be transmitted and the non-faulty data channel numbers received at the same receiving time as the same group of data and extracts the non-faulty data channel with the largest application performance priority coefficient as the target data channel to perform the data transmission task; The receiving response feedback unit is used to feed back the receiving response flag packet sent by the data receiving end after receiving the compressed data packet to the data transmitting end; the transmission record automatic backup unit is used to automatically back up the data transmission record.
6. The KVM data channel transmission quality monitoring system based on DCT transformation according to claim 1 is characterized in that: The data transmission information within a preset period retrieved by the data transmission information retrieval module includes the data transmission packet loss rate βa, the bit error rate βb, the signal distortion rate βc, the channel failure duration Tcg, the channel operation duration Tcy, the number of data transmissions nz, the number of successful data transmissions nc, the pixel value of the image coordinate point to be transmitted when the i-th data is successfully transmitted and the pixel value of the image coordinate point decompressed and reconstructed after transmission, the application performance priority coefficient XAi of the data channel used when the i-th data is successfully transmitted, the coding compression ratio θai, the coding efficiency θbi and the decoding speed θci when the i-th data is successfully transmitted.
7. The KVM data channel transmission quality monitoring system based on DCT transformation according to claim 6 is characterized in that: The data transmission quality analysis module includes a data receiving unit, a data channel operation quality analysis unit, an image data transmission loss analysis unit, a coding quality analysis unit, a data transmission quality comprehensive analysis unit and an analysis result output unit. The data receiving unit is used to receive data transmission information within a preset period; the data channel operation quality analysis unit inputs the extracted transmission packet loss rate βa, bit error rate βb, signal distortion rate βc, channel fault duration Tcg and channel operation duration Tcy into the data channel operation quality analysis mathematical model to obtain the data channel operation quality coefficient XTZ. The data channel operation quality analysis mathematical model is specifically: , e is a natural constant; the image data transmission loss analysis unit calculates the peak signal-to-noise ratio PSNRi and the structural similarity index SSIMi of the image to be transmitted and the decompressed and reconstructed image after the i-th data is successfully transmitted based on the peak signal-to-noise ratio algorithm and the structural similarity index algorithm, and then calculates the image data transmission loss coefficient XSi when the i-th data is successfully transmitted. The specific formula is: , e is a natural constant; the coding quality analysis unit calculates the data packet coding quality coefficient XBi when the i-th data is successfully transmitted based on the coding compression ratio θai, coding efficiency θbi and decoding speed θci when the i-th data is successfully transmitted. The specific formula is: ; The data transmission quality comprehensive analysis unit is used to calculate the data transmission quality index YZ. The specific formula is: The analysis result output unit is used to send the calculated data transmission quality index within the preset period to the data transmission control effect evaluation module.
Citation Information
Patent Citations
RDMA network state monitoring method, device and equipment and readable storage medium
CN115174432A
Electronic chip with high heat dissipation
CN217822769U