Methods, devices, display driver chips, and display devices for loading system parameters

By using dynamic loading of system parameters between the second and first memories in the display driver chip, the bandwidth bottleneck problem is solved, real-time rendering processing is achieved, and costs are reduced.

CN119993093BActive Publication Date: 2025-12-02HE FEI CHIP WEALTH TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510345650.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-24
Publication Date
2025-12-02
Estimated Expiration
2045-03-24

AI Technical Summary

Technical Problem

The display driver chip has a bandwidth bottleneck when reading system parameters from the memory, which cannot meet the throughput requirements of real-time processing of video image frame data from the host computer. This results in the second memory needing a larger storage capacity, increasing manufacturing costs.

Method used

By dynamically loading system parameters between the second memory and the first memory in the display driver chip, the loading and overwriting of system parameters are dynamically determined by judging the refresh rate of the display panel and the transmission rate of system parameters, thereby reducing the storage capacity of the second memory.

Benefits of technology

It enables real-time rendering processing of video image frame data from the host computer, reducing the manufacturing cost of the display driver chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119993093B_ABST
    Figure CN119993093B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, display driver chip, and display device for loading system parameters. In the method, firstly, the current refresh rate of the display panel and the transmission rate of the system parameters are obtained. Next, based on the previously obtained data, it is determined whether a portion of the system parameters stored in the first memory needs to be pre-read and stored in the second memory. If it is determined that a portion 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. Unused system parameter segments are read from the first memory to overwrite the system parameter segments already used for rendering in the second memory. The unused system parameter segments are then used to render the remaining video image frame data segments in the video image frame data. This method can reduce the storage capacity of the second memory, thereby reducing the manufacturing cost of the display driver chip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and more specifically, to a method, apparatus, display driver chip, and display device for loading system parameters. Background Technology

[0002] In display devices, the display driver chip needs to render video image frame data sent by the host computer through system parameter configuration. However, due to bandwidth bottlenecks when the display driver chip reads system parameter data from the first memory (e.g., FLASH memory), it cannot meet the throughput requirements for real-time processing of video image frame data from the host computer. Therefore, it is necessary to pre-store all system parameters stored in the first memory into the display driver chip's second memory (e.g., SRAM memory). This way, when rendering video image frame data sent by the host computer, the required system parameters can be directly retrieved from the second memory. This method requires the storage capacity of the second memory to match the storage capacity of the first memory used to store system parameters. When the required system parameter data is too large, the second memory needs a larger storage capacity (correspondingly, the size of the second memory will also increase), which increases the manufacturing cost of the display driver chip. Summary of the Invention

[0003] In view of this, the purpose of this application is to provide a method, apparatus, display driver chip and display device for loading system parameters. The method uses a dynamic loading of 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 once, which can reduce the storage capacity of the second memory and thus reduce the manufacturing cost of the display driver chip.

[0004] According to a first aspect of this application, a method for loading system parameters is provided, applied to a display driver chip in a display device. The display device further includes 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, the storage space of the second memory being smaller than the storage space of the first memory. The method includes:

[0005] Obtain the current refresh rate of the display panel and the transmission rate for obtaining the system parameters from the first memory;

[0006] Based on the current refresh rate of the display panel and the transmission rate for acquiring the system parameters, determine whether it is necessary to pre-read a portion 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 and store some of the system parameters stored in the first memory in the second memory, the system parameters are directly read from the first memory to render the video image frame data sent by the host computer.

[0008] When it is determined that a portion 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 multiple system parameter segments, and the video image frame data sent by the host computer is divided into multiple corresponding video image frame data segments. A portion 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 already used for rendering in the second memory. The unused system parameter segments are then used to render the remaining video image frame data segments in the video image frame data.

[0009] In one possible implementation of the first aspect, the step of determining whether it is necessary to pre-read and store a portion of the system parameters stored in the first memory in the second memory based on the current refresh rate of the display panel and the transmission rate for acquiring the system parameters includes:

[0010] Based on the current refresh rate of the display panel, the refresh time required for the display panel to refresh each frame of video image is calculated.

[0011] Based on the total amount of data in the system parameters and the transmission rate for acquiring the system parameters, the loading time for the second memory to load the system parameters from the first memory is obtained;

[0012] 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 it is not necessary to pre-read and store a portion of the system parameters stored in the first memory in the second memory; if the refresh time is less than the loading time, it is determined that it is necessary to pre-read and store a portion of the system parameters stored in the first memory in the second memory.

[0013] In one possible implementation of the first aspect, when it is determined that a portion 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 multiple system parameter segments, the video image frame data sent by the host computer is divided into corresponding multiple video image frame data segments, and a portion 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 already 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 a portion 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 are pre-read and stored in the second memory, where N is an even number greater than 2;

[0015] The system parameter segments are read from the second memory and the corresponding video image frame data segments are rendered sequentially. When the rendering of the corresponding video image frame data segment of the N / 2th system parameter segment begins, the Nth system parameter segment is read from the first memory and overwrites the N / 2th system parameter segment in the second memory. The unused system parameter segments are then used to render the remaining video image frame data segments in the video image frame data.

[0016] In one possible implementation of the first aspect, the step of sequentially rendering the corresponding video image frame data segment by reading the corresponding system parameter segment from the second memory, and when starting to render the corresponding video image frame data segment by 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 segment to render the remaining video image frame data segment in the video image frame data, includes:

[0017] The system parameter segments before N / 2 are read sequentially from the second memory, and the corresponding video image frame data segments are rendered sequentially.

[0018] The rendering of the corresponding video image frame data segment is read from the N / 2th system parameter segment, and the data of the Nth system parameter segment is read from the first memory and overwritten with the data already used in the N / 2th system parameter segment in the second memory. The rendering speed of the data in the N / 2th system parameter segment is greater than the overwriting speed of the data in the Nth system parameter segment.

[0019] The system parameter segments from N / 2+1 to N-1 are read sequentially from the second memory and rendered sequentially on the corresponding video image frame data segments. When the N-1 system parameter segment finishes rendering the corresponding video image frame data segment, the Nth system parameter segment has completely covered the N / 2 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 one 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 one possible implementation of the first aspect, the step of reading the rendering of the corresponding video image frame data segment by 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:

[0024] Starting from the starting address of the target storage block storing the N / 2th system parameter segment, read the data in the N / 2th system parameter segment sequentially, and render the corresponding video image frame data segment;

[0025] Read the data of the Nth system parameter segment from the first memory, and overwrite the used data in the N / 2th system parameter segment of the second memory starting from the starting address of the target memory block.

[0026] According to a second aspect of this application, a system parameter loading device is provided, applied to a display driver chip in a display device. The display device further includes 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, the storage space of the second memory being smaller than the storage space of the first memory. The device includes:

[0027] The acquisition module is used to acquire the current refresh rate of the display panel and the transmission rate for acquiring the system parameters from the first memory;

[0028] The determination module is used to determine, based on the current refresh rate of the display panel and the transmission rate of the system parameters, whether it is necessary to pre-read a portion of the system parameters stored in the first memory and store them in the second memory.

[0029] The first rendering module is used to directly read system parameters from the first memory and render the video image frame data sent by the host computer when it is determined that it is not necessary to pre-read and store some of the system parameters stored in the first memory in the second memory.

[0030] The second rendering module is used to, when it is determined that a portion of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, divide the system parameters into multiple system parameter segments, divide the video image frame data sent by the host computer into corresponding multiple video image frame data segments, and pre-read and store a portion 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 already used for rendering in the second memory; and use the unused system parameter segments to render the remaining video image frame data segments in the video image frame data.

[0031] In one possible implementation of the second aspect, the determination module is specifically used for:

[0032] Based on the current refresh rate of the display panel, the refresh time required for the display panel to refresh each frame of video image is calculated.

[0033] Based on the total amount of data in the system parameters and the transmission rate for acquiring the system parameters, the loading time for the second memory to load the system parameters from the first memory is obtained;

[0034] 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 it is not necessary to pre-read and store a portion of the system parameters stored in the first memory in the second memory; if the refresh time is less than the loading time, it is determined that it is necessary to pre-read and store a portion of the system parameters stored in the first memory in the second memory.

[0035] According to a third aspect of this application, a display driver chip is provided, the display driver chip including a processor, the processor being configured to execute a method for loading system parameters in any of the possible embodiments of the first aspect.

[0036] According to a fourth aspect of this application, a display device is provided, the display device including the aforementioned display driver chip, display panel and first memory, the display driver chip further including a second memory, the display driver chip being connected to the display panel and the first memory respectively, the first memory including FLASH memory, and the second memory including static random access memory.

[0037] Based on any of the above aspects, embodiments of this application provide a method, apparatus, display driver chip, and display device for loading system parameters. Thus, the method employs a dynamic loading of system parameters between the second memory and the first memory in the display driver chip to achieve 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 once, reducing its storage capacity and consequently lowering the manufacturing cost of the display driver chip. Attached Figure Description

[0038] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings required in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is a schematic diagram illustrating the application scenario of the display device provided in this embodiment;

[0040] Figure 2 This is a flowchart illustrating the steps of a method for loading system parameters provided in this embodiment;

[0041] Figure 3 for Figure 2 Flowchart of the sub-steps in step S140;

[0042] Figure 4 for Figure 3 Flowchart of the sub-steps in step S142;

[0043] Figure 5 This is a schematic diagram of the system parameter segments and their corresponding video image frame data segments provided in this embodiment;

[0044] Figure 6 This is a functional module diagram of a system parameter loading device 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-Judgment module, 220-First rendering module, 230-Second rendering module. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0047] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0048] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0049] In the description of this application, it should be noted that the terms "upper," "lower," etc., indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product is in use. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on this application. In addition, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0050] It should be noted that, where there is no conflict, different features in the embodiments of this application can be combined with each other.

[0051] In order to solve the technical problems mentioned in the background section, the inventors have innovatively designed the following technical solutions, and the specific implementation scheme of this application will be described in detail below with reference to the accompanying drawings.

[0052] Please see Figure 1 , Figure 1This is a schematic diagram of the interactive scenario of the 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. These system parameters are used to render the video image frame data sent by the host computer to form the corresponding video image frame picture. The display driver chip 10 has a second memory 100, the storage space of the second memory 100 being smaller than the storage space of the first memory 30.

[0053] In this embodiment, when the display driver chip 10 renders the video image frame data sent by the host computer, it directly retrieves the required system parameters from the second memory 100. The system parameters stored in the second memory 100 are a portion of the system parameters pre-read from the first memory 30. During the rendering process, the second memory 100 can read the remaining system parameters from the first memory 30 and overwrite the already used system parameters in the second memory 100 to render the remaining video image frame data. This method eliminates the need for the second memory 100 to pre-store all system parameters in the first memory 30, reducing the storage capacity of the second memory 100 and thus lowering the manufacturing cost of the display driver chip 10.

[0054] It is worth noting that system parameters include, but are not limited to, the resolution, refresh rate, color depth and color gamut, brightness and contrast of video image frame data.

[0055] Understandable. Figure 1 The display device 1 shown is merely one possible example; in other possible embodiments, the display device 1 may also include only... Figure 1 One or more of the components shown.

[0056] The following is combined with Figure 1 The application scenarios shown illustrate the method for loading system parameters provided in this application. Please refer to... Figure 2 , Figure 2 This embodiment provides a flowchart of the steps for loading system parameters, and the method is applied to... Figure 1 The display driver chip 10 in the display device 1 shown is used to execute this method. The detailed steps of the loading system parameters method executed by the display driver chip 10 are described below:

[0057] Step S110: Obtain the current refresh rate of the display panel 20 and the transmission rate of the system parameters obtained 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 measured in Hertz (Hz). The refresh rate affects the smoothness of the display of the display panel 20; the higher the refresh rate, the smoother the display and the better the visual experience for the user. However, a higher refresh rate requires the display driver chip 10 to process video image frame data in a shorter time. For example, when the display panel 20 is in sleep or standby mode, the refresh rate of the display panel 20 can be 30 Hz; when the display panel 20 is in a web browsing or chat scenario, the refresh rate of the display panel 20 can be 60 Hz; and when the display panel 20 is in a game or video scenario, the refresh rate of the display panel 20 can be 120 Hz.

[0059] The transmission rate of obtaining system parameters from the first memory 30 refers to the transmission rate of the display driver chip 10 obtaining 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 rate of the display panel 20 and the transmission rate of the system parameters, determine whether it is necessary to pre-read and store a portion of the system parameters stored in the first memory 30 in the second memory 100.

[0061] In step S130, if it is determined that it is not necessary to pre-read and store some of the system parameters stored in the first memory 30 in the second memory 100, the system parameters are directly read from the first memory 30 to render the video image frame data sent by the host computer.

[0062] In step S140, when it is determined that a portion 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 multiple system parameter segments, the video image frame data sent by the host computer is divided into multiple corresponding video image frame data segments, and a portion 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, the unused system parameter segments are read from the first memory 30 to overwrite the system parameter segments already used for rendering 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.

[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 some of the system parameters stored in the first memory 30 and store them in the second memory 100, the display driver chip 10, during the rendering process, controls the second memory 100 to read the remaining system parameters from the first memory 30 to overwrite the already used system parameters, and continues to render the remaining video image frame data. This method, by dynamically loading system parameters between the first memory 30 and the second memory 100, eliminates the need for the second memory 100 to pre-store all system parameters in the first memory 30, reducing the storage capacity of the second memory 100 and thus lowering the manufacturing cost of the display driver chip 10.

[0065] Furthermore, step S120 can also be implemented in the following ways:

[0066] First, based on the current refresh rate of the display panel 20, the refresh time required for the display panel 20 to refresh each frame of video image is calculated.

[0067] In this step, the refresh time required for the display panel 20 to refresh each frame of video image is the reciprocal of the current refresh rate of the display panel 20.

[0068] For example, when the refresh rate of the display panel 20 is 30Hz, the refresh time required to refresh one frame of image is 33.33ms, that is, the time for the display driver chip 10 to process one frame of video image data is 33.33ms. When the refresh rate of the display panel 20 is 60Hz, the refresh time required to refresh one frame of image is 16.66ms, that is, the time for the display driver chip 10 to process one frame of video image data is 16.66ms.

[0069] Next, based on the total amount of system parameters and the transmission rate of acquiring system parameters, the loading time of the second memory 100 loading system parameters from the first memory 30 is obtained.

[0070] In this step, the transmission rate of system parameters is obtained based on the main frequency of the display driver chip 10 and the transmission bit width (number of data transmission channels) between the display driver chip 10 and the first memory 30.

[0071] Finally, the refresh time and loading time are compared. If the refresh time is greater than or equal to the loading time, it is determined that it is not necessary to pre-read and store part of the system parameters stored in the first memory 30 in the second memory 100. If the refresh time is less than the loading time, it is determined that it is necessary to pre-read and store part of the system parameters stored in the first memory 30 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 reading system parameters directly from the first memory 30 can meet the needs 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] For example, assuming the system parameter size required to process one frame of video image data is 16 Mbit, i.e., 16 * 1024 * 1024 = 16,777,216 bits, then the system parameter size stored in the first memory 30 is 16 Mbit. If the main frequency of the display driver chip 10 is 125 MHz, then 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 bits / s, then the loading time required for the display driver chip 10 to load 16 Mbit of system parameters from the first memory 30 is (16,777,216 bits ÷ 4 bits / s) * 8 ns = 33.554433 ms.

[0074] If the refresh rate of the display panel 20 is 30Hz, the required refresh time is 33.33ms. At this time, the refresh time and loading time are basically equal, so it is not necessary to use the second memory 100 to pre-store the required system parameters.

[0075] If the refresh rate of the display panel 20 is 60Hz, the required refresh time is 16.66ms. 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 of the required system parameters.

[0076] If the refresh rate of the display panel 20 is 120Hz, the required refresh time is 8.33ms. Since the refresh time is less than the loading time, the second memory 100 is also needed to pre-store some of the required system parameters.

[0077] Further, please see Figure 3 , Figure 3 for Figure 1 The flowchart of the sub-steps of step S140. Step S140 can also be implemented in the following ways.

[0078] In sub-step S141, when it is determined that a portion 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 are pre-read and stored in the second memory 100, where N is an integer greater than 2. For ease of explanation, the following explanation will use an even number of N greater than 2 as an example.

[0079] In this embodiment, the first N-1 system parameter segments are pre-stored in the second memory 100, so that 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] Sub-step S142: Read the corresponding system parameter segment from the second memory 100 and render the corresponding video image frame data segment sequentially. When the rendering of the N / 2th system parameter segment for the corresponding video image frame data segment begins, read the Nth system parameter segment from the first memory 30 and overwrite the N / 2th system parameter segment in the second memory 100, and use the unused system parameter segment to render the remaining video image frame data segment in the video image frame data.

[0081] In this embodiment, the time for reading the Nth system parameter segment from the first memory 30 and overwriting 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 of the N / 2th system parameter segment is about to be completed or when the rendering of the corresponding video image frame data segment of the N / 2th system parameter segment has been completed. The appropriate timeframe needs to be selected based on the actual situation. It is sufficient to ensure that the rendering speed using the N / 2th system parameter segment is greater than the reading speed of the Nth system parameter segment; that is, the data read from the Nth system parameter segment in the second memory 100 will not overwrite the data in the N / 2th system parameter segment that has not yet been used for rendering.

[0082] Further, please see Figure 4 , Figure 4 for Figure 3 The flowchart of the sub-steps of step S142 is shown below. Step S142 can also be implemented in the following ways.

[0083] In sub-step S1420, the system parameter segments before N / 2 are read sequentially from the second memory 100 and the corresponding video image frame data segments are rendered sequentially.

[0084] Sub-step S1421: Read the rendering of the corresponding video image frame data segment of the N / 2th system parameter segment, and read the data of the Nth system parameter segment from the first memory 30 and overwrite the data already used in the N / 2th system parameter segment in the second memory 100. The rendering speed of the data in the N / 2th system parameter segment 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 overwrites the N / 2th system parameter segment, the data in the N / 2th system parameter segment has already 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 guaranteeing the rendering effect of the entire video image frame data.

[0086] Sub-step S1422: Read the N / 2+1 to N-1 system parameter segments sequentially from the second memory 100 and render the corresponding video image frame data segments sequentially. When the N-1 system parameter segment finishes rendering the corresponding video image frame data segment, the Nth system parameter segment has completely covered the N / 2 system parameter segment in the second memory 100.

[0087] Sub-step S1423: Read the Nth system parameter segment from the second memory 100 and render the corresponding video image frame data segment to complete the rendering of a video image frame.

[0088] In this embodiment, in application scenarios where the second memory 100 is required to pre-store some of the 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 the system parameter size required for one video image frame is 16 Mbit, then the system parameter size stored in the first memory 30 is 16 Mbit. If the clock frequency of the display driver chip 10 is 125 MHz, then 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 bits / s. The loading time required for the display driver chip 10 to load 16 Mbit of system parameters from the first memory 30 is 33.554433 ms.

[0090] When the refresh rate of the display panel 20 is 120Hz, the required refresh time is 8.33ms. Therefore, the second memory 100 needs to pre-store some required system parameters. Please refer to [link / reference]. Figure 5 , Figure 5This is a schematic diagram of the system parameter segments and their corresponding video image frame data segments provided in this embodiment. According to the dynamic loading ping-pong structure, a video image frame 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 video image frame is divided into eight corresponding video image frame data segments (B1, B2, B3, B4, B5, B6, B7, B8). Each video image frame data segment is 2Mbit in size. 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). The second system parameter segment (A2) is read to render the second video image frame data segment (B2), and so on, until the fourth system parameter segment (A4) is read to render the second video image frame data segment (B4). At this point, the data of the eighth system parameter segment (A8) is read from the first memory 30 and overwrites the data already used in the fourth system parameter segment (A4) in the second memory 100. 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 sequentially to render the corresponding video image frame data segments (B5, B6, and B7). When the rendering of the seventh system parameter segment (A7) to the seventh video image frame data segment (B7) is completed, the writing of the eighth system parameter segment (B8) has already been completed. At this time, the second memory 100 has stored seven system parameter segments (A1, A2, A3, A8, A5, A6, and A7). Next, the eighth system parameter segment is read and the eighth video image frame data segment (B8) is rendered sequentially to complete the rendering of one video image frame.

[0092] When rendering the next frame of video image data, while 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 overwritten with the data already used in the eighth system parameter segment (A8) in the second memory 100. 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 data. 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, reduce the storage capacity of the second memory 100, 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 being 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 memory block, and each memory block in the second memory 100 has a different address.

[0096] Furthermore, sub-step S1421 can also be implemented in the following way.

[0097] First, starting from the starting address of the target storage block storing the N / 2th system parameter segment, the data in the N / 2th system parameter segment is read sequentially, 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 data already used in the N / 2th system parameter segment in the second memory 100 is overwritten starting from the starting address of the target memory 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. A system parameter segment occupies approximately 1 / (N-1) of the storage capacity in the second memory 100.

[0100] Based on the same inventive concept, please refer to Figure 6 , Figure 6 This is a schematic diagram of the functional modules of a loading system parameter device provided in this embodiment. This embodiment can divide the loading system parameter device into functional modules according to the above method embodiment. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this embodiment is illustrative and only represents a logical functional division; the actual implementation may have other division methods. For example, when dividing each functional module according to its own function, the illustrated loading system parameter device is only a schematic diagram. 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 will be described in detail below.

[0101] The acquisition module 200 is used to acquire the current refresh rate of the display panel 20 and the transmission rate of acquiring system parameters from the first memory 30.

[0102] In this embodiment, the acquisition module 200 can be used to perform... Figure 2 For a detailed description of the acquisition module 200, see the description of step S110 shown.

[0103] The determination module 210 is used to determine, based on the current refresh rate of the display panel 20 and the transmission rate of the system parameters, whether it is necessary to pre-read a portion of the system parameters stored in the first memory 30 and store them in the second memory 100.

[0104] In this embodiment, the determination module 210 can be used to perform... Figure 2 For a detailed description of the determination module 210, see the description of step S120 shown.

[0105] The first rendering module 220 is used to directly read system parameters from the first memory 30 and render the video image frame data sent by the host computer when it is determined that it is not necessary to pre-read and store some of the system parameters stored in the first memory 30 in the second memory 100.

[0106] In this embodiment, the first rendering module 220 can be used to execute Figure 2 For a detailed description of the first rendering module 220, see the description of step S130 shown.

[0107] The second rendering module 230 is used to, when it is determined that a portion of the system parameters stored in the first memory 30 needs to be pre-read and stored in the second memory 100, divide the system parameters into multiple system parameter segments, divide the video image frame data sent by the host computer into multiple corresponding video image frame data segments, and pre-read and store a portion of the 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 already used for rendering in the second memory 100; 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 For a detailed description of the second rendering module 230, see the description of step S140 shown.

[0109] Based on the same inventive concept, this application also provides a display driver chip 10, which includes a processor for executing the loading system parameters method provided in the above-described method embodiments. The above method utilizes a dynamic loading mechanism between the first memory 30 and the second memory 100, eliminating the need for the second memory 100 to load all system parameters at once, thus reducing the storage capacity of the second memory 100 and consequently lowering the manufacturing cost of the display driver chip 10.

[0110] Based on the same inventive concept, this 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 embodiments. The display driver chip 10 also includes a second memory 100. The display driver chip 10 is connected to the display panel 20 and the first memory 30 respectively. 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 this type of memory is powered on, the data stored within it can be constantly maintained without the need for a refresh circuit. Therefore, SRAM has high performance. However, for the same capacity, SRAM requires a larger volume than other types of memory.

[0112] FLASH memory, also known as flash memory, is a form of electrically erasable programmable read-only memory that can be erased or written to multiple times during operation. Its main feature is that it can retain the stored information for a long time without losing power.

[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, this application provides a method, apparatus, display driver chip, and display device for loading system parameters. Applied to a display driver chip, the method first obtains the current refresh rate of the display panel and the transmission rate of the system parameters. Next, based on the previously obtained data, it determines whether a portion of the system parameters stored in the first memory needs to be pre-read and stored in the second memory. When it is determined that a portion 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. Unused system parameter segments are read from the first memory to overwrite the system parameter segments already 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. Thus, the above method uses a dynamic loading of system parameters between the second and first memories in the display driver chip to achieve 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 once, which reduces the storage capacity of the second memory and thus reduces the manufacturing cost of the display driver chip.

[0115] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0116] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce a good effect.

[0117] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for loading system parameters, characterized in that, A display driver chip is 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, and the display driver chip has a second memory, the storage space of the second memory being smaller than the storage space of the first memory, the method comprising: Obtain the current refresh rate of the display panel and the transmission rate for obtaining the system parameters from the first memory; Based on the current refresh rate of the display panel and the transmission rate for acquiring the system parameters, determine whether it is necessary to pre-read a portion 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 and store some of the system parameters stored in the first memory in the second memory, the system parameters are directly read from the first memory to render the video image frame data sent by the host computer. When it is determined that a portion 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 multiple system parameter segments, and the video image frame data sent by the host computer is divided into multiple corresponding video image frame data segments. A portion 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 already used for rendering in the second memory. The unused system parameter segments are then used to render the remaining video image frame data segments in the video image frame data.

2. The method for loading system parameters as described in claim 1, characterized in that, The step of determining whether it is necessary to pre-read and store a portion of the system parameters stored in the first memory in the second memory based on the current refresh rate of the display panel and the transmission rate for obtaining the system parameters includes: Based on the current refresh rate of the display panel, the refresh time required for the display panel to refresh each frame of video image is calculated. Based on the total amount of data in the system parameters and the transmission rate for acquiring the system parameters, the loading time for the second memory to load the system parameters from the first memory is obtained; 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 it is not necessary to pre-read and store a portion of the system parameters stored in the first memory in the second memory; if the refresh time is less than the loading time, it is determined that it is necessary to pre-read and store a portion of the system parameters stored in the first memory in the second memory.

3. The method for loading system parameters as described in claim 2, characterized in that, When it is determined that a portion 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 multiple system parameter segments, the video image frame data sent by the host computer is divided into multiple corresponding video image frame data segments, and a portion 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 unused system parameter segments from the first memory to overwrite the system parameter segments already used for rendering 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 include: When it is determined that a portion 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 are pre-read and stored in the second memory, where N is an even number greater than 2; The system parameter segments are read from the second memory and the corresponding video image frame data segments are rendered sequentially. When the rendering of the corresponding video image frame data segment of the N / 2th system parameter segment begins, the Nth system parameter segment is read from the first memory and overwrites the N / 2th system parameter segment in the second memory. The unused system parameter segments are then used to render the remaining video image frame data segments in the video image frame data.

4. The method for loading system parameters as described in claim 3, characterized in that, The step of reading the corresponding system parameter segment from the second memory and rendering the corresponding video image frame data segment sequentially, and when starting to render the N / 2th system parameter segment corresponding to the video image frame data 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 segment to render the remaining video image frame data segment in the video image frame data, includes: The system parameter segments before N / 2 are read sequentially from the second memory, and the corresponding video image frame data segments are rendered sequentially. The rendering of the corresponding video image frame data segment is read from the N / 2th system parameter segment, and the data of the Nth system parameter segment is read from the first memory and overwritten with the data already used in the N / 2th system parameter segment in the second memory. The rendering speed of the data in the N / 2th system parameter segment is greater than the overwriting speed of the data in the Nth system parameter segment. The system parameter segments from N / 2+1 to N-1 are read sequentially from the second memory and rendered sequentially on the corresponding video image frame data segments. When the N-1 system parameter segment finishes rendering the corresponding video image frame data segment, the Nth system parameter segment has completely covered the N / 2 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 as described in claim 4, characterized in that, The method further includes: 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 as described in claim 5, characterized in that, The step of reading the rendering of the corresponding video image frame data segment by the N / 2th system parameter segment, and reading the data of the Nth system parameter segment from the first memory and overwriting the data already used in the N / 2th system parameter segment in the second memory includes: Starting from the starting address of the target storage block storing the N / 2th system parameter segment, read the data in the N / 2th system parameter segment sequentially, and render the corresponding video image frame data segment; Read the data of the Nth system parameter segment from the first memory, and overwrite the used data in the N / 2th system parameter segment of the second memory starting from the starting address of the target memory block.

7. A device for loading system parameters, characterized in that, A display driver chip for use 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, and the display driver chip has a second memory, the storage space of the second memory being smaller than the storage space of the first memory, the device comprising: The acquisition module is used to acquire the current refresh rate of the display panel and the transmission rate for acquiring the system parameters from the first memory; The determination module is used to determine, based on the current refresh rate of the display panel and the transmission rate of the system parameters, whether it is necessary to pre-read a portion of the system parameters stored in the first memory and store them in the second memory. The first rendering module is used to directly read system parameters from the first memory and render the video image frame data sent by the host computer when it is determined that it is not necessary to pre-read and store some of the system parameters stored in the first memory in the second memory. The second rendering module is used to, when it is determined that a portion of the system parameters stored in the first memory needs to be pre-read and stored in the second memory, divide the system parameters into multiple system parameter segments, divide the video image frame data sent by the host computer into corresponding multiple video image frame data segments, and pre-read and store a portion 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 already used for rendering in the second memory; and use the unused system parameter segments to render the remaining video image frame data segments in the video image frame data.

8. The loading system parameter device as described in claim 7, characterized in that, The determination module is specifically used for: Based on the current refresh rate of the display panel, the refresh time required for the display panel to refresh each frame of video image is calculated. Based on the total amount of data in the system parameters and the transmission rate for acquiring the system parameters, the loading time for the second memory to load the system parameters from the first memory is obtained; 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 it is not necessary to pre-read and store a portion of the system parameters stored in the first memory in the second memory. If the refresh time is less than the loading time, it is determined that a portion 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 includes a processor, which is used to execute the loading system parameters method according to any one of claims 1-6.

10. A display device, characterized in that, The display device includes the display driver chip, display panel, and first memory as described in claim 9. The display driver chip further includes a second memory. The display driver chip is connected to the display panel and the first memory respectively. The first memory includes FLASH memory, and the second memory includes static random access memory.

Citation Information

Patent Citations

  • Optical color parameter correction method and device of plane display

    CN101089945A

  • Rendering system and method

    CN103295257A