CN110703943B - Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium - Google Patents

Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium Download PDF

Info

Publication number
CN110703943B
CN110703943B CN201910934327.9A CN201910934327A CN110703943B CN 110703943 B CN110703943 B CN 110703943B CN 201910934327 A CN201910934327 A CN 201910934327A CN 110703943 B CN110703943 B CN 110703943B
Authority
CN
China
Prior art keywords
register
liquid crystal
crystal panel
reading
reset
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.)
Active
Application number
CN201910934327.9A
Other languages
Chinese (zh)
Other versions
CN110703943A (en
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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment 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 Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201910934327.9A priority Critical patent/CN110703943B/en
Publication of CN110703943A publication Critical patent/CN110703943A/en
Application granted granted Critical
Publication of CN110703943B publication Critical patent/CN110703943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application provides an electrostatic protection method and device of a liquid crystal panel, electronic equipment and a storage medium, wherein the method comprises the following steps: reading a register address from a preset monitoring list, and reading a register value corresponding to the register address; according to the register address, acquiring a register initial value corresponding to the register address from a preset register initialization list; comparing whether the initial value of the register is consistent with the value of the register; and if the initial value of the register corresponding to the register address is inconsistent with the register value, resetting the liquid crystal panel. Through this application, can reach the purpose of electrostatic protection, realize carrying out electrostatic protection through the software mode, need not to change hardware design, can improve liquid crystal display panel's electrostatic protection performance, solve the technical problem that the effect of carrying out electrostatic protection through the hardware mode is poor among the correlation technique.

Description

Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for protecting a liquid crystal panel from static electricity, and a storage medium.
Background
Static electricity can be generated by contact, separation or mutual friction of different substances, the static electricity is so to speak ubiquitous, and the static electricity has little influence on human bodies, but the electric performance and even the service life of some static electricity sensitive elements such as a liquid crystal panel can be influenced. Therefore, electrostatic protection is necessary.
In the related art, the electrostatic protection measures for the liquid crystal panel are mainly initiated by hardware, such as adding an antistatic transient voltage suppressor (Transient Voltage Suppressor, TVS) on a control chip of a touch screen, selecting a metal case grounded when designing a housing of an electronic device, changing the wiring of a power factor corrector (Power Factor Corrector, PFC), and the like.
However, the effect of static electricity protection by hardware is poor, and even engineers with abundant hardware design experience can not completely solve the influence of static electricity on the system.
Disclosure of Invention
The application provides a static electricity protection method, device and storage medium of a liquid crystal panel, which are used for solving the technical problem that the effect of static electricity protection in a hardware mode is poor in the related art.
An embodiment of a first aspect of the present application provides an electrostatic protection method for a liquid crystal panel, including:
reading a register address from a preset monitoring list, and reading a register value corresponding to the register address;
according to the register address, acquiring a register initial value corresponding to the register address from a preset register initialization list;
comparing whether the initial value of the register is consistent with the value of the register;
and if the initial value of the register corresponding to the register address is inconsistent with the register value, resetting the liquid crystal panel.
According to the static electricity protection method for the liquid crystal panel, the register address is read from the preset monitoring list, the register value corresponding to the register address is read, the register initial value corresponding to the register address is obtained from the preset register initialization list according to the register address, whether the register initial value is consistent with the register value is further compared, and when the fact that the register initial value corresponding to the register address is inconsistent with the register value is obtained, the liquid crystal panel is reset. Therefore, the purpose of static electricity protection is achieved by controlling the reset of the liquid crystal panel, the static electricity protection is achieved in a software mode, the hardware design is not required to be changed, and the static electricity protection performance of the liquid crystal panel is improved.
An embodiment of a second aspect of the present application provides an electrostatic protection device for a liquid crystal panel, including:
the reading module is used for reading the register address from a preset monitoring list and reading the register value corresponding to the register address;
the acquisition module is used for acquiring a register initial value corresponding to the register address from a preset register initialization list according to the register address;
the comparison module is used for comparing whether the initial value of the register is consistent with the value of the register;
and the resetting module is used for resetting the liquid crystal panel when the fact that the initial value of the register corresponding to the register address is inconsistent with the register value is obtained.
According to the static protection device of the liquid crystal panel, the register address is read from the preset monitoring list, the register value corresponding to the register address is read, the register initial value corresponding to the register address is obtained from the preset register initialization list according to the register address, whether the register initial value is consistent with the register value is further compared, and when the fact that the register initial value corresponding to the register address is inconsistent with the register value is obtained, the liquid crystal panel is reset. Therefore, the purpose of static electricity protection is achieved by controlling the reset of the liquid crystal panel, the static electricity protection is achieved in a software mode, the hardware design is not required to be changed, and the static electricity protection performance of the liquid crystal panel is improved.
An embodiment of a third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for protecting the liquid crystal panel according to the embodiment of the first aspect when executing the computer program.
An embodiment of a fourth aspect of the present application proposes a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the method for protecting a liquid crystal panel from static electricity according to the embodiment of the first aspect.
Additional aspects and advantages of the application 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 application.
Drawings
The foregoing and/or additional aspects and advantages of the present application 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 a method for protecting an electrostatic discharge of a liquid crystal panel according to an embodiment of the present disclosure;
fig. 2 is a flow chart illustrating a method for protecting an electrostatic discharge of a liquid crystal panel according to another embodiment of the present disclosure;
FIG. 3 is a flow chart of a method for electrostatic protection of a liquid crystal panel according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electrostatic protection device of a liquid crystal panel according to an embodiment of the present disclosure; and
fig. 5 is a schematic structural diagram of an electrostatic protection device for a liquid crystal panel according to another embodiment of the present disclosure.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present application and are not to be construed as limiting the present application.
The electrostatic protection method, apparatus, electronic device, and storage medium of the liquid crystal panel according to the embodiments of the present application are described below with reference to the accompanying drawings.
Aiming at the technical problem that the static protection effect is poor in the prior art through a hardware mode, the application provides a static protection method, a static protection device and a storage medium of a liquid crystal panel, static protection can be realized through a software mode, hardware designs such as PFC wiring, TVS (transient voltage protection) pipe and the like are not required to be changed, and the static protection performance of the liquid crystal panel is improved while the hardware design is simplified.
Fig. 1 is a flow chart of an electrostatic protection method of a liquid crystal panel according to an embodiment of the disclosure. The static electricity protection method of the liquid crystal panel in the embodiment can be executed by the static electricity protection device of the liquid crystal panel, or can be executed by electronic equipment, and when the static electricity protection method is executed by the electronic equipment, the static electricity protection device is executed by a main control chip in the electronic equipment, wherein the electronic equipment can be a mobile phone, a tablet personal computer, a notebook computer, a wearable device and other devices with the liquid crystal panel. The following embodiments explain the present application by taking as an example the electrostatic protection method of the liquid crystal panel of the present embodiment performed by the electrostatic protection device of the liquid crystal panel of the present embodiment, but are not limiting to the present application.
As shown in fig. 1, the electrostatic protection method of the liquid crystal panel may include the steps of:
step 101, reading a register address from a preset monitoring list, and reading a register value corresponding to the register address.
The preset monitoring list may be preset, and the addresses of the registers with readable attributes are stored in the monitoring list, that is, the registers corresponding to the addresses of the registers stored in the monitoring list are readable registers.
The liquid crystal panel is correspondingly provided with a plurality of registers, each register has a unique register address, and in this embodiment, after the initialization of the liquid crystal panel is completed, the addresses of the registers which are configured in the initialization process and have readable attributes can be saved to obtain a monitoring list, and the monitoring list is stored.
In this embodiment, the electrostatic protection device of the liquid crystal panel may periodically read the register address from the monitor list, and obtain the register value corresponding to the register address according to the read register address.
Because the registers of the liquid crystal panel are many, the register addresses stored in the monitoring list are also corresponding to many, and if all the register addresses are read from the monitoring list each time and then the register values corresponding to the register addresses are obtained, more liquid crystal panel resources are occupied. Therefore, in one possible implementation manner of the embodiment of the application, several register addresses can be read each time, and only the register values corresponding to the register addresses are obtained, so that the resource occupation of the liquid crystal panel is reduced.
Specifically, reading the register address from the preset monitoring list may include:
and reading N register addresses from the monitoring list according to a preset time interval, wherein N is a positive integer, and N is smaller than the total number of the register addresses stored in the monitoring list.
Further, to ensure that all register addresses in the monitor list are traversed over a period of time, in one possible implementation of the embodiments of the present application, different register addresses may be read each time a register address in the monitor list is read. For example, N register addresses may be sequentially read according to the arrangement order of the register addresses in the monitor list, for example, when the register addresses in the monitor list are arranged in the order from top to bottom, N register addresses may be read each time according to the order from top to bottom, N register addresses before the first reading, N register addresses after the reading after the preset time interval, and so on, until the liquid crystal panel is reset, and then the register addresses are sequentially read again.
In this embodiment, after the register address is read, the register value corresponding to the register address can be obtained.
Daemon threads are a special kind of process running in the background, independent of the control terminal and periodically performing certain tasks or waiting to process certain occurring events. Thus, in this embodiment, as a possible implementation manner, a daemon thread may be preset, and the electrostatic protection device of the liquid crystal panel may start the daemon thread, read the register address from the monitor list through the daemon thread, and access the register of the liquid crystal panel through the read command, to obtain the register value corresponding to the read register address.
Step 102, according to the register address, obtaining a register initial value corresponding to the register address from a preset register initialization list.
In this embodiment, after the register address is read from the monitor list, the initial value of the register corresponding to the register address may be obtained from the preset register initialization list according to the read register address. The register initialization list stores a mapping relationship between each register address and a corresponding register initial value, where the register initial value is used for initializing the liquid crystal panel, that is, after initializing the liquid crystal panel, the value of the register is configured as the corresponding register initial value.
Step 103, comparing whether the initial value of the register is consistent with the value of the register.
In this embodiment, after the register initial value and the register value corresponding to each register address are obtained, the register initial value and the register value of each register address may be compared, whether the register initial value and the register value are consistent is determined, and if the register initial value and the register value are consistent, the flow is ended; if not, step 104 is performed.
Step 104, if it is known that the register initial value corresponding to the register address is inconsistent with the register value, resetting the liquid crystal panel.
In this embodiment, for each read register address, the register initial value and the register value corresponding to the read register address are compared, and if the register value corresponding to any register address is inconsistent with the register initial value, the liquid crystal panel is considered to be affected by static electricity, so that the liquid crystal panel is reset, and the purpose of static electricity protection is achieved.
It can be understood that the control chip is arranged on the liquid crystal panel, when the control chip of the liquid crystal panel is affected by static electricity, the control chip senses work failure, and the value of the register of the liquid crystal panel is changed, so that the value of the register is not the initial value of the register. Therefore, in this embodiment, by acquiring the register value and comparing the register value with the corresponding initial value, it can be determined whether the liquid crystal panel is affected by static electricity, and reset when the liquid crystal panel is affected by static electricity.
In one possible implementation manner of the embodiment of the present application, when the liquid crystal panel is reset, a reset instruction may be sent to a reset pin of the liquid crystal panel, so that the reset pin sends a reset pulse according to the reset instruction to reset the liquid crystal panel.
Typically, the reset pulse is low for a period of time. In this embodiment, when the reset is required, the electrostatic protection device of the liquid crystal panel controls the reset pin of the liquid crystal panel to send a reset pulse by sending a reset instruction, and starts the hardware reset of the liquid crystal panel, so as to improve the electrostatic protection performance of the liquid crystal panel.
In one possible implementation manner of the embodiment of the present application, after the electrostatic protection device of the liquid crystal panel reads the register address from the monitoring list, if the register corresponding to any one of the register addresses fails to be read, the liquid crystal panel is reset.
According to the static electricity protection method of the liquid crystal panel, the register address is read from the preset monitoring list, the register value corresponding to the register address is read, the register initial value corresponding to the register address is obtained from the preset register initialization list according to the register address, whether the register initial value is consistent with the register value is further compared, and when the fact that the register initial value corresponding to the register address is inconsistent with the register value is obtained, the liquid crystal panel is reset. Therefore, the purpose of static electricity protection is achieved by controlling the reset of the liquid crystal panel, the static electricity protection is achieved in a software mode, the hardware design is not required to be changed, and the static electricity protection performance of the liquid crystal panel is improved.
In order not to influence the normal use of the user, the user experience is improved, and the working state of the liquid crystal panel before the reset can be restored. Therefore, another method for protecting an electrostatic discharge protection device of a liquid crystal panel is provided in the embodiment of the present application, and fig. 2 is a schematic flow chart of the method for protecting an electrostatic discharge protection device of a liquid crystal panel according to another embodiment of the present application.
As shown in fig. 2, the electrostatic protection method of the liquid crystal panel may include the following steps:
step 201, reading a register address from a preset monitoring list, and reading a register value corresponding to the register address.
Step 202, according to the register address, obtaining a register initial value corresponding to the register address from a preset register initialization list.
In step 203, the register initial value and the register value are compared to determine whether they are consistent.
In this embodiment, the descriptions of the steps 201 to 203 may be referred to the descriptions of the steps 101 to 103 in the foregoing embodiments, and are not repeated here.
Step 204, if it is known that the register initial value corresponding to the register address is inconsistent with the register value, the current working state of the liquid crystal panel is recorded.
In this embodiment, for each read register address, the corresponding register initial value and the register value are compared, if the register value corresponding to any register address is not consistent with the register initial value, the liquid crystal panel is considered to need to be reset to realize electrostatic protection, so as to ensure that the use of the user is not affected before and after the reset, and the current working state of the liquid crystal panel can be recorded before the reset.
It can be understood that the different liquid crystal panels provide different functions, and thus different operating states. For example, for a touch screen, its operating state includes, but is not limited to, firmware upgrade state, factory mode, touch coordinate processing, etc.; for a liquid crystal display, its operating state includes image output.
In this embodiment, when the register value corresponding to a certain register address is not consistent with the register initial value, the current working state of the liquid crystal panel is recorded, for example, when the current touch screen is performing touch coordinate processing, the corresponding touch coordinate is recorded, and the touch coordinate processing is suspended.
Step 205, resetting the liquid crystal panel.
And 206, controlling the liquid crystal panel to work according to the working state.
In this embodiment, after the liquid crystal panel is reset, the liquid crystal panel is initialized again, the register value of the liquid crystal panel is reconfigured to be the corresponding register initial value, the working environment is restored according to the working state of the liquid crystal panel recorded before the reset, and the liquid crystal panel is controlled to work according to the recorded working state. For example, restarting the factory mode of the touch screen, restarting the reporting of touch coordinates, starting the image output of the liquid crystal display, etc.
According to the static electricity protection method of the liquid crystal panel, the register address is read from the preset monitoring list, the register value corresponding to the register address is read, the register initial value corresponding to the register address is obtained from the preset register initialization list according to the register address, whether the register initial value is consistent with the register value is further compared, when the fact that the register initial value corresponding to the register address is inconsistent with the register value is obtained, the current working state of the liquid crystal panel is recorded, and after the liquid crystal panel is reset, the liquid crystal panel is controlled to work according to the working state. Therefore, the purpose of static protection is achieved by controlling the reset of the liquid crystal panel, static protection is achieved through a software mode, hardware design is not required to be changed, the static protection performance of the liquid crystal panel is improved, the working state of the liquid crystal panel before reset is recorded, the working state is recovered after reset, normal use of a user is guaranteed, and user experience is improved.
Fig. 3 is a flow chart of a method for protecting a liquid crystal panel against static electricity according to an embodiment of the present application, and the embodiment is explained by taking static electricity protection of a touch screen as an example.
As shown in fig. 3, the electrostatic protection method of the liquid crystal panel may include the steps of:
step 301, reading a register address from a preset monitoring list.
In step 302, a register corresponding to the register address is accessed through a read command to obtain a register value.
Step 303, determining whether a register value is obtained.
In this embodiment, when the register corresponding to the register address is read, the reading may fail, or the reading may succeed, and when the register corresponding to each register address is read, the reading is judged to succeed, and step 304 is executed; when the register value corresponding to the at least one register address is not read, it is determined that the reading fails, and step 306 is performed.
Step 304, according to the register address, obtaining a register initial value corresponding to the register address from a preset register initialization list.
In this embodiment, when the register value corresponding to each register address is read, the initial value of the register corresponding to each register address is continuously obtained.
Step 305, determining whether the initial value of the register corresponding to the register address is consistent with the value of the register.
In this embodiment, for each register address, comparing whether the register value and the register initial value are consistent, if there is at least one register address corresponding to a register value that is inconsistent with the register initial value, executing step 306; if the value of the register corresponding to each register address is consistent with the initial value of the corresponding register, ending the control flow, returning to execute step 301, and reading the new register address from the monitoring list again to start a new control flow. For example, the reading of the register address may be started when a preset time interval is reached.
Step 306, recording the current working state of the touch screen.
The operating state of the touch screen includes, but is not limited to, firmware upgrade state, factory mode, touch coordinate processing, and the like.
Step 307, resetting the touch screen.
Step 308, controlling the touch screen to work according to the working state.
In this embodiment, after the touch screen is reset, the touch screen is controlled to work according to the working state recorded before the reset, so as to ensure that the use of the user is not affected.
According to the static protection method of the liquid crystal panel, the static protection performance of the liquid crystal panel is improved by resetting when the register reading fails or resetting when the register reading succeeds but the register reading is inconsistent with the initial value of the register, the working state of the liquid crystal panel before resetting is recorded, the working state is recovered after resetting, normal use of a user is guaranteed, and user experience is improved.
In order to achieve the above embodiments, the present application further provides an electrostatic protection device for a liquid crystal panel.
Fig. 4 is a schematic structural diagram of an electrostatic protection device for a liquid crystal panel according to an embodiment of the present disclosure.
As shown in fig. 4, the electrostatic protection device 40 of the liquid crystal panel includes: a reading module 410, an acquisition module 420, a comparison module 430, and a reset module 440.
The reading module 410 is configured to read a register address from a preset monitoring list, and read a register value corresponding to the register address.
In one possible implementation manner of the embodiment of the present application, the reading module 410 is specifically configured to read N register addresses from the monitor list at preset time intervals, where N is a positive integer, and N is smaller than the total number of register addresses stored in the monitor list.
The obtaining module 420 is configured to obtain, according to the register address, a register initial value corresponding to the register address from a preset register initialization list.
And the comparison module 430 is used for comparing whether the initial value of the register is consistent with the value of the register.
And the resetting module 440 is configured to reset the liquid crystal panel when it is known that the initial value of the register corresponding to the register address is inconsistent with the value of the register.
In one possible implementation manner of the embodiment of the present application, the reset module 440 is further configured to: if the reading module is informed of failure in reading the register value corresponding to any register address, resetting the liquid crystal panel.
In one possible implementation manner of the embodiment of the present application, the reset module 440 is specifically configured to send a reset instruction to a reset pin of the liquid crystal panel, so that the reset pin sends a reset pulse according to the reset instruction to reset the liquid crystal panel.
In one possible implementation manner of the embodiment of the present application, as shown in fig. 5, on the basis of the embodiment shown in fig. 4, the electrostatic protection device 40 of the liquid crystal panel further includes:
the recording module 450 is used for recording the current working state of the liquid crystal panel.
The control module 460 is configured to control the liquid crystal panel to operate according to the working state.
In this embodiment, the recording module 450 records the current working state of the liquid crystal panel before the resetting module 440 resets the liquid crystal panel. The control module 460 controls the liquid crystal panel to operate according to the operating state after the reset module 440 resets the liquid crystal panel.
It should be noted that the foregoing explanation of the embodiment of the electrostatic protection method for the liquid crystal panel is also applicable to the electrostatic protection device for the liquid crystal panel of the embodiment, and the implementation principle is similar, and will not be repeated here.
According to the static protection device of the liquid crystal panel, the register address is read from the preset monitoring list, the register value corresponding to the register address is read, the register initial value corresponding to the register address is obtained from the preset register initialization list according to the register address, whether the register initial value is consistent with the register value is further compared, and when the fact that the register initial value corresponding to the register address is inconsistent with the register value is obtained, the liquid crystal panel is reset. Therefore, the purpose of static electricity protection is achieved by controlling the reset of the liquid crystal panel, the static electricity protection is achieved in a software mode, the hardware design is not required to be changed, and the static electricity protection performance of the liquid crystal panel is improved.
In order to implement the above embodiments, the application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor implements the method for protecting the liquid crystal panel according to the above embodiments when executing the computer program.
In order to implement the above-described embodiments, the present application also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the static electricity protection method of a liquid crystal panel as described in the above-described embodiments.
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 application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless explicitly defined otherwise.
In addition, each functional unit in each embodiment of the present application 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. Although embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, 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 application.

Claims (8)

1. The electrostatic protection method of the liquid crystal panel is characterized by comprising the following steps of:
the method comprises the steps that addresses of readable registers which are configured in the initialization process and have readable attributes are stored for a plurality of registers corresponding to the liquid crystal panel after the initialization of the liquid crystal panel is completed, so that a preset monitoring list is obtained, wherein the readable registers comprise at least part of the plurality of registers;
presetting a daemon thread, wherein the daemon thread is independent of a control terminal and periodically executes tasks or waits for events occurring in processing, and executing by starting the daemon thread: reading a register address from a preset monitoring list, and reading a register value corresponding to the register address; according to the register address, acquiring a register initial value corresponding to the register address from a preset register initialization list;
comparing whether the initial value of the register is consistent with the value of the register;
if the fact that the initial value of the register corresponding to the register address is inconsistent with the register value is known, the control chip of the liquid crystal panel is affected by static electricity, so that the control chip senses that the operation is out of order and the register value of the liquid crystal panel is changed, and the liquid crystal panel is reset;
the reading the register address from the preset monitoring list comprises the following steps:
reading N register addresses from the readable register addresses stored in the monitoring list according to a preset time interval to traverse all the register addresses in the monitoring list, wherein N is a positive integer and is smaller than the total number of the register addresses stored in the monitoring list, and each time the N register addresses are acquired, specifically comprising: reading the 1 st to N th register addresses from the monitoring list for the first time, if the register values corresponding to the 1 st to N th register addresses are consistent with the corresponding register initial values, reading the n+1 st to 2N th register addresses from the monitoring list for the second time after a preset time interval, and if the register values corresponding to the n+1 to 2N th register addresses are inconsistent with the corresponding register initial values, resetting the liquid crystal panel; after resetting the liquid crystal panel, restarting reading the 1 st to N th register addresses from the monitoring list;
before the resetting of the liquid crystal panel, the method further comprises:
recording the current working state of the liquid crystal panel, and suspending processing the current working state of the liquid crystal panel;
after the resetting of the liquid crystal panel, the method further comprises:
and initializing the liquid crystal panel again, reconfiguring the value of the register of the liquid crystal panel to be the corresponding initial value of the register, and controlling the liquid crystal panel to work according to the working state recorded before resetting.
2. The method of claim 1, further comprising, after said reading the register address from the predetermined monitor list:
and if the register corresponding to any register address is not read, resetting the liquid crystal panel.
3. The method of claim 1, wherein resetting the liquid crystal panel comprises:
and sending a reset instruction to a reset pin of the liquid crystal panel, so that the reset pin sends a reset pulse according to the reset instruction to reset the liquid crystal panel.
4. The static electricity protection device of the liquid crystal panel is characterized in that addresses of readable registers which are configured in the initialization process and have readable attributes are stored for a plurality of registers corresponding to the liquid crystal panel after the initialization of the liquid crystal panel is completed, so that a preset monitoring list is obtained, wherein the readable registers comprise at least part of the plurality of registers; a daemon thread is preset, wherein the daemon thread is independent of a control terminal and periodically executes tasks or waits for events occurring in processing, and the daemon thread is started to call a reading module and an acquisition module to execute operations, and the device comprises:
the reading module is used for reading the register address from a preset monitoring list and reading the register value corresponding to the register address;
the acquisition module is used for acquiring a register initial value corresponding to the register address from a preset register initialization list according to the register address;
the comparison module is used for comparing whether the initial value of the register is consistent with the value of the register;
the reset module is used for indicating that a control chip of the liquid crystal panel is affected by static electricity when the initial value of the register corresponding to the register address is inconsistent with the value of the register, so that the control chip senses that the operation is out of order and the value of the register of the liquid crystal panel is changed, and resetting the liquid crystal panel;
the reading module is specifically configured to:
reading N register addresses from the readable register addresses stored in the monitoring list according to a preset time interval to traverse all the register addresses in the monitoring list, wherein N is a positive integer and is smaller than the total number of the register addresses stored in the monitoring list, and each time the N register addresses are acquired, specifically comprising: reading the 1 st to N th register addresses from the monitoring list for the first time, if the register values corresponding to the 1 st to N th register addresses are consistent with the corresponding register initial values, reading the n+1 st to 2N th register addresses from the monitoring list for the second time after a preset time interval, and if the register values corresponding to the n+1 to 2N th register addresses are inconsistent with the corresponding register initial values, resetting the liquid crystal panel; after resetting the liquid crystal panel, restarting reading the 1 st to N th register addresses from the monitoring list;
further comprises:
the recording module is used for recording the current working state of the liquid crystal panel and suspending the processing of the current working state of the liquid crystal panel;
the control module is used for initializing the liquid crystal panel again, reconfiguring the value of the register of the liquid crystal panel to be the corresponding initial value of the register, and controlling the liquid crystal panel to work according to the working state recorded before reset.
5. The apparatus of claim 4, wherein the reset module is further to:
and if the reading module is known to fail to read the register value corresponding to any register address, resetting the liquid crystal panel.
6. The apparatus of claim 4, wherein the reset module is specifically configured to:
and sending a reset instruction to a reset pin of the liquid crystal panel, so that the reset pin sends a reset pulse according to the reset instruction to reset the liquid crystal panel.
7. 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 method of electrostatic protection of a liquid crystal panel according to any one of claims 1-3 when the computer program is executed.
8. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the electrostatic protection method of a liquid crystal panel according to any one of claims 1 to 3.
CN201910934327.9A 2019-09-29 2019-09-29 Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium Active CN110703943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910934327.9A CN110703943B (en) 2019-09-29 2019-09-29 Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910934327.9A CN110703943B (en) 2019-09-29 2019-09-29 Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110703943A CN110703943A (en) 2020-01-17
CN110703943B true CN110703943B (en) 2024-03-19

Family

ID=69197300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910934327.9A Active CN110703943B (en) 2019-09-29 2019-09-29 Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110703943B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342150A (en) * 2021-05-25 2021-09-03 北京小米移动软件有限公司 Static electricity recovery method, device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885269A (en) * 2005-06-23 2006-12-27 国际商业机器公司 Method and apparatus to launch write queue read data in a microprocessor recovery unit
CN101241678A (en) * 2007-02-08 2008-08-13 三星电子株式会社 Driving apparatus of display device and driving method thereof
CN101751876A (en) * 2008-12-12 2010-06-23 康佳集团股份有限公司 Software solution to LCD (liquid crystal display) display problem caused by ESD (electro-static discharge)
CN105117298A (en) * 2015-08-10 2015-12-02 中颖电子股份有限公司 Electrostatic discharge protection system and method for display screen driving chip
CN106448597A (en) * 2016-10-31 2017-02-22 深圳天珑无线科技有限公司 Liquid crystal display and driving chip thereof
CN106649017A (en) * 2016-12-30 2017-05-10 珠海市魅族科技有限公司 On screen display abnormality processing method and mobile terminal
CN108519947A (en) * 2018-04-02 2018-09-11 郑州云海信息技术有限公司 The method and tool of read-write register under a kind of Linux
CN109739692A (en) * 2018-12-21 2019-05-10 Oppo广东移动通信有限公司 Fault recovery method and Related product
CN110164392A (en) * 2019-04-28 2019-08-23 珠海黑石电气自动化科技有限公司 A kind of antistatic LCD drive method, circuit, device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101258930B1 (en) * 2006-09-15 2013-04-29 삼성전자주식회사 apparatus and method for detecting error of display driver IC of mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885269A (en) * 2005-06-23 2006-12-27 国际商业机器公司 Method and apparatus to launch write queue read data in a microprocessor recovery unit
CN101241678A (en) * 2007-02-08 2008-08-13 三星电子株式会社 Driving apparatus of display device and driving method thereof
CN101751876A (en) * 2008-12-12 2010-06-23 康佳集团股份有限公司 Software solution to LCD (liquid crystal display) display problem caused by ESD (electro-static discharge)
CN105117298A (en) * 2015-08-10 2015-12-02 中颖电子股份有限公司 Electrostatic discharge protection system and method for display screen driving chip
CN106448597A (en) * 2016-10-31 2017-02-22 深圳天珑无线科技有限公司 Liquid crystal display and driving chip thereof
CN106649017A (en) * 2016-12-30 2017-05-10 珠海市魅族科技有限公司 On screen display abnormality processing method and mobile terminal
CN108519947A (en) * 2018-04-02 2018-09-11 郑州云海信息技术有限公司 The method and tool of read-write register under a kind of Linux
CN109739692A (en) * 2018-12-21 2019-05-10 Oppo广东移动通信有限公司 Fault recovery method and Related product
CN110164392A (en) * 2019-04-28 2019-08-23 珠海黑石电气自动化科技有限公司 A kind of antistatic LCD drive method, circuit, device and storage medium

Also Published As

Publication number Publication date
CN110703943A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
JP6530774B2 (en) Hardware failure recovery system
KR20180097674A (en) Memory reclaim method and apparatus
EP3223151B1 (en) Hot-switching method and device for operating systems, and mobile terminal
CN108923992B (en) High-availability method and system for NAS cluster, electronic equipment and storage medium
US8473666B2 (en) Systems and methods for driverless operation of USB device
US8719639B2 (en) Virtual machine control program, virtual machine control system, and dump capturing method
KR101944873B1 (en) Method for checking whether hardware of intelligent terminal runs abnormally and intelligent terminal
JP2012256223A (en) Information processing device and information processing method
CN112437914A (en) System recovery method and device
CN109815061A (en) A kind of method, apparatus, equipment and the medium of the anti-brick of embedded system
CN105512000B (en) Operating system abnormal information collection method and device and computer
JP6237230B2 (en) Memory management program, memory management method, and memory management device
JP2019139373A (en) Information processing system and information processor and bios update method of information processor and bios update program of information processor
CN110703943B (en) Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium
CN103902400A (en) Over-frequency setting system and over-frequency setting method thereof
JP2011008460A (en) Dump output control apparatus, dump output control program, and dump output control method
CN110971689A (en) System installation method, device, system, equipment and storage medium
JP4409681B2 (en) Information processing apparatus and memory control method for information processing apparatus
US9137587B2 (en) System event assisted live keyboard, video and mouse (KVM) capture
CN115145381A (en) Method, system, storage medium and equipment for remotely resetting BMC chip
CN110740382B (en) Method, device, television and medium for avoiding undesired automatic restart of television
KR101552580B1 (en) Method for system recovery including mobile device and backup supporting multi operation system
JP2018147448A (en) Information processing device, program update control method of management control device, and program update control program
CN107704399B (en) Method and device for storing data
JP2011204077A (en) Information processing apparatus, resource allocation method and resource allocation program

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
GR01 Patent grant
GR01 Patent grant