Screen detection method, device and electronic equipment
By using a fingerprint module to detect the light emitted from the screen under a set detection environment, obtaining the excitation signal and matching it with the calibration signal parameters, the problem of genuine product identification when the screen is replaced in under-display fingerprint recognition devices is solved, improving detection accuracy and security.
Patent Information
- Application Number
- CN202111626799.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2041-12-28
AI Technical Summary
In existing technologies, when replacing the screen of an under-display fingerprint recognition device, it is difficult to effectively distinguish between genuine and illegally copied parts, resulting in low counterfeiting costs and insufficient security.
By using a target signal to drive the terminal screen under a set detection environment, the fingerprint module under the screen detects the light emitted by the screen, obtains the excitation signal, and matches it with the calibration signal parameters for detection, ensuring that the screen performance parameters meet the standards.
It improves the accuracy of abnormal screen detection, enhances the security and display quality of terminal devices, increases the cost of counterfeiting, and ensures that the screens are genuine original products.
Smart Images

Figure CN116363704B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of terminals, and in particular, to a screen detection method and device and electronic equipment. BACKGROUND
[0002] With the continuous development of terminal technology, fingerprint recognition has become a common unlocking method for terminal devices. In order to improve the screen ratio of terminal devices, under-screen fingerprint technology has emerged. In under-screen fingerprint recognition, the screen is the key, and the characteristics of the screen of the terminal device will affect the under-screen fingerprint recognition effect, and even affect the security of fingerprint recognition. Therefore, for terminal devices using under-screen fingerprint technology, it is more necessary to ensure that the screen is the original factory accessory.
[0003] In related technologies, whether the accessory is a known original factory accessory is generally determined by directly reading and comparing the accessory ID. However, the accessory ID written in the accessory storage is very easy to be illegally copied, and the accessory counterfeiting method is simple and the counterfeiting cost is low. SUMMARY
[0004] The present disclosure aims to at least solve one of the technical problems in the related art to some extent.
[0005] To this end, the present disclosure aims to provide a screen detection method, device and electronic equipment.
[0006] The first aspect of the present disclosure provides a screen detection method, comprising:
[0007] In a set detection environment, driving the screen of the terminal with a target signal;
[0008] Detecting the light emitted by the screen under the driving of the target signal through a fingerprint module under the screen to obtain an excitation signal corresponding to the set detection environment;
[0009] According to whether the excitation signal corresponding to the set detection environment matches a calibration signal parameter corresponding to the set detection environment, detecting the screen.
[0010] Optionally, the detecting the screen according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment comprises:
[0011] Determining the signal duty cycle and signal amplitude of the excitation signal corresponding to the set detection environment;
[0012] In the case that the signal duty cycle of the excitation signal matches a calibration duty cycle in the calibration signal parameter, and the signal amplitude of the excitation signal matches a calibration amplitude in the calibration signal parameter, determining that the screen is normal.
[0013] In a case where a signal duty cycle of the excitation signal does not match a calibration duty cycle in the calibration signal parameter, and / or a signal amplitude of the excitation signal does not match a calibration amplitude in the calibration signal parameter, it is determined that the screen is abnormal.
[0014] Optionally, after the signal duty cycle and the signal amplitude of the excitation signal corresponding to the set detection environment are determined, the method further comprises:
[0015] The calibration duty cycle corresponding to the set detection environment and the corresponding calibration amplitude are read from a memory of the terminal.
[0016] Optionally, the set detection environment is multiple.
[0017] The detection of the screen according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment comprises:
[0018] The excitation signal corresponding to each set detection environment is compared with the calibration signal parameter in the corresponding set detection environment.
[0019] In a case where the comparison results in the multiple set detection environments are all matching, it is determined that the screen is normal.
[0020] In a case where the comparison result in at least one set detection environment is not matching, it is determined that the screen is abnormal.
[0021] Optionally, the multiple set detection environments comprise at least one of a darkroom environment, a natural light environment, and a reflection cavity environment.
[0022] In the darkroom environment, a darkroom for absorbing the light at least covers a region of the screen corresponding to the fingerprint module.
[0023] In the reflection cavity environment, a reflection cavity for reflecting the light at least covers a region of the screen corresponding to the fingerprint module.
[0024] A second aspect embodiment of the present disclosure provides a screen detection device, comprising:
[0025] A driving module is configured to drive a screen of a terminal by using a target signal in a set detection environment.
[0026] A detection module is configured to detect light emitted by the screen under the target signal driving through a fingerprint module under the screen, so as to obtain an excitation signal corresponding to the set detection environment.
[0027] The processing module is configured to detect the screen according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment.
[0028] Optionally, the processing module comprises:
[0029] The detection unit is configured to determine a signal duty cycle and a signal amplitude of the excitation signal corresponding to the set detection environment.
[0030] The first discrimination unit is configured to determine that the screen is normal when the signal duty cycle of the excitation signal matches a calibration duty cycle in the calibration signal parameter, and the signal amplitude of the excitation signal matches a calibration amplitude in the calibration signal parameter.
[0031] The second discrimination unit is configured to determine that the screen is abnormal when the signal duty cycle of the excitation signal does not match the calibration duty cycle in the calibration signal parameter, and / or the signal amplitude of the excitation signal does not match the calibration amplitude in the calibration signal parameter.
[0032] Optionally, the device comprises:
[0033] The reading module is configured to read the calibration duty cycle corresponding to the set detection environment and the corresponding calibration amplitude from the memory of the terminal.
[0034] Optionally, the set detection environment is multiple; and the processing module is configured to:
[0035] Compare the excitation signal corresponding to each set detection environment with the calibration signal parameter in the corresponding set detection environment respectively;
[0036] Determine that the screen is normal when the comparison results of the multiple set detection environments are all matching;
[0037] Determine that the screen is abnormal when the comparison result of at least one set detection environment is not matching.
[0038] Optionally, the multiple set detection environments comprise at least one of a darkroom environment, a natural light environment, and a reflection cavity environment.
[0039] In the darkroom environment, a darkroom for absorbing the light at least covers the fingerprint module area corresponding to the screen.
[0040] In the reflection cavity environment, a reflection cavity for reflecting the light at least covers the fingerprint module area corresponding to the screen.
[0041] The third aspect of the present disclosure provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to invoke and execute the executable instructions stored in the memory to implement the screen detection method of the first aspect of the present disclosure.
[0042] The fourth aspect of the present disclosure provides a non-transitory computer readable storage medium, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the screen detection method of the first aspect of the present disclosure.
[0043] The technical solution of the present disclosure can drive the screen of the terminal by using the target signal under the set detection environment, detect the light emitted by the screen under the driving of the target signal by the fingerprint module under the screen, obtain the excitation signal corresponding to the set detection environment, and detect the screen according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment, so as to ensure that the performance parameter of the screen meets the standard, improve the accuracy of abnormal screen detection, effectively improve the detection rate of abnormal screens, increase the cost of counterfeiting, effectively improve the security of the terminal device, and improve the display quality of the terminal device.
[0044] Additional aspects and advantages of the present disclosure will be in part apparent and in part pointed out hereinafter in the description of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0045] The above and / or additional aspects and advantages of the present disclosure will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
[0046] Figure 1 A flowchart of a screen detection method provided by an embodiment of the present disclosure;
[0047] Figure 2 A hardware side view of a screen detection provided by an embodiment of the present disclosure;
[0048] Figure 3 A flowchart of another screen detection method provided by an embodiment of the present disclosure;
[0049] Figure 4 A hardware side view of a screen detection in a darkroom environment provided by an embodiment of the present disclosure;
[0050] Figure 5 A flowchart of another screen detection method provided by an embodiment of the present disclosure;
[0051] Figure 6A hardware side view of a screen detection method in a reflective cavity environment according to an embodiment of the present disclosure;
[0052] Figure 7 A flowchart of another screen detection method according to an embodiment of the present disclosure;
[0053] Figure 8 A hardware side view of a screen detection method in a natural light environment according to an embodiment of the present disclosure;
[0054] Figure 9a An excitation signal of a detected normal screen according to an embodiment of the present disclosure;
[0055] Figure 9b An excitation signal of a detected abnormal screen according to an embodiment of the present disclosure;
[0056] Figure 10 A flowchart of another screen detection method according to an embodiment of the present disclosure;
[0057] Figure 11 A flowchart of another screen detection method according to an embodiment of the present disclosure;
[0058] Figure 12 A structural diagram of a screen detection device according to an embodiment of the present disclosure;
[0059] Figure 13 A structural block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0060] Embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. Examples of the embodiments are shown in the drawings, in which the same or similar components are denoted by the same or similar reference numerals throughout. The embodiments described below by reference to the drawings are exemplary and are intended to explain the present disclosure, and cannot be understood as limiting the present disclosure.
[0061] A screen detection method, device and electronic device according to an embodiment of the present disclosure are described below with reference to the accompanying drawings.
[0062] Figure 1 A flowchart of a screen detection method according to an embodiment of the present disclosure.
[0063] As shown in Figure 1 , the screen detection method can include the following steps:
[0064] Step 101, in a set detection environment, a target signal is used to drive the screen of a terminal.
[0065] In the embodiments of the present disclosure, the screen of the terminal can be brightened, produce a light spot, emit light under the driving of the target signal, and the light spot can be displayed according to the characteristics of the target signal.
[0066] Optionally, the target signal is a group of pulse signals with preset frequency, duty cycle and amplitude, such as a PWM (Pulse Width Modulation) waveform. It can be understood that the frequency, duty cycle and amplitude of the target signal can be adjusted according to different test hardware.
[0067] It can be understood that, in order to achieve the purpose of abnormal screen detection and improve the detection rate of abnormal screens, the amplitude of the target signal is generally the maximum amplitude supported by the terminal (that is, the maximum brightness of the terminal). The frequency of the target signal is a specific frequency, which is related to the color displayed by the screen of the terminal device and the screen flashing frequency.
[0068] In some embodiments, the set detection environment can be multiple, and the screen of the terminal is driven by the target signal under each set detection environment.
[0069] Optionally, the set detection environment includes at least one of a darkroom environment, a natural light environment and a reflection cavity environment.
[0070] In step 102, the light emitted by the screen under the driving of the target signal is detected by the fingerprint module under the screen to obtain the excitation signal corresponding to the set detection environment.
[0071] In the embodiments of the present disclosure, the hardware side view of the screen detection is as shown in Figure 2 The screen 201 of the terminal has a cover glass (CG) 202 on the top and a fingerprint module 203 under the screen.
[0072] In some embodiments, the light includes at least one of reflected light reflected by the cover glass and transmitted light transmitted through the cover glass of the brightened light spot on the screen.
[0073] In some embodiments, the light is received by the sensor in the fingerprint module, and the corresponding excitation signal under the set detection environment is obtained.
[0074] Optionally, the sensor is a color sensor, such as an RGB sensor.
[0075] In the embodiments of the present disclosure, the set detection environment can be multiple, that is, multiple detection environments are set.
[0076] Optionally, the set detection environment includes at least one of a darkroom environment, a natural light environment and a reflection cavity environment.
[0077] In the darkroom environment, the darkroom for absorbing light covers at least the screen area corresponding to the fingerprint module.
[0078] In some embodiments, the detection environment is set as a darkroom environment, and a darkroom for absorbing light covers at least the screen area corresponding to the fingerprint module. The light detected by the fingerprint module is reflected light reflected by the cover plate glass from the bright spot on the screen.
[0079] In some embodiments, the detection environment is set as a reflection cavity environment, and a reflection cavity for reflecting light covers at least the screen area corresponding to the fingerprint module. The light detected by the fingerprint module is reflected light reflected by the cover plate glass from the bright spot on the screen and transmitted light transmitted through the cover plate glass after being reflected by the reflection cavity.
[0080] In some embodiments, the detection environment is set as a natural light environment, which is used to simulate the environment when the terminal device is normally used by a user. The light detected by the fingerprint module is reflected light reflected by the cover plate glass and transmitted light transmitted through the cover plate glass.
[0081] Optionally, the natural light environment has a human body part (such as a finger) shielding or covering the screen area corresponding to the fingerprint module. The light detected by the fingerprint module is reflected light reflected by the cover plate glass from the bright spot on the screen and transmitted light transmitted through the cover plate glass after being reflected by the human body part.
[0082] In step 103, the screen is detected according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment.
[0083] The calibration signal parameter refers to a signal parameter obtained by a manufacturer of the terminal device before the corresponding screen detection in the set detection environment.
[0084] Optionally, the calibration signal parameter can be sent and stored in the memory of the terminal.
[0085] In the embodiments of the present disclosure, if the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment, it indicates that the screen is normal. If the excitation signal does not match the calibration signal parameter, it indicates that the screen is abnormal.
[0086] Optionally, only when the signal amplitude of the excitation signal matches the calibration amplitude in the calibration signal parameter and the signal duty cycle of the excitation signal matches the calibration duty cycle in the calibration signal parameter, it is determined that the screen is normal.
[0087] The signal amplitude and the signal duty cycle of the excitation signal, either of which does not match the corresponding calibration signal parameter, determines that the screen is an abnormal screen.
[0088] In the embodiments of the present disclosure, the terminal device can determine the signal amplitude and the signal duty cycle of the obtained excitation signal. The calibration amplitude and the calibration duty cycle are obtained by reading the calibration signal parameters stored in the memory.
[0089] In some embodiments, in the case of setting multiple detection environments, detecting the screen includes: respectively comparing the excitation signal corresponding to each set detection environment with the calibration signal parameter under the corresponding set detection environment, and determining that the screen is normal in the case that the comparison results under multiple set detection environments are all matching; and determining that the screen is abnormal in the case that the comparison result under at least one set detection environment is not matching.
[0090] That is, in the case of setting multiple detection environments, the excitation signal matches the calibration signal parameter under the corresponding detection environment in each detection environment, and only the excitation signal does not match the corresponding calibration signal parameter in one detection environment, then the screen is determined to be an abnormal screen.
[0091] In the embodiments, by driving the screen of the terminal device with the target signal under the set detection environment, the light emitted by the screen under the driving of the target signal is detected by the fingerprint module under the screen to obtain the excitation signal corresponding to the set detection environment, and the screen is detected according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment, which can ensure that the performance parameters of the screen meet the standards, improve the accuracy of abnormal screen detection, effectively improve the detection rate of abnormal screens, increase the cost of counterfeiting, effectively improve the security of the terminal device, and improve the display quality of the terminal device.
[0092] Figure 3 A flowchart of another screen detection method provided by the embodiments of the present disclosure is shown.
[0093] As shown in Figure 3 , the screen detection method can include the following steps:
[0094] Step 301, driving the screen of the terminal device with a target signal under a darkroom environment.
[0095] In the embodiments of the present disclosure, the set detection environment is a darkroom environment. As shown in Figure 4 , the darkroom environment includes a light source and a light shielding device. Figure 4 A hardware side sectional view of a screen detection in a darkroom environment provided by the embodiments of the present disclosure.
[0096] In the darkroom environment, the darkroom covers at least the area of the screen corresponding to the fingerprint module. The light absorption rate of the darkroom meets a preset threshold.
[0097] It can be understood that, in the darkroom environment, the darkroom should at least cover the area of the screen corresponding to the fingerprint module, i.e., the effective area of the fingerprint module view angle, that is, the area in which the fingerprint module can detect light. The darkroom can also completely cover the screen of the mobile phone.
[0098] Optionally, the darkroom can absorb at least 98% of the light.
[0099] In the embodiments of the present disclosure, in the darkroom environment, the screen of the terminal is driven by a target signal. Under the driving of the target signal, the screen of the terminal can be brightened, generate a light spot, and emit light. The light spot can be displayed according to the characteristics of the target signal.
[0100] Optionally, the target signal is a group of pulse signals with a preset frequency, duty cycle, and amplitude, such as a PWM waveform. It can be understood that the frequency, duty cycle, amplitude, and other parameters of the target signal can be adjusted according to different test hardware.
[0101] It can be understood that, in order to achieve the purpose of abnormal screen detection and improve the detection rate of abnormal screens, the amplitude of the target signal is generally the maximum amplitude supported by the terminal (i.e., the maximum brightness of the terminal). The frequency of the target signal is a specific frequency related to the color displayed by the screen of the terminal device and the screen flashing frequency.
[0102] In step 302, the light emitted by the screen under the driving of the target signal is detected by the fingerprint module under the screen to obtain an excitation signal corresponding to the darkroom environment.
[0103] In the darkroom environment, the light emitted by the screen is absorbed by the darkroom, and the light detected by the fingerprint module is reflected light after the brightened light spot on the screen is reflected by the cover glass.
[0104] In some embodiments, the light is received by a sensor in the fingerprint module, and an excitation signal corresponding to the darkroom environment is obtained.
[0105] Optionally, the sensor is a color sensor, such as an RGB sensor.
[0106] It can be understood that, in the darkroom environment, because the light emitted by the screen can be considered to be completely absorbed by the darkroom, the light detected by the fingerprint module can be considered to be only reflected light after being reflected by the cover glass. Therefore, the characteristic parameters of the excitation signal corresponding to the darkroom environment can reflect the reflection characteristics of the screen itself.
[0107] Step 303, determining the signal duty cycle and the signal amplitude of the excitation signal corresponding to the darkroom environment.
[0108] In the embodiment of the present disclosure, the terminal obtains the excitation signal in the darkroom environment after detecting the light through the fingerprint module, and determines the signal duty cycle and the signal amplitude of the excitation signal.
[0109] Step 304, reading the calibration duty cycle and the corresponding calibration amplitude corresponding to the darkroom environment from the memory of the terminal.
[0110] In the embodiment of the present disclosure, the terminal reads the calibration duty cycle and the calibration amplitude corresponding to the darkroom environment from the memory.
[0111] The calibration duty cycle and the calibration amplitude are signal parameters obtained by the manufacturer of the terminal device before the factory shipment by detecting the screen. That is, before the factory shipment, the screen is driven by the same target signal in the same darkroom environment, and the signal duty cycle and the signal amplitude of the signal obtained by receiving the light through the fingerprint module are obtained.
[0112] It can be understood that the calibration duty cycle and the calibration amplitude are universal. That is, for the screens of the same factory and the same batch, the calibration duty cycle and the calibration amplitude are approximately the same within a certain error.
[0113] Step 305, detecting the screen according to whether the excitation signal corresponding to the darkroom environment matches the calibration signal parameter corresponding to the darkroom environment.
[0114] In the embodiment of the present disclosure, if the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment, it indicates that the screen is normal, and if the excitation signal does not match the calibration signal parameter, it indicates that the screen is abnormal.
[0115] Optionally, only in the case that the signal amplitude of the excitation signal matches the calibration amplitude in the calibration signal parameter, and the signal duty cycle of the excitation signal matches the calibration duty cycle in the calibration signal parameter, it is determined that the screen is normal.
[0116] Either the signal amplitude or the signal duty cycle of the excitation signal does not match the corresponding calibration signal parameter, and it is determined that the screen is an abnormal screen.
[0117] The signal amplitude of the excitation signal matches the calibration amplitude in the calibration signal parameter, which means that the upper limit of the signal amplitude of the excitation signal can reach the upper limit threshold of the calibration amplitude, and the lower limit of the signal amplitude of the excitation signal can reach the lower limit threshold of the calibration amplitude. The signal duty cycle of the excitation signal matches the calibration duty cycle in the calibration signal parameter, which means that the holding time of the duty cycle of the excitation signal can reach the holding time of the calibration duty cycle.
[0118] The signal amplitude of the excitation signal does not match the calibration amplitude in the calibration signal parameter means that the upper limit of the signal amplitude of the excitation signal cannot reach the upper limit threshold of the calibration amplitude, and / or the lower limit of the signal amplitude of the excitation signal cannot reach the lower limit threshold of the calibration amplitude. The signal duty cycle of the excitation signal does not match the calibration duty cycle in the calibration signal parameter means that the holding time of the duty cycle of the excitation signal cannot reach the holding time of the calibration duty cycle.
[0119] That is, as a first possible embodiment, the signal duty cycle of the excitation signal matches the calibration duty cycle, but the signal amplitude of the excitation signal does not match the calibration amplitude, and it is determined that the screen is an abnormal screen.
[0120] As a second possible embodiment, the signal amplitude of the excitation signal matches the calibration amplitude, but the signal duty cycle of the excitation signal does not match the calibration duty cycle, and it is determined that the screen is an abnormal screen.
[0121] As a third possible embodiment, the signal duty cycle of the excitation signal does not match the calibration duty cycle, and the signal amplitude of the excitation signal also does not match the calibration amplitude, and it is determined that the screen is an abnormal screen.
[0122] In this embodiment, in a darkroom environment, the screen of the terminal is driven by a target signal, and the light emitted by the screen under the fingerprint module is detected to obtain the excitation signal corresponding to the darkroom environment. The signal duty cycle and signal amplitude of the excitation signal corresponding to the darkroom environment are determined, the calibration duty cycle corresponding to the darkroom environment is read from the memory of the terminal, and the calibration amplitude corresponding to the darkroom environment is read from the memory of the terminal. According to whether the excitation signal corresponding to the darkroom environment matches the calibration signal parameter corresponding to the darkroom environment, the screen is detected, which can ensure that the performance parameters of the screen meet the standards, improve the accuracy of abnormal screen detection, effectively improve the detection rate of abnormal screens, and improve the security of the terminal device and the display quality of the terminal device.
[0123] Figure 5 A flowchart of another screen detection method provided by the embodiment of the present disclosure is shown.
[0124] As shown in Figure 5 , the screen detection method can include the following steps:
[0125] Step 501, in a reflection cavity environment, a target signal is used to drive the screen of the terminal.
[0126] In the embodiment of the present disclosure, the detection environment is a reflection cavity environment. As shown in Figure 6 , Figure 6 A hardware side view of a screen detection in a reflection cavity environment provided by the embodiment of the present disclosure is shown.
[0127] In the reflective cavity environment, the reflective cavity covers at least the area of the screen corresponding to the fingerprint module. The reflectivity of the reflective cavity to the light meets a preset threshold.
[0128] It can be understood that, in the reflective cavity environment, the reflective cavity should at least cover the area of the screen corresponding to the fingerprint module, i.e., the effective area of the viewing angle of the fingerprint module, that is, the area in which the fingerprint module can detect light. The reflective cavity can also completely cover the screen of the mobile phone.
[0129] Optionally, the reflective cavity meets the requirement of reflecting at least 90% of the light.
[0130] In the embodiments of the present disclosure, in the reflective cavity environment, the screen of the terminal is driven by a target signal. Under the driving of the target signal, the screen of the terminal can be brightened to generate a light spot and emit light. The light spot can be displayed according to the characteristics of the target signal.
[0131] Optionally, the target signal is a group of pulse signals with a preset frequency, duty cycle and amplitude, such as a PWM waveform. It can be understood that the frequency, duty cycle and amplitude of the target signal can be adjusted according to different test hardware.
[0132] It can be understood that, in order to achieve the purpose of detecting abnormal screens and improve the detection rate of abnormal screens, the amplitude of the target signal is generally the maximum amplitude supported by the terminal (i.e., the maximum brightness of the terminal). The frequency of the target signal is a specific frequency, which is related to the color displayed by the screen of the terminal and the screen flashing frequency.
[0133] In step 502, the light emitted by the screen under the driving of the target signal is detected by the fingerprint module under the screen to obtain an excitation signal corresponding to the reflective cavity environment.
[0134] In the reflective cavity environment, the light emitted by the screen is reflected by the reflective cavity. The light detected by the fingerprint module is reflected light reflected by the cover glass after the bright light spot on the screen is reflected, and transmitted light transmitted through the cover glass after the bright light spot on the screen is reflected by the reflective cavity.
[0135] In some embodiments, the light is received by a sensor in the fingerprint module, and an excitation signal corresponding to the reflective cavity environment is obtained.
[0136] Optionally, the sensor is a color sensor, such as an RGB sensor.
[0137] It can be understood that, in the reflection cavity environment, because the light emitted by the screen can be considered to be completely reflected by the reflection cavity, the light detected by the fingerprint module can be considered to be reflected light after being reflected by the cover glass and transmitted light after being completely reflected and then transmitted through the screen, therefore, the difference between the characteristic parameters of the excitation signal corresponding to the reflection cavity environment and the characteristic parameters of the excitation signal corresponding to the darkroom environment can reflect the transmission characteristics of the screen itself.
[0138] In step 503, the signal duty cycle and the signal amplitude of the excitation signal corresponding to the reflection cavity environment are determined.
[0139] In the embodiment of the present disclosure, after the terminal detects the light through the fingerprint module, the terminal obtains the excitation signal in the reflection cavity environment, and determines the signal duty cycle and the signal amplitude of the excitation signal.
[0140] In step 504, the calibration duty cycle corresponding to the reflection cavity environment and the corresponding calibration amplitude are read from the memory of the terminal.
[0141] In the embodiment of the present disclosure, the terminal reads the calibration duty cycle and the calibration amplitude corresponding to the reflection cavity environment from the memory.
[0142] The calibration duty cycle and the calibration amplitude are signal parameters obtained by the manufacturer of the terminal device before the factory shipment by detecting the screen. That is, before the factory shipment, the screen is driven by the same target signal in the same reflection cavity environment, and the signal duty cycle and the signal amplitude of the signal obtained by receiving the light through the fingerprint module are obtained.
[0143] It can be understood that the calibration duty cycle and the calibration amplitude are universal. That is, for the screens of the same factory and the same batch, the calibration duty cycle and the calibration amplitude are approximately the same within a certain error.
[0144] In step 505, the screen is detected according to whether the excitation signal corresponding to the reflection cavity environment matches the calibration signal parameters corresponding to the reflection cavity environment.
[0145] In the embodiment of the present disclosure, if the excitation signal corresponding to the set detection environment matches the calibration signal parameters corresponding to the set detection environment, it indicates that the screen is normal, and if the excitation signal does not match the calibration signal parameters, it indicates that the screen is abnormal.
[0146] Optionally, only in the case that the signal amplitude of the excitation signal matches the calibration amplitude in the calibration signal parameters, and the signal duty cycle of the excitation signal matches the calibration duty cycle in the calibration signal parameters, it is determined that the screen is normal.
[0147] If any one of the signal amplitude and the signal duty cycle of the excitation signal does not match the corresponding calibration signal parameters, it is determined that the screen is an abnormal screen.
[0148] The signal amplitude of the excitation signal matches the calibration amplitude in the calibration signal parameter means that the upper limit of the signal amplitude of the excitation signal can reach the upper limit threshold of the calibration amplitude, and the lower limit of the signal amplitude of the excitation signal can reach the lower limit threshold of the calibration amplitude. The signal duty cycle of the excitation signal matches the calibration duty cycle in the calibration signal parameter means that the duty cycle holding time of the excitation signal can reach the duty cycle holding time of the calibration.
[0149] The signal amplitude of the excitation signal does not match the calibration amplitude in the calibration signal parameter means that the upper limit of the signal amplitude of the excitation signal cannot reach the upper limit threshold of the calibration amplitude, and / or the lower limit of the signal amplitude of the excitation signal cannot reach the lower limit threshold of the calibration amplitude. The signal duty cycle of the excitation signal does not match the calibration duty cycle in the calibration signal parameter means that the duty cycle holding time of the excitation signal cannot reach the duty cycle holding time of the calibration.
[0150] That is, as a first possible embodiment, the signal duty cycle of the excitation signal matches the calibration duty cycle, but the signal amplitude of the excitation signal does not match the calibration amplitude, and it is determined that the screen is an abnormal screen.
[0151] As a second possible embodiment, the signal amplitude of the excitation signal matches the calibration amplitude, but the signal duty cycle of the excitation signal does not match the calibration duty cycle, and it is determined that the screen is an abnormal screen.
[0152] As a third possible embodiment, the signal duty cycle of the excitation signal does not match the calibration duty cycle, and the signal amplitude of the excitation signal also does not match the calibration amplitude, and it is determined that the screen is an abnormal screen.
[0153] In this embodiment, in the reflective cavity environment, the screen of the terminal is driven by the target signal, the light emitted by the screen under the driving of the target signal is detected by the fingerprint module below the screen, to obtain the excitation signal corresponding to the reflective cavity environment, the signal duty cycle and the signal amplitude of the excitation signal corresponding to the reflective cavity environment are determined, the calibration duty cycle corresponding to the reflective cavity environment and the corresponding calibration amplitude are read from the memory of the terminal, and whether the excitation signal corresponding to the reflective cavity environment matches the calibration signal parameter corresponding to the reflective cavity environment is determined, to detect the screen. It can be guaranteed that the performance parameters of the screen meet the standards, the accuracy of abnormal screen detection is improved, the detection rate of abnormal screens is effectively improved, the cost of counterfeiting is improved, the security of the terminal equipment is effectively improved, and the display quality of the terminal equipment is improved.
[0154] Figure 7 A flowchart of another screen detection method provided by the embodiment of the present disclosure is shown.
[0155] As Figure 7As shown, the screen detection method can include the following steps:
[0156] Step 701, in a natural light environment, a target signal is used to drive the screen of the terminal.
[0157] In the embodiments of the present disclosure, the detection environment is a natural light environment. The natural light environment is used to simulate the environment when the terminal device is normally used by a user.
[0158] In some embodiments, the natural light environment has a human body part (such as a finger) shielding or covering the screen corresponding to the fingerprint module area, such as Figure 8 As shown, Figure 8 A hardware side view of the screen detection in the natural light environment provided by the embodiments of the present disclosure.
[0159] In the embodiments of the present disclosure, in a natural light environment, a target signal is used to drive the screen of the terminal. The screen of the terminal can be brightened, produce a light spot, and emit light under the driving of the target signal. The light spot can be displayed according to the characteristics of the target signal.
[0160] Optionally, the target signal is a group of pulse signals with a preset frequency, duty cycle, and amplitude, such as a PWM waveform. It can be understood that the frequency, duty cycle, and amplitude of the target signal can be adjusted according to different test hardware.
[0161] It can be understood that, in order to achieve the purpose of abnormal screen detection and improve the detection rate of abnormal screens, the amplitude of the target signal is generally the maximum amplitude supported by the terminal (that is, the maximum brightness of the terminal). The frequency of the target signal is a specific frequency, which is related to the color displayed by the screen of the terminal device and the screen flashing frequency.
[0162] Step 702, the light emitted by the screen under the driving of the target signal is detected by the fingerprint module under the screen to obtain an excitation signal corresponding to the natural light environment.
[0163] In the natural light environment, part of the light emitted by the screen can be absorbed. The light detected by the fingerprint module is reflected light reflected by the cover glass after the bright light spot on the screen, and transmission light transmitted through the cover glass after the bright light spot on the screen is reflected by the human body part(The transmission light is not shown in the figure). Figure 8
[0164] In some embodiments, the light is received by a sensor in the fingerprint module, and an excitation signal corresponding to the natural light environment is obtained.
[0165] Optionally, the sensor is a color sensor, such as an RGB sensor.
[0166] Step 703, determine the signal duty cycle and signal amplitude of the excitation signal corresponding to the natural light environment.
[0167] In the embodiment of the present disclosure, the terminal obtains the excitation signal in the natural light environment after detecting the light through the fingerprint module, and determines the signal duty cycle and signal amplitude of the excitation signal.
[0168] Step 704, read the calibration duty cycle corresponding to the natural light environment and the corresponding calibration amplitude from the memory of the terminal.
[0169] In the embodiment of the present disclosure, the terminal reads the calibration duty cycle and calibration amplitude corresponding to the natural light environment from the memory.
[0170] The calibration duty cycle and calibration amplitude are signal parameters obtained by the manufacturer of the terminal device before the factory. That is, before the factory, the same target signal is used to drive the screen in the same natural light environment, and the signal duty cycle and signal amplitude of the signal obtained by receiving the light through the fingerprint module are obtained.
[0171] Step 705, according to whether the excitation signal corresponding to the natural light environment matches the calibration signal parameter corresponding to the natural light environment, detect the screen.
[0172] In the embodiment of the present disclosure, if the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment, it means that the screen is normal, and if the excitation signal does not match the calibration signal parameter, it means that the screen is abnormal.
[0173] It can be understood that the characteristic parameters of the excitation signal obtained by detecting the screen in the natural light environment have certain specificity, and the excitation signal corresponding to the natural light environment is related to the light absorption rate of the user's body part (such as finger) to a certain extent.
[0174] Optionally, only in the case that the signal amplitude of the excitation signal matches the calibration amplitude in the calibration signal parameter, and the signal duty cycle of the excitation signal matches the calibration duty cycle in the calibration signal parameter, it is determined that the screen is normal, as shown in Figure 9a Figure 9a An excitation signal of a detected normal screen provided by the embodiment of the present disclosure.
[0175] Either the signal amplitude or the signal duty cycle of the excitation signal does not match the corresponding calibration signal parameter, and the screen is determined to be an abnormal screen.
[0176] The signal amplitude of the excitation signal matches the calibration amplitude in the calibration signal parameter means that the upper limit of the signal amplitude of the excitation signal can reach the upper limit threshold of the calibration amplitude, and the lower limit of the signal amplitude of the excitation signal can reach the lower limit threshold of the calibration amplitude. The signal duty cycle of the excitation signal matches the calibration duty cycle in the calibration signal parameter means that the duty cycle retention time of the excitation signal can reach the duty cycle retention time of the calibration.
[0177] The signal amplitude of the excitation signal does not match the calibration amplitude in the calibration signal parameter means that the upper limit of the signal amplitude of the excitation signal cannot reach the upper limit threshold of the calibration amplitude, and / or the lower limit of the signal amplitude of the excitation signal cannot reach the lower limit threshold of the calibration amplitude. The signal duty cycle of the excitation signal does not match the calibration duty cycle in the calibration signal parameter means that the duty cycle retention time of the excitation signal cannot reach the duty cycle retention time of the calibration.
[0178] That is, as a first possible embodiment, the signal duty cycle of the excitation signal matches the calibration duty cycle, but the signal amplitude of the excitation signal does not match the calibration amplitude, and it is determined that the screen is an abnormal screen.
[0179] As a second possible embodiment, the signal amplitude of the excitation signal matches the calibration amplitude, but the signal duty cycle of the excitation signal does not match the calibration duty cycle, and it is determined that the screen is an abnormal screen.
[0180] As a third possible embodiment, the signal duty cycle of the excitation signal does not match the calibration duty cycle, and the signal amplitude of the excitation signal also does not match the calibration amplitude, and it is determined that the screen is an abnormal screen, as shown in Figure 9b Figure 9b An excitation signal of a detected abnormal screen provided by the embodiment of the present disclosure.
[0181] In the embodiment, under a natural light environment, a target signal is used to drive the screen of a terminal, and the light emitted by the screen under the driving of the target signal is detected by a fingerprint module under the screen to obtain an excitation signal corresponding to the natural light environment. The signal duty cycle and the signal amplitude of the excitation signal corresponding to the natural light environment are determined, the calibration duty cycle corresponding to the natural light environment and the corresponding calibration amplitude are read from the memory of the terminal, and whether the excitation signal corresponding to the natural light environment matches the calibration signal parameter corresponding to the natural light environment is determined to detect the screen. This can ensure that the performance parameters of the screen meet the standards, improve the accuracy of abnormal screen detection, effectively improve the detection rate of abnormal screens, increase the cost of counterfeiting, effectively improve the security of the terminal device, and improve the display quality of the terminal device.
[0182] Figure 10 A flowchart of another screen detection method provided by the embodiment of the present disclosure.
[0183] As shown in Figure 10 , the screen detection method can include the following steps:
[0184] Step 1001, under a set detection environment, a target signal is used to drive the screen of a terminal.
[0185] Step 1002, the light emitted by the screen under the driving of the target signal is detected by a fingerprint module under the screen, so as to obtain an excitation signal corresponding to the set detection environment.
[0186] Step 1003, the signal duty cycle and the signal amplitude of the excitation signal corresponding to the set detection environment are determined.
[0187] Step 1004, a calibration duty cycle corresponding to the set detection environment and a corresponding calibration amplitude are read from the memory of the terminal.
[0188] It can be understood that in the embodiments of the present disclosure, the set detection environment can be Figure 3 , Figure 5 , Figure 7 Any one or more of the embodiments described in the embodiments can also be used in other set detection environments, which are not limited herein.
[0189] In the embodiments of the present disclosure, steps 1001 to 1004 can be implemented by any one of the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be repeated.
[0190] Step 1005, according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameters corresponding to the natural light environment, the screen is detected.
[0191] In some embodiments, in the case of setting multiple detection environments, detecting the screen includes: respectively comparing the excitation signal corresponding to each set detection environment with the calibration signal parameters under the corresponding set detection environment, and in the case that the comparison results under multiple set detection environments are all matched, determining that the screen is normal; in the case that the comparison result under at least one set detection environment is not matched, determining that the screen is abnormal.
[0192] That is, in the case of setting multiple detection environments, the excitation signal under each detection environment matches the calibration signal parameters under the corresponding detection environment, and only if the excitation signal does not match the corresponding calibration signal parameters under one detection environment, the screen is determined to be an abnormal screen.
[0193] In the embodiment, in the set detection environment, the screen of the terminal is driven by the target signal, the light emitted by the screen under the driving of the target signal is detected by the fingerprint module under the screen to obtain the excitation signal corresponding to the set detection environment, the signal duty cycle and the signal amplitude of the excitation signal corresponding to the set detection environment are determined, the calibration duty cycle corresponding to the set detection environment and the corresponding calibration amplitude are read from the memory of the terminal, and the screen is detected according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameters corresponding to the set detection environment. The performance parameters of the screen can be ensured to meet the standards, the accuracy of abnormal screen detection is improved, the detection rate of abnormal screens is effectively improved, the cost of counterfeiting is improved, the security of the terminal device is effectively improved, and the display quality of the terminal device is improved.
[0194] In order to more clearly describe the technical solutions of the present disclosure, please refer to Figure 11 , Figure 11 The flowchart of another screen detection method provided by the embodiment of the present disclosure is shown.
[0195] As Figure 11 shown, screen detection under darkroom environment and under reflection cavity environment can be started once after factory shipment or after screen replacement to obtain excitation signal parameters data1 corresponding to the darkroom environment and excitation signal parameters data2 corresponding to the reflection cavity environment. In the darkroom environment, the transmittance, refractive index and the like of the screen can be detected, and in the reflection cavity environment, the color, pixels and the like of the screen can be detected. Screen detection under natural light environment can be automatically started each time fingerprint recognition is performed to obtain excitation signal parameters data3 corresponding to the natural light environment. The data1, data2 and data3 constitute a feature parameter set of the screen. In some embodiments, the feature parameter set can be uploaded to a database as reference data of calibration signal parameters. The terminal device can read the feature parameter set through the CPU (central processing unit), that is, read the excitation signal parameters of the excitation signal corresponding to each detection environment, and the terminal device compares the read excitation signal parameters with the calibration signal parameters read from the database. If the parameters do not match, it is judged that the screen is abnormal, and the screen is prompted to be abnormal or the use of some functions of the terminal device (such as fingerprint recognition unlocking and the like) is limited. If the parameters match, it is judged that the screen is normal, and the terminal can be normally used.
[0196] In order to realize the above-mentioned embodiments, the present disclosure provides a screen detection device.
[0197] Figure 12 The structure diagram of a screen detection device provided by the embodiment of the present disclosure is shown.
[0198] As Figure 12As shown, the screen detection apparatus comprises a driving module 1210, a detection module 1220 and a processing module 1230, wherein:
[0199] The driving module 1210 is configured to drive the screen of the terminal with a target signal under a set detection environment.
[0200] The detection module 1220 is configured to detect light emitted by the screen under the driving of the target signal by means of a fingerprint module under the screen, so as to obtain an excitation signal corresponding to the set detection environment.
[0201] The processing module 1230 is configured to detect the screen according to whether the excitation signal corresponding to the set detection environment matches a calibration signal parameter corresponding to the set detection environment.
[0202] Optionally, the processing module 1230 comprises:
[0203] A detection unit is configured to determine a signal duty cycle and a signal amplitude of the excitation signal corresponding to the set detection environment.
[0204] A first discrimination unit is configured to determine that the screen is normal in a case where the signal duty cycle of the excitation signal matches a calibration duty cycle in the calibration signal parameter, and the signal amplitude of the excitation signal matches a calibration amplitude in the calibration signal parameter.
[0205] A second discrimination unit is configured to determine that the screen is abnormal in a case where the signal duty cycle of the excitation signal does not match the calibration duty cycle in the calibration signal parameter, and / or the signal amplitude of the excitation signal does not match the calibration amplitude in the calibration signal parameter.
[0206] Optionally, the apparatus comprises:
[0207] A reading module is configured to read the calibration duty cycle corresponding to the set detection environment and the corresponding calibration amplitude from a memory of the terminal.
[0208] Optionally, the set detection environment is multiple; and the processing module is configured to:
[0209] Compare the excitation signal corresponding to each set detection environment with a calibration signal parameter under the corresponding set detection environment respectively;
[0210] Determine that the screen is normal in a case where comparison results under multiple set detection environments are all matching;
[0211] Determine that the screen is abnormal in a case where a comparison result under at least one set detection environment is not matching.
[0212] Optionally, the multiple setting detection environments include at least one of a darkroom environment, a natural light environment, and a reflection cavity environment.
[0213] In the darkroom environment, a darkroom for absorbing the light rays covers at least the screen corresponding to the fingerprint module area.
[0214] In the reflection cavity environment, a reflection cavity for reflecting the light rays covers at least the screen corresponding to the fingerprint module area.
[0215] In the embodiments of the present disclosure, by driving the screen of the terminal under the target signal in the setting detection environment, the light emitted by the screen under the driving of the target signal is detected by the fingerprint module under the screen to obtain the excitation signal corresponding to the setting detection environment. According to whether the excitation signal corresponding to the setting detection environment matches the calibration signal parameter corresponding to the setting detection environment, the screen is detected, which can ensure that the performance parameter of the screen meets the standard, improve the accuracy of abnormal screen detection, effectively improve the detection rate of abnormal screens, increase the cost of counterfeiting, effectively improve the security of the terminal device, and improve the display quality of the terminal device.
[0216] It should be noted that the foregoing explanation and description of the screen detection method embodiments are also applicable to the screen detection device of this embodiment, which will not be described here.
[0217] Figure 13 is a structural block diagram of an electronic device provided by the embodiments of the present disclosure.
[0218] As shown in Figure 13 the electronic device 1300 includes a memory 1310 and a processor 1320, and a bus 1330 connecting different components including the memory 1310 and the processor 1320.
[0219] The memory 1310 is configured to store executable instructions of the processor 1320; the processor 1320 is configured to call and execute the executable instructions stored in the memory 1310 to implement the screen detection method proposed in the above embodiments of the present disclosure.
[0220] The bus 1330 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to industry standard architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video electronics standards association (VESA) local bus, and peripheral component interconnect (PCI) bus.
[0221] Electronic device 1300 typically includes a variety of computer system readable media. These media can be any available media that is accessible by electronic device 1300 and includes both volatile and non-volatile media, removable and non-removable media.
[0222] Memory 1310 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1340 and / or cache memory 1350. Electronic device 1300 can further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 1360 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (e.g., a "hard drive"). Figure 13 Although not shown, a magnetic disk drive can also be utilized in some embodiments to access magnetic on-removable, non-volatile magnetic media including one or more Figure 13 diskette drive to read from or write to a removable, non-volatile tape storage drive (e.g., an optical disk like a CD-ROM). In such instances, each can be connected to bus 1330 by one or more data media interfaces. The memory 1310 can include at least a program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
[0223] Program / utility 1380 having a set (at least one) of program modules 1370, can be stored in memory 1310 by way of example, such as an operating system, one or more application programs, other program modules, and program data, each of or some combination of which can include an implementation of a network environment. Program modules 1370 generally carry out the functions and / or methodologies of embodiments of the disclosure as described herein.
[0224] The electronic device 1300 can also communicate with one or more external devices 1390 such as a keyboard or pointing device, a display 1391, etc.; one or more devices that enable a user to interact with the electronic device 1300; and / or one or more devices (e.g., a networking module, a modem, etc.) that enable the electronic device 1300 to communicate with one or more other computing devices. Such communication can occur via an input / output (I / O) interface 1392. Still yet, the electronic device 1300 can communicate with one or more networks (such as one or more local area networks (LANs), one or more wide area networks (WANs), and / or one or more public networks such as the Internet) via a network adapter 1393. As depicted, the network adapter 1393 is communicatively coupled to the other components of the electronic device 1300 via a bus 1330. It should be appreciated that the electronic device 1300 can be implemented using a variety of other hardware and / or software components, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
[0225] The processor 1320 performs various function applications and data processing by running programs stored in the memory 1310.
[0226] To implement the above-mentioned embodiments, the embodiments of the present disclosure provide a non-transitory computer-readable storage medium, instructions in the storage medium being executed by a processor of an electronic device, so that the electronic device can perform the screen detection method proposed in any of the above-mentioned embodiments.
[0227] To implement the above-mentioned embodiments, the embodiments of the present disclosure provide a computer program product, the computer program being executed by a processor of an electronic device, so that the electronic device can perform the screen detection method proposed in any of the above-mentioned embodiments.
[0228] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In the specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any suitable manner in any one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples without contradiction.
[0229] Moreover, the terms "first", "second", "third", etc. are used herein only to describe different steps or categories of steps in a claim for patent purposes, and are not to be construed as implying or implying relative importance or a number of indicated technical features. Thus, features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise explicitly specified.
[0230] Any process or method descriptions or descriptions of the flow diagrams described herein or otherwise described herein can be understood as representing modules, segments, or portions of code that include one or more executable instructions for implementing specific logical functions or steps in the process, and the preferred embodiments of the present disclosure include additional implementations that can not be described in detail in the description of the flow diagrams, the description of the flow diagrams, or otherwise described herein. The scope of the preferred embodiments of the present disclosure includes additional implementations that can not be described in detail in the description of the flow diagrams, the description of the flow diagrams, or otherwise described herein, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.
[0231] The logic and / or steps represented in the flow diagrams or otherwise described herein, for example, can be considered as a list of executable instructions for implementing the logic function, which can be specifically embodied in any computer-readable medium for use by or in conjunction with an instruction execution system, device or apparatus, such as a computer-based system, a system including a processor, or other system that can take instructions from an instruction execution system, device or apparatus and execute them. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate or transport a program for use by or in conjunction with an instruction execution system, device or apparatus, or in conjunction with these instruction execution systems, devices or apparatus. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connections having one or more wires (electronic devices), portable computer diskette (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM). In addition, a computer-readable medium can even be paper or other suitable medium on which the program can be printed, as the program can be electronically obtained, for example, by optical scanning of the paper or other medium, followed by electronic conversion, interpretation or processing, if necessary, in other suitable manner, and then stored in a computer memory.
[0232] It should be understood that portions of the present disclosure can be realized with hardware, software, firmware or a combination thereof. In the above embodiments, a plurality of steps or methods can be realized with software or firmware stored in a memory and executed by a suitable instruction execution system. As such, if realized with hardware and in another embodiment, any one or a combination of the following technologies known in the art can be used: discrete logic circuit with logic gate circuit for implementing logic functions on data signals, application specific integrated circuit with suitable combination logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA), etc.
[0233] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiment method can be completed by a program instructing the relevant hardware, and the program can be stored in a computer readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0234] In addition, each functional unit in each embodiment of the present disclosure can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above-mentioned integrated module can be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
[0235] The above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and cannot be understood as limiting the present disclosure, and those skilled in the art can make changes, modifications, replacements and variations to the above-mentioned embodiments within the scope of the present disclosure.
Claims
1. A screen detection method characterized by, The method comprises the following steps: driving the screen of the terminal by a target signal in a set detection environment; detecting light emitted by the screen under the driving of the target signal by a fingerprint module under the screen to obtain an excitation signal corresponding to the set detection environment; detecting the screen according to whether the excitation signal corresponding to the set detection environment matches a calibration signal parameter corresponding to the set detection environment; the detection of the screen according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment comprises: determining a signal duty cycle and a signal amplitude of the excitation signal corresponding to the set detection environment; in the case that the signal duty cycle of the excitation signal matches a calibration duty cycle in the calibration signal parameter and the signal amplitude of the excitation signal matches a calibration amplitude in the calibration signal parameter, determining that the screen is normal.
2. The method of claim 1, wherein, the detection of the screen according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment further comprises: in the case that the signal duty cycle of the excitation signal does not match the calibration duty cycle in the calibration signal parameter and / or the signal amplitude of the excitation signal does not match the calibration amplitude in the calibration signal parameter, determining that the screen is abnormal.
3. The method of claim 2, wherein, after the determination of the signal duty cycle and the signal amplitude of the excitation signal corresponding to the set detection environment, the method comprises: reading the calibration duty cycle corresponding to the set detection environment and the corresponding calibration amplitude from a memory of the terminal.
4. The method according to any one of claims 1 to 3, characterized in that, the set detection environment is multiple; the detection of the screen according to whether the excitation signal corresponding to the set detection environment matches the calibration signal parameter corresponding to the set detection environment comprises: respectively comparing the excitation signal corresponding to each set detection environment with the calibration signal parameter in the corresponding set detection environment; in the case that the comparison results in the multiple set detection environments are all matching, determining that the screen is normal; in the case that the comparison result in at least one set detection environment is not matching, determining that the screen is abnormal.
5. The method of claim 4, wherein, the multiple set detection environments comprise at least one of a darkroom environment, a natural light environment and a reflection cavity environment; in the darkroom environment, a darkroom for absorbing the light at least covers a fingerprint module area corresponding to the screen; in the reflection cavity environment, a reflection cavity for reflecting the light at least covers the fingerprint module area corresponding to the screen.
6. A screen detection apparatus characterized by comprising: The method comprises: a driving module for driving the screen of the terminal by a target signal in a set detection environment; a detection module for detecting light emitted by the screen under the driving of the target signal by a fingerprint module under the screen to obtain an excitation signal corresponding to the set detection environment; a processing module for detecting the screen according to whether the excitation signal corresponding to the set detection environment matches a calibration signal parameter corresponding to the set detection environment; the processing module comprises: The detection unit is configured to determine a signal duty cycle and a signal amplitude of the excitation signal corresponding to the set detection environment. The first determination unit is configured to determine that the screen is normal when the signal duty cycle of the excitation signal matches the calibration duty cycle in the calibration signal parameter, and the signal amplitude of the excitation signal matches the calibration amplitude in the calibration signal parameter.
7. The apparatus of claim 6, wherein, The processing module further comprises: The second determination unit is configured to determine that the screen is abnormal when the signal duty cycle of the excitation signal does not match the calibration duty cycle in the calibration signal parameter, and / or the signal amplitude of the excitation signal does not match the calibration amplitude in the calibration signal parameter.
8. The apparatus of claim 7, wherein, The device comprises: The reading module is configured to read the calibration duty cycle and the corresponding calibration amplitude corresponding to the set detection environment from the memory of the terminal.
9. The apparatus of any one of claims 6-8, wherein, The set detection environment is multiple, and the processing module is configured to: Compare the excitation signal corresponding to each set detection environment with the calibration signal parameter in the corresponding set detection environment respectively; Determine that the screen is normal when the comparison results in multiple set detection environments are all matched; Determine that the screen is abnormal when the comparison result in at least one set detection environment is not matched.
10. The apparatus of claim 9, wherein, The multiple set detection environments comprise at least one of a darkroom environment, a natural light environment, and a reflection cavity environment. In the darkroom environment, a darkroom for absorbing the light at least covers a fingerprint module area corresponding to the screen. In the reflection cavity environment, a reflection cavity for reflecting the light at least covers the fingerprint module area corresponding to the screen.
11. An electronic device comprising: at least one processor; and a memory communicatively connected with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to perform the method of any one of claims 1-5.
Citation Information
Patent Citations
Control method, control device, electronic device, storage medium and computer equipment
CN108924347A
Display screen detection method and device, mobile terminal and storage medium
CN110062074A