CN106210709B - Information prompting method and device - Google Patents

Information prompting method and device Download PDF

Info

Publication number
CN106210709B
CN106210709B CN201610543618.1A CN201610543618A CN106210709B CN 106210709 B CN106210709 B CN 106210709B CN 201610543618 A CN201610543618 A CN 201610543618A CN 106210709 B CN106210709 B CN 106210709B
Authority
CN
China
Prior art keywords
camera lens
sensor
parameter
touched
filming apparatus
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.)
Active
Application number
CN201610543618.1A
Other languages
Chinese (zh)
Other versions
CN106210709A (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.)
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 CN201610543618.1A priority Critical patent/CN106210709B/en
Publication of CN106210709A publication Critical patent/CN106210709A/en
Application granted granted Critical
Publication of CN106210709B publication Critical patent/CN106210709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)

Abstract

The disclosure is directed to information prompting method and devices, which comprises obtain the collected parameter of sensor being arranged in around the camera lens of filming apparatus;Judge whether the camera lens is touched according to acquired parameter;The unclean prompting message of output lens is determined whether according to judging result.The disclosure is by obtaining the collected parameter of sensor being arranged in around the camera lens of filming apparatus, judge whether the camera lens is touched according to acquired parameter, and the unclean prompting message of output lens is determined whether according to judging result, it is unholiness to will lead to camera lens after being touched due to camera lens, the unclean state of camera lens is reminded to realize, to remind user to clean camera lens, it is ensured that shoot the quality of image.

Description

Information prompting method and device
Technical field
This application involves electronic technology field more particularly to information prompting methods and device.
Background technique
With the development of economy and society, electronic equipment development is more and more rapider.User can be carried out by filming apparatus Shooting, to bring great advantage to the user.Filming apparatus can be camera, video recorder, be also possible to have shooting function The electronic equipment of energy.However, due to that may be contaminated when the camera lens of filming apparatus is exposed to outside, such as user's finger is accidentally Encounter the camera lens etc. of smart phone.If continuing to shoot using the unclean filming apparatus of camera lens, it will lead to shooting and obtain Picture quality it is poor.
Summary of the invention
To overcome the problems in correlation technique, present disclose provides information prompting method and devices.
According to the first aspect of the embodiments of the present disclosure, a kind of information prompting method is provided, which comprises
Obtain the collected parameter of sensor being arranged in around the camera lens of filming apparatus;
Judge whether the camera lens is touched according to acquired parameter;
The unclean prompting message of output lens is determined whether according to judging result.
In an optional implementation, the sensor being arranged in around the camera lens of filming apparatus that obtains is collected Parameter, comprising:
Obtain the peripheral region that the camera lens of filming apparatus is set and the collected parameter of sensor around the camera lens;
Or, obtaining scattering device in the collected ginseng of at least two sensors of the peripheral region of the camera lens of filming apparatus Number.
In an optional implementation, the sensor includes following one or more sensors:
Biosensor, temperature sensor, pressure sensor, humidity sensor, capacitance touching control sensor.
In an optional implementation, the parameter according to acquired in judges whether the camera lens is touched, packet Include at least meet it is following it is a kind of default by touch condition when, determine that the camera lens is touched:
The sensor is biosensor, and the biosensor collects biological characteristic parameter;
Acquired parameter is the temperature that temperature sensor detects, and determines the first preset time period according to the temperature It is poor that interior temperature change value is greater than or equal to set temperature;
Acquired parameter is the pressure value that detects of pressure sensor, and according to the pressure value determine second it is default when Between in section change value of pressure be greater than or equal to set pressure differential;
Acquired parameter is the humidity value that humidity sensor detects, and the humidity value is greater than or equal to setting humidity Value;
Acquired parameter is the capacitance that capacitance touching control sensor detects, and is determined currently according to the capacitance Capacitor changes.
It is described to determine whether that the unclean prompting of output lens is believed according to judging result in an optional implementation Breath, comprising:
When testing result is that camera lens is touched, the direct unclean prompting message of output lens;
Or, when testing result is that camera lens is touched, and when preset alert condition meets, the unclean prompting of output lens Information.
In an optional implementation, the preset alert condition includes at least following one or more conditions:
The preset keys or buttons for indicating progress camera lens prompting are triggered;
Filming apparatus starting or the starting of camera application program.
According to the second aspect of an embodiment of the present disclosure, a kind of information reminding device is provided, comprising:
Parameter acquisition module is configured as obtaining the collected ginseng of sensor being arranged in around the camera lens of filming apparatus Number;
Judgment module is touched, is configured as judging whether the camera lens is touched according to acquired parameter;
Information reminding module is configured as determining whether the unclean prompting message of output lens according to judging result.
In an optional implementation, the parameter acquisition module includes:
First parameter acquisition submodule is configured as obtaining the peripheral region for the camera lens that filming apparatus is arranged in and around institute State the collected parameter of sensor of camera lens;
Or, the second parameter acquisition submodule, is configured as obtaining scattering device in the peripheral region of the camera lens of filming apparatus The collected parameter of at least two sensors.
In an optional implementation, the sensor includes following one or more sensors:
Biosensor, temperature sensor, pressure sensor, humidity sensor, capacitance touching control sensor.
In an optional implementation, the touch judgment module, which includes at least, touches judging submodule, is configured It is when at least meeting following one kind to preset by touch condition, to determine that the camera lens is touched:
The sensor is biosensor, and the biosensor collects biological characteristic parameter;
Acquired parameter is the temperature that temperature sensor detects, and determines the first preset time period according to the temperature It is poor that interior temperature change value is greater than or equal to set temperature;
Acquired parameter is the pressure value that detects of pressure sensor, and according to the pressure value determine second it is default when Between in section change value of pressure be greater than or equal to set pressure differential;
Acquired parameter is the humidity value that humidity sensor detects, and the humidity value is greater than or equal to setting humidity Value;
Acquired parameter is the capacitance that capacitance touching control sensor detects, and is determined currently according to the capacitance Capacitor changes.
In an optional implementation, the information reminding module includes:
The first information reminds submodule, is configured as when testing result is that camera lens is touched, direct output lens are unclean Net prompting message;
Or, the second information reminding submodule, is configured as being touched when testing result for camera lens, and preset alert condition When meeting, the unclean prompting message of output lens.
In an optional implementation, the preset alert condition includes at least following one or more conditions:
The preset keys or buttons for indicating progress camera lens prompting are triggered;
Filming apparatus starting or the starting of camera application program.
According to the third aspect of an embodiment of the present disclosure, a kind of information reminding device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the collected parameter of sensor being arranged in around the camera lens of filming apparatus;
Judge whether the camera lens is touched according to acquired parameter;
The unclean prompting message of output lens is determined whether according to judging result.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The disclosure is by obtaining the collected parameter of sensor being arranged in around the camera lens of filming apparatus, according to acquired Parameter judge whether the camera lens is touched, and the unclean prompting message of output lens is determined whether according to judging result, It is unholiness to will lead to camera lens after being touched due to camera lens, the unclean state of camera lens is reminded to realize, to remind use Clean camera lens in family, it is ensured that shoot the quality of image.
The peripheral region of camera lens, and sensor surrounding lens can be arranged in sensor by the disclosure, so as to compared with Around comprehensive detector lens by touch condition, and then determine whether camera lens is touched, improve detection accuracy.
In the disclosure, sensor is at least two sensors of the scattering device in the peripheral region of camera lens, to realize logical Multiple sensors being detected by touch condition to camera lens is crossed, it is lower to the shape need of sensor, it is easy to accomplish.
Sensor in the disclosure can be biosensor, temperature sensor, pressure sensor, humidity sensor, electricity One of appearance formula touch sensing or multiple sensors, thus realize by one or more sensor detector lens whether by It touches, it is easy to accomplish.When there are a plurality of types of sensors, it can use the parameter that each sensor detects and judge mirror respectively Whether head is touched, to increase the range of test object, also can use the parameter that each sensor detects while judge mirror Whether head is touched, to improve judging nicety rate.
The disclosure when biosensor collects biological characteristic parameter, can determine that the camera lens of filming apparatus is touched, When to realize that contact has biological tissue on camera lens, unholiness prompting is carried out, to avoid causing to shoot due to biological tissue The defect for the poor image quality come.
The disclosure can be sentenced when detecting that temperature change value is greater than or equal to set temperature difference in the first preset time period The camera lens for determining filming apparatus is touched, to realize when having the object of other temperature to contact on camera lens, carries out that camera lens is unholiness mentions It wakes up, to avoid causing camera lens to pollute since other objects contact camera lens, and makes the defect for shooting the poor image quality come.
The disclosure can be sentenced when detecting that change value of pressure is greater than or equal to set pressure differential in the second preset time period The camera lens for determining filming apparatus is touched, thus when realization has other objects to contact camera lens, it can be with the unclean prompting of output lens Information to avoid causing camera lens to pollute since other objects contact camera lens, and makes the defect for shooting the poor image quality come.
The disclosure can determine that the camera lens of filming apparatus is touched when humidity is greater than or equal to setting humidity value, thus It, can be with the unclean prompting message of output lens, to avoid due to thering is liquid to cause on camera lens when having liquid on realization camera lens Shoot the defect for the poor image quality come.
When the disclosure can detect that capacitor changes by capacitance touching control sensor, the camera lens of filming apparatus is determined It is touched, to avoid causing camera lens to pollute due to human contact's camera lens, and makes the defect for shooting the poor image quality come.
The disclosure is when testing result is that camera lens is touched, the direct unclean prompting message of output lens, to realize Instant alerts.
The disclosure can also be that camera lens be touched, and when preset alert condition meets, output lens are not in testing result Clean prompting message just carries out when realization is met the requirements to define the time of the unclean prompting message of output lens It reminds, avoids frequently reminding caused by instant alerts.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Figure 1A is a kind of disclosure flow chart of information prompting method shown according to an exemplary embodiment.
Figure 1B is a kind of disclosure filming apparatus schematic diagram shown according to an exemplary embodiment.
Fig. 1 C is a kind of disclosure sensor position schematic diagram shown according to an exemplary embodiment.
Fig. 1 D is the disclosure another sensor position schematic diagram shown according to an exemplary embodiment.
Fig. 2 is a kind of disclosure block diagram of information reminding device shown according to an exemplary embodiment.
Fig. 3 is the block diagram of the disclosure another information reminding device shown according to an exemplary embodiment.
Fig. 4 is the block diagram of the disclosure another information reminding device shown according to an exemplary embodiment.
Fig. 5 is the block diagram of the disclosure another information reminding device shown according to an exemplary embodiment.
Fig. 6 is the block diagram of the disclosure another information reminding device shown according to an exemplary embodiment.
Fig. 7 is the block diagram of the disclosure another information reminding device shown according to an exemplary embodiment.
Fig. 8 is a kind of disclosure block diagram for information reminding device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
As shown in Figure 1A, Figure 1A is a kind of disclosure process of information prompting method shown according to an exemplary embodiment Figure, comprising the following steps:
In a step 101, the collected parameter of sensor being arranged in around the camera lens of filming apparatus is obtained.
In a step 102, judge whether the camera lens is touched according to acquired parameter.
In step 103, the unclean prompting message of output lens is determined whether according to judging result.
This method can be used in filming apparatus, can also be used in the control equipment of control filming apparatus.Filming apparatus It can be camera, be also possible to video camera, can also be in the electronic equipment with photography or camera function.For example, electronics is set It is standby to can be smart phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant) etc..
About step 101, sensor can be set around the camera lens of filming apparatus, for example, can be in the periphery of camera lens Sensor is arranged in region.Wherein, peripheral region can be the predeterminable area around camera lens, which can be with camera lens phase Neighbour, with will pass through detection peripheral region determined by touch condition camera lens by touch condition.It will lead to since camera lens is touched Camera lens is unholiness, then can pass through the clean state that camera lens is determined by touch condition of camera lens.
As shown in Figure 1B, Figure 1B is a kind of disclosure filming apparatus schematic diagram shown according to an exemplary embodiment.? In the schematic diagram, the camera lens 110 of filming apparatus and the peripheral region 120 of camera lens are shown.Wherein, camera lens is shown with circle Example explanation.In order to by peripheral region determined by touch condition camera lens by touch condition, can be arranged in peripheral region Sensor, by sensor determined by touch condition peripheral region by touch condition, thus obtain camera lens by touch shape State.
In an optional implementation, sensor is the peripheral region of the camera lens to be arranged in and around the camera lens Sensor, then step 101 can for obtain be arranged in filming apparatus camera lens peripheral region and around the camera lens biography The collected parameter of sensor.
In this implementation, sensor is a kind of sensor that can be looped around around camera lens.As shown in Figure 1 C, Fig. 1 C It is a kind of disclosure sensor position schematic diagram shown according to an exemplary embodiment.In the schematic diagram, sensor is one Kind can be looped around the loop sensor 130 around camera lens.Wherein, this, which is desired to make money or profit, indicates loop sensor with circular dashed line.By ring Position around camera lens and adjacent with camera lens is arranged in shape sensor 130, so as to pass through the true by touch condition of sensor Horizontal glass head by touch condition.
As it can be seen that sensor to be arranged in the peripheral region of camera lens, and sensor surrounding lens, so as to more comprehensive Around detector lens by touch condition, and then determine camera lens by touch condition, improve detection accuracy.
In another optional implementation, the sensor be scattering device the camera lens peripheral region extremely Few two sensors, then step 101 can be at least two of the peripheral region for obtaining scattering device in the camera lens of filming apparatus The collected parameter of sensor.
In this implementation, the shape of sensor is not required, multiple biographies can be set in the peripheral region of camera lens Sensor, with will pass through setting sensor detection peripheral region by touch condition, and then determine camera lens by touch condition.Its In, on the one hand, detect that camera lens is touched by any one sensor, it is possible to determine that the camera lens is touched.On the other hand, it is It avoids judging by accident, can also determine that the camera lens is touched when the adjacent sensors by predetermined number are detected simultaneously by and are touched It touches.
As shown in figure iD, Fig. 1 D is the disclosure another sensor position signal shown according to an exemplary embodiment Figure.In the schematic diagram, 8 sensors 140 are provided in the peripheral region of camera lens, are by 8 140 detector lens of sensor No to be touched, any sensor detects in through 8 sensors when being touched, and determines that camera lens is touched.
For sensor, sensor can be the sensor whether camera lens for detecting filming apparatus is touched.For example, Sensor includes biosensor, temperature sensor, pressure sensor, humidity sensor, one in capacitance touching control sensor Kind or multiple sensors.
As it can be seen that whether the disclosure can be touched by one or more sensor detector lens, to can determine camera lens It is whether clean.Whether when being touched using a kind of sensor detector lens, cost is relatively low.When a plurality of types of sensors of utilization When whether detector lens are touched, it can use the parameter that each sensor detects and judge whether camera lens is touched respectively, thus The range for increasing test object, also can use the parameter that each sensor detects while judging whether camera lens is touched, thus Improve judging nicety rate.
About step 102, can judge whether the camera lens of filming apparatus is touched according to the parameter that sensor acquires.One In a example, the available collected parameter of sensor being arranged in around the camera lens of filming apparatus;When acquired parameter When satisfaction is preset by touch condition, determine that camera lens is touched;When acquired parameter is unsatisfactory for presetting by touch condition, determine Camera lens is not touched.
Presetting by touch condition is the pre-set condition for being used to judge camera lens and whether being touched.The disclosure is enumerated wherein It is several to be illustrated, it presets and a kind of following conditions is included at least by touch condition:
The first condition: the sensor is biosensor, and the biosensor collects biological characteristic parameter.
In the condition, the sensor being arranged in around the camera lens of filming apparatus can be biosensor.Bio-sensing Device is the sensor that can acquire biological characteristic parameter.Wherein, biological characteristic parameter can be skin characteristic parameter, hair feature The biological tissues such as parameter characteristic parameter.When biosensor collects biological characteristic parameter, indicate exist on biosensor Biological tissue therefore, it is determined that there are biological tissues on the camera lens adjacent with biosensor, and then determines that camera lens is touched.
As it can be seen that the present embodiment is when biosensor collects biological characteristic parameter, it is possible to determine that the camera lens of filming apparatus It is touched, so that unholiness prompting is carried out, to avoid causing due to biological tissue when realizing that contact has biological tissue on camera lens Shoot the defect for the poor image quality come.
Second of condition: acquired parameter is the temperature that detects of temperature sensor, and determines the according to the temperature It is poor to be greater than or equal to set temperature for temperature change value in one preset time period.
In the condition, acquired parameter is that the temperature sensor being arranged in around the camera lens of filming apparatus detects Temperature determines current when determining that temperature change value is greater than or equal to set temperature difference in the first preset time period according to temperature Camera lens is contacted in the presence of the object with camera lens different temperatures, then determines that camera lens is unholiness.First preset time period can be according to need Setting is asked, such as since the time of contact camera lens generally will not be too long, 10s, 20s can be set by the first preset time period Deng.
As it can be seen that the present embodiment is detecting that it is poor to be greater than or equal to set temperature for temperature change value in the first preset time period When, determine that the camera lens of filming apparatus is touched, to realize that progress camera lens is unclean when having the object of other temperature to contact on camera lens It is net to remind, to avoid causing camera lens to pollute since other objects contact camera lens, and make to shoot lacking for the poor image quality come It falls into.
The third condition: acquired parameter is the pressure value that pressure sensor detects, and true according to the pressure value Change value of pressure is greater than or equal to set pressure differential in fixed second preset time period.
In the condition, acquired parameter is that the pressure sensor being arranged in around the camera lens of filming apparatus detects Pressure value is indicated when determining that change value of pressure is greater than or equal to set pressure differential in the second preset time period according to pressure value There is object to contact camera lens, then determines that camera lens is unholiness.Wherein, the second preset time period can be with the first preset time period phase Together, it can also be different, set with specific reference to demand, such as since the time of contact camera lens generally will not be too long, it can be by second Preset time period is set as 10s, 15s etc..
As it can be seen that the present embodiment is detecting that change value of pressure is greater than or equal to set pressure differential in the second preset time period When, determine that the camera lens of filming apparatus is touched, thus when realization has other objects to contact camera lens, it can be unclean with output lens Prompting message to avoid causing camera lens to pollute since other objects contact camera lens, and makes to shoot the poor image quality come Defect.
4th kind of condition: acquired parameter is the humidity value that detects of humidity sensor, and the humidity value be greater than or Equal to setting humidity value.
In the condition, acquired parameter is that the humidity sensor being arranged in around the camera lens of filming apparatus detects Humidity value determines that the camera lens of filming apparatus may be touched, to realize camera lens when humidity is greater than or equal to setting humidity value On when having liquid, can be with the unclean prompting message of output lens, to avoid coming due to there is sweat to cause to shoot on camera lens Poor image quality defect.
5th kind of condition: acquired parameter is the capacitance that capacitance touching control sensor detects, and according to the electricity Capacitance determines that capacitance present changes.
In the condition, capacitance touching control sensor is to incude the sensor to work using the electric current of human body, works as hand Refer to and touch when on the metal layer of capacitance touching control sensor, since human body electric field, user's finger and layer on surface of metal form one A coupled capacitor, for high-frequency current, capacitor is direct conductor, and then finger siphons away the electricity of a very little from contact point Stream, causes capacitor to change, so as to judge whether capacitor changes by capacitance touching control sensor, to judge Whether there is human body contact lense head, and then determines whether camera lens is clean.
As it can be seen that determining the mirror of filming apparatus when the disclosure detects that capacitor changes by capacitance touching control sensor Head is touched, and then determines that camera lens is unholiness, to avoid causing camera lens to pollute due to human contact's camera lens, and is made to shoot and Poor image quality defect.
It is understood that above-mentioned several conditions can also be combined.
In an optional implementation, it can then determine that camera lens is touched when any condition meets in combination condition It touches.For example, any one condition meets when the first condition, second of condition, the 4th kind of conditional combination, camera lens quilt is determined It touches.As it can be seen that any condition, which meets, determines that camera lens is not touched, the range of measurand can be increased.
In another optional implementation, camera lens can also be just determined when all conditions meet in combination condition It is touched.For example, when two conditions meet simultaneously, determining that camera lens is touched when second of condition and the third conditional combination.It can See, just determines that camera lens is touched when all conditions meet in combination condition, it can be to avoid erroneous judgement.
In another optional implementation, directly can judge whether the camera lens of filming apparatus is touched by sensor It touches, for example, determining that the camera lens of filming apparatus is touched when meeting following one or more conditions:
Biological characteristic parameter is detected by the biosensor being arranged in around the camera lens of filming apparatus.
Temperature change value in preset time period is detected by the temperature sensor being arranged in around the camera lens of filming apparatus It is poor more than or equal to set temperature.
Change value of pressure in preset time period is detected by the pressure sensor being arranged in around the camera lens of filming apparatus More than or equal to set pressure differential.
Detect that current humidity is greater than or equal to setting by the humidity sensor being arranged in around the camera lens of filming apparatus Humidity value.
Detect that capacitance present changes by the capacitance touching control sensor being arranged in around the camera lens of filming apparatus.
By the camera lens that the sensor that is arranged in around the camera lens of filming apparatus detects filming apparatus whether touched when Machine can be real-time detection, be also possible to be detected when preset trigger condition meets.For example, being directed to biosensor, temperature Sensor, pressure sensor, capacitance touching control sensor etc. are spent, can be measured in real time, once meeting Rule of judgment, then sentence Horizontal glass head is touched.Alternatively, it is also possible to be detected when preset trigger condition meets, for example, preset trigger condition can To be filming apparatus starting, just detected to realize in use process, it can be with power saving.
About step 103, since camera lens is touched, to will lead to camera lens unholiness, that is, it is contaminated to will lead to camera lens, then is sentencing When disconnected result is that camera lens is touched, can with the unclean prompting message of output lens, when judging result is that camera lens is not touched, It can be without any prompting.
Wherein, the unclean prompting message of camera lens can be the instruction unclean prompting message of camera lens, to remind user clear Manage camera lens.Such as " camera lens is unholiness, please clear up for prompt!", for another example " camera lens is touched, and please be cleared up!" etc..Export prompting message Mode can be display output, is also possible to voice output, can also carry out warning reminding.
In an optional implementation, when testing result is that camera lens is touched, direct output lens are unclean Prompting message, to realize instant alerts.
In another optional implementation, when testing result is that camera lens is touched, and preset alert condition meets When, the unclean prompting message of output lens is realized and is met to define the time of the unclean prompting message of output lens It is required that when just reminded, avoid frequently reminding caused by instant alerts.
Wherein, preset alert condition is the pre-set trigger condition reminded, such as can be preset use It is triggered in the keys or buttons for indicating progress camera lens prompting, is also possible to filming apparatus starting or the starting of camera application program Deng so that realization carries out information reminding when keys or buttons are triggered, or in filming apparatus starting or camera application program Information reminding is carried out when starting, to be performed corresponding processing according to prompting message, avoids influencing shooting effect.
Various technical characteristics in embodiment of above can be arbitrarily combined, as long as the combination between feature is not present Conflict or contradiction, but as space is limited, it is not described one by one, therefore the various technical characteristics in above embodiment is any It is combined the range for also belonging to this disclosure.
Corresponding with the embodiment of aforementioned information based reminding method, the disclosure additionally provides information reminding device and its is applied Terminal embodiment.
As shown in Fig. 2, Fig. 2 is a kind of disclosure block diagram of information reminding device shown according to an exemplary embodiment, Described device includes: parameter acquisition module 21, touches judgment module 22 and information reminding module 23.
Wherein, parameter acquisition module 21 are configured as obtaining the sensor acquisition being arranged in around the camera lens of filming apparatus The parameter arrived.
Judgment module 22 is touched, is configured as judging whether the camera lens is touched according to acquired parameter.
Information reminding module 23 is configured as determining whether the unclean prompting message of output lens according to judging result.
As seen from the above-described embodiment, by obtaining the collected ginseng of sensor being arranged in around the camera lens of filming apparatus Number, judges whether the camera lens is touched according to acquired parameter, and determine whether that output lens are unclean according to judging result Net prompting message reminds the unclean state of camera lens to realize, to remind user to clean camera lens, it is ensured that shooting figure The quality of picture.
As shown in figure 3, Fig. 3 is the frame of the disclosure another information reminding device shown according to an exemplary embodiment Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 2, the parameter acquisition module 21 includes: that the first parameter obtains son Module 211.
Wherein, the first parameter acquisition submodule 211 is configured as obtaining the peripheral region for the camera lens that filming apparatus is arranged in And around the collected parameter of sensor of the camera lens.
As seen from the above-described embodiment, sensor can be arranged in the peripheral region of camera lens, and sensor surrounding lens, It so as to the clean state around more comprehensive detector lens, and then determines the clean state of camera lens, improves detection accuracy.
As shown in figure 4, Fig. 4 is the frame of the disclosure another information reminding device shown according to an exemplary embodiment Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 2, the parameter acquisition module 21 includes: that the second parameter obtains son Module 212.
Wherein, the second parameter acquisition submodule 212 is configured as obtaining scattering device in the periphery of the camera lens of filming apparatus The collected parameter of at least two sensors in region.
As seen from the above-described embodiment, sensor may be at least two sensings of the scattering device in the peripheral region of camera lens Device is detected to realize by clean state of multiple sensors to camera lens, lower to the shape need of sensor, is easy It realizes.
In an optional implementation, the sensor includes following one or more sensors:
Biosensor, temperature sensor, pressure sensor, humidity sensor, capacitance touching control sensor.
As seen from the above-described embodiment, sensor can be biosensor, temperature sensor, pressure sensor, humidity and pass One of sensor, capacitance touching control sensor or multiple sensors detect mirror by one or more sensors to realize Whether head is touched, easy to accomplish.When there are a plurality of types of sensors, the parameter point that each sensor detects can use Do not judge whether camera lens is touched, to increase the range of test object, it is same also to can use the parameter that each sensor detects When judge whether camera lens is touched, to improve judging nicety rate.
As shown in figure 5, Fig. 5 is the frame of the disclosure another information reminding device shown according to an exemplary embodiment Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 2, the touch judgment module 22 includes touching judging submodule 221。
Wherein, touch judging submodule 221 be configured as at least meeting it is following it is a kind of it is default by touch condition when, determine institute Camera lens is stated to be touched:
The sensor is biosensor, and the biosensor collects biological characteristic parameter.
Acquired parameter is the temperature that temperature sensor detects, and determines the first preset time period according to the temperature It is poor that interior temperature change value is greater than or equal to set temperature.
Acquired parameter is the pressure value that detects of pressure sensor, and according to the pressure value determine second it is default when Between in section change value of pressure be greater than or equal to set pressure differential.
Acquired parameter is the humidity value that humidity sensor detects, and the humidity value is greater than or equal to setting humidity Value.
Acquired parameter is the capacitance that capacitance touching control sensor detects, and is determined currently according to the capacitance Capacitor changes.
As shown in fig. 6, Fig. 6 is the frame of the disclosure another information reminding device shown according to an exemplary embodiment Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 2, the information reminding module 23 includes: that the first information reminds son Module 231.
Wherein, the first information reminds submodule 231, is configured as directly exporting when testing result is that camera lens is touched The unclean prompting message of camera lens.
As seen from the above-described embodiment, when testing result is that camera lens is unholiness, the direct unclean prompting letter of output lens Breath, to realize instant alerts.
As shown in fig. 7, Fig. 7 is the frame of the disclosure another information reminding device shown according to an exemplary embodiment Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 2, the information reminding module 23 includes the second information reminding submodule Block 232.
Wherein, the second information reminding submodule 232 is configured as when testing result being that camera lens is touched, and preset is mentioned When awake condition meets, the unclean prompting message of output lens.
As seen from the above-described embodiment, it in testing result can be that camera lens is unholiness, and when preset alert condition meets, it is defeated The unclean prompting message of camera lens out, to define the time of the unclean prompting message of output lens, realization is met the requirements When just reminded, avoid frequently reminding caused by instant alerts.
In an optional implementation, the preset alert condition includes at least following one or more conditions:
The preset keys or buttons for indicating progress camera lens prompting are triggered.
Filming apparatus starting or the starting of camera application program.
Correspondingly, the disclosure also provides a kind of information reminding device, described device includes processor;It is handled for storage The memory of device executable instruction;Wherein, the processor is configured to:
Obtain the collected parameter of sensor being arranged in around the camera lens of filming apparatus.
Judge whether the camera lens is touched according to acquired parameter.
The unclean prompting message of output lens is determined whether according to judging result.
The specific details of the realization process of the function of modules and effect, which are shown in, in above-mentioned apparatus corresponds to step in the above method Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
As shown in figure 8, Fig. 8 is that the disclosure is shown according to an exemplary embodiment a kind of for information reminding device 800 Block diagram.The device 800 can be camera or the electronic equipment with photography or camera function.
Referring to Fig. 8, device 800 may include following one or more components: processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with a group in detection device 800 or device 800 The position change of part, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to examine without any physical contact Survey presence of nearby objects.Sensor module 814 can also include that optical sensor is used for such as CMOS or ccd image sensor It is used in imaging applications.In some embodiments, which can also include acceleration transducer, and gyroscope passes Sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Wherein, when the instruction in the storage medium is executed by the processor, so that device 800 is able to carry out one kind Information prompting method, comprising:
Obtain the collected parameter of sensor being arranged in around the camera lens of filming apparatus.
Judge whether the camera lens is touched according to acquired parameter.
The unclean prompting message of output lens is determined whether according to judging result.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all essences in the disclosure Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of disclosure protection.

Claims (14)

1. a kind of information prompting method, which is characterized in that the described method includes:
The collected parameter of sensor being arranged in around the camera lens of filming apparatus is obtained, the sensor is arranged in filming apparatus Camera lens peripheral region and be arranged in around the camera lens or at least two sensor distributions filming apparatus camera lens periphery Region;
Judge whether the camera lens is touched according to acquired parameter, being touched by sensor by touch condition of camera lens State determines;
The unclean prompting message of output lens is determined whether according to judging result.
2. the method according to claim 1, wherein the biography around the camera lens of filming apparatus is arranged in the acquisition The collected parameter of sensor, comprising:
Obtain the peripheral region that the camera lens of filming apparatus is set and the collected parameter of sensor around the camera lens;
Or, obtaining scattering device in the collected parameter of at least two sensors of the peripheral region of the camera lens of filming apparatus.
3. the method according to claim 1, wherein the sensor includes following one or more sensors:
Biosensor, temperature sensor, pressure sensor, humidity sensor, capacitance touching control sensor.
4. the method according to claim 1, wherein whether the parameter according to acquired in judges the camera lens It is touched, comprising:
At least meet it is following it is a kind of default by touch condition when, determine that the camera lens is touched:
The sensor is biosensor, and the biosensor collects biological characteristic parameter;
Acquired parameter is the temperature that temperature sensor detects, and determines temperature in the first preset time period according to the temperature It is poor more than or equal to set temperature to spend changing value;
Acquired parameter is the pressure value that pressure sensor detects, and determines the second preset time period according to the pressure value Interior change value of pressure is greater than or equal to set pressure differential;
Acquired parameter is the humidity value that humidity sensor detects, and the humidity value is greater than or equal to setting humidity value;
Acquired parameter is the capacitance that capacitance touching control sensor detects, and determines capacitance present according to the capacitance It changes.
5. the method according to claim 1, wherein described determine whether that output lens are unclean according to judging result Net prompting message, comprising:
When testing result is that camera lens is touched, the direct unclean prompting message of output lens;
Or, when testing result is that camera lens is touched, and when preset alert condition meets, unclean promptings of output lens is believed Breath.
6. according to the method described in claim 5, it is characterized in that, the preset alert condition include at least it is following a kind of or A variety of conditions:
The preset keys or buttons for indicating progress camera lens prompting are triggered;
Filming apparatus starting or the starting of camera application program.
7. a kind of information reminding device, which is characterized in that described device includes:
Parameter acquisition module is configured as obtaining the collected parameter of sensor being arranged in around the camera lens of filming apparatus, institute State sensor be arranged in filming apparatus camera lens peripheral region and be arranged around the camera lens or at least two sensor distributions In the peripheral region of the camera lens of filming apparatus;
Judgment module is touched, is configured as judging whether the camera lens is touched according to acquired parameter, camera lens is touched State is determined by sensor by touch condition;
Information reminding module is configured as determining whether the unclean prompting message of output lens according to judging result.
8. device according to claim 7, which is characterized in that the parameter acquisition module includes:
First parameter acquisition submodule is configured as obtaining the peripheral region for the camera lens that filming apparatus is arranged in and around the mirror The collected parameter of sensor of head;
Or, the second parameter acquisition submodule, be configured as obtaining scattering device the camera lens of filming apparatus peripheral region extremely Few two collected parameters of sensor.
9. device according to claim 7, which is characterized in that the sensor includes following one or more sensors:
Biosensor, temperature sensor, pressure sensor, humidity sensor, capacitance touching control sensor.
10. device according to claim 7, which is characterized in that the touch judgment module, which includes at least, touches judgement Module, be configured as at least meeting it is following it is a kind of it is default by touch condition when, determine that the camera lens is touched:
The sensor is biosensor, and the biosensor collects biological characteristic parameter;
Acquired parameter is the temperature that temperature sensor detects, and determines temperature in the first preset time period according to the temperature It is poor more than or equal to set temperature to spend changing value;
Acquired parameter is the pressure value that pressure sensor detects, and determines the second preset time period according to the pressure value Interior change value of pressure is greater than or equal to set pressure differential;
Acquired parameter is the humidity value that humidity sensor detects, and the humidity value is greater than or equal to setting humidity value;
Acquired parameter is the capacitance that capacitance touching control sensor detects, and determines capacitance present according to the capacitance It changes.
11. device according to claim 7, which is characterized in that the information reminding module includes:
The first information reminds submodule, is configured as when testing result is that camera lens is touched, direct output lens are unclean Prompting message;
Or, the second information reminding submodule, is configured as when testing result being that camera lens is touched, and preset alert condition meets When, the unclean prompting message of output lens.
12. device according to claim 11, which is characterized in that the preset alert condition includes at least following one kind Or a variety of conditions:
The preset keys or buttons for indicating progress camera lens prompting are triggered;
Filming apparatus starting or the starting of camera application program.
13. a kind of information reminding device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The collected parameter of sensor being arranged in around the camera lens of filming apparatus is obtained, the sensor is arranged in filming apparatus Camera lens peripheral region and be arranged in around the camera lens or at least two sensor distributions filming apparatus camera lens periphery Region;
Judge whether the camera lens is touched according to acquired parameter, being touched by sensor by touch condition of camera lens State determines;
The unclean prompting message of output lens is determined whether according to judging result.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step of any one of claim 1 to 6 the method is realized when execution.
CN201610543618.1A 2016-07-11 2016-07-11 Information prompting method and device Active CN106210709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610543618.1A CN106210709B (en) 2016-07-11 2016-07-11 Information prompting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610543618.1A CN106210709B (en) 2016-07-11 2016-07-11 Information prompting method and device

Publications (2)

Publication Number Publication Date
CN106210709A CN106210709A (en) 2016-12-07
CN106210709B true CN106210709B (en) 2019-08-06

Family

ID=57476819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610543618.1A Active CN106210709B (en) 2016-07-11 2016-07-11 Information prompting method and device

Country Status (1)

Country Link
CN (1) CN106210709B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531542A (en) * 2022-01-18 2022-05-24 华为技术有限公司 Lens contamination detection method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009031563A (en) * 2007-07-27 2009-02-12 Nikon Corp Camera
JP2009169266A (en) * 2008-01-18 2009-07-30 Nikon Corp Lens barrel and camera system
KR100912289B1 (en) * 2007-08-21 2009-08-17 (주)씨프로 Dust removal structure for CCTV camera lens barrier
CN201569846U (en) * 2009-12-15 2010-09-01 亚洲光学股份有限公司 Projection machine and lens moving anti-clamping device thereof
CN203433365U (en) * 2013-09-03 2014-02-12 孙秀燕 A novel vehicle with an optical device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9083864B2 (en) * 2013-07-31 2015-07-14 Ford Global Technologies, Llc Self-cleaning camera lens
US9912853B2 (en) * 2014-07-31 2018-03-06 Microsoft Technology Licensing, Llc Switching between cameras of an electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009031563A (en) * 2007-07-27 2009-02-12 Nikon Corp Camera
KR100912289B1 (en) * 2007-08-21 2009-08-17 (주)씨프로 Dust removal structure for CCTV camera lens barrier
JP2009169266A (en) * 2008-01-18 2009-07-30 Nikon Corp Lens barrel and camera system
CN201569846U (en) * 2009-12-15 2010-09-01 亚洲光学股份有限公司 Projection machine and lens moving anti-clamping device thereof
CN203433365U (en) * 2013-09-03 2014-02-12 孙秀燕 A novel vehicle with an optical device

Also Published As

Publication number Publication date
CN106210709A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
RU2628558C2 (en) Method and smart terminal handling device
CN105469003B (en) screen protection method and device
CN104484799B (en) Method of payment and device
CN105167746A (en) Alarm clock control method and alarm clock control device
CN105487650A (en) Intelligent alarm clock turn-off method and apparatus
CN105376410B (en) Alarm clock setting method and device
CN105516483A (en) Equipment control method, device and terminal
CN105261191B (en) Operation control method and device
CN105678133A (en) Terminal unlocking method and device
CN104243829A (en) Self-shooting method and self-shooting device
CN107343087A (en) Smart machine control method and device
CN106325670A (en) Message prompting method and device
CN108121631A (en) Screen abnormality based reminding method and device
CN105214197A (en) Based reminding method and device
CN105068651A (en) Method, device, terminal and server for controlling alarm clock
CN105390120B (en) bright screen control method and device
CN106060296A (en) Terminal control method, device and system
CN105242837B (en) Five application page acquisition methods and terminal
CN104020628A (en) Flash lamp prompting method and device thereof
CN109862169A (en) Control method of electronic device and device
CN106921797A (en) Information prompting method and device
CN106325575A (en) Touch response method and apparatus
CN106534495A (en) Method of information processing, device and equipment
CN109803051A (en) Ambient brightness value-acquiring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant