Data processing method, device, electronic device and chip

By setting up multiple data conversion modules in the chip, adjusting the number of data storage modules and data channels according to the display mode of image data, solving the problem of difficulty and high cost of synchronous reading of image data in the prior art, and achieving flexible display mode support and synchronous reading effect.

CN119788801APending Publication Date: 2025-04-08BEIJING SEMIDRIVE TECHNOLOGY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411999647.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

When the prior art realizes synchronous reading of image data in the chip, the wiring requirements are high, which increases process difficulty and cost. At the same time, it is necessary to configure FIFOs separately for different display modes, which increases the system burden and cost.

Method used

By setting up multiple data conversion modules in the chip, each module includes a data acquisition module, a data storage module, a data conversion module and a data reading unit. The number of data storage modules used and the number of data channels are flexibly adjusted according to the display mode of the target image data, so as to realize the synchronous reading and display of image data.

Benefits of technology

It reduces the difficulty and cost of chip wiring, supports configurations of different image data display modes, and ensures the synchronous reading and display effect of image data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788801A_ABST
    Figure CN119788801A_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method, device, electronic device and chip. The chip includes multiple data conversion modules. The data conversion module is provided with a data acquisition module, a data storage module, a data conversion module and a data reading unit. The method includes: acquiring target image data through the data acquisition module, and determining a display mode of the target image data; based on the display mode of the target image data, determining the number of data channels required for the target image data and the target usage number of the data storage module; transmitting the target image data from the data acquisition module to the data storage module of the target usage number through the data channel; reading the target image data in the data storage module through the data reading unit, and performing serial-to-parallel conversion on the target image data through the data conversion module to display the target image data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image data processing, and in particular to a data processing method, device, electronic device and chip. Background Art

[0002] In the process of converting and processing the image data and outputting and displaying it, the image data needs to be written and read, and then the serial-to-parallel converted image data is output and displayed according to the corresponding display mode. In the process of reading the image data, it is necessary to read the image data synchronously to ensure the continuous effect of the output display. In the prior art, for the synchronous reading of image data, the read clock and the write clock are set as synchronous clocks to ensure the synchronous reading of the image data. However, such a method has high requirements for the wiring of the chip, which increases the process difficulty and cost. The prior art also sets a first-in-first-out data storage (First Input First Output, FIFO) in the chip, writes the image data into the FIFO based on the write clock, and then reads the image data in the FIFO based on the read clock, and then performs serial-to-parallel conversion on the image data and outputs it for display. However, for different display modes corresponding to the image data, it is necessary to set a FIFO that is compatible with the display mode of the image data to write and read the image data. Setting FIFOs with different configurations in the chip will increase the burden on the system and increase the cost. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a data processing method, device, electronic device and chip. The method is applied to a chip, wherein the chip includes a plurality of data conversion modules, wherein the data conversion module is provided with a data acquisition module, a data storage module, a data conversion module and a data reading unit; the method includes:

[0004] Acquire target image data through the data acquisition module, and determine a display mode of the target image data;

[0005] Determining the number of data channels required for the target image data and the target usage number of the data storage module based on the display mode of the target image data;

[0006] transmitting the target image data from the data acquisition module to the target usage quantity of the data storage module through the data channel;

[0007] The target image data in the data storage module is read by the data reading unit, and the target image data is serial-to-parallel converted by the data conversion module to display the target image data.

[0008] Optionally, reading the target image data in the data storage module by the data reading unit includes:

[0009] Determine a data storage module for controlling a read operation of the target image data among the data storage modules of the target usage quantity as a target data storage module, and determine a data reading unit associated with the target data storage module as a target data reading unit;

[0010] The target data reading unit is controlled by the target data storage module to read the target image data in the data storage module.

[0011] Optionally, controlling the target data reading unit to read the target image data in the data storage module through the target data storage module includes:

[0012] Based on the target image data, determining, by the target data storage module, a read signal corresponding to the target image data for reading;

[0013] The read signal is sent to the target data reading unit through the target data storage module, so that the target data reading unit reads the target image data in the data storage module using the read signal.

[0014] Optionally, reading the target image data in the data storage module by the data reading unit further includes:

[0015] Determining a read clock corresponding to the target image data based on the target usage quantity of the target image data stored in the data storage module;

[0016] Based on the read clock corresponding to the target image data, the target image data stored in the data storage module of the target usage quantity is synchronously read by the target data reading unit.

[0017] Optionally, acquiring target image data through the data acquisition module and determining a display mode of the target image data includes:

[0018] Sort the multiple sub-data included in the target image data by the data acquisition module to obtain parallel data corresponding to the target image data;

[0019] Based on the parallel data corresponding to the target image data, a display mode of the parallel data corresponding to the target image data is determined, and a write clock of the parallel data corresponding to the target image data is determined.

[0020] Optionally, the transmitting the target image data from the data acquisition module to the target usage quantity data storage module through the data channel includes:

[0021] Based on the data width of the parallel data corresponding to the target image data and the write clock of the parallel data corresponding to the target image data, the parallel data corresponding to the target image data is written into the data storage modules of the target usage quantity through the data channel.

[0022] Optionally, performing serial-to-parallel conversion on the target image data by the data conversion module to display the target image data includes:

[0023] The target image data is converted from parallel data to serial data by the data conversion module, and based on the display mode corresponding to the target image data, the serial data corresponding to the target image data is output to the display interface for display.

[0024] The embodiment of the present application also provides an image data detection device, which is applied to a chip, and includes: a plurality of data conversion modules, wherein the data conversion module is provided with a data acquisition module, a data storage module, a data conversion module and a data reading unit; the data acquisition module is connected to the data storage module, the data storage module is connected to the data conversion module, and the data storage module is connected to the data reading unit;

[0025] The data acquisition module is used to acquire target image data and determine a display mode of the target image data;

[0026] The data acquisition module is also used to determine the number of data channels required for the target image data and the target usage number of the data storage module based on the display mode of the target image data;

[0027] The data acquisition module is also used to transmit the target image data to the data storage module of the target usage quantity through the data channel;

[0028] The data reading unit is used to read the target image data in the data storage module;

[0029] The data conversion module is used to perform serial-to-parallel conversion on the target image data so as to display the target image data.

[0030] An embodiment of the present application further provides an electronic device, including a processor and a memory, wherein an executable program is stored in the memory, and the processor executes the executable program to perform the steps of the method described above.

[0031] An embodiment of the present application further provides a chip, comprising the data processing device as described above, wherein the data processing device is used to process target image data acquired by a data conversion module.

[0032] The data processing method of the embodiment of the present application can flexibly adjust the target usage number of the data storage module based on the different display modes of the target image data, ensure the synchronous reading of the target image data, and support different display modes corresponding to the target image data. In addition, the number of data storage modules configured in the present application is configured based on the maximum bit width requirement of the target image data in different display modes, and the number of data storage modules used can be adjusted according to the display mode of the target image data, and there is no need to configure a data storage module separately for each different display mode, which reduces the wiring difficulty and cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A flowchart of a data processing method according to an embodiment of the present application;

[0034] Figure 2 For the embodiments of this application Figure 1 A flowchart of an embodiment of step S400;

[0035] Figure 3 For the embodiments of this application Figure 2 A flowchart of an embodiment of step S420;

[0036] Figure 4 For the embodiments of this application Figure 1 A flowchart of another embodiment of step S400;

[0037] Figure 5 For the embodiments of this application Figure 1 A flowchart of an embodiment of step S100;

[0038] Figure 6 A schematic diagram of the structure of a data processing device according to an embodiment of the present application;

[0039] Figure 7 This is a schematic diagram of the structure of the data conversion module of an embodiment of the present application;

[0040] Figure 8 A schematic diagram of processing target image data using a single data conversion module according to an embodiment of the present application;

[0041] Fig. 9 A schematic diagram of processing target image data using multiple data conversion modules according to an embodiment of the present application;

[0042] Fig.10 A schematic diagram of the structure of an electronic device according to an embodiment of the present application.

[0043] Reference numerals:

[0044] 100-data conversion module; 10-data acquisition module; 20-data storage module; 30-data conversion module; 40-data reading unit; 50-read clock; 60-write clock; 70-multiplexer; 80-display interface. DETAILED DESCRIPTION

[0045] Various schemes and features of the present application are described herein with reference to the accompanying drawings. It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0046] A data processing method of an embodiment of the present application is applied to a chip, which can be a SOC (System on Chip) or a chip containing a SOC, and the chip includes multiple data conversion modules, which are used to write, read and convert target image data, and then output and display the target image data; the data conversion module is provided with a data acquisition module, a data storage module, a data conversion module and a data reading unit. The method acquires the target image data through the data acquisition module and determines the display mode of the target image data; based on the display mode of the target image data, determines the number of data channels required for the target image data and the target usage number of the data storage module; transmits the target image data from the data acquisition module to the data storage module of the target usage number through the data channel; reads the target image data in the data storage module through the data reading unit, and performs serial-to-parallel conversion on the target image data through the data conversion module to display the target image data. The method uses a data conversion module to adjust the number of data channels required for the target image data and the target usage number of the data storage module based on different display modes of the target image data; writes the target image data into the data storage module through the data channel, and synchronously reads the target image data in the data storage module with the target usage number, and then performs serial-to-parallel conversion on the target image data to output and display the target image data. The present application can flexibly adjust the target usage number of the data storage module based on different display modes of the target image data, ensure the synchronous reading of the target image data, and can support different display modes corresponding to the target image data, such as screen expansion or screen replication, and also supports connecting multiple display screens to display different data images.

[0047] The data processing method is described in detail below with reference to the accompanying drawings. Figure 1 is a flow chart of a data processing method according to an embodiment of the present application, which is applied in a chip, such as Figure 6 and Figure 7 As shown, the chip includes a plurality of data conversion modules 100, and the data conversion module 100 is provided with a data acquisition module 10, a data storage module 20, a data conversion module 30 and a data reading unit 40; Figure 1 As shown, the method comprises the following steps:

[0048] S100, acquiring target image data through the data acquisition module, and determining a display mode of the target image data;

[0049] In this embodiment, the target image data is first acquired by the data acquisition module 10, and the display mode of the target image data is determined; the target image data may be an image frame data stream. For example, for a general parallel RGB image frame data stream, it can often be split into multiple frame data streams of the same format according to its OPENLDI display mode. For example, the single mode of OPENLDI does not need to be split, while the dual mode can be split into the upper half dual mode 1a and the lower half dual mode 1b data frame streams, the duplicate mode can copy the data frame stream twice, and the 4K mode can be split into 1a 1b 1c 1d 4-part data frame stream, and the target image data frame is given to the data acquisition module 10 through the multiplexer 70 (Multiplexer, MUX). Here, OpenLDI is an open low voltage differential display interface (Open LVDS Display Interface, OpenLDI). The data acquisition module 10 acquires the parallel OpenLDI data corresponding to the target image data and determines the display mode of the target image data. For example, after the data acquisition module 10 acquires the parallel OpenLDI data corresponding to the target image data, it can determine that the display mode corresponding to the target image data is a single-mode display mode (Single Mode), a dual-mode display mode (Dual Mode) or a 4K display mode (4K Mode).

[0050] S200, determining the number of data channels required for the target image data and the target usage number of the data storage module based on the display mode of the target image data;

[0051] In this embodiment, after determining the display mode of the target image data, the number of data channels required for the target image data and the target usage number of the data storage module 20 are determined based on the display mode of the target image data. Different display modes have different numbers of pixels and pixel widths for single transmission, so different numbers of data channels are required. The data storage module 20 can be a first-in-first-out data storage (First Input First Output, FIFO), and the data depth that each data storage module 20 can accommodate can be preset. For example, the data depth accommodated by the data storage module 20 can be set to the data width of the target image data corresponding to the Single Mode. The data depth that the data storage module 20 can usually accommodate during use can be considered as the median of the maximum storage depth of the data storage module 20 that can store data, that is, when the data stored in the data storage module 20 reaches the median of the maximum storage depth, the data stored in the data storage module 20 needs to be read and output. For example, for different display modes of the target image data, four data storage modules 20 can be configured. One data storage module 20 can accommodate the data bit width of the target image data corresponding to the Single Mode; two data storage modules 20 can accommodate the data bit width of the target image data corresponding to the Dual Mode; and four data storage modules 20 can accommodate the data bit width of the target image data corresponding to the 4K Mode.

[0052] The display mode corresponding to the target image data can characterize the number of pixels and the pixel width of a single transmission of the target image data, and the number of data channels required for the target image data and the target usage number of the data storage module 20 can be determined according to the display mode corresponding to the target image data. When the display mode corresponding to the target image data is Single Mode, it can be determined that the number of data channels required for the target image data and the target usage number of the data storage module 20 are both 1. When the display mode corresponding to the target image data is Dual Mode, it can be determined that the number of data channels required for the target image data and the target usage number of the data storage module 20 are both 2. When the display mode corresponding to the target image data is 4K Mode, it can be determined that the number of data channels required for the target image data and the target usage number of the data storage module 20 are both 4. The configuration of multiple data storage modules 20 can select different numbers of data storage modules 20 according to specific display requirements, thereby supporting the configuration of multiple display modes.

[0053] S300, transmitting the target image data from the data acquisition module to the data storage module of the target usage quantity through the data channel;

[0054] In this embodiment, after determining the number of data channels required for the target image data and the target usage number of the data storage module 20 based on the display mode of the target image data, the target image data is transmitted from the data acquisition module 10 to the data storage module 20 of the target usage number through the data channel. The number of data channels required for the target image data corresponds to the target usage number of the data storage module 20, and the target image data can be synchronously transmitted to the data storage module 20 of the target usage number through the data channel. For example, when the display mode corresponding to the target image data is Single Mode, the target image data can be transmitted to one data storage module 20 through one data channel. When the display mode corresponding to the target image data is Dual Mode, the target image data can be transmitted to two data storage modules 20 through two data channels. When the display mode corresponding to the target image data is 4K Mode, the target image data can be transmitted to four data storage modules 20 through four data channels.

[0055] S400, reading the target image data in the data storage module through the data reading unit, and performing serial-to-parallel conversion on the target image data through the data conversion module to display the target image data.

[0056] In this embodiment, after the target image data is transmitted from the data acquisition module 10 to the target usage number data storage module 20 through the data channel, the target image data in the data storage module 20 is read through the data reading unit 40, and the target image data is converted into serial and parallel through the data conversion module 30 to display the target image data. Each data storage module 20 is configured with a corresponding data reading unit 40, and the data storage module 20 can control the data reading unit 40, so as to read the target image data stored in the data storage module 20 through the data reading unit 40. The data reading unit 40 can be a MUX for reading data. When the data stored in the data storage module 20 reaches the median of the maximum storage depth, the data storage module 20 can control the data reading unit 40 to read and output the target image data stored in the data storage module 20. For example, Figure 8 As shown, when the display mode corresponding to the target image data is Single Mode, the target image data is stored in one data storage module 20, and the data storage module 20 can control the corresponding data reading unit 40 to read the target image data stored in the data storage module 20. Fig. 9As shown, if the display mode corresponding to the target image data is 4K Mode, the target image data is stored in four data storage modules 20, and one of the four data storage modules 20 can control each data reading unit 40 corresponding to the four data storage modules 20 to read the target image data stored in the four data storage modules 20. After reading the target image data stored in the data storage module 20, the target image data is given to the data conversion module 30, and the target image data is converted from serial to parallel by the data conversion module 30, so as to give the target image data to the corresponding display interface 80, and output and display according to the display mode corresponding to the target image data.

[0057] The present application writes, reads and converts the target image data by setting a plurality of data conversion modules 100, and then outputs and displays the target image data. In addition, each data conversion module 100 is provided with a data storage module 20, and the number of data storage modules 20 used can be determined according to the display mode of the target image data. For different display modes of the target image data, the number of data channels required for the target image data and the target number of data storage modules 20 can be selected to support the configuration of different display modes of the target image data. The present application can select different numbers of data storage modules 20 based on different display modes of the target image data to ensure the synchronous reading of the target image data, and can support different display modes corresponding to the target image data, such as screen expansion or screen replication, and also supports connecting multiple display screens to display different data images. In addition, the number of data storage modules 20 configured in the present application is configured based on the maximum bit width requirements of the target image data under different display modes, which can meet the data bit width requirements of the target image data corresponding to different display modes. The number of data storage modules 20 used can be adjusted according to the display mode of the target image data, and there is no need to configure the data storage module 20 separately for each different display mode, which reduces the wiring difficulty and cost.

[0058] In one embodiment of the present application, Figure 2 As shown, the step of reading the target image data in the data storage module by the data reading unit includes:

[0059] S410, determining a data storage module for controlling a read operation of the target image data among the data storage modules of the target usage quantity as a target data storage module, and determining a data reading unit associated with the target data storage module as a target data reading unit;

[0060] In this embodiment, after the target image data is stored in the target usage number of the data storage modules 20, the data storage module 20 for controlling the reading operation of the target image data among the data storage modules 20 with the target usage number is determined as the target data storage module. Specifically, the target usage number of the data storage module 20 is at least one. When the target usage number of the data storage module 20 is one, the data storage module 20 can be determined as the target data storage module; when the target usage number of the data storage module 20 is multiple, one of the multiple data storage modules 20 can be determined as the target data storage module. According to the target usage number of the data storage module 20, the target data reading unit for reading the target image data can be determined; the target data reading unit is the data reading unit 40 corresponding to the data storage module 20 in use, and the target data storage module can directly control the target data reading unit to perform the image data reading operation.

[0061] For example, when the display mode corresponding to the target image data is Single Mode, the target image data is stored in one data storage module 20, the data storage module 20 is the target data storage module, and the data reading unit 40 corresponding to the data storage module 20 is the target data reading unit. When the display mode corresponding to the target image data is 4K Mode, the target image data is stored in four data storage modules 20, one of the four data storage modules 20 is determined as the target data storage module, and each of the data reading units 40 corresponding to the four data storage modules 20 is determined as a target data reading unit, and the target data storage module can control the data reading units 40 corresponding to the four data storage modules 20 to read data.

[0062] S420: Control the target data reading unit through the target data storage module to read the target image data in the data storage module.

[0063] In this embodiment, the data storage module 20 used to control the reading operation of the target image data in the data storage module 20 of the target usage number is determined as the target data storage module, and the data reading unit 40 associated with the target data storage module is determined as the target data reading unit, and the target data storage module controls the target data reading unit to read the target image data in the data storage module 20. When the target image data is stored in the data storage module 20 and the target image data stored in the data storage module 20 reaches the median of the maximum storage depth, the target image data stored in the data storage module 20 needs to be read out, and the target image data stored in the data storage module 20 can be synchronously read out by controlling the target data reading unit through the target data storage module.

[0064] For example, when the display mode corresponding to the target image data is Single Mode, the target image data is stored in one data storage module 20, and the data storage module 20 can accommodate data of up to 8 depths. When the data storage module 20 stores data of 4 depths, the corresponding data reading unit 40 can be directly controlled by the data storage module 20 to read out the target image data stored in the data storage module 20. When the display mode corresponding to the target image data is 4K Mode, the target image data is stored in four data storage modules 20, and each data storage module 20 can accommodate data of up to 8 depths. When the target data storage module stores data of 4 depths, it can be considered that there is already data in other data storage modules 20, and the target data storage module can be used to control each data reading unit 40 corresponding to the four data storage modules 20 to synchronously read out the target image data stored in the four data storage modules 20.

[0065] In one embodiment of the present application, Figure 3 As shown, the target data reading unit is controlled by the target data storage module to read the target image data in the data storage module, including:

[0066] S4201, based on the target image data, determining, by the target data storage module, a read signal corresponding to the target image data for reading;

[0067] In this embodiment, for the target image data stored in the data storage module 20, the target image data needs to be read by a read signal corresponding to the target image data. The read signal corresponding to the target image data can be determined by the target data storage module according to the display mode of the target image data. For example, Figure 8 As shown, when the display mode corresponding to the target image data is Single Mode, the target image data is stored in a data storage module 20, which is a target data storage module. The target data storage module can determine the read signal for reading the target image data corresponding to Single Mode according to Single Mode. Fig. 9 As shown, when the display mode corresponding to the target image data is 4K Mode, the target image data is stored in four data storage modules 20, one of the four data storage modules 20 is the target data storage module, and the target data storage module can determine the read signal for reading the target image data corresponding to the 4K Mode according to the 4K Mode.

[0068] S4202: Send the read signal to the target data reading unit through the target data storage module, so that the target data reading unit reads the target image data in the data storage module using the read signal.

[0069] In this embodiment, after the target data storage module determines the read signal corresponding to the target image data, the target data storage module sends the read signal to the target data reading unit, so that the target data reading unit uses the read signal to read the target image data in the data storage module 20. When the target image data stored in the target data storage module reaches the median of the maximum storage depth, the target data storage module can send the read signal to the target data reading unit, thereby controlling the target data reading unit to synchronously read out the target image data in the data storage module 20 using the read signal.

[0070] For example, Figure 8 As shown, when the display mode corresponding to the target image data is Single Mode, the target image data is stored in a data storage module 20, and the data storage module 20 is a target data storage module. The target data storage module can determine the read signal for reading the target image data corresponding to Single Mode according to Single Mode. The target data storage module can accommodate data of up to 8 depths. When the target data storage module stores data of 4 depths, the read signal can be sent to the target data reading unit through the target data storage module, and the target data reading unit can be controlled to read the target image data in the target data storage module using the read signal.

[0071] like Fig. 9 As shown, when the display mode corresponding to the target image data is 4K Mode, the target image data is stored in four data storage modules 20, one of the four data storage modules 20 is the target data storage module, and each data reading unit 40 corresponding to the four data storage modules 20 is a target data reading unit. The target data storage module can determine the read signal for reading the target image data corresponding to the 4K Mode according to the 4K Mode. Each data storage module 20 can accommodate data of up to 8 depths. When the target data storage module stores data of 4 depths, it can be considered that data already exists in other data storage modules 20. For example, the other three data storage modules 20 also store data of 4 depths. The read signal can be sent to the target data reading unit, that is, each data reading unit 40 corresponding to the four data storage modules 20, through the target data storage module, and each data reading unit 40 corresponding to the four data storage modules 20 is controlled to synchronously read the target image data in the four data storage modules 20 using the read signal.

[0072] In one embodiment of the present application, Figure 4 As shown, the reading of the target image data in the data storage module by the data reading unit further includes:

[0073] S430, determining a read clock corresponding to the target image data based on the target image data stored in the data storage module of the target usage quantity;

[0074] In this embodiment, after the target image data is stored in the target number of data storage modules 20, the read clock 50 corresponding to the target image data can be determined according to the display mode of the target image data. The function of the read clock 50 is to ensure that the target image data is read synchronously when reading the target image data. For example, when the display mode corresponding to the target image data is Single Mode, the clkx7 read clock corresponding to Single Mode is determined by MUX; when the display mode corresponding to the target image data is Dual Mode, the read clocks of the two data storage modules 20 used are determined as the clkx7 read clock corresponding to Dual Mode by MUX; when the display mode corresponding to the target image data is 4K Mode, the read clocks of the four data storage modules 20 used are determined as the clkx7 read clock corresponding to 4K Mode by MUX; the MUX here is a MUX for selecting the read clock. It should be noted that the read clocks 50 of all the data storage modules 20 selected in the same display mode are derived from one clock.

[0075] S440 , based on a read clock corresponding to the target image data, synchronously read the target image data stored in the data storage module of a target usage quantity through the target data reading unit.

[0076] In this embodiment, after determining the read clock 50 corresponding to the target image data based on the target image data stored in the data storage module 20 of the target usage quantity, the target image data stored in the data storage module 20 of the target usage quantity is synchronously read by the target data reading unit based on the read clock 50 corresponding to the target image data. When the data stored in the target data storage module reaches the median of the maximum storage depth, it can be considered that data already exists in other data storage modules 20 other than the target data storage module. In this case, it is necessary to read the data in the data storage module 20 of the target usage quantity, and the read clock 50 corresponding to the target image data can be used to ensure that the target image data is aligned, and when the target image data stored in the data storage module 20 of the target usage quantity is read by the target data reading unit, the read clock 50 corresponding to the target image data can be used to ensure that the target image data in the data storage module 20 is synchronously read.

[0077] For example, when the display mode corresponding to the target image data is Single Mode, the target image data is stored in one data storage module 20, and the read clock 50 corresponding to the target image data can be determined to be the clkx7 read clock corresponding to Single Mode. The data storage module 20 can accommodate data of up to 8 depths. When the data storage module 20 stores data of 4 depths, the target image data in the data storage module 20 can be synchronously read out by the target data reading unit through the clkx7 read clock corresponding to Single Mode. When the display mode corresponding to the target image data is 4K Mode, the target image data is stored in 4 data storage modules 20, and the read clock 50 corresponding to the target image data can be determined to be the clkx7 read clock corresponding to 4K Mode. Each data storage module 20 can accommodate data of up to 8 depths. When the target data storage module stores data of 4 depths, the target image data in the 4 data storage modules 20 can be synchronously read out by each data reading unit 40 corresponding to the 4 data storage modules 20 through the clkx7 read clock corresponding to 4K Mode.

[0078] In one embodiment of the present application, Figure 5 As shown, acquiring target image data through the data acquisition module and determining a display mode of the target image data includes:

[0079] S110, sorting the multiple sub-data included in the target image data by the data acquisition module to obtain parallel data corresponding to the target image data;

[0080] In the present embodiment, in the process of acquiring the target image data through the data acquisition module 10, the data acquisition module 10 can sort the multiple sub-data contained in the target image data to obtain the parallel data corresponding to the target image data. Specifically, the multiple sub-data contained in the target image data can be each segment of data in the target image data, and the data acquisition module 10 can acquire each segment of data in the target image data to obtain the parallel OpenLDI data corresponding to the target image data. For example, the data acquisition module 10 can acquire the target image data corresponding to the display mode of Single Mode, Dual Mode or 4K Mode; the data acquisition module 10 can acquire a segment of data corresponding to Single Mode, the upper half of the data and the lower half of the data corresponding to Dual Mode, and can also parse the 1 / 4, 1 / 2, 3 / 4 and 4 / 4 segments of data corresponding to 4K Mode. For example, for each segment of data, it can be considered as a 4-line x 7bit, a total of 28bit of OPENLDI parallel data.

[0081] S120, based on the parallel data corresponding to the target image data, determining a display mode of the parallel data corresponding to the target image data, and determining a write clock of the parallel data corresponding to the target image data.

