CN108737652A - Luminance control method for display screen, device, storage medium and electronic equipment - Google Patents
Luminance control method for display screen, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108737652A CN108737652A CN201810451051.4A CN201810451051A CN108737652A CN 108737652 A CN108737652 A CN 108737652A CN 201810451051 A CN201810451051 A CN 201810451051A CN 108737652 A CN108737652 A CN 108737652A
- Authority
- CN
- China
- Prior art keywords
- display screen
- distance
- state
- electronic equipment
- 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
Classifications
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/22—Illumination; Arrangements for improving the visibility of characters on dials
-
- 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
Abstract
A kind of luminance control method for display screen of the embodiment of the present application offer, device, storage medium and electronic equipment, the luminance control method for display screen include:When display screen is in transverse screen display pattern or the electronic equipment running game or the electronic equipment plays multimedia, controls the display screen and show an at least frame pre-set image;Obtain the distance value that range sensor detects;Determine that the distance between the display screen and external object state, the distance state include proximity state and separate state according to the distance value;The brightness of the display screen is controlled according to the distance state.In the luminance control method for display screen, electronic equipment can be according to the distance between display screen and external object state come the brightness of control display screen, it avoids improperly adjusting brightness of display screen in the case where display screen is blocked, to improve the accuracy of brightness of display screen adjusting.
Description
Technical field
This application involves electronic technology field, more particularly to a kind of luminance control method for display screen, device, storage medium and
Electronic equipment.
Background technology
With the development of electronic technology, the function of the electronic equipments such as smart mobile phone is more and more abundant.User uses electricity
The time of sub- equipment is also increasingly longer.It, can be according to the change of ambient brightness in order to improve the comfort level that user uses electronic equipment
The brightness of electronic equipment display screen is adjusted in change.
Currently, electronic equipment detects ambient brightness by built-in ambient light sensor.But work as ambient light sensor
When being blocked, such as when electronic equipment is under transverse screen state, when user's hands grasping electronic equipment, the environment in electronic equipment
Optical sensor can be blocked by user's hand, and the ambient brightness that ambient light sensor detects at this time is inaccurate, so as to cause to aobvious
The adjusting of display screen brightness is inaccurate.
Invention content
A kind of luminance control method for display screen of the embodiment of the present application offer, device, storage medium and electronic equipment, Ke Yiti
The accuracy that high brightness of display screen is adjusted.
The embodiment of the present application provides a kind of luminance control method for display screen, is applied to electronic equipment, the electronic equipment packet
Display screen and range sensor are included, the display screen includes display area, and the range sensor is arranged in the display screen
Below display area, the luminance control method for display screen includes:
When the display screen is in transverse screen display pattern or the electronic equipment running game or electronic equipment broadcasting
When multimedia, controls the display screen and show an at least frame pre-set image;
The distance value that the range sensor detects is obtained, the distance value is between the display screen and external object
Distance;
Determine that the distance between the display screen and external object state, the distance state include according to the distance value
Proximity state and separate state;
The brightness of the display screen is controlled according to the distance state.
The embodiment of the present application also provides a kind of brightness of display screen control device, is applied to electronic equipment, the electronic equipment
Including display screen and range sensor, the display screen includes display area, and the range sensor is arranged in the display screen
Display area below, the brightness of display screen control device includes:
Display control module, for when the display screen be in transverse screen display pattern or the electronic equipment running game or
When the electronic equipment plays multimedia, controls the display screen and show an at least frame pre-set image;
Acquisition module, the distance value detected for obtaining the range sensor, the distance value are the display screen
The distance between external object;
Determining module, for determining the distance between the display screen and external object state, institute according to the distance value
It includes proximity state and separate state to state distance state;
Brightness control module, the brightness for controlling the display screen according to the distance state.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described
When computer program is run on computers so that the computer executes above-mentioned luminance control method for display screen.
The embodiment of the present application also provides a kind of electronic equipment, including display screen, range sensor, processor and storage
Device, the display screen, range sensor, memory are coupled with the processor respectively;
It is stored with computer program in the memory, the processor is by described in calling and being stored in the memory
Computer program, for executing following steps:
When the display screen is in transverse screen display pattern or the electronic equipment running game or electronic equipment broadcasting
When multimedia, controls the display screen and show an at least frame pre-set image;
The distance value that the range sensor detects is obtained, the distance value is between the display screen and external object
Distance;
Determine that the distance between the display screen and external object state, the distance state include according to the distance value
Proximity state and separate state;
The brightness of the display screen is controlled according to the distance state.
Luminance control method for display screen provided by the embodiments of the present application, including:When display screen be in transverse screen display pattern or
When electronic equipment running game or electronic equipment play multimedia, controls the display screen and show an at least frame pre-set image;It obtains
Take the distance value that range sensor detects;The distance between the display screen and external object shape are determined according to the distance value
State, the distance state include proximity state and separate state;The brightness of the display screen is controlled according to the distance state.Institute
It states in luminance control method for display screen, electronic equipment can control aobvious according to the distance between display screen and external object state
The brightness of display screen avoids improperly adjusting brightness of display screen in the case where display screen is blocked, to improve display
Shield the accuracy of brightness regulation.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described.It should be evident that the accompanying drawings in the following description is only some embodiments of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 2 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 3 is the flow diagram of luminance control method for display screen provided by the embodiments of the present application.
Fig. 4 is another flow diagram of luminance control method for display screen provided by the embodiments of the present application.
Fig. 5 is the part flow diagram of luminance control method for display screen provided by the embodiments of the present application.
Fig. 6 is another part flow diagram of luminance control method for display screen provided by the embodiments of the present application.
Fig. 7 is the another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 8 is the application scenarios schematic diagram of luminance control method for display screen provided by the embodiments of the present application.
Fig. 9 is the structural schematic diagram of brightness of display screen control device provided by the embodiments of the present application.
Figure 10 is another structural schematic diagram of brightness of display screen control device provided by the embodiments of the present application.
Figure 11 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 12 is the structural schematic diagram another again of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, the every other implementation that those skilled in the art are obtained under the premise of not making the creative labor
Example, belongs to the protection domain of the application.
Term " first ", " second ", " third " in the description and claims of this application and above-mentioned attached drawing etc.
(if present) is for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that this
The object of sample description can be interchanged in the appropriate case.In addition, term " comprising " and " having " and their any deformation, meaning
Figure, which is to cover, non-exclusive includes.For example, containing the process of series of steps, method or containing a series of modules or list
The device of member, electronic equipment, system those of are not necessarily limited to clearly to list step or module or unit, can also include not having
The step of clearly listing or module or unit can also include for these processes, method, apparatus, electronic equipment or system
Intrinsic other steps or module or unit.
With reference to figure 1, Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.The electronic equipment can be with
It is the equipment such as smart mobile phone, tablet computer.Electronic equipment 100 includes display screen 10, center 20, circuit board 30, battery 40, rear cover
50 and range sensor 60.
Wherein, display screen 10 is mounted on rear cover 50, to form the display surface of electronic equipment 100.Display screen 10 is as electricity
The front housing of sub- equipment 100 forms a receiving space, other electronic components or work(for accommodating electronic equipment 100 with rear cover 50
It can component.Meanwhile display screen 10 forms the display surface of electronic equipment 100, for showing the information such as image, text.Display screen 10
Can be liquid crystal display (Liquid Crystal Display, LCD) or organic light-emitting diode (OLED) display screen (Organic
Light-Emitting Diode, OLED) etc. types display screen.
In some embodiments, glass cover-plate can be provided on display screen 10.Wherein, glass cover-plate can cover display
Screen 10, to be protected to display screen 10, prevents display screen 10 to be scraped off or by Water Damage.
In some embodiments, as shown in Figure 1, display screen 10 may include display area 11 and non-display area 12.
Wherein, display area 11 executes the display function of display screen 10, for showing the information such as image, text.Non-display area 12 can
For functional units such as setting camera, receiver, display screen touch control electrodes.In some embodiments, non-display area 12
May include positioned at least one region of 11 upper and lower part of display area.
In some embodiments, as shown in Fig. 2, display screen 10 can be to shield comprehensively.At this point, display screen 10 can be with full frame aobvious
Show information, to which electronic equipment 100 has larger screen accounting.Display screen 10 only includes display area 11, without including non-aobvious
Show region, or the area of non-display area for a user is smaller.At this point, the camera, ambient light in electronic equipment 100 pass
The functional units such as sensor can be hidden in 10 lower section of display screen, and the fingerprint recognition module of electronic equipment 100 can be arranged in electricity
The back side of sub- equipment 100.
Center 20 can be lamellar or laminar structure, or hollow frame structure.Wherein, center 20 can
To be housed in the receiving space that above-mentioned display screen 10 is formed with rear cover 50.Center 20 is used for as the electronics in electronic equipment 100
Element or functional unit provide a supporting role, and electronic component, the functional unit in electronic equipment are mounted together.For example,
The functional units such as camera, receiver, circuit board, battery in electronic equipment can be installed on center 20 to be consolidated
It is fixed.In some embodiments, the material of center 20 may include metal or plastic cement.
Circuit board 30 is mounted on inside above-mentioned receiving space.For example, circuit board 30 may be mounted on the center 20, and
It is housed in together in above-mentioned receiving space with center 20.Circuit board 30 can be the mainboard of electronic equipment 100.It is set on circuit board 30
It is equipped with earth point, to realize the ground connection of circuit board 30.Motor, microphone, loud speaker, called can be integrated on circuit board 30
Device, earphone interface, Universal Serial Bus Interface (USB interface), camera, range sensor, ambient light sensor, gyroscope with
And one in the functional units such as processor, it is two or more.Meanwhile display screen 10 can be electrically connected to circuit board 30.
In some embodiments, it is provided with display control circuit on circuit board 30.The display control circuit is to display screen
10 output electric signals, information is shown with control display screen 10.
Battery 40 is mounted on inside above-mentioned receiving space.For example, battery 40 may be mounted on the center 20, and in
Frame 20 is housed in together in above-mentioned receiving space.Battery 40 can be electrically connected to the circuit board 30, to realize that battery 40 is electricity
Sub- equipment 100 is powered.Wherein, electric power management circuit can be provided on circuit board 30.The electric power management circuit is used for will be electric
The voltage that pond 40 provides is assigned to each electronic component in electronic equipment 100.
Rear cover 50 is used to form the exterior contour of electronic equipment 100.Rear cover 50 can be integrally formed.In the molding of rear cover 50
In the process, the structures such as rear camera hole, fingerprint recognition module mounting hole can be formed on rear cover 50.
Range sensor 60 can be arranged on circuit board 30.Range sensor 60 is for detecting display screen 10 and external object
The distance between body (such as user face, hand etc.).In the embodiment of the present application, the range sensor 60 is arranged described
11 lower section of display area of display screen 10, range sensor 60 and display screen 10 are independent of each other at this time.That is, the distance
Sensor 60 is hidden in 11 lower section of display area of the display screen 10.From the external observation of electronic equipment 100 when, the distance
Sensor 60 is sightless.In some embodiments, the range sensor 60 can also be integrated in the display screen 10
Inside display area 11, range sensor 60 and display screen 10 are integrated into an entirety at this time, such as range sensor 60 can be with
Gap location between the pixel of display screen 10 is set.
Wherein, the range sensor 60 can be infrared sensor.The range sensor 60 includes infrared emitting
Device and infrared receiver.RF transmitter outwardly emits infrared ray through the display area 11 of the display screen 10.It is red
Outer line receiver receives external object (such as user face, hand etc.) reflected infrared ray.To electronic equipment 100
The distance between the display screen 10 and external object can be judged according to the intensity of the infrared ray received.
The embodiment of the present application provides a kind of luminance control method for display screen, and the luminance control method for display screen can be applied
In above-mentioned electronic equipment 100.As shown in figure 3, the luminance control method for display screen, may comprise steps of:
110, when display screen is in transverse screen display pattern, controls the display screen and show an at least frame pre-set image.
Wherein, the display screen of electronic equipment has transverse screen display pattern and vertical screen display pattern.It should be understood that electronics is set
Standby display screen includes long side and short side.Transverse screen display pattern is the top that long side is located at display information when showing on-screen-display message
End and bottom end, and short side is located at the both sides of display information.Short side is located at aobvious when vertical screen display pattern is display on-screen-display message
Show the top and bottom end of information, and long side is located at the both sides of display information.For example, electronic equipment is in the full frame game of operation or entirely
When screen plays video, the display screen of electronic equipment can be in transverse screen state.
Angular-rate sensor and gravity sensor can be set in electronic equipment.Wherein, angular-rate sensor is also referred to as top
Spiral shell instrument.Gravity sensor is also referred to as acceleration transducer.Electronic equipment can obtain the number that angular-rate sensor detects in real time
According to the data detected with gravity sensor, to judge that the display screen of electronic equipment is in transverse screen display pattern or vertical screen display
Pattern.
When the display screen of electronic equipment is in transverse screen display pattern, electronic equipment controls the display screen and shows at least one
Frame pre-set image.Wherein, the pre-set image is the image pre-set in the electronic device.The pre-set image be color compared with
Deep solid-color image.As red (Red) ingredient of solid-color image, green (Green) ingredient, blue (Blue) fractional value are identical
Image.For example, the pre-set image can be ater image or the pre-set image may be gray image.
It should be understood that since the range sensor in electronic equipment is arranged below the display area of display screen, when aobvious
Show that the detection data for the sensor that can adjust the distance when on-screen-display message impacts.When display screen shows different colours, display screen meeting
Outwardly emit the light of different wave length.Part infrared ray is contained in the light of display screen transmitting.The color that display screen is shown
Brighter, the infrared ray ingredient for including in the light of display screen transmitting is more.The color that display screen is shown is darker, display screen transmitting
Light in include infrared ray ingredient it is fewer.Therefore, the information color that display screen is shown is brighter, and sensor of adjusting the distance causes
Interference it is bigger;The information color that display screen is shown is darker, and interference is smaller caused by sensor of adjusting the distance.Wherein, screen display is shown
When showing black color image, interfere minimum, the data that range sensor detects most accurate caused by sensor of adjusting the distance.
On the other hand, display screen shows that the time of a frame image is very short, and for example, several milliseconds, user will not discover, to
The use of user will not be impacted.In addition, electronic equipment control display screen shows that the frame number of pre-set image may be 3
Frame, 5 frames etc., as long as will not be impacted to the use of user.
In some embodiments, when electronic equipment running game or electronic equipment play multimedia, electronic equipment
The display screen can be controlled and show an at least frame pre-set image.Wherein, when electronic equipment running game, game content can be complete
Screen display, can also be only in the part display of display screen.When electronic equipment plays multimedia, multimedia content can be with full frame aobvious
Show, can also be only in the part display of display screen, the multimedia is such as can be video, picture, PowerPoint.
120, obtain the distance value that range sensor detects.
When electronic equipment control display screen shows the pre-set image, electronic equipment obtains range sensor at this time and detects
Distance value.The distance value is the distance between display screen and external object (such as user face, hand etc.).At this time by
It is deeper in the pre-set image color that display screen is shown, influence very little caused by the detection data of sensor of adjusting the distance.It therefore, can be with
Think that the distance value that range sensor detects at this time is accurate.
In some embodiments, electronic equipment can repeatedly obtain the distance value that range sensor detects, and calculate more
The average value being calculated is determined as the distance between display screen and external object by the average value of the secondary distance value got.
It should be understood that repeatedly obtaining the distance value that range sensor detects and calculating average value, distance can be reduced
Error in sensor senses process.
130, the distance between the display screen and external object state, the distance state are determined according to the distance value
Including proximity state and far from state.
After electronic equipment gets the distance value that range sensor detects, it can be determined according to the distance value described aobvious
The distance between display screen and external object (such as user face, hand etc.) state.The distance state include proximity state and
Far from state.
Wherein, proximity state indicates that the distance between external object and display screen are close, and light at display screen can be by
The influence of external object, the range sensor is in the state blocked by external object at this time.For example, when display screen transverse screen is aobvious
When showing information, user's hands grasping electronic equipment, at this time user's hand can block the light at display screen, range sensor also can
It is blocked by user's hand.
The distance between external object and display screen are indicated far from state farther out, and the light at display screen will not be by the external world
The influence of object, at this time the range sensor do not blocked by external object.
140, the brightness of the display screen is controlled according to the distance state.
After electronic equipment determines the distance between display screen and external object state, according to distance state control
The brightness of display screen.To which whether, electronic equipment can block the brightness come control display screen according to display screen by external object,
It avoids improperly adjusting brightness of display screen in the case where display screen is blocked, to improve brightness of display screen adjusting
Accuracy.
In some embodiments, with reference to figure 7, Fig. 7 is that another structure of electronic equipment 100 provided by the embodiments of the present application is shown
It is intended to.Wherein, the display area 11 of display screen 10 includes predeterminable area 13.The predeterminable area 13 is to be set in advance on display screen 10
The region set.The shape of the predeterminable area 13 can be rectangle, circle, triangle or irregular shape etc..It is described
Orthographic projection of the range sensor 60 on the display screen 10 is located at the predeterminable area 13.That is, the range sensor 60
It is arranged below the predeterminable area 13 of display screen 10.
In the present embodiment, with reference to Fig. 4, above-mentioned steps 110, when display screen is in transverse screen display pattern, control
The display screen shows an at least frame pre-set image, includes the following steps:
111, when display screen is in transverse screen display pattern, the predeterminable area for controlling the display screen shows that at least a frame is pre-
If image.
It should be understood that since orthographic projection of the range sensor 60 on the display screen 10 is located at the preset areas
Domain 13 namely the range sensor 60 are arranged below the predeterminable area 13 of display screen 10, to the predeterminable area
13 detection datas that sensor 60 can be adjusted the distance when showing information impact, and when the display information of other regions of display screen 10
The sensor 60 that will not adjust the distance impacts.
Therefore, electronic equipment 100 only needs the predeterminable area 13 for controlling the display screen 10 to show that an at least frame is pre-
If image, influenced caused by reduce the detection data of sensor 60 of adjusting the distance when display screen 10 shows information.At this point, aobvious
Other regions of display screen 10 can normally show that information, such as other regions of display screen 10 can show game information, video
Information etc..
It should be understood that the predeterminable area 13 that electronic equipment 100 controls the display screen 10 shows the default figure
The frame number of picture may be 3 frames, 5 frames etc., as long as will not be impacted to the use of user.
In some embodiments, when electronic equipment running game or electronic equipment play multimedia, electronic equipment
The predeterminable area that the display screen can be controlled shows an at least frame pre-set image.
In some embodiments, as shown in figure 4, step 130, according to the distance value determining the display screen and foreign objects
The distance between body state, the distance state include proximity state and separate state, are included the following steps:
131, the distance value is compared with pre-determined distance threshold value, with the determination distance value and the pre-determined distance
Magnitude relationship between threshold value;
132, if the distance value is less than the pre-determined distance threshold value, it is determined that between the display screen and external object
In proximity state;
133, if the distance value is greater than or equal to the pre-determined distance threshold value, it is determined that the display screen and external object
Between in far from state.
It, can be by the distance value and pre-determined distance threshold after electronic equipment gets the distance value that range sensor detects
Value is compared, with the magnitude relationship between the determination distance value and the pre-determined distance threshold value.Wherein, pre-determined distance threshold value
Can be a pre-set distance values in electronic equipment.For example, pre-determined distance threshold value is 2cm (centimetre).It is described default
Distance threshold indicate electronic equipment display screen blocked by external object and not by external object block between line of demarcation.
Wherein, if the distance value is less than the pre-determined distance threshold value, it is determined that between the display screen and external object
In proximity state.For example, the distance value is 1cm, the pre-determined distance threshold value is 2cm, then the distance value is less than described
Pre-determined distance threshold value.At this point, electronic equipment, which determines, is in proximity state, i.e., the described display between the display screen and external object
Screen is blocked by external object.
If the distance value is greater than or equal to the pre-determined distance threshold value, it is determined that between the display screen and external object
In far from state.For example, the distance value is 5cm, the pre-determined distance threshold value is 2cm, then the distance value is more than described
Pre-determined distance threshold value.At this point, electronic equipment determines between the display screen and external object in far from state, i.e., the described display
Screen is not blocked by external object.
In some embodiments, as shown in figure 4, step 140, according to the distance state controlling the bright of the display screen
Degree, includes the following steps:
141, when the distance state is proximity state, the brightness for controlling the display screen remains unchanged;
142, when the distance state is far from state, the brightness of the display screen is adjusted according to ambient light intensity
Section.
Wherein, when the distance state that electronic equipment determines is the display screen of proximity state namely electronic equipment by foreign objects
When body blocks, electronic equipment can lock the brightness of display screen, and the brightness to control the display screen remains unchanged.Thus can
The brightness of display screen is improperly adjusted to avoid in the case where display screen is blocked.
When the distance state that electronic equipment determines is that the display screen far from state namely electronic equipment is not hidden by external object
When gear, electronic equipment can obtain the ambient light intensity at display screen, and be carried out to the brightness of display screen according to ambient light intensity
It adjusts.
In some embodiments, as shown in figure 5, step 142, when the distance state be far from state when, according to environment
The brightness of the display screen is adjusted in luminous intensity, includes the following steps:
1421, when the distance state is far from state, first environment light intensity value and second environment light are obtained successively
Intensity value;
1422, according to the magnitude relationship of the second environment light intensity value and first environment light intensity value to the display screen
Brightness be adjusted.
Wherein, ambient light sensor can be provided in electronic equipment, the ambient light sensor can be integrated in electronics
On the circuit board of equipment.The ambient light sensor is for detecting ambient light intensity.The ambient light sensor can be arranged
The non-display area of display screen or the ambient light sensor can also be arranged as range sensor in the aobvious of display screen
Show below region.The application does not limit the installation position of electronic equipment ambient light sensor.
When the distance between display screen and external object state are far from state, electronic equipment can pass through the environment
Optical sensor obtains first environment light intensity value and second environment light intensity value successively.Wherein, electronic equipment obtains environment first
The first environment light intensity value that optical sensor detects then obtains the second environment light intensity that ambient light sensor detects again
Angle value.
It should be understood that ambient light sensor can only detect an environmental light intensity angle value in synchronization.Therefore, electronics is set
Standby obtain between first environment light intensity value and acquisition second environment light intensity value has the time difference.The time difference for example can be with
For 50ms (millisecond), 500ms etc..
To which the second environment light intensity value, the magnitude relationship of first environment light intensity value have reacted ambient light intensity
Variation.Electronic equipment can be according to the magnitude relationship of the second environment light intensity value and first environment light intensity value to described
The brightness of display screen is adjusted, namely the brightness of display screen is adjusted according to the variation of ambient light intensity.
In some embodiments, as shown in fig. 6, step 1422, according to the second environment light intensity value and first environment
The brightness of the display screen is adjusted in the magnitude relationship of light intensity value, includes the following steps:
14221, when the second environment light intensity value is more than the first environment light intensity value, control the display screen
Increase brightness;
14222, when the second environment light intensity value is equal to the first environment light intensity value, control the display screen
Brightness remain unchanged;
14223, when the second environment light intensity value is less than the first environment light intensity value, control the display screen
Reduce brightness.
Wherein, electronic equipment can be by the size of the second environment light intensity value and the first environment light intensity value
Size is compared.
When the second environment light intensity value is more than the first environment light intensity value, indicate that ambient light intensity is increasing
By force.At this point, electronic equipment, which controls the display screen, increases brightness.For example, second environment light intensity value is 150, first environment light
Intensity value is 120, then electronic equipment control display screen increases brightness.
When the second environment light intensity value is equal to the first environment light intensity value, indicate that ambient light intensity is not sent out
Changing.At this point, the brightness that electronic equipment controls the display screen remains unchanged.
When the second environment light intensity value is less than the first environment light intensity value, indicate that ambient light intensity is subtracting
It is weak.At this point, electronic equipment, which controls the display screen, reduces brightness.For example, second environment luminous intensity is 120, first environment light intensity
Degree is 150, then electronic equipment control display screen reduces brightness.For example, as shown in figure 8, the brightness of display screen is reduced to by 80
60。
When it is implemented, the application is not limited by the execution sequence of described each step, conflict is not being generated
In the case of, certain steps can also use other sequences to carry out or be carried out at the same time.
From the foregoing, it will be observed that luminance control method for display screen provided by the embodiments of the present application, including:When display screen is aobvious in transverse screen
When showing that pattern or the electronic equipment running game or the electronic equipment play multimedia, controls the display screen and show at least
One frame pre-set image;Obtain the distance value that range sensor detects;The display screen and the external world are determined according to the distance value
The distance between object state, the distance state include proximity state and separate state;Institute is controlled according to the distance state
State the brightness of display screen.In the luminance control method for display screen, electronic equipment can be according between display screen and external object
Distance state carry out the brightness of control display screen, avoid carrying out improperly brightness of display screen in the case where display screen is blocked
It adjusts, to improve the accuracy of brightness of display screen adjusting.
The embodiment of the present application also provides a kind of brightness of display screen control device, and the brightness of display screen control device can collect
At in above-mentioned electronic equipment 100.
As shown in figure 9, brightness of display screen control device 200 may include:Display control module 201, acquisition module 202,
Determining module 203, brightness control module 204.
Display control module 201, for when display screen is in transverse screen display pattern, controlling the display screen and showing at least
One frame pre-set image.
Wherein, the display screen of electronic equipment has transverse screen display pattern and vertical screen display pattern.It should be understood that electronics is set
Standby display screen includes long side and short side.Transverse screen display pattern is the top that long side is located at display information when showing on-screen-display message
End and bottom end, and short side is located at the both sides of display information.Short side is located at aobvious when vertical screen display pattern is display on-screen-display message
Show the top and bottom end of information, and long side is located at the both sides of display information.For example, electronic equipment is in the full frame game of operation or entirely
When screen plays video, the display screen of electronic equipment can be in transverse screen state.
Angular-rate sensor and gravity sensor can be set in electronic equipment.Wherein, angular-rate sensor is also referred to as top
Spiral shell instrument.Gravity sensor is also referred to as acceleration transducer.Display control module 201 can obtain angular-rate sensor detection in real time
To the data that detect of data and gravity sensor, still erected to judge that the display screen of electronic equipment is in transverse screen display pattern
Shield display pattern.
When the display screen of electronic equipment is in transverse screen display pattern, display control module 201 controls the display screen display
Show an at least frame pre-set image.Wherein, the pre-set image is the image pre-set in the electronic device.The pre-set image
For the deeper solid-color image of color.Solid-color image is red (Red) ingredient, green (Green) ingredient, blue (Blue) ingredient
The identical image of numerical value.For example, the pre-set image can be ater image or the pre-set image may be grey
Image.
It should be understood that since the range sensor in electronic equipment is arranged below the display area of display screen, when aobvious
Show that the detection data for the sensor that can adjust the distance when on-screen-display message impacts.The information color that display screen is shown is brighter, right
It is interfered caused by range sensor bigger;The information color that display screen is shown is darker, and interference is smaller caused by sensor of adjusting the distance.
Wherein, minimum, the data that range sensor detects are interfered when display screen shows black color image, caused by sensor of adjusting the distance
It is most accurate.
On the other hand, display screen shows that the time of a frame image is very short, and for example, several milliseconds, user will not discover, to
The use of user will not be impacted.In addition, 201 control display screen of display control module shows that the frame number of pre-set image also may be used
3 frames, 5 frames etc. are thought, as long as will not be impacted to the use of user.
In some embodiments, when electronic equipment running game or electronic equipment play multimedia, display control mould
Block 201 can also control the display screen and show an at least frame pre-set image.Wherein, when electronic equipment running game, in game
Appearance can be displayed in full screen, can also be only in the part display of display screen.When electronic equipment plays multimedia, multimedia content can
, can also be only in the part display of display screen with full screen display, the multimedia for example can be video, picture, demonstration text
Original text etc..
Acquisition module 202, the distance value detected for obtaining range sensor.
Wherein, when 201 control display screen of display control module shows the pre-set image, acquisition module 202 obtains at this time
The distance value that range sensor detects.The distance value is display screen and external object (such as user face, hand etc.)
The distance between.The pre-set image color shown at this time due to display screen is deeper, caused by the detection data of sensor of adjusting the distance
Influence very little.It is therefore contemplated that the distance value that range sensor detects at this time is accurate.
In some embodiments, acquisition module 202 can repeatedly obtain the distance value that range sensor detects, and calculate
The average value of the distance value repeatedly got, by the average value being calculated be determined as between display screen and external object away from
From.
It should be understood that repeatedly obtaining the distance value that range sensor detects and calculating average value, distance can be reduced
Error in sensor senses process.
Determining module 203, for determining the distance between the display screen and external object state according to the distance value,
The distance state includes proximity state and separate state.
After acquisition module 202 gets the distance value that range sensor detects, determining module 203 can according to it is described away from
The distance between the display screen and external object (such as user face, hand etc.) state is determined from value.The distance state
Including proximity state and far from state.
Wherein, proximity state indicates that the distance between external object and display screen are close, and light at display screen can be by
The influence of external object, the range sensor is in the state blocked by external object at this time.For example, when display screen transverse screen is aobvious
When showing information, user's hands grasping electronic equipment, at this time user's hand can block the light at display screen, range sensor also can
It is blocked by user's hand.
The distance between external object and display screen are indicated far from state farther out, and the light at display screen will not be by the external world
The influence of object, at this time the range sensor do not blocked by external object.
Brightness control module 204, the brightness for controlling the display screen according to the distance state.
After determining module 203 determines the distance between display screen and external object state, brightness control module 204 is according to institute
State the brightness that distance state controls the display screen.To which whether brightness control module 204 can be according to display screen by foreign objects
Body blocks the brightness for carrying out control display screen, avoids improperly adjusting brightness of display screen in the case where display screen is blocked
Section, to improve the accuracy of brightness of display screen adjusting.
In some embodiments, the display area of electronic equipment display screen includes predeterminable area.The predeterminable area is aobvious
A pre-set region in display screen.The shape of the predeterminable area can be rectangle, circle, triangle or irregular shape
Shape etc..The orthographic projection of range sensor on the display screen in electronic equipment is located at the predeterminable area.That is, it is described away from
It is arranged below the predeterminable area of display screen from sensor.
In this example it is shown that control module 201 is for executing following steps:
When display screen is in transverse screen display pattern, the predeterminable area for controlling the display screen shows the default figure of an at least frame
Picture.
It should be understood that since the orthographic projection of the range sensor on the display screen is located at the predeterminable area,
Namely the range sensor is arranged below the predeterminable area of display screen, meeting when showing information to the predeterminable area
The detection data of sensor of adjusting the distance impacts, and when other regions of display screen show information sensor that will not adjust the distance is made
At influence.
Therefore, display control module 201 only needs the predeterminable area for controlling the display screen to show that at least a frame is pre-
If image, influenced caused by the detection data of sensor of adjusting the distance when showing on-screen-display message to reduce.At this point, display screen
Other regions can normally show that information, such as other regions of display screen can show game information, video information etc..
It should be understood that the predeterminable area that display control module 201 controls the display screen shows the default figure
The frame number of picture may be 3 frames, 5 frames etc., as long as will not be impacted to the use of user.
In some embodiments, when electronic equipment running game or electronic equipment play multimedia, display control mould
The predeterminable area that block 201 can also control the display screen shows an at least frame pre-set image.
In some embodiments, determining module 203 is for executing following steps:
The distance value is compared with pre-determined distance threshold value, with the determination distance value and the pre-determined distance threshold value
Between magnitude relationship;
If the distance value is less than the pre-determined distance threshold value, it is determined that be in and connect between the display screen and external object
Nearly state;
If the distance value is greater than or equal to the pre-determined distance threshold value, it is determined that between the display screen and external object
In far from state.
After acquisition module 202 gets the distance value that range sensor detects, determining module 203 can be by the distance
Value is compared with pre-determined distance threshold value, with the magnitude relationship between the determination distance value and the pre-determined distance threshold value.Its
In, pre-determined distance threshold value can be a pre-set distance values.For example, pre-determined distance threshold value is 2cm (centimetre).It is described
Pre-determined distance threshold value indicate electronic equipment display screen blocked by external object and not by external object block between line of demarcation.
Wherein, if the distance value is less than the pre-determined distance threshold value, it is determined that between the display screen and external object
In proximity state.For example, the distance value is 1cm, the pre-determined distance threshold value is 2cm, then the distance value is less than described
Pre-determined distance threshold value.At this point, determining module 203, which determines, is in proximity state between the display screen and external object, i.e., it is described
Display screen is blocked by external object.
If the distance value is greater than or equal to the pre-determined distance threshold value, it is determined that between the display screen and external object
In far from state.For example, the distance value is 5cm, the pre-determined distance threshold value is 2cm, then the distance value is more than described
Pre-determined distance threshold value.At this point, determining module 203 is determined in separate state between the display screen and external object, i.e., it is described
Display screen is not blocked by external object.
In some embodiments, as shown in Figure 10, brightness control module 204 includes:Control submodule 2041 adjusts submodule
Block 2042.
Control submodule 2041, the brightness dimension for when the distance state is proximity state, controlling the display screen
It holds constant;
Submodule 2042 is adjusted, for when the distance state is far from state, being shown to described according to ambient light intensity
The brightness of display screen is adjusted.
Wherein, when the distance state of the determination of determining module 203 is extraneous for the display screen of proximity state namely electronic equipment
When object blocks, control submodule 2041 can lock the brightness of display screen, and the brightness to control the display screen remains unchanged.
It is thus possible to which the brightness in the case where display screen is blocked to display screen is avoided improperly to be adjusted.
When the distance state that determining module 203 determines is the display screen far from state namely electronic equipment not by foreign objects
When body blocks, the ambient light intensity at display screen can be obtained by adjusting submodule 2042, and according to ambient light intensity to display screen
Brightness be adjusted.
In some embodiments, submodule 2042 is adjusted for executing following steps:
When the distance state is far from state, first environment light intensity value and second environment luminous intensity are obtained successively
Value;
According to the magnitude relationship of the second environment light intensity value and first environment light intensity value to the bright of the display screen
Degree is adjusted.
Wherein, ambient light sensor can be provided in electronic equipment, the ambient light sensor can be integrated in electronics
On the circuit board of equipment.The ambient light sensor is for detecting ambient light intensity.The ambient light sensor can be arranged
The non-display area of display screen or the ambient light sensor can also be arranged as range sensor in the aobvious of display screen
Show below region.The application does not limit the installation position of electronic equipment ambient light sensor.
When the distance between display screen and external object state are far from state, institute can be passed through by adjusting submodule 2042
It states ambient light sensor and obtains first environment light intensity value and second environment light intensity value successively.Wherein, submodule 2042 is adjusted
The first environment light intensity value that ambient light sensor detects is obtained first, then obtains what ambient light sensor detected again
Second environment light intensity value.
It should be understood that ambient light sensor can only detect an environmental light intensity angle value in synchronization.Therefore, regulator
Module 2042, which obtains between first environment light intensity value and acquisition second environment light intensity value, has the time difference.The time difference example
Such as can be 50ms (millisecond), 500ms.
To which the second environment light intensity value, the magnitude relationship of first environment light intensity value have reacted ambient light intensity
Variation.Adjusting submodule 2042 can be according to the magnitude relationship of the second environment light intensity value and first environment light intensity value
The brightness of the display screen is adjusted, namely the brightness of display screen is adjusted according to the variation of ambient light intensity.
In some embodiments, according to the magnitude relationship pair of the second environment light intensity value and first environment light intensity value
When the brightness of the display screen is adjusted, submodule 2042 is adjusted for executing following steps:
When the second environment light intensity value is more than the first environment light intensity value, it is bright to control the display screen increase
Degree;
When the second environment light intensity value is equal to the first environment light intensity value, the brightness of the display screen is controlled
It remains unchanged;
When the second environment light intensity value is less than the first environment light intensity value, it is bright to control the display screen reduction
Degree.
Wherein, adjusting submodule 2042 can be by the size of the second environment light intensity value and the first environment light intensity
The size of angle value is compared.
When the second environment light intensity value is more than the first environment light intensity value, indicate that ambient light intensity is increasing
By force.Increase brightness at this point, adjusting submodule 2042 and controlling the display screen.For example, second environment light intensity value is 150, first
Environmental light intensity angle value is 120, then adjusts 2042 control display screen of submodule and increase brightness.
When the second environment light intensity value is equal to the first environment light intensity value, indicate that ambient light intensity is not sent out
Changing.At this point, the brightness that adjusting submodule 2042 controls the display screen remains unchanged.
When the second environment light intensity value is less than the first environment light intensity value, indicate that ambient light intensity is subtracting
It is weak.Reduce brightness at this point, adjusting submodule 2042 and controlling the display screen.For example, second environment luminous intensity is 120, the first ring
Border luminous intensity is 150, then adjusts 2042 control display screen of submodule and reduce brightness.
When it is implemented, the above modules can be realized as independent entity, arbitrary combination can also be carried out, is made
It is realized for same or several entities.
From the foregoing, it will be observed that brightness of display screen control device 200 provided by the embodiments of the present application, when display screen is in transverse screen display
When pattern or the electronic equipment running game or the electronic equipment play multimedia, controlled by display control module 201
The display screen shows an at least frame pre-set image;Acquisition module 202 obtains the distance value that range sensor detects;Determine mould
Block 203 determines that the distance between the display screen and external object state, the distance state include connecing according to the distance value
Nearly state and separate state;Brightness control module 204 controls the brightness of the display screen according to the distance state.The display
Screen brightness controlling device can be avoided according to the distance between display screen and external object state come the brightness of control display screen
Display screen is improperly adjusted brightness of display screen in the case of being blocked, to improve the accurate of brightness of display screen adjusting
Property.
The embodiment of the present application also provides a kind of electronic equipment.The electronic equipment can be smart mobile phone, tablet computer etc.
Equipment.As shown in figure 11, electronic equipment 300 includes processor 301 and memory 302.Wherein, processor 301 and memory 302
Coupling.
Processor 301 is the control centre of electronic equipment 300, utilizes various interfaces and the entire electronic equipment of connection
Various pieces, by running or calling the computer program being stored in memory 302, and calling to be stored in memory 302
Interior data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.
In the present embodiment, processor 301 in electronic equipment 300 can according to following step, by one or one with
On the corresponding instruction of process of computer program be loaded into memory 302, and be stored in storage by processor 301 to run
Computer program in device 302, to realize various functions:
When display screen is in transverse screen display pattern or the electronic equipment running game or the more matchmakers of electronic equipment broadcasting
When body, controls the display screen and show an at least frame pre-set image;
Obtain the distance value that detects of range sensor, the distance value between the display screen and external object away from
From;
Determine that the distance between the display screen and external object state, the distance state include according to the distance value
Proximity state and separate state;
The brightness of the display screen is controlled according to the distance state.
In some embodiments, the display area of the display screen includes predeterminable area, and the range sensor is described
Orthographic projection on display screen is located at the predeterminable area, when the display screen is in transverse screen display pattern or electronic equipment fortune
When row game or the electronic equipment play multimedia, when controlling the display screen and showing an at least frame pre-set image, processor
301 execute following steps:
When the display screen is in transverse screen display pattern or the electronic equipment running game or electronic equipment broadcasting
When multimedia, the predeterminable area for controlling the display screen shows an at least frame pre-set image.
In some embodiments, the distance between the display screen and external object state are determined according to the distance value
When, processor 301 executes following steps:
The distance value is compared with pre-determined distance threshold value, with the determination distance value and the pre-determined distance threshold value
Between magnitude relationship;
If the distance value is less than the pre-determined distance threshold value, it is determined that be in and connect between the display screen and external object
Nearly state;
If the distance value is greater than or equal to the pre-determined distance threshold value, it is determined that between the display screen and external object
In far from state.
In some embodiments, when controlling the brightness of the display screen according to the distance state, processor 301 execute with
Lower step:
When the distance state is proximity state, the brightness for controlling the display screen remains unchanged;
When the distance state is far from state, the brightness of the display screen is adjusted according to ambient light intensity.
In some embodiments, when the distance state is far from state, according to ambient light intensity to the display screen
Brightness when being adjusted, processor 301 executes following steps:
When the distance state is far from state, first environment light intensity value and second environment luminous intensity are obtained successively
Value;
According to the magnitude relationship of the second environment light intensity value and first environment light intensity value to the bright of the display screen
Degree is adjusted.
In some embodiments, according to the magnitude relationship pair of the second environment light intensity value and first environment light intensity value
When the brightness of the display screen is adjusted, processor 301 executes following steps:
When the second environment light intensity value is more than the first environment light intensity value, it is bright to control the display screen increase
Degree;
When the second environment light intensity value is equal to the first environment light intensity value, the brightness of the display screen is controlled
It remains unchanged;
When the second environment light intensity value is less than the first environment light intensity value, it is bright to control the display screen reduction
Degree.
Memory 302 can be used for storing computer program and data.Include in the computer program that memory 302 stores
The instruction that can be executed in the processor.Computer program can form various functions module.Processor 301 is stored in by calling
The computer program of memory 302, to perform various functions application and data processing.
In some embodiments, as shown in figure 12, electronic equipment 300 further includes:Radio circuit 303, display screen 304, control
Circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309 processed.Wherein, processor 301 respectively with penetrate
Frequency circuit 303, display screen 304, control circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309
Coupling.
Radio circuit 303 is used for transceiving radio frequency signal, with by radio communication with the network equipment or other electronic equipments into
Row communication.
Display screen 304 can be used for showing information input by user or be supplied to user information and electronic equipment it is each
Kind graphical user interface, these graphical user interface can be made of image, text, icon, video and its arbitrary combination.
Control circuit 305 is electrically connected with display screen 304, and information is shown for control display screen 304.
Input unit 306 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and
Generate keyboard related with user setting and function control, mouse, operating lever, optics or the input of trace ball signal.Wherein,
Input unit 306 may include fingerprint recognition module.
Voicefrequency circuit 307 can provide the audio interface between user and electronic equipment by loud speaker, microphone.
Sensor 308 is for acquiring external environmental information.Sensor 308 includes range sensor.The range sensor
For detecting the distance between display screen and external object.In addition, sensor 308 can also include ambient light sensor, add
It is one or more in the sensors such as velocity sensor, gyroscope.
All parts of the power supply 309 for electron equipment 300 are powered.In some embodiments, power supply 309 can pass through
Power-supply management system and processor 301 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.
Although being not shown in Figure 12, electronic equipment 300 can also include camera, bluetooth module etc., and details are not described herein.
From the foregoing, it will be observed that the embodiment of the present application provides a kind of electronic equipment, the electronic equipment executes following steps:When aobvious
When display screen is in transverse screen display pattern or the electronic equipment running game or electronic equipment broadcasting multimedia, described in control
Display screen shows an at least frame pre-set image;Obtain the distance value that range sensor detects;Institute is determined according to the distance value
The distance between display screen and external object state are stated, the distance state includes proximity state and separate state;According to described
Distance state controls the brightness of the display screen.The electronic equipment can be according to the distance between display screen and external object shape
State carrys out the brightness of control display screen, avoids improperly adjusting brightness of display screen in the case where display screen is blocked, from
And improve the accuracy of brightness of display screen adjusting.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described
When computer program is run on computers, the computer executes the brightness of display screen controlling party described in any of the above-described embodiment
Method.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are relevant hardware can be instructed to complete by computer program, and the computer program can be stored in meter
In calculation machine readable storage medium storing program for executing, the storage medium can include but is not limited to:Read-only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Luminance control method for display screen, device, storage medium and the electronic equipment that the embodiment of the present application is provided above
It is described in detail.Specific examples are used herein to illustrate the principle and implementation manner of the present application, the above reality
The explanation for applying example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art,
According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion in this specification
Hold the limitation that should not be construed as to the application.
Claims (12)
1. a kind of luminance control method for display screen is applied to electronic equipment, which is characterized in that the electronic equipment includes display screen
And range sensor, the display screen include display area, the range sensor is arranged in the display area of the display screen
Lower section, the luminance control method for display screen include:
When the display screen is in transverse screen display pattern or the electronic equipment running game or the more matchmakers of electronic equipment broadcasting
When body, controls the display screen and show an at least frame pre-set image;
Obtain the distance value that the range sensor detects, the distance value between the display screen and external object away from
From;
Determine that the distance between the display screen and external object state, the distance state include close according to the distance value
State and separate state;
The brightness of the display screen is controlled according to the distance state.
2. luminance control method for display screen according to claim 1, which is characterized in that wrap the display area of the display screen
Predeterminable area is included, the orthographic projection of the range sensor on the display screen is located at the predeterminable area, described when described aobvious
When display screen is in transverse screen display pattern or the electronic equipment running game or electronic equipment broadcasting multimedia, described in control
Display screen shows an at least frame pre-set image, including:
When the display screen is in transverse screen display pattern or the electronic equipment running game or the more matchmakers of electronic equipment broadcasting
When body, the predeterminable area for controlling the display screen shows an at least frame pre-set image.
3. luminance control method for display screen according to claim 1, which is characterized in that described to be determined according to the distance value
The step of the distance between the display screen and external object state includes:
The distance value is compared with pre-determined distance threshold value, between the determination distance value and the pre-determined distance threshold value
Magnitude relationship;
If the distance value is less than the pre-determined distance threshold value, it is determined that be in close to shape between the display screen and external object
State;
If the distance value is greater than or equal to the pre-determined distance threshold value, it is determined that be between the display screen and external object
Far from state.
4. luminance control method for display screen according to any one of claims 1 to 3, which is characterized in that described in the basis
Distance state controls the step of brightness of the display screen and includes:
When the distance state is proximity state, the brightness for controlling the display screen remains unchanged;
When the distance state is far from state, the brightness of the display screen is adjusted according to ambient light intensity.
5. luminance control method for display screen according to claim 4, which is characterized in that described when the distance state is remote
When from state, the brightness of the display screen is adjusted according to ambient light intensity, including:
When the distance state is far from state, first environment light intensity value and second environment light intensity value are obtained successively;
According to the magnitude relationship of the second environment light intensity value and first environment light intensity value to the brightness of the display screen into
Row is adjusted.
6. luminance control method for display screen according to claim 5, which is characterized in that described according to the second environment light
The step of brightness of the display screen is adjusted in intensity value and the magnitude relationship of first environment light intensity value include:
When the second environment light intensity value is more than the first environment light intensity value, controls the display screen and increase brightness;
When the second environment light intensity value is equal to the first environment light intensity value, the brightness for controlling the display screen maintains
It is constant;
When the second environment light intensity value is less than the first environment light intensity value, controls the display screen and reduce brightness.
7. a kind of brightness of display screen control device is applied to electronic equipment, which is characterized in that the electronic equipment includes display screen
And range sensor, the display screen include display area, the range sensor is arranged in the display area of the display screen
Lower section, the brightness of display screen control device include:
Display control module, for being in transverse screen display pattern or the electronic equipment running game or described when the display screen
When electronic equipment plays multimedia, controls the display screen and show an at least frame pre-set image;
Acquisition module, the distance value detected for obtaining the range sensor, the distance value is for the display screen and outside
The distance between boundary's object;
Determining module, for determining the distance between the display screen and external object state according to the distance value, it is described away from
Include proximity state and separate state from state;
Brightness control module, the brightness for controlling the display screen according to the distance state.
8. brightness of display screen control device according to claim 7, which is characterized in that wrap the display area of the display screen
Predeterminable area is included, the orthographic projection of the range sensor on the display screen is located at the predeterminable area, the display control
Module is used for:
When the display screen is in transverse screen display pattern or the electronic equipment running game or the more matchmakers of electronic equipment broadcasting
When body, the predeterminable area for controlling the display screen shows an at least frame pre-set image.
9. brightness of display screen control device according to claim 7, which is characterized in that the determining module is used for:
The distance value is compared with pre-determined distance threshold value, between the determination distance value and the pre-determined distance threshold value
Magnitude relationship;
If the distance value is less than the pre-determined distance threshold value, it is determined that be in close to shape between the display screen and external object
State;
If the distance value is greater than or equal to the pre-determined distance threshold value, it is determined that be between the display screen and external object
Far from state.
10. brightness of display screen control device according to any one of claims 7 to 9, which is characterized in that the brightness control
Module includes:
Control submodule, for when the distance state is proximity state, the brightness for controlling the display screen to remain unchanged;
Submodule is adjusted, is used for when the distance state is far from state, according to ambient light intensity to the bright of the display screen
Degree is adjusted.
11. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer journey
When sequence is run on computers so that the computer perform claim requires 1 to 6 any one of them brightness of display screen controlling party
Method.
12. a kind of electronic equipment, which is characterized in that described aobvious including display screen, range sensor, processor and memory
Display screen, range sensor, memory are coupled with the processor respectively;
Computer program is stored in the memory, the processor is by calling the calculating stored in the memory
Machine program, for executing following steps:
When the display screen is in transverse screen display pattern or the electronic equipment running game or the more matchmakers of electronic equipment broadcasting
When body, controls the display screen and show an at least frame pre-set image;
Obtain the distance value that the range sensor detects, the distance value between the display screen and external object away from
From;
Determine that the distance between the display screen and external object state, the distance state include close according to the distance value
State and separate state;
The brightness of the display screen is controlled according to the distance state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810451051.4A CN108737652A (en) | 2018-05-11 | 2018-05-11 | Luminance control method for display screen, device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810451051.4A CN108737652A (en) | 2018-05-11 | 2018-05-11 | Luminance control method for display screen, device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108737652A true CN108737652A (en) | 2018-11-02 |
Family
ID=63937258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810451051.4A Pending CN108737652A (en) | 2018-05-11 | 2018-05-11 | Luminance control method for display screen, device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108737652A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134218A (en) * | 2019-05-15 | 2019-08-16 | 上海创功通讯技术有限公司 | The control method and device of electronic equipment |
CN111212176A (en) * | 2019-12-16 | 2020-05-29 | 闻泰通讯股份有限公司 | Night lamp illumination method, device, terminal and readable storage medium based on folding screen |
CN111243553A (en) * | 2018-11-29 | 2020-06-05 | 北京小米移动软件有限公司 | Control method and device of terminal screen and storage medium |
CN111312197A (en) * | 2018-12-11 | 2020-06-19 | 青岛海尔洗衣机有限公司 | Control method and control unit of display screen |
CN111443818A (en) * | 2020-03-23 | 2020-07-24 | 努比亚技术有限公司 | Screen brightness regulation and control method and device and computer readable storage medium |
CN113382296A (en) * | 2021-06-08 | 2021-09-10 | 海信视像科技股份有限公司 | Display device and brightness adjusting method |
CN113727084A (en) * | 2021-11-03 | 2021-11-30 | 恒林家居股份有限公司 | Self-adaptive brightness control method and system for projection equipment |
CN116256936A (en) * | 2023-03-27 | 2023-06-13 | 广东远合工程科技有限公司 | Brightness control method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677089A (en) * | 2015-12-31 | 2016-06-15 | 京东方科技集团股份有限公司 | Touch displayer, touch display device and brightness adjusting method thereof |
CN106652922A (en) * | 2017-01-04 | 2017-05-10 | 珠海市魅族科技有限公司 | Method and system for controlling screen luminance |
CN107990978A (en) * | 2017-11-22 | 2018-05-04 | 广东欧珀移动通信有限公司 | Environment light detection method, device, storage medium and electronic equipment |
-
2018
- 2018-05-11 CN CN201810451051.4A patent/CN108737652A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677089A (en) * | 2015-12-31 | 2016-06-15 | 京东方科技集团股份有限公司 | Touch displayer, touch display device and brightness adjusting method thereof |
CN106652922A (en) * | 2017-01-04 | 2017-05-10 | 珠海市魅族科技有限公司 | Method and system for controlling screen luminance |
CN107990978A (en) * | 2017-11-22 | 2018-05-04 | 广东欧珀移动通信有限公司 | Environment light detection method, device, storage medium and electronic equipment |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111243553A (en) * | 2018-11-29 | 2020-06-05 | 北京小米移动软件有限公司 | Control method and device of terminal screen and storage medium |
CN111312197A (en) * | 2018-12-11 | 2020-06-19 | 青岛海尔洗衣机有限公司 | Control method and control unit of display screen |
CN110134218A (en) * | 2019-05-15 | 2019-08-16 | 上海创功通讯技术有限公司 | The control method and device of electronic equipment |
CN111212176A (en) * | 2019-12-16 | 2020-05-29 | 闻泰通讯股份有限公司 | Night lamp illumination method, device, terminal and readable storage medium based on folding screen |
CN111443818A (en) * | 2020-03-23 | 2020-07-24 | 努比亚技术有限公司 | Screen brightness regulation and control method and device and computer readable storage medium |
CN111443818B (en) * | 2020-03-23 | 2023-11-14 | 努比亚技术有限公司 | Screen brightness regulation and control method, equipment and computer readable storage medium |
CN113382296A (en) * | 2021-06-08 | 2021-09-10 | 海信视像科技股份有限公司 | Display device and brightness adjusting method |
CN113727084A (en) * | 2021-11-03 | 2021-11-30 | 恒林家居股份有限公司 | Self-adaptive brightness control method and system for projection equipment |
CN113727084B (en) * | 2021-11-03 | 2022-02-08 | 恒林家居股份有限公司 | Self-adaptive brightness control method and system for projection equipment |
CN116256936A (en) * | 2023-03-27 | 2023-06-13 | 广东远合工程科技有限公司 | Brightness control method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108737652A (en) | Luminance control method for display screen, device, storage medium and electronic equipment | |
CN107945769B (en) | Ambient light intensity detection method and device, storage medium and electronic equipment | |
CN108021161A (en) | Ambient light intensity detection method, device, storage medium and electronic equipment | |
CN107968883B (en) | Distance state detection method and device, storage medium and electronic equipment | |
US10862595B2 (en) | Method for processing radio frequency interference, and electronic device | |
CN111754954B (en) | Screen brightness adjusting method and device, storage medium and electronic equipment | |
CN107957294A (en) | Ambient light intensity detection method, device, storage medium and electronic equipment | |
CN109067983B (en) | Information prompting method, storage medium and electronic equipment | |
CN111049973B (en) | Screen display control method, electronic equipment and computer readable storage medium | |
CN107990978A (en) | Environment light detection method, device, storage medium and electronic equipment | |
CN110780746B (en) | Key structure, key control method and electronic equipment | |
CN112229507B (en) | Ambient light detection method and device, storage medium and mobile terminal | |
CN109257505B (en) | Screen control method and mobile terminal | |
CN110661949A (en) | Control method of display panel and electronic equipment | |
CN110442521B (en) | Control unit detection method and device | |
CN111443765A (en) | Electronic equipment and screen display method | |
CN107959752A (en) | Display screen condition control method, device, storage medium and terminal | |
CN110753155A (en) | Proximity detection method and terminal equipment | |
CN111158485B (en) | Screen control method and electronic equipment | |
CN109195206B (en) | Control method of display screen state, storage medium and electronic equipment | |
CN109144221B (en) | Information prompting method, storage medium and electronic equipment | |
CN108983950B (en) | Display screen control method, storage medium and electronic device | |
CN108924360A (en) | Display methods, storage medium and electronic equipment | |
CN108495359A (en) | Method of controlling antenna, device, storage medium and electronic equipment | |
CN109618053A (en) | A kind of screen light compensation method and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181102 |
|
RJ01 | Rejection of invention patent application after publication |