Method and apparatus for detecting a cracked screen
By combining screen capacitance detection and multiple tests with under-display optical fingerprint unlocking devices, the problem of inaccurate screen breakage detection in existing technologies has been solved, achieving higher detection accuracy and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2021-02-09
- Publication Date
- 2026-06-05
AI Technical Summary
Existing technology makes it difficult to accurately determine whether a screen is broken, and errors are prone to occur in a single test.
Multiple testing methods are combined, including screen capacitance testing and under-display optical fingerprint unlocking devices, and a comprehensive judgment is made based on the results of multiple tests.
It improves the accuracy of screen breakage detection, reduces the error of a single detection, and ensures the reliability of the judgment results.
Smart Images

Figure CN114910716B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, specifically to a method and apparatus for screen breakage detection. Background Technology
[0002] A screen is a device through which electronic devices interact with users. Electronic devices can display output results on the screen and receive user input commands. Screens are also easily damaged components in electronic devices; forceful pressing by the user or dropping the device can cause it to break. Some screens suffer only minor damage, making it difficult to determine whether breakage has occurred through visual inspection.
[0003] One method for detecting screen breakage is to measure the capacitance of the touch panel (TP) to determine if the screen is broken. If the capacitance value of a certain area of the screen is abnormal, then that area of the screen is considered broken. However, there are many reasons why the screen capacitance value might become abnormal, making it difficult to accurately determine whether the screen is broken simply by measuring the capacitance value. Summary of the Invention
[0004] This application provides a method, apparatus, computer program product, and computer-readable storage medium for screen breakage detection, which can improve the accuracy of screen breakage detection.
[0005] In a first aspect, a method for detecting broken screens is provided, comprising: detecting a target screen using a first screen breakage detection method to obtain a first detection result; determining whether the target screen is a broken screen based on a first reference value and the first detection result, wherein the first reference value is a detection result obtained by detecting a complete screen using the first screen breakage detection method; when the first reference value and the first detection result indicate that the target screen is a broken screen, detecting the target screen using a second screen breakage detection method to obtain a second detection result; determining whether the target screen is a broken screen based on the second reference value and the second detection result, wherein the second reference value is correlated with multiple detection results obtained by detecting a complete screen multiple times using the second screen breakage detection method.
[0006] The first screen breakage detection method can be a screen capacitance detection method, where the first reference value can be the lower limit of the capacitance value of a complete screen. There are several reasons why the capacitance value of the target screen might be lower than the first reference value, such as screen breakage or an improperly set first reference value. When the capacitance value of the target screen is lower than the first reference value, the target screen can be considered to be in a suspected broken state. The second screen breakage detection method can be the detection method using an under-display optical fingerprint unlocking device, where the second reference value can be the longest time it takes to unlock a complete screen multiple times. Screen breakage will cause the unlocking time of the target screen to increase. If the unlocking time of the target screen exceeds the maximum time, it indicates that the target screen may be broken. Combining the conclusion of the first screen breakage detection method, the target screen can be finally determined to be a broken screen.
[0007] The above method uses multiple detection techniques, which is more reliable than a single detection and can correct erroneous conclusions from a single detection. Furthermore, the first reference value is a preset value and may be subject to random errors; the second reference value is a dynamic value closely related to statistical characteristics, which can overcome random errors. Therefore, using the judgment result of the second screen breakage detection method as the final result can improve the accuracy of screen breakage detection.
[0008] Optionally, determining whether the target screen is a broken screen based on the second reference value and the second detection result includes: determining the target screen as a broken screen when the second reference value and the second detection result indicate that the target screen is a broken screen; or determining the target screen as a complete screen when the second reference value and the second detection result indicate that the target screen is a complete screen.
[0009] The second reference value is a dynamic value closely related to statistical characteristics. It has a smaller random error than the preset first reference value. The judgment result based on the second reference value is more accurate. Therefore, using the judgment result of the second screen breakage detection method as the final result can improve the accuracy of screen breakage detection.
[0010] Optionally, the second screen breakage detection method includes a device unlock detection method, the second detection result includes a device unlock time, the second reference value includes a time threshold, and determining whether the target screen is a broken screen based on the second reference value and the second detection result includes:
[0011] When the device unlock time is less than the time threshold, the target screen is determined to be a complete screen; or...
[0012] When the device unlocking time is greater than or equal to the time threshold, the target screen is determined to be a broken screen.
[0013] The time threshold is a dynamic value closely related to statistical characteristics, which can overcome the defect of inaccurate detection results caused by an unreasonable first reference value setting. The combination of the time threshold and the first reference value to determine whether the target screen is broken can reduce the error of using a single type of reference value for judgment, thereby improving the accuracy of broken screen detection.
[0014] Optionally, the second screen breakage detection method includes a device unlocking detection method, the second detection result includes a device unlocking success rate, the second reference value includes a success rate threshold, and the step of determining whether the target screen is a broken screen based on the second reference value and the second detection result includes:
[0015] When the device unlock success rate is greater than the success rate threshold, the target screen is determined to be a complete screen; or...
[0016] When the device unlocking success rate is less than or equal to the success rate threshold, the target screen is determined to be a broken screen.
[0017] The success rate threshold is a dynamic value closely related to statistical characteristics. It can overcome the defect of inaccurate detection results caused by an unreasonable first reference value setting. The success rate threshold and the first reference value are combined to determine whether the target screen is a broken screen. This can reduce the error of using a single type of reference value for judgment, thereby improving the accuracy of broken screen detection.
[0018] Optionally, the second screen breakage detection method includes a device unlocking detection method, the second detection result includes device unlocking time and device unlocking success rate, the second reference value includes a time threshold and a success rate threshold, and the step of determining whether the target screen is a broken screen based on the second reference value and the second detection result includes:
[0019] When the device unlocking time is less than the time threshold, and when the device unlocking success rate is greater than the success rate threshold, the target screen is determined to be a complete screen; or,
[0020] When the device unlocking time is greater than or equal to the time threshold, or when the device unlocking success rate is less than or equal to the success rate threshold, the target screen is determined to be a broken screen.
[0021] Time threshold and success rate threshold are two dynamic values closely related to statistical characteristics. Compared to judging whether a target screen is broken by using only one dynamic value, judging by using two dynamic values can reduce the judgment error and thus improve the accuracy of broken screen detection.
[0022] Secondly, an apparatus for screen breakage detection is provided, including a unit for performing any of the methods in the first aspect. The apparatus may be a terminal device or a chip within the terminal device. The apparatus may include a transmitting unit and a processing unit.
[0023] When the device is a terminal device, the processing unit may be a processor, and the transmitting unit may be an antenna; the terminal device may also include a memory for storing computer program code, which, when the processor executes the computer program code stored in the memory, causes the terminal device to perform any of the methods in the first aspect.
[0024] When the device is a chip within a terminal device, the processing unit can be an internal processing unit of the chip, and the sending unit can be an output interface, pin, or circuit, etc.; the chip may also include a memory, which can be an internal memory of the chip (e.g., registers, cache, etc.) or an external memory (e.g., read-only memory, random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, it causes the chip to execute any of the methods in the first aspect.
[0025] Thirdly, a computer-readable storage medium is provided that stores computer program code, which, when run by a screen breakage detection device, causes the device to perform any of the methods in the first aspect.
[0026] Fourthly, a computer program product is provided, the computer program product comprising: computer program code, which, when run by a screen breakage detection device, causes the device to execute any of the methods in the first aspect. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of an apparatus applicable to this application;
[0028] Figure 2 This is a schematic diagram of a screen breakage detection method provided in this application;
[0029] Figure 3 This is a schematic diagram of another screen breakage detection method provided in this application;
[0030] Figure 4 This is a schematic diagram of the capacitance distribution of a complete screen in a non-touch state, as provided in this application;
[0031] Figure 5 This is a schematic diagram of the capacitance distribution of a broken screen in a non-touch state, as provided in this application;
[0032] Figure 6 This is a schematic diagram of an under-display optical fingerprint unlocking device provided in this application;
[0033] Figure 7 This is a schematic diagram of a screen breakage detection device provided in this application;
[0034] Figure 8 This is a schematic diagram of another screen breakage detection device provided in this application. Detailed Implementation
[0035] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0036] Figure 1 A hardware structure for an apparatus applicable to this application is shown.
[0037] Device 100 may be a mobile phone, smart screen, tablet computer, wearable electronic device, in-vehicle electronic device, augmented reality (AR) device, virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), projector, etc. The specific type of device 100 is not limited in the embodiments of this application.
[0038] 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, a headphone jack 170D, a sensor module 180, buttons 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0039] It should be noted that, Figure 1The structure shown does not constitute a specific limitation on device 100. In other embodiments of this application, device 100 may include a... Figure 1 The components shown may include more or fewer components, or the device 100 may include... Figure 1 The components shown may be a combination of certain components, or the device 100 may include... Figure 1 Sub-components of some of the components shown. Figure 1 The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0040] Processor 110 may include one or more processing units. For example, processor 110 may include at least one of the following processing units: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and neural network processing unit (NPU). These different processing units may be independent devices or integrated devices.
[0041] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0042] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0043] In some embodiments, processor 110 may include one or more interfaces. For example, processor 110 may include at least one of the following interfaces: 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 SIM interface, and a USB interface.
[0044] 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 I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the device 100.
[0045] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.
[0046] 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 the PCM interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0047] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically 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 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.
[0048] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the shooting function of the device 100. The processor 110 and the display screen 194 communicate via the DSI interface to enable the display function of the device 100.
[0049] The GPIO interface can be configured via software. It can be configured as a control signal interface or a data signal interface. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display screen 194, wireless communication module 160, audio module 170, and sensor module 180. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, or MIPI interface.
[0050] USB interface 130 is a USB standard compliant interface, such as a Mini USB, Micro USB, or USB Type-C interface. USB interface 130 can be used to connect a charger to charge device 100, to transfer data between device 100 and peripheral devices, and to connect headphones for audio playback. USB interface 130 can also be used to connect other devices 100, such as AR devices.
[0051] Figure 1 The connection relationships between the modules shown are merely illustrative and do not constitute a limitation on the connection relationships between the modules of device 100. Optionally, the modules of device 100 may also adopt a combination of various connection methods described in the above embodiments.
[0052] The charging management module 140 receives power from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives current from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives electromagnetic waves (current path shown as dashed lines) via the wireless charging coil of the device 100. While charging the battery 142, the charging management module 140 can also supply power to the device 100 via the power management module 141.
[0053] The power management module 141 connects 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, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (e.g., leakage current, impedance). Optionally, the power management module 141 can be located within the processor 110, or the power management module 141 and the charging management module 140 can be located in the same device.
[0054] The wireless communication function of device 100 can be implemented by devices such as antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0055] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0056] Mobile communication module 150 can provide a wireless communication solution applied to device 100, such as at least one of the following: second generation (2G) th Generation 2G mobile communication solutions, third generation (3G) th Generation 3G mobile communication solutions, fourth generation (4G) th 5G mobile communication solutions, fifth generation (5G) th(5G) mobile communication solutions. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering and amplification on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and the amplified signal is converted into electromagnetic waves and radiated out via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0057] The modem processor may include a modulator and a demodulator. The modulator modulates a low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates a 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 processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through audio devices (e.g., speaker 170A, receiver 170B) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0058] Similar to the mobile communication module 150, the wireless communication module 160 can also provide a wireless communication solution applied to the device 100, such as at least one of the following: wireless local area networks (WLAN), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR). 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 antenna 2, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification on them, and convert the signals into electromagnetic waves that are radiated via antenna 2.
[0059] In some embodiments, antenna 1 of device 100 is coupled to mobile communication module 150, and antenna 2 of device 100 is coupled to wireless communication module 160.
[0060] Device 100 can implement display functions via a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0061] The display screen 194 can be used to display images or videos. 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 (AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (Mini LED), a micro light-emitting diode (Micro LED), a micro OLED, or a quantum dot light-emitting diode (QLED). In some embodiments, the device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0062] The device 100 can perform shooting functions through an ISP, camera 193, video codec, GPU, display 194, and application processor.
[0063] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can perform algorithmic optimization of image noise, brightness, and color. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0064] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into a standard red-green-blue (RGB), YUV, or other image signal format. In some embodiments, device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0065] A digital signal processor (DSP) is used to process digital signals. Besides digital image signals, it can also process other digital signals. For example, when device 100 selects a frequency point, the DSP can perform Fourier transforms on the frequency energy.
[0066] Video codecs are used to compress or decompress digital video. Device 100 may support one or more video codecs. Thus, device 100 can play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, and MPEG 4.
[0067] An NPU (Neural Processing Unit) is a processor that borrows from the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, to quickly process input information and continuously learn. Through an NPU, device 100 can achieve intelligent cognitive functions, such as image recognition, facial recognition, speech recognition, and text understanding.
[0068] The external storage interface 120 can be used to connect an external storage card, such as a secure digital (SD) card, to enable the storage capacity of the expansion device 100. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0069] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function (e.g., sound playback and image playback). The data storage area may store data created during the use of device 100 (e.g., audio data and phonebook). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, and universal flash storage (UFS). Processor 110 executes various processing methods of device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory disposed in the processor.
[0070] The device 100 can implement audio functions, such as music playback and recording, through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor.
[0071] The audio module 170 is used to convert digital audio information into analog audio signals for output, and can also be used to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170, or some functional modules of the audio module 170, can be located in the processor 110.
[0072] The speaker 170A, also known as a loudspeaker, is used to convert audio electrical signals into sound signals. The device 100 can listen to music or make hands-free calls through the speaker 170A.
[0073] The receiver 170B, also known as the earpiece, is used to convert audio electrical signals into sound signals. When a user uses device 100 to answer a phone call or voice message, they can listen to the voice by bringing the receiver 170B close to their ear.
[0074] Microphone 170C, also known as a microphone or transducer, is used to convert sound signals into electrical signals. When a user makes a phone call or sends a voice message, they can input a sound signal into microphone 170C by speaking close to it. Device 100 may include at least one microphone 170C. In some embodiments, device 100 may include two microphones 170C to achieve noise reduction. In other embodiments, device 100 may also include three, four, or more microphones 170C to achieve functions such as sound source identification and directional recording. Processor 110 can process the electrical signals output by microphone 170C. For example, audio module 170 and wireless communication module 160 can be coupled through a PCM interface. After microphone 170C converts ambient sound into an electrical signal (such as a PCM signal), it transmits the electrical signal to processor 110 through the PCM interface. Processor 110 performs volume and frequency analysis on the electrical signal to determine the volume and frequency of the ambient sound.
[0075] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0076] Pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. Pressure sensor 180A can be of many types, such as resistive pressure sensor, inductive pressure sensor, or capacitive pressure sensor. Capacitive pressure sensor can include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes, and device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, device 100 detects the touch operation based on pressure sensor 180A. Device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example: when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed; when a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0077] The gyroscope sensor 180B can be used to determine the motion attitude of the device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the device 100 around three axes (i.e., the x-axis, y-axis, and z-axis). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the device 100's shake, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the device 100 through reverse movement, thus achieving image stabilization. The gyroscope sensor 180B can also be used in scenarios such as navigation and motion-sensing games.
[0078] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the device 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.
[0079] The magnetic sensor 180D includes a Hall sensor. The device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip cover. In some embodiments, when the device 100 is a flip phone, the device 100 can detect the opening and closing of the flip cover based on the magnetic sensor 180D. The device 100 can set features such as automatic flip unlocking based on the detected opening and closing state of the cover or the flip cover.
[0080] The accelerometer 180E can detect the magnitude of acceleration of device 100 in various directions (typically the x-axis, y-axis, and z-axis). When device 100 is stationary, it can detect the magnitude and direction of gravity. The accelerometer 180E can also be used to identify the attitude of device 100, serving as input parameters for applications such as screen orientation switching and pedometers.
[0081] Distance sensor 180F is used to measure distance. Device 100 can measure distance via infrared or laser. In some embodiments, such as in a shooting scenario, device 100 can utilize distance sensor 180F for distance measurement to achieve fast focusing.
[0082] The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. Device 100 emits infrared light outward through the LED. Device 100 uses the photodiode to detect infrared reflected light from nearby objects. When reflected light is detected, device 100 can determine that an object is nearby. When no reflected light is detected, device 100 can determine that no object is nearby. Device 100 can use the proximity sensor 180G to detect whether the user is holding device 100 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 180G can also be used for automatic unlocking and automatic screen locking in folding or pocket modes.
[0083] The ambient light sensor 180L is used to sense the ambient light intensity. The device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light intensity. 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 be used in conjunction with the proximity sensor 180G to detect whether the device 100 is in a pocket to prevent accidental activation.
[0084] The fingerprint sensor 180H is used to collect fingerprints. The device 100 can use the characteristics of the collected fingerprints to unlock the device, access app locks, take photos, and answer calls.
[0085] Temperature sensor 180J is used to detect temperature. In some embodiments, device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, device 100 performs thermal protection by reducing the performance of a processor located near temperature sensor 180J to reduce power consumption. In other embodiments, when the temperature is below another threshold, device 100 heats battery 142 to prevent abnormal shutdown of device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.
[0086] Touch sensor 180K, also known as a touch device, can be disposed on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a touch display. Touch sensor 180K is used to detect touch operations applied to or near it. Touch sensor 180K can transmit 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 display screen 194. In other embodiments, touch sensor 180K may also be disposed on the surface of device 100, and in a different location from display screen 194.
[0087] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be incorporated into headphones to form bone conduction headphones. The audio module 170 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 180M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 180M to realize heart rate detection functionality.
[0088] Button 190 includes a power button and volume buttons. Button 190 can be a mechanical button or a touch button. Device 100 can receive button input signals and implement functions related to the button input signals.
[0089] Motor 191 can generate vibrations. Motor 191 can be used for incoming call notifications or for haptic feedback. Motor 191 can produce different vibration feedback effects for touch operations applied to different applications. Motor 191 can also produce different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenarios (e.g., time reminders, receiving messages, alarm clocks, and games) can correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0090] Indicator 192 can be an indicator light, which can be used to indicate charging status and power changes, or to indicate messages, missed calls and notifications.
[0091] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into the SIM card interface 195 to make contact with the device 100, or it can be removed from the SIM card interface 195 to detach from the device 100. The device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. Multiple cards can be inserted into the same SIM card interface 195 simultaneously; the multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with external memory cards. The device 100 interacts with the network through the SIM card to realize functions such as voice calls and data communication. In some embodiments, the device 100 uses an embedded SIM (eSIM) card, which can be embedded in the device 100 and cannot be separated from it.
[0092] Of the components of device 100, the display screen 194 is relatively easy to damage. Statistics show that screen repair orders account for more than 40% of all repair orders; therefore, detecting screen breakage is a very important task.
[0093] Figure 2 This application provides a screen breakage detection method. Method 200 includes the following:
[0094] S210, the target screen is detected by the first screen breakage detection method, and the first detection result is obtained.
[0095] S220, determine whether the target screen is a broken screen based on the first reference value and the first detection result, wherein the first reference value is the detection result obtained by detecting a complete screen using the first broken screen detection method.
[0096] In method 200, the target screen can be display screen 194.
[0097] The first screen breakage detection method can be the device physical feature detection method. When the target screen is broken, the physical features of the device to which the target screen belongs will change. Therefore, the target screen can be detected as broken based on the device physical features.
[0098] For example, if the capacitance value of a broken screen is less than that of a complete screen, the lower limit of the capacitance value of the complete screen can be used as a first reference value. The target screen's capacitance value and the first reference value are then used to determine whether the target screen is broken. When the target screen's capacitance value is greater than or equal to the first reference value, the target screen is determined to be in a complete state; when the target screen's capacitance value is less than the first reference value, the target screen is determined to be broken. Here, the target screen's capacitance value is an example of the first detection result, and all capacitance values in this application refer to the capacitance value of the screen when it is not pressed.
[0099] For example, if the airtightness of the device containing the broken screen is lower than that of the device containing the intact screen, air can be blown into the inner cavity of the intact screen device, and the maximum air pressure value of the inner cavity can be used as a first reference value. Subsequently, the same volume of air is blown into the inner cavity of the target screen device, and the maximum air pressure value of the inner cavity is detected. If the maximum air pressure value of the target screen device is much lower than the first reference value, the target screen is determined to be in a broken state; if the maximum air pressure value of the target screen device is equal to or close to the first reference value, the target screen is determined to be in an intact state. The maximum air pressure value of the target screen device is an example of the first detection result.
[0100] For example, when playing sound through a screen, the sound characteristics of a broken screen differ from those of a complete screen. The audio quality characteristics of the audio played through a complete screen can be used as a first reference value. Then, the same audio is played through a target screen. If the difference between the target screen's audio quality characteristics and the first reference value is significant, the target screen is determined to be broken; if the difference is small, the target screen is determined to be intact. Here, the target screen's audio quality characteristics are an example of the first detection result.
[0101] The above three detection methods are examples of the first screen breakage detection method. This application does not limit the specific content of the first screen breakage detection method.
[0102] As shown above, the first detection result needs to be compared with the first reference value to determine whether the target screen is broken. If the first detection result has an error, or if the first reference value is not set appropriately, it will lead to an incorrect judgment result. Therefore, when the first detection result indicates that the target screen is broken, the first detection result can be taken as a suspected result, and the following steps can be used to further determine whether the target screen is indeed broken.
[0103] S230, when the first reference value and the first detection result indicate that the target screen is a broken screen, the target screen is detected by the second broken screen detection method to obtain the second detection result.
[0104] S240, determine whether the target screen is a broken screen based on the second reference value and the second detection result, wherein the second reference value is correlated with multiple detection results obtained by using the second broken screen detection method to detect a complete screen multiple times.
[0105] The second screen breakage detection method can be a biometric identification detection method. When the target screen is broken, the optical properties of the target screen will change compared to the optical properties of the intact screen. Therefore, the biometric identification result based on the optical properties of the target screen will also change, and the target screen can be detected as broken based on the biometric identification result.
[0106] For example, the aforementioned biometric identification detection method uses an under-display optical fingerprint unlocking device. Because the light reflection and refraction paths change in a broken screen, the fingerprint recognition time (i.e., device unlocking time) on a broken screen is typically longer than that on a complete screen. Multiple fingerprint recognition times obtained by performing fingerprint recognition on a complete screen can be statistically analyzed, and the maximum value among these multiple fingerprint recognition times can be used as a second reference value. When the fingerprint recognition time of the target screen is less than or equal to the second reference value, the target screen is determined to be in a complete state; when the fingerprint recognition time of the target screen is greater than the first reference value, the target screen is determined to be in a broken state. The fingerprint recognition time of the target screen is an example of the second detection result.
[0107] For example, the aforementioned biometric identification detection method uses an under-display optical fingerprint unlocking device. Because the light reflection and refraction paths change in a broken screen, the fingerprint recognition success rate on a broken screen is typically lower than that on a complete screen (i.e., the device unlocking success rate). The fingerprint recognition success rate obtained by performing multiple fingerprint recognitions on a complete screen can be statistically analyzed, and this success rate can be used as a second reference value. When the fingerprint recognition success rate of the target screen is significantly lower than the second reference value, the target screen is determined to be broken; when the fingerprint recognition time of the target screen is greater than or close to the first reference value, the target screen is determined to be complete. The fingerprint recognition success rate of the target screen is an example of the second detection result.
[0108] In addition to using an under-display optical fingerprint unlocking device to detect the target screen, an under-display camera unlocking device can also be used. Because the light refraction path changes when the screen is broken, the unlocking time and success rate of the under-display camera unlocking device will decrease. Therefore, a method similar to the two embodiments described above can be used to determine whether the target screen is broken.
[0109] The aforementioned optical fingerprint unlocking device and under-display camera unlocking device are examples of the second screen breakage detection method. This application does not limit the specific content of the second screen breakage detection method.
[0110] If the second detection result and the second reference value indicate that the target screen is a broken screen, then the target screen is determined to be a broken screen; if the second detection result and the second reference value indicate that the target screen is a complete screen, then the target screen is determined to be a complete screen. Alternatively, other methods (such as manual observation) can be used to further determine whether the target screen is a broken screen.
[0111] In the above embodiments, the first reference value is a preset value that is closely related to physical characteristics. If the first reference value is not set reasonably, or if there is a deviation in the manufacturing process parameters of the target screen, the target screen will fail to pass the detection of the first broken screen detection method in an intact state.
[0112] For example, in the airtightness test of the device with the complete screen, if there is an error in the test of the maximum air pressure value in the inner cavity, the first reference value will be set too high. In this case, the target screen will not pass the first screen breakage detection method even if it is not broken. The target screen will still be judged as a broken screen by the first screen breakage detection method even if it is not broken.
[0113] For example, if impurities are mixed into the target screen during the manufacturing process, the sound emission characteristics of the target screen will be different from those of a screen without impurities. In this case, the target screen will still be judged as a broken screen by the first screen breakage detection method even if it is not broken.
[0114] Method 200 uses multiple detection methods, which is more reliable than a single detection and can correct erroneous conclusions from a single detection. Furthermore, the first reference value is a preset value and may be subject to random errors; the second reference value is a dynamic value closely related to statistical characteristics, which can overcome random errors. Therefore, using the judgment result of the second screen breakage detection method as the final result can improve the accuracy of screen breakage detection.
[0115] The above describes a method for determining whether a target screen is broken based on a second detection result (device unlocking time or device unlocking success rate). Optionally, it is also possible to determine whether a target screen is broken based on multiple second detection results. For example... Figure 3As shown, another screen breakage detection method provided in this application includes the following:
[0116] After the testing device starts screen testing, it acquires the capacitance value distribution of the target screen. This testing device can be the electronic device to which the target screen belongs, or it can be an electronic device different from the one to which the target screen belongs.
[0117] The principle of detecting screen breakage based on capacitance value is as follows:
[0118] The human body is a charged conductor. When a finger touches a glass panel coated with a transparent conductive layer of indium tin oxide (ITO), an induced capacitance is formed between the finger and the ITO electrodes. This increases the parasitic capacitance Cp (self-capacitance) between the ITO electrodes and the ground, and decreases the coupling capacitance Cm (mutual capacitance) between the two intersecting ITO electrodes. As a result, the detection circuit can detect the touch signal and the touch position.
[0119] Figure 4 This is a schematic diagram of the capacitance distribution of a complete screen in a non-touch state, as provided in this application.
[0120] Each square represents the capacitance value of a capacitive sensor, and different fillings represent different capacitance values. Hollow squares represent capacitance values greater than 1000 and less than 1100, dotted squares represent capacitance values greater than 900 and less than 1000, mesh squares represent capacitance values greater than 800 and less than 900, and solid squares represent capacitance values less than 800.
[0121] For a complete screen, only the capacitance value of certain areas such as the screen edges is less than 800. 800 can be used as the capacitance threshold (an example of the first reference value) to determine whether the target screen is a broken screen.
[0122] Figure 5 This is a schematic diagram of the capacitance distribution of a broken screen in a non-touch state, as provided in this application.
[0123] When the screen is broken, the capacitive sensor fails, and the hardware circuit containing the capacitive sensor will be in an open circuit or broken circuit state, causing the capacitance value of the broken part to be 0 or close to 0, as shown in the dashed box area.
[0124] For the target screen, if there are no capacitance values less than 800 in the capacitance distribution, or if only the edge areas of the target screen have capacitance values less than 800, then the target screen can be determined to be a complete screen. If there are capacitance values less than 800 in the capacitance distribution of the target screen, and the area corresponding to the capacitance value less than 800 is located in the middle of the target screen, then the target screen can be determined to be a suspected broken screen, and further testing can be performed using an under-display optical fingerprint unlocking device.
[0125] The principle of under-display optical fingerprint unlocking devices is as follows: Figure 6 As shown. The surface glass and OLED are the components of the screen, and the fingerprint visual area is the area on the surface glass covered by the finger. When light emitted from the OLED shines on the finger, some of the light is reflected back to the screen and refracted onto the optical fingerprint module. Subsequently, the optical fingerprint module transmits the light to the sensor through a prism, ultimately generating a fingerprint image. The processor compares the currently generated fingerprint image with a preset fingerprint image. If they match, fingerprint recognition is successful, and the device can be unlocked; if they do not match, fingerprint recognition fails, and unlocking the device is refused.
[0126] If the screen is broken, the light paths of both the light emitted by the OLED and the light reflected from the finger will change, resulting in a significant difference between the generated fingerprint image and the preset fingerprint image. The processor needs a considerable amount of time to determine whether the generated fingerprint image matches the preset image, and there is a high probability that fingerprint recognition will fail.
[0127] The detection device can obtain the current unlocking time and success rate of the under-display optical fingerprint unlocking device. If the current unlocking time is greater than a time threshold (an example of a second reference value), the target screen can be determined to be a broken screen. If the current unlocking time is less than or equal to the time threshold, the success rate and a success rate threshold (an example of a second reference value) can be used to determine whether the target screen is broken. When the success rate is less than or equal to the success rate threshold, the target screen can be determined to be a broken screen; when the success rate is greater than the success rate threshold, the target screen can be determined to be a complete screen.
[0128] The aforementioned time threshold can be the maximum value among multiple historical unlock times of the device containing the target screen, or it can be the weighted average of these multiple historical unlock times. The aforementioned success rate threshold can be the minimum or weighted average of the unlock success rates of multiple other devices, wherein the models of these multiple other devices are the same as the model of the device containing the target screen, and the screens of these multiple other devices are complete screens.
[0129] Figure 3In the method shown, the capacitance threshold is a preset value, which may be subject to random errors; the time threshold and success rate threshold are dynamic values closely related to statistical characteristics, which can overcome erroneous conclusions caused by the random errors of the capacitance threshold. Furthermore, if there are deviations in the manufacturing process parameters of the target screen, even if the target screen is a complete screen, it may not pass the capacitance value detection. Secondary detection can correct erroneous conclusions caused by deviations in the manufacturing process parameters of the target screen. Therefore, Figure 3 The method shown can improve the accuracy of screen breakage detection.
[0130] The foregoing section detailed examples of the screen breakage detection method provided in this application. It is understood that the corresponding apparatus, in order to achieve the above functions, includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0131] This application can divide the screen breakage detection device into functional units based on the above method example. For example, each function can be divided into its own functional unit, or two or more functions can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0132] Figure 7 This is a schematic diagram of a screen breakage detection device provided in this application. The device 700 includes a processing unit 710, which performs the following steps.
[0133] The target screen is detected using the first screen breakage detection method to obtain the first detection result;
[0134] The target screen is determined to be a broken screen based on the first reference value and the first detection result. The first reference value is the detection result obtained by detecting a complete screen using the first broken screen detection method.
[0135] When the first reference value and the first detection result indicate that the target screen is a broken screen, the target screen is detected by the second broken screen detection method to obtain the second detection result;
[0136] The target screen is determined to be a broken screen based on the second reference value and the second detection result. The second reference value is correlated with multiple detection results obtained by using the second screen breakage detection method to detect a complete screen multiple times.
[0137] Optionally, the processing unit 710 is specifically used for:
[0138] When the second reference value and the second detection result indicate that the target screen is a broken screen, the target screen is determined to be a broken screen; or...
[0139] When the second reference value and the second detection result indicate that the target screen is a complete screen, the target screen is determined to be a complete screen.
[0140] Optionally, the second screen breakage detection method includes a device unlock detection method, the second detection result includes the device unlock time, the second reference value includes a time threshold, and the processing unit 710 is specifically used for:
[0141] When the device unlock time is less than the time threshold, the target screen is determined to be a complete screen; or...
[0142] When the device unlocking time is greater than or equal to the time threshold, the target screen is determined to be a broken screen.
[0143] Optionally, the second screen breakage detection method includes a device unlocking detection method, the second detection result includes a device unlocking success rate, the second reference value includes a success rate threshold, and the processing unit 710 is specifically used for:
[0144] When the device unlock success rate is greater than the success rate threshold, the target screen is determined to be a complete screen; or...
[0145] When the device unlocking success rate is less than or equal to the success rate threshold, the target screen is determined to be a broken screen.
[0146] Optionally, the second screen breakage detection method includes a device unlocking detection method, the second detection result includes device unlocking time and device unlocking success rate, the second reference value includes a time threshold and a success rate threshold, and the processing unit 710 is specifically used for:
[0147] When the device unlocking time is less than the time threshold, and when the device unlocking success rate is greater than the success rate threshold, the target screen is determined to be a complete screen; or,
[0148] When the device unlocking time is greater than or equal to the time threshold, or when the device unlocking success rate is less than or equal to the success rate threshold, the target screen is determined to be a broken screen.
[0149] The specific method by which device 700 performs screen breakage detection and the beneficial effects thereof can be found in the relevant description in the method embodiments.
[0150] Figure 8 A schematic diagram of the structure of an electronic device provided in this application is shown. Figure 8 The dashed lines indicate that the unit or module is optional. Device 800 can be used to implement the methods described in the above method embodiments. Device 800 can be a terminal device.
[0151] The device 800 includes one or more processors 801, which can support the implementation of the methods in the method embodiments. The processor 801 can be a general-purpose processor or a special-purpose processor. For example, the processor 801 can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0152] The processor 801 can be used to control the device 800, execute software programs, and process data from the software programs.
[0153] The device 800 may include one or more memories 802, on which a program 804 is stored. The program 804 can be executed by a processor 801 to generate instructions 803, causing the processor 801 to execute the method described in the above method embodiments according to the instructions 803. Optionally, the memory 802 may also store data. Optionally, the processor 801 may also read data stored in the memory 802 (e.g., a first detection result, a first reference value, a second detection result, and a second reference value). This data may be stored at the same storage address as the program 804, or it may be stored at a different storage address than the program 804.
[0154] The processor 801 and memory 802 can be configured separately or integrated together, for example, integrated on the system-on-chip (SOC) of the terminal device.
[0155] Device 800 may also include screen 805.
[0156] This application also provides a computer program product that, when executed by processor 801, implements the methods described in any of the method embodiments of this application.
[0157] The computer program product can be stored in memory 802, for example, program 804. Program 804 is finally converted into an executable object file that can be executed by processor 801 after processing such as preprocessing, compilation, assembly and linking.
[0158] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the methods described in any of the method embodiments of this application. The computer program may be a high-level language program or an executable object program.
[0159] The computer-readable storage medium is, for example, memory 802. Memory 802 can be volatile memory or non-volatile memory, or memory 802 can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0160] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process and technical effects of the above-described apparatus and equipment can be referred to the corresponding processes and technical effects in the foregoing method embodiments, and will not be repeated here.
[0161] In the several embodiments provided in this application, the systems, apparatuses, and methods disclosed can be implemented in other ways. For example, some features of the method embodiments described above can be ignored or not performed. The apparatus embodiments described above are merely illustrative; the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Multiple units or components can be combined or integrated into another system. Furthermore, the coupling between units or components can be direct coupling or indirect coupling, including electrical, mechanical, or other forms of connection.
[0162] It should be understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0163] Furthermore, the terms "system" and "network" are often used interchangeably in this paper. The term "and / or" in this paper merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " in this paper generally indicates that the preceding and following related objects have an "or" relationship.
[0164] In summary, the above description is merely a preferred embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method for detecting broken screens, characterized in that, include: The target screen is detected by a first screen breakage detection method to obtain a first detection result. The first screen breakage detection method is a device physical feature detection method. The target screen is determined to be a broken screen based on the first reference value and the first detection result. The first reference value is the detection result obtained by detecting a complete screen using the first broken screen detection method. When the first reference value and the first detection result indicate that the target screen is a broken screen, the target screen is detected by a second broken screen detection method to obtain a second detection result. The second broken screen detection method is a biometric recognition detection method. The target screen is determined to be a broken screen based on the second reference value and the second detection result. The second reference value is correlated with multiple detection results obtained by using the second screen breakage detection method to detect a complete screen multiple times.
2. The method according to claim 1, characterized in that, The step of determining whether the target screen is a broken screen based on the second reference value and the second detection result includes: When the second reference value and the second detection result indicate that the target screen is a broken screen, the target screen is determined to be a broken screen; or... When the second reference value and the second detection result indicate that the target screen is a complete screen, the target screen is determined to be a complete screen.
3. The method according to claim 1 or 2, characterized in that, The second screen breakage detection method includes a device unlock detection method, the second detection result includes a device unlock time, and the second reference value includes a time threshold. The step of determining whether the target screen is a broken screen based on the second reference value and the second detection result includes: When the device unlock time is less than the time threshold, the target screen is determined to be a complete screen; or... When the device unlocking time is greater than or equal to the time threshold, the target screen is determined to be a broken screen.
4. The method according to claim 1 or 2, characterized in that, The second screen breakage detection method includes a device unlocking detection method, the second detection result includes a device unlocking success rate, and the second reference value includes a success rate threshold. The step of determining whether the target screen is a broken screen based on the second reference value and the second detection result includes: When the device unlock success rate is greater than the success rate threshold, the target screen is determined to be a complete screen; or... When the device unlocking success rate is less than or equal to the success rate threshold, the target screen is determined to be a broken screen.
5. The method according to claim 1 or 2, characterized in that, The second screen breakage detection method includes a device unlocking detection method, the second detection result includes device unlocking time and device unlocking success rate, and the second reference value includes a time threshold and a success rate threshold. Determining whether the target screen is a broken screen based on the second reference value and the second detection result includes: When the device unlocking time is less than the time threshold, and when the device unlocking success rate is greater than the success rate threshold, the target screen is determined to be a complete screen; or, When the device unlocking time is greater than or equal to the time threshold, or when the device unlocking success rate is less than or equal to the success rate threshold, the target screen is determined to be a broken screen.
6. The method according to claim 1 or 2, characterized in that, The second reference value is correlated with multiple detection results obtained by using the second screen breakage detection method to detect a complete screen multiple times, including: The second reference value is the upper limit, lower limit, weighted average, or detection pass rate threshold of multiple detection results obtained by using the second screen breakage detection method to detect a complete screen multiple times.
7. A device for detecting broken screens, characterized in that, The apparatus includes a processor and a memory for storing a computer program, and the processor for calling and running the computer program from the memory, such that the apparatus performs the method of any one of claims 1 to 6.
8. A chip, characterized in that, Includes a processor, which, when executing instructions, performs the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 6.