CN107884157A - A kind of method for detecting abnormality of diffractive-optical element, mobile terminal - Google Patents

A kind of method for detecting abnormality of diffractive-optical element, mobile terminal Download PDF

Info

Publication number
CN107884157A
CN107884157A CN201711214427.1A CN201711214427A CN107884157A CN 107884157 A CN107884157 A CN 107884157A CN 201711214427 A CN201711214427 A CN 201711214427A CN 107884157 A CN107884157 A CN 107884157A
Authority
CN
China
Prior art keywords
flare
diffractive
optical element
preparatory condition
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711214427.1A
Other languages
Chinese (zh)
Inventor
郑旭增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711214427.1A priority Critical patent/CN107884157A/en
Publication of CN107884157A publication Critical patent/CN107884157A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for

Abstract

The invention discloses a kind of method for detecting abnormality of diffractive-optical element, mobile terminal, methods described includes:Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and the diffracted ray is projected on destination object;Obtain the destination object and reflect the flare information that the diffracted ray obtains;Judge whether the flare information meets preparatory condition;If the flare information does not meet the preparatory condition, it is determined that the diffractive-optical element is abnormal.The present invention can be realized effectively to diffractive-optical element with the presence or absence of abnormal detection.

Description

A kind of method for detecting abnormality of diffractive-optical element, mobile terminal
Technical field
The present invention relates to 3 Dimension Image Technique field, more particularly to a kind of method for detecting abnormality of diffractive-optical element, shifting Dynamic terminal.
Background technology
With the popularization of three-dimensional 3D cameras, 3D imaging technique is gradually applied in mobile terminal, for example, 3D faces are known Not.Mobile terminal carries out 3D imaging processes to destination object, can utilize structure light, TOF (Time of flight, during flight Between telemetry), the technology such as binocular imaging, realize the collection of destination object 3D imaging datas.
3D imaging processes based on structure light are, it is necessary to by diffractive-optical element (for example, DOE, Diffractive Optical Elements) structure light being diffracted is projected to destination object, and then structure light is reflected according to destination object Reflected light, the 3D imaging datas such as shape, size of destination object are calculated.
In actual applications, diffractive-optical element exception may be present.In order to ensure realizing to destination object 3D imagings, it is necessary to detect diffractive-optical element with the presence or absence of abnormal.But there is no effective detection diffractive-optical element still at present Whether abnormal method.
The content of the invention
The embodiment of the present invention provides a kind of method for detecting abnormality of diffractive-optical element, mobile terminal, to solve existing skill The problem of whether diffractive-optical element is abnormal can not be detected in art.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of abnormality detection side of diffractive-optical element Method, including:
Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and the diffracted ray is projected Onto destination object;
Obtain the destination object and reflect the flare information that the diffracted ray obtains;
Judge whether the flare information meets preparatory condition;
If the flare information does not meet the preparatory condition, it is determined that the diffractive-optical element is abnormal.
The embodiment of the present invention additionally provides a kind of mobile terminal, including:Projection module, acquisition module, judge module and really Cover half block, wherein:
The projection module, diffracted ray is obtained for carrying out diffraction to incident ray by diffractive-optical element, and The diffracted ray is projected on destination object;
The acquisition module, the flare information for reflecting the diffracted ray for obtaining the destination object and obtaining;
The judge module, for judging whether the flare information meets preparatory condition;
The determining module, for when the flare information does not meet the preparatory condition, determining the optics Diffraction element is abnormal.
The embodiment of the present invention additionally provides a kind of mobile terminal, including processor, memory and is stored in the memory The abnormality detecting program for the diffractive-optical element gone up and can run on the processor, the abnormal inspection of the diffractive-optical element The step of method for detecting abnormality of diffractive-optical element as described above is realized when ranging sequence is by the computing device.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is deposited on the computer-readable recording medium The abnormality detecting program of storing optically diffraction element, the abnormality detecting program of the diffractive-optical element are realized when being executed by processor The step of method for detecting abnormality of diffractive-optical element as described above.
In embodiments of the present invention, diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and Diffracted ray is projected on destination object;Obtain the flare information that destination object reflection diffraction light obtains;Judge anti- Penetrate whether facula information meets preparatory condition, if flare information does not meet preparatory condition, it is determined that diffractive-optical element is different Often, it whether there is abnormal detection to diffractive-optical element so as to effectively realize.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the present invention, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is diffraction schematic diagram when diffractive-optical element is normal in the prior art;
Fig. 2 be in the prior art diffractive-optical element exception when diffraction schematic diagram;
Fig. 3 is a kind of schematic flow sheet of the method for detecting abnormality of diffractive-optical element provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of the method for detecting abnormality of diffractive-optical element provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic flow sheet of the method for detecting abnormality of diffractive-optical element provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
Embodiment
Fig. 1 is diffraction schematic diagram when diffractive-optical element is normal in the prior art.As shown in figure 1, first, mobile terminal Start relevant source and launch incident ray;Secondly, incident ray obtains diffracted ray, diffracted ray by diffractive-optical element Project and substantial amounts of diffraction pattern is formed on destination object;Finally, acquisition for mobile terminal destination object reflection diffraction light obtains Flare information, and then according to the flare information, the three-dimensional imaging data of target object surface is calculated.
In practical application, diffractive-optical element in mobile terminal is it is possible that abnormal conditions, for example, optical diffraction is first Part is damaged or loses.Fig. 2 be in the prior art diffractive-optical element exception when diffraction schematic diagram, as shown in Fig. 2 in optics During diffraction element exception, incident ray or portions incident light are projected directly on destination object without diffraction, if target pair As for human body, then may relatively be concentrated due to incident ray, light intensity is stronger, and human body is damaged, therefore, it is necessary to detects optics Diffraction element is with the presence or absence of abnormal.
In order to realize the purpose of the present invention, the embodiments of the invention provide a kind of abnormality detection side of diffractive-optical element Method, mobile terminal, methods described include:Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and Diffracted ray is projected on destination object;Obtain the flare information that destination object reflection diffraction light obtains;Judge anti- Penetrate whether facula information meets preparatory condition, if flare information does not meet preparatory condition, it is determined that diffractive-optical element is different Often, it whether there is abnormal detection to diffractive-optical element so as to effectively realize.
Technical solution of the present invention is carried out clearly and completely below in conjunction with the specific embodiment of the invention and corresponding accompanying drawing Description, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based in the present invention Embodiment, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made, Belong to the scope of protection of the invention.
Below in conjunction with accompanying drawing, the technical scheme that various embodiments of the present invention provide is described in detail.
Embodiment 1
Fig. 3 is a kind of schematic flow sheet of the method for detecting abnormality of diffractive-optical element provided in an embodiment of the present invention.Institute The method of stating can be with as follows.
Step 302:Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and by diffracted ray Project on destination object.
When whether the diffractive-optical element in needing detection mobile terminal is abnormal, mobile terminal starts relevant source, phase Closing light source and launch incident ray, diffractive-optical element carries out diffraction to incident ray and obtains diffracted ray, and then by diffraction light Line is projected on destination object.
Step 304:Obtain the flare information that destination object reflection diffraction light obtains.
After diffracted ray is projected on destination object, destination object can be reflected diffracted ray, acquisition for mobile terminal mesh The flare information that mark object reflection diffracted ray obtains.
Step 306:Judge whether flare information meets preparatory condition.
For the flare information got, mobile terminal judges whether the flare information meets preparatory condition.
In the embodiment of the present application, mobile terminal judges whether flare information meets the mode of preparatory condition and include but not It is limited to following two ways:
The first:
According to flare information, flare quantity is determined;
If flare quantity is less than default flare quantity, and flare quantity and default flare quantity Between difference whether be more than the first predetermined threshold value, it is determined that flare information does not meet preparatory condition.
Acquisition for mobile terminal determines flare quantity to after flare information;If the flare quantity is more than Default flare quantity, then further determine that the difference between the flare quantity and default flare quantity;If should Difference is more than the first predetermined threshold value, represents that the difference between the flare quantity and default flare quantity is larger, may Be incident ray by diffraction or diffraction it is incomplete caused by, accordingly, it is determined that flare information does not meet default bar Part.
It should be noted that corresponding flare number when default flare quantity is diffractive-optical element normal diffraction Approximation is measured, can be determined according to actual conditions;First predetermined threshold value can determine according to actual conditions, not do specific limit here It is fixed.
For example, be 300,000 to corresponding flare quantity after incident ray diffraction when diffractive-optical element is normal, It is 300,000 then to set default flare quantity, and the first predetermined threshold value is 50,000.
When mobile terminal is according to the actual flare information got, it is determined that actual flare quantity be 100,000 Individual, less than default flare quantity 300,000, and the difference between default flare quantity 300,000 is 200,000, It is far longer than the first predetermined threshold value 50,000, it is determined that actual flare information does not meet preparatory condition.
By detecting actual flare quantity, it may be determined that whether actual flare information meets preparatory condition, enters And effectively judge whether diffractive-optical element is abnormal.
Second:
According to flare information, the light intensity of any flare is determined;
If light intensity be present is more than default flare light intensity, and the light intensity difference between default flare light intensity is big In the flare of the second predetermined threshold value, it is determined that flare information does not meet preparatory condition.
Acquisition for mobile terminal determines each anti-to the light intensity for after flare information, determining each flare The light intensity difference penetrated between the light intensity of hot spot and default flare light intensity;If light intensity be present is more than default flare light intensity, And the light intensity difference between default flare light intensity is more than the flare of the second predetermined threshold value, it may be possible to incident ray By diffraction or diffraction it is incomplete caused by, accordingly, it is determined that flare information does not meet preparatory condition.
It should be noted that corresponding single reflected light when default flare light intensity is diffractive-optical element normal diffraction Spot light intensity approximation, can be determined according to actual conditions;Second predetermined threshold value can determine according to actual conditions, do not do have here Body limits.
By detecting whether the higher single flare of light intensity be present, it may be determined that whether actual flare information accords with Preparatory condition is closed, and then effectively judges whether diffractive-optical element is abnormal.
Step 308:If flare information does not meet preparatory condition, it is determined that diffractive-optical element is abnormal.
By detecting actual flare quantity or detecting whether the higher single flare of light intensity be present, it may be determined that Whether flare information meets preparatory condition, and when it is determined that flare information does not meet preparatory condition, determines that optics spreads out Penetrate element exception.
In practical application, single detection there may be accidental error, caused by the whether abnormal mistake of diffractive-optical element Sentence, therefore, the mode of repeated detection can be taken to determine whether diffractive-optical element is abnormal.
In the embodiment of the present application, if flare information does not meet preparatory condition, it is determined that diffractive-optical element is abnormal, bag Include:
If flare information does not meet preparatory condition, and flare information does not meet the number of preparatory condition and reached Preset times, it is determined that diffractive-optical element is abnormal;
If flare information does not meet preparatory condition, and flare information does not meet the number of preparatory condition and is less than Preset times, then repeat following step:
Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and diffracted ray is projected into mesh Mark on object;
Obtain the flare information that destination object reflection diffraction light obtains;
Judge whether flare information meets preparatory condition.
In practical application, mobile terminal is not after it is determined that flare information meets preparatory condition, to not meeting number Counted, if this, which does not meet number, is less than preset times, repeated:Mobile terminal restarts relevant source transmitting incident light Line, diffractive-optical element carry out diffraction to incident ray and obtain diffracted ray, diffracted ray is projected on destination object, obtained Flare information that destination object reflection diffraction light obtains, judge whether flare information meets preparatory condition again, Until flare information does not meet preparatory condition, and flare information does not meet the number of preparatory condition and reached default time During number, diffractive-optical element exception is determined.
By repeatedly judging, can avoid single judge caused by accidental error to diffractive-optical element whether abnormal mistake Sentence.
In the embodiment of the present application, in addition to:
If it is determined that flare information meets preparatory condition, then according to flare information, the three-dimensional of destination object is determined Imaging data.
Mobile terminal is before 3D imagings, however, it is determined that flare information meets preparatory condition, that is, determines optical diffraction member Part can normal diffraction, then according to the flare information that gets, the three-dimensional imaging data of destination object is calculated.
In the embodiment of the present application, in addition to:
If it is determined that diffractive-optical element is abnormal, then prompt message is generated, prompt message is used to prompt to stop to destination object Project diffracted ray.
In practical application, if destination object is human body, for example, when mobile terminal carries out 3D imagings to human body, it is true in detection When determining diffractive-optical element exception, stop projecting diffracted ray to human body, can avoid what is obtained without diffraction or part diffraction Light projects compared with the diffracted ray concentrated and light intensity is stronger and human body is damaged on human body.
Mobile terminal mobile terminal generation prompt message, is used after diffractive-optical element exception is determined by the above method It is abnormal in prompting user's diffractive-optical element so that user stops throwing to human body by the relevant source in turning-off mobile terminal Penetrate diffracted ray;Or mobile terminal, after diffractive-optical element exception is determined by the above method, mobile terminal generation is prompted Information, according to the prompt message, relevant source is closed automatically, stop projecting diffracted ray to human body.
The technical scheme that the embodiment of the present application is recorded, diffraction is carried out to incident ray by diffractive-optical element and obtains diffraction Light, and diffracted ray is projected on destination object;Obtain the flare letter that destination object reflection diffraction light obtains Breath;Judge whether flare information meets preparatory condition, if flare information does not meet preparatory condition, it is determined that optics spreads out Element exception is penetrated, so as to effectively realize to diffractive-optical element with the presence or absence of abnormal detection.
Embodiment 2
The inventive concept of the present invention is described in detail based on previous embodiment 1, for the ease of being better understood from the present invention's Technical characteristic, means and effect, the method for detecting abnormality of the diffractive-optical element of the present invention is described further below, so as to Form another embodiment of the present invention.
The abnormality detecting process of diffractive-optical element and optical diffraction described in above-described embodiment 1 in the embodiment of the present invention 2 The abnormality detecting process of element is similar, and some other step not made referrals in embodiment 2 may refer to the phase in embodiment 1 Description is closed, here is omitted.
Fig. 4 is a kind of schematic flow sheet of the method for detecting abnormality of diffractive-optical element provided in an embodiment of the present invention.Institute The method of stating can be with as follows.
Step 401:Record flare information does not meet preparatory condition number count=0.
Step 402:Start relevant source, launch incident ray.
Step 403:Incident ray obtains diffracted ray by diffractive-optical element diffraction, and diffracted ray is projected into target On object.
Step 404:Obtain the flare information that destination object reflection diffraction light obtains.
Step 406:Flare quantity is determined according to flare information, and judges that flare quantity is anti-with presetting Whether the difference penetrated between number of spots is more than the first predetermined threshold value.
Step 406:Step 409 is performed if it is not, then redirecting;If so, then record flare information does not meet preparatory condition Number count=count+1.
Step 407:Judge that flare information does not meet whether preparatory condition number count reaches the first predetermined threshold value.
Step 408:If it is not, then repeat step 401~407;If, it is determined that diffractive-optical element is abnormal, and Relevant source is closed, stops projecting diffracted ray to destination object.
Step 409:According to flare information, the three-dimensional imaging data of destination object is determined.
The technical scheme that the embodiment of the present application is recorded, diffraction is carried out to incident ray by diffractive-optical element and obtains diffraction Light, and diffracted ray is projected on destination object, obtain the flare letter that destination object reflection diffraction light obtains Breath, by detecting flare quantity, judges whether flare information meets preparatory condition:If flare information is not met The number of preparatory condition is less than preset times, then repeats above-mentioned steps until flare information does not meet preparatory condition Number reaches preset times, determines diffractive-optical element exception;If flare meets preparatory condition, believed according to flare Breath determines the three-dimensional imaging data of destination object, so that it is guaranteed that 3D imagings are carried out when diffractive-optical element is normal, and in light Determination can be detected in time when learning element exception.
Embodiment 3
The inventive concept of the present invention is described in detail based on previous embodiment 1, for the ease of being better understood from the present invention's Technical characteristic, means and effect, the method for detecting abnormality of the diffractive-optical element of the present invention is described further below, so as to Form another embodiment of the present invention.
The abnormality detecting process of diffractive-optical element and optical diffraction described in above-described embodiment 1 in the embodiment of the present invention 3 The abnormality detecting process of element is similar, and some other step not made referrals in embodiment 3 may refer to the phase in embodiment 1 Description is closed, here is omitted.
Fig. 5 is a kind of schematic flow sheet of the method for detecting abnormality of diffractive-optical element provided in an embodiment of the present invention.Institute The method of stating can be with as follows.
Step 501:Record flare information does not meet preparatory condition number count=0.
Step 502:Start relevant source, launch incident ray.
Step 503:Incident ray obtains diffracted ray by diffractive-optical element diffraction, and diffracted ray is projected into target On object.
Step 504:Obtain the flare information that destination object reflection diffraction light obtains.
Step 506:The light intensity of any flare is determined according to flare information, and judges whether and presets Light intensity difference between flare light intensity is more than the flare of the second predetermined threshold value.
Step 506:Step 509 is performed if it is not, then redirecting;If so, then record flare information does not meet preparatory condition Number count=count+1.
Step 507:Judge that flare information does not meet whether preparatory condition number count reaches the first predetermined threshold value.
Step 508:If it is not, then repeat step 501~507;If, it is determined that diffractive-optical element is abnormal, and Relevant source is closed, stops projecting diffracted ray to destination object.
Step 509:According to flare information, the three-dimensional imaging data of destination object is determined.
The technical scheme that the embodiment of the present application is recorded, diffraction is carried out to incident ray by diffractive-optical element and obtains diffraction Light, and diffracted ray is projected on destination object, obtain the flare letter that destination object reflection diffraction light obtains Breath, by detecting the light intensity of any flare, judges whether flare information meets preparatory condition:If flare information The number for not meeting preparatory condition is less than preset times, then repeats above-mentioned steps until that flare information is not met is default The number of condition reaches preset times, determines diffractive-optical element exception;If flare meets preparatory condition, according to reflection Facula information determines the three-dimensional imaging data of destination object, so that it is guaranteed that 3D imagings are carried out when diffractive-optical element is normal, with And determination can be detected in time in optical element exception.
Embodiment 4
A kind of Fig. 6 structural representations of mobile terminal provided in an embodiment of the present invention.Mobile terminal 600 includes:Projective module Block 601, acquisition module 602, judge module 603 and determining module 604, wherein:
Projection module 601, diffracted ray is obtained for carrying out diffraction to incident ray by diffractive-optical element, and will Diffracted ray is projected on destination object;
Acquisition module 602, the flare information obtained for obtaining destination object reflection diffraction light;
Judge module 603, for judging whether flare information meets preparatory condition;
Determining module 604, for when flare information does not meet preparatory condition, determining diffractive-optical element exception.
Alternatively, judge module 603 further comprises:First determining unit, wherein:
First determining unit, for according to flare information, determining flare quantity;
First determining unit, it is additionally operable to be less than default flare quantity, and flare number in flare quantity When whether the difference between amount and default flare quantity is more than the first predetermined threshold value, it is pre- to determine that flare information is not met If condition.
Alternatively, judge module 603 further comprises:Second determining unit, wherein:
Second determining unit, for according to flare information, determining the light intensity of any flare;
Second determining unit, be additionally operable to be more than default flare light intensity light intensity being present, and with default flare When light intensity difference between light intensity is more than the flare of the second predetermined threshold value, determine that flare information does not meet default bar Part.
Alternatively, mobile terminal 600 also includes:Reminding module, wherein:
Reminding module, for it is determined that during diffractive-optical element exception, generating prompt message, prompt message is stopped for prompting Only diffracted ray is projected to destination object.
Alternatively, mobile terminal 600 also includes:Replicated blocks, wherein:
Determining module 604, specifically for not meeting preparatory condition in flare information, and flare information is not inconsistent When the number of conjunction preparatory condition reaches preset times, diffractive-optical element exception is determined;
Replicated blocks, for not meeting preparatory condition in flare information, and flare information do not meet it is default When the number of condition is less than preset times, following step is repeated:
Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and diffracted ray is projected into mesh Mark on object;
Obtain the flare information that destination object reflection diffraction light obtains;
Judge whether flare information meets preparatory condition.
Mobile terminal provided in an embodiment of the present invention can realize each process in Fig. 3 to Fig. 5 embodiment of the method, reach To identical technique effect, to avoid repeating, repeat no more here.
Fig. 7 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.Mobile terminal 700 wraps Include but be not limited to:Radio frequency unit 701, mixed-media network modules mixed-media 702, audio output unit 703, input block 704, sensor 705, display The parts such as unit 706, user input unit 707, interface unit 708, memory 709, processor 710 and power supply 711.This Art personnel are appreciated that the mobile terminal structure shown in Fig. 7 does not form the restriction to mobile terminal, mobile terminal It can include than illustrating more or less parts, either combine some parts or different parts arrangement.Of the invention real Apply in example, mobile terminal includes but is not limited to mobile phone, tablet personal computer, notebook computer, palm PC, car-mounted terminal, wearable Equipment and pedometer etc..
Wherein, processor 710, diffracted ray is obtained for carrying out diffraction to incident ray by diffractive-optical element, with And diffracted ray is projected on destination object;Obtain the flare information that destination object reflection diffraction light obtains;Judge Whether flare information meets preparatory condition;If flare information does not meet preparatory condition, it is determined that diffractive-optical element It is abnormal.
Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and diffracted ray is projected into mesh Mark on object;Obtain the flare information that destination object reflection diffraction light obtains;Judge whether flare information meets Preparatory condition, if flare information does not meet preparatory condition, it is determined that diffractive-optical element is abnormal, so as to effectively realize To diffractive-optical element with the presence or absence of abnormal detection.
It should be understood that in the embodiment of the present invention, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 710;In addition, will be up Data are sent to base station.Generally, radio frequency unit 701 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 702 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 703 can be receiving by radio frequency unit 701 or mixed-media network modules mixed-media 702 or in memory 709 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 703 can also be provided and moved The audio output for the specific function correlation that dynamic terminal 700 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 703 includes loudspeaker, buzzer and receiver etc..
Input block 704 is used to receive audio or video signal.Input block 704 can include graphics processor (Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 706.Picture frame after the processing of graphics processor 7041 can be deposited Storage is transmitted in memory 709 (or other storage mediums) or via radio frequency unit 701 or mixed-media network modules mixed-media 702.Mike Wind 7042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 701 by being converted in the case of telephone calling model.
Mobile terminal 700 also includes at least one sensor 705, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 7061, and proximity transducer can close when mobile terminal 700 is moved in one's ear Display panel 7061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 705 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 706 is used for the information for showing the information inputted by user or being supplied to user.Display unit 706 can wrap Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 7061.
User input unit 707 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 707 include contact panel 7071 and Other input equipments 7072.Contact panel 7071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 7071 or in contact panel 7071 Neighbouring operation).Contact panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receiving area Manage the order that device 710 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 7071.Except contact panel 7071, user input unit 707 can also include other input equipments 7072.Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 7071 can be covered on display panel 7061, when contact panel 7071 is detected at it On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touch The type for touching event provides corresponding visual output on display panel 7061.Although in the figure 7, contact panel 7071 and display Panel 7061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments In, can be integrated by contact panel 7071 and display panel 7061 and realize input and the output function of mobile terminal, it is specific this Place does not limit.
Interface unit 708 is the interface that external device (ED) is connected with mobile terminal 700.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 708 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 700 can be used in the He of mobile terminal 700 Data are transmitted between external device (ED).
Memory 709 can be used for storage software program and various data.Memory 709 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 709 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 709, and call and be stored in storage Data in device 709, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 710 may include one or more processing units;Preferably, processor 710 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 710.
Mobile terminal 700 can also include the power supply 711 (such as battery) to all parts power supply, it is preferred that power supply 711 Can be logically contiguous by power-supply management system and processor 710, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 700 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 710, memory 709, is stored in On memory 709 and the abnormality detecting program of diffractive-optical element that can run on the processor 710, the diffractive-optical element Abnormality detecting program realizes each mistake of the method for detecting abnormality embodiment of above-mentioned diffractive-optical element when being performed by processor 710 Journey, and identical technique effect can be reached, to avoid repeating, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and light is stored with computer-readable recording medium The abnormality detecting program of diffraction element is learned, above-mentioned light is realized when the abnormality detecting program of the diffractive-optical element is executed by processor Each process of the method for detecting abnormality embodiment of diffraction element is learned, and identical technique effect can be reached, to avoid repeating, this In repeat no more.Wherein, described computer-readable recording medium, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.

Claims (11)

  1. A kind of 1. method for detecting abnormality of diffractive-optical element, it is characterised in that including:
    Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and the diffracted ray is projected into mesh Mark on object;
    Obtain the destination object and reflect the flare information that the diffracted ray obtains;
    Judge whether the flare information meets preparatory condition;
    If the flare information does not meet the preparatory condition, it is determined that the diffractive-optical element is abnormal.
  2. 2. the method as described in claim 1, it is characterised in that judge whether the flare information meets preparatory condition Step further comprises:
    According to the flare information, flare quantity is determined;
    If the flare quantity is less than default flare quantity, and the flare quantity and the default reflection Difference between number of spots is more than the first predetermined threshold value, it is determined that the flare information does not meet the preparatory condition.
  3. 3. the method as described in claim 1, it is characterised in that judge whether the flare information meets preparatory condition Step further comprises:
    According to the flare information, the light intensity of any flare is determined;
    If light intensity be present is more than default flare light intensity, and the light intensity difference between the default flare light intensity is big In the flare of the second predetermined threshold value, it is determined that the flare information does not meet the preparatory condition.
  4. 4. the method as described in claim 1, it is characterised in that after determining the diffractive-optical element exception, methods described Also include:
    Prompt message is generated, the prompt message is used to prompt to stop projecting diffracted ray to the destination object.
  5. 5. the method as described in claim any one of 1-4, it is characterised in that if the flare information do not meet it is described pre- If condition, it is determined that the diffractive-optical element is abnormal, including:
    If the flare information does not meet the preparatory condition, and flare information does not meet the preparatory condition Number reaches preset times, it is determined that the diffractive-optical element is abnormal;
    If the flare information does not meet the preparatory condition, and flare information does not meet the preparatory condition Number is less than the preset times, then repeats following step:
    Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and diffracted ray is projected into the mesh Mark on object;
    Obtain the flare information that the destination object reflection diffraction light obtains;
    Judge whether flare information meets preparatory condition.
  6. A kind of 6. mobile terminal, it is characterised in that including:Projection module, acquisition module, judge module and determining module, wherein:
    The projection module, diffracted ray is obtained for carrying out diffraction to incident ray by diffractive-optical element, and by institute Diffracted ray is stated to project on destination object;
    The acquisition module, the flare information for reflecting the diffracted ray for obtaining the destination object and obtaining;
    The judge module, for judging whether the flare information meets preparatory condition;
    The determining module, for when the flare information does not meet the preparatory condition, determining the optical diffraction Element is abnormal.
  7. 7. mobile terminal as claimed in claim 6, it is characterised in that the judge module further comprises:First determines list Member, wherein:
    First determining unit, for according to the flare information, determining flare quantity;
    First determining unit, it is additionally operable to be less than default flare quantity in the flare quantity, and it is described anti- When the difference penetrated between number of spots and the default flare quantity is more than the first predetermined threshold value, the flare is determined Information does not meet the preparatory condition.
  8. 8. mobile terminal as claimed in claim 6, it is characterised in that the judge module further comprises:Second determines list Member, wherein:
    Second determining unit, for according to the flare information, determining the light intensity of any flare;
    Second determining unit, be additionally operable to be more than default flare light intensity light intensity being present, and with the default reflection When light intensity difference between hot spot light intensity is more than the flare of the second predetermined threshold value, determine that the flare information is not met The preparatory condition.
  9. 9. mobile terminal as claimed in claim 6, it is characterised in that also include:Reminding module, wherein:
    The reminding module, for it is determined that during the diffractive-optical element exception, generating prompt message, the prompt message is used Stop projecting diffracted ray to the destination object in prompting.
  10. 10. the mobile terminal as described in claim any one of 6-9, it is characterised in that also include:Replicated blocks, wherein:
    The determining module, specifically for not meeting the preparatory condition in the flare information, and flare is believed When the number that breath does not meet the preparatory condition reaches preset times, determine that the diffractive-optical element is abnormal;
    The replicated blocks, for not meeting the preparatory condition in the flare information, and flare information is not When meeting the number of the preparatory condition and being less than the preset times, following step is repeated:
    Diffraction is carried out to incident ray by diffractive-optical element and obtains diffracted ray, and diffracted ray is projected into the mesh Mark on object;
    Obtain the flare information that the destination object reflection diffraction light obtains;
    Judge whether flare information meets preparatory condition.
  11. 11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The abnormality detecting program of the diffractive-optical element run on processor is stated, the abnormality detecting program of the diffractive-optical element is by institute The step of the method for detecting abnormality of the diffractive-optical element as any one of claim 1 to 5 is realized when stating computing device Suddenly.
CN201711214427.1A 2017-11-28 2017-11-28 A kind of method for detecting abnormality of diffractive-optical element, mobile terminal Pending CN107884157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711214427.1A CN107884157A (en) 2017-11-28 2017-11-28 A kind of method for detecting abnormality of diffractive-optical element, mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711214427.1A CN107884157A (en) 2017-11-28 2017-11-28 A kind of method for detecting abnormality of diffractive-optical element, mobile terminal

Publications (1)

Publication Number Publication Date
CN107884157A true CN107884157A (en) 2018-04-06

Family

ID=61775669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711214427.1A Pending CN107884157A (en) 2017-11-28 2017-11-28 A kind of method for detecting abnormality of diffractive-optical element, mobile terminal

Country Status (1)

Country Link
CN (1) CN107884157A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108594460A (en) * 2018-05-31 2018-09-28 北京小米移动软件有限公司 Structure light module and electronic equipment
CN108700917A (en) * 2018-05-25 2018-10-23 深圳阜时科技有限公司 A kind of structure optical detection device and detection method, identity recognition device and electronic equipment
CN108956093A (en) * 2018-06-22 2018-12-07 维沃移动通信有限公司 The detection method and mobile terminal of ir scattering device
CN109633683A (en) * 2019-01-29 2019-04-16 维沃移动通信有限公司 Emitting mould train, flight time TOF mould group, mobile terminal and depth detection method
CN110940487A (en) * 2018-09-25 2020-03-31 横河电机株式会社 Measuring device and measuring method
US11348217B2 (en) 2018-03-12 2022-05-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Projector, detection method thereof, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1580727A (en) * 2003-08-05 2005-02-16 安捷伦科技有限公司 Parallel interferometric measurements using an expanded local oscillator signal
JP2007132864A (en) * 2005-11-11 2007-05-31 Toshiba Corp Surface inspection device
CN101189488A (en) * 2005-09-21 2008-05-28 松下电器产业株式会社 Apparatus and method for measuring angle
JP2010190621A (en) * 2009-02-16 2010-09-02 Shimadzu Corp Diffraction efficiency measuring device and diffraction efficiency measuring method
JP2011196907A (en) * 2010-03-23 2011-10-06 Seiko Epson Corp Mother board of optical element, and inspection method of optical element
CN102933934A (en) * 2010-07-07 2013-02-13 三洋电机株式会社 Object detecting apparatus and information acquiring apparatus
CN105277339A (en) * 2014-06-20 2016-01-27 中央大学 Measuring system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1580727A (en) * 2003-08-05 2005-02-16 安捷伦科技有限公司 Parallel interferometric measurements using an expanded local oscillator signal
CN101189488A (en) * 2005-09-21 2008-05-28 松下电器产业株式会社 Apparatus and method for measuring angle
JP2007132864A (en) * 2005-11-11 2007-05-31 Toshiba Corp Surface inspection device
JP2010190621A (en) * 2009-02-16 2010-09-02 Shimadzu Corp Diffraction efficiency measuring device and diffraction efficiency measuring method
JP2011196907A (en) * 2010-03-23 2011-10-06 Seiko Epson Corp Mother board of optical element, and inspection method of optical element
CN102933934A (en) * 2010-07-07 2013-02-13 三洋电机株式会社 Object detecting apparatus and information acquiring apparatus
CN105277339A (en) * 2014-06-20 2016-01-27 中央大学 Measuring system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11348217B2 (en) 2018-03-12 2022-05-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Projector, detection method thereof, and electronic device
CN108700917A (en) * 2018-05-25 2018-10-23 深圳阜时科技有限公司 A kind of structure optical detection device and detection method, identity recognition device and electronic equipment
WO2019223002A1 (en) * 2018-05-25 2019-11-28 深圳阜时科技有限公司 Structure light detection device and detection method, identity recognition device and electronic device
CN108700917B (en) * 2018-05-25 2022-07-26 深圳阜时科技有限公司 Structured light detection device and detection method, identity recognition device and electronic equipment
CN108594460A (en) * 2018-05-31 2018-09-28 北京小米移动软件有限公司 Structure light module and electronic equipment
CN108594460B (en) * 2018-05-31 2024-03-01 北京小米移动软件有限公司 Structured light module and electronic device
CN108956093A (en) * 2018-06-22 2018-12-07 维沃移动通信有限公司 The detection method and mobile terminal of ir scattering device
CN110940487A (en) * 2018-09-25 2020-03-31 横河电机株式会社 Measuring device and measuring method
CN109633683A (en) * 2019-01-29 2019-04-16 维沃移动通信有限公司 Emitting mould train, flight time TOF mould group, mobile terminal and depth detection method
CN109633683B (en) * 2019-01-29 2021-03-16 维沃移动通信有限公司 Transmitting module, time of flight (TOF) module, mobile terminal and depth detection method

Similar Documents

Publication Publication Date Title
CN107884157A (en) A kind of method for detecting abnormality of diffractive-optical element, mobile terminal
CN107943551A (en) A kind of screen display method and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN107832110A (en) A kind of information processing method and mobile terminal
CN107808084A (en) A kind of touch operation method and mobile terminal
CN107742072A (en) Face identification method and mobile terminal
CN107908705A (en) A kind of information-pushing method, information push-delivery apparatus and mobile terminal
CN110113528A (en) A kind of parameter acquiring method and terminal device
CN108989678A (en) A kind of image processing method, mobile terminal
CN107765251A (en) Distance detection method and terminal device
CN107463897A (en) Fingerprint identification method and mobile terminal
CN110300267A (en) Photographic method and terminal device
CN108683850A (en) A kind of shooting reminding method and mobile terminal
CN109743503A (en) Reminding method and terminal
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN107679514A (en) A kind of face identification method and electronic equipment
CN107704182A (en) A kind of barcode scanning method and mobile terminal
CN109145731A (en) A kind of fingerprint identification method, device and mobile terminal
CN107782250A (en) A kind of depth information measuring method, device and mobile terminal
CN109474747A (en) A kind of information cuing method and mobile terminal
CN108196663A (en) A kind of face identification method, mobile terminal
CN108093119A (en) A kind of labeling method and mobile terminal of Stranger Calls number
CN108510266A (en) A kind of Digital Object Unique Identifier recognition methods and mobile terminal
CN107809515A (en) A kind of display control method and mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180406