CN117424990A - Data transmission method, device, electronic equipment and readable storage medium - Google Patents

Data transmission method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117424990A
CN117424990A CN202311253272.8A CN202311253272A CN117424990A CN 117424990 A CN117424990 A CN 117424990A CN 202311253272 A CN202311253272 A CN 202311253272A CN 117424990 A CN117424990 A CN 117424990A
Authority
CN
China
Prior art keywords
pixel
signal
image
frame
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311253272.8A
Other languages
Chinese (zh)
Inventor
王艳辉
秦元河
杨春晖
谢文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202311253272.8A priority Critical patent/CN117424990A/en
Publication of CN117424990A publication Critical patent/CN117424990A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • H04N7/52Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal
    • H04N7/54Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal the signals being synchronous
    • H04N7/56Synchronising systems therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention provides a data transmission method, a device, electronic equipment and a readable storage medium, and relates to the technical field of data transmission, wherein the method comprises the following steps: acquiring image frame data, converting the image frame data into pixel data, and generating a pixel image signal by combining a pixel clock; in the process of generating the pixel image signals, generating corresponding time sequence control signals, wherein the time sequence control signals are used for determining image frames to which the pixel image signals belong and positions of the pixel image signals in the image frames; each time a pixel image signal is generated, the pixel image signal and a corresponding timing control signal are transmitted. Therefore, the image frame data can be processed and transmitted by taking the pixel image signals as units, and the transmission efficiency is improved.

Description

Data transmission method, device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data transmission method, a data transmission device, an electronic device, and a readable storage medium.
Background
The picture/image is presented in the display through processes of frame data generation, frame data transmission, display, etc. In the whole process, a certain time delay is generated in each module, so that the display time delay of the picture/image is caused. In the image frame generation flow, the network packet receiving time delay, the network packet receiving buffer time delay (socket), the frame decoding time delay (one frame is collected), the YUV memory copying time delay (unshared), the time delay of a frame buffer double buffer mechanism are mainly included, the time delay is calculated according to the bottleneck principle, and the frame generation time delay is more than 28ms. In the frame data transmission process, a Cache exists when the DMA carries frame buffer data, in addition, the data redundancy copy causes a larger Cache in the display controller, and the frame buffer data does not flow fast due to the Cache section blocking, so that time delay is caused. In addition, in the frame data format conversion process, time delay also exists in the conversion process of YUV/RGB signals into line-field image signals, and the overall time delay of the frame data transmission process is high. The conventional line-field timing control principle is described as follows: an LCD (Liquid Crystal Display ) is called a frame, each frame of image is composed of a plurality of lines, each line is composed of a plurality of pixels, each pixel is represented by a plurality of bits of data, and when the LCD displays, a driver extracts and displays data of each pixel line by line from the obtained data, and the driver controls the skip of a scanning line with a horizontal scanning signal (HSYNC) and a vertical scanning signal (VSYNC), the VSYNC signal representing the start of one frame of data, the HSYNC signal representing the start of one line of data, and the VCLK signal representing data being transmitted for one pixel. VSYNC occurs within one second for a number of frames of the display image, i.e., the frequency of the display.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are directed to providing a data transmission method, and corresponding data transmission apparatus, electronic device, and computer-readable storage medium, which overcome or at least partially solve the foregoing problems.
In order to solve the above problems, in a first aspect, an embodiment of the present invention discloses a data transmission method, including:
acquiring image frame data, converting the image frame data into pixel data, and generating a pixel image signal by combining a pixel clock;
in the process of generating the pixel image signals, generating corresponding time sequence control signals, wherein the time sequence control signals are used for determining image frames to which the pixel image signals belong and positions of the pixel image signals in the image frames;
each time a pixel image signal is generated, the pixel image signal and a corresponding timing control signal are transmitted.
Optionally, the acquiring the image frame data, converting the image frame data into pixel data, and generating the pixel image signal in combination with a pixel clock includes:
sequentially extracting one or more pixels from the cached image frame data, and converting the one or more pixels into pixel data;
A plurality of pixel image signals are sequentially generated in accordance with a time sequence of each pixel included in the pixel data in combination with a pixel clock.
Optionally, the acquiring the image frame data, converting the image frame data into pixel data, and generating the pixel image signal in combination with a pixel clock includes:
sequentially extracting one or more pixels from the cached image frame data according to a preset rule, and converting the one or more pixels into pixel data;
a plurality of pixel image signals are sequentially generated in accordance with a time sequence of each pixel included in the pixel data in combination with a pixel clock.
Optionally, the timing control signal includes: the frame synchronization identification signal and the point synchronization identification signal generate corresponding time sequence control signals in the process of generating the pixel image signals, and the method comprises the following steps:
generating a frame synchronization identification signal according to the image frame to which the generated pixel image signal belongs;
a dot synchronization identification signal is generated based on the position of the generated pixel image signal in the image frame.
Optionally, generating a frame synchronization identification signal according to an image frame to which the generated pixel image signal belongs includes:
counting the generated pixel image signals, and detecting whether the generated pixel image signals reach a preset number of frame pixels, wherein the preset number of frame pixels is determined according to the resolution of the image frame data;
Generating a first frame synchronization identification signal according to the period of the pixel clock signal under the condition that the pixel count does not reach the preset number of the frame pixels, and transmitting the first frame synchronization identification signal while transmitting the pixel image signal;
generating a second frame synchronization identification signal according to the period of the pixel clock signal under the condition that the pixel count reaches the preset number of the frame pixels, and transmitting the second frame synchronization identification signal while transmitting the pixel image signal;
the second frame synchronization identification signal characterizes the currently transmitted pixel image signal as a pixel of the next frame.
Optionally, generating the point synchronization identification signal according to the position of the generated pixel image signal in the image frame includes:
detecting whether the pixel count reaches a preset number of row pixels, wherein the preset number of row pixels is determined according to the resolution of the image frame data;
generating a first dot synchronization identification signal according to the period of the pixel clock signal and transmitting the first dot synchronization identification signal while transmitting the pixel image signal under the condition that the pixel count does not reach the preset number of the row pixels;
generating a second point synchronization identification signal according to the period of the pixel clock signal under the condition that the pixel count reaches the preset number of the row pixels, and transmitting the second point synchronization identification signal while transmitting the pixel image signal;
The second point synchronization identification signal characterizes the currently transmitted pixel image signal as pixels of the next row.
To solve the above-mentioned problem, in a second aspect, an embodiment of the present invention discloses a data transmission system, including: a display controller, a transmission line, and a liquid crystal panel;
the display controller is used for acquiring image frame data, converting the image frame data into pixel data, and generating pixel image signals by combining a pixel clock; generating corresponding time sequence control signals in the process of generating the pixel image signals, and transmitting the pixel image signals and the corresponding time sequence control signals to a liquid crystal panel through a transmission line every time when one pixel image signal is generated, wherein the time sequence control signals are used for determining an image frame to which the pixel image signals belong and the position of the pixel image signals in the image frame;
the transmission line is used for streaming the pixel video signals and the corresponding time sequence control signals output by the display controller;
the liquid crystal panel is used for carrying out point-by-point scanning according to the received pixel image signals so as to display the image frame data based on the pixel image signals.
In order to solve the above problem, in a third aspect, an embodiment of the present invention discloses a display controller, including at least: the device comprises an image input module, a pixel generation module, a time sequence control module and an image output module;
the image input module is used for acquiring image frame data and converting the image frame data into pixel data;
the pixel generation module is used for generating a pixel image signal based on the pixel data and a pixel clock;
the time sequence control module is used for generating a corresponding time sequence control signal in the process of generating the pixel image signal, and the time sequence control signal is used for determining an image frame to which the pixel image signal belongs and the position of the pixel image signal in the image frame;
the image output module is used for generating each pixel image signal and sending the pixel image signal and the corresponding time sequence control signal.
In order to solve the above-mentioned problems, in a fourth aspect, an embodiment of the present invention discloses a liquid crystal panel that scans pixels point by point according to received pixel image signals and corresponding timing control signals to display the image frame data based on the pixel image signals.
Optionally, the liquid crystal panel determines whether the currently received pixel image signal is a pixel image signal of a next frame according to the received pixel image signal and the frame synchronization identification signal from the display controller, so as to determine whether frame changing operation needs to be performed;
the liquid crystal panel determines whether the currently received pixel image signal is a pixel image signal of a next line according to the received pixel image signal and the point synchronization identification signal from the display controller, so as to determine whether a line feed operation needs to be performed.
In the data transmission method provided by the embodiment of the invention, the image frame data can be processed and transmitted by taking the pixel image signal as a unit, and the corresponding time sequence control signal is generated in the process of generating the pixel image signal, so that the pixel image signal can be normally displayed in a display system. In the embodiment of the invention, the pixels are not required to be buffered and transmitted by row units after all the pixels included in one frame of image are processed, and the image frame data is processed by taking the pixel image signals as units, so that the pixels are prevented from being frequently buffered and waiting in the transmission and processing process, and the efficiency of image data transmission and processing is improved.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a data transmission method of the present invention;
FIG. 2 is a schematic diagram of a data transmission system according to the present invention;
fig. 3 is a block diagram of a display controller according to the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
First, related terms involved in the embodiments of the present invention will be explained:
MTP technology (Memory to pixel): a technique for converting image data in a memory into a picture data stream for streaming to a display for display.
Data Enable (DE): color data that is valid in the data enable area is displayed in black without being within the enable range.
Pixel Clock (PCLK): the pixel clock is used to divide each horizontal line into samples, and the higher the frequency of the pixel clock, the more sample pixels each scan line will have.
In the embodiment of the invention, the problems in the related art are explored, and the discovery is that in the related art, the minimum processing unit is a frame in the processing process of the image frame, and the frame is transmitted to the next node after the processing of one frame of image frame data is required to be completed, so that the processed image frame data is frequently in a waiting state and does not flow, and the waiting process causes delay.
Based on this, the embodiment of the present invention proposes an inventive concept: the image frame data transmission unit is degraded, and is changed from the frame unit to the pixel image signal unit for transmission and processing.
Specifically, referring to fig. 1, a step flowchart of an embodiment of a data transmission method of the present invention is shown, where the data transmission method provided by the embodiment of the present invention may be applied to a graphics card, and the data transmission method provided by the embodiment of the present invention may include the following steps:
s101, acquiring image frame data, converting the image frame data into pixel data, and generating a pixel image signal by combining a pixel clock.
In the embodiment of the invention, one or more pixel data can be extracted from the cached image frame data, and then one or more pixel image signals are generated by combining a pixel clock, wherein each pixel image signal corresponds to one pixel.
In the embodiment of the invention, after the pixel data amount in the cached image frame data reaches the pixel data amount included in one frame of image frame data, the pixel data amount is converted, and a plurality of pixel image signals are generated. It is also possible to convert the pixel data amount in the buffered image frame data after it reaches the pixel data amount included in the one line image frame data and generate a plurality of pixel image signals.
In the embodiment of the present invention, the image frame data may be data acquired from a bus and buffered to a frame buffer.
In an alternative embodiment, the step S101 may include the following sub-steps:
S1011A, sequentially extracting one or more pixels from the buffered image frame data, and converting to pixel data.
S1012A sequentially generates a plurality of pixel image signals in accordance with the time sequence of each pixel included in the pixel data in combination with the pixel clock.
In the embodiment of the invention, in the process of sequentially extracting pixels and converting the pixels into pixel data, a row of pixels can be extracted according to the resolution of image frame data and converted into pixel data, so that a plurality of pixel image signals can be generated according to the time sequence of a row of pixels and combining with a pixel clock.
In an alternative embodiment, the step S101 may include the following sub-steps:
S1011B, sequentially extracting one or more pixels from the cached image frame data according to a preset rule, and converting the one or more pixels into pixel data.
S1012B sequentially generates a plurality of pixel image signals in accordance with the time sequence of each pixel included in the pixel data in combination with the pixel clock.
In the embodiment of the invention, in order to increase the transmission speed, one or more pixels may be sequentially extracted according to a preset rule, where each row of odd dots or each row of even dots may be extracted according to the sequence of the pixels, or one row of odd dots and one row of even dots may be extracted alternately.
For example, a pixel may be extracted from every other pixel to be converted into pixel data, and like odd-even skip point scanning, all lines may be converted into pixel data only by odd-numbered pixel, or even-numbered pixel may be converted into pixel data by odd-numbered line extraction and even-numbered pixel by even-numbered line extraction.
Therefore, the transmission quantity of pixel image signals can be reduced, the transmission efficiency is improved, and for a display end, after pixel data are received, the restored pixel points can be displayed, and the specific restoration method can refer to a feasible method in an image processing technology.
In practical applications, the resolution of the buffered image frame data may not be the same as the resolution supported by the liquid crystal panel, in this case, extracting one or more pixels in turn according to a preset rule may be: pixels are extracted from the buffered image frame data in accordance with a difference between the resolution supported by the liquid crystal panel and the resolution of the buffered image frame data. For the display end, after receiving the pixel image signals, the display end can normally display and scan, so that the transmitted pixel image signals not only can adapt to the resolution of the display end, but also can avoid the waste of transmission resources caused by the transmission of redundant pixel image signals.
S102, in the process of generating the pixel image signals, corresponding time sequence control signals are generated, wherein the time sequence control signals are used for determining the image frames to which the pixel image signals belong and the positions of the pixel image signals in the image frames.
In practical applications, the number of pixels included in a frame of image may be determined according to the resolution of the image frame, and the number of rows and columns of pixels included in the frame of image may be determined according to the resolution. The position of the pixel image signal in the image frame can thus be determined based on the number of rows and columns to which the pixel belongs.
In the embodiment of the invention, the pixel image signals are sequentially generated according to the time sequence of each pixel, so that the number of columns and the number of rows to which the pixel belongs can be determined one by one based on the sequence of the pixel image signals.
Specifically, in the embodiment of the present invention, the pixel image signals may be counted to determine the column number and the row number corresponding to the pixel image signals, and the image frames described by the pixel image signals.
S103, each time a pixel image signal is generated, the pixel image signal and a corresponding time sequence control signal are sent.
In the embodiment of the invention, in the conversion process of the image frame data, the pixel clock can be utilized to control the extracted pixel image signals to be sequentially arranged according to the pixel clock.
In the embodiment of the invention, after obtaining a pixel image signal, the pixel image signal and the corresponding time sequence control signal can be sent out to instruct the receiver to scan a pixel according to the pixel image signal and the corresponding time sequence control signal.
In an alternative embodiment, the step S102 may include the following substeps:
s1021, a frame synchronization identification signal is generated from the image frame to which the generated pixel image signal belongs.
S1022, generating a dot synchronization identification signal according to the position of the generated pixel image signal in the image frame.
In the embodiment of the invention, the frame synchronization identification signal is used for identifying the image frame to which the currently transmitted pixel image signal belongs. The point synchronization identification signal is used to identify the position in the image frame of the image signal currently transmitted to the pixel.
Specifically, the step S1021 may include the following sub-steps:
s10211, counting the generated pixel image signals, and detecting whether the generated pixel image signals reach a preset number of frame pixels, wherein the preset number of frame pixels is determined according to the resolution of the image frame data.
S10212, generating a first frame synchronization identification signal according to the period of the pixel clock signal when the pixel count does not reach the preset number of the frame pixels, and transmitting the first frame synchronization identification signal while transmitting the pixel image signal.
S10213, generating a second frame synchronization identification signal according to the period of the pixel clock signal when the pixel count reaches the preset number of the frame pixels, and transmitting the second frame synchronization identification signal while transmitting the pixel image signal.
Wherein the second frame synchronization identification signal characterizes the currently transmitted pixel image signal as a pixel of the next frame.
In the embodiment of the present invention, the frame synchronization identification signals may be alternately 0 or 1, corresponding to the first frame synchronization identification signal and the second frame synchronization identification signal, and the pixel image signals of the same frame correspond to the same frame synchronization identification signals, for example, all are 0 or all are 1. Therefore, when the frame synchronization identification signal corresponding to the pixel image signal changes, the receiving end can determine that the current pixel image signal is the pixel of the next frame, perform frame changing operation and move the electron beam to the frame scanning starting point.
In the embodiment of the invention, the first frame synchronization identification signal can be always generated under the condition that the pixel count does not reach the preset number of the frame pixels, the second frame synchronization identification signal is generated under the condition that the pixel count reaches the preset number of the frame pixels, the current sent pixel image signal is represented as the pixel of the next frame, so that the receiving end performs frame changing operation, and simultaneously, the counting is restarted, and the first frame synchronization identification signal is continuously generated under the condition that the pixel count does not reach the preset number of the frame pixels.
Specifically, the step S1022 may include the following substeps:
s10221, detecting whether the pixel count reaches a preset number of row pixels, wherein the preset number of row pixels is determined according to the resolution of the image frame data.
S10222, generating a first point synchronization identification signal according to the period of the pixel clock signal and transmitting the first point synchronization identification signal at the same time of transmitting the pixel image signal when the pixel count does not reach the preset number of the row pixels.
S10223, generating a second point synchronization identification signal according to the period of the pixel clock signal when the pixel count reaches the preset number of the row pixels, and transmitting the second point synchronization identification signal while transmitting the pixel image signal.
S10224, the first point synchronization identification signal and the second point synchronization identification signal represent pixels of different rows of corresponding pixel image signals.
In the embodiment of the present invention, the dot synchronization identification signals may alternatively be 0 or 1, and correspond to the first dot synchronization identification signal and the second dot synchronization identification signal, and the pixel image signals in the same row correspond to the same dot synchronization identification signals, for example, all are 0 or all are 1. Therefore, when the point synchronization identification signal corresponding to the pixel image signal changes, the receiving end can determine that the current pixel image signal is the pixel of the next row, perform line feed operation, and move the electron beam to the scanning starting point of the next row.
In the embodiment of the invention, the first point synchronous identification signal can be always generated under the condition that the pixel count does not reach the preset number of the row pixels, the second point synchronous identification signal is generated under the condition that the pixel count reaches the preset number of the row pixels, the current pixel image signal is represented as the pixel of the next row, so that the receiving end performs the row changing operation, simultaneously, the counting is restarted, and the first point synchronous identification signal is continuously generated under the condition that the pixel count does not reach the preset number of the row pixels.
In the embodiment of the invention, the frame synchronization identification signal and the point synchronization identification signal can be combined to perform time sequence control on the generated pixel image signal.
For example, the frame synchronization identification signal may be set as the VEN signal, the active VEN signal may be enabled as the second frame synchronization identification signal, the keep-alive VEN signal may be set as the first frame synchronization identification signal, the point synchronization identification signal may be set as the HEN signal, the active HEN signal may be enabled as the second point synchronization identification signal, and the keep-alive HEN signal may be set as the first point synchronization identification signal. For the liquid crystal panel, the HEN signal may be determined after the enable of the ver signal is valid, and 2 signals are based on the ver signal. For the display controller, it may be determined whether it is currently the first pixel of the next frame. If so, the VEN signal is enabled to be valid (the enabled valid flag is high level 1, the initial state is low level 0), the VEN signal is enabled to be valid, and the HEN signal is necessarily valid; if not, the VEN signal enables to maintain the invalid low state 0, and then judges whether the current pixel is the first pixel point of the next row. If so, the HEN signal is enabled to be valid (the enabled valid is marked as high-level 1, and the initial state is low-level 0); if not, the HEN enable remains low 0.
For example, the VEN signal may be determined after the HEN signal is enabled, and 2 signals are based on the HEN signal, and for the display controller, the HEN signal is enabled after one line is reached according to the frame resolution statistics (the enabled flag is high level 1, and the initial state is low level 0). And when the HEN enabling is effective, judging whether the row corresponding to the effective enabling of the current HEN signal is the last row of the current frame according to the statistical information. If so, VEN enable is valid (enable valid flag is high 1, initial state is low 0); if not, the VEN enable remains low 0.
In an alternative embodiment, the steps S102 and S103 may be executed simultaneously, and in a specific embodiment of the present invention, each time a pixel image signal is extracted, counting may be performed, one pixel image signal is added, and each time a pixel image signal is extracted, a pixel image signal is sent, during the sending process, whether the pixel count reaches the preset number of pixels in a row is detected, and if so, it indicates that the first pixel image signal of the next row needs to be sent currently, and it needs to be notified to the liquid crystal panel for line-feeding scanning.
And generating an invalid HEN signal according to a period of the pixel clock signal and transmitting the invalid HEN signal while transmitting the pixel image signal in the case that the pixel count does not reach the preset number of the row pixels.
In the embodiment of the invention, when the pixel count does not reach the preset number of the row pixels, which indicates that the number of pixels included in the pixel data of one row is not extracted, an invalid HEN signal can be generated according to the period of the pixel clock signal, and the invalid HEN signal is sent while the pixel image signal is sent, so that the valid data of the liquid crystal panel is indicated to directly appear, and the line is not required to be fed, so that the point-by-point scanning display is directly performed.
And enabling the HEN signal to be effective according to the period of the pixel clock signal under the condition that the pixel count reaches the preset number of the row pixels, obtaining an effective HEN signal, and transmitting the effective HEN signal while transmitting the pixel image signal.
In the embodiment of the invention, when the pixel count reaches the preset number of the pixels of the row to indicate that the number of the pixels included in the pixel data of the completed row has been sent, the currently extracted pixel image signal is the first pixel image signal of the next row, the HEN signal can be enabled to be valid according to the period of the pixel clock signal, and the valid HEN signal is sent while the pixel image signal is sent, so as to indicate that valid data of the liquid crystal panel appears after the point synchronization identification signal, and at the moment, the line is required to be fed so as to perform point-by-point scanning display of the pixel data of the next row.
In the embodiment of the invention, after the valid HEN signal is obtained, the pixels can be continuously counted to determine whether the preset number of the row pixels is reached. In the embodiment of the present invention, the preset number of rows may be a multiple of the number of columns of the image frame data.
Taking image frame data with 1080P resolution as an example, taking the first extracted pixel image signal to start counting as 0, the preset number of row pixels as a multiple of 1920, when the extracted pixel image signal count has reached 1920, indicating that the number of pixels included in one row of pixel data has been extracted and sent to completion, the current extracted pixel image signal is the pixel image signal of the next row, the enable HEN signal is valid, and the liquid crystal panel needs to be instructed to perform line feed, and the pixel data of the next row starts scanning.
In the data transmission method provided by the embodiment of the invention, after extracting the pixel image signals from the cached image frame data, one pixel image signal can be sent every time the pixel image signal is obtained; so that the image frame data can be processed and transmitted in units of pixels. In the embodiment of the present invention, in order to enable the receiving end to determine the start point and the end point of each row of pixels included in the image frame data, it is further proposed that: the position of the pixel in the image frame is determined according to the point synchronization identification signal, so that a receiving end (a liquid crystal panel) determines whether line feed is required to scan the next line of pixels.
Therefore, in the data transmission method provided by the embodiment of the invention, the image frame data can be processed and transmitted by taking the pixel image signal as a unit.
In the embodiment of the present invention, the preset number of frame pixels is determined according to the number of pixels included in a frame of image, for example, when the resolution of the current image frame is 1080p, it may be determined that the frame of image frame data includes 1080 lines of pixel data, and one line of pixel data includes 1920 pixels, and when the number of pixels included in the frame of image frame is 1080×1920 pixels, the preset number of frame pixels is 2073600.
In the embodiment of the invention, in the process of counting the extracted pixel image signals, whether the extracted pixel image signals reach the preset number of frame pixels or not, namely whether the extracted pixel image signals reach all pixels contained in one frame of image frame or not can be detected.
In the embodiment of the invention, when the pixel count does not reach the preset number of the frame pixels, the number of pixels included in the frame pixel data is not extracted yet, an invalid VEN signal can be generated according to the period of the pixel clock signal, and the invalid VEN signal is sent while the pixel image signal and the HEN signal (valid or invalid) are sent, so as to indicate that the liquid crystal panel has not completed scanning of a frame pixel yet, and the scanning starting point of the liquid crystal panel is not required to be restored.
In the embodiment of the invention, when the pixel count reaches the preset number of the frame pixels, the pixel count indicates that the extraction of the pixel data of one frame is completed, an effective VEN signal can be generated according to the period of the pixel clock signal, and the ineffective VEN signal is sent while the pixel image signal and the HEN signal (effective) are sent, so as to indicate that the liquid crystal panel has completed scanning of one frame of pixels, and the liquid crystal panel is required to restore the scanning starting point.
Specifically, it will be understood that in the case where the VEN signal is valid, the HEN signal must also be valid, and, for example, still explained in the above example, the first pixel image signal extracted starts to count 0, the preset number of row pixels is a multiple of 1920, the preset number of frame pixels is 1920×1080, and in the case where the pixel image signal extracted has reached 1920×1080, the HEN signal is enabled, and the VEN signal is enabled.
In the embodiment of the invention, the MTP technology (a technology for converting image data in a memory into a picture data stream and streaming the picture data stream to a display for display) is adopted to comprehensively minimize delay factors affecting each stage of pixel streaming. The method comprises the following steps: the size of the data units transmitted and processed is reduced, so that the waiting time for one unit to arrive is reduced, the time occupied by converting the image frame data format is further reduced, and the frame sending transmission delay is reduced.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Based on the same inventive concept, in the embodiment of the present invention, a data transmission system is further provided, as shown in fig. 2, and fig. 2 shows a schematic architecture diagram of the data transmission system provided in the embodiment of the present invention.
The system comprises: a display controller 201, a transmission line 202, a liquid crystal panel 203;
the display controller is used for acquiring image frame data, converting the image frame data into pixel data, and generating pixel image signals by combining a pixel clock; generating corresponding time sequence control signals in the process of generating the pixel image signals, and transmitting the pixel image signals and the corresponding time sequence control signals to a liquid crystal panel through a transmission line every time when one pixel image signal is generated, wherein the time sequence control signals are used for determining an image frame to which the pixel image signals belong and the position of the pixel image signals in the image frame;
The transmission line is used for streaming the pixel video signals and the corresponding time sequence control signals output by the display controller;
the liquid crystal panel is used for carrying out point-by-point scanning according to the received pixel image signals so as to display the image frame data based on the pixel image signals.
In the embodiment of the present invention, the display controller may execute the data transmission method described in any of the above embodiments.
Based on the same inventive concept, in the embodiment of the present invention, a display controller is further provided, as shown in fig. 3, and fig. 3 shows a structural block diagram of the display controller provided in the embodiment of the present invention.
The display controller includes at least: an image input module 301, a pixel generation module 302, a timing control module 303, an image output module 304;
the image input module is used for acquiring image frame data and converting the image frame data into pixel data;
the pixel generation module is used for generating a pixel image signal based on the pixel data and a pixel clock;
the time sequence control module is used for generating a corresponding time sequence control signal in the process of generating the pixel image signal, and the time sequence control signal is used for determining an image frame to which the pixel image signal belongs and the position of the pixel image signal in the image frame;
The image output module is used for generating each pixel image signal and sending the pixel image signal and the corresponding time sequence control signal.
Based on the same inventive concept, in an embodiment of the present invention, there is also provided a transmission line for streaming a pixel video signal and a corresponding timing control signal output from a display controller.
Based on the same inventive concept, in the embodiment of the invention, a liquid crystal panel is further provided, and the liquid crystal panel scans pixels point by point according to the received pixel image signals and the corresponding time sequence control signals so as to display the image frame data based on the pixel image signals.
Optionally, the liquid crystal panel determines whether the currently received pixel image signal is a pixel image signal of a next frame according to the received pixel image signal and the frame synchronization identification signal from the display controller, so as to determine whether frame changing operation needs to be performed;
the liquid crystal panel determines whether the currently received pixel image signal is a pixel image signal of a next line according to the received pixel image signal and the point synchronization identification signal from the display controller, so as to determine whether a line feed operation needs to be performed.
Optionally, in the embodiment of the present invention, the liquid crystal panel may update the start point of the next line of scanning points according to the "bow" scanning, that is, the next line of scanning start point and the current line of scanning end point vertically correspond to each other, after the first line of scanning is completed, the scanning points may be directly updated to the tail end of the next line of scanning points vertically, the pixel scanning of the second line is completed in reverse order, after the scanning is completed, the scanning points may be directly updated to the head end of the next line of scanning points vertically, and so on.
Accordingly, in order to keep the pixel image signal displayed according to the normal timing sequence, at the display controller end, a pixel clock or a timing control signal is also required to be combined in the process of generating the pixel image signal, so as to ensure that the receiving end scans the pixel clock according to the normal timing sequence.
For example, after the pixel data amount in the buffered image frame data reaches the pixel data amount included in one line of image frame data, it may be converted into pixel stream data, and the pixel stream data may be counted, with the first line of pixel stream data being counted as 1, and so on, in generating the pixel image signal in combination with the pixel clock, if the current pixel stream data is an odd line, a plurality of pixel image signals may be generated in accordance with the pixel clock based on the pixel stream order, and if the current pixel stream is an even line, a plurality of pixel image signals may be generated in accordance with the pixel clock based on the pixel stream data in reverse order. So that the liquid crystal panel can scan each pixel at a normal timing in the case of scanning in accordance with an "arcuate" shape.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data transfer terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data transfer terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data transfer terminal apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data transfer terminal apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has described in detail the method, apparatus, electronic device and readable storage medium for data transmission provided by the present invention, and specific examples have been applied to illustrate the principles and embodiments of the present invention, and the above description of the examples is only for helping to understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A method of data transmission, the method comprising:
acquiring image frame data, converting the image frame data into pixel data, and generating a pixel image signal by combining a pixel clock;
in the process of generating the pixel image signals, generating corresponding time sequence control signals, wherein the time sequence control signals are used for determining image frames to which the pixel image signals belong and positions of the pixel image signals in the image frames;
each time a pixel image signal is generated, the pixel image signal and a corresponding timing control signal are transmitted.
2. The method of claim 1, wherein the acquiring image frame data, converting the image frame data into pixel data, and generating a pixel image signal in conjunction with a pixel clock, comprises:
sequentially extracting one or more pixels from the cached image frame data, and converting the one or more pixels into pixel data;
a plurality of pixel image signals are sequentially generated in accordance with a time sequence of each pixel included in the pixel data in combination with a pixel clock.
3. The method of claim 1, wherein the acquiring image frame data, converting the image frame data into pixel data, and generating a pixel image signal in conjunction with a pixel clock, comprises:
Sequentially extracting one or more pixels from the cached image frame data according to a preset rule, and converting the one or more pixels into pixel data;
a plurality of pixel image signals are sequentially generated in accordance with a time sequence of each pixel included in the pixel data in combination with a pixel clock.
4. The method of claim 1, wherein the timing control signal comprises: the frame synchronization identification signal and the point synchronization identification signal generate corresponding time sequence control signals in the process of generating the pixel image signals, and the method comprises the following steps:
generating a frame synchronization identification signal according to the image frame to which the generated pixel image signal belongs;
a dot synchronization identification signal is generated based on the position of the generated pixel image signal in the image frame.
5. The method of claim 4, wherein generating a frame synchronization identification signal from an image frame to which the generated pixel image signal belongs comprises:
counting the generated pixel image signals, and detecting whether the generated pixel image signals reach a preset number of frame pixels, wherein the preset number of frame pixels is determined according to the resolution of the image frame data;
generating a first frame synchronization identification signal according to the period of the pixel clock signal under the condition that the pixel count does not reach the preset number of the frame pixels, and transmitting the first frame synchronization identification signal while transmitting the pixel image signal;
Generating a second frame synchronization identification signal according to the period of the pixel clock signal under the condition that the pixel count reaches the preset number of the frame pixels, and transmitting the second frame synchronization identification signal while transmitting the pixel image signal;
the second frame synchronization identification signal characterizes the currently transmitted pixel image signal as a pixel of the next frame.
6. The method of claim 4, wherein generating the point synchronization identification signal based on the position of the generated pixel image signal in the image frame comprises:
detecting whether the pixel count reaches a preset number of row pixels, wherein the preset number of row pixels is determined according to the resolution of the image frame data;
generating a first dot synchronization identification signal according to the period of the pixel clock signal and transmitting the first dot synchronization identification signal while transmitting the pixel image signal under the condition that the pixel count does not reach the preset number of the row pixels;
generating a second point synchronization identification signal according to the period of the pixel clock signal under the condition that the pixel count reaches the preset number of the row pixels, and transmitting the second point synchronization identification signal while transmitting the pixel image signal;
The second point synchronization identification signal characterizes the currently transmitted pixel image signal as pixels of the next row.
7. A data transmission system, the system comprising: a display controller, a transmission line, and a liquid crystal panel;
the display controller is used for acquiring image frame data, converting the image frame data into pixel data, and generating pixel image signals by combining a pixel clock; generating corresponding time sequence control signals in the process of generating the pixel image signals, and transmitting the pixel image signals and the corresponding time sequence control signals to a liquid crystal panel through a transmission line every time when one pixel image signal is generated, wherein the time sequence control signals are used for determining an image frame to which the pixel image signals belong and the position of the pixel image signals in the image frame;
the transmission line is used for streaming the pixel video signals and the corresponding time sequence control signals output by the display controller;
the liquid crystal panel is used for carrying out point-by-point scanning according to the received pixel image signals so as to display the image frame data based on the pixel image signals.
8. A display controller, the display controller comprising at least: the device comprises an image input module, a pixel generation module, a time sequence control module and an image output module;
The image input module is used for acquiring image frame data and converting the image frame data into pixel data;
the pixel generation module is used for generating a pixel image signal based on the pixel data and a pixel clock;
the time sequence control module is used for generating a corresponding time sequence control signal in the process of generating the pixel image signal, and the time sequence control signal is used for determining an image frame to which the pixel image signal belongs and the position of the pixel image signal in the image frame;
the image output module is used for generating each pixel image signal and sending the pixel image signal and the corresponding time sequence control signal.
9. The liquid crystal panel is characterized in that the liquid crystal panel scans pixels point by point according to received pixel image signals and corresponding time sequence control signals so as to display the image frame data based on the pixel image signals.
10. The liquid crystal panel according to claim 9, wherein the liquid crystal panel determines whether the currently received pixel image signal is a pixel image signal of a next frame according to the received pixel image signal and the frame synchronization identification signal from the display controller to determine whether a frame changing operation needs to be performed;
The liquid crystal panel determines whether the currently received pixel image signal is a pixel image signal of a next line according to the received pixel image signal and the point synchronization identification signal from the display controller, so as to determine whether a line feed operation needs to be performed.
CN202311253272.8A 2023-09-26 2023-09-26 Data transmission method, device, electronic equipment and readable storage medium Pending CN117424990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311253272.8A CN117424990A (en) 2023-09-26 2023-09-26 Data transmission method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311253272.8A CN117424990A (en) 2023-09-26 2023-09-26 Data transmission method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117424990A true CN117424990A (en) 2024-01-19

Family

ID=89523776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311253272.8A Pending CN117424990A (en) 2023-09-26 2023-09-26 Data transmission method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117424990A (en)

Similar Documents

Publication Publication Date Title
US9832421B2 (en) Apparatus and method for converting a frame rate
JP3280306B2 (en) Image information transmitting method, image information updating method, transmitting apparatus and updating apparatus
CN110570793B (en) Testing method and device adaptive to different types of display screens and terminal equipment
JP4564802B2 (en) Image overlay display system and method
CN111953992A (en) Decoding method and device
CN117424990A (en) Data transmission method, device, electronic equipment and readable storage medium
JP2015096920A (en) Image processor and control method of image processing system
CN117424989A (en) Image data processing method, device, electronic equipment and readable storage medium
JP3872295B2 (en) Data display method, recording medium, and processor-based system
EP1705558A2 (en) Method and apparatus for capturing full-screen frames
CN117255164A (en) Data processing method, device, electronic equipment and readable storage medium
CN102340638B (en) A kind of method and apparatus of parallel data processing in video processing device
EP0921495B1 (en) Picture size conversion method and device thereof
JP6553340B2 (en) Display device, display panel driver, and image data signal transmission method
US20100254618A1 (en) Method for Accessing Image Data and Related Apparatus
CN108564929B (en) Source driver, driving circuit and display device
JP2006121472A (en) Data transfer system for osd
CN101968955B (en) Image processing system and image processing method thereof
CN117593985A (en) Data processing method, system, display controller, display and display driver
CN100580765C (en) Image lattice displaying-format changing method
JP2010098539A (en) Video data transmitting and receiving apparatus
JPH11288257A (en) Method and device for compression display
JP4311980B2 (en) Video display device and multi-display system
CN116312317A (en) Display device and resolution switching method thereof
JPS60252988A (en) Image data reduction controlling circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication