CN109803051A - Ambient brightness value-acquiring method and device - Google Patents
Ambient brightness value-acquiring method and device Download PDFInfo
- Publication number
- CN109803051A CN109803051A CN201910032880.3A CN201910032880A CN109803051A CN 109803051 A CN109803051 A CN 109803051A CN 201910032880 A CN201910032880 A CN 201910032880A CN 109803051 A CN109803051 A CN 109803051A
- Authority
- CN
- China
- Prior art keywords
- brightness value
- acquisition
- predeterminable area
- collected
- ambient brightness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Studio Devices (AREA)
Abstract
The disclosure is directed to a kind of ambient brightness value-acquiring method and devices.This method is applied to terminal, which includes imaging sensor, which includes photosensitive unit array, this method comprises: obtaining the collected brightness value of multiple photosensitive units being located in predeterminable area in photosensitive unit array;According to the collected brightness value of multiple photosensitive units being located in predeterminable area, current ambient brightness value is obtained.In the technical solution, terminal can obtain current ambient brightness value by being located at the collected brightness value of multiple photosensitive units in predeterminable area in photosensitive unit array that imaging sensor includes, the scheme for carrying out ambient brightness detection in the case where not configuring additional luminance sensor is realized, the structure of terminal is simplified.It also avoids needing when luminance sensor is arranged simultaneously the case where aperture matched with the luminance sensor is arranged in the front panel of terminal, reduces the assembly difficulty of terminal, and improve the aesthetic measure of terminal.
Description
Technical field
This disclosure relates to terminal control technical field more particularly to a kind of ambient brightness value-acquiring method and device.
Background technique
With the continuous improvement of living standard, mobile phone has become the necessary article in life, and the frequency used is also got over
Come higher, therefore the requirement to mobile phone cruising ability is also higher and higher.
Since the power consumption of touch screen is larger, and user using mobile phone carry out voice communication when, do not need to screen into
Row operation, therefore optical sensor can be set near earpiece in the related technology.If optical sensor detects that brightness value is small
In preset threshold, illustrate that user may carry out voice communication using mobile phone, mobile phone, which can execute, at this time puts out screen operation, i.e., will screen
The brightness of curtain is adjusted to most secretly, reduce the power consumption of screen, and then improve the cruising ability of mobile phone.
Summary of the invention
To overcome the problems in correlation technique, the embodiment of the present disclosure provides a kind of ambient brightness value-acquiring method and dress
It sets.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of ambient brightness value-acquiring method is provided, terminal is applied to, it is described
Terminal includes imaging sensor, and described image sensor includes the photosensitive unit array being made of multiple photosensitive units, the side
Method includes:
Obtain the collected brightness value of multiple photosensitive units being located in predeterminable area in the photosensitive unit array;
According to the collected brightness value of multiple photosensitive units being located in the predeterminable area, current ambient brightness is obtained
Value.
The technical scheme provided by this disclosed embodiment can include the following benefits: terminal can pass through image sensing
The collected brightness value of multiple photosensitive units being located in predeterminable area in the photosensitive unit array that device includes is current to obtain
Ambient brightness value realizes the scheme for carrying out ambient brightness detection in the case where not configuring additional luminance sensor, simplifies
The structure of terminal.Also avoid needing setting and brightness in the front panel of terminal simultaneously when luminance sensor is arranged
The case where aperture of sensor matching, the assembly difficulty of terminal is reduced, and improves the aesthetic measure of terminal.
In one embodiment, the basis is located at the collected brightness of multiple photosensitive units in the predeterminable area
Value, obtaining current ambient brightness value includes:
According to the collected brightness value of multiple photosensitive units being located in the predeterminable area, acquisition brightness value is obtained;
According to the acquisition brightness value, current ambient brightness value is obtained.
In one embodiment, the basis is located at the collected brightness of multiple photosensitive units in the predeterminable area
Value, obtaining acquisition brightness value includes:
The average value of the collected brightness value of the multiple photosensitive unit is determined as the acquisition brightness value.
In one embodiment, described according to the acquisition brightness value, obtaining current ambient brightness value includes:
The product of the acquisition brightness value and predetermined coefficient is determined as current ambient brightness value.
In one embodiment, the method also includes:
Use subregion power supply mode for the photosensitive unit powering arrays so that the photosensitive unit array other
Multiple photosensitive units when photosensitive unit powers off in the predeterminable area are in operating mode.
In one embodiment, the method also includes:
The predeterminable area is divided according to the chip center of described image sensor and/or optical centre.
According to the second aspect of an embodiment of the present disclosure, a kind of ambient brightness value acquisition device is provided, described device includes figure
As sensor, described image sensor includes the photosensitive unit array being made of multiple photosensitive units, described device further include:
First obtains module, adopts for obtaining multiple photosensitive units in the photosensitive unit array in predeterminable area
The brightness value collected;
Second obtains module, is located at the collected brightness value of multiple photosensitive units in the predeterminable area for basis,
Obtain current ambient brightness value.
In one embodiment, the second acquisition module includes:
First acquisition submodule, for according to the collected brightness of multiple photosensitive units being located in the predeterminable area
Value obtains acquisition brightness value;
Second acquisition submodule, for obtaining current ambient brightness value according to the acquisition brightness value.
In one embodiment, first acquisition submodule includes:
First acquisition unit, for the average value of the collected brightness value of the multiple photosensitive unit to be determined as described adopt
Collect brightness value.
In one embodiment, second acquisition submodule includes:
Second acquisition unit, for the product of the acquisition brightness value and predetermined coefficient to be determined as current ambient brightness
Value.
In one embodiment, described device further include:
Power supply module, for using subregion power supply mode for the photosensitive unit powering arrays, so that described photosensitive
Multiple photosensitive units when other photosensitive units power-off of cell array in the predeterminable area are in operating mode.
In one embodiment, described device further include:
Division module, for dividing the predeterminable area according to the chip center of described image sensor and optical centre.
According to the third aspect of an embodiment of the present disclosure, a kind of ambient brightness value acquisition device is provided, described device includes figure
As sensor, described image sensor includes the photosensitive unit array being made of multiple photosensitive units, described device further include:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the collected brightness value of multiple photosensitive units being located in predeterminable area in the photosensitive unit array;
According to the collected brightness value of multiple photosensitive units being located in the predeterminable area, current ambient brightness is obtained
Value.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with
Machine instruction, when which is executed by processor the step of realization first aspect any embodiment the method.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 a is the flow chart of ambient brightness value-acquiring method shown according to an exemplary embodiment.
Fig. 1 b is the division schematic diagram of predeterminable area shown according to an exemplary embodiment.
Fig. 2 is the flow chart of ambient brightness value-acquiring method shown according to an exemplary embodiment.
Fig. 3 a is the structural schematic diagram of ambient brightness value acquisition device shown according to an exemplary embodiment.
Fig. 3 b is the structural schematic diagram of ambient brightness value acquisition device shown according to an exemplary embodiment.
Fig. 3 c is the structural schematic diagram of ambient brightness value acquisition device shown according to an exemplary embodiment.
Fig. 3 d is the structural schematic diagram of ambient brightness value acquisition device shown according to an exemplary embodiment.
Fig. 3 e is the structural schematic diagram of ambient brightness value acquisition device shown according to an exemplary embodiment.
Fig. 3 f is the structural schematic diagram of ambient brightness value acquisition device shown according to an exemplary embodiment.
Fig. 4 is the structural block diagram of ambient brightness value acquisition device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The technical solution that the embodiment of the present disclosure provides is related to terminal, which can be mobile phone, tablet computer, palm PC
And other equipment for being provided with imaging sensor, the embodiment of the present disclosure are not construed as limiting this.In the related technology, terminal is in order to examine
It surveys ambient brightness value and needs to be arranged luminance sensor, and setting and the matched aperture of the luminance sensor in front panel.?
In the use process of terminal, environment light can enter luminance sensor by the aperture, so that luminance sensor detects
The brightness value of environment light adjusts the bright dark of screen according to the brightness value convenient for terminal.But due to the volume of luminance sensor compared with
Greatly, it therefore the luminance sensor is set is easy to cause the structure of terminal complex, also to ensure that the inspection of luminance sensor
Effect is surveyed, the aperture close alignment of luminance sensor entered in light window and the front panel is needed, therefore also increases terminal
Assembly difficulty.In the technical scheme provided by this disclosed embodiment, photosensitive list that terminal can include by imaging sensor
It is located at the collected brightness value of multiple photosensitive units in predeterminable area in element array to obtain current ambient brightness value, realizes
The scheme that ambient brightness detection is carried out in the case where not configuring additional luminance sensor, simplifies the structure of terminal.Together
When also avoid needing in the front panel of terminal setting when luminance sensor is arranged and the luminance sensor is matched opens
The case where hole, the assembly difficulty of terminal is reduced, and improves the aesthetic measure of terminal.
Fig. 1 a is a kind of flow chart of ambient brightness value-acquiring method shown according to an exemplary embodiment, and this method is answered
With with terminal, which includes imaging sensor, which includes the photosensitive unit battle array being made of multiple photosensitive units
Column.As shown in Figure 1a, which includes the following steps 101 and step 102:
In a step 101, it is collected bright that the multiple photosensitive units being located in predeterminable area in photosensitive unit array are obtained
Angle value.
It is exemplary, subregion power supply mode can be used for the photosensitive unit powering arrays, it can by the photosensitive unit
Array is divided into multiple regions, and different regions includes different photosensitive unit, and the power supply circuit in each region is relatively independent.?
In the course of work, terminal can according to need the different block supplies for being selected as the photosensitive unit array.For example, being needed in terminal
When will be using imaging sensor shooting picture or video, the photosensitive unit array for including for the imaging sensor can choose
Multiple region is powered;When terminal is needed using imaging sensor acquisition ambient brightness value, can only be selected as
The predeterminable area is powered, i.e., multiple photosensitive units that only predeterminable area includes are powered, other regions do not power,
The multiple photosensitive units only having in the predeterminable area at this time are in operating mode, reduce the power consumption of terminal.
Exemplary, which can be the central area of the photosensitive unit array, i.e., positioned at the more of the predeterminable area
A photosensitive unit is multiple photosensitive units near the photosensitive unit array center.It, can be according to the image in practical application
The chip center of sensor and optical centre divide the predeterminable area.Optionally, as shown in Figure 1 b, A point is the image in Fig. 1 b
The chip center of sensor, the i.e. physical centre of the photosensitive unit array;B point is the optical centre of the imaging sensor, i.e., should
The optical centre of camera module where imaging sensor.Terminal can divide predeterminable area 10a according to the A point and the B point.Example
Such as, which may include the A point and the B point, and centered on the midpoint of the A point and B point line, at this time external world's ring
The light in border can be with the direct projection predeterminable area, therefore uses the collected environment bright angle value of the predeterminable area more accurate.Or
Person, in practical application, terminal can also only divide predeterminable area centered on the A point, or be divided centered on the B point default
Region, the embodiment of the present disclosure do not limit this.
Exemplary, after terminal divides the predeterminable area and powers for multiple photosensitive units in the predeterminable area, this is more
A photosensitive unit is in operating mode, and terminal can read the collected brightness value of multiple photosensitive unit respectively at this time.Alternatively,
When initialization, the developer of terminal can divide the preset areas previously according to the optical centre of imaging sensor and chip center
Domain, then in the terminal by the position storage of the predeterminable area.Terminal is needing to acquire ambient brightness using the imaging sensor
When value, the multiple photosensitive units being located in the predeterminable area are determined according to the position of the predeterminable area of storage, and are multiple
Photosensitive unit is powered so that multiple photosensitive units are in operating mode, and the collected brightness of multiple photosensitive unit is then read
Value.
In a step 102, it according to the collected brightness value of multiple photosensitive units being located in predeterminable area, obtains current
Ambient brightness value.
It is exemplary, after terminal reads the collected brightness value of multiple photosensitive unit, multiple sense can be calculated
Then the average value is determined as the collected acquisition brightness of the imaging sensor by the average value of the collected brightness value of light unit
Value, and the product of the acquisition brightness value and predetermined coefficient is calculated, which is current ambient brightness value.
Optionally, terminal is after reading the collected brightness value of multiple photosensitive unit, can be from multiple photosensitive
Remove the smallest brightness value and maximum brightness value in the collected multiple brightness values of unit, then calculates remaining multiple brightness
The average value of value, and the average value is determined as the collected acquisition brightness value of the imaging sensor.
Optionally, the predetermined coefficient is as lens transmission situation, camera lens in the camera module where the imaging sensor of terminal
The factors such as the type or position of aperture size and photosensitive unit determine that the predetermined coefficient of different terminals is different.Initialization
When, which can be placed under multiple and different environment light, the acquisition then determined in varying environment light according to terminal
The difference of the intrinsic brilliance value of brightness value and the varying environment light, obtains the predetermined coefficient of the terminal.For example, the terminal to be put
For being placed under three kinds of different environment light, when being located under first environment light, the available image sensing that it includes of terminal
It is located at the average value of the collected brightness value of multiple photosensitive units in predeterminable area in the photosensitive unit array of device, then obtains
The intrinsic brilliance value for the first environment light that illumination photometer in the first environment light is read, then calculate the average value with
The ratio of the intrinsic brilliance value, and the ratio is denoted as the first coefficient;When be located at second environment light under when, terminal it is available its
Including imaging sensor photosensitive unit array in be located at multiple photosensitive units collected brightness value in predeterminable area
Then average value obtains the intrinsic brilliance value for the second environment light that the illumination photometer being located in the second environment light is read, connects
Calculate the ratio of the average value and the intrinsic brilliance value, and the ratio is denoted as the second coefficient;Likewise, when being located at third ring
The multiple senses being located in predeterminable area when under the light of border, in the photosensitive unit array of its available imaging sensor for including of terminal
Then the average value of the collected brightness value of light unit obtains the third that the illumination photometer being located in the third environment light is read
The intrinsic brilliance value of environment light then calculates the ratio of the average value Yu the intrinsic brilliance value, and the ratio is denoted as third system
Number.Then terminal can calculate the average value of first coefficient, the second coefficient and third coefficient, and the average value is stored as pre-
If coefficient.
Alternatively, terminal can be placed under multiple and different environment light by the developer of terminal in advance, so when initialization
Obtain the reality that illumination photometer is read in the acquisition brightness value and the varying environment light that terminal determines in varying environment light respectively afterwards
Brightness value, and then determine according to the acquisition brightness value and intrinsic brilliance value of the varying environment light predetermined coefficient of the terminal, by this
Predetermined coefficient stores in the terminal.Terminal in use, can basis if getting the acquisition brightness value of current environment
Storage before obtains the predetermined coefficient, then calculates the product of the acquisition brightness value and the predetermined coefficient, and the product is true
It is set to the ambient brightness value of the current environment.
In the technical scheme provided by this disclosed embodiment, terminal can be by photosensitive unit battle array that imaging sensor includes
It is located at the collected brightness value of multiple photosensitive units in predeterminable area in column to obtain current ambient brightness value, realizes
The scheme that ambient brightness detection is carried out in the case where not configuring additional luminance sensor, simplifies the structure of terminal.Simultaneously
It avoids and needs to be arranged in the front panel of terminal and the matched aperture of the luminance sensor when luminance sensor is arranged
Situation, reduces the assembly difficulty of terminal, and improves the aesthetic measure of terminal.
Realization process is discussed in detail below by several embodiments.
Fig. 2 is a kind of flow chart of ambient brightness value-acquiring method shown according to an exemplary embodiment, executing subject
For terminal, which includes imaging sensor, which includes the photosensitive unit array being made of multiple photosensitive units,
As shown in Fig. 2, including the following steps 201 to step 205:
In step 201, when needing to obtain ambient brightness value, use subregion power supply mode for the photosensitive unit array
Power supply, so that multiple photosensitive units in other photosensitive units power-off of photosensitive unit array in predeterminable area are in work
Operation mode.
In step 202, the collected brightness value of multiple photosensitive units being located in the predeterminable area is obtained.
In step 203, the average value of the collected brightness value of multiple photosensitive unit is determined as acquiring brightness value.
In step 204, predetermined coefficient is obtained.
In step 205, the product of the acquisition brightness value and predetermined coefficient is determined as current ambient brightness value.
Embodiment of the disclosure provides a kind of ambient brightness value-acquiring method, and terminal can include by imaging sensor
It is located at the collected brightness value of multiple photosensitive units in predeterminable area in photosensitive unit array to obtain current ambient brightness
Value realizes the scheme for carrying out ambient brightness detection in the case where not configuring additional luminance sensor, simplifies terminal
Structure.Also avoid needing setting and luminance sensor in the front panel of terminal simultaneously when luminance sensor is arranged
The case where aperture matched, the assembly difficulty of terminal is reduced, and improves the aesthetic measure of terminal.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 3 a is a kind of structural schematic diagram of ambient brightness value acquisition device 30 shown according to an exemplary embodiment, should
Device 30 being implemented in combination with as some or all of of electronic equipment by software, hardware or both.The device 30
Including imaging sensor, which includes the photosensitive unit array being made of multiple photosensitive units, as shown in Figure 3a, should
Ambient brightness value acquisition device 30 further includes that the first acquisition module 301 and second obtains module 302.
Wherein, first module 301 is obtained, for obtaining the multiple senses being located in predeterminable area in the photosensitive unit array
The collected brightness value of light unit.
Second obtains module 302, for according to the collected brightness of multiple photosensitive units being located in the predeterminable area
Value, obtains current ambient brightness value.
In one embodiment, as shown in Figure 3b, the second acquisition module 302 includes 3021 He of the first acquisition submodule
Second acquisition submodule 3022.
Wherein, the first acquisition submodule 3021, for according to the multiple photosensitive units acquisition being located in the predeterminable area
The brightness value arrived obtains acquisition brightness value.
Second acquisition submodule 3022, for obtaining current ambient brightness value according to the acquisition brightness value.
In one embodiment, as shown in Figure 3c, first acquisition submodule 3021 includes first acquisition unit
3021a, the first acquisition unit 3021a, for determining the average value of the collected brightness value of the multiple photosensitive unit
For the acquisition brightness value.
In one embodiment, as shown in Figure 3d, second acquisition submodule 3022 includes second acquisition unit
3022a, the second acquisition unit 3022a, it is current for the product of the acquisition brightness value and predetermined coefficient to be determined as
Ambient brightness value.
In one embodiment, as shown in Figure 3 e, described device 30 further includes power supply module 303, the power supply module
303, for using subregion power supply mode for the photosensitive unit powering arrays so that the photosensitive unit array other
Multiple photosensitive units when photosensitive unit powers off in the predeterminable area are in operating mode.
In one embodiment, as illustrated in figure 3f, described device 30 further includes division module 304, the division module
304, for dividing the predeterminable area according to the chip center of described image sensor and optical centre.
Embodiment of the disclosure provides a kind of ambient brightness value acquisition device, which can include by imaging sensor
Photosensitive unit array in be located at predeterminable area in the collected brightness value of multiple photosensitive units it is bright to obtain current environment
Angle value realizes the scheme for carrying out ambient brightness detection in the case where not configuring additional luminance sensor, simplifies terminal
Structure.Also avoid needing setting and luminance sensor in the front panel of terminal simultaneously when luminance sensor is arranged
The case where matched aperture, the assembly difficulty of terminal is reduced, and improves the aesthetic measure of terminal.
The embodiment of the present disclosure provides a kind of ambient brightness value acquisition device, and described device includes imaging sensor, the figure
As sensor includes the photosensitive unit array being made of multiple photosensitive units, described device further include:
Processor;
Memory for storage processor executable instruction;
Wherein, processor is configured as:
Obtain the collected brightness value of multiple photosensitive units being located in predeterminable area in the photosensitive unit array.
According to the collected brightness value of multiple photosensitive units being located in the predeterminable area, current ambient brightness is obtained
Value.
In one embodiment, above-mentioned processor is also configured to: according to the multiple senses being located in the predeterminable area
The collected brightness value of light unit obtains acquisition brightness value;According to the acquisition brightness value, current ambient brightness value is obtained.
In one embodiment, above-mentioned processor is also configured to: by the collected brightness of the multiple photosensitive unit
The average value of value is determined as the acquisition brightness value.
In one embodiment, above-mentioned processor is also configured to: the acquisition brightness value and predetermined coefficient are multiplied
Product is determined as current ambient brightness value.
In one embodiment, above-mentioned processor is also configured to: using subregion power supply mode for the photosensitive list
Element array power supply, so that multiple in the predeterminable area in other photosensitive units power-off of the photosensitive unit array
Photosensitive unit is in operating mode.
In one embodiment, above-mentioned processor is also configured to: according to the chip center of described image sensor and/
Or optical centre divides the predeterminable area.
Embodiment of the disclosure provides a kind of ambient brightness value acquisition device, which can include by imaging sensor
Photosensitive unit array in be located at predeterminable area in the collected brightness value of multiple photosensitive units it is bright to obtain current environment
Angle value realizes the scheme for carrying out ambient brightness detection in the case where not configuring additional luminance sensor, simplifies terminal
Structure.Also avoid needing setting and luminance sensor in the front panel of terminal simultaneously when luminance sensor is arranged
The case where matched aperture, the assembly difficulty of terminal is reduced, and improves the aesthetic measure of terminal.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 4 is a kind of structural block diagram for ambient brightness value acquisition device 40 shown according to an exemplary embodiment,
The device is suitable for terminal device.For example, device 40 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting set
It is standby, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 40 may include following one or more components: processing component 402, memory 404, and power supply module 406 is more
Media component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414 and communication component
416。
The integrated operation of the usual control device 40 of processing component 402, such as with display, telephone call, data communication, camera
Operation and record operate associated operation.Processing component 402 may include one or more processors 420 to execute instruction,
To perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, it is convenient for
Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, to facilitate more matchmakers
Interaction between body component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 40.These data are shown
Example includes the instruction of any application or method for operating on device 40, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 40.Power supply module 406 may include power management system
System, one or more power supplys and other with for device 40 generate, manage, and distribute the associated component of electric power.
Multimedia component 408 includes the screen of one output interface of offer between described device 40 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 408 includes a front camera and/or rear camera.When device 40 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike
Wind (MIC), when device 40 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is configured
To receive external audio signal.The received audio signal can be further stored in memory 404 or via communication component
416 send.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/O interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 414 includes one or more sensors, for providing the status assessment of various aspects for device 40.
For example, sensor module 414 can detecte the state that opens/closes of device 40, the relative positioning of component, such as the component
For the display and keypad of device 40, sensor module 414 can be with the position of 40 1 components of detection device 40 or device
Change, the existence or non-existence that user contacts with device 40, the temperature change in 40 orientation of device or acceleration/deceleration and device 40.
Sensor module 414 may include proximity sensor, be configured to detect object nearby without any physical contact
Presence.Sensor module 414 can also include that optical sensor is used in imaging applications such as CMOS or ccd image sensor
It uses.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic sensing
Device, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 40 and other equipment.Device
40 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 416 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 40 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 420 of device 40 to complete the above method.For example, institute
State non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and
Optical data storage devices etc..
The embodiment of the present disclosure provides a kind of non-transitorycomputer readable storage medium, the instruction in the storage medium
When being executed by the processor of device 40, so that device 40 is able to carry out above-mentioned ambient brightness value-acquiring method, which comprises
Obtain the collected brightness value of multiple photosensitive units being located in predeterminable area in the photosensitive unit array.
According to the collected brightness value of multiple photosensitive units being located in the predeterminable area, current ambient brightness is obtained
Value.
In one embodiment, the basis is located at the collected brightness of multiple photosensitive units in the predeterminable area
Value, obtaining current ambient brightness value includes: according to the collected brightness of multiple photosensitive units being located in the predeterminable area
Value obtains acquisition brightness value;According to the acquisition brightness value, current ambient brightness value is obtained.
In one embodiment, the basis is located at the collected brightness of multiple photosensitive units in the predeterminable area
Value, obtaining acquisition brightness value includes: that the average value of the collected brightness value of the multiple photosensitive unit is determined as the acquisition
Brightness value.
In one embodiment, described according to the acquisition brightness value, obtain current ambient brightness value include: will be described
The product of acquisition brightness value and predetermined coefficient is determined as current ambient brightness value.
In one embodiment, the method also includes: use subregion power supply mode to supply for the photosensitive unit array
Electricity, so that multiple photosensitive units in other photosensitive units power-off of the photosensitive unit array in the predeterminable area
In operating mode.
In one embodiment, the method also includes: according in the chip center of described image sensor and/or optics
The heart divides the predeterminable area.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (14)
1. a kind of ambient brightness value-acquiring method, which is characterized in that be applied to terminal, the terminal includes imaging sensor, institute
Stating imaging sensor includes the photosensitive unit array being made of multiple photosensitive units, which comprises
Obtain the collected brightness value of multiple photosensitive units being located in predeterminable area in the photosensitive unit array;
According to the collected brightness value of multiple photosensitive units being located in the predeterminable area, current ambient brightness value is obtained.
2. the method according to claim 1, wherein the basis be located at it is multiple photosensitive in the predeterminable area
The collected brightness value of unit, obtaining current ambient brightness value includes:
According to the collected brightness value of multiple photosensitive units being located in the predeterminable area, acquisition brightness value is obtained;
According to the acquisition brightness value, current ambient brightness value is obtained.
3. according to the method described in claim 2, it is characterized in that, the basis be located at it is multiple photosensitive in the predeterminable area
The collected brightness value of unit, obtaining acquisition brightness value includes:
The average value of the collected brightness value of the multiple photosensitive unit is determined as the acquisition brightness value.
4. according to the method described in claim 2, obtaining current ring it is characterized in that, described according to the acquisition brightness value
Border brightness value includes:
The product of the acquisition brightness value and predetermined coefficient is determined as current ambient brightness value.
5. according to claim 1 to method described in 4 any one claims, which is characterized in that the method also includes:
Use subregion power supply mode for the photosensitive unit powering arrays, so that other in the photosensitive unit array are photosensitive
Multiple photosensitive units when unit powers off in the predeterminable area are in operating mode.
6. according to claim 1 to method described in 4 any one claims, which is characterized in that the method also includes:
The predeterminable area is divided according to the chip center of described image sensor and/or optical centre.
7. a kind of ambient brightness value acquisition device, which is characterized in that described device includes imaging sensor, described image sensor
Including the photosensitive unit array being made of multiple photosensitive units, described device further include:
First obtains module, collects for obtaining multiple photosensitive units in the photosensitive unit array in predeterminable area
Brightness value;
Second obtains module, for obtaining according to the collected brightness value of multiple photosensitive units being located in the predeterminable area
Current ambient brightness value.
8. device according to claim 7, which is characterized in that described second, which obtains module, includes:
First acquisition submodule, for obtaining according to the collected brightness value of multiple photosensitive units being located in the predeterminable area
Take acquisition brightness value;
Second acquisition submodule, for obtaining current ambient brightness value according to the acquisition brightness value.
9. device according to claim 8, which is characterized in that first acquisition submodule includes:
First acquisition unit, it is bright for the average value of the collected brightness value of the multiple photosensitive unit to be determined as the acquisition
Angle value.
10. device according to claim 8, which is characterized in that second acquisition submodule includes:
Second acquisition unit, for the product of the acquisition brightness value and predetermined coefficient to be determined as current ambient brightness value.
11. according to device described in claim 7 to 10 any one claim, which is characterized in that described device further include:
Power supply module, for using subregion power supply mode for the photosensitive unit powering arrays, so that in the photosensitive unit
Multiple photosensitive units when other photosensitive units power-off of array in the predeterminable area are in operating mode.
12. according to device described in claim 7 to 10 any one claim, which is characterized in that described device further include:
Division module, for dividing the predeterminable area according to the chip center of described image sensor and optical centre.
13. a kind of ambient brightness value acquisition device, which is characterized in that described device includes imaging sensor, described image sensing
Device includes the photosensitive unit array being made of multiple photosensitive units, described device further include:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the collected brightness value of multiple photosensitive units being located in predeterminable area in the photosensitive unit array;
According to the collected brightness value of multiple photosensitive units being located in the predeterminable area, current ambient brightness value is obtained.
14. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor
The step of claim 1 to 6 any one claim the method is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910032880.3A CN109803051A (en) | 2019-01-14 | 2019-01-14 | Ambient brightness value-acquiring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910032880.3A CN109803051A (en) | 2019-01-14 | 2019-01-14 | Ambient brightness value-acquiring method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109803051A true CN109803051A (en) | 2019-05-24 |
Family
ID=66558766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910032880.3A Pending CN109803051A (en) | 2019-01-14 | 2019-01-14 | Ambient brightness value-acquiring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109803051A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110475066A (en) * | 2019-08-20 | 2019-11-19 | Oppo广东移动通信有限公司 | Control method, imaging device and electronic equipment |
CN113709275A (en) * | 2020-05-21 | 2021-11-26 | 北京小米移动软件有限公司 | Ambient light determination method and device, terminal equipment and storage medium |
CN114418924A (en) * | 2020-10-28 | 2022-04-29 | 北京小米移动软件有限公司 | Image processing method, image processing device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001223792A (en) * | 2000-02-09 | 2001-08-17 | Mitsubishi Electric Corp | Portable telephone set |
CN101505377A (en) * | 2009-02-23 | 2009-08-12 | 格科微电子(上海)有限公司 | Light ray lightness detection method in CMOS image sensor and special chip therefor |
CN104754134A (en) * | 2015-03-31 | 2015-07-01 | 酷派软件技术(深圳)有限公司 | Screen brightness adjusting method and screen brightness adjusting system |
-
2019
- 2019-01-14 CN CN201910032880.3A patent/CN109803051A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001223792A (en) * | 2000-02-09 | 2001-08-17 | Mitsubishi Electric Corp | Portable telephone set |
CN101505377A (en) * | 2009-02-23 | 2009-08-12 | 格科微电子(上海)有限公司 | Light ray lightness detection method in CMOS image sensor and special chip therefor |
CN104754134A (en) * | 2015-03-31 | 2015-07-01 | 酷派软件技术(深圳)有限公司 | Screen brightness adjusting method and screen brightness adjusting system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110475066A (en) * | 2019-08-20 | 2019-11-19 | Oppo广东移动通信有限公司 | Control method, imaging device and electronic equipment |
CN113709275A (en) * | 2020-05-21 | 2021-11-26 | 北京小米移动软件有限公司 | Ambient light determination method and device, terminal equipment and storage medium |
CN114418924A (en) * | 2020-10-28 | 2022-04-29 | 北京小米移动软件有限公司 | Image processing method, image processing device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105261346B (en) | Method of adjustment, device and the terminal device of backlight illumination | |
CN106454336B (en) | The method and device and terminal that detection terminal camera is blocked | |
CN111984347B (en) | Interactive processing method, device, equipment and storage medium | |
US10230891B2 (en) | Method, device and medium of photography prompts | |
CN109547987A (en) | The call method and device of nfc card | |
CN111988493B (en) | Interaction processing method, device, equipment and storage medium | |
CN105512615B (en) | Image processing method and device | |
CN105208284B (en) | Shoot based reminding method and device | |
EP3024211A1 (en) | Method and device for announcing voice call | |
CN105183755B (en) | A kind of display methods and device of picture | |
KR20160127606A (en) | Mobile terminal and the control method thereof | |
CN106886019B (en) | Distance measurement method and device | |
CN109803051A (en) | Ambient brightness value-acquiring method and device | |
CN106295468B (en) | Face identification method and device | |
EP3435283A1 (en) | Method and device for optical fingerprint recognition, and computer-readable storage medium | |
CN109543666A (en) | Structure light assembly control method and device | |
CN112269559A (en) | Volume adjustment method and device, electronic equipment and storage medium | |
CN108848303A (en) | Shoot reminding method and device | |
CN109922203A (en) | Terminal puts out screen method and apparatus | |
CN106128415B (en) | Screen luminance adjustment method and device | |
CN108922495A (en) | Screen luminance adjustment method and device | |
CN107590481A (en) | Pier glass, data processing method and device | |
CN106791169A (en) | Screen control method and device | |
CN111341317A (en) | Method and device for evaluating awakening audio data, electronic equipment and medium | |
CN111061369A (en) | Interaction method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190524 |
|
RJ01 | Rejection of invention patent application after publication |