CN109827099A - Flashlight, flashlight focus adjustment method and device - Google Patents

Flashlight, flashlight focus adjustment method and device Download PDF

Info

Publication number
CN109827099A
CN109827099A CN201910156993.4A CN201910156993A CN109827099A CN 109827099 A CN109827099 A CN 109827099A CN 201910156993 A CN201910156993 A CN 201910156993A CN 109827099 A CN109827099 A CN 109827099A
Authority
CN
China
Prior art keywords
flashlight
distance
target object
lamp bead
light direction
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
CN201910156993.4A
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.)
Xi'an Jihong World Information Technology Co Ltd
Original Assignee
Xi'an Jihong World Information Technology 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 Xi'an Jihong World Information Technology Co Ltd filed Critical Xi'an Jihong World Information Technology Co Ltd
Priority to CN201910156993.4A priority Critical patent/CN109827099A/en
Publication of CN109827099A publication Critical patent/CN109827099A/en
Pending legal-status Critical Current

Links

Abstract

The disclosure is directed to a kind of flashlight, flashlight focus adjustment method and devices.The flashlight, including direction sensor, range sensor, driving assembly and the controller that is connect with direction sensor, range sensor and driving assembly respectively;Direction sensor, for detecting the light direction of flashlight;Range sensor detects the first distance between the target object on flashlight and light direction for the light direction according to flashlight;Controller, for controlling the second distance between the lamp bead of driving assembly adjustment flashlight and the focusing lens of flashlight according to the first distance between flashlight and target object.In the technical solution, second distance between the adjustable lamp bead of flashlight and focusing lens, and then the size of emergent light spot is adjusted, the scheme of flashlight automatic focusing is realized, the efficiency and reliability of flashlight focusing is improved, and then improves user experience.

Description

Flashlight, flashlight focus adjustment method and device
Technical field
This disclosure relates to terminal control technical field more particularly to a kind of flashlight, flashlight focus adjustment method and device.
Background technique
Flashlight is many kinds of in the prior art, Various Functions, wherein there is a kind of focusing type flashlight, it can according to The use at family needs to adjust the aggregation extent of the light beam of photoelectricity cylinder sending, and this focusing type flashlight is with extensive.
In the related technology, the light-emitting window of focusing type flashlight is provided with lens group and focusing ring.In use, hand can be passed through The position of the dynamic lamp bead for rotating focusing ring adjustment flashlight, and then change the lamp bead the distance between to the lens group, to reach To the effect for the lamp bead focal length for adjusting the flashlight.
But since focussing process needs are operated manually, focus operations are more inconvenient, and user experience is not It is good.
Summary of the invention
To overcome the problems, such as that focus operations present in the relevant technologies need to manually complete, the embodiment of the present disclosure provides one kind Flashlight, flashlight focus adjustment method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of flashlight is provided, including direction sensor, range sensor, Driving assembly and the controller being connect respectively with the direction sensor, the range sensor and the driving component;
The direction sensor, for detecting the light direction of the flashlight;
The range sensor detects the flashlight and the light out for the light direction according to the flashlight The first distance between target object on direction;
The controller, for controlling the drive according to the first distance between the flashlight and the target object Dynamic component adjusts the second distance between the lamp bead of the flashlight and the focusing lens of the flashlight, and the focusing lens is set The light-emitting window in the flashlight is set, for converging the light of the lamp bead transmitting.
The technical scheme provided by this disclosed embodiment can include the following benefits: the controller of flashlight can lead to The distance between the target object observed with user's needs that range sensor detects is crossed to focus to control driving assembly, Second distance i.e. between control driving assembly adjustment lamp bead and focusing lens, and then the size of emergent light spot is adjusted, it realizes The scheme of flashlight automatic focusing, improves the efficiency and reliability of flashlight focusing, and then improves user experience.
In one embodiment, the controller is also used to according to first between the flashlight and the target object Distance controls the brightness of the lamp bead of the flashlight.
According to the second aspect of an embodiment of the present disclosure, a kind of flashlight focus adjustment method is provided, it is any to be applied to first aspect Flashlight described in embodiment, the flashlight focus adjustment method include:
Obtain the light direction of the flashlight;
According to the light direction of the flashlight, obtain between the target object on the flashlight and the light direction First distance;
According to the first distance between the flashlight and the target object, adjust the lamp bead of the flashlight with it is described Second distance between the focusing lens of flashlight, the light-emitting window of the flashlight is arranged in the focusing lens, for converging The light of the lamp bead transmitting.
The technical scheme provided by this disclosed embodiment can include the following benefits: flashlight can by with user The distance between target object for needing to observe is focused, i.e. second distance between adjustment lamp bead and focusing lens, in turn The size for adjusting emergent light spot, realizes the scheme of flashlight automatic focusing, improves the efficiency and reliability of flashlight focusing, And then improve user experience.
In one embodiment, the light direction according to the flashlight obtains the flashlight and the light out The first distance between target object on direction includes:
Light direction along the flashlight emits range laser;
Receive the reflection range laser after the target object reflection on the light direction;
According to the receiving time of the launch time of the range laser and the reflection range laser, the flashlight is obtained With the first distance between the target object.
In one embodiment, the method also includes:
If detecting, the light direction of the flashlight changes, and does not receive in the preset time period after change described Range laser is reflected, help-asking mode is opened, the help-asking mode is described in the flashlight is opened and closed according to predeterminated frequency The lamp bead of flashlight.
In one embodiment, the method also includes:
When first distance between the flashlight and the target object is less than or equal to pre-determined distance threshold value, record The duration of the first distance is maintained between the flashlight and the target object;
If the duration is greater than or equal to preset time threshold, out code is executed.
In one embodiment, the first distance according between the flashlight and the target object adjusts institute The second distance stated between the lamp bead of flashlight and the focusing lens of the flashlight includes:
When obtaining the second distance between the last lamp bead for adjusting the flashlight and the focusing lens of the flashlight, First distance between the flashlight and the target object of last time;
Determine the first distance and the flashlight and current goal between the flashlight and the target object of last time Whether the difference of the first distance between object is greater than or equal to pre-determined distance threshold value;
If first distance and the flashlight and current goal object between the flashlight and the target object of last time The difference of first distance between body is greater than or equal to the pre-determined distance threshold value, according to the flashlight and the target object Between first distance, adjust the second distance between the lamp bead of the flashlight and the focusing lens of the flashlight.
In one embodiment, the method also includes:
If first distance and the flashlight and current goal object between the flashlight and the target object of last time The difference of first distance between body is less than the pre-determined distance threshold value, obtains the last lamp bead for adjusting the flashlight and institute State the time difference between the time and current time of the second distance between the focusing lens of flashlight;
If the time difference is greater than or equal to preset time threshold, according between the flashlight and the target object First distance adjusts the second distance between the lamp bead of the flashlight and the focusing lens of the flashlight.
In one embodiment, the method also includes:
According to the first distance between the flashlight and the target object, the bright of the lamp bead of the flashlight is adjusted Degree.
According to the third aspect of an embodiment of the present disclosure, a kind of flashlight focus control is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the light direction of the flashlight;
According to the light direction of the flashlight, obtain between the target object on the flashlight and the light direction First distance;
According to the first distance between the flashlight and the target object, adjust the lamp bead of the flashlight with it is described Second distance between the focusing lens of flashlight, the light-emitting window of the flashlight is arranged in the focusing lens, for converging The light of the lamp bead transmitting.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with Machine instruction, when which is executed by processor the step of realization second aspect any embodiment the method.
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.
Fig. 1 is the structural schematic diagram of flashlight shown according to an exemplary embodiment.
Fig. 2 a is the flow chart of flashlight focus adjustment method shown according to an exemplary embodiment.
Fig. 2 b is the flow chart of flashlight focus adjustment method shown according to an exemplary embodiment.
Fig. 2 c is the flow chart of flashlight focus adjustment method shown according to an exemplary embodiment.
Fig. 2 d is the flow chart of flashlight focus adjustment method shown according to an exemplary embodiment.
Fig. 3 a is the structural schematic diagram according to the flashlight focus control shown in an exemplary embodiment one.
Fig. 3 b is the structural schematic diagram according to the flashlight focus control shown in an exemplary embodiment one.
Fig. 3 c is the structural schematic diagram according to the flashlight focus control shown in an exemplary embodiment one.
Fig. 3 d is the structural schematic diagram according to the flashlight focus control shown in an exemplary embodiment one.
Fig. 3 e is the structural schematic diagram according to the flashlight focus control shown in an exemplary embodiment one.
Fig. 3 f is the structural schematic diagram according to the flashlight focus control shown in an exemplary embodiment one.
Fig. 3 g is the structural schematic diagram according to the flashlight focus control shown in an exemplary embodiment one.
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.
The embodiment of the present disclosure provides a kind of flashlight 10, as shown in Figure 1, including direction sensor 101, range sensor 102, driving assembly 103 and the controller being connect respectively with direction sensor 101, range sensor 102 and driving assembly 103 104。
Wherein, direction sensor 101, for detecting the light direction of flashlight 10.
Range sensor 102 detects the mesh on flashlight 10 and light direction for the light direction according to flashlight 10 Mark the first distance between object.
Controller 104, for controlling driving assembly 103 and adjusting according to the first distance between flashlight 10 and target object Second distance between the lamp bead 105 of whole flashlight 10 and the focusing lens 106 of flashlight 10, the focusing lens 106 setting exist The light-emitting window of flashlight 10, for converging the light of lamp bead transmitting.
Exemplary, direction sensor 101 can be gravity sensor, be provided with normal gravity block in the gravity sensor And piezo-electric crystal, the normal gravity block are arranged above piezo-electric crystal.The light direction of flashlight is different, which exists Be applied to that power on the piezo-electric crystal is different under gravity, thus the piezo-electric crystal can according to the size of the power being applied and Direction determines the light direction of flashlight and the angle of horizontal direction, and using the light direction of angle label flashlight.
The range sensor 102 includes laser emitter, laser pickoff, timer and processor.It is sensed in the direction After device 101 determines the light direction of flashlight, the range sensor 102 can by the direction of the launch of the laser emitter, And the receiving direction of the laser pickoff is adjusted to identical as the light direction of the flashlight, then indicates the Laser emission Device emits range laser, and indicates that timer starts timing.The range laser is propagated along the light direction of the flashlight, is being encountered After user's target object being located on the light direction to be observed, by the reflection of the target object, reflection ranging is formed Laser.The reflection range laser is propagated along the opposite direction of the light direction of the flashlight, when propagating near flashlight, by laser Receiver receives, and after determining that the laser pickoff receives reflection range laser, instruction timer stops timing.Due to swashing The aerial spread speed c of light is it is known that then processor can be aerial according to the time t and laser of the timer record Spread speed c calculates the first distance h1 between the target object on flashlight 10 and light direction.Specifically, should
The driving assembly 103 is arranged on the pedestal of lamp bead 105, can change the lamp bead 105 in flashlight 10 and go out light side The light-emitting window of flashlight 10 is arranged in upward position, focusing lens 106, for converging the light of the transmitting of lamp bead 105.It is obtaining To after the first distance h1 between flashlight and target object, controller 104 can obtain according to first distance h1 and should Then the corresponding reference distance of first distance h1 drives the driving assembly 103 according to the reference distance, so that the driving assembly 103 change position of the lamp bead 105 on 10 light direction of flashlight, until will be between the lamp bead 105 and focusing lens 106 Second distance h2 is adjusted to the reference distance.Specifically, first distance and reference distance can be arranged in the flashlight in advance Corresponding relationship, which describes that the first distance is bigger, and corresponding reference distance is bigger, according to the reference distance tune The hot spot of flashlight is smaller after whole second distance;First distance is smaller, and corresponding reference distance is smaller, according to the reference distance The hot spot of flashlight is bigger after adjustment second distance.Get the first distance h1 between flashlight and target object it Afterwards, controller 104 can inquire the corresponding relationship according to first distance h1 first, obtain ginseng corresponding with first distance h1 Distance is examined, then indicates that the driving assembly 103 changes position of the lamp bead 105 on 10 light direction of flashlight, until should Second distance h2 between lamp bead 105 and focusing lens 106 is adjusted to the reference distance.
In the technical scheme provided by this disclosed embodiment, the controller 104 of flashlight 10 can pass through range sensor 102 the distance between the target objects observed with user's needs detected are focused to control driving assembly 103, that is, are controlled Driving assembly 103 adjusts the second distance between lamp bead 105 and focusing lens 106, and then adjusts the size of emergent light spot, realizes The scheme of 10 automatic focusing of flashlight, improves the efficiency and reliability of the focusing of flashlight 10, and then improves user experience.
In one embodiment, controller 104 is also used to according to the first distance between flashlight 10 and target object, control The brightness of the lamp bead 105 of flashlight 10 processed.
It is exemplary, the corresponding relationship of first distance and reference brightness can be set in the flashlight in advance, which closes System describes that the first distance is bigger, and corresponding reference brightness is bigger;First distance is smaller, and corresponding reference brightness is smaller.? After getting the first distance h1 between flashlight and target object, controller 104 can be first according to first distance h1 The corresponding relationship is inquired, reference brightness corresponding with first distance h1 is obtained, then adjusts the brightness of the lamp bead 105, that is, adjust The voltage of whole 105 two sides of lamp bead or the electric current of the lamp bead 105, until being this with reference to bright by the brightness adjustment of the lamp bead 105 Degree.
Or in practical application, the corresponding relationship of first distance and reference voltage can be preset in flashlight, this is right Answer the relationship description first distance bigger, corresponding reference voltage is bigger;First distance is smaller, and corresponding reference voltage is got over It is small.After getting the first distance h1 between flashlight and target object, controller 104 can first according to this first away from The corresponding relationship is inquired from h1, reference voltage corresponding with first distance h1 is obtained, then adjusts the electricity of 105 two sides of lamp bead Pressure, until adjusting the two sides voltage of the lamp bead 105 to reference voltage, the brightness of the lamp bead 105 at this time meets user and observes need It wants.Likewise, flashlight 10 can also preset the corresponding relationship of first distance and reference current, which is described The first distance is bigger, and corresponding reference current is bigger;First distance is smaller, and corresponding reference current is smaller.It is in one's hands obtaining After first distance h1 between torch and target object, it is right that controller 104 can inquire this according to first distance h1 first It should be related to, obtain corresponding with first distance h1 reference current, then adjustment power supply is exported to the electric current of the lamp bead 105, directly Electric current extremely by output to the lamp bead 105 is adjusted to reference current, and the brightness of the lamp bead 105 at this time meets user and observes needs.
In the technical scheme provided by this disclosed embodiment, the controller 104 of flashlight 10 can also pass through Distance-sensing What device 102 detected needs the distance between target object observed with user to control the brightness for changing lamp bead, and then adjusts The bright of emergent light spot secretly improves the efficiency of user's observed object object after the focusing of flashlight 10, and then improves user Experience.
Fig. 2 a is a kind of flow chart of flashlight focus adjustment method shown according to an exemplary embodiment, is applied to above-mentioned The flashlight 10 of one embodiment of anticipating, as shown in Figure 2 a, the flashlight focus adjustment method include the following steps 201 to step 203:
In step 201, the light direction of flashlight is obtained.
Exemplary, which can be set gravity sensor, be provided in the gravity sensor normal gravity block and Piezo-electric crystal, the normal gravity block are arranged above piezo-electric crystal.The light direction of flashlight is different, and the normal gravity block is in weight It is applied to that power on the piezo-electric crystal is different under power effect, therefore the piezo-electric crystal can size according to the power being applied and side To determining the light direction of flashlight and the angle of horizontal direction, and using the light direction of angle label flashlight.
In practical application, flashlight can obtain light direction in real time, can also be in the light direction for detecting flashlight When changing, i.e., when the size of power that is applied of piezo-electric crystal or direction change, the light direction after obtaining variation, this public affairs It opens embodiment and this is not construed as limiting.
In step 202, it according to the light direction of flashlight, obtains between the target object on flashlight and light direction First distance.
Exemplary, which can emit range laser along the light direction after determining light direction, then connect The reflection range laser after the target object reflection on the light direction is received, and then when according to the transmitting of the range laser Between receiving time with the reflection range laser, obtain the first distance between flashlight and the target object.
Specifically, the flashlight is provided with range sensor, which includes laser emitter, laser pick-off Device, timer and processor.After determining the light direction of flashlight, which can be by the laser emitter The direction of the launch and the receiving direction of the laser pickoff adjust to identical as the light direction of the flashlight, then refer to Show the laser transmitter projects range laser, and indicates that timer starts timing.The range laser goes out light side along the flashlight To propagation, after encountering user's target object being located on the light direction to be observed, by the reflection of the target object, Form reflection range laser.The reflection range laser is propagated along the opposite direction of the light direction of the flashlight, propagates to flashlight It when neighbouring, is received by laser pickoff, after determining that the laser pickoff receives reflection range laser, instruction timer stops Only timing.Due to the aerial spread speed c of laser it is known that then processor can according to the time t of the timer record with And the aerial spread speed c of laser calculates the first distance h1 between the target object on flashlight 10 and light direction. Specifically, should
In step 203, according to the first distance between flashlight and target object, the lamp bead and flashlight of flashlight are adjusted Second distance between the focusing lens of cylinder.
Exemplary, which is provided with driving assembly, which is arranged on the pedestal of lamp bead, can change this The light-emitting window of flashlight is arranged in position of the lamp bead on flashlight light direction, the focusing lens, for converging lamp bead transmitting Light.After getting the first distance between target object, flashlight can obtain according to the first distance and should The corresponding reference distance of first distance, then drives the driving assembly according to the reference distance, is somebody's turn to do so that the driving assembly changes Position of the lamp bead on flashlight light direction, until the second distance between the lamp bead and focusing lens is adjusted to the reference Distance.
Specifically, the corresponding relationship of first distance and reference distance can be arranged in the flashlight in advance, which is closed System describes that the first distance is bigger, and corresponding reference distance is bigger, adjusts flashlight after second distance according to the reference distance The hot spot of cylinder is smaller;First distance is smaller, and corresponding reference distance is smaller, according to the defensive position of reference distance adjustment second distance The hot spot of torch is bigger.After getting the first distance between target object, flashlight can first according to this first The Distance query corresponding relationship obtains reference distance corresponding with the first distance, then indicates that the driving assembly changes the lamp Position of the pearl on flashlight light direction, until by the second distance between the lamp bead and focusing lens be adjusted to the reference away from From.
It is exemplary, user may during traveling observed object object, at this moment the hot spot of the flashlight may one Straight to shake, i.e. the light direction of flashlight changes always, if each light direction, which changes, carries out lamp bead and focusing The adjustment of second distance between lens may result in the waste of the electric energy of flashlight, therefore flashlight is detecting out light When direction changes, the first distance between the target object on flashlight and current light direction can be obtained first, When then obtaining the second distance between the lamp bead of last adjustment flashlight and the focusing lens of flashlight, the flashlight with it is upper First distance between primary target object, and determine first distance and hand between flashlight and the target object of last time Whether the difference of the first distance between torch and current goal object is greater than or equal to pre-determined distance threshold value.If flashlight with it is upper The difference of first distance between first distance and flashlight between primary target object and current goal object be greater than or Equal to pre-determined distance threshold value, then according to the first distance between flashlight and target object, the lamp bead and flashlight of flashlight are adjusted Second distance between the focusing lens of cylinder.If flashlight and last time target object between first distance and flashlight with The difference of first distance between current goal object is less than pre-determined distance threshold value, then flashlight maintains current state constant.
Specifically, flashlight is after being initially powered up, according to the light direction after booting, obtain on the light direction Then first distance between target object adjusts the second distance between lamp bead and focusing lens according to the first distance, together Corresponding first distance when this adjustment second distance of Shi Jilu.In use, flashlight can obtain out light in real time Direction, and determine whether the light direction after the light direction obtained in real time and booting is identical.If light direction changes, The first distance between the target object on light direction after flashlight acquisition and change, then determines the first of this acquisition Whether the difference between distance and the first distance recorded before is greater than or equal to pre-determined distance threshold value.If the first of this acquisition The difference of distance and the first distance recorded before is greater than or equal to the pre-determined distance threshold value, then can be obtained according to this Second distance between one distance adjustment lamp bead and focusing lens, while the first distance of record is updated to the of this acquisition One distance.And so on, flashlight can continue to obtain on flashlight and light direction when determining that light direction changes Target object between first distance, and determine the difference between the first distance and the first distance of record whether be greater than or Equal to pre-determined distance threshold value, and then determined whether to adjust the second distance between lamp bead and focusing lens according to comparison result.If The difference of this first distance obtained and the first distance recorded before is less than the pre-determined distance threshold value, illustrates that user may be only It is only to have shaken flashlight on the way advancing, the target object observed is needed not change, then flashlight can be with It keeps the current status unchanged, avoids the waste of electric energy caused by frequently adjusting the second distance between lamp bead and focusing lens, mention The high stand-by time of flashlight.
It is exemplary, user use flashlight during, there may be although this obtain first distance with The difference of the first distance recorded before is less than the pre-determined distance threshold value, but user needs further to observe this acquisition really First distance corresponding target object the case where, if flashlight does not adjust second between lamp bead and focusing lens at this time Distance, then may result in user can not effectively observe the corresponding target object of first distance of this acquisition, and user experience is not It is good.Therefore in the determining first distance between upper primary target object and the first distance between current goal object When difference is less than pre-determined distance threshold value, the lamp bead of the available last adjustment flashlight of flashlight and the focusing lens of flashlight Between second distance time and current time between time difference, it is default then to determine whether the time difference is greater than or equal to Time threshold.If the time difference be greater than or equal to preset time threshold, according to first between flashlight and target object away from From adjusting the second distance between the lamp bead of flashlight and the focusing lens of flashlight.If the time difference is less than preset time threshold Value, then flashlight is kept the current status unchanged.
Specifically, flashlight is after being initially powered up, according to the light direction after booting, obtain on the light direction Then first distance between target object adjusts the second distance between lamp bead and focusing lens according to the first distance, together The adjustment time and the corresponding first distance of this adjustment second distance of Shi Jilu.In use, flashlight can be real When obtain light direction, and determine whether the light direction after the light direction obtained in real time and booting identical.If light direction It changes, then then the first distance between the target object on light direction after flashlight obtains and changes determines this Whether the difference between the first distance of secondary acquisition and the first distance recorded before is greater than or equal to pre-determined distance threshold value.If this The first distance of secondary acquisition and the difference of the first distance recorded before are less than the pre-determined distance threshold value, then record between acquisition The time difference of time and current time, and determine whether the time difference is greater than or equal to preset time threshold.If the time difference is big In or equal to preset time threshold, then illustrate that user's indication electric torch maintains the light direction long period after changing, it may be possible to User's observed object changes, therefore flashlight can adjust flashlight according to the first distance between target object Second distance between lamp bead and the focusing lens of flashlight.If the time difference is less than preset time threshold, illustrate that user may Only having shaken flashlight on the way in traveling just causes light direction to change, and flashlight can be kept current at this time State is constant, avoids the waste of electric energy caused by frequently adjusting the second distance between lamp bead and focusing lens, improves flashlight The stand-by time of cylinder.
In the technical scheme provided by this disclosed embodiment, flashlight can be by needing the target object observed with user The distance between focus, i.e., adjustment lamp bead and focusing lens between second distance, and then adjust emergent light spot size, The scheme for realizing flashlight automatic focusing, improves the efficiency and reliability of flashlight focusing, and then improves user experience.
In one embodiment, as shown in Figure 2 b, method further includes step 204:
In step 204, if detecting, the light direction of flashlight changes, and in the preset time period after change not Reflection range laser is received, help-asking mode is opened, which is flashlight according to predeterminated frequency opening and closing flashlight Lamp bead.
Exemplary, user may use the flashlight under outer scene out of office, if user get lost under the field scene or Person falls behind, and usually can miss the Best Times of rescue because the position of user can not be accurately positioned by rescue personnel, the hand Help-asking mode also can be set in torch, and flashlight can open and close flashlight according to predeterminated frequency under the help-asking mode Lamp bead, i.e., by flashlight it is lasting it is bright secretly come be convenient for rescue personnel position user position.Specifically, flashlight is detecting When light direction changes, time when change can recorde, then determine whether to receive by going out light after changing in real time The reflection range laser that target object on direction reflects to form.If from light direction change after preset time period in not Reflection range laser is received, illustrates that there is no target objects on the light direction after changing, and then can speculate user's needs Distress signals are sent out to be rescued, then flashlight can open help-asking mode, i.e., open and close according to predeterminated frequency The lamp bead of flashlight.Rescue personnel can be according to the position of the bright dark positioning user of the flashlight, and then is rescued.If from going out Light direction change after preset time period in have received reflection range laser, then after flashlight can obtain and change Then the first distance between target object on light direction adjusts between lamp bead and focusing lens according to the first distance Second distance.
In the technical scheme provided by this disclosed embodiment, the flashlight is pointed into the sky or other spacious areas in user When domain, flashlight can open help-asking mode, improve under user's outer scene out of office or obtain a possibility that just living, and then improve The safety coefficient of user's field survivorship, user experience are preferable.
In one embodiment, as shown in Figure 2 c, method further includes step 205 and step 206:
In step 205, when the first distance between flashlight and target object is less than or equal to pre-determined distance threshold value, Record the duration that first distance is maintained between flashlight and target object.
In step 206, if the duration is greater than or equal to preset time threshold, out code is executed.
Exemplary, user is after using flashlight, it is possible that forgetting the case where closing flashlight, therefore flashlight Use process in, can determine in real time and current light direction on target object between first distance whether be less than or wait In pre-determined distance threshold value.If the first distance between the target object is less than or equal to pre-determined distance threshold value, can recorde The duration of the first distance is maintained between the flashlight and target object, and determine in real time the duration whether be greater than or Equal to preset time threshold.If the duration is greater than or equal to preset time threshold, illustrate between flashlight and target object First distance it is smaller, and current state last longer, it may be possible to which user places after finishing flashlight use It is placed on the table downwards in packet or by the light-emitting window of flashlight, therefore flashlight can execute out code, that is, extinguish Lamp bead avoids the waste of electric energy.If the duration be less than preset time threshold, flashlight can continue record flashlight with The duration of the first distance is maintained between target object, if being not up to the remote holder of preset time threshold in the duration The light direction of torch changes, then flashlight it is available with change after light direction on target object between the Then one distance adjusts the second distance between lamp bead and focusing lens according to the first distance.
In the technical scheme provided by this disclosed embodiment, flashlight can also determine in the long period with the object When the distance between body is closer, out code is executed, i.e. extinguishing lamp bead, avoids the waste of electricity.
In one embodiment, as shown in Figure 2 d, method further includes step 207:
In step 207, according to the first distance between flashlight and target object, the bright of the lamp bead of flashlight is adjusted Degree.
Exemplary, flashlight can preset the corresponding relationship of first distance and reference brightness, corresponding relationship description The first distance is bigger, and corresponding reference brightness is bigger;First distance is smaller, and corresponding reference brightness is smaller.It is getting After first distance between target object, flashlight can inquire the corresponding relationship according to the first distance first, obtain Then reference brightness corresponding with the first distance adjusts the brightness of the lamp bead, that is, adjust the voltage of the lamp bead two sides or be somebody's turn to do The electric current of lamp bead, until being the reference brightness by the brightness adjustment of the lamp bead.
Or in practical application, the corresponding relationship of first distance and reference voltage can be preset in flashlight, this is right Answer the relationship description first distance bigger, corresponding reference voltage is bigger;First distance is smaller, and corresponding reference voltage is got over It is small.After getting the first distance between target object, it is right that flashlight can inquire this according to the first distance first It should be related to, obtain reference voltage corresponding with the first distance, then adjust the voltage of the lamp bead two sides, until by the lamp bead Two sides voltage is adjusted to reference voltage, and the brightness of the lamp bead at this time meets user and observes needs.Likewise, flashlight can also be pre- The corresponding relationship of first distance and reference current is first set, and it is bigger which describes the first distance, corresponding reference Electric current is bigger;First distance is smaller, and corresponding reference current is smaller.Get the first distance between target object it Afterwards, flashlight can inquire the corresponding relationship according to the first distance first, obtain reference current corresponding with the first distance, Then adjustment power supply is exported to the electric current of the lamp bead, until adjusting the electric current of output to the lamp bead to reference current, at this time should The brightness of lamp bead meets user and observes needs.
In the technical scheme provided by this disclosed embodiment, flashlight can also be by needing the object observed with user The distance between body changes the brightness of lamp bead to control, and then adjusts the bright dark of emergent light spot, improves and focuses it in flashlight The efficiency of user's observed object object afterwards, and then improve user experience.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 3 a is a kind of structural schematic diagram of flashlight focus control 30 shown according to an exemplary embodiment, the device 30 being implemented in combination with as some or all of of electronic equipment by software, hardware or both.As shown in Figure 3a, should Flashlight focus control 30 includes the first acquisition module 301, and second obtains module 302 and the first adjustment module 303.
Wherein, first module 301 is obtained, for obtaining the light direction of the flashlight.
Second obtains module 302, for the light direction according to the flashlight, obtains the flashlight and the light out The first distance between target object on direction.
The first adjustment module 303, for adjusting institute according to the first distance between the flashlight and the target object The second distance between the lamp bead of flashlight and the focusing lens of the flashlight is stated, the focusing lens is arranged in the flashlight The light-emitting window of cylinder, for converging the light of the lamp bead transmitting.
In one embodiment, as shown in Figure 3b, described second module 302 is obtained including emitting submodule 3021, receive Submodule 3022 and the first acquisition submodule 3023.
Wherein, emit submodule 3021, emit range laser for the light direction along the flashlight.
Receiving submodule 3022, for receiving the reflection after the target object reflection on the light direction Range laser.
First acquisition submodule 3023, for according to launch time of the range laser and the reflection range laser Receiving time obtains the first distance between the flashlight and the target object.
In one embodiment, as shown in Figure 3c, described device 30 further includes emergency module 304, the emergency module 304, if not received for detecting that the light direction of the flashlight changes, and in the preset time period after change described Range laser is reflected, help-asking mode is opened, the help-asking mode is described in the flashlight is opened and closed according to predeterminated frequency The lamp bead of flashlight.
In one embodiment, as shown in Figure 3d, described device 30 further includes logging modle 305 and execution module 306.
Wherein, logging modle 305 are less than or wait for the first distance between the flashlight and the target object When pre-determined distance threshold value, the duration that the first distance is maintained between the flashlight and the target object is recorded.
Execution module 306 executes out code if being greater than or equal to preset time threshold for the duration.
In one embodiment, as shown in Figure 3 e, the first adjustment module 303 includes the second acquisition submodule 3031, Determine submodule 3032 and the first adjustment submodule 3033.
Wherein, the second acquisition submodule 3031, for obtaining the last lamp bead for adjusting the flashlight and the flashlight Cylinder focusing lens between second distance when, the flashlight and last time target object between first distance.
Submodule 3032 is determined, for determining first distance and institute between the flashlight and the target object of last time Whether the difference for stating the first distance between flashlight and current goal object is greater than or equal to pre-determined distance threshold value.
The first adjustment submodule 3033, if for the flashlight and last time target object between first distance with The difference of first distance between the flashlight and current goal object is greater than or equal to the pre-determined distance threshold value, according to institute The first distance between flashlight and the target object is stated, the lamp bead for adjusting the flashlight and the focusing of the flashlight are saturating Second distance between mirror.
In one embodiment, as illustrated in figure 3f, described device 30 further includes that third obtains module 307 and second adjustment mould Block 308.
Wherein, third obtains module 307, if for the first distance between the flashlight and the target object of last time The difference of first distance between the flashlight and current goal object is less than the pre-determined distance threshold value, obtains last Between the time and current time for adjusting the second distance between the lamp bead of the flashlight and the focusing lens of the flashlight Time difference.
Second adjustment module 308, if being greater than or equal to preset time threshold for the time difference, according to the flashlight With the first distance between the target object, adjust between the lamp bead of the flashlight and the focusing lens of the flashlight Second distance.
In one embodiment, as shown in figure 3g, described device 30 further includes third adjustment module 309, the third tune Mould preparation block 309, for adjusting the lamp bead of the flashlight according to the first distance between the flashlight and the target object Brightness.
Embodiment of the disclosure provides a kind of flashlight focus control, which can need to see by flashlight with user The distance between target object examined is focused, i.e. second distance between adjustment lamp bead and focusing lens, and then is adjusted out The size for penetrating hot spot realizes the scheme of flashlight automatic focusing, improves the efficiency and reliability of flashlight focusing, Jin Erti High user experience.
The embodiment of the present disclosure provides a kind of flashlight focus control, which includes:
Processor;
Memory for storage processor executable instruction;
Wherein, processor is configured as:
Obtain the light direction of the flashlight;
According to the light direction of the flashlight, obtain between the target object on the flashlight and the light direction First distance;
According to the first distance between the flashlight and the target object, adjust the lamp bead of the flashlight with it is described Second distance between the focusing lens of flashlight, the light-emitting window of the flashlight is arranged in the focusing lens, for converging The light of the lamp bead transmitting.
In one embodiment, above-mentioned processor is also configured to: the light direction along the flashlight emits ranging Laser;Receive the reflection range laser after the target object reflection on the light direction;According to the ranging The receiving time of the launch time of laser and the reflection range laser, obtain between the flashlight and the target object First distance.
In one embodiment, above-mentioned processor is also configured to: if detecting the light direction hair of the flashlight It is raw to change, and the reflection range laser is not received in the preset time period after change, open help-asking mode, the help-asking mode The lamp bead of the flashlight is opened and closed according to predeterminated frequency for the flashlight.
In one embodiment, above-mentioned processor is also configured to: between the flashlight and the target object First distance when being less than or equal to pre-determined distance threshold value, record and maintain described the between the flashlight and the target object The duration of one distance;If the duration is greater than or equal to preset time threshold, out code is executed.
In one embodiment, above-mentioned processor is also configured to: obtaining the last lamp bead for adjusting the flashlight When second distance between the focusing lens of the flashlight, between the flashlight and the target object of last time first Distance;Determine the first distance and the flashlight and current goal object between the flashlight and the target object of last time Between the difference of first distance whether be greater than or equal to pre-determined distance threshold value;If the flashlight and last target object Between first distance and the flashlight and current goal object between first distance difference be greater than or equal to it is described pre- If distance threshold, according to the first distance between the flashlight and the target object, adjust the lamp bead of the flashlight with Second distance between the focusing lens of the flashlight.
In one embodiment, above-mentioned processor is also configured to: if the flashlight and last target object Between first distance and the flashlight and current goal object between first distance difference be less than the pre-determined distance Threshold value obtains the time of the second distance between the last lamp bead for adjusting the flashlight and the focusing lens of the flashlight Time difference between current time;If the time difference is greater than or equal to preset time threshold, according to the flashlight and institute The first distance between target object is stated, second between the lamp bead of the flashlight and the focusing lens of the flashlight is adjusted Distance.
In one embodiment, above-mentioned processor is also configured to: according to the flashlight and the target object it Between first distance, adjust the brightness of the lamp bead of the flashlight.
Embodiment of the disclosure provides a kind of flashlight focus control, which can need to see by flashlight with user The distance between target object examined is focused, i.e. second distance between adjustment lamp bead and focusing lens, and then is adjusted out The size for penetrating hot spot realizes the scheme of flashlight automatic focusing, improves the efficiency and reliability of flashlight focusing, Jin Erti High user experience.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
The disclosure provides a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by flashlight When the controller of cylinder 10 executes, so that flashlight 10 is able to carry out above-mentioned flashlight focus adjustment method, which comprises
Obtain the light direction of the flashlight.
According to the light direction of the flashlight, obtain between the target object on the flashlight and the light direction First distance.
According to the first distance between the flashlight and the target object, adjust the lamp bead of the flashlight with it is described Second distance between the focusing lens of flashlight, the light-emitting window of the flashlight is arranged in the focusing lens, for converging The light of the lamp bead transmitting.
In one embodiment, the light direction according to the flashlight obtains the flashlight and the light out The first distance between target object on direction includes: the light direction transmitting range laser along the flashlight;Receive warp Cross the reflection range laser after the target object reflection on the light direction;When according to the transmitting of the range laser Between with it is described reflection range laser receiving time, obtain the first distance between the flashlight and the target object.
In one embodiment, the method also includes: if detecting, the light direction of the flashlight changes, and The reflection range laser is not received in preset time period after change, opens help-asking mode, the help-asking mode is the hand Torch opens and closes the lamp bead of the flashlight according to predeterminated frequency.
In one embodiment, the method also includes: between the flashlight and the target object first away from When from being less than or equal to pre-determined distance threshold value, recording and maintaining the first distance between the flashlight and the target object Duration;If the duration is greater than or equal to preset time threshold, out code is executed.
In one embodiment, the first distance according between the flashlight and the target object adjusts institute Stating the second distance between the lamp bead of flashlight and the focusing lens of the flashlight includes: to obtain the last adjustment flashlight When second distance between the lamp bead of cylinder and the focusing lens of the flashlight, the flashlight and last target object it Between first distance;Determine first distance between the flashlight and the target object of last time and the flashlight and current Whether the difference of the first distance between target object is greater than or equal to pre-determined distance threshold value;If the flashlight and last time The difference of the first distance between first distance and the flashlight and current goal object between target object is greater than or waits The flashlight is adjusted according to the first distance between the flashlight and the target object in the pre-determined distance threshold value Lamp bead and the flashlight focusing lens between second distance.
In one embodiment, the method also includes: if the between the flashlight and the target object of last time The difference of first distance between one distance and the flashlight and current goal object is less than the pre-determined distance threshold value, obtains Last time adjust the second distance between the lamp bead of the flashlight and the focusing lens of the flashlight time and it is current when Between between time difference;If the time difference is greater than or equal to preset time threshold, according to the flashlight and the object First distance between body adjusts the second distance between the lamp bead of the flashlight and the focusing lens of the flashlight.
In one embodiment, the method also includes: according to first between the flashlight and the target object Distance adjusts the brightness of the lamp bead of the flashlight.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application 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.

Claims (11)

1. a kind of flashlight, which is characterized in that including direction sensor, range sensor, driving assembly and respectively with the side The controller connected to sensor, the range sensor with the driving component;
The direction sensor, for detecting the light direction of the flashlight;
The range sensor detects the flashlight and the light direction for the light direction according to the flashlight On target object between first distance;
The controller, for controlling the driving group according to the first distance between the flashlight and the target object Part adjusts the second distance between the lamp bead of the flashlight and the focusing lens of the flashlight, and the focusing lens setting exists The light-emitting window of the flashlight, for converging the light of the lamp bead transmitting.
2. flashlight according to claim 1, which is characterized in that the controller is also used to according to the flashlight and institute The first distance between target object is stated, the brightness of the lamp bead of the flashlight is controlled.
3. a kind of flashlight focus adjustment method, which is characterized in that be applied to flashlight of any of claims 1 or 2, the flashlight Focus adjustment method includes:
Obtain the light direction of the flashlight;
According to the light direction of the flashlight, between the target object on the flashlight and the light direction is obtained One distance;
According to the first distance between the flashlight and the target object, adjust the flashlight lamp bead and the flashlight The light-emitting window of the flashlight is arranged in second distance between the focusing lens of cylinder, the focusing lens, described for converging The light of lamp bead transmitting.
4. according to the method described in claim 3, it is characterized in that, the light direction according to the flashlight, obtains institute The first distance stated between the target object on flashlight and the light direction includes:
Light direction along the flashlight emits range laser;
Receive the reflection range laser after the target object reflection on the light direction;
According to the receiving time of the launch time of the range laser and the reflection range laser, the flashlight and institute are obtained State the first distance between target object.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
If detecting, the light direction of the flashlight changes, and does not receive the reflection in the preset time period after change Range laser, opens help-asking mode, and the help-asking mode is the flashlight according to the predeterminated frequency opening and closing flashlight The lamp bead of cylinder.
6. according to method described in claim 3 to 5 any one claim, which is characterized in that the method also includes:
When first distance between the flashlight and the target object is less than or equal to pre-determined distance threshold value, described in record The duration of the first distance is maintained between flashlight and the target object;
If the duration is greater than or equal to preset time threshold, out code is executed.
7. according to method described in claim 3 to 5 any one claim, which is characterized in that described according to the flashlight First distance between cylinder and the target object, adjusts between the lamp bead of the flashlight and the focusing lens of the flashlight Second distance include:
It is described when obtaining the second distance between the last lamp bead for adjusting the flashlight and the focusing lens of the flashlight First distance between flashlight and the target object of last time;
Determine the first distance and the flashlight and current goal object between the flashlight and the target object of last time Between the difference of first distance whether be greater than or equal to pre-determined distance threshold value;
If first distance and the flashlight and current goal object between the flashlight and the target object of last time it Between first distance difference be greater than or equal to the pre-determined distance threshold value, according between the flashlight and the target object First distance, adjust the second distance between the lamp bead of the flashlight and the focusing lens of the flashlight.
8. the method according to the description of claim 7 is characterized in that the method also includes:
If first distance and the flashlight and current goal object between the flashlight and the target object of last time it Between the difference of first distance be less than the pre-determined distance threshold value, obtain the last lamp bead for adjusting the flashlight and the hand Time difference between the time and current time of second distance between the focusing lens of torch;
If the time difference is greater than or equal to preset time threshold, according to first between the flashlight and the target object Distance adjusts the second distance between the lamp bead of the flashlight and the focusing lens of the flashlight.
9. according to method described in claim 3 to 5 any one claim, which is characterized in that the method also includes:
According to the first distance between the flashlight and the target object, the brightness of the lamp bead of the flashlight is adjusted.
10. a kind of flashlight focus control characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the light direction of the flashlight;
According to the light direction of the flashlight, between the target object on the flashlight and the light direction is obtained One distance;
According to the first distance between the flashlight and the target object, adjust the flashlight lamp bead and the flashlight The light-emitting window of the flashlight is arranged in second distance between the focusing lens of cylinder, the focusing lens, described for converging The light of lamp bead transmitting.
11. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of claim 3 to 9 any one claim the method is realized when execution.
CN201910156993.4A 2019-03-01 2019-03-01 Flashlight, flashlight focus adjustment method and device Pending CN109827099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910156993.4A CN109827099A (en) 2019-03-01 2019-03-01 Flashlight, flashlight focus adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910156993.4A CN109827099A (en) 2019-03-01 2019-03-01 Flashlight, flashlight focus adjustment method and device

Publications (1)

Publication Number Publication Date
CN109827099A true CN109827099A (en) 2019-05-31

Family

ID=66865159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910156993.4A Pending CN109827099A (en) 2019-03-01 2019-03-01 Flashlight, flashlight focus adjustment method and device

Country Status (1)

Country Link
CN (1) CN109827099A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103335219A (en) * 2013-06-17 2013-10-02 宁波协生照明工业有限公司 Full-automatic telescopic focusing flashlight
CN204756830U (en) * 2015-06-23 2015-11-11 上海科旭网络科技股份有限公司 Lamp controller with auto focus function
CN105848383A (en) * 2016-04-12 2016-08-10 上海斐讯数据通信技术有限公司 Control method and control system for an electric torch
CN205878041U (en) * 2016-07-27 2017-01-11 广州励时电子有限公司 Stage lighting lamps and lanterns
CN207621787U (en) * 2017-11-24 2018-07-17 广州祥明舞台灯光设备有限公司 A kind of stage lighting of auto-focusing
CN109163234A (en) * 2018-10-23 2019-01-08 安徽理工大学 A kind of reaction type active Zooming electric torch

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103335219A (en) * 2013-06-17 2013-10-02 宁波协生照明工业有限公司 Full-automatic telescopic focusing flashlight
CN204756830U (en) * 2015-06-23 2015-11-11 上海科旭网络科技股份有限公司 Lamp controller with auto focus function
CN105848383A (en) * 2016-04-12 2016-08-10 上海斐讯数据通信技术有限公司 Control method and control system for an electric torch
CN205878041U (en) * 2016-07-27 2017-01-11 广州励时电子有限公司 Stage lighting lamps and lanterns
CN207621787U (en) * 2017-11-24 2018-07-17 广州祥明舞台灯光设备有限公司 A kind of stage lighting of auto-focusing
CN109163234A (en) * 2018-10-23 2019-01-08 安徽理工大学 A kind of reaction type active Zooming electric torch

Similar Documents

Publication Publication Date Title
US10027898B2 (en) TOF illumination system and TOF camera and method for operating, with control means for driving electronic devices located in the scene
CN103077370B (en) Face image detecting apparatus
CN104243808B (en) Picture pick-up device, camera arrangement and control method
TW201004474A (en) Remote control device for lighting systems
CN207924261U (en) Display device and virtual reality device
CN110099269A (en) Depth generation system with adjustable luminous intensity
JP2011170014A (en) Stroboscopic device
CN104253944A (en) Sight connection-based voice command issuing device and method
CN110266394A (en) Adjusting method, terminal and computer readable storage medium
JP2006317304A (en) Monitor device
CN109827099A (en) Flashlight, flashlight focus adjustment method and device
CN109901134A (en) Wide-angle TOF mould group and its application
JP2004028601A (en) Monitoring laser radar system, and imaging method
US20230259204A1 (en) Dynamic ir emission control for fast recognition of eye tracking system
JP2022535521A (en) Electronic device control method and electronic device
NO319311B1 (en) Missile control against a template using a scanning laser beam
CN107462967A (en) A kind of laser ranging focuses method and system
JP2007218806A (en) Laser monitoring method
CN205945976U (en) System for realize large -depth -of -field under image intensifier burst pulse gating
CN109412073A (en) It a kind of laser beam emitting device and floats for clearing up high-voltage line and hangs the device of object
JP2014174194A (en) Projector safety device, projector including the same, and projector safety control method
JP2009257780A (en) Imaging system
CN207020409U (en) A kind of hot spot Imaging for Monitoring equipment
AU2018394779B2 (en) Remotely operated underwater vehicle and control method therefor
JP2005090846A (en) Shooting system

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

Application publication date: 20190531

RJ01 Rejection of invention patent application after publication