Programming device and method of memory, memory and display equipment
By selecting some programming identifiers and parameters based on memory feature information for programming, the limitations and low efficiency of the memory programming process are solved, and flexible programming of the memory is realized, efficient storage savings and cost reductions.
Patent Information
- Application Number
- CN202411123504.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-13
AI Technical Summary
The prior art has problems in memory programming that the programming process is relatively limited, low efficiency and excessive storage location, resulting in increased memory size and increased cost.
By selecting some programming identifiers and parameters in the programming group for programming based on the memory feature information, and generating corresponding programming instructions, flexible programming of the memory is realized, avoiding writing unnecessary parameters and saving storage location.
It improves programming efficiency, saves memory storage location, reduces costs, and improves memory applicability and read efficiency to meet the actual needs of users.
Smart Images

Figure CN119132367A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a memory programming apparatus, method, memory, and display device. Background Art
[0002] In the field of computer technology, DDIC (Display Driver Integrated Circuit) needs to control the display panel to display images based on the information stored in the memory. Therefore, how to program the memory so that information is stored in the memory has become a problem worthy of attention. Summary of the invention
[0003] The embodiments of the present application provide a memory programming device, method, memory and display device, which can be used to implement flexible programming of the memory. The technical solution provided by the embodiments of the present application includes at least the following aspects.
[0004] In a first aspect, a memory programming device is provided, the device comprising:
[0005] an acquisition module, configured to acquire a first programming identifier from all programming identifiers included in a programming group according to first characteristic information of the memory, and acquire a first parameter corresponding to the first programming identifier from all parameters included in the programming group, wherein the first programming identifier indicates a first storage location in the memory, the first programming identifier is a part of the programming identifiers in all the programming identifiers, and the first parameter is a part of the parameters in all the parameters;
[0006] A generating module, configured to generate a first programming instruction, wherein the first programming instruction carries the first programming identifier and the first parameter;
[0007] A programming module is used to program the memory according to the first programming instruction, so that the memory stores the first programming identifier and the first parameter in the first storage location.
[0008] In an exemplary embodiment, the acquisition module is also used to acquire a second storage location in the memory other than the first storage location, the second storage location being an unoccupied location in the memory; according to second characteristic information of the memory, a second programming identifier and a second parameter corresponding to the second programming identifier are acquired, the second programming identifier indicating the second storage location; the generation module is also used to generate a second programming instruction, the second programming instruction carries the second programming identifier and the second parameter; the programming module is also used to program the memory according to the second programming instruction, so that the memory stores the second programming identifier and the second parameter in the second storage location.
[0009] In an exemplary embodiment, the second programming identifier is a part of the programming identifiers included in the programming group; or, the second programming identifier is other programming identifiers except for all the programming identifiers included in the programming group.
[0010] In an exemplary embodiment, the second storage location and the first storage location are consecutive storage locations in the memory.
[0011] In an exemplary embodiment, the first programming identifier includes an address index, the first storage location is the address indicated by the address index, the first programming instruction also carries a starting parameter and a reference length, the starting parameter is the first parameter in the first parameters, and the reference length is determined based on the length of the first parameter; or, the first programming identifier includes a line identifier and a storage block identifier, the first storage location is the storage block indicated by the storage block identifier, the storage block is located in a line memory included in the memory, and the line identifier indicates the line memory.
[0012] In a second aspect, a method for programming a memory is provided, the method comprising: obtaining a first programming identifier from all programming identifiers included in a programming group according to first characteristic information of the memory, and obtaining a first parameter corresponding to the first programming identifier from all parameters included in the programming group, the first programming identifier indicating a first storage location in the memory, the first programming identifier being part of the all programming identifiers, and the first parameter being part of the all parameters; generating a first programming instruction, the first programming instruction carrying the first programming identifier and the first parameter; and programming the memory according to the first programming instruction so that the memory stores the first programming identifier and the first parameter in the first storage location.
[0013] In an exemplary embodiment, the method also includes: obtaining a second storage location in the memory other than the first storage location, the second storage location being an unoccupied location in the memory; obtaining a second programming identifier and a second parameter corresponding to the second programming identifier based on second characteristic information of the memory, the second programming identifier indicating the second storage location; generating a second programming instruction, the second programming instruction carrying the second programming identifier and the second parameter; and programming the memory according to the second programming instruction so that the memory stores the second programming identifier and the second parameter in the second storage location.
[0014] In an exemplary embodiment, the second programming identifier is a part of the programming identifiers included in the programming group; or, the second programming identifier is other programming identifiers except for all the programming identifiers included in the programming group.
[0015] In an exemplary embodiment, the second storage location and the first storage location are consecutive storage locations in the memory.
[0016] In an exemplary embodiment, the first programming identifier includes an address index, the first storage location is the address indicated by the address index, the first programming instruction also carries a starting parameter and a reference length, the starting parameter is the first parameter in the first parameters, and the reference length is determined based on the length of the first parameter; or, the first programming identifier includes a line identifier and a storage block identifier, the first storage location is the storage block indicated by the storage block identifier, the storage block is located in a line memory included in the memory, and the line identifier indicates the line memory.
[0017] In a third aspect, a memory is provided, which can be programmed by the memory programming method provided by the second aspect or any exemplary embodiment of the second aspect. A first storage location in the memory stores a first programming identifier obtained by programming and a first parameter corresponding to the first programming identifier, and the programming is performed according to a first programming instruction, and the first programming instruction carries the first programming identifier and the first parameter; wherein the first programming identifier is obtained from all programming identifiers included in a programming group according to first characteristic information of the memory, the first parameter is obtained from all parameters included in the programming group according to the first characteristic information, the first programming identifier indicates the first storage location, the first programming identifier is part of the programming identifiers in the total programming identifiers, and the first parameter is part of the total parameters.
[0018] In an exemplary embodiment, a second storage location in the memory stores a second programming identifier obtained by programming and a second parameter corresponding to the second programming identifier, and the programming is performed according to a second programming instruction, and the second programming instruction carries the second programming identifier and the second parameter; wherein the second programming identifier and the second parameter are obtained according to second characteristic information of the memory, the second programming identifier indicates the second storage location, the second storage location is a location in the memory other than the first storage location, and the second storage location is an unoccupied location in the memory.
[0019] In an exemplary embodiment, the second programming identifier is a part of the programming identifiers included in the programming group; or, the second programming identifier is other programming identifiers except for all the programming identifiers included in the programming group.
[0020] In an exemplary embodiment, the second storage location and the first storage location are consecutive storage locations in the memory.
[0021] In an exemplary embodiment, the first programming identifier includes an address index, the first storage location is the address indicated by the address index, the first programming instruction also carries a starting parameter and a reference length, the starting parameter is the first parameter in the first parameters, and the reference length is determined based on the length of the first parameter; or, the first programming identifier includes a line identifier and a storage block identifier, the first storage location is the storage block indicated by the storage block identifier, the storage block is located in a line memory included in the memory, and the line identifier indicates the line memory.
[0022] In a fourth aspect, a display device is provided, the display device comprising an AP (Application Processor), a DDIC, a display panel and a memory, wherein the memory is the memory provided by the third aspect or any exemplary embodiment of the third aspect. The AP is used to send an image to the DDIC; the DDIC is used to receive the image, read the programming identifier and parameters stored in the memory, and control the display panel to display the image according to the programming identifier and the parameters.
[0023] In a fifth aspect, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements the memory programming method provided in the second aspect or any exemplary embodiment of the second aspect.
[0024] In the sixth aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to enable a computer to implement the memory programming method provided by the second aspect or any exemplary embodiment of the second aspect.
[0025] In the seventh aspect, a computer program product is provided, wherein at least one computer instruction is stored in the computer program product, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement the memory programming method provided in the second aspect or any exemplary embodiment of the second aspect.
[0026] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0027] According to the first characteristic information, some programming identifiers among all programming identifiers included in the programming group are selected as the first programming identifier, and some parameters among all parameters included in the programming group are selected as the first parameter. Then, the programming process can be implemented based on the first programming identifier and the first parameter, thereby avoiding writing parameters that will not be used in actual needs into the memory. As a result, not only the programming process is made more flexible and the programming efficiency of the memory is improved, but also the storage space in the memory is saved, the size of the memory is avoided, and the cost is reduced. Moreover, it is also beneficial to improve the subsequent reading efficiency of the memory, so that the memory has a strong applicability and is more conducive to meeting the actual needs of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0030] Figure 2 is a flowchart of a memory programming method provided in an embodiment of the present application;
[0031] Figure 3 is a schematic diagram of a programming process in a related technology provided by an embodiment of the present application;
[0032] Figure 4 is a schematic diagram of a programming process of a memory provided by an embodiment of the present application;
[0033] Figure 5is a structural diagram of a first programming instruction provided in an embodiment of the present application;
[0034] Figure 6 is a schematic diagram of the structure of another first programming instruction provided in an embodiment of the present application;
[0035] Figure 7 is a schematic diagram of a programming process in another related technology provided by an embodiment of the present application;
[0036] Figure 8 is a schematic diagram of a programming process of another memory provided in an embodiment of the present application;
[0037] Fig. 9 It is a structural schematic diagram of a memory programming device provided in an embodiment of the present application;
[0038] Fig.10 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0040] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: AP 11, DDIC 12, display panel 13 and memory 14. AP 11 is connected to DDIC 12, DDIC 12 is connected to display panel 13, and DDIC 12 is also connected to memory 14. Optionally, AP 11 and DDIC 12 are connected via an I / F (Interface).
[0041] Among them, AP 11 is used to send an image to be displayed to DDIC 12, and DDIC 12 is used to read the information stored in memory 14 (such as programming identifiers and parameters, see the description of the method embodiment below for details) after receiving the image, and control the display panel 13 based on the read information, so that the display panel 13 can display the image received by DDIC 12. Exemplarily, the information stored in the memory 14 is used to set DDIC 12 so that DDIC 12 is compatible with AP 11 and the display panel 13. Exemplarily, the settings for DDIC 12 include but are not limited to at least one of the following: the frequency of DDIC 12, the IP (Image Processing) mode of DDIC 12, the power of DDIC 12, the specifications required by AP 11 or the specifications required by the display panel 13, etc.
[0042] Optionally, the information stored in the memory 14 is obtained by executing a PGM (Program) process on the memory 14. Executing a programming process on the memory 14 is a process of writing information to the memory 14, or a process of burning information into the memory 14. Optionally, the memory 14 includes but is not limited to an OTP (One Time Programmable) memory, etc. The OTP memory is a non-volatile memory. Each storage location in the OTP memory can only accept one-time programming, that is, it can only accept the writing / burning of information once. After the information is written / burned, it is often not changeable. Of course, the embodiment of the present application does not limit the type of the memory 14. The type of the memory 14 may also be other memories other than the OTP memory. The type of the memory 14 can be determined according to actual needs.
[0043] Those skilled in the art should understand that the above implementation environment is only for illustration, and other existing or future implementation environments, if applicable to the present application, should also be included in the scope of protection of the present application and are hereby incorporated by reference. For example, the implementation environment may also include other existing or future components.
[0044] The present application embodiment provides a memory programming method, which can be applied to the above Figure 1 The memory is programmed in the implementation environment shown. Figure 2 As shown, the method includes the following steps 201 to 203.
[0045] Step 201, based on the first characteristic information of the memory, obtain the first programming identifier from all the programming identifiers included in the programming group, and obtain the first parameter corresponding to the first programming identifier from all the parameters included in the programming group, the first programming identifier indicates a first storage location in the memory, the first programming identifier is a part of the programming identifiers in all the programming identifiers, and the first parameter is a part of the parameters in all the parameters.
[0046] Among them, the programming group is defined by SPEC (specification), and the programming group includes a fixed number of programming identifiers and a fixed number of parameters. In an embodiment of the present application, the first programming identifier is a part of the programming identifiers included in the programming group, and the first parameter corresponding to the first programming identifier is a part of the parameters included in the programming group. In other words, the number of first programming identifiers is recorded as the first number, and the number of all programming identifiers included in the programming group is recorded as the second number, then the second number is greater than the first number. Correspondingly, the amount of data of all parameters included in the programming group is also greater than the amount of data of the first parameter corresponding to the first programming identifier.
[0047] In the related art, the memory can only be programmed in programming groups. Among them, for all programming identifiers and all parameters included in the programming group, regardless of whether all programming identifiers and all parameters are needed, all programming identifiers and all parameters need to be written into the memory at one time and continuously. As a result, not only the programming process is relatively limited and the programming efficiency is low, but also more storage locations in the memory are occupied, especially the parameters that do not need to be programmed among all the parameters waste the storage locations in the memory, which leads to the need to increase the size (size, or capacity) of the memory, thereby increasing the cost.
[0048] In the embodiment of the present application, according to the first characteristic information of the memory, some programming identifiers among all programming identifiers included in the programming group can be selected as the first programming identifier, and some parameters among all parameters included in the programming group can be selected as the first parameter. Then, the programming process can be implemented based on the first programming identifier and the first parameter, and the storage position in the memory will not be wasted due to parameters that do not need to be programmed. Therefore, not only the programming process is more flexible and the programming efficiency is higher, but also the storage position in the memory is saved, the size of the memory is avoided to increase, and the cost is reduced.
[0049] The first characteristic information can be flexibly determined to meet actual needs. For example, the type of the first characteristic information of the memory includes but is not limited to at least one of the following: first relevant information of the DDIC used in conjunction with the memory, second relevant information of the AP used in conjunction with the memory, or third relevant information of the display panel used in conjunction with the memory.
[0050] The first relevant information includes, but is not limited to, the specifications of the DDIC or the functions required to be provided by the DDIC, etc. In the case where the first characteristic information includes the first relevant information, after determining the first programming identifier and the first parameter according to the first relevant information, the DDIC can provide the required functions based on the first programming identifier and the first parameter, thereby meeting the actual functional requirements.
[0051] The second relevant information includes, but is not limited to, specifications of the AP, etc. The first programming identifier and the first parameter determined based on the second relevant information can make the DDIC and the AP have a high degree of adaptability. The third relevant information includes, but is not limited to, specifications of the display panel, etc. In the case where the first characteristic information includes the third relevant information, the first programming identifier and the first parameter determined based on the third relevant information can make the DDIC and the display panel have a high degree of adaptability. Optionally, the DDIC and the AP (or display panel) have a high degree of adaptability, which means that for an image sent by the AP, when the DDIC controls the display panel to display the image based on the first programming identifier and the first parameter, the image can be guaranteed to have a better display effect.
[0052] Exemplarily, the first programming identifier may refer to some programming identifiers among all programming identifiers included in a programming group, and the first parameter may refer to some parameters among all parameters included in a programming group. Alternatively, the first programming identifier may also refer to some programming identifiers among all programming identifiers included in multiple programming groups, and the first parameter may refer to some parameters among all parameters included in multiple programming groups. Alternatively, the first programming identifier may also refer to some programming identifiers among all programming identifiers included in one (or more) programming groups and all programming identifiers included in another (or more) programming groups, and the first parameter may refer to some parameters among all parameters included in one (or more) programming groups and all parameters included in another (or more) programming groups. In an embodiment of the present application. The first programming identifier can be selected according to actual needs, and the first parameter corresponding to the first programming identifier can also be selected according to actual needs.
[0053] Optionally, in the process of acquiring the first programming identifier and the first parameter corresponding to the first programming identifier, the embodiment of the present application can determine the first parameter to be written into the memory according to the first characteristic information, determine the number of corresponding first programming identifiers (i.e., the first number mentioned above) according to the data volume of the first parameter, so that the first storage location indicated by the first programming identifier can accommodate the first parameter, and determine the first number of programming identifiers as the first programming identifier from all the programming identifiers included in the programming group to which the first parameter belongs, thereby achieving the acquisition of the first programming identifier and the first parameter corresponding to the first programming identifier. Among them, if all the parameters included in a programming group include the first parameter, then the programming group is the programming group to which the first parameter belongs.
[0054] In an exemplary embodiment, programming groups include, but are not limited to, the following.
[0055] The DDIC_INIT (initial condition information) group includes parameters for initializing the DDIC.
[0056] For example, the frequency, IP mode, power, specifications required by the AP, specifications required by the display panel, voltage or wafer information, etc. are initialized and set, so that the DDIC is in an initial state. The initialization settings here are only examples.
[0057] The DDIC update status information group includes parameters for updating settings of the DDIC, such as adjusting the above-mentioned initial status, and for example, supplementing settings of the DDIC to make the functions provided by the DDIC more complete and more compatible with the AP and the display panel.
[0058] Exemplarily, the DDIC update status information group includes but is not limited to at least one of the following.
[0059] The POWER group includes parameters for setting the power supply related to the DDIC.
[0060] The SOURCE group includes parameters used to set DDIC-related resources.
[0061] The GAMMA group includes parameters for setting display-related processes such as brightness / contrast compensation that need to be performed during the use of DDIC.
[0062] The CUSTOMER group includes parameters for user-defined settings of DDIC.
[0063] Based on the programming group illustrated above, combined with Figure 3 and Figure 4 , the related art and the embodiments of the present application are compared and explained. In the process of comparing and explaining, the following situation is taken as an example: the DDIC_INIT group includes all programming identifiers A0, A1 and A2 and the data volume of all parameters is 500EA, EA represents byte, the POWER group includes all programming identifiers B0, B1 and B2 and the data volume of all parameters is 1000EA, the SOURCE group includes all programming identifiers C0, C1 and C2 and the data volume of all parameters is 3000EA, the GAMMA group includes all programming identifiers D0, D1 and D2 and the data volume of all parameters is 3000EA, the CUSTOMER group includes all programming identifiers E0, E1 and E2 and the data volume of all parameters is 1000EA.
[0064] In the related art, memory can only be programmed in programming groups. Figure 3 , for the DDIC_INIT group, all the parameters corresponding to A0, A1 and A2 are written at one time, occupying 500EA in the memory. For the POWER group, all the parameters corresponding to B0, B1 and B2 are written at one time, occupying 1000EA in the memory. For the SOURCE group, all the parameters corresponding to C0, C1 and C2 are written at one time, occupying 3000EA in the memory. For the GAMMA group, all the parameters corresponding to D0, D1 and D2 are written at one time, occupying 3000EA in the memory. For the CUSTOMER group, all the parameters corresponding to E0, E1 and E2 are written at one time, occupying 1000EA in the memory.
[0065] In the embodiment of the present application, some programming identifiers of all programming identifiers included in the programming group can be selected as the first programming identifier according to actual needs, which is more flexible. Figure 4 , for the POWER group, B2 is omitted according to actual needs, and B0 and B1 are used as the first programming identifier. The first parameter corresponding to B0 and B1 is written at one time. The first parameter occupies 800EA in the memory, saving 200EA of storage space. For the SOURCE group, C1 is omitted according to actual needs, and C0 and C2 are used as the first programming identifier. The first parameter corresponding to C0 and C2 is written at one time. The first parameter occupies 2000EA in the memory, saving 1000EA of storage space. In addition, for the GAMMA group, D0 is omitted according to actual needs, and D1 and D2 are used as the first programming identifier. The first parameter corresponding to D1 and D2 is written at one time. The first parameter occupies 2000EA in the memory, saving 1000EA of storage space. For the CUSTOMER group, E1 and E2 are omitted according to actual needs, and E0 is used as the first programming identifier. The first parameter corresponding to E0 is written at one time. The first parameter occupies 500EA in the memory, saving 500EA of storage space.
[0066] For example, the embodiment of the present application can determine that the power supply related to the DDIC needs to be set based on the first characteristic information, and thus the programming group to which the first parameter belongs is the POWER group. The number of corresponding first programming identifiers (i.e., the first number mentioned above) is determined based on the data volume of the first parameter, so that the first storage location indicated by the first programming identifier can accommodate the first parameter, and the first number of first programming identifiers is determined from all the programming identifiers included in the POWER group, thereby achieving the acquisition of the first programming identifier and the first parameter. Among them, the embodiment of the present application does not limit the value of the first parameter and the value of the first programming identifier, and these values can be set according to experience or actual needs.
[0067] As mentioned above, the first programming identifier indicates a first storage location in the memory. In an exemplary embodiment, the first programming identifier includes but is not limited to the following two.
[0068] The first type of first programming identifier includes an address index (index), and the first storage location is an address indicated by the address index.
[0069] The memory includes multiple addresses, and the multiple addresses correspond to multiple indexes one by one. Each index is used to uniquely identify the corresponding address, so the address indicated by the index can be used as the first storage location. Optionally, the index includes but is not limited to: Figure 3 and Figure 4A0, A1 and A2 shown (not described one by one here), as well as B4h, B5h, BBh, BDh, DDh, E6h or EDh mentioned below.
[0070] The second first programming identifier includes a line identifier and a storage block identifier, and the first storage location is a storage block (band) indicated by the storage block identifier. The storage block is located in a line memory (line memory) included in the memory, and the line identifier indicates the line memory.
[0071] The memory includes a plurality of line memories, which may also be referred to as SRAM (Static Random-Access Memory), each SRAM includes a plurality of bands, and each band includes at least one of the above-mentioned addresses. The line identifier can indicate at least one SRAM among the plurality of SRAMs included in the memory, and the storage block identifier can indicate at least one band in the at least one SRAM, thereby using at least one band as the first storage location. The line identifier and the storage block identifier may be referred to as SRAM&band or sub information (sub_info).
[0072] Step 202: Generate a first programming instruction, where the first programming instruction carries a first programming identifier and a first parameter.
[0073] After obtaining the first programming identifier and the first parameter, a first programming instruction can be generated according to the first programming identifier and the first parameter, so that the first programming instruction carries the first programming identifier and the first parameter. In an exemplary embodiment, the first programming instruction may carry other information in addition to the first programming identifier and the first parameter. Optionally, the embodiment of the present application provides the following two first programming instructions.
[0074] The first type of first programming instruction corresponds to the first type of first programming identifier (the first programming identifier includes index) in step 201 above. Among them, the first programming instruction also carries a start parameter (start parameter, start_para) and a reference length (length), the start parameter is the first parameter in the first parameter, and the reference length is determined based on the length of the first parameter. Optionally, the reference length represents the amount of data of the first parameter. When the number of first parameters is one, the reference length is equal to the length of the first parameter. When the number of first parameters is multiple, the reference length is equal to the sum of the lengths of multiple first parameters. Through the start parameter and the reference length, all the first parameters corresponding to the first programming identifier can be located in the first programming instruction, which is convenient for the subsequent programming of the memory according to the first programming instruction.
[0075] like Figure 5 As shown, in the first type of first programming instruction, it includes: a first programming identifier index, a starting parameter start_para, a reference length length and a first parameter (ie Figure 5 data(data)0…) shown. Figure 5 The format of the first programming instruction is a format in register mode, and the first programming instruction can be recorded as reg_wen. Exemplarily, the first programming instruction can also include CS (checksum), which is used to check the first programming identifier index to ensure the accuracy of the first programming identifier index. Figure 5 CS[15:8] in CS represents the 8th to 15th bits in CS, and CS[7:0] represents the 0th to 7th bits in CS. Figure 5 The format shown can implement the memory programming process based on index.
[0076] The second type of first programming instruction corresponds to the second type of first programming identifier in the above step 201 (the first programming identifier includes a line identifier and a storage block identifier, ie, sub-information sub_info).
[0077] In an exemplary embodiment, if Figure 6 As shown, in the second first programming instruction, it includes: a reference identifier 0x0C (representing that the index is invalid, or that the index does not exist), a first programming identifier sub_info and a first parameter (ie Figure 6 data 0…). Among them, Figure 6 The format of the second first programming instruction shown is a format under the GAMMA mode. The second first programming instruction can be recorded as GAMMA_wen.
[0078] Exemplarily, the first programming instruction may also include dummy padding, and the sum of the lengths of the first programming identifier sub_info and the dummy is equal to the sum of the lengths of the starting parameter start_para and the reference length in the above description, so as to ensure the uniformity of the format of the first programming instruction in different modes (i.e., Register mode and GAMMA mode). Optionally, the first programming instruction may also include GCS (GAMMA checksum), which can be used to verify the first programming identifier sub_info to ensure the accuracy of the first programming identifier sub_info. Figure 6In the GCS[15:8], bits 8 to 15 are represented, and bits 0 to 7 are represented. Figure 6 The format shown can implement the memory programming process based on sub_info.
[0079] In the embodiment of the present application, whether it is the first type of first programming instruction or the second type of first programming instruction, the length of each field is at least one byte, and each byte includes 8 bits. Figure 5 In the , index, start_para, length, data 0, ..., CS[15:8] and CS[7:0] are different fields. Figure 6 0x0C, sub_info, dummy, data 0, ..., GCS[15:8] and GCS[7:0] are different fields. The embodiment of the present application does not limit the length of each field, and the lengths of different fields can be the same or different. For example, the length of each field can be 8 bits, 32 bits, etc., which can be set according to experience or actual needs.
[0080] Step 203: Program the memory according to the first programming instruction, so that the memory stores the first programming identifier and the first parameter in the first storage location.
[0081] Among them, after generating the first programming instruction, the first programming instruction can be sent to a programmer (hardware or software, which is not limited in the embodiment of the present application), so that the programmer writes (or burns) the first programming identifier and the first parameter to the first storage location in the memory according to the various fields carried by the first programming instruction, so that the memory stores the first programming identifier and the first parameter in the first storage location. For example, the method (at least including the above-mentioned steps 201 to 203) can be executed by a computer device with a programming function, and the computer device with a programming function is, for example: a computer device with a programming software installed, and the programming software has a programming function. After the computer device generates the first programming instruction through the programming software, it sends the first programming instruction to the programmer to realize programming of the memory.
[0082] Exemplarily, for the first type of first programming instruction, the programming device can calculate according to the first programming identifier index to obtain a first check value. If the first check value is the same as CS, it means that there is no error in the first programming identifier index, and then the first programming identifier and the first parameter are written to the first storage location in the memory. Alternatively, for the second type of first programming instruction, the programming device can calculate according to the first programming identifier sub_info to obtain a second check value. If the second check value is the same as GCS, it means that there is no error in the first programming identifier sub_info, and then the first programming identifier and the first parameter are written to the first storage location in the memory.
[0083] At the first storage location of the memory, the first programming identifier and the first parameter are stored correspondingly to form the corresponding first programming identifier and the first parameter (hereinafter, this corresponding storage format is referred to as the storage format). This is conducive to the adaptation of DDIC to AP and I / F. The reason is that the information exchanged between AP and DDIC through I / F also includes the corresponding programming identifier and parameters (hereinafter referred to as the interaction format). Since the storage format is consistent with the interaction format, it is conducive to the adaptation of DDIC to AP and I / F.
[0084] After the programming of the memory is completed, the memory can be put into use. For example, the DDIC can read the information stored in the memory, and control the display panel 13 based on the read information, so that the display panel 13 can display the image received by the DDIC from the AP. Exemplarily, during the reading process of the DDIC, sequential reading can be performed in the memory, for example, reading in order from small to large in the address in the memory, and obtaining all the information stored in the memory (at least including the first programming identifier and the first parameter stored correspondingly as mentioned above). Since the first programming identifier corresponds to the first parameter, the DDIC can distinguish different first parameters according to the first programming identifier, thereby determining the meaning represented by the first parameter, and then using the read first parameter, for example, using the read first parameter to perform brightness compensation on the image received from the AP to obtain a brightness compensated image, and controlling the display panel to display the brightness compensated image, so that the image has a better display effect.
[0085] In an exemplary embodiment, the method provided in the embodiment of the present application also includes: obtaining a second storage location in the memory other than the first storage location, the second storage location being an unoccupied location in the memory; obtaining a second programming identifier and a second parameter corresponding to the second programming identifier based on second characteristic information of the memory, the second programming identifier indicating the second storage location; generating a second programming instruction, the second programming instruction carrying the second programming identifier and the second parameter; programming the memory according to the second programming instruction so that the memory stores the second programming identifier and the second parameter in the second storage location.
[0086] Among them, in the case where the memory is an OTP memory, it can be known from the above description that each storage location in the OTP memory can only accept one-time programming. Therefore, in addition to the above-mentioned first programming identifier and first parameter, in the case where the second programming identifier and the second parameter need to be written into the OTP memory, it is necessary to obtain the second storage location in the memory other than the first storage location, and the second storage location is an unoccupied location in the memory. It should be understood that the second storage location is different from the first storage location, and accordingly, the second programming identifier indicating the second storage location is also different from the first programming identifier indicating the first storage location. As a result, the unoccupied second storage location in the OTP memory can be fully utilized, avoiding the waste of storage locations and improving the utilization rate of the OTP memory.
[0087] In the embodiment of the present application, the second characteristic information and the first characteristic information may be characteristic information of the same type or of different types. For example, if the type of the second characteristic information includes the first relevant information of the DDIC, and the first characteristic information also includes the first relevant information of the DDIC, then the type of the second characteristic information is the same as the type of the first characteristic information. Alternatively, if the type of the second characteristic information includes the second relevant information of the AP, and the first characteristic information includes the first relevant information of the DDIC, then the type of the second characteristic information is different from the type of the first characteristic information.
[0088] When the second characteristic information and the first characteristic information are characteristic information of the same type, the second characteristic information and the first characteristic information may have the same value or different values. Taking the case where the types of the second characteristic information and the first characteristic information are both the first related information of DDIC as an example, if the type of the second characteristic information is the same as the value of the first characteristic information, it means that the first related information of DDIC has not been updated and is relatively stable. Then, on the basis of the above-mentioned first programming identifier and first parameter, the second programming identifier and the second parameter are additionally written to the memory. The first parameter is combined with the second parameter, which is more accurate, thereby optimizing the functions provided by DDIC based on the first parameter and the second parameter. If the second characteristic information and the first characteristic information have different values, it means that the first related information of DDIC has been updated. Then, on the basis of the above-mentioned first programming identifier and first parameter, the second programming identifier and the second parameter are additionally written to the memory. This can improve the functions provided by DDIC and make the functions provided by DDIC more compatible with the second characteristic information.
[0089] In addition, the second programming identifier can refer to the description of the first programming identifier above, the second parameter can refer to the description of the first parameter above, and the format of the second programming instruction can refer to the description of the format of the first programming instruction above, which will not be repeated here. Among them, the format of the second programming instruction can be different from the format of the first programming instruction. For example, the format of the second programming instruction is Figure 5 The format of the first programming instruction is Figure 6 The format shown.
[0090] In addition, the embodiment of the present application does not limit the timing of obtaining the second programming identifier and the second parameter. For example, before the OTP memory is put into use, the first programming identifier and the first parameter can be obtained according to the first characteristic information, and then the second programming identifier and the second parameter can be obtained according to the second characteristic information, so that the OTP memory is programmed twice respectively. For another example, the first programming identifier and the first parameter are first obtained according to the first characteristic information, and the OTP memory is programmed once, and then the OTP memory is put into use. If the information stored in the OTP memory needs to be adaptively updated due to the update of components such as DDIC, AP or display panel, the second programming identifier and the second parameter are obtained according to the second characteristic information, and the OTP memory is programmed once again. In any case, the OTP memory can be reprogrammed (RE-PGM), which is equivalent to realizing multiple reuse of the OTP memory. Among them, the embodiment of the present application does not limit the number of times the OTP memory is RE-PGMed. As long as there are still unoccupied storage locations in the OTP memory, the OTP memory can be RE-PGMed according to actual needs, which is more flexible and ensures that the OTP memory has a high utilization rate.
[0091] In an exemplary embodiment, the second programming identifier includes but is not limited to the following two situations.
[0092] In the first case, the second programming identifier is a part of the programming identifiers included in the programming group.
[0093] That is to say, the second programming identifier and the first programming identifier are different programming identifiers among all programming identifiers included in the same programming group. In this case, the embodiment of the present application can perform flexible number of programming based on the same programming group without being limited by the number of programming groups defined by SPEC like the related art.
[0094] In the related art, see Figure 3For the DDIC_INIT group, only two writes are allowed. For the POWER group, only two writes are also allowed. For the SOURCE group, only three writes are allowed. For the GAMMA group, only eight writes are allowed. For the CUSTOMER group, only two writes are allowed. The process of writing to a programming group each time can be seen in Figure 7 According to the above description, the related technology requires writing all programming identifiers and all parameters included in the programming group at one time, such as writing Figure 7 Index B4h to index EDh and all corresponding parameters (parameter 00 to parameter 99), Figure 7 The 200 writes shown are just an example. In addition, in the same OTP memory, if the number of programming operations for a programming group has reached the number of writes allowed, the same programming group cannot be programmed further according to SPEC. This method is relatively limited. Only when the product happens to match the definition of SPEC can the rationality of programming be guaranteed, and the scope of application is relatively small.
[0095] In the present application embodiment, see Figure 4 , the embodiment of the present application can perform flexible programming times based on the same programming group. For example, instead of performing eight writes on the GAMMA group, only six writes can be performed on the GAMMA group. For another example, after programming (i.e., writing) has been performed twice on the POWER group, the third programming (i.e., writing) can still be performed on the POWER group. Figure 4 The second programming identifier is B2, and the second parameter corresponding to B2 occupies 100EA. In addition, there are unoccupied storage locations in the OTP memory (that is, Figure 4 The blank portion shown), therefore, the embodiment of the present application can also continue to program at the unoccupied storage location according to actual needs to meet the needs of different product lines.
[0096] In the second case, the second programming identifier is other programming identifiers except for all programming identifiers included in the programming group.
[0097] That is to say, the second programming identifier is not a programming identifier included in any programming group, but a programming identifier not included in the programming group, such as a programming identifier not defined by SPEC and determined according to actual needs. Accordingly, the second parameter corresponding to the second programming identifier may also be a parameter not defined by SPEC and determined according to actual needs, thereby further improving the flexibility of the programming method provided in the embodiment of the present application.
[0098] For example, if the SOURCE group has been programmed twice, the SOURCE group may be programmed for the third time (that is, Figure 4 The second programming identifier is C4, and the second parameter corresponding to C4 occupies 500EA. According to the above description, the SOURCE group defined by SPEC includes all programming identifiers C0, C1 and C2. The second programming identifier C4 here is a programming identifier that is not defined by SPEC and is determined according to actual needs.
[0099] In an exemplary embodiment, the second storage location and the first storage location have the following two positional relationships.
[0100] In the first position relationship, the second storage position and the first storage position are consecutive storage positions in the memory. For example, see Figure 4 After programming is performed on each programming group, the storage locations occupied by the programming identifiers and corresponding parameters written in each programming process are continuous.
[0101] For the first position relationship, when reading the information stored in the memory, DDIC can read sequentially from the first address in the memory until it stops reading an unoccupied storage position, because the second storage position is continuous with the first storage position, and there is no other occupied storage position after the unoccupied storage position, which improves the reading efficiency of DDIC. Of course, the unoccupied storage position can be programmed later to facilitate RE-PGM according to actual needs.
[0102] In the second position relationship, the second storage position and the first storage position are discontinuous storage positions in the memory. In other words, there is a gap between the second storage position and the first storage position. For example, the format of the second programming identifier is Figure 5 As an example, the second positional relationship between the second storage location and the first storage location can be seen in Figure 8 , wherein the interval portion includes the address indicated by index BBh and the address indicated by index DDh.
[0103] Among them, index B4h and the corresponding parameters (for example, Figure 8Parameters 00 to 99 are shown. The embodiment of the present application does not limit the number of parameters. For example, parameters may also refer to parameters 00 to 49). Index B5h and the corresponding parameters are written to the storage location indicated by index B5h through another reg_wen, and then the address indicated by index BBh is skipped. Index BDh and the corresponding parameters are written to the storage location indicated by index BDh through another reg_wen. Then, the address indicated by index DDh is skipped, and index E6h and the corresponding parameters are written to the storage location indicated by index E6h through another reg_wen.
[0104] For the second position relationship, when DDIC reads the information stored in the memory, it can read sequentially from the first address in the memory. If an unoccupied storage position is read, it still needs to continue reading, because the second storage position is discontinuous with the first storage position, and there may be other occupied storage positions after the unoccupied storage position, until the last address of the memory is read and the reading stops. Of course, the unoccupied storage positions can be occupied later to facilitate RE-PGM according to actual needs.
[0105] In summary, the embodiment of the present application can select some programming identifiers from all programming identifiers included in the programming group as the first programming identifier, and select some parameters from all parameters included in the programming group as the first parameter according to the first characteristic information, and then implement the programming process based on the first programming identifier and the first parameter, thereby avoiding writing parameters that will not be used in actual needs into the memory, for example, the parameters that will not be used refer to other programming identifiers except the first programming in all programming identifiers included in the programming group. As a result, not only the programming process is more flexible and the programming efficiency (that is, the writing efficiency) is higher, but also the storage location in the memory is saved, the increase in the size of the memory is avoided, and the cost is reduced. Moreover, it is also beneficial to improve the subsequent DDIC reading efficiency of the memory, so that the memory has a strong applicability, is not limited by the specification, and is more conducive to meeting the actual needs of users.
[0106] In addition, since the write efficiency and read efficiency of the memory are both high, the testing time of the memory can be saved before the memory is put into use (test scenario), and the application time of the memory can be saved after the memory is put into use (application scenario), so that the memory has certain advantages in various scenarios and has strong applicability.
[0107] The above is a description of the memory programming method provided in the embodiment of the present application. Corresponding to the above method, the embodiment of the present application also provides a memory programming device, which can be applied to a computer device. Fig. 9 As shown, the programming device includes the following modules.
[0108] The acquisition module 901 is used to acquire a first programming identifier from all programming identifiers included in a programming group according to first characteristic information of the memory, and acquire a first parameter corresponding to the first programming identifier from all parameters included in the programming group, wherein the first programming identifier indicates a first storage location in the memory, the first programming identifier is a part of all programming identifiers, and the first parameter is a part of all parameters.
[0109] The generating module 902 is used to generate a first programming instruction, where the first programming instruction carries a first programming identifier and a first parameter.
[0110] The programming module 903 is used to program the memory according to the first programming instruction, so that the memory stores the first programming identifier and the first parameter in the first storage location.
[0111] In an exemplary embodiment, the acquisition module 901 is also used to acquire a second storage location in the memory other than the first storage location, where the second storage location is an unoccupied location in the memory; based on the second characteristic information of the memory, a second programming identifier and a second parameter corresponding to the second programming identifier are acquired, where the second programming identifier indicates the second storage location; the generation module 902 is also used to generate a second programming instruction, where the second programming instruction carries the second programming identifier and the second parameter; the programming module 903 is also used to program the memory according to the second programming instruction, so that the memory stores the second programming identifier and the second parameter in the second storage location.
[0112] In an exemplary embodiment, the second programming identifier is a part of the programming identifiers included in the programming group; or, the second programming identifier is other programming identifiers except for all the programming identifiers included in the programming group.
[0113] In an exemplary embodiment, the second storage location and the first storage location are consecutive storage locations in the memory.
[0114] In an exemplary embodiment, the first programming identifier includes an address index, the first storage location is the address indicated by the address index, the first programming instruction also carries a starting parameter and a reference length, the starting parameter is the first parameter in the first parameters, and the reference length is determined based on the length of the first parameter; or, the first programming identifier includes a line identifier and a storage block identifier, the first storage location is the storage block indicated by the storage block identifier, the storage block is located in a line memory included in the memory, and the line identifier indicates the line memory.
[0115] It should be understood that the above Fig. 9When the device shown implements its functions, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process and technical effects are detailed in the method embodiments, which will not be repeated here.
[0116] In an exemplary embodiment, the embodiment of the present application further provides a memory, which is programmed by the method provided by the above method embodiment.
[0117] The first storage location in the memory stores a first programming identifier obtained by programming and a first parameter corresponding to the first programming identifier, and the programming is performed according to a first programming instruction, and the first programming instruction carries the first programming identifier and the first parameter. The first programming identifier is obtained from all programming identifiers included in the programming group according to the first characteristic information of the memory, and the first parameter is obtained from all parameters included in the programming group according to the first characteristic information. The first programming identifier indicates the first storage location, the first programming identifier is part of the programming identifiers in all the programming identifiers, and the first parameter is part of the parameters in all the parameters.
[0118] In an exemplary embodiment, a second storage location in the memory stores a second programming identifier obtained by programming and a second parameter corresponding to the second programming identifier, and the programming is performed according to a second programming instruction, and the second programming instruction carries the second programming identifier and the second parameter; wherein the second programming identifier and the second parameter are obtained according to second characteristic information of the memory, the second programming identifier indicates a second storage location, and the second storage location is a location in the memory other than the first storage location, and the second storage location is an unoccupied location in the memory.
[0119] In an exemplary embodiment, the second programming identifier is a part of the programming identifiers included in the programming group; or, the second programming identifier is other programming identifiers except for all the programming identifiers included in the programming group.
[0120] In an exemplary embodiment, the second storage location and the first storage location are consecutive storage locations in the memory.
[0121] In an exemplary embodiment, the first programming identifier includes an address index, the first storage location is the address indicated by the address index, the first programming instruction also carries a starting parameter and a reference length, the starting parameter is the first parameter in the first parameters, and the reference length is determined based on the length of the first parameter; or, the first programming identifier includes a line identifier and a storage block identifier, the first storage location is the storage block indicated by the storage block identifier, the storage block is located in a line memory included in the memory, and the line identifier indicates the line memory.
[0122] In an exemplary embodiment, the embodiment of the present application further provides a display device, which includes an AP, a DDIC, a display panel and a memory, wherein the memory is the memory described above, for example, the memory is programmed by the method provided in the above method embodiment. The AP is used to send an image to the DDIC. The DDIC is used to receive an image, read a programming identifier and parameters stored in the memory, and control the display panel to display an image according to the programming identifier and parameters.
[0123] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor so that the computer device implements the method provided in the above method embodiment.
[0124] Fig.10 The schematic diagram of the structure of the computer device provided in the embodiment of the present application, the computer device 1000 may have relatively large differences due to different configurations or performances, and may include one or more CPUs (Central Processing Units, processors) 1001 and one or more memories 1002, wherein the one or more memories 1002 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1001 to implement the memory programming method provided by the above-mentioned various method embodiments. Of course, the computer device 1000 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the computer device 1000 may also include other components for implementing device functions, which will not be repeated here.
[0125] In an exemplary embodiment, the embodiment of the present application further provides a computer-readable storage medium, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement any of the above-mentioned memory programming methods.
[0126] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0127] In an exemplary embodiment, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement any of the above-mentioned memory programming methods.
[0128] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the parameters involved in this application are obtained with full authorization.
[0129] The terms "first", "second", etc. in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. The "plurality" mentioned in this article refers to two or more. The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0130] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A memory programming device, characterized in that: The device comprises: an acquisition module, configured to acquire a first programming identifier from all programming identifiers included in a programming group according to first characteristic information of the memory, and acquire a first parameter corresponding to the first programming identifier from all parameters included in the programming group, wherein the first programming identifier indicates a first storage location in the memory, the first programming identifier is a part of the programming identifiers in all the programming identifiers, and the first parameter is a part of the parameters in all the parameters; A generating module, configured to generate a first programming instruction, wherein the first programming instruction carries the first programming identifier and the first parameter; A programming module is used to program the memory according to the first programming instruction, so that the memory stores the first programming identifier and the first parameter in the first storage location.
2. The programming device according to claim 1, characterized in that The acquisition module is further used to acquire a second storage position in the memory other than the first storage position, the second storage position being an unoccupied position in the memory; and acquire a second programming identifier and a second parameter corresponding to the second programming identifier according to second characteristic information of the memory, the second programming identifier indicating the second storage position; The generating module is further used to generate a second programming instruction, where the second programming instruction carries the second programming identifier and the second parameter; The programming module is further used to program the memory according to the second programming instruction, so that the memory stores the second programming identifier and the second parameter in the second storage location.
3. The programming device according to claim 2, characterized in that The second programming identifier is a part of all programming identifiers included in the programming group; Alternatively, the second programming identifier is other programming identifiers except for all programming identifiers included in the programming group.
4. The programming device according to claim 2, characterized in that The second storage location and the first storage location are consecutive storage locations in the memory.
5. The programming device according to any one of claims 1 to 4, characterized in that: The first programming identifier includes an address index, the first storage location is an address indicated by the address index, the first programming instruction further carries a start parameter and a reference length, the start parameter is the first parameter in the first parameters, and the reference length is determined based on the length of the first parameter; Alternatively, the first programming identifier includes a line identifier and a storage block identifier, the first storage location is a storage block indicated by the storage block identifier, the storage block is located in a line memory included in the memory, and the line identifier indicates the line memory.
6. A method for programming a memory, characterized in that: The method comprises: According to the first characteristic information of the memory, a first programming identifier is obtained from all programming identifiers included in a programming group, and a first parameter corresponding to the first programming identifier is obtained from all parameters included in the programming group, wherein the first programming identifier indicates a first storage location in the memory, the first programming identifier is a part of the programming identifiers in the all programming identifiers, and the first parameter is a part of the all parameters; generating a first programming instruction, wherein the first programming instruction carries the first programming identifier and the first parameter; The memory is programmed according to the first programming instruction, so that the memory stores the first programming identifier and the first parameter in the first storage location.
7. The programming method according to claim 6, characterized in that: The method further comprises: Acquire a second storage location in the memory other than the first storage location, where the second storage location is an unoccupied location in the memory; acquiring, according to the second characteristic information of the memory, a second programming identifier and a second parameter corresponding to the second programming identifier, wherein the second programming identifier indicates the second storage location; generating a second programming instruction, wherein the second programming instruction carries the second programming identifier and the second parameter; The memory is programmed according to the second programming instruction so that the memory stores the second programming identifier and the second parameter in the second storage location.
8. The programming method according to claim 7, characterized in that: The second programming identifier is a part of all programming identifiers included in the programming group; Alternatively, the second programming identifier is other programming identifiers except for all programming identifiers included in the programming group.
9. The programming method according to claim 7, characterized in that: The second storage location and the first storage location are consecutive storage locations in the memory.
10. The programming method according to any one of claims 6 to 9, characterized in that: The first programming identifier includes an address index, the first storage location is an address indicated by the address index, the first programming instruction further carries a start parameter and a reference length, the start parameter is the first parameter in the first parameters, and the reference length is determined based on the length of the first parameter; Alternatively, the first programming identifier includes a line identifier and a storage block identifier, the first storage location is a storage block indicated by the storage block identifier, the storage block is located in a line memory included in the memory, and the line identifier indicates the line memory.
11. A memory, characterized in that: The memory is programmed by the memory programming method described in any one of claims 6 to 10; A first storage location in the memory stores a first programming identifier obtained through programming and a first parameter corresponding to the first programming identifier, wherein the programming is performed according to a first programming instruction, and the first programming instruction carries the first programming identifier and the first parameter; Among them, the first programming identifier is obtained from all programming identifiers included in the programming group according to the first characteristic information of the memory, the first parameter is obtained from all parameters included in the programming group according to the first characteristic information, the first programming identifier indicates the first storage location, the first programming identifier is part of the programming identifiers in all the programming identifiers, and the first parameter is part of the parameters in all the parameters.
12. The memory according to claim 11, characterized in that: The second storage location in the memory stores a second programming identifier obtained through programming and a second parameter corresponding to the second programming identifier, wherein the programming is performed according to a second programming instruction, and the second programming instruction carries the second programming identifier and the second parameter; Among them, the second programming identifier and the second parameter are obtained according to the second characteristic information of the memory, the second programming identifier indicates the second storage position, the second storage position is a position in the memory other than the first storage position, and the second storage position is an unoccupied position in the memory.
13. The memory according to claim 12, characterized in that: The second programming identifier is a part of all programming identifiers included in the programming group; Alternatively, the second programming identifier is other programming identifiers except for all programming identifiers included in the programming group.
14. A display device, characterized in that: The display device comprises an application processor AP, a display driver integrated circuit DDIC, a display panel and a memory as claimed in any one of claims 11 to 13; The AP is used to send an image to the DDIC; The DDIC is used to receive the image, read the programming identifier and parameters stored in the memory, and control the display panel to display the image according to the programming identifier and the parameters.
15. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements the memory programming method as described in any one of claims 6-10.
