CN116860565A - Abnormality display detection method, abnormality display detection device, electronic device and storage medium - Google Patents

Abnormality display detection method, abnormality display detection device, electronic device and storage medium Download PDF

Info

Publication number
CN116860565A
CN116860565A CN202210316749.1A CN202210316749A CN116860565A CN 116860565 A CN116860565 A CN 116860565A CN 202210316749 A CN202210316749 A CN 202210316749A CN 116860565 A CN116860565 A CN 116860565A
Authority
CN
China
Prior art keywords
display
register
parameter
current
state parameter
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
CN202210316749.1A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202210316749.1A priority Critical patent/CN116860565A/en
Publication of CN116860565A publication Critical patent/CN116860565A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display

Abstract

The disclosure provides an abnormality display detection method, an abnormality display detection device, electronic equipment and a storage medium, wherein the abnormality display detection method comprises the following steps: the method comprises the steps of obtaining initial state parameters corresponding to a first register, wherein the initial state parameters describe states of part of second registers in a display panel driving circuit, the second registers are used for storing current display parameters, obtaining the current state parameters stored in the first register, determining the current state parameters by the current display parameters, and detecting whether abnormal display exists on a display panel according to the initial state parameters and the current state parameters. Through the method and the device, the initial state parameter and the current state parameter of the first register can be combined, whether the display panel has abnormal display or not can be accurately detected, and the abnormal display detection efficiency of the display panel is effectively improved, so that when the display panel has abnormal display problems, a response measure can be quickly made, and the stability of display service is effectively improved.

Description

Abnormality display detection method, abnormality display detection device, electronic device and storage medium
Technical Field
The disclosure relates to the technical field of electronic equipment, and in particular relates to an abnormal display detection method and device, electronic equipment and a storage medium.
Background
In the technical field of electronic devices, when the electronic device provides a display service, an abnormal display problem caused by other interference problems (for example, electrostatic problems) generally occurs, and thus, it is highly required to propose an abnormal display detection method for detecting the abnormal display problem of the electronic device.
In the related art, when detecting an abnormal display problem of an electronic device, it is common to detect a voltage of the electronic device, and when detecting that the voltage is abnormal, determine that the electronic device has an abnormal display problem.
In this way, the abnormal display problem cannot be accurately determined, so that the abnormal display problem cannot be processed timely enough, and the display service is affected.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
Therefore, the disclosure provides an abnormal display detection method, an apparatus, an electronic device and a storage medium, which can accurately detect whether the display panel has abnormal display or not by combining an initial state parameter and a current state parameter of a first register, and effectively improve the efficiency of abnormal display detection of the display panel, so that when the display panel has an abnormal display problem, a response measure can be quickly made, and the stability of display service is effectively improved.
An abnormality display detection method provided by an embodiment of a first aspect of the present disclosure includes: acquiring initial state parameters corresponding to the first register, wherein the initial state parameters describe the states of part of second registers in the display panel driving circuit, and the second registers are used for storing current display parameters; acquiring a current state parameter stored in a first register, wherein the current state parameter is determined by a current display parameter; and detecting whether abnormal display exists on the display panel according to the initial state parameter and the current state parameter.
According to the abnormal display detection method provided by the embodiment of the first aspect of the present disclosure, initial state parameters corresponding to the first register are obtained, wherein the initial state parameters describe states of a part of second registers in a display panel driving circuit, the second registers are used for storing current display parameters, then the current state parameters stored in the first registers are obtained, the current state parameters are determined by the current display parameters, and whether abnormal display exists in the display panel is detected according to the initial state parameters and the current state parameters. Therefore, the method and the device can accurately detect whether the display panel has abnormal display or not by combining the initial state parameter and the current state parameter of the first register, and effectively improve the efficiency of abnormal display detection of the display panel, so that when the display panel has abnormal display problems, a response measure can be quickly made, and the stability of display service is effectively improved.
An abnormality display detection apparatus proposed by an embodiment of a second aspect of the present disclosure includes: the first acquisition module is used for acquiring initial state parameters corresponding to the first register, wherein the initial state parameters describe the states of part of second registers in the display panel driving circuit, and the second registers are used for storing current display parameters; the second acquisition module is used for acquiring the current state parameters stored in the first register, wherein the current state parameters are determined by the current display parameters; and the first determining module is used for detecting whether the display panel has abnormal display or not according to the initial state parameter and the current state parameter.
According to the abnormal display detection device provided by the embodiment of the second aspect of the disclosure, the initial state parameters corresponding to the first register are obtained, wherein the initial state parameters describe the states of part of the second registers in the display panel driving circuit, the second registers are used for storing current display parameters, the current state parameters stored in the first registers are obtained, the current state parameters are determined by the current display parameters, and whether abnormal display exists in the display panel is detected according to the initial state parameters and the current state parameters. Therefore, the method and the device can accurately detect whether the display panel has abnormal display or not by combining the initial state parameter and the current state parameter of the first register, and effectively improve the efficiency of abnormal display detection of the display panel, so that when the display panel has abnormal display problems, a response measure can be quickly made, and the stability of display service is effectively improved.
An electronic device according to an embodiment of a third aspect of the present disclosure includes: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the abnormal display detection method as set forth in the embodiment of the first aspect of the disclosure when executing the program.
An embodiment of a fourth aspect of the present disclosure proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements an abnormality display detection method as proposed by an embodiment of the first aspect of the present disclosure.
An embodiment of a fifth aspect of the present disclosure proposes a computer program product which, when executed by a processor, performs an abnormality display detection method as proposed by an embodiment of the first aspect of the present disclosure.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of an abnormality display detection method according to an embodiment of the disclosure;
FIG. 2A is a schematic diagram showing a design of a second register in a display panel driving circuit according to an embodiment of the present disclosure;
FIG. 2B is a schematic diagram illustrating a design of a first register in a display panel driving circuit according to an embodiment of the disclosure;
FIG. 3 is a flowchart of an abnormality display detection method according to another embodiment of the present disclosure;
FIG. 4 is a flowchart of an abnormality display detection method according to another embodiment of the present disclosure;
FIG. 5 is a flowchart of an abnormality display detection method according to another embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an abnormality display detection apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an abnormality display detection apparatus according to another embodiment of the present disclosure;
fig. 8 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present disclosure and are not to be construed as limiting the present disclosure. On the contrary, the embodiments of the disclosure include all alternatives, modifications, and equivalents as may be included within the spirit and scope of the appended claims.
Fig. 1 is a flowchart of an anomaly display detection method according to an embodiment of the disclosure.
The embodiment of the present disclosure is exemplified in that the abnormality display detection method is configured in an abnormality display detection apparatus.
The abnormality display detection method in the embodiment of the present disclosure may be configured in an abnormality display detection apparatus, which may be provided in a server or may also be provided in an electronic device, to which the embodiment of the present disclosure is not limited.
In some embodiments of the present disclosure, the electronic device may be any suitable type of electronic device for implementation, such as a smart phone, tablet, wearable device, and personal computer (Personal Computer, PC) device, etc., to which embodiments of the present disclosure are not limited.
The execution body of the embodiment of the present disclosure may be, for example, a server or a central processing unit (Central Processing Unit, CPU) in an electronic device in hardware, or may be, for example, a server or a related background service in an electronic device in software, which is not limited.
As shown in fig. 1, the abnormality display detection method includes:
s101: and acquiring initial state parameters corresponding to the first register, wherein the initial state parameters describe the states of part of second registers in the display panel driving circuit, and the second registers are used for storing current display parameters.
The abnormal display detection method described in the embodiments of the present disclosure may be used to detect abnormal display conditions, for example, may be used to detect abnormal display conditions of a display screen, where the abnormal display conditions may specifically be, for example, conditions of displaying a screen with a pattern, displaying a black screen, and the like, caused by static electricity, and this is not limited.
That is, a specific application scenario of the embodiments of the present disclosure may specifically be, for example, detecting an abnormal display condition of a display screen, and the following description of the embodiments of the present disclosure will be exemplified by the application scenario.
The display panel driving circuit may be used to control the display screen to perform display services, and the display panel driving circuit may be, for example, a display driving chip (Display Driver Integrated Circuit, DDIC), which is not limited thereto.
The display panel driving circuit may include a plurality of registers, where the registers may correspond to different register values, and the register values may be referred to as display parameters, and the display panel driving circuit may control the display screen to provide corresponding display services based on the display parameters.
The registers for storing different display parameters in the display panel driving circuit may be called as second registers, and the number of the second registers may be plural, which is not limited.
In the embodiment of the disclosure, since the complexity of the design of the display panel driving circuit is higher and the number of the second registers in the display panel driving circuit is larger, in order to perform more visual integrated description on the states of the plurality of second registers in the display panel driving circuit, so as to more efficiently and conveniently understand the relevant conditions of the second registers, the corresponding registers (the registers may be referred to as the first registers) may be configured for the display panel driving circuit, and then, the states of the plurality of second registers may be described through the corresponding states (the states may be referred to as initial state parameters) of the first registers, so that the states of the plurality of second registers may be more conveniently acquired.
The state of the second register may specifically be, for example, a corresponding register value of the second register, and an on and/or off state of the second register, which is not limited.
In the initial stage of the abnormal display detection method, the first register may have some related description parameters, which may be referred to as initial state parameters, where the initial state parameters may be, for example, register values corresponding to the first register, which are not limited.
In some embodiments, the initial state parameter of the first register may be obtained by determining a parameter value corresponding to the first register at an initial stage of starting execution of the display abnormality detection method, and using the parameter value as the initial state parameter corresponding to the first register.
For example, the embodiment of the present disclosure may be specifically explained with reference to fig. 2A, fig. 2B, fig. 2A is a schematic diagram of a design of a second register in a display panel driving circuit according to an embodiment of the present disclosure, fig. 2B is a schematic diagram of a design of a first register in a display panel driving circuit according to an embodiment of the present disclosure, and a corresponding first register (for example, a checksum register) may be added to the second register of each register page in the display panel driving circuit, and this is not limited thereto), where the first register may be used to record a sum of all bit values of all second registers of the register page to which the first register belongs, as shown in fig. 2B, and the corresponding value of the second register represents: the sum of the bit values of all the second registers of the register page is odd, the value is 01, the result is even, the value is 02, and the method is not limited.
Accordingly, the initial state parameter of the first register may be obtained by reading a value corresponding to the first register from the display panel driving circuit at an initial stage of starting execution of the display abnormality detection method, and using the value as the initial state parameter corresponding to the first register, which is not limited.
In other embodiments, the initial state parameter of the first register may be obtained by performing a reset process on the first register in the display panel driving circuit in an initial stage of starting to execute the display abnormality detection method, that is, performing a zero-resetting process on a register value corresponding to the first register to obtain the initial state parameter corresponding to the first register, which is not limited.
S102: and acquiring the current state parameter stored in the first register, wherein the current state parameter is determined by the current display parameter.
The parameter corresponding to the first register may be referred to as a current state parameter, and the current state parameter may be, for example, a register value stored in the first register of the current stage, which is not limited.
In some embodiments, the obtaining the current state parameter stored in the first register may be reading a register value stored in the first register at the current stage of execution of the abnormal display detection method, and taking the read register value as the current state parameter stored in the first register, which is not limited.
In the embodiment of the disclosure, the obtaining the current state parameter stored in the first register may be determining the current display parameter values stored in the plurality of second registers in the register page to which the first register belongs, and performing an parsing process on the determined plurality of current display parameter values to obtain a corresponding parsing result, and then generating the current state parameter stored in the first register according to the parsing result, which is not limited.
S103: and detecting whether abnormal display exists on the display panel according to the initial state parameter and the current state parameter.
After the initial state parameter and the current state parameter of the first register are obtained, whether the display panel to which the first register belongs has abnormal display or not can be determined according to the initial state parameter and the current state parameter, and the abnormal display can be specifically, for example, abnormal display problems such as display panel screen pattern, black screen and the like caused by static problems of the display panel, which are not limited.
According to the embodiment of the disclosure, after the initial state parameters corresponding to the first register are determined and the current state parameters stored in the first register are determined, whether the display panel has abnormal display or not can be detected according to the initial state parameters and the current state parameters.
In some embodiments, whether the display panel has abnormal display is detected according to the initial state parameter and the current state parameter, which may be that the initial state parameter and the current state parameter are compared, and when the initial state parameter and the current state parameter are different, the display panel is determined to have abnormal display, which is not limited.
In other embodiments, whether the display panel has abnormal display is detected according to the initial state parameter and the current state parameter, or the current state parameter of the first register may be continuously monitored after the current state parameter of the first register is obtained, and when the current state parameter of the first register is monitored to have a jump, it is determined that the display panel has abnormal display, which is not limited.
It can be understood that, because the display panel is in a complex surrounding environment when providing the display service, the existing abnormal display problem is not a simple static problem, that is, the abnormal display problem of the display panel may be an intermittent change process, so that the current display parameter stored in the second register for providing the display service for the display panel may be in an intermittent change state, and accordingly, the current state parameter of the first register for integrally describing the current display parameter may be in an intermittent change state, so that the current state parameter of the first register may be continuously monitored, and when a jump exists in the current state parameter of the first register, it is determined that the display panel to which the first register belongs has abnormal display.
For example, as shown in fig. 2B, when the current state parameter of the first register is represented by the parity of the sum of the register values of the respective bits of the second register, an unknown condition may occur (for example, when the sum of the register values of the respective bits of the second register is even, the two register values in the second register are changed from even to odd at the same time, and at this time, although the current display parameter is stored in the second register, the sum of the register values of the respective bits of the second register is still even), in this case, the current state parameter of the first register may be continuously monitored, and when the parity jump of the current state parameter of the first register is monitored, it is determined that the display panel to which the first register belongs has abnormal display, which is not limited.
In this embodiment, the initial state parameter corresponding to the first register is obtained, where the initial state parameter describes a state of a part of second registers in the display panel driving circuit, the second registers are used to store current display parameters, and then the current state parameter stored in the first registers is obtained, where the current state parameter is determined by the current display parameters, and whether the display panel has abnormal display is detected according to the initial state parameter and the current state parameter. Therefore, the method and the device can accurately detect whether the display panel has abnormal display or not by combining the initial state parameter and the current state parameter of the first register, and effectively improve the efficiency of abnormal display detection of the display panel, so that when the display panel has abnormal display problems, a response measure can be quickly made, and the stability of display service is effectively improved.
Fig. 3 is a flowchart of an abnormality display detection method according to another embodiment of the disclosure.
As shown in fig. 3, the abnormality display detection method includes:
s301: and acquiring initial state parameters corresponding to the first register, wherein the initial state parameters describe the states of part of second registers in the display panel driving circuit, and the second registers are used for storing current display parameters.
S302: and acquiring the current state parameter stored in the first register, wherein the current state parameter is determined by the current display parameter.
S303: and detecting whether abnormal display exists on the display panel according to the initial state parameter and the current state parameter.
The descriptions of S301 to S303 may be specifically referred to the above embodiments, and are not repeated herein.
S304: and determining whether abnormal display occurs according to the initial state parameter and the current state parameter.
After determining the current state parameter and the initial state parameter of the first register, the embodiment of the disclosure may determine whether abnormal display occurs according to the initial state parameter and the current state parameter.
In some embodiments, determining whether abnormal display occurs according to the initial state parameter and the current state parameter may be comparing the initial state parameter and the current state parameter, and determining that abnormal display occurs when the initial state parameter and the current state parameter are different, or determining whether abnormal display occurs according to the initial state parameter and the current state parameter, or monitoring the initial state parameter of the first register, and determining that abnormal display occurs when a jump occurs in the initial state parameter of the first register is monitored.
Of course, any other possible method may be adopted to determine whether abnormal display occurs according to the initial state parameter and the current state parameter, which is not limited.
Optionally, in some embodiments, whether the abnormal display occurs is determined according to the initial state parameter and the current state parameter, which may be determined when the initial state parameter and the current state parameter are different, and whether the abnormal display occurs is determined when the initial state parameter and the current state parameter are the same, and whether the abnormal display does not occur is determined, because the initial state parameter and the current state parameter of the first register are combined, the display parameter tampering condition in the second register corresponding to the first register can be more conveniently obtained based on the initial state parameter and the current state parameter of the first register, so that whether the abnormal display occurs can be determined in time, and thus, the response to the abnormal display problem can be efficiently made according to the determination result, and the stability of the display service is further effectively improved.
That is, after determining the initial state parameter and the current state parameter corresponding to the first register, the embodiment of the disclosure may perform comparison processing on the initial state parameter and the current state parameter of the first register, determine that abnormal display occurs when the initial state parameter and the current state parameter are different, and determine that abnormal display does not occur when the initial state parameter and the current state parameter are the same.
S305: if abnormal display occurs, determining abnormal display information according to the current display parameters stored in the second register.
According to the embodiment of the disclosure, when the occurrence of the abnormal display event is determined according to the current state parameter and the initial state parameter stored in the first register, the current display parameter stored in the second register is determined to be changed, and at this time, abnormal display information can be determined according to the current display parameter stored in the second register.
In some embodiments, the determining the abnormal display information according to the current display parameter stored in the second register may be determining that the current display parameter stored in the second register is used together as the abnormal display information when the abnormal display event occurs according to the initial state parameter and the current state parameter of the first register, which is not limited.
In other embodiments, the determining the abnormal display information according to the current display parameter stored in the second register may be determining that the abnormal display event occurs according to the initial state parameter and the current state parameter of the first register, and performing an parsing process on the current display parameter stored in the second register to obtain a corresponding parsing result, where the parsing result is used as the abnormal display information, and is not limited.
In this embodiment, by determining that abnormal display occurs according to the initial state parameter and the current state parameter, and determining abnormal display information according to the current display parameter stored in the second register when abnormal display occurs, accuracy and reliability of a detection result can be effectively displayed abnormally.
In this embodiment, by acquiring the initial state parameter corresponding to the first register, acquiring the current state parameter stored in the first register, detecting whether the display panel has abnormal display according to the initial state parameter and the current state parameter, determining that abnormal display occurs according to the initial state parameter and the current state parameter, and determining abnormal display information according to the current display parameter stored in the second register when abnormal display occurs, accuracy and reliability of a detection result of abnormal display can be effectively improved, and in addition, since abnormal display information is determined according to the current display parameter stored in the second register when abnormal display occurs, accuracy and referenceability of abnormal display information can be effectively improved, and in a subsequent execution process of an abnormal display detection method, countermeasures can be rapidly made to abnormal display events based on the abnormal display information, so that display effects can be effectively improved.
Fig. 4 is a flowchart of an abnormality display detection method according to another embodiment of the disclosure.
As shown in fig. 4, the abnormality display detection method includes:
s401: and acquiring initial state parameters corresponding to the first register, wherein the initial state parameters describe the states of part of second registers in the display panel driving circuit, and the second registers are used for storing current display parameters.
S402: and acquiring the current state parameter stored in the first register, wherein the current state parameter is determined by the current display parameter.
S403: and detecting whether abnormal display exists on the display panel according to the initial state parameter and the current state parameter.
S404: and determining whether abnormal display occurs according to the initial state parameter and the current state parameter.
The descriptions of S401 to S404 may be specifically referred to the above embodiments, and are not repeated herein.
S405: and acquiring preset display parameters of the second register.
The display parameter preconfigured for the second register may be referred to as a preset display parameter, and the preset display parameter may specifically be, for example, a display parameter configured for the second register in the display panel driving circuit when the display panel driving circuit leaves the factory.
In the embodiment of the present disclosure, the preset display parameter of the second register may be obtained by determining a register value corresponding to the second register in the display panel driving circuit when the display panel driving circuit leaves the factory, and using the register value as the preset display parameter of the second register, which is not limited.
S406: and determining abnormal display information according to the current display parameters and the preset display parameters.
In some embodiments, the abnormal display information may be determined according to the current display parameter and the preset display parameter, which are obtained by respectively comparing the current display parameter corresponding to the corresponding second register with the preset display parameter, and when the current display parameter corresponding to the second register changes compared with the preset display parameter, the current display parameter is used as the abnormal display information, which is not limited.
In other embodiments, the abnormal display information may be determined according to the current display parameter and the preset display parameter, or after determining the current display parameter and the preset display parameter of the second register, the current display parameter and the preset display parameter of the second register may be analyzed to obtain a corresponding analysis result, and the abnormal display information may be determined according to the analysis result, which is not limited.
It may be appreciated that in the embodiment of the present disclosure, the number of the second registers is plural, and when abnormal display occurs, not all the second registers have a problem that the display parameter is tampered, that is, the second register having a problem that the display parameter is tampered may be determined when abnormal display occurs, and the second register may be referred to as a target second register.
The target second register may have some related information, which may be referred to as register information, where the register information may specifically be, for example, identification information of the target second register, parameter information of the target second register, and the like, which is not limited thereto.
Therefore, the register with the tampered display parameters can be accurately positioned to the target second register according to the current display parameters and the preset display parameters, the register information of the target second register is determined, the register information and the current display parameters stored in the target second register are used as abnormal display information, the accuracy of the abnormal display information is effectively improved, in addition, when the register with the tampered display parameters is accurately positioned to the target second register, the target second register can be supported to be processed in a targeted manner according to the register information of the second register in the subsequent display service implementation process, and therefore the solution efficiency of the abnormal display problem can be effectively assisted.
In some embodiments, the determining the target second register according to the current display parameter and the preset display parameter may be to continuously monitor the current display parameter stored in the second register, and when the current display parameter is monitored to change, take the second register to which the current display parameter belongs as the target second register, which is not limited.
Or, determining the target second register according to the current display parameter and the preset display parameter, or presetting a corresponding matching condition for the current display parameter and the preset display parameter (the matching condition can be combined with the abnormal display detection requirement of the actual service processing scene, is self-adaptively configured, and is not limited), then performing matching processing on the current display parameter and the preset display parameter to obtain a corresponding matching processing result, and taking the second register to which the current display parameter belongs as the target second register when the matching processing result meets the matching condition, so that the matching processing is not limited.
Optionally, in some embodiments, the determining the target second register according to the current display parameter and the preset display parameter may be determining that the second register to which the current display parameter belongs is the target second register when the current display parameter and the preset display parameter are different, and because when the current display parameter and the preset display parameter are different, it can accurately determine that the second register to which the current display parameter belongs has a situation that the display parameter is tampered, and further, it is able to efficiently locate the target second register from the plurality of second registers, and effectively improve the determining effect of the target second register.
That is, in the embodiment of the present disclosure, the target second register is determined according to the current display parameter and the preset display parameter, which can perform comparison processing on the current display parameter and the preset display parameter, and determine that the second register to which the current display parameter belongs is the target second register when the current display parameter and the preset display parameter are different.
According to the embodiment of the disclosure, after the target second register is determined, the preset display parameters of the second register can be obtained, and the abnormal display information is determined according to the current display parameters and the preset display parameters.
In this embodiment, because the initial state parameter corresponding to the first register is obtained, the current state parameter stored in the first register is obtained, then according to the initial state parameter and the current state parameter, whether the display panel has abnormal display or not is detected, abnormal display is determined, the preset display parameter of the second register is obtained, and the abnormal display information is determined according to the current display parameter and the preset display parameter, because the preset display parameter of the second register is obtained first, the change condition of the current display parameter can be reflected more intuitively based on the preset display parameter, the display parameter tampering condition of the second register can be obtained more accurately, further abnormal display information can be monitored in response to the display parameter tampering condition, missing grabbing of the abnormal display information is avoided, further the determining effect of the abnormal display information is effectively improved, and accordingly the stability of the display service can be effectively improved based on the determined abnormal display information in the subsequent abnormal display detection method executing process.
Fig. 5 is a flowchart of an abnormality display detection method according to another embodiment of the disclosure.
As shown in fig. 5, the abnormality display detection method includes:
s501: and generating initial state parameters according to preset display parameters corresponding to each second register in the partial second registers.
In the embodiment of the disclosure, the initial state parameter is generated according to the preset display parameter corresponding to each second register in the partial second registers.
For example, it may be that the sum of preset display parameters of each bit of all second registers of each register page is determined, and the parity of the sum of preset display parameters is determined (for example, the initial state parameter may be recorded as "01" when the sum of preset display parameters is odd, and the initial state parameter may be recorded as "02" when the sum of preset display parameters is even, which is not limiting).
S502: the first register is configured according to the initial state parameters.
According to the embodiment of the disclosure, after the initial state parameters are generated according to the preset display parameters corresponding to each second register in the partial second registers, the initial state parameters can be stored in the first register so as to configure the first register according to the initial state parameters, and then, the subsequent abnormal display detection method can be triggered and executed based on the initial state parameters stored in the first register, which is not limited.
In the embodiment of the disclosure, the initial state parameters are generated according to the preset display parameters corresponding to each second register in the partial second registers, and the first registers are configured according to the initial state parameters, so that the corresponding preset display parameters of the multiple complex second registers can be integrated into the initial state parameters which are easier to monitor, the operation difficulty of a subsequent abnormal display detection method can be effectively reduced, the subsequent abnormal display can be more intuitively detected, and the detection efficiency of the abnormal display can be effectively improved.
S503: and providing a display service based on the preset display parameters.
In the embodiment of the disclosure, the display panel driving circuit may provide the display service based on the preset display parameter stored in the second register.
S504: and generating a current state parameter according to the current display parameter in part of the second register.
In the embodiment of the disclosure, the current display parameter stored in each second register in the part of the second registers may be determined first, and may be a current stage of execution of the abnormal display detection method, where corresponding register values stored in each second register in the part of the second registers are read, and the read register values are used as the current display parameter.
In the embodiment of the disclosure, after determining the current display parameters stored in each second register in the part of second registers, the current state parameters may be generated according to the current display parameters corresponding to each second register in the part of second registers.
For example, it may be that a sum of current display parameters of each bit of all second registers of each register page is determined, and a parity of the sum of the current display parameters is determined (for example, the current state parameter may be recorded as "01" when the sum of the current display parameters is odd, and the current state parameter may be recorded as "02" when the sum of the current display parameters is even, which is not limited).
S505: and updating the initial state parameter of the first register to the current state parameter.
After determining the initial state parameter and the current state parameter of the first register, the embodiment of the disclosure may update the initial state parameter in the first register to the current state parameter according to the initial state parameter.
In the embodiment of the disclosure, the current display parameters stored in each second register in the part of second registers are determined first, the current state parameters are generated according to the current display parameters in the part of second registers, and the initial state parameters in the first registers are updated to the current state parameters, so that the integration of the corresponding current display parameters of the plurality of complex second registers to the current state parameters easier to monitor can be realized, the operation difficulty of the subsequent abnormal display detection method can be effectively reduced, and the subsequent abnormal display condition can be detected more intuitively based on the current state parameters in the first registers.
S506: and acquiring initial state parameters corresponding to the first register, wherein the initial state parameters describe the states of part of second registers in the display panel driving circuit, and the second registers are used for storing current display parameters.
S507: and acquiring the current state parameter stored in the first register, wherein the current state parameter is determined by the current display parameter.
S508: and detecting whether abnormal display exists on the display panel according to the initial state parameter and the current state parameter.
The descriptions of S507-S508 may be specifically referred to the above embodiments, and are not repeated here.
In this embodiment, since the initial state parameters are generated according to the preset display parameters corresponding to each second register in the partial second registers, and the first registers are configured according to the initial state parameters, the multiple preset display parameters corresponding to the multiple complex second registers can be integrated into the initial state parameters that are easier to monitor, so that the operation difficulty of the subsequent abnormal display detection method can be effectively reduced, the subsequent abnormal display can be more intuitively detected, the detection efficiency of the abnormal display can be effectively improved, the current display parameters stored in each second register in the partial second registers are determined, the current state parameters are generated according to the current display parameters in the partial second registers, and the initial state parameters in the first registers are updated into the current state parameters, therefore, a plurality of current display parameters corresponding to a plurality of complex second registers can be integrated into current state parameters which are easier to monitor, the operation difficulty of a subsequent abnormal display detection method can be effectively reduced, the subsequent abnormal display condition can be more intuitively detected based on the current state parameters in the first registers, the initial state parameters corresponding to the first registers are obtained, the current state parameters stored in the first registers are obtained, whether the abnormal display exists on the display panel is detected according to the initial state parameters and the current state parameters, the combination of the initial state parameters and the current state parameters of the first registers can be realized, whether the abnormal display exists on the display panel is accurately detected, the abnormal display detection efficiency is effectively improved, and when the abnormal display problem occurs, the response measure can be rapidly made, thereby effectively improving the stability of the display service.
Fig. 6 is a schematic structural diagram of an abnormality display detection apparatus according to an embodiment of the present disclosure.
As shown in fig. 6, in some embodiments, an abnormality display detection apparatus 60 of the examples of the present disclosure includes:
a first obtaining module 601, configured to obtain an initial state parameter corresponding to a first register, where the initial state parameter describes a state of a portion of second registers in the display panel driving circuit, where the second registers are used to store current display parameters;
a second obtaining module 602, configured to obtain a current state parameter stored in the first register, where the current state parameter is determined by a current display parameter; and
the detecting module 603 is configured to detect whether an abnormal display exists on the display panel according to the initial state parameter and the current state parameter.
In some embodiments of the present disclosure, as shown in fig. 7, fig. 7 is a schematic structural diagram of an abnormality display detection apparatus according to another embodiment of the present disclosure, the abnormality display detection apparatus 60 including:
a first determining module 604, configured to determine whether abnormal display occurs according to the initial state parameter and the current state parameter after detecting whether abnormal display exists on the display panel according to the initial state parameter and the current state parameter;
The second determining module 605 is configured to determine, when abnormal display occurs, abnormal display information according to the current display parameter stored in the second register.
In some embodiments of the present disclosure, the first determining module 604 is further configured to:
if the initial state parameter is different from the current state parameter, determining that abnormal display occurs;
if the initial state parameter and the current state parameter are the same, it is determined that no abnormal display occurs.
In some embodiments of the present disclosure, the second determining module 605 includes:
an acquisition submodule 6051 for acquiring preset display parameters of the second register;
a determining submodule 6052 for determining abnormal display information according to the current display parameter and the preset display parameter.
In some embodiments of the present disclosure, the determining submodule 6052 is further configured to:
determining a target second register according to the current display parameter and the preset display parameter;
determining register information of a target second register;
and detecting whether the display panel has abnormal display or not according to the register information and the current display parameters stored in the target second register.
In some embodiments of the present disclosure, the determining submodule 6052 is further configured to:
and if the current display parameter is different from the preset display parameter, determining that the second register to which the current display parameter belongs is a target second register.
In some embodiments of the present disclosure, the abnormality display detection apparatus 60 further includes:
the first generating module 606 is configured to generate initial state parameters according to preset display parameters corresponding to each second register in the part of the second registers before acquiring the initial state parameters of the first registers;
the configuration module 607 is configured to configure the first register according to the initial state parameter.
In some embodiments of the present disclosure, the abnormality display detection apparatus 60 further includes:
a providing module 608 for providing a display service based on preset display parameters;
a second generating module 609, configured to generate a current status parameter according to the current display parameter in a portion of the second register;
an updating module 610 is configured to update the initial state parameter of the first register to the current state parameter.
It should be noted that the foregoing explanation of the embodiment of the abnormal display detection method is also applicable to the abnormal display detection apparatus of this embodiment, and will not be repeated here.
In this embodiment, the initial state parameter corresponding to the first register is obtained, where the initial state parameter describes a state of a part of second registers in the display panel driving circuit, the second registers are used to store current display parameters, and then the current state parameter stored in the first registers is obtained, where the current state parameter is determined by the current display parameters, and whether the display panel has abnormal display is detected according to the initial state parameter and the current state parameter. Therefore, the method and the device can accurately detect whether the display panel has abnormal display or not by combining the initial state parameter and the current state parameter of the first register, and effectively improve the abnormal display detection efficiency of the display panel, so that when the display panel has abnormal display problems, the method and the device can quickly combine abnormal display information to respond to the action in time, and further effectively improve the stability of display service.
To achieve some of the embodiments described above, the present disclosure also proposes an electronic device including: the processor executes the program to implement the abnormality display detection method as proposed in the foregoing embodiment of the present disclosure.
In order to implement some of the embodiments described above, the present disclosure also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the abnormality display detection method as proposed in the foregoing embodiments of the present disclosure.
In order to implement some of the embodiments described above, the present disclosure also proposes a computer program product which, when executed by an instruction processor in the computer program product, performs the abnormality display detection method as proposed by the foregoing embodiments of the present disclosure.
Fig. 8 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure. The electronic device 12 shown in fig. 8 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 8, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry Standard architecture (Industry Standard Architecture; hereinafter ISA) bus, micro channel architecture (Micro Channel Architecture; hereinafter MAC) bus, enhanced ISA bus, video electronics standards Association (Video Electronics Standards Association; hereinafter VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnection; hereinafter PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter: RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, commonly referred to as a "hard disk drive").
Although not shown in fig. 8, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a compact disk read only memory (Compact Disc Read Only Memory; hereinafter CD-ROM), digital versatile read only optical disk (Digital Video Disc Read Only Memory; hereinafter DVD-ROM), or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the various embodiments of the disclosure.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods in the embodiments described in this disclosure.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks, such as a local area network (Local Area Network; hereinafter: LAN), a wide area network (Wide Area Network; hereinafter: WAN) and/or a public network, such as the Internet, via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, for example, implementing the abnormality display detection method mentioned in the foregoing embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It should be noted that in the description of the present disclosure, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
Furthermore, each functional unit in the embodiments of the present disclosure may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present disclosure have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.

Claims (11)

1. An abnormality display detection method, comprising:
acquiring initial state parameters of a first register, wherein the initial state parameters describe the state of a part of second registers in a display panel driving circuit, and the second registers store current display parameters;
Acquiring a current state parameter of the first register, wherein the current state parameter is determined by the current display parameter; and
and detecting whether abnormal display exists on the display panel according to the initial state parameter and the current state parameter.
2. The method of claim 1, further comprising, after said detecting whether an abnormal display exists on said display panel based on said initial state parameter and said current state parameter:
determining whether abnormal display occurs according to the initial state parameter and the current state parameter;
and if the abnormal display occurs, determining abnormal display information according to the current display parameters stored in the second register.
3. The method of claim 2, wherein said determining whether an abnormal display has occurred based on said initial state parameter and said current state parameter comprises:
if the initial state parameter and the current state parameter are different, determining that the abnormal display occurs;
and if the initial state parameter is the same as the current state parameter, determining that the abnormal display does not occur.
4. The method of claim 2, wherein said determining abnormal display information based on said current display parameter stored in said second register comprises:
acquiring preset display parameters of the second register;
and determining the abnormal display information according to the current display parameters and the preset display parameters.
5. The method of claim 4, wherein said determining said abnormal display information based on said current display parameter and said preset display parameter comprises:
determining a target second register according to the current display parameter and the preset display parameter;
determining register information of the target second register;
and taking the register information and the current display parameters stored in the target second register as the abnormal display information.
6. The method of claim 5, wherein said determining a target second register based on said current display parameter and said preset display parameter comprises:
and if the current display parameter is different from the preset display parameter, determining that the second register to which the current display parameter belongs is the target second register.
7. The method of claim 4, further comprising, prior to said obtaining the initial state parameter of the first register:
generating the initial state parameters according to preset display parameters corresponding to the second registers in the partial second registers;
and configuring the first register according to the initial state parameter.
8. The method as recited in claim 4, further comprising:
providing a display service based on the preset display parameters;
generating a current state parameter according to the current display parameter in the part of the second register;
updating the initial state parameter of the first register to the current state parameter.
9. An abnormality display detection device, comprising:
the display device comprises a first acquisition module, a second acquisition module and a display module, wherein the first acquisition module is used for acquiring initial state parameters corresponding to a first register, the initial state parameters describe the states of part of second registers in a display panel driving circuit, and the second registers are used for storing current display parameters;
the second acquisition module is used for acquiring the current state parameters stored in the first register, wherein the current state parameters are determined by the current display parameters; and
And the detection module is used for detecting whether abnormal display exists on the display panel according to the initial state parameter and the current state parameter.
10. An electronic device, comprising:
a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the abnormality display detection method according to any one of claims 1 to 8 when the program is executed.
11. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the abnormality display detection method according to any one of claims 1 to 8.
CN202210316749.1A 2022-03-28 2022-03-28 Abnormality display detection method, abnormality display detection device, electronic device and storage medium Pending CN116860565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210316749.1A CN116860565A (en) 2022-03-28 2022-03-28 Abnormality display detection method, abnormality display detection device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210316749.1A CN116860565A (en) 2022-03-28 2022-03-28 Abnormality display detection method, abnormality display detection device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN116860565A true CN116860565A (en) 2023-10-10

Family

ID=88229157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210316749.1A Pending CN116860565A (en) 2022-03-28 2022-03-28 Abnormality display detection method, abnormality display detection device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN116860565A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117576834A (en) * 2024-01-17 2024-02-20 深圳市吉方工控有限公司 Display abnormality detection method, device and equipment of POS machine and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117576834A (en) * 2024-01-17 2024-02-20 深圳市吉方工控有限公司 Display abnormality detection method, device and equipment of POS machine and storage medium
CN117576834B (en) * 2024-01-17 2024-03-29 深圳市吉方工控有限公司 Display abnormality detection method, device and equipment of POS machine and storage medium

Similar Documents

Publication Publication Date Title
US9213625B1 (en) Method and apparatus for performing automated user-interface layout testing
US20070234132A1 (en) System and method for indicating errors of a motherboard
CN103500133A (en) Fault locating method and device
CN114168222B (en) Method and device for acquiring time consumption during starting, terminal equipment and storage medium
WO2019142591A1 (en) Abnormality-detecting device
US11741065B2 (en) Hardware, firmware, and software anomaly handling based on machine learning
CN112665710A (en) Method and device for detecting running state of equipment, electronic equipment and storage medium
CN116860565A (en) Abnormality display detection method, abnormality display detection device, electronic device and storage medium
US10324778B2 (en) Utilizing an error prediction and avoidance component for a transaction processing system
CN102681928B (en) Abnormal information output system of computer system
US9009671B2 (en) Crash notification between debuggers
JP7183844B2 (en) Information processing apparatus, method, and program
CN110554929A (en) Data verification method and device, computer equipment and storage medium
CN111295658B (en) Simulation device, simulation method, and computer-readable storage medium
US11182316B2 (en) Program interrupt code conversion
CN116124368A (en) Water leakage detection method for cooling water pipe joint of electromagnetic bearing control cabinet of main helium fan
JP2008176703A (en) Failure diagnostic system and failure diagnostic program
US10127131B2 (en) Method for performance monitoring using a redundancy tracking register
US10678409B2 (en) Displaying an off-switch location
US10796237B2 (en) Patient-level analytics with sequential pattern mining
US20170139796A1 (en) Bus interface card detection system and method for detecting bus interface card
US11455924B1 (en) System and method for LCD display panel failure diagnostics
US11042462B2 (en) Filtering based on instruction execution characteristics for assessing program performance
US20220405387A1 (en) Secure enablement of a removable security module on a logic board
CN111240931B (en) Service state visualization processing method and device, computer equipment and 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