Driving instruction modification method and receiver applied to display driving integrated circuit

By determining the initialization conditions of the target command in the display driver integrated circuit, the problem of global parameters not being able to be applied normally in asynchronous transmission is solved, and the effect of being able to modify the driver instructions normally even in the presence of interference commands is achieved, thus improving efficiency and accuracy.

CN115328550BActive Publication Date: 2026-03-27BEIJING ESWIN COMPUTING TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-11
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In display driver integrated circuits, asynchronous transmission of image data and driver commands sent from the host to the display driver integrated circuit causes global parameters to be unable to be properly applied to the driver commands to be modified, resulting in interference commands.

Method used

By determining whether the target command received after setting the global parameters meets the initialization conditions, the global parameters are initialized only if the conditions are met; otherwise, the global parameters remain unchanged, ensuring that the global parameters can still be applied normally to the driver instructions to be modified when interfering commands exist.

Benefits of technology

Even if there are interfering commands after global parameter settings, they can still be effectively applied to the driver instructions to be modified, improving the efficiency and accuracy of driver instruction modification and reducing computing power investment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115328550B_ABST
    Figure CN115328550B_ABST
Patent Text Reader

Abstract

The application discloses a driving instruction modification method and a receiver applied to a display driving integrated circuit, relates to the technical field of display integrated circuits, and mainly aims to normally apply a set global parameter to a driving instruction to be modified even if there is an interference command after the global parameter is set. The main technical scheme comprises the following steps: judging whether a target command received after a global parameter is set meets an initialization condition; if yes, initializing the global parameter after modifying a driving instruction corresponding to the target command based on the target command and the global parameter; otherwise, maintaining the global parameter unchanged.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of display integrated circuits, and in particular to a driving instruction modification method and a receiver applied to a display driving integrated circuit. BACKGROUND

[0002] A DDIC (Display Driver Integrated Circuit) is an integrated circuit for driving a display module such as an LCD (liquid crystal display), an LED (light emitting diode), or an OLED (organic light emitting diode). The display driving integrated circuit is used to receive image data and driving instructions sent by an AP (Application Processer) and drive the display module to display and output according to the received image data and driving instructions.

[0003] The driving instructions transmitted by the host to the display driving integrated circuit are important data required for display driving of the display driving integrated circuit, and usually include dozens or hundreds of parameters. In order to make the driving instructions meet the display requirements, the display driving integrated circuit needs to modify the parameter values of some parameters in the driving instructions after receiving the driving instructions. At present, global parameters are usually used to modify the parameter values of the parameters in the driving instructions. Although the global parameters can quickly modify the parameter values of the specified parameters in the driving instructions, the image data and the driving instructions sent by the host to the display driving integrated circuit are transmitted asynchronously through different processes, so after setting the global parameters used for modification for the driving instructions to be modified, an interference command will appear, which causes the phenomenon that the set global parameters cannot be applied to the driving instructions to be modified. SUMMARY

[0004] Therefore, the present application provides a driving instruction modification method and a receiver applied to a display driving integrated circuit, which can normally apply the set global parameters to the driving instructions to be modified even if there is an interference command after setting the global parameters.

[0005] In order to achieve the above purpose, the present application mainly provides the following technical solutions:

[0006] In a first aspect, the present application provides a driving instruction modification method applied to a receiver in a display driving integrated circuit, which includes:

[0007] determining whether a target command received after setting the global parameters meets an initialization condition;

[0008] If yes, initializing the global parameter after modifying the driving instruction corresponding to the target command based on the target command and the global parameter;

[0009] Otherwise, maintaining the global parameter unchanged.

[0010] In some embodiments, determining whether the target command received after the global parameter is set satisfies the initialization condition comprises: after the global parameter is set, determining whether the target command is a command for modifying the driving instruction; if yes, determining that the target command satisfies the initialization condition; if no, determining that the target command does not satisfy the initialization condition.

[0011] In some embodiments, after determining that the target command is a command for modifying the driving instruction, before determining that the target command satisfies the initialization condition, the method comprises: determining whether the instruction corresponding to the target command is included in a preset first instruction; if not, determining that the target command satisfies the initialization condition; if yes, determining that the target command does not satisfy the initialization condition.

[0012] In some embodiments, determining whether the target command received after the global parameter is set satisfies the initialization condition comprises: determining whether the instruction corresponding to the target command is the same driving instruction as the instruction for applying the last set global parameter; if no, determining that the target command does not satisfy the initialization condition; if yes, determining that the target command satisfies the initialization condition.

[0013] In some embodiments, determining whether the target command received after the global parameter is set satisfies the initialization condition comprises: after the global parameter is set, determining whether the instruction corresponding to the target command is included in a preset second instruction; if yes, determining that the target command does not satisfy the initialization condition; if no, determining that the target command satisfies the initialization condition.

[0014] In some embodiments, determining whether the target command received after the global parameter is set satisfies the initialization condition comprises: after the global parameter is set, determining whether the instruction corresponding to the target command is included in a preset third instruction; if not, determining that the target command does not satisfy the initialization condition; if yes, determining whether the instruction corresponding to the target command is the last instruction for applying the global parameter in the preset third instruction; if yes, determining that the target command satisfies the initialization condition; if no, determining that the target command does not satisfy the initialization condition.

[0015] In some embodiments, the method further includes, when the target command is a command for modifying the driving instruction, determining a parameter to be modified in the driving instruction corresponding to the target command based on the latest set global parameter, and modifying a parameter value of the parameter to be modified to a target parameter value carried by the target command.

[0016] In some embodiments, before determining whether the target command received after setting the global parameter satisfies the initialization condition, the method further includes setting the global parameter based on a target parameter carried by the setting command, wherein the target parameter is a parameter of a parameter value to be modified in the driving instruction.

[0017] In some embodiments, initializing the global parameter includes initializing the global parameter as a preset parameter.

[0018] In some embodiments, after modifying the driving instruction corresponding to the target command based on the target command and the global parameter, the method further includes detecting whether all the parameters to be modified in the driving instruction are modified, and if yes, performing transmission processing on the modified driving instruction.

[0019] In some embodiments, the method further includes, when it is detected that there is still a parameter to be modified in the driving instruction which has not been modified, setting a new global parameter after initializing the global parameter, wherein the initialized global parameter and the newly set global parameter are respectively used to determine the parameters to be modified in the same driving instruction, and the parameters to be modified determined by the initialized global parameter and the newly set global parameter are different.

[0020] In a second aspect, the present application provides a receiver applied to a display driving integrated circuit, wherein the receiver applies the driving instruction modification method as described in the first aspect.

[0021] In a third aspect, the present application provides a display driving integrated circuit, wherein the display driving integrated circuit includes the receiver applied to the display driving integrated circuit as described in the second aspect.

[0022] By the technical solution, the driving instruction modification method and the receiver applied to the display driving integrated circuit are provided, and it is judged whether the target command received after the global parameter is set satisfies the initialization condition. If the target command received satisfies the initialization condition, the global parameter is initialized after the driving instruction corresponding to the target command is modified based on the target command and the set global parameter. If the target command received does not satisfy the initialization condition, the global parameter is maintained unchanged. It can be seen that in the scheme provided by the application, only in the case that the target command received after the global parameter is set satisfies the initialization condition, the global parameter is initialized after the driving instruction corresponding to the target command is modified based on the target command and the set global parameter. In the case that the target command received after the global parameter is set does not satisfy the initialization condition, the global parameter is not initialized, but the set global parameter is maintained unchanged. Therefore, even if an interference command appears after the global parameter is set, the set global parameter can be normally applied to the driving instruction to be modified.

[0023] The above description is only a summary of the technical solutions of the application. In order to enable the technical means of the application to be more clearly understood and implemented according to the contents of the description, and in order to enable the above and other purposes, characteristics and advantages of the application to be more apparent, the specific embodiments of the application are described below. BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0025] Figure 1 A schematic diagram of a display driving integrated circuit provided by an embodiment of the application is shown;

[0026] Figure 2 A schematic diagram of a global parameter applied to a driving instruction provided by an embodiment of the application is shown;

[0027] Figure 3 A schematic diagram of a global parameter applied to a driving instruction after the driving instruction modification method provided by an embodiment of the application is applied is shown;

[0028] Figure 4 A flowchart of a driving instruction modification method provided by an embodiment of the application is shown;

[0029] Figure 5Fig. 1 shows a schematic diagram of a global parameter applied to a driving instruction according to another embodiment of the present application;

[0030] Figure 6 Fig. 2 shows a schematic diagram of an interface involved in a receiver according to an embodiment of the present application. DETAILED DESCRIPTION

[0031] Exemplary embodiments of the present disclosure will be described in detail with reference to the drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the present disclosure to those skilled in the art.

[0032] DDIC is an integrated circuit for driving display modules such as LCD, LED, OLED, etc. The display driving integrated circuit is used to receive image data and driving instructions sent by the AP, and drive the display module to display according to the received image data and driving instructions.

[0033] The structure of the display driving integrated circuit will be described in detail below with Figure 1 as an example: Figure 1The display device 1 includes a host 10, a display driving integrated circuit 11, and a display screen 12. The display driving integrated circuit 11 includes a receiver 111, an instruction controller 112, a frame memory write controller 113, a frame memory 114, a frame memory read controller 115, a decoder 116, a data processor 117, a timing controller 118, a shift register 119, and a gate controller 120. The host 10 transmits image data and driving instructions to the receiver 111. The receiver 111 receives the image data and the driving instructions through the MIPI (Mobile Industry Processor Interface). The instruction controller 112 processes the driving instructions received by the receiver 111. Based on the received driving instructions, the instruction controller 112 transmits corresponding driving instructions to each component in the display driving integrated circuit, and each component in the display driving integrated circuit performs the following actions under the received driving instructions: the frame memory write controller 113 writes the image data received by the receiver 111 into the frame memory 114. The frame memory 114 stores the written image data. The frame memory read controller 115 reads the image data corresponding to the row address of the pixel row to be displayed from the frame memory 114 based on the row address, and transmits the read image data to the decoder 116. The decoder 116 decodes the received image data, and transmits the decoded image data to the data processor 117. The data processor 117 compensates and corrects the decoded image data, and transmits the compensated and corrected image data to the timing controller 118. The timing controller 118 transmits the image data to the shift register 119, in addition, the timing controller 118 is also used to provide synchronization signals and clock signals for each component in the display driving integrated circuit, and generates a TE signal, i.e., an interrupt signal, so that the AP can transmit image data synchronously. The shift register 119 sequentially shifts the image data transmitted by the timing controller 118, and under the action of the gate controller 120, the image data output by the shift register 119 is finally transmitted to the display screen 12, so that the display screen 12 displays based on the image data.

[0034] The driving instruction transmitted by the host to the display driving integrated circuit is one of the important data required by the display driving integrated circuit to perform display driving, which usually includes tens or hundreds of parameters. In order to make the driving instruction meet the display requirement, the display driving integrated circuit needs to modify the parameter value of some parameters in the driving instruction after receiving the driving instruction. The modification process of the driving instruction mentioned herein can be completed by the receiver 111 in the display driving integrated circuit. At present, a global parameter is usually used to modify the parameter value of the parameter in the driving instruction. Although the parameter value of the specified parameter in the driving instruction can be quickly modified by using the global parameter, the image data and the driving instruction sent by the host to the display driving integrated circuit are transmitted asynchronously through different processes, so after setting the global parameter used for modification for the driving instruction to be modified, an interference command will appear, which causes the phenomenon that the set global parameter cannot be applied to the driving instruction to be modified.

[0035] As shown in FIG. 1, Figure 2 Figure 2 a schematic diagram for applying the global parameter to the driving instruction. The driving instruction shown in Table-1 is the driving instruction to be modified. It is shown in Table-1 that the instruction name of the driving instruction is B3h, and the driving instruction B3h includes 10 parameters 0-9, and the parameter values corresponding to the 10 parameters 0-9 are all 00h.

[0036] The a area in FIG. 1 will be explained as follows: Figure 2 The 21 in the a area indicates a setting command used for setting the global parameter, the 22 indicates a command for modifying the driving instruction, and the 23 indicates an image update command. The command 22 for modifying the driving instruction is used to determine the driving instruction to be modified and determine the target parameter value used for modifying the driving instruction to be modified. For example, if AAh and B3h are carried in the command 22, it indicates that the driving instruction to be modified is B3h and the target parameter value used for modifying B3h is AAh. After obtaining the setting command 21, the global parameter is set to 4 based on the setting command 21, and the global parameter 4 limits the parameter in the driving instruction whose parameter value needs to be modified is 4. From the a area in FIG. 1, it can be seen that there is no interference of other commands between the setting command 21 and the command 22 for modifying the driving instruction, so the set global parameter 4 can be applied to the driving instruction B3h, and thus the parameter value of the parameter 4 in the driving instruction B3h is modified to AAh. The driving instruction obtained after the modification is shown in Table-2. It can be seen that for the a area, since there is no interference of other commands in the time period after setting the global parameter and before receiving the command for modifying the driving instruction, the set global parameter can be applied to the driving instruction to be modified. Figure 2

[0037] The b area in FIG. 1 will be explained as follows: Figure 2 ​​The b area in the table-1 is described as follows: 21 in the b area indicates a setting command for setting a global parameter, 22 indicates a command for modifying a driving instruction, and 23 indicates an image update command. The command 22 for modifying a driving instruction is used to determine a driving instruction to be modified and determine a target parameter value for modifying the driving instruction to be modified. For example, if the command 22 carries AAh and B3h, it indicates that the driving instruction to be modified is B3h and the target parameter value for modifying B3h is AAh. After the setting command 21 is acquired, the global parameter is set to 8 based on the setting command 21, and the global parameter 8 limits the parameter in the driving instruction that needs to be modified to 8. From Figure 2 It can be seen from the b area in the table-1 that the image update command 23 exists between the setting command 21 and the command 22 for modifying a driving instruction, which causes the global parameter to be initialized from 8 to 0. When the command 22 for modifying a driving instruction is received, the global parameter has been initialized to 0, and thus the global parameter 0 after being initialized is applied to the driving instruction, that is, the parameter 0 in the driving instruction B3h that does not need to be modified is modified, and the parameter 8 that is expected to be modified is not modified. After the global parameter 0 is applied to the driving instruction, the obtained driving instruction is shown in table-3, and in the table-3, the parameter value of the parameter 0 in the driving instruction B3h is modified to AAh. It can be seen that, in the b area, because there is an interference of other commands “image update command 23” in the time period after the global parameter is set and before the command 22 for modifying a driving instruction is received, the global parameter set is not normally applied to the driving instruction to be modified.

[0038] Table-1

[0039]

[0040] Table-2

[0041]

[0042] Table-3

[0043]

[0044] To solve the above-mentioned defects, the embodiments of the present application provide a driving instruction modification method and a receiver applied to a display driving integrated circuit. The driving instruction modification method and the receiver applied to the display driving integrated circuit provided by the embodiments of the present application can normally apply the global parameter set to the driving instruction to be modified even if there is an interference of other commands in the time period after the global parameter is set and before the command for modifying the driving instruction to be modified is received.

[0045] For example, as shown in Figure 3 , the global parameter is set to 8, and the parameter in the driving instruction that needs to be modified is limited to 8. When the image update command 23 is received, the global parameter is initialized to 0. When the command 22 for modifying a driving instruction is received, the global parameter 0 after being initialized is applied to the driving instruction, that is, the parameter 0 in the driving instruction B3h that does not need to be modified is modified, and the parameter 8 that is expected to be modified is not modified. After the global parameter 0 is applied to the driving instruction, the obtained driving instruction is shown in table-3, and in the table-3, the parameter value of the parameter 0 in the driving instruction B3h is modified to AAh. It can be seen that, in the b area, because there is an interference of other commands “image update command 23” in the time period after the global parameter is set and before the command 22 for modifying a driving instruction is received, the global parameter set is not normally applied to the driving instruction to be modified. Figure 3This diagram illustrates the application of global parameters to driver instructions after using the driver instruction modification method provided in this application. The driver instructions to be modified are those shown in Table-1.

[0046] Figure 3 region a in Figure 2 The region 'a' in the original text is basically the same, so it will not be repeated here. The following section discusses... Figure 3 The explanation for region b in the code is as follows: Within region b, 21 represents a setting command for global parameters, 22 represents a command to modify driving instructions, and 23 represents an image update command. Command 22, which modifies driving instructions, is used to determine the driving instruction to be modified and the target parameter value used to modify it. For example, if command 22 carries AAh and B3h, it indicates that the driving instruction to be modified is B3h, and the target parameter value used to modify B3h is AAh. After obtaining setting command 21, the global parameter is set to 8 based on setting command 21. The global parameter of 8 limits the parameter whose value needs to be modified in the driving instruction to 8. From... Figure 3 As can be seen, after setting the global parameter 8, there is interference from the "image update command" during the time period when the command 22 for modifying the driving instruction to be modified is not received. However, due to the application of the driving instruction modification method provided in this application embodiment and the receiver applied to the display driving integrated circuit, even when there is interference from the image update command 23 between the setting command 21 and the command 22 for modifying the driving instruction, the global parameter is not initialized to 0 and remains unchanged at 8. When the command 22 for modifying the driving instruction is received, the set global parameter 8 can be applied to the driving instruction B3h. After the global parameter 8 is applied to the driving instruction B3h, the global parameter is initialized to 0. The driving instructions obtained according to the command 22 for modifying the driving instruction are shown in Table-4. As can be seen from Table-4, due to the application of the driving instruction modification method provided in this application embodiment and the receiver applied to the display driving integrated circuit, even when there is interference from the image update command 23 between the setting command 21 and the command 22 for modifying the driving instruction, the set global parameter 8 is still applied to the driving instruction when the command 22 for modifying the driving instruction is received. As can be seen, the driver instruction modification method and the receiver applied to the display driver integrated circuit provided in this application can still correctly apply the set global parameters to the driver instruction to be modified, even after setting global parameters and during the period when no command for modifying the driver instruction is received, despite interference from other commands. Furthermore, it should be noted that... Figure 2 and Figure 3 The interrupt signal in the example is the TE signal, which is only used to illustrate the order of acquisition of the three commands: setting command 21, modifying driver instruction command 22, and image update command 23.

