CN116431418B - Screen electrostatic detection method, readable storage medium and electronic device - Google Patents

Screen electrostatic detection method, readable storage medium and electronic device Download PDF

Info

Publication number
CN116431418B
CN116431418B CN202310694755.5A CN202310694755A CN116431418B CN 116431418 B CN116431418 B CN 116431418B CN 202310694755 A CN202310694755 A CN 202310694755A CN 116431418 B CN116431418 B CN 116431418B
Authority
CN
China
Prior art keywords
data
processor
touch
electrostatic
module
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
CN202310694755.5A
Other languages
Chinese (zh)
Other versions
CN116431418A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310694755.5A priority Critical patent/CN116431418B/en
Publication of CN116431418A publication Critical patent/CN116431418A/en
Application granted granted Critical
Publication of CN116431418B publication Critical patent/CN116431418B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

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

Abstract

The application relates to the technical field of terminals, and discloses a screen static detection method, a readable storage medium and electronic equipment. The screen static detection method is applied to electronic equipment, and the electronic equipment comprises a touch control module, a display module and a processor; the method comprises the following steps: the touch control module acquires electrostatic detection data of a screen from the display module; the touch module sends touch detection data to the processor and simultaneously sends first data related to the electrostatic detection data to the processor, and the processor realizes functions related to the electrostatic detection based on the first data. Therefore, by the method, the processor does not need to acquire the electrostatic detection data from the display module through the MIPI interface, so that the conflict between a thread for acquiring the electrostatic detection data by the processor and a thread for transmitting the image data is avoided.

Description

Screen electrostatic detection method, readable storage medium and electronic device
Technical Field
The application relates to the technical field of terminals, in particular to a screen static detection method, a readable storage medium and electronic equipment.
Background
In the using process of the electronic equipment, abnormal display of the display module can be caused by static electricity, such as failure of a touch screen. In order to avoid the display module from influencing the user experience, the electronic equipment can carry out electrostatic detection on the display module, and electrify the display module again when the display module is abnormal, so that the display module is recovered to be normal. In general, a display driving chip of an electronic device performs electrostatic detection on a display module, and stores electrostatic detection data in a register of the display driving chip. The processor of the electronic device may read the electrostatic detection data from the register of the display driver chip via a mobile industry processor interface protocol (mobile industry processor interface, MIPI) and determine to electrostatically recover the electronic device based on the result of the reading of the data.
When the display module is used for displaying images, the MIPI interface needs high-speed communication to transmit image data. While the operation of the processor to read the registers of the display driver chip is typically performed using low speed communications. Therefore, in order to avoid the conflict between the operation of reading the register and the MIPI transmission image data, the processor generally reads the electrostatic detection data of the register on the display driver chip in a vertical blanking (vblank) interval after each frame of the display module is finished, that is, in a time interval in which the scan point is reset to the initial position after scanning one frame of the image.
However, the duration corresponding to the vertical blanking interval decreases as the display frame rate of the display module increases. When the display module is displayed at a high frame rate, the processor does not have enough time to read the electrostatic detection data of the register on the display driving chip, so that the incorrect electrostatic detection data cannot be read or is read, and false detection is caused.
Disclosure of Invention
The embodiment of the application provides a screen static detection method, a readable storage medium and electronic equipment.
In a first aspect, an embodiment of the present application provides a method for detecting screen static electricity, which is applied to an electronic device, where the electronic device includes a touch module, a display module, and a processor; the method comprises the following steps: the touch control module acquires electrostatic detection data of a screen from the display module; the touch control module sends first data related to the static detection data to the processor; the processor implements a function related to electrostatic detection based on the first data.
It will be appreciated that in some embodiments of the present application, when the processor performs electrostatic detection, the co-touch module acquires first data related to electrostatic detection data, and further performs electrostatic detection. Therefore, the processor does not need to acquire the electrostatic detection data from the display module through an interface for transmitting the image, so that the conflict between a thread for acquiring the electrostatic detection data by the processor and a thread for transmitting the image is avoided. The processor does not need to read the static detection data in the display module in the vertical blanking interval, so that the problem that the processor cannot read the static detection data and causes screen blocking due to the fact that the screen display frame rate is too fast and the vertical blanking interval is shortened can be avoided. It can be understood that the screen in the embodiment of the present application may be a display screen, and the first data may be flag bit data.
In a possible implementation of the first aspect, the method further includes: the first data includes electrostatic detection data of the screen.
It will be appreciated that in some embodiments of the present application, after the touch module reads the electrostatic detection data in the display module, the electrostatic detection data may be sent to the processor without processing the electrostatic detection data.
In a possible implementation of the first aspect, the method further includes: the first data includes indication data for indicating whether or not an electrostatic abnormality occurs in the screen.
It may be appreciated that in some embodiments of the present application, after the touch module reads the electrostatic detection data of the display module, whether the screen is abnormal due to static electricity may be determined based on the electrostatic detection data, so that the determination result is sent to the processor as the first data. For example, when the first data is 0, the screen is instructed to generate electrostatic abnormality. When the first data is 1, the screen is indicated to have no electrostatic abnormality.
In a possible implementation of the first aspect, the method further includes: the processor implements functions related to electrostatic detection based on the first data, including: the processor determines whether the screen is abnormal in static electricity based on the first data; and the processor performs electrostatic recovery on the screen corresponding to the determination that the screen is abnormal in electrostatic.
It will be appreciated that in some embodiments of the application, the processor may determine whether an electrostatic anomaly has occurred on the screen based on the first data. For example, if the first data acquired by the processor is the instruction data, it is only necessary to determine whether the instruction data indicates that the screen is abnormal due to static electricity. For example, if the instruction data acquired by the processor is 1, it indicates that no electrostatic abnormality has occurred on the screen. The processor or lack of indication data is 0, which indicates that the screen is abnormal in static electricity. At this time, the processor may restore the screen to normal by powering up and down the screen. In other embodiments, the first data acquired by the processor may be electrostatic detection data, where the processor may compare the electrostatic detection data with a preset standard value, and when the electrostatic detection data is different from the standard value, it indicates that the electrostatic detection data is changed due to the electrostatic striking of the screen, and the screen generates electrostatic abnormality. Otherwise, the screen can be judged to be in a normal state.
In a possible implementation of the first aspect, the method further includes: the touch module sends first data related to the electrostatic detection data to the processor, including: the touch module sends touch detection data to the processor through the first interface and simultaneously sends the first data to the processor.
It can be appreciated that the touch module may embed the first data in the touch detection data. When the touch module sends touch detection data to the processor, the first data is also sent to the processor.
In a possible implementation of the first aspect, the method further includes: the first interface comprises any one of the following: serial peripheral interfaces, I2C interfaces, and I3C interfaces.
In a possible implementation of the first aspect, the method further includes: the display module sends the image data to the processor through the second interface.
It will be appreciated that in some embodiments of the present application, the second interface may be, for example, a MIPI interface, and the display module does not need to send the electrostatic detection data to the processor through the MIPI interface, so as to avoid the processor and the display module from colliding with each other in transmitting the image data and transmitting the electrostatic detection data.
In a second aspect, an embodiment of the present application provides an electronic device, including a touch module, a display module, and a processor; the touch control module is used for acquiring electrostatic detection data of a screen of the electronic equipment from the display module; the touch control module sends first data related to the static detection data to the processor; the processor implements a function related to electrostatic detection based on the first data.
It can be appreciated that in the embodiment of the present application, the display module and the touch module of the electronic device are integrated on the same chip, and the touch module can acquire the electrostatic detection data in the display module. Therefore, the processor can acquire the electrostatic detection data from the touch module, and the electrostatic detection data does not need to be acquired from the display module, so that the conflict with the thread for transmitting the image by the display module is avoided.
In a possible implementation manner of the second aspect, the electronic device further includes: the touch module is connected with the processor through a first interface, and the first interface is used for transmitting touch detection data and first data; the display module is connected with the processor through a second interface, and the second interface is used for transmitting image data.
It may be appreciated that in an embodiment of the present application, the first interface may be, for example, a serial peripheral interface, an I2C interface, and an I3C interface, where the first interface is used for the touch module to transmit touch detection data to the processor. After the touch module acquires the electrostatic detection data, first data related to the electrostatic detection data can be embedded into the touch detection data. Therefore, when the touch module sends touch detection data to the processor, the touch module also sends the first data to the processor, so that the processor performs electrostatic detection based on the first data.
In a third aspect, an embodiment of the present application provides a readable storage medium, where instructions are stored, where the instructions, when executed on an electronic device, cause the electronic device to perform the above-mentioned first aspect and various possible implementations of the first aspect to provide a screen static detection method.
Drawings
FIG. 1 shows a schematic diagram of an electronic device;
FIG. 2 shows a flow chart of an implementation of an electrostatic detection method;
FIG. 3a illustrates an interactive flow chart of a method of electrostatic detection, according to some embodiments of the application;
FIG. 3b is a schematic diagram illustrating a touch module embedding flag bit data into touch detection data according to some embodiments of the application;
FIG. 4 illustrates a system software architecture diagram of an electronic device, according to some embodiments of the application;
fig. 5 illustrates a schematic diagram of an electronic device, according to some embodiments of the application.
Detailed Description
Illustrative embodiments of the application include, but are not limited to, screen electrostatic detection methods, readable storage media, electronic devices.
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be described in detail below with reference to the accompanying drawings and specific embodiments of the present application.
Fig. 1 shows a schematic structure of an electronic device 100.
As shown in fig. 1, the electronic device 100 includes a processor 110, a touch and display driver integrated (touch and display driver integration, TDDI) chip 13, and a display screen 194. The touch and display driving integrated chip 13 includes a touch module 12 and a display module 122. The display module 122 includes a register 123 and the touch module 12 includes a microprocessor 124.
It should be appreciated that in some embodiments, TDDI is the integration of a display integrated circuit (integrated circuit, IC) and a Touch Panel (TP) IC on a single chip. For example, the touch module 12 may be used to implement the functionality of a display IC, the display module 122 may be used to implement the functionality of a TPIC, and the touch module 12 may access a register 123 of the display module 122.
The display module 122 is connected to the processor 110 through a second interface, which may be, for example, a MIPI interface, and the display module 122 obtains image data from the processor 110 through the MIPI interface and transmits the image data to the display screen 194, thereby displaying an image on the display screen 194.
The display module 122 may also be configured to obtain electrostatic detection data and store the electrostatic detection data in the register 123, where the electrostatic detection data may be used to indicate whether an electrostatic anomaly has occurred in the display screen 194. If an electrostatic anomaly occurs in the display screen 194, for example, static electricity hits an integrated circuit of the display screen 194 causing malfunction of the touch screen, the static electricity detection data stored in the register 123 is changed.
The processor 110 is configured to read the electrostatic detection data in the register 123 through the MIPI interface, and determine whether an electrostatic abnormality occurs according to whether the read electrostatic detection data is the same as a preset standard value.
The touch module 12 is connected to the processor 110 through a first interface, and is configured to transmit touch detection data of the display screen 194 to the processor 110, where the touch detection data is used to indicate a touch operation of a user on the display screen 194.
In some embodiments, the touch detection data may include, for example, capacitive data, touch sampling rate data, touch refresh rate data, touch point rate data, etc. of the display 194.
It should be appreciated that when a user touches the display screen, the touch module 12 may send touch detection data to the processor 110 at a higher frequency. For example, when the touch module 12 detects that the user touches the display screen, touch detection data may be transmitted to the processor 110 through the first interface at a frequency of 120 frames per second to 300 frames per second.
It should be appreciated that when the user does not touch the display screen, the touch module 12 may send touch detection data to the processor 110 at a lower frequency. For example, the touch module 12 sends touch detection data to the processor 110 at a frequency of 1 frame per second through the first interface.
It should be appreciated that the first interface may be an interface for the touch module 12 to transmit touch detection data to the processor 110. For example, the first interface may include a serial peripheral interface (serial peripheral interface, SPI), an integrated circuit (I2C), (improved inter integrated circuit, I3C) interface, and the like. The first interface and MIPI interface may be connected to the processor 110 through the same or different flexible circuit board (flexible printedcircuit, FPC).
In general, when the processor 110 performs electrostatic detection, it is required to acquire corresponding electrostatic detection data from the register 123 through the MIPI interface. The processor 110 may then determine whether an electrostatic reset is required by determining whether the display 194 is experiencing an electrostatic anomaly based on the electrostatic detection data.
For example, FIG. 2 shows a flow chart of an implementation of a method of electrostatic detection.
As shown in fig. 2, the execution subject of the method may be the processor 110, including the steps of:
s201, creating an electrostatic detection thread, setting the electrostatic detection thread to be in a suspension state, and setting the dispatching priority of the electrostatic detection thread to be preferentially mobilized when the electrostatic detection thread meets a wake-up condition, so as to carry out electrostatic detection.
It will be appreciated that the static electricity detection thread may be, for example, a circular work queue created by the processor 110 at the kernel layer of the system. For example, while the display 194 is in operation, the processor 110 sets the electrostatic detection thread to a suspended state, with the electrostatic detection thread awakening every 5 seconds. When the static electricity detection thread is awakened, the static electricity detection thread is preferentially mobilized to detect whether the display screen 194 is in a static electricity abnormal state.
S202, selecting an electrostatic detection mode.
Illustratively, a mode of the electrostatic detection mode is selected after the electrostatic detection thread is invoked.
It should be appreciated that the electrostatic detection mode may include both a Tear Effect (TE) interrupt data detection and a fetch register data detection.
The mode of electrostatic detection may be selected according to the configuration of the electronic device, and in some embodiments, the electronic device does not set pins corresponding to TE, so a detection mode of reading register data may be selected.
S203, tearing effect data are acquired.
Illustratively, when the processor 110 transmits image data to the display module 122, the display module 122 sends a TE signal to the processor 110. On the rising edge of the TE signal, the processor 110 buffers the image signal in the buffer of the display module 122. On the falling edge of the TE signal, the display screen 194 reads the image data buffered in the display module 122 to display an image.
When the display 194 is disturbed by the electrostatic discharge, the TE signal is easily lost, so the processor 110 cannot receive the TE signal sent by the display module 122, and thus can determine whether the electrostatic abnormality occurs by acquiring the TE signal.
S204, judging whether the tearing effect data is abnormal or not.
Illustratively, the processor 110 may determine whether the tearing effect data is abnormal by reading data in the register 123 indicating whether the TE signal is received. For example, when the processor 110 obtains the value of the TE signal in the register 123 to be 1, it indicates that the TE signal is normal, and there is no electrostatic discharge interference with the display screen 194, so the processor 110 receives the TE signal sent by the display module 122. When the value of the register 123 read by the processor 110 is 0, it indicates that the TE signal is abnormal, and the TE signal disappears due to the abnormality of the esd disturbing display 194, so the processor 110 cannot receive the TE data.
If the determination result is yes, for example, the value of the register 123 acquired by the processor 110 is 0, it indicates that the display screen 194 is subjected to electrostatic interference and electrostatic abnormality occurs, so that step S207 is required to be executed to power up and down the screen to perform electrostatic recovery.
If the determination result is no, for example, the value of the register 123 acquired by the processor 110 is 1, which indicates that the display screen 194 is not abnormal in static electricity and is in a normal working state, step S201 is executed, and a static electricity detection thread is created to prepare for next static electricity detection.
S205, acquiring register data through MIPI.
Illustratively, the processor 110 reads the static electricity data preset in the register 123 of the display module 122 through MIPI, and if the display screen 194 is abnormal, the preset data in the register 123 is changed. Therefore, the processor 110 can determine whether the display screen is abnormal due to static electricity by reading the preset value of the register 123.
S206, judging whether the register data is different from the standard value.
It will be appreciated that the processor 110 may determine whether the display 194 is experiencing an electrostatic anomaly by determining whether the data of the register 123 differs from a standard value previously set in the register 123
If the determination result is yes, for example, the data set in the register 123 changes in advance, it indicates that the display 194 is abnormal in static electricity, and step S207 is required to power up and down the screen to restore static electricity.
If the determination result is no, for example, the data set in the register 123 in advance is not changed, it is indicated that the display screen 194 is in a normal state. Step S201 is executed to create an electrostatic detection thread ready for the next electrostatic detection.
S207, powering up and down the screen to recover static electricity.
Illustratively, when an electrostatic abnormality of the display screen 194 is detected, for example, the display screen 194 may be powered up and down, thereby restoring the abnormal state of the display screen 194.
In the method shown in fig. 2, for some electronic devices, pins corresponding to TE may not be reserved during the flat cable design in order to reduce the cost when designing and manufacturing the module. Thus, electrostatic detection of the screen is currently generally performed by the processor 110 by reading the register 123 via the MIPI interface. However, since the MIPI interface requires high-speed transmission of image data, when reading the register 123 data through the MIPI interface, a read operation is generally performed through low-speed communication in order to ensure the success rate of communication. Thus, to avoid a collision between the process of reading the register 123 and the process of transmitting image data, the processor 110 generally performs an operation of reading the register 123 through the MIPI interface during the vertical blanking interval. If the display 194 displays images at a high frame rate, the vertical blanking interval of each frame becomes shorter. This results in the display 194 being prone to stuck and lost frames when the static electricity detection thread reads multiple registers 123 simultaneously.
In order to solve the above problems, the present application provides an electrostatic detection method. In this method, the touch module 12 can acquire electrostatic detection data from the display module 122. When the static electricity detection is performed, the processor 110 acquires the zone bit data for indicating whether the display screen 194 is abnormal from the touch module 12, and when the zone bit data indicates that the display screen 194 is abnormal, the static electricity recovery is performed on the display screen 194. The flag bit data may be, for example, indication data of the touch module 12 for determining whether the display screen 194 is abnormal based on the electrostatic detection data, or the flag bit data is the electrostatic detection data.
With this scheme, during electrostatic detection, the processor 110 does not need to read the data in the register 123 through the MIPI interface, so that it is not necessary to acquire the data in the vertical blanking interval. Therefore, the conflict with the display flow of the MIPI interface high-speed transmission image can be avoided, and the problem that the display screen 194 is blocked and frames are dropped can be avoided.
Specifically, in some embodiments, the microprocessor 124 of the touch module 12 may obtain the electrostatic detection data from the register 123 of the display module 122 to obtain an electrostatic detection result, and embed the electrostatic detection result into the touch detection data to send the touch detection data to the processor 110, and the processor 110 may determine whether to perform electrostatic recovery on the display screen 194 according to the electrostatic detection result.
It should be understood that the flag bit data may be static electricity detection data in the aforementioned register 123, or may be indication data indicating whether the display screen 194 is abnormal. For example, when the instruction data is 0, it indicates that the display 194 is abnormal in static electricity, and when the instruction data is 1, it indicates that the display 194 is not abnormal in static electricity.
FIG. 3a shows an interactive flow chart of a static electricity detection method according to an embodiment of the present application.
It can be appreciated that the electrostatic detection method provided by the embodiment of the present application is applied to an electronic device, where the electronic device may include, but is not limited to: a mobile phone, tablet, computer, smart watch, car meeting terminal, desktop, laptop, handheld computer, netbook, and wearable devices such as augmented reality (augmented reality, AR) \virtual reality (VR) devices, smart televisions, smart watches, servers, portable gaming devices, portable music players, reader devices, electronic devices with one or more processors embedded or coupled therein, or other electronic devices including a display screen. For convenience of the foregoing description, the electronic device 100 will be described as an example.
As shown in fig. 3a, the electrostatic detection method includes the steps of:
s301, the display module 122 generates electrostatic detection data and stores the data in the register 123.
Illustratively, the register 123 of the display module 122 stores electrostatic detection data, when the display screen 194 is abnormal, for example, the integrated circuit of the display screen 194 is hit by static electricity, so that the display screen 194 is failed, the electrostatic detection data stored in the register 123 is changed, and the display module 122 stores the changed electrostatic detection data in the register 123.
S302, the touch module 12 acquires electrostatic detection data in the display module 122.
Illustratively, the display module 122 stores static electricity detection data for determining whether a static electricity abnormality occurs in the display screen 194 in the register 123. When an electrostatic anomaly occurs in the display screen 194, for example, static electricity hits an integrated circuit of the display screen 194, causing malfunction of the touch screen, the value of the static electricity detection data in the register 123 changes. Accordingly, the electrostatic detection data stored in the register 123 can determine whether or not an electrostatic abnormality occurs in the display screen 194. In the integrated touch and display chip, the touch module 12 is integrated with the display module 122, so that the touch module 12 can read the electrostatic detection data in the register 123 from the display module 122 for electrostatic detection.
S303, the touch module 12 generates flag bit data based on the electrostatic detection data.
For example, a micro control unit (micro controller unit, MCU) may be included in the touch module 12. After the touch module 12 obtains the electrostatic detection data from the register 123, the MCU can determine whether the display 194 is abnormal based on the electrostatic detection data.
For example, the MCU compares the acquired electrostatic detection data with electrostatic detection data set in advance in the register 123. If the electrostatic detection data acquired by the touch module 12 changes, it indicates that the display screen 194 is abnormal in electrostatic, and the MCU outputs a flag bit of 0. If the electrostatic detection data acquired by the touch module 12 does not change, it indicates that the display screen 194 is not abnormal in electrostatic, and the MCU outputs a flag bit of 1.
It should be appreciated that in other embodiments, a flag bit of 1 may indicate that an electrostatic anomaly has occurred on the display screen 194, and a flag bit of 0 may indicate that no electrostatic anomaly has occurred on the display screen 194. Here, the meaning indicated by the value of the flag bit is not specifically limited.
S304, the touch module 12 acquires touch detection data and inserts flag bit data into the touch detection data.
Illustratively, the touch module 12 is configured to acquire touch detection data of the display screen 194 to determine a touch operation of the display screen 194 by a user. For example, when the user's finger touches the display screen 194, the touch module 12 acquires touch detection data for determining the coordinate position where the user's finger touches the display screen 194. The touch detection data may include, for example, capacitance data, touch sampling rate data, touch refresh rate data, touch point rate data, etc. of the display 194.
The touch module 12 may embed the flag bit data into the touch detection data when acquiring the flag bit data, so that the processor 110 may acquire the flag bit data together when acquiring the touch detection data, thereby performing the electrostatic detection determination.
For example, fig. 3b shows a schematic diagram of the touch module 12 embedding the flag bit data into the touch detection data according to an embodiment of the present application.
As shown in fig. 3b, the touch detection data acquired by the touch module 12 may include, for example, acquiring a frame header of each frame and capacitance data of the display screen 194. The touch module 12 may embed the flag bit data in the touch detection data. For example, the touch module 12 may potentially touch the tail of the detection data with the flag bit data.
It should be appreciated that in other implementations, the step of acquiring touch detection data by the touch module 12 in S304 may be exchanged or combined with the step of acquiring electrostatic detection data in S302. For example, the touch module 12 may acquire touch detection data first, acquire electrostatic detection data, and then process the electrostatic detection data to embed the electrostatic detection data into the touch detection data. The order in which the data is acquired by the touch module 12 is not limited in the embodiment of the present application.
S305, the touch module 12 reports touch detection data including the flag bit data to the processor 110 through the first interface.
Illustratively, the touch module 12 reports touch detection data to the processor 110 in a first in, first out (FIFO) manner.
It should be appreciated that when the user touches the display 194, the touch module 12 may send touch detection data to the processor 110 at a higher frequency. For example, upon detecting that the user touches the display 194, the touch module 12 may report touch detection data to the processor 110 through the first interface at a frequency of 120 frames per second to 300 frames per second.
It should be appreciated that when the user does not touch the display screen 194, the touch module 12 may send touch detection data to the processor 110 at a lower frequency. For example, the touch module 12 sends touch detection data to the processor 110 at a frequency of 1 frame per second through the first interface.
The first interface may include, for example, interfaces such as SPI, I2C, and I3C, and when the touch module 12 reports the touch detection data to the processor based on the first interface, the flag bit embedded in the touch detection data is also reported to the processor 110. Therefore, the processor 110 does not need to read the electrostatic detection data in the register 123 through the MIPI interface, and collision with the processor 110 transmitting the image data with the display module 122 through the MIPI interface can be avoided.
S306, the processor 110 starts to perform electrostatic detection.
Illustratively, the processor 110 runs an electrostatic detection thread, which is a circular work queue. The static electricity detection thread starts to perform static electricity detection every 5 seconds.
S307, the processor 110 acquires flag bit data from the touch detection data, and determines whether an electrostatic abnormality occurs based on the flag bit data.
For example, when the processor 110 performs electrostatic detection, for example, when a period of electrostatic detection is reached every 5 seconds, embedded flag bit data may be obtained from the touch detection data, and whether the display screen 194 is abnormal in electrostatic may be determined by the flag bit.
If the determination result is yes, for example, the flag bit data is 0, which indicates that the display screen 194 is abnormal in static electricity, step S308 is performed, and the display screen 194 is powered on and powered off, so that the display screen 194 is restored to be normal.
If the determination result is no, for example, the flag bit data is 1, the flag display 194 does not generate the electrostatic abnormality, so that step S306 is performed, and the processor 110 starts to perform the next electrostatic detection after waiting for 5 seconds.
And S308, powering up and down the display screen 194 to enable the display screen 194 to be restored to be normal.
Illustratively, after the processor 110 determines that the display screen 194 is abnormal in static electricity, the processor may perform power-on and power-off operations on the display screen 194 to restore the display screen 194 to normal. For example, each voltage pin in the display 194 may be sequentially powered down and powered up after the power down is completed, so that static electricity of the display 194 is removed, and the display 194 returns to normal. In other embodiments, the electrostatic recovery of the display 194 may also be performed by initializing the display 194. It should be understood that the present embodiment does not impose any limitation on the manner in which static electricity is restored to the display screen 194.
In an embodiment of the present application, the touch module 12 and the display module 122 are integrated on one chip. Therefore, the touch module 12 can read the electrostatic detection data in the register 123 of the display module 122, and acquire flag bit data for determining whether an abnormality occurs in the display screen 194 based on the electrostatic detection data. When the touch module 12 reports the touch detection data to the processor 110 through the first interface, the flag bit data is embedded into the touch detection data and reported to the processor 110. Therefore, when the processor 110 performs electrostatic detection, the flag bit data can be obtained from the touch detection data, so as to determine whether the display 194 is abnormal in electrostatic. Thus, the static electricity detection data in the register 123 does not need to be read from the display module 122 through the MIPI interface, so that the conflict between the processor 110 and the display screen 194 for transmitting the image data through the MIPI interface is avoided. In this way, the processor 110 does not need to read the data of the register 123 in the vertical blanking interval, so as to avoid the situation that the display screen 194 is stuck and lost.
Fig. 4 shows a schematic diagram of a system software architecture of an electronic device according to an embodiment of the application.
As shown in fig. 4, the software system of the electronic device may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, an Android system with a layered architecture is taken as an example, and the software structure of the electronic equipment is illustrated.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system may include a hardware abstraction layer (hardware abstract layer, HAL), a kernel layer, and a hardware layer.
The hardware abstraction layer, i.e. the HAL layer, is a package for hardware drivers, and provides a unified universal interface for hardware capabilities for upper layers. The hardware abstraction layer may include, for example, a CPU HAL, a GPU HAL, a sensor HAL, a display HAL, a camera HAL, and the like.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a CPU driver, a GPU driver, a display driver, a sensor driver, a camera driver and the like.
The hardware layers may include, for example, a display 194, a backlight, and a touch and display driver integrated chip 13.
Illustratively, the display screen 194 is used for displaying images, and the display screen 194 is subject to electrostatic anomalies after being subjected to an electrostatic strike. For example, the integrated circuit of the display screen 194 is subjected to electrostatic discharge to cause the display screen 194 to generate an abnormal condition such as green screen, flower screen or black screen.
A BackLight (BackLight) is a light source located behind a display screen 194, such as a liquid crystal display, whose lighting effect will directly affect the visual effect of the liquid crystal display. When an abnormality occurs in the backlight by electrostatic striking, an abnormal image is also generated in the display screen 194.
It should be understood that in some embodiments, the touch and display driver integrated chip 13 is formed by integrating the display IC and the touch IC on a single chip. For example, the touch module 12 may be used to implement the functionality of a display IC, the display module 122 may be used to implement the functionality of a TPIC, and the touch module 12 may access a register 123 of the display module 122.
It should be appreciated that in other embodiments the Android system may also include an application layer, an application framework layer, an Zhuoyun row (Android run) and a system library.
The application package may include camera, gallery, calendar, talk, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
Android run time includes a core library and virtual machines. Android system is responsible for scheduling and management of android systems. The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library, 2D graphics engine, etc.
The electrostatic detection method of the present application is described below in terms of the system software architecture of the electronic device.
Referring to fig. 4, in the static electricity detection, the display driver of the kernel layer runs the static electricity detection thread to realize the static electricity detection. It should be appreciated that the static electricity detection thread is a circular work queue running at the kernel layer. For example, the electrostatic detection thread performs electrostatic detection every 5 seconds.
In some embodiments, a method of electrostatic detection by an electrostatic detection thread includes the following steps. It should be understood that the execution subject of each step described below may be the processor 110.
411, reading electrostatic detection data.
Illustratively, the processor 110, when performing electrostatic detection, needs to acquire electrostatic detection data. The processor 110 reads the electrostatic detection data in the register 123 of the display module 122 through the MIPI interface and performs electrostatic detection based on the electrostatic detection data. However, the processor 110 also needs to transmit image data through the MIPI interface, and thus, the processor 110 needs to read the electrostatic detection data in the register 123 in the vertical blanking interval.
412, comparing the electrostatic detection data.
For example, if the display 194 generates an electrostatic anomaly, the electrostatic detection data of the register 123 may change. Therefore, after acquiring the electrostatic detection data, the processor 110 may determine whether the display 194 is abnormal in electrostatic by comparing the read electrostatic detection data with the electrostatic detection data stored in the register 123 in advance.
In the case that the vertical blanking interval is shortened due to the larger frame rate of the display screen 194 by the above-mentioned static detection method, if the display driver reads the data of the plurality of registers 123 at the same time, the display screen 194 is easy to be blocked and lost, and the use experience of the user is affected.
Referring to fig. 4, in some embodiments of the application, a method of electrostatic detection by an electrostatic detection thread includes the steps of:
421, the touch module 12 obtains electrostatic detection data of the register 123 in the display module 122.
Illustratively, in the TDDI chip, since the display module 122 and the touch module 12 are integrated together, the touch module 12 can acquire the electrostatic detection data in the register 123 in the display module 122. The touch module 12 compares the obtained electrostatic detection data with a standard value of the electrostatic detection data, and can determine whether the electrostatic detection data is changed. If the electrostatic detection data changes, it indicates that the display screen 194 is abnormal due to the static electricity, and at this time, the touch module 12 generates flag bit data as 0. If the electrostatic detection data does not change, it indicates that the display screen 194 is in a normal working state, and the touch module 12 generates flag bit data as 1.
When the TP IC or the TDDI chip reports the touch detection data, the zone bit data is embedded into the touch detection data, so that the touch detection data is reported to the touch drive of the kernel layer through the first interface. The first interface may be, for example, an SPI interface, an I2C interface, or an I3C interface.
It should be appreciated that the frequency of reading the electrostatic detection data in the register 123 by the touch module 12 may be the same as the frequency of reporting the touch detection data to the touch driver by the touch module 12, for example. For example, the touch module 12 reports 10 frames of touch detection data to the touch driver every second, and the touch module 12 also obtains 10 times of static detection data from the register 123 every second and embeds the static detection data into the corresponding touch detection data.
422, the touch driver obtains touch detection data embedded with the flag bit data.
For example, when the touch driver acquires touch detection data, a corresponding dispatch function in the I/O device driver may be started through an input/output request packet (I/O request package, IRP), and data may be transmitted from the SPI interface through the dispatch function. An IRP is a system component in the kernel layer. When an upper layer application needs to access the underlying input-output device, I/O requests are issued, and the system translates these requests into IRP data.
The TDDI reports a segment of buffered touch detection data, such as Buf 0-Buf 19 in fig. 4, each time it is interrupted. The touch detection data may include, for example, the display 194 capacity data, as well as the embedded flag bit data.
423, the daemon obtains touch detection data.
Illustratively, the daemon uses a first in, first out (FIFO) queue to obtain touch detection data. The afehal (a receiving module) is used for receiving data transmitted from the kernel layer to the hardware abstraction layer, and the afehal is determined based on the touch IC. The daemon may receive touch detection data reported from the kernel layer, for example, through afehal. The reported touch detection data may include, for example, a frame header, capacity data, and embedded flag bit data of each frame data.
At 424, the daemon stores the flag bit data in the touch driven cache.
Illustratively, after the daemon acquires the touch detection data, the bit zone data embedded in the touch detection data is cached in the touch-driven cache, so that the display driver can acquire the bit zone data from the cache to perform electrostatic detection.
425, the display drive starts electrostatic detection.
Illustratively, the static detection thread of the display driver run is a loop detection queue. For example, the electrostatic detection thread performs electrostatic detection every 5 seconds.
426, the display driver obtains the flag bit data from the cache of the touch driver.
For example, the display driver may acquire flag bit data from the touch-driven buffer every 5 seconds when performing electrostatic detection once.
It should be appreciated that when an electrostatic abnormality occurs after the display screen 194 is electrostatically struck, the electrostatic detection data in the register 123 changes. If the display 194 is not electrostatically restored, the electrostatic detection data in the register 123 is always in an abnormal state. Each time the touch module 12 acquires the electrostatic detection data from the register 123, the electrostatic detection data of an abnormal state is acquired. Therefore, if the display 194 experiences an electrostatic anomaly at any time between 5 seconds, the daemon can cache the flag bit data indicating the display 194 anomaly into the touch-driven cache. When the display drive performs electrostatic detection in the 5 th second, it is possible to acquire flag bit data indicating that the display screen 194 is abnormal, and thereby perform electrostatic recovery.
427, the display driver determines whether or not an electrostatic abnormality has occurred in the display screen 194 based on the flag bit data.
Illustratively, the flag bit data is data indicating whether the display 194 is abnormal. For example, when the flag bit data is 0, it indicates that the display 194 is abnormal in static electricity. When the flag bit data is 1, it indicates that the display 194 is not abnormal. Accordingly, the display drive can determine whether or not an electrostatic abnormality has occurred in the display screen 194 through the flag bit data.
If the determination result is yes, for example, it is detected that the flag bit data is 0, which indicates that the display screen 194 is abnormal in static electricity. Step 428 is executed and the display driver performs an electrostatic recovery operation.
If the determination result is no, for example, if the flag bit data is 1, which indicates that the display screen 194 is not abnormal in static electricity, step 425 is executed, and the display drive is waited to start the next static electricity detection.
428, the display driver performs an electrostatic reset operation.
Illustratively, after the display drive judges that the display screen 194 is abnormal in static electricity, the display screen 194 can be powered on and powered off to restore the display screen 194 to normal.
It should be appreciated that in other embodiments, the flag bit data may also be, for example, static detection data of registers 123 in display module 122. The display drive judges whether or not the display screen 194 is abnormal in electrostatic by comparing the flag bit data with the standard value of the electrostatic detection data. The embodiment of the application does not specifically limit the flag bit data.
In an embodiment of the present application, the static electricity detection thread does not need to read the register 123 in the display module 122 through MIPI when acquiring data indicating whether static electricity detection has occurred on the display screen 194. Thereby avoiding the conflict between the thread of static detection in the kernel layer and the thread for transmitting the image. Therefore, when the display driver performs electrostatic detection, the processor 110 does not need to read the electrostatic detection data of the register 123 in the display module 122 in the vertical blanking interval. The problem that the processor 110 is liable to get stuck when the processor 110 reads the register 123 in the vertical blanking interval becomes short as the frame rate of the display screen 194 becomes fast can be avoided.
Fig. 5 illustrates a schematic diagram of the structure of an electronic device 100, according to some embodiments of the application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a touch and display driver integrated chip 13, a display screen 194, a user identification module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signalprocessor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include integrated circuit interfaces, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interfaces, pulse code modulation (pulse code modulation, PCM) interfaces, universal asynchronous receiver transmitter (universal asynchronousreceiver/transmitter, UART) interfaces, mobile industry processor interfaces, general-purpose input/output (GPIO) interfaces, subscriber identity module (subscriber identitymodule, SIM) interfaces, and/or universal serial bus (universal serial bus, USB) interfaces, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serialinterface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigationsatellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The touch and display driving integrated chip 13 includes a touch module 12 and a display module 122, and the touch and display integrated chip 13 integrates a display IC and a touch IC on a single chip. For example, the touch module 12 may be used to implement the functionality of a display IC, the display module 122 may be used to implement the functionality of a touch IC, and the touch module 12 may access a register 123 of the display module 122.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organiclight emitting diode), a flexible light-emitting diode (flex), a Mini-LED, a Micro-OLED, a quantum dot light-emitting diode (quantum dot lightemitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the present application, each unit/module mentioned in each device is a logic unit/module, and in physical terms, one logic unit/module may be one physical unit/module, or may be a part of one physical unit/module, or may be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logic unit/module itself is not the most important, and the combination of functions implemented by the logic unit/module is only a key for solving the technical problem posed by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-described device embodiments of the present application do not introduce units/modules that are less closely related to solving the technical problems posed by the present application, which does not indicate that the above-described device embodiments do not have other units/modules.
It should be noted that in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the application.

Claims (5)

1. The screen static detection method is applied to electronic equipment and is characterized in that the electronic equipment comprises a touch control module, a display module and a processor;
the method comprises the following steps:
the touch control module acquires electrostatic detection data of the screen from a register of the display module;
the touch module sends first data related to the static detection data to the processor;
the first data comprises indication data, wherein the indication data is used for indicating whether static electricity abnormality occurs on the screen;
the processor implements a function related to electrostatic detection based on the first data;
the touch module inserts the first data into touch detection data;
the touch module sends touch detection data comprising the first data to the processor through a first interface; the first interface includes any one of the following: serial peripheral interfaces, I2C interfaces, and I3C interfaces; the display module obtains image data from the processor through a second interface, wherein the second interface is an MIPI interface.
2. The method of claim 1, wherein the first data further comprises static detection data for the screen.
3. The method according to claim 1 or 2, wherein the processor implements functions related to electrostatic detection based on the first data, comprising:
the processor determines whether the screen is abnormal in static electricity based on the first data;
and the processor performs electrostatic recovery on the screen corresponding to the determination that the screen is abnormal in electrostatic.
4. The electronic equipment is characterized by comprising a touch control module, a display module and a processor; wherein,,
the touch control module is used for acquiring electrostatic detection data of a screen of the electronic equipment from a register of the display module;
the touch module sends first data related to the static detection data to the processor;
the first data comprises indication data, wherein the indication data is used for indicating whether static electricity abnormality occurs on the screen;
the processor implements a function related to electrostatic detection based on the first data;
the touch module inserts the first data into touch detection data;
the touch module sends touch detection data comprising the first data to the processor through a first interface; the first interface includes any one of the following: serial peripheral interfaces, I2C interfaces, and I3C interfaces;
And the display module sends the image data to the processor through a second interface, and the second interface is an MIPI interface.
5. A readable storage medium having stored thereon instructions that, when executed on an electronic device, cause the electronic device to perform the screen static electricity detection method of any of claims 1 to 3.
CN202310694755.5A 2023-06-13 2023-06-13 Screen electrostatic detection method, readable storage medium and electronic device Active CN116431418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310694755.5A CN116431418B (en) 2023-06-13 2023-06-13 Screen electrostatic detection method, readable storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310694755.5A CN116431418B (en) 2023-06-13 2023-06-13 Screen electrostatic detection method, readable storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN116431418A CN116431418A (en) 2023-07-14
CN116431418B true CN116431418B (en) 2023-10-31

Family

ID=87081899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310694755.5A Active CN116431418B (en) 2023-06-13 2023-06-13 Screen electrostatic detection method, readable storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN116431418B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522090A (en) * 2003-02-15 2004-08-18 Lg电子株式会社 Control apparatus and method for mobile communication terminal using electrostatic detection
JP2012098827A (en) * 2010-10-29 2012-05-24 Minebea Co Ltd Input device and input control method for electronic device
CN103929161A (en) * 2013-12-31 2014-07-16 厦门天马微电子有限公司 Reset control system of driver IC, display module and display device
CN105117298A (en) * 2015-08-10 2015-12-02 中颖电子股份有限公司 Electrostatic discharge protection system and method for display screen driving chip
CN114077511A (en) * 2020-08-18 2022-02-22 深圳市万普拉斯科技有限公司 Display screen abnormity recovery method and device, computer equipment and storage medium
CN114113855A (en) * 2021-11-25 2022-03-01 展讯通信(上海)有限公司 Electrostatic discharge detection processing method and device and terminal equipment
CN114373412A (en) * 2021-12-31 2022-04-19 厦门天马微电子有限公司 Display device and abnormality detection method thereof
CN115033122A (en) * 2021-03-03 2022-09-09 华为技术有限公司 Screen control method of electronic device, readable medium and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522090A (en) * 2003-02-15 2004-08-18 Lg电子株式会社 Control apparatus and method for mobile communication terminal using electrostatic detection
JP2012098827A (en) * 2010-10-29 2012-05-24 Minebea Co Ltd Input device and input control method for electronic device
CN103929161A (en) * 2013-12-31 2014-07-16 厦门天马微电子有限公司 Reset control system of driver IC, display module and display device
CN105117298A (en) * 2015-08-10 2015-12-02 中颖电子股份有限公司 Electrostatic discharge protection system and method for display screen driving chip
CN114077511A (en) * 2020-08-18 2022-02-22 深圳市万普拉斯科技有限公司 Display screen abnormity recovery method and device, computer equipment and storage medium
WO2022037495A1 (en) * 2020-08-18 2022-02-24 深圳市万普拉斯科技有限公司 Display screen anomaly recovery method and apparatus, computer device, and storage medium
CN115033122A (en) * 2021-03-03 2022-09-09 华为技术有限公司 Screen control method of electronic device, readable medium and electronic device
CN114113855A (en) * 2021-11-25 2022-03-01 展讯通信(上海)有限公司 Electrostatic discharge detection processing method and device and terminal equipment
CN114373412A (en) * 2021-12-31 2022-04-19 厦门天马微电子有限公司 Display device and abnormality detection method thereof

Also Published As

Publication number Publication date
CN116431418A (en) 2023-07-14

Similar Documents

Publication Publication Date Title
EP3223131A1 (en) Electronic device with fingerprint sensor and control method thereof
US20150128068A1 (en) Method for operating message application and electronic device implementing the same
WO2023284415A1 (en) Power key mistouch detection method and electronic device
WO2021051982A1 (en) Method for calling hardware interface and electronic device
EP3462298A1 (en) Apparatus and method for providing memo function
KR20150026424A (en) Method for controlling a display and an electronic device
WO2021238373A1 (en) Method for unlocking by means of gaze and electronic device
WO2021185352A1 (en) Version upgrade method and related apparatus
WO2022078105A1 (en) Memory management method, electronic device, and computer-readable storage medium
CN116048833B (en) Thread processing method, terminal equipment and chip system
CN107885635B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107908492B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN115794361A (en) Method for managing memory and electronic equipment
WO2021218370A1 (en) Memory management method and terminal device
CN110968252A (en) Display method of interactive system, interactive system and electronic equipment
CN107818036B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107832191B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN111381996B (en) Memory exception handling method and device
CN116431418B (en) Screen electrostatic detection method, readable storage medium and electronic device
CN115835135B (en) CELL fence matching method and electronic equipment
WO2024093103A1 (en) Handwriting processing method, and terminal device and chip system
CN116028148B (en) Interface processing method and device and electronic equipment
CN107766210B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN117097883B (en) Frame loss fault cause determining method, electronic equipment and storage medium
CN116775345B (en) Data transmission method and electronic equipment

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