WO2019056364A1 - Method and device for adjusting terminal interface - Google Patents
Method and device for adjusting terminal interface Download PDFInfo
- Publication number
- WO2019056364A1 WO2019056364A1 PCT/CN2017/103166 CN2017103166W WO2019056364A1 WO 2019056364 A1 WO2019056364 A1 WO 2019056364A1 CN 2017103166 W CN2017103166 W CN 2017103166W WO 2019056364 A1 WO2019056364 A1 WO 2019056364A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- brightness
- terminal
- color
- display interface
- interface
- 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
Images
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/44—Receiver circuitry for the reception of television signals according to analogue transmission standards
- H04N5/57—Control of contrast or brightness
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/44—Receiver circuitry for the reception of television signals according to analogue transmission standards
- H04N5/57—Control of contrast or brightness
- H04N5/58—Control of contrast or brightness in dependence upon ambient light
Definitions
- the present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for adjusting a terminal interface.
- terminals With the development of terminal technologies, more and more terminals are equipped with display screens for presenting visual interfaces. However, depending on the environment in which the terminal is located, the color perception of the display interface by the human eye may also be different, thereby affecting the user's information acquisition of the display interface in different environments.
- the current solution is to manually or automatically adjust the backlight brightness of the terminal display.
- the environment in which the terminal is located is a high-light environment (for example, an outdoor environment in which sunlight is directly irradiated)
- a high-light environment for example, an outdoor environment in which sunlight is directly irradiated
- even if the brightness of the display screen of the terminal is adjusted to the maximum it is difficult to see the information on the display interface. Therefore, the user's use of the terminal in a high-light environment is affected, and the user experience is not good.
- the invention provides a method and a device for adjusting a terminal interface, so as to improve the visibility of the terminal display interface in a highlight environment and improve the user experience.
- the present invention provides a method for adjusting a terminal interface, including:
- the contrast between the background and the interface content is greater than or equal to the preset value.
- the method before the displaying the display interface of the terminal according to the brightness display mode, the method further includes:
- the reference parameter includes: adaptive field brightness, background relative brightness,
- the adaptive field brightness is used to measure the adaptation state of the human eye to the ambient brightness, and the relative brightness of the background refers to the brightness of the background relative to the reference white;
- the color parameters including: hue, brightness, brightness, chromaticity, chroma, saturation.
- the determining that the brightness of the environment in which the terminal is located is greater than or equal to a preset upper threshold, including:
- the brightness of the environment in which the terminal is located is detected by the photosensitive sensor in real time.
- the signal value generated by the light sensor according to the ambient brightness reaches a preset upper limit value, it is determined that the brightness of the terminal in the current environment is greater than or equal to the pre-predetermined Set an upper threshold; or
- the average value of the brightness of the local pixel point or all the pixel points in the image is analyzed by collecting an image of the environment in which the terminal is located, and when the average value is greater than the preset upper limit value, determining the terminal in the current environment The brightness is greater than or equal to the preset upper threshold.
- the method further includes:
- the display interface of the terminal is switched from the brightness display mode to the normal display mode.
- the present invention provides an apparatus for adjusting a terminal interface, including:
- a determining module configured to determine that the brightness of the terminal in the current environment is greater than or equal to a preset upper threshold
- a display module configured to display a display interface of the terminal according to the brightness display mode; wherein the color parameter of the display interface of the terminal in the brightness display mode is obtained by using a color appearance model, in the brightness display mode, The contrast between the interface background and the interface content in the display interface is greater than or equal to the preset value.
- the determining module is further configured to:
- the contrast is less than the preset value, adjusting the contrast of the display interface until the contrast is greater than or equal to the preset value.
- the reference parameter includes: adaptive field brightness, background relative brightness,
- the adaptive field brightness is used to measure the adaptation state of the human eye to the ambient brightness, and the relative brightness of the background refers to the brightness of the background relative to the reference white;
- the color parameters including: hue, brightness, brightness, chromaticity, chroma, saturation.
- the determining module is specifically configured to:
- the brightness of the environment in which the terminal is located is detected by the photosensitive sensor in real time.
- the signal value generated by the light sensor according to the ambient brightness reaches a preset upper limit value, it is determined that the brightness of the terminal in the current environment is greater than or equal to the pre-predetermined Set an upper threshold; or
- the average value of the brightness of the local pixel point or all the pixel points in the image is analyzed by collecting an image of the environment in which the terminal is located, and when the average value is greater than the preset upper limit value, determining the terminal in the current environment The brightness is greater than or equal to the preset upper threshold.
- the determining module is further configured to:
- the display interface of the terminal is switched from the brightness display mode to the normal display mode.
- the present invention provides an apparatus for adjusting a terminal interface, including:
- processor for executing the program stored by the memory, the processor for performing the method of any of the first aspects when the program is executed.
- the invention provides a computer readable storage medium comprising: instructions, when executed on a computer, causing a computer to perform the method of any of the first aspects.
- the method and device for adjusting the terminal interface provided by the present invention, when determining that the brightness of the terminal in the current environment is greater than or equal to the preset upper limit threshold, the display interface of the terminal is presented according to the brightness display mode, wherein the brightness display mode is The color parameter of the display interface of the terminal is obtained by using a color appearance model.
- the brightness display mode the contrast between the interface background and the interface content in the display interface is greater than or equal to a preset value. Therefore, the visibility of the display interface of the terminal in the highlight environment is effectively improved, so that the user can clearly read the content on the display interface in the highlight environment, thereby improving the user experience.
- FIG. 1 is a schematic diagram of a brightness adjustment interface of a smart phone in the prior art
- FIG. 2 is a schematic diagram showing a state of a display interface of a smartphone in a highlight environment
- FIG. 3 is a schematic diagram showing a state of a display interface of a smart phone after applying the method of the present invention
- FIG. 4 is a schematic flowchart of a method for adjusting a terminal interface according to Embodiment 1 of the present invention.
- FIG. 5 is a schematic flowchart of a method for adjusting a terminal interface according to Embodiment 2 of the present invention.
- FIG. 6 is a schematic flowchart diagram of the method of step S202 in FIG. 5 according to the present invention.
- FIG. 7 is a schematic structural diagram of an apparatus for adjusting a terminal interface according to Embodiment 1 of the present invention.
- FIG. 8 is a schematic structural diagram of an apparatus for adjusting a terminal interface according to Embodiment 1 of the present invention.
- Color appearance refers to the color perception that color stimuli produce in the human eye.
- human vision it can be said that any color exists in the contrast state, or exists under relative conditions, because any object or piece of color cannot exist in isolation, it is revealed from the whole. .
- human perception is not likely to feel a certain color alone, always feel the various parts in a large whole, and further, the understanding of a piece of color is related to its environment.
- Two colors with equal chrominance values have different color sensations under different lighting conditions, different media, different backgrounds, and observation by different observers. This color sensation is color appearance.
- six visual perception attributes are used to describe the color appearance of a color stimulus: hue, brightness, brightness, chromaticity, chroma, saturation.
- Hue refers to the visual attribute of the human eye that visually expresses a main color expression according to a certain amount of stimulation.
- Lightness means that the human eye visually senses the relative luminance ratio between it and the surrounding white point or the brightest block according to a certain amount of stimulation.
- Vision is the degree to which the human eye visually perceives the amount of light it presents based on a certain amount of stimulation.
- Visual chroma refers to the concentration value of the human eye that visually expresses its color in a certain primary hue according to a certain amount of stimulation.
- Saturation refers to the relative ratio of the visual chroma to the visual acuity of the human eye based on a certain amount of stimulation.
- Chroma means that the human eye visually expresses its apparent chroma and surrounding white spots or most according to a certain amount of stimulation. The ratio between the brightness of the bright blocks.
- Color appearance model refers to a mathematical model that can predict color perception under different observation conditions, mainly to solve the problem of true color reproduction under different observation conditions, different backgrounds and different environments.
- Contrast refers to the ratio of different brightness levels between the brightest white and the darkest black in the light and dark areas of an image. The larger the ratio, the larger the contrast of the two levels, and the smaller the ratio, the two levels. The smaller the color contrast.
- the method for adjusting the terminal interface provided by the present invention can be applied to a display interface of a terminal such as a tablet computer, a smart phone, or a smart watch.
- a terminal such as a tablet computer, a smart phone, or a smart watch.
- FIG. 2 is a schematic diagram of a state of a display interface of a smart phone in a highlight environment; taking a smart phone as an example (see FIG. 2).
- the existing smart phone is generally provided with a light sensing device. When the user turns on the brightness automatic adjustment function of the smart phone, the smart phone can automatically adjust the display brightness of the display interface according to the detected external environment.
- FIG. 3 is a schematic diagram of a state of a display interface of a smart phone after applying the method of the present invention; the display interface of FIG. 3 applies a method for adjusting a terminal interface provided by the present invention, and correspondingly displays the content of the page display and the background of the interface background. The adjustment makes the visibility of the display interface of the smartphone greatly improved.
- the method of data transmission provided by the present invention aims to solve the above technical problems of the prior art.
- FIG. 4 is a schematic flowchart of a method for adjusting a terminal interface according to Embodiment 1 of the present invention. As shown in FIG. 4, the method in this embodiment may include:
- a photosensitive sensor may be mounted on the terminal; or an environment image of an arbitrary background may be captured to obtain the brightness of the environment according to the image.
- the ambient brightness of the terminal is detected by a photosensitive sensor in real time, and when the signal value generated by the photosensitive sensor according to the ambient brightness reaches a preset upper limit value, determining the brightness of the terminal in the current environment. Greater than or equal to the preset upper threshold; or
- the average value of the brightness of the local pixel point or all the pixel points in the image is analyzed by collecting an image of the environment in which the terminal is located, and when the average value is greater than the preset upper limit value, determining the terminal in the current environment Brightness Greater than or equal to the preset upper threshold.
- the brightness display mode refers to when the brightness of the environment where the terminal is located reaches a preset upper limit value (may be greater than or equal to the preset upper limit value), and the terminal display interface performs the color parameter output according to the color appearance model.
- the displayed mode or based on the display of the color parameters output by the color appearance model, also adjusts the modes in which other parameters affecting the visibility are displayed.
- the contrast of the interface background and the interface content in the display interface is greater than or equal to a preset value.
- the method further includes:
- the display interface of the terminal is switched from the brightness display mode to the normal display mode.
- the display interface of the terminal when determining that the brightness of the terminal in the current environment is greater than or equal to the preset upper limit threshold, the display interface of the terminal is presented according to the brightness display mode, wherein the color of the display interface of the terminal in the brightness display mode
- the parameter is obtained by a color appearance model, in which the contrast between the interface background and the interface content in the display interface is greater than or equal to a preset value. Therefore, the visibility of the display interface of the terminal in the highlight environment is effectively improved, so that the user can clearly read the content on the display interface in the highlight environment, thereby improving the user experience.
- FIG. 5 is a schematic flowchart of a method for adjusting a terminal interface according to Embodiment 2 of the present invention. As shown in FIG. 5, the method in this embodiment may include:
- step S201 in this embodiment refers to the steps in the method shown in FIG. 4, and details are not described herein again.
- the color appearance model is used to reproduce the display interface in a high-brightness environment (the ambient brightness is greater than or equal to the preset upper limit value), so as to maximize the perception of the human eye to the display screen and the normal ambient brightness in a highlight environment.
- the perception of the display interface by the next human eye is close.
- the color parameter may be calculated by using a mathematical parameter in the color appearance model by inputting a known parameter in the color appearance model, and the color parameter includes: hue, brightness, brightness, chromaticity, chroma, saturation.
- the CIECAM02 color appearance model may be used to determine the color parameter of the corresponding display interface in the brightness display mode.
- the color parameter of the display interface of the terminal is adjusted according to the vertical of the color parameter output by the color appearance model, so that the visibility of the display interface of the human eye can be adapted to the highlight environment.
- the interface background of the display interface and the contrast of the interface content are extracted.
- the contrast is to adjust the color contrast of the interface background and the interface content, for example, the display interface in the reading mode, the background may be a dark color, and the interface content may be a lighter color relative to the background interface color.
- the color of the background interface becomes deeper, and the color of the interface content becomes lighter, which increases the color difference between the two and improves the visibility of the user.
- the contrast between the interface background and the interface content of the display interface is determined.
- the contrast is greater than or equal to the preset value, it is determined that the adjusted display interface meets the requirement, and step S207 is performed.
- the contrast is less than the preset value, it is determined that the adjusted display interface does not meet the requirement, and step S206 is performed.
- the contrast of the display interface is further adjusted. Specifically, the contrast of the display interface is increased according to the operation information input by the user, or the contrast of the display interface is increased by the processor of the terminal until the value of the contrast is greater than or equal to the preset value.
- step S207 in this embodiment refers to the steps in the method shown in FIG. 4, and details are not described herein again.
- the input parameters of the color appearance model under the environmental condition of the terminal are determined, and the color parameters of the display interface under the corresponding environmental conditions are obtained through the mathematical formula calculation in the color appearance model.
- the color parameter displays the display interface of the terminal. If the contrast is less than the preset value, the contrast of the display interface is adjusted until the contrast of the interface background and the interface content in the display interface is greater than or equal to a preset value. Therefore, the visibility of the display interface of the terminal in the highlight environment is effectively improved, so that the user can clearly read the content on the display interface in the highlight environment, thereby improving the user experience.
- FIG. 6 is a schematic flowchart of the method of step S202 in FIG. 5 according to the present invention. As shown in FIG. 6, step S202 may include:
- S2021 Determine, when the reference environment brightness is greater than or equal to the preset upper limit threshold, a value of a reference parameter in the color appearance model that is associated with a reference environment brightness.
- the reference parameter when the ambient brightness meets a condition greater than or equal to a preset upper limit value, determining a value of a reference parameter associated with the ambient brightness in the color appearance model under the condition, the reference parameter includes: adapting field brightness
- the relative brightness of the background is used to measure the adaptation state of the human eye to the ambient brightness, and the relative brightness of the background refers to the brightness of the background relative to the reference white.
- the color value of the display interface of the terminal is obtained.
- the color values corresponding to the color appearance model include: red and green, yellow and blue, brightness, chroma, hue angle, and the like.
- the value of the reference parameter associated with the ambient brightness and the color value of the current display interface of the terminal when the reference environment brightness is greater than or equal to the preset upper limit threshold is used as the input parameter of the color appearance model as the color.
- the known parameters in the appearance model are calculated by the mathematical formula of the color appearance model.
- the corresponding color parameter is calculated according to the mathematical formula of the color appearance model, and the color parameter includes: hue, brightness, brightness, chromaticity, chroma, saturation.
- the input parameters of the color appearance model under the environmental condition of the terminal are determined, and the color parameters of the display interface under the corresponding environmental conditions are obtained through the mathematical formula calculation in the color appearance model.
- the display interface of the terminal is displayed according to the color parameter.
- the color appearance model can reproduce the perception effect of the human eye on the display interface in a normal environment in a high-bright environment, thereby effectively improving the display interface of the terminal in a high-bright environment.
- the visibility enables the user to clearly read the content on the display interface in a highlight environment, thereby improving the user experience.
- FIG. 7 is a schematic structural diagram of an apparatus for adjusting a terminal interface according to Embodiment 1 of the present invention. As shown in FIG. 7, the apparatus in this embodiment may include:
- the determining module 10 is configured to determine that the brightness of the terminal in the current environment is greater than or equal to a preset upper limit threshold
- the display module 20 is configured to present a display interface of the terminal according to the brightness display mode, wherein the color parameter of the display interface of the terminal in the brightness display mode is obtained by using a color appearance model, and the brightness display mode is The contrast between the interface background and the interface content in the display interface is greater than or equal to a preset value.
- the determining module 10 is further configured to:
- the contrast is less than the preset value, adjusting the contrast of the display interface until the contrast is greater than or equal to the preset value.
- the reference parameter includes: adaptive field brightness, background relative brightness,
- the adaptive field brightness is used to measure the adaptation state of the human eye to the ambient brightness, and the relative brightness of the background refers to the brightness of the background relative to the reference white;
- the color parameters including: hue, brightness, brightness, chromaticity, chroma, saturation.
- the determining module 10 is specifically configured to:
- the brightness of the environment in which the terminal is located is detected by the photosensitive sensor in real time.
- the signal value generated by the light sensor according to the ambient brightness reaches a preset upper limit value, it is determined that the brightness of the terminal in the current environment is greater than or equal to the pre-predetermined Set an upper threshold; or
- the average value of the brightness of the local pixel point or all the pixel points in the image is analyzed by collecting an image of the environment in which the terminal is located, and when the average value is greater than the preset upper limit value, determining the terminal in the current environment The brightness is greater than or equal to the preset upper threshold.
- the determining module 10 is further configured to:
- the display interface of the terminal is switched from the brightness display mode to the normal display mode.
- the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4 to FIG. 6.
- the implementation principle and technical effects are similar, and details are not described herein again.
- FIG. 8 is a schematic structural diagram of an apparatus for adjusting a terminal interface according to Embodiment 1 of the present invention.
- the dynamic memory identification system 30 includes: a memory 31, a processor 32, a bus 33, and a computer program, where the computer program is stored in In memory 31, processor 32 performs data transfer with memory 31 via bus 33, and processor 32 runs a computer program to perform the various possible designs of Figures 4-6.
- the device of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2 and FIG. 4, and the implementation principle and the technical effect are similar, and details are not described herein again.
- the embodiment of the present application further provides a computer readable storage medium, where computer execution instructions are stored, when the at least one processor of the user equipment executes the computer to execute an instruction, the user equipment performs the foregoing various possibilities. Methods.
- the computer readable medium comprises a computer storage medium and a communication medium, wherein the communication medium comprises any medium that facilitates transfer of the computer program from one location to another.
- a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
- An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
- the storage medium can also be an integral part of the processor.
- the processor and the storage medium may be located in an application specific integrated circuit (ASIC). Additionally, the application specific integrated circuit can be located in the user equipment.
- ASIC application specific integrated circuit
- the processor and the storage medium may also reside as discrete components in the communication device.
- the aforementioned program can be stored in a computer readable storage medium.
- the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
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)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本申请涉及终端技术领域,尤其涉及一种终端界面的调整方法和装置。The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for adjusting a terminal interface.
随着终端技术的发展,越来越多的终端上配备了显示屏,用于呈现可视化的界面。但是,随着终端所处的环境的不同,人眼对显示屏界面的色彩知觉也会产生不同,从而影响用户在不同环境下对显示界面的信息获取。With the development of terminal technologies, more and more terminals are equipped with display screens for presenting visual interfaces. However, depending on the environment in which the terminal is located, the color perception of the display interface by the human eye may also be different, thereby affecting the user's information acquisition of the display interface in different environments.
目前的解决方法是,手动或者自动调节终端显示屏的背光亮度。The current solution is to manually or automatically adjust the backlight brightness of the terminal display.
但是,当终端所处的环境为高亮环境(例如太阳光直接照射的户外环境)时,即使将终端的显示屏的亮度调节到最大,依然很难看清楚显示界面上的信息。从而会影响用户在高亮环境下对终端的使用,用户体验度不佳。However, when the environment in which the terminal is located is a high-light environment (for example, an outdoor environment in which sunlight is directly irradiated), even if the brightness of the display screen of the terminal is adjusted to the maximum, it is difficult to see the information on the display interface. Therefore, the user's use of the terminal in a high-light environment is affected, and the user experience is not good.
发明内容Summary of the invention
本发明提供一种终端界面的调整方法和装置,以提高在高亮环境下,终端显示界面的可视度,提升用户体验。The invention provides a method and a device for adjusting a terminal interface, so as to improve the visibility of the terminal display interface in a highlight environment and improve the user experience.
第一方面,本发明提供一种终端界面的调整方法,包括:In a first aspect, the present invention provides a method for adjusting a terminal interface, including:
确定所述终端在当前环境下的亮度大于或者等于预设上限阈值;Determining that the brightness of the terminal in the current environment is greater than or equal to a preset upper threshold;
按照亮度显示模式呈现终端的显示界面;其中,所述亮度显示模式下所述终端的显示界面的色彩参数是通过色貌模型得到的,在所述亮度显示模式下,所述显示界面中的界面背景与界面内容的对比度大于或者等于预设值。Displaying a display interface of the terminal according to the brightness display mode; wherein the color parameter of the display interface of the terminal in the brightness display mode is obtained by a color appearance model, and the interface in the display interface is in the brightness display mode The contrast between the background and the interface content is greater than or equal to the preset value.
可选地,所述按照亮度显示模式呈现终端的显示界面之前,还包括:Optionally, before the displaying the display interface of the terminal according to the brightness display mode, the method further includes:
确定终端所处环境下所述色貌模型的输入参数,并获取所述色貌模型输出的色彩参数;Determining an input parameter of the color appearance model in an environment in which the terminal is located, and acquiring a color parameter output by the color appearance model;
按照所述色彩参数显示所述显示界面;Displaying the display interface according to the color parameter;
提取所述显示界面中的界面背景与界面内容的对比度;Extracting a contrast between an interface background and an interface content in the display interface;
判断所述对比度是否大于或者等于所述预设值;Determining whether the contrast is greater than or equal to the preset value;
若所述对比度小于所述预设值,则调节所述显示界面的对比度,直到所述对比度 大于或者等于所述预设值。Adjusting the contrast of the display interface until the contrast is less than the preset value Greater than or equal to the preset value.
可选地,所述确定终端所处环境下所述色貌模型的输入参数,并获取所述色貌模型输出的色彩参数;包括:Optionally, the determining the input parameter of the color appearance model in the environment where the terminal is located, and acquiring the color parameter output by the color appearance model;
在参考环境亮度为大于或等于所述预设上限阈值时,确定所述色貌模型中与参考环境亮度关联的参考参数的数值,所述参考参数包括:适应场亮度、背景相对亮度,所述适应场亮度用来度量人眼对环境亮度的适应状态,背景相对亮度是指背景相对于参考白的亮度;Determining a value of a reference parameter associated with a reference ambient brightness in the color appearance model, where the reference environment brightness is greater than or equal to the preset upper limit threshold, the reference parameter includes: adaptive field brightness, background relative brightness, The adaptive field brightness is used to measure the adaptation state of the human eye to the ambient brightness, and the relative brightness of the background refers to the brightness of the background relative to the reference white;
提取所述终端的当前显示界面的颜色值;Extracting a color value of a current display interface of the terminal;
以所述参考参数的数值、所述终端的当前显示界面的颜色值作为所述色貌模型的输入参数;Taking the value of the reference parameter and the color value of the current display interface of the terminal as input parameters of the color appearance model;
获取所述色貌模型输出的色彩参数,所述色彩参数包括:色相、明度、视明度、视彩度、彩度、饱和度。Obtaining color parameters output by the color appearance model, the color parameters including: hue, brightness, brightness, chromaticity, chroma, saturation.
可选地,所述确定终端所处的环境的亮度大于等于预设上限阈值,包括:Optionally, the determining that the brightness of the environment in which the terminal is located is greater than or equal to a preset upper threshold, including:
通过感光传感器实时检测所述终端所处的环境亮度,当所述感光传感器根据环境亮度而产生的信号值达到预设的上限值时,确定所述终端在当前环境下的亮度大于或者等于预设上限阈值;或者The brightness of the environment in which the terminal is located is detected by the photosensitive sensor in real time. When the signal value generated by the light sensor according to the ambient brightness reaches a preset upper limit value, it is determined that the brightness of the terminal in the current environment is greater than or equal to the pre-predetermined Set an upper threshold; or
通过采集终端所处环境的图像,分析所述图像中局部像素点或者全部像素点的亮度的平均值,当所述平均值大于预设的上限值时,确定所述终端在当前环境下的亮度大于或者等于预设上限阈值。The average value of the brightness of the local pixel point or all the pixel points in the image is analyzed by collecting an image of the environment in which the terminal is located, and when the average value is greater than the preset upper limit value, determining the terminal in the current environment The brightness is greater than or equal to the preset upper threshold.
可选地,在所述按照预设的显示模式呈现终端的显示界面之后,还包括:Optionally, after the displaying the display interface of the terminal according to the preset display mode, the method further includes:
确定所述终端在当前环境下的亮度小于预设上限阈值;Determining that the brightness of the terminal in the current environment is less than a preset upper threshold;
将终端的显示界面从所述亮度显示模式切换为正常显示模式。The display interface of the terminal is switched from the brightness display mode to the normal display mode.
第二方面,本发明提供一种终端界面的调整装置,包括:In a second aspect, the present invention provides an apparatus for adjusting a terminal interface, including:
确定模块,用于确定所述终端在当前环境下的亮度大于或者等于预设上限阈值;a determining module, configured to determine that the brightness of the terminal in the current environment is greater than or equal to a preset upper threshold;
显示模块,用于按照亮度显示模式呈现终端的显示界面;其中,所述亮度显示模式下所述终端的显示界面的色彩参数是通过色貌模型得到的,在所述亮度显示模式下,所述显示界面中的界面背景与界面内容的对比度大于或者等于预设值。a display module, configured to display a display interface of the terminal according to the brightness display mode; wherein the color parameter of the display interface of the terminal in the brightness display mode is obtained by using a color appearance model, in the brightness display mode, The contrast between the interface background and the interface content in the display interface is greater than or equal to the preset value.
可选地,所述确定模块,还用于:Optionally, the determining module is further configured to:
在按照亮度显示模式呈现终端的显示界面之前,确定终端所处环境下所述色貌模型的输入参数,并获取所述色貌模型输出的色彩参数; Before presenting the display interface of the terminal according to the brightness display mode, determining an input parameter of the color appearance model in an environment in which the terminal is located, and acquiring a color parameter output by the color appearance model;
按照所述色彩参数显示所述显示界面;Displaying the display interface according to the color parameter;
提取所述显示界面中的界面背景与界面内容的对比度;Extracting a contrast between an interface background and an interface content in the display interface;
判断所述对比度是否大于或者等于所述预设值;Determining whether the contrast is greater than or equal to the preset value;
若所述对比度小于所述预设值,则调节所述显示界面的对比度,直到所述对比度大于或者等于所述预设值。If the contrast is less than the preset value, adjusting the contrast of the display interface until the contrast is greater than or equal to the preset value.
可选地,所述确定终端所处环境下所述色貌模型的输入参数,并获取所述色貌模型输出的色彩参数;包括:Optionally, the determining the input parameter of the color appearance model in the environment where the terminal is located, and acquiring the color parameter output by the color appearance model;
在参考环境亮度为大于或等于所述预设上限阈值时,确定所述色貌模型中与参考环境亮度关联的参考参数的数值,所述参考参数包括:适应场亮度、背景相对亮度,所述适应场亮度用来度量人眼对环境亮度的适应状态,背景相对亮度是指背景相对于参考白的亮度;Determining a value of a reference parameter associated with a reference ambient brightness in the color appearance model, where the reference environment brightness is greater than or equal to the preset upper limit threshold, the reference parameter includes: adaptive field brightness, background relative brightness, The adaptive field brightness is used to measure the adaptation state of the human eye to the ambient brightness, and the relative brightness of the background refers to the brightness of the background relative to the reference white;
提取所述终端的当前显示界面的颜色值;Extracting a color value of a current display interface of the terminal;
以所述参考参数的数值、所述终端的当前显示界面的颜色值作为所述色貌模型的输入参数;Taking the value of the reference parameter and the color value of the current display interface of the terminal as input parameters of the color appearance model;
获取所述色貌模型输出的色彩参数,所述色彩参数包括:色相、明度、视明度、视彩度、彩度、饱和度。Obtaining color parameters output by the color appearance model, the color parameters including: hue, brightness, brightness, chromaticity, chroma, saturation.
可选地,所述确定模块,具体用于:Optionally, the determining module is specifically configured to:
通过感光传感器实时检测所述终端所处的环境亮度,当所述感光传感器根据环境亮度而产生的信号值达到预设的上限值时,确定所述终端在当前环境下的亮度大于或者等于预设上限阈值;或者The brightness of the environment in which the terminal is located is detected by the photosensitive sensor in real time. When the signal value generated by the light sensor according to the ambient brightness reaches a preset upper limit value, it is determined that the brightness of the terminal in the current environment is greater than or equal to the pre-predetermined Set an upper threshold; or
通过采集终端所处环境的图像,分析所述图像中局部像素点或者全部像素点的亮度的平均值,当所述平均值大于预设的上限值时,确定所述终端在当前环境下的亮度大于或者等于预设上限阈值。The average value of the brightness of the local pixel point or all the pixel points in the image is analyzed by collecting an image of the environment in which the terminal is located, and when the average value is greater than the preset upper limit value, determining the terminal in the current environment The brightness is greater than or equal to the preset upper threshold.
可选地,所述确定模块,还用于:Optionally, the determining module is further configured to:
确定所述终端在当前环境下的亮度小于预设上限阈值;Determining that the brightness of the terminal in the current environment is less than a preset upper threshold;
将终端的显示界面从所述亮度显示模式切换为正常显示模式。The display interface of the terminal is switched from the brightness display mode to the normal display mode.
第三方面,本发明提供一种终端界面的调整设备,包括:In a third aspect, the present invention provides an apparatus for adjusting a terminal interface, including:
存储器,用于存储程序;Memory for storing programs;
处理器,用于执行所述存储器存储的所述程序,当所述程序被执行时,所述处理器用于执行第一方面中任一所述的方法。 a processor for executing the program stored by the memory, the processor for performing the method of any of the first aspects when the program is executed.
第四方面,本发明提供一种计算机可读存储介质,包括:指令,当其在计算机上运行时,使得计算机执行第一方面中任一所述的方法。In a fourth aspect, the invention provides a computer readable storage medium comprising: instructions, when executed on a computer, causing a computer to perform the method of any of the first aspects.
本发明提供的终端界面的调整方法和装置,通过确定终端在当前环境下的亮度大于或者等于预设上限阈值时,将终端的显示界面按照亮度显示模式进行呈现,其中,所述亮度显示模式下所述终端的显示界面的色彩参数是通过色貌模型得到的,在所述亮度显示模式下,所述显示界面中的界面背景与界面内容的对比度大于或者等于预设值。从而有效地提高了终端的显示界面在高亮环境下的可视度,使得用户在高亮环境下能够清楚地阅读显示界面上的内容,提升了用户的体验。The method and device for adjusting the terminal interface provided by the present invention, when determining that the brightness of the terminal in the current environment is greater than or equal to the preset upper limit threshold, the display interface of the terminal is presented according to the brightness display mode, wherein the brightness display mode is The color parameter of the display interface of the terminal is obtained by using a color appearance model. In the brightness display mode, the contrast between the interface background and the interface content in the display interface is greater than or equal to a preset value. Therefore, the visibility of the display interface of the terminal in the highlight environment is effectively improved, so that the user can clearly read the content on the display interface in the highlight environment, thereby improving the user experience.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为现有技术中智能手机的亮度调节界面示意图;1 is a schematic diagram of a brightness adjustment interface of a smart phone in the prior art;
图2为高亮环境下智能手机的显示界面的状态示意图;2 is a schematic diagram showing a state of a display interface of a smartphone in a highlight environment;
图3为应用本发明中的方法后智能手机的显示界面的状态示意图;3 is a schematic diagram showing a state of a display interface of a smart phone after applying the method of the present invention;
图4为本发明实施例一提供的终端界面的调整方法的流程示意图;4 is a schematic flowchart of a method for adjusting a terminal interface according to Embodiment 1 of the present invention;
图5为本发明实施例二提供的终端界面的调整方法的流程示意图;FIG. 5 is a schematic flowchart of a method for adjusting a terminal interface according to Embodiment 2 of the present invention;
图6为本发明图5中步骤S202的方法的流程示意图;FIG. 6 is a schematic flowchart diagram of the method of step S202 in FIG. 5 according to the present invention;
图7为本发明实施例一提供的终端界面的调整装置的结构示意图;FIG. 7 is a schematic structural diagram of an apparatus for adjusting a terminal interface according to Embodiment 1 of the present invention;
图8为本发明实施例一提供的终端界面的调整设备的结构示意图。FIG. 8 is a schematic structural diagram of an apparatus for adjusting a terminal interface according to Embodiment 1 of the present invention.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。The embodiments of the present disclosure have been shown by the above-described drawings, which will be described in more detail later. The drawings and the text are not intended to limit the scope of the present disclosure in any way, and the description of the present disclosure will be described by those skilled in the art by reference to the specific embodiments.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域 普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. Based on embodiments in the present invention, the field All other embodiments obtained by a person of ordinary skill in the art without creative efforts are within the scope of the invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without being used for Describe a specific order or order. It is to be understood that the data so used may be interchanged as appropriate, such that the embodiments of the invention described herein can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the present invention will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some of the terms in the present application will be explained to be understood by those skilled in the art.
1)色貌,是指颜色刺激在人眼产生的色彩知觉。在人的视觉中,可以说任何色彩都是在对比状态下存在的,或者是在相对条件下存在的,因为任何物体或者一块颜色都不可能孤立地存在,它都是从整体中显现出来的。而人的知觉也不可能单独地去感受某一种颜色,总是在一个大的整体中去感受各个部分,进一步说,对一块颜色的认识,与它存在的环境有关。色度值相等的两个颜色在不同的照明条件、不同的媒体、不同的背景下,以及由不同的观察者观察都具有不同的颜色感觉,这种颜色感觉即色貌。为了描述人眼的色彩知觉量,人们采用了六种视觉感知属性进行描述一个颜色刺激的色貌,这六种属性分别为:色相、明度、视明度、视彩度、彩度、饱和度。1) Color appearance refers to the color perception that color stimuli produce in the human eye. In human vision, it can be said that any color exists in the contrast state, or exists under relative conditions, because any object or piece of color cannot exist in isolation, it is revealed from the whole. . And human perception is not likely to feel a certain color alone, always feel the various parts in a large whole, and further, the understanding of a piece of color is related to its environment. Two colors with equal chrominance values have different color sensations under different lighting conditions, different media, different backgrounds, and observation by different observers. This color sensation is color appearance. In order to describe the color perception of the human eye, six visual perception attributes are used to describe the color appearance of a color stimulus: hue, brightness, brightness, chromaticity, chroma, saturation.
2)色相,是指人眼依据某一刺激量,视觉感受出其所呈现出的一种主色彩表现的视觉属性。2) Hue refers to the visual attribute of the human eye that visually expresses a main color expression according to a certain amount of stimulation.
3)明度,是指是指人眼依据某一刺激量,视觉感受出其与周围白点或最亮区块之间的相对辉度比值。3) Lightness means that the human eye visually senses the relative luminance ratio between it and the surrounding white point or the brightest block according to a certain amount of stimulation.
4)视明度,是指是指人眼依据某一刺激量,视觉感受出其所呈现出的光量的程度。4) Vision is the degree to which the human eye visually perceives the amount of light it presents based on a certain amount of stimulation.
5)视彩度,是指是指人眼依据某一刺激量,视觉感受出其在某一种主色相色彩表现的色味的浓度值。5) Visual chroma refers to the concentration value of the human eye that visually expresses its color in a certain primary hue according to a certain amount of stimulation.
6)饱和度,是指是指人眼依据某一刺激量,视觉感受出其视彩度与视明度的相对比值。6) Saturation refers to the relative ratio of the visual chroma to the visual acuity of the human eye based on a certain amount of stimulation.
7)彩度,是指是指人眼依据某一刺激量,视觉感受出其视彩度与周围白点或者最 亮区块视明度之间的比值。7) Chroma means that the human eye visually expresses its apparent chroma and surrounding white spots or most according to a certain amount of stimulation. The ratio between the brightness of the bright blocks.
8)色貌模型,是指能够在不同观察条件下对颜色知觉进行预测的数学模型,主要解决不同观察条件、不同背景和不同环境下的颜色真实再现问题。8) Color appearance model refers to a mathematical model that can predict color perception under different observation conditions, mainly to solve the problem of true color reproduction under different observation conditions, different backgrounds and different environments.
9)对比度,是指一副图像中明暗区域中最亮的白和最暗的黑之间不同亮度层级的比值,比值越大则两个层级的颜色反差越大,比值越小则两个层级的颜色反差越小。9) Contrast refers to the ratio of different brightness levels between the brightest white and the darkest black in the light and dark areas of an image. The larger the ratio, the larger the contrast of the two levels, and the smaller the ratio, the two levels. The smaller the color contrast.
本发明提供的终端界面的调整方法,可以应用在平板电脑、智能手机、智能手表等终端的显示界面上。图1为现有技术中智能手机的亮度调节界面示意图;图2为高亮环境下智能手机的显示界面的状态示意图;以智能手机为例(参见图2)。现有的智能手机中一般设置有光感应器件,当用户开启智能手机的亮度自动调节功能时,智能手机能够根据检测到的外界环境,来自动调节显示界面的显示亮度。但是,当处于高亮环境时(例如太阳光直接照射的户外环境时),即使将智能手机的亮度值调节到最大,依然很难看清楚显示界面上的内容,用户体验度不佳。图3为应用本发明中的方法后智能手机的显示界面的状态示意图;图3中的显示界面应用了本发明提供的终端界面的调整方法,将页面显示内容和界面背景的颜色进行了相应的调节,从而使得智能手机的显示界面的可视度大大提高。The method for adjusting the terminal interface provided by the present invention can be applied to a display interface of a terminal such as a tablet computer, a smart phone, or a smart watch. 1 is a schematic diagram of a brightness adjustment interface of a smart phone in the prior art; FIG. 2 is a schematic diagram of a state of a display interface of a smart phone in a highlight environment; taking a smart phone as an example (see FIG. 2). The existing smart phone is generally provided with a light sensing device. When the user turns on the brightness automatic adjustment function of the smart phone, the smart phone can automatically adjust the display brightness of the display interface according to the detected external environment. However, when in a high-bright environment (such as in an outdoor environment where sunlight is directly exposed), even if the brightness value of the smartphone is adjusted to the maximum, it is still difficult to see the content on the display interface, and the user experience is not good. 3 is a schematic diagram of a state of a display interface of a smart phone after applying the method of the present invention; the display interface of FIG. 3 applies a method for adjusting a terminal interface provided by the present invention, and correspondingly displays the content of the page display and the background of the interface background. The adjustment makes the visibility of the display interface of the smartphone greatly improved.
本发明提供的数据传输的方法,旨在解决现有技术的如上技术问题。The method of data transmission provided by the present invention aims to solve the above technical problems of the prior art.
下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solutions of the present invention and how the technical solutions of the present application solve the above technical problems will be described in detail below with reference to specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
图4为本发明实施例一提供的终端界面的调整方法的流程示意图,如图4所示,本实施例中的方法,可以包括:FIG. 4 is a schematic flowchart of a method for adjusting a terminal interface according to Embodiment 1 of the present invention. As shown in FIG. 4, the method in this embodiment may include:
S101、确定终端在当前环境下的亮度大于或者等于预设上限阈值。S101. Determine that the brightness of the terminal in the current environment is greater than or equal to a preset upper limit threshold.
本实施例中,对于无法检测光线强度的终端,可以在终端上安装感光传感器;或者是通过拍摄一张任意背景的环境图像,根据图像获取环境的亮度。In this embodiment, for a terminal that cannot detect the light intensity, a photosensitive sensor may be mounted on the terminal; or an environment image of an arbitrary background may be captured to obtain the brightness of the environment according to the image.
可选地,通过感光传感器实时检测所述终端所处的环境亮度,当所述感光传感器根据环境亮度而产生的信号值达到预设的上限值时,确定所述终端在当前环境下的亮度大于或者等于预设上限阈值;或者Optionally, the ambient brightness of the terminal is detected by a photosensitive sensor in real time, and when the signal value generated by the photosensitive sensor according to the ambient brightness reaches a preset upper limit value, determining the brightness of the terminal in the current environment. Greater than or equal to the preset upper threshold; or
通过采集终端所处环境的图像,分析所述图像中局部像素点或者全部像素点的亮度的平均值,当所述平均值大于预设的上限值时,确定所述终端在当前环境下的亮度 大于或者等于预设上限阈值。The average value of the brightness of the local pixel point or all the pixel points in the image is analyzed by collecting an image of the environment in which the terminal is located, and when the average value is greater than the preset upper limit value, determining the terminal in the current environment Brightness Greater than or equal to the preset upper threshold.
S102、按照亮度显示模式呈现终端的显示界面。S102. Display a display interface of the terminal according to the brightness display mode.
本实施例中,亮度显示模式是指在当终端所处的环境亮度达到预设的上限值时(可以大于或者等于预设上限值),终端显示界面按照色貌模型输出的色彩参数进行显示的模式,或者在按照色貌模型输出的色彩参数显示的基础上,还调节其他影响可视度的参数进行显示的模式。并且,在所述亮度显示模式下,所述显示界面中的界面背景与界面内容的对比度大于或者等于预设值。In this embodiment, the brightness display mode refers to when the brightness of the environment where the terminal is located reaches a preset upper limit value (may be greater than or equal to the preset upper limit value), and the terminal display interface performs the color parameter output according to the color appearance model. The displayed mode, or based on the display of the color parameters output by the color appearance model, also adjusts the modes in which other parameters affecting the visibility are displayed. Moreover, in the brightness display mode, the contrast of the interface background and the interface content in the display interface is greater than or equal to a preset value.
可选地,在所述按照预设的显示模式呈现终端的显示界面之后,还包括:Optionally, after the displaying the display interface of the terminal according to the preset display mode, the method further includes:
确定所述终端在当前环境下的亮度小于预设上限阈值;Determining that the brightness of the terminal in the current environment is less than a preset upper threshold;
将终端的显示界面从所述亮度显示模式切换为正常显示模式。The display interface of the terminal is switched from the brightness display mode to the normal display mode.
本实施例,通过确定终端在当前环境下的亮度大于或者等于预设上限阈值时,将终端的显示界面按照亮度显示模式进行呈现,其中,所述亮度显示模式下所述终端的显示界面的色彩参数是通过色貌模型得到的,在所述亮度显示模式下,所述显示界面中的界面背景与界面内容的对比度大于或者等于预设值。从而有效地提高了终端的显示界面在高亮环境下的可视度,使得用户在高亮环境下能够清楚地阅读显示界面上的内容,提升了用户的体验。In this embodiment, when determining that the brightness of the terminal in the current environment is greater than or equal to the preset upper limit threshold, the display interface of the terminal is presented according to the brightness display mode, wherein the color of the display interface of the terminal in the brightness display mode The parameter is obtained by a color appearance model, in which the contrast between the interface background and the interface content in the display interface is greater than or equal to a preset value. Therefore, the visibility of the display interface of the terminal in the highlight environment is effectively improved, so that the user can clearly read the content on the display interface in the highlight environment, thereby improving the user experience.
图5为本发明实施例二提供的终端界面的调整方法的流程示意图,如图5所示,本实施例中的方法,可以包括:FIG. 5 is a schematic flowchart of a method for adjusting a terminal interface according to Embodiment 2 of the present invention. As shown in FIG. 5, the method in this embodiment may include:
S201、确定终端在当前环境下的亮度大于或者等于预设上限阈值。S201. Determine that the brightness of the terminal in the current environment is greater than or equal to a preset upper limit threshold.
本实施例中步骤S201的具体实现过程请参见图4所示的方法中的步骤,此处不再赘述。For the specific implementation process of step S201 in this embodiment, refer to the steps in the method shown in FIG. 4, and details are not described herein again.
S202、确定终端所处环境下色貌模型的输入参数,并获取色貌模型输出的色彩参数。S202. Determine an input parameter of a color appearance model in an environment where the terminal is located, and obtain a color parameter output by the color appearance model.
本实施例中,采用色貌模型来再现处于高亮环境(环境亮度大于或者等于预设上限值)时的显示界面,尽量使得高亮环境下人眼对显示屏的感知结果与正常环境亮度下人眼对显示界面的感知结果接近。具体的,可以通过输入色貌模型中的已知参数,通过色貌模型中的数学公式计算出色彩参数,该色彩参数包括:色相、明度、视明度、视彩度、彩度、饱和度。可选地,可以采用CIECAM02色貌模型来确定亮度显示模式下对应显示界面的色彩参数。In this embodiment, the color appearance model is used to reproduce the display interface in a high-brightness environment (the ambient brightness is greater than or equal to the preset upper limit value), so as to maximize the perception of the human eye to the display screen and the normal ambient brightness in a highlight environment. The perception of the display interface by the next human eye is close. Specifically, the color parameter may be calculated by using a mathematical parameter in the color appearance model by inputting a known parameter in the color appearance model, and the color parameter includes: hue, brightness, brightness, chromaticity, chroma, saturation. Optionally, the CIECAM02 color appearance model may be used to determine the color parameter of the corresponding display interface in the brightness display mode.
S203、按照色彩参数显示所述显示界面。 S203. Display the display interface according to a color parameter.
本实施例中,按照色貌模型输出的色彩参数的竖直来调节终端的显示界面的色彩参数,从而使得人眼对显示界面的可视度能够适应于高亮环境。In this embodiment, the color parameter of the display interface of the terminal is adjusted according to the vertical of the color parameter output by the color appearance model, so that the visibility of the display interface of the human eye can be adapted to the highlight environment.
S204、提取显示界面中的界面背景与界面内容的对比度。S204. Extract the contrast between the interface background and the interface content in the display interface.
本实施例中,当按照色貌模型输出的色彩参数调节显示界面之后,提取出显示界面的界面背景和界面内容的对比度。具体的,对比度是为了调节界面背景与界面内容的颜色反差度,例如处于阅读模式下的显示界面,背景可以为偏深色的颜色,界面内容可以为相对背景界面颜色而言较浅的颜色。调节对比度之后,背景界面的颜色变得更加深,而界面内容的颜色变得更加浅,从而使得两者的色差增大,提升用户的可视度。In this embodiment, after the display interface is adjusted according to the color parameter output by the color appearance model, the interface background of the display interface and the contrast of the interface content are extracted. Specifically, the contrast is to adjust the color contrast of the interface background and the interface content, for example, the display interface in the reading mode, the background may be a dark color, and the interface content may be a lighter color relative to the background interface color. After adjusting the contrast, the color of the background interface becomes deeper, and the color of the interface content becomes lighter, which increases the color difference between the two and improves the visibility of the user.
S205、判断对比度是否大于或者等于所述预设值,若否,则执行步骤S206;若是,则执行步骤S207。S205. Determine whether the contrast is greater than or equal to the preset value. If not, execute step S206; if yes, execute step S207.
本实施例中,对根据显示界面的界面背景与界面内容的对比度进行判断,当对比度大于或者等于预设值时,则确定调节后的显示界面符合要求,执行步骤S207。当对比度小于预设值时,则确定调节后的显示界面不符合要求,执行步骤S206。In this embodiment, the contrast between the interface background and the interface content of the display interface is determined. When the contrast is greater than or equal to the preset value, it is determined that the adjusted display interface meets the requirement, and step S207 is performed. When the contrast is less than the preset value, it is determined that the adjusted display interface does not meet the requirement, and step S206 is performed.
S206、调节显示界面的对比度,返回执行步骤S205。S206. Adjust the contrast of the display interface, and return to step S205.
本实施例中,确定显示界面的界面背景与界面内容的对比度小于预设值,则对该显示界面的对比度做进一步调节。具体的,根据用户输入的操作信息将显示界面的对比度增大,或者是通过终端的处理器将显示界面的对比度增大,直到对比度的值大于或者等于预设值。In this embodiment, if it is determined that the interface background of the display interface and the contrast of the interface content are less than a preset value, the contrast of the display interface is further adjusted. Specifically, the contrast of the display interface is increased according to the operation information input by the user, or the contrast of the display interface is increased by the processor of the terminal until the value of the contrast is greater than or equal to the preset value.
S207、按照亮度显示模式呈现终端的显示界面。S207. Display a display interface of the terminal according to the brightness display mode.
本实施例中步骤S207的具体实现过程请参见图4所示的方法中的步骤,此处不再赘述。For the specific implementation process of step S207 in this embodiment, refer to the steps in the method shown in FIG. 4, and details are not described herein again.
本实施例,首先通过确定终端所处环境条件下色貌模型的输入参数,并通过色貌模型中的数学公式运算得到相应环境条件下显示界面的色彩参数。按照该色彩参数显示终端的显示界面,并进一步提取该显示界面中界面背景和界面内容的对比度,判断该对比度是否大于或者等于预设值,若大于或者等于预设值,则按照色貌模型输出的色彩参数显示终端的显示界面。若对比度小于预设的值,则对显示界面的对比度进行调整,直到该显示界面中界面背景和界面内容的对比度大于或者等于预设值。从而有效地提高了终端的显示界面在高亮环境下的可视度,使得用户在高亮环境下能够清楚地阅读显示界面上的内容,提升了用户的体验。 In this embodiment, firstly, the input parameters of the color appearance model under the environmental condition of the terminal are determined, and the color parameters of the display interface under the corresponding environmental conditions are obtained through the mathematical formula calculation in the color appearance model. Displaying the display interface of the terminal according to the color parameter, and further extracting the contrast of the interface background and the interface content in the display interface, determining whether the contrast is greater than or equal to a preset value, and if greater than or equal to the preset value, outputting according to the color appearance model The color parameter displays the display interface of the terminal. If the contrast is less than the preset value, the contrast of the display interface is adjusted until the contrast of the interface background and the interface content in the display interface is greater than or equal to a preset value. Therefore, the visibility of the display interface of the terminal in the highlight environment is effectively improved, so that the user can clearly read the content on the display interface in the highlight environment, thereby improving the user experience.
图6为本发明图5中步骤S202的方法的流程示意图,如图6所示,步骤S202可以包括:FIG. 6 is a schematic flowchart of the method of step S202 in FIG. 5 according to the present invention. As shown in FIG. 6, step S202 may include:
S2021、在参考环境亮度为大于或等于所述预设上限阈值时,确定所述色貌模型中与参考环境亮度关联的参考参数的数值。S2021: Determine, when the reference environment brightness is greater than or equal to the preset upper limit threshold, a value of a reference parameter in the color appearance model that is associated with a reference environment brightness.
本实施例中,在环境亮度符合大于或等于预设上限值的条件时,确定在该条件下,色貌模型中与环境亮度关联的参考参数的数值,所述参考参数包括:适应场亮度、背景相对亮度,所述适应场亮度用来度量人眼对环境亮度的适应状态,背景相对亮度是指背景相对于参考白的亮度。In this embodiment, when the ambient brightness meets a condition greater than or equal to a preset upper limit value, determining a value of a reference parameter associated with the ambient brightness in the color appearance model under the condition, the reference parameter includes: adapting field brightness The relative brightness of the background is used to measure the adaptation state of the human eye to the ambient brightness, and the relative brightness of the background refers to the brightness of the background relative to the reference white.
S2022、提取终端的当前显示界面的颜色值。S2022: Extract a color value of a current display interface of the terminal.
本实施例中,获取终端的显示界面的颜色值,以CIECAM02色貌模型为例,该色貌模型对应的颜色值包括:红绿度、黄蓝度、明度、彩度、色调角等等。In this embodiment, the color value of the display interface of the terminal is obtained. Taking the CIECAM02 color appearance model as an example, the color values corresponding to the color appearance model include: red and green, yellow and blue, brightness, chroma, hue angle, and the like.
S2023、以参考参数的数值、终端的当前显示界面的颜色值作为色貌模型的输入参数。S2023, using the value of the reference parameter and the color value of the current display interface of the terminal as the input parameter of the color appearance model.
本实施例中,以参考环境亮度大于或等于所述预设上限阈值时对应的与环境亮度关联的参考参数的数值、终端的当前显示界面的颜色值作为色貌模型的输入参数,作为该色貌模型中的已知参数,通过色貌模型的数学公式计算出相应的色彩参数。In this embodiment, the value of the reference parameter associated with the ambient brightness and the color value of the current display interface of the terminal when the reference environment brightness is greater than or equal to the preset upper limit threshold is used as the input parameter of the color appearance model as the color. The known parameters in the appearance model are calculated by the mathematical formula of the color appearance model.
S2024、获取色貌模型输出的色彩参数。S2024: Obtain a color parameter output by the color appearance model.
本实施例中,根据色貌模型的数学公式计算出相应的色彩参数,该色彩参数包括:色相、明度、视明度、视彩度、彩度、饱和度。In this embodiment, the corresponding color parameter is calculated according to the mathematical formula of the color appearance model, and the color parameter includes: hue, brightness, brightness, chromaticity, chroma, saturation.
本实施例,首先通过确定终端所处环境条件下色貌模型的输入参数,并通过色貌模型中的数学公式运算得到相应环境条件下显示界面的色彩参数。最后按照该色彩参数显示终端的显示界面。相比较于传统地调节显示界面亮度的方式,采用色貌模型可以在高亮环境下再现正常环境下人眼对显示界面的感知效果,从而有效地提高了终端的显示界面在高亮环境下的可视度,使得用户在高亮环境下能够清楚地阅读显示界面上的内容,提升了用户的体验。In this embodiment, firstly, the input parameters of the color appearance model under the environmental condition of the terminal are determined, and the color parameters of the display interface under the corresponding environmental conditions are obtained through the mathematical formula calculation in the color appearance model. Finally, the display interface of the terminal is displayed according to the color parameter. Compared with the traditional way of adjusting the brightness of the display interface, the color appearance model can reproduce the perception effect of the human eye on the display interface in a normal environment in a high-bright environment, thereby effectively improving the display interface of the terminal in a high-bright environment. The visibility enables the user to clearly read the content on the display interface in a highlight environment, thereby improving the user experience.
图7为本发明实施例一提供的终端界面的调整装置的结构示意图,如图7所示,本实施例中的装置可以包括:FIG. 7 is a schematic structural diagram of an apparatus for adjusting a terminal interface according to Embodiment 1 of the present invention. As shown in FIG. 7, the apparatus in this embodiment may include:
确定模块10,用于确定所述终端在当前环境下的亮度大于或者等于预设上限阈值;The determining
显示模块20,用于按照亮度显示模式呈现终端的显示界面;其中,所述亮度显示模式下所述终端的显示界面的色彩参数是通过色貌模型得到的,在所述亮度显示模式
下,所述显示界面中的界面背景与界面内容的对比度大于或者等于预设值。The
可选地,所述确定模块10,还用于:Optionally, the determining
在按照亮度显示模式呈现终端的显示界面之前,确定终端所处环境下所述色貌模型的输入参数,并获取所述色貌模型输出的色彩参数;Before presenting the display interface of the terminal according to the brightness display mode, determining an input parameter of the color appearance model in an environment in which the terminal is located, and acquiring a color parameter output by the color appearance model;
按照所述色彩参数显示所述显示界面;Displaying the display interface according to the color parameter;
提取所述显示界面中的界面背景与界面内容的对比度;Extracting a contrast between an interface background and an interface content in the display interface;
判断所述对比度是否大于或者等于所述预设值;Determining whether the contrast is greater than or equal to the preset value;
若所述对比度小于所述预设值,则调节所述显示界面的对比度,直到所述对比度大于或者等于所述预设值。If the contrast is less than the preset value, adjusting the contrast of the display interface until the contrast is greater than or equal to the preset value.
可选地,所述确定终端所处环境下所述色貌模型的输入参数,并获取所述色貌模型输出的色彩参数;包括:Optionally, the determining the input parameter of the color appearance model in the environment where the terminal is located, and acquiring the color parameter output by the color appearance model;
在参考环境亮度为大于或等于所述预设上限阈值时,确定所述色貌模型中与参考环境亮度关联的参考参数的数值,所述参考参数包括:适应场亮度、背景相对亮度,所述适应场亮度用来度量人眼对环境亮度的适应状态,背景相对亮度是指背景相对于参考白的亮度;Determining a value of a reference parameter associated with a reference ambient brightness in the color appearance model, where the reference environment brightness is greater than or equal to the preset upper limit threshold, the reference parameter includes: adaptive field brightness, background relative brightness, The adaptive field brightness is used to measure the adaptation state of the human eye to the ambient brightness, and the relative brightness of the background refers to the brightness of the background relative to the reference white;
提取所述终端的显示界面的颜色值;Extracting a color value of a display interface of the terminal;
以所述参考参数的数值、所述终端的当前显示界面的颜色值作为所述色貌模型的输入参数;Taking the value of the reference parameter and the color value of the current display interface of the terminal as input parameters of the color appearance model;
获取所述色貌模型输出的色彩参数,所述色彩参数包括:色相、明度、视明度、视彩度、彩度、饱和度。Obtaining color parameters output by the color appearance model, the color parameters including: hue, brightness, brightness, chromaticity, chroma, saturation.
可选地,所述确定模块10,具体用于:Optionally, the determining
通过感光传感器实时检测所述终端所处的环境亮度,当所述感光传感器根据环境亮度而产生的信号值达到预设的上限值时,确定所述终端在当前环境下的亮度大于或者等于预设上限阈值;或者The brightness of the environment in which the terminal is located is detected by the photosensitive sensor in real time. When the signal value generated by the light sensor according to the ambient brightness reaches a preset upper limit value, it is determined that the brightness of the terminal in the current environment is greater than or equal to the pre-predetermined Set an upper threshold; or
通过采集终端所处环境的图像,分析所述图像中局部像素点或者全部像素点的亮度的平均值,当所述平均值大于预设的上限值时,确定所述终端在当前环境下的亮度大于或者等于预设上限阈值。The average value of the brightness of the local pixel point or all the pixel points in the image is analyzed by collecting an image of the environment in which the terminal is located, and when the average value is greater than the preset upper limit value, determining the terminal in the current environment The brightness is greater than or equal to the preset upper threshold.
可选地,所述确定模块10,还用于:Optionally, the determining
确定所述终端在当前环境下的亮度小于预设上限阈值;Determining that the brightness of the terminal in the current environment is less than a preset upper threshold;
将终端的显示界面从所述亮度显示模式切换为正常显示模式。 The display interface of the terminal is switched from the brightness display mode to the normal display mode.
本实施例的装置,可以用于执行图4-图6所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4 to FIG. 6. The implementation principle and technical effects are similar, and details are not described herein again.
图8为本发明实施例一提供的终端界面的调整设备的结构示意图,如图8所示,动态内存的识别系统30包括:存储器31、处理器32、总线33以及计算机程序,计算机程序存储在存储器31中,处理器32通过总线33与存储器31进行数据传输,处理器32运行计算机程序执行图4-图6中各种可能的设计的方法。FIG. 8 is a schematic structural diagram of an apparatus for adjusting a terminal interface according to Embodiment 1 of the present invention. As shown in FIG. 8, the dynamic
本实施例的装置,可以用于执行图2和图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。此外,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当用户设备的至少一个处理器执行该计算机执行指令时,用户设备执行上述各种可能的方法。The device of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2 and FIG. 4, and the implementation principle and the technical effect are similar, and details are not described herein again. In addition, the embodiment of the present application further provides a computer readable storage medium, where computer execution instructions are stored, when the at least one processor of the user equipment executes the computer to execute an instruction, the user equipment performs the foregoing various possibilities. Methods.
其中,计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于应用专用集成电路(ASIC)中。另外,该应用专用集成电路可以位于用户设备中。当然,处理器和存储介质也可以作为分立组件存在于通信设备中。Wherein, the computer readable medium comprises a computer storage medium and a communication medium, wherein the communication medium comprises any medium that facilitates transfer of the computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium may be located in an application specific integrated circuit (ASIC). Additionally, the application specific integrated circuit can be located in the user equipment. Of course, the processor and the storage medium may also reside as discrete components in the communication device.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:只读存储器(ROM)、随机存取存储器(RAM)、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本发明旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求书指出。Other embodiments of the present disclosure will be apparent to those skilled in the <RTIgt; The present invention is intended to cover any variations, uses, or adaptations of the present disclosure, which are in accordance with the general principles of the present disclosure and include common general knowledge or common technical means in the art that are not disclosed in the present disclosure. . The specification and examples are to be regarded as illustrative only,
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求书来限制。 It is to be understood that the invention is not limited to the details of the details and The scope of the disclosure is to be limited only by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/103166 WO2019056364A1 (en) | 2017-09-25 | 2017-09-25 | Method and device for adjusting terminal interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/103166 WO2019056364A1 (en) | 2017-09-25 | 2017-09-25 | Method and device for adjusting terminal interface |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019056364A1 true WO2019056364A1 (en) | 2019-03-28 |
Family
ID=65810999
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/103166 Ceased WO2019056364A1 (en) | 2017-09-25 | 2017-09-25 | Method and device for adjusting terminal interface |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2019056364A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1426228A (en) * | 2001-10-31 | 2003-06-25 | 三星电子株式会社 | Method for determining environment brightness and method for controlling display brightness using said method |
| US20030164927A1 (en) * | 2002-03-01 | 2003-09-04 | Nec Corporation | Color correction method and device for projector |
| CN102770905A (en) * | 2010-02-22 | 2012-11-07 | 杜比实验室特许公司 | Systems and methods for adjusting a display based on a detected environment |
| CN102783133A (en) * | 2010-02-24 | 2012-11-14 | 伊斯曼柯达公司 | Portable imaging device having display with improved visibility under adverse conditions |
-
2017
- 2017-09-25 WO PCT/CN2017/103166 patent/WO2019056364A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1426228A (en) * | 2001-10-31 | 2003-06-25 | 三星电子株式会社 | Method for determining environment brightness and method for controlling display brightness using said method |
| US20030164927A1 (en) * | 2002-03-01 | 2003-09-04 | Nec Corporation | Color correction method and device for projector |
| CN102770905A (en) * | 2010-02-22 | 2012-11-07 | 杜比实验室特许公司 | Systems and methods for adjusting a display based on a detected environment |
| CN102783133A (en) * | 2010-02-24 | 2012-11-14 | 伊斯曼柯达公司 | Portable imaging device having display with improved visibility under adverse conditions |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9824650B2 (en) | Method of adjusting display unit and electronic device | |
| CN106448612B (en) | Electronic device, processor, color compensation method and storage medium | |
| US11711486B2 (en) | Image capture method and systems to preserve apparent contrast of an image | |
| US20160110846A1 (en) | Automatic display image enhancement based on user's visual perception model | |
| WO2023124722A1 (en) | Image processing method and apparatus, electronic device, and computer-readable storage medium | |
| Smith et al. | Beyond tone mapping: Enhanced depiction of tone mapped HDR images | |
| CN105261326A (en) | Display device for adjusting display color gamut and method for adjusting display color gamut | |
| WO2017152762A1 (en) | Interface color adjustment method and apparatus, and webpage color adjustment method and apparatus | |
| CN102957934A (en) | Display processing method, device and display device | |
| CN113140197B (en) | Display screen adjusting method and device, electronic equipment and readable storage medium | |
| US10607525B2 (en) | System and method for color retargeting | |
| Huang et al. | Enhancement of backlight-scaled images | |
| CN113132696B (en) | Image tone mapping method, device, electronic device and storage medium | |
| US20230206811A1 (en) | Electronic apparatus and control method thereof | |
| CN113112944A (en) | Display control method, electronic device, and storage medium | |
| CN110880164A (en) | Image processing method, device and equipment and computer storage medium | |
| US12148335B2 (en) | Method for image rendering, terminal device and non-transitory computer-readable storage medium | |
| CN117524031A (en) | Screen brightness adjustment method, device, equipment and media | |
| WO2016078440A1 (en) | Method and apparatus for controlling screen of mobile terminal | |
| KR20210145071A (en) | Display method and device, and storage medium | |
| WO2019056364A1 (en) | Method and device for adjusting terminal interface | |
| Wang et al. | Surrounding adaptive tone mapping in displayed images under ambient light | |
| CN107578753B (en) | Mobile terminal, display screen brightness adjusting method and storage medium | |
| CN113615148B (en) | Camera color image processing | |
| US12475827B2 (en) | Method for processing color data, light source system, device, equipment, and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17925749 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17925749 Country of ref document: EP Kind code of ref document: A1 |