Instruction processing method, controller, backlight driver and display device

By adding preset identifiers to the driver command, the problem that the backlight brightness data is mistakenly recognized as a setting command or an address command is solved, and the effect of reducing display abnormalities is achieved.

CN118430464BActive Publication Date: 2025-02-25BEIJING XIANXIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410701800.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2025-02-25
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

In the existing mini light emitting diode (Mini-LED) backlight driving scheme, the backlight brightness data is easily misidentified as a setting command or an address command, resulting in abnormal display.

Method used

Add a preset flag to the driver command to indicate that the backlight brightness data is written to the data register. After the backlight driver recognizes the preset identifier, it only writes the data registers to avoid misidentification.

Benefits of technology

Effectively prevent the backlight brightness data from being misidentified as a setting command or address command, and reduce the occurrence of display abnormalities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118430464B_ABST
    Figure CN118430464B_ABST
Patent Text Reader

Abstract

The present application provides an instruction processing method, a controller, a backlight driver and a display device, wherein the controller generates a driving instruction, the driving instruction includes a reset instruction, a setting instruction, an address instruction and backlight brightness data arranged in sequence, and then a preset mark is added to the driving instruction, and the preset mark indicates that the backlight brightness data is written into a data register. Subsequently, the driving instruction is sent to the backlight driver, so that after the backlight driver recognizes the preset mark, it can only perform a write operation on the data register in the backlight driver to write the backlight brightness data into the data register, thereby preventing the backlight brightness data from being mistakenly recognized as a setting instruction or an address instruction, and reducing the occurrence of display abnormalities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to an instruction processing method, a controller, a backlight driver and a display device. Background Art

[0002] In the existing single-line transmission Mini Light-emitting Diode (Mini-LED) backlight driving scheme, several backlight drivers are usually connected in series using the command input pin and command output pin of the backlight driver, and then the command input pin of the first backlight driver is used as the input entry for the driving command to transmit the driving command to each backlight driver.

[0003] The driving instruction usually includes four parts: reset instruction (Reset), setting instruction (CMD), address instruction (Address) and backlight brightness data (Data). Since the driving instruction can include the backlight brightness data of multiple backlight drivers, and each backlight brightness data is composed of multiple 12-bit or 16-bit arbitrary data, and each frame will change continuously with the picture changes, the backlight brightness data is long, random, and has a rich combination of types.

[0004] This also leads to the fact that the backlight brightness data is very likely to have data in the same format as the setting instructions and address instructions, which may cause the backlight brightness data to be mistakenly identified as a setting instruction or an address instruction, resulting in display abnormality. Summary of the invention

[0005] The present application provides a command processing method, a controller, a backlight driver and a display device to prevent backlight brightness data from being mistakenly identified as a setting command or an address command.

[0006] In a first aspect, the present application provides a command processing method, the method being used in a controller, the method comprising:

[0007] Generate a driving instruction, the driving instruction including a reset instruction, a setting instruction, an address instruction and backlight brightness data arranged in sequence; the reset instruction instructs the backlight driver to reset; the setting instruction instructs the backlight driver to perform function configuration on the function register; the address instruction instructs the backlight driver to perform address configuration on the address register; the backlight brightness data instructs the backlight driver to control the brightness of the light-emitting unit;

[0008] Adding a preset mark in the driving instruction, wherein the preset mark indicates that the backlight brightness data is written into a data register;

[0009] The driving instruction is sent to the backlight driver, and after the backlight driver recognizes the preset identifier, the backlight driver writes the backlight brightness data into the data register.

[0010] Optionally, the preset identifier includes a first identifier, and adding the preset identifier to the driving instruction specifically includes:

[0011] A first identifier is added between the address instruction and the backlight brightness data, or the first identifier is marked on the backlight brightness data; the first identifier indicates the beginning of the backlight brightness data.

[0012] Optionally, the preset identifier includes a first locking instruction, and adding the preset identifier to the driving instruction specifically includes:

[0013] A first locking instruction is added between the address instruction and the backlight brightness data; the first locking instruction indicates locking the function register and the address register.

[0014] Optionally, before sending the driving instruction to the backlight driver, the method further includes:

[0015] Adding a second identifier between the reset instruction and the setting instruction, wherein the second identifier is used to indicate the start of the setting instruction;

[0016] Or, using the reset instruction as the second identifier;

[0017] Or, a second locking instruction is added between the reset instruction and the setting instruction, and the second locking instruction is used to lock a preset register, and the preset register includes a black insertion function register and / or a channel switch register.

[0018] Optionally, before sending the driving instruction to the backlight driver, the method further includes:

[0019] Adding a third identifier between the setting instruction and the address instruction, wherein the third identifier indicates the beginning of the address instruction;

[0020] or, marking the third identifier on the address instruction;

[0021] Or, a third locking instruction is added between the setting instruction and the address instruction, and the third locking instruction is used to lock the function register.

[0022] Optionally, the controller is connected to a backlight unit, and the backlight unit includes a plurality of backlight drivers arranged in an array;

[0023] The generating of the driving instruction specifically includes:

[0024] Generate driving instructions for each column of backlight driver;

[0025] The driving instructions of each column of backlight drivers include a reset instruction, a setting instruction, an address instruction of each backlight driver in the same column, and backlight brightness data of each backlight driver in the same column;

[0026] The step of adding a preset identifier to the driving instruction specifically includes:

[0027] For the driving instruction of each column backlight driver, a first mark is added between the address instruction and the backlight brightness data of the first backlight driver; or the first mark is marked on the backlight brightness data of the first backlight driver; or a first locking instruction is added between the address instruction and the backlight brightness data of the first backlight driver;

[0028] The sending the driving instruction to the backlight driver specifically includes:

[0029] The driving instruction of each column backlight driver is sent to the first backlight driver of the corresponding column, and the first backlight driver sends the driving instruction of the corresponding column backlight driver to the second backlight driver of the same column, until the driving instruction of the corresponding column backlight driver is sent to the last backlight driver of the same column.

[0030] In a second aspect, the present application provides a command processing method, the method being used for a backlight driver, the method comprising:

[0031] Receive a driving instruction sent by a controller, the driving instruction comprising a reset instruction, a setting instruction, an address instruction and backlight brightness data arranged in sequence; the reset instruction instructs the backlight driver to reset; the setting instruction instructs the backlight driver to perform function configuration on a function register; the address instruction instructs the backlight driver to perform address configuration on an address register; the backlight brightness data instructs the backlight driver to perform brightness control on a light-emitting unit; a preset mark is added to the driving instruction, and the preset mark instructs to write the backlight brightness data into a data register;

[0032] After the preset identifier is identified, the backlight brightness data is written into the data register.

[0033] Optionally, the preset identifier includes a first identifier, and the first identifier indicates the beginning of the backlight brightness data;

[0034] After the preset identifier is identified, writing the backlight brightness data into the data register specifically includes:

[0035] After the first identifier is identified, the backlight brightness data is written into the data register.

[0036] Optionally, the preset identifier includes a first locking instruction, and the first locking instruction indicates locking the function register and the address register;

[0037] After the preset identifier is identified, writing the backlight brightness data into the data register specifically includes:

[0038] After the preset identifier is identified, the function register and the address register are locked, and the backlight brightness data is written into the data register.

[0039] In a third aspect, the present application provides a controller, including: a memory and a processor;

[0040] The memory is used to store instructions; the processor is used to call the instructions in the memory to execute the method in the first aspect and any possible design of the first aspect.

[0041] In a fourth aspect, the present application provides a backlight driver, comprising: a memory and a processor;

[0042] The memory is used to store instructions; the processor is used to call the instructions in the memory to execute the method in the second aspect and any possible design of the second aspect.

[0043] In a fifth aspect, the present application provides a display device, comprising the above-mentioned controller and backlight driver.

[0044] In a sixth aspect, the present application provides a computer-readable storage medium, in which computer instructions are stored. When at least one processor of an electronic device executes the computer instructions, the electronic device executes the method in the first aspect and any possible design of the first aspect.

[0045] In a seventh aspect, the present application provides a computer program product, which includes computer instructions. When at least one processor of an electronic device executes the computer instructions, the electronic device executes the method in the first aspect and any possible design of the first aspect.

[0046] The present application provides an instruction processing method, a controller, a backlight driver, and a display device. The controller generates a driving instruction, and the driving instruction includes a reset instruction, a setting instruction, an address instruction, and backlight brightness data arranged in sequence. Then, a preset mark is added to the driving instruction, and the preset mark indicates that the backlight brightness data is written into the data register. Subsequently, the driving instruction is sent to the backlight driver, so that after the backlight driver recognizes the preset mark, it can only perform a write operation on the data register in the backlight driver to write the backlight brightness data into the data register, thereby preventing the backlight brightness data from being mistakenly recognized as a setting instruction or an address instruction, and reducing the occurrence of display abnormalities. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0048] Figure 1 A schematic diagram of a backlight driver provided in one embodiment of the present application;

[0049] Figure 2 A schematic diagram of a driving instruction provided in an embodiment of the present application;

[0050] Figure 3 A flowchart of an instruction processing method provided in one embodiment of the present application;

[0051] Figure 4 A schematic diagram of a driving instruction provided in an embodiment of the present application;

[0052] Figure 5 A flowchart of an instruction processing method provided by another embodiment of the present application;

[0053] Figure 6 A schematic diagram of an instruction processing device provided in one embodiment of the present application;

[0054] Figure 7 A schematic diagram of an instruction processing device provided in another embodiment of the present application;

[0055] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application;

[0056] Fig. 9 A schematic diagram of a backlight driver provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0058] In the existing single-line transmission Mini Light-emitting Diode (Mini-LED) backlight driving solution, several backlight drivers are usually connected in series using the command input pin and command output pin of the backlight driver, and then the command input pin of the first backlight driver is used as the input entry of the driving command to transmit the driving command to each backlight driver. Figure 1 As shown, the instruction input pin 1 of the backlight driver 1 is connected to the controller, the instruction output pin 1 of the backlight driver 1 is connected to the instruction input pin 2 of the backlight driver 2, the instruction output pin 2 of the backlight driver 2 is connected to the instruction input pin 3 of the backlight driver 3, and the instruction output pin 3 of the backlight driver 3 is connected to the instruction input pin 4 of the backlight driver 4. The driving instruction is usually a high and low level that can represent binary 0 or 1.

[0059] The driving instruction usually includes four parts: reset instruction (Reset), setting instruction (CMD), address instruction (Address) and backlight brightness data (Data). Figure 2 shown.

[0060] The functions of each part of the instructions are as follows:

[0061] Reset instruction: instructs the backlight driver to reset, for example, instructs the backlight driver to maintain a high level for a period of time. The reset instruction can be, for example, a target code, such as AA or 55;

[0062] Setting instruction: instructs the backlight driver to configure the function registers inside the backlight driver, so as to realize various function settings by configuring the function registers. The register setting instruction may include, for example, a write instruction code, a function register address, register data, etc.; the write instruction code indicates a write operation to the function register; the function register address indicates the address of the function register to be configured, and the register data indicates that the corresponding register turns on or off a certain function. Therefore, after the backlight driver recognizes the write instruction code in the setting instruction, it can turn on or off a certain function in the corresponding function register according to the function register address and register data in the setting instruction. The number of function registers can be multiple, and accordingly, the function register address can include multiple, and the register data can include multiple.

[0063] Address instruction: instructs the backlight driver to perform address configuration on the backlight driver. The address instruction may include, for example, a write instruction code, an address register address, address data, etc. The write instruction code instructs to perform an address write operation; the address register address indicates the address of the address register to be written into the backlight driver address; the address data includes the address of the backlight driver, so after the backlight driver recognizes the write instruction code in the address instruction, it can write the address of the backlight driver in the corresponding address register according to the address register address and address data in the address instruction.

[0064] Backlight brightness data: indicates that the brightness data is written to the data register inside the backlight driver. The backlight brightness data may include, for example, a write instruction code, a data register address, a backlight driver address, and brightness data. The write instruction code is used to instruct the brightness data write operation; the data register address is used to indicate the address of the register to which the brightness data is to be written, the backlight driver address indicates the address of the backlight driver corresponding to the brightness data, and the brightness data is the data for controlling the brightness of the light-emitting unit connected to the backlight driver.

[0065] Since the driving instruction can include backlight brightness data of multiple backlight drivers, and each backlight brightness data is composed of multiple 12-bit or 16-bit arbitrary data, and each frame will change continuously as the picture changes, the backlight brightness data is long, random, and has a richer combination of types.

[0066] This also leads to the fact that the backlight brightness data is very likely to have data in the same format as the setting instruction and address instruction. For example, the format of the setting instruction is 101 10000 11111101 0, where 101 represents write register, 10000 represents register address, 11111101 represents register data, and 0 represents end. The data packets sent continuously for the backlight brightness data are 0110 0001 1111 1011 0110 0001 11111000, which happens to contain the same data format as the setting instruction 1 01100001 1111 1000.

[0067] Since the data format corresponding to the instruction cannot completely distinguish different stages, there is a probability that the backlight brightness data will be mistakenly identified as a setting instruction or an address instruction, resulting in display abnormality.

[0068] In response to the above problems, the present application proposes an instruction processing method, which adds a preset identifier to the driving instruction, and the preset identifier indicates that the backlight brightness data is written into the data register. After the backlight driver recognizes the preset identifier, it only writes to the data register in the backlight driver, thereby preventing the backlight brightness data from being mistakenly identified as a setting instruction or an address instruction, thereby reducing the occurrence of display abnormalities.

[0069] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0070] Figure 3 FIG. 1 is a flowchart of an instruction processing method provided by an embodiment of the present application. Figure 3 As shown, with the controller as the execution subject, the method of this embodiment may include the following steps:

[0071] S101 , generating a driving instruction, wherein the driving instruction includes a reset instruction, a setting instruction, an address instruction and backlight brightness data arranged in sequence.

[0072] Among them, the reset instruction instructs the backlight driver to reset; the setting instruction instructs the backlight driver to configure the function register in the backlight driver to realize various function settings; the address instruction instructs the backlight driver to configure the address register in the backlight driver; the backlight brightness data instructs to write the brightness data into the data register inside the backlight driver. It should be noted that configuring the address register includes writing the address of the backlight driver into the address register.

[0073] In some embodiments, multiple backlight drivers are connected in sequence, each backlight driver has corresponding address instructions and backlight brightness data, and the address instructions corresponding to each backlight driver are different, and the backlight brightness data corresponding to each backlight driver are also different. However, since the internal structures of the backlight drivers are the same or similar, each backlight driver can correspond to the same reset instruction and the same setting instruction.

[0074] Accordingly, the generated driving instruction may include address instructions and backlight brightness data of multiple backlight drivers. For example, the address instructions of multiple backlight drivers are arranged in sequence, and the backlight brightness data of multiple backlight drivers are arranged in sequence.

[0075] Taking n backlight drivers connected in sequence as an example, backlight driver 1 is connected to backlight driver 2, backlight driver 2 is connected to backlight driver 3, ..., backlight driver n-1 is connected to backlight driver n. The driving instruction may include a reset instruction, a setting instruction, an address instruction 1, an address instruction 2, ..., an address instruction n, backlight brightness data 1, backlight brightness data 2, ..., backlight brightness data n arranged in sequence. Among them, address instruction 1 is the address instruction of backlight driver 1, address instruction 2 is the address instruction of backlight driver 2, ... address instruction n is the address instruction of backlight driver n, backlight brightness data 1 is the brightness data of backlight driver 1, backlight brightness data 2 is the brightness data of backlight driver 2, ... backlight brightness data n is the brightness data of backlight driver n.

[0076] For example, the controller is connected to a backlight unit, and the backlight unit includes a plurality of backlight drivers arranged in an array, and the first backlight driver in each column is connected to the controller.

[0077] Then, the controller may generate a driving instruction for each column of backlight drivers, and the driving instruction for each column of backlight drivers includes a reset instruction, a setting instruction, an address instruction for each backlight driver in the column, and backlight brightness data for each backlight driver in the column. For example, the address instructions for each backlight driver in each column may be arranged in sequence according to the arrangement order of the backlight drivers in the column, and the backlight brightness data for each backlight driver in each column may be arranged in sequence according to the arrangement order of the backlight drivers in the column.

[0078] S102: adding a preset flag to the driving instruction, wherein the preset flag indicates that the backlight brightness data is written into the data register.

[0079] The preset instruction may include a first identifier or a first locking instruction, the first identifier indicates the beginning of the backlight brightness data, and the first locking instruction indicates the locking function register and the address register. In some embodiments, a first identifier is added between the address instruction and the backlight brightness data, and accordingly, the driving instruction includes a reset instruction, a setting instruction, an address instruction, a first identifier and the backlight brightness data arranged in sequence, and the first identifier can not only indicate the beginning of the backlight brightness data, but also indicate the end of the address instruction.

[0080] In some examples, multiple backlight drivers are connected in sequence, each backlight driver has a corresponding address instruction and backlight brightness data, and the address instruction corresponding to each backlight driver is different, and the backlight brightness data corresponding to each backlight driver is also different. However, since the internal structure of the backlight driver is the same or similar, each backlight driver can correspond to the same reset instruction and the same setting instruction. Therefore, a first identifier can be added between the address instruction of the last backlight driver and the backlight brightness data of the first backlight driver. At this time, the drive instruction includes a reset instruction, a setting instruction, address instructions of multiple backlight drivers, a first identifier, and backlight brightness data of multiple backlight drivers arranged in sequence.

[0081] For example, the backlight unit includes a plurality of backlight drivers arranged in an array, and for the driving instructions of each column of backlight drivers, a first identifier is added between the address instruction of the last backlight driver and the brightness data of the first backlight driver.

[0082] In other embodiments, a first identifier is marked on the backlight brightness data. Accordingly, the driving instruction includes a reset instruction, a setting instruction, an address instruction and the backlight brightness data arranged in sequence, and the backlight brightness data is marked with a first identifier, which indicates the beginning of the backlight brightness data.

[0083] In some examples, multiple backlight drivers are connected in sequence, each backlight driver has a corresponding address instruction and backlight brightness data, and a first identifier can be marked on the backlight brightness data of the first backlight driver, for example, the backlight brightness data of the first backlight driver is used as the first identifier. In this case, the driving instruction includes a reset instruction, a setting instruction, address instructions of multiple backlight drivers, and backlight brightness data of multiple backlight drivers arranged in sequence, and the backlight brightness data of the first backlight driver is used as the first identifier.

[0084] For example, the backlight unit includes a plurality of backlight drivers arranged in an array, and for a driving instruction of each column of backlight drivers, a first identifier is marked on brightness data of the first backlight driver.

[0085] In some other embodiments, a first locking instruction is added between the address instruction and the backlight brightness data. Accordingly, the driving instruction includes a reset instruction, a setting instruction, an address instruction, a first locking instruction and backlight brightness data arranged in sequence, and the first locking instruction is used to lock the function register and the address register.

[0086] In some examples, multiple backlight drivers are connected in sequence, each backlight driver has a corresponding address instruction and backlight brightness data, and the address instruction corresponding to each backlight driver is different, and the backlight brightness data corresponding to each backlight driver is also different. Then, the first locking instruction can be added between the address instruction of the last backlight driver and the backlight brightness data of the first backlight driver. At this time, the driving instruction includes a reset instruction, a setting instruction, the address instructions of multiple backlight drivers, a first locking instruction, the backlight brightness data of multiple backlight drivers arranged in sequence.

[0087] For example, the backlight unit includes a plurality of backlight drivers arranged in an array, and for the driving instructions of each column of backlight drivers, a first locking instruction is added between the address instruction of the last backlight driver and the backlight brightness data of the first backlight driver.

[0088] In some embodiments, a second identifier may be added between the reset instruction and the setting instruction, and the second identifier indicates the start of the setting instruction. At this time, the drive instruction includes a reset instruction, a second identifier, a setting instruction, an address instruction, a first identifier / first locking instruction, and backlight brightness data arranged in sequence. The setting instruction and the address instruction are between the second identifier and the first identifier / first locking instruction, and the setting instruction and the address instruction can be distinguished by the second identifier and the first identifier / first locking instruction, further avoiding misidentification of instructions and reducing the probability of errors.

[0089] like Figure 4As shown, the driving instruction may include a reset instruction, a setting instruction, an address instruction 1, an address instruction 2, ..., an address instruction n, a first identifier, backlight brightness data 1, backlight brightness data 2, ..., backlight brightness data n arranged in sequence.

[0090] In other embodiments, the reset instruction can also be used as the second identifier. In this case, the drive instruction includes a reset instruction, a setting instruction, an address instruction, a first identifier / first lock instruction, and backlight brightness data arranged in sequence, and the reset instruction is used as the second identifier to indicate the start of the setting instruction.

[0091] In some other embodiments, a second locking instruction is added between the reset instruction and the setting instruction. At this time, the driving instruction includes a reset instruction, a second locking instruction, a setting instruction, an address instruction, a first identification / first locking instruction, and backlight brightness data arranged in sequence. The second locking instruction is used to lock the preset register, and the preset register includes a black insertion function register and / or a channel switch register. In actual applications, there are some registers that do not want to be changed casually, such as the black insertion function register and the channel switch register. Once these registers are mistakenly changed, it will be reflected in the channel output, the output current will change, and cause display abnormalities. Therefore, a second locking instruction is added between the setting instructions to lock these preset registers to avoid these preset registers being mistakenly triggered by subsequent data.

[0092] In some embodiments, a third identifier may be added between the setting instruction and the address instruction, and the third identifier is used to indicate the start of the address instruction. In this case, the driving instruction includes a reset instruction, a setting instruction, a third identifier, an address instruction, a first identifier / first lock instruction, and backlight brightness data arranged in sequence. The address instruction is between the third identifier and the first identifier / first lock instruction, and the address instruction can be distinguished by the third identifier and the first identifier / first lock instruction, further avoiding misidentification of the instruction.

[0093] In some examples, when multiple backlight drivers are connected in sequence, a third identifier may be added between the setting instruction and the address instruction of the first backlight driver.

[0094] In other embodiments, a third identifier is marked on the address instruction. Accordingly, the drive instruction includes a reset instruction, a setting instruction, an address instruction, a first identifier / first lock instruction, and backlight brightness data arranged in sequence, and the address instruction is marked with a third identifier. The third identifier indicates the beginning of the address instruction and may also indicate the end of the setting instruction.

[0095] In some examples, when multiple backlight drivers are connected in sequence, the address instruction of the first backlight driver may be used as the third identifier.

[0096] In some further embodiments, a third lock instruction is added between the setting instruction and the address instruction. Accordingly, the drive instruction includes a reset instruction, a setting instruction, a third lock instruction, an address instruction, a first identifier / first lock instruction, and backlight brightness data arranged in sequence, and the third lock instruction is used to lock the function register.

[0097] In some examples, when multiple backlight drivers are connected in sequence, a third locking instruction may be added between the setting instruction and the address instruction of the first backlight driver.

[0098] As an implementation method, the first locking instruction, the second locking instruction, and the third locking instruction can all be preset. For example, a new register can be created, and the first locking instruction, the second locking instruction, and the third locking instruction can be set in the new register. When the locking instruction needs to be added to the driving instruction, the corresponding locking instruction can be directly obtained from the new register. Different values ​​set in the new register represent different locking instructions. For example, 00000001 represents the first locking instruction, which is used to lock the function register and the address register, 00000010 represents the second locking instruction, which is used to lock the preset register, and 00000011 represents the third locking instruction, which is used to lock the function register.

[0099] In actual applications, if some registers are locked by a lock instruction, they can be unlocked after the next reset instruction.

[0100] S103, sending a driving instruction to a backlight driver, and after identifying a preset mark, the backlight driver writes the backlight brightness data into a data register.

[0101] It can be understood that after the preset identifier is included in the driving instruction, the backlight driver can only perform a write operation on the data register to write the backlight brightness data into the data register.

[0102] In some embodiments, the preset identifier includes a first identifier. If the first identifier is added to the driving instruction, the backlight driver can recognize the first identifier, and after recognizing the first identifier, a write operation can be performed on a data register in the backlight driver to write the backlight brightness data into the data register. Even if the backlight brightness data has the same data format as the setting instruction or the address instruction, the same data format will not trigger the operation corresponding to the setting instruction or the address instruction, and the backlight driver only performs a write operation on the data register to avoid misidentification of the instruction.

[0103] In other embodiments, the preset identifier includes a first locking instruction. If the preset identifier includes the first locking instruction, the backlight driver can identify the first locking instruction and, after identifying the first locking instruction, lock the function register and the address register to write the backlight brightness data into the data register.

[0104] In some embodiments, the controller can send the driving instructions of each column of backlight drivers to the first backlight driver of the corresponding column, and the first backlight driver can send the driving instructions of the corresponding column of backlight drivers to the second backlight driver of the same column, and so on, until the driving instructions of the corresponding column of backlight drivers are sent to the last backlight driver of the same column.

[0105] In some embodiments, the driving instruction includes a reset instruction, a setting instruction, an address instruction, a first identification / first locking instruction, and backlight brightness data. After the controller sends the driving instruction to the backlight driver, the backlight driver reads each instruction in the driving instruction in sequence. For example, when the reset instruction is read, it is reset; when the setting instruction is read, the function register in the backlight driver is configured according to the setting instruction; when the address instruction is read, the address of the backlight driver is configured according to the address instruction; after the first identification is identified, if the backlight brightness data is read, only the data register is written to write the backlight brightness data into the data register; after the first locking instruction is identified, the address register and the function register are locked. If the backlight brightness data is read, the backlight brightness data is written to the data register.

[0106] In some embodiments, the driving instruction includes a reset instruction, a second identifier / a second locking instruction, a setting instruction, an address instruction, a first identifier / a first locking instruction, and backlight brightness data. Then, after the backlight driver recognizes the second identifier, if the setting instruction is read, the function register in the backlight driver can be functionally configured according to the setting instruction; if the second locking instruction is recognized, if it is a preset register, and after the setting instruction is read, the function register in the backlight driver is functionally configured according to the setting instruction; after the address instruction is read, the address of the backlight driver is configured according to the address instruction; after the backlight driver recognizes the first identifier, if the backlight brightness data is read, only the data register is written; after the first locking instruction is recognized, the address register and the function register are locked, and if the backlight brightness data is read, the backlight brightness data is written into the data register.

[0107] In some embodiments, the driving instruction includes a reset instruction, a setting instruction, a third identifier / third locking instruction, an address instruction, a first identifier / first locking instruction, and backlight brightness data. Then, when the backlight driver reads the setting instruction, it performs function configuration on the function register in the backlight driver; after the backlight driver recognizes the third identifier, if the address instruction is read, it only performs address configuration on the backlight driver; if the backlight driver recognizes the third locking instruction, it locks the function register, and after reading the address instruction, it performs address configuration on the backlight driver according to the address instruction; after the backlight driver recognizes the first identifier, if the backlight brightness data is read, it only performs a write operation on the data register; after recognizing the first locking instruction, it locks the address register and the function register, and if the backlight brightness data is read, it writes the backlight brightness data into the data register.

[0108] The instruction processing method provided in the present application adds a preset identifier to the driving instruction, and the preset identifier indicates that the backlight brightness data is written into the data register. After the backlight driver recognizes the first identifier, it only writes to the data register in the backlight driver, thereby preventing the backlight brightness data from being mistakenly recognized as a setting instruction or an address instruction, thereby reducing the occurrence of display abnormalities.

[0109] Figure 5 FIG. 1 is a flowchart of an instruction processing method provided by an embodiment of the present application. Figure 5 As shown, with the backlight driver as the execution body, the method of this embodiment may include the following steps:

[0110] S201, receiving a driving instruction sent by a controller, where the driving instruction includes a reset instruction, a setting instruction, an address instruction and backlight brightness data arranged in sequence.

[0111] Among them, the reset instruction instructs the backlight driver to reset; the setting instruction instructs the backlight driver to configure the function register; the address instruction instructs the backlight driver to configure the address register; the backlight brightness data instructs the backlight driver to control the brightness of the light-emitting unit; a preset flag is added to the drive instruction, and the preset flag indicates that the backlight brightness data is written into the data register.

[0112] In some embodiments, if multiple backlight drivers are connected in sequence, any backlight driver can be used as the execution entity. Specifically, the first backlight driver can directly receive the driving instructions sent by the controller, and the second backlight driver to the last backlight driver receive the driving instructions sent by the controller through the first backlight driver. For example, after the first backlight driver receives the driving instructions, it sends the driving instructions to the second backlight driver, and the second backlight driver sends the driving instructions to the third backlight driver until the driving instructions are sent to the last backlight driver.

[0113] For example, the backlight unit includes a plurality of backlight drivers arranged in an array, and the first backlight driver in each column can directly receive the driving instruction of the corresponding column sent by the controller, and the driving instruction of the corresponding column can include a reset instruction, a setting instruction, an address instruction of each backlight driver in the column, a first identification / first locking instruction, and backlight brightness data of each backlight driver in the column. The first backlight driver in each column can send the driving instruction of the corresponding column to the second backlight driver in the same column, and the second backlight driver in each column can send the driving instruction of the corresponding column to the third backlight driver in the same column, until the last backlight driver in each column receives the driving instruction of the corresponding column.

[0114] S202: After the preset mark is identified, the backlight brightness data is written into the data register.

[0115] In some embodiments, the preset identifier includes a first identifier, and the first identifier indicates the beginning of the backlight brightness data. Accordingly, the backlight driver can identify the first identifier, and after identifying the first identifier, only perform a write operation on the data register to write the backlight brightness data into the data register.

[0116] In some other embodiments, the preset identifier includes a first locking instruction, and the first locking instruction indicates locking the function register and the address register. Accordingly, the backlight driver can identify the first locking instruction, and after identifying the first locking instruction, lock the function register and the address register to write the backlight brightness data into the data register.

[0117] For example, the driving instruction includes a reset instruction, a setting instruction, an address instruction and backlight brightness data. After receiving the driving instruction, if the backlight driver reads the reset instruction, it can reset according to the reset instruction; if it reads the setting instruction, it can configure the function register in the backlight driver according to the setting instruction; if it reads the address instruction, it can configure the address of the backlight driver according to the address instruction; after identifying the preset identifier in the driving instruction, if it reads the backlight brightness data, it can write to the data register according to the backlight brightness data, and can also control the brightness of the light-emitting unit according to the backlight brightness data in the data register.

[0118] In some embodiments, a second identifier is added between the reset instruction and the set instruction, or the set instruction is marked with a second identifier, or a second locking instruction is added between the reset instruction and the set instruction. The second identifier indicates the start of the set instruction, and the second locking instruction is used to lock the preset register, which includes a black insertion function register and / or a channel switch register.

[0119] After the driving instruction includes the second identifier, the backlight driver can recognize the second identifier. After the backlight driver recognizes the second identifier, if a setting instruction is read, the function register in the backlight driver can be configured according to the setting instruction. If an address instruction is read, the address of the backlight driver can be configured according to the address instruction.

[0120] When the preset instruction includes a second locking instruction, the backlight driver can recognize the second locking instruction, and after recognizing the second locking instruction, the backlight driver can lock the preset register, and then, after recognizing the setting instruction, the function register in the backlight driver can be configured according to the setting instruction.

[0121] In some embodiments, a third identifier is added between the setting instruction and the address instruction, or a third identifier is marked on the address instruction, or a third locking instruction is added between the setting instruction and the address instruction. The third identifier is used to indicate the start of the address instruction, and the third locking instruction is used to lock the function register.

[0122] After the driving instruction includes the third identifier, the backlight driver can identify the third identifier, and after the backlight driver identifies the third identifier, if the address instruction is read, the address configuration of the backlight driver can be performed according to the address instruction.

[0123] When the driving instruction includes the third locking instruction, the backlight driver can identify the third locking instruction, and after identifying the third locking instruction, the backlight driver locks the function register, and after reading the address instruction, performs address configuration on the backlight driver according to the address instruction.

[0124] In the instruction processing method provided in this embodiment, after the backlight driver recognizes the preset mark, it only writes to the data register in the backlight driver, thereby preventing the backlight brightness data from being mistakenly recognized as a setting instruction or an address instruction, thereby reducing the occurrence of display anomalies.

[0125] Figure 6 A schematic diagram of the structure of an instruction processing device provided by an embodiment of the present application is shown. Figure 6 As shown, the instruction processing device 10 of this embodiment is used to implement the operation corresponding to the controller in any of the above method embodiments. The instruction processing device 10 of this embodiment includes:

[0126] A generating module 11 is used to generate a driving instruction, wherein the driving instruction includes a reset instruction, a setting instruction, an address instruction and backlight brightness data arranged in sequence; the reset instruction instructs the backlight driver to reset; the setting instruction instructs the backlight driver to perform function configuration on the function register; the address instruction instructs the backlight driver to perform address configuration on the address register; and the backlight brightness data instructs the backlight driver to control the brightness of the light-emitting unit;

[0127] An adding module 12, configured to add a preset mark in the driving instruction, wherein the preset mark indicates that the backlight brightness data is written into a data register;

[0128] The sending module 13 is used to send the driving instruction to the backlight driver, and the backlight driver writes the backlight brightness data into a data register after identifying a preset first identifier.

[0129] The instruction processing device 10 provided in the embodiment of the present application can execute the above method embodiment. Its specific implementation principle and technical effects can be found in the above method embodiment, and this embodiment will not be repeated here.

[0130] Figure 7 A schematic diagram of the structure of an instruction processing device provided by an embodiment of the present application is shown. Figure 7 As shown, the instruction processing device 20 of this embodiment is used to implement the operation corresponding to the backlight driver in any of the above method embodiments. The instruction processing device 20 of this embodiment includes:

[0131] The receiving module 21 is used to receive a driving instruction sent by the controller, wherein the driving instruction includes a reset instruction, a setting instruction, an address instruction and backlight brightness data arranged in sequence; the reset instruction instructs the backlight driver to reset; the setting instruction instructs the backlight driver to perform function configuration on the function register; the address instruction instructs the backlight driver to perform address configuration on the address register; the backlight brightness data instructs the backlight driver to control the brightness of the light-emitting unit; a preset mark is added to the driving instruction, and the preset mark instructs to write the backlight brightness data into the data register;

[0132] The processing module 22 is used to write the backlight brightness data into a data register after identifying the preset mark.

[0133] The instruction processing device 20 provided in the embodiment of the present application can execute the above method embodiment. Its specific implementation principle and technical effects can be found in the above method embodiment, and this embodiment will not be repeated here.

[0134] Figure 8 FIG. 1 shows a hardware structure diagram of a controller provided in an embodiment of the present application. Figure 8 As shown, the controller 30 is used to implement the operations corresponding to the controller in any of the above method embodiments. The controller 30 of this embodiment may include: a memory 31, a processor 32 and a communication interface 33.

[0135] The memory 31 is used to store computer instructions. The memory 21 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk.

[0136] The processor 32 is used to execute the computer instructions stored in the memory to implement the instruction processing method in the above embodiment. For details, please refer to the relevant description in the above method embodiment. The processor 32 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the invention can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0137] Optionally, the memory 31 may be independent or integrated with the processor 32 .

[0138] The communication interface 33 may be connected to the processor 32. The processor 32 may control the communication interface 33 to implement the functions of receiving and sending signals.

[0139] The electronic device provided in this embodiment can be used to execute the above-mentioned instruction processing method, and its implementation method and technical effect are similar, which will not be described in detail in this embodiment.

[0140] The present application also provides a backlight driver, which is used to implement the operations corresponding to the backlight driver in any of the above-mentioned method embodiments. The backlight driver of this embodiment may include: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the above-mentioned instruction processing method.

[0141] Optional, such as Fig. 9As shown, the backlight driver includes an instruction decoder 101, a function register 102, an address register 103 and a data register 104. The instruction decoder 101 parses the driving instruction, sends the setting instruction and the address instruction to the function register 102 and the address register 103 respectively, and after identifying the first identifier, sends the backlight brightness data to the data register 104. Therefore, the function register 102 can store function information, the address register 103 can store the address of the backlight driver, and the data register 104 stores the backlight brightness data of the backlight driver.

[0142] Optionally, if the driving instruction includes the second identifier and the first identifier, after the instruction decoder 101 identifies the second identifier, it sends the setting instruction and the address instruction to the function register 102 and the address register 103 respectively.

[0143] The present application also provides a display device, comprising the above-mentioned controller and the above-mentioned backlight driver.

[0144] The present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed by a processor, they are used to implement the methods provided in the various embodiments described above.

[0145] The present application also provides a computer program product, which includes computer instructions stored in a computer-readable storage medium. At least one processor of a device can read the computer instructions from the computer-readable storage medium, and at least one processor executes the computer instructions so that the device implements the methods provided in the various embodiments described above.

[0146] An embodiment of the present application also provides a chip, which includes a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call and execute the computer instructions from the memory, so that a device equipped with the chip executes the methods described in the various possible implementation modes above.

[0147] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the above embodiments can still be modified, or some or all of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A command processing method, characterized in that: The method is used in a controller, and the method comprises: Generate a driving instruction, the driving instruction including a reset instruction, a setting instruction, an address instruction and backlight brightness data arranged in sequence; the reset instruction instructs the backlight driver to reset; the setting instruction instructs the backlight driver to perform function configuration on the function register; the address instruction instructs the backlight driver to perform address configuration on the address register; the backlight brightness data instructs the backlight driver to control the brightness of the light-emitting unit; Adding a preset mark in the driving instruction, wherein the preset mark indicates that the backlight brightness data is written into a data register; The driving instruction is sent to the backlight driver, and after the backlight driver recognizes the preset mark, if the backlight brightness data has the same data format as the setting instruction or the address instruction, the backlight driver writes the backlight brightness data into the data register; The preset identifier includes a first identifier and a first locking instruction; and adding the preset identifier to the driving instruction specifically includes: Adding a first mark between the address instruction and the backlight brightness data, or marking the first mark on the backlight brightness data; the first mark indicates the beginning of the backlight brightness data and the end of the address instruction; A first locking instruction is added between the address instruction and the backlight brightness data; the first locking instruction indicates locking the function register and the address register.

2. The method according to claim 1, characterized in that: Before sending the driving instruction to the backlight driver, the method further includes: Adding a second identifier between the reset instruction and the setting instruction, wherein the second identifier is used to indicate the start of the setting instruction; Or, using the reset instruction as the second identifier; Or, a second locking instruction is added between the reset instruction and the setting instruction, and the second locking instruction is used to lock a preset register, and the preset register includes a black insertion function register and / or a channel switch register.

3. The method according to claim 1, characterized in that Before sending the driving instruction to the backlight driver, the method further includes: Adding a third identifier between the setting instruction and the address instruction, wherein the third identifier indicates the beginning of the address instruction; or, marking the third identifier on the address instruction; Or, a third locking instruction is added between the setting instruction and the address instruction, and the third locking instruction is used to lock the function register.

4. The method according to claim 1, characterized in that The controller is connected to a backlight unit, and the backlight unit includes a plurality of backlight drivers arranged in an array; The generating of the driving instruction specifically includes: Generate driving instructions for each column of backlight driver; The driving instructions of each column of backlight drivers include a reset instruction, a setting instruction, an address instruction of each backlight driver in the same column, and backlight brightness data of each backlight driver in the same column; The step of adding a preset identifier to the driving instruction specifically includes: For the driving instruction of each column backlight driver, a first mark is added between the address instruction and the backlight brightness data of the first backlight driver; or the first mark is marked on the backlight brightness data of the first backlight driver; or a first locking instruction is added between the address instruction and the backlight brightness data of the first backlight driver; The sending the driving instruction to the backlight driver specifically includes: The driving instruction of each column backlight driver is sent to the first backlight driver of the corresponding column, and the first backlight driver sends the driving instruction of the corresponding column backlight driver to the second backlight driver of the same column, until the driving instruction of the corresponding column backlight driver is sent to the last backlight driver of the same column.

5. A command processing method, characterized in that: The method is used for a backlight driver, and the method comprises: Receive a driving instruction sent by a controller, the driving instruction comprising a reset instruction, a setting instruction, an address instruction and backlight brightness data arranged in sequence; the reset instruction instructs the backlight driver to reset; the setting instruction instructs the backlight driver to perform function configuration on a function register; the address instruction instructs the backlight driver to perform address configuration on an address register; the backlight brightness data instructs the backlight driver to perform brightness control on a light-emitting unit; a preset mark is added to the driving instruction, and the preset mark instructs to write the backlight brightness data into a data register; After the preset identifier is identified, if the backlight brightness data has the same data format as the setting instruction or the address instruction, the backlight brightness data is written into the data register; The preset identifier includes a first identifier, and the first identifier indicates the beginning of the backlight brightness data; After the preset identifier is identified, writing the backlight brightness data into the data register specifically includes: After identifying the first identifier, writing the backlight brightness data into the data register; The preset identifier includes a first locking instruction, and the first locking instruction indicates locking the function register and the address register; After the preset identifier is identified, writing the backlight brightness data into the data register specifically includes: After the preset identifier is identified, the function register and the address register are locked, and the backlight brightness data is written into the data register.

6. A controller, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the instruction processing method according to any one of claims 1 to 4.

7. A backlight driver, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the instruction processing method according to claim 5.

8. A display device, characterized in that: It comprises the controller as claimed in claim 6 and the backlight driver as claimed in claim 7.

Citation Information

Patent Citations

  • Transmission method capable of setting instructions and transmission device

    CN101984486A

  • Mini LED backlight control circuit, display device and method

    CN114999409A