A video transmission method and apparatus

By adding a synchronization header and link encoding to the video data stream inside the video display device, the problem of requiring multiple interfaces for the transmission of multiple video data streams is solved, resulting in cost reduction and improved reliability.

CN118202652BActive Publication Date: 2025-10-31HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202180104026.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-16
Publication Date
2025-10-31
Estimated Expiration
2041-11-16

AI Technical Summary

Technical Problem

Existing video signal transmission interface standards only support the transmission of a single video data stream within video display devices, which means that multiple interfaces are required when multiple video data streams need to be transmitted, increasing costs.

Method used

By link encoding the video data stream, adding a synchronization header to indicate the data stream and character type, and transmitting multiple video data streams through a single video signal transmission interface, link encoding and checksum encoding are used to improve transmission reliability.

Benefits of technology

It enables the transmission of multiple video data streams through a single interface, reducing costs and improving transmission reliability and display quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118202652B_ABST
    Figure CN118202652B_ABST
Patent Text Reader

Abstract

This application provides a video transmission method and apparatus capable of transmitting at least one video data stream through a set of video signal transmission interfaces, which helps to reduce cost. The apparatus may include: a link encoder and a port; the link encoder is used to perform link encoding on at least one video data stream to obtain at least one target data, each of the at least one video data streams including multiple symbols, the symbol type of which includes control symbols or valid data symbols; each of the at least one target data includes a first synchronization header and a target character, the target character including at least two of the multiple symbols; the first synchronization header is used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including control characters or data characters; the at least one target data is transmitted to the port; the port is used to transmit the at least one target data to a receiving end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of multimedia technology, and more particularly to a video transmission method and apparatus in the field of multimedia technology. Background Technology

[0002] Existing video display devices support only a single video data stream transmission standard within their internal chip interfaces, such as the VBO (V-by-One HS) interface. This applies to communication between chips within the device, such as between a system-on-chip (SOC) chip and a picture quality (PQ) chip, or between an SOC chip and a timing controller (TCON) chip, or between a PQ chip and a TCON chip. In other words, only a single video data stream can be transmitted between two chips using a single VBO interface.

[0003] However, in practical applications, there may be scenarios where two or more video data streams (i.e., dual streams) or more video data streams (i.e., multi-streams) are transmitted between the chips inside a video display device.

[0004] Therefore, in application scenarios where dual or multiple streams are transmitted within video equipment, using existing video signal transmission interface standards requires each video data stream to have its own independent video signal transmission interface, which results in significant costs. Summary of the Invention

[0005] This application provides a video transmission method and apparatus that can transmit at least one video data stream through a set of video signal transmission interfaces, which helps to reduce cost.

[0006] In a first aspect, this application provides a video transmission method, which may include: performing link coding on at least one video data stream to obtain at least one target data, each video data stream in the at least one video data stream including multiple symbols, the symbol type of the symbols including control symbols or valid data symbols, each target data including the at least one target data including a first synchronization header and a target character, the target character including at least two symbols from the multiple symbols, the first synchronization header being used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including control characters or data characters; and transmitting the at least one target data to a receiving end.

[0007] Alternatively, the method can be executed by the sending end. For example, the method can be executed by the video transmission device on the sending end side.

[0008] Using the video transmission method provided in this application embodiment, the sending end adds a first synchronization header to each target character in at least one video data stream. The first synchronization header is used to indicate the video data stream to which each target character belongs and the character type of each target character. The sending end then sends the target character with the added first synchronization header to the receiving end. In this way, the at least one video data stream can be transmitted through a single video signal transmission interface, which helps to reduce cost.

[0009] Optionally, the number of at least one video data stream described in this application may be one, two, or more, and this application does not limit this.

[0010] Optionally, this application does not limit the source of the at least one video data stream.

[0011] For example, when the number of at least one video data stream is 1, this 1 video data stream can be a video data stream formed from original video images (or original video image sequences).

[0012] For example, when the number of at least one video data stream is two, these two video data streams may include two video data streams formed from original video images (or sequences of original video images).

[0013] For example, when the number of at least one video data stream is two, the two video data streams may include one video data stream formed from the original video images (or the original video image sequence) and one video data stream formed from the backlight images (or the backlight image sequence).

[0014] Optionally, the control symbols described in the embodiments of this application can be symbols formed from control data such as vertical blanking symbols, horizontal blanking symbols, or video start symbols.

[0015] Optionally, the effective data symbols described in the embodiments of this application can be symbols formed from effective data such as blanking area data or pixel area data.

[0016] In one possible implementation, the length of the various symbols described in this application (such as control symbols, valid data symbols, etc.) can be 16 bits, that is, the length of one symbol is equal to the length of two bytes.

[0017] In one possible implementation, the data in a video frame can be grouped into a symbol of 16 bits each to form a video data stream.

[0018] Optionally, when the number of valid data bits is not an integer multiple of 16 bits, padding data (such as padding with 0) is required to make it an integer multiple of 16, where 0 < number of padding data bits < 16, to ensure that the vertical blanking character, horizontal blanking character, or video start character appears in a 16-bit aligned position, and the padding data is considered valid data.

[0019] Optionally, the video data stream described in this application may be formed from the data of multiple video frames included in a video frame sequence.

[0020] In one possible implementation, the link coding described in this application can be 128b / 132b link coding.

[0021] In one possible implementation, the length of the various synchronization headers (such as the first synchronization header) described in this application can be 4 bits, the length of the various characters (such as control characters, data characters, etc.) described in this application can be 128 bits (that is, the length of 1 character is equal to the length of 8 symbols), and the length of the target data described in this application can be 132 bits.

[0022] In one possible implementation, the symbols included in the at least one video data stream can be grouped into a character by 8 symbols, and the character can be divided into two types: data characters and control characters, depending on whether the character includes control symbols.

[0023] In other words, the control characters described in this application may include at least two symbols, at least one of which is a control symbol; the data characters described in this application may include at least two symbols, both of which are valid data symbols.

[0024] In one possible implementation, the format of the control character needs to satisfy the condition that the first control symbol in the control character is located at the position of the first symbol of the control character, that is, the first symbol of the control character is the control symbol.

[0025] However, in the process of forming one control character from eight symbols in the video data stream, the control symbol is not necessarily the first symbol of the control character, that is, the first symbol of the control character is the valid data symbol.

[0026] Therefore, these eight symbols need to be specially processed during the generation of control characters so that the processed eight characters meet the above-mentioned format requirements for control characters.

[0027] In one possible implementation, in order for the receiving end to know the original position of the first control symbol in the control character, the position and type (or identifier) ​​of the first control symbol in the control character are indicated by the first symbol in the control character.

[0028] Optionally, the first symbol in the control character can indicate the position and type of the first control symbol in the control character in a variety of ways, and the embodiments of this application do not limit this.

[0029] In one possible implementation, the first symbol in the control character may include a first byte and a second byte, the first byte being used to indicate the position of the first control symbol and the second byte being used to indicate the type of the first control symbol.

[0030] For example, the KD_Dis byte of the control character being "00000100" indicates that the position of the first control symbol in the control character is symbol 2, and the K_Type byte of the control character being "00000011" indicates that the type of the first control symbol is the video start symbol (i.e., 0x03).

[0031] Optionally, the first synchronization header may indicate the video data stream to which the target character belongs and the character type of the target character through 4 bits in various ways, and this application does not limit this.

[0032] In one possible implementation, the synchronization header can indicate the video data stream to which the target character belongs using the first of four bits, and the character type of the target character using the second of four bits.

[0033] In one possible implementation, taking the at least one video data stream including video data stream 0 and video data stream 1 as an example, the first bit of the first synchronization header of the target character being "0" can indicate that the target character belongs to a data character, and the first bit being "1" can indicate that the target character belongs to a control character. The second bit of the first synchronization header of the target character being "0" can indicate that the target character belongs to video data stream 0, and the second bit being "1" can indicate that the target character belongs to video data stream 1.

[0034] Optionally, before the sending end sends the at least one target data to the receiving end, the sending end may perform verification encoding on the at least one target data to obtain at least one first verification symbol; the sending end sending the at least one target data to the receiving end may specifically include: sending an encoding block to the receiving end, the encoding block including the at least one target data and the verification data of the at least one target data, the verification data including a second synchronization header and a verification character, the verification character including an RS symbol and the at least one first verification symbol, wherein the second synchronization header is used to indicate the video data stream to which the verification character belongs and the character type of the verification character, and the RS symbol is used to indicate the position of the first control symbol in the verification character and the type of the first control symbol in the verification character.

