Method, device and electronic device for detecting skin contact time of screen

By integrating touch sensors and ambient light sensors in electronic devices to detect and respond to contact between the skin and the screen, the problem of difficulty in preventing low-temperature burns in the existing technology is solved, and safety and user experience are improved.

CN113918003BActive Publication Date: 2025-01-17HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010659987.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-10
Publication Date
2025-01-17
Estimated Expiration
2040-07-10

AI Technical Summary

Technical Problem

Existing electronic devices may cause low temperature burns when the skin touches the screen for a long time, and the prior art is difficult to effectively detect and prevent such injuries.

Method used

By integrating touch sensors and ambient light sensors in electronic devices, it is detected whether the display screen is in contact with user touch operations and living tissue. If the preset conditions are met, a thermal protection scheme is initiated to reduce the temperature of the display screen.

Benefits of technology

It effectively detects and prevents low-temperature burns caused by long-term skin contact with the screen, while ensuring the user's battery life and improving the user experience without contact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113918003B_ABST
    Figure CN113918003B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a method, device and electronic device for detecting the duration of skin contact with the screen, wherein the method comprises: detecting whether the display screen has a user's touch operation and a touch area related to the touch operation once every first preset time, and if the touch area related to the touch operation is greater than or equal to a first preset value, determining that the touch operation is a first touch operation; if within a second preset time, the number of times the display screen has the first touch operation is greater than or equal to a second preset value, determining that the electronic device is in a skin-long-term screen contact mode. The method for detecting the duration of skin contact with the screen provided in this embodiment can detect the skin's long-term screen contact through the display screen, thereby effectively protecting the contact skin, and at the same time, ensuring the user's battery life and improving the user experience when there is no contact with the skin.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to a method, device and electronic equipment for detecting the duration of skin contact with a screen. Background Art

[0002] At present, many electronic devices have the characteristics of high power consumption, small size and poor heat dissipation ability. Taking children's watches as an example, the stacking structure set in children's watches mostly prioritizes to ensure that the temperature of the bottom shell is not too high to avoid low-temperature burns caused by long-term wear, which leads to a high temperature of the watch screen. After the user puts it on the face, it may even cause burns and other safety incidents.

[0003] According to international standards, if human skin tissue is exposed to 43°C for 8 hours, it will cause irreversible damage to the skin. In actual testing, adults will have red skin and slight pain after 7 minutes at 40°C. Some children may suffer from low-temperature burns after more than 30 minutes. If it exceeds 45°C, it will quickly cause skin damage. In many usage scenarios of electronic devices (such as voice calls), the screen temperature of electronic devices can usually reach above 40°C, or even 45-46°C. If the skin contacts the screen for a long time, it is very likely to cause low-temperature burns.

[0004] In summary, it is necessary to effectively detect the length of time that the skin is in contact with the screen so that protective measures against skin burns can be implemented in scenarios where the skin is in contact with the screen for a long time. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for detecting the length of time skin contacts the screen, which can detect prolonged skin contact with the screen through a display screen, thereby effectively protecting the contacted skin. At the same time, when there is no contact with the skin, the user's usage life is guaranteed and the user experience is improved.

[0006] In a first aspect, an embodiment of the present application provides a method for detecting the duration of skin contact with a screen, which is applied to an electronic device having a touch sensor and a display screen, and the method includes:

[0007] detecting once every first preset time period whether the display screen has a touch operation by the user and a touch area associated with the touch operation, and determining that the touch operation is a first touch operation if the touch area associated with the touch operation is greater than or equal to a first preset value;

[0008] If within a second preset time period, the display screen has the first touch operation for a number of times greater than or equal to a second preset value, it is determined that the electronic device is in a long-time skin contact screen mode.

[0009] In combination with the first aspect, in a feasible implementation, if within a second preset time period, the number of times the first touch operation occurs on the display screen is greater than or equal to a second preset value, determining that the electronic device is in a skin-long-time-contact-with-the-screen mode includes:

[0010] If within a second preset time period, the display screen has the first touch operation for a number of times greater than or equal to a second preset value, the electronic device is detected via an ambient light sensor and / or a proximity sensor to determine whether the electronic device is in contact with living tissue. If it is detected that the electronic device is in contact with living tissue, the electronic device is determined to be in long-term skin contact with the screen mode.

[0011] In combination with the first aspect, in a feasible implementation manner, after detecting whether the electronic device is in contact with living tissue by using an ambient light sensor and / or a proximity sensor of the electronic device, the method further includes:

[0012] If it is detected that the electronic device has no living tissue contact, it is determined that the electronic device is in a non-skin long-term contact screen mode. In combination with the first aspect, in a feasible implementation, after determining that the electronic device is in a skin long-term contact screen mode, the method further includes:

[0013] A specified thermal protection scheme is initiated to reduce the temperature of a display screen of the electronic device.

[0014] In combination with the first aspect, in a feasible implementation manner, starting a specified thermal protection scheme includes:

[0015] One or more processes currently running on the electronic device are terminated.

[0016] In a second aspect, an embodiment of the present application provides a device for detecting the length of time skin contacts a screen, the device comprising:

[0017] a first detection module, configured to detect whether the display screen has a touch operation by the user and a touch area associated with the touch operation once every first preset time period, and determine that the touch operation is a first touch operation if the touch area associated with the touch operation is greater than or equal to a first preset value; and

[0018] The first determination module is used to determine that the device is in a long-time skin contact screen mode if the number of times the display screen has the first touch operation is greater than or equal to a second preset value within a second preset time period.

[0019] In conjunction with the second aspect, in a feasible implementation manner, the first determining module includes:

[0020] The first determination unit is used to detect whether the device has contact with living tissue through the ambient light sensor and / or proximity sensor of the device if the number of times the display screen has the first touch operation is greater than or equal to a second preset value within a second preset time period, and if it is detected that the device has contact with living tissue, determine that the device is in a long-time skin contact screen mode.

[0021] In combination with the second aspect, the device further includes:

[0022] The second determination module is used to determine that the device is in a non-skin long-term contact screen mode if it is detected that the electronic device has no living tissue contact. In combination with the second aspect, in a feasible implementation, the device also includes: a first protection module, which is used to start a specified thermal protection scheme to reduce the temperature of the display screen of the device after determining that the device is in a skin long-term contact screen mode.

[0023] In conjunction with the second aspect, in a feasible implementation manner, the first protection module includes:

[0024] The first protection unit is used to terminate one or more processes currently running in the electronic device.

[0025] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, a touch sensor and a display screen, wherein the memory stores a computer program, the processor is connected to the memory, and the processor executes the computer program to implement the above-mentioned method of detecting the length of time that skin is in contact with the screen.

[0026] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising computer instructions, which, when executed on an electronic device, enable the electronic device to execute instructions of the method in the first aspect or any possible implementation of the first aspect.

[0027] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute instructions of the method in the first aspect or any possible implementation of the first aspect.

[0028] It can be understood that in the embodiment of the present invention, the touch sensor detects the touch operation on the display screen, and then the electronic device determines whether the display screen has a touch operation by the user every first preset time, and determines the touch area of ​​each touch operation. If the touch area related to the touch operation is greater than or equal to the first preset value, the touch operation is determined to be the first touch operation. If the number of times the display screen has the first touch operation is greater than or equal to the second preset value within the second preset time, the electronic device is determined to be in the skin-long-term screen contact mode, thereby realizing the judgment of the skin-long-term screen contact scene, which is simple, reliable, and highly practical. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0030] Figure 2 is a software structure block diagram of the electronic device of the embodiment of the present application;

[0031] Figure 3 A flow chart of a method for detecting the duration of skin contact with a screen provided in an embodiment of the present application;

[0032] Figure 4 Another flow chart of the method for detecting the duration of skin contact with a screen provided in an embodiment of the present application;

[0033] Figure 5 Another flow chart of the method for detecting the duration of skin contact with a screen provided in an embodiment of the present application;

[0034] Figure 6 A schematic diagram of a device for detecting the length of time skin contacts a screen provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to better understand the technical solution of the present invention, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0036] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] In the present application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0038] Figure 1 A schematic diagram of a three-dimensional structure of an electronic device 100 is shown;

[0039] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0040] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0041] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0042] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0043] The processor 110 may also be provided with a memory for storing computer programs and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0044] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0045] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0046] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0047] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0048] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0049] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0050] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0051] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0052] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0053] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.

[0054] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0055] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0056] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0057] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0058] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0059] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0060] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0061] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0062] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1. In this embodiment, the display screen 194 is a straight display screen, a curved display screen, a foldable display screen, etc.

[0063] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0064] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0065] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0066] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0067] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0068] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0069] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0070] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0071] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0072] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0073] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0074] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0075] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0076] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0077] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0078] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0079] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0080] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0081] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device 100 and applied to applications such as horizontal and vertical screen switching and pedometers.

[0082] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0083] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0084] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0085] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0086] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0087] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0088] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0089] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0090] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0091] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0092] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0093] Figure 2 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.

[0094] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0095] The application layer can include a series of application packages.

[0096] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0097] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0098] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0099] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0100] In an embodiment of the present application, the application framework layer may further include an activity manager AMS for managing Activities, starting, switching, and scheduling various components in the system, and managing and scheduling applications.

[0101] Content providers are used to store and retrieve data and make it accessible to applications. The data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0102] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0103] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0104] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0105] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0106] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0107] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0108] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0109] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0110] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0111] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0112] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0113] A 2D graphics engine is a drawing engine for 2D drawings.

[0114] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0115] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.

[0116] The technical solutions involved in the following embodiments can all be implemented in the electronic device 100 having the above-mentioned hardware architecture and software architecture.

[0117] In the prior art, NTC (Negative Temperature Coefficient) resistors are usually used to implement temperature rise protection for electronic devices. Two solutions are usually adopted. The first solution is to place the NTC resistor on the bottom shell of the electronic device. After the temperature rise protection is triggered by the temperature of the bottom shell of the electronic device, the power consumption of the whole device is reduced, and the screen temperature is indirectly controlled. The second solution is to set an NTC resistor under the screen of the electronic device, and the screen temperature is protected by the NTC under the screen of the electronic device. The defect of the first solution is that after the temperature rise protection is triggered by the bottom shell temperature, the power consumption of the whole electronic device is reduced. Although the screen temperature can be indirectly controlled, the temperature rise protection of the user cannot be directly implemented according to the screen temperature; the defect of the second solution is that the screen temperature can be directly monitored, but based on the basic facts that the current children's watches have high power consumption, small size, and poor heat dissipation ability, the screen temperature rise is relatively high, but the face-to-face scene is a low-efficiency event. If the screen temperature is directly controlled according to the temperature rise standard of contact with the skin, it will lead to a shortened user usage time, a poor experience, and an increase in public opinion that the usage time is too short.

[0118] Based on the above-mentioned defects, an embodiment of the present invention provides a method for detecting the length of time that skin is in contact with a screen. The method for detecting the length of time that skin is in contact with a screen provided in the embodiment of the present application can be applied to a scenario in which contact time detection is performed on a screen of an electronic device having a touch sensor and a display screen, wherein the above-mentioned screen is the display screen of the electronic device. When it is detected that the length of time that a human body is in contact with the display screen of the electronic device reaches a preset length of time and the touch area reaches a size greater than the reaching area, a thermal protection scheme is activated for the electronic device to prevent the user from causing skin damage by long-term contact with the screen.

