CN116437100B - Real-time high-speed transmission system for video compression data - Google Patents
Real-time high-speed transmission system for video compression data Download PDFInfo
- Publication number
- CN116437100B CN116437100B CN202310695730.7A CN202310695730A CN116437100B CN 116437100 B CN116437100 B CN 116437100B CN 202310695730 A CN202310695730 A CN 202310695730A CN 116437100 B CN116437100 B CN 116437100B
- Authority
- CN
- China
- Prior art keywords
- data
- module
- packet
- video
- video compression
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000006835 compression Effects 0.000 title claims abstract description 99
- 238000007906 compression Methods 0.000 title claims abstract description 99
- 230000005540 biological transmission Effects 0.000 title claims abstract description 22
- 238000005538 encapsulation Methods 0.000 claims abstract description 35
- 230000006837 decompression Effects 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 6
- 230000004075 alteration Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 239000012464 large buffer Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
- H04N19/423—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
- H04N19/426—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/30—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/015—High-definition television systems
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a real-time high-speed transmission system for video compression data. Comprising a transmitter and a receiver; the transmitter comprises a video compression coding module, a packet data encapsulation module, a physical layer coding module and a transmitting module, and the receiver comprises a receiving module, a physical layer decoding module, a packet data decapsulation module and a video compression decoding module. Compared with the traditional scheme of caching half line data or even one line data, the method can save great caching resources; the invention solves the problem of how to send the compression parameters by the compression algorithm, is compatible with the transmission scheme of the compressed data, and does not increase extra expenditure; the invention can meet the characteristic of high-speed link transmission as the traditional video interface, and can be compatible with a physical layer coding and decoding module using HDMI or DP interface, and realized with minimum cost.
Description
Technical Field
The invention relates to the technical field of video compression transmission, in particular to a real-time high-speed transmission system for video compression data.
Background
Video data is generally transmitted through a video interface such as an HDMI (High Definition Multimedia Interface, high-definition multimedia interface) interface or a DP (Display Port) interface. The video interfaces all have corresponding interface protocol standards, and different versions of the protocol standards prescribe the maximum interface cable transmission rate. Each interface protocol standard has a maximum transmission rate and cannot be normally transmitted once the data amount of the video data exceeds the maximum transmission rate of the video interface.
With the popularization of modern high-rate video, video signals have higher and higher requirements on bandwidth, and in order to make up for the shortage of bandwidth, VESA (Video Electronics Standards Association ) organizations provide DSC (Display Stream Compress, display stream compression) technology. By visually lossless compression, a compression ratio of 3:1 can be achieved. Even a single DP 1.4 interface can thus achieve a video data transmission of 4k@144hz or 8K. Of course, the pictures displayed using DSC techniques according to the VESA description are visually lossless rather than truly completely lossless, but are not visible to the average consumer to be used. The HDMI starts from HDMI 2.1, a DSC compression technology is introduced, and the maximum bandwidth which can be transmitted by the HDMI 2.1 interface cable is improved in a multiplied mode.
Video compression techniques have many other video compression algorithms besides DSC. Regardless of the video compression technique, the amount of video data may be compressed within a range that the video interface may transmit and transmitted through the transmitter of the video interface. And after receiving the video compression data, the receiver of the video interface decompresses the video compression data by the same video compression technology, so that the original video data can be obtained.
The video compression algorithm module interfaces with the DATA of the video interface transmitter/receiver, typically using a universal video signal interface, including CLK/VS/HS/DE/DATA signals, where VS represents frame synchronization, HS represents line synchronization, DE represents DATA valid, and DATA is video valid DATA. The DE is required to be valid continuously in the interface timing of the general video signal, i.e., the DE is valid to output one line of complete data at a time. The video compression algorithm module must ensure that the output compressed video data must be output as a line of valid data. The video compression algorithm module needs enough large buffer memory to ensure the output of one line of effective data. Typically at least half a line, and even one line, of video compression data is buffered.
In summary, the prior art has the following disadvantages:
1) The video compression algorithm module needs enough buffer memory, and is adapted to the universal video signal interface to output video compression data;
2) The universal video interface protocol standard only supports DSC compression algorithms, and supporting other compression algorithms also requires custom how to send compression parameters.
Disclosure of Invention
The invention aims to provide a real-time high-speed transmission system for video compression data, aiming at the defects existing in the prior art.
In order to achieve the above object, the present invention provides a real-time high-speed transmission system for video compression data, comprising a transmitter and a receiver;
the transmitter includes:
the video compression coding module is used for compressing video data according to a compression algorithm;
the package data encapsulation module is used for encapsulating the compressed video data by using an encapsulation data structure, the encapsulation data structure comprises data package data, a data package head and data package CRC check data, the data package head and the data package CRC check data are respectively arranged on the front side and the rear side of the data package data, the front side of the data package head is provided with a data package start mark, the rear side of the data package CRC check data is provided with a data package end mark, and the data package data, the data package head and the data package CRC check data all complete encoding encapsulation in the package data encapsulation module;
the physical layer coding module is used for coding the packaged data according to the physical layer requirement and coding the data packet start identifier and the data packet end identifier through special codes;
the sending module is used for sending out the coded data;
the receiver includes:
the receiving module is used for receiving the data sent by the sending module;
the physical layer decoding module is used for carrying out physical layer decoding on the received data and analyzing the data packet start identifier and the data packet end identifier;
the package data unpacking module is used for unpacking the data decoded by the physical layer according to the package data structure and obtaining effective video compression data according to the analyzed data package start identifier and the data package end identifier;
and the video compression decoding module is used for decompressing the effective video compression data according to a compression algorithm.
Further, the data packet header is used for identifying the packet data type, and is valid video compression data or special identification data.
Further, the special identification data comprises a frame start identification, a frame end identification, a line start identification and a line end identification.
Further, if the packet header is special identification data, the packet data is filled with a frame number or a line number.
Further, the video compression encoding module sends compression parameters used by video compression encoding and parameters of original video data to the packet data encapsulation module, the packet data encapsulation module encapsulates the compression parameters and the parameters of the original video data as first line data, and the packet data decompression module decompresses the compression parameters and the parameters of the original video data and sends the decompressed parameters and the parameters of the original video data to the video compression decoding module, so that the video compression decoding module decompresses the parameters of the original video data according to the compression parameters and the parameters of the original video data.
Further, the video compression encoding module outputs video compression data to the packet data encapsulation module in real time, and the packet data encapsulation module encapsulates the video compression data according to real-time effective data.
Further, the transmitting module is a SERDES transmitting module, and the receiving module is a SERDES receiving module.
Furthermore, the physical layer coding module and the physical layer decoding module both meet the requirement of direct current balance of a high-speed link, and support a physical layer scrambling and descrambling algorithm, a forward error correction coding algorithm and an encapsulation data structure.
The beneficial effects are that: 1. compared with the traditional scheme of caching half line data or even one line data, the method can save great caching resources;
2. the invention solves the problem of how to send the compression parameters by the compression algorithm, is compatible with the transmission scheme of the compressed data, and does not increase extra expenditure;
3. the invention can meet the characteristic of high-speed link transmission as the traditional video interface, and can be compatible with a physical layer coding and decoding module using HDMI or DP interface, and realized with minimum cost.
Drawings
Fig. 1 is a schematic structural diagram of a real-time high-speed transmission system for video compression data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a package data structure according to an embodiment of the present invention.
Detailed Description
The invention will be further illustrated by the following drawings and specific examples, which are carried out on the basis of the technical solutions of the invention, it being understood that these examples are only intended to illustrate the invention and are not intended to limit the scope of the invention.
As shown in fig. 1, an embodiment of the present invention provides a real-time high-speed transmission system of video compression data, which includes a transmitter 1 and a receiver 2. The transmitter 1 includes a video compression encoding module 11, a packet data encapsulation module 12, a physical layer encoding module 13, and a SERDES transmitting module 14. The receiver 2 includes a SERDES receiving module 21, a physical layer decoding module 22, a packet data decapsulating module 23, and a video compression decoding module 24.
Specifically, the video compression encoding module 11 is configured to compress video data according to a compression algorithm.
The packet data encapsulation module 12 is configured to encapsulate the video data compressed by the video compression encoding module 11 using an encapsulation data structure. Referring to fig. 2, the above-mentioned package data structure is: a packet start identifier SoP (Start of Packet), a packet header PH (Packet Header), packet data PB (Packet Body), packet CRC check data, and a packet end identifier EoP (End of Packet). Wherein the packet data PB (Packet Body), the packet header PH (Packet Header) and the packet CRC check data all complete the encoding and encapsulation within the packet data encapsulation module 12. The packet header PH is used to identify the packet data type, and may be valid video compression data or special identification data output by the video compression encoding module 11. The special identification data includes a Frame start identification FS (Frame Start), a Frame End identification FE (Frame End), a Line start identification LS (Line Start), a Line End identification LE (Line End), and the like to assist the decompression process. If the packet header PH is special identification data, the packet data PB is padded with the frame number or the line number. The packet CRC check data can ensure the integrity and correctness of the packet data. During this period, the video compression encoding module 11 preferably outputs the video compression data to the packet data encapsulation module 12 in real time, the packet data encapsulation module 12 encapsulates the video compression data according to real-time valid data, once the valid data enters the packet data encapsulation module 12, the packet data encapsulation module 12 encapsulates the valid data into packet data, and if no valid data comes, waits for the valid data to come again and then encapsulates the packet data.
The physical layer encoding module 13 is configured to encode the data encapsulated by the packet data encapsulation module 12 according to the physical layer requirement, and encode the packet start identifier and the packet end identifier by using special codes, so that the receiver 2 can quickly identify the start and end of the packet in the packet encapsulation data structure during decoding.
The transmitting module 14 is configured to transmit the data encoded by the physical layer encoding module 13 to the receiver 2. The transmission module 14 is preferably a SERDES transmission module to transmit data through a high-speed serial interface.
The receiving module 21 is configured to receive the data sent by the sending module 14. Correspondingly, the receiving module 21 is preferably a SERDES receiving module to receive data on the high-speed serial interface.
The physical layer decoding module 22 is configured to perform physical layer decoding on the data received by the receiving module 21, and parse out a packet start identifier and a packet end identifier.
The packet data decapsulation module 23 is configured to decapsulate the data decoded by the physical layer decoding module 22 according to the packet encapsulation data structure, and obtain valid video compression data according to the parsed packet start identifier and the packet end identifier.
The video compression decoding module 24 is configured to decompress the valid video compression data parsed by the packet data decapsulation module 23 according to a compression algorithm. Video compression decoding 24 decompresses the video compression data using the video compression parameters, and the decompressed video data needs to be transmitted in the original data format, using the parameters of the original video data. These parameters need to be transmitted from the video compression encoding module 11 to the video compression decoding module 24 in the following manner: the video compression encoding module 11 sends compression parameters used for video compression encoding and parameters of original video data to the packet data encapsulation module 12, the packet data encapsulation module 12 encapsulates the compression parameters and the parameters of the original video data as first line data, and the packet data decapsulation module 23 parses the compression parameters and the parameters of the original video data and sends the parsed parameters to the video compression decoding module 24, so that the video compression decoding module 24 decompresses according to the compression parameters and the parameters of the original video data.
The physical layer encoding module 13 and the physical layer decoding module 22 of the embodiment of the invention both meet the requirement of high-speed link direct current equalization, such as 8b10b encoding and decoding in the DP protocol and 16b/18b encoding and decoding in the HDMI protocol. A physical layer scrambling and descrambling algorithm, a forward error correction coding algorithm FEC (Forward Error Correction), and a wrapper data structure are supported.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that other parts not specifically described are within the prior art or common general knowledge to a person of ordinary skill in the art. Modifications and alterations may be made without departing from the principles of this invention, and such modifications and alterations should also be considered as being within the scope of the invention.
Claims (6)
1. A real-time high-speed transmission system for video compression data, which is characterized by comprising a transmitter and a receiver;
the transmitter includes:
the video compression coding module is used for compressing video data according to a compression algorithm;
the package data encapsulation module is used for encapsulating the compressed video data by using an encapsulation data structure, the encapsulation data structure comprises data package data, a data package head and data package CRC check data, the data package head and the data package CRC check data are respectively arranged on the front side and the rear side of the data package data, the front side of the data package head is provided with a data package start mark, the rear side of the data package CRC check data is provided with a data package end mark, and the data package data, the data package head and the data package CRC check data all complete encoding encapsulation in the package data encapsulation module;
the physical layer coding module is used for coding the packaged data according to the physical layer requirement and coding the data packet start identifier and the data packet end identifier through special codes;
the sending module is used for sending out the coded data;
the receiver includes:
the receiving module is used for receiving the data sent by the sending module;
the physical layer decoding module is used for carrying out physical layer decoding on the received data and analyzing the data packet start identifier and the data packet end identifier;
the package data unpacking module is used for unpacking the data decoded by the physical layer according to the package data structure and obtaining effective video compression data according to the analyzed data package start identifier and the data package end identifier;
the video compression decoding module is used for decompressing the effective video compression data according to a compression algorithm;
the video compression encoding module sends compression parameters used by video compression encoding and parameters of original video data to the packet data encapsulation module, the packet data encapsulation module encapsulates the compression parameters and the parameters of the original video data as first line data, and the packet data decompression module decompresses the compression parameters and the parameters of the original video data and sends the decompressed parameters and the parameters of the original video data to the video compression decoding module so that the video compression decoding module decompresses the parameters of the original video data according to the compression parameters and the parameters of the original video data;
the video compression coding module outputs video compression data to the packet data encapsulation module in real time, the packet data encapsulation module encapsulates real-time effective data, and if no effective data comes in currently, the packet encapsulation is carried out after waiting for the effective data to come in again.
2. A real-time high-speed transmission system of video compression data according to claim 1, wherein the packet header is used for identifying the packet data type and is valid video compression data or special identification data.
3. The system of claim 2, wherein the special identification data comprises a start of frame identification, an end of frame identification, a start of line identification, and an end of line identification.
4. A real-time high-speed transmission system for video compression data according to claim 3, wherein if the header is special identification data, the packet data is padded with a frame number or a line number.
5. The system of claim 1, wherein the transmitting module is a SERDES transmitting module and the receiving module is a SERDES receiving module.
6. The system of claim 5, wherein the physical layer encoding module and the physical layer decoding module each meet the requirement of high-speed link dc-equalization, and support physical layer scrambling and descrambling algorithms, forward error correction encoding algorithms, and envelope data structures.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310695730.7A CN116437100B (en) | 2023-06-13 | 2023-06-13 | Real-time high-speed transmission system for video compression data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310695730.7A CN116437100B (en) | 2023-06-13 | 2023-06-13 | Real-time high-speed transmission system for video compression data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116437100A CN116437100A (en) | 2023-07-14 |
CN116437100B true CN116437100B (en) | 2023-08-25 |
Family
ID=87091127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310695730.7A Active CN116437100B (en) | 2023-06-13 | 2023-06-13 | Real-time high-speed transmission system for video compression data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116437100B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117714736A (en) * | 2023-12-12 | 2024-03-15 | 广东保伦电子股份有限公司 | Video data transmission method, system and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1894908A (en) * | 2003-12-11 | 2007-01-10 | 松下电器产业株式会社 | Packet transmitter apparatus |
CN101272339A (en) * | 2008-05-15 | 2008-09-24 | 深圳华为通信技术有限公司 | Method, system, terminal and server for data frame receiving and dispatching |
CN101414922A (en) * | 2007-10-16 | 2009-04-22 | 华为技术有限公司 | Method and apparatus for sending and receiving IP data packet |
CN105516139A (en) * | 2015-12-09 | 2016-04-20 | 北京四达时代软件技术股份有限公司 | Network data transmission method, device and system |
WO2022111594A1 (en) * | 2020-11-26 | 2022-06-02 | 华为技术有限公司 | Data transmission method and electronic device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10817460B2 (en) * | 2019-08-28 | 2020-10-27 | Advanced New Technologies Co., Ltd. | RDMA data sending and receiving methods, electronic device, and readable storage medium |
US20210204020A1 (en) * | 2019-12-31 | 2021-07-01 | Shenzhen Lenkeng Technology Co., Ltd | Transmitting device, receiving device, transmitting method, and receiving method for multimedia data |
-
2023
- 2023-06-13 CN CN202310695730.7A patent/CN116437100B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1894908A (en) * | 2003-12-11 | 2007-01-10 | 松下电器产业株式会社 | Packet transmitter apparatus |
CN101414922A (en) * | 2007-10-16 | 2009-04-22 | 华为技术有限公司 | Method and apparatus for sending and receiving IP data packet |
CN101272339A (en) * | 2008-05-15 | 2008-09-24 | 深圳华为通信技术有限公司 | Method, system, terminal and server for data frame receiving and dispatching |
CN105516139A (en) * | 2015-12-09 | 2016-04-20 | 北京四达时代软件技术股份有限公司 | Network data transmission method, device and system |
WO2022111594A1 (en) * | 2020-11-26 | 2022-06-02 | 华为技术有限公司 | Data transmission method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN116437100A (en) | 2023-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3999273B2 (en) | Sending computer network data as part of a vertical blanking period | |
CN108989708B (en) | Low-speed control signal photoelectric conversion module of universal multimedia interface | |
CN116437100B (en) | Real-time high-speed transmission system for video compression data | |
CN110896431B (en) | Non-compression high-definition video transmission method and system | |
US20230102364A1 (en) | Transmitting method, receiving method, transmitting device, and receiving device for high-definition video data | |
CN104144331B (en) | The device of multiway images/video data encoder transmission is realized using single SDI passages | |
CN110868426A (en) | Data transmission method, system and equipment | |
CN111083170A (en) | Method and equipment for sending and receiving multimedia data | |
CN111918013B (en) | HDMI8K100/120 video judgment and output method and device | |
CN108924502A (en) | A kind of portable image transmission system and its figure transmission method | |
EP1648133B2 (en) | A method for encapsulating data stream | |
CN117676264A (en) | Data transmitting device, data receiving device and electronic device | |
WO2017157168A1 (en) | Method, terminal, system and computer storage medium for video calling | |
CN115499506B (en) | MQTT information transmission data compression method based on LZW algorithm and server | |
CN213547715U (en) | High-definition video data sending device, receiving device and transmission system | |
US10355823B2 (en) | System and method for block-coding transcoding | |
US20110321102A1 (en) | Process for locally diffusing the audio/video content between a source device including a hdmi connector and a receptor device | |
CN210986124U (en) | Transmitting and receiving device and system for audio and video data in long-distance transmission scene | |
CN113132766B (en) | VBR (visual basic) sending method of TS (transport stream) packaging format | |
CN115103228A (en) | Video streaming transmission method, device, electronic equipment, storage medium and product | |
CN107249113B (en) | Signal extension method and system | |
CN102625018B (en) | IMS (IP Multimedia Subsystem) facsimile implementation method based on XML (Extensive Makeup Language) tunnel | |
CN110868391A (en) | Remote transmission method, system and equipment | |
CN218041574U (en) | High-definition video signal transmission system | |
CN205092920U (en) | High resolution video transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |