CN106131341B - A kind of photographic method and mobile terminal - Google Patents

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN106131341B
CN106131341B CN201610704263.XA CN201610704263A CN106131341B CN 106131341 B CN106131341 B CN 106131341B CN 201610704263 A CN201610704263 A CN 201610704263A CN 106131341 B CN106131341 B CN 106131341B
Authority
CN
China
Prior art keywords
distance
brightness
mobile terminal
light filling
flash lamp
Prior art date
Application number
CN201610704263.XA
Other languages
Chinese (zh)
Other versions
CN106131341A (en
Inventor
李富贵
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Priority to CN201610704263.XA priority Critical patent/CN106131341B/en
Publication of CN106131341A publication Critical patent/CN106131341A/en
Application granted granted Critical
Publication of CN106131341B publication Critical patent/CN106131341B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72563Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances
    • H04M1/72569Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances according to context or environment related information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72563Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances
    • H04M1/72572Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances according to a geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, TV cameras, video cameras, camcorders, webcams, camera modules for embedding in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/225Television cameras ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, camcorders, webcams, camera modules specially adapted for being embedded in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/235Circuitry or methods for compensating for variation in the brightness of the object, e.g. based on electric image signals provided by an electronic image sensor
    • H04N5/2354Circuitry or methods for compensating for variation in the brightness of the object, e.g. based on electric image signals provided by an electronic image sensor by influencing the scene brightness using illuminating means

Abstract

The embodiment of the invention discloses a kind of photographic method and mobile terminals.The method is applied to mobile terminal, the method includes:Open the front camera of the mobile terminal;Detect the distance between the object of the mobile terminal and shooting;Light filling element is selected according to the distance, wherein the light filling element includes display screen and preposition flash lamp;Obtain the environmental light brightness of the mobile terminal local environment;The brightness of the light filling element is adjusted according to the environmental light brightness and the distance.Therefore, method described in the embodiment of the present invention can determine that suitable light filling element carries out light filling to front camera and ensure that the experience effect of user to obtain clearly image data according to the distance between the mobile terminal and object detected.

Description

A kind of photographic method and mobile terminal

Technical field

The present embodiments relate to technical field of information processing more particularly to a kind of photographic methods and mobile terminal.

Background technique

With the continuous development of terminal technology, camera has become one of basic configuration of mobile terminal, most of intelligence Energy terminal is equipped with front camera and rear camera.User can be used front camera and take pictures, and can also use Front camera carries out real-time interactive, such as Video chat with other people, and front camera is used by more and more users.

Relative to rear camera, the configuration of front camera is lower, in order to improve the shooting effect of front camera, adopts The major measure taken is to improve the brightness of terminal screen.But shooting object distance farther out or intelligent terminal local environment Dark when, be unable to satisfy the shooting brightness demand of front camera using only the method that screen intensity carries out light filling, from And clearly shooting effect can not be obtained, reduce the experience effect of user.

Summary of the invention

The present invention provides a kind of photographic method, with solve shooting object distance farther out or intelligent terminal local environment When brightness is darker, the shooting brightness demand of front camera is unable to satisfy using only the method that screen intensity carries out light filling, thus The problem of relatively clear shooting effect can not be obtained.

In a first aspect, providing a kind of photographic method, the method is applied to mobile terminal, the method includes:

Open the front camera of the mobile terminal;

Detect the distance between the object of the mobile terminal and shooting;

Light filling element is selected according to the distance, wherein the light filling element includes display screen and preposition flash lamp;

Obtain the environmental light brightness of the mobile terminal local environment;

The brightness of the light filling element is adjusted according to the environmental light brightness and the distance.

Second aspect provides a kind of mobile terminal, including:

Front camera opening module, for opening the front camera of the mobile terminal;

Apart from detection module, for detecting the distance between the object of the mobile terminal and shooting;

Light filling element selecting module, for selecting light filling element according to the distance, wherein the light filling element includes aobvious Display screen and preposition flash lamp;

Environmental light brightness obtains module, for obtaining the environmental light brightness of the mobile terminal local environment;

Brightness adjusting section, for adjusting the brightness of the light filling element according to the environmental light brightness and the distance.

It, can be with when front camera work in this way, mobile terminal is equipped with preposition flash lamp in the embodiment of the present invention The distance between object according to the mobile terminal and shooting that detect selects light filling element, and according to ring locating for mobile terminal The environmental light brightness and the distance between mobile terminal and object in border adjust the brightness of light filling element.Therefore, the present invention is implemented Method described in example can determine suitable light filling element to preceding according to the distance between the mobile terminal and object detected It sets camera progress light filling and ensure that the experience effect of user to obtain clearly image data.

Detailed description of the invention

In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.

Fig. 1 is the flow chart of the photographic method of one embodiment of the invention;

Fig. 2 is the flow chart of the photographic method of another embodiment of the present invention;

Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention;

Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention;

Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention;

Fig. 6 is the block diagram of the mobile terminal of another embodiment 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 some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.

Embodiment one

Fig. 1 is the flow chart of the photographic method of one embodiment of the invention.Photographic method shown in FIG. 1 includes:

Step 101, the front camera for opening the mobile terminal.

The purpose of the embodiment of the present invention is that:When front camera work, using light filling element to front camera light filling, The brightness for improving front camera local environment, to obtain clearly image data.

In the embodiment of the present invention, mobile terminal can be mobile phone, plate, notebook etc..

Mobile terminal is equipped with front camera, and preposition flash lamp is mounted near front camera.Preposition flash lamp Light filling can be carried out to front camera, improve the brightness of front camera ambient enviroment.Front camera has flash of light and mends Light two effects.User using front camera when being taken pictures or video calling, due to subject and distance of mobile terminal It is relatively close, therefore be protection user's eye, it usually controls preposition flash lamp and only carries out light filling operation, without flash operation.In addition The display screen of mobile terminal can also be used to carry out light filling to front camera.

When user is taken pictures using front camera in advance or other are operated, it is necessary first to start front camera, start The mode of front camera may include a variety of, such as select the functional entrance of front camera, pressing to move from menu option Key starting front camera, input voice information starting front camera in dynamic terminal etc..Correspondingly, system is receiving After the instruction of the starting front camera of user's triggering, the front camera of mobile terminal is opened.

The distance between step 102, the detection mobile terminal and object of shooting.

Since mobile terminal is equipped with preposition flash lamp, mobile terminal includes two kinds of light filling elements, i.e., preposition glazing The display screen of lamp and mobile terminal.Preposition flash lamp is different with the light filling effect of display screen, mobile whole relative to preposition flash lamp The light filling effect of the display screen at end is weaker.

After front camera is opened, brightness demand is shot to meet, needs to carry out light filling to front camera, due to movement There are two kinds for the light filling element of terminal, it is therefore desirable to select light filling element.

The distance between mobile terminal and the object of shooting distance can impact the shooting effect of front camera. When mobile terminal and the object of shooting distance farther out when, the clarity of filmed image is poor, to obtain clearly filmed image, It needs to provide biggish light filling brightness for front camera, therefore can choose preposition flash lamp as light filling element;Work as movement When terminal and the object of shooting are closer, only lesser light filling brightness need to be provided for front camera can meet shooting need It asks, therefore can choose the display screen of mobile terminal as light filling element.It is found that it can be according to mobile terminal by above-mentioned analysis The distance between object, the more suitable light filling element of selection, and then suitable light filling brightness is provided for front camera.

After setting camera before opening, it is mobile eventually that the range sensor detection detection being installed in mobile terminal can be used The distance between end and object.Wherein, the content of object can be determined according to shooting demand, such as when user is using preposition When camera self-timer, object is personage;When user uses front camera photographed, object is scenery.

Step 103 selects light filling element according to the distance, wherein the light filling element includes display screen and preposition sudden strain of a muscle Light lamp.

The light filling element of mobile terminal includes display screen and preposition flash lamp.It can be according to the mobile terminal and mesh detected The distance between object is marked, determines required light filling brightness, and then determine the type of light filling element.Usual mobile terminal and object The distance between it is bigger, required light filling brightness is bigger, at this moment can choose preposition flash lamp as light filling element;Conversely, institute The light filling brightness needed is smaller, selects display screen as light filling element.

In concrete operations, distance threshold can be set, when the distance between the mobile terminal detected and object are greater than When distance threshold, determine preposition flash lamp as light filling element;When the distance between mobile terminal and object are less than apart from threshold When value, determine display screen as light filling element.

Step 104, the environmental light brightness for obtaining the mobile terminal local environment.

The environmental light brightness of mobile terminal local environment can also impact the shooting effect of front camera.The present invention To obtain clearly shooting effect, using environmental light brightness as the reference factor of the brightness of adjustment light filling element, work as environment bright When spending smaller, the image of shooting is unintelligible, and light filling element is at this moment needed to provide biggish brightness.

The environmental light brightness for the optical sensor detection mobile terminal local environment being installed in mobile terminal can be used.It is real Optical sensor and range sensor can be integrated and are mounted in mobile terminal in border.

Step 105, the brightness that the light filling element is adjusted according to the environmental light brightness and the distance.

The shooting effect of front camera can be caused since the distance between mobile terminal and the object of shooting are far and near It influences, therefore the distance detected in the embodiment of the present invention is applied not only to selection light filling element, also by above-mentioned distance as reference Because usually adjusting the brightness of light filling element.It therefore, can be with the environmental light brightness and movement of comprehensive analysis mobile terminal local environment Two kinds of parameters of the distance between terminal and object, are adjusted the brightness of light filling element.

When light filling element is display screen, can realize by adjusting the size of luminance parameter in mobile teminal menu to aobvious The adjustment of the brightness of display screen.When light filling element is preposition flash lamp, can by adjusting preposition flash lamp operating current, expose The size of the parameters such as light time length realizes the adjustment of the brightness to preposition flash lamp.After completing to the brightness adjustment of light filling element, mend Optical element brightness adjusted can satisfy the shooting brightness demand of front camera, so as to obtain image clearly, brightness Suitable image data, such as photo, video.

Embodiment according to the present invention, mobile terminal are equipped with preposition flash lamp, when front camera work, Ke Yigen The distance between object according to the mobile terminal and shooting that detect selects light filling element, and according to mobile terminal local environment Environmental light brightness and the distance between mobile terminal and object, adjust light filling element brightness.Therefore, the embodiment of the present invention The method can determine suitable light filling element to preposition according to the distance between the mobile terminal and object detected Camera carries out light filling and ensure that the experience effect of user to obtain clearly image data.

Embodiment two

Fig. 2 is the flow chart of the photographic method of another embodiment of the present invention.Photographic method shown in Fig. 2 includes:

Step 201, the front camera for opening the mobile terminal.

The distance between step 202, the detection mobile terminal and object of shooting.

Step 203 judges whether the distance between the mobile terminal and the object are greater than distance threshold.

When designing this programme, distance threshold is pre-set, if the distance between mobile terminal and object are greater than Distance threshold, it can be said that the distance between bright mobile terminal and object are farther out, only with the screen intensity of mobile terminal screen It is unable to satisfy shooting brightness demand, at this moment needs that preposition flash of light etc. is selected to carry out light filling.If it is determined that mobile terminal and object The distance between be less than pre-determined distance, it can be said that the distance between bright mobile terminal and object relatively closely, by display screen Screen intensity can meet shooting brightness demand, it is thus determined that carrying out light filling using display screen.

Therefore after detecting at a distance between object of the mobile terminal with shooting, need to judge the distance with it is preset The size of distance threshold selects suitable light filling element further according to comparison result from two kinds of light filling elements.

Step 204, if so, the selection preposition flash lamp carries out light filling.

If it is determined that the distance between mobile terminal and object are greater than distance threshold, then illustrate mobile terminal and object The distance between farther out, need to provide more brightness to front camera, at this moment select preposition flash lamp as light filling element. If it is determined that the distance between mobile terminal and object are less than distance threshold, then display screen is selected to carry out light filling.

Step 205, the environmental light brightness for obtaining the mobile terminal local environment.

Step 206, operating current and the exposure that the preposition flash lamp is adjusted according to the environmental light brightness and the distance At least one of light time length, to adjust the brightness of the preposition flash lamp.

The embodiment of the present invention has comprehensively considered the environmental light brightness and mobile terminal and object of mobile terminal local environment The distance between influence of two kinds of parameters to the shooting effect of front camera.Detecting two seed ginseng of environmental light brightness and distance It, can be according to the corresponding pass between two kinds of parameters of pre-set environmental light brightness and distance and the brightness of light filling element after number System adjusts the brightness of light filling element.

In specific operation process, grade classification can be carried out to environmental light brightness in advance, obtain multiple environmental light brightness etc. Grade, adjusts the distance carry out grade classification in advance, obtain multiple distance level scales, for a certain environmental light brightness grade and a certain distance etc. Brightness needed for the combination settings light filling element of grade.Wherein, the height of environmental light brightness grade and the brightness of light filling element is big Small to be inversely proportional, the height of distance level scale is directly proportional to the size of the brightness of light filling element.It, can be with when adjusting the brightness of light filling element According to preset corresponding relationship, the brightness of light filling element under current environment is adjusted accordingly, to effectively adjust light filling element Brightness.

Since the present embodiment selects preposition flash lamp as light filling element, can be adjusted according to preset corresponding relationship The brightness of whole preposition flash lamp.Preposition flash lamp includes a variety of running parameters, such as operating circuit, exposure time etc., and this two Running parameter can control the brightness of preposition flash lamp, thus can by control the operating current of preposition flash lamp size and At least one of exposure time adjusts the brightness of preposition flash lamp.

For example, not opened when within 20cm at a distance from mobile terminal with user's face when using front camera self-timer Open preposition flash lamp;When mobile terminal, which is greater than 20cm at a distance from user's face, is less than 200cm, preposition flash lamp is opened, it is preceding The light filling electric current for setting flash lamp carries out progressive light filling from 20mA to 100mA;When mobile terminal is greater than at a distance from user's face When 200cm, preposition flash lamp is opened, in order to protect user's eye, light filling is carried out using the constant light filling electric current of 150mA.Environment The relationship of brightness and light filling electric current:When environmental light brightness is higher than 150cd/m2, preposition flash lamp is not used to carry out light filling work; Conversely, carrying out light filling work using preposition flash lamp.

After completing the adjustment to the operating current of preposition flash lamp, operating current institute adjusted can be further judged Whether the brightness of generation meets the eye of user by optical range.If it is determined that brightness caused by operating current meets use after adjustment The opthalmic experiences range at family then carries out light filling using the preposition flash lamp of light filling current control adjusted.If it is determined that preposition sudden strain of a muscle Light filling brightness caused by the operating current adjusted of light lamp is higher than the eye of user by optical range, then illustrates work adjusted User's eye can be stimulated by making light filling brightness caused by electric current, in order to protect user's eye, need to reduce work electricity adjusted It flows, so that brightness caused by the operating current after reducing meets the eye of user by optical range.Further, after using reduction Operating current controls preposition flash lamp operation.

Embodiment according to the present invention, mobile terminal are equipped with preposition flash lamp, when front camera work, Ke Yigen The distance between object according to the mobile terminal and shooting that detect selects light filling element, and according to mobile terminal local environment Environmental light brightness and the distance between mobile terminal and object, adjust light filling element brightness.Therefore, the embodiment of the present invention The method can determine suitable light filling element to preposition according to the distance between the mobile terminal and object detected Camera carries out light filling and ensure that the experience effect of user to obtain clearly image data.

Embodiment three

Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention.Mobile terminal shown in Fig. 3 includes:

Front camera opening module 301, for opening the front camera of the mobile terminal.

Apart from detection module 302, for detecting the distance between the object of the mobile terminal and shooting.

Light filling element selecting module 303, for selecting light filling element according to the distance, wherein the light filling element packet Include display screen and preposition flash lamp.

Environmental light brightness obtains module 304, for obtaining the environmental light brightness of the mobile terminal local environment.

Brightness adjusting section 305, for adjusting the bright of the light filling element according to the environmental light brightness and the distance Degree.

Embodiment according to the present invention, mobile terminal are equipped with preposition flash lamp, when front camera work, Ke Yigen The distance between object according to the mobile terminal and shooting that detect selects light filling element, and according to mobile terminal local environment Environmental light brightness and the distance between mobile terminal and object, adjust light filling element brightness.Therefore, the embodiment of the present invention The method can determine suitable light filling element to preposition according to the distance between the mobile terminal and object detected Camera carries out light filling and ensure that the experience effect of user to obtain clearly image data.

Example IV

Fig. 4 is the block diagram of the mobile terminal of one embodiment of the invention.Mobile terminal shown in Fig. 4 includes:

Front camera opening module 401, for opening the front camera of the mobile terminal.

Apart from detection module 402, for detecting the distance between the object of the mobile terminal and shooting.

Light filling element selecting module 403, for selecting light filling element according to the distance, wherein the light filling element packet Include display screen and preposition flash lamp.

Environmental light brightness obtains module 404, for obtaining the environmental light brightness of the mobile terminal local environment.

Brightness adjusting section 405, for adjusting the bright of the light filling element according to the environmental light brightness and the distance Degree.

The light filling element selecting module 403 includes:

Distance Judgment submodule 4031, for judging whether the distance between the mobile terminal and the object are greater than Distance threshold;

Preposition flash lamp selects submodule 4032, if for judging the distance between the mobile terminal and the object Greater than the distance threshold, then the preposition flash lamp is selected to carry out light filling.

The brightness adjusting section 405 is specifically used for when the light filling element is preposition flash lamp, according to the environment Brightness and the distance adjust the operating current or exposure time of the preposition flash lamp, to adjust the preposition flash lamp Brightness.

In the embodiment of the present invention, it is preferable that the light filling element selecting module 403 further includes:

Display screen selects submodule, for if it is determined that the distance between the mobile terminal and the object are less than or wait In the distance threshold, then the display screen is selected to carry out light filling.

In the embodiment of the present invention, it is preferable that the brightness adjusting section 405 is specifically used for according to pre-set described Corresponding relationship between two kinds of parameters of environmental light brightness and the distance and the brightness of the light filling element adjusts the light filling member The brightness of part.

Embodiment according to the present invention, mobile terminal are equipped with preposition flash lamp, when front camera work, Ke Yigen The distance between object according to the mobile terminal and shooting that detect selects light filling element, and according to mobile terminal local environment Environmental light brightness and the distance between mobile terminal and object, adjust light filling element brightness.Therefore, the embodiment of the present invention The method can determine suitable light filling element to preposition according to the distance between the mobile terminal and object detected Camera carries out light filling and ensure that the experience effect of user to obtain clearly image data.

Since the mobile terminal embodiment essentially corresponds to earlier figures 1- embodiment of the method shown in Fig. 2, therefore this implementation Not detailed place in the description of example, may refer to the related description in previous embodiment, i will not repeat them here.

Embodiment five

Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in fig. 5 includes:At least One processor 501, memory 502, at least one network interface 504 and user interface 503.It is each in mobile terminal 500 Component is coupled by bus system 505.It is understood that bus system 505 is logical for realizing the connection between these components Letter.Bus system 505 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But it is For the sake of clear explanation, in Fig. 5 various buses are all designated as bus system 505.

Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..

It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 502 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to these With the memory of any other suitable type.

In some embodiments, memory 502 stores following element, executable modules or data structures, or Their subset of person or their superset:Operating system 5021 and application program 5022.

Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.

In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application The program or instruction stored in program 5022, processor 501 are used to open the front camera of the mobile terminal, described in detection The distance between mobile terminal and the object of shooting select light filling element according to the distance, wherein the light filling element packet Display screen and preposition flash lamp are included, the environmental light brightness of the mobile terminal local environment is obtained, according to the environmental light brightness The brightness of the light filling element is adjusted with the distance.

The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501. Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable GateArray, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.

It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place It manages in device, controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.

For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can With portion realizes in the processor or outside the processor.

Optionally, processor 501 is also used to:Judge whether the distance between the mobile terminal and the object are greater than Distance threshold;

If so, the selection preposition flash lamp carries out light filling.

Optionally, processor 501 is also used to:If it is determined that the distance between the mobile terminal and the object be less than away from From threshold value, then the display screen is selected to carry out light filling.

Optionally, processor 501 is also used to:According to two kinds of parameters of the pre-set environmental light brightness and the distance The corresponding relationship between brightness with the light filling element, adjusts the brightness of the light filling element.

Optionally, processor 501 is also used to:When the light filling element is preposition flash lamp, according to the environment bright Degree and the distance adjust at least one of operating current and exposure time of the preposition flash lamp, described preposition to adjust The brightness of flash lamp.

Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.

Embodiment according to the present invention, mobile terminal are equipped with preposition flash lamp, when front camera work, Ke Yigen The distance between object according to the mobile terminal and shooting that detect selects light filling element, and according to mobile terminal local environment Environmental light brightness and the distance between mobile terminal and object, adjust light filling element brightness.Therefore, the embodiment of the present invention The method can determine suitable light filling element to preposition according to the distance between the mobile terminal and object detected Camera carries out light filling and ensure that the experience effect of user to obtain clearly image data.

Embodiment six

Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal 600 in Fig. 6 can be with For mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..

Mobile terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680 and electricity Source 690.

Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 600 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 631 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, The processor 660 is given again, and can be received order that processor 660 is sent and be executed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.

Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hair The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.

It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.

Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.

Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone Various pieces, by running or executing the software program and/or module that are stored in first memory 621, and calling storage Data in second memory 622 execute the various functions and processing data of mobile terminal 600, thus to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.

In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, processor 660 are used to open the front camera of the mobile terminal, described in detection The distance between mobile terminal and the object of shooting select light filling element according to the distance, wherein the light filling element packet Display screen and preposition flash lamp are included, the environmental light brightness of the mobile terminal local environment is obtained, according to the environmental light brightness The brightness of the light filling element is adjusted with the distance.

Optionally, processor 660 is also used to:Judge whether the distance between the mobile terminal and the object are greater than Distance threshold;

If so, the selection preposition flash lamp carries out light filling.

Optionally, processor 660 is also used to:If it is determined that the distance between the mobile terminal and the object be less than away from From threshold value, then the display screen is selected to carry out light filling.

Optionally, processor 660 is also used to:According to two kinds of parameters of the pre-set environmental light brightness and the distance The corresponding relationship between brightness with the light filling element, adjusts the brightness of the light filling element.

Optionally, processor 660 is also used to:When the light filling element is preposition flash lamp, according to the environment bright Degree and the distance adjust at least one of operating current and exposure time of the preposition flash lamp, described preposition to adjust The brightness of flash lamp.

As it can be seen that embodiment according to the present invention, mobile terminal is equipped with preposition flash lamp, when front camera work, Light filling element can be selected according to the distance between object of the mobile terminal and shooting that detect, and according to mobile terminal institute Locate the environmental light brightness and the distance between mobile terminal and object of environment, adjusts the brightness of light filling element.Therefore, of the invention Method described in embodiment can determine suitable light filling element according to the distance between the mobile terminal and object detected Carrying out light filling to front camera ensure that the experience effect of user to obtain clearly image data.

Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.

It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.

In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.

The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.

It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.

It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various to can store program code Medium.

The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (8)

1. a kind of photographic method, the photographic method is applied to mobile terminal, which is characterized in that the method includes:
Open the front camera of the mobile terminal;
The distance between the object of the mobile terminal and shooting is detected by range sensor;
Light filling element is selected according to the distance, wherein the light filling element includes display screen and preposition flash lamp;The basis The distance selection light filling element, including:Judge whether the distance between the mobile terminal and the object are greater than distance Threshold value;If so, the selection preposition flash lamp carries out light filling;
Obtain the environmental light brightness of the mobile terminal local environment;
The brightness of the light filling element of selection is adjusted according to the environmental light brightness and the distance.
2. photographic method according to claim 1, which is characterized in that the method also includes:
If it is determined that the distance between the mobile terminal and the object are less than distance threshold, then the display screen is selected to carry out Light filling.
3. photographic method according to claim 1, which is characterized in that described according to the environmental light brightness and the distance The brightness for adjusting the light filling element includes:
According between two kinds of parameters of the pre-set environmental light brightness and the distance and the brightness of the light filling element Corresponding relationship adjusts the brightness of the light filling element.
4. photographic method according to claim 1, which is characterized in that when the light filling element is preposition flash lamp, institute It states and includes according to the brightness that the environmental light brightness and the distance adjust the light filling element:
It is adjusted in the operating current and exposure time of the preposition flash lamp extremely according to the environmental light brightness and the distance Few one kind, to adjust the brightness of the preposition flash lamp.
5. a kind of mobile terminal, which is characterized in that including:
Front camera opening module, for opening the front camera of the mobile terminal;
Apart from detection module, for detecting the distance between the object of the mobile terminal and shooting by range sensor;
Light filling element selecting module, for selecting light filling element according to the distance, wherein the light filling element includes display screen With preposition flash lamp;The light filling element selecting module includes:Distance Judgment submodule, for judging the mobile terminal and institute State whether the distance between object is greater than distance threshold;Preposition flash lamp selects submodule, if described mobile whole for judging The distance between end and the object are greater than the distance threshold, then the preposition flash lamp is selected to carry out light filling;
Environmental light brightness obtains module, for obtaining the environmental light brightness of the mobile terminal local environment;
Brightness adjusting section, for adjusted according to the environmental light brightness and the distance selection the light filling element it is bright Degree.
6. mobile terminal according to claim 5, which is characterized in that the light filling element selecting module further includes:
Display screen selects submodule, is used for if it is determined that the distance between the mobile terminal and the object are less than or equal to institute Distance threshold is stated, then the display screen is selected to carry out light filling.
7. mobile terminal according to claim 5, it is characterised in that:
The brightness adjusting section, be specifically used for according to two kinds of parameters of the pre-set environmental light brightness and the distance with Corresponding relationship between the brightness of the light filling element adjusts the brightness of the light filling element.
8. mobile terminal according to claim 5, it is characterised in that:
The brightness adjusting section is specifically used for when the light filling element is preposition flash lamp, according to the environmental light brightness At least one of operating current and the exposure time of the preposition flash lamp are adjusted, with the distance to adjust the preposition sudden strain of a muscle The brightness of light lamp.
CN201610704263.XA 2016-08-22 2016-08-22 A kind of photographic method and mobile terminal CN106131341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610704263.XA CN106131341B (en) 2016-08-22 2016-08-22 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610704263.XA CN106131341B (en) 2016-08-22 2016-08-22 A kind of photographic method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106131341A CN106131341A (en) 2016-11-16
CN106131341B true CN106131341B (en) 2018-11-30

Family

ID=57274113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610704263.XA CN106131341B (en) 2016-08-22 2016-08-22 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106131341B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357989A (en) * 2016-11-24 2017-01-25 维沃移动通信有限公司 Brightness adjustment method and mobile terminal
CN106791426A (en) * 2017-01-09 2017-05-31 深圳市金立通信设备有限公司 Method and terminal that a kind of use light compensating lamp is taken pictures
CN107135368A (en) * 2017-03-20 2017-09-05 广东小天才科技有限公司 The picture light adjusting method and device of a kind of video calling
CN107071287A (en) * 2017-05-23 2017-08-18 奇酷互联网络科技(深圳)有限公司 A kind of method and apparatus and mobile terminal taken pictures
CN107220621A (en) * 2017-05-27 2017-09-29 北京小米移动软件有限公司 Terminal carries out the method and device of recognition of face
CN107317976A (en) * 2017-06-23 2017-11-03 深圳市沃特沃德股份有限公司 Preceding flash adjustment method and device
CN107390209A (en) * 2017-07-27 2017-11-24 上海传英信息技术有限公司 A kind of distance-finding method and range-measurement system applied to intelligent terminal
CN107302669A (en) * 2017-08-25 2017-10-27 上海鼎为电子科技(集团)有限公司 Light compensation method, device and mobile terminal
CN107911585B (en) * 2017-11-28 2020-06-09 维沃移动通信有限公司 Image processing method and device of mobile terminal and mobile terminal
CN109842763A (en) * 2017-11-29 2019-06-04 深圳市海洋王照明工程有限公司 A kind of automatic light-supplementing method, system and video camera
CN108174115B (en) * 2017-12-26 2020-05-26 浙江大华技术股份有限公司 Light supplementing method and device for flying saucer camera
CN108063901A (en) * 2017-12-27 2018-05-22 努比亚技术有限公司 A kind of image-pickup method, terminal and computer readable storage medium
CN110225237A (en) * 2018-03-02 2019-09-10 广东欧珀移动通信有限公司 Image-pickup method, device and mobile terminal
CN108650474A (en) * 2018-07-03 2018-10-12 佛山市影腾科技有限公司 A kind of photographic method, device and mobile terminal
CN109561258A (en) * 2018-11-15 2019-04-02 维沃移动通信有限公司 A kind of light compensation method and terminal device
CN110248009A (en) * 2019-07-31 2019-09-17 Oppo广东移动通信有限公司 The control method of electronic equipment and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986879A (en) * 2014-06-04 2014-08-13 联想(北京)有限公司 Electronic equipment and control method for electronic equipment
CN104243842A (en) * 2014-09-29 2014-12-24 广东欧珀移动通信有限公司 Flashlight intensity control method and image pickup device
CN104483806A (en) * 2014-11-21 2015-04-01 广东欧珀移动通信有限公司 Method and device for facilitating user self-timing
CN104580924A (en) * 2014-12-30 2015-04-29 广东欧珀移动通信有限公司 Flashlight power adjusting method and terminal
CN104754203A (en) * 2013-12-31 2015-07-01 华为技术有限公司 Photographing method, device and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140064969A (en) * 2011-09-23 2014-05-28 디지맥 코포레이션 Context-based smartphone sensor logic
CN105657267B (en) * 2016-04-22 2019-09-13 上海斐讯数据通信技术有限公司 A kind of device and method of self-timer light filling

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754203A (en) * 2013-12-31 2015-07-01 华为技术有限公司 Photographing method, device and terminal
CN103986879A (en) * 2014-06-04 2014-08-13 联想(北京)有限公司 Electronic equipment and control method for electronic equipment
CN104243842A (en) * 2014-09-29 2014-12-24 广东欧珀移动通信有限公司 Flashlight intensity control method and image pickup device
CN104483806A (en) * 2014-11-21 2015-04-01 广东欧珀移动通信有限公司 Method and device for facilitating user self-timing
CN104580924A (en) * 2014-12-30 2015-04-29 广东欧珀移动通信有限公司 Flashlight power adjusting method and terminal

Also Published As

Publication number Publication date
CN106131341A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN105227858B (en) A kind of image processing method and mobile terminal
CN104969163B (en) Methods of exhibiting, device and the electronic equipment of application interface
RU2648601C2 (en) Method for controlling system bar of user equipment and user equipment thereof
WO2019020052A1 (en) Photography method and mobile terminal
US20120290966A1 (en) Multiple screen mode in mobile terminal
CN105955642A (en) Device, Method, and User Interface for Processing Intensity of Touch Contacts
CN105306709B (en) Control method, device and the mobile terminal of mobile terminal
CN106843654B (en) A kind of method and mobile terminal of terminal multi-job operation
US9280882B2 (en) Terminal device for providing haptic effect using haptic engine and controlling method therefor
CN105959553B (en) A kind of switching method and terminal of camera
EP2816545A2 (en) Method and apparatus for protecting eyesight
CN106408290B (en) A kind of payment interface starting method and mobile terminal
CN106161967B (en) Backlight scene panoramic shooting method and mobile terminal
CN106919313A (en) The startup method and mobile terminal of a kind of application program
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN107194331B (en) A kind of fingerprint identification method and mobile terminal
CN106170058B (en) A kind of exposure method and mobile terminal
US20120287065A1 (en) Electronic device
CN106056533B (en) A kind of method and terminal taken pictures
CN106358069A (en) Video data processing method and mobile terminal
JP2016500175A (en) Method and apparatus for realizing floating object
CN106680963B (en) A kind of fixing means and mobile terminal of motor movable device
CN105827990B (en) A kind of automatic explosion method and mobile terminal
CN107343149B (en) A kind of photographic method and mobile terminal
CN106131449B (en) A kind of photographic method and mobile terminal

Legal Events

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