[0035] The video transmission method provided in this application embodiment verifies and encodes the at least one target data, thereby increasing the reliability of video transmission and ensuring the quality of the image displayed at the receiving end.

[0036] In one possible implementation, if the at least one first check symbol and the at least one second check symbol are the same, or if the number of identical symbols among the at least one first check symbol and the at least one second check symbol is greater than a preset number threshold, then the sending end can determine that the at least one target data is correct, thereby obtaining the at least one target data.

[0037] Optionally, if the at least one first check symbol and the at least one second check symbol are different, or if the number of identical symbols among the at least one first check symbol and the at least one second check symbol is less than or equal to a preset number threshold, then the sending end can determine that the at least one target data has an error and needs to be corrected according to the RS rule.

[0038] In one possible implementation, the number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

[0039] In one possible implementation, the sending end can perform check encoding on the target character of each target data in the at least one target data and a portion of the bits of the first synchronization header of each target data to obtain the at least one first check symbol.

[0040] Optionally, the sending end may employ various algorithms to verify and encode the at least one target data, and this application does not limit this.

[0041] In one possible implementation, the sender may employ the Reed-Solomon (RS) algorithm, such as the RS(242,228) algorithm, to perform check encoding on the at least one target data.

[0042] Optionally, when there are multiple target data (or coded blocks), the sending end can send the multiple target data (or coded blocks) to the receiving end in various ways, and this application does not limit this.

[0043] In one possible implementation, the sending end can perform parallel-to-serial conversion on the multiple target data (or coded blocks) to obtain a transmission data stream; and send the transmission data stream to the receiving end.

[0044] In one possible implementation, taking a coded block as an example, the transmitting end can add a pre-scrambling reset (SR) character or a character delimiter (CD) character to every P coded blocks to obtain multiple transmission data blocks, where P is an integer greater than 1; a transmission data slice is obtained based on Q transmission data blocks, where Q is an integer greater than 1; the transmission data stream is obtained based on at least one transmission data slice; and the transmission data stream is sent to the receiving end.

[0045] Using the video transmission method provided in this application, the transmitting end converts multiple low-speed parallel signals into high-speed serial signals and transmits them to the receiving end. The receiving end then converts the received high-speed serial signals back into low-speed parallel signals. This point-to-point serial communication technology makes full use of the channel capacity of the transmission medium, reduces the number of required transmission channels and device pins, and can improve the transmission speed of video signals, thereby reducing communication costs.

[0046] Secondly, this application also provides another video transmission method, which may include: receiving at least one target data from a transmitter, each target data including a first synchronization header and a target character, the target character including at least two symbols, the first synchronization header being used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including a control character or a data character; performing link decoding on the at least one target data to obtain at least one video data stream, each video data stream including multiple symbols, the symbol type including control symbols or valid data symbols, the multiple symbols including the at least two symbols.

[0047] Alternatively, the method can be executed by the receiving end. For example, the method can be executed by the video transmission device on the receiving end side.

[0048] In other words, the receiving end can recover at least one video data stream based on the character type of each target character and the video data stream to which each target character belongs.

[0049] The video transmission method provided in this application involves a receiving end receiving at least one target data. Based on a first synchronization header in each of the at least one target data, the receiving end determines the video data stream to which a target character belongs and the character type of the target character. Then, based on the character type of the target character and the video data stream to which the target character belongs, the receiving end recovers the at least one video data stream. This method enables the transmission of the at least one video data stream through a single video signal transmission interface, which helps reduce cost.

[0050] Alternatively, the method can also be performed by a video transmission device on the receiving end side.

[0051] In one possible implementation, the number of the at least one video data stream is two or more.

[0052] In one possible implementation, the symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

[0053] In one possible implementation, if both of the at least two symbols are valid data symbols, then the target character is a data character.

[0054] In one possible implementation, if at least one of the at least two symbols is a control symbol, then the target character is a control character.

[0055] In one possible implementation, the position of the first control symbol among the at least two symbols and the type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

[0056] In one possible implementation, receiving at least one target data from a transmitter includes: receiving an encoded block from the transmitter, the encoded block including the at least one target data and check data of the at least one target data, the check data including a second synchronization header and a check character, the check character including an RS symbol and at least one first check symbol, wherein the second synchronization header is used to indicate the video data stream to which the check character belongs and the character type of the check character, the RS symbol is used to indicate the position of the first control symbol in the check character and the type of the first control symbol in the check character, and the at least one first check symbol is obtained by check encoding the at least one target data; determining at least one first check symbol in the check data based on the second synchronization header and the RS symbol in the check data; performing check encoding on the at least one target data to obtain at least one second check symbol; and determining the at least one target data based on the at least one first check symbol and the at least one second check symbol.

[0057] In one possible implementation, if the at least one first check symbol and the at least one second check symbol are the same, or if the number of identical symbols among the at least one first check symbol and the at least one second check symbol is greater than a preset number threshold, then the sending end can determine that the at least one target data is correct, thereby obtaining the at least one target data.

[0058] Optionally, if the at least one first check symbol and the at least one second check symbol are different, or if the number of identical symbols among the at least one first check symbol and the at least one second check symbol is less than or equal to a preset number threshold, then the sending end can determine that the at least one target data has an error and needs to be corrected according to the RS rule.

[0059] The video transmission method provided in this application embodiment verifies and encodes the at least one target data, thereby increasing the reliability of video transmission and ensuring the quality of the image displayed at the receiving end.

[0060] In one possible implementation, the number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

[0061] In one possible implementation, the number of at least one target data is multiple, and receiving multiple target data from the sending end includes: receiving a transmission data stream from the sending end; performing serial-to-parallel conversion on the transmission data stream to obtain the multiple target data.

[0062] Using the video transmission method provided in this application, the transmitting end converts multiple low-speed parallel signals into high-speed serial signals and transmits them to the receiving end. The receiving end then converts the received high-speed serial signals back into low-speed parallel signals. This point-to-point serial communication technology makes full use of the channel capacity of the transmission medium, reduces the number of required transmission channels and device pins, and can improve the transmission speed of video signals, thereby reducing communication costs.

[0063] Thirdly, this application provides a video transmission apparatus, which may include a link encoding unit and a transmission unit. The link encoding unit is used to perform link encoding on at least one video data stream to obtain at least one target data. Each video data stream includes multiple symbols, the symbol type of which includes control symbols or valid data symbols. Each target data includes a first synchronization header and a target character, the target character including at least two of the multiple symbols. The first synchronization header is used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including control characters or data characters. The transmission unit is used to transmit the at least one target data to a receiving end.

[0064] In one possible implementation, the number of the at least one video data stream is two or more.

[0065] In one possible implementation, the number of the at least one video data stream is two or more.

[0066] In one possible implementation, the symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

[0067] In one possible implementation, the target character is a data character if both of the at least two symbols are valid data symbols.

[0068] In one possible implementation, the target character is a control character if at least one of the at least two symbols is a control symbol.

[0069] In one possible implementation, the position of the first control symbol among the at least two symbols and the type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

[0070] In one possible implementation, the apparatus may further include a verification encoding unit; the verification encoding unit is used to perform verification encoding on the at least one target data before the transmitting unit transmits the at least one target data to the receiving end, to obtain at least one first verification symbol; the transmitting unit is specifically used to transmit an encoding block to the receiving end, the encoding block including the at least one target data and verification data of the at least one target data, the verification data including a second synchronization header and a verification character, the verification character including an RS symbol and the at least one first verification symbol, wherein the second synchronization header is used to indicate the video data stream to which the verification character belongs and the character type of the verification character, and the RS symbol is used to indicate the position of the first control symbol in the verification character and the type of the first control symbol in the verification character.

[0071] In one possible implementation, the number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

[0072] In one possible implementation, the number of at least one target data is multiple, and the sending unit is specifically used to perform parallel-to-serial conversion on the multiple target data to obtain a transmission data stream; and send the transmission data stream to the receiving end.

[0073] Fourthly, this application also provides another video transmission apparatus, which may include: a receiving unit and a link decoding unit. The receiving unit is used to receive at least one target data from a transmitting end, each target data including a first synchronization header and a target character, the target character including at least two symbols, the first synchronization header indicating the video data stream to which the target character belongs and the character type of the target character, the character type including control characters or data characters; and to send the at least one target data to the link decoder. The link decoding unit is used to perform link decoding on the at least one target data to obtain at least one video data stream, each video data stream including multiple symbols, the symbol type including control symbols or valid data symbols, the multiple symbols including the at least two symbols.

[0074] In one possible implementation, the number of the at least one video data stream is two or more.

[0075] In one possible implementation, the symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

[0076] In one possible implementation, the target character is a data character if both of the at least two symbols are valid data symbols.

[0077] In one possible implementation, the target character is a control character if at least one of the at least two symbols is a control symbol.

[0078] In one possible implementation, the position of the first control symbol among the at least two symbols and the type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

[0079] In one possible implementation, the device 500 may further include a verification decoding unit; the receiving unit is specifically configured to receive an encoded block from the transmitting end, the encoded block including at least one target data and verification data of the at least one target data, the verification data including a second synchronization header and a verification character, the verification character including an RS symbol and at least one first verification symbol, wherein the second synchronization header is used to indicate the video data stream to which the verification character belongs and the character type of the verification character, the RS symbol is used to indicate the position of the first control symbol in the verification character and the type of the first control symbol in the verification character, the at least one first verification symbol being obtained by verification encoding of the at least one target data; the verification decoding unit is configured to determine at least one first verification symbol in the verification data based on the second synchronization header and the RS symbol in the verification data; perform verification encoding on the at least one target data to obtain at least one second verification symbol; and determine the at least one target data based on the at least one first verification symbol and the at least one second verification symbol.

[0080] In one possible implementation, the number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

[0081] In one possible implementation, the number of the at least one target data is multiple, and the receiving unit is specifically used to receive the transmission data stream from the sending end; and to perform serial-to-parallel conversion on the transmission data stream to obtain the multiple target data.

[0082] Fifthly, this application also provides a video transmission apparatus, which may include at least one processor and at least one communication interface, wherein the at least one processor and the at least one communication interface are coupled, the at least one communication interface is used to provide data to the at least one processor, and the at least one processor is used to execute computer program instructions to perform the video transmission method described in the first aspect and any possible implementation thereof.

[0083] Alternatively, the device can be a chip or an integrated circuit.

[0084] In a sixth aspect, this application also provides another video transmission apparatus, which may include at least one processor and at least one communication interface, the at least one processor and the at least one communication interface being coupled, the at least one communication interface being used to provide data to the at least one processor, and the at least one processor being used to execute computer program instructions to perform the video transmission method described in the second aspect and any possible implementation thereof.

[0085] Alternatively, the device can be a chip or an integrated circuit.

[0086] In a seventh aspect, this application also provides a video transmission apparatus, which may include: a link encoder and a port; the link encoder is used to perform link encoding on at least one video data stream to obtain at least one target data, each of the at least one video data stream includes multiple symbols, the symbol type of which includes control symbols or valid data symbols, each of the at least one target data includes a first synchronization header and a target character, the target character includes at least two of the multiple symbols, the first synchronization header is used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including control characters or data characters; the at least one target data is transmitted to the port; the port is used to transmit the at least one target data to a receiving end.

[0087] In one possible implementation, the number of the at least one video data stream is two or more.

[0088] In one possible implementation, the symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

[0089] In one possible implementation, the target character is a data character if both of the at least two symbols are valid data symbols.

[0090] In one possible implementation, the target character is a control character if at least one of the at least two symbols is a control symbol.

[0091] In one possible implementation, the position of the first control symbol among the at least two symbols and the type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

[0092] In one possible implementation, the device further includes: a verification encoder; the link encoder is specifically used to send the at least one target data to the verification encoder; the verification encoder is used to perform verification encoding on the at least one target data to obtain at least one first verification symbol; a coded block is sent to the port, the coded block including the at least one target data and verification data of the at least one target data, the verification data including a second synchronization header and a verification character, the verification character including an RS symbol and the at least one first verification symbol, wherein the second synchronization header is used to indicate the video data stream to which the verification character belongs and the character type of the verification character, the RS symbol is used to indicate the position of the first control symbol in the verification character and the type of the first control symbol in the verification character; the port is specifically used to send the coded block to the receiving end.

[0093] In one possible implementation, the number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

[0094] In one possible implementation, the number of at least one target data is multiple, and the port has a parallel-to-serial conversion function; the port is specifically used to perform parallel-to-serial conversion on multiple target data to obtain a transmission data stream; and to send the transmission data stream to the receiving end.

[0095] Eighthly, this application provides a video transmission apparatus, which may include: a port and a link decoder; the port is used to receive at least one target data from a transmitter, each target data including a first synchronization header and a target character, the target character including at least two symbols, the first synchronization header being used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including a control character or a data character; the port is used to send the at least one target data to the link decoder; the link decoder is used to perform link decoding on the at least one target data to obtain at least one video data stream, each video data stream including multiple symbols, the symbol type including control symbols or valid data symbols, the multiple symbols including the at least two symbols.

[0096] In one possible implementation, the number of the at least one video data stream is two or more.

[0097] In one possible implementation, the symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

[0098] In one possible implementation, the target character is a data character if both of the at least two symbols are valid data symbols.

[0099] In one possible implementation, the target character is a control character if at least one of the at least two symbols is a control symbol.

[0100] In one possible implementation, the position of the first control symbol among the at least two symbols and the type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

[0101] In one possible implementation, the apparatus further includes: a verification decoder; the port is specifically configured to receive an encoded block from the transmitting end, the encoded block including at least one target data and verification data of the at least one target data, the verification data including a second synchronization header and a verification character, the verification character including an RS symbol and at least one first verification symbol, wherein the second synchronization header is used to indicate the video data stream to which the verification character belongs and the character type of the verification character, the RS symbol is used to indicate the position of the first control symbol in the verification character and the type of the first control symbol in the verification character, the at least one first verification symbol being obtained by verification encoding of the at least one target data; sending the encoded block to the link decoder; the link decoder is specifically configured to determine at least one first verification symbol in the verification data based on the second synchronization header and the RS symbol in the verification data; performing verification encoding on the at least one target data to obtain at least one second verification symbol; and determining the at least one target data based on the at least one first verification symbol and the at least one second verification symbol.

[0102] In one possible implementation, the number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

[0103] In one possible implementation, the number of at least one target data is multiple, and the port has a serial-to-parallel conversion function: the port is specifically used to receive the transmission data stream from the sending end; and to perform serial-to-parallel conversion on the transmission data stream to obtain multiple target data.

[0104] Ninthly, this application also provides a video transmission system, which may include the video transmission device as described in the third aspect and any possible implementation thereof, and the video transmission device as described in the fourth aspect and any possible implementation thereof; or, the system may include the video transmission device as described in the fifth aspect and any possible implementation thereof, and the video transmission device as described in the sixth aspect and any possible implementation thereof; or, the system may include the video transmission device as described in the seventh aspect and any possible implementation thereof, and the video transmission device as described in the eighth aspect and any possible implementation thereof.

[0105] In a tenth aspect, this application also provides a computer-readable storage medium for storing a computer program that, when executed by a processor, implements the video transmission method described in the first aspect and any possible implementation thereof, or the video transmission method described in the second aspect and any possible implementation thereof.

[0106] In the eleventh aspect, this application also provides a computer program product that, when running on a processor, implements the video transmission method described in the first aspect and any possible implementation thereof, or the video transmission method described in the second aspect and any possible implementation thereof.

[0107] The video transmission device, computer storage medium, computer program product, chip, and system provided in this application are all used to execute the video transmission method provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the video transmission method provided above, and will not be repeated here. Attached Figure Description

[0108] Figure 1 This is a schematic block diagram of the video transmission system 100 provided in an embodiment of this application;

[0109] Figure 2 This is a schematic flowchart of the video transmission method 200 provided in the embodiments of this application;

[0110] Figure 3 This is a schematic diagram of the encoding of a video frame provided in an embodiment of this application;

[0111] Figure 4 This is a schematic diagram of the video data stream provided in an embodiment of this application;

[0112] Figure 5 This is a schematic diagram of characters formed by a video data stream provided in an embodiment of this application;

[0113] Figure 6 This is a schematic diagram illustrating the processing of control characters provided in an embodiment of this application;

[0114] Figure 7 This is a schematic diagram illustrating the processing of control characters provided in an embodiment of this application;

[0115] Figure 8 This is a schematic diagram of the format of control characters provided in the embodiments of this application;

[0116] Figure 9 This is a flowchart illustrating the verification encoding provided in an embodiment of this application;

[0117] Figure 10 This is a schematic diagram of a transmission data block provided in an embodiment of this application;

[0118] Figure 11 This is a schematic diagram of a data transmission segment provided in an embodiment of this application;

[0119] Figure 12 This is a schematic block diagram of the video transmission device 300 provided in the embodiments of this application;

[0120] Figure 13 This is a schematic block diagram of the video transmission device 400 provided in the embodiments of this application;

[0121] Figure 14 This is another schematic block diagram of the video transmission device 400 provided in the embodiments of this application;

[0122] Figure 15 This is a schematic block diagram of the video transmission device 500 provided in the embodiments of this application;

[0123] Figure 16 This is a schematic block diagram of the video transmission system 600 provided in an embodiment of this application;

[0124] Figure 17 This is another schematic block diagram of the video transmission system 600 provided in the embodiments of this application. Detailed Implementation

[0125] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0126] First, let me introduce the video transmission system used in the video transmission method and apparatus provided in this application.

[0127] Please refer to Figure 1 , Figure 1 A schematic block diagram of a video transmission system 100 provided in an embodiment of this application is shown. Figure 1 As shown, the system 100 includes a transmitter 11 and a receiver 12. The transmitter 11 includes a video transmission device 110, and the receiver 12 includes a video transmission device 120. The video transmission devices 110 and 120 can be connected via one or more channels. The video transmission device 110 is used to determine the video data stream to be transmitted and send the video data stream to the video transmission device 120 through the one or more channels.

[0128] Optionally, this application does not limit the specific form of the transmitter 11 and the video transmission device.

[0129] In one possible implementation, the transmitter 11 and the receiver 12 can be applied to (or be) different video display devices.

[0130] In another possible implementation, the transmitter 11 and the receiver 12 can be applied to the same video display device.

[0131] It should be noted that the video display device described in this application can be any device with video display functionality. For example, the video display device can be a television, computer, tablet computer, game console, wearable device, etc.

[0132] For example, if the transmitter 11 and the receiver 12 are applied to (or are) different video display devices, the transmitter 11 can be a game console and the receiver 12 can be a television.

[0133] For example, taking the transmitter 11 and receiver 12 as being applied to the same video display device, the transmitter 11 can be the SOC chip of the TV, and the receiver 12 can be the PQ chip of the TV; or, the transmitter 11 can be the PQ chip of the TV, and the receiver 12 can be the TCON chip of the TV; or, the transmitter 11 can be the SOC chip of the TV, and the receiver 12 can be the PQ chip of the TV.

[0134] It should be noted that the video transmission device 110, the video transmission device 120, and one or more channels used to connect the video transmission device 110 and the video transmission device 120 are collectively referred to as a set of video signal transmission interfaces.

[0135] In existing technologies, a single video signal transmission interface can only support the transmission of one video data stream. In application scenarios where at least two video data streams need to be transmitted between the chips inside a video display device, each video data stream needs to be transmitted using an independent set of video signal transmission interfaces.

[0136] For example, the video image output by the SOC chip of a video display device may contain not only the original video image to be played, but also on-screen display (OSD) images or user interface (UI) images. The introduction of OSD (or UI) images will affect the image quality enhancement effect of the PQ chip on the original video image. Therefore, when using a PQ chip to process the original video image and the OSD (or UI) image, the SOC chip needs to transmit the original video image and the OSD (or UI) image separately to the PQ chip through two sets of video signal transmission interfaces. The PQ chip will first enhance the original video image and then overlay it with the OSD (or UI) image.

[0137] For example, to address the brightness and contrast deficiencies of liquid crystal displays (LCDs), video display devices have introduced full-array local dimming (FALD) technology. FALD enhances display brightness and contrast by adjusting the brightness of the backlight in different zones. Compared to ordinary LCD display technology, FALD effectively enhances display brightness and contrast. Furthermore, FALD can achieve black frame insertion (BFI) through backlight flicker and backlight scanning technology, improving artifacts caused by visual persistence. When using FALD, the backlight data is essentially a low-resolution video image containing only brightness information. Therefore, the SOC chip needs to transmit the original video image and the backlight image separately to the TCON chip through two sets of video signal transmission interfaces. The TCON chip then illuminates the screen based on the backlight image and the original video image.

[0138] In view of the above problems, this application provides a video transmission method and apparatus that can transmit one or more video data streams through a set of video signal transmission interfaces.

[0139] Figure 2 This illustration shows a schematic flowchart of a video transmission method 200 provided in an embodiment of this application. The method 200 can be applied to… Figure 1 In system 100 as shown. As Figure 2 As shown, the method 200 may include the following steps. It should be noted that the steps listed below may be performed in various orders and / or occur simultaneously, and are not limited to... Figure 2 The execution order is shown.

[0140] S201, the transmitting end performs link coding on at least one video data stream to obtain at least one target data. Each video data stream in the at least one video data stream includes multiple symbols. The symbol type of the symbols includes control symbols or valid data symbols. Each target data in the at least one target data includes a first synchronization header and a target character. The target character includes at least two symbols from the multiple symbols. The first synchronization header is used to indicate the video data stream to which the target character belongs and the character type of the target character. The character type includes control characters or data characters.

[0141] Optionally, the number of at least one video data stream described in this application may be one, two, or more, and this application does not limit this.

[0142] Optionally, this application does not limit the source of the at least one video data stream.

[0143] For example, when the number of at least one video data stream is 1, this 1 video data stream can be a video data stream formed from original video images (or original video image sequences).

[0144] For example, when the number of at least one video data stream is two, these two video data streams may include two video data streams formed from original video images (or sequences of original video images).

[0145] For example, when the number of at least one video data stream is two, the two video data streams may include one video data stream formed from the original video images (or the original video image sequence) and one video data stream formed from the backlight images (or the backlight image sequence).

[0146] It should be noted that a video frame (i.e., a video image) can be composed of a horizontal blankstart (HBS) (also known as a line blankstart), a horizontal blanking area (also known as a line blanking area), a vertical blankstart (VBS) (also known as a field blankstart), a vertical blanking area (also known as a field blanking area), an active video start (AVS), and a pixel area.

[0147] The horizontal direction is synchronized by the horizontal synchronization signal (HSYNC) (also known as the horizontal synchronization signal), the vertical direction is synchronized by the vertical synchronization signal (VSYNC) (also known as the vertical synchronization signal), and the pixel area is enabled by the effective display data strobe signal (DE).

[0148] Example, Figure 3 This illustration shows a schematic diagram of the encoding of a video frame provided in an embodiment of this application. For example... Figure 3 As shown, a video frame may include a VBS, a vertical blanking region, an HBS, a horizontal blanking region, an AVS, and a pixel area. Among these, Figure 3 VBS, HBS, and AVS in the data belong to control data. Figure 3 The vertical blanking area data, row blanking area data, and pixel area data in the data are considered valid data.

[0149] Optionally, the control symbols described in the embodiments of this application can be symbols formed from control data such as VBS, HBS, or AVS.

[0150] Optionally, the effective data symbols described in the embodiments of this application can be symbols formed from effective data such as blanking area data or pixel area data.

[0151] In one possible implementation, the length of the various symbols described in this application (such as control symbols, valid data symbols, etc.) can be 16 bits, that is, the length of one symbol is equal to the length of two bytes.

[0152] In one possible implementation, the data in a video frame can be grouped into a symbol of 16 bits each to form a video data stream.

[0153] For example, will Figure 3 The video frames shown can be obtained by composing each 16-bit segment into a symbol, as follows: Figure 4 The video data stream shown is Figure 4 Each line in the code represents a 16-bit symbol. Figure 4 The "black background area" shows the control symbols formed by VBS, HBS, and AVS, while the "white background area" shows the valid data symbols formed by horizontal blanking area data, vertical blanking area data, and pixel area data.

[0154] Optionally, when the number of valid data bits is not an integer multiple of 16 bits, padding data (such as padding with 0) is required to make it an integer multiple of 16, where 0 < number of padding data bits < 16, to ensure that VBS, HBS, and AVS appear in the 16-bit aligned position, and the padding data is considered valid data.

