WO2022037495A1 - Display screen anomaly recovery method and apparatus, computer device, and storage medium - Google Patents

Display screen anomaly recovery method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2022037495A1
WO2022037495A1 PCT/CN2021/112527 CN2021112527W WO2022037495A1 WO 2022037495 A1 WO2022037495 A1 WO 2022037495A1 CN 2021112527 W CN2021112527 W CN 2021112527W WO 2022037495 A1 WO2022037495 A1 WO 2022037495A1
Authority
WO
WIPO (PCT)
Prior art keywords
display screen
esd
abnormal
register
ddic
Prior art date
Application number
PCT/CN2021/112527
Other languages
French (fr)
Chinese (zh)
Inventor
钟柳和
Original Assignee
深圳市万普拉斯科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2022037495A1 publication Critical patent/WO2022037495A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/006Electronic inspection or testing of displays and display drivers, e.g. of LED or LCD displays

Definitions

  • the present application relates to the field of mobile communication equipment, and in particular, to a method, device, computer equipment and storage medium for abnormal recovery of a display screen.
  • the monitor is used to display images and colors.
  • the display screen of the mobile phone generally uses an OLCD screen (Organic Light-Emitting Diode, organic electro-optical laser display).
  • ESD Electro-Static discharge, electrostatic discharge
  • the recovery methods after the abnormal display screen is hit by static electricity generally include DDIC (Display Driver Integrated Circuit) register readback judgment, TE (Tear Effect, tearing effect) detection judgment, etc.
  • the existing DDIC register readback judgment method is generally set to read back every 5 seconds to judge whether the display on the screen is normal.
  • processor, application processor) side controls the DDIC to perform hardware reset recovery. If the time interval of readback is reduced, the power consumption of the whole machine will increase and the performance will be affected. Therefore, if the display screen is abnormal, it will take up to 5 seconds to automatically recover. too long.
  • a first aspect of the present application relates to a method for abnormal recovery of a display screen, the method comprising:
  • the DDIC state is detected by the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, an ESD display screen abnormal recovery operation is performed.
  • a second aspect of the present application relates to a display screen abnormality recovery device, the device comprising:
  • the queue start module is used to start the ESD detection work queue
  • a signal receiving module for judging whether an abnormal register signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
  • a first exception recovery module configured to perform an ESD display screen exception recovery operation when receiving the register exception signal
  • a second abnormality recovery module configured to detect the DDIC state through the ESD detection work queue when the register abnormality signal is not received, and execute ESD when the ESD detection work queue detects that the DDIC state is abnormal The display abnormally resumes operation.
  • a third aspect of the present application relates to a computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • the DDIC state is detected by the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, an ESD display screen abnormal recovery operation is performed.
  • a fourth aspect of the present application relates to a computer-readable storage medium having a computer program stored thereon, the computer program implementing the following steps when executed by a processor:
  • the DDIC state is detected by the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, an ESD display screen abnormal recovery operation is performed.
  • FIG. 1 is an application environment diagram of a display screen abnormality recovery method in one embodiment
  • FIG. 2 is a schematic flowchart of a method for recovering abnormality of a display screen in one embodiment
  • FIG. 3 is a schematic diagram of a sub-flow of performing an abnormal recovery operation of an ESD display screen in one embodiment
  • Fig. 4 is a sub-flow schematic diagram of abnormal recovery steps performed by a display screen when playing a video in one embodiment
  • FIG. 5 is a schematic flowchart of a method for recovering abnormality of a display screen in a more specific embodiment
  • FIG. 6 is a structural block diagram of a display screen abnormality recovery device in one embodiment
  • FIG. 7 is a diagram of the internal structure of a computer device in one embodiment.
  • the display abnormality recovery method provided by the present application can be applied to the application environment shown in FIG. 1 .
  • an application processor Application Processor, AP
  • a display driver integrated circuit Display Driver Integrated Circuit, DDIC
  • the application processor is connected with each pin of the display driving integrated circuit.
  • the application processor starts the ESD detection work queue; judges whether the abnormal register signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue; when the abnormal register signal is received, it executes the abnormal recovery of the ESD display screen Operation: When the register abnormal signal is not received, the DDIC state is detected through the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, the ESD display abnormal recovery operation is performed.
  • a method for abnormal recovery of a display screen is provided, and the method is applied to the application processor in FIG. 1 as an example to illustrate, including the following steps:
  • Step 201 start the ESD detection work queue.
  • the ESD detection work queue specifically refers to a work queue for detecting whether an ESD abnormality occurs on the display screen.
  • ESD means "Electrostatic Discharge”.
  • ESD can cause malfunction or damage to electronic equipment, and can cause permanent damage to semiconductor devices when placed alone or into circuit modules, even when power is not applied. That is, ESD can easily cause magnetization and aging of the display screen and affect the normal operation of the display screen.
  • the ESD detection work queue may specifically be a circular work queue created at the system kernel (kernel) layer. Specifically, every time the display screen is turned on, the application processor can start an ESD detection work queue at the system kernel layer to detect whether the system display screen is in an ESD abnormal state. After the screen is turned off, the ESD detection work queue will be canceled through the corresponding cancel command.
  • the application processor can create a continuously circulating work queue at the system kernel layer to monitor whether an ESD abnormality occurs on the screen. When the abnormal recovery of the display screen is performed, it can be judged directly from the ESD detection work queue.
  • Step 203 Determine whether a register exception signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue.
  • the preset detection waiting time refers to the waiting time corresponding to the readback time (cycle time) set in the ESD detection work queue, which is a period of time. If the cycle of the ESD detection work queue is set to 5 seconds, the preset detection waiting time specifically refers to the 5 seconds after the start of each cycle of the ESD detection work queue.
  • the judging process specifically refers to judging whether a register abnormal signal sent by the DDIC corresponding to the display screen is received within the 5 seconds.
  • the present application can detect the abnormality of the display screen in the form of triggering the error flag of the application processor.
  • the DDIC detects that the screen is abnormal, it can directly send the corresponding register exception signal to the application processor to trigger the error flag of the application processor.
  • the abnormal recovery of the display screen is triggered by the error flag, and when the DDIC does not detect the abnormality of the screen, the ESD detection work queue can be used to detect whether the display screen is abnormal.
  • Step 205 when the register abnormal signal is received, the abnormal recovery operation of the ESD display screen is performed.
  • the DDIC has a built-in detection mechanism for some abnormality of the display screen, such as the abnormality of the ESD display screen in the form of a common black screen or a green screen.
  • the built-in anomaly detection mechanism in the DDIC can detect it immediately, that is, the self-detection of the DDIC.
  • the DDIC can send a corresponding register exception signal to the application processor.
  • the register exception signal specifically includes a register exception interrupt signal, the register exception interrupt signal is generated after the DDIC is struck by ESD, and is automatically generated by the abnormality detection device provided in the DDIC. Since the DDIC contains an ESD state detection logic circuit, it can be used to detect some abnormality of the ESD display screen.
  • a part of the ESD state detection logic circuit inside the DDIC can send the register exception interrupt signal to the application processor by interrupting the abnormality of the DDIC.
  • the interrupt signal pin of DDIC is connected with the application processor.
  • the application processor can directly receive the register exception interrupt signal sent by the DDIC through the interrupt signal pin.
  • the abnormal recovery operation of the ESD display screen is carried out. Reset the abnormal display screen to its original state after being attacked by ESD.
  • Step 207 when the register abnormality signal is not received, the DDIC state is detected through the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, the ESD display screen abnormality recovery operation is performed.
  • the DDIC when the register exception signal is not received, the DDIC may be in a normal state, or may be in an abnormal state that cannot be found under the self-test of the DDIC. For example, for some screen anomalies such as black screen, part green screen, blurry screen and red screen, it is difficult to find the abnormality in the self-test of DDIC.
  • the abnormality of the display screen can be detected at the end of each queue cycle of the ESD detection work queue.
  • the ESD detection work queue detects that the DDIC state is abnormal, the abnormal recovery operation of the ESD display screen is performed, and the abnormal display screen after being attacked by ESD is reset to the original state.
  • the abnormal recovery method of the above display screen starts by starting the ESD detection work queue; determines whether the abnormal register signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue; when receiving the abnormal register signal, execute ESD display abnormal recovery operation; when the register abnormal signal is not received, the DDIC status is detected through the ESD detection work queue, and when the ESD detection work queue detects that the DDIC status is abnormal, the ESD display abnormal recovery operation is performed.
  • the present application performs additional anomaly detection by using the register anomaly signal sent by the DDIC outside the detection work queue. Therefore, the abnormal recovery time of the display screen is shorter than the preset detection waiting time of the detection work queue, which can effectively ensure the display screen. Abnormal recovery accuracy while effectively shortening the display abnormal recovery time.
  • the method further includes: zeroing the waiting time in the ESD detection work queue.
  • a register exception signal when received within a cycle time of the ESD detection work queue, it means that the current display screen has been abnormal, and the application processor has executed the ESD display screen abnormal recovery operation to restore the abnormal display screen. to a normal state.
  • the waiting time in the ESD detection work queue can be directly set to zero, and the initial operation of the abnormal recovery of the ESD display screen can be restarted to detect the abnormality of the ESD display screen in the subsequent process.
  • the waiting time in the ESD detection work queue is cleared to zero, and the process of abnormal detection and recovery of the display screen is restarted, so that the display screen can be guaranteed to be displayed.
  • the timeliness of abnormal screen recovery after receiving the register abnormal signal and executing the abnormal recovery operation of the ESD display screen, the waiting time in the ESD detection work queue is cleared to zero, and the process of abnormal detection and recovery of the display screen is restarted, so that the display screen can be guaranteed to be displayed.
  • step 207 includes: obtaining the screen register value of the DDIC register through the ESD detection work queue, and when the screen register value indicates that the DDIC is in an abnormal state, performing an ESD display screen abnormal recovery operation.
  • the application processor can read the status register value in the DDIC through the MIPI (Mobile Industry Processor Interface) protocol, and judge the current DDIC by comparing the read status register value with the normal register value. Whether it is in an abnormal state, and whether there is a phenomenon that causes the display screen to display abnormally (such as black screen, green screen, blurred screen, red screen, etc.). And every time the value of the status register is obtained, the value of the status register is read once in one cycle of the ESD detection work queue to judge. For example, when the cycle of the ESD detection work queue is 5 seconds, it takes up to 5 seconds to control the DDIC to power on and off for hardware reset recovery, and shortening the read cycle will increase resource scheduling and increase power consumption. In this embodiment, whether the display screen is abnormal is determined by obtaining the screen end register value of the DDIC register, which can effectively ensure the accuracy of the abnormality judgment of the display screen.
  • MIPI Mobile Industry Processor Interface
  • the abnormal recovery operation of the ESD display screen is a hardware recovery operation.
  • ESD display abnormal recovery operations include:
  • Step 302 power down each voltage pin of the display screen in sequence.
  • Step 304 Re-energize the voltage pins in sequence, and perform a display screen reset operation.
  • each voltage pin in the display screen may be powered off in sequence, and powered on after the power off is completed. Remove the static electricity from the screen to restore the abnormal display screen affected by ESD to normal. Since the ESD process is an electrostatic charge transfer process between objects at different potentials, its intensity is affected by the amount of electricity and the distance between the objects.
  • the power received by the display screen can be reset to zero in a short time, so that the abnormal display screen affected by ESD can be eliminated.
  • the display screen affected by ESD can be effectively restored to normal.
  • the method before step 201, further includes: when the display screen is playing a video, detecting the display screen state through MIPI and TE (Tear Effect, tearing effect) detection mechanisms, and when the display screen is in an abnormal state, executing The ESD display abnormally resumes operation.
  • MIPI and TE Near Effect, tearing effect
  • the TE detection mechanism when the display screen is in the state of playing video, the TE detection mechanism can be used to effectively ensure the efficiency of the display screen recovery. By detecting whether there is an error in MIPI transmission, if there is an error in MIPI transmission, the TE detection mechanism is directly invoked to determine whether the display is abnormal and whether data cannot be transmitted normally. In this embodiment, when the video is played on the display screen through the MIPI and TE detection mechanisms, anomaly detection is performed on it, which can effectively ensure the efficiency of anomaly detection.
  • the MIPI and TE detection mechanisms are used to detect whether the display screen is in the display screen state.
  • the abnormal recovery operation of the ESD display screen includes:
  • Step 401 when the display screen is playing a video and the MIPI transmission is in error, obtain the reported number of display screen tearing effect signals within a preset time interval, and when the reported number is less than a preset threshold, determine that the display screen is in an abnormal state .
  • step 403 an abnormal recovery operation of the ESD display screen is performed.
  • TE detection specifically refers to determining whether the display screen is abnormal by detecting the number of TE (tear effect) signals within a preset time interval.
  • TE head effect
  • When playing a video if it is detected that no TE signal is sent to the AP within a short period of time, or the number of TE signals reported within the preset time interval is less than the preset threshold, it is determined that the DDIC is in an abnormal state, and an ESD display needs to be performed. The screen resumes operation abnormally.
  • the display screen plays a video, it is determined whether the display screen is abnormal by the number of reported tear effect signals of the display screen within a preset time, which can effectively ensure the accuracy of the abnormality detection of the display screen.
  • the specific flowchart of the present application can refer to FIG. 5.
  • the abnormal recovery of the display screen starts, it is first determined whether the display screen is playing a video, and when the video is playing, the reported number of TE signals is directly obtained, According to whether the number of reported TE signals within a preset time interval is less than a preset threshold, the abnormality of the screen is judged, and the abnormal recovery operation of the ESD display screen is performed.
  • a 5-second waiting time work queue is created for abnormal detection, and at the same time, it is judged whether there is an error flag triggered during the 5-second period.
  • the waiting time of the work queue is directly cleared, and the abnormal recovery operation of the ESD display screen is performed; when there is no error flag triggered within 5 seconds, the screen register value is read once. , compare the read screen register value with the normal register value to determine whether the display screen is abnormal, and perform the corresponding ESD display abnormal recovery operation when the abnormality occurs.
  • steps in the flowcharts of FIGS. 2-4 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-4 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.
  • a display screen abnormality recovery device including:
  • the signal receiving module 603 is used for judging whether the abnormal signal of the register sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
  • the first exception recovery module 605 is configured to perform an exception recovery operation of the ESD display screen when receiving the register exception signal
  • the second abnormality recovery module 607 is configured to detect the DDIC state through the ESD detection work queue when the register abnormality signal is not received, and execute the ESD display abnormality recovery operation when the ESD detection work queue detects that the DDIC state is abnormal.
  • the first exception recovery module 605 is further configured to: zero the waiting time in the ESD detection work queue.
  • the second exception recovery module 607 is specifically configured to: obtain the screen register value of the DDIC register through the ESD detection work queue, and perform an ESD display screen exception recovery operation when the screen register value indicates that the DDIC is in an abnormal state .
  • the first abnormality recovery module 605 and the second abnormality recovery module 607 are specifically used to: power off each voltage pin of the display screen in sequence; reset operation.
  • a third abnormality recovery module is further included for: when the display screen is playing a video, the display screen state is detected through MIPI and TE detection mechanisms, and when the display screen is in an abnormal state, the ESD display screen abnormality is executed. resume operation.
  • the third abnormality recovery module is specifically configured to: when the display screen is playing a video and the MIPI transmission is in error, obtain the reported number of display screen tearing effect signals within a preset time interval, and when the reported number of When the number is less than the preset threshold, it is judged that the display screen is in an abnormal state; the abnormal recovery operation of the ESD display screen is performed.
  • Each module in the above-mentioned display screen abnormality recovery device can be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 7 .
  • the computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies.
  • a display screen abnormal recovery method is realized.
  • the display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
  • FIG. 7 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • a computer device including a memory and a processor, a computer program is stored in the memory, and the processor implements the above-mentioned abnormal display screen recovery method when the processor executes the computer program.
  • the processor implements the following steps when executing a computer program:
  • the DDIC state is detected by the ESD detection work queue.
  • the ESD detection work queue detects that the DDIC state is abnormal, the abnormal recovery operation of the ESD display screen is performed.
  • the processor executing the computer program further implements the step of: zeroing the waiting time in the ESD detection work queue.
  • the processor further implements the following steps when executing the computer program: obtaining the screen register value of the DDIC register through the ESD detection work queue, and performing an ESD display abnormal recovery operation when the screen register value indicates that the DDIC is in an abnormal state .
  • the processor when the processor executes the computer program, the processor further implements the following steps: powering off the voltage pins of the display screen in sequence; re-powering the voltage pins in sequence to perform the display screen reset operation.
  • the processor executes the computer program, the following steps are further implemented: when the display screen is playing a video, the display screen state is detected through MIPI and TE detection mechanisms, and when the display screen is in an abnormal state, the abnormal recovery of the ESD display screen is performed. operate.
  • the processor executes the computer program, the following steps are further implemented: when the display screen is playing a video and the MIPI transmission data is in error, obtain the reported number of tearing effect signals on the display screen, and report the number within a preset time interval. When the number is less than the preset threshold, the display is in an abnormal state; the abnormal recovery operation of the ESD display is performed.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned display screen abnormality recovery method is implemented.
  • the computer program when executed by a processor, implements the following steps:
  • the DDIC state is detected through the ESD detection work queue.
  • the ESD detection work queue detects that the DDIC state is abnormal, the ESD display abnormal recovery operation is performed.
  • the computer program when executed by the processor, further implements the step of: zeroing the wait time in the ESD detection work queue.
  • the following steps are further implemented: obtaining the screen-side register value of the DDIC register through the ESD detection work queue, and when the screen-side register value indicates that the DDIC is in an abnormal state, execute abnormal recovery of the ESD display screen operate.
  • the following steps are further implemented: powering off the voltage pins of the display screen in sequence; re-powering the voltage pins in sequence to perform a reset operation of the display screen.
  • the following steps are also implemented: when the display screen is playing a video, the display screen state is detected through MIPI and TE detection mechanisms, and when the display screen is in an abnormal state, the abnormality of the ESD display screen is executed. resume operation.
  • the following steps are further implemented: when the display screen is playing a video and the MIPI transmission data is in error, obtain the reported number of display screen tearing effect signals, when the preset time interval When the number of reports is less than the preset threshold, the display is in an abnormal state; the abnormal recovery operation of the ESD display is performed.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present application relates to a display screen anomaly recovery method and apparatus, a computer device, and a storage medium. The display screen anomaly recovery method comprises: starting an ESD detection work queue; determining whether a register anomaly signal sent by a DDIC corresponding to a display screen is received within a preset detection waiting time corresponding to the ESD detection work queue; if the register anomaly signal is received, performing an ESD display screen anomaly recovery operation; and if the register anomaly signal is not received, detecting the state of the DDIC by the ESD detection work queue, and if the ESD detection work queue detects that the state of the DDIC is abnormal, performing the ESD display anomaly recovery operation.

Description

显示屏异常恢复方法、装置、计算机设备和存储介质Display abnormality recovery method, device, computer equipment and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年08月18日提交中国专利局、申请号为2020108315804、发明名称为“显示屏异常恢复方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on August 18, 2020 with the application number 2020108315804 and the invention title "Method, Device, Computer Equipment and Storage Medium for Display Abnormal Recovery", the entire contents of which are approved by Reference is incorporated in this application.
技术领域technical field
本申请涉及移动通信设备领域,特别是涉及一种显示屏异常恢复方法、装置、计算机设备和存储介质。The present application relates to the field of mobile communication equipment, and in particular, to a method, device, computer equipment and storage medium for abnormal recovery of a display screen.
背景技术Background technique
显示屏用于显示图像及色彩。目前,手机的显示屏一般使用OLCD屏幕(OrganicLight-Emitting Diode,有机电激光显示)。手机显示屏被静电击中后导致显示屏异常,即ESD(Electro-Static discharge,静电放电)导致显示屏异常。当前的手机中被静电击中导致显示屏异常后的恢复方法一般有DDIC(Display Driver Integrated Circuit,显示驱动集成电路)寄存器回读判断、TE(Tear Effect,撕裂效应)检测判断等。The monitor is used to display images and colors. At present, the display screen of the mobile phone generally uses an OLCD screen (Organic Light-Emitting Diode, organic electro-optical laser display). After the display screen of the mobile phone is hit by static electricity, the display screen is abnormal, that is, ESD (Electro-Static discharge, electrostatic discharge) causes the display screen to be abnormal. In the current mobile phone, the recovery methods after the abnormal display screen is hit by static electricity generally include DDIC (Display Driver Integrated Circuit) register readback judgment, TE (Tear Effect, tearing effect) detection judgment, etc.
现有的DDIC寄存器回读判断的方法一般设为每5秒回读一次,判断屏端显示是否正常,如果寄存器回读的值表示屏处于黑屏、绿屏或者花屏等异常状况,则AP(application processor,应用处理器)端控制DDIC进行硬件复位恢复,如果减少回读的时间间隔,会增加整机的功耗以及影响性能,因此如果显示屏出现异常,最长需要5秒才能自动恢复,恢复时间过长。The existing DDIC register readback judgment method is generally set to read back every 5 seconds to judge whether the display on the screen is normal. processor, application processor) side controls the DDIC to perform hardware reset recovery. If the time interval of readback is reduced, the power consumption of the whole machine will increase and the performance will be affected. Therefore, if the display screen is abnormal, it will take up to 5 seconds to automatically recover. too long.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对上述技术问题,提供一种能够有效缩短显示屏异常恢复时间的显示屏异常恢复方法、装置、计算机设备和存储介质。Based on this, it is necessary to provide a display screen abnormality recovery method, device, computer equipment and storage medium that can effectively shorten the display screen abnormality recovery time in response to the above technical problems.
本申请的第一方面涉及一种显示屏异常恢复方法,所述方法包括:A first aspect of the present application relates to a method for abnormal recovery of a display screen, the method comprising:
启动ESD检测工作队列;Start the ESD detection work queue;
判断所述ESD检测工作队列对应的预设检测等待时间内是否接收到所述显示屏对应的DDIC发送的寄存器异常信号;Determine whether the abnormal signal of the register sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
当接收到所述寄存器异常信号时,执行ESD显示屏异常恢复操作;When receiving the abnormal signal of the register, execute the abnormal recovery operation of the ESD display screen;
当未接收到所述寄存器异常信号时,通过所述ESD检测工作队列检测所述DDIC状态,当所述ESD检测工作队列检测到所述DDIC状态异常时,执行ESD显示屏异常恢复操作。When the register abnormal signal is not received, the DDIC state is detected by the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, an ESD display screen abnormal recovery operation is performed.
本申请的第二方面涉及一种显示屏异常恢复装置,所述装置包括:A second aspect of the present application relates to a display screen abnormality recovery device, the device comprising:
队列启动模块,用于启动ESD检测工作队列;The queue start module is used to start the ESD detection work queue;
信号接收模块,用于判断所述ESD检测工作队列对应的预设检测等待时间内是否接收到所述显示屏对应的DDIC发送的寄存器异常信号;a signal receiving module for judging whether an abnormal register signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
第一异常恢复模块,用于当接收到所述寄存器异常信号时,执行ESD显示屏异常恢复操作;a first exception recovery module, configured to perform an ESD display screen exception recovery operation when receiving the register exception signal;
第二异常恢复模块,用于当未接收到所述寄存器异常信号时,通过所述ESD检测工作队列检测所述DDIC状态,当所述ESD检测工作队列检测到所述DDIC状态异常时,执行ESD显示屏异常恢复操作。A second abnormality recovery module, configured to detect the DDIC state through the ESD detection work queue when the register abnormality signal is not received, and execute ESD when the ESD detection work queue detects that the DDIC state is abnormal The display abnormally resumes operation.
本申请的第三方面涉及一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A third aspect of the present application relates to a computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
启动ESD检测工作队列;Start the ESD detection work queue;
判断所述ESD检测工作队列对应的预设检测等待时间内是否接收到所述显示屏对应的DDIC发送的寄存器异常信号;Determine whether the abnormal signal of the register sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
当接收到所述寄存器异常信号时,执行ESD显示屏异常恢复操作;When receiving the abnormal signal of the register, execute the abnormal recovery operation of the ESD display screen;
当未接收到所述寄存器异常信号时,通过所述ESD检测工作队列检测所述DDIC状态,当所述ESD检测工作队列检测到所述DDIC状态异常时,执行ESD显示屏异常恢复操作。When the register abnormal signal is not received, the DDIC state is detected by the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, an ESD display screen abnormal recovery operation is performed.
本申请的第四方面涉及一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A fourth aspect of the present application relates to a computer-readable storage medium having a computer program stored thereon, the computer program implementing the following steps when executed by a processor:
启动ESD检测工作队列;Start the ESD detection work queue;
判断所述ESD检测工作队列对应的预设检测等待时间内是否接收到所述显示屏对应的DDIC发送的寄存器异常信号;Determine whether the abnormal signal of the register sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
当接收到所述寄存器异常信号时,执行ESD显示屏异常恢复操作;When receiving the abnormal signal of the register, execute the abnormal recovery operation of the ESD display screen;
当未接收到所述寄存器异常信号时,通过所述ESD检测工作队列检测所述DDIC状态,当所述ESD检测工作队列检测到所述DDIC状态异常时,执行ESD显示屏异常恢复操作。When the register abnormal signal is not received, the DDIC state is detected by the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, an ESD display screen abnormal recovery operation is performed.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其它特征、目的 和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features, objects and advantages of the present invention will be apparent from the description, drawings and claims.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为一个实施例中显示屏异常恢复方法的应用环境图;1 is an application environment diagram of a display screen abnormality recovery method in one embodiment;
图2为一个实施例中显示屏异常恢复方法的流程示意图;2 is a schematic flowchart of a method for recovering abnormality of a display screen in one embodiment;
图3为一个实施例中执行ESD显示屏异常恢复操作的子流程示意图;3 is a schematic diagram of a sub-flow of performing an abnormal recovery operation of an ESD display screen in one embodiment;
图4为一个实施例中显示屏在播放视频时进行异常恢复步骤的子流程示意图;Fig. 4 is a sub-flow schematic diagram of abnormal recovery steps performed by a display screen when playing a video in one embodiment;
图5为一个更具体的实施例中显示屏异常恢复方法的流程示意图;5 is a schematic flowchart of a method for recovering abnormality of a display screen in a more specific embodiment;
图6为一个实施例中显示屏异常恢复装置的结构框图;6 is a structural block diagram of a display screen abnormality recovery device in one embodiment;
图7为一个实施例中计算机设备的内部结构图。FIG. 7 is a diagram of the internal structure of a computer device in one embodiment.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
本申请提供的显示屏异常恢复方法,可以应用于如图1所示的应用环境中。其中,应用处理器(Application Processor,AP)以及显示驱动集成电路(Display Driver Integrated Circuit,DDIC)为移动通信设备的两个部件。应用处理器与显示驱动集成电路的各个管脚相连接。应用处理器启动ESD检测工作队列;判断ESD检测工作队列对应的预设检测等待时间内是否接收到显示屏对应的DDIC发送的寄存器异常信号;当接收到寄存器异常信号时,执行ESD显示屏异常恢复操作;当未接收到寄存器异常信号时,通过ESD检测工作队列检测DDIC状态,当ESD检测工作队列检测到DDIC状态异常时,执行ESD显示屏异常恢复操作。The display abnormality recovery method provided by the present application can be applied to the application environment shown in FIG. 1 . Among them, an application processor (Application Processor, AP) and a display driver integrated circuit (Display Driver Integrated Circuit, DDIC) are two components of a mobile communication device. The application processor is connected with each pin of the display driving integrated circuit. The application processor starts the ESD detection work queue; judges whether the abnormal register signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue; when the abnormal register signal is received, it executes the abnormal recovery of the ESD display screen Operation: When the register abnormal signal is not received, the DDIC state is detected through the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, the ESD display abnormal recovery operation is performed.
在一个实施例中,如图2所示,提供了一种显示屏异常恢复方法,以该方法应用于图1中的应用处理器端为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2 , a method for abnormal recovery of a display screen is provided, and the method is applied to the application processor in FIG. 1 as an example to illustrate, including the following steps:
步骤201,启动ESD检测工作队列。 Step 201, start the ESD detection work queue.
其中ESD检测工作队列具体是指用于检测显示屏是否出现ESD异常的工作队列。ESD的意思是“静电放电”。ESD可引起电子设备失灵或使其损坏,当半导体器件单独放置或装入电路模块时,即使没有加电,ESD也可能造成这些器件的永久性损坏。即ESD很容易对显示屏产生磁化老化的作用,并影响显示屏的正常工作。而ESD检测工作队列具体可以是创建在系统内核(kernel)层的一个循环工作队列。具体的,每当显示屏亮起后,应用处理器就可以在系统内核层启动ESD检测工作队列,用于检测系统显示屏是否处于ESD异常状态。而在灭屏后,则会通过相应的cancel指令取消该ESD检测工作队列。The ESD detection work queue specifically refers to a work queue for detecting whether an ESD abnormality occurs on the display screen. ESD means "Electrostatic Discharge". ESD can cause malfunction or damage to electronic equipment, and can cause permanent damage to semiconductor devices when placed alone or into circuit modules, even when power is not applied. That is, ESD can easily cause magnetization and aging of the display screen and affect the normal operation of the display screen. The ESD detection work queue may specifically be a circular work queue created at the system kernel (kernel) layer. Specifically, every time the display screen is turned on, the application processor can start an ESD detection work queue at the system kernel layer to detect whether the system display screen is in an ESD abnormal state. After the screen is turned off, the ESD detection work queue will be canceled through the corresponding cancel command.
具体地,应用处理器可以在系统内核层创建一个不断循环的工作队列来对屏幕是否出现ESD异常进行监测。当执行显示屏异常恢复时,既可以直接从ESD检测工作队列出发,来判断Specifically, the application processor can create a continuously circulating work queue at the system kernel layer to monitor whether an ESD abnormality occurs on the screen. When the abnormal recovery of the display screen is performed, it can be judged directly from the ESD detection work queue.
步骤203,判断ESD检测工作队列对应的预设检测等待时间内是否接收到显示屏对应的DDIC发送的寄存器异常信号。Step 203: Determine whether a register exception signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue.
其中,预设检测等待时间是指ESD检测工作队列所设置的回读时间(循环时间)所对应的等待时间,是一时间段。如ESD检测工作队列的循环设置为5秒,则预设检测等待时间具体是指ESD检测工作队列每轮循环工作开始之后的这5秒。该判断过程具体是指,判断在这5秒内是否接收到显示屏对应的DDIC发送的寄存器异常信号。The preset detection waiting time refers to the waiting time corresponding to the readback time (cycle time) set in the ESD detection work queue, which is a period of time. If the cycle of the ESD detection work queue is set to 5 seconds, the preset detection waiting time specifically refers to the 5 seconds after the start of each cycle of the ESD detection work queue. The judging process specifically refers to judging whether a register abnormal signal sent by the DDIC corresponding to the display screen is received within the 5 seconds.
具体地,本申请可以通过触发应用处理器的error flag的形式来对显示屏异常进行检测。当DDIC检测到屏幕出现异常时可以直接向应用处理器发送相应的寄存器异常信号,触发应用处理器的error flag。由error flag触发来进行显示屏异常恢复,而当DDIC未检测到屏幕出现异常时,则可以通过ESD检测工作队列来对显示屏是否异常进行检测。Specifically, the present application can detect the abnormality of the display screen in the form of triggering the error flag of the application processor. When the DDIC detects that the screen is abnormal, it can directly send the corresponding register exception signal to the application processor to trigger the error flag of the application processor. The abnormal recovery of the display screen is triggered by the error flag, and when the DDIC does not detect the abnormality of the screen, the ESD detection work queue can be used to detect whether the display screen is abnormal.
步骤205,当接收到寄存器异常信号时,执行ESD显示屏异常恢复操作。 Step 205, when the register abnormal signal is received, the abnormal recovery operation of the ESD display screen is performed.
具体地,DDIC内内置了部分显示屏异常的检测机制,如针对常见的黑屏或者绿屏形式的ESD显示屏异常。DDIC内内置的异常检测机制都可以即时将其检测出来,即DDIC的自我检测。此时,DDIC可以向应用处理器发送相应的寄存器异常信号。在其中一个实施例中,寄存器异常信号具体包括寄存器异常中断信号,该寄存器异常中断信号在DDIC被ESD打击后生成,由DDIC自带的异常检测装置自动生成。由于DDIC内部包含有ESD状态检测逻辑电路,可以用于检测出部分的ESD显示屏异常。DDIC被ESD打击时,在DDIC内部部分ESD状态检测逻辑电路可以将DDIC的异常通过中断的方式将寄存器异常中断信号发送给应用处理器。而DDIC的中断信号引脚与应用处理器连接。应用处理器可以通过中断信号引脚来直接接收 DDIC发送的寄存器异常中断信号。并在接收到DDIC发送的寄存器异常中断信号后立刻进行ESD显示屏异常恢复的操作。将被ESD攻击后异常的显示屏复位至原来的状态。Specifically, the DDIC has a built-in detection mechanism for some abnormality of the display screen, such as the abnormality of the ESD display screen in the form of a common black screen or a green screen. The built-in anomaly detection mechanism in the DDIC can detect it immediately, that is, the self-detection of the DDIC. At this point, the DDIC can send a corresponding register exception signal to the application processor. In one embodiment, the register exception signal specifically includes a register exception interrupt signal, the register exception interrupt signal is generated after the DDIC is struck by ESD, and is automatically generated by the abnormality detection device provided in the DDIC. Since the DDIC contains an ESD state detection logic circuit, it can be used to detect some abnormality of the ESD display screen. When the DDIC is struck by ESD, a part of the ESD state detection logic circuit inside the DDIC can send the register exception interrupt signal to the application processor by interrupting the abnormality of the DDIC. And the interrupt signal pin of DDIC is connected with the application processor. The application processor can directly receive the register exception interrupt signal sent by the DDIC through the interrupt signal pin. And immediately after receiving the register abnormal interrupt signal sent by the DDIC, the abnormal recovery operation of the ESD display screen is carried out. Reset the abnormal display screen to its original state after being attacked by ESD.
步骤207,当未接收到寄存器异常信号时,通过ESD检测工作队列检测DDIC状态,当ESD检测工作队列检测到DDIC状态异常时,执行ESD显示屏异常恢复操作。 Step 207 , when the register abnormality signal is not received, the DDIC state is detected through the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, the ESD display screen abnormality recovery operation is performed.
其中,而当未接收到寄存器异常信号时,则DDIC可能处于正常状态,也可能处于DDIC的自我检测下无法发现的异常状态。如对于部分黑屏、部分绿屏、花屏以及红屏的屏幕异常现象,DDIC的自我检测的话难以发现异常,此时可以在ESD检测工作队列每个队列循环的末尾对显示屏的异常进行检测。当ESD检测工作队列检测到DDIC状态异常时,执行ESD显示屏异常恢复操作,将被ESD攻击后异常的显示屏复位至原来的状态。Among them, when the register exception signal is not received, the DDIC may be in a normal state, or may be in an abnormal state that cannot be found under the self-test of the DDIC. For example, for some screen anomalies such as black screen, part green screen, blurry screen and red screen, it is difficult to find the abnormality in the self-test of DDIC. At this time, the abnormality of the display screen can be detected at the end of each queue cycle of the ESD detection work queue. When the ESD detection work queue detects that the DDIC state is abnormal, the abnormal recovery operation of the ESD display screen is performed, and the abnormal display screen after being attacked by ESD is reset to the original state.
上述显示屏异常恢复方法,通过启动ESD检测工作队列;判断ESD检测工作队列对应的预设检测等待时间内是否接收到显示屏对应的DDIC发送的寄存器异常信号;当接收到寄存器异常信号时,执行ESD显示屏异常恢复操作;当未接收到寄存器异常信号时,通过ESD检测工作队列检测DDIC状态,当ESD检测工作队列检测到DDIC状态异常时,执行ESD显示屏异常恢复操作。本申请通过在检测工作队列外通过DDIC发送的寄存器异常信号,进行额外的异常检测,因此显示屏异常恢复的时间相较检测工作队列的预设检测等待时间更短,即可以有效在保证显示屏异常恢复准确性的同时有效缩短显示屏异常恢复时间。The abnormal recovery method of the above display screen starts by starting the ESD detection work queue; determines whether the abnormal register signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue; when receiving the abnormal register signal, execute ESD display abnormal recovery operation; when the register abnormal signal is not received, the DDIC status is detected through the ESD detection work queue, and when the ESD detection work queue detects that the DDIC status is abnormal, the ESD display abnormal recovery operation is performed. The present application performs additional anomaly detection by using the register anomaly signal sent by the DDIC outside the detection work queue. Therefore, the abnormal recovery time of the display screen is shorter than the preset detection waiting time of the detection work queue, which can effectively ensure the display screen. Abnormal recovery accuracy while effectively shortening the display abnormal recovery time.
在其中一个实施例中,步骤205之后还包括:置零ESD检测工作队列中的等待时间。In one embodiment, after step 205, the method further includes: zeroing the waiting time in the ESD detection work queue.
具体地,当在ESD检测工作队列的一个循环时间内接收到寄存器异常信号,则说明当前的显示屏已经出现异常,并且应用处理器已经执行了ESD显示屏异常恢复操作,将异常的显示屏恢复为正常的状态。此时可以直接将ESD检测工作队列中的等待时间置零,重新开始ESD显示屏异常恢复的初始操作,以检测后续过程中的ESD显示屏异常。在本实施例中,通过在接收到寄存器异常信号,执行ESD显示屏异常恢复操作之后,再将ESD检测工作队列中的等待时间清零,重新开始显示屏异常检测以及恢复的流程,可以保证显示屏异常恢复的及时性。Specifically, when a register exception signal is received within a cycle time of the ESD detection work queue, it means that the current display screen has been abnormal, and the application processor has executed the ESD display screen abnormal recovery operation to restore the abnormal display screen. to a normal state. At this time, the waiting time in the ESD detection work queue can be directly set to zero, and the initial operation of the abnormal recovery of the ESD display screen can be restarted to detect the abnormality of the ESD display screen in the subsequent process. In this embodiment, after receiving the register abnormal signal and executing the abnormal recovery operation of the ESD display screen, the waiting time in the ESD detection work queue is cleared to zero, and the process of abnormal detection and recovery of the display screen is restarted, so that the display screen can be guaranteed to be displayed. The timeliness of abnormal screen recovery.
在其中一个实施例中,步骤207包括:通过ESD检测工作队列获取DDIC寄存器的屏端寄存器值,当屏端寄存器值表征DDIC处于异常状态时,执行ESD显示屏异常恢复操作。In one embodiment, step 207 includes: obtaining the screen register value of the DDIC register through the ESD detection work queue, and when the screen register value indicates that the DDIC is in an abnormal state, performing an ESD display screen abnormal recovery operation.
具体的,应用处理器可以通过MIPI(Mobile Industry Processor Interface,移动产业处理器接口)协议,读取DDIC中的状态寄存器值,通过读取到的状态寄存器值与正常的寄存器值对比,判断当前DDIC是否处在异常状态下,是否存在致使显示屏出现显示异常(如黑屏、绿屏、花屏、红屏等等)的现象。而每次获取状态寄存器值都是在ESD检测工作队列的一个循环内 读取一次状态寄存器值来进行判断。如对于ESD检测工作队列的循环为5秒的情况下,最多需要5秒的时间才能进行控制DDIC重新上下电进行硬件复位恢复,而缩短读取的周期会增加资源调度以及提升功耗。在本实施例中,通过获取DDIC寄存器的屏端寄存器值来判断显示屏是否异常,可以有效保证显示屏异常判断的准确性。Specifically, the application processor can read the status register value in the DDIC through the MIPI (Mobile Industry Processor Interface) protocol, and judge the current DDIC by comparing the read status register value with the normal register value. Whether it is in an abnormal state, and whether there is a phenomenon that causes the display screen to display abnormally (such as black screen, green screen, blurred screen, red screen, etc.). And every time the value of the status register is obtained, the value of the status register is read once in one cycle of the ESD detection work queue to judge. For example, when the cycle of the ESD detection work queue is 5 seconds, it takes up to 5 seconds to control the DDIC to power on and off for hardware reset recovery, and shortening the read cycle will increase resource scheduling and increase power consumption. In this embodiment, whether the display screen is abnormal is determined by obtaining the screen end register value of the DDIC register, which can effectively ensure the accuracy of the abnormality judgment of the display screen.
如图3所示,在其中一个实施例中,ESD显示屏异常恢复操作是硬件恢复操作。执行ESD显示屏异常恢复操作包括:As shown in FIG. 3 , in one embodiment, the abnormal recovery operation of the ESD display screen is a hardware recovery operation. Performing ESD display abnormal recovery operations include:
步骤302,将显示屏各电压管脚按顺序下电。 Step 302 , power down each voltage pin of the display screen in sequence.
步骤304,对各电压管脚按顺序重新上电,执行显示屏复位操作。Step 304: Re-energize the voltage pins in sequence, and perform a display screen reset operation.
具体地,为了对显示屏进行异常恢复,可以将显示屏中的各个电压管脚按顺序执行下电操作,并在下电完成后进行上电。将屏幕的静电清除,以将被ESD影响出现异常的显示屏恢复正常。由于ESD过程是处于不同电势的物体之间的静电电荷转移过程,其强烈程度受电量大小及物体间距的影响。通过将显示屏中的各个电压管脚按顺序执行下电操作,并在下电完成后进行上电,可以在短暂时间内将显示屏的受电量清零,从而将被ESD影响出现异常的显示屏恢复正常。在本实施例中,通过对显示屏的电压管进行下电上电的复位操作,可以有效将收到ESD影响的显示屏恢复正常。Specifically, in order to perform abnormal recovery on the display screen, each voltage pin in the display screen may be powered off in sequence, and powered on after the power off is completed. Remove the static electricity from the screen to restore the abnormal display screen affected by ESD to normal. Since the ESD process is an electrostatic charge transfer process between objects at different potentials, its intensity is affected by the amount of electricity and the distance between the objects. By performing the power-off operation of each voltage pin in the display screen in sequence, and power-on after the power-off is completed, the power received by the display screen can be reset to zero in a short time, so that the abnormal display screen affected by ESD can be eliminated. Back to normal. In this embodiment, by performing a power-off and power-on reset operation on the voltage tube of the display screen, the display screen affected by ESD can be effectively restored to normal.
在其中一个实施例中,步骤201之前,还包括:当显示屏在播放视频时,通过MIPI以及TE(Tear Effect,撕裂效应)检测机制检测显示屏状态,当显示屏处于异常状态时,执行ESD显示屏异常恢复操作。In one embodiment, before step 201, the method further includes: when the display screen is playing a video, detecting the display screen state through MIPI and TE (Tear Effect, tearing effect) detection mechanisms, and when the display screen is in an abnormal state, executing The ESD display abnormally resumes operation.
其中,当显示屏处于播放视频状态时,可以通过TE检测机制来有效保证显示屏恢复的效率。通过检测MIPI传输是否出错,如果MIPI传输出错,则直接调用TE检测机制来判断显示屏端是否异常,且是否不能正常传输数据,若是,则执行ESD显示屏异常恢复操作,直接进行DDIC硬件复位。本实施例中,通过MIPI以及TE检测机制在显示屏播放视频时,对其进行异常检测,可以有效保证异常检测的效率。Among them, when the display screen is in the state of playing video, the TE detection mechanism can be used to effectively ensure the efficiency of the display screen recovery. By detecting whether there is an error in MIPI transmission, if there is an error in MIPI transmission, the TE detection mechanism is directly invoked to determine whether the display is abnormal and whether data cannot be transmitted normally. In this embodiment, when the video is played on the display screen through the MIPI and TE detection mechanisms, anomaly detection is performed on it, which can effectively ensure the efficiency of anomaly detection.
如图4所示,在其中一个实施例中,当显示屏在播放视频时,通过MIPI以及TE检测机制检测是否处于显示屏状态。当显示屏处于异常状态时,执行ESD显示屏异常恢复操作包括:As shown in FIG. 4 , in one of the embodiments, when the display screen is playing a video, the MIPI and TE detection mechanisms are used to detect whether the display screen is in the display screen state. When the display screen is in an abnormal state, the abnormal recovery operation of the ESD display screen includes:
步骤401,当显示屏正在播放视频,且MIPI传输出错时,获取预设时间间隔内的显示屏撕裂效应信号的上报个数,当上报个数小于预设阈值时,判断显示屏处于异常状态。 Step 401, when the display screen is playing a video and the MIPI transmission is in error, obtain the reported number of display screen tearing effect signals within a preset time interval, and when the reported number is less than a preset threshold, determine that the display screen is in an abnormal state .
步骤403,执行ESD显示屏异常恢复操作。In step 403, an abnormal recovery operation of the ESD display screen is performed.
具体地,TE检测具体是指通过检测预设时间间隔内的TE(撕裂效应)信号的数量来判断 显示屏是否出现异常。在播放视频的时候,如果检测较短的一段时间内未有TE信号发送到AP,或预设时间间隔内的TE信号上报个数小于预设阈值,则判断DDIC处于异常状态,需要执行ESD显示屏异常恢复操作。本实施例中,在显示屏播放视频时,通过预设时间内显示屏撕裂效应信号的上报个数来判定显示屏是否异常,可以有效保证显示屏异常检测的准确率。Specifically, TE detection specifically refers to determining whether the display screen is abnormal by detecting the number of TE (tear effect) signals within a preset time interval. When playing a video, if it is detected that no TE signal is sent to the AP within a short period of time, or the number of TE signals reported within the preset time interval is less than the preset threshold, it is determined that the DDIC is in an abnormal state, and an ESD display needs to be performed. The screen resumes operation abnormally. In this embodiment, when the display screen plays a video, it is determined whether the display screen is abnormal by the number of reported tear effect signals of the display screen within a preset time, which can effectively ensure the accuracy of the abnormality detection of the display screen.
在一个具体的实施例中,本申请的具体流程图可以参照图5,在开始显示屏异常恢复时,先判断显示屏是否在播放视频,当播放视频时,直接获取TE信号的上报个数,依据在预设时间间隔内TE信号的上报个数是否小于预设阈值来对屏幕异常进行判断,并执行ESD显示屏异常恢复操作。而当显示屏不是正在播放视频时,则创建5秒等待时间工作队列进行异常检测,同时判断5秒期间是否有error flag的触发。当存在error flag的触发时,直接将工作队列的等待时间清零,并执行ESD显示屏异常恢复操作;而在5秒期间内不存在error flag的触发时,则通过读取一次屏端寄存器值,将所读取的屏端寄存器值与正常寄存器值进行对比,来判断是否出现显示屏异常,并在出现异常时进行相应的ESD显示屏异常恢复操作。In a specific embodiment, the specific flowchart of the present application can refer to FIG. 5. When the abnormal recovery of the display screen starts, it is first determined whether the display screen is playing a video, and when the video is playing, the reported number of TE signals is directly obtained, According to whether the number of reported TE signals within a preset time interval is less than a preset threshold, the abnormality of the screen is judged, and the abnormal recovery operation of the ESD display screen is performed. When the display screen is not playing a video, a 5-second waiting time work queue is created for abnormal detection, and at the same time, it is judged whether there is an error flag triggered during the 5-second period. When there is an error flag triggered, the waiting time of the work queue is directly cleared, and the abnormal recovery operation of the ESD display screen is performed; when there is no error flag triggered within 5 seconds, the screen register value is read once. , compare the read screen register value with the normal register value to determine whether the display screen is abnormal, and perform the corresponding ESD display abnormal recovery operation when the abnormality occurs.
应该理解的是,虽然图2-4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-4中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-4 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-4 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.
在一个实施例中,如图6所示,提供了一种显示屏异常恢复装置,包括:In one embodiment, as shown in FIG. 6, a display screen abnormality recovery device is provided, including:
队列启动模块601,用于启动ESD检测工作队列;a queue start module 601, used to start the ESD detection work queue;
信号接收模块603,用于判断ESD检测工作队列对应的预设检测等待时间内是否接收到显示屏对应的DDIC发送的寄存器异常信号;The signal receiving module 603 is used for judging whether the abnormal signal of the register sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
第一异常恢复模块605,用于当接收到寄存器异常信号时,执行ESD显示屏异常恢复操作;The first exception recovery module 605 is configured to perform an exception recovery operation of the ESD display screen when receiving the register exception signal;
第二异常恢复模块607,用于当未接收到寄存器异常信号时,通过ESD检测工作队列检测DDIC状态,当ESD检测工作队列检测到DDIC状态异常时,执行ESD显示屏异常恢复操作。The second abnormality recovery module 607 is configured to detect the DDIC state through the ESD detection work queue when the register abnormality signal is not received, and execute the ESD display abnormality recovery operation when the ESD detection work queue detects that the DDIC state is abnormal.
在其中一个实施例中,第一异常恢复模块605还用于:置零ESD检测工作队列中的等待时间。In one embodiment, the first exception recovery module 605 is further configured to: zero the waiting time in the ESD detection work queue.
在其中一个实施例中,第二异常恢复模块607具体用于:通过ESD检测工作队列获取DDIC寄存器的屏端寄存器值,当屏端寄存器值表征DDIC处于异常状态时,执行ESD显示屏异常恢复操作。In one embodiment, the second exception recovery module 607 is specifically configured to: obtain the screen register value of the DDIC register through the ESD detection work queue, and perform an ESD display screen exception recovery operation when the screen register value indicates that the DDIC is in an abnormal state .
在其中一个实施例中,第一异常恢复模块605以及第二异常恢复模块607具体用于:将显示屏各电压管脚按顺序下电;对各电压管脚按顺序重新上电,执行显示屏复位操作。In one embodiment, the first abnormality recovery module 605 and the second abnormality recovery module 607 are specifically used to: power off each voltage pin of the display screen in sequence; reset operation.
在其中一个实施例中,还包括第三异常恢复模块,用于:当显示屏在播放视频时,通过MIPI以及TE检测机制检测显示屏状态,当显示屏处于异常状态时,执行ESD显示屏异常恢复操作。In one of the embodiments, a third abnormality recovery module is further included for: when the display screen is playing a video, the display screen state is detected through MIPI and TE detection mechanisms, and when the display screen is in an abnormal state, the ESD display screen abnormality is executed. resume operation.
在其中一个实施例中,第三异常恢复模块具体用于:当显示屏正在播放视频,且MIPI传输出错时,获取预设时间间隔内的显示屏撕裂效应信号的上报个数,当上报个数小于预设阈值时,判断显示屏处于异常状态;执行ESD显示屏异常恢复操作。In one embodiment, the third abnormality recovery module is specifically configured to: when the display screen is playing a video and the MIPI transmission is in error, obtain the reported number of display screen tearing effect signals within a preset time interval, and when the reported number of When the number is less than the preset threshold, it is judged that the display screen is in an abnormal state; the abnormal recovery operation of the ESD display screen is performed.
关于显示屏异常恢复装置的具体限定可以参见上文中对于显示屏异常恢复方法的限定,在此不再赘述。上述显示屏异常恢复装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitations of the display screen abnormality recovery device, please refer to the above limitations on the display screen abnormality recovery method, which will not be repeated here. Each module in the above-mentioned display screen abnormality recovery device can be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图7所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种显示屏异常恢复方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 7 . The computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, a display screen abnormal recovery method is realized. The display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 7 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机 程序,该处理器执行计算机程序时实现上述显示屏异常恢复方法。在其中一个实施例中,该处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, including a memory and a processor, a computer program is stored in the memory, and the processor implements the above-mentioned abnormal display screen recovery method when the processor executes the computer program. In one embodiment, the processor implements the following steps when executing a computer program:
启动ESD检测工作队列;Start the ESD detection work queue;
判断ESD检测工作队列对应的预设检测等待时间内是否接收到显示屏对应的DDIC发送的寄存器异常信号;Determine whether the register abnormal signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
当接收到寄存器异常信号时,执行ESD显示屏异常恢复操作;When receiving the abnormal signal of the register, execute the abnormal recovery operation of the ESD display screen;
当未接收到寄存器异常信号时,通过ESD检测工作队列检测DDIC状态,当ESD检测工作队列检测到DDIC状态异常时,执行ESD显示屏异常恢复操作。When the register abnormal signal is not received, the DDIC state is detected by the ESD detection work queue. When the ESD detection work queue detects that the DDIC state is abnormal, the abnormal recovery operation of the ESD display screen is performed.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:置零ESD检测工作队列中的等待时间。In one embodiment, the processor executing the computer program further implements the step of: zeroing the waiting time in the ESD detection work queue.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:通过ESD检测工作队列获取DDIC寄存器的屏端寄存器值,当屏端寄存器值表征DDIC处于异常状态时,执行ESD显示屏异常恢复操作。In one embodiment, the processor further implements the following steps when executing the computer program: obtaining the screen register value of the DDIC register through the ESD detection work queue, and performing an ESD display abnormal recovery operation when the screen register value indicates that the DDIC is in an abnormal state .
在一个实施例中,处理器执行计算机程序时还实现以下步骤:将显示屏各电压管脚按顺序下电;对各电压管脚按顺序重新上电,执行显示屏复位操作。In one embodiment, when the processor executes the computer program, the processor further implements the following steps: powering off the voltage pins of the display screen in sequence; re-powering the voltage pins in sequence to perform the display screen reset operation.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当显示屏在播放视频时,通过MIPI以及TE检测机制检测显示屏状态,当显示屏处于异常状态时,执行ESD显示屏异常恢复操作。In one embodiment, when the processor executes the computer program, the following steps are further implemented: when the display screen is playing a video, the display screen state is detected through MIPI and TE detection mechanisms, and when the display screen is in an abnormal state, the abnormal recovery of the ESD display screen is performed. operate.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当显示屏在播放视频,且MIPI传输数据出错时,获取显示屏撕裂效应信号的上报个数,当预设时间间隔内上报个数小于预设阈值时,显示屏处于异常状态;执行ESD显示屏异常恢复操作。In one embodiment, when the processor executes the computer program, the following steps are further implemented: when the display screen is playing a video and the MIPI transmission data is in error, obtain the reported number of tearing effect signals on the display screen, and report the number within a preset time interval. When the number is less than the preset threshold, the display is in an abnormal state; the abnormal recovery operation of the ESD display is performed.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述显示屏异常恢复方法。在其中一个实施例中,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned display screen abnormality recovery method is implemented. In one embodiment, the computer program, when executed by a processor, implements the following steps:
启动ESD检测工作队列;Start the ESD detection work queue;
判断ESD检测工作队列对应的预设检测等待时间内是否接收到显示屏对应的DDIC发送的寄存器异常信号;Determine whether the register abnormal signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
当接收到寄存器异常信号时,执行ESD显示屏异常恢复操作;When receiving the abnormal signal of the register, execute the abnormal recovery operation of the ESD display screen;
当未接收到寄存器异常信号时,通过ESD检测工作队列检测DDIC状态,当ESD检测工 作队列检测到DDIC状态异常时,执行ESD显示屏异常恢复操作。When the register abnormal signal is not received, the DDIC state is detected through the ESD detection work queue. When the ESD detection work queue detects that the DDIC state is abnormal, the ESD display abnormal recovery operation is performed.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:置零ESD检测工作队列中的等待时间。In one embodiment, the computer program, when executed by the processor, further implements the step of: zeroing the wait time in the ESD detection work queue.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:通过ESD检测工作队列获取DDIC寄存器的屏端寄存器值,当屏端寄存器值表征DDIC处于异常状态时,执行ESD显示屏异常恢复操作。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining the screen-side register value of the DDIC register through the ESD detection work queue, and when the screen-side register value indicates that the DDIC is in an abnormal state, execute abnormal recovery of the ESD display screen operate.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:将显示屏各电压管脚按顺序下电;对各电压管脚按顺序重新上电,执行显示屏复位操作。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: powering off the voltage pins of the display screen in sequence; re-powering the voltage pins in sequence to perform a reset operation of the display screen.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当显示屏在播放视频时,通过MIPI以及TE检测机制检测显示屏状态,当显示屏处于异常状态时,执行ESD显示屏异常恢复操作。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the display screen is playing a video, the display screen state is detected through MIPI and TE detection mechanisms, and when the display screen is in an abnormal state, the abnormality of the ESD display screen is executed. resume operation.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当显示屏在播放视频,且MIPI传输数据出错时,获取显示屏撕裂效应信号的上报个数,当预设时间间隔内上报个数小于预设阈值时,显示屏处于异常状态;执行ESD显示屏异常恢复操作。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the display screen is playing a video and the MIPI transmission data is in error, obtain the reported number of display screen tearing effect signals, when the preset time interval When the number of reports is less than the preset threshold, the display is in an abnormal state; the abnormal recovery operation of the ESD display is performed.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those skilled in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium , when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申 请专利的保护范围应以所附权利要求为准。The above examples only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of this application should be subject to the appended claims.

Claims (16)

  1. 一种显示屏异常恢复方法,包括:A method for abnormal recovery of a display screen, comprising:
    启动ESD检测工作队列;Start the ESD detection work queue;
    判断所述ESD检测工作队列对应的预设检测等待时间内是否接收到所述显示屏对应的DDIC发送的寄存器异常信号;Determine whether the abnormal signal of the register sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
    当接收到所述寄存器异常信号时,执行ESD显示屏异常恢复操作;以及When the register exception signal is received, an ESD display screen exception recovery operation is performed; and
    当未接收到所述寄存器异常信号时,通过所述ESD检测工作队列检测所述DDIC状态,当所述ESD检测工作队列检测到所述DDIC状态异常时,执行ESD显示屏异常恢复操作。When the register abnormal signal is not received, the DDIC state is detected by the ESD detection work queue, and when the ESD detection work queue detects that the DDIC state is abnormal, an ESD display screen abnormal recovery operation is performed.
  2. 根据权利要求1所述的方法,其中,所述寄存器异常信号包括寄存器异常中断信号,所述寄存器异常中断信号在所述DDIC被ESD打击后生成。The method of claim 1 , wherein the register exception signal comprises a register exception interrupt signal generated after the DDIC is struck by ESD.
  3. 根据权利要求1所述的方法,其中,所述当接收到所述寄存器异常信号时,执行ESD显示屏异常恢复操作之后包括:The method according to claim 1, wherein when the register exception signal is received, after performing an ESD display screen exception recovery operation, the method comprises:
    置零所述ESD检测工作队列中的等待时间。Zero the wait time in the ESD detection work queue.
  4. 根据权利要求1所述的方法,其中,所述通过所述ESD检测工作队列检测所述DDIC状态,当所述ESD检测工作队列检测到所述DDIC状态异常时,执行ESD显示屏异常恢复操作包括:The method according to claim 1, wherein the detecting the DDIC state through the ESD detection work queue, when the ESD detection work queue detects that the DDIC state is abnormal, performing an ESD display abnormality recovery operation comprises: :
    通过所述ESD检测工作队列获取DDIC寄存器的屏端寄存器值,当所述屏端寄存器值表征所述DDIC处于异常状态时,执行ESD显示屏异常恢复操作。The on-screen register value of the DDIC register is acquired through the ESD detection work queue, and when the on-screen register value indicates that the DDIC is in an abnormal state, an abnormal recovery operation of the ESD display screen is performed.
  5. 根据权利要求1所述的方法,其中,所述执行ESD显示屏异常恢复操作包括:The method according to claim 1, wherein the performing an abnormal recovery operation of the ESD display screen comprises:
    将所述显示屏各电压管脚按顺序下电;Power off the voltage pins of the display screen in sequence;
    对所述各电压管脚按顺序重新上电,执行显示屏复位操作。Re-power on the voltage pins in sequence, and perform the display screen reset operation.
  6. 根据权利要求1所述的方法,其中,所述启动ESD检测工作队列之前,还包括:The method according to claim 1, wherein before the starting the ESD detection work queue, further comprising:
    当所述显示屏在播放视频时,通过MIPI以及TE检测机制检测所述显示屏状态,当所述显示屏处于异常状态时,执行ESD显示屏异常恢复操作。When the display screen is playing a video, the state of the display screen is detected through MIPI and TE detection mechanisms, and when the display screen is in an abnormal state, an abnormal recovery operation of the ESD display screen is performed.
  7. 根据权利要求6所述的方法,其中,所述当所述显示屏在播放视频时,通过MIPI以及TE检测机制检测所述显示屏状态,当所述显示屏处于异常状态时,执行ESD显示屏异常恢复操作包括:The method according to claim 6, wherein when the display screen is playing a video, the display screen state is detected through MIPI and TE detection mechanisms, and when the display screen is in an abnormal state, an ESD display screen is performed. Exception recovery operations include:
    当显示屏正在播放视频,且MIPI传输出错时,获取预设时间间隔内的显示屏撕裂效应信号的上报个数,当所述上报个数小于预设阈值时,判断所述显示屏处于异常状态;When the display screen is playing a video and the MIPI transmission error occurs, obtain the reported number of display screen tearing effect signals within a preset time interval, and when the reported number is less than the preset threshold, determine that the display screen is in an abnormal state condition;
    执行ESD显示屏异常恢复操作。Perform an ESD display abnormal recovery operation.
  8. 一种显示屏异常恢复装置,包括:A display screen abnormal recovery device, comprising:
    队列启动模块,用于启动ESD检测工作队列;The queue start module is used to start the ESD detection work queue;
    信号接收模块,用于判断所述ESD检测工作队列对应的预设检测等待时间内是否接收到所述显示屏对应的DDIC发送的寄存器异常信号;a signal receiving module for judging whether an abnormal register signal sent by the DDIC corresponding to the display screen is received within the preset detection waiting time corresponding to the ESD detection work queue;
    第一异常恢复模块,用于当接收到所述寄存器异常信号时,执行ESD显示屏异常恢复操作;以及a first exception recovery module, configured to perform an ESD display screen exception recovery operation when the register exception signal is received; and
    第二异常恢复模块,用于当未接收到所述寄存器异常信号时,通过所述ESD检测工作队列检测所述DDIC状态,当所述ESD检测工作队列检测到所述DDIC状态异常时,执行ESD显示屏异常恢复操作。A second abnormality recovery module, configured to detect the DDIC state through the ESD detection work queue when the register abnormality signal is not received, and execute ESD when the ESD detection work queue detects that the DDIC state is abnormal The display abnormally resumes operation.
  9. 根据权利要求8所述的显示屏异常恢复装置,其中,所述寄存器异常信号包括寄存器异常中断信号,所述寄存器异常中断信号在所述DDIC被ESD打击后生成。The display screen abnormality recovery device according to claim 8, wherein the register abnormality signal comprises a register abnormality interrupt signal, and the register abnormality interrupt signal is generated after the DDIC is struck by ESD.
  10. 根据权利要求8所述的显示屏异常恢复装置,其中,所述第一异常恢复模块还用于:置零ESD检测工作队列中的等待时间。The display screen abnormality recovery device according to claim 8, wherein the first abnormality recovery module is further used for: zeroing the waiting time in the ESD detection work queue.
  11. 根据权利要求8所述的显示屏异常恢复装置,其中,所述第二异常恢复模块还用于:通过ESD检测工作队列获取DDIC寄存器的屏端寄存器值,当屏端寄存器值表征DDIC处于异常状态时,执行ESD显示屏异常恢复操作。The display screen abnormality recovery device according to claim 8, wherein the second abnormality recovery module is further configured to: obtain the screen end register value of the DDIC register through the ESD detection work queue, and when the screen end register value indicates that the DDIC is in an abnormal state , perform the ESD display abnormal recovery operation.
  12. 根据权利要求8所述的显示屏异常恢复装置,其中,所述第一异常恢复模块以及所述第二异常恢复模块还用于:将显示屏各电压管脚按顺序下电;对各电压管脚按顺序重新上电,执行显示屏复位操作。The display screen abnormality recovery device according to claim 8, wherein the first abnormality recovery module and the second abnormality recovery module are further used to: power off each voltage pin of the display screen in sequence; Re-power on the pins in sequence to perform the display reset operation.
  13. 根据权利要求8所述的显示屏异常恢复装置,还包括第三异常恢复模块,用于:当显示屏在播放视频时,通过MIPI以及TE检测机制检测显示屏状态,当显示屏处于异常状态时,执行ESD显示屏异常恢复操作。The display screen abnormality recovery device according to claim 8, further comprising a third abnormality recovery module, used for: when the display screen is playing a video, the display screen state is detected through MIPI and TE detection mechanism, when the display screen is in an abnormal state , and perform the abnormal recovery operation of the ESD display screen.
  14. 根据权利要求13所述的显示屏异常恢复装置,其中,所述第三异常恢复模块还用于:当显示屏正在播放视频,且MIPI传输出错时,获取预设时间间隔内的显示屏撕裂效应信号的上报个数,当所述上报个数小于预设阈值时,判断显示屏处于异常状态;执行ESD显示屏异常恢复操作。The display screen abnormality recovery device according to claim 13, wherein the third abnormality recovery module is further used for: when the display screen is playing a video and an error occurs in MIPI transmission, obtain the display screen tearing within a preset time interval The reported number of effect signals. When the reported number is less than the preset threshold, it is determined that the display screen is in an abnormal state; the abnormal recovery operation of the ESD display screen is performed.
  15. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述方法的步骤。A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when the processor executes the computer program.
  16. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method of any one of claims 1 to 7.
PCT/CN2021/112527 2020-08-18 2021-08-13 Display screen anomaly recovery method and apparatus, computer device, and storage medium WO2022037495A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010831580.4 2020-08-18
CN202010831580.4A CN114077511A (en) 2020-08-18 2020-08-18 Display screen abnormity recovery method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022037495A1 true WO2022037495A1 (en) 2022-02-24

Family

ID=80281544

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/112527 WO2022037495A1 (en) 2020-08-18 2021-08-13 Display screen anomaly recovery method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN114077511A (en)
WO (1) WO2022037495A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116431418A (en) * 2023-06-13 2023-07-14 荣耀终端有限公司 Screen electrostatic detection method, readable storage medium and electronic device
CN116820293A (en) * 2023-06-30 2023-09-29 荣耀终端有限公司 Display control method and electronic equipment
CN117631793A (en) * 2024-01-25 2024-03-01 深圳曦华科技有限公司 Reset method, reset device, computer equipment and storage medium
CN117631793B (en) * 2024-01-25 2024-05-10 深圳曦华科技有限公司 Reset method, reset device, computer equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115547215B (en) * 2022-04-21 2023-06-20 荣耀终端有限公司 Display screen ESD soft reset method, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102644A1 (en) * 2003-11-10 2005-05-12 International Business Machines Corporation Esd design, verification and checking system and method of use
CN102693704A (en) * 2012-05-04 2012-09-26 广东欧珀移动通信有限公司 Implementation method for solving electrostatic display abnormity of display screen
CN109873397A (en) * 2019-01-31 2019-06-11 上海思立微电子科技有限公司 A kind of method, apparatus and system of chip electrostatic protection
CN110970419A (en) * 2019-11-20 2020-04-07 深圳市华星光电半导体显示技术有限公司 Electrostatic protection device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102644A1 (en) * 2003-11-10 2005-05-12 International Business Machines Corporation Esd design, verification and checking system and method of use
CN102693704A (en) * 2012-05-04 2012-09-26 广东欧珀移动通信有限公司 Implementation method for solving electrostatic display abnormity of display screen
CN109873397A (en) * 2019-01-31 2019-06-11 上海思立微电子科技有限公司 A kind of method, apparatus and system of chip electrostatic protection
CN110970419A (en) * 2019-11-20 2020-04-07 深圳市华星光电半导体显示技术有限公司 Electrostatic protection device and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116431418A (en) * 2023-06-13 2023-07-14 荣耀终端有限公司 Screen electrostatic detection method, readable storage medium and electronic device
CN116431418B (en) * 2023-06-13 2023-10-31 荣耀终端有限公司 Screen electrostatic detection method, readable storage medium and electronic device
CN116820293A (en) * 2023-06-30 2023-09-29 荣耀终端有限公司 Display control method and electronic equipment
CN117631793A (en) * 2024-01-25 2024-03-01 深圳曦华科技有限公司 Reset method, reset device, computer equipment and storage medium
CN117631793B (en) * 2024-01-25 2024-05-10 深圳曦华科技有限公司 Reset method, reset device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114077511A (en) 2022-02-22

Similar Documents

Publication Publication Date Title
WO2022037495A1 (en) Display screen anomaly recovery method and apparatus, computer device, and storage medium
JP6530774B2 (en) Hardware failure recovery system
US8099636B2 (en) System and method for protecting memory stacks using a debug unit
US9710321B2 (en) Atypical reboot data collection and analysis
US7702955B2 (en) Method and apparatus for detecting a fault condition and restoration thereafter using user context information
US7010724B1 (en) Operating system hang detection and methods for handling hang conditions
US20080071972A1 (en) Data Processing Apparatus And Data Control Circuit For Use Therein
US10445104B2 (en) Electronic device, method for controlling electronic device, and program
CN105761661B (en) Display device and its method for restarting, display panel
US10877700B1 (en) Flash memory controller and method capable of efficiently reporting debug information to host device
US7650552B2 (en) Apparatus and method for detecting and recovering errors caused by electrostatic discharge
US20090063907A1 (en) Debugging system, debugging apparatus and method
US20160321127A1 (en) Determine when an error log was created
US8510607B2 (en) EFTB unit, USB device with the EFTB unit and method for resetting and reenumerating the USB device
US20240152439A1 (en) Detection Method and Electronic Device
CN103853311A (en) Low power application execution on data processing device having low graphics engine utilization
US20140095859A1 (en) Apparatus and method for managing register information in a processing system
US7590901B2 (en) Apparatus, system, and method for dynamic recovery and restoration from design defects in an integrated circuit
US11138062B2 (en) Terminal device troubleshooting method and terminal device
US20210089430A1 (en) Chip having debug memory interface and debug method thereof
CN106326049B (en) A kind of Fault Locating Method and terminal
JP6374004B2 (en) Electronic device with controller entering low power mode
US9971716B2 (en) Method, system and architecture for bus transaction logger
TWI717965B (en) Display module, display driver integrated circuit and restarting method for display driver integrated circuit when abnormal voltage occurs
US20220206823A1 (en) Information processing method and electronic apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21857590

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06.06.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21857590

Country of ref document: EP

Kind code of ref document: A1