Detection method, electronic device and storage medium

By self-detection of the display driver and sending feedback signals, the problem of slow acquisition of abnormal information by microcontrollers in the prior art is solved, timely repair and detection efficiency are achieved, and interference from image processing chips is avoided.

CN111858209BActive Publication Date: 2024-11-08SHANGHAI CHUANGGONG COMM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010633720.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-02
Publication Date
2024-11-08
Estimated Expiration
2040-07-02

AI Technical Summary

Technical Problem

In the prior art, after the status parameters of the display driver are transmitted to the microcontroller, the microcontroller needs to determine whether the display driver is abnormal, resulting in the slow speed of obtaining abnormal information and the display driver cannot be repaired in time.

Method used

The display driver detects abnormalities by itself and sends feedback signals to the microcontroller. The microcontroller repairs the abnormal signals by directly receiving abnormal signals, avoiding the signal passing through the image processing chip, reducing judgment pressure and repair delay.

Benefits of technology

The microcontroller can obtain abnormal information of the display driver more timely and repair it in a timely manner, improve the detection efficiency and repair speed of the display driver, and avoid interference from the image processing chip on the detection process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111858209B_ABST
    Figure CN111858209B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention relate to the display field, and disclose a detection method, an electronic device, and a storage medium. In the present invention, it is detected whether the display driver is abnormal; if the display driver is abnormal, a feedback signal representing the abnormality is sent to a microcontroller connected to the display driver, so that the microcontroller can repair the display driver according to the feedback signal representing the abnormality. The present application detects whether the display driver itself is abnormal by itself. After the display driver detects that it is abnormal, the feedback signal representing the abnormality is sent to the microcontroller, so that the microcontroller can directly obtain the abnormal information of the display driver. The microcontroller can obtain the abnormal information of the display driver more timely and repair the display driver in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the display field, and in particular to a detection method, an electronic device and a storage medium. Background Art

[0002] At present, in the display field, in order to avoid display failures such as screen distortion and black screen during the display process, the common practice in the prior art is to obtain the status parameters of the display driver after the microcontroller periodically sends detection instructions to the display driver of the display. When the status parameters of the display driver detected by the microcontroller are abnormal, it is determined that the display driver is abnormal, that is, a display failure problem occurs.

[0003] The inventors have discovered that there are at least the following problems in the prior art: after the status parameters of the display driver are transmitted to the microcontroller, the microcontroller still needs to determine whether the status parameters of the display driver are abnormal, thereby determining whether the display driver is abnormal, and then obtaining the abnormal information of the display driver. This will cause the microcontroller to obtain the abnormal information of the display driver at a slow speed, and the display driver cannot be repaired in time. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a detection method, an electronic device and a storage medium, so that a microcontroller can obtain abnormal information of a display driver more timely and repair the display driver in time.

[0005] To solve the above technical problems, an embodiment of the present invention provides a detection method applied to a display driver; the detection method comprises: detecting whether the display driver has an abnormality; if the display driver has an abnormality, sending a feedback signal indicating the abnormality to a microcontroller connected to the display driver, so that the microcontroller can repair the display driver according to the feedback signal indicating the abnormality.

[0006] An embodiment of the present invention further provides a detection method, comprising: being applied to a microcontroller; the detection method comprising: receiving a feedback signal indicating an abnormality sent by the display driver connected to the microcontroller; and repairing the display driver according to the feedback signal indicating the abnormality.

[0007] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned detection method.

[0008] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above detection method when executed by a processor.

[0009] Compared with the prior art, the embodiment of the present invention allows the display driver to detect whether it has an abnormality. When the display driver detects that it has an abnormality, it sends a feedback signal indicating the abnormality to the microcontroller, so that the microcontroller can directly obtain the abnormal information of the display driver. The microcontroller can obtain the abnormal information of the display driver more timely and repair the display driver in time.

[0010] In addition, the detecting whether the display driver is abnormal includes: detecting the value of the state identifier of the display driver, and determining whether the display driver is abnormal according to the value of the state identifier; wherein the state identifier has different values ​​when the state of the display driver is normal or abnormal. By judging whether the display driver is abnormal according to the value of the state identifier of the display driver, the pressure of judging abnormality of the display driver can be reduced.

[0011] In addition, the value of the state identifier is the value of a register in the display driver.

[0012] In addition, the first end of the microcontroller is connected to the first end of the display driver through the image processing chip to form a first path; the second end of the microcontroller is directly connected to the second end of the display driver to form a second path; the sending of the feedback signal representing the abnormality to the microcontroller includes: sending the feedback signal representing the abnormality to the microcontroller through the second path. The display driver detects its own abnormality. When the display driver detects that it is abnormal, the feedback signal representing the abnormality can be directly sent to the microcontroller through the second channel, so that the abnormal feedback signal can be detected without passing through the image processing chip, thereby making the detection method of the present application free from the interference of the image processing chip on the display driver detection process. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0014] Figure 1 is a schematic flow chart of a detection method according to a first embodiment of the present invention;

[0015] Figure 2 is a schematic structural diagram of a detection system corresponding to a detection method according to a second embodiment of the present invention;

[0016] Figure 3 is a flow chart of a detection method according to a second embodiment of the present invention;

[0017] Figure 4 is a schematic flow chart of a detection method according to a third embodiment of the present invention;

[0018] Figure 5 is a schematic flow chart of a detection method according to a fourth embodiment of the present invention;

[0019] Figure 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. Specific embodiments

[0020] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0021] The first embodiment of the present invention relates to a detection method, the specific process is as follows Figure 1 As shown, the following steps are included:

[0022] Step 101, detecting whether a display driver is abnormal.

[0023] Specifically, the detection system corresponding to the detection method of this embodiment includes a display driver and a microcontroller, wherein the execution subject of this embodiment is the display driver.

[0024] In actual applications, the display driver can periodically detect whether it has any abnormalities, and at the same time, it will send a feedback signal to the microcontroller each time it detects; when the display driver detects itself as normal, the display driver sends a feedback signal indicating normality to the microcontroller, and when the display driver detects itself as abnormal, the display driver sends a feedback signal indicating abnormality to the microcontroller.

[0025] Step 102 : If the display driver is abnormal, a feedback signal indicating the abnormality is sent to a microcontroller connected to the display driver, so that the microcontroller can repair the display driver according to the feedback signal indicating the abnormality.

[0026] Specifically, when the display driver detects itself as abnormal, the display driver sends a feedback signal indicating the abnormality to the microcontroller. After the microcontroller receives the feedback signal indicating the abnormality, that is, the microcontroller receives a signal indicating that the display driver is working abnormally, the microcontroller starts a repair program.

[0027] In actual applications, the display driver will periodically send a feedback signal to the microcontroller; when the display driver detects itself as normal, the display driver will send a feedback signal indicating normality to the microcontroller. After receiving the feedback signal indicating normality, the microcontroller will not start the repair program; when the display driver detects itself as abnormal, the display driver will change the signal strength of the feedback signal, that is, the feedback signal now indicates abnormality, and send a feedback signal indicating abnormality to the microcontroller, so that the microcontroller can determine whether the feedback signal is abnormal based on the signal strength of the feedback signal. When the microcontroller determines that the received feedback information is a feedback signal indicating abnormality, the microcontroller starts the repair program to repair the display driver.

[0028] The conventional detection method used in the prior art is to obtain the state parameters of the display driver after the microcontroller sends a detection instruction to the display driver, and the microcontroller determines whether the parameters of the display driver are abnormal. When the microcontroller determines that the state parameters of the display driver are abnormal, it indicates that the display driver is abnormal. Since the state parameters of the display driver are transmitted to the microcontroller, the microcontroller still needs to determine whether the display driver is abnormal before obtaining the abnormal information of the display driver, which will cause the microcontroller to obtain the abnormal information of the display driver at a slow speed. Therefore, in this embodiment, the display driver detects whether it is abnormal by itself. After the display driver detects that it is abnormal, a feedback signal representing the abnormality is sent to the microcontroller, so that the microcontroller can directly obtain the abnormal information of the display driver. Compared with the prior art, the microcontroller can obtain the abnormal information of the display driver more timely and repair the display driver in time.

[0029] In one example, detecting whether a display driver is abnormal includes: detecting a value of a state identifier of the display driver, and determining whether the display driver is abnormal according to the value of the state identifier; wherein the state identifier has different values ​​when the state of the display driver is normal or abnormal. Specifically, there is a state identifier inside the display driver, and the value of the state identifier can be determined according to the running state of the display driver. When the display driver is abnormal, the value of the state identifier will be different from the value of the state identifier when it is normal; therefore, this embodiment determines whether the display driver is abnormal according to the value of the state identifier of the display driver, which can reduce the pressure of the display driver to judge.

[0030] In one example, the value of the status identifier is the value of a register in the display driver. Specifically, there is a register in the display driver, and the value of the register changes according to the operating state of the display driver. For example, when the operating state of the display driver is normal, the value of the register is a fixed value A, and when the operating state of the display driver is abnormal, the value of the register is an uncertain value B, where A is not equal to B, that is, when the current register value is different from the fixed value A, it means that the operating state of the display driver is abnormal, and the display driver will send a feedback signal indicating the abnormality to the microcontroller. In other embodiments, it can be determined whether the display driver is abnormal by the value of other status identifiers of the display driver.

[0031] The second embodiment of the present invention relates to a detection method. The second embodiment is substantially the same as the first embodiment, with the main difference being that in the second embodiment of the present invention, sending a feedback signal representing an abnormality to a microcontroller includes sending a feedback signal representing an abnormality to the microcontroller through a second path. In addition, those skilled in the art will appreciate that the specific details of the first embodiment described above are still valid in this embodiment, and will not be described again to avoid repetition.

[0032] The structural diagram of the detection system corresponding to the detection method of this embodiment is as follows Figure 2 As shown, the detection system includes a microcontroller 201, a display driver 202, and an image processing chip 203. The first end a of the microcontroller 201 is connected to the first end b of the display driver 202 through the image processing chip 203 to form a first path; the second end d of the microcontroller 201 is directly connected to the second end c of the display driver 202 to form a second path.

[0033] The schematic flow chart of the detection method of this embodiment is as follows Figure 3 As shown, the specific steps include:

[0034] Step 301, detecting whether the display driver 202 is abnormal.

[0035] Step 302 : If the display driver 202 is abnormal, a feedback signal indicating the abnormality is sent to the microcontroller 201 through the second path.

[0036] There is a conventional detection method in the prior art, in which a detection instruction is sent by a microcontroller to a display driver, thereby obtaining the state parameters of the display driver and enabling the microcontroller to detect the display driver. The detection instruction sent by the microcontroller is sent via MIPI (Mobile Industry Processor Interface). In the prior art, in order to improve the display effect of the display, an image processing chip is arranged between the microcontroller and the display driver. However, those skilled in the art know that the signal sent via MIPI will be intercepted by the image processing chip, thereby causing the detection instruction sent by the microcontroller to the display driver to be intercepted by the image processing chip. In this application scenario, the conventional detection method cannot effectively inspect the display.

[0037] Therefore, in this embodiment, the display driver 202 detects its own abnormality. When the display driver 202 detects that it is abnormal, the feedback signal representing the abnormality can be directly sent to the microcontroller 201 through the second channel, so that the abnormal feedback signal can be detected without passing through the image processing chip 203. In addition, after receiving the abnormal feedback signal, the microcontroller 201 repairs the display driver 202. The repair process does not need to be sent through MIPI. Therefore, the repair process will not be blocked by the image processing chip 203, so that the detection method of the present application is free from the interference of the image processing chip 203 on the detection process of the display driver 202.

[0038] The third embodiment of the present invention relates to a detection method, the specific process is as follows Figure 4 As shown, the following steps are included:

[0039] Step 401: receiving a feedback signal indicating an abnormality sent by a display driver connected to a microcontroller.

[0040] Specifically, the detection system corresponding to the detection method of this embodiment includes a display driver and a microcontroller, wherein the execution subject of this embodiment is the microcontroller.

[0041] Step 402: repair the display driver according to the feedback signal indicating the abnormality.

[0042] It is not difficult to find that this embodiment is a method embodiment corresponding to the first embodiment, and this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.

[0043] In one example, after receiving an abnormal feedback signal sent by a display driver, the method includes: detecting the signal strength of the feedback signal representing the abnormality; wherein the signal strength of the feedback signal representing the abnormality is different from the signal strength of the feedback signal representing the normality; and repairing the display driver according to the feedback signal representing the abnormality, including: if the signal strength of the feedback signal representing the abnormality does not match the signal strength of the feedback signal representing the normality, then repairing the display driver. Since the signal strength of the abnormal feedback signal is different from the signal strength of the normal situation, the microcontroller determines whether the display driver is abnormal by the signal strength of the feedback signal, thereby repairing the display driver. Compared with the prior art, the present application reduces the processing burden of the microcontroller.

[0044] In one example, repairing the display driver includes resetting the display driver. Specifically, after the microcontroller determines that the display driver is abnormal, the display driver is reset to repair the abnormality of the current display driver.

[0045] The fourth embodiment of the present invention relates to a detection method. The fourth embodiment is substantially the same as the third embodiment, and the main difference is that: in the fourth embodiment of the present invention, receiving a feedback signal indicating an abnormality sent by a display driver includes: receiving a feedback signal indicating an abnormality sent by the display driver through a second path. In addition, those skilled in the art can understand that the specific details of the third embodiment are still valid in this embodiment, and are not described again to avoid repetition.

[0046] The schematic flow chart of the detection method of this embodiment is as follows Figure 5 As shown, the specific steps include:

[0047] Step 501: receiving a feedback signal indicating an abnormality sent by a display driver through a second path.

[0048] Step 502: Repair the display driver according to the feedback signal indicating the abnormality.

[0049] Since the second embodiment corresponds to this embodiment, this embodiment can be implemented in conjunction with the second embodiment. The relevant technical details mentioned in the second embodiment are still valid in this embodiment, and the technical effects that can be achieved in the second embodiment can also be achieved in this embodiment. In order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the second embodiment.

[0050] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0051] A fifth embodiment of the present invention relates to an electronic device, such as Figure 6 As shown, it includes at least one processor 602; and a memory 601 that is communicatively connected to the at least one processor 602; wherein the memory 601 stores instructions that can be executed by the at least one processor 602, and the instructions are executed by the at least one processor 602 so that the at least one processor 602 can execute the above-mentioned detection method.

[0052] Among them, the memory 601 and the processor 602 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 602 and the memory 601 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 602 is transmitted on a wireless medium through an antenna, and further, the antenna also receives data and transmits the data to the processor 602.

[0053] The processor 602 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 601 can be used to store data used by the processor 602 when performing operations.

[0054] A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0055] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0056] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A detection method, characterized in that: Applied to display driver; The detection method comprises: Detecting whether the display driver is abnormal; If the display driver is abnormal, a feedback signal indicating the abnormality is sent to a microcontroller connected to the display driver, so that the microcontroller can repair the display driver according to the feedback signal indicating the abnormality; The first end of the microcontroller is connected to the first end of the display driver through the image processing chip to form a first path; the second end of the microcontroller is directly connected to the second end of the display driver to form a second path; The step of sending a feedback signal indicating an abnormality to a microcontroller connected to the display driver comprises: The feedback signal indicating the abnormality is sent to the microcontroller through the second path.

2. The detection method according to claim 1, characterized in that: The detecting whether the display driver is abnormal includes: The value of the state identifier of the display driver is detected, and whether the display driver is abnormal is determined according to the value of the state identifier; wherein the state identifier has different values ​​when the state of the display driver is normal or abnormal.

3. The detection method according to claim 2, characterized in that: The value of the status identifier is the value of a register in the display driver.

4. A detection method, characterized in that: Applied to a microcontroller; the detection method comprises: receiving a feedback signal indicating an abnormality sent by a display driver connected to the microcontroller; Repairing the display driver according to the feedback signal indicating the abnormality; The first end of the microcontroller is connected to the first end of the display driver through the image processing chip to form a first path; the second end of the microcontroller is directly connected to the second end of the display driver to form a second path; The step of receiving a feedback signal indicating an abnormality sent by a display driver connected to the microcontroller comprises: The feedback signal indicating the abnormality sent by the display driver is received through the second path.

5. The detection method according to claim 4, characterized in that: After receiving the abnormal feedback signal sent by the display driver, the method further comprises: Detecting the signal strength of the feedback signal representing the abnormality; wherein the signal strength of the feedback signal representing the abnormality is different from the signal strength of the feedback signal representing the normality; The repairing the display driver according to the feedback signal indicating the abnormality includes: If the signal strength of the feedback signal representing the abnormality does not match the signal strength of the feedback signal representing the normality, the display driver is repaired.

6. The detection method according to claim 4, characterized in that: The repairing of the display driver according to the feedback signal indicating the abnormality includes: Resetting the display driver.

7. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the detection method described in any one of claims 1 to 3, or execute the detection method described in any one of claims 4 to 6.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the computer program implements the detection method described in any one of claims 1 to 3, or implements the detection method described in any one of claims 4 to 6.