CN110012162A - A kind of ambient light data acquisition method and electronic equipment - Google Patents
A kind of ambient light data acquisition method and electronic equipment Download PDFInfo
- Publication number
- CN110012162A CN110012162A CN201910229473.1A CN201910229473A CN110012162A CN 110012162 A CN110012162 A CN 110012162A CN 201910229473 A CN201910229473 A CN 201910229473A CN 110012162 A CN110012162 A CN 110012162A
- Authority
- CN
- China
- Prior art keywords
- moment
- display screen
- ambient light
- light sensor
- duration
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000004044 response Effects 0.000 claims abstract description 10
- 230000003287 optical effect Effects 0.000 claims description 12
- 238000001514 detection method Methods 0.000 abstract description 10
- 230000033228 biological regulation Effects 0.000 description 29
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 238000005286 illumination Methods 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000012360 testing method Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 230000006854 communication Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
- G01J1/42—Photometry, e.g. photographic exposure meter using electric radiation detectors
- G01J1/4204—Photometry, e.g. photographic exposure meter using electric radiation detectors with determination of ambient light
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1656—Details related to functional adaptations of the enclosure, e.g. to provide protection against EMI, shock, water, or to host detachable peripherals like a mouse or removable expansions units like PCMCIA cards, or to provide access to internal components for maintenance or to removable storage supports like CDs or DVDs, or to mechanically mount accessories
- G06F1/1658—Details related to functional adaptations of the enclosure, e.g. to provide protection against EMI, shock, water, or to host detachable peripherals like a mouse or removable expansions units like PCMCIA cards, or to provide access to internal components for maintenance or to removable storage supports like CDs or DVDs, or to mechanically mount accessories related to the mounting of internal components, e.g. disc drive or any other functional module
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1684—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
- G09G3/3208—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Life Sciences & Earth Sciences (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Sustainable Development (AREA)
- Control Of El Displays (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application provides a kind of ambient light data acquisition method and electronic equipment, is related to technical field of electronic equipment, for reducing the data volume of collected ambient light data.This method is applied to OLED display screen and is covered in the electronic equipment above ambient light sensor, comprising: detection display synchronization signal;In response to detecting display synchronization signal, determine the first moment and the second moment, first moment was the start-up time of the LED of the corresponding display screen area of ambient light sensor, second moment was the close moment of the LED of the corresponding display screen area of ambient light sensor, first moment remained off between the first moment and the second moment earlier than the second moment, the LED of the corresponding display screen area of ambient light sensor;Ambient light sensor is opened, the start-up time of ambient light sensor was no earlier than for the first moment;Ambient light sensor is closed, the close moment of ambient light sensor was not later than for the second moment.
Description
Technical field
This application involves technical field of electronic equipment more particularly to a kind of ambient light data acquisition methods and electronic equipment.
Background technique
In some use Organic Light Emitting Diode (organic light- such as mobile phone, tablet computer, camera and video camera
Emitting diode, OLED) display screen electronic equipment in, it usually needs pass through optical sensor detect external environment illumination
Intensity, and according to the automatic backlight brightness of OLED display screen in the intensity of illumination adjusting electronic equipment detected.
When carrying out ambient light illumination detection, since OLED display screen itself can also shine, in order to avoid OLED display screen
Brightness testing result is impacted, usually detected by following methods.Specifically, using having highly sensitive and height to adopt
The optical sensor of sample rate acquires the ambient light illumination in a period of time, by the multiple environment detected under high sampling rate
Minimum value is found in illuminance, and the ambient light illumination that do not interfered by OLED display screen brightness can be obtained.
But above scheme is higher to the performance requirement of optical sensor, and the collected ambient lighting under high sampling rate
The data volume of degree is larger, so that the data-handling capacity to electronic equipment is more demanding.
Summary of the invention
The application provides a kind of ambient light data acquisition method and electronic equipment, for reducing collected ambient light data
Data volume.
In order to achieve the above objectives, the application adopts the following technical scheme that
In a first aspect, providing a kind of ambient light data acquisition method, it is applied to include OLED display screen and ambient light sensing
In the electronic equipment of device, for example the electronic equipment can be mobile phone, video camera etc., and OLED display screen is covered on ambient light sensor
Top, this method comprises: detection display synchronization signal, which can synchronize letter when content refresh to show
Number, such as TE signal;In response to detecting display synchronization signal, determine that the first moment and the second moment, the first moment are environment
The start-up time of the LED of the corresponding display screen area of optical sensor, the second moment are the corresponding display screen area of ambient light sensor
The close moment of the LED in domain, the first moment, the LED of the corresponding display screen area of ambient light sensor was earlier than the second moment
It is remained off between one moment and the second moment;Ambient light sensor is opened, so that ambient light sensor starts to acquire ring
Border light data, the start-up time of ambient light sensor were no earlier than for the first moment;Ambient light sensor is closed, so that ambient light sensing
Device terminates to acquire ambient light data, and the close moment of ambient light sensor was not later than for the second moment.
In above-mentioned technical proposal, by detecting display synchronization signal, the corresponding display screen area of ambient light sensor is determined
Corresponding first moment and the second moment when the LED in domain is remained off, thus only in the corresponding display of ambient light sensor
The LED in screen region acquires ambient light data when remaining off, so as to avoid shining to acquisition for OLED display screen itself
The influence of the ambient light data arrived improves the signal-to-noise ratio of ambient light data;In addition, this method is passed without high performance environment light
Sensor, and the data volume of collected ambient light data can be reduced, reduce the data-handling capacity requirement to electronic equipment.
In a kind of possible implementation of first aspect, determine that the second moment included: that basis detects that display synchronizes
At the time of signal and ambient light sensor is in the position of OLED display screen, determines for the second moment.In above-mentioned possible implementation,
Since the second moment is related in the position of OLED display screen with display synchronization signal and ambient light sensor, one kind is thus provided
Simply and effectively determine the mode at the first moment.
In a kind of possible implementation of first aspect, determine that the second moment included: according to third moment and environment
Optical sensor determined for the second moment in the position of OLED display screen;Wherein, the third moment be detect display synchronization signal when
At the time of carving the first duration of delay, the first duration is corresponding with the single refresh duration and ambient light sensor of OLED display screen aobvious
The closing duration of the LED in display screen region is related, the LED's of single refresh duration and the corresponding display screen area of ambient light sensor
It is known for closing duration.Above-mentioned possible implementation, since the second moment and third moment and ambient light sensor exist
The position of OLED display screen is related, thus provides another mode for simply and effectively determining for the first moment.
In a kind of possible implementation of first aspect, first when a length of OLED display screen single refresh duration with
Difference between the closing duration of the LED of the corresponding display screen area of ambient light sensor.Above-mentioned possible implementation, provides
A kind of mode simply and effectively determining first duration.
In a kind of possible implementation of first aspect, the LED's of the corresponding display screen area of ambient light sensor
Close the next frame image for refreshing OLED display screen;And/or the LED of the corresponding display screen area of ambient light sensor
Close the brightness for adjusting OLED display screen.In above-mentioned possible implementation, which can utilize refreshing OLED
The LED for the display screen area closed when the next frame image of display screen, and/or adjust closed when the brightness of OLED display screen it is aobvious
The LED in display screen region acquires ambient light data, to improve the flexibility and diversity of acquisition ambient light data, simultaneously also
It can be improved the stability of collected ambient light data.
When a length of refreshing in a kind of possible implementation of first aspect, between start-up time and close moment
The closing duration of the LED of the corresponding display screen area of ambient light sensor when the next frame image of OLED display screen.Above-mentioned possibility
Implementation in, which can control ambient light sensor during the frame image refreshing of OLED display screen, benefit
The duration collection ambient light data of the LED for the display screen area closed when with refreshing, to avoid the hair of OLED display screen itself
Influence of the light to collected ambient light data, improves the signal-to-noise ratio of ambient light data.
When a length of adjusting in a kind of possible implementation of first aspect, between start-up time and close moment
The duration that the LED of the corresponding display screen area of ambient light sensor is closed when the brightness of OLED display screen.Above-mentioned possible realization
In mode, which can control ambient light sensor during the brightness regulation of OLED display screen, utilize brightness tune
The duration collection ambient light data of the LED for the display screen area closed when section, to avoid luminous pair of OLED display screen itself
The influence of collected ambient light data improves the signal-to-noise ratio of ambient light data.
In a kind of possible implementation of first aspect, this method further include: repeatedly open and close environment light and pass
Sensor, so that the default acquisition duration of total duration satisfaction that ambient light sensor is in the open state.Above-mentioned possible implementation
In, the signal-to-noise ratio of the collected ambient light data of ambient light sensor can be further increased, thus the stabilization of ambient light data
Property.
Second aspect provides a kind of electronic equipment, which includes: that processor, OLED display screen and environment light pass
Sensor, OLED display screen are covered on above ambient light sensor, and the processor is for executing following steps: the synchronous letter of detection display
Number;In response to detecting display synchronization signal, determine that the first moment and the second moment, the first moment are corresponding for ambient light sensor
Display screen area LED start-up time, the second moment be the corresponding display screen area of ambient light sensor LED closing
At the moment, the first moment, the LED of the corresponding display screen area of ambient light sensor was at the first moment and second earlier than the second moment
It is remained off between quarter;Ambient light sensor is opened, the start-up time of ambient light sensor was no earlier than for the first moment;It closes
Ambient light sensor, the close moment of ambient light sensor were not later than for the second moment.
In a kind of possible implementation of second aspect, processor is specifically used for: believing according to detecting that display is synchronous
Number at the time of and ambient light sensor in the position of OLED display screen, determined for the second moment.
In a kind of possible implementation of second aspect, processing implement body is also used to: according to third moment and environment
Optical sensor determined for the second moment in the position of OLED display screen;Wherein, the third moment be detect display synchronization signal when
At the time of carving the first duration of delay, the first duration is corresponding with the single refresh duration and ambient light sensor of OLED display screen aobvious
The closing duration of the LED in display screen region is related.
In a kind of possible implementation of second aspect, first when a length of OLED display screen single refresh duration with
Difference between the closing duration of the LED of the corresponding display screen area of ambient light sensor.
In a kind of possible implementation of second aspect, the LED's of the corresponding display screen area of ambient light sensor
Close the next frame image for refreshing OLED display screen;And/or the LED of the corresponding display screen area of ambient light sensor
Close the brightness for adjusting OLED display screen.
When a length of refreshing in a kind of possible implementation of second aspect, between start-up time and close moment
The closing duration of the LED of the corresponding display screen area of ambient light sensor when the next frame image of OLED display screen.
When a length of adjusting in a kind of possible implementation of second aspect, between start-up time and close moment
The closing duration of the LED of the corresponding display screen area of ambient light sensor when the brightness of OLED display screen.
In a kind of possible implementation of second aspect, processor also particularly useful for: repeatedly open and close environment
Optical sensor, so that the default acquisition duration of total duration satisfaction that ambient light sensor is in the open state.
It is to be appreciated that any electronic equipment of above-mentioned offer is used to execute corresponding method presented above,
Therefore, attainable beneficial effect can refer to the beneficial effect in corresponding method presented above, it is no longer superfluous herein
It states.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application;
Fig. 3 is the flow diagram of the first ambient light data acquisition method provided by the embodiments of the present application;
Fig. 4 is a kind of schematic diagram for refreshing the display screen area closed provided by the embodiments of the present application;
Fig. 5 is the schematic diagram for the display screen area that a kind of brightness regulation provided by the embodiments of the present application is closed;
Fig. 6 is the flow diagram of second of ambient light data acquisition method provided by the embodiments of the present application;
Fig. 7 is the working timing figure of the first OLED display screen provided by the embodiments of the present application at different brightnesses;
Fig. 8 is the flow diagram of the third ambient light data acquisition method provided by the embodiments of the present application;
Fig. 9 is the working timing figure of second of OLED display screen provided by the embodiments of the present application at different brightnesses;
Figure 10 is the flow diagram of the 4th kind of ambient light data acquisition method provided by the embodiments of the present application;
Figure 11 is the working timing figure of the third OLED display screen provided by the embodiments of the present application at different brightnesses.
Specific embodiment
In the application, "at least one" refers to one or more, and " multiple " refer to two or more."and/or",
The incidence relation of affiliated partner is described, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A,
Exist simultaneously A and B, the case where individualism B, wherein A, B can be odd number or plural number.At least one of " following (a) " or its
Similar expression, refer to these in any combination, any combination including individual event (a) or complex item (a).For example, a, b
Or at least one (a) in c, can indicate: a, b, c, a-b, a-c, b-c or a-b-c, wherein a, b and c can be individually,
It can be multiple.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".In addition, in embodiments herein
In, the printed words such as " first ", " second " are not defined quantity and execution order.
It should be noted that in the application, " illustrative " or " such as " etc. words make example, illustration for indicating or say
It is bright.Described herein as " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as than it
His embodiment or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words be intended to
Related notion is presented in specific ways.
Fig. 1 be a kind of electronic equipment provided by the embodiments of the present application structural schematic diagram, the electronic equipment can be mobile phone,
Tablet computer, computer, wearable device, mobile unit, electric terminal and portable terminal etc., for ease of description, this Shen
Electronic equipment please be referred to as in embodiment.Below by taking the electronic equipment is mobile phone as an example, the structure of the electronic equipment is lifted
Example explanation.
Referring to Fig. 1, the mobile phone may include: RF (radio frequency, radio frequency) circuit 110, memory 120, other
Input equipment 130, display screen 140, sensor module 150, voicefrequency circuit 160, input/output (input/output, I/O)
The components such as system 170, processor 180 and power supply 190.Wherein, processor 180 respectively with RF circuit 110, memory 120,
Voicefrequency circuit 160 and power supply 190 are all connected with.I/O subsystem 170 respectively with other input equipments 130, organic light-emitting diodes
Pipe (organic light-emitting diode, OLED) display screen 140, sensor module 150 are all connected with.
Wherein, RF circuit 110 can be used for receiving and sending messages or communication process in signal send and receive.In general, RF circuit
110 include but is not limited to antenna, amplifier, transceiver, coupler, LNA (low noise amplifier, low noise amplification
Device), duplexer etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication, for example pass through
WiFi network is communicated with access network equipment.
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation
Software program and module, thereby executing the various function application and data processing of the mobile phone.Memory 120 can be wrapped mainly
Include storing program area and storage data area, wherein storing program area can application needed for storage program area, at least one function
Program etc.;Storage data area, which can be stored, uses created data (such as audio data, image data, electricity according to the mobile phone
Script for story-telling etc.) etc..In addition, memory 120 may include high-speed random access memory, it can also include nonvolatile memory,
A for example, at least disk memory, flush memory device or other volatile solid-state parts.
Other input equipments 130 can be used for receiving the number or character information of input, and generates and set with the user of mobile phone
It sets and the related key signals of function control inputs.Wherein, other input equipments 130 may include but be not limited to physical keyboard, function
One of energy key (such as volume control button, power switch button etc.), trace ball, mouse, operating stick etc. are a variety of.
OLED display screen 140 can be used for showing information input by user or be supplied to user information and mobile phone it is each
Kind menu can also receive user's input, and OLED display screen 140 may include display panel 141 and touch panel 142.At this
Apply in embodiment, the display panel 141 in the OLED display screen 104 can be configured in the form of OLED, for example, display
Panel 141 may include OLED array, and OLED array includes the OLED of multiple lines and multiple rows.
Sensor module 150 includes one or more sensors, for providing the status assessment of various aspects for the mobile phone.
In the embodiment of the present application, sensor module 150 may include ambient light sensor, for acquiring the data such as ambient light illumination,
It is adjusted with the automatic backlight brightness to OLED display screen 140.Further, sensor module 150 can also include temperature
Sensor, acceleration transducer, gyro sensor, Magnetic Sensor or pressure sensor can be examined by sensor module 150
Measure the temperature change of the mobile phone, the acceleration/deceleration of the mobile phone, orientation, the relative positioning for opening/closing state or component
Deng.In addition, sensor module 150 can also include CMOS or ccd image sensor etc. for using in imaging applications.
Voicefrequency circuit 160 can provide the audio interface between user and mobile phone, for example, voicefrequency circuit 160 by loudspeaker and
Microphone provides the audio interface between user and the mobile phone.Wherein, voicefrequency circuit 160 can convert the audio data received
Electric signal afterwards, is transferred to loudspeaker, is converted to voice signal output by loudspeaker;On the other hand, microphone is by the sound of collection
Sound signal is converted to electric signal, audio data is converted to after being received by voicefrequency circuit, then audio data is exported to RF circuit 110
To be sent to such as another mobile phone, or audio data exported to memory 120 to be further processed.
I/O subsystem 170 is used to control the external equipment of input and output, and external equipment may include other equipment input control
Device processed, sensor controller, display controller etc..
Processor 180 is the control centre of the mobile phone, using the various pieces of various interfaces and connection whole mobile phone,
By running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120
Data, execute the mobile phone various functions and processing data, thus to mobile phone carry out integral monitoring.Optionally, processor 180
It may include one or more processing units;For example, processor 180 can integrate application processor (Application
Processor, AP) and modem processor (modem), wherein the main processing operation system of application processor, user interface
With application program etc., modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor
It can not be integrated into processor 180.
Power supply 190 (such as battery) is used to power to above-mentioned all parts.Wherein, power supply can pass through power-supply management system
It is logically contiguous with processor 180, to realize the functions such as management charging, electric discharge and power consumption by power-supply management system.
In the embodiment of the present application, the positional relationship of which includes OLED display screen 140 and ambient light sensor 151
It can be as shown in Fig. 2, i.e. OLED display screen 140 can be covered on the top of ambient light sensor 151.Wherein, ambient light sensing
Device 151 can be covered by the top of OLED display screen 140, or be covered by the middle section of OLED display screen 140, or by
The bottom of OLED display screen 140 covers, in Fig. 2 by taking ambient light sensor 151 is by the top covering of OLED display screen 140 as an example into
Row illustrates.In addition, the mobile phone can be comprehensive screen mobile phone, comprehensive screen mobile phone may not be, the embodiment of the present application is to this
It is not especially limited.
It will be understood by those skilled in the art that handset structure shown in Fig. 1 does not constitute the restriction to mobile phone, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
Fig. 3 is the flow diagram of the first ambient light data acquisition method provided by the embodiments of the present application, and this method can
Applied in electronic equipment described above, the OLED display screen in the electronic equipment is covered on the top of ambient light sensor,
This method can specifically be executed by the processor in the electronic equipment, and referring to Fig. 3, this method includes following steps.
S301: detection display synchronization signal, the display synchronization signal are synchronization signal when showing content refresh.
Wherein, OLED display screen be when showing image, the display content such as video in the form of a frame (frame) frame into
Row refreshes display, and the refreshing display of each frame can be and refresh line by line according to sequence from top to down, thus a frame
Display content needs are completed by repeatedly refreshing.In the refresh process of a frame, the LED of the display screen area refreshed every time by
Unlatching switchs to close, it may be assumed that corresponding region becomes black, then shows the content after refreshing in the display screen area again.Work as OLED
When display screen completes the refreshing of the display content of a whole frame, then a display synchronization signal can be exported, which can
The display content refresh for being used to indicate the frame is completed.
Specifically, the processor of the electronic equipment can detecte OLED and show during OLED display screen refreshes and shows
Shield the display synchronization signal of output, which is specifically as follows picture tearing effects (tearing effect, TE)
Signal or other signals etc. synchronous with display content refresh.
S302: in response to detecting display synchronization signal, determine that the first moment and the second moment, the first moment are environment light
The start-up time of the LED of the corresponding display screen area of sensor, the second moment are the corresponding display screen area of ambient light sensor
LED close moment, the first moment, the LED of the corresponding display screen area of ambient light sensor was first earlier than the second moment
It is remained off between moment and the second moment.
Wherein, the LED of the corresponding display screen area of ambient light sensor, which can specifically refer in OLED display screen, is covered on
The LED of display screen area above ambient light sensor.State and the ambient light sensor acquisition of the LED of the display screen area
The accuracy of ambient light data is related.Specifically, the LED when the corresponding display screen area of ambient light sensor is in the open state
(alternatively referred to as illuminating state), then the collected ambient light data of ambient light sensor can be because at the LED of the display screen area
It is affected in open state, i.e., it can the light data including ambient enviroment and display simultaneously in collected ambient light data
Shield the light data of the LED in region;When the LED of the corresponding display screen area of ambient light sensor is in close state, environment light
The collected ambient light data of sensor is unaffected, i.e., only includes the light of ambient enviroment in collected ambient light data
Data.Therefore, in order to guarantee that the collected ambient light data of subsequent environments optical sensor is unaffected, which can
Period when determining that the LED of the corresponding display screen area of ambient light sensor is in close state determined for the first moment
With the second moment.
In addition, at least two situations need the LED of display screen area closing one during the display of OLED display screen
Section the time, both of these case include show content refresh process and OLED display screen brightness regulation process, it is right separately below
Explanation is introduced in both of these case.
The first, show content refresh process.
Wherein, it is mentioned in above-mentioned S301, in the refresh process of a frame, the display screen area refreshed every time can first become black
Color, then the content after the display screen area display of the refreshing refreshes, the display screen area of the refreshing can first become black again
It is realized particular by the LED for the display screen area for closing the refreshing, i.e. at the LED of the display screen area of the refreshing at this time
It is subsequent to be known as refreshing the display screen area closed in closed state.When the display screen area that the refreshing is closed is moved to environment light
(i.e. the closing of the LED of the corresponding display screen area of ambient light sensor is for refreshing OLED for the corresponding display screen area of sensor
The next frame image of display screen, specifically can be as shown in Figure 4) when, determine the first moment and the second moment, the first moment and second
It is the period that the LED for the display screen area for determining that the refreshing is closed is in close state between moment.
In addition, the display synchronization signal is that OLED display screen completes this during the display content refresh of same frame
The close moment of LED of the signal exported when the refreshing of the display content of one whole frame, the display screen area which closes is also
At the time of when completing the refreshing of the display content of this whole frame, i.e., for same frame, the corresponding display synchronization signal of the frame
Close moment with the LED of the display screen area of refreshing closing is synchronous.Therefore, it is based on this synchronized relation, it can be true
The close moment of the LED for the display screen area that the fixed refreshing is closed.
In one possible implementation, the LED for the display screen area closed when the refreshing is ambient light sensor pair
When the LED for the display screen area answered, determined for the second moment, may include: according at the time of detecting the display synchronization signal and
Ambient light sensor determined for the second moment in the position of OLED display screen.Specifically, the electronic equipment can be according to detecting this
At the time of display synchronization signal, the single refresh duration of OLED display screen and ambient light sensor in the position of OLED display screen,
Determined for the second moment.Detecting here can refer at the time of the display synchronization signal when detecting first frame completion refreshing
At the time of display synchronization signal, the second moment can refer to the display screen area that the refreshing is closed during the second frame refreshing
The close moment of LED, the second frame are the next frame adjacent with first frame.
Wherein, the single refresh duration of OLED display screen is related with the refreshing frequency of OLED display screen, the OLED display screen
Refreshing frequency be constant, for example, the refreshing frequency of the OLED display screen be 60Hz, so that the single refresh duration is approximately equal to
16.667 millisecond (ms).Ambient light sensor is particularly used in the display screen for determining that the refreshing is closed in the position of OLED display screen
Region required duration when being moved to the corresponding display screen area of ambient light sensor from the top of OLED display screen, it is subsequent
Referred to as first movement duration, for example, first movement duration can be equal to L/V1, L indicates that ambient light sensor distance OLED is shown
The length of the top of screen, V1 indicate the movement speed for the display screen area that the refreshing is closed, and movement speed V1 can be equal to
The ratio of the single refresh duration of the length and OLED display screen of OLED display screen.
Illustratively, it is assumed that a length of T when first movementS1, single refresh duration be Tf, then the electronic equipment can will test
Postpone single refresh duration T at the time of to the display synchronization signalfIf first movement duration TS1It is zero, then can directly obtains
Two moment, if first movement duration TS1It is not zero, then can will postpone single refresh duration TfPostpone T at the time of afterwards againS1, can obtain
To the second moment.It further, can be according to the LED's for the display screen area that the refreshing is closed after determining for the second moment
It closes duration and determined for the first moment, the closing duration T of the LED for the display screen area which closesb1It is controlled by the electronic equipment,
That is closing duration Tb1Be it is known, the electronic equipment is by the second moment closing duration T in advanceb1It can determine for the first moment.
Second, the brightness regulation process of OLED display screen.
Wherein, the brightness regulation of OLED display screen may include two kinds of operating modes, i.e., pulse width modulates (pulse-
Width modulation, PWM) mode and non-PWM mode, need a duty cycle adjustment signal (for example, should under PWM mode
Duty cycle adjustment signal can be the square-wave signal that frequency is 240Hz), duty cycle adjustment signal is not needed under non-PWM mode.
PWM mode can refer to when the brightness of OLED display screen is lower, light duration by what PWM controlled LED in OLED display screen,
To realize the brightness regulation of OLED display screen, there can be the LED of display screen area whithin a period of time under such operating mode
It is in close state, the LED of the subsequent display screen area that the LED of the display screen area is known as to brightness regulation closing.Non- PWM mould
Formula can refer to when the brightness of OLED display screen is higher, can not realize brightness regulation by PWM mode, can only pass through raising
The other methods such as supply current realize the brightness regulation of OLED display screen, and under such operating mode there is no display screen areas
LED be in close state whithin a period of time, i.e., there is no above-mentioned brightness regulation close display screen area LED.Therefore,
When the display screen area that the brightness regulation is closed is moved to corresponding display screen area (the i.e. ambient light sensor of ambient light sensor
The closing of the LED of corresponding display screen area is for adjusting the brightness of OLED display screen) when, when determining the first moment and second
It carves, as determines the period that the LED for the display screen area that the brightness regulation is closed is in close state.
It should be noted that can have equally distributed one under above-mentioned PWM mode during the brightness regulation of same frame
The display screen area that a or multiple brightness regulations are closed, the display screen area that one or more brightness regulation is closed can be distinguished
Section is moved to the corresponding display screen area of ambient light sensor in different times.The display screen area that the brightness regulation is closed
Quantity N is related with the refreshing frequency of the frequency of duty cycle adjustment signal and the OLED display screen, and the value of N can specifically be equal to two
The ratio of person, for example, the refreshing frequency is 60Hz, the frequency of the duty cycle adjustment signal is 240Hz, then the brightness regulation is closed
Display screen area quantity can be 4 (N=240/60=4), specifically can be as shown in figure 5, being expressed as first in Fig. 5
Region, the second closing region, third closing region and the 4th closing region are closed, 3 closings therein region is only used for brightness
It adjusts, another is closed region and is not only used to refresh display content but also is used for brightness regulation.
In addition, the display synchronization signal is that OLED is shown during the display content refresh and brightness regulation of same frame
Shield the signal exported when completing the refreshing of display content of this whole frame, the LED for the display screen area which closes
Close moment be also complete this whole frame display content refreshing when at the time of, i.e., for same frame, the frame correspondence
Display synchronization signal with the close moment of the LED for the display screen area that the brightness regulation is closed be synchronous.Therefore, it is based on this
A synchronized relation can determine the close moment of the LED for the display screen area that the brightness regulation is closed.
In one possible implementation, the LED for the display screen area closed when the brightness regulation is ambient light sensing
When the LED of the corresponding display screen area of device, determined for the second moment, may include: according to detect the display synchronization signal when
It carves and ambient light sensor is in the position of OLED display screen, determined for the second moment.Specifically, the electronic equipment can be according to detection
At the time of to the display synchronization signal, the single refresh duration of OLED display screen and ambient light sensor be in the position of OLED display screen
It sets, determined for the second moment.Detecting here can refer at the time of the display synchronization signal detects that first frame is completed to refresh
When display synchronization signal at the time of, the second moment can refer to that the brightness regulation during the brightness regulation of the second frame was closed
The close moment of the LED of display screen area, the second frame are the next frame of first frame.It should be noted that when there are multiple brightness
When adjusting the display screen area closed, it can determine second moment, can also determine multiple second moment.
Wherein, the single refresh duration of OLED display screen is known.Ambient light sensor is in the position of OLED display screen
It is particularly used in the display screen area for determining that the brightness regulation is closed and is moved to ambient light sensing from the top of OLED display screen
Required duration when the corresponding display screen area of device, it is subsequent to be known as the second mobile duration.
Illustratively, it is assumed that second a length of T when mobileS2, single refresh duration is Tf, then the electronic equipment can will test
Postpone the single refresh duration T of N/i at the time of to the display synchronization signal respectivelyf(i.e. Tf* the value of i/N, i can be distinguished
It is 1 to N), if the second mobile duration TS2It is zero, then can directly obtains multiple second moment, if the second mobile duration TS2It is not
Zero, then it can will postpone Tf* postpone T again respectively at the time of after i/NS2, multiple second moment can be obtained.Further, in determination
It, can be according to the closing duration T of the LED for the display screen area that the brightness regulation is closed after multiple second momentb2It determines and corresponds to
Multiple first moment, the brightness regulation close display screen area LED closing duration Tb2With the brightness of OLED display screen
It determines, the brightness of the OLED display screen is controlled by the electronic equipment, i.e., the electronic equipment directly can determine the pass by brightness
Close duration Tb2, electronic equipment closing duration T in advance respectively by multiple first momentb2It can determine corresponding multiple first
Moment.
Illustratively, with 4, the refreshing frequency is 60Hz, and the frequency of the duty cycle adjustment signal is 240Hz, 4 brightness tune
The display screen area that section is closed is respectively that the first closing region, the second closing region, the third closing region and the 4th in Fig. 5 are closed
Closed region for the second mobile duration T4 is zero, then first closes region, the second closing region, third closing region and the 4th
The first time closed when region is respectively moved to ambient light sensor corresponding display screen area is respectively (1/4) * Tf、(1/
2)*Tf、(3/4)*TfAnd Tf, corresponding multiple first moment are respectively (1/4) * Tf-Tb2、(1/2)*Tf-Tb2、(3/4)*Tf-Tb2
And Tf-Tb2。
S303: opening and closing ambient light sensor, and the start-up time of ambient light sensor is no earlier than the first moment, environment
The close moment of optical sensor was not later than for the second moment.
After determining the first moment and the second moment, which can open ambient light sensing according to the first moment
Device closes ambient light sensor according to the second moment after the ambient light data of ambient light sensor acquisition a period of time.Than
Such as, the processor of the electronic equipment sends a unlatching letter to ambient light sensor at a certain moment for being no earlier than for the first moment
Number, so that ambient light sensor starts to acquire ambient light data when receiving the open signal, and when being not later than second
The a certain moment carved sends end signal to ambient light sensor, so that ambient light sensor stops when receiving the end signal
Only acquire ambient light data.Later, the processor of the electronic equipment can also be by the collected environment light number of ambient light sensor
According to being cached, and it is adjusted according to backlight illumination of the collected ambient light data to OLED display screen.
Specifically, the electronic equipment can the specified duration inner control loop border light between the first moment and the second moment open
It opens and closes, the start-up time of a length of ambient light sensor to the duration of close moment (adopt by ambient light sensor when this is specified
Collect the duration of ambient light data), which can also be equal to first less than the first moment to the duration at the second moment
The duration at moment to the second moment.Illustratively, which can open ambient light sensor, Yi Ji at the first moment
Second moment closed ambient light sensor, and the specified duration is equal to the duration at the first moment to the second moment at this time;Alternatively, the electricity
A certain moment of the sub- equipment after the first moment opens ambient light sensor, and before the second moment or the second moment
The a certain moment close ambient light sensor, the specified duration is less than the first moment to the duration at the second moment at this time;Alternatively, should
A certain moment of the electronic equipment after the first moment or the first moment opens ambient light sensor, and the second moment it
The preceding a certain moment closes ambient light sensor, and the specified duration is again smaller than the first moment to the duration at the second moment at this time.
It should be noted that the specified duration can be configured in advance, and the specified duration can be configured as one
Fixed numbers (for example, the specified duration can be 200us or 300us etc.), also can be configured as the numerical value of a variation,
The numerical value of the variation can display screen area corresponding with ambient light sensor LED closing duration it is related.
Optionally, ambient light sensor corresponding display when a length of next frame image for refreshing OLED display screen when this is specified
Shield the closing duration of the LED in region.It that is to say, in the first of above-mentioned S302, the display screen area of refreshing closing
LED be the corresponding display screen area of ambient light sensor LED, ambient light sensor corresponding display screen area at this time
The closing duration of LED is exactly the closing duration of the LED for the display screen area that the refreshing is closed, so that the specified duration specifically can be with
The closing duration of the LED for the display screen area closed for the refreshing, for example, the specified duration can for it is above-mentioned it is shown in Fig. 4 should
Refresh the closing duration of the LED for the display screen area closed.
Alternatively, ambient light sensor corresponding display screen area when a length of brightness for adjusting OLED display screen when specified
The closing duration of LED.It that is to say, under the second situation of above-mentioned S302, the LED for the display screen area which closes
For the LED of the corresponding display screen area of ambient light sensor, the pass of the LED of the corresponding display screen area of ambient light sensor at this time
The closing duration that duration is exactly the LED for the display screen area that the brightness regulation is closed is closed, so that the specified duration is specifically as follows
The closing duration of the LED for the display screen area that the brightness regulation is closed, for example, the specified duration can be above-mentioned shown in fig. 5
Four are closed each closing duration for closing region LED in region.
Further, which can also repeatedly open and close ambient light sensor, so that ambient light sensor
Total duration (i.e. acquisition total duration) in the open state meets default acquisition duration, i.e. control ambient light sensor acquires environment
The total duration of light data is the default acquisition duration, when which may include that the single of a frame or multiframe refreshes
Multiple specified durations in length can correspond to one or more specified durations under every frame.By repeatedly opening and closing environment light
Sensor when the acquisition total duration of ambient light sensor being made to meet default acquisition duration, can be improved ambient light sensor acquisition
Ambient light data signal-to-noise ratio, so that the stability of the ambient light data of ambient light sensor acquisition is improved, while to environment
The requirement of the performances such as the sensitivity of optical sensor and sample rate is lower.
For ease of understanding, below with display synchronization signal for TE signal, ambient light sensor is located at OLED display screen most
Top (i.e. above-mentioned first movement duration TS1With the second mobile duration TS2Be zero), the refreshing frequency of the OLED display screen be 60Hz,
Duty cycle adjustment signal can be that frequency is under 240Hz, the brightness of the OLED display screen be respectively compared with low-light level, intermediate light and
For higher brightness, method provided by the embodiments of the present application is illustrated.It is aobvious for OLED compared with low-light level and intermediate light
The two kinds of brightness citing of display screen work in a PWM mode, higher brightness are the one kind of OLED display screen work under non-PWM mode
Brightness citing.
Illustratively, as shown in fig. 6, this method may include: S401. detection TE signal;S402. in response to detecting TE
Signal postpones T at the time of will test the TE signalf-T0, TfIndicate single refresh duration, T0Indicate the first specified duration;
S403. ambient light sensor is opened, the first specified duration T is being passed through0Afterwards, ambient light sensor is closed, i.e. control environment light passes
Sensor is in the first specified duration T0Interior acquisition ambient light data;S404. ambient light data and acquisition total duration are obtained;S405. delay
Dis environment light data;S406. judge to acquire whether total duration reaches default acquisition duration, if acquisition total duration reaches default acquisition
Duration then terminates, and returns to S401 if the not up to default acquisition duration of acquisition total duration and continues to execute.
Based on method provided by above-mentioned Fig. 6, the brightness of the OLED display screen be respectively compared with low-light level, intermediate light and compared with
Working timing figure under high brightness can be as shown in Figure 7.In Fig. 7, at the LED of the corresponding display screen area of ambient light sensor
It is specifically as follows above-mentioned situation shown in Fig. 4 in closed state, ambient light sensor is in single refresh duration T at this timefInside only adopt
Collect a first specified duration T0Ambient light data, the first specified duration T0It can be configured as fixed numbers.Wherein, at this
When the brightness of OLED display screen is compared with low-light level and intermediate light, the first specified duration T0It is corresponding less than ambient light sensor aobvious
The closing duration of the LED in display screen region;When the brightness of the OLED display screen is higher brightness, which is equal to environment light
The closing duration of the LED of the corresponding display screen area of sensor.
Alternatively, as shown in figure 8, this method may include: S501. detection TE signal;S502. whether judge OLED display screen
Work is in PWM mode, if otherwise executing according to S402-S403 provided by Fig. 6 (i.e. according to provided by Fig. 6 under higher brightness
Method executes), if so then execute following S503a and S503b;S503a. in response to detecting TE signal, it will test TE letter
Number at the time of respectively postpone (1/4) * Tf-T0、(1/2)*Tf-T0、(3/4)*Tf-T0And Tf-T0;S503b. ambient light sensing is controlled
Device is respectively in delay (1/4) * Tf-T0、(1/2)*Tf-T0、(3/4)*Tf-T0And Tf-T0The specified duration T of first afterwards0Interior acquisition ring
Border light data;S504. ambient light data and acquisition total duration are obtained;S505. cache environment light data;S506. judgement acquisition is total
Whether duration reaches default acquisition duration, terminates if acquisition total duration reaches default acquisition duration, if acquisition total duration does not reach
S501 is then returned to default acquisition duration to continue to execute.
Based on method provided by above-mentioned Fig. 8, the brightness of the OLED display screen be respectively compared with low-light level, intermediate light and compared with
Working timing figure under high brightness can be as shown in Figure 9.In Fig. 9, when the OLED display screen brightness be compared with low-light level and in
When equal brightness, the LED of the corresponding display screen area of ambient light sensor, which is in close state to be specifically as follows, refers to above-mentioned Fig. 5 institute
The case where showing, ambient light sensor is in single refresh duration T at this timefFour the first specified duration T of interior acquisition0Interior environment light number
According to;When the brightness of the OLED display screen is higher brightness, the LED of the corresponding display screen area of ambient light sensor, which is in, to be closed
State is specifically as follows above-mentioned situation shown in Fig. 4.In addition, the brightness in the OLED display screen is compared with low-light level and intermediate light
When, the first specified duration T0The closing duration of the LED of display screen area corresponding less than ambient light sensor;It is shown in the OLED
When the brightness of screen is higher brightness, the first specified duration T0Specified duration is equal to the corresponding display screen area of ambient light sensor
The closing duration of LED.
Alternatively, as shown in Figure 10, this method may include: S601. detection TE signal;S602. judging OLED display screen is
No work is in PWM mode, if otherwise (being provided under higher brightness according to Fig. 6 according to the execution of S402-S403 provided by Fig. 6
Method execute), if so then execute following S603a and S603b;S603a. in response to detecting TE signal, it will test the TE
Postpone (1/4) * T at the time of signal respectivelyf-T1、(1/2)*Tf-T1、(3/4)*Tf-T1And Tf-T1, TfIndicate single refresh duration,
T1Indicate the second specified duration;S603b. control ambient light sensor is respectively in delay (1/4) * Tf-T1、(1/2)*Tf-T1、(3/
4)*Tf-T1And Tf-T1The specified duration T of second afterwards1Interior acquisition ambient light data;When S604. obtaining ambient light data and acquiring total
It is long;S605. cache environment light data;S606. judge to acquire whether total duration reaches default acquisition duration, if acquisition total duration reaches
Then terminate to default acquisition duration, returns to S601 if the not up to default acquisition duration of acquisition total duration and continue to execute.
Based on method provided by above-mentioned Figure 10, the brightness of the OLED display screen be respectively compared with low-light level, intermediate light and
Working timing figure under higher brightness can be as shown in figure 11.In Figure 11, when the brightness of the OLED display screen is compared with low-light level
When with intermediate light, the LED of the corresponding display screen area of ambient light sensor, which is in close state, is specifically as follows above-mentioned Fig. 5 institute
The case where showing, ambient light sensor is in single refresh duration T at this timefFour the second specified duration T of interior acquisition1Ambient light data;
When the brightness of the OLED display screen is higher brightness, the LED of the corresponding display screen area of ambient light sensor, which is in, closes shape
State is specifically as follows above-mentioned situation shown in Fig. 4.In addition, the brightness in the OLED display screen is respectively compared with low-light level, medium bright
When degree and higher brightness, the second specified duration T1When being equal to the closing of the LED of the corresponding display screen area of ambient light sensor
It is long.
It should be noted that in above-mentioned Fig. 7, Fig. 9 and Figure 11, the brightness of the OLED display screen is compared with low-light level, medium
In brightness and the corresponding timing diagram of higher brightness, low level can indicate the display screen being in close state in the OLED display screen
The LED in region, high level can indicate the LED of display screen area in the open state in the OLED display screen.
In the embodiment of the present application, which determines ambient light sensor pair by detecting display synchronization signal
The LED for the display screen area answered corresponding first moment and second moment when remaining off, thus only in ambient light sensing
The LED of the corresponding display screen area of device acquires ambient light data when remaining off, so as to avoid OLED display screen itself
The influence to collected ambient light data of shining, improve the signal-to-noise ratio of ambient light data;In addition, this method is not necessarily to high property
The ambient light sensor of energy, and the data volume of collected ambient light data can be reduced, it reduces to the data of electronic equipment
Manage Capability Requirement.
The embodiment of the present application also provides a kind of electronic equipment, and the structure of the electronic equipment can be as shown in Figure 1 above, the electricity
The OLED display screen 140 that sub- equipment includes is covered on 151 top of ambient light sensor, such as OLED display screen 140 and environment light
The positional relationship of sensor 151 can be as shown in Figure 2 above.
In the embodiment of the present application, the processor 180 in the electronic equipment can be used for executing following steps: detection display is same
Walk signal;In response to detecting display synchronization signal, determine that the first moment and the second moment, the first moment are ambient light sensor
The close moment of the LED of 151 corresponding display screen areas, the second moment are the corresponding display screen area of ambient light sensor 151
LED start-up time, the first moment, the LED of the corresponding display screen area of ambient light sensor 151 was earlier than the second moment
It is remained off between one moment and the second moment;Ambient light sensor 151 is opened, when the unlatching of ambient light sensor 151
It was no earlier than for the first moment quarter;Ambient light sensor 151 is closed, the close moment of ambient light sensor 151 was not later than for the second moment.
Optionally, processor 180 is specifically used for: according at the time of detecting display synchronization signal and ambient light sensor
151, in the position of OLED display screen 140, determined for the first moment.In addition, processor 180 is specifically also used to: according to the third moment and
Ambient light sensor 151 determined for the first moment in the position of OLED display screen 140;Wherein, the third moment is to detect that display is same
At the time of postponing the first duration at the time of walking signal, the single refresh duration and environment light of the first duration and OLED display screen 140
The closing duration of the LED of the corresponding display screen area of sensor 151 is related.Wherein, the first duration can be OLED display screen 140
Single refresh duration display screen area corresponding with ambient light sensor 151 LED closing duration between difference.
In another embodiment of the application, the closing of the LED of the corresponding display screen area of ambient light sensor 151 is used for
Refresh the next frame image of OLED display screen 140;The pass of the LED of the corresponding display screen area of ambient light sensor 151 and/or
Close the brightness for adjusting OLED display screen 140.
Optionally, between start-up time and close moment when it is a length of refresh OLED display screen 140 next frame image when
The closing duration of the LED of the corresponding display screen area of ambient light sensor 151;Alternatively, between start-up time and close moment
Shi Changwei adjust OLED display screen 140 brightness when the corresponding display screen area of ambient light sensor 151 LED close when
It is long.
Further, processor 180 also particularly useful for: repeatedly open and close ambient light sensor 151 so that environment light
The total duration in the open state of sensor 151 meets default acquisition duration.
It should be noted that processor 180, OLED display screen 140 are corresponding with ambient light sensor in the electronic equipment
Each function description specifically may refer to the description of the related content for each step that above method embodiment is related to, the embodiment of the present application
Details are not described herein.
In the embodiment of the present application, which determines ambient light sensor pair by detecting display synchronization signal
The LED for the display screen area answered corresponding first moment and second moment when remaining off, thus only in ambient light sensing
The LED of the corresponding display screen area of device acquires ambient light data when remaining off, so as to avoid OLED display screen itself
The influence to collected ambient light data of shining, improve the signal-to-noise ratio of ambient light data;In addition, this method is not necessarily to high property
The ambient light sensor of energy, and the data volume of collected ambient light data can be reduced, it reduces to the data of electronic equipment
Manage Capability Requirement.
Finally, it should be noted that described above, the only specific embodiment of the application, but the protection scope of the application is simultaneously
Not limited to this, any change or replacement within the technical scope of the present application should all cover the protection model in the application
Within enclosing.Therefore, the protection scope of the application should be based on the protection scope of the described claims.
Claims (15)
1. a kind of ambient light data acquisition method, which is characterized in that applied to including OLED display screen and ambient light sensor
In electronic equipment, the OLED display screen is covered on above the ambient light sensor, which comprises
Detect display synchronization signal;
In response to detecting the display synchronization signal, determine that the first moment and the second moment, first moment are the ring
The close moment of the LED of the corresponding display screen area of border optical sensor, second moment are corresponding for the ambient light sensor
Display screen area LED start-up time, first moment, the ambient light sensor was corresponding earlier than second moment
The LED of display screen area remained off between first moment and second moment;
Open the ambient light sensor, unlatching ambient light sensor at the time of is no earlier than first moment;
Close the ambient light sensor, closing ambient light sensor at the time of is not later than second moment.
2. the method according to claim 1, wherein determining second moment, comprising:
According at the time of detecting the display synchronization signal and the ambient light sensor is in the position of the OLED display screen,
Determine second moment.
3. method according to claim 1 or 2, which is characterized in that determine second moment, comprising:
According to third moment and the ambient light sensor in the position of the OLED display screen, second moment is determined;
Wherein, the third moment is described the at the time of postponing the first duration at the time of detect the display synchronization signal
The LED's of one duration display screen area corresponding with the single refresh duration of the OLED display screen and the ambient light sensor
It is related to close duration.
4. according to the method described in claim 3, it is characterized in that, the single brush of a length of OLED display screen of described first when
Difference between the closing duration of the LED of new duration display screen area corresponding with the ambient light sensor.
5. method according to claim 1-4, which is characterized in that at first moment and second moment
Between, refresh the image of the OLED display screen.
6. method according to claim 1-4, which is characterized in that at first moment and second moment
Between, adjust the brightness of the OLED display screen.
7. method according to claim 1-6, which is characterized in that the method also includes:
Repeatedly open the ambient light sensor so that ambient light sensor total duration in the open state be greater than it is default
Duration.
8. a kind of electronic equipment, which is characterized in that the electronic equipment includes: processor, OLED display screen and ambient light sensor,
The OLED display screen is covered on above the ambient light sensor, and the processor is for executing following steps:
Detect display synchronization signal;
In response to detecting the display synchronization signal, determine that the first moment and the second moment, first moment are the ring
The start-up time of the LED of the corresponding display screen area of border optical sensor, second moment are corresponding for the ambient light sensor
Display screen area LED close moment, first moment, the ambient light sensor was corresponding earlier than second moment
The LED of display screen area remained off between first moment and second moment;
The ambient light sensor is opened, the start-up time of the ambient light sensor is no earlier than first moment;
The ambient light sensor is closed, the close moment of the ambient light sensor is not later than second moment.
9. electronic equipment according to claim 8, which is characterized in that the processor is specifically used for:
According at the time of detecting the display synchronization signal and the ambient light sensor is in the position of the OLED display screen,
Determine second moment.
10. electronic equipment according to claim 8 or claim 9, which is characterized in that the processor, also particularly useful for:
According to third moment and the ambient light sensor in the position of the OLED display screen, second moment is determined;
Wherein, the third moment is described the at the time of postponing the first duration at the time of detect the display synchronization signal
The LED's of one duration display screen area corresponding with the single refresh duration of the OLED display screen and the ambient light sensor
It is related to close duration.
11. electronic equipment according to claim 10, which is characterized in that a length of OLED display screen when described first
Difference between the closing duration of the LED of single refresh duration display screen area corresponding with the ambient light sensor.
12. according to the described in any item electronic equipments of claim 8-11, which is characterized in that the ambient light sensor is corresponding
The closing of the LED of display screen area is for refreshing the next frame image of the OLED display screen;
And/or the closing of the LED of the corresponding display screen area of the ambient light sensor is for adjusting the OLED display screen
Brightness.
13. according to the described in any item electronic equipments of claim 8-12, which is characterized in that the start-up time and the closing
Between moment when a length of next frame image for refreshing the OLED display screen when the corresponding display screen of the ambient light sensor
The closing duration of the LED in region.
14. according to the described in any item electronic equipments of claim 8-12, which is characterized in that the start-up time and the closing
Between moment when a length of brightness for adjusting the OLED display screen when ambient light sensor corresponding display screen area
The duration that LED is closed.
15. according to the described in any item electronic equipments of claim 8-14, which is characterized in that the processor, also particularly useful for:
The ambient light sensor is repeatedly opened and closed, so that ambient light sensor total duration in the open state is full
The default acquisition duration of foot.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910229473.1A CN110012162B (en) | 2019-03-25 | 2019-03-25 | Ambient light data acquisition method and electronic equipment |
PCT/CN2020/079382 WO2020192455A1 (en) | 2019-03-25 | 2020-03-14 | Ambient light data collection method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910229473.1A CN110012162B (en) | 2019-03-25 | 2019-03-25 | Ambient light data acquisition method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110012162A true CN110012162A (en) | 2019-07-12 |
CN110012162B CN110012162B (en) | 2023-05-19 |
Family
ID=67168058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910229473.1A Active CN110012162B (en) | 2019-03-25 | 2019-03-25 | Ambient light data acquisition method and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110012162B (en) |
WO (1) | WO2020192455A1 (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111263082A (en) * | 2020-03-16 | 2020-06-09 | 维沃移动通信有限公司 | Exposure data acquisition method and electronic equipment |
WO2020192455A1 (en) * | 2019-03-25 | 2020-10-01 | 华为技术有限公司 | Ambient light data collection method and electronic device |
CN112242119A (en) * | 2019-07-16 | 2021-01-19 | 北京小米移动软件有限公司 | Terminal, display parameter control method and device, and storage medium |
CN112687232A (en) * | 2019-10-18 | 2021-04-20 | 北京小米移动软件有限公司 | Dimming method and device of OLED display screen, electronic equipment and storage medium |
CN112991919A (en) * | 2019-12-12 | 2021-06-18 | 北京小米移动软件有限公司 | Electronic device |
CN113190315A (en) * | 2021-04-29 | 2021-07-30 | 安徽华米健康医疗有限公司 | Display refreshing method and device |
CN113257208A (en) * | 2020-02-12 | 2021-08-13 | 北京小米移动软件有限公司 | Ambient brightness detection method, electronic device, detection device and storage medium |
CN113542454A (en) * | 2020-04-13 | 2021-10-22 | 北京小米移动软件有限公司 | Ranging apparatus, ranging signal transmission control method, ranging apparatus, device, and medium |
GB2595569A (en) * | 2020-04-15 | 2021-12-01 | Motorola Mobility Llc | System and method for measuring light sensor output in an electronic device |
CN113870795A (en) * | 2020-06-30 | 2021-12-31 | 北京小米移动软件有限公司 | Pixel driving circuit, display screen assembly, display brightness control method and device |
CN114724509A (en) * | 2022-03-31 | 2022-07-08 | 北京集创北方科技股份有限公司 | Self-luminous display screen correction method and device, electronic equipment and storage medium |
CN114998943A (en) * | 2021-12-24 | 2022-09-02 | 荣耀终端有限公司 | Data acquisition method and electronic equipment |
CN117129085A (en) * | 2023-02-28 | 2023-11-28 | 荣耀终端有限公司 | Ambient light detection method, electronic device and readable storage medium |
WO2024055318A1 (en) * | 2022-09-16 | 2024-03-21 | 京东方科技集团股份有限公司 | Display module and driving method therefor, and display apparatus |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB202017919D0 (en) * | 2020-11-13 | 2020-12-30 | Ams Int Ag | Optical sensing |
CN114566113A (en) * | 2022-02-28 | 2022-05-31 | 维沃移动通信有限公司 | Ambient light detection method, display screen assembly and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107990978A (en) * | 2017-11-22 | 2018-05-04 | 广东欧珀移动通信有限公司 | Environment light detection method, device, storage medium and electronic equipment |
CN109410833A (en) * | 2018-08-29 | 2019-03-01 | 北京小米移动软件有限公司 | Environment light detection method, device, terminal and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2043081A3 (en) * | 2007-09-27 | 2010-04-14 | TPO Displays Corp. | Display devices with ambient light sensing |
US9024530B2 (en) * | 2012-11-13 | 2015-05-05 | Apple Inc. | Synchronized ambient light sensor and display |
CN107979698B (en) * | 2017-11-22 | 2020-05-12 | Oppo广东移动通信有限公司 | Ambient light intensity detection method and device, storage medium and electronic equipment |
CN108769358A (en) * | 2018-03-28 | 2018-11-06 | 广东欧珀移动通信有限公司 | Control method, control device, electronic device, storage medium and computer equipment |
CN108924316A (en) * | 2018-08-23 | 2018-11-30 | 深圳市万普拉斯科技有限公司 | Shield lower light sensation detection method, device, mobile terminal and computer storage medium |
CN110012162B (en) * | 2019-03-25 | 2023-05-19 | 华为技术有限公司 | Ambient light data acquisition method and electronic equipment |
-
2019
- 2019-03-25 CN CN201910229473.1A patent/CN110012162B/en active Active
-
2020
- 2020-03-14 WO PCT/CN2020/079382 patent/WO2020192455A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107990978A (en) * | 2017-11-22 | 2018-05-04 | 广东欧珀移动通信有限公司 | Environment light detection method, device, storage medium and electronic equipment |
CN109410833A (en) * | 2018-08-29 | 2019-03-01 | 北京小米移动软件有限公司 | Environment light detection method, device, terminal and storage medium |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020192455A1 (en) * | 2019-03-25 | 2020-10-01 | 华为技术有限公司 | Ambient light data collection method and electronic device |
CN112242119A (en) * | 2019-07-16 | 2021-01-19 | 北京小米移动软件有限公司 | Terminal, display parameter control method and device, and storage medium |
CN112687232B (en) * | 2019-10-18 | 2022-06-10 | 北京小米移动软件有限公司 | Dimming method and device of OLED display screen, electronic equipment and storage medium |
CN112687232A (en) * | 2019-10-18 | 2021-04-20 | 北京小米移动软件有限公司 | Dimming method and device of OLED display screen, electronic equipment and storage medium |
CN112991919B (en) * | 2019-12-12 | 2023-02-28 | 北京小米移动软件有限公司 | Electronic device |
CN112991919A (en) * | 2019-12-12 | 2021-06-18 | 北京小米移动软件有限公司 | Electronic device |
CN113257208A (en) * | 2020-02-12 | 2021-08-13 | 北京小米移动软件有限公司 | Ambient brightness detection method, electronic device, detection device and storage medium |
CN113257208B (en) * | 2020-02-12 | 2022-06-24 | 北京小米移动软件有限公司 | Ambient brightness detection method, electronic device, detection device and storage medium |
WO2021185115A1 (en) * | 2020-03-16 | 2021-09-23 | 维沃移动通信有限公司 | Exposure data acquisition method and electronic device |
CN111263082A (en) * | 2020-03-16 | 2020-06-09 | 维沃移动通信有限公司 | Exposure data acquisition method and electronic equipment |
JP2023516053A (en) * | 2020-03-16 | 2023-04-17 | 維沃移動通信有限公司 | Exposure data acquisition method, electronic device and computer readable storage medium |
CN111263082B (en) * | 2020-03-16 | 2021-12-14 | 维沃移动通信(杭州)有限公司 | Exposure data acquisition method and electronic equipment |
CN113542454B (en) * | 2020-04-13 | 2024-01-30 | 北京小米移动软件有限公司 | Ranging device, ranging signal emission control method, device, equipment and medium |
CN113542454A (en) * | 2020-04-13 | 2021-10-22 | 北京小米移动软件有限公司 | Ranging apparatus, ranging signal transmission control method, ranging apparatus, device, and medium |
GB2595569A (en) * | 2020-04-15 | 2021-12-01 | Motorola Mobility Llc | System and method for measuring light sensor output in an electronic device |
GB2595569B (en) * | 2020-04-15 | 2023-02-01 | Motorola Mobility Llc | System and method for measuring light sensor output in an electronic device |
CN113870795A (en) * | 2020-06-30 | 2021-12-31 | 北京小米移动软件有限公司 | Pixel driving circuit, display screen assembly, display brightness control method and device |
CN113190315A (en) * | 2021-04-29 | 2021-07-30 | 安徽华米健康医疗有限公司 | Display refreshing method and device |
CN113190315B (en) * | 2021-04-29 | 2022-11-25 | 安徽华米健康医疗有限公司 | Display refreshing method and device |
CN114998943A (en) * | 2021-12-24 | 2022-09-02 | 荣耀终端有限公司 | Data acquisition method and electronic equipment |
CN114724509A (en) * | 2022-03-31 | 2022-07-08 | 北京集创北方科技股份有限公司 | Self-luminous display screen correction method and device, electronic equipment and storage medium |
CN114724509B (en) * | 2022-03-31 | 2024-02-27 | 北京集创北方科技股份有限公司 | Self-luminous display screen correction method and device, electronic equipment and storage medium |
WO2024055318A1 (en) * | 2022-09-16 | 2024-03-21 | 京东方科技集团股份有限公司 | Display module and driving method therefor, and display apparatus |
CN117129085A (en) * | 2023-02-28 | 2023-11-28 | 荣耀终端有限公司 | Ambient light detection method, electronic device and readable storage medium |
CN117129085B (en) * | 2023-02-28 | 2024-05-31 | 荣耀终端有限公司 | Ambient light detection method, electronic device and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020192455A1 (en) | 2020-10-01 |
CN110012162B (en) | 2023-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110012162A (en) | A kind of ambient light data acquisition method and electronic equipment | |
CN101179789B (en) | Backlight brightness self-adjusting mobile phone and implementing method thereof | |
WO2021068870A1 (en) | Key structure, key control method, and electronic device | |
JP2006211655A (en) | Cellular phone and method of illuminating cellular phone component | |
CN109151180A (en) | A kind of object identifying method and mobile terminal | |
CN108429888B (en) | Light supplementing method and mobile terminal | |
CN107422876B (en) | A kind of control method of proximity sensor, device, storage medium and mobile terminal | |
CN109643203A (en) | A kind of double screen terminal lights the method and terminal of screen | |
CN108989668A (en) | A kind of working method and mobile terminal of camera | |
CN109938720A (en) | Based reminding method, wearable device and computer readable storage medium based on heart rate | |
CN107256068B (en) | The acquisition method and Related product of fingerprint | |
US8717443B2 (en) | Method and system for testing temporal latency in device having optical sensing component and touch-sensitive display component | |
CN108762814A (en) | Bright screen method and relevant device | |
CN109068378A (en) | The method, apparatus of mobile terminal and control mobile terminal breath screen | |
WO2017202076A1 (en) | Terminal management method and device | |
CN109496116A (en) | Heat dissipating method, mobile terminal and the computer readable storage medium of mobile terminal | |
CN109088961B (en) | Sensor control circuit and electronic device | |
CN110099174A (en) | Charging instruction lamp control method, wearable device and computer readable storage medium | |
CN108989570A (en) | Mobile terminal and the method, apparatus for determining screen starting brightness value | |
CN108966323A (en) | A kind of bright screen control method and device, terminal | |
CN109819506A (en) | Method for intelligent connection, wearable device and computer readable storage medium | |
CN109088973A (en) | A kind of method of controlling antenna, device and mobile terminal | |
CN108900708A (en) | Application method, mobile terminal and the readable storage medium storing program for executing of flashlight | |
WO2022105830A1 (en) | Sleep evaluation method, electronic device, and storage medium | |
CN110461031A (en) | The control method and terminal device of terminal device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |