WO2016176966A1 - 调整屏幕亮度的方法及系统 - Google Patents
调整屏幕亮度的方法及系统 Download PDFInfo
- Publication number
- WO2016176966A1 WO2016176966A1 PCT/CN2015/092125 CN2015092125W WO2016176966A1 WO 2016176966 A1 WO2016176966 A1 WO 2016176966A1 CN 2015092125 W CN2015092125 W CN 2015092125W WO 2016176966 A1 WO2016176966 A1 WO 2016176966A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- screen
- brightness
- screenshot
- attribute parameter
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0613—The adjustment depending on the type of the information to be displayed
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
- G09G2320/0646—Modulation of illumination source brightness and image signal correlated to each other
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/16—Calculation or use of calculated indices related to luminance levels in display data
Definitions
- the present invention relates to the field of screen brightness adjustment of mobile terminals, and more particularly to a method and system for adjusting screen brightness.
- the brightness of the screen of the mobile phone is adjusted only according to the light intensity of the external environment, and the purpose of protecting the eyes of the user is not well satisfied.
- an object of the present invention is to provide a method and system for adjusting the brightness of a screen, which aims to solve the problem of intelligent adjustment of the brightness of the screen of the mobile phone to protect the eyes of the user.
- a method of adjusting screen brightness comprising the steps of:
- the display brightness of the screen is increased, so that the adjusted picture attribute parameter is equal to the screen brightness before the adjustment.
- the method for adjusting screen brightness wherein when the program currently used by the user is determined not to browse a picture, the step of obtaining an attribute parameter of the screenshot includes:
- the screenshot program is called to take a screenshot to get a screenshot
- the method for adjusting screen brightness wherein the attribute parameters include: contrast, color, and brightness.
- the invention also provides a method for adjusting the brightness of a screen, comprising:
- the method for adjusting screen brightness wherein before the step of acquiring the attribute parameter and the screen brightness of the current screen image, the method further includes:
- the method for adjusting screen brightness wherein the step of acquiring an attribute parameter of a current screen picture comprises:
- the attribute parameters of the screenshot are obtained.
- the method for adjusting screen brightness wherein when the program currently used by the user is determined not to browse a picture, the step of obtaining an attribute parameter of the screenshot includes:
- the screenshot program is called to take a screenshot
- the method for adjusting screen brightness wherein the attribute parameters of the picture include: contrast, color, and brightness.
- the present invention also provides a system for adjusting screen brightness, comprising:
- An obtaining module configured to acquire an attribute parameter and a screen brightness of a current screen image
- a parameter comparison module configured to compare an attribute parameter of the current screen image with the screen brightness
- a brightness adjustment module configured to reduce a display brightness of the screen when the attribute parameter value of the current screen picture is greater than the screen brightness, so that the adjusted picture attribute parameter is equal to the screen brightness before the adjustment; when the current screen picture is When the attribute parameter value is smaller than the screen brightness, the display brightness of the screen is increased, so that the adjusted picture attribute parameter is equal to the screen brightness before the adjustment.
- the system for adjusting screen brightness further comprising:
- the parameter storage module is configured to allocate a fixed ID to all the pictures in the system and save the attribute parameters of all the pictures before acquiring the attribute parameters and the screen brightness of the current screen image.
- the system for adjusting screen brightness wherein the obtaining module comprises:
- a determining unit configured to obtain a program used by a current screen page of the user, and determine whether the currently used program of the user is a browsing picture
- a first parameter obtaining unit configured to: when determining that the program currently used by the user is a browsing picture, acquire an ID of the picture, and obtain an attribute parameter of the corresponding picture according to the ID of the picture;
- the second parameter obtaining unit is configured to obtain an attribute parameter of the screenshot when determining that the program currently used by the user is not browsing the picture.
- the system for adjusting screen brightness wherein the second parameter obtaining unit comprises:
- a screenshot storage unit for storing screenshots to an SD card
- a screenshot attribute parameter obtaining unit configured to acquire a picture attribute parameter of the screenshot
- a screenshot deletion unit for deleting the screenshot is a screenshot deletion unit for deleting the screenshot.
- attribute parameters of the picture include: contrast, color, and brightness.
- the present invention also provides a storage medium storing processor-executable instructions, wherein the processor-executable instructions are for causing a processor to:
- the display brightness of the screen is increased, so that the adjusted picture attribute parameter is equal to the screen brightness before the adjustment.
- the storage medium wherein the processor-executable instructions stored in the storage medium are further used by the processor to perform the following operations before the processor performs an operation of acquiring attribute parameters and screen brightness of the current screen image:
- the storage medium wherein the processor-executable instructions stored in the storage medium cause the processor to perform the following operations when the processor acquires an attribute parameter of a current screen image:
- the attribute parameters of the screenshot are obtained.
- the screenshot program is called to take a screenshot
- the storage medium wherein the attribute parameters of the picture include: contrast, color, and brightness.
- the present invention obtains a picture of a screen of a mobile phone.
- the user When the user is browsing the picture, directly obtain the ID of the user image, and then obtain the attribute parameter of the picture, and when the user is not browsing the picture, obtain the screenshot every predetermined time, obtain the attribute parameter of the screenshot, and delete the screenshot, which will be obtained.
- the attribute parameter of the screen image of the mobile phone is compared with the current screen brightness. When the attribute parameter value is greater than the current brightness, the screen display brightness is lowered. When the attribute parameter value is smaller than the current brightness, the screen display brightness is increased to ensure that the user is using the mobile phone.
- the brightness of the screen is intelligently adjusted according to the content browsed by the user, so that the brightness of the screen is adjusted to the brightness most suitable for eye viewing, and the eyes of the user are protected.
- FIG. 1 is a flow chart showing the steps of a method for adjusting screen brightness according to the present invention.
- FIG. 2 is a flow chart showing the steps of acquiring a picture attribute parameter in the method for adjusting screen brightness according to the present invention.
- FIG. 3 is a flow chart showing the steps of obtaining a picture attribute parameter of a screenshot according to a method for adjusting screen brightness according to the present invention.
- FIG. 4 is a flow chart showing the acquisition of screen picture attribute parameters of the method for adjusting screen brightness according to the present invention.
- FIG. 5 is a structural block diagram of a system for adjusting screen brightness according to the present invention.
- FIG. 6 is a structural block diagram of an acquisition module of a system for adjusting screen brightness according to the present invention.
- FIG. 7 is a structural block diagram of a second parameter acquisition unit of a system for adjusting screen brightness according to the present invention.
- the present invention provides a method and system for adjusting the brightness of a screen.
- the present invention will be further described in detail below. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
- FIG. 1 is a flow chart of steps of a method for adjusting screen brightness according to the present invention, including steps:
- the screen display brightness is lowered, so that the adjusted picture attribute parameter is equal to the screen brightness before the adjustment, and when the screen picture attribute parameter value is smaller than the screen brightness, the screen display brightness is increased to enable The adjusted picture attribute parameter is equal to the screen brightness before adjustment.
- the method for adjusting the brightness of the screen of the present invention firstly obtains the screen picture attribute parameter and the screen brightness, that is, obtains the attribute parameter of the picture currently located on the screen, and the attribute parameter of the picture is not the same as the brightness of the screen itself, when the screen is one When the brightness is too dark, the picture is too dark or too bright, which will affect the user's eyes and stimulate the user's eyes.
- the invention compares the screen picture attribute parameter with the screen brightness. After comparing, when the picture attribute parameter is greater than the screen brightness, it indicates that the current picture will stimulate the human eye, thus reducing the screen display brightness.
- the picture attribute parameter is lower than the screen brightness, the picture is too dark, so the screen brightness is increased to meet the user's eye needs.
- the user's eyes are protected, and the specific method of brightness adjustment is to obtain the attribute parameter of the screen picture as a reference for adjusting the brightness of the screen.
- the degree of stimulation of the picture on the glasses is firstly the brightness of the picture, and the value generally takes 0-255. The higher the color; the second is the color of the picture, where the average value of the color is taken, each color is synthesized by the red, blue and green components, and the present invention obtains the values of the colors of the three components, and the value is also 0-255.
- the contrast if a picture with a low average color value, the contrast is very large, that is, the difference between the light and dark areas is very large, it will also cause visual fatigue, the recognized 120:1 is the ideal contrast.
- the picture brightness value bright_value[] this value is equivalent to the screen brightness, no conversion is required; then read the color, we take 125 as the intermediate value, The excess or deficiency is calculated as the brightness value according to 30%; and the contrast is more than 120:1, which is calculated as the brightness value according to 20%, and finally the equivalent brightness value of the three parameters is current.
- Screen brightness contrast adjust the screen brightness according to the comparison result, so that the attribute parameter of the adjusted picture is equal to the screen brightness before the adjustment, because the screen brightness before the adjustment is the best screen brightness of the prior art, so when the browsed page is too dark or Too bright, just adjust the property parameters of the screen image to match the brightness of the screen before adjustment.
- the method for adjusting the brightness of the screen wherein before the step S1, further comprises:
- step S0 assign a fixed ID to all the pictures in the system, and save the attribute parameters of all the pictures.
- step S1 firstly, all the pictures of the mobile phone need to be assigned a fixed ID, and the attribute parameters of the picture are saved, so that when the user browses the picture, the picture ID is obtained intelligently, thereby obtaining the attribute parameter of the picture. For easy comparison with screen brightness.
- step S1 includes:
- step S1 the screen image attribute is obtained, and it is determined whether the program currently used by the user is a browsing picture. If the program for browsing the picture is used, the ID of the browsed picture may be directly obtained, and then the attribute parameter of the picture is obtained; When the user is not browsing the picture, for example, reading an e-book, or watching a video, the attribute parameters of the screenshot are obtained, so that the screen picture attribute can be compared with the screen brightness regardless of the program used by the user. Intelligently adjust screen brightness.
- FIG. 3 it is a flowchart of a step of acquiring a picture attribute parameter of a screenshot according to the method for adjusting screen brightness according to the present invention, wherein the step S103 includes:
- S1031 Call the screenshot program to perform a screen capture every preset time
- step S103 when the user is not browsing the picture, the attribute parameter of the screenshot is obtained.
- the screenshot program is called to perform screen capture every preset time, and the method of the present invention adjusts the brightness of the screen of the mobile phone in real time. Therefore, the preset time cannot be too short.
- the present invention preferably calls the screenshot program every five seconds to perform a screen capture.
- the screenshot is stored to the SD card to obtain the attribute parameters of the screenshot, and the screenshot reflects the current user.
- the screen of the mobile phone being watched, comparing the attribute parameters of the screenshot with the brightness of the screen can be used to determine whether the current browsing page is too dark or too bright, which will stimulate the human eye.
- the screen is deleted. Screenshot, freeing memory.
- the above-mentioned step of determining whether the user uses the program as a browsing picture, as shown in FIG. 4, turns on the automatic adjustment function, determines whether the currently used program is a browsing picture, and obtains an ID to obtain a picture attribute parameter. If not, take a screenshot and get the image attribute of the screenshot, which is compared with the brightness of the screen to adjust the brightness of the screen.
- the picture attribute parameters include: contrast, color, and brightness.
- the attribute parameters of the picture include parameters such as contrast, color, brightness, and the like that affect the visual effect of the user.
- the brighter the color the greater the brightness, the stronger the stimulation to the eyes.
- the brightness of the screen of the mobile phone should be lowered to offset the degree of irritation of the picture; otherwise, the brightness of the screen can be improved, and the user can lower the picture because of browsing the darker picture. The resulting visual fatigue.
- the content read by the user can be roughly divided into three categories: pictures, videos, other (text, browser, app application, etc.), and in the solution of the present invention, the user can also set through the system ( Similar to the automatic backlight switch currently available on mobile phones, choose whether to activate this function. If the user activates this function, the function is automatically run when the TP is woken up.
- the present invention takes image reading as an example. First, we create a listener that listens to which image is called by the gallery and obtains the ID of the image. In the android system, the attribute parameters of each picture are mostly stored in the exif information of the following path: therefore, in the present invention, the plurality of parameter information of the acquired screen picture attribute parameters are stored in the following code.
- the invention needs to obtain a picture attribute parameter, and the above parameter can be obtained by a similar method.
- ExifInterface exif new ExifInterface(filePath);//Define the path of an exif file
- Double Data exif.getAttributeDouble(ExifInterface.TAG_FOCAL_LENGTH, 0); query the relevant properties of the exif file, and cast to double type data
- the above code is an example of how to obtain the relevant attribute values in the parameter exif file, so the code for obtaining the specific parameter values will not be explained in detail.
- the screen capture function GlobalScreenshot_2 (Context) is called every 5 seconds.
- the screen capture function includes the dynamic display of the screenshot process on the window and the floating window display image in the native code of android, but this will affect the user's reading experience, so the GlobalScreenshot (Context) in the native code cannot be directly called. Context), but remove the following windows part of the code, to ensure that after the screenshot is automatically saved will not display the screenshot process, there will be no floating window, to avoid affecting the normal use of the user.
- a comprehensive value related to color and brightness of the current picture is obtained by a centralized algorithm, and the integrated value is compared with the current screen brightness to determine whether it is necessary to increase or decrease the brightness of the screen.
- the function can be setScreenBrightness(int). Brightness) to achieve the adjustment of the brightness value:
- the brightness ranges from 0 (minimum / off) to 255 (brightest).
- mScreenBrightness brightness; / / will set the value assigned to mscreenbrightness / /
- the above method of the present invention specifically sets the amount of luminance value which has been proposed in the above-described method step flow. Therefore, it is not described here.
- the present invention also provides a system for adjusting the brightness of a screen, as shown in FIG. 5, which is a structural block diagram of the system. Among them, including:
- the obtaining module 100 is configured to obtain a current screen image attribute parameter and a screen brightness
- the parameter comparison module 200 is configured to compare the current screen image attribute parameter with the screen brightness
- the brightness adjustment module 300 is configured to reduce the screen display brightness when the screen picture attribute parameter value is greater than the screen brightness, so that the adjusted picture attribute parameter is equal to the screen brightness before the adjustment, and when the screen picture attribute parameter value is less than the screen brightness, improve The screen displays brightness so that the adjusted picture attribute parameter is equal to the screen brightness before adjustment.
- system for adjusting screen brightness wherein the system further comprises:
- the parameter storage module 400 is configured to allocate a fixed ID to all the pictures in the system, and save attribute parameters of all the pictures.
- FIG. 6 it is a structural block diagram of an acquiring module of a system for adjusting screen brightness according to the present invention, wherein the obtaining module 100 includes:
- the determining unit 101 is configured to obtain a program used by the current screen page of the user, and determine whether the program currently used by the user is a browsing picture;
- the first parameter obtaining unit 102 is configured to: when the user browses the picture, acquire the picture ID, and correspondingly acquire the attribute parameter of the picture;
- the second parameter obtaining unit 103 is configured to acquire an attribute parameter of the screenshot when the user is not browsing the picture;
- FIG. 7 it is a structural block diagram of a second parameter obtaining unit of a system for adjusting screen brightness according to the present invention, wherein the second parameter obtaining unit 103 includes:
- the screen capture unit 1031 is configured to call a screenshot program to perform a screen capture every preset time
- a screenshot storage unit 1032 configured to store the screenshot to an SD card
- the screenshot attribute parameter obtaining unit 1033 is configured to acquire a picture attribute parameter of the screenshot
- the screenshot deletion unit 1034 is configured to delete the screenshot.
- the system for adjusting screen brightness wherein the picture attribute parameters include: contrast, color, and brightness.
- the present invention obtains a picture of a mobile phone screen.
- the user When the user is browsing the picture, directly obtain the ID of the user image, and then obtain the attribute parameter of the picture, and when the user is not browsing the picture, obtain the screenshot every predetermined time, obtain the attribute parameter of the screenshot, and delete the screenshot, which will be obtained.
- the attribute parameter of the screen image of the mobile phone is compared with the current screen brightness. When the attribute parameter value is greater than the current brightness, the screen display brightness is lowered. When the attribute parameter value is smaller than the current brightness, the screen display brightness is increased to ensure that the user is using the mobile phone.
- the brightness of the screen is intelligently adjusted according to the content browsed by the user, so that the brightness of the screen is adjusted to the brightness most suitable for eye viewing, and the eyes of the user are protected.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
- Telephone Function (AREA)
Abstract
本发明公开一种调整屏幕亮度的方法及系统,所述方法包括:通过获取手机屏幕图片的属性参数和当前屏幕亮度,将获取到的手机屏幕图片的属性参数与当前屏幕亮度进行对比,当属性参数值大于当前亮度时,降低屏幕显示亮度,当属性参数值小于当前亮度时,提高屏幕显示亮度。
Description
本发明涉及移动终端屏幕亮度调节领域,尤其涉及调整屏幕亮度的方法及系统。
现有技术中,智能手机越来越多的应用于生活当中,用户长时间的盯着智能手机屏幕看,当手机屏幕亮度或者色彩不合适,会刺激用户的眼睛,而当前智能手机虽然已经实现了根据外部环境光强度来自动调节手机屏幕的亮度,但是在同一种外部光环境的情况下,手机显示内容本身的亮度、色彩鲜艳度、对比度的不同,也会对眼睛产生不同的刺激。现有技术中仅仅根据外部环境的光强度来调节手机屏幕的亮度,并不能很好的满足保护用户眼睛的目的。
因此,现有技术还有待于改进和发展。
鉴于上述现有技术的不足,本发明的目的在于提供一种调整屏幕亮度的方法及系统,旨在解决手机屏幕亮度智能调节,保护用户眼睛的问题。
一种调整屏幕亮度的方法,其中,包括步骤:
为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数;
获取用户当前屏幕页面使用的程序和屏幕亮度;
判断用户当前使用的程序是否为浏览图片;
当判定所述用户当前使用的程序是浏览图片时,获取图片的ID,并根据所述图片的ID获取对应的图片的属性参数;
当判定所述用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数;
将所述属性参数与所述屏幕亮度进行比较;
当所述属性参数值大于所述屏幕亮度时,降低屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度;以及
当所述属性参数值小于所述屏幕亮度时,提高屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度。
所述的调整屏幕亮度的方法,其中所述当判定所述用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数的步骤包括:
每隔预设时间,调用截图程序进行截屏,以得到屏幕截图;
存储所述屏幕截图到SD卡;
获取所述屏幕截图的图片属性参数;以及
删除所述屏幕截图。
所述的调整屏幕亮度的方法,其中所述属性参数包括:对比度、色彩、亮度。
本发明还提供一种调整屏幕亮度的方法,其包括:
获取当前屏幕图片的属性参数和屏幕亮度;
将所述当前屏幕图片的属性参数与所述屏幕亮度进行比较;以及
当所述当前屏幕图片的属性参数值大于所述屏幕亮度时,降低屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度;当所述当前屏幕图片的属性参数值小于所述屏幕亮度时,提高屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度。
所述的调整屏幕亮度的方法,其中在所述获取当前屏幕图片的属性参数和屏幕亮度的步骤之前,还包括:
为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数。
所述的调整屏幕亮度的方法,其中所述获取当前屏幕图片的属性参数的步骤包括:
获取用户当前屏幕页面使用的程序,并判断用户当前使用的程序是否为浏览图片;
当判定所述用户当前使用的程序是浏览图片时,获取图片的ID,并根据所述图片的ID获取对应的图片的属性参数;
当判定所述用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数。
所述的调整屏幕亮度的方法,其中所述当判定所述用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数的步骤包括:
每隔预设时间,调用截图程序进行截屏;
存储屏幕截图到SD卡;
获取所述屏幕截图的图片属性参数;以及
删除所述屏幕截图。
所述的调整屏幕亮度的方法,其中所述图片的属性参数包括:对比度、色彩、亮度。
本发明还提供一种调整屏幕亮度的系统,其包括:
获取模块,用于获取当前屏幕图片的属性参数和屏幕亮度;
参数比较模块,用于将所述当前屏幕图片的属性参数与所述屏幕亮度进行比较;以及
亮度调节模块,用于当所述当前屏幕图片的属性参数值大于所述屏幕亮度时,降低屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度;当所述当前屏幕图片的属性参数值小于所述屏幕亮度时,提高屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度。
所述的调整屏幕亮度的系统,其还包括:
参数存储模块,用于在获取当前屏幕图片的属性参数和屏幕亮度之前,为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数。
所述的调整屏幕亮度的系统,其中所述获取模块包括:
判断单元,用于获取用户当前屏幕页面使用的程序,并判断用户当前使用的程序是否为浏览图片;
第一参数获取单元,用于当判定用户当前使用的程序是浏览图片时,获取图片的ID,并根据所述图片的ID获取对应的图片的属性参数;
第二参数获取单元,用于当判定用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数。
所述的调整屏幕亮度的系统,其中所述第二参数获取单元包括:
截屏单元,用于每隔预设时间,调用截图程序进行截屏;
截图存储单元,用于存储屏幕截图到SD卡;
截图属性参数获取单元,用于获取所述屏幕截图的图片属性参数;
截图删除单元,用于删除所述屏幕截图。
所述的调整屏幕亮度的系统,其中所述图片的属性参数包括:对比度、色彩、亮度。
本发明还提供一种存储介质,存储有处理器可执行指令,其中该处理器可执行指令用于让处理器完成以下操作:
获取当前屏幕图片的属性参数和屏幕亮度;
将所述属性参数与所述屏幕亮度进行比较;以及
当所述属性参数值大于所述屏幕亮度时,降低屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度;
当所述属性参数值小于所述屏幕亮度时,提高屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度。
所述的存储介质,其中所述存储介质内存储的处理器可执行指令,在处理器执行获取当前屏幕图片的属性参数和屏幕亮度的操作之前,还用于让处理器完成以下操作:
为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数。
所述的存储介质,其中所述存储介质内存储的处理器可执行指令,在让处理器获取当前屏幕图片的属性参数的操作时,让处理器完成以下操作:
获取用户当前屏幕页面使用的程序,并判断用户当前使用的程序是否为浏览图片;
当判定所述用户当前使用的程序是浏览图片时,获取图片的ID,并根据所述图片的ID获取对应的图片的属性参数;
当判定所述用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数。
所述的存储介质,其中所述存储介质内存储的处理器可执行指令,在让处理器获取屏幕截图的属性参数时,让处理器完成以下操作:
每隔预设时间,调用截图程序进行截屏;
存储屏幕截图到SD卡;
获取所述屏幕截图的图片属性参数;以及
删除所述屏幕截图。
所述的存储介质,其中所述图片的属性参数包括:对比度、色彩、亮度。
有益效果:本发明通过获取手机屏幕图片。当用户正在浏览图片时,直接获取用户图片的ID,进而获取图片的属性参数,而当用户不是在浏览图片时,每隔预定时间获取屏幕截图,获取截图的属性参数,并删除截图,将获取到的手机屏幕图片的属性参数与当前屏幕亮度进行对比,当属性参数值大于当前亮度时,降低屏幕显示亮度,当属性参数值小于当前亮度时,提高屏幕显示亮度,保证用户在使用手机时,根据用户浏览的内容来智能调节屏幕亮度,使屏幕亮度调节至最适合眼睛观看的亮度,保护用户的眼睛。
图1为本发明调整屏幕亮度的方法的步骤流程图。
图2为本发明调整屏幕亮度的方法的获取图片属性参数的步骤流程图。
图3为本发明调整屏幕亮度的方法的获取屏幕截图的图片属性参数的步骤流程图。
图4为本发明调整屏幕亮度的方法的屏幕图片属性参数获取的流程框图。
图5为本发明调整屏幕亮度的系统的结构框图。
图6为本发明调整屏幕亮度的系统的获取模块的结构框图。
图7为本发明调整屏幕亮度的系统的第二参数获取单元的结构框图。
本发明提供一种调整屏幕亮度的方法及系统,为使本发明的目的、技术方案及效果更加清楚、明确,以下对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
请参阅图1,图1为本发明调整屏幕亮度的方法的步骤流程图,其中,包括步骤:
S1、获取当前屏幕图片属性参数和屏幕亮度;
S2、将当前屏幕图片属性参数与屏幕亮度进行比较;
S3、当屏幕图片属性参数值大于屏幕亮度时,降低屏幕显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度,当屏幕图片属性参数值小于屏幕亮度时,提高屏幕显示亮度以使调节后的图片属性参数等于调节前的屏幕亮度。
本发明的调整屏幕亮度的方法,首先,获取屏幕图片属性参数和屏幕亮度,也就是获取屏幕当前所处的图片的属性参数,图片的属性参数与屏幕本身的亮度并不相同,当屏幕为一亮度时,图片过暗或者过于鲜艳也会影响用户的用眼,刺激用户眼部。本发明获取屏幕图片属性参数与屏幕亮度后,将屏幕图片属性参数与屏幕亮度进行比较,比较后,当图片属性参数大于屏幕亮度,则表示当前图片会刺激人的眼睛,因此降低屏幕显示亮度,而当图片属性参数低于屏幕亮度,则说明图片过暗,因此提高屏幕亮度来满足用户的用眼需求。保护用户的眼睛,其中亮度调节的具体方法,获取屏幕图片的属性参数作为屏幕亮度调节的参照,其中图片对眼镜的刺激程度首先是图片亮度,其值一般取0—255,值越大代表亮度越高;其次是图片的色彩,这里取色彩的平均值,每一种颜色都是由红蓝绿成分合成,而本发明获取的正是这三种成分色彩的值,其值也是0—255;最后是对比度,如果一张色彩平均值不高的图片,对比度非常大,即明暗区域差异非常大,也会造成视觉疲劳,公认的120:1是理想对比度。取以上三个参数基本可以判断图片对眼镜的刺激程度,首先我们读取图片亮度值bright_value[],这个值跟屏幕亮度等效,不需要转换;然后读取色彩,我们取125为中间值,超出或不足的部分,按照百分之三十折算成亮度值;而对比度则超出或不足120:1的按照百分之二十折算成亮度值,最后将三个参数等效的亮度值与当前屏幕亮度对比,根据对比结果调整屏幕亮度,使调节后的图片的属性参数等于调节前的屏幕亮度,因为调节前的屏幕亮度是现有技术的最佳屏幕亮度,因此当浏览的页面过暗或过于鲜艳,只需将屏幕图片的属性参数调节至与调节前的屏幕亮度一致即可。
进一步的,所述的调整屏幕亮度的方法,其中,在所述步骤S1之前还包括:
S0、为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数。本发明的所述方法,在步骤S1之前,首先需要为手机的所有图片分配一个固定ID,并保存图片的属性参数,以便当用户在浏览图片时,智能获取图片ID,从而获得图片的属性参数,方便与屏幕亮度进行比较。
进一步的,如图2所示,为本发明所述的调整屏幕亮度的方法获取图片属性参数的步骤流程图,其中,所述步骤S1包括:
S101、获取用户当前屏幕页面使用的程序,判断用户当前使用的程序是否为浏览图片;
S102、当是时,获取图片ID,对应获取图片的属性参数;
S103、当用户不是浏览图片时,获取屏幕截图的属性参数。
本发明的所述方法,步骤S1中,获取屏幕图片属性,判断用户当前使用的程序是否为浏览图片,若是浏览图片的程序,则可以直接获取浏览的图片的ID,进而获取图片的属性参数;而当用户不是在浏览图片,例如在阅读电子书,或者看视频时,则获取屏幕截图的属性参数,保证无论用户在使用何种程序,都能将屏幕图片属性与屏幕亮度进行对比,从而进行智能调节屏幕亮度。
进一步的,如图3所示,为本发明所述的调整屏幕亮度的方法的获取屏幕截图的图片属性参数的步骤流程图,其中,所述步骤S103包括:
S1031、每隔预设时间,调用截图程序进行截屏;
S1032、存储所述屏幕截图到SD卡;
S1033、获取所述屏幕截图的图片属性参数;
S1034、删除所述屏幕截图。
本发明的所述方法,步骤S103,当用户不是浏览图片时,获取屏幕截图的属性参数,首先,每隔预设时间,调用截图程序进行截屏,本发明的所述方法是实时调节手机屏幕亮度的,因此每隔预设时间不能太短,本发明优选每隔五秒调用截图程序进行截屏,截屏后存储所述屏幕截图到SD卡,获取屏幕截图的属性参数,屏幕截图反映的是用户当前正在观看的手机屏幕,从屏幕截图的属性参数与屏幕亮度进行比较,可以得出当前浏览页面是否过暗或者过于鲜艳,会刺激人眼,在屏幕截图的属性参数获取了之后,删除所述屏幕截图,释放内存。本发明的上述判断用户使用程序是否为浏览图片的步骤流程图,如图4所示,开启自动调节功能,对当前使用的程序判断是否为浏览图片,是则获取ID进而得出图片属性参数,不是则截取屏幕截图,获取截图的图片属性参数,与屏幕亮度对比,进而调节屏幕亮度。
进一步的,所述的调整屏幕亮度的方法,其中,所述图片属性参数包括:对比度、色彩、亮度。本发明的所述方法中,所述图片的属性参数包含了对比度、色彩、亮度等影响用户视觉效果的参数。一般来说色彩越鲜艳、亮度越大,对眼睛的刺激越强烈,这时候应该降低手机屏幕的亮度,抵消图片对眼睛的刺激程度;反之可以提升屏幕的亮度,降低用户因为浏览较暗图片而产生的视觉疲劳。
本发明的调整屏幕亮度的方法,用户阅读的内容大致可以分为三类:图片、视频、其他(文本、浏览器、app应用等),在本发明的方案中,用户同样可以通过系统设置(类似于目前手机上已有的背景光自动调整开关)选择是否要启动这个功能。如果用户启动该功能,在TP被唤醒时,自动运行该功能。本发明以图片阅读为例,首先我们创建一个监听程序,监听哪张图片被gallery调用,获取该图片的ID。在android系统中,每张图片的属性参数大都存储在下面这个路径的exif信息中:因此,在本发明中,获取的屏幕图片属性参数的多个参数信息均存储在如下代码中
packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ExifInterface.java,它包含的部分信息如下代码举例。
public static final int TAG_BITS_PER_SAMPLE =
defineTag(IfdId.TYPE_IFD_0, (short) 0x0102);
public static final int TAG_COMPRESSION =
defineTag(IfdId.TYPE_IFD_0, (short) 0x0103);
public static final int
TAG_PHOTOMETRIC_INTERPRETATION =
defineTag(IfdId.TYPE_IFD_0, (short) 0x0106);
public static final int TAG_MODEL =
public static final int TAG_ROWS_PER_STRIP =
defineTag(IfdId.TYPE_IFD_0, (short) 0x0116);
public static final int TAG_STRIP_BYTE_COUNTS
=
defineTag(IfdId.TYPE_IFD_0, (short) 0x0117);
public static final int TAG_X_RESOLUTION =
defineTag(IfdId.TYPE_IFD_0, (short) 0x011A);
public static final int TAG_Y_RESOLUTION =
defineTag(IfdId.TYPE_IFD_0, (short) 0x011B);
public static final int TAG_LIGHT_SOURCE =
defineTag(IfdId.TYPE_IFD_EXIF, (short)
0x9208);
public static final int TAG_COLOR_SPACE =
defineTag(IfdId.TYPE_IFD_EXIF, (short)
0xA001);
public static final int TAG_CONTRAST =
defineTag(IfdId.TYPE_IFD_EXIF, (short)
0xA408);
本发明需要获取图片属性参数,而获取以上参数可以通过类似于方法
public static void extractExifInfo(MediaDetails
details, String filePath)去获取,其中包含了对比度、色彩、亮度等影响用户视觉效果的参数。其中方法代码示例如下:
public static void extractExifInfo(MediaDetails
details, String filePath) {
try {
ExifInterface exif = new
ExifInterface(filePath);//定义一个exif文件的路径
setExifData(details,exif,ExifInterface.TAG_FLASH,MediaDetails.INDEX_FLASH);//读取exif文件中的闪光;
setExifData(details,exif,ExifInterface.TAG_IMAGE_WIDTH,MediaDetails.INDEX_WIDTH);//
读取exif文件中的宽度、广度;
setExifData(details,exif,ExifInterface.TAG_IMAGE_LENGTH,MediaDetails.INDEX_HEIGHT);//
读取exif文件中的高度;
setExifData(details,exif,ExifInterface.TAG_MAKE,MediaDetails.INDEX_MAKE);//
读取exif文件中的形状样式;
setExifData(details,exif,ExifInterface.TAG_MODEL,MediaDetails.INDEX_MODEL);//
读取exif文件中的模型;
setExifData(details,exif,ExifTags.TAG_APERTURE,MediaDetails.INDEX_APERTURE);//
读取exif文件中的光圈;
setExifData(details, exif, ExifTags.TAG_ISO,
MediaDetails.INDEX_ISO);// 读取exif文件中的感光度;
setExifData(details, exif,
ExifInterface.TAG_WHITE_BALANCE,
MediaDetails.INDEX_WHITE_BALANCE); //
读取exif文件中的白平衡;
setExifData(details, exif,
ExifTags.TAG_EXPOSURE_TIME,
MediaDetails.INDEX_EXPOSURE_TIME); //
读取exif文件中的曝光时间;
Double
data=exif.getAttributeDouble(ExifInterface.TAG_FOCAL_LENGTH,
0);查询exif文件的相关属性,并强制转换成double类型数据
if (data != of) {
details.addDetail(MediaDetails.INDEX_FOCAL_LENGTH,
data);
details.setUnit(MediaDetails.INDEX_FOCAL_LENGTH,
R.string.unit_mm);
}如果data不为of,则把这些数据添加到details流媒体文件中
} catch (IOException ex) {
// ignore it.
Log.w(TAG, "", ex);
}
}
上述代码中是举例说明如何获取参数exif文件中的相关属性值,因此不一一详细说明获取具体参数值的代码。
本发明中,如果获取到用户当前使用的程序是用户没有浏览图片时,则会每隔5秒调用一次截屏函数GlobalScreenshot_2(Context)
,而截屏函数在android的原生代码中包含了在窗口上动态显示截图过程,以及悬浮窗口显示图片,但是这样会影响用户的阅读体验,因此在不能直接调用原生代码中的GlobalScreenshot(Context
context),而是去掉了下面的windows部分代码,以保证在获取截图后自动保存不会显示截图过程,也不会出现悬浮窗口,避免影响用户的正常使用。
// Setup the window that we are going to use
mWindowLayoutParams = new
WindowManager.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.MATCH_PARENT, 0, 0,
WindowManager.LayoutParams.TYPE_SECURE_SYSTEM_OVERLAY,
WindowManager.LayoutParams.FLAG_FULLSCREEN |
WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED
WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED,
PixelFormat.TRANSLUCENT);
mWindowLayoutParams.setTitle("ScreenshotAnimation");//
本发明的屏幕截图保存后,再用获取图片属性参数同样的方式读取参数,并自动调节屏幕亮度,最后自动删除刚才截图图片。软件流程如下图一所示。
在本发明中,通过集中算法得出当前图片跟色彩、亮度相关的一个综合值,这个综合值再对比当前的屏幕亮度,决定是否需要增加或降低屏幕的亮度,可以通过函数setScreenBrightness(int
brightness)来实现亮度值的调节:
/**
* Sets the display brightness.
*
* @param brightness The brightness, ranges from 0
(minimum / off) to 255 (brightest).
*/
public void setScreenBrightness(int brightness)
{
if (mScreenBrightness != brightness)
{//判断手机当前亮度值是否等于要设置的亮度,如果不等于,则执行下面的内容//
if (DEBUG) {
Slog.d(TAG, "setScreenBrightness: brightness=" +
brightness);
}//打印debug的log信息:要设置的亮度值//
mScreenBrightness = brightness;
//将要设置值赋给mscreenbrightness//
if (mScreenOn) {
mScreenReady = false;
scheduleScreenUpdate();//如果此时屏幕处于点亮状态,则更新屏幕亮度值//
}
}
}
本发明的上述方法具体设置亮度值的多少在上述方法步骤流程中已经提出。故不在此赘述。
进一步的,本发明还提供一种调整屏幕亮度的系统,如图5所示,为所述系统的结构框图。其中,包括:
获取模块100,用于获取当前屏幕图片属性参数和屏幕亮度;
参数比较模块200,用于将当前屏幕图片属性参数与屏幕亮度进行比较;
亮度调节模块300,用于当屏幕图片属性参数值大于屏幕亮度时,降低屏幕显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度,当屏幕图片属性参数值小于屏幕亮度时,提高屏幕显示亮度以使调节后的图片属性参数等于调节前的屏幕亮度。
进一步的,所述的调整屏幕亮度的系统,其中,所述系统还包括:
参数存储模块400,用于为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数。
进一步的,如图6所示,为本发明所述的调整屏幕亮度的系统的获取模块的结构框图,其中,所述获取模块100包括:
判断单元101,用于获取用户当前屏幕页面使用的程序,判断用户当前使用的程序是否为浏览图片;
第一参数获取单元102,用于当用户在浏览图片时,获取图片ID,对应获取图片的属性参数;
第二参数获取单元103,用于当用户不是浏览图片时,获取屏幕截图的属性参数;
进一步的,如图7所示,为本发明所述的调整屏幕亮度的系统的第二参数获取单元的结构框图,其中,所述第二参数获取单元103包括:
截屏单元1031,用于每隔预设时间,调用截图程序进行截屏;
截图存储单元1032,用于存储所述屏幕截图到SD卡;
截图属性参数获取单元1033,用于获取所述屏幕截图的图片属性参数;
截图删除单元1034,用于删除所述屏幕截图。
进一步的,所述的调整屏幕亮度的系统,其中,所述图片属性参数包括:对比度、色彩、亮度。
本发明的所述系统的各个模块单元的实现已经在方法中详细描述了,故不在此赘述。
综上所述,本发明通过获取手机屏幕图片。当用户正在浏览图片时,直接获取用户图片的ID,进而获取图片的属性参数,而当用户不是在浏览图片时,每隔预定时间获取屏幕截图,获取截图的属性参数,并删除截图,将获取到的手机屏幕图片的属性参数与当前屏幕亮度进行对比,当属性参数值大于当前亮度时,降低屏幕显示亮度,当属性参数值小于当前亮度时,提高屏幕显示亮度,保证用户在使用手机时,根据用户浏览的内容来智能调节屏幕亮度,使屏幕亮度调节至最适合眼睛观看的亮度,保护用户的眼睛。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。
Claims (18)
- 一种调整屏幕亮度的方法,其包括:为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数;获取用户当前屏幕页面使用的程序和屏幕亮度;判断用户当前使用的程序是否为浏览图片;当判定所述用户当前使用的程序是浏览图片时,获取图片的ID,并根据所述图片的ID获取对应的图片的属性参数;当判定所述用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数;将所述属性参数与所述屏幕亮度进行比较;当所述属性参数值大于所述屏幕亮度时,降低屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度;以及当所述属性参数值小于所述屏幕亮度时,提高屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度。
- 根据权利要求1所述的调整屏幕亮度的方法,其中所述当判定所述用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数的步骤包括:每隔预设时间,调用截图程序进行截屏,以得到屏幕截图;存储所述屏幕截图到SD卡;获取所述屏幕截图的图片属性参数;以及删除所述屏幕截图。
- 根据权利要求1所述的调整屏幕亮度的方法,其中所述属性参数包括:对比度、色彩、亮度。
- 一种调整屏幕亮度的方法,其包括:获取当前屏幕图片的属性参数和屏幕亮度;将所述当前屏幕图片的属性参数与所述屏幕亮度进行比较;以及当所述当前屏幕图片的属性参数值大于所述屏幕亮度时,降低屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度;当所述当前屏幕图片的属性参数值小于所述屏幕亮度时,提高屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度。
- 根据权利要求4所述的调整屏幕亮度的方法,其中在所述获取当前屏幕图片的属性参数和屏幕亮度的步骤之前,还包括:为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数。
- 根据权利要求4所述的调整屏幕亮度的方法,其中所述获取当前屏幕图片的属性参数的步骤包括:获取用户当前屏幕页面使用的程序,并判断用户当前使用的程序是否为浏览图片;当判定用户当前使用的程序是浏览图片时,获取图片的ID,并根据所述图片的ID获取对应的图片的属性参数;当判定用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数。
- 根据权利要求6所述的调整屏幕亮度的方法,其中所述当当判定用户不是浏览图片时,获取屏幕截图的属性参数的步骤包括:每隔预设时间,调用截图程序进行截屏;存储屏幕截图到SD卡;获取所述屏幕截图的图片属性参数;以及删除所述屏幕截图。
- 根据权利要求4所述的调整屏幕亮度的方法,其中所述图片的属性参数包括:对比度、色彩、亮度。
- 一种调整屏幕亮度的系统,其包括:获取模块,用于获取当前屏幕图片的属性参数和屏幕亮度;参数比较模块,用于将所述当前屏幕图片的属性参数与所述屏幕亮度进行比较;以及亮度调节模块,用于当所述当前屏幕图片的属性参数值大于所述屏幕亮度时,降低屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度;当所述当前屏幕图片的属性参数值小于所述屏幕亮度时,提高屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度。
- 根据权利要求9所述的调整屏幕亮度的系统,其还包括:参数存储模块,用于在获取当前屏幕图片的属性参数和屏幕亮度之前,为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数。
- 根据权利要求9所述的调整屏幕亮度的系统,其中所述获取模块包括:判断单元,用于获取用户当前屏幕页面使用的程序,并判断用户当前使用的程序是否为浏览图片;第一参数获取单元,用于当判定用户当前使用的程序是浏览图片时,获取图片的ID,并根据所述图片的ID获取对应的图片的属性参数;第二参数获取单元,用于当判定用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数。
- 根据权利要求11所述的调整屏幕亮度的系统,其中所述第二参数获取单元包括:截屏单元,用于每隔预设时间,调用截图程序进行截屏;截图存储单元,用于存储屏幕截图到SD卡;截图属性参数获取单元,用于获取所述屏幕截图的图片属性参数;截图删除单元,用于删除所述屏幕截图。
- 根据权利要求9所述的调整屏幕亮度的系统,其中所述图片的属性参数包括:对比度、色彩、亮度。
- 一种存储介质,存储有处理器可执行指令,其中该处理器可执行指令用于让处理器完成以下操作:获取当前屏幕图片的属性参数和屏幕亮度;将所述属性参数与所述屏幕亮度进行比较;以及当所述属性参数值大于所述屏幕亮度时,降低屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度;当所述属性参数值小于所述屏幕亮度时,提高屏幕的显示亮度,以使调节后的图片属性参数等于调节前的屏幕亮度。
- 如权利要求14所述的存储介质,其中所述存储介质内存储的处理器可执行指令,在处理器执行获取当前屏幕图片的属性参数和屏幕亮度的操作之前,还用于让处理器完成以下操作:为系统中的所有图片都分配一个固定的ID,并保存所有图片的属性参数。
- 如权利要求14所述的存储介质,其中所述存储介质内存储的处理器可执行指令,在让处理器获取当前屏幕图片的属性参数的操作时,让处理器完成以下操作:获取用户当前屏幕页面使用的程序,并判断用户当前使用的程序是否为浏览图片;当判定所述用户当前使用的程序是浏览图片时,获取图片的ID,并根据所述图片的ID获取对应的图片的属性参数;当判定所述用户当前使用的程序不是浏览图片时,获取屏幕截图的属性参数。
- 如权利要求16所述的存储介质,其中所述存储介质内存储的处理器可执行指令,在让处理器获取屏幕截图的属性参数时,让处理器完成以下操作:每隔预设时间,调用截图程序进行截屏;存储屏幕截图到SD卡;获取所述屏幕截图的图片属性参数;以及删除所述屏幕截图。
- 如权利要求14所述的存储介质,其中所述图片的属性参数包括:对比度、色彩、亮度。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/101,108 US9858895B2 (en) | 2015-05-05 | 2015-10-16 | Method for adjusting screen brightness and system thereof |
| EP15859995.1A EP3293954A4 (en) | 2015-05-05 | 2015-10-16 | Method and system for adjusting screen brightness |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510222770.5 | 2015-05-05 | ||
| CN201510222770.5A CN104869242B (zh) | 2015-05-05 | 2015-05-05 | 调整屏幕亮度的方法及系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016176966A1 true WO2016176966A1 (zh) | 2016-11-10 |
Family
ID=53914749
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/092125 Ceased WO2016176966A1 (zh) | 2015-05-05 | 2015-10-16 | 调整屏幕亮度的方法及系统 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US9858895B2 (zh) |
| EP (1) | EP3293954A4 (zh) |
| CN (1) | CN104869242B (zh) |
| WO (1) | WO2016176966A1 (zh) |
Families Citing this family (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104869242B (zh) * | 2015-05-05 | 2018-10-26 | 惠州Tcl移动通信有限公司 | 调整屏幕亮度的方法及系统 |
| CN105459865B (zh) * | 2015-11-19 | 2018-06-26 | 广东好帮手电子科技股份有限公司 | 一种具有智能调节显示功能的车载后排头枕及实现方法 |
| CN105898041B (zh) * | 2016-04-01 | 2019-12-20 | 众显科技(深圳)有限公司 | 一种针对移动终端聊天界面的屏幕亮度调节方法 |
| CN106131398B (zh) * | 2016-06-24 | 2019-03-05 | 维沃移动通信有限公司 | 一种图像浏览方法及移动终端 |
| CN106201415A (zh) * | 2016-06-28 | 2016-12-07 | 广东欧珀移动通信有限公司 | 控制方法、控制装置及电子装置 |
| CN106200937A (zh) * | 2016-06-28 | 2016-12-07 | 广东欧珀移动通信有限公司 | 移动终端的视力保护方法、装置及移动终端 |
| CN106227484A (zh) * | 2016-07-26 | 2016-12-14 | 广东欧珀移动通信有限公司 | 控制方法及控制装置 |
| CN106251827B (zh) * | 2016-07-26 | 2018-09-11 | 广东欧珀移动通信有限公司 | 控制方法及控制装置 |
| CN106550135B (zh) * | 2016-11-02 | 2020-04-07 | 惠州Tcl移动通信有限公司 | 一种基于移动终端的显示屏背光亮度控制方法及系统 |
| CN106793038B (zh) * | 2016-12-28 | 2021-04-09 | 努比亚技术有限公司 | 基于cabc的功耗管控方法及移动终端 |
| CN107122150A (zh) * | 2017-04-19 | 2017-09-01 | 北京小米移动软件有限公司 | 显示控制方法和装置、电子设备、计算机可读存储介质 |
| CN107580131A (zh) * | 2017-09-04 | 2018-01-12 | 维沃移动通信有限公司 | 图片处理方法及移动终端 |
| CN108282580A (zh) * | 2018-01-18 | 2018-07-13 | 安徽三弟电子科技有限责任公司 | 一种3d手机屏幕显示亮度自调节系统及方法 |
| CN110336917B (zh) * | 2019-06-21 | 2021-02-26 | 惠州Tcl移动通信有限公司 | 一种图片展示方法、装置、存储介质及终端 |
| CN110442313B (zh) | 2019-06-27 | 2021-09-21 | 华为技术有限公司 | 一种显示属性调整方法以及相关设备 |
| CN111199707B (zh) * | 2020-03-04 | 2021-07-06 | Tcl华星光电技术有限公司 | 显示装置亮度调节装置及方法 |
| CN113140197B (zh) * | 2021-04-21 | 2023-05-05 | Oppo广东移动通信有限公司 | 显示画面调节方法和装置、电子设备、可读存储介质 |
| CN113391779B (zh) * | 2021-06-17 | 2023-08-04 | 广东小天才科技有限公司 | 类纸屏幕的参数调节方法、装置及设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050200868A1 (en) * | 2004-03-02 | 2005-09-15 | Seishin Yoshida | Setting a color tone to be applied to an image |
| CN101609649A (zh) * | 2008-06-20 | 2009-12-23 | 深圳Tcl新技术有限公司 | 一种调整液晶显示器屏幕亮度的方法 |
| CN102262536A (zh) * | 2011-07-18 | 2011-11-30 | 李建成 | 窗口界面处理方法及装置 |
| CN104869242A (zh) * | 2015-05-05 | 2015-08-26 | 惠州Tcl移动通信有限公司 | 调整屏幕亮度的方法及系统 |
Family Cites Families (31)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002072998A (ja) * | 2000-08-25 | 2002-03-12 | Internatl Business Mach Corp <Ibm> | 輝度制御装置、輝度調節システム、コンピュータシステム、液晶ディスプレイ装置、輝度制御方法、コンピュータプログラム及び記憶媒体 |
| JP2002278522A (ja) * | 2001-03-19 | 2002-09-27 | Matsushita Electric Ind Co Ltd | 携帯用映像表示装置 |
| KR100457534B1 (ko) * | 2002-09-13 | 2004-11-17 | 삼성전자주식회사 | 휘도 및 색 온도 조정 장치 및 방법 |
| TW200629232A (en) * | 2005-02-15 | 2006-08-16 | Quanta Comp Inc | Dynamic image contrast enhancement device |
| WO2006093074A1 (ja) * | 2005-03-01 | 2006-09-08 | Matsushita Electric Industrial Co., Ltd. | 電子表示媒体および電子表示媒体に用いられる画面表示制御方法 |
| JP4812008B2 (ja) * | 2006-04-07 | 2011-11-09 | 三菱電機株式会社 | 画像表示装置 |
| TW200743067A (en) * | 2006-05-05 | 2007-11-16 | Benq Corp | Portable electronic apparatus is capable of adjusting backlight automatically and adjusting method of backlight thereof |
| CN101080027A (zh) * | 2006-05-22 | 2007-11-28 | 普立尔科技股份有限公司 | 改善液晶显示器影像质量在不同观看模式下的差异的方法 |
| KR100745982B1 (ko) * | 2006-06-19 | 2007-08-06 | 삼성전자주식회사 | 자발광형 디스플레이의 전력 저감을 위한 영상 처리 장치및 방법 |
| US8872753B2 (en) * | 2006-08-31 | 2014-10-28 | Ati Technologies Ulc | Adjusting brightness of a display image in a display having an adjustable intensity light source |
| WO2008056306A1 (en) * | 2006-11-09 | 2008-05-15 | Koninklijke Philips Electronics N.V. | Liquid crystal display system and method |
| JP5013832B2 (ja) * | 2006-12-05 | 2012-08-29 | キヤノン株式会社 | 映像制御装置及びその方法 |
| JP5053724B2 (ja) * | 2007-06-19 | 2012-10-17 | オリンパスイメージング株式会社 | 画像表示装置、撮像装置、画像再生装置、及び画像表示方法 |
| US8610659B2 (en) * | 2008-05-12 | 2013-12-17 | Blackberry Limited | Method and apparatus for automatic brightness adjustment on a display of a mobile electronic device |
| KR101547556B1 (ko) * | 2009-02-06 | 2015-08-26 | 삼성전자주식회사 | 이미지 표시 방법 및 장치 |
| US9607577B2 (en) * | 2010-06-07 | 2017-03-28 | Prysm, Inc. | Dynamic power and brightness control for a display screen |
| KR101743505B1 (ko) * | 2010-12-28 | 2017-06-05 | 삼성전자주식회사 | 전자기기의 터치 입력 방법 및 장치 |
| TWI436338B (zh) * | 2011-01-14 | 2014-05-01 | Univ Nat Taiwan Science Tech | 用於顯示設備的背後打光補償系統及方法 |
| KR20130035682A (ko) * | 2011-09-30 | 2013-04-09 | 삼성전자주식회사 | 프로젝터 장치에서 영상 출력 제어 방법 및 장치 |
| JP6028896B2 (ja) * | 2012-04-16 | 2016-11-24 | セイコーエプソン株式会社 | プロジェクター及びプロジェクターの制御方法 |
| US9613397B2 (en) * | 2012-09-26 | 2017-04-04 | Beijing Lenovo Software Ltd. | Display method and electronic apparatus |
| CN102932612A (zh) * | 2012-11-07 | 2013-02-13 | 深圳Tcl新技术有限公司 | 电视机面向用户的画质调节方法及系统 |
| KR102047059B1 (ko) * | 2012-12-26 | 2019-11-20 | 삼성전자주식회사 | 디스플레이 방법 및 장치 |
| CN104123926B (zh) * | 2013-04-25 | 2016-08-31 | 乐金显示有限公司 | 伽马补偿方法及使用该伽马补偿方法的显示装置 |
| JP5877277B2 (ja) * | 2013-04-26 | 2016-03-02 | 富士フイルム株式会社 | 撮像装置及び画像表示方法 |
| CN104183227B (zh) * | 2013-05-20 | 2018-10-23 | 南京中兴软件有限责任公司 | 应用程序的显示处理方法及装置 |
| JP6187932B2 (ja) * | 2013-08-07 | 2017-08-30 | Tianma Japan株式会社 | 映像信号処理回路,映像表示装置,映像信号処理方法,及びそのプログラム |
| WO2015183259A1 (en) * | 2014-05-28 | 2015-12-03 | Hewlett-Packard Development Company, L.P. | Changing screen brightness of a computing device |
| EP3035656B1 (en) * | 2014-12-18 | 2021-08-04 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling an electronic device |
| US10453402B2 (en) * | 2015-03-26 | 2019-10-22 | Motorola Mobility Llc | Method and apparatus for content adaptive backlight control |
| KR102366230B1 (ko) * | 2015-03-30 | 2022-02-23 | 삼성전자 주식회사 | 디스플레이장치 및 그 제어방법 |
-
2015
- 2015-05-05 CN CN201510222770.5A patent/CN104869242B/zh not_active Expired - Fee Related
- 2015-10-16 WO PCT/CN2015/092125 patent/WO2016176966A1/zh not_active Ceased
- 2015-10-16 US US15/101,108 patent/US9858895B2/en not_active Expired - Fee Related
- 2015-10-16 EP EP15859995.1A patent/EP3293954A4/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050200868A1 (en) * | 2004-03-02 | 2005-09-15 | Seishin Yoshida | Setting a color tone to be applied to an image |
| CN101609649A (zh) * | 2008-06-20 | 2009-12-23 | 深圳Tcl新技术有限公司 | 一种调整液晶显示器屏幕亮度的方法 |
| CN102262536A (zh) * | 2011-07-18 | 2011-11-30 | 李建成 | 窗口界面处理方法及装置 |
| CN104869242A (zh) * | 2015-05-05 | 2015-08-26 | 惠州Tcl移动通信有限公司 | 调整屏幕亮度的方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| US9858895B2 (en) | 2018-01-02 |
| CN104869242B (zh) | 2018-10-26 |
| US20170116959A1 (en) | 2017-04-27 |
| EP3293954A4 (en) | 2018-10-10 |
| EP3293954A1 (en) | 2018-03-14 |
| CN104869242A (zh) | 2015-08-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016176966A1 (zh) | 调整屏幕亮度的方法及系统 | |
| WO2018161571A1 (zh) | 动态调节终端的节能等级的方法、装置、介质及电子设备 | |
| WO2016171433A1 (en) | Display apparatus and method for controlling the same | |
| WO2019216529A1 (en) | Electronic apparatus and controlling method thereof | |
| WO2017155326A1 (en) | Electronic device and method for driving display thereof | |
| WO2017043710A1 (en) | Smart device and controlling method thereof | |
| WO2017131348A1 (en) | Electronic apparatus and controlling method thereof | |
| WO2018161585A1 (zh) | 电子设备帧率的控制方法、装置、存储介质及电子设备 | |
| WO2017078423A1 (en) | Electronic device and method for controlling display thereof | |
| EP3494571A1 (en) | Display apparatus and display method | |
| WO2018082484A1 (zh) | 一种电子设备的截屏方法、系统及电子设备 | |
| WO2015126180A1 (en) | Method for creating a content and electronic device thereof | |
| WO2019226025A1 (ko) | 디스플레이를 통해 어플리케이션의 콘텐트를 표시하는 방법 및 전자 장치 | |
| WO2018161586A1 (zh) | 移动终端的显示场景识别方法、装置、存储介质及电子设备 | |
| WO2018097506A1 (en) | Display apparatus and control method thereof | |
| WO2017206878A1 (zh) | 一种基于唤醒锁的处理方法、装置、存储介质及电子设备 | |
| WO2020085804A1 (en) | Display apparatus of multi display system and control method thereof | |
| WO2020078404A1 (zh) | 背光补偿方法、设备、系统及存储介质 | |
| WO2017206870A1 (zh) | 一种传感器关闭方法、装置、存储介质及电子设备 | |
| WO2018161603A1 (zh) | 移动终端图像绘制的控制方法、装置、介质及电子设备 | |
| WO2018161601A1 (zh) | 屏幕背光调节方法、装置、存储介质及电子设备 | |
| WO2017206867A1 (zh) | 一种传感器的关闭方法、装置、存储介质及电子设备 | |
| WO2018161592A1 (zh) | 切换背景灰阶进行省电的方法、装置、存储介质及电子设备 | |
| WO2017206865A1 (zh) | 一种应用程序的关闭方法、装置、存储介质及电子设备 | |
| WO2023013944A1 (en) | Content creative intention preservation under various ambient color temperatures |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| REEP | Request for entry into the european phase |
Ref document number: 2015859995 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 15101108 Country of ref document: US |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15859995 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2015859995 Country of ref document: EP |