[0082] In this embodiment, after the data acquisition module 10 sorts the multiple sub-data included in the target image data and obtains the parallel data corresponding to the target image data, the display mode of the parallel data corresponding to the target image data is determined based on the parallel data corresponding to the target image data, and the write clock 60 of the parallel data corresponding to the target image data is determined. Specifically, after the data acquisition module 10 acquires each segment of data in the target image data and obtains the parallel OpenLDI data corresponding to the target image data, the write clock 60 corresponding to the target image data can be determined based on the parallel OpenLDI data corresponding to the target image data and the display mode of the parallel data corresponding to the target image data. For example, when the display mode corresponding to the target image data is Single Mode, the data acquisition module 10 can acquire the parallel OpenLDI data corresponding to Single Mode, and can determine that the target image data is 4 groups of data corresponding to Single Mode, and the write clock 60 corresponding to the target image data can be selected as the clkx1 write clock corresponding to Single Mode through MUX. When the display mode corresponding to the target image data is Dual Mode, the data acquisition module 10 can acquire the parallel OpenLDI data corresponding to Dual Mode, and can determine that the target image data is 8 groups of data corresponding to Dual Mode, and can select the write clock 60 corresponding to the target image data as the clkx1 write clock corresponding to Dual Mode through MUX; when the display mode corresponding to the target image data is 4K Mode, the data acquisition module 10 can acquire the parallel OpenLDI data corresponding to 4K Mode, and can determine that the target image data is 16 groups of data corresponding to 4K Mode, and can select the write clock 60 corresponding to the target image data as the clkx1 write clock corresponding to 4K Mode through MUX. The MUX here is a MUX for selecting the write clock 60.

[0083] In one embodiment of the present application, the transmitting the target image data from the data acquisition module to the target usage quantity data storage module through the data channel includes:

[0084] Based on the data width of the parallel data corresponding to the target image data and the write clock of the parallel data corresponding to the target image data, the parallel data corresponding to the target image data is written into the data storage modules of the target usage quantity through the data channel.

[0085] In this embodiment, after determining the data width of the parallel data corresponding to the target image data and determining the write clock 60 of the parallel data corresponding to the target image data based on the parallel data corresponding to the target image data, the parallel data corresponding to the target image data is written into the target usage quantity data storage module 20 through the data channel based on the data width of the parallel data corresponding to the target image data and the write clock 60 of the parallel data corresponding to the target image data. Specifically, Figure 8 and Fig. 9 As shown, based on the data width of the parallel OpenLDI data corresponding to the target image data and the write clock 60 of the parallel OpenLDI data corresponding to the target image data, the parallel OpenLDI data corresponding to the target image data is written into the target usage quantity data storage module 20 through the number of data channels required by the target image data.

[0086] For example, when the display mode corresponding to the target image data is Single Mode, the write clock 60 corresponding to the target image data can be determined to be the clkx1 write clock corresponding to Single Mode according to the data width of the target image data corresponding to Single Mode. Based on the 4 groups of data corresponding to Single Mode and the clkx1 write clock corresponding to Single Mode, the parallel OpenLDI data corresponding to the target image data can be written into a data storage module 20 through one data channel. When the display mode corresponding to the target image data is 4K Mode, the write clock 60 corresponding to the target image data can be determined to be the clkx1 write clock corresponding to 4K Mode according to the data width of the target image data corresponding to 4K Mode. Based on the 16 groups of data corresponding to 4K Mode and the clkx1 write clock corresponding to 4K Mode, the parallel OpenLDI data corresponding to the target image data can be written into four data storage modules 20 through four data channels.

[0087] In one embodiment of the present application, performing serial-to-parallel conversion on the target image data by the data conversion module to display the target image data includes:

[0088] The target image data is converted from parallel data to serial data by the data conversion module, and based on the display mode corresponding to the target image data, the serial data corresponding to the target image data is output to the display interface for display.

[0089] In this embodiment, if Figure 8 and Fig. 9As shown, after the target image data in the data storage module 20 is read by the data reading unit 40, the target image data is given to the data conversion module 30, and the target image data is converted from parallel data to serial data by the data conversion module 30, and based on the display mode corresponding to the target image data, the serial data corresponding to the target image data is given to the corresponding display interface 80, and the display interface 80 outputs and displays the target image data according to the display mode corresponding to the target image data.

[0090] For example, when the display mode corresponding to the target image data is Single Mode, after the target image data in one data storage module 20 is read by the data reading unit 40, the target image data is converted from parallel data to serial data by the data conversion module 30, and based on Single Mode, the serial data corresponding to the target image data is given to the display interface 80 corresponding to Single Mode, and the target image data is output and displayed by the display interface 80 corresponding to Single Mode. When the display mode corresponding to the target image data is 4K Mode, after the target image data in four data storage modules 20 is read by the data reading unit 40, the target image data is converted from parallel data to serial data by the data conversion module 30, and based on 4K Mode, the serial data corresponding to the target image data is given to the display interface 80 corresponding to 4K Mode, and the target image data is output and displayed by the display interface 80 corresponding to 4K Mode.

[0091] Based on the same inventive concept, the present application also provides a data processing device, which is applied to a chip, such as Figure 6 and Figure 7 As shown, it includes: a plurality of data conversion modules 100, wherein the data conversion module 100 is provided with a data acquisition module 10, a data storage module 20, a data conversion module 30 and a data reading unit 40; the data acquisition module 10 is connected to the data storage module 20, the data storage module 20 is connected to the data conversion module 30, and the data storage module 20 is connected to the data reading unit 40;

[0092] The data acquisition module 10 is used to acquire target image data and determine a display mode of the target image data;

[0093] In this embodiment, the data acquisition module 10 is used to acquire the target image data and determine the display mode of the target image data; the target image data may be an image frame data stream. For example, for a general parallel RGB image frame data stream, it can often be split into multiple frame data streams of the same format according to its OPENLDI display mode. For example, the single mode of OPENLDI does not need to be split, while the dual mode can be split into the upper half dual mode 1a and the lower half dual mode 1b data frame streams, the duplicate mode can copy the data frame stream twice, and the 4K mode can be split into 1a1b 1c 1d 4-part data frame stream, and the target image data frame is given to the data acquisition module 10 through the multiplexer 70 (Multiplexer, MUX). The OpenLDI here is an open low voltage differential display interface (Open LVDS Display Interface, OpenLDI). The data acquisition module 10 acquires the parallel OpenLDI data corresponding to the target image data and determines the display mode of the target image data. For example, after the data acquisition module 10 acquires the target image data, it can determine whether the display mode corresponding to the target image data is a single-mode display mode (Single Mode), a dual-mode display mode (Dual Mode) or a 4K display mode (4K Mode).

[0094] The data acquisition module 10 is also used to determine the number of data channels required for the target image data and the target usage number of the data storage module 20 based on the display mode of the target image data;

[0095] In this embodiment, the data acquisition module 10 is also used to determine the number of data channels required for the target image data and the target usage number of the data storage module 20 based on the display mode of the target image data. Different display modes have different numbers of pixels and pixel widths for single transmission, so different numbers of data channels are required. The data storage module 20 can be a first-in-first-out data storage (First Input First Output, FIFO), and the data depth that each data storage module 20 can accommodate can be preset. For example, the data depth accommodated by the data storage module 20 can be set to the data width of the target image data corresponding to the SingleMode. The data depth that the data storage module 20 can usually accommodate during use can be considered as the median of the maximum storage depth of the data storage module 20 that can store data, that is, when the data stored in the data storage module 20 reaches the median of the maximum storage depth, the data stored in the data storage module 20 needs to be read and output. For example, for different display modes of the target image data, four data storage modules 20 can be configured. One data storage module 20 can accommodate the data bit width of the target image data corresponding to the Single Mode; two data storage modules 20 can accommodate the data bit width of the target image data corresponding to the Dual Mode; and four data storage modules 20 can accommodate the data bit width of the target image data corresponding to the 4K Mode.

[0096] The display mode corresponding to the target image data can characterize the number of pixels and the pixel width of a single transmission of the target image data, and the number of data channels required for the target image data and the target usage number of the data storage module 20 can be determined according to the display mode corresponding to the target image data. When the display mode corresponding to the target image data is Single Mode, it can be determined that the number of data channels required for the target image data and the target usage number of the data storage module 20 are both 1. When the display mode corresponding to the target image data is Dual Mode, it can be determined that the number of data channels required for the target image data and the target usage number of the data storage module 20 are both 2. When the display mode corresponding to the target image data is 4K Mode, it can be determined that the number of data channels required for the target image data and the target usage number of the data storage module 20 are both 4. The configuration of multiple data storage modules 20 can select different numbers of data storage modules 20 according to specific display requirements, thereby supporting the configuration of multiple display modes.

[0097] The data acquisition module 10 is also used to transmit the target image data to the data storage module 20 of the target usage quantity through the data channel;

[0098] In this embodiment, the data acquisition module 10 is also used to transmit the target image data from the data acquisition module 10 to the target usage number of the data storage module 20 through the data channel. The number of data channels required for the target image data corresponds to the target usage number of the data storage module 20, and the target image data can be synchronously transmitted to the target usage number of the data storage module 20 through the data channel. For example, when the display mode corresponding to the target image data is Single Mode, the target image data can be transmitted to one data storage module 20 through one data channel. When the display mode corresponding to the target image data is Dual Mode, the target image data can be transmitted to two data storage modules 20 through two data channels. When the display mode corresponding to the target image data is 4KMode, the target image data can be transmitted to four data storage modules 20 through four data channels.

[0099] The data reading unit 40 is used to read the target image data in the data storage module 20;

[0100] In this embodiment, the data reading unit 40 is used to read the target image data in the data storage module 20. Each data storage module 20 is configured with a corresponding data reading unit 40, and the data storage module 20 can control the data reading unit 40, so as to read the target image data stored in the data storage module 20 through the data reading unit 40. The data reading unit 40 can be a MUX for reading data. When the data stored in the data storage module 20 reaches the median of the maximum storage depth, the data storage module 20 can control the data reading unit 40 to read and output the target image data stored in the data storage module 20. For example, Figure 8 As shown, when the display mode corresponding to the target image data is Single Mode, the target image data is stored in one data storage module 20, and the data storage module 20 can control the corresponding data reading unit 40 to read the target image data stored in the data storage module 20. Fig. 9 As shown, if the display mode corresponding to the target image data is 4K Mode, the target image data is stored in four data storage modules 20, and one of the four data storage modules 20 can control each data reading unit 40 corresponding to the four data storage modules 20 to read the target image data stored in the four data storage modules 20.

[0101] The data conversion module 30 is used to perform serial-to-parallel conversion on the target image data so as to display the target image data.

[0102] In this embodiment, the data conversion module 30 is used to perform serial-to-parallel conversion on the target image data so as to display the target image data. After reading the target image data stored in the data storage module 20, the target image data is given to the data conversion module 30, and the target image data is converted into serial-to-parallel by the data conversion module 30, so as to be given to the corresponding display interface 80, and output and display according to the display mode corresponding to the target image data.

[0103] The data processing device of the present application, by setting a plurality of data conversion modules 100, writes, reads and converts the target image data, and then outputs and displays the target image data. In addition, each data conversion module 100 is provided with a data storage module 20, and the number of data storage modules 20 used can be determined according to the display mode of the target image data. For different display modes of the target image data, the number of data channels required for the target image data and the target number of data storage modules 20 are selected to support the configuration of different display modes of the target image data. The present application can select different numbers of data storage modules 20 based on different display modes of the target image data to ensure the synchronous reading of the target image data, and can support different display modes corresponding to the target image data, such as screen expansion or screen replication, and also supports connecting multiple display screens to display different data images. In addition, the number of data storage modules 20 configured in the present application is configured based on the maximum data bit width requirements of the target image data under different display modes, which can meet the data bit width requirements of the target image data corresponding to different display modes. The number of data storage modules 20 used can be adjusted according to the display mode of the target image data, and there is no need to configure the data storage module 20 separately for each different display mode, which reduces the wiring difficulty and cost.

[0104] Based on the same concept, the embodiment of the present application also provides an electronic device, such as Fig.10 As shown, it includes a processor and a memory, wherein an executable program is stored in the memory, and the processor executes the executable program to perform the steps of the method as described above.

[0105] An embodiment of the present application also provides a chip, comprising the data processing device as described above, and the data processing device is used to process the target image data acquired by the data conversion module.

[0106] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.

[0107] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM).

[0108] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated in the processor.

[0109] It should be noted that the memory described herein is intended to include, without being limited to, these and any other suitable types of memory.

[0110] It should also be understood that the first, second, third, fourth and various numerical numbers involved in this document are only distinctions made for the convenience of description and are not intended to limit the scope of the present application.

[0111] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0112] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0113] In various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0114] Those skilled in the art will appreciate that the various illustrative logical blocks (ILBs) and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may 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.

[0115] In the several embodiments provided in the present application, it should be understood that the disclosed data detection methods, devices, electronic devices, storage media and chips can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units (or modules) is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0117] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0118] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0119] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data processing method, characterized in that: Applied in a chip, the chip includes a plurality of data conversion modules, the data conversion module is provided with a data acquisition module, a data storage module, a data conversion module and a data reading unit; the method includes: Acquire target image data through the data acquisition module, and determine a display mode of the target image data; Determining the number of data channels required for the target image data and the target usage number of the data storage module based on the display mode of the target image data; transmitting the target image data from the data acquisition module to the target usage quantity of the data storage module through the data channel; The target image data in the data storage module is read by the data reading unit, and the target image data is serial-to-parallel converted by the data conversion module to display the target image data.

2. The data processing method according to claim 1, characterized in that: The step of reading the target image data in the data storage module by the data reading unit comprises: Determine a data storage module for controlling a read operation of the target image data among the data storage modules of the target usage quantity as a target data storage module, and determine a data reading unit associated with the target data storage module as a target data reading unit; The target data reading unit is controlled by the target data storage module to read the target image data in the data storage module.

3. The data processing method according to claim 2, characterized in that: The controlling the target data reading unit to read the target image data in the data storage module through the target data storage module comprises: Based on the target image data, determining, by the target data storage module, a read signal corresponding to the target image data for reading; The read signal is sent to the target data reading unit through the target data storage module, so that the target data reading unit reads the target image data in the data storage module using the read signal.

4. The data processing method according to claim 2, characterized in that: The step of reading the target image data in the data storage module by the data reading unit further includes: Determining a read clock corresponding to the target image data based on the target usage quantity of the target image data stored in the data storage module; Based on the read clock corresponding to the target image data, the target image data stored in the data storage module of the target usage quantity is synchronously read by the target data reading unit.

5. The data processing method according to claim 1, characterized in that: The step of acquiring target image data through the data acquisition module and determining a display mode of the target image data includes: Sort the multiple sub-data included in the target image data by the data acquisition module to obtain parallel data corresponding to the target image data; Based on the parallel data corresponding to the target image data, a display mode of the parallel data corresponding to the target image data is determined, and a write clock of the parallel data corresponding to the target image data is determined.

6. The data processing method according to claim 5, characterized in that: The transmitting the target image data from the data acquisition module to the target usage quantity data storage module through the data channel comprises: Based on the data width of the parallel data corresponding to the target image data and the write clock of the parallel data corresponding to the target image data, the parallel data corresponding to the target image data is written into the data storage modules of the target usage quantity through the data channel.

7. The data processing method according to claim 1, characterized in that: The step of performing serial-to-parallel conversion on the target image data by the data conversion module to display the target image data includes: The target image data is converted from parallel data to serial data by the data conversion module, and based on the display mode corresponding to the target image data, the serial data corresponding to the target image data is output to the display interface for display.

8. A data processing device, characterized in that: Applied in a chip, comprising: a plurality of data conversion modules, wherein the data conversion module is provided with a data acquisition module, a data storage module, a data conversion module and a data reading unit; the data acquisition module is connected to the data storage module, the data storage module is connected to the data conversion module, and the data storage module is connected to the data reading unit; The data acquisition module is used to acquire target image data and determine a display mode of the target image data; The data acquisition module is also used to determine the number of data channels required for the target image data and the target usage number of the data storage module based on the display mode of the target image data; The data acquisition module is also used to transmit the target image data to the data storage module of the target usage quantity through the data channel; The data reading unit is used to read the target image data in the data storage module; The data conversion module is used to perform serial-to-parallel conversion on the target image data so as to display the target image data.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein an executable program is stored in the memory, and the processor executes the executable program to perform the steps of the method according to any one of claims 1 to 7.

10. A chip, characterized in that: It includes the data processing device as described in claim 8, wherein the data processing device is used to process the target image data obtained by the data conversion module.