Storage processing method and device of aging compensation data, electronic equipment, storage medium and program product
By distributing aging compensation data blocks in the flash memory of the OLED screen, the problem of data errors caused by uneven aging of subpixels is solved, and more reliable aging compensation data storage is achieved.
Patent Information
- Application Number
- CN202510694738.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2026-11-27
AI Technical Summary
Due to the self-emissive nature of OLED screens, the aging rate of subpixels is uneven. Displaying static images for a long time accelerates pixel decay. In existing technologies, frequent erasing and rewriting of aging compensation data blocks can easily lead to errors in the data stored in the flash memory physical blocks.
Multiple aging compensation data are distributed and stored in multiple physical blocks of flash memory. The target physical block is selected for storage based on the usage information of each physical block, thereby reducing the high frequency of power-on to the same physical block.
This reduces the risk of data errors in flash memory physical block storage and improves the reliability and storage stability of aging compensation data.
Smart Images

Figure CN123178290A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and in particular to a method, apparatus, electronic device, computer-readable storage medium, and computer program product for storing and processing aging compensation data. Background Technology
[0002] Organic light-emitting diode (OLED) display technology is a display technology in which red, green and blue sub-pixels emit their own light.
[0003] OLED screens may experience screen burn-in due to uneven aging rates among different subpixels caused by their self-emissive nature and accelerated pixel decay from prolonged display of static images. Deburn-in (DBI) is a technology that eliminates burn-in marks and compensates for screen aging through relevant algorithms.
[0004] The aging compensation data (DBI data) can be stored in the flash memory of the display module. As the display panel is used for a longer period of time, the display driver integrated circuit (DDIC) of the display module needs to update the aging compensation data stored in the flash memory.
[0005] In related technologies, aging compensation data, which contains multiple aging compensation data blocks, is continuously stored in a physical block (pblock) of flash memory. Therefore, when updating the aging compensation data on flash memory, the physical block needs to be powered on frequently to erase and write each aging compensation data block. However, this can easily cause errors in the data stored in the physical block of flash memory. Summary of the Invention
[0006] Therefore, it is necessary to provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for storing and processing aging compensation data to address the aforementioned technical problems.
[0007] Firstly, this application provides a method for storing and processing aging compensation data, including:
[0008] Obtain the physical block division information of the flash memory in the display module; the flash memory is used to store aging compensation data of the display panel in the display module;
[0009] Based on the physical block partitioning information, determine the multiple physical blocks divided in the flash memory and the usage information of each physical block;
[0010] Acquire aging compensation data; the aging compensation data is used to perform aging compensation on the display panel;
[0011] Determine multiple aging compensation data blocks in the aging compensation data;
[0012] Based on the usage information of each physical block, determine a plurality of initially selected physical blocks that meet the storage conditions of the aging compensation data block;
[0013] The plurality of aging compensation data blocks are stored in at least two target physical blocks among the plurality of initially selected physical blocks; wherein each target physical block stores at least one of the plurality of aging compensation data blocks; different target physical blocks store different aging compensation data blocks.
[0014] In one embodiment, determining a plurality of initially selected physical blocks that meet the storage conditions of the aging compensation data block from among the plurality of physical blocks based on the usage information of each physical block includes: obtaining the available storage space and historical erase / write count of each physical block based on the usage information of each physical block; and determining a plurality of initially selected physical blocks that meet the storage conditions of the aging compensation data block from among the plurality of physical blocks based on the available storage space and historical erase / write count.
[0015] In one embodiment, storing the plurality of aging compensation data blocks into at least two target physical blocks among the plurality of initially selected physical blocks includes: if the first number of the plurality of initially selected physical blocks is less than or equal to the second number of the plurality of aging compensation data blocks, then the plurality of initially selected physical blocks are determined as the at least two target physical blocks, and the plurality of aging compensation data blocks are evenly distributed among the at least two target physical blocks for storage; if the first number of the plurality of initially selected physical blocks is greater than the second number of the plurality of aging compensation data blocks, then based on the historical write / erase count of each initially selected physical block, a second number of the initially selected physical blocks are determined as the at least two target physical blocks, and the plurality of aging compensation data blocks are evenly distributed among the at least two target physical blocks for storage.
[0016] In one embodiment, determining a second number of preliminary physical blocks as the at least two target physical blocks from the plurality of preliminary physical blocks based on the historical write / erase count of each preliminary physical block includes: determining a second number of preliminary physical blocks with the smallest historical write / erase count from the plurality of preliminary physical blocks as the at least two target physical blocks.
[0017] In one embodiment, determining multiple aging compensation data blocks in the aging compensation data includes: obtaining the correspondence between each display sub-region divided in the display panel and the aging compensation data blocks; and obtaining multiple aging compensation data blocks in the aging compensation data based on the correspondence.
[0018] In one embodiment, after storing the plurality of aging compensation data blocks into at least two target physical blocks among the plurality of initially selected physical blocks, the method further includes: when updating the aging compensation data, obtaining each updated aging compensation data block; and erasing and writing the aging compensation data blocks stored in each corresponding target physical block according to each updated aging compensation data block.
[0019] Secondly, this application also provides a storage and processing apparatus for aging compensation data, comprising:
[0020] An information acquisition module is used to acquire physical block division information of the flash memory in the display module; the flash memory is used to store aging compensation data of the display panel in the display module;
[0021] The information determination module is used to determine, based on the physical block partitioning information, the multiple physical blocks divided in the flash memory and the usage information of each physical block;
[0022] A data acquisition module is used to acquire aging compensation data; the aging compensation data is used to perform aging compensation on the display panel.
[0023] The block determination module is used to determine multiple aging compensation data blocks in the aging compensation data;
[0024] The initial selection module is used to determine, based on the usage information of each physical block, a plurality of initial physical blocks that meet the storage conditions of the aging compensation data block;
[0025] The data storage module is used to divide and store the plurality of aging compensation data blocks into at least two target physical blocks among the plurality of initially selected physical blocks; wherein each target physical block stores at least one of the plurality of aging compensation data blocks; different target physical blocks store different aging compensation data blocks.
[0026] Thirdly, this application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method.
[0027] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.
[0028] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.
[0029] The aforementioned method, apparatus, electronic device, storage medium, and program product for storing and processing aging compensation data acquires physical block information of the flash memory in a display module, determines multiple physical blocks in the flash memory and usage information of each physical block based on the physical block information, acquires aging compensation data and determines multiple aging compensation data blocks within the aging compensation data, determines multiple initially selected physical blocks that meet the storage conditions of the aging compensation data blocks based on the usage information of each physical block, and stores the multiple aging compensation data blocks into at least two target physical blocks among the multiple initially selected physical blocks. Each target physical block stores at least one of the multiple aging compensation data blocks, and different target physical blocks store different aging compensation data blocks. Therefore, by using at least two target physical blocks among the multiple physical blocks of the flash memory to store multiple aging compensation data blocks, the multiple aging compensation data blocks can be distributed across at least two target physical blocks for storage. This avoids frequently powering on the same physical block when updating the aging compensation data on the flash memory, reducing the risk of data errors in the physical block storage of the flash memory. Attached Figure Description
[0030] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0031] Figure 1 This is an application environment diagram of a method for storing and processing aging compensation data in one embodiment.
[0032] Figure 2 A diagram illustrating OLED screen burn-in.
[0033] Figure 3 This is a schematic diagram of the module's structure.
[0034] Figure 4 This is a schematic diagram illustrating the storage of aging compensation data on flash memory in related technologies.
[0035] Figure 5This is a flowchart illustrating a method for storing and processing aging compensation data in one embodiment.
[0036] Figure 6 This is a schematic diagram of storing aging compensation data on flash memory in one embodiment;
[0037] Figure 7 This is a structural block diagram of a storage and processing device for aging compensation data in one embodiment;
[0038] Figure 8 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation
[0039] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0040] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various objects, but these objects are not limited by these terms. These terms are only used to distinguish the first object from the second object. The term "comprising," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more.
[0041] The aging compensation data storage and processing method provided in this application embodiment can be applied to, for example... Figure 1 The application environment shown is as follows. The terminal can communicate with the server via a network. The data storage system can store the data that the server needs to process. The data storage system can be integrated on the server or placed on the cloud or other network servers. The aging compensation data storage and processing method of this application can be applied to a terminal to store and process aging compensation data of its display panel. The terminal can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, projection devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0042] like Figure 2The diagram illustrates an OLED screen burn-in issue. The main causes of OLED screen burn-in are the uneven aging rate of different sub-pixels due to their self-emissive nature, and the accelerated pixel decay caused by prolonged display of static images. The specific reasons can be summarized into the following three points:
[0043] The first point is the self-illuminating characteristic and the pixel-independent working mode:
[0044] OLED screens do not require a backlight layer; each pixel emits light independently. When displaying static images such as fixed icons or navigation bars, some pixels remain illuminated while others are off. This prolonged high-load operation accelerates the degradation of the light-emitting pixels, resulting in image retention.
[0045] The second point is the difference in lifespan of sub-pixels (especially blue sub-pixels):
[0046] The red, green, and blue sub-pixels have different luminous efficiencies and lifespans: the blue sub-pixel has the lowest luminous efficiency, requiring a higher current to achieve the same brightness, resulting in the fastest decay rate. The green sub-pixel, located in the region of the spectrum most sensitive to the human eye, is designed to have the longest lifespan. This uneven aging process causes color shifts and image retention on the screen.
[0047] The third point is the display and usage habits of static images:
[0048] Displaying high-contrast static images for extended periods, such as game HUDs (Head-Up Displays) and status bars, can lead to an accumulation of differences in pixel usage time. For example, pixels in the taskbar area of a monitor may be lit for hundreds of hours longer than those in other areas, eventually resulting in permanent burn-in.
[0049] To address this, screen aging can be compensated for using Deburn-in (DBI) technology. Aging compensation data can be pre-saved into the display panel's flash memory based on the panel's display characteristics. Figure 3 The diagram illustrates the structure of a display panel. After the display module is installed in the entire unit, display information is continuously recorded and saved to a cache. Combined with pre-stored aging compensation data, aging compensation is performed on the display panel. The display driver IC itself does not have the function of recording aging compensation data; therefore, during use, the display driver IC continuously updates the aging compensation data in the cache.
[0050] In related technologies, aging compensation data, comprising multiple aging compensation data blocks, is continuously stored in physical blocks (pblocks) of flash memory. Based on current caching technologies, the aging compensation data needs to be erased before being written. Therefore, when updating the aging compensation data on the flash memory, the physical block needs to be powered on frequently to erase and write each aging compensation data block. However, in implementing this invention, the inventors discovered that defects are unavoidable in the caching process. While most larger defects can be detected and intercepted during production, very small defects cannot be effectively intercepted by existing production detection methods. Furthermore, these very small defects do not show up under low-intensity usage scenarios and typically only become apparent during high-intensity erase and write operations. Frequent erase and write operations can easily trigger flash memory process defects; current flash memory design lifespan is 100,000 erase / write cycles. Therefore, in related technologies, frequently powering on the physical block to erase and write each aging compensation data block can easily lead to data errors.
[0051] As an example, such as Figure 4 The diagram illustrates a related technology of storing aging compensation data on flash memory. For example, a 16MB flash memory can be designed with four physical blocks (pblocks), each with several storage areas for data storage. In applications, the aging compensation data needs to be updated gradually as the display panel is used over time. The aging compensation data can contain multiple aging compensation data blocks, each corresponding to a different display sub-area on the display panel, and can be used to perform aging compensation on the corresponding display sub-area. Taking an example where the aging compensation data contains eight aging compensation data blocks (denoted as data block 1 to data block 8), in related technologies, the aging compensation data containing the eight aging compensation data blocks is stored consecutively in the same physical block of the flash memory, such as in physical block 1. Therefore, when the aging compensation data needs to be updated, it is necessary to erase and write the updated aging compensation data block block by block from data block 1 to data block 8. The erasure principle of flash memory is to power on an entire physical block. That is, when you need to erase data block 1, you need to power on the entire physical block 1 and then select data block 1 to erase. If you need to erase data blocks 1 to data blocks 8 in sequence, you need to power on the physical block 1 8 times. However, powering the same physical block at a high frequency will probabilistically trigger defects in the physical block, causing data corruption at the defective points.
[0052] In response, the aging compensation data storage and processing method of this application can use at least two target physical blocks among the multiple physical blocks of flash memory to store multiple aging compensation data blocks. This allows the multiple aging compensation data blocks to be distributed across at least two target physical blocks for storage. As a result, when updating the aging compensation data on flash memory, the same physical block can be powered on frequently, reducing the risk of data errors in the physical blocks of flash memory. In other words, the areas that need to be repeatedly erased and rewritten at high frequency can be distributed within the flash memory according to its multiple physical blocks, reducing the risk of data errors stored within the flash memory.
[0053] The storage and processing method for aging compensation data of this application will be described below with reference to various embodiments and corresponding figures.
[0054] In one exemplary embodiment, such as Figure 5 As shown, a method for storing and processing aging compensation data is provided, which may include the following steps:
[0055] Step S501: Obtain the physical block segmentation information of the flash memory in the display module.
[0056] The flash memory in the display module can be used to store aging compensation data for the display panel within the display module. Physical block partitioning information refers to the information related to each physical block in the flash memory, which may include information about how multiple physical blocks are partitioned, usage information for each physical block, and so on.
[0057] Step S502: Based on the physical block partitioning information, determine the multiple physical blocks divided in the flash memory and the usage information of each physical block.
[0058] In this step, the physical block partitioning information may include information on how multiple physical blocks are partitioned in the flash memory, and the usage information of each physical block itself. Based on the physical block partitioning information, the multiple physical blocks in the flash memory and the usage information of each physical block can be determined. The physical block usage information refers to information related to the use of the physical block, which may include the available storage space of the physical block, the historical erase / write count, etc. Available storage space refers to the space in the physical block that can be used to store data, and the historical erase / write count refers to the number of times the physical block has been erased and written.
[0059] Step S503: Obtain aging compensation data.
[0060] Step S504: Determine multiple aging compensation data blocks in the aging compensation data.
[0061] In steps S503 and S504 above, aging compensation data for aging compensation of the display panel can be obtained, and then multiple aging compensation data blocks in the aging compensation data can be determined. As in the example above, data blocks 1 to 8 in the aging compensation data can be determined. In some embodiments, different aging compensation data blocks can correspond to different display sub-regions of the display panel, and are used for aging compensation of the corresponding display sub-regions.
[0062] Step S505: Based on the usage information of each physical block, determine multiple initial physical blocks that meet the storage conditions for aging compensation data segmentation.
[0063] In this step, based on the usage information of each physical block, a number of initial physical blocks that meet the storage conditions for aging compensation data blocks can be initially selected from multiple physical blocks. In some embodiments, the storage conditions may include storage space conditions. For example, multiple initial physical blocks that meet the storage space conditions for one aging compensation data block can be initially selected from multiple physical blocks, thereby ensuring that each selected initial physical block can store an aging compensation data block; or, multiple initial physical blocks that meet the storage space conditions for N-1 aging compensation data blocks can be initially selected from multiple physical blocks, where N represents the total number of aging compensation data blocks in the aging compensation data. As in the example above, multiple initial physical blocks that meet the storage space conditions for 7 aging compensation data blocks can be selected, that is, each initial physical block can store 7 or more aging compensation data blocks, thereby ensuring that any initial physical block can store N-1 aging compensation data blocks, so as to facilitate further selection of target physical blocks based on the initial physical blocks and improve the selection flexibility.
[0064] Step S506: Store multiple aging compensation data blocks into at least two target physical blocks among multiple initially selected physical blocks.
[0065] In this step, at least two preliminary physical blocks can be selected as target physical blocks from multiple preliminary physical blocks, and multiple aging compensation data blocks are stored in these at least two target physical blocks. The selection method for the target physical blocks is not specifically limited in this embodiment. Each target physical block stores at least one of the multiple aging compensation data blocks, and different target physical blocks store different aging compensation data blocks. Therefore, multiple aging compensation data blocks can be distributed and stored in at least two target physical blocks.
[0066] As an example, such as Figure 6As shown, the aging compensation data can include eight aging compensation data blocks. Multiple initially selected physical blocks (physical blocks 1 to 4) can be identified as target physical blocks. The eight aging compensation data blocks can then be distributed and stored across physical blocks 1 to 4. Specifically, physical block 1 can store data blocks 1 and 2, physical block 2 can store data blocks 3 and 4, physical block 3 can store data blocks 5 and 6, and physical block 4 can store data blocks 7 and 8. Therefore, when updating the aging compensation data, each physical block in physical blocks 1 to 4 is powered on twice. Compared to related technologies that power on a single physical block eight times, this reduces the number of power-on cycles, decreases the number of times defect points are subjected to erase / write impacts, and reduces the risk of data corruption.
[0067] The aging compensation data storage and processing method of this embodiment obtains the physical block division information of the flash memory in the display module, determines multiple physical blocks in the flash memory and the usage information of each physical block based on the physical block division information, obtains aging compensation data and determines multiple aging compensation data blocks within the aging compensation data, determines multiple initially selected physical blocks that meet the storage conditions of the aging compensation data blocks based on the usage information of each physical block, and stores the multiple aging compensation data blocks into at least two target physical blocks among the multiple initially selected physical blocks. Each target physical block stores at least one of the multiple aging compensation data blocks, and different target physical blocks store different aging compensation data blocks. Therefore, multiple aging compensation data blocks can be stored using at least two target physical blocks among the multiple physical blocks of the flash memory, allowing the multiple aging compensation data blocks to be distributed across at least two target physical blocks for storage. This avoids frequent power-on of the same physical block when updating the aging compensation data on the flash memory, reducing the risk of data errors in the physical block storage of the flash memory.
[0068] In an exemplary embodiment, step S505, which determines multiple initially selected physical blocks that meet the storage conditions for aging compensation data block partitioning based on the usage information of each physical block, may include:
[0069] Based on the usage information of each physical block, the available storage space and historical erase / write count of each physical block are obtained; based on the available storage space and historical erase / write count, multiple initial physical blocks that meet the storage conditions for aging compensation data partitioning are determined.
[0070] In this embodiment, the usage information of a physical block may include the available storage space and historical erase / write count of the physical block. Thus, the available storage space and historical erase / write count of each physical block can be obtained based on the usage information of each physical block. Then, based on the available storage space and historical erase / write count, multiple initial physical blocks that meet the storage conditions for aging compensation data blocks can be determined from among multiple physical blocks. In some embodiments, the storage conditions may include storage space conditions and erase / write count conditions. First, based on the available storage space of each physical block, multiple candidate physical blocks that meet the storage space conditions can be selected. For example, physical blocks that meet the storage space conditions for N-1 aging compensation data blocks can be selected as candidate physical blocks. Then, based on the historical erase / write count of each candidate physical block, initial physical blocks that meet the erase / write count conditions can be selected. For example, candidate physical blocks whose historical erase / write count is less than or equal to a certain threshold can be selected as initial physical blocks. Therefore, the solution in this embodiment can combine the available storage space and historical write / erase count of each physical block to select multiple initial physical blocks that meet the storage conditions for aging compensation data block partitioning, so as to subsequently determine the target physical block for storing aging compensation data and improve the reliability of storing aging compensation data.
[0071] In an exemplary embodiment, step S506, storing multiple aging compensation data blocks into at least two target physical blocks among multiple initially selected physical blocks, may include:
[0072] If the first number of multiple initial physical blocks is less than or equal to the second number of multiple aging compensation data blocks, then the multiple initial physical blocks are determined as at least two target physical blocks, and the multiple aging compensation data blocks are evenly distributed into the at least two target physical blocks for storage; if the first number of multiple initial physical blocks is greater than the second number of multiple aging compensation data blocks, then based on the historical erase / write count of each initial physical block, the second number of initial physical blocks are determined from the multiple initial physical blocks as at least two target physical blocks, and the multiple aging compensation data blocks are evenly distributed into the at least two target physical blocks for storage.
[0073] In this embodiment, the number of multiple initial physical blocks (denoted as the first number) and the number of multiple aging compensation data blocks (denoted as the second number) can be determined. Then, the first number and the second number can be compared, and the selection method of the target physical block can be determined based on the comparison result.
[0074] If the first quantity is less than or equal to the second quantity, then all the initially selected physical blocks can be determined as at least two target physical blocks. Multiple aging compensation data blocks are then evenly distributed across these two target physical blocks for storage. This fully utilizes all initially selected physical blocks to distribute and store multiple aging compensation data blocks, improving the reliability of aging compensation data storage. Even distribution can involve first storing one aging compensation data block in each target physical block, and then continuing to store one of the remaining aging compensation data blocks in each target physical block until the storage of all aging compensation data blocks is complete.
[0075] If the first quantity is greater than the second quantity, a portion of the initial physical blocks can be selected as target physical blocks. Specifically, based on the historical write / erase counts of each initial physical block, a second number of initial physical blocks can be determined from the initial physical blocks to serve as at least two target physical blocks. This allows multiple aging compensation data blocks to be evenly distributed across at least two target physical blocks for storage. Furthermore, one aging compensation data block can be stored within each target physical block, improving the reliability of aging compensation data storage.
[0076] In an exemplary embodiment, the process of determining a second number of initial physical blocks as at least two target physical blocks from a plurality of initial physical blocks based on the historical write / erase count of each initial physical block may include:
[0077] From a pool of initial physical blocks, select the second-largest number of initial physical blocks with the lowest historical write / erase counts as at least two target physical blocks.
[0078] In this embodiment, when the first number of multiple initial physical blocks is greater than the second number of multiple aging compensation data blocks, the second largest number of initial physical blocks with the smallest historical write count can be determined from the multiple initial physical blocks as at least two target physical blocks based on the historical write count of each initial physical block. For example, the second largest number of initial physical blocks can be selected as at least two target physical blocks by sorting them in ascending order of historical write count. Therefore, target physical blocks with smaller historical write counts can be used to store aging compensation data as much as possible, improving the reliability of storing aging compensation data.
[0079] In an exemplary embodiment, step S504, determining multiple aging compensation data blocks in the aging compensation data, may include:
[0080] Obtain the correspondence between each display sub-region in the display panel and the aging compensation data block; based on the correspondence, obtain multiple aging compensation data blocks in the aging compensation data.
[0081] In this embodiment, multiple aging compensation data blocks can be obtained from the aging compensation data based on the correspondence between each display sub-region in the display panel and the aging compensation data blocks. The display panel can be divided into multiple display sub-regions, and each display sub-region can correspond to one aging compensation data block. Multiple aging compensation data blocks can be determined in the aging compensation data based on this correspondence. For example, each display sub-region can be represented by a number, and the correspondence between each display sub-region and the aging compensation data block can be the correspondence between each number and the location of each aging compensation data block in the aging compensation data. Thus, each aging compensation data block can be divided from the corresponding position in the aging compensation data.
[0082] In an exemplary embodiment, after storing the multiple aging compensation data blocks into at least two target physical blocks among the multiple initially selected physical blocks in step S506, the above method may further include:
[0083] When updating aging compensation data, obtain each updated aging compensation data block; based on each updated aging compensation data block, erase the aging compensation data block stored in each corresponding target physical block and write it to the updated aging compensation data block.
[0084] In this embodiment, when updating aging compensation data, each updated aging compensation data block can be obtained. Then, based on each updated aging compensation data block, the aging compensation data block stored in each corresponding target physical block is erased and written to the updated aging compensation data block. Combined with... Figure 6 The system can obtain updated data blocks 1 to 8. Then, based on these updated data blocks, for data block 1, the data block 1 stored in physical block 1 can be erased and the updated data block 1 can be written, and so on, until data block 8 is updated. Therefore, compared to related technologies that apply power to the same physical block at high frequencies, this embodiment reduces the number of times the physical block is powered, reduces the number of times defective points are subjected to erase / write impacts, and reduces the risk of data corruption.
[0085] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0086] Based on the same inventive concept, this application also provides an aging compensation data storage and processing apparatus for implementing the aging compensation data storage and processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more aging compensation data storage and processing apparatus embodiments provided below can be found in the limitations of the aging compensation data storage and processing method described above, and will not be repeated here.
[0087] In one exemplary embodiment, such as Figure 7 As shown, an aging compensation data storage and processing apparatus 700 is provided, which may include:
[0088] The information acquisition module 701 is used to acquire the physical block division information of the flash memory in the display module; the flash memory is used to store the aging compensation data of the display panel in the display module.
[0089] The information determination module 702 is used to determine the multiple physical blocks divided in the flash memory and the usage information of each physical block based on the physical block division information;
[0090] The data acquisition module 703 is used to acquire aging compensation data; the aging compensation data is used to perform aging compensation on the display panel.
[0091] Block determination module 704 is used to determine multiple aging compensation data blocks in the aging compensation data;
[0092] The initial selection determination module 705 is used to determine, based on the usage information of each physical block, a plurality of initial physical blocks that meet the storage conditions of the aging compensation data block;
[0093] The data storage module 706 is used to divide and store the plurality of aging compensation data blocks into at least two target physical blocks among the plurality of initially selected physical blocks; wherein each target physical block stores at least one of the plurality of aging compensation data blocks; different target physical blocks store different aging compensation data blocks.
[0094] In an exemplary embodiment, the initial selection determination module 705 is used to obtain the available storage space and historical erase / write count of each physical block based on the usage information of each physical block; and to determine a plurality of initially selected physical blocks that meet the storage conditions of the aging compensation data block based on the available storage space and historical erase / write count.
[0095] In an exemplary embodiment, the data storage module 706 is configured to: if the first number of the plurality of initially selected physical blocks is less than or equal to the second number of the plurality of aging compensation data blocks, determine the plurality of initially selected physical blocks as the at least two target physical blocks and uniformly distribute the plurality of aging compensation data blocks into the at least two target physical blocks for storage; if the first number of the plurality of initially selected physical blocks is greater than the second number of the plurality of aging compensation data blocks, determine the second number of initially selected physical blocks as the at least two target physical blocks based on the historical write / erase count of each initially selected physical block, and uniformly distribute the plurality of aging compensation data blocks into the at least two target physical blocks for storage.
[0096] In an exemplary embodiment, the data storage module 706 is configured to determine, from the plurality of preliminary physical blocks, a second number of the preliminary physical blocks with the smallest number of historical erase / write cycles as the at least two target physical blocks.
[0097] In an exemplary embodiment, the block determination module 704 is used to obtain the correspondence between each display sub-region divided in the display panel and the aging compensation data block; and to obtain multiple aging compensation data blocks in the aging compensation data according to the correspondence.
[0098] In an exemplary embodiment, the device 700 may further include: a data erasure module, configured to, when updating the aging compensation data, acquire each updated aging compensation data block; and, based on each updated aging compensation data block, erase the aging compensation data block stored in each corresponding target physical block and write the updated aging compensation data block.
[0099] Each module in the aforementioned aging compensation data storage and processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the electronic device, or stored in the memory of the electronic device as software, so that the processor can call and execute the corresponding operations of each module.
[0100] In one exemplary embodiment, an electronic device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown, this electronic device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a method for storing and processing aging compensation data. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the electronic device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the electronic device, or external keyboards, touchpads, or mice, etc.
[0101] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0102] In one embodiment, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0103] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0104] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0105] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0106] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0107] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0108] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for storing and processing aging compensation data, characterized in that, The method includes: Obtain the physical block division information of the flash memory in the display module; the flash memory is used to store aging compensation data of the display panel in the display module; Based on the physical block partitioning information, determine the multiple physical blocks divided in the flash memory and the usage information of each physical block; Acquire aging compensation data; the aging compensation data is used to perform aging compensation on the display panel; Determine multiple aging compensation data blocks in the aging compensation data; Based on the usage information of each physical block, determine a plurality of initially selected physical blocks that meet the storage conditions of the aging compensation data block; The plurality of aging compensation data blocks are stored in at least two target physical blocks among the plurality of initially selected physical blocks; wherein each target physical block stores at least one of the plurality of aging compensation data blocks; different target physical blocks store different aging compensation data blocks.
2. The method according to claim 1, characterized in that, The step of determining, based on the usage information of each physical block, a plurality of initially selected physical blocks that meet the storage conditions of the aging compensation data block include: Based on the usage information of each physical block, the available storage space and historical erase / write count of each physical block are obtained; Based on the available storage space and the historical write / erase count, a number of initial physical blocks that meet the storage conditions of the aging compensation data block are determined from among the multiple physical blocks.
3. The method according to claim 1, characterized in that, The step of dividing and storing the multiple aging compensation data into at least two target physical blocks among the multiple initially selected physical blocks includes: If the first number of the plurality of initially selected physical blocks is less than or equal to the second number of the plurality of aging compensation data blocks, then the plurality of initially selected physical blocks are determined as the at least two target physical blocks, and the plurality of aging compensation data blocks are evenly distributed into the at least two target physical blocks for storage. If the first number of the plurality of initial physical blocks is greater than the second number of the plurality of aging compensation data blocks, then based on the historical write / erase count of each initial physical block, the second number of initial physical blocks are determined from the plurality of initial physical blocks as the at least two target physical blocks, and the plurality of aging compensation data blocks are evenly distributed into the at least two target physical blocks for storage.
4. The method according to claim 3, characterized in that, The step of determining a second number of preliminary physical blocks as the at least two target physical blocks from the plurality of preliminary physical blocks based on the historical write / erase count of each preliminary physical block includes: The second number of initial physical blocks with the smallest historical write / erase counts are determined from the plurality of initial physical blocks as the at least two target physical blocks.
5. The method according to claim 1, characterized in that, The determination of multiple aging compensation data blocks in the aging compensation data includes: Obtain the correspondence between each display sub-region in the display panel and the aging compensation data block; Based on the correspondence, multiple aging compensation data blocks are obtained in the aging compensation data.
6. The method according to any one of claims 1 to 5, characterized in that, After storing the plurality of aging compensation data in blocks into at least two target physical blocks among the plurality of initially selected physical blocks, the method further includes: When updating the aging compensation data, each updated aging compensation data block is obtained; For each updated aging compensation data block, the aging compensation data block stored in each corresponding target physical block is erased and written to the updated aging compensation data block.
7. A storage and processing device for aging compensation data, characterized in that, The device includes: An information acquisition module is used to acquire physical block division information of the flash memory in the display module; the flash memory is used to store aging compensation data of the display panel in the display module; The information determination module is used to determine, based on the physical block partitioning information, the multiple physical blocks divided in the flash memory and the usage information of each physical block; A data acquisition module is used to acquire aging compensation data; the aging compensation data is used to perform aging compensation on the display panel. The block determination module is used to determine multiple aging compensation data blocks in the aging compensation data; The initial selection module is used to determine, based on the usage information of each physical block, a plurality of initial physical blocks that meet the storage conditions of the aging compensation data block; The data storage module is used to divide and store the plurality of aging compensation data blocks into at least two target physical blocks among the plurality of initially selected physical blocks; wherein each target physical block stores at least one of the plurality of aging compensation data blocks; different target physical blocks store different aging compensation data blocks.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