[0119] Among them, the electronic device can be Figure 1 The electronic device 100 shown may be, but is not limited to, various types of portable / wearable mobile terminals such as smart phones, tablet computers, personal digital assistants (PDAs), smart bracelets, watches (which may include smart watches, including but not limited to ordinary smart watches and children's watches, etc.), or may also be various types of computer devices such as notebooks, desktops, all-in-one computers, etc.

[0120] In an embodiment of the present invention, the electronic device 100 includes a display screen 194 and a touch sensor 180K, and the display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1. In this embodiment, the display screen 194 is a straight display screen, a curved display screen, a foldable display screen, etc.

[0121] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect a touch operation acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194.

[0122] The touch screen can adopt various touch modes such as resistive, capacitive, infrared and surface acoustic wave.

[0123] Taking capacitive touch screen technology as an example, it specifically uses the current induction of the human body to work. When a finger touches the metal layer, due to the electric field of the human body, a coupling capacitor is formed between the user and the touch screen surface. For high-frequency current, the capacitor is a direct conductor, so the finger absorbs a very small current from the contact point. This current flows out from the electrodes on the four corners of the touch screen, and the current flowing through these four electrodes is proportional to the distance from the finger to the four corners. The processor can obtain the position of the touch point by accurately calculating the ratio of these four currents.

[0124] Figure 3 A flowchart of a method for detecting the length of time skin contacts a screen provided in an embodiment of the present application, such as Figure 3 As shown, the method includes:

[0125] Step S101: detecting once every first preset time whether the display screen has a user's touch operation and a touch area related to the touch operation, and if the touch area related to the touch operation is greater than or equal to a first preset value, determining that the touch operation is a first touch operation;

[0126] Step S102: If within the second preset time period, the number of times the display screen has the first touch operation is greater than or equal to a second preset value, it is determined that the electronic device is in a skin-long-time-contact-screen mode.

[0127] It can be understood that in the embodiment of the present invention, the touch sensor detects the touch operation on the display screen, and then the electronic device determines whether the display screen has a touch operation by the user every first preset time, and determines the touch area of ​​each touch operation. If the touch area related to the touch operation is greater than or equal to the first preset value, the touch operation is determined to be the first touch operation. If the number of times the display screen has the first touch operation is greater than or equal to the second preset value within the second preset time, the electronic device is determined to be in the skin-long-term screen contact mode, thereby realizing the judgment of the skin-long-term screen contact scene, which is simple, reliable, and highly practical.

[0128] The specific technical solution of the method for detecting the length of time the skin contacts the screen provided in the embodiments of this specification is described in detail below.

[0129] In an optional implementation, if within a second preset time period, the number of times the display screen has the first touch operation is greater than or equal to a second preset value, determining that the electronic device is in a skin-long-time-contact-with-the-screen mode includes:

[0130] If within a second preset time period, the number of times the display screen has the first touch operation is greater than or equal to a second preset value, the ambient light sensor and / or proximity sensor of the electronic device is used to detect whether the electronic device is in contact with living tissue. If it is detected that the electronic device is in contact with living tissue, it is determined that the electronic device is in long-term skin contact with the screen mode.

[0131] Correspondingly, if within a second preset time period, the number of first touch operations on the display screen is less than a second preset value and / or the ambient light sensor and / or proximity sensor of the electronic device detects that the electronic device has no contact with living tissue, it is determined that the electronic device is in non-skin long-term contact with the screen mode.

[0132] Figure 4 Another flow chart of the method for detecting the duration of skin contact with a screen provided by an embodiment of the present invention;

[0133] See also Figure 4 In one scenario, the specific implementation process of the method for detecting the skin contact time of the screen can be as follows:

[0134] Step S201: the system is in sleep mode, the touch screen is powered off, and the touch sensor of the electronic device is in an inactive state, and the process proceeds to step S202;

[0135] Step S202: the system wakes up, the touch screen is powered on, the touch sensor of the electronic device is activated, and the process proceeds to step S203;

[0136] Step S203: the touch sensor detects once every first preset time period T1 whether there is a first touch operation with a touch area greater than or equal to a first preset value S1, if yes, proceed to step S204, if no, re-enter step S203;

[0137] The first preset time length T1 is, for example, 3 seconds. The first preset time length may also be 1 second, 2 seconds, or 4 seconds, etc.

[0138] The first preset value S1 is, for example, 0.2 square centimeters. The first preset value S1 may also be 0.1 square centimeters, 0.3 square centimeters, 0.5 square centimeters, and so on.

[0139] Step 204: (notify the system of the electronic device) record the number of first touch operations, and then proceed to step S205;

[0140] The electronic device accumulates the number of first touch operations.

[0141] Step S205: determining whether the number of first touch operations on the display screen is greater than or equal to a second preset value X times within the second preset time length T2, if yes, proceeding to step S206, if no, proceeding to step S207;

[0142] The second preset time length T2 is, for example, 30 seconds. The second preset time length T2 may also be 1 minute, 3 minutes, 6 minutes, and so on.

[0143] The second preset value X is, for example, 10 times. The second preset value X may also be, for example, 20 times, 60 times, or 120 times, etc.

[0144] Step S206: Determine that the electronic device is in the skin-long-time-contact-screen mode, and proceed to step S208.

[0145] Step S207: Determine whether the touch screen is powered off, if yes, return to step S201, if no, proceed to step S209;

[0146] Step S208: Start the specified thermal protection scheme and end this process.

[0147] Step S209: determining whether the first touch operation is detected within the third preset time length T3, if yes, proceeding to step S210, if no, proceeding to step S211;

[0148] Step S210: Record the number of first touch operations that are performed continuously for the last time within the third preset time length T3, accumulate the number of times, and return to step S205;

[0149] The third preset time length T3 is, for example, 5 seconds. The third preset time length T3 may also be 3 seconds, 6 seconds, or 7 seconds, etc.

[0150] Step S211: the recorded number of first touch operations is cleared, counted again, and the process returns to step S205.

[0151] It can be understood that the above working process determines whether to start the specified thermal protection scheme through the detection and recognition results of long-term skin contact with the screen, thereby effectively protecting the skin of other parts such as the face and arms. At the same time, when there is no contact with the skin, the user's battery life is guaranteed and the user experience is improved.

[0152] See also Figure 1, in another scenario, the electronic device may further include a proximity light sensor 180G and / or an ambient light sensor 180L;

[0153] Among them, the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0154] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0155] Figure 4 Another flow chart of the method for detecting the duration of skin contact with a screen provided by an embodiment of the present invention;

[0156] Combination Figure 1 and Figure 4 In another scenario, the specific implementation process of the method for detecting the skin contact screen duration can be as follows:

[0157] Step S301: the system is in sleep mode, the touch screen is powered off, and the touch sensor of the electronic device is in an inactive state, and the process proceeds to step S302;

[0158] Step S302: the system wakes up, the touch screen is powered on, the touch sensor of the electronic device is activated, and the process proceeds to step S303;

[0159] Step S303: the touch sensor detects once every first preset time period T1 whether there is a first touch operation with a touch area greater than or equal to a first preset value S1, if yes, proceed to step S304, if no, re-enter step S303;

[0160] The first preset time length T1 is, for example, 3 seconds. The first preset time length T1 may also be 1 second, 2 seconds, or 4 seconds, etc.

[0161] The first preset value S1 is, for example, 0.2 square centimeters. The first preset value S1 may also be 0.1 square centimeters, 0.3 square centimeters, 0.5 square centimeters, and so on.

[0162] Step S304: (notify the system of the electronic device) record the number of the first touch operation, and then proceed to step S305;

[0163] The number of first touch operations is accumulated.

[0164] Step S305: determining whether the number of first touch operations on the display screen is greater than or equal to a second preset value X times within the second preset time length T2, if yes, proceeding to step S306, if no, proceeding to step S307;

[0165] The second preset time length T2 is, for example, 30 seconds, and the preset time length may also be 1 minute, 3 minutes, 6 minutes, etc.

[0166] The second preset value X is, for example, 10 times. The second preset value X may also be, for example, 20 times, 60 times, or 120 times, etc.

[0167] Step S306: Detect whether the electronic device is in contact with living tissue through the ambient light sensor and / or proximity sensor of the electronic device, if yes, proceed to step S308, if no, return to step S303;

[0168] Step S307: Determine whether the touch screen is powered off, if yes, return to step S301, if no, proceed to step S309;

[0169] Step S308: Determine that the electronic device is in the skin-long-time-contact-screen mode, and proceed to step S310.

[0170] Step S309: determining whether the first touch operation is detected within the third preset time length T3, if yes, proceeding to step S311, if no, proceeding to step S312;

[0171] The third preset time length T3 is, for example, 5 seconds. The third preset time length may also be 3 seconds, 6 seconds, or 7 seconds, etc.

[0172] Step S310: Start the specified thermal protection scheme and end this process.

[0173] Step S311: Record the number of first touch operations that are performed continuously for the last time within the third preset time length T3, accumulate the number of times, and return to step S305;

[0174] The third preset time length T3 is, for example, 5 seconds, and the second preset time length may also be 3 seconds, 6 seconds, or 7 seconds, etc.

[0175] Step S312: the recorded number of first touch operations is cleared, counted again, and the process returns to step S305.

[0176] It can be understood that the embodiment of the present invention detects the user's touch operation through the touch sensor, and then uses the ambient light sensor and / or the proximity light sensor to assist in detecting the skin's long-term contact with the screen, so as to determine whether to start the specified thermal protection scheme based on the detection and identification results of the skin's long-term contact with the screen, thereby effectively protecting the skin of other parts of the face, arms, etc., and ensuring the user's battery life and improving the user experience when there is no contact with the skin.

[0177] In an embodiment of the present invention, before starting a specified thermal protection scheme, the following steps may be included:

[0178] Determining whether the temperature of the display screen exceeds a first threshold;

[0179] If yes, the specified thermal protection scheme is activated, and if no, the specified thermal protection scheme is not activated.

[0180] The first threshold value may be determined according to international standards related to the contact temperature of human skin tissue. For example, the first threshold value may be 39 degrees, 40 degrees, etc.

[0181] Wherein, judging whether the temperature of the display screen exceeds the first threshold value can be performed by Figure 1 The temperature sensor implementation shown. Optionally, starting a specified thermal protection scheme may include:

[0182] Terminate or adjust one or more of the processes and / or functional modules currently running on the electronic device.

[0183] In a specific implementation, after determining that the electronic device is in a skin-long-term screen contact mode, the electronic device can detect the processes and / or functional modules currently running in the system, determine at least one process and / or functional module in the processes running in the system according to system scheduling and actual needs, and then terminate or adjust at least one of the determined and / or functional modules, thereby reducing the temperature of the display screen of the electronic device.

[0184] Among them, the specific process of determining at least one process and / or functional module can be: pre-setting the level of each process and / or functional module, determining the level of each process and / or functional module, and then terminating or adjusting the process and / or functional module step by step, so as to achieve the purpose of reducing the temperature of the display screen.

[0185] In an embodiment of the present invention, the method of lowering the display screen temperature may include any one of the following or a combination of multiple ones: terminating a running process, lowering the display screen brightness, lowering the speaker volume, turning off the communication module to enter flight mode, and timed shutdown, etc.

[0186] As an example, the thermal protection scheme provided by the embodiment of the present invention can be: after determining that the electronic device is in the skin contact screen mode for a long time, if the temperature of the display screen exceeds the first threshold, the brightness of the display screen is reduced. Within the first time after the brightness of the display screen is reduced, the temperature sensor is used to determine whether the temperature of the display screen exceeds the first threshold. If the temperature of the display screen still exceeds the first threshold, the volume of the speaker is further reduced. Within the second time after the brightness of the display screen is reduced, the temperature sensor is used to determine whether the temperature of the display screen exceeds the first threshold. If the temperature of the display screen still exceeds the first threshold, and so on, consider whether to enter the flight mode or even timed shutdown or immediate shutdown. On the contrary, if the temperature of the display screen becomes lower than or equal to the first threshold after the brightness of the display screen is reduced or the volume of the speaker is reduced, the thermal protection is stopped. Among them, the first time and the second time can be set according to actual needs, and the first time and the second time can be the same or different.

[0187] It should be noted that the above is only an example, and in actual applications, a thermal protection scheme can be set according to actual needs. In an embodiment of the present invention, after determining that the electronic device is in a skin-contact-screen mode for a long time, the method for detecting the skin-contact-screen duration may further include: generating prompt information.

[0188] The prompt information may be one of vibration prompt, voice prompt and text prompt (pop-up prompt) or any combination of the two.

[0189] In some usage scenarios, for example, when a user is making a video call through an electronic device, after determining that the electronic device is in a skin-to-screen contact mode for a long time, it is detected whether the current transmission power exceeds the second threshold. If so, the video call can be switched to a voice call to reduce the transmission power of the electronic device. In addition, the electronic device can also generate a prompt message to remind the user that the skin is currently in a skin-to-screen contact mode for a long time, which may pose health risks due to radiation. In another usage scenario, for example, when the user is not making a video call, only a prompt message may be generated to remind the user that the skin is currently in a screen-to-screen contact mode for a long time, which may pose health risks due to radiation, thereby reminding the user to stay away from the electronic device appropriately to avoid health risks and reduce the radiation of the electronic device to the human body.

[0190] The present application also discloses a device 400 for detecting the duration of skin contact with a screen. It should be understood that the device 400 can perform each step in the method for detecting the duration of skin contact with a screen. To avoid repetition, the steps will not be described in detail here. Figure 6 As shown, the device 400 includes: a first detection module 410 and a first determination module 420 .

[0191] A first detection module 410 is used to detect whether the display screen has a touch operation by the user and a touch area related to the touch operation once every first preset time period, and if the touch area related to the touch operation is greater than or equal to a first preset value, determine that the touch operation is a first touch operation;

[0192] The first determination module 420 is configured to determine that the device is in a long-time skin contact screen mode if the number of first touch operations on the display screen is greater than or equal to a second preset value within a second preset time period.

[0193] It can be understood that in the embodiment of the present invention, the touch sensor detects the touch operation on the display screen, and then the electronic device determines whether the display screen has a touch operation by the user every first preset time, and determines the touch area of ​​each touch operation. If the touch area related to the touch operation is greater than or equal to the first preset value, the touch operation is determined to be the first touch operation. If the number of times the display screen has the first touch operation is greater than or equal to the second preset value within the second preset time, the electronic device is determined to be in the skin-long-term screen contact mode, thereby realizing the judgment of the skin-long-term screen contact scene, which is simple, reliable, and highly practical.

[0194] In an optional implementation, the first determining module 420 includes:

[0195] The first determination unit is used to detect whether the device is in contact with living tissue through the ambient light sensor and / or proximity sensor of the device if the number of times the display screen has a first touch operation is greater than or equal to a second preset value within a second preset time period. If it is detected that the device is in contact with living tissue, the device is in a long-time skin contact screen mode.

[0196] In an optional implementation, the apparatus 400 further includes:

[0197] The second determination module is used to determine that the device is in a non-skin long-term contact screen mode if it is detected that the electronic device has no living tissue contact.

[0198] In an optional implementation, the apparatus 400 further includes:

[0199] The first protection module is used to start a specified thermal protection scheme to reduce the temperature of the display screen of the device after determining that the device is in a skin-long-term screen contact mode.

[0200] In an optional implementation, the first protection module includes:

[0201] The first protection unit is used to terminate one or more processes currently running in the electronic device.

[0202] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0203] The present application also provides an electronic device, such as Figure 1 As shown, the electronic device 100 includes a memory 121, a processor 110, a touch sensor 180K and a display screen 194. The memory 121 stores a computer program. The processor 110 is connected to the memory 121. The processor 110 executes the computer program to implement the various steps of any embodiment of the method for detecting the length of time that the skin is in contact with the screen as described above.

[0204] The present application also provides a computer storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the steps of any embodiment of the method for detecting the duration of skin contact with the screen as described above.

[0205] The present application also provides a computer program product. When the computer program product is run on a computer, the computer executes the steps of any embodiment of the method for detecting the duration of skin contact with the screen.

[0206] The above are only specific implementations of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for detecting the duration of skin contact with a screen, applied to an electronic device having a touch sensor and a display screen, characterized in that: The method comprises: detecting once every first preset time period whether the display screen has a touch operation by the user and a touch area associated with the touch operation, and determining that the touch operation is a first touch operation if the touch area associated with the touch operation is greater than or equal to a first preset value; If within a second preset time period, the number of times the first touch operation occurs on the display screen is greater than or equal to a second preset value, determining that the electronic device is in a skin-long-time-contact-with-the-screen mode; After determining that the electronic device is in a skin-long-time-contact-screen mode, the method further includes: If the electronic device is in a video call state, detecting the transmission power of the electronic device; If the transmission power is greater than a set threshold, the video call state is switched to a voice call state to reduce the transmission power of the electronic device.

2. The method for detecting the duration of skin contact with a screen according to claim 1, characterized in that: If within a second preset time period, the number of times the first touch operation occurs on the display screen is greater than or equal to a second preset value, determining that the electronic device is in a skin-long-time-contact-with-the-screen mode includes: If within a second preset time period, the display screen has the first touch operation for a number of times greater than or equal to a second preset value, the electronic device is detected via an ambient light sensor and / or a proximity sensor to determine whether the electronic device is in contact with living tissue. If it is detected that the electronic device is in contact with living tissue, the electronic device is determined to be in long-term skin contact with the screen mode.

3. The method for detecting the duration of skin contact with the screen according to claim 2, characterized in that: After detecting whether the electronic device is in contact with living tissue by using the ambient light sensor and / or the proximity sensor of the electronic device, the method further includes: If it is detected that the electronic device has no living tissue contact, it is determined that the electronic device is in non-skin long-term contact screen mode.

4. The method for detecting the duration of skin contact with a screen according to claim 1 or 2, characterized in that: After determining that the electronic device is in the skin-long-time-contact-screen mode, the method further includes: A specified thermal protection scheme is initiated to reduce the temperature of a display screen of the electronic device.

5. The method for detecting the duration of skin contact with a screen according to claim 4, characterized in that: The starting of the specified thermal protection scheme includes: One or more processes currently running on the electronic device are terminated.

6. A device for detecting the duration of skin contact with a screen, characterized in that: The device has a touch sensor and a display screen, and includes: a first detection module, configured to detect whether the display screen has a touch operation by the user and a touch area associated with the touch operation once every first preset time period, and determine that the touch operation is a first touch operation if the touch area associated with the touch operation is greater than or equal to a first preset value; and A first determination module, configured to determine that the device is in a skin-long-time-contact-with-the-screen mode if the number of times the display screen has the first touch operation is greater than or equal to a second preset value within a second preset time period; The first detection module is also used for: If the device is in a video call state, detecting the transmission power of the device; The device also includes: The second protection module is used to switch the video call state to a voice call state if the transmission power is greater than a set threshold, so as to reduce the transmission power of the device.

7. The device for detecting the duration of skin contact with a screen according to claim 6, characterized in that: The first determining module comprises: The first determination unit is used to detect whether the device has contact with living tissue through the ambient light sensor and / or proximity sensor of the device if the number of times the display screen has the first touch operation is greater than or equal to a second preset value within a second preset time period, and if it is detected that the device has contact with living tissue, determine that the device is in a long-time skin contact screen mode.

8. The device for detecting the duration of skin contact with a screen according to claim 7, characterized in that: The device also includes: The second determination module is used to determine that the device is in a non-skin long-term contact screen mode if it is detected that the device has no living tissue contact.

9. The device for detecting the duration of skin contact with a screen according to claim 6 or 7, characterized in that: The device also includes: The first protection module is used to start a specified thermal protection scheme to reduce the temperature of the display screen of the device after determining that the device is in a skin-long-time-contact-screen mode.

10. The device for detecting the duration of skin contact with a screen according to claim 9, characterized in that: The first protection module includes: The first protection unit is used to terminate one or more processes currently running in the device.

11. An electronic device, characterized in that: The electronic device includes a memory, a processor, a touch sensor and a display screen. The memory stores a computer program. The processor is connected to the memory. The processor executes the computer program to implement the method for detecting the length of time skin contacts the screen as described in any one of claims 1 to 5.

12. A computer storage medium, characterized in that: The method comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the steps of the method for detecting the duration of skin contact with a screen as claimed in any one of claims 1 to 5.

13. A computer program product, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the steps of the method for detecting the duration of skin contact with a screen according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Electronic device and fingerprint identification module

    CN109522697A

  • Touch screen calibration method and related product

    CN110780771A

  • Electronic device, method of controlling temperature rise, program, and recording medium

    JP2010124246A