CN112188271A - 一种智能电视的窗口层级配置方法 - Google Patents
一种智能电视的窗口层级配置方法 Download PDFInfo
- Publication number
- CN112188271A CN112188271A CN202011269115.2A CN202011269115A CN112188271A CN 112188271 A CN112188271 A CN 112188271A CN 202011269115 A CN202011269115 A CN 202011269115A CN 112188271 A CN112188271 A CN 112188271A
- Authority
- CN
- China
- Prior art keywords
- window
- configuration
- package name
- level configuration
- level
- 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
Images
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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4438—Window management, e.g. event handling following interaction with the user interface
-
- 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/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明公开了一种智能电视的窗口层级配置方法,包括以下步骤:A、在LayoutParams类中新增n个窗口类型;B、在WindowManagerPolicy类中设置这n个窗口类型的窗口层级,且所述窗口层级均高于安卓原生的最大窗口层级;C、从云端获取窗口层级配置,若失败则使用本地的窗口层级配置;D、在WindowManagerGlobal类添加窗口的地方,判断当前添加窗口是否在窗口层级配置中;若是,则根据窗口层级配置,设置当前添加窗口的窗口类型;若不是,不做处理。本发明能够让智能电视的系统窗口在配置窗口层级之后不被第三方应用窗口遮挡,保证系统窗口的优先位置。并且窗口层级的配置可从云端获取,具有一定灵活性,便于电视厂商管控系统中的窗口。
Description
技术领域
本发明涉及安卓智能电视技术领域,更具体的说是涉及一种智能电视的窗口层级配置方法。
背景技术
在安卓系统中,只要应用获取了相应权限,其能添加的窗口类型就和系统应用一样。这就导致第三方应用添加的窗口可以遮挡系统窗口;而系统窗口都是比较重要的系统功能或提示,不应该被第三方应用遮挡。
发明内容
本发明的目的在于提供一种智能电视的窗口层级配置方法,以期解决背景技术中存在的技术问题。为系统及系统应用提供高于安卓原生的窗口层级,配置之后,系统窗口不会被第三方应用窗口遮挡,系统中的窗口层级可控可调整。
为了实现上述目的,本发明采用以下技术方案:
一种智能电视的窗口层级配置方法,包括以下步骤:
A、在LayoutParams类中新增n个窗口类型;
B、在WindowManagerPolicy类中设置这n个窗口类型的窗口层级,且所述窗口层级均高于安卓原生的最大窗口层级;
C、从云端获取窗口层级配置,若失败则使用本地的窗口层级配置;
D、在WindowManagerGlobal类添加窗口的地方,判断当前添加窗口是否在窗口层级配置中;若是,则根据窗口层级配置,设置当前添加窗口的窗口类型;若不是,不做处理。
所述步骤C中,窗口层级配置包括两种:一种是包名与新增窗口类型的对应关系配置,另一种是窗口标题与新增窗口类型的对应关系配置。
所述步骤D中,判断当前添加窗口是否在窗口层级配置中的具体方法为:
遍历包名配置,判断当前添加窗口的包名是否与其中包名吻合;若吻合,则当前添加窗口处于包名配置中,退出遍历;
若遍历包名配置后,无包名与当前添加窗口的包名吻合,则遍历窗口标题配置,判断当前添加窗口的窗口标题是否与其中窗口标题吻合;若吻合,则当前添加窗口处于窗口标题配置中,退出遍历;
若遍历包名配置和窗口标题配置都没有吻合项,则当前添加窗口不在窗口层级配置中。
本发明与现有技术相比具有的有益效果是:
本发明能够让智能电视的系统窗口在配置窗口层级之后不被第三方应用窗口遮挡,保证系统窗口的优先位置。并且窗口层级的配置可从云端获取,具有一定灵活性,便于电视厂商管控系统中的窗口。
附图说明
图1为本发明提出的智能电视窗口层级配置方法的流程图。
具体实施方式
下面结合实施例对本发明作进一步的描述,所描述的实施例仅仅是本发明一部分实施例,并不是全部的实施例。基于本发明中的实施例,本领域的普通技术人员在没有做出创造性劳动前提下所获得的其他所用实施例,都属于本发明的保护范围。
实施例1:
如图1所示,一种智能电视的窗口层级配置方法,其中,包括步骤:
A.在LayoutParams类中新增n个窗口类型。
B.在WindowManagerPolicy类中设置这n个窗口类型的窗口层级,这些层级均高于安卓原生的最大窗口层级。
C.尝试从云端获取窗口层级配置,若失败则使用本地的窗口层级配置。
所述步骤C中的窗口层级配置包括两种配置:一种是包名与新增窗口类型的对应关系配置(简称包名配置),另一种是窗口标题与新增窗口类型的对应关系配置(简称窗口标题配置)。
D.在WindowManagerGlobal类添加窗口的地方,判断当前添加窗口是否在窗口层级配置中。若是,则根据窗口层级配置,设置当前添加窗口的窗口类型;若不是,不做处理。
所述步骤D中,判断当前添加窗口是否在窗口层级配置中的具体方法为:
首先,遍历包名配置,判断当前添加窗口的包名是否与其中包名吻合;若吻合,则当前添加窗口处于包名配置中,退出遍历。若遍历包名配置后,无包名与当前添加窗口的包名吻合,则遍历窗口标题配置,判断当前添加窗口的窗口标题是否与其中窗口标题吻合;若吻合,则当前添加窗口处于窗口标题配置中,退出遍历。若遍历包名配置和窗口标题配置都没有吻合项,则当前添加窗口不在窗口层级配置中。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。
Claims (3)
1.一种智能电视的窗口层级配置方法,其特征在于,包括以下步骤:
A、在LayoutParams类中新增n个窗口类型;
B、在WindowManagerPolicy类中设置这n个窗口类型的窗口层级,且所述窗口层级均高于安卓原生的最大窗口层级;
C、从云端获取窗口层级配置,若失败则使用本地的窗口层级配置;
D、在WindowManagerGlobal类添加窗口的地方,判断当前添加窗口是否在窗口层级配置中;若是,则根据窗口层级配置,设置当前添加窗口的窗口类型;若不是,不做处理。
2.根据权利要求1所述的一种智能电视的窗口层级配置方法,其特征在于,所述步骤C中,窗口层级配置包括两种:一种是包名与新增窗口类型的对应关系配置,另一种是窗口标题与新增窗口类型的对应关系配置。
3.根据权利要求1所述的一种智能电视的窗口层级配置方法,其特征在于,所述步骤D中,判断当前添加窗口是否在窗口层级配置中的具体方法为:
遍历包名配置,判断当前添加窗口的包名是否与其中包名吻合;若吻合,则当前添加窗口处于包名配置中,退出遍历;
若遍历包名配置后,无包名与当前添加窗口的包名吻合,则遍历窗口标题配置,判断当前添加窗口的窗口标题是否与其中窗口标题吻合;若吻合,则当前添加窗口处于窗口标题配置中,退出遍历;
若遍历包名配置和窗口标题配置都没有吻合项,则当前添加窗口不在窗口层级配置中。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011269115.2A CN112188271B (zh) | 2020-11-13 | 2020-11-13 | 一种智能电视的窗口层级配置方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011269115.2A CN112188271B (zh) | 2020-11-13 | 2020-11-13 | 一种智能电视的窗口层级配置方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112188271A true CN112188271A (zh) | 2021-01-05 |
CN112188271B CN112188271B (zh) | 2021-08-06 |
Family
ID=73918459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011269115.2A Active CN112188271B (zh) | 2020-11-13 | 2020-11-13 | 一种智能电视的窗口层级配置方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112188271B (zh) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011101845A9 (en) * | 2010-02-16 | 2012-03-29 | Screenovate Technologies Ltd. | Modified operating systems allowing mobile devices to accommodate io devices more convenient than their own inherent io devices and methods for generating such systems |
CN102779042A (zh) * | 2012-06-26 | 2012-11-14 | 奇智软件(北京)有限公司 | 支持移动终端快捷操作的系统及方法 |
CN106919406A (zh) * | 2015-12-24 | 2017-07-04 | 阿里巴巴集团控股有限公司 | 一种桌面应用组件发布、更新方法及装置 |
CN108205458A (zh) * | 2018-01-02 | 2018-06-26 | 武汉斗鱼网络科技有限公司 | 会话框实现方法、装置及可读存储介质 |
CN109246466A (zh) * | 2018-10-30 | 2019-01-18 | 北京达佳互联信息技术有限公司 | 视频播放方法、装置及电子设备 |
CN110377254A (zh) * | 2019-07-05 | 2019-10-25 | 北京达佳互联信息技术有限公司 | 一种显示亮度调节方法、装置、电子设备及存储介质 |
CN111787376A (zh) * | 2020-07-22 | 2020-10-16 | 聚好看科技股份有限公司 | 一种显示设备、服务器及视频推荐的方法 |
-
2020
- 2020-11-13 CN CN202011269115.2A patent/CN112188271B/zh active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011101845A9 (en) * | 2010-02-16 | 2012-03-29 | Screenovate Technologies Ltd. | Modified operating systems allowing mobile devices to accommodate io devices more convenient than their own inherent io devices and methods for generating such systems |
CN102779042A (zh) * | 2012-06-26 | 2012-11-14 | 奇智软件(北京)有限公司 | 支持移动终端快捷操作的系统及方法 |
CN106919406A (zh) * | 2015-12-24 | 2017-07-04 | 阿里巴巴集团控股有限公司 | 一种桌面应用组件发布、更新方法及装置 |
CN108205458A (zh) * | 2018-01-02 | 2018-06-26 | 武汉斗鱼网络科技有限公司 | 会话框实现方法、装置及可读存储介质 |
CN109246466A (zh) * | 2018-10-30 | 2019-01-18 | 北京达佳互联信息技术有限公司 | 视频播放方法、装置及电子设备 |
CN110377254A (zh) * | 2019-07-05 | 2019-10-25 | 北京达佳互联信息技术有限公司 | 一种显示亮度调节方法、装置、电子设备及存储介质 |
CN111787376A (zh) * | 2020-07-22 | 2020-10-16 | 聚好看科技股份有限公司 | 一种显示设备、服务器及视频推荐的方法 |
Also Published As
Publication number | Publication date |
---|---|
CN112188271B (zh) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11258801B2 (en) | Method of performing smart hybrid acceleration on resources, device, medium and apparatus | |
US10152316B2 (en) | Mobile application processing | |
US10498783B2 (en) | Non-DSG mechanisms for aligning client devices with their multicast data flows in a DOCSIS network environment | |
US10152590B2 (en) | Implementing a WebSocket server to circumvent access controls, by a web browser, on a web application | |
EP3269146B1 (en) | Permissions management for watermarked data in a broadcast environment | |
CN108540434B (zh) | 从跨源资源提供自动播放媒体内容元素 | |
US20160162435A1 (en) | Subscriber station for a bus system and method for improving the error tolerance of a subscriber station of a bus system | |
US11722750B2 (en) | Systems and methods for communicating user settings in conjunction with execution of an application | |
US20210051352A1 (en) | Method for video optimization, terminal and network apparatus | |
US10652185B2 (en) | Information sending method and information sending apparatus | |
CN111355678A (zh) | 自动增益控制方法、装置、存储介质和电子设备 | |
US20200128518A1 (en) | Information Acquiring Method, Terminal, Base Station, and System | |
CN105245492A (zh) | 一种iptv专网下并行访问公共互联网的方法 | |
CN1153483C (zh) | 用于信道译码器的软归一化器 | |
CN112188271B (zh) | 一种智能电视的窗口层级配置方法 | |
CN106302390A (zh) | 一种基于nginx访问频率限制的方法以及系统 | |
CN104506631A (zh) | 一种音频文件缓存方法和设备 | |
US10904746B2 (en) | Implementation method, apparatus and system for remote access | |
CN109842498B (zh) | 一种客户端配置方法、服务器、客户端及电子设备 | |
CN111294173B (zh) | 一种速率匹配方法及装置 | |
CN106254810A (zh) | 一种视频通话方法和装置 | |
CN105719268B (zh) | 一种地图数据的处理方法及装置 | |
CN112153094B (zh) | 电子设备之间的数据传输控制方法和装置 | |
CN107220543B (zh) | 处理移动终端的业务请求的方法和装置 | |
CN108400974B (zh) | 一种流量引导的方法和移动终端 |
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 |