CN116363704A - Screen detection method and device and electronic equipment - Google Patents

Screen detection method and device and electronic equipment Download PDF

Info

Publication number
CN116363704A
CN116363704A CN202111626799.1A CN202111626799A CN116363704A CN 116363704 A CN116363704 A CN 116363704A CN 202111626799 A CN202111626799 A CN 202111626799A CN 116363704 A CN116363704 A CN 116363704A
Authority
CN
China
Prior art keywords
screen
signal
environment
calibration
set detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111626799.1A
Other languages
Chinese (zh)
Inventor
郝宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111626799.1A priority Critical patent/CN116363704A/en
Publication of CN116363704A publication Critical patent/CN116363704A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • G01M11/02Testing optical properties
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure provides a screen detection method, a device and electronic equipment, wherein the method comprises the following steps: under a set detection environment, a target signal is adopted to drive a screen of a terminal, a fingerprint module under the screen is used for detecting light rays emitted by the screen under the driving of the target signal, so that an excitation signal corresponding to the set detection environment is obtained, according to the excitation signal corresponding to the set detection environment, whether calibration signal parameters corresponding to the set detection environment are matched or not is detected for the screen, the performance parameters of the screen can be ensured to reach standards, the detection accuracy of an abnormal screen is improved, the detection rate of the abnormal screen is effectively improved, meanwhile, the fake making cost is improved, the safety of terminal equipment is effectively improved, and the display quality of the terminal equipment is improved.

Description

Screen detection method and device and electronic equipment
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to a screen detection method, a screen detection device and electronic equipment.
Background
With the continuous development of terminal technology, fingerprint identification has become a common unlocking mode of terminal equipment, and in order to improve the screen occupation ratio of the terminal equipment, an under-screen fingerprint technology has been developed. In the on-screen fingerprint identification, the screen is key, and the characteristics of the screen of the terminal equipment can influence the on-screen fingerprint identification effect and even influence the safety of fingerprint identification, so that the screen of the terminal equipment adopting the on-screen fingerprint technology is replaced, and the screen is more required to be ensured to be a genuine accessory of an original factory.
In the related art, whether the fitting is a known factory fitting is generally judged by directly reading and comparing the fitting ID, but the fitting ID which is generally written in the fitting storage is very easy to be illegally copied, the fitting fake making method is simple and the fake making cost is low.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
Therefore, the disclosure aims to provide a screen detection method, a screen detection device and electronic equipment.
An embodiment of a first aspect of the present disclosure provides a screen detection method, including:
under a set detection environment, driving a screen of the terminal by adopting a target signal;
detecting light rays emitted by the screen under the driving of the target signal through the fingerprint module under the screen to obtain excitation signals corresponding to the set detection environment;
and detecting the screen according to whether the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment.
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 includes:
Determining the signal duty ratio and the signal amplitude of the excitation signal corresponding to the set detection environment;
determining that the screen is normal when the signal duty ratio of the excitation signal is matched with the calibration duty ratio in the calibration signal parameters and the signal amplitude of the excitation signal is matched with the calibration amplitude in the calibration signal parameters;
and determining that the screen is abnormal under the condition that the signal duty ratio of the excitation signal is not matched with the calibration duty ratio in the calibration signal parameters and/or the signal amplitude of the excitation signal is not matched with the calibration amplitude in the calibration signal parameters.
Optionally, after determining the signal duty ratio and the signal amplitude for the excitation signal corresponding to the set detection environment, the method includes:
and reading the calibration duty ratio corresponding to the set detection environment and the corresponding calibration amplitude from a memory of the terminal.
Optionally, the setting detection environment is multiple;
the step of detecting the screen according to whether the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment, comprising the following steps:
Respectively comparing the excitation signals corresponding to the set detection environments with the calibration signal parameters corresponding to the set detection environments;
under the condition that the comparison results in the plurality of set detection environments are all matched, determining that the screen is normal;
and determining that the screen is abnormal under the condition that the comparison result is not matched in at least one set detection environment.
Optionally, the plurality of the set detection environments include at least one of a darkroom environment, a natural light environment, and a reflective cavity environment;
under the darkroom environment, the darkroom for absorbing the light at least covers the area of the screen corresponding to the fingerprint module;
and under the environment of the reflecting cavity, the reflecting cavity for reflecting the light rays at least covers the area of the screen corresponding to the fingerprint module.
An embodiment of a second aspect of the present disclosure provides a screen detection apparatus, including:
the driving module is used for driving a screen of the terminal by adopting a target signal under a set detection environment;
the detection module is used for detecting light rays emitted by the screen under the driving of the target signal through the fingerprint module under the screen so as to obtain excitation signals corresponding to the set detection environment;
And the processing module is used for detecting the screen according to whether the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment.
Optionally, the processing module includes:
the detection unit is used for determining the signal duty ratio and the signal amplitude of the excitation signal corresponding to the set detection environment;
the first judging unit is used for determining that the screen is normal under the condition that the signal duty ratio of the excitation signal is matched with the calibration duty ratio in the calibration signal parameters and the signal amplitude of the excitation signal is matched with the calibration amplitude in the calibration signal parameters;
and the second judging unit is used for determining the screen abnormality under the condition that the signal duty ratio of the excitation signal is not matched with the calibration duty ratio in the calibration signal parameters and/or the signal amplitude of the excitation signal is not matched with the calibration amplitude in the calibration signal parameters.
Optionally, the apparatus comprises:
and the reading module is used for reading the calibration duty ratio corresponding to the set detection environment and the corresponding calibration amplitude from the memory of the terminal.
Optionally, the setting detection environment is multiple; the processing module is used for:
respectively comparing the excitation signals corresponding to the set detection environments with the calibration signal parameters corresponding to the set detection environments;
under the condition that the comparison results in the plurality of set detection environments are all matched, determining that the screen is normal;
and determining that the screen is abnormal under the condition that the comparison result is not matched in at least one set detection environment.
Optionally, the plurality of the set detection environments include at least one of a darkroom environment, a natural light environment, and a reflective cavity environment;
under the darkroom environment, the darkroom for absorbing the light at least covers the area of the screen corresponding to the fingerprint module;
and under the environment of the reflecting cavity, the reflecting cavity for reflecting the light rays at least covers the area of the screen corresponding to the fingerprint module.
An embodiment of a third aspect of the present disclosure provides an electronic device, including: 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 according to the embodiment of the first aspect of the present disclosure.
An embodiment of a fourth aspect of the present disclosure proposes a non-transitory computer-readable storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the screen detection method proposed by the embodiment of the first aspect of the present disclosure.
According to the technical scheme, the screen of the terminal is driven by the target signal under the set detection environment, the light emitted by the screen under the drive of the target signal is detected by the fingerprint module under the screen, so that the excitation signal corresponding to the set detection environment is obtained, whether the calibration signal parameters corresponding to the set detection environment are matched or not is detected according to the excitation signal corresponding to the set detection environment, the performance parameters of the screen can be ensured to reach the standard, the detection accuracy of the abnormal screen is improved, the detection rate of the abnormal screen is effectively improved, meanwhile, the fake-making cost is improved, the safety of terminal equipment is effectively improved, and the display quality of the terminal equipment is improved.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flowchart of a screen detection method according to an embodiment of the disclosure;
FIG. 2 is a side cross-sectional view of hardware for screen inspection provided by an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating another screen detection method according to an embodiment of the disclosure;
FIG. 4 is a side cross-sectional view of hardware for screen inspection in a darkroom environment, according to an embodiment of the present disclosure;
fig. 5 is a flowchart of another screen detection method according to an embodiment of the disclosure;
FIG. 6 is a side cross-sectional view of hardware for screen inspection in a reflective cavity environment provided by an embodiment of the present disclosure;
fig. 7 is a flowchart of another screen detection method according to an embodiment of the disclosure;
FIG. 8 is a side cross-sectional view of a hardware for screen inspection in a natural light environment according to an embodiment of the present disclosure;
FIG. 9a is an excitation signal of a detected normal screen provided by an embodiment of the present disclosure;
FIG. 9b is an excitation signal of a detected anomaly screen provided by an embodiment of the present disclosure;
Fig. 10 is a flowchart of another screen detection method according to an embodiment of the disclosure;
FIG. 11 is a flowchart illustrating another screen detection method according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a screen detection device according to an embodiment of the present disclosure;
fig. 13 is a block diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present disclosure and are not to be construed as limiting the present disclosure.
The screen detection method, the device and the electronic equipment of the embodiment of the disclosure are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a screen detection method according to an embodiment of the disclosure.
As shown in fig. 1, the screen detection method may include the steps of:
step 101, under the set detection environment, driving a screen of the terminal by using the target signal.
In the embodiment of the disclosure, a screen of the terminal can be lightened under the drive of a target signal to generate light spots and emit light, and the light spots can be displayed according to the characteristics of the target signal.
Alternatively, the target signal is a set of pulse signals having a preset frequency, duty cycle, amplitude, such as a PWM (Pulse Width Modulation ) waveform. It can be appreciated that the parameters of the frequency, duty cycle, amplitude, etc. of the target signal can be adjusted accordingly according to the hardware tested.
It will be appreciated that for the purpose of detecting an abnormal screen, the detection rate of the abnormal screen is improved, and 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, and is related to the color displayed on the screen of the terminal equipment and the frequency of the screen flash.
In some embodiments, the set detection environments may be plural, and the target signal may be used to drive the screen of the terminal in each set detection environment.
Optionally, the set detection environment includes at least one of a darkroom environment, a natural light environment, and a reflective cavity environment.
Step 102, detecting light rays emitted by the screen under the driving of the target signal by the fingerprint module under the screen to obtain excitation signals corresponding to the set detection environment.
In the embodiment of the disclosure, as shown in fig. 2, a side sectional view of hardware of screen detection is shown, where a Cover Glass (CG) 202 is provided on a screen 201 of the terminal, and a fingerprint module 203 is provided under the screen.
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 at a bright spot on the screen.
In some embodiments, the light is received by a sensor in the fingerprint module, and a corresponding excitation signal under the set detection environment is obtained.
Alternatively, the sensor is a color sensor, such as an RGB sensor.
In the embodiment of the present disclosure, the set detection environment may be plural, that is, plural detection environments are set.
Optionally, the set detection environment includes at least one of a darkroom environment, a natural light environment, and a reflective cavity environment.
The darkroom is used for absorbing light and at least covers the area of the screen corresponding to the fingerprint module under the darkroom environment. Under the environment of the reflecting cavity, the reflecting cavity for reflecting light at least covers the area of the screen corresponding to the fingerprint module.
In some embodiments, the detection environment is set to be a darkroom environment, and the darkroom for absorbing light at least covers a region of the screen corresponding to the fingerprint module, where the light detected by the fingerprint module is reflected light reflected by the cover glass from a bright spot on the screen.
In some embodiments, the detection environment is set to be a reflective cavity environment, and the reflective cavity for reflecting light at least covers a region of the screen corresponding to the fingerprint module, where the light detected by the fingerprint module is reflected light reflected by the cover glass from a bright spot on the screen, and transmitted light reflected by the reflective cavity and transmitted through the cover glass from the bright spot on the screen.
In some embodiments, the detection environment is set to be a natural light environment, and the detection environment is set to simulate an 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.
Optionally, the natural light environment includes shielding or covering a region of the screen corresponding to the fingerprint module by a human body part (such as a finger), and the light detected by the fingerprint module is reflected light of a bright spot on the screen reflected by the cover glass, and transmitted light of the bright spot on the screen reflected by the human body part and transmitted through the cover glass.
And step 103, detecting the screen according to whether the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment.
The calibration signal parameters are signal parameters obtained by corresponding screen detection performed by a manufacturer of the terminal equipment before delivery under a set detection environment.
Alternatively, the calibration signal parameters may be sent to and stored in the memory of the terminal.
In the embodiment of the disclosure, if the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment, the screen is indicated to be normal, and if the excitation signal is not matched with the calibration signal parameter, the screen is indicated to be abnormal.
Alternatively, the screen is determined to be normal only if the signal amplitude of the excitation signal matches the nominal amplitude in the nominal signal parameter and the signal duty cycle of the excitation signal matches the nominal duty cycle in the nominal signal parameter.
And determining that the screen is an abnormal screen when any one of the signal amplitude and the signal duty ratio of the excitation signal is not matched with the corresponding calibration signal parameter.
In the embodiment of the disclosure, the terminal equipment can determine the signal amplitude and the signal duty ratio of the excitation signal according to the obtained excitation signal. And obtaining the calibration amplitude and the calibration duty ratio by reading the calibration signal parameters stored in the memory.
In some embodiments, in the case where a plurality of detection environments are set, detecting the screen includes: comparing excitation signals corresponding to the set detection environments with calibration signal parameters under the corresponding set detection environments, and determining that the screen is normal under the condition that comparison results under the set detection environments are all matched; and determining that the screen is abnormal under the condition that the comparison result is not matched in at least one set detection environment.
That is, in the case that a plurality of detection environments are set, in each detection environment, the excitation signal is matched with the parameter of the calibration signal in the corresponding detection environment, the screen is determined to be normal, and if only one detection environment exists, the excitation signal is not matched with the parameter of the corresponding calibration signal, the screen is determined to be an abnormal screen.
In this embodiment, under a set detection environment, a target signal is adopted to drive a screen of a terminal, a fingerprint module under the screen is used to detect light rays emitted by the screen under the drive of the target signal, so as to obtain an excitation signal corresponding to the set detection environment, and according to whether the excitation signal corresponding to the set detection environment is matched with a calibration signal parameter corresponding to the set detection environment, the screen is detected, so that the performance parameter of the screen can be ensured to reach the standard, the detection accuracy of an abnormal screen is improved, the detection rate of the abnormal screen is effectively improved, meanwhile, the fake-making cost is improved, the safety of terminal equipment is effectively improved, and the display quality of the terminal equipment is improved.
Fig. 3 is a flowchart illustrating another screen detection method according to an embodiment of the disclosure.
As shown in fig. 3, the screen detection method may include the steps of:
in step 301, in a darkroom environment, a target signal is used to drive a screen of a terminal.
In an embodiment of the present disclosure, the set detection environment is a darkroom environment. As shown in fig. 4, fig. 4 is a side cross-sectional view of hardware for screen detection in a darkroom environment according to an embodiment of the present disclosure.
In the darkroom environment, the darkroom for absorbing light at least covers the area of the screen corresponding to the fingerprint module. The absorptivity requirement of the dark room on the light meets a preset threshold.
It will be appreciated that in a darkroom environment, the darkroom should cover at least the area of the screen corresponding to the fingerprint module, i.e. the effective area of the fingerprint module in view, i.e. the area where the fingerprint module can detect light. The darkroom can also completely cover the mobile phone screen.
Optionally, the darkroom is capable of absorbing at least 98% of the light.
In the embodiment of the disclosure, in a darkroom environment, a target signal is adopted to drive a screen of a terminal, the screen of the terminal can be lightened under the drive of the target signal to generate light spots and emit light, and the light spots can be displayed according to the characteristics of the target signal.
Alternatively, the target signal is a set of pulse signals, such as PWM waveforms, having a preset frequency, duty cycle, amplitude. It can be appreciated that the parameters of the frequency, duty cycle, amplitude, etc. of the target signal can be adjusted accordingly according to the hardware tested.
It will be appreciated that for the purpose of detecting an abnormal screen, the detection rate of the abnormal screen is improved, and 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, and is related to the color displayed on the screen of the terminal equipment and the frequency of the screen flash.
Step 302, detecting light rays emitted by the screen under the driving of the target signal by the fingerprint module under the screen to obtain excitation signals corresponding to the darkroom environment.
In darkroom environment, the light emitted by the screen is absorbed by the darkroom, and the light detected by the fingerprint module is reflected light of the bright light spots on the screen reflected by the cover plate glass.
In some embodiments, the light is received by a sensor in the fingerprint module, and a corresponding excitation signal is obtained in the darkroom environment.
Alternatively, the sensor is a color sensor, such as an RGB sensor.
It can be understood that, in the darkroom environment, the light emitted by the screen can be considered to be completely absorbed by the darkroom, and the light detected by the fingerprint module can be considered to be only reflected light after being reflected by the cover glass, so that the characteristic parameters of the excitation signal corresponding to the darkroom environment can reflect the reflection characteristics of the screen.
Step 303, determining the signal duty cycle and the signal amplitude of the excitation signal corresponding to the darkroom environment.
In the embodiment of the disclosure, after detecting light through the fingerprint module, the terminal obtains an excitation signal in a darkroom environment, and determines a signal duty ratio and a signal amplitude of the excitation signal.
And 304, reading the corresponding calibration duty ratio and the corresponding calibration amplitude of the darkroom environment from a memory of the terminal.
In the embodiment of the disclosure, the terminal reads the calibration duty ratio and the calibration amplitude corresponding to the darkroom environment from the memory.
The calibration duty ratio and the calibration amplitude are signal parameters obtained by corresponding screen detection before delivery of a manufacturer of the terminal equipment. That is, before leaving the factory, the screen is driven by the same target signal in the same darkroom environment, and the fingerprint module receives light, so that the signal duty ratio and the signal amplitude of the obtained signal are obtained.
It will be appreciated that the nominal duty cycle and nominal amplitude are commonplace. That is, the calibration duty cycle and the calibration amplitude are approximately the same within a certain error for the same lot of screens at the same factory.
And 305, detecting the screen according to whether the calibration signal parameters corresponding to the darkroom environment are matched or not according to the excitation signals corresponding to the darkroom environment.
In the embodiment of the disclosure, if the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment, the screen is indicated to be normal, and if the excitation signal is not matched with the calibration signal parameter, the screen is indicated to be abnormal.
Alternatively, the screen is determined to be normal only if the signal amplitude of the excitation signal matches the nominal amplitude in the nominal signal parameter and the signal duty cycle of the excitation signal matches the nominal duty cycle in the nominal signal parameter.
And determining that the screen is an abnormal screen when any one of the signal amplitude and the signal duty ratio of the excitation signal is not matched with the corresponding calibration signal parameter.
The fact that the signal amplitude of the excitation signal is matched with the calibration amplitude in the calibration signal parameters 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 fact that the signal duty ratio of the excitation signal is matched with the calibration duty ratio in the calibration signal parameters means that the duty ratio holding time of the excitation signal can reach the holding time of the calibration duty ratio.
The fact that the signal amplitude of the excitation signal is not matched with the calibration amplitude in the calibration signal parameters 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 fact that the signal duty ratio of the excitation signal is not matched with the calibration duty ratio in the calibration signal parameters means that the duty ratio holding time of the excitation signal cannot reach the holding time of the calibration duty ratio.
That is, as a first possible embodiment, the signal duty ratio of the excitation signal is matched with the calibration duty ratio, but the signal amplitude of the excitation signal is not matched with the calibration amplitude, and the screen is determined to be an abnormal screen.
As a second possible embodiment, the signal amplitude of the excitation signal matches the nominal amplitude, but the signal duty cycle of the excitation signal does not match the nominal duty cycle, and the screen is determined to be an abnormal screen.
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 does not match the calibration amplitude, so that the screen is determined to be an abnormal screen.
In this embodiment, in a darkroom environment, a target signal is used to drive a screen of a terminal, and a fingerprint module under the screen detects light emitted by the screen under the driving of the target signal, so as to obtain an excitation signal corresponding to the darkroom environment, determine a signal duty cycle and a signal amplitude of the excitation signal corresponding to the darkroom environment, read a calibration duty cycle corresponding to the darkroom environment and a corresponding calibration amplitude from a memory of the terminal, and detect whether a calibration signal parameter corresponding to the darkroom environment is matched or not according to the excitation signal corresponding to the darkroom environment, so that performance parameters of the screen reach the standard, the accuracy of detecting an abnormal screen is improved, the detection rate of the abnormal screen is effectively improved, meanwhile, the manufacturing cost is improved, the safety of terminal equipment is effectively improved, and the display quality of the terminal equipment is improved.
Fig. 5 is a flowchart of another screen detection method according to an embodiment of the disclosure.
As shown in fig. 5, the screen detection method may include the steps of:
in step 501, in a reflective cavity environment, a target signal is used to drive a screen of a terminal.
In an embodiment of the present disclosure, the set detection environment is a reflective cavity environment. As shown in fig. 6, fig. 6 is a side cross-sectional view of hardware for screen detection in a reflective cavity environment according to an embodiment of the present disclosure.
Under the environment of the reflecting cavity, the reflecting cavity for reflecting light at least covers the area of the screen corresponding to the fingerprint module. The reflectivity requirement of the reflecting cavity for the light rays meets a preset threshold.
It will be appreciated that, in the reflective cavity environment, the reflective cavity should cover at least the area of the screen corresponding to the fingerprint module, i.e. the effective area of the fingerprint module viewing angle, i.e. the area where the fingerprint module can detect light. The reflective cavity may also completely cover the cell phone screen.
Optionally, the reflective cavity is sufficient to reflect at least 90% of the light.
In the embodiment of the disclosure, in a reflective cavity environment, a target signal is adopted to drive a screen of a terminal, the screen of the terminal can be lightened under the drive of the target signal to generate light spots and emit light, and the light spots can be displayed according to the characteristics of the target signal.
Alternatively, the target signal is a set of pulse signals, such as PWM waveforms, having a preset frequency, duty cycle, amplitude. It can be appreciated that the parameters of the frequency, duty cycle, amplitude, etc. of the target signal can be adjusted accordingly according to the hardware tested.
It will be appreciated that for the purpose of detecting an abnormal screen, the detection rate of the abnormal screen is improved, and 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, and is related to the color displayed on the screen of the terminal equipment and the frequency of the screen flash.
Step 502, detecting light rays emitted by the screen under the driving of the target signal by using the fingerprint module under the screen to obtain excitation signals corresponding to the reflective cavity environment.
In the environment of the reflecting cavity, the light emitted by the screen is reflected by the reflecting cavity, and the light detected by the fingerprint module is reflected by the bright light spots on the screen through the cover plate glass and transmitted light transmitted through the cover plate glass after the bright light spots on the screen are reflected by the reflecting cavity.
In some embodiments, the light is received by a sensor in the fingerprint module and a corresponding excitation signal is obtained in the reflective cavity environment.
Alternatively, the sensor is a color sensor, such as an RGB sensor.
It can be understood that, in the reflective cavity environment, the light emitted by the screen can be considered to be totally reflected by the reflective cavity, and the light detected by the fingerprint module can be considered to be the reflected light after being reflected by the cover glass and the transmitted light after being totally reflected and transmitted through the screen, so that the difference between the characteristic parameters of the excitation signal corresponding to the reflective cavity environment and the characteristic parameters of the excitation signal corresponding to the darkroom environment can reflect the transmission characteristic of the screen.
Step 503, determining a signal duty cycle and a signal amplitude of the excitation signal corresponding to the reflective cavity environment.
In the embodiment of the disclosure, after the terminal detects light through the fingerprint module, an excitation signal in the reflective cavity environment is obtained, and the signal duty ratio and the signal amplitude of the excitation signal are determined.
Step 504, reading the corresponding calibration duty cycle of the reflecting cavity environment and the corresponding calibration amplitude from the memory of the terminal.
In the embodiment of the disclosure, the terminal reads the calibration duty cycle and the calibration amplitude corresponding to the environment of the reflecting cavity from the memory.
The calibration duty ratio and the calibration amplitude are signal parameters obtained by corresponding screen detection before delivery of a manufacturer of the terminal equipment. That is, before leaving the factory, the screen is driven by the same target signal under the same reflective cavity environment, and the fingerprint module receives light, so that the signal duty ratio and the signal amplitude of the obtained signal are obtained.
It will be appreciated that the nominal duty cycle and nominal amplitude are commonplace. That is, the calibration duty cycle and the calibration amplitude are approximately the same within a certain error for the same lot of screens at the same factory.
And 505, detecting the screen according to whether the calibration signal parameters corresponding to the reflecting cavity environment are matched or not according to the excitation signals corresponding to the reflecting cavity environment.
In the embodiment of the disclosure, if the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment, the screen is indicated to be normal, and if the excitation signal is not matched with the calibration signal parameter, the screen is indicated to be abnormal.
Alternatively, the screen is determined to be normal only if the signal amplitude of the excitation signal matches the nominal amplitude in the nominal signal parameter and the signal duty cycle of the excitation signal matches the nominal duty cycle in the nominal signal parameter.
And determining that the screen is an abnormal screen when any one of the signal amplitude and the signal duty ratio of the excitation signal is not matched with the corresponding calibration signal parameter.
The fact that the signal amplitude of the excitation signal is matched with the calibration amplitude in the calibration signal parameters 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 fact that the signal duty ratio of the excitation signal is matched with the calibration duty ratio in the calibration signal parameters means that the duty ratio holding time of the excitation signal can reach the holding time of the calibration duty ratio.
The fact that the signal amplitude of the excitation signal is not matched with the calibration amplitude in the calibration signal parameters 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 fact that the signal duty ratio of the excitation signal is not matched with the calibration duty ratio in the calibration signal parameters means that the duty ratio holding time of the excitation signal cannot reach the holding time of the calibration duty ratio.
That is, as a first possible embodiment, the signal duty ratio of the excitation signal is matched with the calibration duty ratio, but the signal amplitude of the excitation signal is not matched with the calibration amplitude, and the screen is determined to be an abnormal screen.
As a second possible embodiment, the signal amplitude of the excitation signal matches the nominal amplitude, but the signal duty cycle of the excitation signal does not match the nominal duty cycle, and the screen is determined to be an abnormal screen.
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 does not match the calibration amplitude, so that the screen is determined to be an abnormal screen.
In this embodiment, in a reflective cavity environment, a target signal is used to drive a screen of a terminal, and a fingerprint module under the screen detects light emitted by the screen under the drive of the target signal, so as to obtain an excitation signal corresponding to the reflective cavity environment, determine a signal duty cycle and a signal amplitude of the excitation signal corresponding to the reflective cavity environment, read a calibration duty cycle corresponding to the reflective cavity environment and a corresponding calibration amplitude from a memory of the terminal, and detect whether a calibration signal parameter corresponding to the reflective cavity environment is matched or not according to the excitation signal corresponding to the reflective cavity environment, so that performance parameters of the screen reach standards, the accuracy of detecting abnormal screens is improved, the detection rate of the abnormal screens is effectively improved, meanwhile, the manufacturing cost is improved, the safety of terminal equipment is effectively improved, and the display quality of the terminal equipment is improved.
Fig. 7 is a flowchart of another screen detection method according to an embodiment of the disclosure.
As shown in fig. 7, the screen detection method may include the steps of:
in step 701, driving a screen of the terminal by using a target signal in a natural light environment.
In an embodiment of the present disclosure, the set 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.
In some embodiments, a natural light environment includes shielding or covering a region of a fingerprint module corresponding to a screen by a human body part (such as a finger), as shown in fig. 8, and fig. 8 is a side cross-sectional view of a hardware for screen detection in a natural light environment according to an embodiment of the disclosure.
In the embodiment of the disclosure, in a natural light environment, a target signal is adopted to drive a screen of a terminal, the screen of the terminal can be lightened under the drive of the target signal to generate light spots and emit light, and the light spots can be displayed according to the characteristics of the target signal.
Alternatively, the target signal is a set of pulse signals, such as PWM waveforms, having a preset frequency, duty cycle, amplitude. It can be appreciated that the parameters of the frequency, duty cycle, amplitude, etc. of the target signal can be adjusted accordingly according to the hardware tested.
It will be appreciated that for the purpose of detecting an abnormal screen, the detection rate of the abnormal screen is improved, and 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, and is related to the color displayed on the screen of the terminal equipment and the frequency of the screen flash.
Step 702, detecting light emitted by the screen under the driving of the target signal by the fingerprint module under the screen to obtain an excitation signal corresponding to the natural light environment.
In a natural light environment, a part of light emitted by the screen can be absorbed, and the light detected by the fingerprint module is reflected light of a bright spot on the screen reflected by the cover glass, and transmitted light of the bright spot on the screen reflected by a human body part and transmitted through the cover glass (the transmitted light is not shown in fig. 8).
In some embodiments, the light is received by a sensor in the fingerprint module, and a corresponding excitation signal is obtained in a natural light environment.
Alternatively, the sensor is a color sensor, such as an RGB sensor.
Step 703, determining the signal duty cycle and the signal amplitude of the excitation signal corresponding to the natural light environment.
In the embodiment of the disclosure, after the terminal detects light through the fingerprint module, an excitation signal in a natural light environment is obtained, and the signal duty ratio and the signal amplitude of the excitation signal are determined.
Step 704, reading a calibration duty cycle corresponding to the natural light environment and a corresponding calibration amplitude from a memory of the terminal.
In the embodiment of the disclosure, the terminal reads the calibration duty cycle and the calibration amplitude corresponding to the natural light environment from the memory.
The calibration duty ratio and the calibration amplitude are signal parameters obtained by corresponding screen detection before delivery of a manufacturer of the terminal equipment. That is, before leaving the factory, the same target signal is used to drive the screen in the same natural light environment, and the fingerprint module receives light, so as to obtain the signal duty ratio and signal amplitude of the signal.
Step 705, detecting the screen according to whether the excitation signal corresponding to the natural light environment matches with the calibration signal parameter corresponding to the natural light environment.
In the embodiment of the disclosure, if the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment, the screen is indicated to be normal, and if the excitation signal is not matched with the calibration signal parameter, the screen is indicated to be abnormal.
It can be understood that, in the natural light environment, the characteristic parameters of the excitation signals obtained by performing screen detection have a certain specificity, and the excitation signals corresponding to the natural light environment are related to the absorptivity of the body part (such as a finger) of the user to light to a certain extent.
Alternatively, the screen is determined to be normal only if the signal amplitude of the excitation signal matches the nominal amplitude in the nominal signal parameter and the signal duty cycle of the excitation signal matches the nominal duty cycle in the nominal signal parameter, as shown in fig. 9 a. Fig. 9a is a diagram of an excitation signal of a detected normal screen provided by an embodiment of the present disclosure.
And determining that the screen is an abnormal screen when any one of the signal amplitude and the signal duty ratio of the excitation signal is not matched with the corresponding calibration signal parameter.
The fact that the signal amplitude of the excitation signal is matched with the calibration amplitude in the calibration signal parameters 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 fact that the signal duty ratio of the excitation signal is matched with the calibration duty ratio in the calibration signal parameters means that the duty ratio holding time of the excitation signal can reach the holding time of the calibration duty ratio.
The fact that the signal amplitude of the excitation signal is not matched with the calibration amplitude in the calibration signal parameters 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 fact that the signal duty ratio of the excitation signal is not matched with the calibration duty ratio in the calibration signal parameters means that the duty ratio holding time of the excitation signal cannot reach the holding time of the calibration duty ratio.
That is, as a first possible embodiment, the signal duty ratio of the excitation signal is matched with the calibration duty ratio, but the signal amplitude of the excitation signal is not matched with the calibration amplitude, and the screen is determined to be an abnormal screen.
As a second possible embodiment, the signal amplitude of the excitation signal matches the nominal amplitude, but the signal duty cycle of the excitation signal does not match the nominal duty cycle, and the screen is determined to be an abnormal screen.
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 does not match the calibration amplitude, and the screen is determined to be an abnormal screen, as shown in fig. 9 b. Fig. 9b is an excitation signal of a detected abnormal screen provided by an embodiment of the present disclosure.
In this embodiment, in a natural light environment, a target signal is used to drive a screen of a terminal, and a fingerprint module under the screen detects light emitted by the screen under the driving of the target signal, so as to obtain an excitation signal corresponding to the natural light environment, determine a signal duty cycle and a signal amplitude of the excitation signal corresponding to the natural light environment, read a calibration duty cycle corresponding to the natural light environment and a corresponding calibration amplitude from a memory of the terminal, and detect whether a calibration signal parameter corresponding to the natural light environment is matched or not according to the excitation signal corresponding to the natural light environment, so that performance parameters of the screen reach standards, the accuracy of detecting abnormal screens is improved, the detection rate of the abnormal screens is effectively improved, meanwhile, the security of terminal equipment is effectively improved, and the display quality of the terminal equipment is improved.
Fig. 10 is a flowchart of another screen detection method according to an embodiment of the disclosure.
As shown in fig. 10, the screen detection method may include the steps of:
in step 1001, in a set detection environment, a screen of the terminal is driven with a target signal.
Step 1002, detecting light emitted by the screen under the driving of the target signal by using the fingerprint module under the screen, so as to obtain an excitation signal corresponding to the set detection environment.
Step 1003, determining a signal duty ratio and a signal amplitude of the excitation signal corresponding to the set detection environment.
Step 1004, reading the calibration duty ratio corresponding to the set detection environment and the corresponding calibration amplitude from the memory of the terminal.
It will be appreciated that in the embodiments of the present disclosure, the setting detection environment may be any one or more of those described in the embodiments of fig. 3, 5, and 7, and other setting detection environments may be used, which are not limited herein.
In the embodiment of the present disclosure, steps 1001 to 1004 may be implemented in any manner of each embodiment of the present disclosure, which is not limited to this and is not repeated.
Step 1005, detecting the screen according to whether the excitation signal corresponding to the set detection environment and the calibration signal parameter corresponding to the natural light environment are matched.
In some embodiments, in the case where a plurality of detection environments are set, detecting the screen includes: comparing excitation signals corresponding to the set detection environments with calibration signal parameters under the corresponding set detection environments, and determining that the screen is normal under the condition that comparison results under the set detection environments are all matched; and determining that the screen is abnormal under the condition that the comparison result is not matched in at least one set detection environment.
That is, in the case that a plurality of detection environments are set, in each detection environment, the excitation signal is matched with the parameter of the calibration signal in the corresponding detection environment, the screen is determined to be normal, and if only one detection environment exists, the excitation signal is not matched with the parameter of the corresponding calibration signal, the screen is determined to be an abnormal screen.
In this embodiment, in a set detection environment, a target signal is used to drive a screen of a terminal, and a fingerprint module under the screen detects light emitted by the screen under the drive of the target signal, so as to obtain an excitation signal corresponding to the set detection environment, determine a signal duty cycle and a signal amplitude of the excitation signal corresponding to the set detection environment, read a calibration duty cycle corresponding to the set detection environment and a corresponding calibration amplitude from a memory of the terminal, and detect the screen according to whether the excitation signal corresponding to the set detection environment matches with a calibration signal parameter corresponding to the set detection environment, so that performance parameters of the screen reach standards, the accuracy of abnormal screen detection is improved, the detection rate of the abnormal screen is effectively improved, meanwhile, the manufacturing cost is improved, the safety of terminal equipment is effectively improved, and the display quality of the terminal equipment is improved.
In order to describe the technical solution of the present disclosure more clearly, please refer to fig. 11, fig. 11 is a flowchart of another screen detection method provided in an embodiment of the present disclosure.
As shown in fig. 11, screen detection in the darkroom environment and the reflection cavity environment can be started once after leaving the factory or after replacing the screen, so as to obtain an excitation signal parameter data1 corresponding to the darkroom environment and an excitation signal parameter data2 corresponding to the reflection cavity environment respectively. In a darkroom environment, the transmittance, refractive index, etc. of the screen can be detected, and in a reflective cavity environment, the color, pixels, etc. of the screen can be detected. And when the fingerprint is identified each time, automatically starting screen detection in the natural light environment, and obtaining excitation signal parameters data3 corresponding to the natural light environment. data1, data2, and data3 constitute a feature parameter set of the screen. In some embodiments, the set of characteristic parameters can be uploaded into a database as reference data for calibration signal parameters. The terminal equipment can read the characteristic parameter set through a CPU (central processing unit, a central processing unit), namely, the excitation signal parameters of excitation signals corresponding to all detection environments are read, the terminal equipment compares the read excitation signal parameters with the calibration signal parameters read from a database, if the parameters are not matched, the screen is judged to be abnormal, the screen is prompted to be abnormal or the use of some functions of the terminal equipment is limited (such as fingerprint identification unlocking and the like), and if the parameters are matched, the screen is judged to be normal, and the terminal can be normally used.
In order to achieve the above-described embodiments, the present disclosure proposes a screen detection apparatus.
Fig. 12 is a schematic structural diagram of a screen detection device according to an embodiment of the present disclosure.
As shown in fig. 12, the screen detection device includes: a driving module 1210, a detecting module 1220 and a processing module 1230, wherein:
a driving module 1210 for driving a screen of the terminal using the target signal in a set detection environment;
the detection module 1220 is configured to detect, by using the fingerprint module under the screen, a light beam emitted by the screen under the driving of the target signal, so as to obtain an excitation signal corresponding to the set detection environment;
the processing module 1230 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.
Optionally, the processing module 1230 includes:
the detection unit is used for determining the signal duty ratio and the signal amplitude of the excitation signal corresponding to the set detection environment;
the first judging unit is used for determining that the screen is normal under the condition that the signal duty ratio of the excitation signal is matched with the calibration duty ratio in the calibration signal parameters and the signal amplitude of the excitation signal is matched with the calibration amplitude in the calibration signal parameters;
And the second judging unit is used for determining the screen abnormality under the condition that the signal duty ratio of the excitation signal is not matched with the calibration duty ratio in the calibration signal parameters and/or the signal amplitude of the excitation signal is not matched with the calibration amplitude in the calibration signal parameters.
Optionally, the apparatus comprises:
and the reading module is used for reading the calibration duty ratio corresponding to the set detection environment and the corresponding calibration amplitude from the memory of the terminal.
Optionally, the setting detection environment is multiple; the processing module is used for:
respectively comparing the excitation signals corresponding to the set detection environments with the calibration signal parameters corresponding to the set detection environments;
under the condition that the comparison results in the plurality of set detection environments are all matched, determining that the screen is normal;
and determining that the screen is abnormal under the condition that the comparison result is not matched in at least one set detection environment.
Optionally, the plurality of the set detection environments include at least one of a darkroom environment, a natural light environment, and a reflective cavity environment;
under the darkroom environment, the darkroom for absorbing the light at least covers the area of the screen corresponding to the fingerprint module;
And under the environment of the reflecting cavity, the reflecting cavity for reflecting the light rays at least covers the area of the screen corresponding to the fingerprint module.
In the embodiment of the disclosure, the screen of the terminal is driven by the target signal under the set detection environment, the light emitted by the screen under the drive of the target signal is detected by the fingerprint module under the screen, so that the excitation signal corresponding to the set detection environment is obtained, whether the calibration signal parameters corresponding to the set detection environment are matched or not is detected according to the excitation signal corresponding to the set detection environment, the performance parameters of the screen can be ensured to reach the standard, the detection accuracy of the abnormal screen is improved, the detection rate of the abnormal screen is effectively improved, meanwhile, the fake-making cost is improved, the safety of the terminal equipment is effectively improved, and the display quality of the terminal equipment is improved.
It should be noted that the foregoing explanation of the embodiment of the screen detection method is also applicable to the screen detection device of this embodiment, and will not be repeated here.
Fig. 13 is a block diagram of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 13, the electronic device 1300 includes: memory 1310 and processor 1320, bus 1330 connecting the different components (including memory 1310 and processor 1320).
Wherein the memory 1310 is used for storing executable instructions of the processor 1320; processor 1320 is configured to invoke and execute executable instructions stored in memory 1310 to implement the screen detection method proposed by the above-described embodiments of the present disclosure.
Bus 1330 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include 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.
Electronic device 1300 typically includes a variety of electronic device readable media. Such media can be any available media that is accessible by the electronic device 1300 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 1310 may include computer system readable media in the form of volatile memory such as Random Access Memory (RAM) 1340 and/or cache memory 1350. The electronic device 1300 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 1360 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 13, commonly referred to as a "hard disk drive"). Although not shown in fig. 13, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 1330 through one or more data medium interfaces. Memory 1310 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.
A program/utility 1380 having a set (at least one) of program modules 1370 may be stored, for example, in memory 1310, such program modules 1370 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 1370 generally perform the functions and/or methods in the embodiments described in this disclosure.
The electronic device 1300 may also communicate with one or more external devices 1390 (e.g., keyboard, pointing device, display 1391, etc.), with one or more devices that enable a user to interact with the electronic device 1300, and/or with any device (e.g., network card, modem, etc.) that enables the electronic device 1300 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1392. Also, the electronic device 1300 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, e.g., the internet, through a network adapter 1393. As shown, network adapter 1393 communicates with other modules of electronic device 1300 via bus 1330. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 1300, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
Processor 1320 executes programs stored in memory 1310, thereby performing various functional applications and data processing.
In order to implement the above embodiments, the embodiments of the present disclosure propose a non-transitory computer-readable storage medium, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform the screen detection method proposed by any of the foregoing embodiments.
In order to implement the above embodiments, the disclosed embodiments provide a computer program product which, when executed by a processor of an electronic device, enables the electronic device to perform the screen detection method set forth in any one of the foregoing embodiments.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, the meaning of "a plurality" is at least two, such as two, three, etc., unless explicitly specified otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
Furthermore, each functional unit in the embodiments of the present disclosure may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. Although embodiments of the present disclosure have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.

Claims (12)

1. A screen detection method, comprising the steps of:
under a set detection environment, driving a screen of the terminal by adopting a target signal;
detecting light rays emitted by the screen under the driving of the target signal through the fingerprint module under the screen to obtain excitation signals corresponding to the set detection environment;
and detecting the screen according to whether the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment.
2. The method according to claim 1, wherein detecting the screen according to whether the calibration signal parameters corresponding to the set detection environment match or not according to the excitation signal corresponding to the set detection environment, comprises:
Determining the signal duty ratio and the signal amplitude of the excitation signal corresponding to the set detection environment;
determining that the screen is normal when the signal duty ratio of the excitation signal is matched with the calibration duty ratio in the calibration signal parameters and the signal amplitude of the excitation signal is matched with the calibration amplitude in the calibration signal parameters;
and determining that the screen is abnormal under the condition that the signal duty ratio of the excitation signal is not matched with the calibration duty ratio in the calibration signal parameters and/or the signal amplitude of the excitation signal is not matched with the calibration amplitude in the calibration signal parameters.
3. The method according to claim 2, wherein determining the signal duty cycle and the signal amplitude for the excitation signal corresponding to the set detection environment comprises:
and reading the calibration duty ratio corresponding to the set detection environment and the corresponding calibration amplitude from a memory of the terminal.
4. A method according to any one of claims 1-3, wherein the set detection environment is a plurality;
the step of detecting the screen according to whether the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment, comprising the following steps:
Respectively comparing the excitation signals corresponding to the set detection environments with the calibration signal parameters corresponding to the set detection environments;
under the condition that the comparison results in the plurality of set detection environments are all matched, determining that the screen is normal;
and determining that the screen is abnormal under the condition that the comparison result is not matched in at least one set detection environment.
5. The method of claim 4, wherein the plurality of set detection environments includes at least one of a darkroom environment, a natural light environment, and a reflective cavity environment;
under the darkroom environment, the darkroom for absorbing the light at least covers the area of the screen corresponding to the fingerprint module;
and under the environment of the reflecting cavity, the reflecting cavity for reflecting the light rays at least covers the area of the screen corresponding to the fingerprint module.
6. A screen inspection device, comprising:
the driving module is used for driving a screen of the terminal by adopting a target signal under a set detection environment;
the detection module is used for detecting light rays emitted by the screen under the driving of the target signal through the fingerprint module under the screen so as to obtain excitation signals corresponding to the set detection environment;
And the processing module is used for detecting the screen according to whether the excitation signal corresponding to the set detection environment is matched with the calibration signal parameter corresponding to the set detection environment.
7. The apparatus of claim 6, wherein the processing module comprises:
the detection unit is used for determining the signal duty ratio and the signal amplitude of the excitation signal corresponding to the set detection environment;
the first judging unit is used for determining that the screen is normal under the condition that the signal duty ratio of the excitation signal is matched with the calibration duty ratio in the calibration signal parameters and the signal amplitude of the excitation signal is matched with the calibration amplitude in the calibration signal parameters;
and the second judging unit is used for determining the screen abnormality under the condition that the signal duty ratio of the excitation signal is not matched with the calibration duty ratio in the calibration signal parameters and/or the signal amplitude of the excitation signal is not matched with the calibration amplitude in the calibration signal parameters.
8. The apparatus of claim 7, wherein the apparatus comprises:
and the reading module is used for reading the calibration duty ratio corresponding to the set detection environment and the corresponding calibration amplitude from the memory of the terminal.
9. The apparatus of any one of claims 6-8, wherein the set detection environment is a plurality; the processing module is used for:
respectively comparing the excitation signals corresponding to the set detection environments with the calibration signal parameters corresponding to the set detection environments;
under the condition that the comparison results in the plurality of set detection environments are all matched, determining that the screen is normal;
and determining that the screen is abnormal under the condition that the comparison result is not matched in at least one set detection environment.
10. The apparatus of claim 9, wherein the plurality of set detection environments includes at least one of a darkroom environment, a natural light environment, and a reflective cavity environment;
under the darkroom environment, the darkroom for absorbing the light at least covers the area of the screen corresponding to the fingerprint module;
and under the environment of the reflecting cavity, the reflecting cavity for reflecting the light rays at least covers the area of the screen corresponding to the fingerprint module.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable 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, wherein the computer instructions are for causing the computer to perform the method of any one of claims 1-5.
CN202111626799.1A 2021-12-28 2021-12-28 Screen detection method and device and electronic equipment Pending CN116363704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111626799.1A CN116363704A (en) 2021-12-28 2021-12-28 Screen detection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111626799.1A CN116363704A (en) 2021-12-28 2021-12-28 Screen detection method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116363704A true CN116363704A (en) 2023-06-30

Family

ID=86926024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111626799.1A Pending CN116363704A (en) 2021-12-28 2021-12-28 Screen detection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116363704A (en)

Similar Documents

Publication Publication Date Title
US9983061B2 (en) Method, apparatus and system for testing optical characteristics of display module
US20200342690A1 (en) Method for establishing communicable connection with tire pressure monitoring system, apparatus thereof and electronic device
CN107870835B (en) Hardware debugging method and system, readable storage medium and intelligent terminal device
CN110213258B (en) Abnormity monitoring method and device for vehicle CAN bus and computer equipment
CN111028799B (en) Driving circuit and driving method of display panel
US20200026412A1 (en) Screen fingerprint enablement system of electronic device
CN108763911B (en) Authentication method, authentication apparatus, electronic device, and computer-readable storage medium
CN116363704A (en) Screen detection method and device and electronic equipment
CN107102879A (en) Information is sent and firmware upgrade method, device, terminal, equipment and storage medium
CN117274211A (en) Screen defect detection method and device, terminal equipment and storage medium
CN109581188B (en) Function detection method for terminal on mainboard, intelligent device and storage medium
CN113596420B (en) Projector lens detection method and device, projector and readable storage medium
CN112558912B (en) Application program, recording method thereof, terminal device and storage medium
KR20220139506A (en) Automatic evaluating apparatus for built-in video recording device of vehicle, system having the same, and method thereof
CN114088349A (en) Method, device and system for testing color-combination prism
CN113780163A (en) Page loading time detection method and device, electronic equipment and medium
CN109977669B (en) Virus identification method and device and computer equipment
CN110097683A (en) A kind of equipment self-inspection method, apparatus, ATM and storage medium
US10600146B2 (en) Symbology monitoring system
CN1155889C (en) System state indicating lamp embedded in connection port
US11735080B1 (en) Display system and panel driving circuit
CN116225490B (en) Upgrading method and upgrading device of memory firmware, electronic equipment and medium
CN105282324A (en) Mobile terminal light intensity sensor mode control method and mobile terminal
KR19980016365A (en) Self-diagnosis method of mobile phone
CN117348826A (en) Terminal control method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination