CN109547647B - Electrostatic interference control method and related product - Google Patents

Electrostatic interference control method and related product Download PDF

Info

Publication number
CN109547647B
CN109547647B CN201910040596.0A CN201910040596A CN109547647B CN 109547647 B CN109547647 B CN 109547647B CN 201910040596 A CN201910040596 A CN 201910040596A CN 109547647 B CN109547647 B CN 109547647B
Authority
CN
China
Prior art keywords
control chip
display screen
electrostatic interference
application processor
register
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
CN201910040596.0A
Other languages
Chinese (zh)
Other versions
CN109547647A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910040596.0A priority Critical patent/CN109547647B/en
Publication of CN109547647A publication Critical patent/CN109547647A/en
Application granted granted Critical
Publication of CN109547647B publication Critical patent/CN109547647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the application discloses an electrostatic interference control method and a related product, and the method is applied to electronic equipment, the electronic equipment comprises an application processor, a display screen and a first control chip, the application processor is connected with the first control chip, the first control chip is connected with the display screen, and the method comprises the following steps: when the state of the electronic equipment is detected to meet the preset condition through the application processor, waking up the first control chip, and enabling the display screen to be in a screen-off state; detecting whether the display screen is subjected to electrostatic interference or not through a first control chip; if so, executing a preset electrostatic interference recovery operation to eliminate electrostatic interference; and loading a pre-stored display initialization code through the first control chip to enable the display screen. The embodiment of the application improves the real-time performance and stability of the electrostatic interference recovery of the electronic equipment.

Description

Electrostatic interference control method and related product
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method for controlling electrostatic interference and a related product.
Background
At present, the problem of delayed recovery exists in the recovery mechanism of the display screen of electronic equipment such as a mobile phone and the like under the electrostatic interference, and a user can obviously feel the phenomenon of screen splash or screen flashing in the electrostatic recovery process.
Disclosure of Invention
The embodiment of the application provides an electrostatic interference control method and a related product, aiming at improving the real-time performance and stability of electrostatic interference recovery of electronic equipment.
In a first aspect, an embodiment of the present application provides an electrostatic interference control method, which is applied to an electronic device, where the electronic device includes an application processor, a display screen, and a first control chip, the application processor is connected to the first control chip, and the first control chip is connected to the display screen, and the method includes:
when the application processor detects that the state of the electronic equipment meets a preset condition, awakening the first control chip, and enabling the display screen to be in a screen-off state;
detecting whether the display screen is subjected to electrostatic interference or not through the first control chip;
if so, executing a preset electrostatic interference recovery operation to eliminate the electrostatic interference;
and loading a pre-stored display initialization code through the first control chip to enable the display screen.
In a second aspect, an embodiment of the present application provides an electrostatic interference control apparatus, which is applied to an electronic device, the electronic device includes an application processor, a display screen, and a first control chip, the application processor is connected to the first control chip, the first control chip is connected to the display screen, the apparatus includes a processing unit and a communication unit, wherein,
the processing unit is used for awakening the first control chip when the application processor detects that the state of the electronic equipment meets a preset condition, and the display screen is in a screen-off state; the first control chip is used for detecting whether the display screen is subjected to electrostatic interference or not; if yes, executing preset electrostatic interference recovery operation to eliminate the electrostatic interference; and the display initialization code is used for loading the pre-stored display initialization code through the first control chip so as to enable the display screen.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where 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 steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods in the second aspect of the present application.
In a fifth aspect, 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 perform some or all of the steps described in any one of the methods of the second aspect of the present application. The computer program product may be a software installation package.
It can be seen that in the embodiment of the application, the electronic device includes an application processor, a display screen, and a first control chip, the application processor is connected to the first control chip, the first control chip is connected to the display screen, when the electronic device detects that the state of the electronic device satisfies a preset condition through the application processor, the first control chip is awakened, and the display screen is in a screen-off state; secondly, detecting whether the display screen is subjected to electrostatic interference or not through a first control chip; if so, executing a preset electrostatic interference recovery operation to eliminate electrostatic interference; and finally, loading a pre-stored display initialization code through the first control chip to enable the display screen. Therefore, the electronic equipment provided by the embodiment of the application can restore the electrostatic interference problem existing in the display screen before the display screen is enabled, so that the phenomenon that the display screen is shown to be a screen-splash phenomenon or a screen-flashing phenomenon in a bright screen display state can be avoided, and the real-time performance and the stability of the electronic equipment for electrostatic interference restoration can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an electrostatic interference control method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an electrostatic interference control method according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of another electrostatic interference control method according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of another electrostatic interference control method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a block diagram of functional units of an electrostatic interference control apparatus according to an embodiment of the present application.
Detailed Description
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure, where the electronic device 100 includes an application processor 110, a display screen 120, a first control chip 130, a touch screen 140, and a second control chip 150, the application processor 110 is connected to the first control chip 130, the first control chip 130 is connected to the display screen 120, the application processor 110 is connected to the second control chip 150, the second control chip 150 is connected to the touch screen 140, the first control chip 130 may be a dedicated control chip for the display screen 120, the second control chip 150 may be a dedicated control chip for the touch screen 140, the electronic device 100 may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so on.
Referring to fig. 2, fig. 2 is a schematic flowchart of another electrostatic interference control method according to an embodiment of the present application, and the method is applied to the electronic device shown in fig. 1; as shown in the figure, the electrostatic interference control method includes:
s201, when the electronic equipment detects that the state of the electronic equipment meets a preset condition through the application processor, awakening the first control chip, and enabling the display screen to be in a screen-off state;
in a specific implementation, the electronic device detects, by the application processor, that a state of the electronic device satisfies a preset condition, including: the electronic equipment detects that the motion trail of the electronic equipment meets a preset motion trail through the application processor, wherein the preset motion trail is used for indicating that the electronic equipment is picked up by a user; or, detecting, by the application processor, that the electronic device is in a charging state; or, the application processor detects that the electronic device is in a preset position, where the preset position includes any one of: home and office. Therefore, the electronic equipment can predict the use requirements of the user in time aiming at different use scenes, and awaken the first control chip in advance to execute the subsequent detection process, so that the real-time performance of the electrostatic interference detection is improved.
The preset motion track can be obtained through statistical analysis according to historical operation records of the user, or pushed by a server, or actively set and input by the user, and the like, and is not limited uniquely here.
S202, the electronic equipment detects whether the display screen is subjected to electrostatic interference or not through the first control chip;
in a specific implementation, the specific implementation manner of the electronic device detecting whether the display screen is subjected to the electrostatic interference through the first control chip may be: the electronic equipment reads the state value of each register in at least one register of the display screen through the first control chip, wherein the at least one register comprises at least one of the following: a control register, a frame buffer area initial address register, a red-green-blue lookup table register and a jitter mode register; if the register with the abnormal state value exists in the at least one register, the display screen is determined to be subjected to electrostatic interference; and if the first control chip detects that the register with the abnormal state value does not exist in the at least one register, determining that the display screen is not subjected to electrostatic interference.
The electronic equipment can prestore a reference value of each register, the reference value corresponds to a value of the display screen under the condition that the display screen is not subjected to electromagnetic interference, a sample value of the display screen under the state that the display screen is subjected to electrostatic interference can be prestored, and the current state of the display screen can be determined by comparing the reference value or the sample value with the state value.
Therefore, in this example, the electronic device can accurately position the electromagnetic interference of the display screen through the register reading and comparing mechanism, and further improve the detection accuracy and stability.
S203, if yes, the electronic equipment executes a preset electrostatic interference recovery operation to eliminate the electrostatic interference;
it is understood that the implementation manner of the electronic device performing the preset electrostatic interference recovery operation to eliminate the electrostatic interference may be various, and is not limited herein.
For example, the implementation manner of the electronic device performing the preset electrostatic interference recovery operation to eliminate the electrostatic interference may be: the electronic equipment updates a register with an abnormal state value through the first control chip; updating, by the application processor, a frame of display data;
after the electronic device loads a pre-stored display initialization code through the first control chip to enable the display screen, the method further includes: and the electronic equipment displays the updated frame of display data on the display screen through the first control chip.
The display data may be image data corresponding to various interfaces such as system desktop data and application interfaces. Because the electronic equipment updates the register through the first control chip and updates the display data through the application processor, the electronic equipment can execute the two steps in parallel through the first control chip and the application processor, thereby further improving the reply speed and reducing the processing delay.
Therefore, in this example, the electronic device actively updates the data to be displayed in the electrostatic interference recovery processing process, so that the problem of screen splash of the interfered original data to be displayed in the display process can be avoided, and the stability of controlling the display screen to display images by the electronic device can be improved.
For another example, the implementation manner of the electronic device performing the preset electrostatic interference recovery operation to eliminate the electrostatic interference may be further: the electronic equipment updates a register of the detected state value abnormity through the application processor; updating, by the application processor, a frame of display data;
after the electronic device loads a pre-stored display initialization code through the first control chip to enable the display screen, the method further includes: and the electronic equipment displays the updated frame of display data on the display screen through the application processor.
The display data may be image data corresponding to various interfaces such as system desktop data and application interfaces. Because the register is updated by the electronic equipment through the application processor, and one frame of display data is updated by the application processor, the electronic equipment can dynamically adapt the process of updating the display data according to different use scenes based on the potential delay tolerance of a user, for example, interface data to be displayed can be pre-cached according to scenes with low delay requirements such as games, and the interface data can be directly called during updating, so that the processing real-time performance is improved. And if the electronic device only needs to display the system desktop for a scene without enabling foreground application, the display data of the system desktop can be read normally for updating. Flexibility and real-time and efficiency are improved.
Therefore, in this example, the electronic device actively updates the data to be displayed in the electrostatic interference recovery processing process, so that the problem of screen splash of the interfered original data to be displayed in the display process can be avoided, and the stability of controlling the display screen to display images by the electronic device can be improved.
For another example, the implementation manner of the electronic device performing the preset electrostatic interference recovery operation to eliminate the electrostatic interference may be as follows: the electronic equipment updates a register with an abnormal state value through the first control chip; updating a frame of display data through the first control chip;
after the electronic device loads a pre-stored display initialization code through the first control chip to enable the display screen, the method further includes: and the electronic equipment displays the updated frame of display data on the display screen through the first control chip.
The register is updated through the first control chip by the electronic equipment, and the frame of display data is updated through the first control chip, so that the processing pressure of the application processor can be relieved, and the resource balance utilization rate is improved.
Therefore, in this example, the electronic device actively updates the data to be displayed in the electrostatic interference recovery processing process, so that the problem of screen splash of the interfered original data to be displayed in the display process can be avoided, and the stability of controlling the display screen to display images by the electronic device can be improved.
S204, the electronic equipment loads a pre-stored display initialization code through the first control chip so as to enable the display screen.
The display initialization code is firmware initialization instruction information which is input when the electronic equipment leaves a factory.
It can be seen that in the embodiment of the application, the electronic device includes an application processor, a display screen, and a first control chip, the application processor is connected to the first control chip, the first control chip is connected to the display screen, when the electronic device detects that the state of the electronic device satisfies a preset condition through the application processor, the first control chip is awakened, and the display screen is in a screen-off state; secondly, detecting whether the display screen is subjected to electrostatic interference or not through a first control chip; if so, executing a preset electrostatic interference recovery operation to eliminate electrostatic interference; and finally, loading a pre-stored display initialization code through the first control chip to enable the display screen. Therefore, the electronic equipment provided by the embodiment of the application can restore the electrostatic interference problem existing in the display screen before the display screen is enabled, so that the phenomenon that the display screen is shown to be a screen-splash phenomenon or a screen-flashing phenomenon in a bright screen display state can be avoided, and the real-time performance and the stability of the electronic equipment for electrostatic interference restoration can be improved.
In one possible example, the electronic device further includes a touch screen and a second control chip, the application processor is connected to the second control chip, and the second control chip is connected to the touch screen; the electronic equipment loads a pre-stored display initialization code through the first control chip so as to enable the display screen, and the method further comprises the following steps: and the electronic equipment loads a pre-stored touch initialization code through the second control chip so as to enable the touch screen.
Therefore, in this example, since the user has a touch use requirement after the display screen is enabled, the touch function needs to be enabled synchronously, the electronic device can realize synchronous enabling by loading the touch initialization code synchronously through the second control chip, and the stability of the electronic device in controlling the touch screen and the display screen is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another electrostatic interference control method according to an embodiment of the present application, applied to the electronic device shown in fig. 1, where as shown in the figure, the electrostatic interference control method includes:
s301, when the electronic equipment detects that the state of the electronic equipment meets a preset condition through the application processor, awakening the first control chip, and enabling the display screen to be in a screen-off state;
s302, the electronic device reads the state value of each register in at least one register of the display screen through the first control chip, wherein the at least one register comprises at least one of the following: a control register, a frame buffer area initial address register, a red-green-blue lookup table register and a jitter mode register;
s303, if the electronic equipment detects that a register with an abnormal state value exists in the at least one register through the first control chip, the electronic equipment determines that the display screen is subjected to electrostatic interference, and updates the register with the abnormal state value through the first control chip;
s304, the electronic equipment updates a frame of display data through the application processor;
s305, the electronic equipment loads a pre-stored display initialization code through the first control chip so as to enable the display screen;
s306, the electronic equipment displays the updated frame of display data on the display screen through the first control chip.
It can be seen that in the embodiment of the application, the electronic device includes an application processor, a display screen, and a first control chip, the application processor is connected to the first control chip, the first control chip is connected to the display screen, when the electronic device detects that the state of the electronic device satisfies a preset condition through the application processor, the first control chip is awakened, and the display screen is in a screen-off state; secondly, detecting whether the display screen is subjected to electrostatic interference or not through a first control chip; if so, executing a preset electrostatic interference recovery operation to eliminate electrostatic interference; and finally, loading a pre-stored display initialization code through the first control chip to enable the display screen. Therefore, the electronic equipment provided by the embodiment of the application can restore the electrostatic interference problem existing in the display screen before the display screen is enabled, so that the phenomenon that the display screen is shown to be a screen-splash phenomenon or a screen-flashing phenomenon in a bright screen display state can be avoided, and the real-time performance and the stability of the electronic equipment for electrostatic interference restoration can be improved.
In addition, the electronic equipment actively updates the data to be displayed in the electrostatic interference recovery processing process, so that the problem of screen splash of the interfered original data to be displayed in the display process can be avoided, and the stability of controlling the display screen to display images by the electronic equipment can be improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of another electrostatic interference control method provided in the embodiment of the present application, and is applied to the electronic device shown in fig. 1, where as shown in the diagram, the electrostatic interference control method includes:
s401, when the electronic equipment detects that the state of the electronic equipment meets a preset condition through the application processor, awakening the first control chip, and enabling the display screen to be in a screen-off state;
s402, the electronic device reads the state value of each register in at least one register of the display screen through the first control chip, wherein the at least one register comprises at least one of the following: a control register, a frame buffer area initial address register, a red-green-blue lookup table register and a jitter mode register;
s403, if the electronic device detects that a register with an abnormal state value exists in the at least one register through the first control chip, it is determined that the display screen is subjected to electrostatic interference, and the register with the abnormal state value is updated through the application processor;
s404, the electronic equipment updates a frame of display data through the application processor;
s405, the electronic equipment loads a pre-stored display initialization code through the first control chip to enable the display screen;
s406, the electronic device displays the updated frame of display data on the display screen through the application processor.
It can be seen that in the embodiment of the application, the electronic device includes an application processor, a display screen, and a first control chip, the application processor is connected to the first control chip, the first control chip is connected to the display screen, when the electronic device detects that the state of the electronic device satisfies a preset condition through the application processor, the first control chip is awakened, and the display screen is in a screen-off state; secondly, detecting whether the display screen is subjected to electrostatic interference or not through a first control chip; if so, executing a preset electrostatic interference recovery operation to eliminate electrostatic interference; and finally, loading a pre-stored display initialization code through the first control chip to enable the display screen. Therefore, the electronic equipment provided by the embodiment of the application can restore the electrostatic interference problem existing in the display screen before the display screen is enabled, so that the phenomenon that the display screen is shown to be a screen-splash phenomenon or a screen-flashing phenomenon in a bright screen display state can be avoided, and the real-time performance and the stability of the electronic equipment for electrostatic interference restoration can be improved.
In addition, the electronic equipment actively updates the data to be displayed in the electrostatic interference recovery processing process, so that the problem of screen splash of the interfered original data to be displayed in the display process can be avoided, and the stability of controlling the display screen to display images by the electronic equipment can be improved.
Consistent with the embodiments shown in fig. 1, fig. 4, and fig. 5, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an electronic device 500 provided in an embodiment of the present application, as shown in the figure, the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, one or more programs 521, a first control chip 540, a second control chip 550, a display screen 560, and a touch screen 570, where the application processor 510 is connected to the first control chip 540 and the second control chip 550, the first control chip 540 is connected to the display screen 560, the second control chip 550 is connected to the touch screen 570, where the one or more programs 521 are stored in the memory 520 and configured to be executed by the application processor 510, and the one or more programs 521 include instructions for performing the following steps;
when the application processor detects that the state of the electronic equipment meets a preset condition, awakening the first control chip, and enabling the display screen to be in a screen-off state;
detecting whether the display screen is subjected to electrostatic interference or not through the first control chip;
if so, executing a preset electrostatic interference recovery operation to eliminate the electrostatic interference;
and loading a pre-stored display initialization code through the first control chip to enable the display screen.
It can be seen that in the embodiment of the application, the electronic device includes an application processor, a display screen, and a first control chip, the application processor is connected to the first control chip, the first control chip is connected to the display screen, when the electronic device detects that the state of the electronic device satisfies a preset condition through the application processor, the first control chip is awakened, and the display screen is in a screen-off state; secondly, detecting whether the display screen is subjected to electrostatic interference or not through a first control chip; if so, executing a preset electrostatic interference recovery operation to eliminate electrostatic interference; and finally, loading a pre-stored display initialization code through the first control chip to enable the display screen. Therefore, the electronic equipment provided by the embodiment of the application can restore the electrostatic interference problem existing in the display screen before the display screen is enabled, so that the phenomenon that the display screen is shown to be a screen-splash phenomenon or a screen-flashing phenomenon in a bright screen display state can be avoided, and the real-time performance and the stability of the electronic equipment for electrostatic interference restoration can be improved.
In one possible example, in the aspect of detecting whether the display screen is subjected to electrostatic interference by the first control chip, the instructions in the program are specifically configured to perform the following operations: reading a state value of each register in at least one register of the display screen through the first control chip, wherein the at least one register comprises at least one of the following: a control register, a frame buffer area initial address register, a red-green-blue lookup table register and a jitter mode register; the first control chip is used for detecting whether the register with the abnormal state value exists in the at least one register or not, and determining that the display screen is subjected to electrostatic interference if the register with the abnormal state value exists in the at least one register; and the first control chip is used for determining that the display screen is not subjected to electrostatic interference if the register with the abnormal state value does not exist in the at least one register.
In one possible example, in terms of performing a preset electrostatic interference recovery operation to eliminate the electrostatic interference, the instructions in the program are specifically configured to perform the following operations: updating a register with an abnormal state value through the first control chip; and for updating, by the application processor, a frame of display data;
the program further includes instructions for: and after the display screen is enabled by loading the pre-stored display initialization code through the first control chip, displaying the updated frame of display data on the display screen through the first control chip.
In one possible example, in terms of performing a preset electrostatic interference recovery operation to eliminate the electrostatic interference, the instructions in the program are specifically configured to perform the following operations: updating, by the application processor, a register of the detected state value anomaly; and for updating, by the application processor, a frame of display data;
the program further includes instructions for: and after the pre-stored display initialization code is loaded through the first control chip to enable the display screen, displaying the updated frame of display data on the display screen through the application processor.
In one possible example, in terms of performing a preset electrostatic interference recovery operation to eliminate the electrostatic interference, the instructions in the program are specifically configured to perform the following operations: updating a register with an abnormal state value through the first control chip; and is used for updating a frame of display data through the first control chip;
the program further includes instructions for: and after the display screen is enabled by loading the pre-stored display initialization code through the first control chip, displaying the updated frame of display data on the display screen through the first control chip.
In one possible example, in terms of the detection, by the application processor, that the state of the electronic device satisfies a preset condition, the instructions in the program are specifically configured to: detecting, by the application processor, that a motion trajectory of the electronic device meets a preset motion trajectory, where the preset motion trajectory is used for indicating that the electronic device is picked up by a user; or, detecting, by the application processor, that the electronic device is in a charging state; or, the application processor detects that the electronic device is in a preset position, where the preset position includes any one of: home and office.
In one possible example, the electronic device further includes a touch screen and a second control chip, the application processor is connected to the second control chip, and the second control chip is connected to the touch screen; the program further includes instructions for: and loading a pre-stored touch initialization code through the second control chip to enable the touch screen while loading the pre-stored display initialization code through the first control chip to enable the display screen.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram showing functional units of the electrostatic interference control apparatus 600 according to the embodiment of the present application. The electrostatic interference control device 600 is applied to an electronic device, the electronic device comprises an application processor, a display screen and a first control chip, the application processor is connected with the first control chip, the first control chip is connected with the display screen, the device comprises a processing unit 601 and a communication unit 602, wherein,
the processing unit 601 is configured to wake up the first control chip when the application processor detects that the state of the electronic device meets a preset condition, and the display screen is in a screen-off state; the first control chip is used for detecting whether the display screen is subjected to electrostatic interference or not; if yes, executing preset electrostatic interference recovery operation to eliminate the electrostatic interference; and the display initialization code is used for loading the pre-stored display initialization code through the first control chip so as to enable the display screen.
The apparatus 600 further includes a storage unit 603, where the storage unit 603 may be a memory, the processing unit 601 may be an application processor, and the communication unit 602 may be an internal communication interface.
It can be seen that in the embodiment of the application, the electronic device includes an application processor, a display screen, and a first control chip, the application processor is connected to the first control chip, the first control chip is connected to the display screen, when the electronic device detects that the state of the electronic device satisfies a preset condition through the application processor, the first control chip is awakened, and the display screen is in a screen-off state; secondly, detecting whether the display screen is subjected to electrostatic interference or not through a first control chip; if so, executing a preset electrostatic interference recovery operation to eliminate electrostatic interference; and finally, loading a pre-stored display initialization code through the first control chip to enable the display screen. Therefore, the electronic equipment provided by the embodiment of the application can restore the electrostatic interference problem existing in the display screen before the display screen is enabled, so that the phenomenon that the display screen is shown to be a screen-splash phenomenon or a screen-flashing phenomenon in a bright screen display state can be avoided, and the real-time performance and the stability of the electronic equipment for electrostatic interference restoration can be improved.
In one possible example, in the aspect of detecting whether the display screen is subjected to electrostatic interference through the first control chip, the processing unit 601 is specifically configured to: reading a state value of each register in at least one register of the display screen through the first control chip, wherein the at least one register comprises at least one of the following: a control register, a frame buffer area initial address register, a red-green-blue lookup table register and a jitter mode register; the first control chip is used for detecting whether the register with the abnormal state value exists in the at least one register or not, and determining that the display screen is subjected to electrostatic interference if the register with the abnormal state value exists in the at least one register; and the first control chip is used for determining that the display screen is not subjected to electrostatic interference if the register with the abnormal state value does not exist in the at least one register.
In one possible example, in terms of performing a preset electrostatic interference recovery operation to eliminate the electrostatic interference, the processing unit 601 is specifically configured to: updating a register with an abnormal state value through the first control chip; and for updating, by the application processor, a frame of display data;
after the first control chip loads the pre-stored display initialization code to enable the display screen, the processing unit 601 is further configured to: and displaying the updated frame of display data on the display screen through the first control chip.
In one possible example, in terms of performing a preset electrostatic interference recovery operation to eliminate the electrostatic interference, the processing unit 601 is specifically configured to: updating, by the application processor, a register of the detected state value anomaly; and for updating, by the application processor, a frame of display data;
after the first control chip loads the pre-stored display initialization code to enable the display screen, the processing unit 601 is further configured to: displaying the updated frame of display data on the display screen through the application processor.
In one possible example, in terms of performing a preset electrostatic interference recovery operation to eliminate the electrostatic interference, the processing unit 601 is specifically configured to: updating a register with an abnormal state value through the first control chip; and is used for updating a frame of display data through the first control chip;
after the first control chip loads the pre-stored display initialization code to enable the display screen, the processing unit 601 is further configured to: and displaying the updated frame of display data on the display screen through the first control chip.
In a possible example, in terms of the detection, by the application processor, that the state of the electronic device satisfies a preset condition, the processing unit 601 is specifically configured to: detecting, by the application processor, that a motion trajectory of the electronic device meets a preset motion trajectory, where the preset motion trajectory is used for indicating that the electronic device is picked up by a user; or, detecting, by the application processor, that the electronic device is in a charging state; or, the application processor detects that the electronic device is in a preset position, where the preset position includes any one of: home and office.
In one possible example, the electronic device further includes a touch screen and a second control chip, the application processor is connected to the second control chip, and the second control chip is connected to the touch screen; the processing unit 601, while loading a pre-stored display initialization code through the first control chip to enable the display screen, is further configured to: and loading a pre-stored touch initialization code through the second control chip to enable the touch screen.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (9)

1. The electrostatic interference control method is applied to electronic equipment, the electronic equipment comprises an application processor, a display screen and a first control chip, the application processor is connected with the first control chip, the first control chip is connected with the display screen, and the method comprises the following steps:
when the application processor detects that the state of the electronic equipment meets a preset condition, awakening the first control chip, and enabling the display screen to be in a screen-off state;
detecting whether the display screen is subjected to electrostatic interference or not through the first control chip;
if so, executing a preset electrostatic interference recovery operation to eliminate the electrostatic interference;
loading a pre-stored display initialization code through the first control chip to enable the display screen;
the electronic equipment further comprises a touch screen and a second control chip, the application processor is connected with the second control chip, and the second control chip is connected with the touch screen; while the pre-stored display initialization code is loaded by the first control chip to enable the display screen, the method further comprises:
and loading a pre-stored touch initialization code through the second control chip to enable the touch screen.
2. The method of claim 1, wherein the detecting, by the first control chip, whether the display screen is subjected to electrostatic interference comprises:
reading a state value of each register in at least one register of the display screen through the first control chip, wherein the at least one register comprises at least one of the following: a control register, a frame buffer area initial address register, a red-green-blue lookup table register and a jitter mode register;
if the register with the abnormal state value exists in the at least one register, the display screen is determined to be subjected to electrostatic interference;
and if the first control chip detects that the register with the abnormal state value does not exist in the at least one register, determining that the display screen is not subjected to electrostatic interference.
3. The method according to claim 2, wherein the performing of the preset electrostatic interference recovery operation to eliminate the electrostatic interference comprises:
updating a register with an abnormal state value through the first control chip;
updating, by the application processor, a frame of display data;
after the pre-stored display initialization code is loaded by the first control chip to enable the display screen, the method further includes:
and displaying the updated frame of display data on the display screen through the first control chip.
4. The method according to claim 2, wherein the performing of the preset electrostatic interference recovery operation to eliminate the electrostatic interference comprises:
updating, by the application processor, a register of the detected state value anomaly;
updating, by the application processor, a frame of display data;
after the pre-stored display initialization code is loaded by the first control chip to enable the display screen, the method further includes:
displaying the updated frame of display data on the display screen through the application processor.
5. The method according to claim 2, wherein the performing of the preset electrostatic interference recovery operation to eliminate the electrostatic interference comprises:
updating a register with an abnormal state value through the first control chip;
updating a frame of display data through the first control chip;
after the pre-stored display initialization code is loaded by the first control chip to enable the display screen, the method further includes:
and displaying the updated frame of display data on the display screen through the first control chip.
6. The method according to any one of claims 1-5, wherein the detecting, by the application processor, that the state of the electronic device satisfies a preset condition comprises:
detecting, by the application processor, that a motion trajectory of the electronic device meets a preset motion trajectory, where the preset motion trajectory is used for indicating that the electronic device is picked up by a user; alternatively, the first and second electrodes may be,
detecting, by the application processor, that the electronic device is in a charging state; alternatively, the first and second electrodes may be,
detecting, by the application processor, that the electronic device is in a preset position, where the preset position includes any one of: home and office.
7. An electrostatic interference control device is applied to electronic equipment, the electronic equipment comprises an application processor, a display screen, a touch screen, a first control chip and a second control chip, the application processor is connected with the first control chip and the second control chip, the first control chip is connected with the display screen, the second control chip is connected with the touch screen, the device comprises a processing unit and a communication unit, wherein,
the processing unit is used for awakening the first control chip when the application processor detects that the state of the electronic equipment meets a preset condition, and the display screen is in a screen-off state; the first control chip is used for detecting whether the display screen is subjected to electrostatic interference or not; if yes, executing preset electrostatic interference recovery operation to eliminate the electrostatic interference; and the touch control system is used for loading a pre-stored display initialization code through the first control chip so as to enable the display screen, and simultaneously loading a pre-stored touch control initialization code through the second control chip so as to enable the touch control screen.
8. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN201910040596.0A 2019-01-16 2019-01-16 Electrostatic interference control method and related product Active CN109547647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910040596.0A CN109547647B (en) 2019-01-16 2019-01-16 Electrostatic interference control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910040596.0A CN109547647B (en) 2019-01-16 2019-01-16 Electrostatic interference control method and related product

