Search

CN-122001874-A - File transmission system and method based on high-definition multimedia interface

CN122001874ACN 122001874 ACN122001874 ACN 122001874ACN-122001874-A

Abstract

The invention relates to the technical field of file transmission and discloses a file transmission system and method based on a high-definition multimedia interface, wherein the system comprises a transmitting end and a receiving end, the transmitting end is used for converting a first binary coded file of a file to be transmitted into a first video frame sequence, the first video frame sequence is transmitted by utilizing the high-definition multimedia interface, one data frame in the first video frame sequence corresponds to a plurality of bit data in the first binary coded file, the RGB value of each pixel point in the data frame is determined according to the bit data corresponding to the data frame, the receiving end is used for acquiring a second video frame sequence through the high-definition multimedia interface, correcting the RGB value of each pixel in the second video frame sequence to obtain a third video frame sequence, obtaining a corresponding second binary coded file according to the RGB value of each pixel in the third video frame sequence, and converting the second binary coded file into a receiving file. The invention realizes high-speed and reliable file transmission of the high-definition multimedia interface.

Inventors

  • DING TING
  • YANG GUOHUA
  • TONG XUEWEI
  • YUE SONGTAO
  • HAN YI
  • JIA HONGRUI

Assignees

  • 中电科东方通信集团有限公司
  • 水利部河湖保护中心
  • 深圳市芯源网络科技有限公司

Dates

Publication Date
20260508
Application Date
20251222

Claims (10)

  1. 1. A file transfer system based on a high definition multimedia interface, comprising a transmitting end and a receiving end, the system comprising: the sending end is used for converting a first binary coding file of a file to be transmitted into a first video frame sequence, and transmitting the first video frame sequence by utilizing a high-definition multimedia interface, one data frame in the first video frame sequence corresponds to a plurality of bit data in the first binary coding file, and RGB values of all pixel points in the data frame are determined according to the bit data corresponding to the data frame; The receiving end is used for acquiring a second video frame sequence through the high-definition multimedia interface, correcting RGB values of all pixels in the second video frame sequence to obtain a third video frame sequence, obtaining a corresponding second binary coding file according to the RGB values of all pixels in the third video frame sequence, and converting the second binary coding file into a receiving file.
  2. 2. The system of claim 1, wherein the first sequence of video frames comprises a start frame, at least one data frame, and an end frame arranged in sequence, RGB values of all pixel points in the initial frame are first preset values; The RGB values of all pixel points in the ending frame are second preset values; If the data bit value in the first binary coding file corresponding to the data frame is 1, the RGB value of each pixel point in the data frame is a third preset value; if the data bit value in the first binary coded file corresponding to the data frame is 0, the RGB value of each pixel point in the data frame is a fourth preset value.
  3. 3. The system of claim 1, wherein the RGB values include luminance values of three color channels, and the receiving end corrects the RGB values of each pixel in the second video frame sequence to obtain a third video frame sequence, comprising: Correcting the brightness values of each pixel in the three color channels according to the range of the brightness values; Determining RGB values after correction of each pixel according to brightness values of three color channels after correction of each pixel; the RGB values corrected by each pixel in the second video frame sequence are worth of a third video frame sequence.
  4. 4. The system of claim 1, wherein converting the first binary encoded file of the file to be transmitted into the first sequence of video frames comprises: compressing the file to be transmitted to generate a compressed file; Performing forward error correction coding on the compressed file to obtain a first binary coded file, wherein the forward error correction coding is to add redundant information to original compressed file data so that a receiving end can recover the original compressed file data by decoding the redundant information after receiving the data; the first binary encoded file is converted into a first sequence of video frames.
  5. 5. The system of claim 4, wherein converting the second binary encoded file to a received file comprises: Performing forward error correction code decoding on the second binary coded file, detecting and correcting transmission errors, and obtaining a compressed file before coding; decompressing the compressed file before encoding to obtain the receiving file.
  6. 6. The file transmission method based on the high-definition multimedia interface is characterized by being applied to a transmitting end, and comprises the following steps: Converting a first binary coded file of a file to be transmitted into a first video frame sequence, wherein one data frame in the first video frame sequence corresponds to a plurality of bit data in the first binary coded file, and RGB values of pixel points in the data frame are determined according to the bit data corresponding to the data frame; and transmitting the first video frame sequence to a receiving end by utilizing a high-definition multimedia interface, so that the receiving end obtains a receiving file corresponding to the file to be transmitted according to the first video frame sequence.
  7. 7. A file transmission method based on a high definition multimedia interface, characterized in that the method is applied to a receiving end, the method comprising: A second video frame sequence is obtained through a high-definition multimedia interface, the second video frame sequence is obtained by converting a first binary coding file of a file to be transmitted into a first video frame sequence by a transmitting end and transmitting the first video frame sequence by utilizing the high-definition multimedia interface, one data frame in the first video frame sequence corresponds to a plurality of bit data in the first binary coding file, and RGB values of each pixel point in the data frame are determined according to the bit data corresponding to the data frame; Correcting RGB values of each pixel in the second video frame sequence to obtain a third video frame sequence; and converting the second binary coded file into a receiving file according to the corresponding second binary coded file of the RGB value of each pixel in the third video frame sequence.
  8. 8. An electronic device, comprising: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the high-definition multimedia interface-based file transfer method of any one of claims 6 or 7.
  9. 9. A computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the high-definition multimedia interface-based file transfer method of any one of claims 6 or 7.
  10. 10. A computer program product comprising computer instructions for causing a computer to perform the high definition multimedia interface based file transfer method of any one of claims 6 or 7.

Description

File transmission system and method based on high-definition multimedia interface Technical Field The invention relates to the technical field of file transmission, in particular to a file transmission system and method based on a high-definition multimedia interface. Background In some network environments, the terminal device only allows connection of peripherals without data storage or autonomous data transfer capabilities, such as displays, mice, printers, cameras, etc. When the internal data migration requirement exists, the optical disk can be used as a medium for copying, the operation mode can increase the complexity of the flow, prolong the time consumption of data migration, and reduce the overall operation and use efficiency. In order to realize file transmission in the network environment, a feasible transmission method is that binary codes of files are modulated to carrier waves through audio signals through audio signal transmission, then played, the audio signals are output to acquisition equipment by using a loudspeaker interface, the acquisition equipment samples the audio signals, and file data can be recovered after the sampling signals are demodulated. However, the frequency of the audio sent by the computer is only 20KHz at maximum, and the transmission efficiency is low because data of thousands of bytes are transmitted every second at most. Therefore, a high-speed, reliable file transfer method is needed. Disclosure of Invention The invention provides a file transmission system and method based on a high-definition multimedia interface, which are used for solving the problems of low file transmission efficiency and complicated transmission flow of the related technology under a specific network environment. In a first aspect, the present invention provides a file transmission system based on a high-definition multimedia interface, including a transmitting end and a receiving end: The transmitting end is used for converting a first binary coding file of a file to be transmitted into a first video frame sequence, transmitting the first video frame sequence by utilizing a high-definition multimedia interface, wherein one data frame in the first video frame sequence corresponds to a plurality of bit data in the first binary coding file, and the RGB value of each pixel point in the data frame is determined according to the bit data corresponding to the data frame; The receiving end is used for acquiring a second video frame sequence through the high-definition multimedia interface, correcting RGB values of all pixels in the second video frame sequence to obtain a third video frame sequence, obtaining a corresponding second binary coding file according to the RGB values of all pixels in the third video frame sequence, and converting the second binary coding file into a receiving file. According to the file transmission system based on the high-definition multimedia interface, provided by the invention, the binary coded data of the file and the RGB value of the video frame pixel are in a corresponding relation, so that the file data can be adapted to the video transmission characteristic of the high-definition multimedia interface, and the advantage of high-speed digital transmission of the HDMI interface is fully utilized. Furthermore, the receiving end corrects the RGB value of each pixel of the obtained video frame sequence, so that the problems of pixel color cast caused by display card rendering and electromagnetic interference in the HDMI transmission process can be effectively solved, the erroneous judgment of data is avoided, the accurate restoration of file data from the video frame sequence is ensured, and the efficient and reliable transmission of files in a special operation network environment is realized. In an alternative implementation manner, the first video frame sequence includes a start frame, at least one data frame and an end frame which are sequentially arranged, wherein the RGB values of all pixels in the start frame are all first preset values, the RGB values of all pixels in the end frame are all second preset values, the RGB values of all pixels in the data frame are all third preset values if the data bit value in the first binary coded file corresponding to the data frame is 1, and the RGB values of all pixels in the data frame are all fourth preset values if the data bit value in the first binary coded file corresponding to the data frame is 0. According to the file transmission system based on the high-definition multimedia interface, the first video frame sequence is definitely composed of the starting frame, the at least one data frame and the ending frame which are sequentially arranged, and the special RGB preset value is set for each frame, so that a receiving end can rapidly and accurately identify the starting and ending boundary of file transmission, range confusion or misjudgment during analysis is avoided, and the accuracy of file transmission is impr