[0047] Table 4

[0048]

[0049] The driving instruction modification method provided in this application is applied in a display driver integrated circuit, specifically in the receiver of the display driver integrated circuit. Figure 1 The receiver 111 shown below. The method for modifying driving instructions and the receiver applied to a display driver integrated circuit provided in this application embodiment will be described in detail below.

[0050] like Figure 4 As shown, this application provides a method for modifying driver instructions, which is applied to a receiver in a display driver integrated circuit. The method mainly includes the following steps:

[0051] 301. Determine whether the target command received after setting the global parameters meets the initialization conditions; if yes, proceed to step 302; otherwise, proceed to step 303.

[0052] The receiver in the display driver integrated circuit is responsible for modifying the driving instructions. Therefore, the driving instruction modification method provided in this application embodiment is applied to the receiver in the display driver integrated circuit.

[0053] The driver instructions received by the receiver include a large number of parameters. To meet display requirements, the values ​​of some parameters in the driver instructions need to be modified. If global parameter modification of the driver instructions is not used, regardless of the position of the parameter whose value needs modification within the driver instructions, all parameters must be modified sequentially, starting from the first parameter. Only parameters without modification requirements are restored to their original values, while parameters requiring modification are modified to values ​​that meet the modification requirements. This method requires significant computational resources and has low efficiency. This embodiment uses global parameter modification of the driver instructions. By setting global parameters, the parameters in the driver instructions that require modification can be locked, and the locked parameters are directly modified. The entire modification only applies to the parameters that need modification and is unrelated to parameters without modification requirements. Therefore, less computational resources are required, and the modification efficiency is higher.

[0054] Modification of driver instructions needs to be based on global parameters; therefore, global parameters need to be set before step 301. The process of setting global parameters is as follows: global parameters are set based on the target parameters carried by the setting command, where the target parameters are the parameters whose values ​​are to be modified in the driver instructions.

[0055] The target parameter carried in the setting command is a parameter in the to-be-modified driving instruction that needs to have its parameter value modified. When the setting command is obtained, the global parameter is set to the target parameter, and the set global parameter is taken as the latest set global parameter, so as to modify the driving instruction based on the latest set global parameter. The specific type of the setting command is not limited in the embodiment, and for example, the setting command is of type B0 instruction.

[0056] For example, as shown in Figure 2 For the a area, the target parameter carried in the setting command 21 is 4, and the global parameter is set to 4.

[0057] After the global parameter is set, it is necessary to determine whether the target command received after the global parameter is set satisfies the initialization condition. The specific implementation scheme of determining whether the target command received after the global parameter is set satisfies the initialization condition includes the following schemes:

[0058] The first scheme includes the following specific process: after the global parameter is set, each time a target command is received, it is determined whether the target command is a command of modifying driving instruction; if yes, it is determined that the target command satisfies the initialization condition; if no, it is determined that the target command does not satisfy the initialization condition.

[0059] The image data and driving instruction sent by the host to the display driving integrated circuit are transmitted asynchronously through different processes, so in addition to the command of modifying driving instruction, a command such as image update command may also appear after the global parameter is set. The appearance of the image update command and the like will cause the set global parameter to be initialized before it is applied to the to-be-modified driving instruction. Therefore, in order to avoid the global parameter from being initialized before it is applied to the to-be-modified driving instruction, it is necessary to determine whether the target command is a command of modifying driving instruction after the global parameter is set.

[0060] When it is determined that the target command is not a command of modifying driving instruction, it is indicated that the target command is probably an interference command such as image update command, and in order to ensure that the set global parameter can be applied to the to-be-modified driving instruction, the interference of the target command is ignored, and it is determined that the target command does not satisfy the initialization condition.

[0061] When it is determined that the target command is a command of modifying driving instruction, it is indicated that the driving instruction corresponding to the target command can apply the set global parameter, and therefore it is determined that the target command satisfies the initialization condition, so as to initialize the global parameter after the driving instruction corresponding to the target command is modified based on the target command and the set global parameter.

[0062] In order to ensure that all drive instructions that need to use the set global parameter for parameter modification can be applied to the set global parameter, after it is determined that the target command is a command for modifying a drive instruction, before it is determined that the target command meets the initialization condition, the following step can be performed: judging whether the instruction corresponding to the target command is included in the preset first instruction; if not, determining that the target command meets the initialization condition; if yes, determining that the target command does not meet the initialization condition.

[0063] The first instruction is a drive instruction, and the command for modifying the drive instruction corresponding to the first instruction is issued at a target time period. The target time period is a time period after the global parameter is set and before a command for modifying the drive instruction to be modified is received. In addition, it should be noted that whether the first instruction is modified based on the command for modifying the drive instruction and the set global parameter in the case where the command for modifying the drive instruction corresponding to the first command is received in the target time period can be determined based on business requirements, and the present embodiment is not limited in this regard.

[0064] In the case where it is determined that the instruction corresponding to the target command is included in the preset first instruction, it indicates that the target command for the drive instruction to be modified has not been received, and the set global parameter has not been applied to the drive instruction to be modified. Therefore, it is determined that the target command does not meet the initialization condition.

[0065] In the case where it is determined that the instruction corresponding to the target command is not included in the preset first instruction, it indicates that the target command is likely to be the target command for the drive instruction to be modified. Therefore, it is determined that the target command meets the initialization condition, so as to initialize the global parameter after the drive instruction corresponding to the target command is modified based on the target command and the set global parameter.

[0066] The second kind of specific process for judging whether the target command received after the global parameter is set meets the initialization condition includes: after the global parameter is set, each time a target command is received, judging whether the instruction corresponding to the target command is included in the preset second instruction; if yes, determining that the target command does not meet the initialization condition; if not, determining that the target command meets the initialization condition.

