CN105025226B - A kind of camera control method and user terminal - Google Patents

A kind of camera control method and user terminal Download PDF

Info

Publication number
CN105025226B
CN105025226B CN201510398336.2A CN201510398336A CN105025226B CN 105025226 B CN105025226 B CN 105025226B CN 201510398336 A CN201510398336 A CN 201510398336A CN 105025226 B CN105025226 B CN 105025226B
Authority
CN
China
Prior art keywords
time
laser
time difference
user terminal
round
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510398336.2A
Other languages
Chinese (zh)
Other versions
CN105025226A (en
Inventor
吴磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510398336.2A priority Critical patent/CN105025226B/en
Publication of CN105025226A publication Critical patent/CN105025226A/en
Application granted granted Critical
Publication of CN105025226B publication Critical patent/CN105025226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of camera control method and user terminals.Wherein, this method comprises: receiving photographing instruction;The photographing instruction is responded, the round-trip duration for repeatedly emitting laser to object to be photographed is obtained;According to the round-trip duration, safe shutter time is determined;Photographing operation is executed in the safe shutter time.Implementing the embodiment of the present invention can be improved the success rate taken pictures.

Description

A kind of camera control method and user terminal
Technical field
The present invention relates to intelligent terminal technical field more particularly to a kind of camera control methods and user terminal.
Background technique
It with camera function popularizing on user terminal (such as mobile phone, tablet computer, IPAD) and applies, on user terminal Take pictures and configure higher and higher, imaging effect of taking pictures also is become better and better.However, being found in practice, when user is under microspur scene When shooting to lesser object, the shake of user hand will cause biggish shake, even if user terminal takes pictures configuration again Height, the photo for taking pictures out are also easy to thicken because of shake, and user has to take pictures again again, this can be greatly reduced The success rate taken pictures.
Summary of the invention
The embodiment of the invention provides a kind of camera control method and user terminal, the success rate taken pictures can be improved.
First aspect of the embodiment of the present invention discloses a kind of camera control method, comprising:
Receive photographing instruction;
The photographing instruction is responded, the round-trip duration for repeatedly emitting laser to object to be photographed is obtained;
According to the round-trip duration, safe shutter time is determined;
Photographing operation is executed in the safe shutter time.
Second aspect of the embodiment of the present invention discloses a kind of user terminal, comprising:
Receiving unit, for receiving photographing instruction;
Acquiring unit obtains the round-trip duration for repeatedly emitting laser to object to be photographed for responding the photographing instruction;
Determination unit, for determining safe shutter time according to the round-trip duration;
Execution unit, for executing photographing operation in the safe shutter time.
In the embodiment of the present invention, user terminal receives photographing instruction, responds photographing instruction, obtains multiple to object to be photographed Emit the round-trip duration of laser, further, according to round-trip duration, after determining safe shutter time, user terminal can be Photographing operation is executed in safe shutter time.Through the embodiment of the present invention, after user terminal receives photographing instruction, user terminal Multiple laser can be emitted to object to be photographed and obtain multiple round-trip duration, the time difference of the round-trip duration of adjacent secondary laser It can actually reflect the handshaking degree of user, since the speed of laser is exceedingly fast, object to be photographed is arrived according to Laser emission Round-trip duration, the accuracy to determine safe shutter time is just very high, and user terminal is executed in the safe shutter time and taken pictures Operation will make the image for taking pictures out than more visible, so as to improve the success rate taken pictures.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow diagram of camera control method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another camera control method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another camera control method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 8 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of camera control method and user terminal, the success rate taken pictures can be improved.With It is lower to be described in detail respectively.
In the embodiment of the present invention, user terminal can include but is not limited to smart phone, laptop, personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), mobile interchange Net equipment (Mobile Internet Device, MID), intelligent wearable device (such as smartwatch, Intelligent bracelet) all kinds of use Family terminal.Wherein, the operating system of the user terminal may include but be not limited to Android operation system, IOS operating system, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating system etc., this Inventive embodiments are without limitation.
Referring to Figure 1, Fig. 1 is a kind of flow diagram of camera control method disclosed by the embodiments of the present invention.Such as Fig. 1 institute Show, this method may comprise steps of.
S101, photographing instruction is received.
In the embodiment of the present invention, user terminal receives photographing instruction, wherein the photographing instruction can be the bat of user's input According to instruction, such as: user clicks the button of taking pictures on user terminal, alternatively, the photographing instruction is the bat that user terminal automatically enters According to instruction, such as: in specific time automatic camera.
As an alternative embodiment, after step slol and before step S102, the method can be with The following steps are included:
11) prompt information is exported, which inputs information to be verified for prompting;
12) information to be verified for responding prompt information input is received;
13) whether consistent with pre-set default verification information the information to be verified is verified;
If 14) consistent, S102 is thened follow the steps.
In this embodiment, the information to be verified can include but is not limited to password to be verified, finger print information to be verified, to Verify shape of face information, iris information to be verified, in retinal information to be verified and voiceprint to be verified any one or Several combinations.
In this embodiment, which may include but be not limited to default verifying password, pre- If verifying finger print information, presetting and verify shape of face information, default verifying iris information, preset to verify retinal information and preset and test Demonstrate,prove any one or the combination of several of them in voiceprint.
In this embodiment, above-mentioned default verification information may include that fingerprint string information and each fingerprint are corresponding Input time;So correspondingly, verify whether information to be verified is consistent with default verification information to may comprise steps of:
Verify whether fingerprint string is identical as the fingerprint string that default verification information includes, and the input time of identical fingerprints Whether difference is respectively less than preset value, if verifying fingerprint string is identical as the fingerprint string that default verification information includes, and identical finger The difference of the input time of line is respectively less than preset value, then it is consistent with default verification information to verify information to be verified;Conversely, It verifies information to be verified and default verification information is inconsistent.By implementing the embodiment, user terminal can be effectively prevented It is operated wantonly by illegal user.
S102, response photographing instruction, obtain the round-trip duration for repeatedly emitting laser to object to be photographed.
In the embodiment of the present invention, user terminal can respond photographing instruction after receiving photographing instruction, obtain to Photograph subject repeatedly emits the round-trip duration of laser.Wherein, which is the actual object that user terminal is taken pictures in advance.
In the embodiment of the present invention, user terminal responds photographing instruction, obtains and repeatedly emits the past of laser to object to be photographed The specific embodiment for returning duration may comprise steps of:
21) the pre-set preset times to object to be photographed transmitting laser are obtained, preset times include at least twice;
22) laser for emitting 1 time to object to be photographed every preset time, until having emitted the laser of preset times;
23) the round-trip duration of transmitting laser every time is calculated separately, to obtain the round-trip duration of repeatedly transmitting laser.
In this embodiment, user is provided with default time to object to be photographed transmitting laser on the subscriber terminal in advance Number, such as: 2 times, 3 times, 5 times, it is 10 inferior, the embodiment of the present invention is not construed as limiting.User terminal emits laser to object to be photographed Number it is more, accuracy is higher, but frequently transmitting laser will cause power consumption increase, therefore, the preset times be usually use What family was arranged according to the hardware configuration situation of user terminal itself.User is also provided with transmitting laser on the subscriber terminal in advance Prefixed time interval, for example, 1S, 2S, 5S etc..As an example it is assumed that preset time is 1S, preset times are 5 times, then user Terminal emits 1 laser every 1S to object to be photographed, until having emitted 5 laser.
User terminal can start timing by starting timer when transmitting laser every time, and receive wait take pictures pair As be reflected back laser when stop timing, the duration of the timer be exactly this transmitting laser round-trip duration, alternatively, with Family terminal can when transmitting laser every time record start time point, and in the laser for receiving object to be photographed and being reflected back When end of record time point, by zero computing time point and terminate time point difference, which is just this transmitting The round-trip duration of laser.
S103, according to round-trip duration, determine safe shutter time.
In the embodiment of the present invention, after user terminal gets the round-trip duration for repeatedly emitting laser to object to be photographed, User terminal can determine safe shutter time according to round-trip duration.Wherein, safe shutter time is to use under normal conditions The maximum value of the unambiguous aperture time of piece.As an example it is assumed that safe shutter time is 1/60s, then when the shutter taken pictures Between be less than or equal to 1/60s when, take come picture fuzzy phenomenon would not occur.
In the embodiment of the present invention, user terminal emits beam of laser to object to be photographed, is received by photoelectric cell wait take pictures The laser beam of object reflection, timer measure laser beam from being emitted to the received time, and the speed of laser is certain, and user Terminal is also certain at a distance from object to be photographed, if certain send laser when, user it is handshaking once, User terminal will change at a distance from object to be photographed at this time, and timer measures laser beam from being emitted to the received time Also it will change, if user's is handshaking more severe, timer measures laser beam from being emitted to the received time Change bigger, therefore, adjacent secondary laser beam just represents the handshaking journey of user from the received time difference is emitted in fact Degree.Accuracy using the result of laser measurement is very high, therefore user terminal repeatedly emits according to what is got to object to be photographed The round-trip duration of laser determines safe shutter time with regard to more accurate.
In one embodiment, user terminal can calculate separately the past of each adjacent time transmitting laser in repeatedly transmitting laser The time difference of duration is returned, and time difference summation is averaged, to obtain average time difference, further, with being averaged for acquisition Time difference is foundation, inquires the mean time obtained from pre-stored average time difference and the corresponding relationship of safe shutter time Between the corresponding safe shutter time of difference, when inquire safe shutter time corresponding less than the average time difference of acquisition, according to putting down Safe shutter time corresponding with the average time difference that the calculating of the formula of safe shutter time obtains of equal time difference.
S104, photographing operation is executed in safe shutter time.
In the embodiment of the present invention, user terminal is according to round-trip duration, and after determining safe shutter time, user terminal can To execute photographing operation in safe shutter time, the picture come is shot so just than more visible.
In the method flow described in Fig. 1, user terminal receives photographing instruction, responds photographing instruction, obtains to wait clap Repeatedly emit the round-trip duration of laser according to object, further, according to round-trip duration, after determining safe shutter time, user is whole End can execute photographing operation in safe shutter time.Through the embodiment of the present invention, user terminal receives photographing instruction Afterwards, user terminal can emit multiple laser to object to be photographed and obtain multiple round-trip duration, adjacent secondary laser it is round-trip The time difference of duration can actually reflect the handshaking degree of user, since the speed of laser is exceedingly fast, be arrived according to Laser emission The round-trip duration of object to be photographed, the accuracy to determine safe shutter time is just very high, and user terminal is in the safety shutter Interior execution photographing operation will make the image for taking pictures out than more visible, so as to improve the success rate taken pictures.
Fig. 2 is referred to, Fig. 2 is the flow diagram of another camera control method disclosed by the embodiments of the present invention.Such as Fig. 2 Shown, this method may comprise steps of.
S201, user terminal receive photographing instruction.
S202, user terminal respond photographing instruction, obtain the round-trip duration for repeatedly emitting laser to object to be photographed.
S203, user terminal calculate separately the time of the round-trip duration of each adjacent transmitting laser in repeatedly transmitting laser Difference, and time difference summation is averaged, to obtain average time difference.
In the embodiment of the present invention, user terminal get repeatedly emit round-trip duration from laser to object to be photographed it Afterwards, user terminal needs to calculate separately the time difference of the round-trip duration of each adjacent transmitting laser in repeatedly transmitting laser, and right Time difference summation is averaged, to obtain average time difference.As an example it is assumed that user terminal emits 5 times to object to be photographed Laser, the round-trip duration of 5 laser are followed successively by 0.1s, 0.1s, 0.11s, 0.1s, 0.12s, and user terminal calculates separately repeatedly The time difference of the round-trip duration of each adjacent transmitting laser is followed successively by 0,0.01,0.01,0.02 in transmitting laser, wherein each phase The time difference of the round-trip duration of adjacent transmitting laser takes absolute value.User terminal is averaged time difference summation, acquisition Average time difference is 0.008.
S204, user terminal are fast from pre-stored average time difference and safety using the average time difference obtained as foundation The corresponding safe shutter time of average time difference of acquisition is inquired in the corresponding relationship of door time.
In the embodiment of the present invention, user terminal is previously stored with the corresponding relationship of average time difference and safe shutter time, Wherein, the average time difference and the corresponding relationship of safe shutter time can be by testing acquisition in advance.User terminal obtains After obtaining average time difference, user terminal can be using the average time difference of acquisition as foundation, from pre-stored average time Difference safe shutter time corresponding with the average time difference of acquisition is inquired in the corresponding relationship of safe shutter time.
S205, user terminal judge whether the corresponding safe shutter time of the average time difference for inquiring acquisition, if so, holding Row step S207, if it is not, executing step S206~S207.
S206, user terminal calculate the average time difference pair obtained according to average time difference and the formula of safe shutter time The safe shutter time answered.
In the embodiment of the present invention, since experiment number is limited, user terminal can not store all average time differences and peace Therefore the corresponding relationship of full aperture time there is inquiry safe shutter time corresponding less than the average time difference of acquisition Situation.When inquiring safe shutter time corresponding less than the average time difference of acquisition, user terminal according to average time difference with The formula of safe shutter time calculates the corresponding safe shutter time of average time difference obtained.Wherein, which can be with are as follows:
T=T/q
Wherein, above-mentioned t is safe shutter time, and above-mentioned T is average time difference, and above-mentioned q is a preset parameter.
As an example it is assumed that T is 0.04s, q 2, then t is 0.02s.
S207, user terminal execute photographing operation in safe shutter time.
In the method flow described in Fig. 2, user terminal receives photographing instruction, responds photographing instruction, obtains to wait clap Repeatedly emit the round-trip duration of laser according to object, and calculate separately each adjacent time transmitting laser in repeatedly transmitting laser it is round-trip when The long time difference, and time difference summation is averaged, to obtain average time difference, further, user terminal is to obtain Average time difference is foundation, and inquiry obtains flat from pre-stored average time difference and the corresponding relationship of safe shutter time Corresponding safe shutter time of equal time difference is used when inquiring safe shutter time corresponding less than the average time difference of acquisition When family terminal calculates the corresponding safety shutter of the average time difference obtained according to the formula of average time difference and safe shutter time Between, user terminal can execute photographing operation in safe shutter time.The time difference of the round-trip duration of adjacent secondary laser is real It can reflect the handshaking degree of user on border, since the speed of laser is exceedingly fast, according to Laser emission to the past of object to be photographed Duration is returned, the accuracy to determine safe shutter time is just very high, and user terminal executes the behaviour that takes pictures in the safe shutter time Work will make the image for taking pictures out than more visible, so as to improve the success rate taken pictures.
Fig. 3 is referred to, Fig. 3 is the flow diagram of another camera control method disclosed by the embodiments of the present invention.Such as Fig. 3 Shown, this method may comprise steps of.
S301, user terminal receive photographing instruction.
S302, user terminal respond photographing instruction, obtain the round-trip duration for repeatedly emitting laser to object to be photographed.
S303, user terminal determine safe shutter time according to round-trip duration.
S304, user terminal execute photographing operation in safe shutter time.
In geographical location that S305, user terminal are taken pictures by determining safe shutter time, currently and current time Any one or several combinations is written to take pictures after in the image that obtains, to obtain target image.
In the embodiment of the present invention, after user terminal executes photographing operation in safe shutter time, user terminal can To obtain image, at this point, geographical location that user terminal can by determining safe shutter time, currently take pictures and it is current when Between any one or more of combination be written to take pictures after in the image that obtains, to obtain target image.User can in this way To find out safe shutter time used in the target image from target image, next time is similar with the target image in shooting When object, the safe shutter time of user terminal can be arranged in user with reference to the safe shutter time that the target image uses, And user can find out time and the place of target image shooting from target image, to increase the rich of picture material Fu Xing.
S306, user terminal save target image.
In the method flow described in Fig. 3, user terminal receives photographing instruction, responds photographing instruction, obtains to wait clap Repeatedly emit the round-trip duration of laser according to object, further, according to round-trip duration, after determining safe shutter time, user is whole End photographing operation can be executed in safe shutter time, further, user terminal by determining safe shutter time, The combination in the geographical location and any one or more of current time currently taken pictures is written to take pictures after in the image that obtains, To obtain target image, and target image is saved, such user can find out the target image from the target image of preservation Used safe shutter time, next time, user can refer to the target figure when shooting the object similar with the target image The safe shutter time of user terminal is set as the safe shutter time that uses.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is used to execute the side in embodiment of the present invention method Method, for ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to Above method embodiment of the present invention.
Fig. 4 is referred to, Fig. 4 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention, as shown in figure 4, The user terminal 400 may include: receiving unit 401, acquiring unit 402, determination unit 403 and execution unit 404, In:
Receiving unit 401, for receiving photographing instruction.
In the embodiment of the present invention, receiving unit 401 receives photographing instruction, wherein the photographing instruction can be user's input Photographing instruction, such as: user click user terminal on button of taking pictures, alternatively, the photographing instruction automatically enters for user terminal Photographing instruction, such as: in specific time automatic camera.
Acquiring unit 402 obtains the round-trip duration for repeatedly emitting laser to object to be photographed for responding photographing instruction.
In the embodiment of the present invention, for receiving unit 401 after receiving photographing instruction, acquiring unit 402 can respond bat According to instruction, the round-trip duration for repeatedly emitting laser to object to be photographed is obtained.Wherein, which is that user terminal is clapped in advance According to actual object.
Determination unit 403, for determining safe shutter time according to round-trip duration.
In the embodiment of the present invention, acquiring unit 402 get repeatedly emit to object to be photographed laser round-trip duration it Afterwards, determination unit 403 can determine safe shutter time according to round-trip duration.Wherein, safe shutter time is usual situation Under make the maximum value of the unambiguous aperture time of slice.As an example it is assumed that safe shutter time is 1/60s, then when taking pictures When aperture time is less than or equal to 1/60s, fuzzy phenomenon would not be occurred by taking the picture come.
In the embodiment of the present invention, user terminal emits beam of laser to object to be photographed, is received by photoelectric cell wait take pictures The laser beam of object reflection, timer measure laser beam from being emitted to the received time, and the speed of laser is certain, and user Terminal is also certain at a distance from object to be photographed, if certain send laser when, user it is handshaking once, User terminal will change at a distance from object to be photographed at this time, and timer measures laser beam from being emitted to the received time Also it will change, if user's is handshaking more severe, timer measures laser beam from being emitted to the received time Change bigger, therefore, adjacent secondary laser beam just represents the handshaking journey of user from the received time difference is emitted in fact Degree.Accuracy using the result of laser measurement is very high, therefore determination unit 403 is repeatedly sent out according to what is got to object to be photographed The round-trip duration of laser is penetrated to determine safe shutter time with regard to more accurate.
Execution unit 404, for executing photographing operation in safe shutter time.
In the embodiment of the present invention, determination unit 403 is according to round-trip duration, after determining safe shutter time, execution unit 404 can execute photographing operation in safe shutter time, shoot the picture come so just than more visible.
Fig. 5 is referred to, Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, wherein Fig. 5 Shown in user terminal be to advanced optimize to obtain on the basis of user terminal shown in Fig. 4, it is whole with user shown in Fig. 4 End is compared, and user terminal shown in fig. 5 can also include: other than including all units of user terminal shown in Fig. 4
Output unit 405, for exporting prompt information, which inputs information to be verified for prompting.
Above-mentioned receiving unit 401 is also used to receive the information to be verified for responding prompt information input.
Authentication unit 406, it is whether consistent with pre-set default verification information for verifying the information to be verified.
In this embodiment, the information to be verified can include but is not limited to password to be verified, finger print information to be verified, to Verify shape of face information, iris information to be verified, in retinal information to be verified and voiceprint to be verified any one or Several combinations.
In this embodiment, which may include but be not limited to default verifying password, pre- If verifying finger print information, presetting and verify shape of face information, default verifying iris information, preset to verify retinal information and preset and test Demonstrate,prove any one or the combination of several of them in voiceprint.
In this embodiment, above-mentioned default verification information may include that fingerprint string information and each fingerprint are corresponding Input time;So correspondingly, authentication unit 406 verifies whether information to be verified is consistent with default verification information to may include Following steps:
Verify whether fingerprint string is identical as the fingerprint string that default verification information includes, and the input time of identical fingerprints Whether difference is respectively less than preset value, if verifying fingerprint string is identical as the fingerprint string that default verification information includes, and identical finger The difference of the input time of line is respectively less than preset value, then it is consistent with default verification information to verify information to be verified;Conversely, It verifies information to be verified and default verification information is inconsistent.By implementing the embodiment, user terminal can be effectively prevented It is operated wantonly by illegal user.
Above-mentioned acquiring unit 402 is specifically used for presetting when the verifying information to be verified of authentication unit 406 with pre-set When verification information is consistent, photographing instruction is responded, the round-trip duration for repeatedly emitting laser to object to be photographed is obtained.
Fig. 6 is referred to, Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, wherein Fig. 6 Shown in user terminal be to advanced optimize to obtain on the basis of user terminal shown in Fig. 4, it is whole with user shown in Fig. 4 End is compared, and for user terminal shown in fig. 6 other than including all units of user terminal shown in Fig. 4, determination unit 403 can be with Include:
First computation subunit 4031, for calculate separately each adjacent time transmitting laser in repeatedly transmitting laser it is round-trip when The long time difference, and time difference summation is averaged, to obtain average time difference.
In the embodiment of the present invention, acquiring unit 402 repeatedly emits the round-trip duration of laser getting to object to be photographed Later, the first computation subunit 4031 needs to calculate separately the round-trip duration of each adjacent transmitting laser in repeatedly transmitting laser Time difference, and time difference summation is averaged, to obtain average time difference.As an example it is assumed that user terminal is to wait take pictures Object emits 5 laser, and the round-trip duration of 5 laser is followed successively by 0.1s, 0.1s, 0.11s, 0.1s, 0.12s, and first calculates The time difference that subelement 4031 calculates separately the round-trip duration of each adjacent time transmitting laser in repeatedly transmitting laser is followed successively by 0, 0.01,0.01,0.02, wherein the time difference of the round-trip duration of each adjacent transmitting laser takes absolute value.First calculates son list 4031 pairs of time difference summations of member are averaged, and the average time difference of acquisition is 0.008.
Inquire subelement 4032, for using the average time difference of acquisition as foundation, from pre-stored average time difference with The corresponding safe shutter time of average time difference of acquisition is inquired in the corresponding relationship of safe shutter time.
In the embodiment of the present invention, user terminal is previously stored with the corresponding relationship of average time difference and safe shutter time, Wherein, the average time difference and the corresponding relationship of safe shutter time can be by testing acquisition in advance.First calculates son After unit 4031 calculates average time difference, inquiry subelement 4032 can using the average time difference of acquisition as foundation, from The corresponding safety of the average time difference of acquisition is inquired in pre-stored average time difference and the corresponding relationship of safe shutter time Aperture time.
As an alternative embodiment, above-mentioned first computation subunit 4031 is also used to look into when inquiry subelement 4032 When asking safe shutter time corresponding less than the average time difference of acquisition, according to the formula of average time difference and safe shutter time Calculate the corresponding safe shutter time of average time difference obtained, wherein formula are as follows:
T=T/q
Wherein, t is safe shutter time, and T is average time difference, and q is a preset parameter.
Fig. 7 is referred to, Fig. 7 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, wherein Fig. 7 Shown in user terminal be to advanced optimize on the basis of user terminal shown in Fig. 6, it is whole with user shown in fig. 6 End is compared, and for user terminal shown in Fig. 7 other than including all units of user terminal shown in fig. 6, acquiring unit 402 can be with Include:
Subelement 4021 is obtained, for obtaining the pre-set preset times to object to be photographed transmitting laser, is preset Number includes at least twice.
Emit subelement 4022, for emitting 1 laser to object to be photographed every preset time, until having emitted pre- If the laser of number.
Second computation subunit 4023, for calculating separately the round-trip duration of transmitting laser every time, to obtain repeatedly transmitting The round-trip duration of laser.
In this embodiment, user is provided with default time to object to be photographed transmitting laser on the subscriber terminal in advance Number, such as: 2 times, 3 times, 5 times, it is 10 inferior, the embodiment of the present invention is not construed as limiting.Emit subelement 4022 to send out to object to be photographed The number for penetrating laser is more, and accuracy is higher, but frequently transmitting laser will cause power consumption increase, therefore, the preset times one As be that user is arranged according to the hardware configuration situation of user terminal itself.User is also provided with hair on the subscriber terminal in advance The prefixed time interval of laser is penetrated, for example, 1S, 2S, 5S etc..As an example it is assumed that preset time is 1S, preset times are 5 times, Then emit subelement 4022 and emit 1 laser to object to be photographed every 1S, until having emitted 5 laser.
Second computation subunit 4023 can start timing by starting timer when transmitting laser every time, and receive Stop timing when the laser being reflected back to object to be photographed, the duration of the timer be exactly this transmitting laser it is round-trip when It is long, alternatively, the second computation subunit 4023 can when transmitting laser every time record start time point, and receive to The end of record time point when laser that photograph subject is reflected back passes through the difference of zero computing time point and termination time point Value, the difference are just the round-trip duration of this transmitting laser.
Fig. 8 is referred to, Fig. 8 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, wherein Fig. 8 Shown in user terminal be to advanced optimize to obtain on the basis of user terminal shown in Fig. 4, it is whole with user shown in Fig. 4 End is compared, and user terminal shown in Fig. 8 can also include: other than including all units of user terminal shown in Fig. 4
Writing unit 407, in the geographical location and current time for by the safe shutter time determined, currently taking pictures Any one or several combinations be written to take pictures after in the image that obtains, to obtain target image.
In the embodiment of the present invention, after execution unit 404 executes photographing operation in safe shutter time, user terminal is just Image can be obtained, at this point, geographical location that writing unit 407 can by determining safe shutter time, currently take pictures and The combination of any one or more of current time is written to take pictures after in the image that obtains, to obtain target image.It uses in this way Family can find out safe shutter time used in the target image from target image, and next time is in shooting and the target image When similar object, the safety shutter of user terminal can be arranged in user with reference to the safe shutter time that the target image uses Time and user can find out time and the place of target image shooting from target image, to increase in image That holds is rich.
Storage unit 408, for saving target image.
In the user terminal 400 described in Fig. 4~Fig. 8, receiving unit 401 receives photographing instruction, 402 sound of acquiring unit Photographing instruction is answered, the round-trip duration for repeatedly emitting laser to object to be photographed is obtained, further, it is determined that unit 403 is according to past Duration is returned, after determining safe shutter time, execution unit 404 can execute photographing operation in safe shutter time.Pass through The embodiment of the present invention, after receiving unit 401 receives photographing instruction, user terminal can emit multiple laser to object to be photographed And multiple round-trip duration is obtained, the time difference of the round-trip duration of adjacent secondary laser can actually reflect the handshaking journey of user Degree, since the speed of laser is exceedingly fast, determination unit 403 is pacified according to the round-trip duration of Laser emission to object to be photographed to determine The accuracy of full aperture time is just very high, and execution unit 404 executes photographing operation in the safe shutter time will to clap The image come break forth than more visible, so as to improve the success rate taken pictures.
It should be noted that for simple description, therefore, it is stated as a systems for each embodiment of the method above-mentioned The combination of actions of column, but those skilled in the art should understand that, the application is not limited by the described action sequence, because For according to the application, certain some step be can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, related movement and unit not necessarily this Shen It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment Part, reference can be made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (8)

1. a kind of camera control method, which is characterized in that the scene taken pictures applied to microspur, comprising:
Receive photographing instruction;
The photographing instruction is responded, the round-trip duration for repeatedly emitting laser to object to be photographed is obtained;
The two-way time difference and photographing device degree of jitter for determining each adjacent transmitting laser in repeatedly transmitting laser are to be positively correlated Relationship;According to the time difference of the round-trip duration of adjacent transmitting laser each in multiple transmitting laser, safe shutter time is determined; The safe shutter time and the time difference are negative relevant relationship;The safe shutter time is to keep slice unambiguous fast The maximum value of door time;
Photographing operation is executed in the safe shutter time.
2. swashing the method according to claim 1, wherein the basis repeatedly emits each adjacent transmitting in laser The time difference of the round-trip duration of light determines that safe shutter time includes:
The time difference of the round-trip duration of each adjacent transmitting laser in the multiple transmitting laser is calculated separately, and to the time Difference summation is averaged, to obtain average time difference;
Using the average time difference of the acquisition as foundation, closed from pre-stored average time difference is corresponding with safe shutter time The corresponding safe shutter time of average time difference of the acquisition is inquired in system.
3. method according to claim 1 or 2, which is characterized in that described obtain to object to be photographed repeatedly emits laser Round-trip duration, comprising:
The pre-set preset times to object to be photographed transmitting laser are obtained, the preset times include at least twice;
Emit 1 laser to the object to be photographed every preset time, until having emitted the laser of the preset times;
The round-trip duration of transmitting laser every time is calculated separately, to obtain the round-trip duration of repeatedly transmitting laser.
4. the method according to claim 1, wherein the method also includes:
By the safe shutter time of the determination, currently the geographical location taken pictures and any one or more of current time Combination is written to take pictures after in the image that obtains, to obtain target image;
Save the target image.
5. a kind of user terminal, which is characterized in that the scene taken pictures applied to microspur, comprising:
Receiving unit, for receiving photographing instruction;
Acquiring unit obtains the round-trip duration for repeatedly emitting laser to object to be photographed for responding the photographing instruction;
Determination unit, for determining, the two-way time difference of each adjacent transmitting laser and photographing device are shaken in repeatedly transmitting laser Degree is positively related relationship;According to the time difference of the round-trip duration of adjacent transmitting laser each in multiple transmitting laser, determine Safe shutter time;The safe shutter time and the time difference are negative relevant relationship;The safe shutter time is to make The maximum value of the unambiguous aperture time of slice;
Execution unit, for executing photographing operation in the safe shutter time.
6. user terminal according to claim 5, which is characterized in that the determination unit includes:
First computation subunit, for calculating separately the round-trip duration of each adjacent transmitting laser in the multiple transmitting laser Time difference, and time difference summation is averaged, to obtain average time difference;
Subelement is inquired, for using the average time difference of the acquisition as foundation, from pre-stored average time difference and safety The corresponding safe shutter time of average time difference of the acquisition is inquired in the corresponding relationship of aperture time.
7. user terminal according to claim 5 or 6, which is characterized in that the acquiring unit includes:
Subelement is obtained, for obtaining the pre-set preset times to object to be photographed transmitting laser, the preset times Including at least twice;
Emit subelement, for emitting 1 laser to the object to be photographed every preset time, until having emitted described pre- If the laser of number;
Second computation subunit, for calculating separately the round-trip duration of transmitting laser every time, to obtain repeatedly the past of transmitting laser Return duration.
8. user terminal according to claim 5, which is characterized in that the user terminal further include:
Writing unit, in the geographical location and current time for by the safe shutter time of the determination, currently taking pictures Any one or several combinations is written to take pictures after in the image that obtains, to obtain target image;
Storage unit, for saving the target image.
CN201510398336.2A 2015-07-07 2015-07-07 A kind of camera control method and user terminal Active CN105025226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510398336.2A CN105025226B (en) 2015-07-07 2015-07-07 A kind of camera control method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510398336.2A CN105025226B (en) 2015-07-07 2015-07-07 A kind of camera control method and user terminal

Publications (2)

Publication Number Publication Date
CN105025226A CN105025226A (en) 2015-11-04
CN105025226B true CN105025226B (en) 2019-02-05

Family

ID=54414898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510398336.2A Active CN105025226B (en) 2015-07-07 2015-07-07 A kind of camera control method and user terminal

Country Status (1)

Country Link
CN (1) CN105025226B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933589B (en) * 2016-06-28 2019-05-28 Oppo广东移动通信有限公司 A kind of image processing method and terminal
CN112351155B (en) * 2019-08-06 2023-02-17 Oppo(重庆)智能科技有限公司 Electronic device, anti-candid camera for electronic device and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031033A (en) * 2006-03-03 2007-09-05 奥林巴斯映像株式会社 Imaging apparatus and imaging method
CN101604110A (en) * 2008-06-13 2009-12-16 佳能株式会社 Flash unit and control method thereof, picture pick-up device and camera arrangement
CN104670192A (en) * 2015-03-17 2015-06-03 胡清桂 Automobile automatic alarm brake system with dual brakes

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7440634B2 (en) * 2003-06-17 2008-10-21 The Trustees Of Columbia University In The City Of New York Method for de-blurring images of moving objects

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031033A (en) * 2006-03-03 2007-09-05 奥林巴斯映像株式会社 Imaging apparatus and imaging method
CN101604110A (en) * 2008-06-13 2009-12-16 佳能株式会社 Flash unit and control method thereof, picture pick-up device and camera arrangement
CN104670192A (en) * 2015-03-17 2015-06-03 胡清桂 Automobile automatic alarm brake system with dual brakes

Also Published As

Publication number Publication date
CN105025226A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
KR102444085B1 (en) Portable communication apparatus and method for displaying images thereof
CN105550554B (en) A kind of glance prevention method and mobile terminal
RU2670786C2 (en) System, method and apparatus for device group control
CN105007418B (en) A kind of photographic method and mobile terminal
CN105007425B (en) A kind of contrast formula focusing method and mobile terminal
WO2016165287A1 (en) Method and apparatus for testing network channel status, and electronic device
CN105721762B (en) Flash lamp control method and device
KR20170019823A (en) Method for processing image and electronic device supporting the same
CN108600612B (en) Photographing method and mobile terminal
CN105915803B (en) Photographing method and system based on sensor
CN108270967A (en) Atomatic focusing method and the electronic equipment for performing this method
CN108391051A (en) A kind of focusing abnormality eliminating method and mobile terminal
KR20200127213A (en) Method and device for determining sound source, storage medium, and electronic device
CN111126216A (en) Risk detection method, device and equipment
CN104427237B (en) A kind of display methods and image processing equipment focusing picture
CN105025226B (en) A kind of camera control method and user terminal
CN108833781A (en) Image preview method, apparatus, terminal and computer readable storage medium
CN109726614A (en) 3D stereoscopic imaging method and device, readable storage medium storing program for executing, electronic equipment
CN112820014A (en) Intelligent access control system control method, device, equipment and medium
WO2023104222A2 (en) Intelligent video shooting method and apparatus, and electronic device
CN105592260A (en) ocusing method and apparatus, and terminal
CN104954680A (en) Camera focusing method and terminal
CN114511622A (en) Panoramic image acquisition method and device, electronic terminal and medium
CN112291473B (en) Focusing method and device and electronic equipment
CN110141861A (en) Control method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant