Electrostatic discharge detection method and device
By detecting whether the tearing effect signal of the LCD screen is normal in a functional phone and then refreshing the display, the problem of system freeze and screen freeze caused by electrostatic discharge interference is solved, and the electrostatic discharge recovery speed and user experience are improved.
Patent Information
- Application Number
- CN202011499922.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-17
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-12-17
AI Technical Summary
During the electrostatic discharge detection process of functional phones, electrostatic interference caused the tearing effect signal of the LCD to disappear, causing the system to freeze and freeze the screen, affecting the user experience.
By activating electrostatic discharge detection, the LCD screen is detected for static electricity problems, and the display is refreshed when the tearing effect signal returns to normal to avoid signal disappearance and system freezes caused by electrostatic interference.
It speeds up the recovery speed of electrostatic discharge, avoids the problem of system freeze and fixed screen, and improves the user experience.
Smart Images

Figure CN112731012B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to an electrostatic discharge detection method and device. Background Art
[0002] Feature phones need to pass a variety of tests when in use, among which the electrostatic discharge (ESD) test is one of the tests for feature phones. When the feature phone undergoes an ESD test, static electricity will interfere with the liquid crystal display (LCD) hardware, causing the tear effect (TE) signal used for signal feedback in the LCD to disappear, thereby causing the feature phone to malfunction or malfunction, such as causing the feature phone to have a distorted screen, a frozen screen, or a black screen, affecting the user's experience of the overall performance of the feature phone. Summary of the invention
[0003] The embodiments of the present application provide an electrostatic discharge detection method and device, which can accelerate ESD recovery, prevent system freezing and screen fixation problems, and improve user experience.
[0004] In a first aspect, an embodiment of the present application provides an electrostatic discharge detection method, which is applied to a feature phone, and the method includes:
[0005] Start electrostatic discharge (ESD) detection;
[0006] When the ESD problem is detected on the liquid crystal display LCD, whether the tearing effect TE signal is normal;
[0007] When the TE signal is normal, the LCD is refreshed.
[0008] In a second aspect, an embodiment of the present application provides an electrostatic discharge detection device, which is applied to a functional machine, and the device includes:
[0009] A start unit is used to start the ESD detection;
[0010] A detection unit, used to detect whether the tearing effect TE signal is normal when the ESD problem is detected on the liquid crystal display LCD;
[0011] A refresh unit is used to refresh the LCD when the TE signal is normal.
[0012] In a third aspect, an embodiment of the present application provides a functional machine, which includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing some or all of the steps described in the method described in the first aspect above.
[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute some or all of the steps described in the method described in the first aspect above.
[0014] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the method described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0015] In a sixth aspect, a chip system is provided, which includes at least one processor, a memory and an interface circuit, wherein the memory, the transceiver and the at least one processor are interconnected via lines, and a computer program is stored in the at least one memory; when the computer program is executed by the processor, the method described in the first aspect is implemented.
[0016] Through the implementation of the embodiments of the present application, the technical solution provided by the present application starts electrostatic discharge ESD detection, and when an ESD problem is detected in the LCD, it detects whether the tearing effect TE signal is normal. When the TE signal is normal, the LCD is refreshed, thereby avoiding the problem of the TE signal disappearing due to electrostatic discharge interfering with the LCD hardware, causing the system to freeze and the screen to freeze, speeding up the ESD recovery speed, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 It is a structural schematic diagram of a functional machine provided by an embodiment of the present application;
[0019] Figure 2 It is a flow chart of an electrostatic discharge detection method provided in an embodiment of the present application;
[0020] Figure 3 It is a flowchart of a method for detecting a fixed screen problem provided by an embodiment of the present application;
[0021] Figure 4 It is a schematic diagram of a flow chart of a method for refreshing an LCD provided in an embodiment of the present application;
[0022] Figure 5a A schematic diagram of the structure of an electrostatic discharge detection device provided in an embodiment of the present application;
[0023] Figure 5b A schematic diagram of the structure of another electrostatic discharge detection device provided in an embodiment of the present application;
[0024] Figure 6 It is a structural schematic diagram of another functional machine provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0026] It should be understood that the "at least one" involved in the embodiments of the present application refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0027] Furthermore, unless otherwise specified, ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects. For example, the first information and the second information are only used to distinguish different information, and do not indicate the difference in content, priority, sending order or importance of the two types of information.
[0028] In order to better understand the solutions of the embodiments of the present application, the relevant terms and concepts that may be involved in the embodiments of the present application are first introduced below.
[0029] Electrostatic discharge (ESD): Static electricity is a static charge, usually generated by friction or induction between objects. When an object with static electricity contacts an object with zero potential or an object with a potential difference, charge transfer occurs, generating a strong current instantly, which is called electrostatic discharge.
[0030] Feature phones: Feature phones are mainly devices that have the functions of making / receiving calls and sending and receiving text messages. They have a simple structure, that is, they only have simple tools, mainly with function buttons. Feature phones are not smart devices. Compared with smart devices, feature phones do not have touch functions and other powerful application functions.
[0031] Tear effect (TE): generally refers to the phenomenon of the display image being torn apart, and also refers to the signal sent by the LCD during the display. This signal is used to synchronize the frame display between the main control chip and the LCD to prevent the tearing phenomenon. The LCD has a full-frame frame buffer (Frame Buffer) to store frame data. Frame data refers to a frame of image data sent by the main control chip in a certain frame cycle. Once the frame data is placed in the LCD's frame buffer, the LCD's data driver (Date Driver IC, DDIC) will read the frame data from the frame buffer and display the data on the screen. When the main control chip writes frame data to the frame buffer, it is controlled by the TE signal generated by the main control chip and the LCD's data driver. When the data driver reads frame data from the frame buffer, it is also controlled by the TE signal. The main control chip receives the TE signal sent by the data driver and starts writing data to the frame buffer at the rising edge of the TE signal; the data driver starts reading frame data from the frame buffer at the falling edge of the TE signal.
[0032] At present, feature phones are consumer electronic products that are easily damaged by human electrostatic discharge during daily use. In addition to hardware-level protection measures, the software level also needs to detect screen display abnormalities caused by electrostatic discharge and restore them to normal display. However, when performing ESD testing on feature phones, electrostatic discharge will interfere with LCD hardware and cause the TE signal to disappear. At this time, the ESD recovery process and the APP screen refresh process will compete for the ESD signal, which will cause the system to freeze and the screen to freeze.
[0033] In order to solve the above problems, the present application proposes an electrostatic release detection method. After detecting the LCD hardware problem caused by ESD, the software will detect whether the LCD's TE signal is normal to determine whether the LCD has returned to normal. When the LCD has returned to normal, the APP will be notified to refresh the LCD. This avoids the problem of the system being stuck and the screen being frozen due to the disappearance of the TE signal caused by electrostatic release interfering with the LCD hardware, resulting in the LCD not returning to normal but having been refreshed. This speeds up the ESD recovery speed and improves the user experience.
[0034] See also Figure 1 , Figure 1 Schematic diagram of a functional machine provided by an embodiment of the present application. Figure 1As shown, the functional machine 100 may include a main control chip 110, a memory 120 and an LCD 130, etc. The LCD 130 is connected to the main control chip 110, and the main control chip 110 is connected to the memory 120. The functional machine may include various functional handheld devices with wireless communication functions, functional vehicle-mounted devices, functional wearable devices, functional computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile stations (MS), functional machines (terminal devices), etc.
[0035] Exemplarily, the functional machine 100 may also include a mobile communication module, which may support 4G wireless communication. The mobile communication module may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module may receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0036] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the function machine 100. In other embodiments of the present application, the function machine 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0037] With the above Figure 1 For details on the embodiments shown in the drawings, please refer to Figure 2 , Figure 2 is a flow chart of an electrostatic discharge detection method provided in an embodiment of the present application, which is applied to Figure 1 The functional machine shown; Figure 2 As shown, the electrostatic discharge detection method includes:
[0038] S210, start electrostatic discharge (ESD) detection.
[0039] In an embodiment of the present application, when the feature machine detects a request to light up the screen, it wakes up the LCD and starts ESD detection at the same time, that is, triggers the ESD detection program; or when the LCD continues to display, the feature machine can periodically trigger the ESD detection program.
[0040] S220: When it is detected that the liquid crystal display LCD has an ESD problem, detect whether the tearing effect TE signal is normal.
[0041] Among them, when the functional machine detects that the LCD has the ESD problem, the ESD recovery operation is performed. In the process of performing the ESD recovery operation, in order to avoid the screen refresh operation before the LCD returns to normal, and the system stuck screen problem caused by the competition between the display thread and the ESD detection thread for the ESD signal, the tearing effect TE signal can be detected to see whether the screen refresh operation can be performed. When the TE signal is normal, it means that the LCD has returned to normal and the screen refresh operation can be performed; when the TE signal is abnormal, it means that the LCD has not returned to normal and the screen refresh operation cannot be performed.
[0042] Optionally, detecting whether the TE signal is normal includes: obtaining a first register, where the first register is used to indicate whether the TE signal is received; when the value of the first register is a first value, detecting that the TE signal is normal; when the value of the first register is a second value, detecting that the TE signal is abnormal.
[0043] Among them, the first register is a register in the main control chip used to indicate whether the TE signal is received, and the first value can be 1, and the second value can be 0. When the value of the first register is 1, it means that the TE signal is normal, and there is no electrostatic discharge interfering with the LCD hardware, so the main control chip receives the TE signal sent by the LCD; when the value of the first register is 0, it means that the TE signal is abnormal, and there is electrostatic discharge interfering with the LCD hardware causing the TE signal to disappear, so the main control chip cannot receive the TE signal sent by the LCD, and thus the display synchronization between the main control chip and the LCD cannot be performed. Exemplarily, the first value can be 0, and the second value can be 1. When the value of the first register is 0, it means that the TE signal is normal; when the value of the first register is 1, it means that the TE signal is abnormal.
[0044] In a possible example, if the functional machine determines that the LCD has the ESD problem, it executes a preset ESD recovery operation; if the functional machine determines that the LCD does not have the ESD problem, it starts the next detection.
[0045] Among them, starting the next detection includes starting the ESD detection of the functional machine, and when it is detected that the liquid crystal display screen LCD has the ESD problem, detecting whether the tearing effect TE signal is normal, and refreshing the LCD when the TE signal is normal.
[0046] It can be seen that in this example, if it is determined that the LCD does not have the ESD problem, the next test will be started and the cycle will continue. This ensures that users can find problems such as screen noise and screen flickering in time through ESD testing during use, which is conducive to improving the accuracy of electrostatic discharge ESD testing.
[0047] Optionally, the method also includes: before detecting whether the tearing effect TE signal is normal or when the TE signal is abnormal, sending a reset command to the LCD, and downloading an initialization code from the LCD chip, wherein the reset command is used to reset the parameters of the LCD, and the initialization code is used to initialize the parameters of the LCD.
[0048] Among them, an ESD recovery operation will be performed when an ESD problem is detected. The ESD recovery operation requires resetting the LCD. Specifically, the main control chip sends a reset command to the LCD to reset the LCD parameters, and downloads the initialization code from the LCD chip to initialize the LCD parameters. Then, it is detected whether the TE signal sent by the LCD is normal. If the TE signal is abnormal, the previous process is repeated again; if the TE signal is normal, the LCD screen is notified to refresh the display.
[0049] Optionally, the ESD problem includes a screen fixing problem and a screen distortion problem; Figure 3 As shown, the detection of the fixed screen problem specifically includes the following steps:
[0050] S21. Obtain an ESD signal, where the ESD is used to indicate a currently running program.
[0051] Among them, in ESD detection, the main problems that occur are LCD display fixed screen problems and LCD display screen problems. The detection of fixed screen problems can be completed through ESD signal quantities and ESD global variables. The main control chip needs to obtain ESD signal quantities when executing the display program and the ESD detection program. Therefore, when performing ESD detection, the obtained ESD signal quantity needs to be given to the ESD detection program to ensure that when both the display program and the ESD detection program are running, the ESD global variable can only be occupied by the ESD detection program.
[0052] S22: After the first time period, read the ESD global variable.
[0053] After acquiring the ESD signal, the main control chip waits for a first time period before executing the ESD detection program. The first time period is the time it takes for a frame of image to be refreshed, so that when the ESD detection program is executed after waiting for the first time period, the display program has been completed. The first time period can be set according to the specific implementation scenario, such as 300ms, 500ms, 600ms, 800ms, etc., which is not limited in the embodiment of the present application.
[0054] S23: If the ESD global variable is the first value, detect whether the LCD has the fixed screen problem.
[0055] Specifically, if the ESD global variable is the first value, it means that when the ESD detection program is run, the display program has not yet been completed, so it is considered that the fixed screen problem occurs at this time. Exemplarily, if the ESD global variable is the second value, it means that when the ESD detection program is run, the display program has been completed, and the fixed screen problem does not occur at this time.
[0056] Optionally, the detection of the flowery screen problem specifically includes the following steps: obtaining a second register, the second register being used to indicate the display status of the LCD; comparing the value of the second register with a third value, the third value being the value of the second register when the functional machine is turned on; if the value of the second register is not equal to the third value, detecting that the LCD has the flowery screen problem.
[0057] In the present application, when the ESD detection program is triggered, the main control chip will read the second register in the LCD chip, and the value of the second register can display the current LCD display status. By comparing the current value of the second register with the value of the second register when the feature machine is turned on, it can be detected whether there is a screen distortion problem. Specifically, if the value of the second register changes relative to the value of the second register when the feature machine is turned on, it indicates that the current LCD display is abnormal and a screen distortion problem occurs. For example, if the value of the second register is exactly the same as the value of the second register when the feature machine is turned on, it indicates that the current LCD display is normal.
[0058] In the embodiment of the present application, after reading the ESD global variable, the ESD detection program can release the ESD signal quantity so that the display program is executed when the TE signal is normal.
[0059] S230: When the TE signal is normal, refresh the LCD.
[0060] When the TE signal is detected to be normal, the main control chip can notify the man-machine interface (MMI) to refresh the current screen display.
[0061] Optional, such as Figure 4 As shown, refreshing the LCD comprises the following steps:
[0062] S31, obtaining the ESD signal amount.
[0063] The main control chip obtains the ESD signal quantity and gives the ESD signal quantity to the display program to ensure that the ESD global variable can only be occupied by the display program.
[0064] S32: Read the ESD global variable, and set the ESD global variable to the first value.
[0065] S33, displaying the LCD. If the LCD displays normally, setting the ESD global variable to the second value, and releasing the ESD signal.
[0066] Before the LCD displays normally, the ESD global variable is set to the first value. Then the LCD is refreshed and displayed. If the LCD displays normally, it means that the display program has completed running. Therefore, the ESD global variable is set to the second value again, indicating that the LCD is not frozen, and the ESD signal is released to run the ESD detection program.
[0067] It can be seen that the electrostatic release detection method proposed in the embodiment of the present application starts electrostatic release ESD detection, and when it detects that the LCD has an ESD problem, it then detects whether the tearing effect TE signal is normal. When the TE signal is normal, it refreshes the LCD, thereby avoiding the problem of the system being stuck and the screen being frozen due to the disappearance of the TE signal caused by electrostatic release interfering with the LCD hardware, thereby accelerating the ESD recovery speed and improving the user experience.
[0068] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that in order to realize the above functions, the functional machine includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments provided in this document, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0069] The embodiment of the present application can divide the functional machine into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0070] See also Figure 5a , Figure 5a : is a functional unit composition block diagram of an electrostatic discharge detection device provided in an embodiment of the present application. The device 500 is applied to a functional machine. The device 500 includes: a starting unit 510, a detection unit 520 and a refresh unit 530, wherein:
[0071] The start-up unit 510 is used to start the electrostatic discharge (ESD) detection;
[0072] The detection unit 520 is used to detect whether the tearing effect TE signal is normal when the ESD problem is detected in the liquid crystal display LCD;
[0073] The refresh unit 530 is used to refresh the LCD when the TE signal is normal.
[0074] It can be seen that the electrostatic release detection device provided in the embodiment of the present application starts the electrostatic release ESD detection through the starting unit. When the detection unit detects that the LCD has an ESD problem, it detects whether the tearing effect TE signal is normal. When the TE signal is normal, the refresh unit refreshes the LCD, thereby avoiding the problem of the TE signal disappearing due to electrostatic release interfering with the LCD hardware, causing the system to freeze and the screen to freeze, speeding up the ESD recovery speed, and improving the user experience.
[0075] Optionally, the detection unit 520 is specifically used to: obtain a first register, where the first register is used to indicate whether the TE signal is received; when the value of the first register is a first value, detect that the TE signal is normal; when the value of the first register is a second value, detect that the TE signal is abnormal.
[0076] Optional, such as Figure 5b , is a functional unit block diagram of another electrostatic discharge detection device 500 provided in an embodiment of the present application, wherein the device 500 further includes:
[0077] The recovery unit 540 is used to send a reset command to the LCD before detecting whether the tearing effect TE signal is normal or when the TE signal is abnormal, and download an initialization code from the LCD chip. The reset command is used to reset the parameters of the LCD, and the initialization code is used to initialize the parameters of the LCD.
[0078] Optionally, the ESD problem includes a screen fixing problem and a screen distortion problem;
[0079] In terms of detecting the screen fixing problem, the detection unit 520 is specifically used to: obtain the ESD signal quantity, the ESD is used to indicate the currently running program; after a first period of time, read the ESD global variable; if the ESD global variable is the first value, detect that the LCD has the screen fixing problem.
[0080] Optionally, in terms of detecting the flowery screen problem, the detection unit 520 is specifically used to: obtain a second register, the second register being used to indicate the display status of the LCD; comparing the value of the second register with a third value, the third value being the value of the second register when the functional machine is turned on; if the value of the second register is not equal to the third value, detecting that the LCD has the flowery screen problem.
[0081] Optionally, the refresh unit 530 is specifically used to: obtain the ESD signal quantity; read the ESD global variable and set the ESD global variable to the first value; display the LCD; if the LCD displays normally, set the ESD global variable to the second value and release the ESD signal quantity.
[0082] It can be understood that the functions of each program module of the electrostatic discharge detection device of the embodiment of the present application can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0083] See also Figure 6 , Figure 6 Another functional machine provided in an embodiment of the present application includes: a processor, a memory, a transceiver, and one or more programs. The processor, the memory, and the transceiver are interconnected via a communication bus.
[0084] The memory includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or portable read-only memory (CD-ROM), which is used for related computer programs and data. The communication interface is used to receive and send data.
[0085] The processor may be one or more central processing units (CPUs). When the processor is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
[0086] The one or more programs are stored in the memory and are configured to be executed by the processor; the programs include instructions for performing the following steps:
[0087] Start electrostatic discharge (ESD) detection;
[0088] When the ESD problem is detected on the liquid crystal display LCD, whether the tearing effect TE signal is normal;
[0089] When the TE signal is normal, the LCD is refreshed.
[0090] It should be noted that the specific implementation process of the embodiments of the present application can refer to the specific implementation process described in the above method embodiments, which will not be repeated here.
[0091] An embodiment of the present application also provides a chip system, which includes at least one processor, a memory and an interface circuit, wherein the memory, the transceiver and the at least one processor are interconnected via lines, and a computer program is stored in the at least one memory; the computer program is executed by the processor as part or all of the steps of any method recorded in the above method embodiments.
[0092] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments.
[0093] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any method described in the above method embodiment. The computer program product may be a software installation package.
[0094] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0095] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0096] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0097] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0098] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0099] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0100] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the relevant hardware through a program, and the program may be stored in a computer-readable memory, which may include a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.
[0101] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for detecting electrostatic discharge, It is characterized in that Applied to a feature phone, the method includes: Start electrostatic discharge (ESD) detection; When an ESD problem is detected in the liquid crystal display LCD, whether the tearing effect TE signal is normal is detected, wherein the detection of the ESD problem includes: obtaining the ESD signal amount, the ESD signal amount is used to indicate the current running program, and giving the obtained ESD signal amount to the ESD detection program to ensure that the ESD global variable is only occupied by the ESD detection program, and executing the ESD detection program after waiting for a first time after obtaining the ESD signal amount, the first time is the time for a frame of picture to be displayed; if the ESD global variable is the first value, it means that the display program has not been completed when the ESD detection program is run, and the LCD display fixed screen problem in the ESD problem occurs; When the TE signal is normal, the LCD is refreshed.
2. The method according to claim 1, It is characterized in that The detecting whether the TE signal is normal includes: Acquire a first register, where the first register is used to indicate whether the TE signal is received; When the value of the first register is a first value, detecting that the TE signal is normal; When the value of the first register is the second value, the TE signal is detected to be abnormal.
3. The method according to claim 2, It is characterized in that The method further comprises: Before detecting whether the tearing effect TE signal is normal or when the TE signal is abnormal, a reset command is sent to the LCD, and an initialization code is downloaded from the LCD chip. The reset command is used to reset the parameters of the LCD, and the initialization code is used to initialize the parameters of the LCD.
4. The method according to claim 2 or 3, It is characterized in that The ESD problem also includes a screen distortion problem, and the detection of the screen distortion problem specifically includes: Acquire a second register, where the second register is used to indicate a display state of the LCD; Compare the value of the second register with a third value, the third value being the value of the second register when the functional device is turned on; If the value of the second register is not equal to the third value, it is detected that the LCD has the screen distortion problem.
5. The method according to claim 4, It is characterized in that The step of refreshing the LCD comprises: Obtaining the ESD signal amount; Reading the ESD global variable, and setting the ESD global variable to the first value; The LCD is displayed, and if the LCD displays normally, the ESD global variable is set to the second value, and the ESD signal quantity is released.
6. An electrostatic discharge detection device, It is characterized in that Applied to a feature phone, the device comprises: A start unit is used to start the ESD detection; A detection unit is used to detect whether the tearing effect TE signal is normal when it is detected that the liquid crystal display screen LCD has the ESD problem, wherein the detection of the ESD problem includes: obtaining the ESD signal amount, the ESD signal amount is used to indicate the current running program, and giving the obtained ESD signal amount to the ESD detection program to ensure that the ESD global variable is only occupied by the ESD detection program, and executing the ESD detection program after waiting for a first time after obtaining the ESD signal amount, the first time is the time for a frame of picture to be displayed; if the ESD global variable is the first value, it means that the display program has not been completed when the ESD detection program is run, and the LCD display fixed screen problem in the ESD problem occurs; A refresh unit is used to refresh the LCD when the TE signal is normal.
7. A functional phone, It is characterized in that The functional machine includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the communication interface is used to receive and send data, and the program includes instructions for executing the steps in the method described in any one of claims 1-5.
8. A chip system, comprising at least one processor, a memory and a transceiver, wherein the memory, the transceiver and the at least one processor are interconnected via lines, and a computer program is stored in the at least one memory; when the computer program is executed by the processor, the method described in any one of claims 1 to 5 is implemented.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the method according to any one of claims 1 to 5.