[0067] Specifically, the second instruction is not limited in the embodiment, and can be determined based on specific business requirements. The command corresponding to the second instruction will cause the global parameter to be unable to be applied to the to-be-modified driving instruction. The second instruction is selected by selecting a command whose delivery time point is in a target time period, and determining the instruction corresponding to the selected command as the second instruction. The target time period is a time period after the global parameter is set and before a command for modifying the to-be-modified driving instruction is received. The command whose delivery time point is in the target time period is a command for modifying the driving instruction and an image update command. The corresponding delivery time point is the time point at which the command for modifying the driving instruction is delivered and the time point at which the image update command is delivered. The command whose delivery time point is in the target time period will most probably cause interference to the set global parameter in the time period after the global parameter is set and before the command for modifying the to-be-modified driving instruction is received, so that the set global parameter cannot be normally applied to the to-be-modified driving instruction. Therefore, the instruction whose delivery time point is in the target time period is selected as the second instruction.

[0068] If it is judged that the instruction corresponding to the target command is included in the preset second instruction, it is indicated that the target command is an interference command. In order to ensure that the set global parameter can be normally applied to the to-be-modified driving instruction, it is determined that the target command does not satisfy the initialization condition, so as to maintain the set global parameter unchanged.

[0069] If it is judged that the instruction corresponding to the target command is not included in the preset second instruction, it is indicated that the instruction corresponding to the target command is a to-be-modified driving instruction. In order to ensure that the set global parameter can be normally applied to the to-be-modified driving instruction, it is determined that the received target command satisfies the initialization condition, so as to initialize the global parameter after the driving instruction corresponding to the target command is modified based on the target command and the set global parameter. The global parameter after the initialization is used to continue to set the global parameter for the next to-be-modified driving instruction.

[0070] For example, as shown in FIG. 7, the global parameter is set for the driving instruction corresponding to the target command, and the driving instruction corresponding to the target command is modified based on the target command and the set global parameter. After the modification, the global parameter is initialized. Figure 5 Figure 5 ​The commands 41 to 47 are included in the command sequence. The command 41 is a set command, which requires setting the global parameter to 5. The command 42 is a command for modifying a drive instruction, which requires modifying the parameter value of the parameter to be modified in the drive instruction B3h to AAh. The command 43 is a set command, which requires setting the global parameter to 6. The command 44 is an image update command, which requires writing image data according to the instruction 2Ch. The command 45 is an image update command, which requires writing image data according to the instruction 3Ch. The command 46 is a command for modifying a drive instruction, which requires modifying the parameter value of the parameter to be modified in the drive instruction 5Ch to AAh. The command 47 is a command for modifying a drive instruction, which requires modifying the parameter value of the parameter to be modified in the drive instruction B3h to AAh. The parameters and parameter values in the drive instruction B3h are shown in Table-1. The first preset instruction includes 2Ch, 3Ch and 5Ch. B3h, 2Ch, 3Ch and 5Ch described herein are all included in the MIPI standard. The following describes the acquisition sequence of the commands 41 to 47: Figure 5 When the command 41 is received, the global parameter is set to 5. After the global parameter 5 is set, the command 42 is received, and there is no interference of other commands between the command 41 and the command 42, the parameter value of the parameter 5 in the drive instruction B3h shown in Table-1 is modified from 00h to AAh according to the command 42 and the set global parameter 5, and the drive instruction shown in Table-5 is obtained. After the drive instruction B3h corresponding to the command 42 is modified based on the command 42 and the set global parameter 5, the global parameter is initialized to 0, and then the command 43 is received, and the global parameter is set to 6 according to the command 43. After the global parameter is set to 6, the commands 44, 45 and 46 are received in sequence. It is judged in sequence that the received commands 44, 45 and 46 are all included in the second preset instruction, and the commands 44, 45 and 46 are all interference commands. In order to ensure that the set global parameter can be normally applied to the drive instruction to be modified, the set global parameter 6 is maintained unchanged after the command 44 is received, after the command 45 is received, and after the command 46 is received. Then the command 47 is received, which is a command for modifying a drive instruction, which requires modifying the parameter value of the parameter to be modified in the drive instruction B3h to AAh. According to the command 47 and the set global parameter 6, the parameter value of the parameter 6 in the drive instruction B3h shown in Table-5 is modified from 00h to AAh, and the drive instruction shown in Table-6 is obtained.

[0071] Table-5

[0072]

[0073] Table-6

[0074]

[0075] In addition, it is to be noted that after receiving the command 46, although it is determined to be an interference command based on the preset second instruction, it is also a command for modifying the driving instruction, and therefore the parameter value corresponding to the parameter 6 in the instruction 5Ch corresponding to the command 46 can be modified to AAh according to the information carried by the command 46.

[0076] The third, the specific process of determining whether the target command received after the global parameter is set satisfies the initialization condition includes: after the global parameter is set, each time a target command is received, it is determined whether the instruction corresponding to the target command is included in the preset third instruction; if not, it is determined that the target command does not satisfy the initialization condition; if yes, it is detected whether the instruction corresponding to the target command is the last instruction in the preset third instruction to which the global parameter is applied, if yes, it is determined that the target command satisfies the initialization condition; if not, it is determined that the target command does not satisfy the initialization condition.

[0077] The third instruction is an instruction to which the set global parameter needs to be applied. The specific selection of the third instruction is not limited in the embodiment, and can be determined based on specific business requirements. The third instruction selection method is: when the global parameter is set, the instruction to which the set global parameter needs to be applied is determined, and the determined instruction is selected as the third instruction. The instruction to which the set global parameter needs to be applied is a driving instruction that needs to use the set global parameter for parameter modification.

[0078] If it is determined that the received target command is included in the preset third instruction, it is indicated that the target instruction is a driving instruction to be modified, and it is necessary to continue to detect whether the instruction corresponding to the received target command is the last instruction in the preset third instruction to which the set global parameter is applied. If it is detected that it is the last one, it is indicated that all driving instructions to which the set global parameter needs to be applied can be applied to the set global parameter, and it is determined that the received target command satisfies the initialization condition, so that the global parameter is initialized after the driving instruction corresponding to the target command is modified based on the target command and the set global parameter. If it is detected that it is not the last one, it is indicated that there is still an instruction to which the set global parameter needs to be applied and which has not been applied to the set global parameter, and it is determined that the received target command does not satisfy the initialization condition of the global parameter. In order to ensure that the set global parameter can be normally applied to the preset third instruction, it is determined that the received target command does not satisfy the initialization condition, so as to maintain the set global parameter unchanged.

[0079] The fourth method includes the following steps: determining whether the target command received after setting the global parameter meets the initialization condition or not, including: determining whether the instruction corresponding to the target command and the instruction of applying the last set global parameter are the same driving instruction; if not, determining that the target command does not meet the initialization condition; if yes, determining that the target command meets the initialization condition.

[0080] For a driving instruction, there can be more than one parameter to be modified. In order to ensure that all the parameters to be modified in the driving instruction can be modified normally, it is necessary to determine whether the instruction corresponding to the target command and the instruction of applying the last set global parameter are the same driving instruction.

[0081] If the instruction corresponding to the target command and the instruction of applying the last set global parameter are the same driving instruction, it means that the target command is a command for modifying another parameter in the driving instruction, and thus it is determined that the target command meets the initialization condition, so that the global parameter is initialized after the driving instruction corresponding to the target command is modified based on the target command and the global parameter.

[0082] If the instruction corresponding to the target command and the instruction of applying the last set global parameter are not the same driving instruction, it means that the command for modifying another parameter in the driving instruction has not been issued, and thus it is determined that the target command does not meet the initialization condition, so that the set global parameter is maintained.

[0083] In actual application, any one of the above methods can be selected based on specific business requirements to determine whether the target command received after setting the global parameter meets the initialization condition. When it is determined that the target command does not meet the initialization condition, it means that the driving instruction to be modified has not applied the set global parameter, and thus step 303 is performed in order to ensure that the driving instruction to be modified can apply the set global parameter. When it is determined that the target command meets the initialization condition, it means that the driving instruction to be modified can apply the set global parameter, and thus step 302 is performed.

[0084] 302. initializing the global parameter after the driving instruction corresponding to the target command is modified based on the target command and the global parameter.

[0085] The purpose of initializing the global parameter is to continue setting the global parameter for the next driving instruction to be modified based on the initialized global parameter. The prerequisite for initializing the global parameter is that the operation of modifying the driving instruction corresponding to the target command based on the target command and the global parameter is completed.

[0086] The specific process of modifying the drive instruction corresponding to the target command based on the target command and the global parameter includes: when the target command is a command for modifying the drive instruction, determining the parameter to be modified in the drive instruction corresponding to the target command based on the latest set global parameter; modifying the parameter value of the parameter to be modified to the target parameter value carried by the target command; wherein the command for modifying the drive instruction is used to determine the target parameter value used to modify the drive instruction to be modified.

[0087] The command for modifying the drive instruction carries the target parameter value used to determine the drive instruction to be modified and the target parameter value used to modify the drive instruction to be modified. Therefore, when it is determined that the received target command is a command for modifying the drive instruction, the drive instruction corresponding to the target command is determined, and the parameter to be modified in the drive instruction is determined based on the latest set global parameter. For example, as shown in Table-5, the command 47 is a command for modifying the drive instruction, which requires that the parameter value of the parameter to be modified in the drive instruction B3h is modified to AAh. When the command 47 is received, it is determined that the command 47 is a command for modifying the drive instruction, and the modification unit 322 modifies the parameter value of the parameter 6 in the drive instruction B3h shown in Table-5 from 00h to AAh according to the command 47 and the set global parameter 6, and obtains the drive instruction as shown in Table-6. Figure 5

[0088] In addition, it should be noted that after setting the global parameter, there are commands existing in the time period before receiving the command for modifying the drive instruction to be modified, although they are interference commands, but the instructions corresponding to them also have modification requirements, therefore for the target command received in the above-mentioned time period, once it is determined that the received target command is a command for modifying the drive instruction, the drive instruction corresponding to the target command is determined, and the parameter to be modified in the drive instruction is determined based on the latest set global parameter. For example, as shown in Table-5, the command 47 is a command for modifying the drive instruction, which requires that the parameter value of the parameter to be modified in the drive instruction B3h is modified to AAh. When the command 47 is received, it is determined that the command 47 is a command for modifying the drive instruction, and the modification unit 322 modifies the parameter value of the parameter 6 in the drive instruction B3h shown in Table-5 from 00h to AAh according to the command 47 and the set global parameter 6, and obtains the drive instruction as shown in Table-6. Figure 5

[0089] Further, for a drive instruction, the parameters that need to modify the parameter value can be more than one, therefore after modifying the drive instruction corresponding to the target command based on the target command and the global parameter, the following steps can also be included: detecting whether the parameters to be modified in the drive instruction are all modified; if yes, transmitting the modified drive instruction.

[0090] ​​For a driving instruction, there can be more than one parameter that needs to be modified. If there is still a parameter that needs to be modified among the parameters that need to be modified, the driving instruction is provided to the instruction controller in the display driving integrated circuit. The instruction controller can trigger an error control. Therefore, it is necessary to ensure that all the parameters that need to be modified in the driving instruction are modified before the driving instruction is provided to the instruction controller. Therefore, after the driving instruction corresponding to the target command is modified based on the target command and the set global parameter, it is detected whether all the parameters that need to be modified in the driving instruction are modified. If it is detected that all the parameters that need to be modified in the driving instruction are modified, it is indicated that the driving instruction is modified and can be provided to the instruction controller for instruction control operation. If it is detected that there is still a parameter that needs to be modified among the parameters that need to be modified in the driving instruction, it is indicated that the driving instruction is not modified. The new global parameter is set based on the parameter that needs to be modified, and the driving instruction is modified using the newly set global parameter.

[0091] The specific method for detecting whether all the parameters that need to be modified in the driving instruction are modified includes the following two methods.

[0092] Firstly, the list of parameters that need to be modified in the driving instruction is obtained, and it is judged whether all the parameters in the list of parameters are modified. If all the parameters are modified, it is detected that all the parameters that need to be modified in the driving instruction are modified. If there is still a parameter that needs to be modified in the list of parameters, it is detected that there is still a parameter that needs to be modified among the parameters that need to be modified in the driving instruction.

[0093] Secondly, after receiving any target command for the driving instruction, it is detected whether a new target command for the driving instruction is received again within a preset time period. If not, it is detected that all the parameters that need to be modified in the driving instruction are modified. If yes, it is detected that there is still a parameter that needs to be modified among the parameters that need to be modified in the driving instruction.

[0094] In order to modify multiple parameters in a driving instruction, after the global parameter is initialized, a new global parameter is set. The initialized global parameter and the newly set global parameter are respectively used to determine the parameters that need to be modified in the same driving instruction, and the parameters that need to be modified determined by the initialized global parameter and the newly set global parameter are different.

[0095] For example, Figure 5As shown, the parameters that need to be modified in the driver instruction B3h include parameters 5 and 6. If it is detected that there are still unmodified parameters among the parameters that need to be modified in the driver instruction, after initializing global parameter 5 to 0, a new global parameter is set based on command 43. This newly set global parameter is 6. When command 47 is received, it is determined that command 47 is used to modify the driver instruction. Based on command 47 and the set global parameter 6, the parameter value of parameter 6 in the driver instruction B3h shown in Table-5 is modified from 00h to AAh, resulting in the driver instruction shown in Table-6.

[0096] After determining the operation to modify the driver instruction corresponding to the target command based on the target command and global parameters, it indicates that the set global parameters have been applied to the driver instruction corresponding to the target command. Therefore, the global parameters are initialized to prepare data for setting global parameters for the next driver instruction to be modified. The specific execution process of initializing global parameters is as follows: initialize global parameters to preset parameters. The preset parameters can be determined based on business requirements, and this embodiment does not impose specific limitations. For example, the preset parameters are 0.

[0097] 303. Keep the global parameters unchanged.

[0098] If the target command received after setting the global parameters does not meet the conditions for initializing the global parameters, it means that the set global parameters have not yet been applied to the driver instruction to be modified. Therefore, in order to ensure that the set global parameters can be applied normally to the driver instruction to be modified, the global parameters are kept unchanged.

[0099] The driver instruction modification method provided in this application determines whether a target command received after setting global parameters meets the initialization conditions. If the received target command meets the initialization conditions, the global parameters are initialized after modifying the driver instruction corresponding to the target command based on the target command and the set global parameters. If the received target command does not meet the initialization conditions, the global parameters are kept unchanged. Therefore, the solution provided in this application only initializes the global parameters after modifying the driver instruction corresponding to the target command based on the target command and the set global parameters if the target command received after setting the global parameters meets the initialization conditions. If the target command received after setting the global parameters does not meet the initialization conditions, the global parameters are not initialized, but are kept unchanged. Therefore, even if an interfering command appears after setting the global parameters, the solution provided in this application can still apply the set global parameters normally to the driver instruction to be modified.

[0100] Further, according to the above-mentioned driving instruction modification method, another embodiment of the present application further provides a receiver applied to a display driving integrated circuit, wherein the receiver applies the above-mentioned driving instruction modification method.

[0101] As shown in Figure 6 the following, the interface involved in the receiver applying the above-mentioned driving instruction modification method is described, Figure 6 the interface identified in the above-mentioned embodiment is only an example, and in actual application, it can be adjusted and determined according to specific business requirements.

[0102] As shown in Figure 6 , the receiver includes a first processor 51 and a second processor 52, and the above-mentioned driving instruction modification method is realized through the interaction of the first processor 51 and the second processor 52. The first processor 51 and the second processor 52 each include the following interfaces: a clock input interface "i_clk" for synchronizing the clock of each interface; an instruction input interface "i_Index_valid" for verifying the validity of the input instruction name; an instruction name input interface "i_Index[7:0]" for inputting the name of the driving instruction to be modified, such as B3h; a parameter input interface "i_para_valid" for verifying the validity of the parameter value used for modifying the driving instruction; and a parameter input interface "i_para_db[7:0]" for inputting the parameter value used for modifying the driving instruction, such as AAh. The first processor 51 further includes a global parameter output interface "gpara[7:0]" for outputting the latest set global parameter to the second processor 52. The second processor 52 includes the following interfaces: a global parameter input interface "gpara[7:0]" for receiving the latest set global parameter of the first processor 51; an instruction output interface "o_Index_valid" for verifying the validity of the output instruction name; an instruction name output interface "o_Index[7:0]" for outputting the name of the modified driving instruction; a parameter output interface "o_para_valid" for verifying the validity of the parameter value in the output driving instruction; a parameter value output interface "o_para_db[7:0]" for outputting the parameter value used for modifying the driving instruction; and a parameter position output interface "o_para_addr[7:0]" for outputting the position of the modified parameter in the driving instruction. Through the above-mentioned interfaces, the first processor 51 and the second processor 52 can complete the modification of the driving instruction through the global parameter, and during the modification of the driving instruction, even if there is interference of other commands during the period after setting the global parameter and before receiving the command for modifying the driving instruction to be modified, the set global parameter can be normally applied to the driving instruction to be modified.

[0103] The display driving integrated circuit provided by the embodiments of the present application has the beneficial effects of the receiver applied to the display driving integrated circuit, please refer to the beneficial effects of the above-mentioned driving instruction modification method.

[0104] Further, another embodiment of the present application also provides a display driving integrated circuit, which comprises the receiver applied to the display driving integrated circuit.

[0105] The specific structure of the display driving integrated circuit can be referred to the above-mentioned Figure 1 .

[0106] The display driving integrated circuit provided by the embodiments of the present application has the beneficial effects of the receiver applied to the display driving integrated circuit, please refer to the beneficial effects of the above-mentioned driving instruction modification method.

[0107] In the above-mentioned embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0108] It can be understood that the related features in the above-mentioned method and device can be mutually referred. In addition, the "first", "second" and the like in the above-mentioned embodiments are used to distinguish each embodiment, and do not represent the advantages and disadvantages of each embodiment.

[0109] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0110] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems can be used with these teachings, with or without additional hardware. The construction of such a system would be apparent to those of ordinary skill in the art from the description of the above. In addition, the present application is not intended to be limited to any particular programming language. It will be appreciated that there are many programming languages that can be used to implement the teachings of the present application as described herein, and any such programming language can be used in the context of the present application. The descriptions of specific languages herein are merely provided to disclose the best mode of the present application.

[0111] In the specification provided herein, a large number of specific details are described. However, it can be understood that the embodiments of the present application can be practiced without these specific details. In some examples, well-known methods, structures and techniques are not described in detail in order not to obscure the understanding of the present specification.

[0112] Furthermore, those skilled in the art will recognize that, while certain embodiments described herein include certain features that are not included in other embodiments, combinations of features of the different embodiments are within the scope of the application and form different embodiments. For example, in the claims below any of the claimed embodiments can be used in any combination.

[0113] The various component embodiments of the present application can be implemented in hardware, or as software modules running in one or more processors, or combinations thereof. Those skilled in the art will appreciate that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the method, apparatus and framework for running a deep neural network model according to embodiments of the present application. The present application can also be implemented as a program (e.g., computer program and computer program product) for executing any or all of the methods described herein on a device or apparatus. Such a program implementing the present application can be stored on a computer readable medium, or can be in the form of one or more signals. Such a signal can be downloaded from an Internet website, or can be available for pur- chase on a carrier signal, or any other form.

[0114] It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that one skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word 'comprising' does not exclude the presence of elements or steps other than those listed in a claim. The word 'a' or 'an' preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unitary claim, several devices, apparatuses or means can be listed, comprising means for performing a certain function. The functions of the separate means can be carried out by one specific means performing the functions. Similarly, a device recited as meaning for performing a certain function can be interpreted to mean a specific means performing the function. The words 'first','second' and 'third' etc. do not imply any order but are used for naming purposes only.

Claims

1. A method for modifying driver instructions, characterized in that, The method, applied to a receiver in a display driver integrated circuit, includes: Determine whether the target command received after setting global parameters meets the initialization conditions; If so, after modifying the driver instruction corresponding to the target command based on the target command and the global parameters, initialize the global parameters; Otherwise, keep the global parameters unchanged; After modifying the driver instruction corresponding to the target command based on the target command and the global parameters, it is checked whether all the parameters that need to be modified in the driver instruction have been modified; if so, the modified driver instruction is transmitted. If it is detected that there are still unmodified parameters among the parameters that need to be modified in the driver instruction, then after initializing the global parameters, new global parameters are set. The initialized global parameters and the newly set global parameters are used to determine the parameters that need to be modified in the same driver instruction, and the parameters that need to be modified determined by the initialized global parameters and the newly set global parameters are different.

2. The method according to claim 1, characterized in that, Determine whether the target command received after setting global parameters meets the initialization conditions, including: After the global parameters are set, each time a target command is received, it is determined whether the target command is a command that modifies the driver instructions; If so, determine that the target command satisfies the initialization conditions; If not, it is determined that the target command does not meet the initialization conditions.

3. The method according to claim 2, characterized in that, After determining that the target command is a command to modify driver instructions, and before determining that the target command satisfies the initialization conditions, the method includes: Determine whether the instruction corresponding to the target command is included in the preset first instruction; If not, it is determined that the target command satisfies the initialization conditions; If included, it is determined that the target command does not meet the initialization conditions.

4. The method according to claim 1, characterized in that, Determine whether the target command received after setting global parameters meets the initialization conditions, including: Determine whether the instruction with the previously set global parameters and the instruction corresponding to the target command are the same driver instruction; If not, it is determined that the target command does not meet the initialization conditions; If so, determine that the target command satisfies the initialization conditions.

5. The method according to claim 1, characterized in that, Determine whether the target command received after setting global parameters meets the initialization conditions, including: After the global parameters are set, each time a target command is received, it is determined whether the instruction corresponding to the target command is included in the preset second instruction; If included, it is determined that the target command does not meet the initialization conditions; If not, it is determined that the target command satisfies the initialization conditions.

6. The method according to claim 1, characterized in that, Determine whether the target command received after setting global parameters meets the initialization conditions, including: After the global parameters are set, each time a target command is received, it is determined whether the instruction corresponding to the target command is included in the preset third instruction; If not included, it is determined that the target command does not meet the initialization conditions; If included, detect whether the instruction corresponding to the target command is the last instruction in the preset third instruction that applies the global parameters; if it is the last one, determine that the target command meets the initialization conditions; if it is not the last one, determine that the target command does not meet the initialization conditions.

7. The method according to any one of claims 1-6, characterized in that, Modifying the driver instructions corresponding to the target command based on the target command and the global parameters includes: When the target command is a command for modifying driver instructions, the parameter to be modified in the driver instruction corresponding to the target command is determined based on the latest set global parameters; the parameter value of the parameter to be modified is modified to the target parameter value carried by the target command; wherein, the command for modifying driver instructions is used to determine the target parameter value used to modify the driver instruction to be modified.

8. The method according to any one of claims 1-6, characterized in that, Before determining whether the target command received after setting the global parameters meets the initialization conditions, the method further includes: The global parameters are set based on the target parameters carried by the setting command, wherein the target parameters are the parameters whose values ​​are to be modified in the driver instructions.

9. The method according to any one of claims 1-6, characterized in that, Initializing the global parameters includes: The global parameters are initialized to preset parameters.

10. A receiver applied to a display driver integrated circuit, characterized in that, The receiver applies the driver instruction modification method as described in any one of claims 1 to 9.

11. A display driver integrated circuit, characterized in that, The display driver integrated circuit includes the receiver applied to the display driver integrated circuit as described in claim 10.

Citation Information

Patent Citations

  • Ambient light-adaptive display management

    CN109983530A

  • Method by which terminal and base station transmit / receive signals in wireless communication system, and apparatus

    WO2022045377A1