CN113781939A - Method and system for recovering abnormal display of display screen and storage device - Google Patents

Method and system for recovering abnormal display of display screen and storage device Download PDF

Info

Publication number
CN113781939A
CN113781939A CN202110881740.0A CN202110881740A CN113781939A CN 113781939 A CN113781939 A CN 113781939A CN 202110881740 A CN202110881740 A CN 202110881740A CN 113781939 A CN113781939 A CN 113781939A
Authority
CN
China
Prior art keywords
screen
display
screen end
processor
abnormal
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110881740.0A
Other languages
Chinese (zh)
Inventor
黄国椿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rockchip Electronics Co Ltd
Original Assignee
Rockchip Electronics Co Ltd
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 Rockchip Electronics Co Ltd filed Critical Rockchip Electronics Co Ltd
Priority to CN202110881740.0A priority Critical patent/CN113781939A/en
Publication of CN113781939A publication Critical patent/CN113781939A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management

Abstract

The invention relates to the technical field of display screens, in particular to a method, a system and a storage device for recovering abnormal display of a display screen. The method for recovering the abnormal display of the display screen comprises the following steps: initiating a reading command to a screen end, receiving information returned by the screen end, and judging whether the screen end can normally communicate according to the returned information; and if the screen end cannot normally communicate, initiating a display screen abnormal recovery instruction to the screen end. The steps of the method are implemented on a software level, so that when the hardware is punched and cannot be modified, the hardware does not need to be re-modified, and the display screen displaying abnormity in the electromagnetic interference environment can be quickly recovered without manually restarting the equipment, so that the user experience is improved.

Description

Method and system for recovering abnormal display of display screen and storage device
Technical Field
The invention relates to the technical field of display screens, in particular to a method, a system and a storage device for recovering abnormal display of a display screen.
Background
An interface of the MIPI screen based on the MIPI-DSI protocol has the advantages of increasing display bandwidth, improving display performance, reducing power consumption, occupying smaller PCB space and the like, so that the MIPI screen is widely applied to mobile equipment and consumer electronics products, such as mobile phones, tablets, cash registers and the like.
However, when the product is used in a strict power-on test and a severe electromagnetic interference environment, the problem that the screen end is halted and can not be recovered occurs, and once the problem occurs, the product can be recovered only by manually shutting down and restarting, so that the user experience is influenced. In the existing processing method of the electromagnetic interference, the electronic interference resistance design is mainly adopted on a hardware circuit to prevent and avoid the problems, and the design difficulty of the method is increased while the hardware cost is high.
Disclosure of Invention
Therefore, a method for recovering abnormal display of a display screen is needed to be provided, so that the technical problem of high design difficulty and high cost is solved through hardware circuit design when screen end crash occurs in an electromagnetic interference environment. The specific technical scheme is as follows:
a method for restoring abnormal display of a display screen comprises the following steps:
initiating a reading command to a screen end, receiving information returned by the screen end, and judging whether the screen end can normally communicate according to the returned information;
and if the screen end cannot normally communicate, initiating a display screen abnormal recovery instruction to the screen end.
Further, the "initiating a read command to the screen end" specifically includes the steps of:
the processor encodes the display image signal into a preset format signal and sends the preset format signal to the screen end in real time according to the scanning time sequence of the screen end;
the processor sets a timer, and when the timer is interrupted, the processor initiates a read command to the screen end.
Further, the display screen exception recovery instruction includes but is not limited to: the display screen is reset when the display screen is powered off and powered on;
the screen end includes: MIPI screen.
Further, the processor encodes the display image signal into a preset format signal, and transmits the preset format signal to the screen end in real time according to the scanning time sequence of the screen end; the processor sets a timer, and when the timer is interrupted, the processor initiates a read command to the screen end, and the method specifically comprises the following steps:
the processor encodes a display image signal into a preset format signal through the MIPI-DSI controller, and sends the preset format signal to the screen end in real time according to the scanning time sequence of the screen end;
when the timer is interrupted, the processor sends an instruction to enable the MIPI-DSI controller to initiate a read command to the screen end through the dcs mode command get _ power _ mode.
Further, the method also comprises the following steps:
the processor resets the MIPI-DSI controller in the video burst mode and configures the MIPI-DSI controller into a command mode;
and after the screen end is in a state of receiving image signals, the MIPI-DSI controller switches to the video burst mode again, and sends the image data sent by the processor to the screen end for display according to a predefined scanning time sequence.
Further, after the image data sent by the processor is sent to the screen end for display according to the predefined scanning time sequence, the method specifically comprises the following steps:
when the next timer interruption is generated, the processor repeats the steps of initiating a reading command to the screen end, receiving information returned by the screen end, and judging whether the screen end can normally communicate according to the returned information; and if the screen end cannot normally communicate, initiating a display screen abnormal recovery instruction to the screen end.
Further, the receiving of the information returned by the screen end and the judgment of whether the screen end can communicate normally according to the returned information specifically include the following steps:
the controller compares the content in the returned information according to the get _ power _ mode command field in the MIPI DCS protocol,
and judging whether the screen end can normally communicate.
In order to solve the technical problem, the storage device is further provided, and the specific technical scheme is as follows:
a storage device having stored therein a set of instructions for carrying out any of the steps of a method of restoring an anomalous display of a display screen as described above.
In order to solve the technical problem, a system for recovering abnormal display of a display screen is also provided, and the specific technical scheme is as follows:
a system for restoring an anomalous display in a display screen, comprising: a processor terminal and a screen terminal;
the processor terminal is the processor in the method for recovering the abnormal display of the display screen;
the screen end is used for: and receiving the reading command sent by the processor terminal and returning corresponding information.
Further, the screen end includes: MIPI screen.
The invention has the beneficial effects that: a method for restoring abnormal display of a display screen comprises the following steps: initiating a reading command to a screen end, receiving information returned by the screen end, and judging whether the screen end can normally communicate according to the returned information; and if the screen end cannot normally communicate, initiating a display screen abnormal recovery instruction to the screen end. The steps of the method are implemented on a software level, so that when the hardware is punched and cannot be modified, the hardware does not need to be re-modified, and the display screen displaying abnormity in the electromagnetic interference environment can be quickly recovered without manually restarting the equipment, so that the user experience is improved.
Drawings
FIG. 1 is a flowchart of a method for restoring an abnormal display on a display screen according to an embodiment;
FIG. 2 is a diagram illustrating a method for resuming an abnormal display of a display screen according to an embodiment;
FIG. 3 is a system framework diagram illustrating the operation of a method for resuming the abnormal display of a display screen according to an embodiment;
FIG. 4 is a flowchart illustrating get _ power _ mode in accordance with an embodiment;
FIG. 5 is a diagram illustrating information returned by the screen end according to an embodiment;
fig. 6 is a schematic parameter diagram of normal communication of the screen end according to the embodiment;
FIG. 7 is a block diagram of a memory device according to an embodiment;
fig. 8 is a block diagram of a system for resuming an abnormal display of a display screen according to an embodiment.
Description of reference numerals:
700. the storage device is a device that is capable of storing data,
800. a system for restoring abnormal display of a display screen,
801. a terminal of the processor is provided with a processor,
802. and (4) a screen end.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1 to 4, in the present embodiment, a method for recovering an abnormal display of a display screen may be applied to a storage device, where the storage device includes but is not limited to: personal computer, server, general-purpose computer, special-purpose computer, network device, embedded device, programmable device, intelligent mobile terminal, etc., in this embodiment, a device with an MIPI screen is used as an example, and as shown in fig. 3, the device with the MIPI screen includes: CPU processor and MIPI screen terminal.
The core technical idea of the application is as follows: a display recovery mechanism is provided from a software level, based on an MIPI-DSI protocol, when product equipment is normally displayed, a controller of the MIPI-DSI continuously communicates with an MIPI screen end through an MIPI DCS command (get _ power _ mode) and obtains the display state of the screen end, whether the screen end can normally respond in an electromagnetic interference environment is judged according to whether the communication result is normal, if the normal response cannot be achieved, a CPU resets a display interface subsystem module, the MIPI-DSI controller is reset when the MIPI screen is powered off, then the MIPI-DSI controller is immediately restarted, the screen is powered on, and an initialization sequence is sent to achieve the purpose that the screen with abnormal display can normally display again. The specific technical scheme is as follows:
step S101: and initiating a reading command to the screen end.
Step S102: and receiving information returned by the screen end, and judging whether the screen end can normally communicate according to the returned information.
Step S103: and if the screen end cannot normally communicate, initiating a display screen abnormal recovery instruction to the screen end.
Wherein the step S101 further comprises the steps of:
the processor encodes the display image signal into a preset format signal and sends the preset format signal to the screen end in real time according to the scanning time sequence of the screen end;
the processor sets a timer, and when the timer is interrupted, the processor initiates a read command to the screen end.
In the present embodiment, the MIPI screen is taken as an example for description, so that the following may be specifically mentioned: the processor encodes the display image signal into a preset format signal (such as a DSI signal) through the MIPI-DSI controller, and sends the preset format signal to the screen end in real time according to the scanning time sequence of the screen end;
in a normal display flow, a processor sets a timer, and when the timer is interrupted, the processor sends an instruction to enable an MIPI-DSI controller to initiate a read command to a screen end through a dcs mode command get _ power _ mode.
Wherein the step S102 further comprises the steps of: and the controller compares the contents in the returned information according to a get _ power _ mode command domain in the MIPI DCS protocol, and judges whether the screen end can normally communicate. The method specifically comprises the following steps:
the returned information includes: parameter 1; and the controller judges whether the screen end can normally communicate or not according to the parameter1 compared with the get _ power _ mode command domain in the MIPI DCS protocol. Namely, the MIPI screen end responds to the request of the get _ power _ mode and feeds back the parameter1 to the MIPI-DSI controller, and the CPU judges whether the screen end can communicate with the normal power mode or not according to the comparison of the get _ power _ mode command domain in the MIPI DCS protocol to the parameter 1. As shown in fig. 5 and 6, if the feedback of the parameter1 should be 0x9c (i.e. D7, D4, D3, and D2 are "1" respectively) in normal display, it is determined that the screen end is in normal communication, otherwise, it is determined that the screen end is in abnormal communication, and it is determined that the screen end is in abnormal display.
In step S103, if the processor determines that the screen end is abnormal by comparing the parameter1 fed back by the screen end get _ power _ mode, the processor initiates a display screen abnormality recovery instruction to the screen end. The display screen exception recovery instructions include but are not limited to: and the display screen is reset when the display screen is powered off and powered on.
And then the processor resets the MIPI-DSI controller in the video burst mode and configures the MIPI-DSI controller into a command mode, firstly configures an MIPI screen end by sending a series of geneic and DCS initialization sequences, and after the screen end is in a ready state for receiving image signals, the MIPI-DSI controller switches to the video burst mode again and sends image data sent by the processor to the screen end for display according to a predefined scanning time sequence.
Then when the next timer interrupt is generated, the processor repeats the steps of initiating a reading command to the screen end, receiving the information returned by the screen end and judging whether the screen end can normally communicate according to the returned information; and if the screen end cannot normally communicate, initiating a display screen abnormal recovery instruction to the screen end. To detect the status of the MIPI screen.
The above-mentioned whole flow diagram is shown in fig. 2, and the flow diagram of get _ power _ mode is shown in fig. 3.
A method for restoring abnormal display of a display screen comprises the following steps: initiating a reading command to a screen end, receiving information returned by the screen end, and judging whether the screen end can normally communicate according to the returned information; and if the screen end cannot normally communicate, initiating a display screen abnormal recovery instruction to the screen end. The steps of the method are implemented on a software level, so that when the hardware is punched and cannot be modified, the hardware does not need to be re-modified, and the display screen displaying abnormity in the electromagnetic interference environment can be quickly recovered without manually restarting the equipment, so that the user experience is improved.
Referring to fig. 7, in the present embodiment, a memory device 700 is implemented as follows:
a storage device 700 having stored therein a set of instructions for carrying out any of the steps of a method of restoring an anomalous display of a display screen as described above.
Referring to fig. 8, in this embodiment, a system 800 for resuming the abnormal display of the display screen includes the following specific embodiments:
a system 800 for restoring an anomalous display in a display screen, comprising: a processor terminal 801 and a screen terminal 802;
the processor terminal 801 is a processor in the method for recovering abnormal display of the display screen;
the screen terminal 802 is configured to: and receiving the read command sent by the processor terminal 801 and returning corresponding information.
Further, the screen terminal 802 includes: MIPI screen.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.

Claims (10)

1. A method for recovering abnormal display of a display screen is characterized by comprising the following steps:
initiating a reading command to a screen end, receiving information returned by the screen end, and judging whether the screen end can normally communicate according to the returned information;
and if the screen end cannot normally communicate, initiating a display screen abnormal recovery instruction to the screen end.
2. The method for recovering abnormal display of a display screen according to claim 1, wherein the step of initiating a read command to a screen terminal specifically comprises the steps of:
the processor encodes the display image signal into a preset format signal and sends the preset format signal to the screen end in real time according to the scanning time sequence of the screen end;
the processor sets a timer, and when the timer is interrupted, the processor initiates a read command to the screen end.
3. The method for restoring abnormal display of display screen according to claim 1 or 2, wherein the display screen abnormal restoring instruction includes but is not limited to: the display screen is reset when the display screen is powered off and powered on;
the screen end includes: MIPI screen.
4. The method for recovering the abnormal display of the display screen according to any one of claims 1 to 3, wherein the processor encodes the display image signal into a signal with a preset format and transmits the signal with the preset format to the screen end in real time according to the scanning time sequence of the screen end; the processor sets a timer, and when the timer is interrupted, the processor initiates a read command to the screen end, and the method specifically comprises the following steps:
the processor encodes a display image signal into a preset format signal through the MIPI-DSI controller, and sends the preset format signal to the screen end in real time according to the scanning time sequence of the screen end;
when the timer is interrupted, the processor sends an instruction to enable the MIPI-DSI controller to initiate a read command to the screen end through the dcs mode command get _ power _ mode.
5. The method for restoring abnormal display of a display screen according to claim 4, further comprising the steps of:
the processor resets the MIPI-DSI controller in the video burst mode and configures the MIPI-DSI controller into a command mode;
and after the screen end is in a state of receiving image signals, the MIPI-DSI controller switches to the video burst mode again, and sends the image data sent by the processor to the screen end for display according to a predefined scanning time sequence.
6. The method according to claim 5, wherein after the image data sent by the processor is sent to the screen end for display according to the predefined scanning timing sequence, the method specifically comprises the following steps:
when the next timer interruption is generated, the processor repeats the steps of initiating a reading command to the screen end, receiving information returned by the screen end, and judging whether the screen end can normally communicate according to the returned information; and if the screen end cannot normally communicate, initiating a display screen abnormal recovery instruction to the screen end.
7. The method according to claim 5, wherein the step of receiving the information returned by the screen end and determining whether the screen end can communicate normally according to the returned information includes the following steps:
the controller compares the contents in the returned information according to the get _ power _ mode command field in the MIPIDCS protocol,
and judging whether the screen end can normally communicate.
8. A storage device having a set of instructions stored therein, the set of instructions being operable to perform: a method of restoring an abnormal display on a display screen according to any one of claims 1 to 7.
9. A system for restoring an anomalous display in a display screen, comprising: a processor terminal and a screen terminal;
the processor terminal is the processor in the method for recovering abnormal display of the display screen in any one of claims 1 to 7;
the screen end is used for: and receiving the reading command sent by the processor terminal and returning corresponding information.
10. The system for restoring abnormal display of a display screen according to claim 9, wherein the screen end comprises: MIPI screen.
CN202110881740.0A 2021-08-02 2021-08-02 Method and system for recovering abnormal display of display screen and storage device Pending CN113781939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110881740.0A CN113781939A (en) 2021-08-02 2021-08-02 Method and system for recovering abnormal display of display screen and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110881740.0A CN113781939A (en) 2021-08-02 2021-08-02 Method and system for recovering abnormal display of display screen and storage device

Publications (1)

Publication Number Publication Date
CN113781939A true CN113781939A (en) 2021-12-10

Family

ID=78836507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110881740.0A Pending CN113781939A (en) 2021-08-02 2021-08-02 Method and system for recovering abnormal display of display screen and storage device

Country Status (1)

Country Link
CN (1) CN113781939A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116820293A (en) * 2023-06-30 2023-09-29 荣耀终端有限公司 Display control method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945652A (en) * 2012-11-27 2013-02-27 广东欧珀移动通信有限公司 Method and system for solving abnormal display of display screen
CN103218982A (en) * 2013-04-12 2013-07-24 广东欧珀移动通信有限公司 Display screen work abnormal handling method and device
CN103905654A (en) * 2012-12-28 2014-07-02 联芯科技有限公司 Method and system for processing ESD interference in display screen of MIPI
CN104867437A (en) * 2015-06-16 2015-08-26 中颖电子股份有限公司 MIPI module ESD protection device
KR20160044787A (en) * 2014-10-16 2016-04-26 엘지전자 주식회사 System for monitoring abnormal state using a timer and method for operating the same
CN105786634A (en) * 2016-02-29 2016-07-20 广东欧珀移动通信有限公司 Terminal screen anomaly processing method and terminal
CN106557391A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 Display screen processing method and processing device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945652A (en) * 2012-11-27 2013-02-27 广东欧珀移动通信有限公司 Method and system for solving abnormal display of display screen
CN103905654A (en) * 2012-12-28 2014-07-02 联芯科技有限公司 Method and system for processing ESD interference in display screen of MIPI
CN103218982A (en) * 2013-04-12 2013-07-24 广东欧珀移动通信有限公司 Display screen work abnormal handling method and device
KR20160044787A (en) * 2014-10-16 2016-04-26 엘지전자 주식회사 System for monitoring abnormal state using a timer and method for operating the same
CN104867437A (en) * 2015-06-16 2015-08-26 中颖电子股份有限公司 MIPI module ESD protection device
CN106557391A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 Display screen processing method and processing device
CN105786634A (en) * 2016-02-29 2016-07-20 广东欧珀移动通信有限公司 Terminal screen anomaly processing method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116820293A (en) * 2023-06-30 2023-09-29 荣耀终端有限公司 Display control method and electronic equipment

Similar Documents

Publication Publication Date Title
EP3232326B1 (en) Keyboard video mouse (kvm) device and method for detecting host failure using the same
US11144416B2 (en) Device fault processing method, apparatus, and system
US11320919B2 (en) Touch and display driver integration circuit
US10445104B2 (en) Electronic device, method for controlling electronic device, and program
CN114286143B (en) Display device and automatic switching method of transmission protocol
US20110043530A1 (en) Electronic apparatus and method of controlling display
CN109285524B (en) Liquid crystal display, display method thereof, terminal and computer readable storage medium
CN113781939A (en) Method and system for recovering abnormal display of display screen and storage device
CN113038052B (en) Digital video recorder, control method thereof, device storage medium and electronic device
CN113412480B (en) Mounting processing method, mounting processing device, electronic equipment and computer readable storage medium
WO2015070718A1 (en) Communication number notification method and communication device
CN112988246A (en) System switching method and device, electronic equipment and storage medium
CN103870564A (en) Data updating method and electronic equipment
CN111309277A (en) Method and system for switching working modes of computer screen switching
CN107391157B (en) Mobile terminal and method for identifying mobile storage device
CN106201469B (en) Dynamic effect control method and device and user terminal
CN108881623B (en) Mobile terminal control method, mobile terminal and storage medium thereof
CN113064574A (en) Electronic equipment and display parameter control method
CN112214094A (en) Method and equipment for coping with power supply jitter of hard disk
CN110716759B (en) Electronic device, computer-readable storage medium, and operation parameter configuration method
CN111626223A (en) Equipment state detection method and device, electronic equipment and medium
CN112290640A (en) Interface circuit and electronic equipment charge
US11907599B2 (en) Information processing method, apparatus, electronic device, and storage medium
CN101425050B (en) System for safely uninstalling mobile electronic apparatus
CN112783593B (en) Information processing method, information processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination