CN112101340A - Screen stain recognition method and device - Google Patents

Screen stain recognition method and device Download PDF

Info

Publication number
CN112101340A
CN112101340A CN202011278163.8A CN202011278163A CN112101340A CN 112101340 A CN112101340 A CN 112101340A CN 202011278163 A CN202011278163 A CN 202011278163A CN 112101340 A CN112101340 A CN 112101340A
Authority
CN
China
Prior art keywords
screen
value
threshold
user
terminal equipment
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.)
Granted
Application number
CN202011278163.8A
Other languages
Chinese (zh)
Other versions
CN112101340B (en
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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202011278163.8A priority Critical patent/CN112101340B/en
Priority to PCT/CN2020/133120 priority patent/WO2022099823A1/en
Publication of CN112101340A publication Critical patent/CN112101340A/en
Application granted granted Critical
Publication of CN112101340B publication Critical patent/CN112101340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • G06V10/143Sensing or illuminating at different wavelengths
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V9/00Prospecting or detecting by methods not provided for in groups G01V1/00 - G01V8/00
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Abstract

The application discloses a screen stain recognition method and device, wherein the method comprises the following steps: acquiring a receiving value detected by a distance sensor of the terminal equipment; judging whether a receiving value detected by a distance sensor reaches a first threshold value; if the receiving value reaches a first threshold value, setting the identification position; and in the case that the identification bit is set, identifying whether the screen of the terminal equipment has dirt or not based on the received value. By implementing the method, the terminal equipment can be automatically triggered to identify whether the screen is stained or not, and the intelligence of the terminal equipment is favorably improved.

Description

Screen stain recognition method and device
Technical Field
The invention relates to the technical field of communication, in particular to a screen stain recognition method and device.
Background
Generally, a distance sensor is used in a mobile phone, a tablet, and other terminal devices, wherein the distance sensor can be classified into an optical distance sensor, an infrared distance sensor, an ultrasonic distance sensor, and the like according to different working principles of the distance sensor. Taking an infrared distance sensor as an example, the infrared distance sensor used in the terminal device is generally placed below a screen glass plate and comprises an infrared light emitter and an infrared light receiver. When a shielding object appears above the screen glass, infrared light emitted from the emitter penetrates through the screen glass, then is emitted to the surface of the shielding object and is reflected back, and then is received by the receiver. Therefore, the distance between the object and the screen of the mobile phone can be judged by measuring the intensity of the infrared light reflected by the shielding object. The closer the obstruction, the greater the intensity of light received by the receiver, all other things being equal. Since the screen glass also has a reflective effect in addition to a transmissive effect, part of the light emitted by the emitter is reflected directly back to the receiver after encountering the glass, as shown in fig. 1. By the calibration operation, the influence of this part of the directly reflected light can be eliminated.
In daily use of terminal equipment such as a mobile phone and a tablet, a front glass panel of a screen of the terminal equipment is stained by stains (such as various oil stains, dust stains and dust stains) due to contact with the hands, the face and the like of a user or a placement environment, so that a distance sensor on the terminal equipment is affected during measurement. As shown in fig. 1, when the front glass plate of the screen of the terminal device is stained at the same distance, the intensity of the infrared light received by the receiver is increased, so that the originally set calibration parameter is invalid, and the receiver may make a misjudgment when identifying the distance. When misjudgment occurs, the distance sensor reports the misjudgment result to the system application, so that the wrong response of the system application is caused. Therefore, when the front glass plate of the screen of the terminal device has dirt, the influence on the light reflected by the dirt needs to be eliminated through an anti-dirt algorithm.
In the prior art, whether a screen of a terminal device is dirty or not needs to be manually identified, and when the screen of the terminal device is identified to be dirty, an anti-dirty algorithm is manually triggered and executed. Whether the screen of the terminal equipment needs to be manually identified to have stains or not in the prior art, and the intelligence is low.
Disclosure of Invention
The embodiment of the invention discloses a method and a device for identifying stains on a screen, which can automatically trigger a terminal device to identify whether stains exist on the screen or not and are beneficial to improving the intelligence of the terminal device.
In a first aspect, an embodiment of the present application provides a screen stain recognition method, which is applied to a terminal device, and the method includes: acquiring a receiving value detected by a distance sensor of the terminal equipment; judging whether the receiving value detected by the distance sensor reaches a first threshold value; if the receiving value reaches a first threshold value, setting the identification position; and in the case that the identification bit is set, identifying whether the screen of the terminal equipment has dirt or not based on the received value.
In the method described in the first aspect, the terminal device can automatically recognize whether or not the screen of the terminal device has dirt at an appropriate timing based on the reception value detected by the distance sensor. When the screen of the terminal device is automatically recognized to have the stain, the terminal device can automatically trigger and execute the anti-stain algorithm, the influence on the stain is eliminated, whether the screen of the terminal device has the stain or not is not required to be recognized manually, and the intelligence of the terminal device is favorably improved.
In a possible implementation manner, the method further includes: if the received value does not reach the first threshold value, determining whether the identification bit is set; and if the identification position is set, identifying whether the screen of the terminal equipment has dirt or not based on the received value. Based on the possible implementation mode, the situation that whether the screen of the terminal device has the stain or not is identified without being triggered when the screen of the terminal device has the stain can be avoided, and the situation that the stain on the screen of the terminal device is missed to be detected can be avoided.
In one possible implementation manner, the terminal device identifies whether a screen of the terminal device has stains based on the received value, including: determining whether the reception value is greater than a second threshold value used in determining whether the user is far from the screen of the terminal device in the last period; if the receiving value is larger than the second threshold, determining whether the receiving value is smaller than a third threshold, wherein the third threshold is a maximum receiving value received by the distance sensor when a preset screen of the terminal device is stained; if the received value is smaller than a third threshold value, accumulating the stable index; if the stable index reaches a preset index, determining that the screen of the terminal equipment has stains; the method further comprises the following steps: if the stable index reaches the preset index, clearing the identification bit and zeroing the stable index. Based on the possible implementation mode, whether the screen of the terminal device has the dirt or not can be determined more accurately, and therefore misjudgment is avoided.
In one possible implementation, the method further includes: and if the received value is smaller than a second threshold, clearing the identification bit, returning the stability index to zero, and determining the distance between the user and the screen of the terminal equipment based on the second threshold used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold used for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold is smaller than the fourth threshold. Based on the possible implementation mode, the distance between the user and the screen of the terminal equipment can be determined more accurately.
In one possible implementation, the method further includes: and if the received value is larger than a third threshold value, the stability index is reset to zero, and the distance between the user and the screen of the terminal equipment is determined based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold value is smaller than the fourth threshold value. Based on the possible implementation mode, the distance between the user and the screen of the terminal equipment can be determined more accurately.
In one possible implementation, the method further includes: and if the stable index does not reach the preset index, determining the distance between the user and the screen of the terminal equipment based on a second threshold value for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold value is smaller than the fourth threshold value. Based on this possible implementation, when the stable index does not reach the preset index, the value of the stable index is reserved, the stability of the receiving value detected by the distance sensor is favorably judged, the identification position is not emptied, and whether the screen capable of triggering to recognize the terminal device has stains or not is guaranteed.
In a possible implementation manner, if the received value is smaller than the third threshold, accumulating the stability indicator includes: if the receiving value is smaller than a third threshold value, determining whether the difference value between the receiving value and the receiving value detected by the distance sensor in the previous period is smaller than a preset value; if the difference is smaller than the preset value, the stability index is accumulated. Based on this possible implementation, the stability of the reception value detected by the distance sensor can be judged more accurately.
In one possible implementation, the method further includes: and if the difference is larger than the preset value, the stability index is reset to zero, and the distance between the user and the screen of the terminal equipment is determined based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold value is smaller than the fourth threshold value. Based on the possible implementation mode, the distance between the user and the screen of the terminal equipment can be determined more accurately.
In one possible implementation, the method further includes: if the screen of the terminal device is determined to have the dirt, correcting a second threshold value and a fourth threshold value for determining the distance between the user and the screen of the terminal device based on the receiving value detected by the distance sensor in the period; and determining the distance between the user and the screen of the terminal equipment based on the corrected second threshold and the corrected fourth threshold. Based on the possible implementation mode, the influence of dirt on the distance sensor during detection of the received value can be automatically eliminated, and the distance between the user and the screen of the terminal equipment can be more accurately determined.
In a second aspect, an embodiment of the present invention discloses a screen stain recognition apparatus, which includes an obtaining unit, a judging unit, a setting unit, and a recognition unit, where the obtaining unit, the judging unit, the setting unit, and the recognition unit are configured to execute the method according to the first aspect.
In a third aspect, an embodiment of the present invention discloses a terminal device, where the terminal device includes a distance sensor, a memory, and a processor, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium for storing computer program instructions for use in the screen blot identifying apparatus described in the third aspect, which includes a program for performing the method of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a distance sensor according to an embodiment of the present invention operating in both a soil-free and a soil-stained condition;
FIG. 2 is a flowchart illustrating a method for identifying a stain on a screen according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of another method for identifying a stain on a screen according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating another method for identifying a stain on a screen according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating another method for identifying a stain on a screen according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a screen stain recognition apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to automatically trigger the terminal equipment to identify whether stains exist on the screen and improve the intelligence of the terminal equipment, the embodiment of the application provides a screen stain identification method and device. In order to better understand the screen blot identification method provided by the embodiment of the application, the screen blot identification method is described in detail below.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a method for identifying a screen stain according to an embodiment of the present invention. The method is applied to a terminal device, and specifically, as shown in fig. 2, fig. 2 takes the terminal device as an example of an execution subject of the method. The execution subject of the screen blot identification method shown in other figures of the embodiment of the invention is the same, and the description is omitted hereinafter. The screen stain recognition method of the embodiment of the invention can comprise, but is not limited to, the following steps:
201. the terminal device acquires a reception value detected by a distance sensor of the terminal device.
In the embodiment of the application, the terminal device can be a device with a screen, such as a mobile phone, a tablet computer, a desktop computer, and a wearable device.
In the embodiment of the application, the distance sensor can be an optical distance sensor, an infrared distance sensor, an ultrasonic distance sensor and the like. The working principle of the distance sensor is to judge the distance of a certain substance by transmitting and receiving the substance, and the transmitted substance can be ultrasonic waves, light pulses and the like. In the case of the infrared distance sensor, the reception value detected by the infrared distance sensor is an infrared light intensity value. In the case of the ultrasonic distance sensor, the reception value detected by the ultrasonic distance sensor is an ultrasonic intensity value. In the case of an optical distance sensor, the received value detected by the optical distance sensor is a light intensity value.
Taking an infrared distance sensor as an example, the infrared distance sensor used in the terminal device is usually placed under a screen glass plate, and includes a transmitter and a receiver. As shown in fig. 1, when a shielding object appears above the screen glass, infrared light emitted from the emitter passes through the screen glass, then strikes the surface of the shielding object, is reflected back, and is received by the receiver. The distance between the object and the mobile phone screen can be judged by measuring the intensity value of the light reflected by the shielding object. For example, the closer the obstruction, the greater the intensity of light received by the receiver, all other things being equal. Other distance sensors are similar and will not be described herein.
In the embodiment of the present application, the terminal device may perform steps 201 to 204 with a preset time as a period. For example, the preset time may be 100 milliseconds or 200 milliseconds. Of course, the preset time may be set to other times, and the embodiment of the present application is not limited. After a distance sensor of the terminal equipment is started, the periodic cycle of sampling and judging the reported distance state is entered.
202. The terminal device judges whether the reception value of the distance sensor reaches a first threshold value. When the terminal device determines that the received value of the distance sensor reaches the first threshold, step 203 is executed.
In this embodiment, the first threshold may be a relatively large value, and if the receiving value of the distance sensor reaches the first threshold, it may be considered that the screen of the terminal device is most likely to be stained. For example, the received value of the distance sensor can be tested in a test phase when the barrier is 1 mm from the screen of the terminal device. The reception value of the distance sensor at the test pitch of 1 mm is determined as the first threshold value. When the receiving value detected by the distance sensor of the terminal equipment is greater than the first threshold value, the screen of the terminal equipment is considered to be possibly stained; and when the receiving value detected by the distance sensor of the terminal equipment does not reach the first threshold value, the screen of the terminal equipment is considered not to be stained.
203. And the terminal equipment sets the identification position.
In the state that the identification bit is set, the screen of the current terminal equipment is probably stained. The identification position is set, so that the state of the screen of the terminal equipment can be recorded, and whether the screen of the terminal equipment needs to be triggered and identified to be stained or not is determined by the subsequent terminal equipment.
204. And under the condition that the identification position is set, the terminal equipment identifies whether the screen of the terminal equipment has dirt or not based on the received value.
In the embodiment of the application, after the terminal device sets the identification position, the terminal device automatically identifies whether the screen of the terminal device has stains or not based on the receiving value of the distance sensor. Optionally, when the terminal device recognizes that the screen of the terminal device has the stain, the terminal device may automatically trigger to execute a stain-resisting algorithm, so as to eliminate the influence on the stain.
Therefore, based on the method described in fig. 2, the terminal device can automatically identify whether the screen of the terminal device has the stain at a proper time, and does not need to manually identify whether the screen of the terminal device has the stain, which is beneficial to improving the intelligence of the terminal device.
Referring to fig. 3, fig. 3 is a schematic flowchart of another screen stain recognition method according to an embodiment of the present disclosure. The screen stain recognition method comprises steps 301-308. Wherein:
301. the terminal device acquires a received value of a distance sensor of the terminal device.
The specific implementation manners of steps 301 to 303 and 305 are the same as those of steps 201 to 204, and are not described herein again.
302. The terminal device judges whether the reception value of the distance sensor reaches a first threshold value. If the received value reaches the first threshold, step 303 is executed. If the received value does not reach the first threshold, go to step 304.
303. And the terminal equipment sets the identification position.
304. The terminal device determines whether the identification bit is set. If the terminal device determines that the identification bit is set, step 305 is performed. The terminal device determines that the identification bit is not set, then step 306 is executed.
Optionally, after step 303 is executed, step 304 is executed. Alternatively, step 305 may be performed directly after step 303 is performed. In FIG. 5, step 304 is performed after step 303 is performed.
305. The terminal device identifies whether the screen of the terminal device has dirt based on the received value. If the screen of the terminal equipment is identified to be dirty based on the received value, executing step 306; if it is recognized that the screen of the terminal device has no stain based on the received value, step 308 is performed.
The specific implementation manner of the terminal device identifying whether the screen of the terminal device has the stain based on the received value may be described in the following embodiment corresponding to fig. 4 or fig. 5, which is not described herein again.
306. The terminal device corrects the second threshold and the fourth threshold for determining the distance of the user from the screen of the terminal device based on the reception value detected by the present period distance sensor.
In the embodiment of the application, after determining that the screen of the terminal device has dirt, based on the received value detected by the distance sensor in the period, the second threshold (low _ threshold) and the fourth threshold (high _ threshold) for determining the distance between the user and the screen of the terminal device are corrected. Wherein the second threshold is less than the fourth threshold. The second threshold is used to determine whether the user is away from the screen of the terminal device. The fourth threshold is used to determine whether the user is close to the screen of the terminal device.
For example, in the present cycle, after determining that the screen of the terminal device has dirt, the terminal device corrects the second threshold value to the background noise value + the increase amount 1 (low _ add) and corrects the fourth threshold value to the background noise value + the increase amount 2 (high _ add) by using the reception value detected by the distance sensor in the present cycle as the background noise value. The modified second threshold and the modified fourth threshold participate in the subsequent determination of the distance between the user and the screen of the terminal device.
Wherein, the increment 1 and the increment 2 are preset fixed values. For example, the increase 1 and the increase 2 are calculated from the factory calibration value low _ threshold 1/high _ threshold 1:
low_add = low_threshold 1 – ground_noise
high_add = high_threshold1– ground_noise
and the ground _ noise is a background noise value received when the sensor is not shielded in the factory calibration environment. low threshold1 may be the acceptance value of a standard gray card placed 5cm (centimeters) from the receiver of the sensor. high threshold1 may be the acceptance value of a standard gray card placed 3cm from the sensor's receiver.
307. And the terminal equipment determines the distance between the user and the screen of the terminal equipment based on the corrected second threshold and the corrected fourth threshold.
In the embodiment of the application, after the second threshold and the fourth threshold are corrected, the terminal device determines the distance between the user and the screen of the terminal device based on the corrected second threshold and fourth threshold.
For example, if the reception value of the distance sensor is larger than the corrected fourth threshold value, the terminal device determines that the user is close to the screen of the terminal device. If the reception value of the distance sensor is less than the corrected second threshold value, the terminal device determines that the user is far from the screen of the terminal device.
308. The terminal device determines the distance of the user from the screen of the terminal device based on the second threshold value for determining whether the user is far away from the screen of the terminal device in the last period and the fourth threshold value for determining whether the user is close to the screen of the terminal device in the last period.
That is, if the flag is not set or the screen of the terminal device is not dirty, the terminal device does not need to correct the second threshold and the fourth threshold in the present cycle, or determines whether the user is far from the screen of the terminal device by determining whether the user is far from the second threshold and the fourth threshold used by the screen of the terminal device in the previous cycle. For example, if the reception value of the distance sensor is greater than a fourth threshold value used in the last cycle to determine whether the user is close to the screen of the terminal device, the terminal device determines that the user is close to the screen of the terminal device. If the received value of the distance sensor is less than a second threshold value used in the last period to determine whether the user is far away from the screen of the terminal device, the terminal device determines that the user is far away from the screen of the terminal device.
In the method described in fig. 3, even if the reception value of the distance sensor does not reach the first threshold value in the present cycle, the screen of the terminal device is at risk of being stained as long as the identification bit is set. Therefore, it is necessary to identify whether or not the screen of the terminal device has dirt. Therefore, based on the method described in fig. 3, it can be avoided that when the screen of the terminal device has dirt, it is not triggered to identify whether the screen of the terminal device has dirt, and therefore, dirt on the screen of the terminal device can be prevented from being missed.
Referring to fig. 4, fig. 4 is a schematic flowchart of another screen stain recognition method according to an embodiment of the present disclosure. The screen stain recognition method comprises steps 401-414. The steps 405 to 409 are a specific implementation manner of the step 305. Wherein:
401. the terminal device acquires a reception value detected by a distance sensor of the terminal device.
The specific implementation manners of steps 401 to 404 are the same as those of steps 301 to 304, and are not described herein again.
402. The terminal device judges whether the reception value detected by the distance sensor reaches a first threshold value. If the received value reaches the first threshold, step 403 is performed. If the received value does not reach the first threshold, go to step 404.
403. And the terminal equipment sets the identification position.
404. The terminal device determines whether the identification bit is set. If the terminal device determines that the identification bit is set, step 405 is performed. The terminal device determines that the identification bit is not set, then step 414 is performed.
405. The terminal device determines whether the reception value is greater than a second threshold value used in the last period for determining whether the user is far from the screen of the terminal device. If the received value is greater than the second threshold, step 406 is performed. If the received value is less than the second threshold, go to step 412.
In one possible implementation, if it is determined that the received value is equal to the second threshold, step 406 is performed, and step 412 may also be performed.
406. The terminal device determines whether the reception value is less than a third threshold value. If the received value is smaller than the third threshold, step 407 is executed, and if the received value is greater than the third threshold, step 413 is executed.
The third threshold is an empirical value, for example, enough testing machines are selected to perform various types of actual stain tests on the collected stained stains, and the third threshold is the maximum value among the received values detected by the distance sensor. And when the receiving value detected by the distance sensor is smaller than a third threshold value, the receiving value falls into a stain characteristic interval and has the risk of staining stains, and the accumulation of the stability index is carried out next step. When the receiving value detected by the distance sensor is greater than the third threshold, it indicates that although the receiving value detected by the distance sensor is greater, the obstruction is not far away, and the possibility that the screen of the terminal device is stained is not high. Therefore, the second threshold and the fourth threshold may not be modified in the present cycle, and the distance of the user from the screen of the terminal device may be determined based on the second threshold used to determine whether the user is far away from the screen of the terminal device in the previous cycle and the fourth threshold used to determine whether the user is close to the screen of the terminal device in the previous cycle. Therefore, the received value detected by the distance sensor is further judged based on the third threshold, and whether the screen of the terminal device is stained or not can be more accurately determined, so that misjudgment is avoided.
In one possible implementation, if it is determined that the received value is equal to the third threshold, step 407 is performed, and step 413 may also be performed.
407. And the terminal equipment accumulates the stability index.
In the embodiment of the application, the receiving value detected by the distance sensor is smaller than the third threshold, and at this time, the receiving value falls into the stain characteristic interval, so that the risk of staining stains is generated, and the stability index is accumulated in the next step. Among them, the stability index may use time as an index. For example, when it is determined that the reception value detected by the distance sensor is greater than the second threshold value and less than the third threshold value, the stability index is increased by 100 milliseconds. In addition, the stability index may use the number of times as an index. For example, when it is determined that the reception value detected by the distance sensor is greater than the second threshold value and less than the third threshold value, the stability index is increased 1 time. Therefore, the stability index ensures that the stability of the received value detected by the distance sensor can be judged more accurately subsequently.
408. The terminal equipment determines whether the stable index reaches a preset index. If the stable index is determined to reach the preset index, step 409 is executed. If it is determined that the stability indicator does not reach the predetermined indicator, step 414 is executed.
For example, the preset index is set to 400 milliseconds. When it is determined that the reception value detected by the distance sensor is greater than the second threshold value and less than the third threshold value, the stability index is accumulated for 100 milliseconds, and if the value of the stability index is 300 milliseconds before the accumulation, the stability index becomes 400 milliseconds after the accumulation. When the accumulation reaches 400 milliseconds, the screen of the terminal device is indicated to be dirty. For another example, the preset index is set to 10 times, and when it is determined that the reception value detected by the distance sensor is greater than the second threshold value and less than the third threshold value, the stability index is accumulated, and if the value of the stability index is 9 times before the accumulation is not performed, the stability index becomes 10 times after the accumulation. When the total number reaches 10 times, the screen of the terminal device is indicated to be dirty. Of course, the preset index may also be set to other values, and the embodiment of the present application is not limited.
409. The terminal equipment determines that the screen of the terminal equipment is dirty, clears the identification position and resets the stable index to zero.
In the embodiment of the application, after the screen of the terminal device is determined to be stained, the identification position is emptied, and the stability index is reset to zero, so that the receiving value detected by the distance sensor of the terminal device in the next period can be correctly processed and judged again, the stability can be judged again, and meanwhile, the follow-up distance between the user and the screen of the terminal device can be more accurately determined.
410. The terminal device corrects the second threshold and the fourth threshold for determining the distance of the user from the screen of the terminal device based on the reception value detected by the present period distance sensor.
411. And the terminal equipment determines the distance between the user and the screen of the terminal equipment based on the corrected second threshold and the corrected fourth threshold.
412. And the terminal equipment clears the identification position and resets the stability index to zero.
413. And the terminal equipment returns the stability index to zero.
414. The terminal device determines the distance of the user from the screen of the terminal device based on the second threshold value for determining whether the user is far away from the screen of the terminal device in the last period and the fourth threshold value for determining whether the user is close to the screen of the terminal device in the last period.
In the method described in fig. 4, the received value detected by the distance sensor is further determined by the second threshold, the third threshold and the fourth threshold, and the stability of the received value is determined, so that whether the screen of the terminal device is dirty or not can be determined more accurately, and thus, misdetermination is avoided.
Referring to fig. 5, fig. 5 is a schematic flowchart of another screen stain recognition method according to an embodiment of the present disclosure. The screen stain recognition method comprises the steps 501-515. Step 507 and step 508 are a specific implementation manner of step 407. Wherein:
501. the terminal device acquires a reception value detected by a distance sensor of the terminal device.
The specific implementation manners of steps 501 to 506 are the same as those of steps 401 to 406, and are not described herein again.
502. The terminal device judges whether the reception value detected by the distance sensor reaches a first threshold value. If the received value reaches the first threshold, step 503 is executed. If the received value does not reach the first threshold, go to step 504.
503. And the terminal equipment sets the identification position.
504. The terminal device determines whether the identification bit is set. If the terminal device determines that the identification bit is set, step 505 is performed. The terminal device determines that the identification bit is not set, then step 515 is performed.
505. The terminal device determines whether the reception value is greater than a second threshold value used in the last period for determining whether the user is far from the screen of the terminal device. If the received value is greater than the second threshold, go to step 506. If the received value is less than the second threshold, go to step 513.
506. The terminal device determines whether the reception value is less than a third threshold value. If the received value is smaller than the third threshold, step 507 is executed, and if the received value is greater than the third threshold, step 514 is executed.
507. The terminal device determines whether a difference between the received value and the received value detected by the last periodic distance sensor is smaller than a preset value. If the difference is smaller than the predetermined value, go to step 508. If the difference is greater than the predetermined value, go to step 514.
In the embodiment of the present application, after it is determined that the received value detected by the distance sensor is smaller than the third threshold, if a difference between the received value and the received value detected by the distance sensor in the previous period is smaller than a preset value, accumulation of the stability index is performed. Therefore, the stability of the reception value detected by the distance sensor can be determined more accurately by this method.
In a possible implementation manner, if it is determined that the difference between the received value and the received value detected by the previous period distance sensor is equal to the preset value, step 508 is executed, and step 514 may also be executed.
In one possible implementation, the preset value is used to reflect the amplitude of the fluctuation of the reception value detected by the distance sensor in a stable environment (without obstruction in motion). For example, the maximum receiving value detected by the distance sensor in a stable environment is X through experimentsmaxThe minimum receiving value detected by the distance sensor in a stable environment is XminThen the preset value can be set to Xmax-Xmin. The preset values corresponding to the distance sensors produced by different manufacturers can be different. The preset values corresponding to different types of distance sensors can also be different.
508. And the terminal equipment accumulates the stability index.
The specific implementation manners of steps 508 to 515 are the same as those of steps 407 to 414, and are not described herein.
509. The terminal equipment determines whether the stable index reaches a preset index. If it is determined that the stability index reaches the predetermined index, step 510 is executed. If it is determined that the stability indicator does not reach the predetermined indicator, step 515 is performed.
510. The terminal equipment determines that the screen of the terminal equipment is dirty, clears the identification position and resets the stable index to zero.
511. The terminal device corrects the second threshold and the fourth threshold for determining the distance of the user from the screen of the terminal device based on the reception value detected by the present period distance sensor.
512. And the terminal equipment determines the distance between the user and the screen of the terminal equipment based on the corrected second threshold and the corrected fourth threshold.
513. And the terminal equipment clears the identification position and resets the stability index to zero.
514. And the terminal equipment returns the stability index to zero.
515. The terminal device determines the distance of the user from the screen of the terminal device based on the second threshold value for determining whether the user is far away from the screen of the terminal device in the last period and the fourth threshold value for determining whether the user is close to the screen of the terminal device in the last period.
In the method described in fig. 3, the terminal device determines the stability by using the difference between the reception value detected by the distance sensor and the reception value detected by the distance sensor in the last cycle, and determines the stable state by accumulating the stability index. Therefore, the stability of the receiving value detected by the distance sensor can be more accurately judged based on the mode, whether the screen of the terminal equipment has dirt or not can be more accurately determined, and therefore misjudgment is avoided.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a screen blot identification apparatus according to an embodiment of the present invention, where the screen blot identification apparatus may be a terminal device or an apparatus (e.g., a chip) having a function of the terminal device. Specifically, as shown in fig. 6, the screen stain recognition apparatus 60 may include:
an acquisition unit 601, configured to acquire a received value detected by a distance sensor of the terminal device.
A judging unit 602, configured to judge whether the received value detected by the distance sensor reaches a first threshold.
A setting unit 603, configured to set the identification bit if the determining unit 602 determines that the received value reaches the first threshold.
An identifying unit 604 for identifying whether the screen of the terminal device has dirt based on the received value in case that the identification bit is set.
In one implementation, the determining unit 602 is further configured to determine whether the identification bit is set if the determining unit 602 determines that the received value does not reach the first threshold.
In one implementation, the identifying unit 604 is further configured to identify whether the screen of the terminal device is dirty or not based on the received value if the determining unit 602 determines that the identification bit is set.
In one implementation, the way for the identifying unit 604 to identify whether the screen of the terminal device has the stain based on the received value is specifically: determining whether the received value is greater than a second threshold value used for determining whether the user is far away from the screen of the terminal device in the last period, wherein the second threshold value is the threshold value used for determining whether the user is far away from the screen of the terminal device in the last period; if the determining unit 602 determines that the receiving value is greater than the second threshold, it is determined whether the receiving value is smaller than a third threshold, where the third threshold is a maximum receiving value received by the distance sensor when a preset screen of the terminal device is stained; if the determining unit 602 determines that the received value is smaller than the third threshold, the stability indicator is accumulated; if the determining unit 602 determines that the stable index reaches the preset index, it is determined that the screen of the terminal device has dirt; the apparatus further comprises an emptying unit, wherein: the clearing unit is configured to clear the flag bit and return the stable indicator to zero if the determining unit 602 determines that the stable indicator reaches the preset indicator.
In one implementation, the clearing unit is further configured to clear the flag bit and return the stability indicator to zero if the determining unit 602 determines that the received value is smaller than the second threshold; the apparatus further comprises a determination unit, wherein: the determining unit is used for determining the distance between the user and the screen of the terminal equipment based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, and the second threshold value is smaller than the fourth threshold value.
In one implementation, the clearing unit is further configured to return the stability indicator to zero if the determining unit 602 determines that the received value is greater than the third threshold; the apparatus further comprises a determination unit, wherein: the determining unit is used for determining the distance between the user and the screen of the terminal equipment based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, and the second threshold value is smaller than the fourth threshold value.
In one implementation manner, the apparatus further includes a determining unit, configured to determine, if the determining unit 602 determines that the stable index does not reach the preset index, a distance of the user from the screen of the terminal device based on a second threshold value used by determining whether the user is far away from the screen of the terminal device in a previous cycle and a fourth threshold value used by determining whether the user is close to the screen of the terminal device in the previous cycle, where the second threshold value is smaller than the fourth threshold value.
In one implementation manner, the identifying unit includes an accumulating unit, and if the received value is smaller than the third threshold, the accumulating unit is configured to accumulate the stability indicator, including: if the determining unit 602 determines that the received value is smaller than the third threshold, it is determined whether a difference between the received value and the received value detected by the distance sensor in the previous period is smaller than a preset value; if the determining unit 602 determines that the difference is smaller than the predetermined value, the stability indicators are accumulated.
In one implementation, the accumulating unit is further configured to return the stability indicator to zero if the determining unit 602 determines that the difference is greater than a preset value; the determining unit is used for determining the distance between the user and the screen of the terminal equipment based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, and the second threshold value is smaller than the fourth threshold value.
In one implementation, the identifying unit 604 further includes a modifying unit configured to: if the judging unit 602 judges that the screen of the terminal device is dirty, based on the received value detected by the distance sensor in the present period, correcting a second threshold and a fourth threshold for determining the distance between the user and the screen of the terminal device; and determining the distance between the user and the screen of the terminal equipment based on the corrected second threshold and the corrected fourth threshold.
The embodiments of the present invention and the embodiments of the methods shown in fig. 2 to 5 are based on the same concept, and the technical effects thereof are also the same, and for the specific principle, reference is made to the description of the embodiments shown in fig. 2 to 5, which is not repeated herein.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. The terminal device 70 may comprise a memory 701, a processor 702, a communication interface 703 and a distance sensor 704, the memory 701, the processor 702, the communication interface 703 and the distance sensor 704 being connected by one or more communication buses. Wherein a communication interface 703 is controlled by the processor 702 for transmitting and receiving information.
Memory 701 may include both read-only memory and random access memory and provides instructions and data to processor 702. A portion of memory 701 may also include non-volatile random access memory.
The Processor 702 may be a Central Processing Unit (CPU), and the Processor 702 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general-purpose processor may be a microprocessor, but in the alternative, the processor 702 may be any conventional processor or the like. Wherein:
a memory 701 for storing program instructions.
A processor 702 for calling program instructions stored in the memory 701.
And a distance sensor 704 for determining a distance between the distance sensor and an object from the detected received value.
The processor 702 calls the program instructions stored in the memory 701 to cause the terminal device 70 to perform the following operations:
acquiring a receiving value detected by a distance sensor of the terminal equipment;
judging whether a receiving value detected by a distance sensor reaches a first threshold value;
if the receiving value reaches a first threshold value, setting the identification position;
in the case where the identification bit is set, it is recognized whether or not the screen of the terminal device has dirt based on the reception value.
In one implementation, the processor 702 is configured to invoke program instructions stored in the memory 701 to cause the terminal device 70 to further perform the following operations: if the received value does not reach the first threshold value, determining whether the identification bit is set; and if the identification position is set, identifying whether the screen of the terminal equipment has dirt or not based on the received value.
In one implementation, the operation of identifying whether the screen of the terminal device has the stain based on the received value is specifically: processor 702 is configured to invoke program instructions stored in memory 701 to cause the terminal device 70 to determine whether the received value is greater than a second threshold value used in a previous cycle to determine whether the user was away from the screen of the terminal device, the second threshold value being a threshold value used in a previous cycle to determine whether the user was away from the screen of the terminal device; if the receiving value is larger than a second threshold value, determining whether the receiving value is smaller than a third threshold value, wherein the third threshold value is a maximum receiving value received by the distance sensor when a preset screen of the terminal device is stained; if the received value is smaller than a third threshold value, accumulating the stable index; if the stable index reaches a preset index, determining that the screen of the terminal equipment has stains; the terminal device further performs: if the stable index reaches the preset index, clearing the identification bit and zeroing the stable index.
In one implementation, the processor 702 is configured to invoke program instructions stored in the memory 701 to cause the terminal device 70 to further perform the following operations: and if the received value is smaller than a second threshold, clearing the identification bit, returning the stability index to zero, and determining the distance between the user and the screen of the terminal equipment based on the second threshold used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold used for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold is smaller than the fourth threshold.
In one implementation, the processor 702 is configured to invoke program instructions stored in the memory 701 to cause the terminal device 70 to further perform the following operations: and if the received value is larger than a third threshold value, the stability index is reset to zero, and the distance between the user and the screen of the terminal equipment is determined based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold value is smaller than the fourth threshold value.
In one implementation, the processor 702 is configured to invoke program instructions stored in the memory 701 to cause the terminal device 70 to further perform the following operations: and if the stable index does not reach the preset index, determining the distance between the user and the screen of the terminal equipment based on a second threshold value for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold value is smaller than the fourth threshold value.
In one implementation, if the received value is less than the third threshold, the processor 702 is configured to call the program instructions stored in the memory 701 to enable the terminal device 70 to accumulate the stability indicator, including: if the receiving value is smaller than a third threshold value, determining whether the difference value between the receiving value and the receiving value detected by the distance sensor in the previous period is smaller than a preset value; if the difference is smaller than the preset value, the stability index is accumulated.
In one implementation, if the difference is greater than a preset value, the processor 702 is configured to call program instructions stored in the memory 701 to enable the terminal device 70 to zero the stability indicator, and determine the distance between the user and the screen of the terminal device based on a second threshold value used for determining whether the user is far away from the screen of the terminal device in the previous cycle and a fourth threshold value used for determining whether the user is close to the screen of the terminal device in the previous cycle, where the second threshold value is smaller than the fourth threshold value.
In one implementation, if it is determined that the screen of the terminal device has stains, the processor 702 is configured to call the program instructions stored in the memory 701 to enable the terminal device 70 to modify the second threshold and the fourth threshold for determining the distance between the user and the screen of the terminal device based on the received value detected by the distance sensor in the present cycle; the terminal device 70 determines the distance of the user from the screen of the terminal device based on the corrected second threshold and fourth threshold.
It should be noted that, for details that are not mentioned in the embodiment corresponding to fig. 7 and the specific implementation manner of each step, reference may be made to the embodiments shown in fig. 2 to fig. 5 and the foregoing description, and details are not repeated here.
Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the steps executed in the method embodiments shown in fig. 2 to 5.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (20)

1. A screen stain recognition method is applied to a terminal device, and comprises the following steps:
acquiring a receiving value detected by a distance sensor of the terminal equipment;
judging whether the receiving value detected by the distance sensor reaches a first threshold value;
if the receiving value reaches the first threshold value, setting an identification position;
and in the case that the identification position is set, identifying whether the screen of the terminal equipment has dirt or not based on the received value.
2. The method of claim 1, further comprising:
if the received value does not reach the first threshold value, determining whether the identification bit is set;
and if the identification position is set, identifying whether the screen of the terminal equipment has dirt or not based on the received value.
3. The method according to claim 1, wherein the identifying whether the screen of the terminal device has stains based on the received value comprises:
determining whether the received value is greater than a second threshold value used in determining whether a user is far away from a screen of the terminal device in a last period;
if the receiving value is larger than the second threshold, determining whether the receiving value is smaller than a third threshold, wherein the third threshold is a preset maximum receiving value received by the distance sensor when the screen of the terminal device is stained;
if the receiving value is smaller than the third threshold value, accumulating the stability index;
if the stable index reaches a preset index, determining that the screen of the terminal equipment has stains;
the method further comprises the following steps:
and if the stable index reaches a preset index, clearing the identification position and zeroing the stable index.
4. The method of claim 3, further comprising:
and if the receiving value is smaller than the second threshold, clearing the identification bit, returning the stability index to zero, and determining the distance between the user and the screen of the terminal equipment based on the second threshold for determining whether the user is far away from the screen of the terminal equipment in the last period and the fourth threshold for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold is smaller than the fourth threshold.
5. The method of claim 3, further comprising:
and if the received value is larger than the third threshold, zeroing the stability index, and determining the distance between the user and the screen of the terminal equipment based on a second threshold used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold used for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold is smaller than the fourth threshold.
6. The method of claim 3, further comprising:
and if the stable index does not reach the preset index, determining the distance between the user and the screen of the terminal equipment based on a second threshold value for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold value is smaller than the fourth threshold value.
7. The method according to any one of claims 3 to 6, wherein if the received value is smaller than the third threshold, accumulating the stability indicator comprises:
if the receiving value is smaller than the third threshold, determining whether a difference value between the receiving value and the receiving value detected by the distance sensor in the previous period is smaller than a preset value;
and if the difference is smaller than the preset value, accumulating the stability index.
8. The method of claim 7, further comprising:
and if the difference is larger than a preset value, the stability index is reset to zero, and the distance between the user and the screen of the terminal equipment is determined based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, wherein the second threshold value is smaller than the fourth threshold value.
9. The method according to any one of claims 1 to 6, further comprising:
if the screen of the terminal device is determined to be stained, correcting a second threshold value and a fourth threshold value used for determining the distance between a user and the screen of the terminal device based on the receiving value detected by the distance sensor in the period;
and determining the distance between the user and the screen of the terminal equipment based on the corrected second threshold and the corrected fourth threshold.
10. A screen blot recognition device, characterized in that said device comprises:
an acquisition unit configured to acquire a reception value detected by a distance sensor of a terminal device;
a determination unit configured to determine whether a reception value detected by the distance sensor reaches a first threshold value;
a setting unit, configured to set an identification bit if the determining unit determines that the received value reaches the first threshold;
and the identification unit is used for identifying whether the screen of the terminal equipment has dirt or not based on the received value under the condition that the identification position is set.
11. The apparatus of claim 10,
the judging unit is further configured to determine whether the identification bit is set if the judging unit judges that the received value does not reach the first threshold;
the identification unit is further configured to identify whether the screen of the terminal device has the stain or not based on the received value if the determination unit determines that the identification position is set.
12. The apparatus according to claim 10, wherein the manner of identifying whether the screen of the terminal device has the stain based on the received value by the identifying unit is specifically:
determining whether the received value is greater than a second threshold value used in determining whether a user is far away from a screen of the terminal device in a last period;
if the receiving value is larger than the second threshold, determining whether the receiving value is smaller than a third threshold, wherein the third threshold is a preset maximum receiving value received by the distance sensor when the screen of the terminal device is stained;
if the receiving value is smaller than the third threshold value, accumulating the stability index;
if the stable index reaches a preset index, determining that the screen of the terminal equipment has stains;
the apparatus further comprises an emptying unit, wherein:
and the emptying unit is used for emptying the identification position and zeroing the stable index if the judgment unit judges that the stable index reaches a preset index.
13. The apparatus according to claim 12, wherein the clearing unit is further configured to clear the flag bit and return the stability indicator to zero if the determining unit determines that the received value is smaller than the second threshold;
the apparatus further comprises a determination unit, wherein:
the determining unit is used for determining the distance between the user and the screen of the terminal equipment based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, and the second threshold value is smaller than the fourth threshold value.
14. The apparatus according to claim 12, wherein the clearing unit is further configured to zero the stability indicator if the determining unit determines that the received value is greater than the third threshold;
the apparatus further comprises a determination unit, wherein:
the determining unit is used for determining the distance between the user and the screen of the terminal equipment based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, and the second threshold value is smaller than the fourth threshold value.
15. The apparatus according to claim 12, further comprising a determining unit, configured to determine, if the determining unit determines that the stability indicator does not reach the preset indicator, a distance of the user from the screen of the terminal device based on a second threshold value used in a previous cycle to determine whether the user is far away from the screen of the terminal device and a fourth threshold value used in a previous cycle to determine whether the user is close to the screen of the terminal device, where the second threshold value is smaller than the fourth threshold value.
16. The apparatus according to any one of claims 12 to 15, wherein the identifying unit includes an accumulating unit configured to accumulate a stability indicator if the received value is smaller than the third threshold, and the accumulating unit includes:
if the judging unit judges that the receiving value is smaller than the third threshold value, whether the difference value between the receiving value and the receiving value detected by the distance sensor in the previous period is smaller than a preset value is determined;
and if the judgment unit judges that the difference value is smaller than the preset value, accumulating the stability index.
17. The apparatus according to claim 16, wherein the accumulating unit is further configured to return the stability indicator to zero if the determining unit determines that the difference is greater than a preset value;
the determining unit is used for determining the distance between the user and the screen of the terminal equipment based on a second threshold value used for determining whether the user is far away from the screen of the terminal equipment in the last period and a fourth threshold value used for determining whether the user is close to the screen of the terminal equipment in the last period, and the second threshold value is smaller than the fourth threshold value.
18. The apparatus according to any one of claims 10 to 15, wherein the identification unit further comprises a correction unit configured to:
if the judging unit judges that the screen of the terminal equipment has the dirt, correcting a second threshold value and a fourth threshold value which are used for determining the distance between a user and the screen of the terminal equipment based on the receiving value detected by the distance sensor in the period;
and determining the distance between the user and the screen of the terminal equipment based on the corrected second threshold and the corrected fourth threshold.
19. A terminal device comprising a distance sensor, a memory for storing a computer program comprising program instructions, and a processor configured to invoke the program instructions to perform the method of any of claims 1 to 9.
20. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 9.
CN202011278163.8A 2020-11-16 2020-11-16 Screen stain recognition method and device Active CN112101340B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011278163.8A CN112101340B (en) 2020-11-16 2020-11-16 Screen stain recognition method and device
PCT/CN2020/133120 WO2022099823A1 (en) 2020-11-16 2020-12-01 Screen stain identification method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011278163.8A CN112101340B (en) 2020-11-16 2020-11-16 Screen stain recognition method and device

Publications (2)

Publication Number Publication Date
CN112101340A true CN112101340A (en) 2020-12-18
CN112101340B CN112101340B (en) 2021-02-05

Family

ID=73785634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011278163.8A Active CN112101340B (en) 2020-11-16 2020-11-16 Screen stain recognition method and device

Country Status (2)

Country Link
CN (1) CN112101340B (en)
WO (1) WO2022099823A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106019260A (en) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 Distance sensor anti-fouling method and system on mobile terminal
CN106708332A (en) * 2016-12-19 2017-05-24 广东欧珀移动通信有限公司 Method, device and terminal for setting thresholds of proximity sensors
CN106791047A (en) * 2016-12-05 2017-05-31 广东欧珀移动通信有限公司 A kind of foreign matter detecting method of mobile terminal, device and mobile terminal
CN106850943A (en) * 2016-12-07 2017-06-13 努比亚技术有限公司 A kind of apparatus and method for detecting terminal and the distance of shelter
CN107219515A (en) * 2017-05-25 2017-09-29 深圳市金立通信设备有限公司 The parameter calibrating method and terminal of a kind of range sensor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265252B (en) * 2011-06-24 2013-04-24 华为终端有限公司 A method and a device for adjusting a sensing threshold value of an infrared proximity sensor
CN106293205B (en) * 2016-07-29 2019-10-08 努比亚技术有限公司 A kind of screen spot reply devices and methods therefor
CN106443639B (en) * 2016-09-26 2019-05-17 深圳市金立通信设备有限公司 A kind of range calibration method and terminal
CN111026300B (en) * 2019-11-19 2021-04-02 维沃移动通信有限公司 Screen display method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106019260A (en) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 Distance sensor anti-fouling method and system on mobile terminal
CN106791047A (en) * 2016-12-05 2017-05-31 广东欧珀移动通信有限公司 A kind of foreign matter detecting method of mobile terminal, device and mobile terminal
CN106850943A (en) * 2016-12-07 2017-06-13 努比亚技术有限公司 A kind of apparatus and method for detecting terminal and the distance of shelter
CN106708332A (en) * 2016-12-19 2017-05-24 广东欧珀移动通信有限公司 Method, device and terminal for setting thresholds of proximity sensors
CN107219515A (en) * 2017-05-25 2017-09-29 深圳市金立通信设备有限公司 The parameter calibrating method and terminal of a kind of range sensor

Also Published As

Publication number Publication date
CN112101340B (en) 2021-02-05
WO2022099823A1 (en) 2022-05-19

Similar Documents

Publication Publication Date Title
JP3669524B2 (en) Vehicle distance measuring device and distance measuring method
KR101952798B1 (en) Detection distance calibration method, apparatus, and device
CN108279408B (en) Proximity sensor calibration method and device, mobile terminal and computer readable medium
CN110288599B (en) Dead pixel detection method and device, electronic equipment and storage medium
CN105866781B (en) Data processing method and electronic equipment
CN107884764B (en) Proximity state detection method and device, storage medium and electronic device
CN102200464A (en) False echo storage in case of container noise
CN112204420A (en) Time-of-flight rangefinder for structured light systems
CN113570582B (en) Camera cover plate cleanliness detection method and detection device
CN109738004B (en) Method and device for calibrating proximity sensor, electronic equipment and storage medium
CN103837910B (en) Method and terminal that a kind of proximity transducer threshold value is determined
CN112101340B (en) Screen stain recognition method and device
CN110609977B (en) Bottom noise adjusting and processing method and device based on proximity sensor and computer equipment
CN112817807A (en) Chip detection method, device and storage medium
CN115469320A (en) Laser ranging method, device and medium
EP4202477A2 (en) Lidar control method, terminal apparatus, and computer-readable storage medium
CN110648481B (en) Calibration method and perimeter alarm device
US20210239817A1 (en) Method and device for processing an ultrasonic signal recorded by an ultrasonic sensor
US10288726B2 (en) Impulse noise detection and removal for radar and communication systems
CN109655269B (en) Motor vibration detection method and device
CN106797231B (en) A kind of method and apparatus compensating optical time domain reflectometer originating terminal signal error
US20190360868A1 (en) Wireless temperature measurement system and signal processing method thereof
CN114054124B (en) Test tube rack positioning method, sample transmission device and storage medium
RU192302U1 (en) Pulse receiving device
CN116683986B (en) Ghost image identification method, system and medium of optical time domain reflectometer

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
GR01 Patent grant
GR01 Patent grant