WO2017016308A1 - Menu background color processing method and device - Google Patents
Menu background color processing method and device Download PDFInfo
- Publication number
- WO2017016308A1 WO2017016308A1 PCT/CN2016/084286 CN2016084286W WO2017016308A1 WO 2017016308 A1 WO2017016308 A1 WO 2017016308A1 CN 2016084286 W CN2016084286 W CN 2016084286W WO 2017016308 A1 WO2017016308 A1 WO 2017016308A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- menu
- background color
- screen
- currently displayed
- television screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4854—End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
Definitions
- the present invention relates to the field of television technology, and in particular, to a menu background color processing method and apparatus.
- Smart TV can watch online video, sing KTV, surf the Internet, watch traditional TV programs and so on.
- the background of the menu is displayed in a single, usually by the user setting the background color of the menu.
- the screen displayed by the TV will have an influence on the display effect of the menu, which is not conducive to the user's viewing.
- the main object of the present invention is to provide a menu background color processing method and device, which aims to improve the display effect of the screen.
- the present invention provides a menu background color processing method, characterized in that the menu background color processing method comprises the following steps:
- the background color gain value of the menu is calculated according to the average value of the primary color gain values and the preset increment value.
- the average value of the respective primary color gain values is set as the background color gain value of the menu.
- the menu background color processing method further includes:
- a layer blending process is performed on the menu and the screen currently displayed on the television screen, and displayed on the television screen.
- the layer mixing processing is performed on the menu and the screen currently displayed on the television screen, and displayed on the television screen further includes:
- the present invention further provides a menu background color processing method, and the menu background color processing method includes the following steps:
- the background color gain value of the menu is calculated according to the average value of each primary color gain value and the preset incremental value.
- the menu background color processing method further includes:
- the average value of the respective primary color gain values is set as the background color gain value of the menu.
- the determining whether the picture currently displayed on the television screen is a system desktop comprises:
- the value of the digital storage space of the decoded sync pulse is detected as 0; if yes, the currently displayed screen of the determined television screen is the system desktop; if not, the currently displayed screen of the determined television screen is not the system desktop.
- the menu background color processing method further includes:
- a layer blending process is performed on the menu and the screen currently displayed on the television screen, and displayed on the television screen.
- the layer mixing processing is performed on the menu and the screen currently displayed on the television screen, and displayed on the television screen further includes:
- the present invention further provides a menu background color processing apparatus comprising:
- Obtaining a module configured to obtain a base color gain value of a picture currently displayed on the television screen
- a first determining module configured to determine whether a picture currently displayed on the television screen is a system desktop
- a calculating module configured to calculate a background color gain value of the menu according to an average value of each primary color gain value and a preset incremental value when the currently displayed screen of the television screen is not the system desktop.
- the menu background color processing device further includes:
- a setting module configured to set an average value of each of the primary color gain values as a background color gain value of the menu when the screen currently displayed on the television screen is a system desktop.
- the first determining module is specifically configured to: detect whether the value of the digital storage space of the decoded synchronization pulse is 0; if yes, determine that the currently displayed screen of the television screen is the system desktop; if not, determine the television The screen currently displayed on the screen is not the system desktop.
- the menu background color processing device further includes:
- a filling module configured to fill a background color of the menu according to the background color gain value when a presence menu is detected
- a processing module configured to perform layer mixing processing on the menu and the screen currently displayed on the television screen, and display the same on the television screen.
- the menu background color processing device further includes:
- a second determining module configured to determine whether a time currently displayed by the menu is greater than a time displayed by the preset menu interval; if yes, triggering, by the first determining module, whether the currently displayed screen of the television screen is a system desktop; The time when the menu interval is displayed is the sum of the menu preset display time and the system desktop preset display time.
- the base color gain values of the screen currently displayed on the television screen are obtained, and when the screen currently displayed on the television screen is not the system desktop, the average value of the base color gain values and the preset increment value are calculated.
- the background color gain value of the menu Since the background color gain value of the menu is automatically generated according to the respective primary color gain values of the screen, the background display of the menu can be dynamically adjusted according to the currently displayed screen of the screen, thereby preventing the menu from being displayed due to the dynamic change of the screen displayed on the screen. Can not see clearly under the setting, and affect the display effect of the menu. Therefore, the menu background color processing method and apparatus provided by the embodiments of the present invention improve the display effect of the screen.
- FIG. 1 is a schematic flow chart of a first embodiment of a menu background color processing method according to the present invention
- FIG. 2 is a schematic flow chart of a second embodiment of a menu background color processing method according to the present invention.
- FIG. 3 is a schematic flow chart of a third embodiment of a menu background color processing method according to the present invention.
- FIG. 4 is a schematic flow chart of a fourth embodiment of a menu background color processing method according to the present invention.
- FIG. 5 is a schematic flow chart of a fifth embodiment of a menu background color processing method according to the present invention.
- FIG. 6 is a schematic structural diagram of a function module of a first embodiment of a menu background color processing apparatus according to the present invention.
- FIG. 7 is a schematic structural diagram of a function module of a second embodiment of a menu background color processing apparatus according to the present invention.
- FIG. 8 is a schematic structural diagram of a function module of a fourth embodiment of a menu background color processing apparatus according to the present invention.
- FIG. 9 is a schematic structural diagram of a function module of a fifth embodiment of a menu background color processing apparatus according to the present invention.
- the present invention provides a menu background color processing method.
- the menu background color processing method includes:
- Step S10 acquiring basic color gain values of the screen currently displayed on the television screen
- the menu background color processing method provided in this embodiment is mainly applied to a television set for controlling the menu background color of the television set.
- the above primary colors include red, green, and blue.
- the respective primary color gain values include an average red gain value Rgain, an average green gain value Ggain, and an average blue gain value Bgain of the current display picture.
- Step S20 determining whether the currently displayed screen of the television screen is a system desktop
- the above system desktop indicates that the currently displayed screen of the television is a launcher screen (ie, a static screen).
- the currently displayed screen of the television screen is not the system desktop, it indicates that the currently displayed screen of the television is a dynamic screen, for example, currently on the television.
- the source module is a DTV source
- video playback is performed; when the current screen displayed on the TV screen is the system desktop, the current source module of the television is a launcher.
- the state of the source may be detected to determine whether the currently displayed screen of the television screen is the system desktop.
- the first storage area may be opened when the screen displayed on the television screen is the system desktop, and the basic color gain values of the screen are saved; when the second storage area is displayed on the television screen, the basic color of the screen is saved when the screen is not the system desktop.
- Gain value opens the third storage area to save the background color of the menu.
- step S30 when the currently displayed screen of the television screen is not the system desktop, the background color gain value of the menu is calculated according to the average value of the primary color gain values and the preset increment value.
- the size of the upper preset increment value may be set according to actual needs.
- the increment value is a percentage, for example, the preset increment value may be 20%.
- the background color processing of the menu will be described in detail below by the display screen of the TV under the DTV source.
- the background color gain value UI_Type_TV_Color will be calculated.
- the background color gain value includes the background red gain value, the background green gain value, and the background blue gain. Value, in this embodiment, the background red gain value, the background green gain value, and the background blue gain value are both 230. It can be understood that when the background color gain value is greater than 255, the background color gain value can be set to 255.
- the base color gain values of the screen currently displayed on the television screen are obtained, and when the screen currently displayed on the television screen is not the system desktop, the average value of the base color gain values and the preset increment value are calculated.
- the background color gain value of the menu Since the background color gain value of the menu is automatically generated according to the respective primary color gain values of the screen, the background display of the menu can be dynamically adjusted according to the currently displayed screen of the screen, thereby preventing the menu from being displayed due to the dynamic change of the screen displayed on the screen. Can not see clearly under the setting, and affect the display effect of the menu. Therefore, the menu background color processing method provided by the embodiment of the present invention improves the display effect of the screen.
- the menu background color processing method further includes:
- Step S40 When the screen currently displayed on the television screen is the system desktop, the average value of the primary color gain values is set as the background color gain value of the menu.
- the background color gain value UI_Type_Lun_Color will be calculated.
- the background color gain value includes the background red gain value, the background green gain value, and the background blue gain value.
- the background red gain value, the background green gain value, and the background blue gain value are both 192.
- the step S20 further includes:
- the value of the digital storage space of the decoded sync pulse is detected as 0; if yes, the currently displayed screen of the determined television screen is the system desktop; if not, the currently displayed screen of the determined television screen is not the system desktop.
- the value of the decoded sync pulse digital storage space will be greater than 0, indicating that there is a video signal.
- the audio type can be detected when the audio type is detected as digital multi-language (That is, if two or more sound languages are read, it means that there is an output of the audio signal.
- the menu background color processing method further includes:
- Step S50 when the presence menu is detected, filling the background color of the menu according to the background color gain value
- Step S60 performing layer blending processing on the menu and the screen currently displayed on the television screen, and displaying the same on the television screen.
- a corresponding menu call request is generated.
- the menu call request is detected, if the currently displayed screen of the television screen is not the system desktop, the background color gain value is read from the second storage area, and then the read background color gain value is performed on the menu background color.
- the menu and the currently displayed screen of the television screen are layer-mixed according to a preset layer blending processing algorithm, and displayed on the television screen.
- the menu call request is detected, if the currently displayed screen of the television screen is the system desktop, the background color gain value is read from the first storage area, and then the read background color gain value is used to fill the menu background color.
- the menu and the currently displayed screen of the television screen are layer-mixed and displayed on the television screen.
- the method further includes:
- Step S70 determining whether the time currently displayed by the menu is greater than the time of the preset menu interval display; if yes, performing the determining whether the currently displayed screen of the television screen is a system desktop; The sum of the menu preset display time and the system desktop preset display time.
- the menu preset display time is the time that the menu needs to be displayed
- the system desktop preset display time is the time that the system desktop needs to be displayed.
- the present invention also provides a menu background color processing apparatus.
- the menu background color processing apparatus provided by the present invention includes:
- the obtaining module 10 is configured to obtain, according to the basic color gain values of the screen currently displayed on the television screen;
- the menu background color processing device provided in this embodiment is mainly applied to a television set for controlling the menu background color of the television set.
- the above primary colors include red, green, and blue.
- the respective primary color gain values include an average red gain value Rgain, an average green gain value Ggain, and an average blue gain value Bgain of the current display picture.
- the first determining module 20 is configured to determine whether the currently displayed screen of the television screen is a system desktop
- the above system desktop indicates that the currently displayed screen of the television is a launcher screen (ie, a static screen).
- the currently displayed screen of the television screen is not the system desktop, it indicates that the currently displayed screen of the television is a dynamic screen, for example, currently on the television.
- the source module is a DTV source
- video playback is performed; when the current screen displayed on the TV screen is the system desktop, the current source module of the television is a launcher.
- the state of the source may be detected to determine whether the currently displayed screen of the television screen is the system desktop.
- the first storage area may be opened when the screen displayed on the television screen is the system desktop, and the basic color gain values of the screen are saved; when the second storage area is displayed on the television screen, the basic color of the screen is saved when the screen is not the system desktop.
- Gain value opens the third storage area to save the background color of the menu.
- the calculating module 30 is configured to calculate a background color gain value of the menu according to an average value of the primary color gain values and a preset increment value when the currently displayed screen of the television screen is not the system desktop.
- the size of the upper preset increment value may be set according to actual needs.
- the increment value is a percentage, for example, the preset increment value may be 20%.
- the background color processing of the menu will be described in detail below by the display screen of the TV under the DTV source.
- the background color gain value UI_Type_TV_Color will be calculated.
- the background color gain value includes the background red gain value, the background green gain value, and the background blue gain. Value, in this embodiment, the background red gain value, the background green gain value, and the background blue gain value are both 230. It can be understood that when the background color gain value is greater than 255, the background color gain value can be set to 255.
- the base color gain values of the screen currently displayed on the television screen are obtained, and when the screen currently displayed on the television screen is not the system desktop, the average value of the base color gain values and the preset increment value are calculated.
- the background color gain value of the menu Since the background color gain value of the menu is automatically generated according to the respective primary color gain values of the screen, the background display of the menu can be dynamically adjusted according to the currently displayed screen of the screen, thereby preventing the menu from being displayed due to the dynamic change of the screen displayed on the screen. Can not see clearly under the setting, and affect the display effect of the menu. Therefore, the menu background color processing apparatus provided by the embodiment of the present invention improves the display effect of the screen.
- the menu background color processing apparatus further includes:
- the setting module 40 is configured to set an average value of each of the primary color gain values as a background color gain value of the menu when the screen currently displayed on the television screen is a system desktop.
- the background color gain value UI_Type_Lun_Color will be calculated.
- the background color gain value includes the background red gain value, the background green gain value, and the background blue gain value.
- the background red gain value, the background green gain value, and the background blue gain value are both 192.
- the first determining module 20 is specifically configured to detect the value of the decoded synchronization pulse digital storage space. Whether it is 0; if yes, the currently displayed screen of the determined TV screen is the system desktop; if not, the currently displayed screen of the determined television screen is not the system desktop.
- the value of the decoded sync pulse digital storage space will be greater than 0, indicating that there is a video signal.
- the audio type can be detected when the audio type is detected as digital multi-language (That is, if two or more sound languages are read, it means that there is an output of the audio signal.
- the menu background color processing apparatus further includes:
- a filling module 50 configured to fill a background color of the menu according to the background color gain value when a presence menu is detected
- the processing module 60 is configured to perform layer mixing processing on the menu and the screen currently displayed on the television screen, and display the same on the television screen.
- a corresponding menu call request is generated.
- the menu call request is detected, if the currently displayed screen of the television screen is not the system desktop, the background color gain value is read from the second storage area, and then the read background color gain value is performed on the menu background color.
- the menu and the currently displayed screen of the television screen are layer-mixed according to a preset layer blending processing algorithm, and displayed on the television screen.
- the menu call request is detected, if the currently displayed screen of the television screen is the system desktop, the background color gain value is read from the first storage area, and then the read background color gain value is used to fill the menu background color.
- the menu and the currently displayed screen of the television screen are layer-mixed and displayed on the television screen.
- the menu background color processing apparatus further includes:
- the second determining module 70 is configured to determine whether the time currently displayed by the menu is greater than the time of the preset menu interval display; if yes, triggering the first determining module to determine whether the currently displayed screen of the television screen is a system desktop;
- the preset menu interval display time is the sum of the menu preset display time and the system desktop preset display time.
- the menu preset display time is the time that the menu needs to be displayed
- the system desktop preset display time is the time that the system desktop needs to be displayed.
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
Description
技术领域Technical field
本发明涉及电视技术领域,尤其涉及菜单背景颜色处理方法及装置。The present invention relates to the field of television technology, and in particular, to a menu background color processing method and apparatus.
背景技术Background technique
目前,随着智能电视的发展,让家家户户都开始使用智能电视,智能电视可以上网观看网络视频、可以唱KTV、可以网上冲浪、还可以看传统电视的节目等等各种节目的来源。然而在传统的智能电视的对菜单的背景显示单一,通常通过用户设置菜单的背景颜色。传统菜单在显示时,由于场景很多内容很丰富,在进行场景切换时,将会导致电视显示的画面对菜单的显示效果产生影响,从而不利于用户观看。At present, with the development of smart TV, every household has started to use smart TV. Smart TV can watch online video, sing KTV, surf the Internet, watch traditional TV programs and so on. However, in the traditional smart TV, the background of the menu is displayed in a single, usually by the user setting the background color of the menu. When the traditional menu is displayed, since the scene is rich in content, when the scene is switched, the screen displayed by the TV will have an influence on the display effect of the menu, which is not conducive to the user's viewing.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本发明的主要目的在于提供一种菜单背景颜色处理方法及装置,旨在提高画面的显示效果。The main object of the present invention is to provide a menu background color processing method and device, which aims to improve the display effect of the screen.
为实现上述目的,本发明提供的一种菜单背景颜色处理方法,其特征在于,所述菜单背景颜色处理方法包括以下步骤:To achieve the above object, the present invention provides a menu background color processing method, characterized in that the menu background color processing method comprises the following steps:
获取电视机屏幕当前显示的画面各基色增益值;Obtaining the basic color gain values of the picture currently displayed on the TV screen;
侦测解码同步脉冲数字存储空间的值是否为0;若是,则判定的电视机屏幕当前显示的画面为系统桌面;若否,则判定的电视机屏幕当前显示的画面不为系统桌面;Detecting whether the value of the digital storage space of the decoded synchronization pulse is 0; if yes, the currently displayed screen of the determined television screen is the system desktop; if not, the currently displayed screen of the determined television screen is not the system desktop;
当所述电视机屏幕当前显示的画面不为系统桌面时,根据各基色增益值的平均值和预设增量值计算所述菜单的背景颜色增益值。When the picture currently displayed on the television screen is not the system desktop, the background color gain value of the menu is calculated according to the average value of the primary color gain values and the preset increment value.
当所述电视机屏幕当前显示的画面为系统桌面时,将所述各基色增益值的平均值设定为所述菜单的背景颜色增益值。When the picture currently displayed on the television screen is the system desktop, the average value of the respective primary color gain values is set as the background color gain value of the menu.
优选地,所述菜单背景颜色处理方法还包括:Preferably, the menu background color processing method further includes:
当侦测到存在菜单时,根据所述背景颜色增益值填充所述菜单的背景颜色;Filling a background color of the menu according to the background color gain value when a presence menu is detected;
对所述菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上。A layer blending process is performed on the menu and the screen currently displayed on the television screen, and displayed on the television screen.
优选地,所述对菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上之后还包括:Preferably, the layer mixing processing is performed on the menu and the screen currently displayed on the television screen, and displayed on the television screen further includes:
判断所述菜单当前显示的时间是否大于预设菜单间隔显示的时间;若是则执行所述判断电视机屏幕当前显示的画面是否为系统桌面;所述预设菜单间隔显示的时间为所述菜单预置显示时间与所述系统桌面预置显示时间之和。Determining whether the time currently displayed by the menu is greater than the time of the preset menu interval display; if yes, performing the determining whether the currently displayed screen of the television screen is a system desktop; the preset menu interval displaying time is the menu pre- Set the display time to the sum of the system desktop preset display time.
此外,为实现上述目的,本发明还提供一种菜单背景颜色处理方法,所述菜单背景颜色处理方法包括以下步骤:In addition, in order to achieve the above object, the present invention further provides a menu background color processing method, and the menu background color processing method includes the following steps:
获取电视机屏幕当前显示的画面各基色增益值;Obtaining the basic color gain values of the picture currently displayed on the TV screen;
判断电视机屏幕当前显示的画面是否为系统桌面;Determining whether the currently displayed screen of the television screen is a system desktop;
若否,则根据各基色增益值的平均值和预设增量值计算所述菜单的背景颜色增益值。If not, the background color gain value of the menu is calculated according to the average value of each primary color gain value and the preset incremental value.
优选地,所述菜单背景颜色处理方法还包括:Preferably, the menu background color processing method further includes:
当所述电视机屏幕当前显示的画面为系统桌面时,将所述各基色增益值的平均值设定为所述菜单的背景颜色增益值。When the picture currently displayed on the television screen is the system desktop, the average value of the respective primary color gain values is set as the background color gain value of the menu.
优选地,所述判断电视机屏幕当前显示的画面是否为系统桌面包括:Preferably, the determining whether the picture currently displayed on the television screen is a system desktop comprises:
侦测解码同步脉冲数字存储空间的值是否为0;若是,则判定的电视机屏幕当前显示的画面为系统桌面;若否,则判定的电视机屏幕当前显示的画面不为系统桌面。The value of the digital storage space of the decoded sync pulse is detected as 0; if yes, the currently displayed screen of the determined television screen is the system desktop; if not, the currently displayed screen of the determined television screen is not the system desktop.
优选地,所述菜单背景颜色处理方法还包括:Preferably, the menu background color processing method further includes:
当侦测到存在菜单时,根据所述背景颜色增益值填充所述菜单的背景颜色;Filling a background color of the menu according to the background color gain value when a presence menu is detected;
对所述菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上。A layer blending process is performed on the menu and the screen currently displayed on the television screen, and displayed on the television screen.
优选地,所述对菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上之后还包括:Preferably, the layer mixing processing is performed on the menu and the screen currently displayed on the television screen, and displayed on the television screen further includes:
判断所述菜单当前显示的时间是否大于预设菜单间隔显示的时间;若是则执行所述判断电视机屏幕当前显示的画面是否为系统桌面;所述预设菜单间隔显示的时间为所述菜单预置显示时间与所述系统桌面预置显示时间之和。Determining whether the time currently displayed by the menu is greater than the time of the preset menu interval display; if yes, performing the determining whether the currently displayed screen of the television screen is a system desktop; the preset menu interval displaying time is the menu pre- Set the display time to the sum of the system desktop preset display time.
此外,为实现上述目的,本发明还提供一种菜单背景颜色处理装置包括:In addition, in order to achieve the above object, the present invention further provides a menu background color processing apparatus comprising:
获取模块,用于获取电视机屏幕当前显示的画面各基色增益值;Obtaining a module, configured to obtain a base color gain value of a picture currently displayed on the television screen;
第一判断模块,用于判断电视机屏幕当前显示的画面是否为系统桌面;a first determining module, configured to determine whether a picture currently displayed on the television screen is a system desktop;
计算模块,用于当所述电视机屏幕当前显示的画面不为系统桌面时,根据各基色增益值的平均值和预设增量值计算所述菜单的背景颜色增益值。And a calculating module, configured to calculate a background color gain value of the menu according to an average value of each primary color gain value and a preset incremental value when the currently displayed screen of the television screen is not the system desktop.
优选地,所述菜单背景颜色处理装置还包括:Preferably, the menu background color processing device further includes:
设定模块,用于当所述电视机屏幕当前显示的画面为系统桌面时,将所述各基色增益值的平均值设定为所述菜单的背景颜色增益值。And a setting module, configured to set an average value of each of the primary color gain values as a background color gain value of the menu when the screen currently displayed on the television screen is a system desktop.
优选地,所述第一判断模块具体用于,侦测解码同步脉冲数字存储空间的值是否为0;若是,则判定的电视机屏幕当前显示的画面为系统桌面;若否,则判定的电视机屏幕当前显示的画面不为系统桌面。Preferably, the first determining module is specifically configured to: detect whether the value of the digital storage space of the decoded synchronization pulse is 0; if yes, determine that the currently displayed screen of the television screen is the system desktop; if not, determine the television The screen currently displayed on the screen is not the system desktop.
优选地,所述菜单背景颜色处理装置还包括:Preferably, the menu background color processing device further includes:
填充模块,用于当侦测到存在菜单时,根据所述背景颜色增益值填充所述菜单的背景颜色;a filling module, configured to fill a background color of the menu according to the background color gain value when a presence menu is detected;
处理模块,用于对所述菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上。And a processing module, configured to perform layer mixing processing on the menu and the screen currently displayed on the television screen, and display the same on the television screen.
优选地,所述菜单背景颜色处理装置还包括:Preferably, the menu background color processing device further includes:
第二判断模块,用于判断所述菜单当前显示的时间是否大于预设菜单间隔显示的时间;若是则触发所述第一判断模块判断电视机屏幕当前显示的画面是否为系统桌面;所述预设菜单间隔显示的时间为所述菜单预置显示时间与所述系统桌面预置显示时间之和。a second determining module, configured to determine whether a time currently displayed by the menu is greater than a time displayed by the preset menu interval; if yes, triggering, by the first determining module, whether the currently displayed screen of the television screen is a system desktop; The time when the menu interval is displayed is the sum of the menu preset display time and the system desktop preset display time.
本发明实施例中通过获取电视机屏幕当前显示的画面各基色增益值,并当电视机屏幕当前显示的画面不为系统桌面时,根据各基色增益值的平均值和预设增量值计算所述菜单的背景颜色增益值。由于根据画面的各基色增益值自动生成菜单的背景颜色增益值,从而在菜单的背景显示时可以根据屏幕当前显示的画面进行动态调整,防止了由于屏幕显示的画面动态变化导致菜单在显示画面的衬托下无法看清,而影响菜单的显示效果。因此本发明实施例提供的菜单背景颜色处理方法及装置提高了画面的显示效果。In the embodiment of the present invention, the base color gain values of the screen currently displayed on the television screen are obtained, and when the screen currently displayed on the television screen is not the system desktop, the average value of the base color gain values and the preset increment value are calculated. The background color gain value of the menu. Since the background color gain value of the menu is automatically generated according to the respective primary color gain values of the screen, the background display of the menu can be dynamically adjusted according to the currently displayed screen of the screen, thereby preventing the menu from being displayed due to the dynamic change of the screen displayed on the screen. Can not see clearly under the setting, and affect the display effect of the menu. Therefore, the menu background color processing method and apparatus provided by the embodiments of the present invention improve the display effect of the screen.
附图说明DRAWINGS
图1为本发明菜单背景颜色处理方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a menu background color processing method according to the present invention;
图2为本发明菜单背景颜色处理方法第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of a menu background color processing method according to the present invention;
图3为本发明菜单背景颜色处理方法第三实施例的流程示意图;3 is a schematic flow chart of a third embodiment of a menu background color processing method according to the present invention;
图4为本发明菜单背景颜色处理方法第四实施例的流程示意图;4 is a schematic flow chart of a fourth embodiment of a menu background color processing method according to the present invention;
图5为本发明菜单背景颜色处理方法第五实施例的流程示意图;5 is a schematic flow chart of a fifth embodiment of a menu background color processing method according to the present invention;
图6为本发明菜单背景颜色处理装置第一实施例的功能模块结构示意图;6 is a schematic structural diagram of a function module of a first embodiment of a menu background color processing apparatus according to the present invention;
图7为本发明菜单背景颜色处理装置第二实施例的功能模块结构示意图;7 is a schematic structural diagram of a function module of a second embodiment of a menu background color processing apparatus according to the present invention;
图8为本发明菜单背景颜色处理装置第四实施例的功能模块结构示意图;8 is a schematic structural diagram of a function module of a fourth embodiment of a menu background color processing apparatus according to the present invention;
图9为本发明菜单背景颜色处理装置第五实施例的功能模块结构示意图。FIG. 9 is a schematic structural diagram of a function module of a fifth embodiment of a menu background color processing apparatus according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种菜单背景颜色处理方法,参照图1,在本发明菜单背景颜色处理方法第一实施例中,该菜单背景颜色处理方法包括:The present invention provides a menu background color processing method. Referring to FIG. 1, in the first embodiment of the menu background color processing method of the present invention, the menu background color processing method includes:
步骤S10,获取电视机屏幕当前显示的画面各基色增益值;Step S10, acquiring basic color gain values of the screen currently displayed on the television screen;
本实施例提供的菜单背景颜色处理方法主要应用于电视机中,用于对电视机的菜单背景颜色进行控制。具体地,上述基色包括红色、绿色和蓝色。上述各基色增益值包括当前显示画面的平均红色增益值Rgain、平均绿色增益值Ggain和平均蓝色增益值Bgain。The menu background color processing method provided in this embodiment is mainly applied to a television set for controlling the menu background color of the television set. Specifically, the above primary colors include red, green, and blue. The respective primary color gain values include an average red gain value Rgain, an average green gain value Ggain, and an average blue gain value Bgain of the current display picture.
步骤S20,判断电视机屏幕当前显示的画面是否为系统桌面;Step S20, determining whether the currently displayed screen of the television screen is a system desktop;
上述系统桌面表示电视机当前显示的画面为launcher画面(即为静态画面),当电视机屏幕当前显示的画面不为系统桌面时,表示电视机当前显示的画面为动态画面,例如在电视机当前的信源模块为DTV信源的情况下,进行视频播放;在电视机屏幕当前显示的画面为系统桌面时,电视机当前的信源模块则为launcher。应当说明的是,本实施例中,可以侦测信源的状态从而判断电视机屏幕当前显示的画面是否为系统桌面。The above system desktop indicates that the currently displayed screen of the television is a launcher screen (ie, a static screen). When the currently displayed screen of the television screen is not the system desktop, it indicates that the currently displayed screen of the television is a dynamic screen, for example, currently on the television. When the source module is a DTV source, video playback is performed; when the current screen displayed on the TV screen is the system desktop, the current source module of the television is a launcher. It should be noted that, in this embodiment, the state of the source may be detected to determine whether the currently displayed screen of the television screen is the system desktop.
可以理解的是,电视机系统在初始化时,可以针对不同的应用开辟不同的缓存区存储各显示界面的基色增益值。例如可以开辟第一存储区在电视机屏幕显示的画面为系统桌面时,保存画面的各基色增益值;开辟第二存储区在电视机屏幕显示的画面不为系统桌面时,保存画面的各基色增益值;开辟第三储存区保存菜单的背景颜色。It can be understood that, when the television system is initialized, different buffer areas can be opened for different applications to store the primary color gain values of the display interfaces. For example, the first storage area may be opened when the screen displayed on the television screen is the system desktop, and the basic color gain values of the screen are saved; when the second storage area is displayed on the television screen, the basic color of the screen is saved when the screen is not the system desktop. Gain value; opens the third storage area to save the background color of the menu.
步骤S30,当电视机屏幕当前显示的画面不为系统桌面时,根据各基色增益值的平均值和预设增量值计算所述菜单的背景颜色增益值。In step S30, when the currently displayed screen of the television screen is not the system desktop, the background color gain value of the menu is calculated according to the average value of the primary color gain values and the preset increment value.
本实施例中,上预设增量值的大小可以根据实际需要进行设置,优选地,该增量值为一百分比,例如预设增量值可以为20%。In this embodiment, the size of the upper preset increment value may be set according to actual needs. Preferably, the increment value is a percentage, for example, the preset increment value may be 20%.
以下将以电视机在DTV信源下显示画面对菜单的背景颜色处理进行详细说明。例如上述RGain=192,Ggain=192,Bgain=192,上述预设增量值为20%;则在获取到Rgain、Ggain和Bgain时,确定当前显示的画面为DTV信源下显示画面(即非系统桌面),此时将获取到的TV_RGain=192,TV_Ggain=192,TV_Bgain=192储存至第二储存区,TV系统在该储存区读取到TV_RGain=192,TV_Ggain=192,TV_Bgain=192后,将计算背景颜色增益值UI_Type_TV_Color。该UI_Type_TV_Color=((TV_Rgain+TV_Ggain+ TV_Bgain)/3)*20%=230,此时以背景颜色增益值为230作为背景颜色的设置值,具体地,该背景颜色增益值包括背景红色增益值、背景绿色增益值和背景蓝色增益值,在本实施例中,该背景红色增益值、背景绿色增益值和背景蓝色增益值均为230。可以理解的是,当背景颜色增益值大于255时,则可以将背景颜色增益值设定为255。The background color processing of the menu will be described in detail below by the display screen of the TV under the DTV source. For example, the above-mentioned RGain=192, Ggain=192, Bgain=192, the preset increment value is 20%; when the Rgain, Ggain, and Bgain are acquired, it is determined that the currently displayed picture is displayed under the DTV source (ie, non- The system desktop), at this time, the obtained TV_RGain=192, TV_Ggain=192, and TV_Bgain=192 are stored in the second storage area, and the TV system reads TV_RGain=192, TV_Ggain=192, and TV_Bgain=192 in the storage area. The background color gain value UI_Type_TV_Color will be calculated. The UI_Type_TV_Color=((TV_Rgain+TV_Ggain+ TV_Bgain)/3)*20%=230, at this time, the background color gain value is 230 as the setting value of the background color. Specifically, the background color gain value includes the background red gain value, the background green gain value, and the background blue gain. Value, in this embodiment, the background red gain value, the background green gain value, and the background blue gain value are both 230. It can be understood that when the background color gain value is greater than 255, the background color gain value can be set to 255.
本发明实施例中通过获取电视机屏幕当前显示的画面各基色增益值,并当电视机屏幕当前显示的画面不为系统桌面时,根据各基色增益值的平均值和预设增量值计算所述菜单的背景颜色增益值。由于根据画面的各基色增益值自动生成菜单的背景颜色增益值,从而在菜单的背景显示时可以根据屏幕当前显示的画面进行动态调整,防止了由于屏幕显示的画面动态变化导致菜单在显示画面的衬托下无法看清,而影响菜单的显示效果。因此本发明实施例提供的菜单背景颜色处理方法提高了画面的显示效果。In the embodiment of the present invention, the base color gain values of the screen currently displayed on the television screen are obtained, and when the screen currently displayed on the television screen is not the system desktop, the average value of the base color gain values and the preset increment value are calculated. The background color gain value of the menu. Since the background color gain value of the menu is automatically generated according to the respective primary color gain values of the screen, the background display of the menu can be dynamically adjusted according to the currently displayed screen of the screen, thereby preventing the menu from being displayed due to the dynamic change of the screen displayed on the screen. Can not see clearly under the setting, and affect the display effect of the menu. Therefore, the menu background color processing method provided by the embodiment of the present invention improves the display effect of the screen.
进一步地,参照图2,基于本发明菜单背景颜色处理方法第一实施例,在本发明菜单背景颜色处理方法第二实施例中,该菜单背景颜色处理方法还包括:Further, referring to FIG. 2, in the second embodiment of the menu background color processing method of the present invention, the menu background color processing method further includes:
步骤S40,当所述电视机屏幕当前显示的画面为系统桌面时,将所述各基色增益值的平均值设定为所述菜单的背景颜色增益值。Step S40: When the screen currently displayed on the television screen is the system desktop, the average value of the primary color gain values is set as the background color gain value of the menu.
本实施例中,当确定当前显示的画面为launcher信源下显示画面(即系统桌面),此时将获取到的Lun_RGain=192,Lun_Ggain=192,Lun_Bgain=192储存至第一储存区,TV系统在该储存区读取到Lun_RGain=192,Lun_Ggain=192,Lun_Bgain=192后,将计算背景颜色增益值UI_Type_Lun_Color。该UI_Type_Lun_Color=(TV_Rgain+TV_Ggain+ TV_Bgain)/3=192,此时以背景颜色增益值为192作为背景颜色的设置值,具体地,该背景颜色增益值包括背景红色增益值、背景绿色增益值和背景蓝色增益值,在本实施例中,该背景红色增益值、背景绿色增益值和背景蓝色增益值均为192。In this embodiment, when it is determined that the currently displayed picture is a display screen under the launcher source (ie, the system desktop), the acquired Lun_RGain=192, Lun_Ggain=192, and Lun_Bgain=192 are stored in the first storage area, the TV system. After the storage area reads Lun_RGain=192, Lun_Ggain=192, and Lun_Bgain=192, the background color gain value UI_Type_Lun_Color will be calculated. The UI_Type_Lun_Color=(TV_Rgain+TV_Ggain+ TV_Bgain)/3=192, at this time, the background color gain value is 192 as the setting value of the background color. Specifically, the background color gain value includes the background red gain value, the background green gain value, and the background blue gain value. In an embodiment, the background red gain value, the background green gain value, and the background blue gain value are both 192.
进一步地,参照图3,基于本发明菜单背景颜色处理方法第一实施例,在本发明菜单背景颜色处理方法第三实施例中,上述步骤S20还包括:Further, referring to FIG. 3, in the third embodiment of the menu background color processing method of the present invention, the step S20 further includes:
侦测解码同步脉冲数字存储空间的值是否为0;若是,则判定的电视机屏幕当前显示的画面为系统桌面;若否,则判定的电视机屏幕当前显示的画面不为系统桌面。The value of the digital storage space of the decoded sync pulse is detected as 0; if yes, the currently displayed screen of the determined television screen is the system desktop; if not, the currently displayed screen of the determined television screen is not the system desktop.
可以理解的是,当电视机当前的信源模块为DTV信源时,即在进行视频播放,此时解码同步脉冲数字存储空间的值将大于0,即表示存在视频信号。此外,为了进一步确定解码同步脉冲数字存储空间的值将大于0的情况下,认定电视机屏幕当前显示的画面为DTV节目画面,可以侦测音频类型,当侦测到音频类型为数字多语言(即读取到两种以上声音语言),则表示存在音频信号的输出。当解码同步脉冲数字存储空间的值将大于0,且侦测到音频类型为数字多语言时,确定电视机当前的信源模块为DTV信源。It can be understood that when the current source module of the television is a DTV source, that is, video playback is performed, the value of the decoded sync pulse digital storage space will be greater than 0, indicating that there is a video signal. In addition, in order to further determine that the value of the decoded sync pulse digital storage space will be greater than 0, it is determined that the currently displayed screen of the television screen is a DTV program screen, and the audio type can be detected when the audio type is detected as digital multi-language ( That is, if two or more sound languages are read, it means that there is an output of the audio signal. When the value of the decoded sync pulse digital storage space will be greater than 0, and the detected audio type is digital multi-language, it is determined that the current source module of the television is a DTV source.
进一步地,参照图4,基于本发明菜单背景颜色处理方法任一实施例,在本发明菜单背景颜色处理方法第四实施例中,上述菜单背景颜色处理方法还包括:Further, referring to FIG. 4, in the fourth embodiment of the menu background color processing method of the present invention, the menu background color processing method further includes:
步骤S50,当侦测到存在菜单时,根据所述背景颜色增益值填充所述菜单的背景颜色;Step S50, when the presence menu is detected, filling the background color of the menu according to the background color gain value;
步骤S60,对所述菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上。Step S60, performing layer blending processing on the menu and the screen currently displayed on the television screen, and displaying the same on the television screen.
本实施例中,当用户在电视机上操作调用菜单时,将生成相应的菜单调用请求。当侦测到该菜单调用请求时,若电视机屏幕当前显示的画面不为系统桌面,则从上述第二储存区读取背景颜色增益值,然后读取的背景颜色增益值对菜单背景颜色进行填充,最后根据预置的图层混合处理算法将所述菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上。当侦测到该菜单调用请求时,若电视机屏幕当前显示的画面为系统桌面,则从上述第一储存区读取背景颜色增益值,然后读取的背景颜色增益值对菜单背景颜色进行填充,最后根据预置的图层混合处理算法将所述菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上。In this embodiment, when the user operates the call menu on the television, a corresponding menu call request is generated. When the menu call request is detected, if the currently displayed screen of the television screen is not the system desktop, the background color gain value is read from the second storage area, and then the read background color gain value is performed on the menu background color. Filling, finally, the menu and the currently displayed screen of the television screen are layer-mixed according to a preset layer blending processing algorithm, and displayed on the television screen. When the menu call request is detected, if the currently displayed screen of the television screen is the system desktop, the background color gain value is read from the first storage area, and then the read background color gain value is used to fill the menu background color. Finally, according to a preset layer mixing processing algorithm, the menu and the currently displayed screen of the television screen are layer-mixed and displayed on the television screen.
进一步地,参照图5,基于本发明菜单背景颜色处理方法第四实施例,在本发明菜单背景颜色处理方法第五实施例中,上述步骤S60之后还包括:Further, referring to FIG. 5, in the fifth embodiment of the menu background color processing method of the present invention, in the fifth embodiment of the menu background color processing method of the present invention, after the step S60, the method further includes:
步骤S70,判断所述菜单当前显示的时间是否大于预设菜单间隔显示的时间;若是则执行所述判断电视机屏幕当前显示的画面是否为系统桌面;所述预设菜单间隔显示的时间为所述菜单预置显示时间与所述系统桌面预置显示时间之和。Step S70, determining whether the time currently displayed by the menu is greater than the time of the preset menu interval display; if yes, performing the determining whether the currently displayed screen of the television screen is a system desktop; The sum of the menu preset display time and the system desktop preset display time.
例如,本实施例中,上述菜单预置显示时间为菜单需要显示的时间,上述系统桌面预置显示时间为系统桌面需要显示的时间。本实施例中,由于在进行背景增益值颜色计算时,需要消费较长的时间,因此延长了每次调整菜单背景颜色后的显示时间,从而防止变化颜色变化的速度较快影响菜单背景的显示效果。For example, in this embodiment, the menu preset display time is the time that the menu needs to be displayed, and the system desktop preset display time is the time that the system desktop needs to be displayed. In this embodiment, since the background color value calculation needs to be consumed for a long time, the display time after adjusting the background color of the menu is extended, thereby preventing the change of the color change speed from affecting the display of the menu background. effect.
本发明还提供一种菜单背景颜色处理装置,参照图6,在本发明菜单背景颜色处理装置第一实施例中,本发明提供的菜单背景颜色处理装置包括:The present invention also provides a menu background color processing apparatus. Referring to FIG. 6, in the first embodiment of the menu background color processing apparatus of the present invention, the menu background color processing apparatus provided by the present invention includes:
获取模块10,用于获取电视机屏幕当前显示的画面各基色增益值;The obtaining module 10 is configured to obtain, according to the basic color gain values of the screen currently displayed on the television screen;
本实施例提供的菜单背景颜色处理装置主要应用于电视机中,用于对电视机的菜单背景颜色进行控制。具体地,上述基色包括红色、绿色和蓝色。上述各基色增益值包括当前显示画面的平均红色增益值Rgain、平均绿色增益值Ggain和平均蓝色增益值Bgain。The menu background color processing device provided in this embodiment is mainly applied to a television set for controlling the menu background color of the television set. Specifically, the above primary colors include red, green, and blue. The respective primary color gain values include an average red gain value Rgain, an average green gain value Ggain, and an average blue gain value Bgain of the current display picture.
第一判断模块20,用于判断电视机屏幕当前显示的画面是否为系统桌面;The first determining module 20 is configured to determine whether the currently displayed screen of the television screen is a system desktop;
上述系统桌面表示电视机当前显示的画面为launcher画面(即为静态画面),当电视机屏幕当前显示的画面不为系统桌面时,表示电视机当前显示的画面为动态画面,例如在电视机当前的信源模块为DTV信源的情况下,进行视频播放;在电视机屏幕当前显示的画面为系统桌面时,电视机当前的信源模块则为launcher。应当说明的是,本实施例中,可以侦测信源的状态从而判断电视机屏幕当前显示的画面是否为系统桌面。The above system desktop indicates that the currently displayed screen of the television is a launcher screen (ie, a static screen). When the currently displayed screen of the television screen is not the system desktop, it indicates that the currently displayed screen of the television is a dynamic screen, for example, currently on the television. When the source module is a DTV source, video playback is performed; when the current screen displayed on the TV screen is the system desktop, the current source module of the television is a launcher. It should be noted that, in this embodiment, the state of the source may be detected to determine whether the currently displayed screen of the television screen is the system desktop.
可以理解的是,电视机系统在初始化时,可以针对不同的应用开辟不同的缓存区存储各显示界面的基色增益值。例如可以开辟第一存储区在电视机屏幕显示的画面为系统桌面时,保存画面的各基色增益值;开辟第二存储区在电视机屏幕显示的画面不为系统桌面时,保存画面的各基色增益值;开辟第三储存区保存菜单的背景颜色。It can be understood that, when the television system is initialized, different buffer areas can be opened for different applications to store the primary color gain values of the display interfaces. For example, the first storage area may be opened when the screen displayed on the television screen is the system desktop, and the basic color gain values of the screen are saved; when the second storage area is displayed on the television screen, the basic color of the screen is saved when the screen is not the system desktop. Gain value; opens the third storage area to save the background color of the menu.
计算模块30,用于当所述电视机屏幕当前显示的画面不为系统桌面时,根据各基色增益值的平均值和预设增量值计算所述菜单的背景颜色增益值。The calculating module 30 is configured to calculate a background color gain value of the menu according to an average value of the primary color gain values and a preset increment value when the currently displayed screen of the television screen is not the system desktop.
本实施例中,上预设增量值的大小可以根据实际需要进行设置,优选地,该增量值为一百分比,例如预设增量值可以为20%。In this embodiment, the size of the upper preset increment value may be set according to actual needs. Preferably, the increment value is a percentage, for example, the preset increment value may be 20%.
以下将以电视机在DTV信源下显示画面对菜单的背景颜色处理进行详细说明。例如上述RGain=192,Ggain=192,Bgain=192,上述预设增量值为20%;则在获取到Rgain、Ggain和Bgain时,确定当前显示的画面为DTV信源下显示画面(即非系统桌面),此时将获取到的TV_RGain=192,TV_Ggain=192,TV_Bgain=192储存至第二储存区,TV系统在该储存区读取到TV_RGain=192,TV_Ggain=192,TV_Bgain=192后,将计算背景颜色增益值UI_Type_TV_Color。该UI_Type_TV_Color=((TV_Rgain+TV_Ggain+ TV_Bgain)/3)*20%=230,此时以背景颜色增益值为230作为背景颜色的设置值,具体地,该背景颜色增益值包括背景红色增益值、背景绿色增益值和背景蓝色增益值,在本实施例中,该背景红色增益值、背景绿色增益值和背景蓝色增益值均为230。可以理解的是,当背景颜色增益值大于255时,则可以将背景颜色增益值设定为255。The background color processing of the menu will be described in detail below by the display screen of the TV under the DTV source. For example, the above-mentioned RGain=192, Ggain=192, Bgain=192, the preset increment value is 20%; when the Rgain, Ggain, and Bgain are acquired, it is determined that the currently displayed picture is displayed under the DTV source (ie, non- The system desktop), at this time, the obtained TV_RGain=192, TV_Ggain=192, and TV_Bgain=192 are stored in the second storage area, and the TV system reads TV_RGain=192, TV_Ggain=192, and TV_Bgain=192 in the storage area. The background color gain value UI_Type_TV_Color will be calculated. The UI_Type_TV_Color=((TV_Rgain+TV_Ggain+ TV_Bgain)/3)*20%=230, at this time, the background color gain value is 230 as the setting value of the background color. Specifically, the background color gain value includes the background red gain value, the background green gain value, and the background blue gain. Value, in this embodiment, the background red gain value, the background green gain value, and the background blue gain value are both 230. It can be understood that when the background color gain value is greater than 255, the background color gain value can be set to 255.
本发明实施例中通过获取电视机屏幕当前显示的画面各基色增益值,并当电视机屏幕当前显示的画面不为系统桌面时,根据各基色增益值的平均值和预设增量值计算所述菜单的背景颜色增益值。由于根据画面的各基色增益值自动生成菜单的背景颜色增益值,从而在菜单的背景显示时可以根据屏幕当前显示的画面进行动态调整,防止了由于屏幕显示的画面动态变化导致菜单在显示画面的衬托下无法看清,而影响菜单的显示效果。因此本发明实施例提供的菜单背景颜色处理装置提高了画面的显示效果。In the embodiment of the present invention, the base color gain values of the screen currently displayed on the television screen are obtained, and when the screen currently displayed on the television screen is not the system desktop, the average value of the base color gain values and the preset increment value are calculated. The background color gain value of the menu. Since the background color gain value of the menu is automatically generated according to the respective primary color gain values of the screen, the background display of the menu can be dynamically adjusted according to the currently displayed screen of the screen, thereby preventing the menu from being displayed due to the dynamic change of the screen displayed on the screen. Can not see clearly under the setting, and affect the display effect of the menu. Therefore, the menu background color processing apparatus provided by the embodiment of the present invention improves the display effect of the screen.
进一步地,参照图7,基于本发明菜单背景颜色处理装置第一实施例,在本发明菜单背景颜色处理装置第二实施例中,该菜单背景颜色处理装置还包括:Further, referring to FIG. 7, in the second embodiment of the menu background color processing apparatus of the present invention, the menu background color processing apparatus further includes:
设定模块40,用于当所述电视机屏幕当前显示的画面为系统桌面时,将所述各基色增益值的平均值设定为所述菜单的背景颜色增益值。The setting module 40 is configured to set an average value of each of the primary color gain values as a background color gain value of the menu when the screen currently displayed on the television screen is a system desktop.
本实施例中,当确定当前显示的画面为launcher信源下显示画面(即系统桌面),此时将获取到的Lun_RGain=192,Lun_Ggain=192,Lun_Bgain=192储存至第一储存区,TV系统在该储存区读取到Lun_RGain=192,Lun_Ggain=192,Lun_Bgain=192后,将计算背景颜色增益值UI_Type_Lun_Color。该UI_Type_Lun_Color=(TV_Rgain+TV_Ggain+ TV_Bgain)/3=192,此时以背景颜色增益值为192作为背景颜色的设置值,具体地,该背景颜色增益值包括背景红色增益值、背景绿色增益值和背景蓝色增益值,在本实施例中,该背景红色增益值、背景绿色增益值和背景蓝色增益值均为192。In this embodiment, when it is determined that the currently displayed picture is a display screen under the launcher source (ie, the system desktop), the acquired Lun_RGain=192, Lun_Ggain=192, and Lun_Bgain=192 are stored in the first storage area, the TV system. After the storage area reads Lun_RGain=192, Lun_Ggain=192, and Lun_Bgain=192, the background color gain value UI_Type_Lun_Color will be calculated. The UI_Type_Lun_Color=(TV_Rgain+TV_Ggain+ TV_Bgain)/3=192, at this time, the background color gain value is 192 as the setting value of the background color. Specifically, the background color gain value includes the background red gain value, the background green gain value, and the background blue gain value. In an embodiment, the background red gain value, the background green gain value, and the background blue gain value are both 192.
进一步地,基于本发明菜单背景颜色处理装置第一实施例,在本发明菜单背景颜色处理装置第三实施例中,上述第一判断模块20具体用于,侦测解码同步脉冲数字存储空间的值是否为0;若是,则判定的电视机屏幕当前显示的画面为系统桌面;若否,则判定的电视机屏幕当前显示的画面不为系统桌面。Further, based on the first embodiment of the menu background color processing apparatus of the present invention, in the third embodiment of the menu background color processing apparatus of the present invention, the first determining module 20 is specifically configured to detect the value of the decoded synchronization pulse digital storage space. Whether it is 0; if yes, the currently displayed screen of the determined TV screen is the system desktop; if not, the currently displayed screen of the determined television screen is not the system desktop.
可以理解的是,当电视机当前的信源模块为DTV信源时,即在进行视频播放,此时解码同步脉冲数字存储空间的值将大于0,即表示存在视频信号。此外,为了进一步确定解码同步脉冲数字存储空间的值将大于0的情况下,认定电视机屏幕当前显示的画面为DTV节目画面,可以侦测音频类型,当侦测到音频类型为数字多语言(即读取到两种以上声音语言),则表示存在音频信号的输出。当解码同步脉冲数字存储空间的值将大于0,且侦测到音频类型为数字多语言时,确定电视机当前的信源模块为DTV信源。It can be understood that when the current source module of the television is a DTV source, that is, video playback is performed, the value of the decoded sync pulse digital storage space will be greater than 0, indicating that there is a video signal. In addition, in order to further determine that the value of the decoded sync pulse digital storage space will be greater than 0, it is determined that the currently displayed screen of the television screen is a DTV program screen, and the audio type can be detected when the audio type is detected as digital multi-language ( That is, if two or more sound languages are read, it means that there is an output of the audio signal. When the value of the decoded sync pulse digital storage space will be greater than 0, and the detected audio type is digital multi-language, it is determined that the current source module of the television is a DTV source.
进一步地,参照图8,基于本发明菜单背景颜色处理装置任一实施例,在本发明菜单背景颜色处理装置第四实施例中,上述菜单背景颜色处理装置还包括:Further, referring to FIG. 8, in any of the embodiments of the menu background color processing apparatus of the present invention, in the fourth embodiment of the menu background color processing apparatus of the present invention, the menu background color processing apparatus further includes:
填充模块50,用于当侦测到存在菜单时,根据所述背景颜色增益值填充所述菜单的背景颜色;a filling module 50, configured to fill a background color of the menu according to the background color gain value when a presence menu is detected;
处理模块60,用于对所述菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上。The processing module 60 is configured to perform layer mixing processing on the menu and the screen currently displayed on the television screen, and display the same on the television screen.
本实施例中,当用户在电视机上操作调用菜单时,将生成相应的菜单调用请求。当侦测到该菜单调用请求时,若电视机屏幕当前显示的画面不为系统桌面,则从上述第二储存区读取背景颜色增益值,然后读取的背景颜色增益值对菜单背景颜色进行填充,最后根据预置的图层混合处理算法将所述菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上。当侦测到该菜单调用请求时,若电视机屏幕当前显示的画面为系统桌面,则从上述第一储存区读取背景颜色增益值,然后读取的背景颜色增益值对菜单背景颜色进行填充,最后根据预置的图层混合处理算法将所述菜单和电视机屏幕当前显示的画面进行图层混合处理,并显示于所述电视机屏幕上。In this embodiment, when the user operates the call menu on the television, a corresponding menu call request is generated. When the menu call request is detected, if the currently displayed screen of the television screen is not the system desktop, the background color gain value is read from the second storage area, and then the read background color gain value is performed on the menu background color. Filling, finally, the menu and the currently displayed screen of the television screen are layer-mixed according to a preset layer blending processing algorithm, and displayed on the television screen. When the menu call request is detected, if the currently displayed screen of the television screen is the system desktop, the background color gain value is read from the first storage area, and then the read background color gain value is used to fill the menu background color. Finally, according to a preset layer mixing processing algorithm, the menu and the currently displayed screen of the television screen are layer-mixed and displayed on the television screen.
进一步地,参照图9,基于本发明菜单背景颜色处理装置第四实施例,在本发明菜单背景颜色处理装置第五实施例中,上述菜单背景颜色处理装置还包括:Further, referring to FIG. 9, in the fifth embodiment of the menu background color processing apparatus of the present invention, in the fifth embodiment of the menu background color processing apparatus of the present invention, the menu background color processing apparatus further includes:
第二判断模块70,用于判断所述菜单当前显示的时间是否大于预设菜单间隔显示的时间;若是则触发所述第一判断模块判断电视机屏幕当前显示的画面是否为系统桌面;所述预设菜单间隔显示的时间为所述菜单预置显示时间与所述系统桌面预置显示时间之和。The second determining module 70 is configured to determine whether the time currently displayed by the menu is greater than the time of the preset menu interval display; if yes, triggering the first determining module to determine whether the currently displayed screen of the television screen is a system desktop; The preset menu interval display time is the sum of the menu preset display time and the system desktop preset display time.
例如,本实施例中,上述菜单预置显示时间为菜单需要显示的时间,上述系统桌面预置显示时间为系统桌面需要显示的时间。本实施例中,由于在进行背景增益值颜色计算时,需要消费较长的时间,因此延长了每次调整菜单背景颜色后的显示时间,从而防止变化颜色变化的速度较快影响菜单背景的显示效果。For example, in this embodiment, the menu preset display time is the time that the menu needs to be displayed, and the system desktop preset display time is the time that the system desktop needs to be displayed. In this embodiment, since the background color value calculation needs to be consumed for a long time, the display time after adjusting the background color of the menu is extended, thereby preventing the change of the color change speed from affecting the display of the menu background. effect.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
Claims (17)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510460402.4 | 2015-07-30 | ||
| CN201510460402.4A CN105120369B (en) | 2015-07-30 | 2015-07-30 | Method and device for processing menu background color |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017016308A1 true WO2017016308A1 (en) | 2017-02-02 |
Family
ID=54668212
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/084286 Ceased WO2017016308A1 (en) | 2015-07-30 | 2016-06-01 | Menu background color processing method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105120369B (en) |
| WO (1) | WO2017016308A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105120369B (en) * | 2015-07-30 | 2019-02-26 | 深圳Tcl数字技术有限公司 | Method and device for processing menu background color |
| CN105635792B (en) * | 2015-12-30 | 2018-12-07 | 深圳Tcl数字技术有限公司 | Function menu method of adjustment and device |
| CN107801078A (en) * | 2016-09-07 | 2018-03-13 | 环球智达科技(北京)有限公司 | Smart television interface background processing method and system |
| CN108055581A (en) * | 2017-12-13 | 2018-05-18 | 深圳市雷鸟网络传媒有限公司 | Method, smart television and the storage medium of dynamic play TV programme |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04311213A (en) * | 1991-04-09 | 1992-11-04 | Omron Corp | System for informing operating state of computer system |
| CN101052107A (en) * | 2006-04-04 | 2007-10-10 | 康佳集团股份有限公司 | Switching circuit for TV menu skin color |
| CN101226728A (en) * | 2007-01-16 | 2008-07-23 | 乐金电子(中国)研究开发中心有限公司 | Apparatus and method for dynamically setting color theme |
| CN102075715A (en) * | 2009-11-25 | 2011-05-25 | 深圳Tcl新技术有限公司 | Television for dynamically adjusting color of function menu and implementation method thereof |
| CN103440326A (en) * | 2013-09-02 | 2013-12-11 | 百度在线网络技术(北京)有限公司 | Method and apparatus for providing representation information |
| CN105120369A (en) * | 2015-07-30 | 2015-12-02 | 深圳Tcl数字技术有限公司 | Menu background color processing method and apparatus |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101477792B (en) * | 2009-01-21 | 2011-06-08 | 华为终端有限公司 | Method for displaying overlapped pattern on the background picture and display apparatus thereof |
| EP2580906A1 (en) * | 2010-06-08 | 2013-04-17 | Arçelik Anonim Sirketi | A digital broadcast receiving device having an on-screen display menu |
| ES2756713T3 (en) * | 2014-03-28 | 2020-04-27 | Huawei Device Co Ltd | Procedure, apparatus and terminal device for determining the color of an interface control |
-
2015
- 2015-07-30 CN CN201510460402.4A patent/CN105120369B/en not_active Expired - Fee Related
-
2016
- 2016-06-01 WO PCT/CN2016/084286 patent/WO2017016308A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04311213A (en) * | 1991-04-09 | 1992-11-04 | Omron Corp | System for informing operating state of computer system |
| CN101052107A (en) * | 2006-04-04 | 2007-10-10 | 康佳集团股份有限公司 | Switching circuit for TV menu skin color |
| CN101226728A (en) * | 2007-01-16 | 2008-07-23 | 乐金电子(中国)研究开发中心有限公司 | Apparatus and method for dynamically setting color theme |
| CN102075715A (en) * | 2009-11-25 | 2011-05-25 | 深圳Tcl新技术有限公司 | Television for dynamically adjusting color of function menu and implementation method thereof |
| CN103440326A (en) * | 2013-09-02 | 2013-12-11 | 百度在线网络技术(北京)有限公司 | Method and apparatus for providing representation information |
| CN105120369A (en) * | 2015-07-30 | 2015-12-02 | 深圳Tcl数字技术有限公司 | Menu background color processing method and apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105120369B (en) | 2019-02-26 |
| CN105120369A (en) | 2015-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016091011A1 (en) | Subtitle switching method and device | |
| WO2016192254A1 (en) | Method and device for online playback of network video | |
| WO2017016308A1 (en) | Menu background color processing method and device | |
| WO2018028124A1 (en) | Television set and signal source switching method thereof | |
| WO2016029502A1 (en) | Signal source switching method and device | |
| WO2017063368A1 (en) | Method and device for intercutting video advertisement | |
| WO2017211009A1 (en) | Method and system for smart television restart | |
| WO2017096769A1 (en) | Method and system for color calibration of display device | |
| WO2018045682A1 (en) | Method and device for testing audio and picture synchronization | |
| WO2014048239A1 (en) | Smart television playing method and smart television | |
| WO2017016310A1 (en) | Method and apparatus for dynamically configuring remote control function data | |
| WO2018161603A1 (en) | Method and apparatus for controlling image drawing of mobile terminal, medium, electronic device | |
| WO2017063366A1 (en) | Method and system for starting application | |
| WO2017036203A1 (en) | Play control method for media application, remote control device and television system | |
| WO2017084303A1 (en) | Switching method for launcher and switching control system | |
| WO2017084305A1 (en) | Terminal control method and system | |
| WO2017113600A1 (en) | Video playing method and device | |
| WO2019061042A1 (en) | Exposure compensation method, device and computer readable storage medium | |
| WO2017059686A1 (en) | Desktop displaying method and device | |
| WO2015169209A1 (en) | Animation data generating method, apparatus, and electronic device | |
| WO2019051897A1 (en) | Terminal operating parameter adjustment method and device, and computer readable storage medium | |
| WO2014089971A1 (en) | Realization method and device of mobile terminal for supporting switching of left-hand mode and right-hand mode | |
| WO2017201893A1 (en) | Video processing method and device | |
| WO2017041546A1 (en) | Television bluetooth connection method and apparatus | |
| WO2017032120A1 (en) | Playing processing method and apparatus for audio switching |
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: 16829675 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.06.2018) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16829675 Country of ref document: EP Kind code of ref document: A1 |