A code update method, system-on-chip, timing controller, and display device

By introducing automatic code update methods into the display device, and using the coordinated work of system-level chips and timing controllers, the problems of large workload, high cost and error-prone code updates in the existing technology are solved, and efficient and stable code updates are achieved.

CN117931243BActive Publication Date: 2025-05-30BEIJING XIANXIN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410159840.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-04
Publication Date
2025-05-30
Estimated Expiration
2044-02-04

AI Technical Summary

Technical Problem

When existing display devices need to update code, they are very labor-intensive and costly, and the update process requires manual operation, which is prone to errors.

Method used

The control instructions and new code are sent to the timing controller through the system-level chip, and after detecting that the timing controller is running normally, the replacement instructions are sent to replace the new code and the old code is replaced, and automatic update is achieved.

Benefits of technology

It reduces the workload and cost of code updates, reduces the error rate of manual operations, and improves the efficiency and stability of code updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117931243B_ABST
    Figure CN117931243B_ABST
Patent Text Reader

Abstract

The present invention discloses a code update method, a system-on-chip, a timing controller, and a display device. When the system-on-chip receives a code update instruction, it sends a control instruction and new code to the timing controller, so that the timing controller runs the new code when receiving the control instruction. When the system-on-chip detects that the timing controller runs the new code normally, it sends a replacement instruction to the timing controller, so that the timing controller replaces the old code stored in the second storage area with the new code stored in the first storage area when receiving the replacement instruction. In this way, after the system-on-chip receives the code update instruction, the automatic update of the code in the timing controller can be realized through the control of the system-on-chip, without manual code update, which can reduce the workload during code update and reduce costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display technologies, and particularly to a code update method, a system-on-chip, a timing controller, and a display device. Background Art

[0002] With the development of display technologies, people's demands for display images are becoming more and more diverse. Various codes required when the timing controller in a display device works, such as timing settings, voltage settings, optical parameters, etc., are burned into the memory externally attached to the timing controller when the display device leaves the factory. When the performance of the display device needs to be upgraded or market defective problems need to be solved in the later stage, the codes in the timing controller need to be updated manually, which will result in a large amount of work and high costs during code update.

[0003] Then, how to improve the efficiency of code update and reduce the cost of code update has become a technical problem to be solved urgently in this field. Summary of the Invention

[0004] Embodiments of the present invention provide a code update method, a system-on-chip, a timing controller, and a display device, so as to improve the efficiency of code update and reduce the cost of code update.

[0005] In a first aspect, an embodiment of the present invention provides a code update method for a timing controller, which is applied to the system-on-chip side and includes:

[0006] When receiving a code update instruction, sending a control instruction and new codes to the timing controller, so that the timing controller runs the new codes when receiving the control instruction;

[0007] When detecting that the timing controller is running the new codes stored in the first storage area normally, sending a replacement instruction to the timing controller, so that the timing controller replaces the old codes stored in the second storage area with the new codes when receiving the replacement instruction.

[0008] In a second aspect, an embodiment of the present invention provides a code update method for a timing controller, which is applied to the timing controller side and includes:

[0009] Receiving the control instruction and new codes sent by the system-on-chip, storing the new codes in the first storage area and running the new codes; the control instruction and the new codes are sent by the system-on-chip when receiving a code update instruction;

[0010] Receiving the replacement instruction sent by the system-on-chip, and replacing the old codes stored in the second storage area with the new codes stored in the first storage area; the replacement instruction is sent by the system-on-chip when detecting that the timing controller is running the new codes normally.

[0011] In a third aspect, an embodiment of the present invention provides a system-on-chip, including:

[0012] A memory for storing program instructions;

[0013] A processor for calling the program instructions stored in the memory and executing the code update method as introduced in the first aspect above according to the obtained program.

[0014] In a fourth aspect, an embodiment of the present invention provides a timing controller, including:

[0015] A memory for storing program instructions;

[0016] A processor for calling the program instructions stored in the memory and executing the code update method as introduced in the second aspect above according to the obtained program.

[0017] In a fifth aspect, an embodiment of the present invention provides a display device, including: the system-on-chip as introduced in the third aspect above, the timing controller as introduced in the fourth aspect above, a display screen, and an external memory;

[0018] The system-on-chip is electrically connected to the timing controller;

[0019] The timing controller is electrically connected to the display screen and the external memory respectively.

[0020] The beneficial effects of the present invention are as follows:

[0021] A code update method, a system-on-chip, a timing controller, and a display device provided by an embodiment of the present invention, when the system-on-chip receives a code update instruction, send a control instruction and new code to the timing controller, so that the timing controller runs the new code when receiving the control instruction; when the system-on-chip detects that the timing controller runs the new code normally, send a replacement instruction to the timing controller, so that the timing controller replaces the old code stored in the second storage area with the new code stored in the first storage area when receiving the replacement instruction. In this way, after the system-on-chip receives the code update instruction, the automatic update of the code in the timing controller can be realized through the control of the system-on-chip, without manual code update, which can reduce the workload during code update and reduce costs. Description of the Drawings

[0022] Figure 1 It is an interaction diagram of a code update method provided in an embodiment of the present invention;

[0023] Figure 2 It is a flowchart of a code update method provided in an embodiment of the present invention;

[0024] Figure 3 It is a flowchart of another code update method provided in an embodiment of the present invention;

[0025] Figure 4 It is a flowchart of yet another code update method provided in an embodiment of the present invention;

[0026] Figure 5 It is a schematic structural diagram of a system-on-chip provided in an embodiment of the present invention;

[0027] Figure 6 It is a schematic structural diagram of a timing controller provided in an embodiment of the present invention;

[0028] Figure 7 It is a schematic structural diagram of a display device provided in an embodiment of the present invention;

[0029] Figure 8 It is a specific schematic structural diagram of a display device provided in an embodiment of the present invention;

[0030] Figure 9 It is a connection schematic diagram of an external storage device provided in an embodiment of the present invention;

[0031] Figure 10 It is another connection schematic diagram of an external storage device provided in an embodiment of the present invention. Detailed implementation manners

[0032] The following will combine the accompanying drawings to elaborate in detail on the specific implementation manners of a code update method, a system-on-chip, a timing controller, and a display device provided in an embodiment of the present invention. It should be noted that the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.

[0033] The embodiment of the present invention provides a code update method for a timing controller, as Figure 1 shown, including:

[0034] S101. When the system-on-chip receives a code update instruction, send a control instruction and new code to the timing controller.

[0035] Among them, the system-on-chip can also be called an SoC, that is, System on Chip.

[0036] S102. After the timing controller receives the control instruction and new code, store the new code in the first storage area and run the new code.

[0037] Among them, the control instruction is used to control the timing controller to power on again and run the new code after receiving the new code, so as to realize the code upgrade in the timing controller; the process of the timing controller receiving the new code may include burning the new code to store the new code, and then running the new code.

[0038] S103. When the system-on-chip detects that the timing controller is running the new code stored in the first storage area normally, send a replacement instruction to the timing controller.

[0039] Among them, the normal operation of the timing controller running the new code includes: the new code is loaded normally, and the timing controller can work normally after running the new code.

[0040] S104. After the timing controller receives the replacement instruction, replace the old code stored in the second storage area with the new code.

[0041] In this way, after the system-on-chip receives the code update instruction, the automatic update of the code in the timing controller can be realized through the control of the system-on-chip, without manual code update, which can reduce the workload during code update, reduce costs, and also reduce the error rate.

[0042] Optionally, the method may further include: the timing controller adjusts the value of the running state information in the status register according to whether the new code runs normally. For example but not limited to, when the timing controller runs the new code normally, the value of the running state information can be set to 0x01h or True; when the timing controller runs the new code abnormally, the value of the running state information can be set to 0x00h or False. Of course, the specific form of the value of the running state information can be any value that can distinguish the first data and the second data, which is not limited here.

[0043] In this way, the value of the running state information can be used to mark whether the timing controller runs the new code normally, so that the system-on-chip can determine whether the timing controller runs the new code normally by detecting the value of the running state information in the status register.

[0044] Optionally, detecting whether the timing controller runs the new code normally includes:

[0045] Detecting the value of the running state information in the register of the timing controller;

[0046] Determining whether the timing controller runs the new code normally according to the detected value of the running state information.

[0047] In this way, the system-on-chip determines whether the timing controller runs the new code normally by detecting the value of the running state information in the status register of the timing controller, without manual operation, which improves the efficiency of code update.

[0048] Optionally, the external memory connected to the timing controller includes: a first storage area and a second storage area, and the first storage area is a backup area of the second storage area.

[0049] Wherein, the external memory may include at least one of Flash (flash memory) or EEPROM (Electrically Erasable Programmable Read Only Memory). The first storage area and the second storage area may be located in the same external memory, or the first storage area and the second storage area may be located in different external memories, or one of the first storage area and the second storage area is located in the cache of the timing controller and the other is located in the external memory, which can be designed according to actual needs and is not limited herein.

[0050] Moreover, the backup relationship between the first storage area and the second storage area may include, but is not limited to, other relationships such as a cloning relationship, a mirroring relationship, or a container relationship, etc. Taking the mirroring relationship as an example, the first storage area is the mirror area of the second storage area to achieve data backup.

[0051] In this way, by storing the new code in the first storage area, the old code is retained when testing the new code. Even if the timing controller cannot run properly with the new code or the user is not satisfied with the running effect of the new code, the old code backed up in the second storage area can still be used, making the code update process safer, more stable, and meeting the user's needs.

[0052] Optionally, after the above step S104, the method may further include: after sending the replacement instruction and when the update condition is satisfied, the system-on-chip sends a synchronization instruction to the timing controller, so that when the timing controller receives the synchronization instruction, it synchronizes the data stored in the first storage area and the second storage area; wherein, the update condition includes at least one of the following:

[0053] Reaching a preset synchronization period;

[0054] Receiving a synchronization command sent by the server;

[0055] Receiving a synchronization request sent by the timing controller.

[0056] Among them, the synchronization period can be a preset period or the reciprocal of a preset frequency, which can be pre-configured in the system-on-chip and the timing controller. The length of the synchronization period can be set according to actual needs and is not limited here. Moreover, after executing the above S104, the timing controller and the system-on-chip start timing simultaneously and determine whether the synchronization period is reached, or the timing controller and the system-on-chip may not start timing simultaneously but start calculating successively and determine whether the synchronization period is reached, which can be specifically set according to actual needs and is not limited here.

[0057] In this way, when the timing controller replaces the old code with the new code, the timing controller may not be able to determine whether the replacement is successful. After executing the replacement step and receiving the synchronization instruction, the data stored in the first storage area and the second storage area can be synchronized so that the data in the second storage area is consistent with the data in the first storage area, so as to avoid the problem that the new code cannot run effectively when the replacement fails, ensure the normal operation of the new code, and improve the stability and reliability of code update. Further, the method further includes: sending a synchronization request to the system-on-chip when the preset synchronization period is reached; and synchronizing the data stored in the first storage area and the second storage area when receiving the synchronization instruction sent by the system-on-chip.

[0058] Among them, synchronizing the data stored in the first storage area and the second storage area can be understood as replacing the data in the second storage area with the data in the first storage area, that is, deleting the old code in the second storage area and retaining the new code, so that before the next code update, the timing controller will run using the new code.

[0059] In this way, when the new code can make the timing controller run normally, it runs using the new code, completes the code update, and replaces the old code, which can save storage space.

[0060] In summary, after executing the above step S104, taking the case where the timing controller and the system-on-chip do not start timing simultaneously, and the system-on-chip starts timing and determines whether the synchronization period is reached when sending out the replacement instruction, and the timing controller starts timing and determines whether the synchronization period is reached when replacing the old code with the new code as an example, the specific synchronization process can include the following process:

[0061] For the system-on-chip side:

[0062] Process 1.1: The system-on-chip determines whether the current synchronization period is reached; if not, execute Process 1.2; if so, execute Process 1.3;

[0063] Process 1.2: The system-on-chip sends a synchronization instruction to the timing controller so that when the timing controller receives the synchronization instruction, it synchronizes the data stored in the first storage area and the second storage area; the synchronization process ends;

[0064] Process 1.3: The system-on-chip determines whether it has currently received a synchronization command sent by the server; if so, it executes the above Process 1.2; if not, it executes Process 1.4;

[0065] Process 1.4: The system-on-chip determines whether it has currently received a synchronization request sent by the timing controller; if so, it executes the above Process 1.2; if not, it continues to execute the above Process 1.1.

[0066] For the timing controller side:

[0067] Process 2.1: The timing controller determines whether it has currently received a synchronization instruction; if so, it executes Process 2.2; if not, it executes Process 2.3;

[0068] Process 2.2: The timing controller synchronizes the data stored in the first storage area and the second storage area; the synchronization process ends;

[0069] Process 2.3: The timing controller determines whether the current synchronization period has been reached; if so, it executes Process 2.4; if not, it continues to execute the above Process 2.1;

[0070] Process 2.4: The timing controller sends a synchronization request to the system-on-chip; return to the above Process 2.1.

[0071] Optionally, the method may further include: when the system-on-chip detects that the timing controller is running new code abnormally, it sends a control instruction and new code to the timing controller again so that the timing controller runs the new code again. Among them, the control instruction and new code sent to the timing controller again are the same as those sent for the first time. In this way, it can be realized to run again when the first run is abnormal, and the success rate of the timing controller being successfully updated can be improved by repeatedly sending the control instruction and new code multiple times, improving the stability of code update.

[0072] Optionally, the method may further include: when the number of times the system-on-chip sends new code to the timing controller reaches a preset number of times, it sends a stop update instruction to the timing controller so that the timing controller stops running the new code.

[0073] Among them, the preset number of times can also be set to be smaller to reduce the time occupied by code update and improve the code update efficiency; the preset number of times can also be set to be larger to further improve the success rate of code update. The specific value of the preset number of times is not limited here and can be set according to actual needs, which can improve the flexibility of display device design.

[0074] In this way, by restricting the number of times of sending new codes through the system-on-chip, the preset number of times can be made a reasonable value, thereby avoiding the time occupied by code update from being too long and improving the success rate of code update.

[0075] Optionally, the method may further include: when the code includes multiple modules and each module corresponds to a display parameter, if the display parameter to be updated is determined, a request instruction carrying the display parameter to be updated is sent to the server so that the server determines a new code according to the display parameter to be updated; receiving the new code sent by the server.

[0076] Furthermore, receiving the code update instruction includes: determining the display parameter to be updated.

[0077] Among them, the system-on-chip can control the timing controller, and then control the display screen to display a list including display parameters. The user can select the display parameter to be updated from the list, so that the display parameter to be updated can be determined according to the user's selection. After that, when the system-on-chip and the server are connected through a network or offline (such as the device debugging mode, and the device debugging mode is the mode in which the device is in the debugging process), the system-on-chip can feedback the display parameter to be updated to the server so that the server determines a new code according to the display parameter to be updated. Among them, the server can be, but is not limited to, other devices such as the base station background, and is not limited here.

[0078] Moreover, whether it is the old code or the new code, it will include multiple modules, and each module corresponds to a display parameter. As shown in Table 1 below, this table shows the display parameters that can be updated. Among them, ODC is Over Driver Compensation, that is, the over-drive compensation function, and DBI is deburn in, that is, the anti-burn-in function. Taking the example that the user selects to update the gamma value, the new code generated by the server includes: the module corresponding to the updated gamma value and the modules corresponding to other unupdated displays, so that only the module corresponding to the gamma value in the new code is updated, and other modules are not updated and are consistent with the old code.

[0079] Table 1

[0080]

[0081]

[0082] In addition, when the user selects the display parameters to be updated, it can be set that the code update instruction is received by default. In this way, when the display parameters to be updated are determined, the code update process can be automatically executed without waiting to receive the code reception instruction, that is, there is no need to let the user confirm whether to start the code update process, thus simplifying the steps of code update and improving the efficiency of code update. Of course, when the display parameters to be updated are determined, it is also possible to wait to receive the code update instruction, that is, the user can be allowed to confirm whether to start the code update process, and the code update process is executed when the code update instruction is received. This can increase the control over the code update process. Since code update takes a certain amount of time, it is possible to avoid updating when the user does not want to update the code at present and delay the update, improving the user experience.

[0083] In this way, the server can remotely send new codes to the system-on-chips of multiple display devices at the same time for code update, improving the code update efficiency; in addition, during the code update process, there is no need to disassemble the outer shell and shielding cover of the display device and externally connect a conversion wire, which can maintain the structural integrity of the display device, achieve code update without user perception, improve the user's comfort, and can reduce labor, capital, and time costs; by setting optional updates for various display parameters, intelligent control of the display parameters can be achieved, thereby improving the control of the hardware performance, which has great positive significance and application space for the development of intelligent hardware, and the user can independently select the most suitable display parameters for themselves, improving the user's comfort.

[0084] Optionally, the method may further include: determining that an acknowledgment instruction is received before sending the replacement instruction to the timing controller; wherein, the acknowledgment instruction is an instruction sent when the display effect of the display screen meets the user's requirements when the timing controller drives the display screen to display based on the new code.

[0085] Among them, to determine whether the display effect of the display screen meets the user's requirements, when the display screen displays based on the new code, the user can be asked whether to confirm the update effect. The user's confirmation means that the display effect of the display screen meets the user's requirements, otherwise it means that the display effect of the display screen does not meet the user's requirements. Of course, the specific inquiry method can be, but is not limited to, by voice or text.

[0086] In this way, the final effect of code update can be made more in line with the user's needs, improving the user's satisfaction.

[0087] Based on the same inventive concept, an embodiment of the present invention also provides a method for code update of a timing controller. The implementation principle of this code update method is similar to that of the foregoing code update method. The specific implementation manner of this code update method can refer to the embodiments of the foregoing code update method, and the repeated parts will not be described again.

[0088] Specifically, a method for code update of a timing controller provided by an embodiment of the present invention, as Figure 2 shown, when performing code update, it is applied to the system-on-chip side and includes:

[0089] S201. When receiving a code update instruction, send a control instruction and new code to the timing controller, so that the timing controller runs the new code when receiving the control instruction.

[0090] S202. When detecting that the timing controller is running the new code stored in the first storage area normally, send a replacement instruction to the timing controller, so that the timing controller replaces the old code stored in the second storage area with the new code when receiving the replacement instruction.

[0091] Based on the same inventive concept, an embodiment of the present invention also provides a method for code update of a timing controller. The implementation principle of this code update method is similar to that of the foregoing code update method. For the specific implementation manner of this code update method, reference can be made to the embodiments of the foregoing code update method, and the repeated parts will not be elaborated here.

[0092] Specifically, a method for code update of a timing controller provided by an embodiment of the present invention, as Figure 3 shown, when performing code update, it is applied to the timing controller side and includes:

[0093] S301. Receive the control instruction and new code sent by the system-on-chip, store the new code in the first storage area and run the new code; the control instruction and new code are sent by the system-on-chip when receiving a code update instruction;

[0094] S302. Receive the replacement instruction sent by the system-on-chip, and replace the old code stored in the second storage area with the new code stored in the first storage area; the replacement instruction is: sent by the system-on-chip when detecting that the timing controller is running the new code normally.

[0095] Next, in combination with specific embodiments, the code update method provided by the embodiments of the present invention will be explained.

[0096] As Figure 4 shown, the code update includes the following steps:

[0097] S1. The system-on-chip displays the display parameters that can be updated through the display screen, and after the user makes a selection, determines the display parameters to be updated;

[0098] S2. The system-on-chip sends the display parameters to be updated to the server, so that the server generates new code based on the display parameters to be updated;

[0099] Among them, the new code is the code that can update the display parameters to be updated.

[0100] S3. The server sends the new code to the system-on-chip;

[0101] S4. The system-on-chip receives the new code;

[0102] S5. The system-on-chip sends a control instruction and the new code to the timing controller;

[0103] S6. The timing controller stores the new code in the first storage area, runs the new code, and adjusts the value of the running status information in the status register according to the running result;

[0104] S7. The system-on-chip detects the value of the running status information in the status register of the timing controller, and determines whether the new code runs normally on the timing controller; if so, execute step S8; if not, execute step S14;

[0105] S8. The system-on-chip determines whether an acknowledgement instruction is received; if so, execute step S9; if not, execute step S15;

[0106] Wherein, after the timing controller runs the new code, it can drive the display screen to display a picture, which can be a preset picture or other pictures. The user determines whether the requirements are met according to the display effect of the picture. If the requirements are met, the user can input a confirmation through other means such as a touch screen, buttons, a remote control, or voice input. At this time, the system-on-chip can receive the acknowledgement instruction.

[0107] S9. The system-on-chip sends a replacement instruction to the timing controller;

[0108] S10. The timing controller transfers the new code in the first storage area to the second storage area and replaces the old code;

[0109] S11. When the timing controller determines that the preset synchronization period has been reached, it sends a synchronization request to the system-on-chip;

[0110] S12. After receiving the synchronization request, the system-on-chip sends a synchronization instruction to the timing controller;

[0111] S13. After receiving the synchronization instruction, the timing controller synchronizes the data in the second storage area with the data in the first storage area; the process ends;

[0112] Wherein, after synchronization, the new code is stored in the second storage area, so the timing controller uses the new code for operation later.

[0113] S14. The system-on-chip determines whether the number of times of sending the new code has reached the preset number of times; if so, execute step S15; if not, return to step S5;

[0114] S15. The timing controller continues to run using the old code.

[0115] Based on the same inventive concept, an embodiment of the present invention further provides a system-on-chip. The implementation principle of this system-on-chip is similar to that of the foregoing code update method. For the specific implementation manner of this system-on-chip, reference may be made to the embodiments of the foregoing code update method, and repeated parts will not be elaborated.

[0116] Specifically, a system-on-chip provided by an embodiment of the present invention, as Figure 5 shown, includes:

[0117] A memory 501 for storing program instructions;

[0118] A processor 502 for calling the program instructions stored in the memory 501 and executing the code update method described above according to the obtained program.

[0119] Based on the same inventive concept, an embodiment of the present invention further provides a timing controller. The implementation principle of this timing controller is similar to that of the foregoing code update method. For the specific implementation manner of this timing controller, reference may be made to the embodiments of the foregoing code update method, and repeated parts will not be elaborated.

[0120] Specifically, a timing controller provided by an embodiment of the present invention, as Figure 6 shown, includes:

[0121] A memory 601 for storing program instructions;

[0122] A processor 602 for calling the program instructions stored in the memory 601 and executing the code update method described above according to the obtained program.

[0123] Based on the same inventive concept, an embodiment of the present invention further provides a display device, as Figure 7 shown, includes:

[0124] The system-on-chip 701 described above, the timing controller 702 described above, a display screen 703, and an external memory 704; the system-on-chip 701 is electrically connected to the timing controller 702; the timing controller 702 is electrically connected to the display screen 703 and the external memory 704.

[0125] Wherein, as Figure 8As shown, the display device may further include a source driver, and the timing controller is connected to the display screen through the source driver. In addition, the server and the system-on-chip may be connected by a wired method, such as through a network cable, or may be connected by a wireless method, such as through Bluetooth. The system-on-chip may be disposed on the motherboard 2, and other devices and structures, such as a wireless signal receiver, a wired signal receiver, etc., may also be included on the motherboard 2. Figure 8 are not shown; the timing controller and the Flash or EEPROM may be disposed on the motherboard 1, and other devices and structures may also be included on the motherboard 1. The system-on-chip and the timing controller may be connected through an I2C (Inter-Integrated Circuit) bus. The I2C bus includes an SDA (Serial Data Line) and an SCL (Serial Clock Line). The SDA is used to transmit control instructions, replacement instructions, and new codes, and the SCL is used to transmit clock signals. Of course, the system-on-chip and the timing controller may also be connected through other interfaces such as JTAG (Joint Test Action Group) and UART (Universal Asynchronous Receiver / Transmitter), which are not limited herein.

[0126] When the external memory is an EEPROM, as Figure 9 shown, the timing controller and the external memory may also be connected through an I2C bus. At this time, the new code may be directly stored in the first storage area of the external memory through the I2C bus. When the external memory is a Flash, as Figure 10 shown, the timing controller and the external memory may be connected through an SPI (Serial Peripheral Interface) bus. At this time, the new code may be stored in the first storage area of the external memory through the transfer of the timing controller. It should be understood that Figure 9 and Figure 10 the I2C buses in both include an SDA and an SCL.

[0127] When the code in the timing controller needs to be updated, the server sends the new code and a code update instruction to the system-on-chip. When the system-on-chip receives the new code and the code update instruction, it sends the new code and the control instruction to the timing controller. The timing controller stores the new code in the first storage area of the external memory to implement the programming of the new code. Then, it powers on and runs the new code again based on the control instruction. When the system-on-chip detects that the timing controller is running the new code normally, it sends a replacement instruction to the timing controller, causing the timing controller to transfer the new code in the first storage area to the second storage area of the external memory and replace the original old code with the new code, thus realizing the code update in the timing controller.

[0128] In this way, for a display device, through remote code update, within the range supported by the display device, the overall performance of the display device can be improved. Moreover, for old display devices, they can also be upgraded, having a very broad application scenario. For example, for a display device originally set to support a frame rate of 60Hz, but the screen and the timing controller itself can support a frame rate of 120Hz. At this time, the frame rate can be increased to 120Hz through code update to improve the performance of the display device and enhance its competitiveness. Thus, the intelligent control of the underlying hardware of the display device is realized, which has great positive significance and application space for the development of intelligent hardware. Also, when using the display device, users can choose to update some codes to autonomously adjust the parameters of the display device, such as refresh rate, color temperature, color gamut, gamma value, maximum brightness, Over Drive value, etc., improving the applicable range of the display device.

[0129] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and its equivalent technologies, the present invention also intends to include these changes and modifications.

Claims

1. A code updating method for a timing controller, characterized in that: include: When receiving the code update instruction, sending the control instruction and the new code to the timing controller, so that the timing controller runs the new code when receiving the control instruction; When it is detected that the timing controller is running the new code stored in the first storage area normally, a replacement instruction is sent to the timing controller, so that the timing controller replaces the old code stored in the second storage area with the new code when receiving the replacement instruction; The code updating method further includes: when the code includes a plurality of modules, each module corresponds to a display parameter, before sending the control instruction and the new code to the timing controller, if the display parameter to be updated is determined, sending a request instruction carrying the display parameter to be updated to the server, so that the server determines the new code according to the display parameter to be updated; receiving the new code sent by the server; the display parameter to be updated includes: at least one of gamma value, ODC, refresh rate, DBI, color gamut, brightness, energy saving, and viewing angle; Wherein, receiving the code update instruction includes: determining the display parameter to be updated; The first storage area is a backup area of ​​the second storage area; After sending the replacement instruction and when the update condition is met, sending a synchronization instruction to the timing controller, so that the timing controller synchronizes the data stored in the first storage area and the second storage area when receiving the synchronization instruction; The update condition includes at least one of the following: Reach the preset synchronization period; Receive the synchronization command sent by the server; A synchronization request sent by the timing controller is received.

2. The code updating method according to claim 1, characterized in that: Detecting whether the timing controller runs the new code normally includes: Detecting the operation status information value in the register of the timing controller; According to the detected running status information value, it is determined whether the timing controller runs the new code normally.

3. The code updating method according to claim 1, characterized in that: Also includes: When it is detected that the timing controller does not run the new code normally, the control instruction and the new code are sent to the timing controller again.

4. The code updating method according to claim 3, characterized in that: Also includes: When the number of times the new code is sent to the timing controller reaches a preset number, a stop updating instruction is sent to the timing controller so that the timing controller stops running the new code.

5. The code updating method according to any one of claims 1 to 4, characterized in that: Also includes: Before sending a replacement instruction to the timing controller, determining that a confirmation instruction is received; The confirmation instruction is an instruction issued when the timing controller drives the display screen to display based on the new code and the display effect of the display screen meets the user's requirements.

6. A code updating method for a timing controller, characterized in that: include: receiving a control instruction and a new code sent by the system-level chip, storing the new code in a first storage area and running the new code; The control instruction and the new code are sent by the system-on-chip when receiving a code update instruction; receiving a replacement instruction sent by the system-level chip, and replacing the old code stored in the second storage area with the new code stored in the first storage area; The replacement instruction is: sent by the system-level chip when it detects that the timing controller runs the new code normally; The code updating method further includes: when the code includes a plurality of modules, each module corresponds to a display parameter, before receiving the control instruction and the new code sent by the system-level chip, if the display parameter to be updated is determined, receiving the new code corresponding to the display parameter to be updated; the display parameter to be updated includes: at least one of gamma value, ODC, refresh rate, DBI, color gamut, brightness, energy saving, and viewing angle; The external memory connected to the timing controller includes: the first storage area and the second storage area, the first storage area being a backup area of ​​the second storage area; Also includes: When a preset synchronization period is reached, sending a synchronization request to the system-level chip; When receiving the synchronization instruction sent by the system-on-chip, the data stored in the first storage area and the data stored in the second storage area are synchronized.

7. The code updating method according to claim 6, characterized in that: Also includes: The running status information value in the status register is adjusted according to whether the running status of the new code is normal.

8. A system-on-chip, characterized in that: include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory and execute the code updating method according to any one of claims 1 to 5 according to the obtained program.

9. A timing controller, characterized in that: include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory and execute the code updating method according to any one of claims 6 to 7 according to the obtained program.

10. A display device, characterized in that: include: The system-on-chip as claimed in claim 8, the timing controller as claimed in claim 9, the display screen, and the external memory; The system-level chip is electrically connected to the timing controller; The timing controller is electrically connected to the display screen and the external memory respectively.

Citation Information

Patent Citations

  • Remote online upgrading method and device of vehicle-mounted control terminal

    CN106506649A