CN110881073A - Display screen state judgment method, storage medium and electronic device - Google Patents

Display screen state judgment method, storage medium and electronic device Download PDF

Info

Publication number
CN110881073A
CN110881073A CN201811039010.0A CN201811039010A CN110881073A CN 110881073 A CN110881073 A CN 110881073A CN 201811039010 A CN201811039010 A CN 201811039010A CN 110881073 A CN110881073 A CN 110881073A
Authority
CN
China
Prior art keywords
display screen
capacitance value
temperature
electronic device
current temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811039010.0A
Other languages
Chinese (zh)
Inventor
马静一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201811039010.0A priority Critical patent/CN110881073A/en
Publication of CN110881073A publication Critical patent/CN110881073A/en
Pending legal-status Critical Current

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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a display screen state judgment method, a storage medium and an electronic device. The state judgment method of the display screen comprises the following steps: acquiring the current temperature of the display screen; acquiring a capacitance value of the display screen at the current temperature; acquiring the capacity value variation of the display screen from a preset standard temperature to the current temperature, wherein the capacity value variation is the capacitance value variation caused by the temperature; and judging whether the display screen is in a close state or not based on the capacitance value and the capacitance value variation. According to the scheme, when the state of the display screen is judged, the volume value variable quantity caused by the temperature is eliminated, the influence of external factors on the display screen can be reduced, the misoperation of the display screen is reduced, and the accuracy of judging the state of the display screen is improved.

Description

Display screen state judgment method, storage medium and electronic device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a state determination method, a storage medium, and an electronic device.
Background
With the development of electronic technology, capacitive touch screens are applied to electronic devices due to their good user experience. Electronic equipment, such as smart phones, generally need to use the earphone of the smart phone close to the ear during a call.
However, the capacitive touch screen of the electronic device is susceptible to misoperation of the capacitive touch screen due to external factors, and accuracy of judging the state of the capacitive touch screen is affected.
Disclosure of Invention
The embodiment of the application provides a display screen state judgment method, a storage medium and an electronic device, which can improve the accuracy of judging the display screen state.
The embodiment of the application provides a method for judging the state of a display screen, which is applied to electronic equipment and comprises the following steps:
acquiring the current temperature of the display screen;
acquiring a capacitance value of the display screen at the current temperature;
acquiring the capacity value variation of the display screen from a preset standard temperature to the current temperature, wherein the capacity value variation is the capacity value variation caused by the temperature;
and judging whether the display screen is in a close state or not based on the capacitance value and the capacitance value variation.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the state determination method.
The embodiment of the application further provides an electronic device, which comprises a display screen, a temperature sensor, a processor and a memory, wherein the display screen, the temperature sensor and the memory are respectively coupled with the processor;
the temperature sensor is used for detecting the current temperature of the display screen;
the memory has a computer program stored therein, and the processor is used for executing the following steps by calling the computer program stored in the memory:
acquiring the current temperature of the display screen;
acquiring a capacitance value of the display screen at the current temperature;
acquiring the capacity value variation of the display screen from a preset standard temperature to the current temperature, wherein the capacity value variation is the capacity value variation caused by the temperature;
and judging whether the display screen is in a close state or not based on the capacitance value and the capacitance value variation.
An embodiment of the present application further provides another electronic device, including:
the display screen is used for displaying pictures;
the temperature sensor is used for detecting the current temperature of the display screen, and the display screen has a capacitance value corresponding to the current temperature;
the memory stores a first standard capacitance value at a preset standard temperature and a second standard capacitance value at the current temperature; and
and the processor is coupled with the display screen, the temperature sensor and the memory respectively, determines the capacitance variation according to the first standard capacitance value and the second standard capacitance value, and judges whether the display screen is in a close state or not based on the capacitance value and the capacitance variation.
The embodiment of the application eliminates the volume value variation caused by the temperature when judging the state of the display screen, can reduce the influence of external factors on the display screen, further reduces the misoperation of the display screen, and improves the accuracy of judging the state of the display screen.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a first structural schematic diagram of a display screen of an electronic device according to an embodiment of the present application.
Fig. 3 is a second schematic structural diagram of a display screen of an electronic device according to an embodiment of the present application.
Fig. 4 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 5 is a first structural block diagram of an electronic device according to an embodiment of the present application.
Fig. 6 is a second structural block diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is a third structural block diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is a flowchart illustrating a method for determining a status of a display screen according to an embodiment of the present application.
Fig. 9 is another schematic flow chart of a method for determining a status of a display screen according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
Referring to fig. 1, fig. 1 is a schematic view of a first structure of an electronic device according to an embodiment of the present disclosure. The electronic device 10 may include a housing 11, a display 12, a circuit board 13, a battery 14, and a detector 15. It should be noted that the electronic device 10 is not limited thereto, for example, the electronic device 10 may further include a camera, a receiver, bluetooth, etc.
Wherein the housing 11 may form an outer contour of the electronic device 10. In some embodiments, the housing 11 may be a metal housing, such as a metal such as magnesium alloy, stainless steel, and the like. It should be noted that the material of the housing 11 in the embodiment of the present application is not limited to this, and other manners may also be adopted, such as: the housing 11 may be a plastic housing, a ceramic housing, a glass housing, etc. Display screen 12 may include, among other things, a touch sensor array (i.e., display screen 10 may be a touch display screen).
Wherein the display screen 12 is mounted in the housing 11. The display screen 12 is electrically connected to the circuit board 13 to form a display surface of the electronic device 10. In some embodiments, the display surface of the electronic device 10 may be provided with non-display areas, such as: the top end or/and the bottom end of the electronic device 10 may form a non-display area, that is, the electronic device 10 forms a non-display area on the upper portion or/and the lower portion of the display 12, and the electronic device 10 may mount a camera, a receiver, and the like on the non-display area. Note that the display surface of the electronic device 10 may not be provided with the non-display area, that is, the display 12 may be a full-screen. The display screen may be laid over the entire display surface of the electronic device 10, so that the display screen can be displayed in a full screen on the display surface of the electronic device 10.
It should be noted that, in the description of the present application, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
The display 12 may be in a regular shape, such as a rectangular parallelepiped structure or a rounded rectangular structure, and the display 12 may also be in an irregular shape.
The display 12 may be one or a combination of liquid crystal display, organic light emitting diode display, electronic ink display, plasma display, and display using other display technologies. The display screen 12 may include an array of touch sensors (i.e., the display screen 12 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed from an array of transparent touch sensor electrodes (e.g., Indium Tin Oxide (ITO) electrodes), or may be a touch sensor formed using other touch technologies, such as sonic touch, pressure sensitive touch, resistive touch, optical touch, and the like, in embodiments of the present application, a capacitive touch sensor formed from an array of transparent touch sensor electrodes (e.g., Indium Tin Oxide (ITO) electrodes).
It should be noted that, in some embodiments, a cover plate may be disposed on the display 12, and the cover plate may cover the display 12 to protect the display 12. The cover may be a clear glass cover so that the display 12 is shown through the cover. In some embodiments, the cover plate may be a glass cover plate made of a material such as sapphire.
In some embodiments, after the display 12 is mounted on the housing 11, a receiving space is formed between the housing 11 and the display 12, and the receiving space can receive components of the electronic device 10, such as the circuit board 13, the battery 14, and the like.
The display 12 may be a capacitive touch screen, which may be formed by attaching a layer of transparent special metal conductive material on a glass surface. Since a human body is a good conductor, when a finger or other organism approaches or touches the metal layer, the capacitance of the touch point on the capacitive touch panel changes, and whether an organism approaches or touches the display screen can be determined through the change of the capacitance.
When the environmental temperature changes, the temperature of the electronic device in the electronic device 10 changes, so that the characteristics of the electronic device also change, the capacitance of the display screen 12 also changes, and when the temperature decreases, the capacitance of the display screen 12 increases; at high temperatures, the capacitance of the display 12 may decrease. Therefore, the capacitance values corresponding to the display 12 are different at different temperatures.
The circuit board 13 is mounted in the housing 11, the circuit board 13 may be a main board of the electronic device 10, and one or more functional devices such as a motor, a microphone, a speaker, an earphone interface, a universal serial bus interface, a camera, a distance sensor, an ambient light sensor, a receiver, and a processor may be integrated on the circuit board 13. It is noted that, in the description of the present application, "a plurality" means two or more unless specifically defined otherwise.
In some embodiments, the circuit board 13 may be fixed within the housing 11. Specifically, the circuit board 13 may be screwed to the housing 11 by screws, or may be snap-fitted to the housing 11. It should be noted that the way of fixing the circuit board 13 to the housing 11 is not limited to this, and other ways, such as a way of fixing by a snap and a screw, may also be used.
Wherein a battery 14 is mounted in the housing 11, and the battery 11 is electrically connected to the circuit board 13 to supply power to the electronic device 10. The housing 11 may serve as a battery cover for the battery 14. The case 11 covers the battery 14 to protect the battery 14, reducing damage to the battery 14 due to collision, dropping, and the like of the electronic apparatus 10.
Wherein the detector 15 may detect the temperature of the display screen 12 and the detector 15 may comprise a temperature detector.
In some embodiments, as shown in FIG. 2, the detector 15 may be disposed on a non-display surface 121 of the display screen 12. It will be appreciated that the non-display side 121 of the display 12 is located within the electronic device 10, and that the non-display side 121 of the display 12 is disposed opposite the display side 122 of the display 12. As shown in fig. 3, the detector 15 is not visible when viewed from outside the electronic device 10.
In some embodiments, the detector 15 is remote from the control chip 16 of the display screen 12. Because the control chip 16 of the display screen 12 is used for controlling the display or/and touch of the display screen 12, the temperature of the control chip 16 of the display screen 12 is higher than the temperature of other areas of the display screen 12, and the detector 15 is arranged far away from the control chip 16 of the display screen 12, so that the accuracy of detecting the temperature of the display screen 12 can be improved.
It should be noted that the detector 15 may be disposed inside the display 12. When the detector 15 is disposed inside the display 12, it is also remote from the control chip 16.
In some embodiments, as shown in fig. 4, the electronic device 10 may further include a base 17, and the base 17 may include a universal Serial interface socket, such as a usb (universal Serial bus) interface socket. It should be noted that the base 17 is not limited to this, for example, the base 17 may further include an earphone socket. Wherein the base 17 abuts the display screen 12.
The detector 15 may be disposed on the base 17 with the detector 15 positioned between the base 17 and the display screen 12. Since it is not easy to directly measure the temperature of the display 12 when actually detecting the temperature of the display 12, the temperature of the base 17 adjacent to the display 12 can be detected by the detector 15 to determine the temperature of the display 12. Since the display 12 is adjacent to the base 17, the temperature of the display 12 is transmitted to the base 17, and the temperature of the display 12 has a small error from the temperature of the base 17. Therefore, the temperature of the base 17 can be taken as the temperature of the display 12.
Referring to fig. 5, the electronic device 10 may further include a storage and processing circuit 131, an input-output circuit 132. Wherein the storage and processing circuit 131 may be integrated on the circuit board 13. Referring to fig. 6, fig. 6 is a second structural block diagram of an electronic device according to an embodiment of the present disclosure, and the storage and processing circuit 131 may include a memory 19 and a processor 18.
The memory 19 may be, for example, a hard disk drive memory, a non-volatile memory (e.g., a flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., a static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto.
The processor 18 in the storage and processing circuit 131 may be used to control the operation of the electronic device 10. The processor 18 may be connected to various parts of the overall electronic device using various interfaces and lines, and perform various functions of the electronic device and process data by running or calling a computer program stored in the memory 19 and calling data stored in the memory 19, thereby performing overall monitoring of the electronic device. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuit 131 may be used to run software in the electronic device 10 such as an Internet browsing application, a Voice Over Internet Protocol (VOIP) phone call application, an email application, a media playing application, operating system functions, etc. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 10, and the like, without limitation of the embodiments of the present application.
The input-output circuit 132 may be provided on the circuit board 13. The input-output circuitry 132 may be used to enable the electronic device 10 to enable the input and output of data, i.e., to allow the electronic device 10 to receive data from external devices and also to allow the electronic device 10 to output data from the electronic device 10 to external devices. The input-output circuit 132 may further include a sensor 1321. The sensors 1321 can include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors can be part of a touch display screen or used independently as a touch sensor structure), acceleration sensors, temperature sensors, and other sensors, among others. The temperature sensor may comprise a detector 15.
The input-output circuitry 132 may include communication circuitry 1322, which communication circuitry 1322 may be disposed on the circuit board 13. The communication circuitry 1322 may be used to provide the electronic device 10 with the ability to communicate with external devices. The communication circuitry 1322 may include analog and digital input-output interface circuitry, as well as wireless communication circuitry based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 1322 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches and filters. For example, the wireless Communication circuitry in Communication circuitry 1322 may include circuitry for supporting Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuitry 1323 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 1322 may also include cellular telephone transceiver, wireless local area network transceiver circuitry, or the like.
Referring to fig. 7, fig. 7 is a third block diagram of an electronic device according to an embodiment of the present disclosure, in which a processor 18 of the electronic device 10 is respectively coupled to a memory 19, a display 12, and a detector 15.
The detector 15 may detect the current temperature of the display screen 12 and may transmit the detected current temperature to the processor 18. The processor 18 may also obtain the current temperature of the display screen 12 from the detector 15.
In some embodiments, the sensor 1321 may detect motion data of the electronic device 10, may transmit the detected motion data to the processor 18, and the processor 18 may derive a motion direction and a motion distance of the electronic device 10 from the motion data. The sensor 1321 may be an acceleration sensor. The processor 18 may also acquire motion data from the sensor 1321 to determine the direction and distance of motion of the electronic device 10.
The control chip 16 in the display screen 12 may be used to detect the capacitance value of the display screen 12 at the current temperature, and may transmit the detected capacitance value to the processor 18. The processor 18 may also obtain the capacitance value of the display screen 12 at the current temperature from the control chip 16 of the display screen 12.
The memory 19 may store a preset sample set, wherein the preset sample set includes a first standard capacitance value at a preset standard temperature and a second standard capacitance value at a current temperature.
In which, when the display screen 12 is in a non-proximity state, standard capacitance values at various temperatures between a low temperature limit for using the electronic device and a high temperature limit for using the electronic device, for example, -15 degrees celsius to 55 degrees celsius, can be tested in advance, and a preset sample set can be established and stored in the memory 19. In a preset sample set, each temperature respectively corresponds to a standard capacitance value in the preset sample set; and one of the temperatures is set to a standard temperature (normal temperature), for example, 25 degrees celsius is set to the standard temperature.
It should be noted that the terms "first" and "second" in the description of the present application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features.
When the display screen 12 is in the proximity state, the capacitance of the display screen 12 is mainly affected by the human body and the temperature, and since the ambient temperature of the electronic device 10 is easy to change, the capacitance of the display screen 12 is unstable, so that whether the display screen 12 is in the proximity state or not can not be normally determined. Therefore, before determining whether the display panel 12 is in the proximity state, the variation of the capacitance of the display panel 12 caused by the temperature needs to be eliminated, so as to eliminate the influence of the temperature on the capacitance of the display panel 12.
In the embodiment of the present application, the processor 18 may obtain the current temperature of the display screen 12 detected by the detector 15 and the capacitance value of the display screen 12 at the current temperature detected by the control chip of the display screen 12, and then the processor 18 extracts a first standard capacitance value of the display screen 12 at the standard temperature and a second standard capacitance value of the display screen 12 at the current temperature from the preset sample set of the memory 19. The processor 18 then calculates a first difference between the first capacitance and the second capacitance, and the processor 18 can determine the state of the display 12 based on the difference and the capacitance of the display 12 at the current temperature.
Wherein the processor 18 may calculate a second difference between the first difference and the capacitance value of the display screen 12 at the current temperature, and the processor 18 then compares the second difference to a preset threshold. Since the capacitance increases when the display 12 is close to the human body; when the human body is far away, the capacitance value is reduced. Therefore, when the second difference is greater than or equal to the preset threshold, it may be determined that the display screen 12 is in the proximity state; when the second difference is less than the preset threshold, it may be determined that the display screen 12 is in a non-proximity state. The preset threshold value may be set according to actual conditions, such as 600 farads.
Wherein it may be detected whether the electronic device 10 triggers a preset event before the processor 18 obtains the current temperature of the display screen 12. When a preset event is triggered, the processor 18 acquires the motion data of the electronic device detected by the sensor 1321, the processor 18 can obtain the motion direction and the motion distance of the electronic device according to the motion data, and when the motion direction and the motion distance simultaneously meet a preset condition, the current temperature of the display screen 12 is detected. Wherein, the preset event is set by a user, such as a call state; the preset conditions can be set according to actual conditions, for example, the moving direction is upward, and the moving distance is 3 cm.
When the display 12 is in the proximity state, the processor 18 may control the display 12 to turn off or lock the display.
To further explain the status determining process of the display screen in the embodiment of the present application, the following description is made in terms of a status determining method of the display screen, which can be applied to the electronic device. The electronic device may refer to the electronic device described above, wherein the display screen may refer to the display screen described above. As shown in fig. 8, the specific process may be as follows:
101. and acquiring the current temperature of the display screen.
In practical applications, before acquiring the current temperature of the display screen, whether a preset event is triggered or not may be detected, so as to reduce consumption of resources. The preset event can be set by default by the electronic device or set by the user according to the actual situation. In the embodiment of the application, the preset event is defaulted to a call state, and when the electronic equipment is in the call state, the current temperature of the display screen is acquired. The method can directly call a telephone application program of the electronic equipment or other application programs with voice call functions to detect whether the electronic equipment is in a call state. The call state may include a dialing state, an incoming call state and a connection state.
Since during the use of the electronic device, when a preset event trigger is received, the user generally moves the electronic device to the face position and then brings the display screen close to the face. Therefore, when the preset event trigger is detected, the motion condition of the electronic equipment can be detected, and whether the step of acquiring the current temperature of the display screen is performed or not is determined according to the motion condition of the electronic equipment. The motion condition may include a motion direction and a motion distance. That is, before the step "acquiring the current temperature of the display screen", the method may further include:
when the trigger of a preset event is detected, detecting the movement direction and the movement distance of the electronic equipment;
and determining whether to execute the step of acquiring the current temperature of the display screen according to the movement direction and the movement distance.
Specifically, the acceleration sensor can be arranged on the shell of the electronic device, and when the detection function of the acceleration sensor is started, the movement direction and the distance of the electronic device can be detected. The detection function may also be automatically enabled when a predetermined event is triggered. Whether the electronic equipment moves and the moving direction of the electronic equipment can be obtained through the electronic equipment motion data acquired by the acceleration sensor. And then the moving distance of the whole moving process is obtained by integrating the moving time. For example, if it is determined that the electronic device has an upward movement while being triggered by the preset event, and the final effective distance of movement within the preset time is greater than or equal to the preset upward movement distance, for example, the effective distance of movement within 10 seconds is greater than or equal to 3CM, it is determined to perform the step of acquiring the current temperature of the display screen, otherwise, it is not performed. That is, the step of determining whether to perform the step of acquiring the current temperature of the display screen according to the moving direction and the moving distance may include:
judging whether the movement direction and the movement distance meet preset conditions or not;
and if so, executing the step of acquiring the current temperature of the display screen.
Specifically, the movement direction and the movement distance of the electronic device within the preset time may be obtained, and when the movement direction and the movement distance simultaneously satisfy a preset condition, that is, the movement direction of the electronic device is upward and the movement distance is greater than a preset distance, the step of obtaining the current temperature of the display screen is determined to be performed.
The moving direction is generally defaulted to moving upwards, and can also be set according to the actual situation, and the preset distance and the preset time can be set by default for the electronic equipment and can also be set by the user according to the actual situation.
102. And acquiring the capacitance value of the display screen at the current temperature.
Specifically, the capacitance value of the display screen at the current temperature can be acquired through a display screen control chip in the electronic device.
103. And acquiring the capacity value variation of the display screen from the preset standard temperature to the current temperature, wherein the capacity value variation is the capacitance value variation caused by the temperature.
Specifically, when the display screen is in a non-proximity state, the standard capacitance values at various temperatures between the extreme low temperature of the electronic device and the extreme high temperature of the electronic device can be tested in advance to establish a preset sample set, and each temperature corresponds to one standard capacitance value in the preset sample set respectively; and one of the temperatures is set to a standard temperature (normal temperature), for example, 25 degrees celsius is set to the standard temperature. The standard capacitance value is the capacitance value of the display screen under the condition of being only influenced by temperature.
Therefore, the standard capacitance value corresponding to the display screen at the current temperature and the standard capacitance value corresponding to the display screen at the standard temperature can be extracted from the preset sample set, and the capacitance value variation caused by the temperature can be obtained according to the two standard capacitance values. That is, the step of "obtaining the capacity value variation of the display screen from the preset standard temperature to the current temperature" may include:
extracting a first standard capacitance value of the display screen at a preset standard temperature from a preset sample set;
extracting a second standard capacitance value of the display screen at the current temperature from a preset sample set;
and acquiring the capacitance value variation according to the first standard capacitance value and the second standard capacitance value.
Specifically, the difference between the first standard capacitance value and the second standard capacitance value can be obtained through calculation, and the difference is the capacitance variation.
104. And judging whether the display screen is in a close state or not based on the capacitance value and the capacitance value variation.
When the display screen is in the state of being close, the capacitance value of display screen receives the influence of human body and temperature mainly, because the ambient temperature who uses electronic equipment easily changes, can lead to the capacitance value of display screen unstable for can't normally judge whether the display screen is in the state of being close. Therefore, before determining whether the display screen is in the proximity state, the variation of the capacitance value of the display screen caused by the temperature needs to be eliminated, and the influence of the temperature on the capacitance value of the display screen is eliminated.
Specifically, the difference between the capacitance value and the capacitance value variation at the current temperature can be obtained through calculation, and whether the display screen is in the approaching state or not is judged according to the difference. That is, the step of "determining whether the display screen is in the close state based on the capacitance value and the capacitance value variation" may include:
acquiring a difference value between the capacitance value and the capacitance value variation;
and judging whether the display screen is in a close state or not according to the difference value.
The difference value can be compared with a preset threshold value, and whether the display screen is in a close state or not is determined according to the comparison result. When the display screen is close to a human body, the capacitance value can be increased; when the human body is far away, the capacitance value is reduced. Therefore, if the difference is greater than or equal to the preset threshold, it may be determined that the display screen is in a close state; if the difference is less than the preset threshold, it may be determined that the display screen is in a non-proximity state. That is, the step of "judging whether the display screen is in the proximity state according to the difference" may include:
if the difference value is not smaller than a preset threshold value, the display screen is in a close state;
and if the difference value is smaller than the preset threshold value, the display screen is in a non-close state.
The preset threshold is a default threshold set by a designer for the electronic device when the electronic device leaves a factory.
According to the display screen state judging method provided by the embodiment, the capacity value variable quantity caused by the temperature can be eliminated when the state of the display screen is judged, the influence of external factors on the display screen can be reduced, the misoperation of the display screen is reduced, and the accuracy of judging the state of the display screen is improved.
According to the description of the above embodiment, the state determination method of the display screen of the present application will be further explained below.
Referring to fig. 9, fig. 9 is another schematic flow chart of the method for determining a status of a display screen according to the embodiment of the present application, and the specific flow may be as follows:
201. when the electronic equipment is detected to be in a call state, the movement direction and the movement distance of the electronic equipment are detected.
Specifically, a phone application of the electronic device or another application having a voice call function may be directly invoked to detect whether the electronic device is in a call state, where the call state may include a dialing state, an incoming call state, and a connection state.
During the use of the electronic device, when the electronic device is in a call state, the user generally moves the electronic device to the face position and then brings the display screen close to the face. Therefore, when the electronic equipment is in a call state, the motion condition of the electronic equipment can be detected, and whether the electronic equipment has a tendency of approaching the human face or not can be judged according to the motion condition.
Specifically, an acceleration sensor may be disposed on a housing of the electronic device, and when a detection function of the acceleration sensor is turned on, a movement direction and a movement distance of the electronic device may be detected. The detection function may also be automatically enabled when a predetermined event is triggered. Whether the electronic equipment moves and the moving direction of the electronic equipment can be obtained through the electronic equipment motion data acquired by the acceleration sensor. And then the moving distance of the whole moving process is obtained by integrating the moving time.
202. And judging whether the movement direction and the movement distance meet preset conditions, if so, executing a step 203, and if not, ending the process.
Specifically, the moving direction and the moving distance of the electronic device within the preset time may be obtained, and when the moving direction and the moving distance simultaneously satisfy the preset condition, that is, the moving direction of the electronic device is upward, and the moving distance is greater than or equal to the preset distance, it is determined to execute step 203.
For example, if it is determined that the electronic device has moved upward while the electronic device is in the call state, and the final effective distance moved within the preset time is equal to or greater than the preset distance moved upward, it is determined to perform step 203, otherwise, it is not performed. For example, the effective distance for 10 seconds of movement is 3CM or more upward.
The moving direction is generally defaulted to moving upwards, and can also be set according to the actual situation, and the preset distance and the preset time can be set by default for the electronic equipment and can also be set by the user according to the actual situation.
203. And acquiring the current temperature of the display screen.
Wherein, the current temperature of the display screen can be detected by the temperature sensor, and the temperature sensor can transmit the detected current temperature to the processor of the electronic device. Reference is made in particular to the above.
204. And acquiring the capacitance value of the display screen at the current temperature.
Specifically, the capacitance value of the display screen at the current temperature can be acquired through a display screen control chip in the electronic device.
When the environmental temperature changes, the temperature of an electronic device in the electronic equipment changes, so that the characteristics of the electronic device also change, the capacitance value of the display screen also changes, and the capacitance value of the display screen increases when the temperature decreases; at high temperatures, the capacitance of the display screen decreases. Therefore, the capacitance values corresponding to the display screen are different at different temperatures.
205. And acquiring the capacity value variation of the display screen from the preset standard temperature to the current temperature, wherein the capacity value variation is the capacitance value variation caused by the temperature.
Specifically, a standard capacitance value corresponding to the display screen at the current temperature and a standard capacitance value corresponding to the display screen at the standard temperature may be extracted from the preset sample set, and then, a capacitance value variation caused by the temperature may be obtained according to the two standard capacitance values.
206. And acquiring a difference value between the capacitance value and the capacitance value variation.
Specifically, the difference between the capacitance value and the capacitance value variation at the current temperature can be obtained through calculation, and whether the display screen is in the approaching state or not is judged according to the difference.
207. And judging whether the display screen is in a close state or not according to the difference value.
The difference value can be compared with a preset threshold value, and whether the display screen is in a close state or not is determined according to the comparison result. When the display screen is close to a human body, the capacitance value can be increased; when the human body is far away, the capacitance value is reduced. Therefore, if the difference is greater than or equal to the preset threshold, it may be determined that the display screen is in a close state; if the difference is less than the preset threshold, it may be determined that the display screen is in a non-proximity state. The preset threshold is a default threshold set by a designer for the electronic device when the electronic device leaves a factory.
According to the display screen state judging method provided by the embodiment, the capacity value variable quantity caused by the temperature can be eliminated when the state of the display screen is judged, the influence of external factors on the display screen can be reduced, the misoperation of the display screen is reduced, and the accuracy of judging the state of the display screen is improved.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the method for determining a state of a display screen according to any one of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The state determination method, the state determination device, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those 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 (16)

1. A state judgment method of a display screen is applied to electronic equipment, and is characterized by comprising the following steps:
acquiring the current temperature of the display screen;
acquiring a capacitance value of the display screen at the current temperature;
acquiring the capacity value variation of the display screen from a preset standard temperature to the current temperature, wherein the capacity value variation is the capacitance value variation caused by the temperature;
and judging whether the display screen is in a close state or not based on the capacitance value and the capacitance value variation.
2. The method for judging the state of the display screen according to claim 1, wherein the obtaining the capacity value variation of the display screen from the preset standard temperature to the current temperature comprises:
extracting a first standard capacitance value of the display screen at a preset standard temperature from a preset sample set;
extracting a second standard capacitance value of the display screen at the current temperature from a preset sample set;
and acquiring the capacitance value variation according to the first standard capacitance value and the second standard capacitance value.
3. The method for judging the state of a display panel according to claim 1 or 2, wherein the judging whether the display panel is in the proximity state based on the capacitance value and the capacitance value variation includes:
acquiring a difference value between the capacitance value and the capacitance value variation;
and judging whether the display screen is in a close state or not according to the difference value.
4. The method for judging the state of the display screen according to claim 3, wherein the judging whether the display screen is in the proximity state according to the difference value comprises:
if the difference value is not smaller than a preset threshold value, the display screen is in a close state;
and if the difference value is smaller than a preset threshold value, the display screen is in a non-close state.
5. The method for judging the state of a display screen according to claim 1, further comprising, before acquiring the current temperature of the display screen:
when the trigger of a preset event is detected, detecting the movement direction and the movement distance of the electronic equipment;
and determining whether to execute the step of acquiring the current temperature of the display screen according to the movement direction and the movement distance.
6. The method for judging the state of a display screen according to claim 5, wherein the step of determining whether to acquire the current temperature of the display screen according to the moving direction and the moving distance comprises:
judging whether the movement direction and the movement distance meet preset conditions or not;
and if so, executing the step of acquiring the current temperature of the display screen.
7. A storage medium having stored therein a computer program for causing a computer to execute the method for judging a state of a display screen according to any one of claims 1 to 6 when the computer program runs on the computer.
8. An electronic device, comprising a display screen, a temperature sensor, a processor, and a memory, the display screen, the temperature sensor, and the memory being respectively coupled to the processor;
the temperature sensor is used for detecting the current temperature of the display screen;
the memory has stored therein a computer program;
the processor, by invoking the computer program stored in the memory, is configured to perform the steps of:
acquiring the current temperature of the display screen;
acquiring a capacitance value of the display screen at the current temperature;
acquiring the capacity value variation of the display screen from a preset standard temperature to the current temperature, wherein the capacity value variation is the capacity value variation caused by the temperature;
and judging whether the display screen is in a close state or not based on the capacitance value and the capacitance value variation.
9. The electronic device of claim 8, wherein the memory has stored therein a preset sample set including a first standard capacitance value at a preset standard temperature and a second standard capacitance value at the current temperature;
the processor is further configured to perform the steps of:
extracting a first standard capacitance value of the display screen at a preset standard temperature from the preset sample set;
extracting a second standard capacitance value of the display screen at the current temperature from the preset sample set;
and acquiring the capacitance value variation according to the first standard capacitance value and the second standard capacitance value.
10. The electronic device of claim 8 or 9, wherein the processor is further configured to perform the steps of:
acquiring a difference value between the capacitance value and the capacitance value variation;
and judging whether the display screen is in a close state or not according to the difference value.
11. The electronic device of claim 10, wherein the processor is further configured to perform the steps of:
if the difference value is larger than a preset threshold value, the display screen is in a close state;
and if the difference value is smaller than a preset threshold value, the display screen is in a non-close state.
12. The electronic device of claim 8, wherein the processor is further configured to perform the steps of:
when the trigger of a preset event is detected, detecting the movement direction and the movement distance of the electronic equipment;
and determining whether to execute the step of acquiring the current temperature of the display screen according to the movement direction and the movement distance.
13. The electronic device of claim 12, wherein the processor is further configured to perform the steps of:
judging whether the movement direction and the movement distance meet preset conditions or not;
and if so, executing the step of acquiring the current temperature of the display screen.
14. An electronic device, comprising:
the display screen is used for displaying pictures;
the temperature sensor is used for detecting the current temperature of the display screen, and the display screen has a capacitance value corresponding to the current temperature;
the memory stores a first standard capacitance value at a preset standard temperature and stores a second standard capacitance value at the current temperature; and
and the processor is coupled with the display screen, the temperature sensor and the memory respectively, determines the capacitance variation according to the first standard capacitance value and the second standard capacitance value, and judges whether the display screen is in a close state or not based on the capacitance value and the capacitance variation.
15. The electronic device of claim 14, wherein the electronic device comprises a base, the base is adjacent to the display screen, and the temperature sensor is disposed on the base and configured to detect a temperature of the base to determine a current temperature of the display screen according to the temperature of the base.
16. The electronic device of claim 14, wherein the temperature sensor is disposed on a non-display surface of the display screen, and the temperature sensor is remote from a control chip of the display screen; or the temperature sensor is integrated within the display screen.
CN201811039010.0A 2018-09-06 2018-09-06 Display screen state judgment method, storage medium and electronic device Pending CN110881073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811039010.0A CN110881073A (en) 2018-09-06 2018-09-06 Display screen state judgment method, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811039010.0A CN110881073A (en) 2018-09-06 2018-09-06 Display screen state judgment method, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN110881073A true CN110881073A (en) 2020-03-13

Family

ID=69727579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811039010.0A Pending CN110881073A (en) 2018-09-06 2018-09-06 Display screen state judgment method, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110881073A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115547215A (en) * 2022-04-21 2022-12-30 荣耀终端有限公司 Display screen ESD soft reset method, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201124A (en) * 2014-10-31 2016-12-07 商升特公司 Close to the method and apparatus of the accuracy with the improvement touching detection in mobile device
CN206060714U (en) * 2016-09-23 2017-03-29 武汉大学 A kind of capacitor type human body proximity detection system
CN107111335A (en) * 2014-10-28 2017-08-29 三星电子株式会社 For the operation that controls electronic installation method and use its electronic installation
CN108196709A (en) * 2017-12-28 2018-06-22 上海传英信息技术有限公司 The touch screen control method and control system of a kind of intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107111335A (en) * 2014-10-28 2017-08-29 三星电子株式会社 For the operation that controls electronic installation method and use its electronic installation
CN106201124A (en) * 2014-10-31 2016-12-07 商升特公司 Close to the method and apparatus of the accuracy with the improvement touching detection in mobile device
US20170147145A1 (en) * 2014-10-31 2017-05-25 Semtech Corporation Method and Device for Improved Accuracy of Proximity and Touch Detection in Mobile Devices
CN206060714U (en) * 2016-09-23 2017-03-29 武汉大学 A kind of capacitor type human body proximity detection system
CN108196709A (en) * 2017-12-28 2018-06-22 上海传英信息技术有限公司 The touch screen control method and control system of a kind of intelligent terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115547215A (en) * 2022-04-21 2022-12-30 荣耀终端有限公司 Display screen ESD soft reset method, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
RU2643460C2 (en) Touch keys and method for implementing fingerprint recognition, apparatus and terminal device
US10862595B2 (en) Method for processing radio frequency interference, and electronic device
KR102070116B1 (en) Method for controlling portable device by using humidity sensor and portable device thereof
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
US10951754B2 (en) Method for responding to incoming call by means of fingerprint recognition, storage medium, and mobile terminal
CN111106821B (en) Touch control method and wearable device
JP7406644B2 (en) Electronic equipment, control methods and computer readable storage media
CN110764644B (en) Electronic device and pressure compensation method
CN112148104B (en) Control method of electronic equipment
CN107291280B (en) Method and device for adjusting sensitivity of touch screen and terminal equipment
CN108646948B (en) Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment
CN108681413B (en) Control method of display module and mobile terminal
CN111352559B (en) Electronic equipment and control method
CN106325623A (en) Method and apparatus for monitoring touch on touch screen and terminal device
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN108834206B (en) Control method of electronic device and electronic device
CN110827785B (en) Brightness adjusting method and related product
CN110881073A (en) Display screen state judgment method, storage medium and electronic device
CN109947345B (en) Fingerprint identification method and terminal equipment
CN107968855B (en) Electronic device, electronic equipment and display screen control method
CN110431518A (en) A kind of method and electronic equipment exporting touching signals
CN110851014A (en) Touch identification method and device, storage medium and terminal equipment
CN110764650A (en) Key trigger detection method and electronic equipment
CN112102794B (en) Method and device for eliminating touch trace of touch screen and computer readable storage medium
CN111625129B (en) Screen control method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200313