Publications (2)

Publication Number Publication Date
CN109547647A CN109547647A (en) 2019-03-29
CN109547647B true CN109547647B (en) 2020-10-16

Family

ID=65835323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910040596.0A Active CN109547647B (en) 2019-01-16 2019-01-16 Electrostatic interference control method and related product

Country Status (1)

Country Link
CN (1) CN109547647B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112229520A (en) * 2020-09-27 2021-01-15 武汉高德智感科技有限公司 Chip working condition-based thermal infrared imager anti-static interference method and device
CN112599105A (en) * 2020-12-17 2021-04-02 珠海格力电器股份有限公司 Liquid crystal display screen control method and control device
CN112988097A (en) * 2021-03-30 2021-06-18 深圳酷派技术有限公司 Display screen control method and device, storage medium and mobile terminal
CN113096611B (en) * 2021-04-01 2023-03-14 福州京东方光电科技有限公司 Electrostatic protection method and device and display device
CN115547215B (en) * 2022-04-21 2023-06-20 荣耀终端有限公司 Display screen ESD soft reset method, electronic equipment and computer storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110040924A1 (en) * 2009-08-11 2011-02-17 Selinger Robert D Controller and Method for Detecting a Transmission Error Over a NAND Interface Using Error Detection Code
CN102279722B (en) * 2010-06-12 2014-03-05 联想移动通信科技有限公司 Method for controlling display module of terminal and terminal
CN106294048B (en) * 2016-08-24 2019-08-27 昆山国显光电有限公司 The anti-static electricity interference method and device and display screen of display screen
CN107422194B (en) * 2017-07-04 2020-07-14 Tcl移动通信科技(宁波)有限公司 Screen static detection control method, storage device and mobile terminal

Also Published As

Publication number Publication date
CN109547647A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109547647B (en) Electrostatic interference control method and related product
US20210132779A1 (en) Electronic device and method for configuring display thereof
US10334309B2 (en) Bullet screen display method and apparatus
CN107786748B (en) Image display method and apparatus
US11467855B2 (en) Application preloading method and device, storage medium and terminal
US10181305B2 (en) Method of controlling display and electronic device for providing the same
CN107635078B (en) Game control method and device
CN106648496B (en) Electronic device and method for controlling display of electronic device
CN110191045B (en) Information sharing method and device, terminal and readable storage medium
CN109725967B (en) Method and device for adjusting horizontal and vertical screen display errors, mobile terminal and storage medium
CN108777735B (en) Display area adjusting method and related equipment
CN110163051B (en) Text extraction method, device and storage medium
EP3043251A1 (en) Method of displaying content and electronic device implementing same
WO2023151591A1 (en) Dialing method and apparatus, and electronic device
CN115469816B (en) Method, device, equipment and storage medium for switching reading and writing of memory
CN113747423B (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN109271538A (en) A kind of picture storage method and relevant device
CN109857469B (en) Display screen control method and related product
CN107819947B (en) Picture display method and device
CN112541141A (en) Control display callback method, device, terminal and storage medium
CN107967178B (en) Resource allocation method, resource allocation device, mobile terminal and medium
CN110489013B (en) Touch detection method, touch detection device and display panel
CN111049981A (en) Message identification method, device, user equipment and computer readable storage medium
CN111464688A (en) Working mode switching method and device
CN110471566B (en) Touch detection method, touch detection device and display panel

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