[0155] Example, Figure 4 The effective data in the vertical blanking area and the horizontal blanking area 1 data are not multiples of 16 bits, and both are missing one symbol of effective data. Therefore, they are filled with one symbol of padding data "0x00".

[0156] It should be noted that, Figure 3 and Figure 4 This application describes a video data stream formed by the data of only one video frame as an example, but it is not limited to this. The video data stream described in this application can be formed by the data of multiple video frames included in a video frame sequence.

[0157] In one possible implementation, the link coding described in this application can be 128b / 132b link coding.

[0158] In one possible implementation, the length of the various synchronization headers (such as the first synchronization header) described in this application can be 4 bits, the length of the various characters (such as control characters, data characters, etc.) described in this application can be 128 bits (that is, the length of 1 character is equal to the length of 8 symbols), and the length of the target data described in this application can be 132 bits.

[0159] In one possible implementation, the symbols included in the at least one video data stream can be grouped into a character by 8 symbols, and the character can be divided into two types: data characters and control characters, depending on whether the character includes control symbols.

[0160] In other words, the control characters described in this application may include at least two symbols, at least one of which is a control symbol; the data characters described in this application may include at least two symbols, both of which are valid data symbols.

[0161] Example, Figure 5 This illustration shows a diagram of characters formed from a video data stream according to an embodiment of this application. For example... Figure 5 As shown, the three "boxes" identify control character 1, control character 2, and control character 3, respectively. Control character 1 includes one control symbol (VBS) and seven valid data symbols formed from vertical blanking area data; control character 2 includes two valid data symbols formed from vertical blanking area data, one control symbol (AVS), and five valid data symbols formed from pixel area data; and control character 3 includes one valid data symbol formed from pixel area data, one control symbol (HBS), and six valid data symbols formed from row blanking area data.

[0162] In one possible implementation, the format of the control character needs to satisfy the condition that the first control symbol in the control character is located at the position of the first symbol of the control character; that is, the first symbol of the control character is the control symbol, such as... Figure 5 The control character 1 is shown in the image.

[0163] However, in the process of forming one control character from eight symbols in the video data stream, the control symbol is not necessarily the first symbol of that control character; that is, the first symbol of the control character is the valid data symbol, such as... Figure 5 The control character 2 or control character 3 is shown in the text.

[0164] Therefore, these eight symbols need to be specially processed during the generation of control characters so that the processed eight characters meet the above-mentioned format requirements for control characters.

[0165] Example, Figure 6 and Figure 7 This illustration shows a schematic diagram of the processing of control characters provided in an embodiment of this application. Eight symbols in the video data stream are formed as follows: Figure 6 The control character shown has symbol 0 as the valid data symbol and symbol 2 as the control symbol (AVS). To make the control character meet the above format requirements, symbols 0 and 2 need to be interchanged, resulting in the following: Figure 7 The control characters shown.

[0166] In one possible implementation, in order for the receiving end to know the original position of the first control symbol in the control character, the position and type (or identifier) ​​of the first control symbol in the control character are indicated by the first symbol in the control character.

[0167] Optionally, the first symbol in the control character can indicate the position and type of the first control symbol in the control character in a variety of ways, and the embodiments of this application do not limit this.

[0168] In one possible implementation, the first symbol in the control character may include a first byte and a second byte, the first byte being used to indicate the position of the first control symbol and the second byte being used to indicate the type of the first control symbol.

[0169] Example, Figure 8 A schematic diagram illustrating the format of control characters provided in an embodiment of this application is shown. For example... Figure 8 As shown, the control characters include 8 symbols, such as... Figure 8 The symbols 0 to 7 shown are arranged in rows, with each row representing one symbol. The symbol 0 (i.e., the first symbol) of a control character may include a KD_Dis byte and a K_Type byte. The KD_Dis byte indicates the position of the first control symbol in the control character among symbols 0 to 7, and the K_Type byte indicates the type of the first control symbol (used to identify the first control symbol).

[0170] For example, the KD_Dis byte of the control character being "00000100" indicates that the position of the first control symbol in the control character is the position of symbol 2, and the K_Type byte of the control character being "00000011" indicates that the type of the first control symbol is AVS (i.e., 0x03).

[0171] Optionally, the first synchronization header may indicate the video data stream to which the target character belongs and the character type of the target character through 4 bits in various ways, and this application does not limit this.

[0172] In one possible implementation, the synchronization header can indicate the video data stream to which the target character belongs using the first of four bits, and the character type of the target character using the second of four bits.

[0173] In one possible implementation, taking the at least one video data stream including video data stream 0 and video data stream 1 as an example, the first bit of the first synchronization header of the target character being "0" can indicate that the target character belongs to a data character, and the first bit being "1" can indicate that the target character belongs to a control character. The second bit of the first synchronization header of the target character being "0" can indicate that the target character belongs to video data stream 0, and the second bit being "1" can indicate that the target character belongs to video data stream 1.

[0174] For example, a first synchronization header of "0011" indicates that the target character belongs to video data stream 0 and is a data character; a first synchronization header of "1010" indicates that the target character belongs to video data stream 0 and is a control character; a first synchronization header of "0110" indicates that the target character belongs to video data stream 1 and is a data character; a first synchronization header of "1100" indicates that the target character belongs to video data stream 1 and is a control character.

[0175] S202. The transmitting end sends the at least one target data to the receiving end; correspondingly, the receiving end receives the at least one target data from the transmitting end.

[0176] Optionally, before S202, the sending end may perform verification encoding on the at least one target data to obtain at least one first verification symbol; S202 may specifically include sending an encoding block to the receiving end, the encoding block including the at least one target data and the verification data of the at least one target data, the verification data including a second synchronization header and a verification character, the verification character including an RS symbol and the at least one first verification symbol, wherein the second synchronization header is used to indicate the video data stream to which the verification character belongs and the character type of the verification character, and the RS symbol is used to indicate the position of the first control symbol in the verification character and the type of the first control symbol in the verification character.

[0177] Accordingly, the receiving end can receive an encoded block from the sending end. The encoded block includes at least one target data and check data of the at least one target data. The check data includes a second synchronization header and a check character. The check character includes an RS symbol and at least one first check symbol. The second synchronization header is used to indicate the video data stream to which the check character belongs and the character type of the check character. The RS symbol is used to indicate the position and type of the first control symbol in the check character. The at least one first check symbol is obtained by checking and encoding the at least one target data. Based on the second synchronization header and the RS symbol in the check data, at least one first check symbol in the check data is determined. The at least one target data is checked and encoded to obtain at least one second check symbol. Based on the at least one first check symbol and the at least one second check symbol, the at least one target data is determined.

[0178] In one possible implementation, if the at least one first check symbol and the at least one second check symbol are the same, or if the number of identical symbols among the at least one first check symbol and the at least one second check symbol is greater than a preset number threshold, then the sending end can determine that the at least one target data is correct, thereby obtaining the at least one target data.

[0179] Optionally, if the at least one first check symbol and the at least one second check symbol are different, or if the number of identical symbols among the at least one first check symbol and the at least one second check symbol is less than or equal to a preset number threshold, then the sending end can determine that the at least one target data has an error and needs to be corrected according to the RS rule.

[0180] In one possible implementation, the number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

[0181] In one possible implementation, the sending end can perform check encoding on the target character of each target data in the at least one target data and a portion of the bits of the first synchronization header of each target data to obtain the at least one first check symbol.

[0182] Optionally, the sending end may employ various algorithms to verify and encode the at least one target data, and this application does not limit this.

[0183] In one possible implementation, the sender may employ a Reed-solomon (RS) algorithm, such as the RS(242,228) algorithm, to perform checksum encoding on the at least one target data.

[0184] Example, Figure 9 A schematic diagram of the RS check encoding process provided in an embodiment of this application is shown. Figure 9 As shown, the 14 target data to be encoded include target data 0 to target data 13. Target data 0 includes synchronization header 0 and character 0, target data 1 includes synchronization header 1 and character 1, and so on, target data 13 includes synchronization header 13 and character 13. The RS checksum encoding working area contains 228 bytes of data to be encoded. These 228 bytes include 224 bytes consisting of characters 0 to 13, and 4 bytes consisting of the first 2 bits of each synchronization header from synchronization header 0 to synchronization header 13 and 4 bytes of padding data. RS checksum encoding is performed on these 228 bytes to generate a 14-byte RS checksum, i.e., 7 first checksum symbols, the symbol type of which is a control symbol. The 14-byte RS checksum is filled into the last 14 bytes of the checksum character. Control symbols and synchronization header 14 (i.e., the second synchronization header) are added to the 14-byte checksum to generate checksum data. This checksum data and the aforementioned 14 target data form the encoded block after checksum encoding.

[0185] The RS symbol and the 14-byte checksum (i.e., 7 first check symbols) constitute a check character. This check character is a control character. The RS symbol can include byte 1 and byte 2. Byte 1 indicates that the first control symbol in the check character is located at the first symbol position of the check character, and byte 2 indicates that the first control symbol in the check character is an RS check symbol. This check character and the second synchronization header constitute the check data. The second synchronization header indicates the video data stream to which the check character belongs and the character type of the check character.

[0186] For example, the at least one video data stream includes video data stream 0 and video data stream 1. The video data stream 0 is formed from the original video image. The second synchronization header can be "1010" to indicate that the check character belongs to video data stream 0 and that the check character is a control character.

[0187] The video transmission method provided in this application embodiment verifies and encodes the at least one target data, thereby increasing the reliability of video transmission and ensuring the quality of the image displayed at the receiving end.

[0188] Optionally, when there are multiple target data (or coded blocks), the sending end can send the multiple target data (or coded blocks) to the receiving end in various ways, and this application does not limit this.

[0189] In one possible implementation, the sending end can perform parallel-to-serial conversion on the multiple target data (or coded blocks) to obtain a transmission data stream; and send the transmission data stream to the receiving end.

[0190] Accordingly, the receiving end can receive the transmitted data stream; perform serial-to-parallel conversion on the transmitted data stream to obtain the multiple target data (or coded blocks).

[0191] In one possible implementation, taking a coded block as an example, the transmitting end can add a scramble reset (SR) character or a character delimitation (CS) character to every P coded blocks to obtain multiple link transport blocks (LTBs), where the SR and CS characters are control characters, and P is an integer greater than 1; a link transport fragment (LTF) is obtained based on Q transport blocks, where Q is an integer greater than 1; the transport data stream is obtained based on at least one transport fragment; and the transport data stream is sent to the receiving end.

[0192] Example, Figure 10 A schematic diagram of a transmission data block provided in an embodiment of this application is shown. For example... Figure 10 As shown, the transmitted data block includes SR / CD characters and 27 encoded blocks.

[0193] Example, Figure 11 A schematic diagram of a transmission data slice provided in an embodiment of this application is shown. Figure 11 As shown, this data slice consists of 16 data blocks, as follows: Figure 11 The data blocks shown are 0, 1, ..., 15. Data block 0 starts with the character SR, and the remaining 15 data blocks start with the character CD.

[0194] Accordingly, the receiving end can determine at least one transmission data segment in the transmission data stream based on at least one SR character in the transmission data stream, wherein each transmission data segment in the at least one transmission data segment includes Q transmission data blocks, each transmission data block in the Q transmission data blocks includes SR / CD characters and P coded blocks; and determine the P coded blocks included in each transmission data block based on the SR / CD characters in each transmission data block.

[0195] Using the video transmission method provided in this application, the transmitting end converts multiple low-speed parallel signals into high-speed serial signals and transmits them to the receiving end. The receiving end then converts the received high-speed serial signals back into low-speed parallel signals. This point-to-point serial communication technology makes full use of the channel capacity of the transmission medium, reduces the number of required transmission channels and device pins, and can improve the transmission speed of video signals, thereby reducing communication costs.

[0196] S203. The receiving end performs link decoding on the at least one target data to obtain the at least one video data stream.

[0197] S203 above is the reverse process of S201 above.

[0198] In other words, the receiving end can recover at least one video data stream based on the character type of each target character and the video data stream to which each target character belongs.

[0199] Optionally, the steps performed by the sending end can also be performed by the video transmission device on the sending end side (such as...). Figure 1 The steps described above, performed by the receiving end, can also be executed by the video transmission device (e.g., the video transmission device 110) on the receiving end side. Figure 1 The video transmission device 120 in the middle is used for execution, but this application does not limit it.

[0200] Using the video transmission method provided in this application, the sending end adds a first synchronization header to each target character in at least one video data stream to obtain target data. The first synchronization header indicates the video data stream to which each target character belongs and the character type of each target character. The sending end then sends the target character with the added first synchronization header to the receiving end. Correspondingly, the receiving end can determine the video data stream to which the target character belongs and the character type of the target character in each target data based on the first synchronization header in each target data, and recover the at least one video data stream based on the character type of the target character in each target data and the video data stream to which the target character belongs. This method enables the transmission of the at least one video data stream through a single video signal transmission interface, which helps reduce cost.

[0201] The above combination Figures 2 to 11 The video transmission method provided in the embodiments of this application has been introduced. The video transmission device provided in the embodiments of this application is further described below.

[0202] Figure 12 A schematic block diagram of a video transmission apparatus 300 provided in an embodiment of this application is shown. Figure 12 As shown, the device 300 may include a link coding unit 301 and a transmission unit 302.

[0203] The link encoding unit 301 is used to perform link encoding on at least one video data stream to obtain at least one target data. Each video data stream in the at least one video data stream includes multiple symbols. The symbol type of the symbols includes control symbols or valid data symbols. Each target data in the at least one target data includes a first synchronization header and a target character. The target character includes at least two symbols from the multiple symbols. The first synchronization header is used to indicate the video data stream to which the target character belongs and the character type of the target character. The character type includes control characters or data characters.

[0204] The transmitting unit 302 is used to transmit the at least one target data to the receiving end.

[0205] In one possible implementation, the number of the at least one video data stream is two or more.

[0206] In one possible implementation, the number of the at least one video data stream is two or more.

[0207] In one possible implementation, the symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

[0208] In one possible implementation, the target character is a data character if both of the at least two symbols are valid data symbols.

[0209] In one possible implementation, the target character is a control character if at least one of the at least two symbols is a control symbol.

[0210] In one possible implementation, the position of the first control symbol among the at least two symbols and the type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

[0211] In one possible implementation, the device may further include a verification encoding unit 303; the verification encoding unit 303 is used to perform verification encoding on the at least one target data before the sending unit 302 sends the at least one target data to the receiving end to obtain at least one first verification symbol; the sending unit 302 is specifically used to send an encoding block to the receiving end, the encoding block including the at least one target data and the verification data of the at least one target data, the verification data including a second synchronization header and a verification character, the verification character including an RS symbol and the at least one first verification symbol, wherein the second synchronization header is used to indicate the video data stream to which the verification character belongs and the character type of the verification character, and the RS symbol is used to indicate the position of the first control symbol in the verification character and the type of the first control symbol in the verification character.

[0212] In one possible implementation, the number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

[0213] In one possible implementation, the number of at least one target data is multiple, and the sending unit 302 is specifically used to perform parallel-to-serial conversion on the multiple target data to obtain a transmission data stream; and send the transmission data stream to the receiving end.

[0214] It should be noted that the information interaction and execution process between the above-mentioned units are based on the same concept as the method embodiments of this application. Their specific functions and technical effects can be found in the method embodiments section, and will not be repeated here. In an optional example, the device 300 may specifically be the video transmission device (such as video transmission device 110) on the sending end side in the above method 200 embodiments. The device 300 may be used to execute the various processes and / or steps corresponding to the video transmission device on the sending end side in the above method 200 embodiments. To avoid repetition, these will not be repeated here.

[0215] Figure 12 One or more of the units in the illustrated embodiments can be implemented by software, hardware, firmware, or a combination thereof. The software or firmware includes, but is not limited to, computer program instructions or code, and can be executed by a hardware processor. The hardware includes, but is not limited to, various integrated circuits, such as a central processing unit (CPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), or an application-specific integrated circuit (ASIC).

[0216] Figure 13 A schematic block diagram of a video transmission apparatus 400 provided in an embodiment of this application is shown. Figure 13 As shown, the device 400 may include a link encoder 401 and a port 402.

[0217] The link encoder 401 is used to perform link encoding on at least one video data stream to obtain at least one target data. Each video data stream includes multiple symbols, the symbol type of which includes control symbols or valid data symbols. Each target data includes a first synchronization header and a target character, the target character including at least two of the multiple symbols. The first synchronization header is used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including control characters or data characters. The at least one target data is then sent to port 402. For details, please refer to the relevant description in S201 above.

[0218] Port 402 is used to send at least one target data to the receiving end. For details, please refer to the relevant description in S202 above.

[0219] Optionally, the number of the at least one target data may be multiple, and the port has a parallel-to-serial conversion function. Specifically, port 402 is used to perform parallel-to-serial conversion on multiple target data to obtain a target data stream; and to send the target data stream to the receiving end.

[0220] Optionally, such as Figure 14 As shown, the device 400 may also include a verification encoder 403.

[0221] In one possible implementation, the link encoder 401 is specifically used to send the at least one target data to the verification encoder 403. The verification encoder 403 performs verification encoding on the at least one target data to obtain at least one first verification symbol; and sends an encoded block to the port 402. The encoded block includes the at least one target data and verification data of the at least one target data. The verification data includes a second synchronization header and a verification character. The verification character includes an RS symbol and the at least one first verification symbol. The second synchronization header indicates the video data stream to which the verification character belongs and the character type of the verification character. The RS symbol indicates the position and type of the first control symbol in the verification character. The port 402 is specifically used to send the encoded block to the receiving end.

[0222] Optionally, there may be multiple encoded blocks, and the port has a parallel-to-serial conversion function. Specifically, port 402 is used to perform parallel-to-serial conversion on multiple encoded blocks to obtain a transmission data stream; and to send the transmission data stream to the receiving end.

[0223] In an optional example, device 400 may specifically be a video transmission device (such as video transmission device 110) on the transmitting end side in the above method 200 embodiment. Device 400 may be used to execute the various processes and / or steps corresponding to the video transmission device (such as video transmission device 110) on the transmitting end side in the above method 200 embodiment. To avoid repetition, these will not be described again here.

[0224] Figure 15 A schematic block diagram of a video transmission apparatus 500 provided in an embodiment of this application is shown. Figure 15 As shown, the device 500 may include a receiving unit 501 and a link decoding unit 502.

[0225] The receiving unit 501 is used to receive at least one target data from the transmitting end, each target data including a first synchronization header and a target character, the target character including at least two symbols, the first synchronization header being used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including control characters or data characters; and to send the at least one target data to the link decoder;

[0226] The link decoding unit 502 is used to perform link decoding on the at least one target data to obtain at least one video data stream. Each video data stream in the at least one video data stream includes multiple symbols. The symbol type of the symbols includes control symbols or valid data symbols, and the multiple symbols include the at least two symbols.

[0227] In one possible implementation, the number of the at least one video data stream is two or more.

[0228] In one possible implementation, the symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

[0229] In one possible implementation, the target character is a data character if both of the at least two symbols are valid data symbols.

[0230] In one possible implementation, the target character is a control character if at least one of the at least two symbols is a control symbol.

[0231] In one possible implementation, the position of the first control symbol among the at least two symbols and the type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

[0232] In one possible implementation, the device 500 may further include a verification decoding unit 503; the receiving unit 501 is specifically configured to receive an encoded block from the transmitting end, the encoded block including at least one target data and verification data of the at least one target data, the verification data including a second synchronization header and a verification character, the verification character including an RS symbol and at least one first verification symbol, wherein the second synchronization header is used to indicate the video data stream to which the verification character belongs and the character type of the verification character, the RS symbol is used to indicate the position of the first control symbol in the verification character and the type of the first control symbol in the verification character, and the at least one first verification symbol is obtained by verification encoding of the at least one target data; the verification decoding unit 503 is configured to determine at least one first verification symbol in the verification data based on the second synchronization header and the RS symbol in the verification data; perform verification encoding on the at least one target data to obtain at least one second verification symbol; and determine the at least one target data based on the at least one first verification symbol and the at least one second verification symbol.

[0233] In one possible implementation, the number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

[0234] In one possible implementation, the number of the at least one target data is multiple, and the receiving unit 501 is specifically used to receive the transmission data stream from the sending end; and to perform serial-to-parallel conversion on the transmission data stream to obtain the multiple target data.

[0235] It should be noted that the information interaction and execution process between the above-mentioned units are based on the same concept as the method embodiments of this application. Their specific functions and technical effects can be found in the method embodiments section, and will not be repeated here. In an optional example, the device 500 may specifically be the video transmission device (such as video transmission device 120) on the receiving end side in the above-mentioned method 200 embodiments. The device 500 may be used to execute the various processes and / or steps corresponding to the video transmission device on the receiving end side in the above-mentioned method 200 embodiments. To avoid repetition, these will not be repeated here.

[0236] Figure 15 One or more of the units in the illustrated embodiments can be implemented by software, hardware, firmware, or a combination thereof. The software or firmware includes, but is not limited to, computer program instructions or code, and can be executed by a hardware processor. The hardware includes, but is not limited to, various integrated circuits, such as CPUs, DSPs, FPGAs, or ASICs.

[0237] Figure 16A schematic block diagram of a video transmission apparatus 600 provided in an embodiment of this application is shown. Figure 16 As shown, the device 600 may include a port 601 and a link decoder 602.

[0238] Port 601 is used to receive at least one target data from the transmitting end. Each target data includes a first synchronization header and a target character. The target character includes at least two symbols. The first synchronization header is used to indicate the video data stream to which the target character belongs and the character type of the target character, which includes a control character or a data character. The at least one target data is then sent to the link decoder. For details, please refer to the relevant description in S202 above.

[0239] The link decoder 602 is used to perform link decoding on the at least one target data to obtain at least one video data stream. Each video data stream includes multiple symbols, the symbol type of which includes control symbols or valid data symbols, and the multiple symbols include at least two of the symbols. For details, please refer to the relevant description in S203 above.

[0240] Optionally, the number of the at least one target data is multiple, and the port 601 has a serial-to-parallel conversion function; the port 601 is specifically used to receive the target data stream from the sending end; and to perform serial-to-parallel conversion on the target data stream to obtain multiple target data.

[0241] Optionally, such as Figure 17 As shown, the device 600 may also include a verification decoder 603.

[0242] In one possible implementation, port 601 is specifically used to receive an encoded block from the transmitting end. The encoded block includes at least one target data and checksum data for the at least one target data. The checksum data includes a second synchronization header and a checksum character. The checksum character includes an RS symbol and at least one first checksum symbol. The second synchronization header indicates the video data stream to which the checksum character belongs and the character type of the checksum character. The RS symbol indicates the position and type of the first control symbol in the checksum character. The at least one first checksum symbol is obtained by checksum encoding of the at least one target data. The encoded block is then sent to the link decoder. The link decoder 603 is used to determine at least one first checksum symbol in the checksum data based on the second synchronization header and the RS symbol in the checksum data; to perform checksum encoding on the at least one target data to obtain at least one second checksum symbol; and to determine the at least one target data based on the at least one first checksum symbol and the at least one second checksum symbol.

[0243] Optionally, the number of the at least one target data is multiple, and the port 601 has a serial-to-parallel conversion function; the port 601 is specifically used to receive the transmission data stream from the sending end; and to perform serial-to-parallel conversion on the transmission data stream to obtain multiple target data.

[0244] In an alternative example, those skilled in the art will understand that the device 600 may specifically be the video transmission device (such as video transmission device 120) on the receiving end side in the above-described method 200 embodiments. The device 600 may be used to execute the various processes and / or steps corresponding to the video transmission device on the receiving end side in the above-described method 200 embodiments. To avoid repetition, these will not be described again here.

[0245] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0246] In the several embodiments provided in this application, it should be understood that the disclosed systems and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0247] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0248] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0249] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium or memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0250] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A video transmission method, characterized in that, include: Link coding is performed on at least one video data stream to obtain at least one target data. Each video data stream in the at least one video data stream includes multiple symbols, and the symbol type of the symbols includes control symbols or valid data symbols. Each target data in the at least one target data includes a first synchronization header and a target character. The target character includes at least two symbols from the multiple symbols. The first synchronization header is used to indicate the video data stream to which the target character belongs and the character type of the target character. The character type includes control characters or data characters. Send the at least one target data to the receiving end.

2. The method according to claim 1, characterized in that, The number of the at least one video data stream is two or more.

3. The method according to claim 1 or 2, characterized in that, The symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

4. The method according to any one of claims 1-3, characterized in that, If at least two of the symbols are valid data symbols, then the target character is a data character.

5. The method according to any one of claims 1-4, characterized in that, If at least one of the at least two symbols is a control symbol, then the target character is a control character.

6. The method according to claim 5, characterized in that, The position and type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

7. The method according to any one of claims 1-6, characterized in that, Before sending the at least one target data to the receiving end, the method further includes: The at least one target data is verified and encoded to obtain at least one first verification symbol; Sending the at least one target data to the receiving end includes: An encoded block is sent to the receiving end. The encoded block includes at least one target data and check data of the at least one target data. The check data includes a second synchronization header and a check character. The check character includes an RS symbol and at least one first check symbol. The second synchronization header is used to indicate the video data stream to which the check character belongs and the character type of the check character. The RS symbol is used to indicate the position of the first control symbol in the check character and the type of the first control symbol in the check character.

8. The method according to claim 7, characterized in that, The number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

9. The method according to any one of claims 1-8, characterized in that, The number of the at least one target data is multiple, and sending the multiple target data to the receiving end includes: Multiple target data are converted from parallel to serial to obtain the transmission data stream; The transmitted data stream is sent to the receiving end.

10. A video transmission method, characterized in that, include: Receive at least one target data from a sender, each of the at least one target data including a first synchronization header and a target character, the target character including at least two symbols, the first synchronization header being used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including control characters or data characters; Link decoding is performed on the at least one target data to obtain at least one video data stream. Each video data stream in the at least one video data stream includes multiple symbols. The symbol type of the symbols includes control symbols or valid data symbols. The multiple symbols include the at least two symbols.

11. The method according to claim 10, characterized in that, The number of the at least one video data stream is two or more.

12. The method according to claim 10 or 11, characterized in that, The symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

13. The method according to any one of claims 10-12, characterized in that, If at least two of the symbols are valid data symbols, then the target character is a data character.

14. The method according to any one of claims 10-13, characterized in that, If at least one of the at least two symbols is a control symbol, then the target character is a control character.

15. The method according to claim 14, characterized in that, The position and type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

16. The method according to any one of claims 10-15, characterized in that, Receiving at least one target data from the sender includes: The system receives an encoded block from the transmitting end. The encoded block includes at least one target data and check data of the at least one target data. The check data includes a second synchronization header and a check character. The check character includes an RS symbol and at least one first check symbol. The second synchronization header is used to indicate the video data stream to which the check character belongs and the character type of the check character. The RS symbol is used to indicate the position of the first control symbol in the check character and the type of the first control symbol in the check character. The at least one first check symbol is obtained by checking the at least one target data. Based on the second synchronization header in the verification data and the RS symbol in the verification data, at least one first verification symbol in the verification data is determined. The at least one target data is verified and encoded to obtain at least one second verification symbol; The at least one target data is determined based on the at least one first check symbol and the at least one second check symbol.

17. The method according to claim 16, characterized in that, The number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

18. The method according to any one of claims 10-17, characterized in that, The number of the at least one target data is multiple, and receiving multiple target data from the sending end includes: Receive the transmitted data stream from the sending end; The transmitted data stream is converted from serial to parallel to obtain multiple target data.

19. A video transmission device, characterized in that, include: Link encoder and port; The link encoder is used to perform link encoding on at least one video data stream to obtain at least one target data. Each video data stream in the at least one video data stream includes multiple symbols, and the symbol type of the symbols includes control symbols or valid data symbols. Each target data in the at least one target data includes a first synchronization header and a target character. The target character includes at least two symbols from the multiple symbols. The first synchronization header is used to indicate the video data stream to which the target character belongs and the character type of the target character. The character type includes control characters or data characters. Send the at least one target data to the port; The port is used to send the at least one target data to the receiving end.

20. The apparatus according to claim 19, characterized in that, The number of the at least one video data stream is two or more.

21. The apparatus according to claim 19 or 20, characterized in that, The symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

22. The apparatus according to any one of claims 19-21, characterized in that, If at least two of the symbols are valid data symbols, then the target character is a data character.

23. The apparatus according to any one of claims 19-22, characterized in that, If at least one of the at least two symbols is a control symbol, then the target character is a control character.

24. The apparatus according to claim 23, characterized in that, The position and type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

25. The apparatus according to any one of claims 19-24, characterized in that, The device further includes: a verification encoder; The link encoder is specifically used to send the at least one target data to the verification encoder; The verification encoder is used to perform verification encoding on the at least one target data to obtain at least one first verification symbol; and to send an encoding block to the port, the encoding block including the at least one target data and verification data of the at least one target data, the verification data including a second synchronization header and a verification character, the verification character including an RS symbol and the at least one first verification symbol, wherein the second synchronization header is used to indicate the video data stream to which the verification character belongs and the character type of the verification character, and the RS symbol is used to indicate the position of the first control symbol in the verification character and the type of the first control symbol in the verification character; The port is specifically used to send the encoded block to the receiving end.

26. The apparatus according to claim 25, characterized in that, The number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

27. The apparatus according to any one of claims 19-26, characterized in that, The number of the at least one target data is multiple, and the port has a parallel-to-serial conversion function; The port is specifically used to perform parallel-to-serial conversion on multiple target data to obtain a transmission data stream; and to send the transmission data stream to the receiving end.

28. A video transmission device, characterized in that, include: Port and link decoders; The port is used to receive at least one target data from the sending end, each of the at least one target data including a first synchronization header and a target character, the target character including at least two symbols, the first synchronization header being used to indicate the video data stream to which the target character belongs and the character type of the target character, the character type including control characters or data characters; and to send the at least one target data to the link decoder; The link decoder is used to perform link decoding on the at least one target data to obtain at least one video data stream. Each video data stream in the at least one video data stream includes multiple symbols. The symbol type of the symbols includes control symbols or valid data symbols. The multiple symbols include the at least two symbols.

29. The apparatus according to claim 28, characterized in that, The number of the at least one video data stream is two or more.

30. The apparatus according to claim 28 or 29, characterized in that, The symbol is 16 bits long, the first synchronization header is 4 bits long, and the target character is 128 bits long.

31. The apparatus according to any one of claims 28-30, characterized in that, If at least two of the symbols are valid data symbols, then the target character is a data character.

32. The apparatus according to any one of claims 28-31, characterized in that, If at least one of the at least two symbols is a control symbol, then the target character is a control character.

33. The apparatus according to claim 32, characterized in that, The position and type of the first control symbol among the at least two symbols are indicated by the first symbol among the at least two symbols.

34. The apparatus according to any one of claims 28-33, characterized in that, The device further includes: a verification decoder; The port is specifically used to receive an encoded block from the sending end. The encoded block includes at least one target data and check data of the at least one target data. The check data includes a second synchronization header and a check character. The check character includes an RS symbol and at least one first check symbol. The second synchronization header is used to indicate the video data stream to which the check character belongs and the character type of the check character. The RS symbol is used to indicate the position and type of the first control symbol in the check character. The at least one first check symbol is obtained by checking and encoding the at least one target data. The encoded block is then sent to the link decoder. The link decoder is used to determine at least one first check symbol in the check data based on the second synchronization header and the RS symbol in the check data; to perform check encoding on the at least one target data to obtain at least one second check symbol; and to determine the at least one target data based on the at least one first check symbol and the at least one second check symbol.

35. The apparatus according to claim 34, characterized in that, The number of at least one target data is 14, the number of at least one check symbol is 7, and the length of the second synchronization header is 4 bits.

36. The apparatus according to any one of claims 28-35, characterized in that, The number of the at least one target data is multiple, and the port has a serial-to-parallel conversion function; The port is specifically used to receive the transmitted data stream from the sending end; and to perform serial-to-parallel conversion on the transmitted data stream to obtain multiple target data.

37. A computer-readable storage medium, characterized in that, Used to store a computer program, which, when executed by a processor, implements the method as described in any one of claims 1-9 or as described in any one of claims 10-18.

38. A computer program product, characterized in that, When the computer program product is run on a processor, it implements the method as described in any one of claims 1-9 or the method as described in any one of claims 10-18.

Citation Information

Patent Citations

  • Encoding and decoding methods, encoding and decoding apparatuses and encoding and decoding devices

    CN110521152A

  • Interface device

    JP2011146816A