CN109147719A - Mobile terminal and the method, apparatus and storage medium for adjusting its brightness of display screen - Google Patents

Mobile terminal and the method, apparatus and storage medium for adjusting its brightness of display screen Download PDF

Info

Publication number
CN109147719A
CN109147719A CN201811161626.5A CN201811161626A CN109147719A CN 109147719 A CN109147719 A CN 109147719A CN 201811161626 A CN201811161626 A CN 201811161626A CN 109147719 A CN109147719 A CN 109147719A
Authority
CN
China
Prior art keywords
image
brightness
mobile terminal
information
display screen
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
Application number
CN201811161626.5A
Other languages
Chinese (zh)
Inventor
葛均辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811161626.5A priority Critical patent/CN109147719A/en
Publication of CN109147719A publication Critical patent/CN109147719A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

This specification embodiment provides a kind of mobile terminal and adjusts the method, apparatus, equipment and storage medium of its brightness of display screen.Its method includes: that the camera acquired image of the mobile terminal is obtained from the caching of the mobile terminal;Ambient brightness information is determined according to the described image of acquisition;The brightness of display screen of the mobile terminal is adjusted according at least to the ambient brightness information.Mobile terminal provided in an embodiment of the present invention and the method, apparatus, equipment and storage medium for adjusting its brightness of display screen, which are realized, is not adjusted brightness of display screen in the case where mobile terminal has photosensitive element.

Description

Mobile terminal and the method, apparatus and storage medium for adjusting its brightness of display screen
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of mobile terminal and adjust its brightness of display screen Method, apparatus and storage medium.
Background technique
Mobile terminal, especially vehicle mobile terminals, such as automobile data recorder export image information confession in moving process User's reference.By taking vehicle mobile terminals as an example, interior brightness changes with the variation of environment in vehicle travel process, if vehicle-mounted The brightness of display screen of mobile terminal immobilizes, and will affect the viewing of user.For example, on daytime, interior light is brighter, if display The brightness of screen is darker, then user can not be clearly seen the image of display;At dead of night, interior dark, if the brightness of display screen It crosses bright, then influences backsight effect.
Traditional brightness of display screen regulative mode is the information that environment light is obtained by the photosensitive element built in mobile terminal, Brightness of display screen is adjusted according to the information adaptability of environment light.
But the factors such as cost, terminal structure are limited to, it, also just can not be using biography if mobile terminal is fitted without photosensitive element System mode carries out the adjusting of brightness of display screen.
Summary of the invention
The problem of brightness of display screen can not just be adjusted in view of existing no photosensitive element, the invention proposes a kind of mobile whole The method, apparatus and computer readable storage medium of its brightness of display screen are held and adjust, it can be in the feelings for being fitted without photosensitive element The brightness of display screen is adjusted under condition.
In a first aspect, the embodiment of the invention provides a kind of method of brightness of display screen for adjusting mobile terminal, this method Include:
Camera acquired image is obtained from the caching of mobile terminal;
First environment luminance information is determined according to the above-mentioned image of acquisition;
The brightness of display screen of above-mentioned mobile terminal is adjusted according at least to first environment luminance information.
Since camera acquires ambient enviroment image, the brightness of image can reflect the brightness of ambient enviroment, this The method that inventive embodiments provide determines first environment luminance information using the image that camera obtains, and according at least to this Brightness of display screen is adjusted in first environment luminance information.Method provided in an embodiment of the present invention, does not depend on photosensitive element The adjusting to brightness of display screen may be implemented, to avoid leading to user due to brightness of display screen and ambient brightness mismatch as far as possible The image that display screen output can not be seen clearly, improves the safety and reliability that mobile terminal uses.
With reference to first aspect, above-mentioned from mobile terminal in the first implementation of first aspect of the embodiment of the present invention Camera acquired image is obtained in caching, implementation may include:
Whenever the image for updating the first predetermined quantity in the caching of mobile terminal, obtain second in the caching of the mobile terminal The image of predetermined quantity.
If following the sensitive requirements of environmental change higher brightness of display screen, can relatively frequently obtain image into And carry out the adjusting of brightness of display screen, that is, it configures one frame of every update in lesser first predetermined quantity, such as caching and carries out figure As obtaining.If memory processing capacity is limited, biggish first predetermined quantity can be configured, for example, the image of caching China is complete Portion carries out image acquisition after updating, to save memory process resource.
With reference to first aspect or the first implementation of first aspect, the second of the first aspect of the embodiment of the present invention In kind of implementation, obtain camera acquired image in the above-mentioned caching from mobile terminal, implementation may is that from The image of the second predetermined quantity is obtained in the stack of the mobile terminal, stack is for caching camera acquired image.
In the embodiment of the present invention, the data format of the image in caching can be stack format, i.e., the data lattice that last in, first out Formula, correspondingly, the image got from stack is that camera is newest collected always, first determined based on such image Ambient brightness information be always it is newest, improve brightness of display screen adjusting sensitivity.
With reference to first aspect or the first implementation of first aspect, in the third of the first aspect of the embodiment of the present invention In kind of implementation, obtain camera acquired image in the above-mentioned caching from mobile terminal, implementation may is that from The image of the second predetermined quantity is obtained in the queue of mobile terminal, queue is for caching camera acquired image.
In the embodiment of the present invention, the data format of the image in caching can be queue format, the i.e. data of first in first out Format, it is ensured that is cached in queue is nearest acquired image, if once reading multiple images from caching for determining The accuracy that first environment brightness determines can be improved in first environment brightness.
With reference to first aspect, the first implementation of first aspect, first aspect second of implementation or first The third implementation of aspect, in the 4th kind of implementation of the first aspect of the embodiment of the present invention, it is above-mentioned according at least to First environment luminance information adjusts the brightness of display screen of above-mentioned mobile terminal, and implementation may include: to determine the movement After the brightness of display screen of terminal and first environment luminance information mismatch, the brightness of display screen of the mobile terminal is adjusted to first Ambient brightness information matches.
In the embodiment of the present invention, the amendment of brightness of display screen can be carried out according only to first environment luminance information, is not needed With reference to other ambient brightness information, operation difficulty and/or computational complexity are reduced, saves memory process resource.
With reference to first aspect, the first implementation, second of implementation of first aspect, first party of first aspect The third implementation in face or the 4th kind of implementation of first aspect, at the 5th kind of the first aspect of the embodiment of the present invention In implementation, the above-mentioned image according to acquisition determines first environment luminance information, and implementation may include: basis respectively The luminance information of each pixel determines the initial luminance data of every frame image in every frame image;The first of each frame image is judged respectively Whether beginning luminance information, which needs, is corrected, to wherein needing modified initial luminance data to modify;It is modified using not needing The luminance information obtained after initial luminance data and amendment determines first environment luminance information.
Camera during the work time, can adjust sensitivity according to the variation of ambient brightness, therefore, it is necessary to adopt to camera The brightness of image of the image collected is modified, and obtains the ambient brightness for being really.
The 5th kind of implementation with reference to first aspect, in the 6th kind of implementation of the first aspect of the embodiment of the present invention In, judge whether the initial luminance data of each frame image needs to correct respectively, to wherein need modified initial luminance data into Row modification determines that first environment brightness is believed using the luminance information for not needing to obtain after modified initial luminance data and amendment Breath, implementation may is that and carried out respectively according to initial luminance data of the sensitivity information of every frame image to this frame image Amendment, the luminance information after obtaining every frame image correction;Determine that first environment is bright according to the luminance information after each frame image correction Spend information.
The 6th kind of implementation with reference to first aspect, in the 7th kind of implementation of the first aspect of the embodiment of the present invention In, above-mentioned that the initial luminance data of this frame image is modified according to the sensitivity information of every frame image respectively, realization side Formula may include: respectively to be compared the sensitivity information of every frame image with sensitivity threshold value;If the sensitivity information of image Higher than sensitivity threshold value, the initial luminance data of image is reduced;If the sensitivity information of image is lower than sensitivity threshold value, figure is improved The initial luminance data of picture.
It can be pre-configured with sensitivity threshold value, repaired by comparing the size of sensitivity information and the sensitivity threshold value of image Positive initial luminance data, for example, it is lower to represent ambient brightness, camera if the sensitivity information of image is higher than sensitivity threshold value Brightness of image is improved by improving sensitivity, it is therefore desirable to reduce the luminance information of image, it is bright could to obtain true environment Degree, this implementation are simple, quick.
The 5th kind of implementation with reference to first aspect, in the 8th kind of implementation of the first aspect of the embodiment of the present invention In, judge whether the initial luminance data of each frame image needs to correct respectively, to wherein need modified initial luminance data into Row modification determines that first environment brightness is believed using the luminance information for not needing to obtain after modified initial luminance data and amendment Breath, implementation, which may is that, determines the initial of every frame image according to the luminance information of each pixel in every frame image respectively Luminance information;Obtain the geographical location information of mobile terminal;According to the geographical location information respectively to the initial bright of this frame image Degree information is modified, the luminance information after obtaining every frame image correction;It is determined according to the luminance information after each frame image correction First environment luminance information.
Since geographical location information can also reflect ambient brightness, when sensitivity information can not be obtained, can pass through Geographical location information is modified the brightness of image.
The 5th kind of implementation with reference to first aspect, in the 9th kind of implementation of the first aspect of the embodiment of the present invention In, this method further include: obtain the geographical location information of mobile terminal;Mobile terminal place is obtained according to the geographical location information The second environment luminance information in area;Correspondingly, the above-mentioned display for adjusting mobile terminal according at least to first environment luminance information Shield brightness, implementation, which may is that, adjusts mobile terminal according to first environment luminance information and second environment luminance information Brightness of display screen.
Since ambient brightness is related with locating geographical location, method provided in an embodiment of the present invention obtains movement The geographical location information of terminal, so that the second environment luminance information of mobile terminal location is obtained, it is bright in conjunction with first environment Brightness of display screen is adjusted in degree information and ambient brightness information, and the precision of brightness regulation can be improved.
Second aspect, the embodiment of the invention provides a kind of devices of brightness of display screen for adjusting mobile terminal, comprising:
Image collection module, for obtaining camera acquired image from the caching of mobile terminal;
First environment brightness determining module, for determining first environment luminance information according to the above-mentioned image of acquisition;
Brightness of display screen adjustment module, for adjusting the display of above-mentioned mobile terminal according at least to first environment luminance information Shield brightness.
Since camera acquires ambient enviroment image, the brightness of image can reflect the brightness of ambient enviroment, this The method that inventive embodiments provide determines first environment luminance information using the image that camera obtains, and according at least to this Brightness of display screen is adjusted in first environment luminance information.Method provided in an embodiment of the present invention, does not depend on photosensitive element The adjusting to brightness of display screen may be implemented, to avoid leading to user due to brightness of display screen and ambient brightness mismatch as far as possible The image that display screen output can not be seen clearly, improves the safety and reliability that mobile terminal uses.
In conjunction with second aspect, in the first implementation of second aspect of the embodiment of the present invention, image collection module is used for: Whenever the image for updating the first predetermined quantity in the caching of mobile terminal, the second predetermined quantity in the caching of the mobile terminal is obtained Image.
If following the sensitive requirements of environmental change higher brightness of display screen, can relatively frequently obtain image into And carry out the adjusting of brightness of display screen, that is, it configures one frame of every update in lesser first predetermined quantity, such as caching and carries out figure As obtaining.If memory processing capacity is limited, biggish first predetermined quantity can be configured, for example, the image of caching China is complete Portion carries out image acquisition after updating, to save memory process resource.
In conjunction with the first of second aspect or second aspect implementation, the second of the second aspect of the embodiment of the present invention In kind implementation, image collection module is used for: the image of the second predetermined quantity is obtained from the stack of mobile terminal, stack is for delaying Deposit camera acquired image.
In the embodiment of the present invention, the data format of the image in caching can be stack format, i.e., the data lattice that last in, first out Formula, correspondingly, the image got from stack is that camera is newest collected always, first determined based on such image Ambient brightness information be always it is newest, improve brightness of display screen adjusting sensitivity.
In conjunction with the first of second aspect or second aspect implementation, in the third of the second aspect of the embodiment of the present invention In kind implementation, image collection module is used for: the image of the second predetermined quantity is obtained from the queue of mobile terminal, queue is used In caching camera acquired image.
In the embodiment of the present invention, the data format of the image in caching can be queue format, the i.e. data of first in first out Format, it is ensured that is cached in queue is nearest acquired image, if once reading multiple images from caching for determining The accuracy that first environment brightness determines can be improved in first environment brightness.
In conjunction with the first implementation of second aspect, second aspect, second of implementation or second of second aspect The third implementation of aspect, in the 4th kind of implementation of the second aspect of the embodiment of the present invention, brightness of display screen tune Section module is used for: after the brightness of display screen and first environment luminance information for determining the mobile terminal mismatch, adjusting the movement The brightness of display screen of terminal is extremely matched with first environment luminance information.
In the embodiment of the present invention, the amendment of brightness of display screen can be carried out according only to first environment luminance information, is not needed With reference to other ambient brightness information, operation difficulty and/or computational complexity are reduced, saves memory process resource.
With reference to first aspect, the first implementation, second of implementation of first aspect, first party of first aspect The third implementation in face or the 4th kind of implementation of first aspect, at the 5th kind of the first aspect of the embodiment of the present invention In implementation, first environment brightness determining module is used for: the luminance information respectively according to each pixel in every frame image is true The initial luminance data of fixed every frame image;Judge whether the initial luminance data of each frame image needs to correct respectively, to wherein needing Modified initial luminance data is wanted to modify;Believed using the brightness for not needing to obtain after modified initial luminance data and amendment It ceases and determines first environment luminance information.
Camera during the work time, can adjust sensitivity according to the variation of ambient brightness, therefore, it is necessary to adopt to camera The brightness of image of the image collected is modified, and obtains the ambient brightness for being really.
In conjunction with the 5th kind of implementation of second aspect, in the 6th kind of implementation of the second aspect of the embodiment of the present invention In, first environment brightness determining module is used for: respectively according to the sensitivity information of every frame image to the original intensity of this frame image Information is modified, the luminance information after obtaining every frame image correction;Is determined according to the luminance information after each frame image correction One ambient brightness information.
In conjunction with the 6th kind of implementation of second aspect, in the 7th kind of implementation of the second aspect of the embodiment of the present invention In, in order to be modified respectively according to the sensitivity information of every frame image to the initial luminance data of this frame image, first environment Brightness determining module is used for: being respectively compared the sensitivity information of every frame image with sensitivity threshold value;If image is photosensitive It spends information and is higher than sensitivity threshold value, reduce the initial luminance data of image;If the sensitivity information of image is lower than sensitivity threshold value, Improve the initial luminance data of image.
It can be pre-configured with sensitivity threshold value, repaired by comparing the size of sensitivity information and the sensitivity threshold value of image Positive initial luminance data, for example, it is lower to represent ambient brightness, camera if the sensitivity information of image is higher than sensitivity threshold value Brightness of image is improved by improving sensitivity, it is therefore desirable to reduce the luminance information of image, it is bright could to obtain true environment Degree, this implementation are simple, quick.
In conjunction with the 5th kind of implementation of second aspect, in the 8th kind of implementation of the second aspect of the embodiment of the present invention In, first environment brightness determining module is used for: determining every frame figure according to the luminance information of each pixel in every frame image respectively The initial luminance data of picture;Obtain the geographical location information of mobile terminal;According to the geographical location information respectively to this frame image Initial luminance data be modified, the luminance information after obtaining every frame image correction;According to the brightness after each frame image correction Information determines first environment luminance information.
Since geographical location information can also reflect ambient brightness, when sensitivity information can not be obtained, can pass through Geographical location information is modified the brightness of image.
The 5th kind of implementation with reference to first aspect, in the 9th kind of implementation of the first aspect of the embodiment of the present invention In, further include second environment brightness determining module, be used for: obtaining the geographical location information of mobile terminal;According to the geographical location The second environment luminance information of acquisition of information mobile terminal location;Correspondingly, brightness of display screen adjustment module is used for: according to First environment luminance information and second environment luminance information adjust the brightness of display screen of mobile terminal.
Since ambient brightness is related with locating geographical location, device provided in an embodiment of the present invention obtains movement The geographical location information of terminal, so that the second environment luminance information of mobile terminal location is obtained, it is bright in conjunction with first environment Brightness of display screen is adjusted in degree information and ambient brightness information, and the precision of brightness regulation can be improved.
The third aspect, the embodiment of the invention provides a kind of mobile terminals, including processor and memory:
Memory is used to store the program for each embodiment of the method for executing first aspect present invention;
Processor is configurable for executing the program stored in the memory.
Since camera acquires ambient enviroment image, the brightness of image can reflect the brightness of ambient enviroment, this The mobile terminal that inventive embodiments provide determines first environment luminance information, and at least root using the image that camera obtains Brightness of display screen is adjusted according to the first environment luminance information.Mobile terminal provided in an embodiment of the present invention does not depend on sense The adjusting to brightness of display screen also may be implemented in optical element, to avoid mismatching due to brightness of display screen and ambient brightness as far as possible Cause user that can not see the image of display screen output clearly, improves the safety and reliability that mobile terminal uses.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored with computer program, should The method in each embodiment of first aspect present invention is realized when computer program is executed by processor.
Since camera acquires ambient enviroment image, the brightness of image can reflect the brightness of ambient enviroment, this The storage medium that inventive embodiments provide determines first environment luminance information, and at least root using the image that camera obtains Brightness of display screen is adjusted according to the first environment luminance information.Storage medium provided in an embodiment of the present invention does not depend on sense The adjusting to brightness of display screen also may be implemented in optical element, to avoid mismatching due to brightness of display screen and ambient brightness as far as possible Cause user that can not see the image of display screen output clearly, improves the safety and reliability that mobile terminal uses.
The aspects of the invention or other aspects can more straightforwards in the following description.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the structural schematic diagram for realizing mobile terminal of the embodiment of the present invention;
Fig. 2 shows the method flow diagrams of the brightness of display screen according to an embodiment of the invention for adjusting mobile terminal;
Fig. 3 shows the block diagram of the device of the brightness of display screen according to an embodiment of the invention for adjusting mobile terminal.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and serial number of operation such as 201,202 etc. is only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Method provided in an embodiment of the present invention may operate on mobile terminal, as shown in Figure 1, for ease of description, only Part related to the embodiment of the present invention is shown, it is disclosed by specific technical details, please refer to present invention method portion Point.The mobile terminal can be include any terminal devices such as automobile data recorder, intelligent back vision mirror, vehicle-mounted computer, mobile phone.
The method for the adjusting brightness of display screen realized with reference to the accompanying drawing to above-mentioned mobile terminal is described in detail.
In a first aspect, the embodiment of the invention provides a kind of method of brightness of display screen for adjusting mobile terminal, this method Include:
Step 201 obtains camera acquired image from the caching of mobile terminal.
Wherein, above-mentioned camera can be the camera built in mobile terminal, be also possible to the external camera shooting of mobile terminal Head can also be that other equipment are built-in or external camera.
Step 202 determines first environment luminance information according to the above-mentioned image of acquisition.
Step 203, the brightness of display screen that above-mentioned mobile terminal is adjusted according at least to first environment luminance information.
Since camera acquires ambient enviroment image, the brightness of image can reflect the brightness of ambient enviroment, this The method that inventive embodiments provide determines first environment luminance information using the image that camera obtains, and according at least to this Brightness of display screen is adjusted in first environment luminance information.Method provided in an embodiment of the present invention, does not depend on photosensitive element The adjusting to brightness of display screen may be implemented, to avoid leading to user due to brightness of display screen and ambient brightness mismatch as far as possible The image that display screen output can not be seen clearly, improves the safety and reliability that mobile terminal uses.
In the embodiment of the present invention, the implementation of camera acquired image is obtained in the above-mentioned caching from mobile terminal There are many, for example, being obtained in the caching of the mobile terminal whenever the image for updating the first predetermined quantity in the caching of mobile terminal The image of second predetermined quantity.
Wherein, the first predetermined quantity and the second predetermined quantity can configure according to actual needs, be also possible to mobile terminal Factory default configuration.
If following the sensitive requirements of environmental change higher brightness of display screen, can relatively frequently obtain image into And carry out the adjusting of brightness of display screen, that is, it configures one frame of every update in lesser first predetermined quantity, such as caching and carries out figure As obtaining.If memory processing capacity is limited, biggish first predetermined quantity can be configured, for example, the image of caching China is complete Portion carries out image acquisition after updating, to save memory process resource.
In the embodiment of the present invention, the data format of the image in caching can there are many, such as can be stack format, that , camera acquired image is obtained in the above-mentioned caching from mobile terminal, implementation may is that from the mobile terminal Stack in obtain the image of the second predetermined quantity, stack is for caching camera acquired image.
More specifically, the image that the first predetermined quantity can be updated in the caching of mobile terminal, from the mobile terminal Stack in obtain the image of the second predetermined quantity.
In the embodiment of the present invention, stack format is the data format that last in, first out, correspondingly, the image got from stack begins It is that camera is newest collected eventually, is newest, raising always based on the first environment luminance information that such image determines The sensitivity that brightness of display screen is adjusted.
During the present invention is implemented, the data format of the image in caching is also possible to queue format, correspondingly, above-mentioned from movement Camera acquired image is obtained in the caching of terminal, implementation may is that obtains the from the queue of mobile terminal The image of two predetermined quantities, queue is for caching camera acquired image.
More specifically, the image that the first predetermined quantity can be updated in the caching of mobile terminal, from mobile terminal The image of the second predetermined quantity is obtained in queue.
In the embodiment of the present invention, queue format is the data format of first in first out, it is ensured that is cached in queue is nearest First environment can be improved if once reading multiple images from caching for determining first environment brightness in acquired image The accuracy that brightness determines.
In above-mentioned each embodiment of the method, the display screen that can adjust mobile terminal according only to first environment luminance information is bright Degree, specifically, adjusting movement end after the brightness of display screen and first environment luminance information for determining the mobile terminal mismatch The brightness of display screen at end is extremely matched with first environment luminance information.
The matching relationship that brightness of display screen Yu first environment luminance information can be pre-established is carried out according to the matching relationship Judgement and adjusting.
Wherein, which can be form, be also possible to formula form, can also be function curve shape Formula etc., it is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the amendment of brightness of display screen is carried out according only to first environment luminance information, without necessarily referring to Other ambient brightness information reduce operation difficulty and/or computational complexity, save memory process resource.
Camera during the work time, can adjust sensitivity according to the variation of ambient brightness, therefore, it is necessary to adopt to camera The brightness of image of the image collected is modified, and obtains the ambient brightness for being really.Correspondingly, in above-mentioned each embodiment of the method, The implementation for determining first environment luminance information may include: respectively according to the luminance information of each pixel in every frame image Determine the initial luminance data of every frame image;Judge whether the initial luminance data of each frame image needs to correct respectively, to wherein Modified initial luminance data is needed to modify;Utilize the brightness for not needing to obtain after modified initial luminance data and amendment Information determines first environment luminance information.
More specifically, in one implementation, respectively according to the sensitivity information of every frame image to the first of this frame image Beginning luminance information is modified, the luminance information after obtaining every frame image correction;According to the luminance information after each frame image correction Determine first environment luminance information.
Wherein, above-mentioned that the initial luminance data of this frame image is repaired according to the sensitivity information of every frame image respectively Just, implementation may include: and respectively be compared the sensitivity information of every frame image with sensitivity threshold value;If image Sensitivity information is higher than sensitivity threshold value, reduces the initial luminance data of image;If the sensitivity information of image is lower than sensitivity Threshold value improves the initial luminance data of image.
Wherein, the sensitivity information of every frame image is compared with sensitivity threshold value, that is, judges the original intensity of image Whether information, which needs, is corrected.Correspondingly, being carried out according to initial luminance data of the sensitivity information of every frame image to this frame image It corrects, the luminance information after obtained every frame image correction, can be exactly original initial luminance information.
In the embodiment of the present invention, sensitivity information can with but be not limited only to obtain from image.
It can be pre-configured with sensitivity threshold value, repaired by comparing the size of sensitivity information and the sensitivity threshold value of image Positive initial luminance data, for example, it is lower to represent ambient brightness, camera if the sensitivity information of image is higher than sensitivity threshold value Brightness of image is improved by improving sensitivity, it is therefore desirable to reduce the luminance information of image, it is bright could to obtain true environment Degree, this implementation are simple, quick.
In another implementation, every frame image is determined according to the luminance information of each pixel in every frame image respectively Initial luminance data;Obtain the geographical location information of mobile terminal;According to the geographical location information respectively to the first of this frame image Beginning luminance information is modified, the luminance information after obtaining every frame image correction;According to the luminance information after each frame image correction Determine first environment luminance information.
Since geographical location information can also reflect ambient brightness, when sensitivity information can not be obtained, can pass through Geographical location information is modified the brightness of image.
In the embodiment of the present invention, there are many implementations that obtain the geographical location information of mobile terminal, for example, from GPS It is obtained in the satellite positioning signals such as (Global Positioning System, global positioning system) or Beidou signal geographical Location information also can use the location technologies such as inertial navigation and obtain geographical location information.
Wherein, geographical location information can with but be not limited only to be latitude and longitude information.
In the embodiment of the present invention, the division range of mobile terminal location can there are many, such as can be it is mobile eventually Cell etc. where province/city, mobile terminal where time zone, mobile terminal the country in which it is located, mobile terminal where end.
In the embodiment of the present invention, on the basis of geographical location information, influence ambient brightness factor can there are many, example Such as sun position, weather condition, underground parking particular surroundings.
So, following at least one information: mobile terminal location can be specifically determined according to the geographical location information Whether current sun position information, mobile terminal location current weather information, mobile terminal are in abnormal environment brightness region Domain or in scheduled distance or guidance path in the time with the presence or absence of scheduled abnormal luminance area;According to determining information The initial luminance data of this frame image is modified respectively.
In the embodiment of the present invention, geographical location information can be obtained at predetermined intervals, according to newest acquisition Geographical location information determines above- mentioned information.
In practical application, it can configure and only determine current sun position information, can also configure and only determine current weather letter Breath can also configure and both determine sun position information or determining weather information.
Wherein it is possible to the sun position of different regions and the corresponding relationship of time be pre-saved, according to above-mentioned geographical location Information finds the sun position of the geographical location information location and the corresponding relationship of time, searches and works as in the corresponding relationship Preceding time corresponding sun position information;Geographical location information can also be sent to network server, and receive network service The sun position information that device returns.
Geographical location information can be sent to network server, by network server by geographical location information location Current weather information return to mobile terminal.
The corresponding relationship of sun position information and/or weather information and ambient brightness can be pre-saved, by searching for right Answer the above-mentioned current sun position information of Relation acquisition and/or the corresponding ambient brightness information of current weather information.The present invention is implemented In example, sun position information and/or the corresponding ambient brightness information of weather information are known as first environment luminance information.
Wherein, abnormal luminance area refer to ambient brightness different from the region of the normal outdoor environment brightness in this area, such as Lower parking lot, tunnel etc..
In the embodiment of the present invention, it can determine that mobile terminal is currently according to the real-time geographical location information of mobile terminal It is no to be in abnormal environment luminance area.Specifically, geographical location information is inputted electronic map, determined whether according to electronic map In abnormal environment luminance area.
If mobile terminal movement speed is very fast, brightness of display screen adjusting is carried out again after entering abnormal environment luminance area, Display effect may be will affect, therefore, whether the characteristics of can use navigation programming route, abnormal environment can be entered by prejudging Luminance area.
For example, determining there is abnormal ring on the guidance path in preset distance or in the predetermined time according to geographical location information Border luminance area, then correcting initial luminance data according to the type of the abnormal environment luminance area.
In the embodiment of the present invention, classify in advance according to brightness degree to abnormal environment luminance area, if abnormal environment The brightness degree of luminance area is lower than brightness degree threshold value, then explanation is in dark situation, and camera may carry out image bright Degree compensation, it is therefore desirable to turn down initial luminance data.
In method provided in an embodiment of the present invention, other environment can also be combined bright on the basis of first environment luminance information Brightness of display screen is adjusted in degree information, correspondingly, method provided in an embodiment of the present invention further include: obtain mobile terminal Geographical location information;The second environment luminance information of mobile terminal location is obtained according to the geographical location information;Correspondingly, The above-mentioned brightness of display screen that mobile terminal is adjusted according at least to first environment luminance information, implementation may is that according to the One ambient brightness information and second environment luminance information adjust the brightness of display screen of mobile terminal.
Since ambient brightness is related with locating geographical location, method provided in an embodiment of the present invention obtains movement The geographical location information of terminal, so that the second environment luminance information of mobile terminal location is obtained, it is bright in conjunction with first environment Brightness of display screen is adjusted in degree information and ambient brightness information, and the precision of brightness regulation can be improved.
Wherein, there are many implementations that second environment luminance information is obtained according to geographical location information.
In a kind of implementation, the current sunshine of above-mentioned mobile terminal location is determined according to above-mentioned geographical location information Location information and/or current weather information;Obtain above-mentioned current sun position information and/or current weather information corresponding second Ambient brightness information.
In practical application, it can configure and only determine current sun position information, can also configure and only determine current weather letter Breath can also configure and both determine sun position information or determining weather information.
It should be pointed out that in a particular application, can also by sun position information, that weather information is considered as second environment is bright Spend information.
In the embodiment of the present invention, the material elements for influencing ambient brightness can be the sun position of mobile terminal location And/or weather condition, for example, ambient brightness will substantially reduce after the sun sets, in another example, the ambient brightness of rainy days drops significantly It is low.Therefore, according to geographical location information can determine mobile terminal location current sun position information and/or current gas Image information, and then can determine corresponding second environment luminance information.Since sun position information and weather information resources are rich Richness, and information source is accurately fixed higher, therefore ensure that the reliability of successively determining ambient brightness is higher, and then improve aobvious The reliability of display screen brightness regulation.In addition, frequent updating is not needed since sun position and meteorological variation are more slow, therefore, Save process resource.
As noted previously, as sun position and weather condition variation are slowly, there is no need to frequently obtain geographical location letter Breath, it is preferable that geographical location information can be obtained after the vehicles starting for detecting carrying mobile terminal, it is subsequent according to this The geographical location information of secondary acquisition determines sun position information and/or weather information, avoids frequently occupying communication and calculate Resource.In the embodiment of the present invention, the implementation of the geographical location information of the above-mentioned above-mentioned mobile terminal of acquisition, which may is that, to be detected After the enabling signal for carrying the vehicles of above-mentioned mobile terminal, the geographical location information of above-mentioned mobile terminal is obtained.
In the embodiment of the present invention, the vehicles can with but be not limited only to be motor vehicle, bicycle, ship etc..
The embodiment of the present invention is not defined the specific implementation of detection enabling signal.For example, the detection vehicles ACC (adaptive learning algorithms) signal, the ACC signal that will test is as enabling signal.In another example according to mobile terminal Attitude transducer (such as accelerometer, gyroscope etc.) determines the movement speed or acceleration of mobile terminal, is detecting movement Think that the vehicles of mobile terminal have been turned on after speed or acceleration, using movement speed or acceleration as enabling signal.
Even if sun position and weather condition variation are slowly, if mobile terminal prolonged exercise, location is worked as Preceding sun position and weather condition may also can change, can be according to scheduled to ensure the accurate of ambient brightness detection Time interval determines current sun position information and/or current weather information.That is, at predetermined intervals, according to above-mentioned Geographical location information determines the current sun position information and/or current weather information of above-mentioned mobile terminal location.
In addition to the acquisition modes of above-mentioned geographical location information, geographical location letter can also be obtained at predetermined intervals Breath, and sun position information and/or weather information are obtained after obtaining geographical location information every time.
On the basis of above-mentioned implementation, it can also determine whether to have abnormal luminance area to determine ambient brightness, Correspondingly, at predetermined intervals, obtaining the geographical location information of above-mentioned mobile terminal;Respectively according to each above-mentioned geography Location information determines whether above-mentioned mobile terminal is located at scheduled abnormal luminance area, alternatively, respectively according to each above-mentioned geography Location information determines on the guidance path in scheduled distance or in the time with the presence or absence of scheduled abnormal luminance area;In determination There are after abnormal luminance area, obtain the corresponding second environment luminance information of above-mentioned abnormal luminance area.
In addition to the current sun position of mobile terminal location, weather condition etc. can impact ambient brightness, ring Border brightness also suffers from the influence in specific location region locating for mobile terminal.For example, mobile terminal enter underground parking parking lot, The exception luminance area such as tunnel, ambient brightness can vary widely, and therefore, judge whether mobile terminal is located at abnormal brightness region Domain will enter abnormal luminance area, can more accurately determine ambient brightness information, improve the reliability of adjusting.
Below by taking the brightness of display screen of vehicle-mounted traveling recorder is adjusted as an example, above-mentioned implementation is specifically described.
In one embodiment, after vehicle-mounted traveling recorder booting, the ACC signal of automobile is detected, the automobile to be checked that measures After ACC signal, latitude and longitude information is obtained by GPS signal, vehicle-mounted traveling recorder location is obtained according to latitude and longitude information Current sun position information and current weather information, determine ambient brightness information according to the two information, and then judge whether Need to carry out brightness of display screen adjusting, judgement need be adjusted after, adjust brightness of display screen to ambient brightness information Match;During vehicle-mounted traveling recorder opening initialization, camera initialization is carried out, after the completion of camera initialization, from caching Middle reading camera acquired image, determines ambient brightness information according to image, is shown according to the ambient brightness information Shield brightness regulation;At predetermined intervals, latitude and longitude information is obtained by GPS signal, is determined according to latitude and longitude information It whether there is scheduled abnormal luminance area in scheduled distance or time, on guidance path, in each time interval, if depositing In abnormal environment luminance area, then the corresponding ambient brightness information of the abnormal environment luminance area is obtained, and then judges whether to need Carry out brightness of display screen adjusting, judgement need be adjusted after, adjust brightness of display screen to ambient brightness information matches.
It in another implementation, does not need to combine sun position information and/or weather information, it is only necessary to based on abnormal ring Border luminance area determines ambient brightness, specifically, obtaining the geographical location letter of above-mentioned mobile terminal at predetermined intervals Breath;Determine whether above-mentioned mobile terminal is located at scheduled abnormal luminance area according to each above-mentioned geographical location information respectively, or Person determines on the guidance path in scheduled distance or in the time according to each above-mentioned geographical location information with the presence or absence of pre- respectively Fixed abnormal luminance area;After determining in the presence of abnormal luminance area, the corresponding second environment of above-mentioned abnormal luminance area is obtained Luminance information.
Its specific implementation is referred to the description of above-described embodiment, and details are not described herein again.
In the embodiment of the present invention, ambient brightness will receive the influence in specific location region locating for mobile terminal.For example, mobile Terminal enters the abnormal luminance area such as underground parking parking lot, tunnel, and ambient brightness can vary widely, therefore, judge to move Whether dynamic terminal is located at abnormal luminance area or will enter abnormal luminance area, can more accurately determine ambient brightness Information improves the reliability of adjusting.
Second aspect, the embodiment of the invention provides a kind of devices of brightness of display screen for adjusting mobile terminal, such as Fig. 3 institute Show, comprising:
Image collection module 301, for obtaining camera acquired image from the caching of mobile terminal;
First environment brightness determining module 302, for determining first environment luminance information according to the above-mentioned image of acquisition;
Brightness of display screen adjustment module 303, for adjusting above-mentioned mobile terminal according at least to first environment luminance information Brightness of display screen.
Since camera acquires ambient enviroment image, the brightness of image can reflect the brightness of ambient enviroment, this The method that inventive embodiments provide determines first environment luminance information using the image that camera obtains, and according at least to this Brightness of display screen is adjusted in first environment luminance information.Method provided in an embodiment of the present invention, does not depend on photosensitive element The adjusting to brightness of display screen may be implemented, to avoid leading to user due to brightness of display screen and ambient brightness mismatch as far as possible The image that display screen output can not be seen clearly, improves the safety and reliability that mobile terminal uses.
In conjunction with second aspect, in the first implementation of second aspect of the embodiment of the present invention, image collection module is used for: Whenever the image for updating the first predetermined quantity in the caching of mobile terminal, the second predetermined quantity in the caching of the mobile terminal is obtained Image.
If following the sensitive requirements of environmental change higher brightness of display screen, can relatively frequently obtain image into And carry out the adjusting of brightness of display screen, that is, it configures one frame of every update in lesser first predetermined quantity, such as caching and carries out figure As obtaining.If memory processing capacity is limited, biggish first predetermined quantity can be configured, for example, the image of caching China is complete Portion carries out image acquisition after updating, to save memory process resource.
In conjunction with the first of second aspect or second aspect implementation, the second of the second aspect of the embodiment of the present invention In kind implementation, image collection module is used for: the image of the second predetermined quantity is obtained from the stack of mobile terminal, stack is for delaying Deposit camera acquired image.
In the embodiment of the present invention, the data format of the image in caching can be stack format, i.e., the data lattice that last in, first out Formula, correspondingly, the image got from stack is that camera is newest collected always, first determined based on such image Ambient brightness information be always it is newest, improve brightness of display screen adjusting sensitivity.
In conjunction with the first of second aspect or second aspect implementation, in the third of the second aspect of the embodiment of the present invention In kind implementation, image collection module is used for: the image of the second predetermined quantity is obtained from the queue of mobile terminal, queue is used In caching camera acquired image.
In the embodiment of the present invention, the data format of the image in caching can be queue format, the i.e. data of first in first out Format, it is ensured that is cached in queue is nearest acquired image, if once reading multiple images from caching for determining The accuracy that first environment brightness determines can be improved in first environment brightness.
In conjunction with the first implementation of second aspect, second aspect, second of implementation or second of second aspect The third implementation of aspect, in the 4th kind of implementation of the second aspect of the embodiment of the present invention, brightness of display screen tune Section module is used for: after the brightness of display screen and first environment luminance information for determining the mobile terminal mismatch, adjusting the movement The brightness of display screen of terminal is extremely matched with first environment luminance information.
In the embodiment of the present invention, the amendment of brightness of display screen can be carried out according only to first environment luminance information, is not needed With reference to other ambient brightness information, operation difficulty and/or computational complexity are reduced, saves memory process resource.
With reference to first aspect, the first implementation, second of implementation of first aspect, first party of first aspect The third implementation in face or the 4th kind of implementation of first aspect, at the 5th kind of the first aspect of the embodiment of the present invention In implementation, first environment brightness determining module is used for: the luminance information respectively according to each pixel in every frame image is true The initial luminance data of fixed every frame image;Judge whether the initial luminance data of each frame image needs to correct respectively, to wherein needing Modified initial luminance data is wanted to modify;Believed using the brightness for not needing to obtain after modified initial luminance data and amendment It ceases and determines first environment luminance information.
Camera during the work time, can adjust sensitivity according to the variation of ambient brightness, therefore, it is necessary to adopt to camera The brightness of image of the image collected is modified, and obtains the ambient brightness for being really.
In conjunction with the 5th kind of implementation of second aspect, in the 6th kind of implementation of the second aspect of the embodiment of the present invention In, first environment brightness determining module is used for: respectively according to the sensitivity information of every frame image to the original intensity of this frame image Information is modified, the luminance information after obtaining every frame image correction;Is determined according to the luminance information after each frame image correction One ambient brightness information.
In conjunction with the 6th kind of implementation of second aspect, in the 7th kind of implementation of the second aspect of the embodiment of the present invention In, in order to be modified respectively according to the sensitivity information of every frame image to the initial luminance data of this frame image, first environment Brightness determining module is used for: being respectively compared the sensitivity information of every frame image with sensitivity threshold value;If image is photosensitive It spends information and is higher than sensitivity threshold value, reduce the initial luminance data of image;If the sensitivity information of image is lower than sensitivity threshold value, Improve the initial luminance data of image.
It can be pre-configured with sensitivity threshold value, repaired by comparing the size of sensitivity information and the sensitivity threshold value of image Positive initial luminance data, for example, it is lower to represent ambient brightness, camera if the sensitivity information of image is higher than sensitivity threshold value Brightness of image is improved by improving sensitivity, it is therefore desirable to reduce the luminance information of image, it is bright could to obtain true environment Degree, this implementation are simple, quick.
In conjunction with the 5th kind of implementation of second aspect, in the 8th kind of implementation of the second aspect of the embodiment of the present invention In, first environment brightness determining module is used for: determining every frame figure according to the luminance information of each pixel in every frame image respectively The initial luminance data of picture;Obtain the geographical location information of mobile terminal;According to the geographical location information respectively to this frame image Initial luminance data be modified, the luminance information after obtaining every frame image correction;According to the brightness after each frame image correction Information determines first environment luminance information.
Since geographical location information can also reflect ambient brightness, when sensitivity information can not be obtained, can pass through Geographical location information is modified the brightness of image.
The 5th kind of implementation with reference to first aspect, in the 9th kind of implementation of the first aspect of the embodiment of the present invention In, further include second environment brightness determining module, be used for: obtaining the geographical location information of mobile terminal;According to the geographical location The second environment luminance information of acquisition of information mobile terminal location;Correspondingly, brightness of display screen adjustment module is used for: according to First environment luminance information and second environment luminance information adjust the brightness of display screen of mobile terminal.
Since ambient brightness is related with locating geographical location, device provided in an embodiment of the present invention obtains movement The geographical location information of terminal, so that the second environment luminance information of mobile terminal location is obtained, it is bright in conjunction with first environment Brightness of display screen is adjusted in degree information and ambient brightness information, and the precision of brightness regulation can be improved.
The third aspect, the embodiment of the invention provides a kind of mobile terminals, including processor and memory:
Memory is used to store the program for each embodiment of the method for executing first aspect present invention;
Processor is configurable for executing the program stored in the memory.
Since camera acquires ambient enviroment image, the brightness of image can reflect the brightness of ambient enviroment, this The mobile terminal that inventive embodiments provide determines first environment luminance information, and at least root using the image that camera obtains Brightness of display screen is adjusted according to the first environment luminance information.Mobile terminal provided in an embodiment of the present invention does not depend on sense The adjusting to brightness of display screen also may be implemented in optical element, to avoid mismatching due to brightness of display screen and ambient brightness as far as possible Cause user that can not see the image of display screen output clearly, improves the safety and reliability that mobile terminal uses.
Below to mobile terminal structure provided in an embodiment of the present invention by taking mobile terminal is rearview mirror automobile data recorder as an example It is illustrated:
Shown in fig. 1 is the part of rearview mirror automobile data recorder relevant to embodiment of the method provided in an embodiment of the present invention The block diagram of structure.With reference to Fig. 1, rearview mirror automobile data recorder includes: camera 110, memory 120, input unit 130, display Unit 140, sensor 150, voicefrequency circuit 160, Wireless Fidelity (wireless-fidelity, Wi-Fi) module 170, processor The components such as 180 and power supply 190.It will be understood by those skilled in the art that rearview mirror automobile data recorder structure shown in Fig. 1 The restriction to rearview mirror automobile data recorder is not constituted, may include components more more or fewer than diagram, or combine certain Component or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 1 to rearview mirror automobile data recorder:
Camera 110 includes that at least one camera is used to shoot the ambient image in front of the vehicles, can also include It also may include environment external, for shooting vehicles rear for shooting the camera of vehicle interior situation Image.
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory by operation 11120 software program and module, thereby executing the various function application and data processing of rearview mirror automobile data recorder.It deposits Reservoir 120 can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one Application program needed for a function (such as sound-playing function, image player function etc.) etc.;Storage data area can store basis Rearview mirror automobile data recorder uses created data (such as audio data, phone directory etc.) etc..In addition, memory 120 can It can also include nonvolatile memory to include high-speed random access memory, a for example, at least disk memory is dodged Memory device or other volatile solid-state parts.
Input unit 130 can be used for receiving the number or character information of input, and generate and rearview mirror automobile data recorder User setting and function control related key signals input.Specifically, input unit 130 may include touch panel 131 with And other input equipments 132.Touch panel 131, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus attached on touch panel 131 or in touch panel 131 Close operation), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 131 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 180, and order that processor 180 is sent can be received and executed.This Outside, touch panel 131 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch-control Panel 131, input unit 130 can also include other input equipments 132.Specifically, other input equipments 132 may include but It is not limited to function key (such as volume control button, switch key etc.), physical keyboard etc..
Display unit 140 can be used for showing information input by user or the information and rearview mirror driving that are supplied to user The various menus of recorder.Display unit 140 may include display panel 141, optionally, can use mirror surface display screen, liquid crystal Display (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) etc. forms configure display panel 141.Further, touch panel 131 can cover display panel 141, work as touching After control panel 131 detects touch operation on it or nearby, processor 180 is sent to determine the type of touch event, It is followed by subsequent processing device 180 and provides corresponding visual output on display panel 141 according to the type of touch event.Although in Fig. 1, Touch panel 131 and display panel 141 are as two independent components the input of realizing rearview mirror automobile data recorder and defeated Function out, but in some embodiments it is possible to touch panel 131 and display panel 141 are integrated and realizes rearview mirror and drives a vehicle Recorder outputs and inputs function.
Rearview mirror automobile data recorder may also include at least one sensor 150, such as motion sensor and other sensings Device.Specifically, as a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used to identify rearview mirror automobile data recorder posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other biographies such as gyroscope, barometer, hygrometer, thermometer, infrared sensor that rearview mirror automobile data recorder can also configure Sensor, details are not described herein.
Voicefrequency circuit 160 connects loudspeaker 161 and microphone 162, and microphone 162 can provide user and rearview mirror driving is remembered Record the audio interface between instrument.Electric signal after the audio data received conversion can be transferred to loudspeaker by voicefrequency circuit 160 161, voice signal output is converted to by loudspeaker 161;On the other hand, the voice signal of collection is converted to electricity by microphone 162 Signal is converted to audio data after being received by voicefrequency circuit 160, then by after the processing of audio data output processor 180, through WiFi Module 170 is exported to memory 120 to be sent to such as another mobile phone, or by audio data to be further processed.
WiFi belongs to short range wireless transmission technology, and rearview mirror automobile data recorder can help to use by WiFi module 170 Family sends and receive e-mail, browses webpage and access streaming video etc., it provides wireless broadband internet access for user.
Processor 180 is the control centre of rearview mirror automobile data recorder, utilizes various interfaces and the entire backsight of connection The various pieces of mirror automobile data recorder, by running or executing the application program and/or module that are stored in memory 120, with And the data being stored in memory 120 are called, the various functions and processing data of rearview mirror automobile data recorder are executed, thus right Rearview mirror automobile data recorder carries out whole monitoring.Optionally, processor 180 may include one or more processing units;Preferably, Processor 180 can integrate application processor and modem processor, wherein the main processing operation system of application processor is used Family interface and application program etc., modem processor mainly handle wireless communication.It is understood that above-mentioned modulatedemodulate is mediated Reason device can not also be integrated into processor 180.
Rearview mirror automobile data recorder further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can With logically contiguous by power-supply management system and processor 180, thus charged, discharged by power-supply management system realization management, And the functions such as power managed.
Although being not shown, rearview mirror automobile data recorder can also be including bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 180 included by the mobile terminal is also with the following functions:
Camera acquired image is obtained from the caching of mobile terminal;The first ring is determined according to the above-mentioned image of acquisition Border luminance information;The brightness of display screen of above-mentioned mobile terminal is adjusted according at least to first environment luminance information.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored with computer program, should The method in each embodiment of first aspect present invention is realized when computer program is executed by processor.
Since camera acquires ambient enviroment image, the brightness of image can reflect the brightness of ambient enviroment, this The storage medium that inventive embodiments provide determines first environment luminance information, and at least root using the image that camera obtains Brightness of display screen is adjusted according to the first environment luminance information.Storage medium provided in an embodiment of the present invention does not depend on sense The adjusting to brightness of display screen also may be implemented in optical element, to avoid mismatching due to brightness of display screen and ambient brightness as far as possible Cause user that can not see the image of display screen output clearly, improves the safety and reliability that mobile terminal uses.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, the program can store in a kind of computer readable storage medium, on Stating the storage medium mentioned can be read-only memory, disk or CD etc..
A kind of computer equipment provided by the present invention is described in detail above, for the general technology of this field Personnel, thought according to an embodiment of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute It states, the contents of this specification are not to be construed as limiting the invention.
The invention discloses: A1, a kind of method for the brightness of display screen for adjusting mobile terminal characterized by comprising
Camera acquired image is obtained from the caching of the mobile terminal;
First environment luminance information is determined according to the described image of acquisition;
The brightness of display screen of the mobile terminal is adjusted according at least to the first environment luminance information.
A2, method according to a1, which is characterized in that the camera that obtains from the caching of the mobile terminal is adopted The image collected, comprising:
Whenever the image for updating the first predetermined quantity in the caching of the mobile terminal, the caching of the mobile terminal is obtained In the second predetermined quantity image.
A3, method according to a1, which is characterized in that the camera that obtains from the caching of the mobile terminal is adopted The image collected, comprising:
The image of the second predetermined quantity is obtained from the stack of the mobile terminal, the stack is collected for caching camera Image.
A4, method according to a1, which is characterized in that the camera that obtains from the caching of the mobile terminal is adopted The image collected, comprising:
The image of the second predetermined quantity is obtained from the queue of the mobile terminal, the queue is adopted for caching camera The image collected.
A5, according to the described in any item methods of A1~A4, which is characterized in that it is described according at least to the first environment brightness Information adjusts the brightness of display screen of the mobile terminal, comprising:
After the brightness of display screen and the first environment luminance information for determining the mobile terminal mismatch, described in adjusting The brightness of display screen of mobile terminal is extremely matched with first environment luminance information.
A6, according to the described in any item methods of A1~A4, which is characterized in that the described image according to acquisition determines One ambient brightness information, comprising:
The initial luminance data of every frame image is determined according to the luminance information of each pixel in every frame image respectively;
The initial luminance data of this frame image is modified according to the sensitivity information of every frame image respectively, obtains every frame Luminance information after image correction;
First environment luminance information is determined according to the luminance information after each frame image correction.
A7, the method according to A6, which is characterized in that described respectively according to the sensitivity information of every frame image to this frame The initial luminance data of image is modified, comprising:
The sensitivity information of every frame image is compared with sensitivity threshold value respectively;
If the sensitivity information of image is higher than the sensitivity threshold value, the initial luminance data of described image is reduced;
If the sensitivity information of image is lower than the sensitivity threshold value, the original intensity threshold value of described image is improved.
A8, the method according to A6, which is characterized in that the described image according to acquisition determines first environment brightness Information, comprising:
The initial luminance data of every frame image is determined according to the luminance information of each pixel in every frame image respectively;
Obtain the geographical location information of the mobile terminal;
The initial luminance data of this frame image is modified respectively according to the geographical location information, obtains every frame image Revised luminance information;
First environment luminance information is determined according to the luminance information after each frame image correction.
A9, the method according to A6, which is characterized in that this method further include: obtain the geographical position of the mobile terminal Confidence breath;The second environment luminance information of the mobile terminal location is obtained according to the geographical location information;
The brightness of display screen that the mobile terminal is adjusted according at least to the first environment luminance information, comprising:
The display screen for adjusting the mobile terminal according to first environment luminance information and the second environment luminance information is bright Degree.
B10, a kind of device for the brightness of display screen for adjusting mobile terminal characterized by comprising
Image collection module, for obtaining camera acquired image from the caching of the mobile terminal;
First environment brightness determining module determines first environment luminance information for the described image according to acquisition;
Brightness of display screen adjustment module, for adjusting the mobile terminal according at least to the first environment luminance information Brightness of display screen.
B11, device according to b10, which is characterized in that described image obtains module and is used for:
Whenever the image for updating the first predetermined quantity in the caching of the mobile terminal, the caching of the mobile terminal is obtained In the second predetermined quantity image.
B12, device according to b10, which is characterized in that described image obtains module and is used for:
The image of the second predetermined quantity is obtained from the stack of the mobile terminal, the stack is collected for caching camera Image.
B13, device according to b10, which is characterized in that described image obtains module and is used for:
The image of the second predetermined quantity is obtained from the queue of the mobile terminal, the queue is adopted for caching camera The image collected.
B14, according to the described in any item devices of B10~B13, which is characterized in that the brightness of display screen adjustment module is used In:
After the brightness of display screen and the first environment luminance information for determining the mobile terminal mismatch, described in adjusting The brightness of display screen of mobile terminal is extremely matched with first environment luminance information.
B15, according to the described in any item devices of B10~B13, which is characterized in that the first environment brightness determining module For:
The initial luminance data of every frame image is determined according to the luminance information of each pixel in every frame image respectively;
The initial luminance data of this frame image is modified according to the sensitivity information of every frame image respectively, obtains every frame Luminance information after image correction;
First environment luminance information is determined according to the luminance information after each frame image correction.
B16, the device according to B15, which is characterized in that in order to respectively according to the sensitivity information of every frame image to this The initial luminance data of frame image is modified, and the first environment brightness determining module is used for:
The sensitivity information of every frame image is compared with sensitivity threshold value respectively;
If the sensitivity information of image is higher than the sensitivity threshold value, the initial luminance data of described image is reduced;
If the sensitivity information of image is lower than the sensitivity threshold value, the original intensity threshold value of described image is improved.
B17, the device according to B15, which is characterized in that the first environment brightness determining module is used for:
The initial luminance data of every frame image is determined according to the luminance information of each pixel in every frame image respectively;
Obtain the geographical location information of the mobile terminal;
The initial luminance data of this frame image is modified respectively according to the geographical location information, obtains every frame image Revised luminance information;
First environment luminance information is determined according to the luminance information after each frame image correction.
B18, the device according to B15, which is characterized in that further include second environment brightness determining module, be used for:
Obtain the geographical location information of the mobile terminal;The mobile terminal institute is obtained according to the geographical location information Second environment luminance information in area;
The brightness of display screen adjustment module is used for:
The display screen for adjusting the mobile terminal according to first environment luminance information and the second environment luminance information is bright Degree.
C19, a kind of mobile terminal, which is characterized in that including processor and memory:
The memory is used to store the program for executing any one of A1 to A9 the method;
The processor is configured to for executing the program stored in the memory.
D20, a kind of computer readable storage medium, are stored with computer program, which is characterized in that the computer program A1 to A9 described in any item methods are realized when being executed by processor.

Claims (10)

1. a kind of method for the brightness of display screen for adjusting mobile terminal characterized by comprising
Camera acquired image is obtained from the caching of the mobile terminal;
First environment luminance information is determined according to the described image of acquisition;
The brightness of display screen of the mobile terminal is adjusted according at least to the first environment luminance information.
2. the method according to claim 1, wherein described obtain camera from the caching of the mobile terminal Acquired image, comprising:
Whenever the image for updating the first predetermined quantity in the caching of the mobile terminal, obtain in the caching of the mobile terminal The image of two predetermined quantities.
3. the method according to claim 1, wherein described obtain camera from the caching of the mobile terminal Acquired image, comprising:
The image of the second predetermined quantity is obtained from the stack of the mobile terminal, the stack is for caching the collected figure of camera Picture.
4. the method according to claim 1, wherein described obtain camera from the caching of the mobile terminal Acquired image, comprising:
The image of the second predetermined quantity is obtained from the queue of the mobile terminal, the queue is collected for caching camera Image.
5. method according to any one of claims 1 to 4, which is characterized in that described bright according at least to the first environment Degree information adjusts the brightness of display screen of the mobile terminal, comprising:
After the brightness of display screen and the first environment luminance information for determining the mobile terminal mismatch, the movement is adjusted The brightness of display screen of terminal is extremely matched with first environment luminance information.
6. method according to any one of claims 1 to 4, which is characterized in that described to be determined according to the described image of acquisition First environment luminance information, comprising:
The initial luminance data of every frame image is determined according to the luminance information of each pixel in every frame image respectively;
The initial luminance data of this frame image is modified according to the sensitivity information of every frame image respectively, obtains every frame image Revised luminance information;
First environment luminance information is determined according to the luminance information after each frame image correction.
7. according to the method described in claim 6, it is characterized in that, described respectively according to the sensitivity information of every frame image to this The initial luminance data of frame image is modified, comprising:
The sensitivity information of every frame image is compared with sensitivity threshold value respectively;
If the sensitivity information of image is higher than the sensitivity threshold value, the initial luminance data of described image is reduced;
If the sensitivity information of image is lower than the sensitivity threshold value, the original intensity threshold value of described image is improved.
8. a kind of device for the brightness of display screen for adjusting mobile terminal characterized by comprising
Image collection module, for obtaining camera acquired image from the caching of the mobile terminal;
First environment brightness determining module determines first environment luminance information for the described image according to acquisition;
Brightness of display screen adjustment module, for adjusting the display of the mobile terminal according at least to the first environment luminance information Shield brightness.
9. a kind of mobile terminal, which is characterized in that including processor and memory:
The memory is used to store the program that perform claim requires any one of 1 to 7 the method;
The processor is configured to for executing the program stored in the memory.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located It manages when device executes and realizes the described in any item methods of claim 1 to 7.
CN201811161626.5A 2018-09-30 2018-09-30 Mobile terminal and the method, apparatus and storage medium for adjusting its brightness of display screen Pending CN109147719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811161626.5A CN109147719A (en) 2018-09-30 2018-09-30 Mobile terminal and the method, apparatus and storage medium for adjusting its brightness of display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811161626.5A CN109147719A (en) 2018-09-30 2018-09-30 Mobile terminal and the method, apparatus and storage medium for adjusting its brightness of display screen

Publications (1)

Publication Number Publication Date
CN109147719A true CN109147719A (en) 2019-01-04

Family

ID=64810561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811161626.5A Pending CN109147719A (en) 2018-09-30 2018-09-30 Mobile terminal and the method, apparatus and storage medium for adjusting its brightness of display screen

Country Status (1)

Country Link
CN (1) CN109147719A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110187812A (en) * 2019-04-28 2019-08-30 珠海格力电器股份有限公司 It is a kind of to activate the method for touch screen, electronic equipment and touch communication apparatus
CN110855827A (en) * 2019-09-27 2020-02-28 珠海格力电器股份有限公司 Brightness adjusting method and device, terminal and storage medium
EP3684049A1 (en) * 2019-01-17 2020-07-22 Samsung Electronics Co., Ltd. Method of acquiring outside luminance using camera sensor and electronic device applying the method
CN111629103A (en) * 2019-02-28 2020-09-04 摩托罗拉移动有限责任公司 Method for managing display brightness of mobile device, mobile device and storage device
CN113035144A (en) * 2019-12-25 2021-06-25 Oppo广东移动通信有限公司 Method and device for adjusting display parameters, mobile terminal and storage medium
CN113347359A (en) * 2021-06-02 2021-09-03 深圳康佳电子科技有限公司 Position adjusting method, device and equipment of image acquisition device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458921A (en) * 2007-12-12 2009-06-17 联想(北京)有限公司 Brightness regulating method and apparatus for display and computer thereof
CN101482425A (en) * 2008-01-10 2009-07-15 佛山市顺德区顺达电脑厂有限公司 Navigation apparatus with adjustable backlight brightness and its method
US20090231440A1 (en) * 2008-03-14 2009-09-17 Innocom Technology (Shenzhen) Co., Ltd. Brightness automatically adjusting system and method for adjusting brightness thereof
CN105187626A (en) * 2015-07-14 2015-12-23 小米科技有限责任公司 Adjustment method of backlight brightness and device
CN204991104U (en) * 2015-07-31 2016-01-20 深圳市小行星科技有限公司 Vehicle mounted LCD display
CN205827889U (en) * 2016-06-28 2016-12-21 江苏北斗星通汽车电子有限公司 There is the automatic navigator that can be automatically adjusted screen intensity
CN107458225A (en) * 2017-08-29 2017-12-12 明光泰源安防科技有限公司 A kind of intelligent vehicle-carried display system of automatically adjusting parameter
CN108600649A (en) * 2018-04-26 2018-09-28 莆田市烛火信息技术有限公司 A kind of Intelligent House Light brightness acquisition and control method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458921A (en) * 2007-12-12 2009-06-17 联想(北京)有限公司 Brightness regulating method and apparatus for display and computer thereof
CN101482425A (en) * 2008-01-10 2009-07-15 佛山市顺德区顺达电脑厂有限公司 Navigation apparatus with adjustable backlight brightness and its method
US20090231440A1 (en) * 2008-03-14 2009-09-17 Innocom Technology (Shenzhen) Co., Ltd. Brightness automatically adjusting system and method for adjusting brightness thereof
CN105187626A (en) * 2015-07-14 2015-12-23 小米科技有限责任公司 Adjustment method of backlight brightness and device
CN204991104U (en) * 2015-07-31 2016-01-20 深圳市小行星科技有限公司 Vehicle mounted LCD display
CN205827889U (en) * 2016-06-28 2016-12-21 江苏北斗星通汽车电子有限公司 There is the automatic navigator that can be automatically adjusted screen intensity
CN107458225A (en) * 2017-08-29 2017-12-12 明光泰源安防科技有限公司 A kind of intelligent vehicle-carried display system of automatically adjusting parameter
CN108600649A (en) * 2018-04-26 2018-09-28 莆田市烛火信息技术有限公司 A kind of Intelligent House Light brightness acquisition and control method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3684049A1 (en) * 2019-01-17 2020-07-22 Samsung Electronics Co., Ltd. Method of acquiring outside luminance using camera sensor and electronic device applying the method
US11393410B2 (en) 2019-01-17 2022-07-19 Samsung Electronics Co., Ltd. Method of acquiring outside luminance using camera sensor and electronic device applying the method
US11610558B2 (en) 2019-01-17 2023-03-21 Samsung Electronics Co., Ltd. Method of acquiring outside luminance using camera sensor and electronic device applying the method
CN111629103A (en) * 2019-02-28 2020-09-04 摩托罗拉移动有限责任公司 Method for managing display brightness of mobile device, mobile device and storage device
CN110187812A (en) * 2019-04-28 2019-08-30 珠海格力电器股份有限公司 It is a kind of to activate the method for touch screen, electronic equipment and touch communication apparatus
CN110855827A (en) * 2019-09-27 2020-02-28 珠海格力电器股份有限公司 Brightness adjusting method and device, terminal and storage medium
CN113035144A (en) * 2019-12-25 2021-06-25 Oppo广东移动通信有限公司 Method and device for adjusting display parameters, mobile terminal and storage medium
CN113347359A (en) * 2021-06-02 2021-09-03 深圳康佳电子科技有限公司 Position adjusting method, device and equipment of image acquisition device and storage medium
CN113347359B (en) * 2021-06-02 2022-10-04 深圳康佳电子科技有限公司 Position adjusting method, device and equipment of image acquisition device and storage medium

Similar Documents

Publication Publication Date Title
CN109147719A (en) Mobile terminal and the method, apparatus and storage medium for adjusting its brightness of display screen
CN111257866B (en) Target detection method, device and system for linkage of vehicle-mounted camera and vehicle-mounted radar
US10310662B2 (en) Rendering across terminals
CN109241765B (en) Mobile terminal and method and device for managing authority of application program
US11112900B2 (en) Method and apparatus for controlling vehicular user interface under driving condition
US10471894B2 (en) Method and apparatus for controlling vehicular user interface under driving circumstance
CN104204729B (en) User terminal apparatus and its control method
CN108055402B (en) Shooting method and mobile terminal
CN110147705A (en) A kind of vehicle positioning method and electronic equipment of view-based access control model perception
KR20130120599A (en) Mobile terminal and control method thereof
KR101824555B1 (en) mobile terminal for performing head up display function, operating method thereof, and routine informing device interacting thereof
CN108337368A (en) A kind of update method and mobile terminal of location data
WO2022213733A1 (en) Method and apparatus for acquiring flight route, and computer device and readable storage medium
WO2021000956A1 (en) Method and apparatus for upgrading intelligent model
CN103902002A (en) Power supply managing method and device
CN108061557A (en) A kind of air navigation aid and mobile terminal
WO2022142713A1 (en) Method and apparatus for monitoring vehicle driving information
KR101525840B1 (en) Navigation device and method for providing information using the same
CN112269939B (en) Automatic driving scene searching method, device, terminal, server and medium
US20230400323A1 (en) Navigation interface display method and apparatus, terminal, and storage medium
CN111093266B (en) Navigation calibration method and electronic equipment
CN109257501B (en) Mobile terminal, method and device for adjusting brightness of display screen of mobile terminal, mobile terminal and storage medium
US11235708B2 (en) Head-up display for a vehicle
CN110035379B (en) Positioning method and terminal equipment
CN110969996A (en) Mobile terminal, method and device for adjusting brightness of display screen of mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104

RJ01 Rejection of invention patent application after publication