Data distribution method, device, integrated chip and video image processing system

By adjusting the operating frequency according to the pixel clock frequency of the video image processing system and the maximum operating frequency threshold of data processing, and allocating data to the data stream, the problem of excessive chip operating frequency is solved, and system stability and data processing reliability are improved.

CN113535631BActive Publication Date: 2024-09-24SUZHOU HUAXING YUANCHUANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010322644.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-22
Publication Date
2024-09-24
Estimated Expiration
2040-04-22

AI Technical Summary

Technical Problem

In video image processing systems, due to the large increase in data processing volume, the operating frequency of the chip is too high, which affects the stability of the system and reduces the stability of the operation.

Method used

By determining the working frequency adjustment strategy based on the pixel clock frequency of the video image processing system and the maximum working frequency threshold of data processing, adjusting the working parameters, allocating the data to be processed to the data stream, and reducing the working frequency of the integrated chip.

Benefits of technology

It improves the operational stability of the video image processing system and the reliability of data processing, significantly reduces the actual working frequency of the chip, and improves the processing performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113535631B
    Figure CN113535631B
Patent Text Reader

Abstract

The present invention discloses a data distribution method, device, integrated chip and video image processing system. The method comprises: determining the working frequency adjustment strategy of the video image processing system according to the pixel clock frequency of the video image processing system and the maximum working frequency threshold of data processing; adjusting the working parameters of the video image processing system according to the working frequency adjustment strategy; and distributing the data to be processed to at least one data stream according to the working parameters. Through the above technical solution, the working frequency of the integrated chip is reduced and the stability of the operation of the video image processing system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of data communication technology, and in particular to a data distribution method, device, integrated chip and video image processing system. Background Art

[0002] Video image processing systems are increasingly widely used in many fields such as equipment inspection / detection, security monitoring, industrial vision, and artificial intelligence. With the continuous improvement of the resolution of video image processing systems, the number of channels (Lane) used on video display terminal devices has increased, and the link rate (LR) has also been continuously improved, which has put higher and higher requirements on the stability and coordination of the hardware platform of the video image processing system.

[0003] In scenarios where the amount of data processing increases significantly, the data is too concentrated, resulting in a high operating frequency inside the chip that carries the data, which affects the data processing performance of the chip and reduces the stability of the video image processing system. Summary of the invention

[0004] The present invention provides a data distribution method, device, integrated chip and video image processing system, which distributes data to data streams, reduces the operating frequency of the integrated chip, and thus improves the stability of the operation of the video image processing system.

[0005] In a first aspect, an embodiment of the present invention provides a data allocation method, including:

[0006] Determining an operating frequency adjustment strategy of the video image processing system according to a pixel clock frequency of the video image processing system and a maximum operating frequency threshold of data processing;

[0007] Adjusting the operating parameters of the video image processing system according to the operating frequency adjustment strategy;

[0008] The data to be processed are distributed to at least one data stream according to the operating parameters.

[0009] Furthermore, before determining the operating frequency adjustment strategy of the video image processing system according to the pixel clock frequency of the video image processing system and the maximum operating frequency threshold of data processing, the method further includes:

[0010] The pixel clock frequency of the video image processing system is calculated according to the panel timing parameters, frame rate (FR) parameters and the number of input pixels per clock supported by the video image processing system.

[0011] Further, determining the operating frequency adjustment strategy of the video image processing system according to the pixel clock frequency of the video image processing system and the maximum operating frequency threshold of data processing includes:

[0012] comparing the pixel clock frequency with the maximum operating frequency threshold;

[0013] If the pixel clock frequency is greater than the maximum operating frequency threshold, selecting a corresponding operating frequency adjustment strategy according to a preset strategy threshold so that the pixel clock frequency is less than or equal to the maximum operating frequency threshold;

[0014] Therein, there is at least one preset strategy threshold and at least one operating frequency adjustment strategy.

[0015] Furthermore, it also includes:

[0016] If the pixel clock frequency corresponding to the adjusted working parameters is greater than the maximum working frequency threshold, the working frequency adjustment strategy is re-determined and the working parameters of the video image processing system are adjusted according to the working frequency adjustment strategy until the pixel clock frequency corresponding to the working parameters is less than or equal to the maximum working frequency threshold, thereby obtaining the adjusted working parameters.

[0017] Furthermore, the operating frequency adjustment strategy includes at least one of the following:

[0018] Adjust the number of input pixels per clock;

[0019] Adjusting the number of pixels processed by the data bearing chip per clock;

[0020] Adjust the number of data stream buffers;

[0021] Adjusting the number of channels supported by the video image processing system;

[0022] Use the default or current values ​​of operating parameters.

[0023] Furthermore, the method further includes: generating a data allocation instruction, wherein the data allocation instruction includes:

[0024] A maximum operating frequency threshold indication field is used to indicate a maximum operating frequency threshold for data processing;

[0025] A channel number indication field is used to indicate the number of channels supported by the video image processing system;

[0026] The frame rate indication field is used to indicate the actual frame rate of the panel;

[0027] The data stream buffer quantity indication field is used to indicate the buffer and output format of the data.

[0028] Furthermore, the data allocation instruction also includes:

[0029] The master-slave module definition field is used to indicate the signaling interaction relationship between the integrated chip and the modules of the video image processing system during the data distribution process.

[0030] In a second aspect, an embodiment of the present invention provides a data distribution device, including:

[0031] A decision module, used to determine an operating frequency adjustment strategy of the video image processing system according to a pixel clock frequency of the video image processing system and a maximum operating frequency threshold of data processing;

[0032] An adjustment module, used for adjusting the working parameters of the video image processing system according to the working frequency adjustment strategy;

[0033] The allocation module is used to allocate the valid data to be processed to the data stream according to the working parameters.

[0034] In a third aspect, an embodiment of the present invention provides an integrated chip, including:

[0035] one or more processors;

[0036] A storage device for storing one or more programs;

[0037] When the one or more programs are executed by the one or more processors, the one or more processors implement the data distribution method as described in the first aspect.

[0038] In a fourth aspect, an embodiment of the present invention further provides a video image processing system, comprising: an embedded control module, an external module, and the integrated chip according to claim 9, wherein the integrated chip is connected to the embedded control module and the external module respectively;

[0039] Wherein, the embedded control module is used to initiate a data allocation request to the integrated chip;

[0040] The external module is used to store the video data to be processed and provide a physical layer interface for displaying the video image data.

[0041] The embodiment of the present invention provides a data distribution method, device, integrated chip and video image processing system. The method includes: determining the working frequency adjustment strategy of the video image processing system according to the pixel clock frequency of the video image processing system and the maximum working frequency threshold of data processing; adjusting the working parameters of the video image processing system according to the working frequency adjustment strategy; and distributing the data to be processed to at least one data stream according to the working parameters. Through the above technical solution, the working frequency of the integrated chip is reduced and the stability of the operation of the video image processing system is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A flowchart of a data allocation method provided in Embodiment 1 of the present invention;

[0043] Figure 2 A flowchart of a data allocation method provided in Embodiment 2 of the present invention;

[0044] Figure 3 A schematic diagram of the structure of a data distribution device provided in Embodiment 3 of the present invention;

[0045] Figure 4 A schematic diagram of the hardware structure of an integrated chip provided in the fourth embodiment of the present invention;

[0046] Figure 5 A schematic diagram of the structure of a video image processing system provided in Embodiment 5 of the present invention;

[0047] Figure 6 A schematic diagram of an implementation of a video image processing system provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION

[0048] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0049] Embodiment 1

[0050] Figure 1A flow chart of a data distribution method provided in Embodiment 1 of the present invention is applicable to the case of diverting data to be processed in a video image processing system. Specifically, it is applicable to a video image processing system based on a Field Programmable Gate Array (FPGA) and an embedded system, and in particular to a video image processing system with a digital video interface standard (DisplayPort, DP) of the Video Electronics Standards Association (VESA), a mobile industry processor interface standard (Mobile Industry ProcessorInterface, MIPI), and a high-definition multimedia interface standard (High Definition Multimedia Interface, HDMI).

[0051] The data distribution method of this embodiment can be executed by a data distribution device, which can be implemented by software and / or hardware and integrated in an integrated chip. In this embodiment, the data to be processed includes video image data, which is a sequence of continuous static images, and the video image processing system is a system that processes video images based on an image processing algorithm. The integrated chip includes but is not limited to FPGA, microcontroller unit (MCU), digital signal processor (DSP), etc.

[0052] like Figure 1 As shown, the method specifically comprises the following steps:

[0053] S110 . Determine an operating frequency adjustment strategy for the video image processing system according to a pixel clock frequency of the video image processing system and a maximum operating frequency threshold for data processing.

[0054] Specifically, the pixel clock frequency refers to the frequency of the pixel clock signal, which is related to the working parameters of the display panel in the video image processing system. The higher the resolution of the display panel, the higher the frequency of the pixel clock signal. Based on the pixel clock signal, the RGB color signal can be directed to be transmitted to the display panel in an orderly manner, and the correctness of the data transmission can be ensured. If the pixel clock frequency in the system is higher than the maximum operating frequency threshold of the chip in the video image processing system, the data processing performance of the chip will be reduced, and the stability of the system operation will be reduced. In this embodiment, by calculating the pixel clock frequency, and taking the maximum operating frequency threshold of the chip for data processing as the benchmark for operating frequency optimization, the operating parameters in the system are adjusted according to a certain strategy, so that the actual working pixel clock frequency is lower than the maximum operating frequency threshold, and the pixel clock frequency is kept within a low range to improve the stability of the system operation.

[0055] S120: Adjust operating parameters of the video image processing system according to the operating frequency adjustment strategy.

[0056] Specifically, the operating parameters may include the number of pixels input into the video image processing system per clock, the number of pixels processed inside the chip per clock, the number of cached data streams, the number of channels, etc. The operating frequency adjustment strategy may include increasing or decreasing one or more of the above operating parameters, thereby adjusting the total number of pixels, pixel clock frequency, frame rate, etc. in the system to reduce the actual pixel clock frequency.

[0057] S130. Allocate the data to be processed to at least one data stream according to the working parameters.

[0058] Specifically, on the premise of reducing the actual pixel clock frequency to below the maximum operating frequency threshold, the data to be processed is diverted, including trimming the number of parallel input data streams, trimming the number of parallel output data streams, caching data streams, etc., thereby reducing the data processing pressure of the chip, making the chip performance more stable and the data processing more reliable.

[0059] A data distribution method provided in a first embodiment of the present invention calculates the pixel clock frequency and sets the corresponding maximum operating frequency threshold, and accordingly selects the corresponding operating frequency adjustment strategy to adjust the operating parameters so that the actual operating frequency is kept within the maximum operating frequency threshold. On this basis, the data to be processed is diverted, which significantly reduces the actual internal operating frequency of the chip, thereby improving the stability and reliability of the system in processing data.

[0060] Embodiment 2

[0061] Figure 2This is a flow chart of a data allocation method provided in Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiment, and specifically describes the adjustment process of the working frequency adjustment strategy and the working parameters. It should be noted that the technical details not described in detail in this embodiment can be referred to any of the above embodiments.

[0062] Specifically, Figure 2 As shown, the method specifically comprises the following steps:

[0063] S210: Calculate a pixel clock frequency of the video image processing system according to panel timing parameters, frame rate parameters, and the number of input pixels per clock supported by the video image processing system.

[0064] Specifically, the pixel clock frequency is calculated based on the panel timing parameters, frame rate parameters and the number of input pixels per clock supported by the video image processing system. For example, the panel timing parameters include:

[0065] Horizontal Front Porch (HFP): 48;

[0066] Horizontal Start (HS): 32;

[0067] Horizontal Back Porch (HBP): 80;

[0068] Horizontal Blank (HB): HFP+HS+HBP=48+32+80=160;

[0069] Number of available pixels per row (Horizontal Active, XDOT): 3840;

[0070] Total number of rows (Horizontal Total, HT): HB + XDOT = 3840 + 160 = 4000;

[0071] Vertical Front Porch (HFP): 3;

[0072] Vertical Start (HS): 5;

[0073] Vertical Back Porch (HBP): 54;

[0074] Vertical Blank (HB): VFP+VS+VBP=3+5+54=62;

[0075] Number of pixels available in the field (Vertical Active, YDOT): 2160;

[0076] Total number of fields (Vertical Total, VT): VB+YDOT=2160+62=2222;

[0077] Based on the above panel timing parameters, the pixel clock frequency is calculated as:

[0078] Pixel clock frequency = total number of rows HT* total number of fields VT* frame rate / number of pixels input per clock; the pixel clock frequency is also related to the frame rate and the number of pixels input per clock.

[0079] Table 1 is a mapping table of pixel clock frequency, frame rate, and input pixel number. As shown in Table 1, when the panel timing parameters are determined, the pixel clock frequency is positively correlated with the frame rate and negatively correlated with the number of pixels in each clock.

[0080] Table 1 Mapping relationship between pixel clock frequency, frame rate, and input pixel number

[0081]

[0082] S220. Is the pixel clock frequency greater than the maximum operating frequency threshold? If yes, execute S230; if no, execute S270.

[0083] Specifically, the calculated pixel clock frequency is compared with the maximum operating frequency threshold. If the pixel clock frequency is greater than the maximum operating frequency threshold, it is necessary to select the corresponding operating frequency adjustment strategy to adjust the operating parameters. If the pixel clock frequency is not greater than the maximum operating frequency threshold, the operating parameters do not need to be adjusted. The current operating parameters can meet the stability requirements of the chip, and the data to be processed can be directly diverted according to the current operating parameters.

[0084] S230. Select a corresponding operating frequency adjustment strategy according to a preset strategy threshold, so that the pixel clock frequency is less than or equal to the maximum operating frequency threshold.

[0085] Specifically, when the pixel clock frequency is greater than the maximum operating frequency threshold, a corresponding operating frequency adjustment strategy can be selected according to a preset strategy threshold, which is determined according to the maximum operating frequency threshold and can be used to measure the magnitude of the frequency value of the pixel clock frequency exceeding the maximum operating frequency threshold, or to measure the magnitude of the pixel clock frequency. In this embodiment, there is at least one preset strategy threshold and at least one operating frequency adjustment strategy.

[0086] In one embodiment, the operating frequency adjustment strategy includes at least one of the following: adjusting the number of input pixels per clock; adjusting the number of pixels processed by the data bearing chip (IP Core) per clock; adjusting the number of data stream buffers; adjusting the number of channels supported by the video image processing system; and using the default or current values ​​of the operating parameters.

[0087] Table 2 is a mapping relationship table of preset strategy thresholds and working frequency adjustment strategies. As shown in Table 2, illustratively, different working frequency adjustment strategies can be determined according to the magnitude of the frequency value of the pixel clock frequency exceeding the maximum working frequency threshold. When the frequency value exceeding the maximum working frequency threshold is greater than the preset strategy threshold 1, working frequency adjustment strategy 1 can be adopted; when the frequency value exceeding the maximum working frequency threshold is less than the preset strategy threshold 1 but greater than the preset strategy threshold 2, working frequency adjustment strategy 2 can be adopted, and so on.

[0088] Table 2 Mapping relationship between preset strategy threshold and working frequency adjustment strategy

[0089]

[0090] S240: Adjust operating parameters of the video image processing system according to the operating frequency adjustment strategy.

[0091] For example, if the operating frequency adjustment strategy 1 is selected, the number of input pixels in each clock is adjusted; if the operating frequency adjustment strategy 3 is selected, the number of data stream buffers is adjusted, etc. It should be noted that a combination of the above strategies can also be selected, for example, the number of input pixels in each clock and the number of data stream buffers are adjusted at the same time.

[0092] S250. Is the pixel clock frequency corresponding to the working parameter less than or equal to the maximum working frequency threshold? If yes, execute S260; if no, return to execute S230.

[0093] In this embodiment, if the pixel clock frequency corresponding to the adjusted working parameters is greater than the maximum working frequency threshold, the working frequency adjustment strategy is re-determined and the working parameters of the video image processing system are adjusted according to the working frequency adjustment strategy until the pixel clock frequency corresponding to the working parameters is less than or equal to the maximum working frequency threshold, thereby obtaining the adjusted working parameters.

[0094] In one embodiment, when the pixel clock frequency is greater than the maximum operating frequency threshold, different strategies may be successively adopted until the pixel clock frequency is reduced to below the maximum operating frequency threshold. For example, the maximum operating frequency threshold of the data carrier chip (a chip used for video image data processing in an integrated chip) is 135MHz. According to Table 1, when the frame rate is 60Hz and the number of input pixels / clock is 1, the pixel clock frequency is 533.28Hz, which is greater than the maximum operating frequency threshold. In this case, strategy 1 may be adopted first to adjust the number of input pixels in each clock to 2, and then a new pixel clock frequency of 266.64MHz is obtained; the pixel clock frequency is still greater than the maximum operating frequency threshold. At this time, strategy 2 and strategy 3 may be adopted. Usually, when strategy 2 is adopted to adjust the number of pixels / clock processed inside the chip, strategy 3 will be used to adjust the cached data stream, and a new pixel clock frequency of 133.32MHz is obtained, which is less than the maximum operating frequency threshold. The final operating frequency adjustment strategy is strategy 1+strategy 2+strategy 3. Similarly, if the pixel clock frequency obtained according to strategy 1+strategy 2+strategy 3 is still greater than the maximum operating frequency threshold, the operating parameters can continue to be adjusted according to strategy 4 and / or strategy 5.

[0095] Table 3 is a mapping table of pixel clock frequency and working frequency adjustment strategy. As shown in Table 3, the preset strategy threshold can be used to measure the size of the pixel clock frequency. For example, when the frame rate is 30 and the number of input pixels in each clock is 1, the pixel clock frequency is 266.64Hz, and the corresponding working frequency adjustment strategies include strategy 1, strategy 2 and strategy 3, which need to be executed in batches, first executing strategy 1, then executing strategy 2 and strategy 3; when the frame rate is 30 and the number of input pixels in each clock is 2, the pixel clock frequency is 133.32Hz, and the diversion can be directly executed according to strategy 5.

[0096] Table 3 Mapping relationship between pixel clock frequency and operating frequency adjustment strategy

[0097]

[0098] S260, allocating the data to be processed to at least one data stream according to the adjusted working parameters. Specifically, the integrated chip finally determines the working parameters of the system according to the finally determined working frequency adjustment strategy, such as the number of input pixels in each clock, the pixel clock frequency, etc., and accordingly diverts the data to be processed, thereby reducing the actual working frequency of the chip.

[0099] S270. Allocate the data to be processed to at least one data stream according to the current working parameters.

[0100] Specifically, when the pixel clock frequency is less than the maximum operating frequency threshold, the integrated chip does not need to adjust the operating parameters. The data to be processed can be diverted according to the current operating parameters, such as the number of input pixels in each clock, the pixel clock frequency, etc., thereby reducing the actual operating frequency of the chip.

[0101] In one embodiment, it also includes: generating a data allocation instruction, wherein the data allocation instruction includes: a maximum operating frequency threshold indication field, used to indicate the maximum operating frequency threshold of data processing; a channel number indication field, used to indicate the number of channels supported by the video image processing system; a frame rate indication field, used to indicate the actual frame rate of the panel; a data stream cache quantity indication field, used to indicate the cache and output format of the data.

[0102] Specifically, the integrated chip generates data allocation instructions in a preset format, clarifies the maximum operating frequency threshold and the operating parameters within various systems, and provides a basis for calculating the pixel clock frequency, selecting the operating frequency adjustment strategy, and adjusting the operating parameters. The modules in the video image processing system all perform signaling interaction in this format, thereby improving the transmission efficiency of the data stream and ensuring the stability of the data stream transmission.

[0103] In one embodiment, the data distribution instruction further includes: a master-slave module definition field, which is used to indicate the signaling interaction relationship between the integrated chip and the modules of the video image processing system during the data distribution process.

[0104] Specifically, the master-slave module definition field defines that the modules of the video image processing system include a master module and a slave module. The master module and the slave module are defined according to the initiator and the receiver of the command. The master-slave relationship between the modules may be different for different signaling interaction processes. For example, the embedded control module can initiate data distribution signaling to the integrated chip (such as FPGA) as the master module, and the integrated chip receives the signaling as the slave module and executes it; the integrated chip can also act as the master module to initiate signaling to the embedded control module, and the embedded control module is the slave module at this time. For another example, the data distribution signaling of the integrated chip is forwarded from the master module to the slave module between the modules inside the integrated chip, and the slave module completes the data distribution and feeds back to the master module, and the master module feeds back to the embedded control module, etc. In this process, the data distribution signaling and feedback information are transmitted according to the master-slave structure between the modules, and will not be transmitted in a leapfrog manner. Each group of modules with a master-slave relationship performs hierarchical forwarding and interaction of signaling in their respective links, thereby standardizing the organizational structure of the system and improving the reliability and efficiency of the interaction. The data allocation instruction may further include a feedback field for defining a module state after the data allocation signaling interaction is completed, wherein the module state includes an ACK state and a NACK state, and a confirmation operation of completing the signaling interaction is completed.

[0105] A data distribution method provided in the second embodiment of the present invention is optimized on the basis of the above embodiment. When the pixel clock frequency is greater than the maximum operating frequency threshold, the corresponding operating frequency adjustment strategy can be selected according to the preset strategy threshold, or different strategies can be adopted in sequence according to the set order until the pixel clock frequency is reduced to below the maximum operating frequency threshold, thereby improving the flexibility and reliability of the operating frequency adjustment; the data to be processed is diverted according to the adjusted working parameters, significantly reducing the operating frequency of the chip; by generating data distribution instructions according to a preset format and realizing signaling interaction between modules of the video image processing system according to the master-slave structure relationship, the transmission efficiency of the data stream is improved and the stability of the data stream transmission is ensured.

[0106] Embodiment 3

[0107] Figure 3 This is a schematic diagram of the structure of a data distribution device provided in Embodiment 3 of the present invention. Figure 3 As shown, the data distribution device provided in this embodiment includes:

[0108] A decision module 310, configured to determine an operating frequency adjustment strategy of the video image processing system according to a pixel clock frequency of the video image processing system and a maximum operating frequency threshold of data processing;

[0109] An adjustment module 320, configured to adjust the operating parameters of the video image processing system according to the operating frequency adjustment strategy;

[0110] The allocation module 330 is used to allocate the valid data to be processed to the data stream according to the working parameters.

[0111] A data distribution device provided in the third embodiment of the present invention adjusts the working parameters and distributes data according to the pixel clock frequency and the maximum working frequency threshold of data processing, so that the actual working frequency is lower than the maximum working frequency threshold, thereby reducing the working frequency of the integrated chip and improving the stability of the operation of the video image processing system.

[0112] Based on the above embodiment, it also includes:

[0113] The calculation module is used to calculate the pixel clock frequency of the video image processing system according to the panel timing parameters, frame rate parameters and the number of input pixels per clock supported by the video image processing system.

[0114] Based on the above embodiment, the decision module 310 includes:

[0115] A comparing unit, configured to compare the pixel clock frequency with the maximum operating frequency threshold;

[0116] a decision unit, configured to select a corresponding operating frequency adjustment strategy according to a preset strategy threshold if the pixel clock frequency is greater than the maximum operating frequency threshold, so as to make the pixel clock frequency less than or equal to the maximum operating frequency threshold;

[0117] Therein, there is at least one preset strategy threshold and at least one operating frequency adjustment strategy.

[0118] Furthermore, it also includes:

[0119] A readjustment module is used to re-determine the operating frequency adjustment strategy and adjust the operating parameters of the video image processing system according to the operating frequency adjustment strategy if the pixel clock frequency corresponding to the adjusted operating parameters is greater than the maximum operating frequency threshold, so as to obtain the adjusted operating parameters.

[0120] Furthermore, the operating frequency adjustment strategy includes at least one of the following:

[0121] Adjust the number of input pixels per clock;

[0122] Adjusting the number of pixels processed by the data bearing chip per clock;

[0123] Adjust the number of data stream buffers;

[0124] Adjusting the number of channels supported by the video image processing system;

[0125] Use the default or current values ​​of operating parameters.

[0126] Furthermore, it also includes:

[0127] A generating module, used to generate a data allocation instruction, wherein the data allocation instruction includes:

[0128] A maximum operating frequency threshold indication field is used to indicate a maximum operating frequency threshold for data processing;

[0129] A channel number indication field is used to indicate the number of channels supported by the video image processing system;

[0130] The frame rate indication field is used to indicate the actual frame rate of the panel;

[0131] The data stream buffer quantity indication field is used to indicate the buffer and output format of the data.

[0132] Furthermore, the data allocation instruction also includes:

[0133] The master-slave module definition field is used to indicate the signaling interaction relationship between the integrated chip and the modules of the video image processing system during the data distribution process.

[0134] The data distribution device provided in the third embodiment of the present invention can be used to execute the data distribution method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0135] Embodiment 4

[0136] Figure 4 The hardware structure diagram of an integrated chip provided in the fourth embodiment of the present invention is shown in FIG. The integrated chip may be a field programmable gate array (FPGA), a microcontroller unit (MCU), a digital signal processor (DSP), etc. Figure 4 As shown, an integrated chip provided in this embodiment includes: a processor 410 and a storage device 420. The processor in the integrated chip may be one or more, Figure 4 Taking a processor 410 as an example, the processor 410 and the storage device 420 in the integrated chip can be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0137] The one or more programs are executed by the one or more processors 410, so that the one or more processors implement the data distribution method described in any of the above embodiments.

[0138] The storage device 420 in the integrated chip is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs, and modules, such as program instructions / modules corresponding to the data allocation method in the embodiment of the present invention (for example, the attached Figure 3 The modules in the data distribution device shown include: a decision module 310, an adjustment module 320 and an allocation module 330). The processor 410 executes various functional applications and data processing of the integrated chip by running the software programs, instructions and modules stored in the storage device 420, that is, the data distribution method in the above method embodiment is implemented.

[0139] The storage device 420 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the integrated chip (such as the working parameters, working frequency adjustment strategy, etc. in the above-mentioned embodiment). In addition, the storage device 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the integrated chip via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0140] Furthermore, when one or more programs included in the above-mentioned integrated chip are executed by the one or more processors 410, the following operations are performed: determining the operating frequency adjustment strategy of the video image processing system based on the pixel clock frequency of the video image processing system and the maximum operating frequency threshold of data processing; adjusting the operating parameters of the video image processing system according to the operating frequency adjustment strategy; and allocating the data to be processed to at least one data stream according to the operating parameters.

[0141] The integrated chip proposed in this embodiment and the data distribution method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to any of the above embodiments, and this embodiment has the same beneficial effects as executing the data distribution method.

[0142] Embodiment 5

[0143] Embodiment 5 of the present invention provides a video image processing system. Figure 5 FIG. 5 is a schematic diagram of the structure of a video image processing system provided by Embodiment 5 of the present invention. Figure 5 As shown, the system includes an embedded control module 10, an external module 30 and an integrated chip 20, wherein the integrated chip 20 is connected to the embedded control module 10 and the external module 30 respectively; wherein the embedded control module 10 is used to initiate a data allocation request to the integrated chip 20; and the external module 30 is used to store the video data to be processed and provide a physical layer interface for displaying the video image data.

[0144] The embedded control module 10 can be any embedded chip and system, and is used to initiate a data allocation request, and can also be used to request to read / write register data, request to enable / disable a video display unit or module, request peripheral control, or request to modify the parameter settings of a video display module, etc. The integrated chip 20 is used to determine the operating frequency adjustment strategy according to the clock pixel frequency, adjust the operating parameters, and allocate the data to be processed, and is also used to implement or execute operations that require large amounts of data processing and low round-trip latency, such as storage control, peripheral control, and video interface IP core implementation.

[0145] Figure 6 FIG. 5 is a schematic diagram of an implementation of a video image processing system provided by Embodiment 5 of the present invention. Figure 6 As shown, the external module 30 includes an external storage module, a fast storage module, a peripheral module and a video interface physical layer implementation module, wherein the external storage module is used to store the original data stream of the video or image to be displayed in the system. Exemplarily, the external storage module can use a storage medium such as a Flash memory (such as Nand Flash, Nand flash memory), a solid state drive (Solid State Drive, SSD), etc. The fast storage module is a module used to temporarily store data in order to further reduce latency when a large amount of data processing and low round-trip latency signaling execution are required inside the integrated chip 20. Fast and low latency physical devices can be used, such as double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR). The peripheral module can be a general-purpose input / output (GPIO), a universal asynchronous receiver / transmitter (UART), a universal serial bus (USB), a network port, etc. The video interface physical layer implementation module is used to drive the physical layer implementation of the display module, such as the port physical layer (PHY) of the transceiver / receiver (TX / RX) of the display port (DP), the port physical layer (D-PHY) of the serial display interface of the mobile industry processor interface (MIPI), etc.

[0146] like Figure 6As shown, the integrated chip 20 may specifically include one or more of the following: a bus interaction module, an MCU, a video stream preprocessing unit, a video data stream transmission control module, a clock control module, an embedded soft core control module, a bus controller module, a video pattern processing module, an internal storage controller module, a peripheral control module, a display clock generator module, a video timing controller module, and a video interface IP core module.

[0147] Exemplarily, the bus interaction module is used to select or make decisions for all modules connected to it; the MCU video stream preprocessing unit is used to preprocess and convert the video data stream input from the external storage module according to the format and parameter type set by the system to facilitate subsequent processing; the video data stream transmission control module is used to control the timing and parameters of the data stream after data stream preprocessing and conversion; the clock control module is responsible for the generation and control of the global clock during video or image processing; the embedded soft core control module is the control core of the FPGA module, which is used to realize the core functions such as timing control, parameter configuration, and physical process realization of all modules inside the FPGA module, and can use Xilinx's soft and processor (MicroBlaze ) etc.; the bus controller module is used to control all modules connected to the bus interaction module; the video pattern processing module is responsible for adapting to the mode conversion and timing control of the video image data stream corresponding to the video interface IP core module; the internal storage controller module is used to realize the control of the fast storage module, including the writing / reading of data streams, frame control, etc.; the peripheral control module is used to control all peripheral modules, including the enabling / disabling of peripherals, working mode control, etc.; the display clock generator module is used to control the timing of all modules connected to the video interface IP core module and the video interface physical layer; the video timing controller module is responsible for the data conversion and timing control in the process of transmitting the data input from the video pattern processing module to the video interface IP core module. It should be noted that the multiple modules inside the integrated chip 20, as well as the embedded control module 10 and the external module 30 can have a master-slave relationship.

[0148] The video image processing system of this embodiment can establish a complete signaling interaction mechanism by defining a preset message structure and format. Each group of modules with a master-slave relationship forwards and interacts with each other in their respective links, clarifies the interaction structure and specifications of each module, and realizes organized and accurate signaling interaction between master / slave modules. It completes data stream conversion while ensuring that the hardware system and platform are seamless, smooth and free of crashes, and at the same time ensures that the system has the minimum effective system delay under the premise of being event-driven, thereby improving the reliability and efficiency of the interaction.

[0149] The video image processing system provided in the fifth embodiment can be used to execute the data distribution method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0150] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A data distribution method, applied to an integrated chip of a video image processing system, characterized in that: include: Adjusting the operating frequency of the video image processing system according to the pixel clock frequency of the video image processing system and the maximum operating frequency threshold of data processing; Adjusting the working parameters of the video image processing system according to the method of adjusting the working frequency; allocating the data to be processed to at least one data stream according to the working parameters; The step of adjusting the operating frequency of the video image processing system according to the pixel clock frequency of the video image processing system and the maximum operating frequency threshold of data processing includes: If the pixel clock frequency is greater than the maximum operating frequency threshold, selecting a corresponding operating frequency adjustment method according to a preset strategy threshold so that the pixel clock frequency is less than or equal to the maximum operating frequency threshold; Among them, the preset strategy threshold is determined according to the maximum operating frequency threshold, and there is at least one; the operating frequency adjustment method is at least one.

2. The method according to claim 1, characterized in that Before adjusting the operating frequency of the video image processing system according to the pixel clock frequency of the video image processing system and the maximum operating frequency threshold of data processing, the method further includes: The pixel clock frequency of the video image processing system is calculated according to the panel timing parameters, frame rate parameters and the number of input pixels per clock supported by the video image processing system.

3. The method according to claim 1, characterized in that Also includes: If the pixel clock frequency corresponding to the adjusted working parameters is greater than the maximum working frequency threshold, the working frequency adjustment method is re-determined and the working parameters of the video image processing system are adjusted according to the working frequency adjustment method until the pixel clock frequency corresponding to the working parameters is less than or equal to the maximum working frequency threshold, thereby obtaining the adjusted working parameters.

4. The method according to claim 1, characterized in that The method for adjusting the operating frequency includes at least one of the following: Adjust the number of input pixels per clock; Adjusting the number of pixels processed by the integrated chip per clock; Adjust the number of data stream buffers; Adjusting the number of channels supported by the video image processing system; Use the default or current values ​​of operating parameters.

5. The method according to any one of claims 1 to 4, characterized in that: Also includes: Generate a data allocation instruction, wherein the data allocation instruction includes: A maximum operating frequency threshold indication field is used to indicate a maximum operating frequency threshold for data processing; A channel number indication field is used to indicate the number of channels supported by the video image processing system; The frame rate indication field is used to indicate the actual frame rate of the panel; The data stream buffer quantity indication field is used to indicate the buffer and output format of the data.

6. The method according to claim 5, characterized in that The data allocation instruction also includes: The master-slave module definition field is used to indicate the signaling interaction relationship between the integrated chip and the modules of the video image processing system during the data distribution process.

7. A data distribution device, characterized in that: include: A decision module, used for adjusting the operating frequency of the video image processing system according to the pixel clock frequency of the video image processing system and the maximum operating frequency threshold of data processing; An adjustment module, used for adjusting the working parameters of the video image processing system according to a method of adjusting the working frequency; an allocation module, configured to allocate the data to be processed to at least one data stream according to the working parameters; The step of adjusting the operating frequency of the video image processing system according to the pixel clock frequency of the video image processing system and the maximum operating frequency threshold of data processing includes: If the pixel clock frequency is greater than the maximum operating frequency threshold, selecting a corresponding operating frequency adjustment method according to a preset strategy threshold so that the pixel clock frequency is less than or equal to the maximum operating frequency threshold; Among them, the preset strategy threshold is determined according to the maximum operating frequency threshold, and there is at least one; the operating frequency adjustment method is at least one.

8. An integrated chip, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the data distribution method according to any one of claims 1 to 6.

9. A video image processing system, characterized in that: include: An embedded control module, an external module, and an integrated chip as claimed in claim 8, wherein the integrated chip is connected to the embedded control module and the external module respectively; Wherein, the embedded control module is used to initiate a data allocation request to the integrated chip; The external module is used to store the video data to be processed and provide a physical layer interface for displaying the video image data.