System parameter loading method and device, display driving chip and display equipment
By adopting the dynamic system parameter loading method between the second memory and the first memory in the display driver chip, the problem of the system parameter reading bandwidth bottleneck in the display device is solved, real-time rendering processing is realized and chip production costs are reduced.
Patent Information
- Application Number
- CN202510345650.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-03-24
AI Technical Summary
In the display device, the display driver chip cannot meet the throughput requirement for real-time processing of video image frame data of the upper computer in real time, resulting in the need to store all system parameters in the second memory in advance, increasing the storage capacity of the second memory and the production cost of the chip.
By dynamically loading system parameters between the second memory and the first memory in the display driver chip, by obtaining the current refresh frequency of the display panel and the transmission rate of the system parameters, it is determined whether it is necessary to pre-read and store the part of the system parameters stored in the first memory in the second memory, thereby reducing the storage capacity of the second memory.
Real-time rendering processing of video image frame data sent by the upper computer is realized, reducing the production cost of the display driver chip, and does not need to load all system parameters into the second memory at one time.
Smart Images

Figure CN119993093A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a method and apparatus for loading system parameters, a display driver chip, and a display device. Background Art
[0002] In the display device, the display driver chip needs to realize the rendering processing of the video image frame data sent by the host computer through the system parameter configuration. Since there is a bandwidth bottleneck when the display driver chip reads the system parameter data of the first memory (such as FLASH memory), it is impossible to meet the throughput requirements of real-time processing of the video image frame data of the host computer. Therefore, it is necessary to store all the system parameters stored in the first memory in the second memory (such as SRAM memory) of the display driver chip in advance, so that when the video image frame data sent by the host computer is rendered, the required system parameters can be directly called from the second memory. This method requires that the storage capacity of the second memory matches the storage capacity of the first memory for storing system parameters. When the required system parameter data amount is too large, the second memory is required to have a larger storage capacity (correspondingly, the size of the second memory will also increase), which will increase the production cost of the display driver chip. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide a method, device, display driver chip and display device for loading system parameters, which adopts a method of dynamically loading system parameters between the second memory and the first memory in the display driver chip to realize real-time rendering processing of video image frame data sent by the host computer. The second memory does not need to load all system parameters at one time, which can reduce the storage capacity of the second memory, thereby reducing the production cost of the display driver chip.
[0004] According to a first aspect of the present application, a method for loading system parameters is provided, which is applied to a display driver chip in a display device, wherein the display device further comprises a display panel and a first memory connected to the display driver chip, wherein the first memory stores system parameters, and the display driver chip has a second memory, wherein the storage space of the second memory is smaller than the storage space of the first memory, and the method comprises:
[0005] Acquire a current refresh frequency of the display panel and a transmission rate of the system parameters from the first memory;
[0006] Based on the current refresh frequency of the display panel and the transmission rate of acquiring the system parameters, determining whether it is necessary to pre-read part of the system parameters stored in the first memory and store them in the second memory;
[0007] When it is determined that it is not necessary to pre-read part of the system parameters stored in the first memory and store them in the second memory, directly read the system parameters from the first memory to render the video image frame data sent by the host computer;
[0008] When it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, the system parameters are divided into a plurality of system parameter segments, the video image frame data sent by the host computer is divided into a plurality of corresponding video image frame data segments, and part of the system parameter segments are pre-read and stored in the second memory; the corresponding system parameter segments are read from the second memory to render the corresponding video image frame data segments, unused system parameter segments are read from the first memory to overwrite the system parameter segments in the second memory that have been used for rendering, and the unused system parameter segments are used to render the remaining video image frame data segments in the video image frame data.
[0009] In a possible implementation manner of the first aspect, the step of determining whether it is necessary to pre-read and store part of the system parameters stored in the first memory in the second memory based on the current refresh frequency of the display panel and the transmission rate of obtaining the system parameters includes:
[0010] Based on the current refresh frequency of the display panel, calculate the refresh time required for the display panel to refresh each frame of the video image;
[0011] Based on the total amount of data of the system parameters and the transmission rate of obtaining the system parameters, obtaining the loading time of the second memory to load the system parameters from the first memory;
[0012] The refresh time is compared with the loading time. If the refresh time is greater than or equal to the loading time, it is determined that there is no need to pre-read part of the system parameters stored in the first memory and store them in the second memory; if the refresh time is less than the loading time, it is determined that there is a need to pre-read part of the system parameters stored in the first memory and store them in the second memory.
[0013] In a possible implementation of the first aspect, when it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, the system parameters are divided into a plurality of system parameter segments, the video image frame data sent by the host computer is divided into a corresponding plurality of video image frame data segments, and part of the system parameter segments are pre-read and stored in the second memory; the corresponding system parameter segments are read from the second memory to render the corresponding video image frame data segments, unused system parameter segments are read from the first memory to overwrite the system parameter segments used for rendering in the second memory, and the unused system parameter segments are used to render the remaining video image frame data segments in the video image frame data, the steps include:
[0014] When it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, the system parameters are divided into N system parameter segments, the video image frame data sent by the host computer is divided into corresponding N video image frame data segments, and the first N-1 system parameter segments of the system parameters are pre-read and stored in the second memory, where N is an even number greater than 2;
[0015] The corresponding system parameter segments are read from the second memory to render the corresponding video image frame data segments in sequence. When the N / 2th system parameter segment starts to render the corresponding video image frame data segments, the Nth system parameter segment is read from the first memory and overwrites the N / 2th system parameter segment in the second memory, and the unused system parameter segments are used to render the remaining video image frame data segments in the video image frame data.
[0016] In a possible implementation manner of the first aspect, the step of reading corresponding system parameter segments from the second memory to sequentially render corresponding video image frame data segments, and when starting to render the corresponding video image frame data segments with the N / 2th system parameter segment, reading the Nth system parameter segment from the first memory and overwriting the N / 2th system parameter segment in the second memory, and using unused system parameter segments to render the remaining video image frame data segments in the video image frame data includes:
[0017] Reading N / 2 system parameter segments from the second memory in sequence and rendering the corresponding video image frame data segments in sequence;
[0018] Reading the rendering of the video image frame data segment corresponding to the N / 2 system parameter segment, and reading the data of the Nth system parameter segment from the first memory and overwriting the already used data in the N / 2th system parameter segment in the second memory, wherein the speed at which the data in the N / 2th system parameter segment is used for rendering is greater than the overwriting speed of the data in the Nth system parameter segment;
[0019] sequentially reading the N / 2+1th to the N-1th system parameter segments from the second memory to render the corresponding video image frame data segments in sequence, wherein when the N-1th system parameter segment completes rendering the corresponding video image frame data segment, the Nth system parameter segment has completely covered the N / 2th system parameter segment in the second memory;
[0020] The Nth system parameter segment is read from the second memory and the corresponding video image frame data segment is rendered to complete the rendering of one video image frame.
[0021] In a possible implementation of the first aspect, the method further includes:
[0022] The second memory is divided into N-1 storage blocks, each of which is used to store parameters in a system parameter segment, wherein the starting storage address of each storage block is the addressing address.
[0023] In a possible implementation manner of the first aspect, the step of reading the rendering of the video image frame data segment corresponding to the N / 2 system parameter segment, and reading the data of the Nth system parameter segment from the first memory and overwriting the already used data in the N / 2th system parameter segment in the second memory includes:
[0024] Starting from the start address of the target storage block storing the N / 2th system parameter segment, the data in the N / 2th system parameter segment is sequentially read, and the corresponding video image frame data segment is rendered;
[0025] The data of the Nth system parameter segment is read from the first memory and the used data in the N / 2th system parameter segment in the second memory is overwritten starting from the start address of the target storage block.
[0026] According to a second aspect of the present application, a system parameter loading device is provided, which is applied to a display driver chip in a display device, wherein the display device further comprises a display panel and a first memory connected to the display driver chip, wherein the first memory stores system parameters, and the display driver chip has a second memory, wherein the storage space of the second memory is smaller than the storage space of the first memory, and the device comprises:
[0027] An acquisition module, used for acquiring a current refresh frequency of the display panel and a transmission rate of the system parameters from the first memory;
[0028] a determination module, configured to determine whether it is necessary to pre-read and store part of the system parameters stored in the first memory in the second memory based on the current refresh frequency of the display panel and the transmission rate for acquiring the system parameters;
[0029] A first rendering module, configured to directly read the system parameters from the first memory to render the video image frame data sent by the host computer when it is determined that there is no need to pre-read part of the system parameters stored in the first memory and store them in the second memory;
[0030] The second rendering module is used to divide the system parameters into multiple system parameter segments when it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, divide the video image frame data sent by the host computer into multiple corresponding video image frame data segments, and pre-read and store part of the system parameter segments in the second memory; read the corresponding system parameter segments from the second memory to render the corresponding video image frame data segments, read unused system parameter segments from the first memory to overwrite the system parameter segments in the second memory that have been used for rendering, and use the unused system parameter segments to render the remaining video image frame data segments in the video image frame data.
[0031] In a possible implementation manner of the second aspect, the determination module is specifically configured to:
[0032] Based on the current refresh frequency of the display panel, calculate the refresh time required for the display panel to refresh each frame of the video image;
[0033] Based on the total amount of data of the system parameters and the transmission rate of obtaining the system parameters, obtaining the loading time of the second memory to load the system parameters from the first memory;
[0034] The refresh time is compared with the loading time. If the refresh time is greater than or equal to the loading time, it is determined that there is no need to pre-read part of the system parameters stored in the first memory and store them in the second memory; if the refresh time is less than the loading time, it is determined that there is a need to pre-read part of the system parameters stored in the first memory and store them in the second memory.
[0035] According to a third aspect of the present application, a display driver chip is provided, the display driver chip comprising a processor, the processor being used to execute a method for loading system parameters in any one of the possible implementations of the first aspect.
[0036] According to a fourth aspect of the present application, a display device is provided, comprising the aforementioned display driver chip, a display panel and a first memory, wherein the display driver chip also comprises a second memory, the display driver chip is respectively connected to the display panel and the first memory, the first memory comprises a FLASH memory, and the second memory comprises a static random access memory.
[0037] Based on any of the above aspects, the embodiments of the present application provide a method, device, display driver chip and display device for loading system parameters. In this way, the above method uses a method of dynamically loading system parameters between the second memory and the first memory in the display driver chip to realize real-time rendering processing of the video image frame data sent by the host computer. The second memory does not need to load all system parameters at one time, which can reduce the storage capacity of the second memory, thereby reducing the production cost of the display driver chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 A schematic diagram of an application scenario of the display device provided in this embodiment;
[0040] Figure 2 A schematic diagram of a step flow of a method for loading system parameters provided in this embodiment;
[0041] Figure 3 for Figure 2 Flow chart of sub-steps of step S140;
[0042] Figure 4 for Figure 3 Flow chart of sub-steps of step S142;
[0043] Figure 5 A schematic diagram of the system parameter segments provided in this embodiment and the corresponding video image frame data segments;
[0044] Figure 6 A schematic diagram of functional modules of a device for loading system parameters provided in this embodiment.
[0045] Icons: 1-display device, 10-display driver chip, 20-display panel, 30-first memory, 100-second memory, 200-acquisition module, 210-determination module, 220-first rendering module, 230-second rendering module. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0047] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0048] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0049] In the description of this application, it should be noted that the terms "upper", "lower", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship in which the product of the application is usually placed when in use, which is only for the convenience of describing this application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0050] It should be noted that, in the absence of conflict, different features in the embodiments of the present application may be combined with each other.
[0051] In order to solve the technical problems mentioned in the aforementioned background technology, the inventor innovatively designed the following technical solution, and the specific implementation solution of the present application will be described in detail below with reference to the accompanying drawings.
[0052] See also Figure 1 , Figure 1Schematic diagram of an interactive scene of a display device 1 provided in this embodiment. The display device 1 includes a display driver chip 10, a display panel 20 and a first memory 30, wherein the display panel 20 and the first memory 30 are respectively connected to the display driver chip 10. The first memory 30 stores system parameters, wherein different display panels 20 have different system parameters, and the system parameters are used to render the video image frame data sent by the host computer to form a corresponding video image frame screen, and the display driver chip 10 has a second memory 100, and the storage space of the second memory 100 is smaller than the storage space of the first memory 30.
[0053] In this embodiment, when the display driver chip 10 performs rendering processing on the video image frame data sent by the host computer, the required system parameters are directly called from the second memory 100, and the system parameters stored in the second memory 100 are part of the system parameters pre-read from the first memory 30. During the above rendering process, the second memory 100 can read the remaining system parameters from the first memory 30 and overwrite the system parameters that have been used in the second memory 100 to perform rendering processing on the remaining video image frame data. This method makes it unnecessary for the second memory 100 to pre-store all the system parameters in the first memory 30, reduces the storage capacity of the second memory 100, and further reduces the manufacturing cost of the display driver chip 10.
[0054] It is worth noting that the system parameters include but are not limited to parameter values such as resolution, refresh rate, color depth and color gamut, brightness and contrast of video image frame data.
[0055] Understandably, Figure 1 The display device 1 shown is only a feasible example. In other feasible embodiments, the display device 1 may also include only Figure 1 One of the components shown or other components.
[0056] Combine the following Figure 1 The application scenario shown is an exemplary description of the method for loading system parameters provided in the embodiment of the present application. Figure 2 , Figure 2 A flow chart of the steps of a method for loading system parameters provided in this embodiment, the method is applied to Figure 1 The display driver chip 10 in the display device 1 shown, that is, the method is executed by the display driver chip 10. The detailed steps of the method for loading system parameters executed by the display driver chip 10 are described as follows:
[0057] Step S110 , obtaining the current refresh frequency of the display panel 20 and the transmission rate of the system parameters from the first memory 30 .
[0058] In this embodiment, the refresh rate of the display panel 20 refers to the number of times the image is updated per second, usually in Hertz HZ. The refresh rate affects the display smoothness of the display panel 20. The higher the refresh rate of the display panel 20, the higher the display smoothness, and the better the visual experience brought to the user. However, a higher refresh rate requires a shorter time for the display driver chip 10 to process video image frame data. Exemplarily, when the display panel 20 is in a dormant or standby state, the refresh rate of the display panel 20 may be 30HZ, when the display panel 20 is in a web browsing or chatting scene, the refresh rate of the display panel 20 may be 60HZ, and when the display panel 20 is in a game or video scene, the refresh rate of the display panel 20 may be 120HZ.
[0059] The transmission rate of acquiring the system parameters from the first memory 30 refers to the transmission rate of the display driver chip 10 acquiring the system parameters from the first memory 30 , which is related to the transmission bandwidth between the display driver chip 10 and the first memory 30 .
[0060] Step S120 , based on the current refresh frequency of the display panel 20 and the transmission rate of acquiring the system parameters, it is determined whether part of the system parameters stored in the first memory 30 needs to be pre-read and stored in the second memory 100 .
[0061] Step S130 , when it is determined that it is not necessary to pre-read part of the system parameters stored in the first memory 30 and store them in the second memory 100 , directly read the system parameters from the first memory 30 to render the video image frame data sent by the host computer.
[0062] Step S140, when it is determined that part of the system parameters stored in the first memory 30 needs to be pre-read and stored in the second memory 100, the system parameters are divided into a plurality of system parameter segments, the video image frame data sent by the host computer is divided into a plurality of corresponding video image frame data segments, and part of the system parameter segments are pre-read and stored in the second memory 100; the corresponding system parameter segments are read from the second memory 100 to render the corresponding video image frame data segments, unused system parameter segments are read from the first memory 30 to overwrite the system parameter segments in the second memory 100 that have been used for rendering, and the unused system parameter segments are used to render the remaining video image frame data segments in the video image frame data.
[0063] In this step, when the display driver chip 10 receives a video image frame data segment sent by the host computer, it directly reads a system parameter segment corresponding to the video image frame data segment from the second memory 100 for rendering.
[0064] In this embodiment, when it is necessary to pre-read part of the system parameters stored in the first memory 30 and store them in the second memory 100, the display driver chip 10 controls the second memory 100 to read the remaining system parameters from the first memory 30 to overwrite the already used system parameters during the rendering process, and continues to render the remaining video image frame data. This method dynamically loads system parameters between the first memory 30 and the second memory 100, so that the second memory 100 does not need to pre-store all the system parameters in the first memory 30, reduces the storage capacity of the second memory 100, and further reduces the manufacturing cost of the display driver chip 10.
[0065] Furthermore, step S120 may also be implemented in the following manner:
[0066] First, based on the current refresh frequency of the display panel 20 , the refresh time required for the display panel 20 to refresh each frame of the video image is calculated.
[0067] In this step, the refresh time required for the display panel 20 to refresh each frame of the video image is the inverse of the current refresh frequency of the display panel 20 .
[0068] For example, when the refresh rate of the display panel 20 is 30 Hz, the refresh time required to refresh one frame of image is 33.33 ms, that is, the time for the display driver chip 10 to process one frame of video image frame data is 33.33 ms. When the refresh rate of the display panel 20 is 60 Hz, the refresh time required to refresh one frame of image is 16.66 ms, that is, the time for the display driver chip 10 to process one frame of video image frame data is 16.66 ms.
[0069] Next, based on the total amount of system parameter data and the transmission rate for acquiring the system parameters, the loading time of the second memory 100 loading the system parameters from the first memory 30 is obtained.
[0070] In this step, the transmission rate of the system parameters is obtained based on the main frequency of the display driver chip 10 and the transmission bit width (the number of channels for transmitting data) between the display driver chip 10 and the first memory 30 .
[0071] Finally, the refresh time and the loading time are compared. If the refresh time is greater than or equal to the loading time, it is determined that there is no need to pre-read part of the system parameters stored in the first memory 30 and store them in the second memory 100; if the refresh time is less than the loading time, it is determined that there is a need to pre-read part of the system parameters stored in the first memory 30 and store them in the second memory 100.
[0072] In this step, if the refresh time is greater than or equal to the loading time, it means that the speed of directly reading the system parameters from the first memory 30 can meet the demand of the display driver chip 10 to render the video frame image data sent by the host computer, and there is no need to use the second memory 100 to pre-store the required system parameters.
[0073] Exemplarily, assuming that the size of the system parameters required to process a frame of video image frame data is 16 Mbit, that is, 16*1024*1024=16777216 bits, the size of the system parameters stored in the first memory 30 is 16 Mbit, the main frequency of the display driver chip 10 is 125 MHZ, and the clock cycle of the display driver chip 10 is 8 ns. If the transmission bit width between the display driver chip 10 and the first memory 30 is 4 bit / s, the loading time required for the display driver chip 10 to load the 16 Mbit system parameters from the first memory 30 is (16777216 bits÷4 bit / s)*8ns=33.554433ms.
[0074] If the refresh frequency of the display panel 20 is 30 Hz, the required refresh time is 33.33 ms. At this time, the refresh time and the loading time are substantially equal, and it is not necessary to use the second memory 100 to pre-store the required system parameters.
[0075] If the refresh frequency of the display panel 20 is 60 Hz, the required refresh time is 16.66 ms. At this time, the refresh time is less than the loading time, so the second memory 100 needs to be used to pre-store some required system parameters.
[0076] If the refresh frequency of the display panel 20 is 120 Hz, the required refresh time is 8.33 ms. At this time, the refresh time is less than the loading time, so the second memory 100 also needs to be used to pre-store some required system parameters.
[0077] For further information, see Figure 3 , Figure 3 for Figure 1 Flow chart of sub-steps of step S140 in FIG. Step S140 can also be implemented in the following manner.
[0078] Sub-step S141, when it is determined that part of the system parameters stored in the first memory 30 needs to be pre-read and stored in the second memory 100, the system parameters are divided into N system parameter segments, the video image frame data sent by the host computer is divided into corresponding N video image frame data segments, and the first N-1 system parameter segments in the system parameters are pre-read and stored in the second memory 100, where N is an integer greater than 2. For the sake of convenience, the following is an example in which N is an even number greater than 2.
[0079] In this embodiment, the first N-1 system parameter segments are pre-stored in the second memory 100, and the display driver chip 10 can directly read the first N-1 system parameter segments when rendering the video image frame data segments in sequence.
[0080] In sub-step S142, the corresponding system parameter segments are read from the second memory 100 to render the corresponding video image frame data segments in sequence. When the rendering of the corresponding video image frame data segments with the N / 2th system parameter segment begins, the Nth system parameter segment is read from the first memory 30 and overwrites the N / 2th system parameter segment in the second memory 100, and the unused system parameter segments are used to render the remaining video image frame data segments in the video image frame data.
[0081] In this embodiment, the time when the Nth system parameter segment is read from the first memory 30 and overwrites the N / 2th system parameter segment in the second memory 100 can also be when the rendering of the corresponding video image frame data segment by the N / 2th system parameter segment is about to be completed or when the rendering of the corresponding video image frame data segment by the N / 2th system parameter segment has been completed, which needs to be selected according to the actual situation. It is only necessary to ensure that the speed of rendering using the N / 2th system parameter segment is greater than the speed of reading the Nth system parameter segment, that is, the data of the Nth system parameter segment read from the second memory 100 will not overwrite the data in the N / 2th system parameter segment that has not been used for rendering.
[0082] For further information, see Figure 4 , Figure 4 for Figure 3 Step S142 can also be implemented in the following manner.
[0083] Sub-step S1420, reading the system parameter segments before N / 2 from the second memory 100 in sequence and rendering the corresponding video image frame data segments in sequence.
[0084] Sub-step S1421, reads the rendering of the corresponding video image frame data segment of the N / 2th system parameter segment, and reads the data of the Nth system parameter segment from the first memory 30 and overwrites the already used data in the N / 2th system parameter segment in the second memory 100, wherein the speed at which the data in the N / 2th system parameter segment is used for rendering is greater than the overwriting speed of the data in the Nth system parameter segment.
[0085] In this step, before the data in the Nth system parameter segment is overwritten by the N / 2th system parameter segment, the data in the N / 2th system parameter segment has completed the rendering processing of the video image frame data segment, ensuring that the data of each system parameter segment is complete and accurate during the rendering process, thereby ensuring the rendering effect of the entire video image frame data.
[0086] In sub-step S1422, the N / 2+1th to N-1th system parameter segments are read from the second memory 100 in sequence to render the corresponding video image frame data segments in sequence, wherein when the N-1th system parameter segment completes rendering the corresponding video image frame data segment, the Nth system parameter segment has completely covered the N / 2th system parameter segment in the second memory 100.
[0087] Sub-step S1423, reading the Nth system parameter segment from the second memory 100 and rendering the corresponding video image frame data segment to complete the rendering of one video image frame.
[0088] In this embodiment, in an application scenario where the second memory 100 needs to be used to pre-store some of the required system parameters, the N / 2th system parameter segment and the Nth system parameter segment are dynamically loaded between the first memory 30 and the second memory 100.
[0089] For example, assuming that the size of the system parameters required for one frame of video image frame data is 16 Mbit, the size of the system parameters stored in the first memory 30 is 16 Mbit, the main frequency of the display driver chip 10 is 125 MHZ, the clock cycle of the display driver chip 10 is 8 ns, and the transmission bit width between the display driver chip 10 and the first memory 30 is 4 bit / s. The loading time required for the display driver chip 10 to load the 16 Mbit system parameters from the first memory 30 is 33.554433 ms.
[0090] When the refresh rate of the display panel 20 is 120 Hz, the required refresh time is 8.33 ms. At this time, the second memory 100 needs to be used to pre-store some required system parameters. Figure 5 , Figure 5A schematic diagram of the system parameter segments and the corresponding video image frame data segments provided in this embodiment. According to the dynamic loading ping-pong structure, a frame of video image frame data can only load different system parameters within the first 4.16ms and the last 4.16ms at most. The system parameters are divided into eight system parameter segments (A1, A2, A3, A4, A5, A6, A7, A8), and a frame of video image frame data is divided into eight corresponding video image frame data segments (B1, B2, B3, B4, B5, B6, B7, B8), and the size of each video image frame data segment is 2Mbit. At this time, the second memory 100 pre-reads and stores the first seven system parameter segments (A1, A2, A3, A4, A5, A6, A7).
[0091] The first system parameter segment (A1) is read to render the first video image frame data segment (B1), and the second system parameter segment (A2) is read to render the second video image frame data segment (B2), until the fourth system parameter segment (A4) is read to render the second video image frame data segment (B4), the data of the eighth system parameter segment (A8) is read from the first memory 30 and the data already used in the fourth system parameter segment (A4) in the second memory 100 is overwritten, and then the data of the fifth system parameter segment (A5), the sixth system parameter segment (A6) and the seventh system parameter segment (A7) are read in sequence to render the corresponding video image frame data segments (B5, B6 and B7). When the seventh system parameter segment (A7) is finished to render the seventh video image frame data segment (B7), the writing of the eighth system parameter segment (B8) has been completed, and at this time, the second memory 100 has stored seven system parameter segments (A1, A2, A3, A8, A5, A6, A7). Then, the eighth system parameter segment is read to render the eighth video image frame data segment (B8) in sequence, thereby completing the rendering of one video image frame.
[0092] When rendering the next frame of video image frame data, when reading the current eighth system parameter segment (A8) to render the eighth video image frame data segment (B8), the data of the fourth system parameter segment (A4) of the next frame is read from the first memory 30 and overwrites the data already used in the eighth system parameter segment (A8) in the second memory 100 at this time, and the reading of the fourth system parameter segment (A4) is completed before rendering the fourth video image frame data segment (B4) in the next frame of video image frame data, and the above process is repeated to render the video image frame.
[0093] In this embodiment, the above method can reduce the total capacity of the system parameters by about 1 / 8, that is, the storage capacity of the second memory 100 can be reduced, thereby reducing the manufacturing cost of the display driver chip 10 .
[0094] Furthermore, the method for loading system parameters in this embodiment also includes: dividing the second memory 100 into N-1 storage blocks, each storage block is used to store parameters in a system parameter segment, wherein the starting storage address of each storage block is the addressing address.
[0095] In this step, one system parameter segment corresponds to one storage block, and each storage block in the second memory 100 has a different addressing address.
[0096] Furthermore, sub-step S1421 can also be implemented in the following manner.
[0097] First, data in the N / 2th system parameter segment is read sequentially starting from the start address of the target storage block storing the N / 2th system parameter segment, and the corresponding video image frame data segment is rendered.
[0098] Next, the data of the Nth system parameter segment is read from the first memory 30 and the used data in the N / 2th system parameter segment in the second memory 100 is overwritten starting from the start address of the target storage block.
[0099] In this step, the starting address of the N / 2th system parameter segment in the second memory 100 is the same as the starting address of the Nth system parameter segment in the second memory 100. One system parameter segment occupies approximately 1 / (N-1) of the storage capacity in the second memory 100.
[0100] Based on the same inventive concept, see Figure 6 , Figure 6 A schematic diagram of the functional modules of a loading system parameter device provided in this embodiment, this embodiment can divide the functional modules of the loading system parameter device according to the above method embodiment. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic, which is only a logical function division, and the actual implementation may have other division methods. For example, in the case of dividing each functional module corresponding to each function, the loading system parameter device shown in the figure is only a device schematic diagram. Among them, the loading system parameter device may include an acquisition module 200, a determination module 210, a first rendering module 220, and a second rendering module 230. The functions of each functional module of the loading system parameter device are described in detail below.
[0101] The acquisition module 200 is used to acquire the current refresh frequency of the display panel 20 and the transmission rate of the system parameters from the first memory 30 .
[0102] In this embodiment, the acquisition module 200 can be used to execute Figure 2 As shown in step S110, for a detailed description of the acquisition module 200, please refer to the description of step S110.
[0103] The determination module 210 is used to determine whether it is necessary to pre-read and store part of the system parameters stored in the first memory 30 in the second memory 100 based on the current refresh frequency of the display panel 20 and the transmission rate of acquiring the system parameters.
[0104] In this embodiment, the determination module 210 can be used to execute Figure 2 As shown in step S120 , for a detailed description of the determination module 210 , please refer to the description of step S120 .
[0105] The first rendering module 220 is used to directly read the system parameters from the first memory 30 to render the video image frame data sent by the host computer when it is determined that there is no need to pre-read part of the system parameters stored in the first memory 30 and store them in the second memory 100;
[0106] In this embodiment, the first rendering module 220 can be used to perform Figure 2 As shown in step S130, for a detailed description of the first rendering module 220, please refer to the description of step S130.
[0107] The second rendering module 230 is used to divide the system parameters into multiple system parameter segments when it is determined that part of the system parameters stored in the first memory 30 needs to be pre-read and stored in the second memory 100, divide the video image frame data sent by the host computer into multiple corresponding video image frame data segments, and pre-read and store some system parameter segments in the second memory 100; read the corresponding system parameter segments from the second memory 100 to render the corresponding video image frame data segments, read unused system parameter segments from the first memory 30 to overwrite the system parameter segments in the second memory 100 that have been used for rendering, and use the unused system parameter segments to render the remaining video image frame data segments in the video image frame data.
[0108] In this embodiment, the second rendering module 230 can be used to perform Figure 2 As shown in step S140, for a detailed description of the second rendering module 230, please refer to the description of step S140.
[0109] Based on the same inventive concept, the embodiment of the present application also provides a display driver chip 10, which includes a processor, and the processor is used to execute the method for loading system parameters provided by the above method embodiment. The above method uses the method of dynamically loading system parameters between the first memory 30 and the second memory 100, so that the second memory 100 does not need to load all system parameters at one time, which can reduce the storage capacity of the second memory 100, thereby reducing the manufacturing cost of the display driver chip 10.
[0110] Based on the same inventive concept, an embodiment of the present application also provides a display device 1, which includes a display driver chip 10, a display panel 20 and a first memory 30 provided in the above method embodiment. The display driver chip 10 also includes a second memory 100. The display driver chip 10 is respectively connected to the display panel 20 and the first memory 30. The first memory 30 includes a FLASH memory, and the second memory 100 includes a static random access memory.
[0111] In this embodiment, Static Random-Access Memory (SRAM) is a type of random access memory. "Static" means that as long as the memory remains powered on, the data stored in it can be kept constant, and the data stored in it can be saved without a refresh circuit, so SRAM has higher performance. However, SRAM requires a larger volume than other memories with the same capacity.
[0112] FLASH memory, also known as flash memory, is a form of electrically erasable programmable read-only memory that can be erased or written multiple times during operation. Its main feature is that it can maintain stored information for a long time without power failure.
[0113] In this embodiment, the display driver chip 10 utilizes the method of dynamically loading system parameters between the first memory 30 and the second memory 100 to reduce the storage capacity of the second memory 100 , thereby reducing the manufacturing cost of the display driver chip 10 .
[0114] In summary, the present application provides a method, device, display driver chip and display device for loading system parameters, which are applied to display driver chips. First, the current refresh frequency of the display panel and the transmission rate of the system parameters are obtained. Then, based on the previously obtained data, it is determined whether it is necessary to pre-read and store part of the system parameters stored in the first memory in the second memory. When it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, the corresponding system parameter segment is read from the second memory to render the corresponding video image frame data segment, and the unused system parameter segment is read from the first memory to cover the system parameter segment used for rendering in the second memory, and the unused system parameter segment is used to render the remaining video image frame data segment in the video image frame data. In this way, the above method adopts the method of dynamically loading system parameters between the second memory and the first memory in the display driver chip to realize the real-time rendering processing of the video image frame data sent by the host computer. The second memory does not need to load all the system parameters at one time, which can reduce the storage capacity of the second memory, thereby reducing the production cost of the display driver chip.
[0115] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0116] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the present application for which protection is claimed, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0117] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for loading system parameters, characterized in that: A display driver chip applied to a display device, the display device further comprising a display panel and a first memory connected to the display driver chip, wherein the first memory stores system parameters, the display driver chip has a second memory, the storage space of the second memory is smaller than the storage space of the first memory, and the method comprises: Acquire a current refresh frequency of the display panel and a transmission rate of the system parameters from the first memory; Based on the current refresh frequency of the display panel and the transmission rate of acquiring the system parameters, determining whether it is necessary to pre-read part of the system parameters stored in the first memory and store them in the second memory; When it is determined that it is not necessary to pre-read part of the system parameters stored in the first memory and store them in the second memory, directly read the system parameters from the first memory to render the video image frame data sent by the host computer; When it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, the system parameters are divided into a plurality of system parameter segments, the video image frame data sent by the host computer is divided into a plurality of corresponding video image frame data segments, and part of the system parameter segments are pre-read and stored in the second memory; the corresponding system parameter segments are read from the second memory to render the corresponding video image frame data segments, unused system parameter segments are read from the first memory to overwrite the system parameter segments in the second memory that have been used for rendering, and the unused system parameter segments are used to render the remaining video image frame data segments in the video image frame data.
2. The method for loading system parameters according to claim 1, characterized in that: The step of determining whether it is necessary to pre-read and store part of the system parameters stored in the first memory in the second memory based on the current refresh frequency of the display panel and the transmission rate of obtaining the system parameters comprises: Based on the current refresh frequency of the display panel, calculate the refresh time required for the display panel to refresh each frame of the video image; Based on the total amount of data of the system parameters and the transmission rate of obtaining the system parameters, obtaining the loading time of the second memory to load the system parameters from the first memory; The refresh time is compared with the loading time. If the refresh time is greater than or equal to the loading time, it is determined that there is no need to pre-read part of the system parameters stored in the first memory and store them in the second memory; if the refresh time is less than the loading time, it is determined that there is a need to pre-read part of the system parameters stored in the first memory and store them in the second memory.
3. The method for loading system parameters according to claim 2, characterized in that: When it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, the system parameters are divided into a plurality of system parameter segments, the video image frame data sent by the host computer is divided into a plurality of corresponding video image frame data segments, and part of the system parameter segments are pre-read and stored in the second memory; The steps of reading the corresponding system parameter segment from the second memory to render the corresponding video image frame data segment, reading the unused system parameter segment from the first memory to overwrite the system parameter segment used for rendering in the second memory, and using the unused system parameter segment to render the remaining video image frame data segment in the video image frame data include: When it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, the system parameters are divided into N system parameter segments, the video image frame data sent by the host computer is divided into corresponding N video image frame data segments, and the first N-1 system parameter segments of the system parameters are pre-read and stored in the second memory, where N is an even number greater than 2; The corresponding system parameter segments are read from the second memory to render the corresponding video image frame data segments in sequence. When the N / 2th system parameter segment starts to render the corresponding video image frame data segments, the Nth system parameter segment is read from the first memory and overwrites the N / 2th system parameter segment in the second memory, and the unused system parameter segments are used to render the remaining video image frame data segments in the video image frame data.
4. The method for loading system parameters according to claim 3, characterized in that: The step of reading the corresponding system parameter segments from the second memory to sequentially render the corresponding video image frame data segments, and when starting to render the corresponding video image frame data segments with the N / 2th system parameter segment, reading the Nth system parameter segment from the first memory and overwriting the N / 2th system parameter segment in the second memory, and using the unused system parameter segments to render the remaining video image frame data segments in the video image frame data comprises: Reading N / 2 system parameter segments from the second memory in sequence and rendering the corresponding video image frame data segments in sequence; Reading the rendering of the video image frame data segment corresponding to the N / 2 system parameter segment, and reading the data of the Nth system parameter segment from the first memory and overwriting the already used data in the N / 2th system parameter segment in the second memory, wherein the speed at which the data in the N / 2th system parameter segment is used for rendering is greater than the overwriting speed of the data in the Nth system parameter segment; sequentially reading the N / 2+1th to the N-1th system parameter segments from the second memory to render the corresponding video image frame data segments in sequence, wherein when the N-1th system parameter segment completes rendering the corresponding video image frame data segment, the Nth system parameter segment has completely covered the N / 2th system parameter segment in the second memory; The Nth system parameter segment is read from the second memory and the corresponding video image frame data segment is rendered to complete the rendering of one video image frame.
5. The method for loading system parameters according to claim 4, characterized in that: The method further comprises: The second memory is divided into N-1 storage blocks, each of which is used to store parameters in a system parameter segment, wherein the starting storage address of each storage block is the addressing address.
6. The method for loading system parameters according to claim 5, characterized in that: The step of reading the rendering of the corresponding video image frame data segment of the N / 2th system parameter segment, and reading the data of the Nth system parameter segment from the first memory and overwriting the already used data in the N / 2th system parameter segment in the second memory includes: Starting from the start address of the target storage block storing the N / 2th system parameter segment, the data in the N / 2th system parameter segment is sequentially read, and the corresponding video image frame data segment is rendered; The data of the Nth system parameter segment is read from the first memory and the used data in the N / 2th system parameter segment in the second memory is overwritten starting from the start address of the target storage block.
7. A device for loading system parameters, characterized in that: A display driver chip used in a display device, the display device further comprising a display panel and a first memory connected to the display driver chip, wherein the first memory stores system parameters, the display driver chip has a second memory, the storage space of the second memory is smaller than the storage space of the first memory, and the device comprises: An acquisition module, used for acquiring a current refresh frequency of the display panel and a transmission rate of the system parameters from the first memory; a determination module, configured to determine whether it is necessary to pre-read and store part of the system parameters stored in the first memory in the second memory based on the current refresh frequency of the display panel and the transmission rate for acquiring the system parameters; A first rendering module, configured to directly read the system parameters from the first memory to render the video image frame data sent by the host computer when it is determined that there is no need to pre-read part of the system parameters stored in the first memory and store them in the second memory; The second rendering module is used to divide the system parameters into multiple system parameter segments when it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, divide the video image frame data sent by the host computer into multiple corresponding video image frame data segments, and pre-read and store part of the system parameter segments in the second memory; read the corresponding system parameter segments from the second memory to render the corresponding video image frame data segments, read unused system parameter segments from the first memory to overwrite the system parameter segments in the second memory that have been used for rendering, and use the unused system parameter segments to render the remaining video image frame data segments in the video image frame data.
8. The system parameter loading device according to claim 7, characterized in that: The determination module is specifically used for: Based on the current refresh frequency of the display panel, calculate the refresh time required for the display panel to refresh each frame of the video image; Based on the total amount of data of the system parameters and the transmission rate of obtaining the system parameters, obtaining the loading time of the second memory to load the system parameters from the first memory; comparing the refresh time with the load time, and if the refresh time is greater than or equal to the load time, determining that it is not necessary to pre-read part of the system parameters stored in the first memory and store them in the second memory; If the refresh time is less than the load time, it is determined that part of the system parameters stored in the first memory needs to be pre-read and stored in the second memory.
9. A display driver chip, characterized in that: The display driver chip comprises a processor, and the processor is used to execute the method for loading system parameters as described in any one of claims 1-6.
10. A display device, characterized in that: The display device comprises the display driver chip according to claim 9, a display panel and a first memory, the display driver chip also comprises a second memory, the display driver chip is connected to the display panel and the first memory respectively, the first memory comprises a FLASH memory, and the second memory comprises a static random access memory.
Citation Information
Patent Citations
Optical color parameter correction method and device of plane display
CN101089945A
Rendering system and method
CN103295257A
Systems and methods for alignment, calibration and rendering for an angular slice true-3D display
CN103562963A
Driving control method, driving circuit, display device and display system
CN115841803A
An apparatus and method for performing data access in accordance with memory access patterns
CN1501258A