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

文档序号:1955106 发布日期:2021-12-10 浏览:13次 中文

阅读说明:本技术 一种恢复显示屏异常显示的方法、系统和存储设备 (Method and system for recovering abnormal display of display screen and storage device ) 是由 黄国椿 于 2021-08-02 设计创作,主要内容包括:本发明涉及显示屏技术领域,特别涉及一种恢复显示屏异常显示的方法、系统和存储设备。所述一种恢复显示屏异常显示的方法,包括步骤:向屏端发起读命令,接收所述屏端返回的信息,根据所述返回的信息判断所述屏端是否能正常通讯;若所述屏端无法正常通讯,向屏端发起显示屏异常恢复指令。以上方法的步骤均在软件层面实施,故当硬件已经打板无法修改时,无需重新硬件改版,且无需通过人工重启设备也能够快速恢复在电磁干扰环境中显示异常的显示屏,提升用户体验。(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.)

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.

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.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:头戴式显示设备及其显示亮度调节方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类