CN106843666A - The method and device of display interface adjustment - Google Patents
The method and device of display interface adjustment Download PDFInfo
- Publication number
- CN106843666A CN106843666A CN201510884281.6A CN201510884281A CN106843666A CN 106843666 A CN106843666 A CN 106843666A CN 201510884281 A CN201510884281 A CN 201510884281A CN 106843666 A CN106843666 A CN 106843666A
- Authority
- CN
- China
- Prior art keywords
- display interface
- brightness value
- osd menu
- value
- image display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000003247 decreasing effect Effects 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 9
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 239000003086 colorant Substances 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure is directed to a kind of method and device of display interface adjustment, belong to field of computer technology.The method includes:Obtain the first display parameters of the bottom layer image display interface;The second display parameters of the top layer OSD menu display interface are adjusted according to first display parameters.By the display parameters for detecting the bottom layer image display interface of terminal display interface, and according to the display parameters of bottom layer image display interface come the display parameters of adjustment top layer OSD menu display interface, allow the display parameters display effect for changing, optimizing whole terminal display interface intelligent according to the adjustment of bottom layer image display interface of top layer OSD menu display interface.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for adjusting a display interface.
Background
With the development of electronic information technology, televisions are gradually developing towards intellectualization and totipotency as the most common household appliances.
On the smart television with the operating system, besides a common television application for a user to watch television programs, auxiliary applications such as microblog checking, weather checking, game playing, internet browsing and the like can be provided. Meanwhile, the smart television can also realize the expansion and upgrade of the auxiliary application by downloading and installing a third-party application program. Currently, the display interfaces of the smart television are mostly divided into a bottom-layer image display interface and a top-layer OSD (on-screen display) menu display interface, for example, a downloaded and installed third-party application program may be displayed on the display interface of the smart television in an OSD manner, so that a user can conveniently search and use the display interface.
In the prior art, the display parameters of the OSD menu display interface are fixed, so that when the display parameters of the bottom image display interface are changed, the display effect of the upper OSD menu is affected.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for adjusting a display interface. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for adjusting a display interface, which is used for a terminal, where the display interface includes a bottom layer image display interface and a top layer OSD menu display interface, and the method includes:
acquiring a first display parameter of the bottom layer image display interface;
and adjusting a second display parameter of the top-level OSD menu display interface according to the first display parameter.
According to the technical scheme, the display parameters of the bottom layer image display interface of the terminal display interface are detected, and the display parameters of the top layer OSD menu display interface are intelligently adjusted according to the display parameters of the bottom layer image display interface, so that the display parameters of the top layer OSD menu display interface can be intelligently changed according to the adjustment of the bottom layer image display interface, and the display effect of the whole terminal display interface is optimized.
Optionally, the obtaining of the first display parameter of the bottom layer image display interface includes:
acquiring the RGB value of each pixel point on the bottom layer image display interface, and calculating according to the acquired RGB value to obtain the brightness value of the bottom layer image display interface; or,
and sending a request for acquiring the brightness value of the bottom image display interface to a terminal system, and receiving the brightness value of the bottom image display interface returned by the terminal system.
Optionally, the adjusting the second display parameter of the top-level OSD menu display interface according to the first display parameter includes:
inquiring a corresponding relation between a pre-stored brightness value interval of the bottom image display interface and a brightness value of a top OSD menu display interface according to the acquired brightness value of the bottom image display interface to obtain a brightness value of the top OSD menu display interface corresponding to the brightness value of the bottom image display interface;
and adjusting the brightness value of the display interface of the top-layer OSD menu to the brightness value obtained by query.
In the technical scheme, the corresponding relation between the brightness value interval of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface can be stored in advance, so that when the brightness value of the bottom layer image display interface changes, the brightness value of the top layer OSD menu display interface can be obtained by inquiring the corresponding relation stored in advance to be adjusted, and the adjusting mode is simple and quick.
Optionally, the adjusting the second display parameter of the top-level OSD menu display interface according to the first display parameter includes:
acquiring the RGB value of each pixel point on the display interface of the top-layer OSD menu;
calculating to obtain the brightness value of the display interface of the top OSD menu according to the obtained RGB value;
determining whether an absolute value of a difference between a luminance value of the bottom layer image display interface and a luminance value of the top layer OSD menu display interface is not greater than a predetermined value;
and when the absolute value of the difference between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is not more than a preset value, increasing or reducing the brightness value of the top layer OSD menu display interface according to a set adjustment step frequency.
Optionally, the increasing or decreasing the brightness value of the top-level OSD menu display interface according to the set step frequency includes:
when the difference value between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is a negative value, the brightness value of the top layer OSD menu display interface is increased according to a set adjustment step frequency;
and when the difference value between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is a positive value, reducing the brightness value of the top layer OSD menu display interface according to a set adjustment step frequency.
According to the technical scheme, the brightness value of the top-layer OSD menu display interface can be adjusted according to the preset step frequency when the brightness value of the bottom-layer image display interface is extremely close to the brightness value of the top-layer OSD menu display interface, so that the bottom-layer image display interface and the top-layer OSD menu display interface can be distinguished.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for adjusting a display interface for a terminal, the display interface including a bottom layer image display interface and a top layer OSD menu display interface, the apparatus including:
the information acquisition module is configured to acquire a first display parameter of the bottom layer image display interface;
and the parameter adjusting module is configured to adjust a second display parameter of the top-level OSD menu display interface according to the first display parameter.
According to the technical scheme, the display parameters of the bottom layer image display interface of the terminal display interface are detected, and the display parameters of the top layer OSD menu display interface are intelligently adjusted according to the display parameters of the bottom layer image display interface, so that the display parameters of the top layer OSD menu display interface can be intelligently changed according to the adjustment of the bottom layer image display interface, and the display effect of the whole terminal display interface is optimized.
Optionally, the information obtaining module includes:
the first obtaining submodule is configured to obtain an RGB value of each pixel point on the bottom layer image display interface, and the brightness value of the bottom layer image display interface is obtained through calculation according to the obtained RGB value; or,
and the second acquisition submodule is configured to send a request for acquiring the brightness value of the bottom layer image display interface to a terminal system, and receive the brightness value of the bottom layer image display interface returned by the terminal system.
Optionally, the parameter adjusting module includes:
the information query submodule is configured to query a pre-stored corresponding relationship between a brightness value interval of the bottom image display interface and a brightness value of a top OSD menu display interface according to the acquired brightness value of the bottom image display interface, so as to obtain a brightness value of the top OSD menu display interface corresponding to the brightness value of the bottom image display interface;
and the first parameter adjusting submodule is configured to adjust the brightness value of the top-level OSD menu display interface to the inquired brightness value.
In the technical scheme, the corresponding relation between the brightness value interval of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface can be stored in advance, so that when the brightness value of the bottom layer image display interface changes, the brightness value of the top layer OSD menu display interface can be obtained by inquiring the corresponding relation stored in advance to be adjusted, and the adjusting mode is simple and quick.
Optionally, the parameter adjusting module includes:
the information acquisition submodule is configured to acquire the RGB value of each pixel point on the top-level OSD menu display interface;
the information calculation submodule is configured to calculate the brightness value of the top-layer OSD menu display interface according to the obtained RGB value;
a decision submodule configured to determine whether an absolute value of a difference between a luminance value of the bottom layer image display interface and a luminance value of the top layer OSD menu display interface is not greater than a predetermined value;
and the second parameter adjusting submodule is configured to increase or decrease the brightness value of the top-level OSD menu display interface according to a set adjusting step frequency when the absolute value of the difference between the brightness value of the bottom-level image display interface and the brightness value of the top-level OSD menu display interface is not greater than a preset value.
Optionally, the second parameter adjusting submodule includes:
a first adjusting unit configured to increase the brightness value of the top-level OSD menu display interface according to a set adjustment step frequency when a difference between the brightness value of the bottom-level image display interface and the brightness value of the top-level OSD menu display interface is a negative value;
and the second adjusting unit is configured to reduce the brightness value of the top-level OSD menu display interface according to a set adjusting step frequency when the difference value between the brightness value of the bottom-level image display interface and the brightness value of the top-level OSD menu display interface is a positive value.
According to the technical scheme, the brightness value of the top-layer OSD menu display interface can be adjusted according to the preset step frequency when the brightness value of the bottom-layer image display interface is extremely close to the brightness value of the top-layer OSD menu display interface, so that the bottom-layer image display interface and the top-layer OSD menu display interface can be distinguished.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for adjusting a display interface, which is used for a terminal, where the display interface includes a bottom layer image display interface and a top layer OSD menu display interface, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to
Acquiring a first display parameter of the bottom layer image display interface;
and adjusting a second display parameter of the top-level OSD menu display interface according to the first display parameter.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the display parameters of the bottom layer image display interface of the terminal display interface are detected, and the display parameters of the top layer OSD menu display interface are intelligently adjusted according to the display parameters of the bottom layer image display interface, so that the display parameters of the top layer OSD menu display interface can be intelligently changed according to the adjustment of the bottom layer image display interface, and the display effect of the whole terminal display interface is optimized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of display interface adjustment according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a method of display interface adjustment according to another exemplary embodiment;
FIG. 3 is a block diagram illustrating an apparatus for display interface adjustment according to an exemplary embodiment;
FIG. 4 is a block diagram illustrating the information acquisition module shown in FIG. 3 according to an example embodiment;
FIG. 5 is a block diagram illustrating a parameter adjustment module shown in FIG. 3 according to an exemplary embodiment;
FIG. 6 is a block diagram of the parameter adjustment module shown in FIG. 3, according to another exemplary embodiment;
FIG. 7 is a block diagram illustrating a second parameter adjustment sub-module shown in FIG. 6 according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating an apparatus for display interface adjustment according to an example embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method for adjusting a display interface according to an exemplary embodiment, which is described in this embodiment by taking as an example that the method for adjusting a display interface is applied to a terminal such as a mobile phone, a tablet computer, or a smart television, where the display interface includes a bottom layer image display interface and a top layer OSD menu display interface. Referring to fig. 1, the method for adjusting the display interface may include the following steps:
in step 101, a first display parameter of an underlying image display interface is obtained.
In step 102, a second display parameter of the top-level OSD menu display interface is adjusted according to the first display parameter.
According to the technical scheme, the display parameters of the bottom layer image display interface of the terminal display interface are detected, and the display parameters of the top layer OSD menu display interface are intelligently adjusted according to the display parameters of the bottom layer image display interface, so that the display parameters of the top layer OSD menu display interface can be intelligently changed according to the adjustment of the bottom layer image display interface, and the display effect of the whole terminal display interface is optimized.
Optionally, the display parameter at least includes a display brightness value.
Optionally, the obtaining of the first display parameter of the bottom layer image display interface includes:
acquiring the RGB value of each pixel point on the bottom layer image display interface, and calculating according to the acquired RGB value to obtain the brightness value of the bottom layer image display interface; or,
and sending a request for acquiring the brightness value of the bottom image display interface to a terminal system, and receiving the brightness value of the bottom image display interface returned by the terminal system.
Optionally, the adjusting the second display parameter of the top-level OSD menu display interface according to the first display parameter includes:
inquiring a corresponding relation between a pre-stored brightness value interval of the bottom image display interface and a brightness value of a top OSD menu display interface according to the acquired brightness value of the bottom image display interface to obtain a brightness value of the top OSD menu display interface corresponding to the brightness value of the bottom image display interface;
and adjusting the brightness value of the display interface of the top-layer OSD menu to the brightness value obtained by query.
In the technical scheme, the corresponding relation between the brightness value interval of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface can be stored in advance, so that when the brightness value of the bottom layer image display interface changes, the brightness value of the top layer OSD menu display interface can be obtained by inquiring the corresponding relation stored in advance to be adjusted, and the adjusting mode is simple and quick.
Optionally, the adjusting the second display parameter of the top-level OSD menu display interface according to the first display parameter includes:
acquiring the RGB value of each pixel point on the display interface of the top-layer OSD menu;
calculating to obtain the brightness value of the display interface of the top OSD menu according to the obtained RGB value;
determining whether an absolute value of a difference between a luminance value of the bottom layer image display interface and a luminance value of the top layer OSD menu display interface is not greater than a predetermined value;
and when the absolute value of the difference between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is not more than a preset value, increasing or reducing the brightness value of the top layer OSD menu display interface according to a set adjustment step frequency.
Optionally, the increasing or decreasing the brightness value of the top-level OSD menu display interface according to the set step frequency includes:
when the difference value between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is a negative value, the brightness value of the top layer OSD menu display interface is increased according to a set adjustment step frequency;
and when the difference value between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is a positive value, reducing the brightness value of the top layer OSD menu display interface according to a set adjustment step frequency.
According to the technical scheme, the brightness value of the top-layer OSD menu display interface can be adjusted according to the preset step frequency when the brightness value of the bottom-layer image display interface is extremely close to the brightness value of the top-layer OSD menu display interface, so that the bottom-layer image display interface and the top-layer OSD menu display interface can be distinguished.
Fig. 2 is a flowchart illustrating a method for adjusting a display interface according to another exemplary embodiment, which is illustrated in the embodiment as being applied to a terminal such as a mobile phone, a tablet computer, or a smart tv, wherein the display interface includes a bottom layer image display interface and a top layer OSD menu display interface. Referring to fig. 2, the method for adjusting the display interface may include the following steps:
in step 201, acquiring a brightness value of a bottom layer image display interface at intervals of a preset time, and recording the brightness value as a first brightness value;
here, the predetermined time interval may be set and adjusted according to the situation, for example, the time interval may be 10 minutes, 20 minutes or 30 minutes, which is not limited by the present disclosure.
In the technical scheme, the obtaining of the brightness value of the bottom layer image display interface can be realized by one of the following two ways:
the first mode is as follows: and acquiring the RGB value of each pixel point on the bottom image display interface, and calculating the brightness value of the bottom image display interface according to the acquired RGB value. Here, each pixel point on the bottom layer image display interface may be sampled to obtain an RGB value of each pixel point on the bottom layer image display interface, and then, the brightness value of the bottom layer image display interface is calculated according to a predetermined calculation formula according to the sampled RGB value, where the predetermined calculation formula is: y is 0.299R +0.587G +0.114B, Y is a luminance value, and R, G, B is an RGB value of the sampled pixel point.
Herein, RGB is simply introduced, and the RGB color scheme is a color standard in the industry, and various colors are obtained by changing three color channels of red (R), green (G), and blue (B) and superimposing them with each other, where RGB represents colors of three channels of red, green, and blue, and the standard includes almost all colors that can be perceived by human vision, and is one of the most widely used color systems at present.
The second mode is as follows: sending a request for acquiring the brightness value of the bottom layer image display interface to a terminal system, and receiving the brightness value of the bottom layer image display interface returned by the terminal system. The terminal system is provided with a corresponding computing chip for computing the brightness value of the display interface, and when the brightness value is needed, a request for obtaining the brightness value of the bottom layer image display interface can be directly sent to the terminal system, so that the brightness value of the bottom layer image display interface returned by the terminal system can be obtained.
In step 202, the brightness value of the top-level OSD menu display interface is adjusted according to the first brightness value.
In an embodiment of the present technical solution, adjusting the brightness value of the top OSD menu display interface according to the first brightness value may include:
inquiring a corresponding relation between a pre-stored brightness value interval of the bottom image display interface and a brightness value of the top OSD menu display interface according to the acquired brightness value of the bottom image display interface to obtain a brightness value of the top OSD menu display interface corresponding to the brightness value of the bottom image display interface;
and adjusting the brightness value of the display interface of the top-layer OSD menu to the brightness value obtained by query.
For example, the correspondence between the stored luminance value interval of the bottom layer image display interface and the luminance value of the top layer OSD menu display interface may be as shown in table 1:
TABLE 1
Brightness value interval of bottom image display interface | Brightness value of top OSD menu display interface |
0-20 | 250 |
21-40 | 210 |
41-60 | 200 |
……. | …… |
241-255 | 25 |
…… | …… |
According to table 1, when the luminance value of the acquired bottom layer image display interface is 50, it can be known through the lookup table 1 that the luminance value of the top layer OSD menu display interface matched with the queried luminance value is 200, and the luminance value of the current top layer OSD menu display interface can be adjusted to 200.
Here, before the brightness value of the current top-level OSD menu display interface is adjusted to the inquired brightness value, it is determined whether an absolute value of a difference between the brightness value of the current top-level OSD menu display interface and the inquired brightness value is smaller than a given value, and when the absolute value is smaller than the given value, the brightness value of the current top-level OSD menu display interface is adjusted to the inquired brightness value. According to the technical scheme, when the difference between the brightness of the current OSD menu display interface and the brightness of the bottom display interface is determined to be smaller than the given numerical value, the brightness value of the current OSD menu display interface is adjusted, and when the difference between the brightness of the current OSD menu display interface and the brightness of the bottom display interface is larger than or equal to the given numerical value, the brightness adjustment of the OSD menu display interface is not carried out, so that the frequent adjustment of the brightness of the OSD menu display interface is avoided.
In the technical scheme, the corresponding relation between the brightness value interval of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface can be stored in advance, so that when the brightness value of the bottom layer image display interface changes, the brightness value of the top layer OSD menu display interface can be obtained by inquiring the corresponding relation stored in advance to be adjusted, and the adjusting mode is simple and quick.
In another embodiment of the present technical solution, adjusting the brightness value of the top OSD menu display interface according to the first brightness value may include:
acquiring the RGB value of each pixel point on the display interface of the top-layer OSD menu, wherein the RGB value can be obtained by system sampling;
calculating the brightness value of the display interface of the top OSD menu according to the obtained RGB value, and calculating the brightness value of the display interface of the top OSD menu according to the calculation formula;
determining whether the absolute value of the difference between the brightness value of the bottom image display interface and the brightness value of the top OSD menu display interface is not greater than a predetermined value;
and when the absolute value of the difference between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is not more than a preset value, increasing or reducing the brightness value of the top layer OSD menu display interface according to a set adjustment step frequency. According to the present technical solution, the adjustment step and the predetermined value may be set and adjusted according to the situation, for example, the adjustment step may be 5, 10, or 15, and the predetermined value may be 1, 2, or 3, which is not limited in this technical solution.
Optionally, the increasing or decreasing the brightness value of the top-level OSD menu display interface according to the set step frequency includes:
when the difference value between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is a negative value, the brightness value of the top layer OSD menu display interface is increased according to the set adjustment step frequency;
and when the difference value between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is a positive value, reducing the brightness value of the top layer OSD menu display interface according to a set adjustment step frequency.
When the technical scheme determines that the brightness of the bottom layer display interface is lower than the brightness of the current OSD menu display interface and lower than the preset value (such as 3), the brightness of the current OSD menu display interface can be increased so as to increase the display brightness difference between the current OSD menu display interface and the bottom layer image display interface; when it is determined that the brightness of the bottom layer display interface is higher than the brightness of the current OSD menu display interface and higher than the predetermined value (e.g., 3), the brightness of the current OSD menu display interface may be decreased to increase the display brightness difference between the current OSD menu display interface and the bottom layer image display interface.
According to the technical scheme, the brightness value of the top-layer OSD menu display interface can be adjusted according to the preset step frequency when the brightness value of the bottom-layer image display interface is extremely close to the brightness value of the top-layer OSD menu display interface, so that the bottom-layer image display interface and the top-layer OSD menu display interface can be distinguished.
In summary, according to the technical scheme, the display parameters of the bottom layer image display interface of the terminal display interface are detected, and the display parameters of the top layer OSD menu display interface are intelligently adjusted according to the display parameters of the bottom layer image display interface, so that the display parameters of the top layer OSD menu display interface can be intelligently changed according to the adjustment of the bottom layer image display interface, and the display effect of the whole terminal display interface is optimized.
Fig. 3 is a block diagram illustrating an apparatus 300 for adjusting a display interface according to an exemplary embodiment, where the apparatus 300 for adjusting a display interface may be implemented by software, hardware, or a combination of the two as part or all of a terminal, which is a mobile phone, a tablet computer, or a smart tv, and the display interface includes a bottom-layer image display interface and a top-layer OSD menu display interface. The apparatus 300 for adjusting a display interface may include:
an information obtaining module 301, which may be configured to obtain a first display parameter of the underlying image display interface;
the parameter adjusting module 302 may be configured to adjust a second display parameter of the top-level OSD menu display interface according to the first display parameter.
According to the technical scheme, the display parameters of the bottom layer image display interface of the terminal display interface are detected, and the display parameters of the top layer OSD menu display interface are intelligently adjusted according to the display parameters of the bottom layer image display interface, so that the display parameters of the top layer OSD menu display interface can be intelligently changed according to the adjustment of the bottom layer image display interface, and the display effect of the whole terminal display interface is optimized.
Optionally, referring to fig. 4, the information obtaining module 301 shown in fig. 3 may include:
the first obtaining sub-module 3011 may be configured to obtain an RGB value of each pixel point on the bottom layer image display interface, and calculate a brightness value of the bottom layer image display interface according to the obtained RGB value; or,
the second obtaining sub-module 3012 may be configured to send a request for obtaining a brightness value of the bottom layer image display interface to a terminal system, and receive a brightness value of the bottom layer image display interface returned by the terminal system.
Optionally, referring to fig. 5, the parameter adjusting module 302 shown in fig. 3 may include:
the information query submodule 3021 may be configured to query, according to the obtained luminance value of the bottom image display interface, a correspondence between a pre-stored luminance value interval of the bottom image display interface and a luminance value of a top OSD menu display interface, to obtain a luminance value of the top OSD menu display interface corresponding to the luminance value of the bottom image display interface;
the first parameter adjusting sub-module 3022 may be configured to adjust the brightness value of the top OSD menu display interface to a queried brightness value.
In the technical scheme, the corresponding relation between the brightness value interval of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface can be stored in advance, so that when the brightness value of the bottom layer image display interface changes, the brightness value of the top layer OSD menu display interface can be obtained by inquiring the corresponding relation stored in advance to be adjusted, and the adjusting mode is simple and quick.
Optionally, as shown in fig. 6, the parameter adjusting module 302 shown in fig. 3 may further include:
the information obtaining submodule 3023 may be configured to obtain an RGB value of each pixel point on the top-level OSD menu display interface;
an information calculating sub-module 3024, which may be configured to calculate a brightness value of the top OSD menu display interface according to the acquired RGB values;
a decision sub-module 3025, which may be configured to determine whether an absolute value of a difference between the luminance value of the bottom layer image display interface and the luminance value of the top layer OSD menu display interface is not greater than a predetermined value;
the second parameter adjusting sub-module 3026 may be configured to increase or decrease the brightness value of the top OSD menu display interface according to a set adjustment step frequency when the absolute value of the difference between the brightness value of the bottom OSD menu display interface and the brightness value of the top OSD menu display interface is not greater than a predetermined value.
Optionally, as shown in fig. 7, the second parameter adjusting submodule 3026 shown in fig. 6 may include:
a first adjusting unit 3026a configured to increase the brightness value of the top OSD menu display interface at a set adjustment step frequency when a difference between the brightness value of the bottom image display interface and the brightness value of the top OSD menu display interface is a negative value;
a second adjusting unit 3026b configured to decrease the brightness value of the top OSD menu display interface according to a set adjustment step frequency when the difference between the brightness value of the bottom image display interface and the brightness value of the top OSD menu display interface is a positive value.
According to the technical scheme, the brightness value of the top-layer OSD menu display interface can be adjusted according to the preset step frequency when the brightness value of the bottom-layer image display interface is extremely close to the brightness value of the top-layer OSD menu display interface, so that the bottom-layer image display interface and the top-layer OSD menu display interface can be distinguished.
In summary, according to the technical scheme, the display parameters of the bottom layer image display interface of the terminal display interface are detected, and the display parameters of the top layer OSD menu display interface are intelligently adjusted according to the display parameters of the bottom layer image display interface, so that the display parameters of the top layer OSD menu display interface can be intelligently changed according to the adjustment of the bottom layer image display interface, and the display effect of the whole terminal display interface is optimized.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Referring to fig. 8, a block diagram of an apparatus 400 for adjusting a display interface according to an exemplary embodiment is shown. For example, the apparatus 400 may be a terminal device such as a mobile phone, a tablet computer, or a smart television.
Referring to fig. 8, the apparatus 400 may include one or more of the following components: processing component 402, memory 404, power component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor component 414, and communication component 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the display interface adjustment method described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations on the apparatus 400. Examples of such data include instructions for any application or method operating on the apparatus 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described method of display interface adjustment.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the display interface adjustment method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of the apparatus 400, enable the apparatus 400 to perform the above-described method of display interface adjustment.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (11)
1. A method for adjusting a display interface, which is used for a terminal, wherein the display interface comprises a bottom layer image display interface and a top layer OSD menu display interface, and the method comprises the following steps:
acquiring a first display parameter of the bottom layer image display interface;
and adjusting a second display parameter of the top-level OSD menu display interface according to the first display parameter.
2. The method of claim 1, wherein the obtaining the first display parameter of the underlying image display interface comprises:
acquiring the RGB value of each pixel point on the bottom layer image display interface, and calculating according to the acquired RGB value to obtain the brightness value of the bottom layer image display interface; or,
and sending a request for acquiring the brightness value of the bottom image display interface to a terminal system, and receiving the brightness value of the bottom image display interface returned by the terminal system.
3. The method of claim 2, wherein the adjusting the second display parameter of the top-level OSD menu display interface according to the first display parameter comprises:
inquiring a corresponding relation between a pre-stored brightness value interval of the bottom image display interface and a brightness value of a top OSD menu display interface according to the acquired brightness value of the bottom image display interface to obtain a brightness value of the top OSD menu display interface corresponding to the brightness value of the bottom image display interface;
and adjusting the brightness value of the display interface of the top-layer OSD menu to the brightness value obtained by query.
4. The method of claim 2, wherein the adjusting the second display parameter of the top-level OSD menu display interface according to the first display parameter comprises:
acquiring the RGB value of each pixel point on the display interface of the top-layer OSD menu;
calculating to obtain the brightness value of the display interface of the top OSD menu according to the obtained RGB value;
determining whether an absolute value of a difference between a luminance value of the bottom layer image display interface and a luminance value of the top layer OSD menu display interface is not greater than a predetermined value;
and when the absolute value of the difference between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is not more than a preset value, increasing or reducing the brightness value of the top layer OSD menu display interface according to a set adjustment step frequency.
5. The method of claim 4, wherein the increasing or decreasing the brightness value of the top-level OSD menu display interface according to the set adjustment step frequency comprises:
when the difference value between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is a negative value, the brightness value of the top layer OSD menu display interface is increased according to a set adjustment step frequency;
and when the difference value between the brightness value of the bottom layer image display interface and the brightness value of the top layer OSD menu display interface is a positive value, reducing the brightness value of the top layer OSD menu display interface according to a set adjustment step frequency.
6. An apparatus for adjusting a display interface of a terminal, the display interface comprising a bottom layer image display interface and a top layer OSD menu display interface, the apparatus comprising:
the information acquisition module is configured to acquire a first display parameter of the bottom layer image display interface;
and the parameter adjusting module is configured to adjust a second display parameter of the top-level OSD menu display interface according to the first display parameter.
7. The apparatus of claim 6, wherein the information obtaining module comprises:
the first obtaining submodule is configured to obtain an RGB value of each pixel point on the bottom layer image display interface, and the brightness value of the bottom layer image display interface is obtained through calculation according to the obtained RGB value; or,
and the second acquisition submodule is configured to send a request for acquiring the brightness value of the bottom layer image display interface to a terminal system, and receive the brightness value of the bottom layer image display interface returned by the terminal system.
8. The apparatus of claim 7, wherein the parameter adjustment module comprises:
the information query submodule is configured to query a pre-stored corresponding relationship between a brightness value interval of the bottom image display interface and a brightness value of a top OSD menu display interface according to the acquired brightness value of the bottom image display interface, so as to obtain a brightness value of the top OSD menu display interface corresponding to the brightness value of the bottom image display interface;
and the first parameter adjusting submodule is configured to adjust the brightness value of the top-level OSD menu display interface to the inquired brightness value.
9. The apparatus of claim 7, wherein the parameter adjustment module comprises:
the information acquisition submodule is configured to acquire the RGB value of each pixel point on the top-level OSD menu display interface;
the information calculation submodule is configured to calculate the brightness value of the top-layer OSD menu display interface according to the obtained RGB value;
a decision submodule configured to determine whether an absolute value of a difference between a luminance value of the bottom layer image display interface and a luminance value of the top layer OSD menu display interface is not greater than a predetermined value;
and the second parameter adjusting submodule is configured to increase or decrease the brightness value of the top-level OSD menu display interface according to a set adjusting step frequency when the absolute value of the difference between the brightness value of the bottom-level image display interface and the brightness value of the top-level OSD menu display interface is not greater than a preset value.
10. The apparatus of claim 9, wherein the second parameter adjustment submodule comprises:
a first adjusting unit configured to increase the brightness value of the top-level OSD menu display interface according to a set adjustment step frequency when a difference between the brightness value of the bottom-level image display interface and the brightness value of the top-level OSD menu display interface is a negative value;
and the second adjusting unit is configured to reduce the brightness value of the top-level OSD menu display interface according to a set adjusting step frequency when the difference value between the brightness value of the bottom-level image display interface and the brightness value of the top-level OSD menu display interface is a positive value.
11. An apparatus for adjusting a display interface of a terminal, the display interface including a bottom layer image display interface and a top layer OSD menu display interface, the apparatus comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to
Acquiring a first display parameter of the bottom layer image display interface;
and adjusting a second display parameter of the top-level OSD menu display interface according to the first display parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510884281.6A CN106843666B (en) | 2015-12-04 | 2015-12-04 | method and device for adjusting display interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510884281.6A CN106843666B (en) | 2015-12-04 | 2015-12-04 | method and device for adjusting display interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106843666A true CN106843666A (en) | 2017-06-13 |
CN106843666B CN106843666B (en) | 2019-12-13 |
Family
ID=59150587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510884281.6A Active CN106843666B (en) | 2015-12-04 | 2015-12-04 | method and device for adjusting display interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106843666B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107450814A (en) * | 2017-07-07 | 2017-12-08 | 深圳Tcl数字技术有限公司 | Menu automatic brightness adjustment method, user equipment and storage medium |
CN109600595A (en) * | 2017-09-30 | 2019-04-09 | 优酷网络技术(北京)有限公司 | Image processing method and device |
CN111435978A (en) * | 2018-12-26 | 2020-07-21 | 杭州海康威视数字技术股份有限公司 | OSD (on screen display) superposing method and device and electronic equipment |
CN112181500A (en) * | 2020-08-07 | 2021-01-05 | 深圳市鼎盛光电有限公司 | Parameter adjusting method, device, terminal and storage medium |
CN112508845A (en) * | 2020-10-15 | 2021-03-16 | 福州大学 | Depth learning-based automatic osd menu language detection method and system |
CN112839252A (en) * | 2019-11-25 | 2021-05-25 | 青岛海信电器股份有限公司 | Display device |
CN115396717A (en) * | 2022-08-23 | 2022-11-25 | 海信视像科技股份有限公司 | Display device and display image quality adjusting method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262536A (en) * | 2011-07-18 | 2011-11-30 | 李建成 | window interface processing method and device |
CN102508666A (en) * | 2011-11-11 | 2012-06-20 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for adjusting application prompt message in application program |
CN104636045A (en) * | 2015-03-09 | 2015-05-20 | 联想(北京)有限公司 | Display method, display device and electronic equipment |
CN104978119A (en) * | 2014-05-22 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Information window display method and device, and user terminal |
-
2015
- 2015-12-04 CN CN201510884281.6A patent/CN106843666B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262536A (en) * | 2011-07-18 | 2011-11-30 | 李建成 | window interface processing method and device |
CN102508666A (en) * | 2011-11-11 | 2012-06-20 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for adjusting application prompt message in application program |
CN104978119A (en) * | 2014-05-22 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Information window display method and device, and user terminal |
CN104636045A (en) * | 2015-03-09 | 2015-05-20 | 联想(北京)有限公司 | Display method, display device and electronic equipment |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107450814A (en) * | 2017-07-07 | 2017-12-08 | 深圳Tcl数字技术有限公司 | Menu automatic brightness adjustment method, user equipment and storage medium |
CN107450814B (en) * | 2017-07-07 | 2021-09-28 | 深圳Tcl数字技术有限公司 | Menu brightness automatic adjusting method, user equipment and storage medium |
CN109600595A (en) * | 2017-09-30 | 2019-04-09 | 优酷网络技术(北京)有限公司 | Image processing method and device |
CN109600595B (en) * | 2017-09-30 | 2021-09-24 | 阿里巴巴(中国)有限公司 | Image processing method and device |
CN111435978A (en) * | 2018-12-26 | 2020-07-21 | 杭州海康威视数字技术股份有限公司 | OSD (on screen display) superposing method and device and electronic equipment |
CN112839252A (en) * | 2019-11-25 | 2021-05-25 | 青岛海信电器股份有限公司 | Display device |
CN112839252B (en) * | 2019-11-25 | 2023-03-21 | 青岛海信电器股份有限公司 | Display device |
CN112181500A (en) * | 2020-08-07 | 2021-01-05 | 深圳市鼎盛光电有限公司 | Parameter adjusting method, device, terminal and storage medium |
CN112508845A (en) * | 2020-10-15 | 2021-03-16 | 福州大学 | Depth learning-based automatic osd menu language detection method and system |
CN115396717A (en) * | 2022-08-23 | 2022-11-25 | 海信视像科技股份有限公司 | Display device and display image quality adjusting method |
CN115396717B (en) * | 2022-08-23 | 2024-05-17 | 海信视像科技股份有限公司 | Display device and display image quality adjusting method |
Also Published As
Publication number | Publication date |
---|---|
CN106843666B (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106843666B (en) | method and device for adjusting display interface | |
RU2630167C1 (en) | Method and device for switching colour range mode | |
US10530836B2 (en) | Methods and apparatuses for acquiring image | |
CN108040360B (en) | Method and device for controlling screen display | |
CN107978264B (en) | Display brightness adjusting method and device | |
CN106101680B (en) | Acquisition parameters setting method and device | |
US10921584B2 (en) | Method and device for displaying image | |
CN109324846B (en) | Application display method and device and storage medium | |
CN111261081B (en) | Screen display method and device | |
CN107193716B (en) | Resource occupation display method and device | |
CN107677377B (en) | Method and device for determining color temperature | |
CN106296775B (en) | Icon generation method and device | |
CN105677352B (en) | Method and device for setting application icon color | |
CN109215615B (en) | Display unit working parameter compensation method and device | |
CN106775246B (en) | Screen brightness adjusting method and device | |
EP3396940A1 (en) | Method and apparatus for sorting filter options | |
CN111383608B (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
CN111131596B (en) | Screen brightness adjusting method and device | |
CN109005360B (en) | Light supplementing method and device for shooting environment and computer readable storage medium | |
CN104112460B (en) | Method and device for playing audio data | |
CN109194808B (en) | Volume adjusting method and device | |
CN111383568B (en) | Display control method and device, electronic equipment and computer readable storage medium | |
CN112086075B (en) | Screen display parameter adjusting method and device and storage medium | |
CN111385486B (en) | Control method and device of image acquisition equipment | |
CN108874482B (en) | Image processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |