CN114528058B - Application grouping display method, device and display device - Google Patents
Application grouping display method, device and display device Download PDFInfo
- Publication number
- CN114528058B CN114528058B CN202210085311.7A CN202210085311A CN114528058B CN 114528058 B CN114528058 B CN 114528058B CN 202210085311 A CN202210085311 A CN 202210085311A CN 114528058 B CN114528058 B CN 114528058B
- Authority
- CN
- China
- Prior art keywords
- application
- display
- display mode
- installation
- information
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
本申请实施例提供一种应用分组显示方法、装置及显示设备,方法包括:获取应用关联信息及目标显示模式;从应用关联信息中筛选出与目标显示模式对应的应用程序;在目标显示模式显示时,设置筛选出的应用程序对用户可见;其中,目标显示模式为任一显示模式,应用关联信息在应用程序安装过程中,根据用户关于应用程序与显示模式对应关系的选择生成。如此设计,在进行某一显示模式的显示时,可以根据应用关联信息筛选出属于该显示模式的应用程序,然后使筛选出的应用程序对用户可见,从而能够避免显示不属于该显示模式的应用程序的问题。另外,应用关联信息对预装应用程序和后装应用程序均适用,方便对应用程序的动态分组管理,有利于提升用户体验。
The embodiments of the present application provide an application grouping display method, apparatus and display device, the method comprising: obtaining application association information and a target display mode; filtering out applications corresponding to the target display mode from the application association information; when the target display mode is displayed, setting the filtered applications to be visible to the user; wherein the target display mode is any display mode, and the application association information is generated during the application installation process according to the user's selection of the correspondence between the application and the display mode. With such a design, when displaying a certain display mode, the applications belonging to the display mode can be filtered out according to the application association information, and then the filtered applications can be made visible to the user, thereby avoiding the problem of displaying applications that do not belong to the display mode. In addition, the application association information is applicable to both pre-installed applications and post-installed applications, which facilitates the dynamic grouping management of applications and helps to improve the user experience.
Description
技术领域Technical Field
本申请实施例涉及显示设备技术领域,尤其涉及一种应用分组显示方法、装置及显示设备。The embodiments of the present application relate to the technical field of display devices, and in particular, to a method, apparatus and display device for displaying application groups.
背景技术Background technique
在一些显示设备中,例如广告展示屏、会议平板、触控一体机、智能电视机和商业显示器等,通常具有多种显示模式,显示模式包括信号源和工作模式。其中,信号源用于外接指定类型的视频信号,可以为HDMI(High Definition Multimedia Interface,高清多媒体接口)、AV(复合视频接口)、VGA(Video Graphics Array,视频图形阵列)、DVI(DigitalVisual Interface,数字视频接口)、DP(DisplayPort)、Type-C、数字电视和广播电视等中的至少一种。工作模式是指显示设备对应不同应用场景设置的场景模式,可以为办公模式、展陈模式、商业模式、娱乐模式和儿童模式中的至少一种。Some display devices, such as advertising display screens, conference tablets, touch-screen all-in-ones, smart TVs, and commercial displays, usually have multiple display modes, which include signal sources and working modes. Among them, the signal source is used to connect a specified type of video signal externally, which can be at least one of HDMI (High Definition Multimedia Interface), AV (Composite Video Interface), VGA (Video Graphics Array), DVI (Digital Visual Interface), DP (DisplayPort), Type-C, digital TV, and broadcast TV. The working mode refers to the scene mode set by the display device for different application scenarios, which can be at least one of office mode, exhibition mode, business mode, entertainment mode, and children's mode.
每种显示模式(信号源/模式)会对应不同的应用场景以及占用不同的设备资源,因此通常会针对每种显示模式开发对应的应用程序,应用程序与显示模式具有对应关系,通常情况下应用程序在对应的显示模式下能够正常工作与使用,在不对应的显示模式下可能会出现无法启动、设备资源冲突、程序报错、黑屏以及无法联网等问题。Each display mode (signal source/mode) corresponds to different application scenarios and occupies different device resources. Therefore, corresponding applications are usually developed for each display mode. There is a corresponding relationship between the application and the display mode. Usually, the application can work and be used normally in the corresponding display mode. In the incompatible display mode, problems such as failure to start, device resource conflicts, program errors, black screen, and inability to connect to the Internet may occur.
鉴于此,相关技术提供了一种应用分组显示方法,该应用分组显示方法在显示设备出厂前内置有应用分类列表,应用分类列表记载有每种显示模式下应当显示的应用程序信息,根据应用分类列表的记载控制显示设备在切换到某种显示模式的时候,只显示属于当前显示模式的应用程序。In view of this, the relevant technology provides an application grouping display method, which has a built-in application classification list before the display device leaves the factory. The application classification list records the application information that should be displayed in each display mode. When the display device switches to a certain display mode, it is controlled according to the records in the application classification list to only display the applications belonging to the current display mode.
但是此种内置应用分类列表的方式仅能够对预装应用进行分组管理,无法动态管理显示设备在出厂后用户自行安装的应用程序,因此仍可能导致当前显示模式下,显示不属于该显示模式的应用程序,存在很大的局限性,影响用户体验。However, this built-in application classification list method can only manage pre-installed applications in groups, and cannot dynamically manage applications installed by users after the display device leaves the factory. Therefore, it may still cause applications that do not belong to the current display mode to be displayed, which has great limitations and affects the user experience.
发明内容Summary of the invention
有鉴于此,本申请实施例的目的在于提出一种应用分组显示方法、装置及显示设备。In view of this, an object of the embodiments of the present application is to provide an application grouping display method, apparatus and display device.
第一方面,本申请实施例提供了一种应用分组显示方法,应用于具有至少两种显示模式和至少两个应用程序的显示设备,所述应用分组显示方法包括:In a first aspect, an embodiment of the present application provides an application group display method, which is applied to a display device having at least two display modes and at least two application programs, and the application group display method includes:
获取应用关联信息及目标显示模式;Get application-related information and target display mode;
从所述应用关联信息中筛选出与所述目标显示模式对应的应用程序;Filtering out an application corresponding to the target display mode from the application association information;
在所述目标显示模式显示时,设置筛选出的对应所述应用程序对用户可见;When the target display mode is displayed, setting the filtered corresponding application to be visible to the user;
其中,所述目标显示模式为任一所述显示模式,所述应用关联信息在所述应用程序安装过程中,根据用户关于所述应用程序与所述显示模式对应关系的选择生成。The target display mode is any of the display modes, and the application-related information is generated during the installation of the application according to the user's selection of the correspondence between the application and the display mode.
在该应用分组显示方法中,设置有应用关联信息,应用关联信息在应用程序安装过程中根据用户关于应用程序与显示模式对应关系的选择生成,用于记录应用程序与显示模式的对应信息。因此,在进行某一显示模式的显示时,可以根据应用关联信息筛选出属于该显示模式的应用程序,然后使筛选出的应用程序对用户可见,其它应用程序对用户隐藏,从而能够避免显示不属于该显示模式的应用程序的问题。另外,应用关联信息根据在应用程序安装过程中,用户关于应用程序与显示模式对应关系的选择生成,因此对预装应用程序和后装应用程序均适用,方便对应用程序的动态分组管理,有利于提升用户体验。In the application grouping display method, application association information is provided. The application association information is generated according to the user's selection of the correspondence between the application and the display mode during the application installation process, and is used to record the correspondence information between the application and the display mode. Therefore, when displaying a certain display mode, the applications belonging to the display mode can be screened out according to the application association information, and then the screened applications are made visible to the user, and other applications are hidden from the user, thereby avoiding the problem of displaying applications that do not belong to the display mode. In addition, the application association information is generated according to the user's selection of the correspondence between the application and the display mode during the application installation process, and is therefore applicable to both pre-installed applications and post-installed applications, facilitating the dynamic grouping management of applications and helping to improve user experience.
在一种可能的实施方式中,所述应用关联信息包括与所述应用程序对应的安装记录,所述安装记录的生成包括:In a possible implementation, the application-related information includes an installation record corresponding to the application program, and generating the installation record includes:
在所述应用程序安装时,获取应用安装包;When the application is installed, obtaining an application installation package;
展示包括所述显示模式的选项菜单;displaying a menu of options including the display mode;
响应于用户对所述显示模式的选择,生成包含所述显示模式的第一信息;In response to a user's selection of the display mode, generating first information including the display mode;
解析所述应用安装包,获得包含应用信息的第二信息;Parsing the application installation package to obtain second information including application information;
形成包含所述第一信息和所述第二信息的安装记录。An installation record is formed including the first information and the second information.
在一种可能的实施方式中,所述应用分组显示方法还包括:In a possible implementation, the application group display method further includes:
创建用于保存所述应用关联信息的安装信息表;Creating an installation information table for storing the application-related information;
在所述安装记录生成时,将所述安装记录更新至所述安装信息表。When the installation record is generated, the installation record is updated to the installation information table.
在一种可能的实施方式中,其特征在于,In a possible implementation, it is characterized in that
所述第一信息包括与所述显示模式对应的模式名称和模式身份标识号;The first information includes a mode name and a mode identification number corresponding to the display mode;
所述第二信息包括与所述应用程序对应的应用名称、应用身份标识号、应用安装包名和版本号。The second information includes an application name, an application identification number, an application installation package name and a version number corresponding to the application program.
在一种可能的实施方式中,所述从所述应用关联信息中筛选出与所述目标显示模式对应的应用程序,包括:In a possible implementation manner, the filtering out the application corresponding to the target display mode from the application association information includes:
获取所述目标显示模式的模式身份标识号;Obtaining a mode identification number of the target display mode;
解析所述应用关联信息,筛选与所述模式身份标识号对应的应用程序。The application association information is parsed to filter the application program corresponding to the mode identification number.
在一种可能的实施方式中,所述应用程序的安装过程包括:In a possible implementation, the installation process of the application includes:
获取应用安装包;Get the application installation package;
生成所述安装记录;generating the installation record;
执行安装步骤。Follow the installation steps.
在一种可能的实施方式中,所述显示设备采用Android系统,所述第二信息通过解析应用安装包中的AndroidManifest.xml文件获取。In a possible implementation, the display device uses an Android system, and the second information is obtained by parsing an AndroidManifest.xml file in an application installation package.
在一种可能的实施方式中,所述显示设备采用Android系统,所述安装信息表存储于数据库,并采用ContentProvider组件操作所述安装信息表。In a possible implementation, the display device adopts an Android system, the installation information table is stored in a database, and a ContentProvider component is used to operate the installation information table.
在一种可能的实施方式中,所述显示设备中的所述应用程序包括预装应用程序和后装应用程序,与所述预装应用程序对应的所述应用关联信息预装于所述显示设备;In a possible implementation manner, the application in the display device includes a pre-installed application and a post-installed application, and the application-related information corresponding to the pre-installed application is pre-installed in the display device;
与所述后装应用程序对应的所述应用关联信息在安装过程中获取。The application-related information corresponding to the after-installed application is acquired during the installation process.
在一种可能的实施方式中,所述应用分组显示方法还包括:In a possible implementation, the application group display method further includes:
在所述应用程序需要使用目标资源时,发送请求至资源管理队列;When the application needs to use the target resource, sending a request to the resource management queue;
根据所述资源管理队列中排序,将所述目标资源依次分配至所述应用程序。The target resources are allocated to the application programs in sequence according to the order in the resource management queue.
第二方面,本申请实施例提供了一种应用分组显示装置,应用于具有至少两种显示模式和至少两个应用程序的显示设备,所述应用分组显示装置包括:In a second aspect, an embodiment of the present application provides an application grouping display device, which is applied to a display device having at least two display modes and at least two application programs, and the application grouping display device includes:
获取模块,被配置为获取应用关联信息及目标显示模式;An acquisition module, configured to acquire application-related information and a target display mode;
筛选模块,被配置为从所述应用关联信息中筛选出与所述目标显示模式对应的应用程序;a screening module configured to screen out application programs corresponding to the target display mode from the application association information;
显示模块,被配置为在所述目标显示模式显示时,设置对应的所述应用程序对用户可见;A display module, configured to set the corresponding application to be visible to the user when the target display mode is displayed;
其中,所述目标显示模式为任一所述显示模式,所述应用关联信息在所述应用程序安装过程中,根据用户关于所述应用程序与所述显示模式对应关系的选择生成。The target display mode is any of the display modes, and the application-related information is generated during the installation of the application according to the user's selection of the correspondence between the application and the display mode.
第三方面,本申请实施例提供了一种显示设备,包括显示面板,还包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如第一方面实施例中任一项所述的方法。In a third aspect, an embodiment of the present application provides a display device, comprising a display panel, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method as described in any one of the embodiments of the first aspect is implemented.
第四方面,本申请实施例提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使计算机执行第一方面实施例中任一项所述的方法。In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute any method described in any one of the embodiments of the first aspect.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请实施例的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本申请实施例提供的一种应用分组显示方法的流程图;FIG1 is a flow chart of a method for displaying application groups provided in an embodiment of the present application;
图2为本申请实施例提供的一种显示模式选项菜单的示意图;FIG2 is a schematic diagram of a display mode option menu provided in an embodiment of the present application;
图3为相关技术提供的Android系统的应用程序安装流程图;FIG3 is a flowchart of an application installation process of an Android system provided by a related art;
图4为本申请实施例提供的Android系统应用程序的安装流程图;FIG4 is a flowchart of an installation of an Android system application provided in an embodiment of the present application;
图5为本申请实施例提供的一种资源分配的场景示意图;FIG5 is a schematic diagram of a resource allocation scenario provided in an embodiment of the present application;
图6为本申请实施例提供的一种应用分组显示装置的示意图;FIG6 is a schematic diagram of an application grouping display device provided in an embodiment of the present application;
图7为本申请实施例提供的一种显示设备的示意图。FIG. 7 is a schematic diagram of a display device provided in an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本申请实施例进一步详细说明。In order to make the objectives, technical solutions and advantages of the embodiments of the present application more clearly understood, the embodiments of the present application are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
需要说明的是,除非另外定义,本申请实施例使用的技术术语或者科学术语应当为本申请实施例所属领域内具有一般技能的人士所理解的通常意义。本申请实施例中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be understood by people with ordinary skills in the field to which the embodiments of the present application belong. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
在一些显示设备中,例如广告展示屏、会议平板、触控一体机、智能电视机和商业显示器等,通常具有多种显示模式,显示模式包括信号源和工作模式。其中,信号源用于外接指定类型的视频信号,可以为HDMI(High Definition Multimedia Interface,高清多媒体接口)、AV(复合视频接口)、VGA(Video Graphics Array,视频图形阵列)、DVI(DigitalVisual Interface,数字视频接口)、DP(DisplayPort)、Type-C、数字电视和广播电视等中的至少一种。Some display devices, such as advertising display screens, conference tablets, touch-screen all-in-ones, smart TVs, and commercial displays, usually have multiple display modes, which include signal sources and working modes. The signal source is used to connect to a specified type of video signal, which can be at least one of HDMI (High Definition Multimedia Interface), AV (Composite Video Interface), VGA (Video Graphics Array), DVI (Digital Visual Interface), DP (DisplayPort), Type-C, digital TV, and broadcast TV.
为了提高显示设备外接信号源的兼容性,显示设备可以设置多种类型的信号源;另外对于应用频率较高的信号源,可以设置多个同一类型的信号源。例如在本实施例中,显示设备包括HDMI1、HDMI2、HDMI3、AV、VGA、数字电视和广播电视共7个信号源。In order to improve the compatibility of the external signal source of the display device, the display device can be set with multiple types of signal sources; in addition, for signal sources with higher application frequency, multiple signal sources of the same type can be set. For example, in this embodiment, the display device includes HDMI1, HDMI2, HDMI3, AV, VGA, digital TV and broadcast TV, a total of 7 signal sources.
工作模式是指显示设备对应不同应用场景设置的主题场景模式,每个工作模式均包含与之对应的显示主题和显示内容。例如,在本实施例中,显示设备包括办公模式、展陈模式、商业模式、娱乐模式和儿童模式共5个工作模式。The working mode refers to the theme scene mode set by the display device for different application scenarios, and each working mode includes the corresponding display theme and display content. For example, in this embodiment, the display device includes 5 working modes: office mode, exhibition mode, business mode, entertainment mode and children mode.
其中,办公模式用于用户的办公使用,显示常用的办公软件等;展陈模式则是用于内容展示,全屏循环展示指定的文件内容;商业模式为用户启动指定的商业应用,例如信发应用。娱乐模式适用于娱乐场景,展示视频、音乐和游戏等应用,方便用户观看电影、听音乐、玩游戏等娱乐活动;儿童模式适用于儿童使用的场景,展示适合儿童使用和操作的内容。Among them, the office mode is used for users' office use, displaying commonly used office software, etc.; the exhibition mode is used for content display, full-screen loop display of specified file content; the business mode is for users to launch specified business applications, such as the letter sending application. The entertainment mode is suitable for entertainment scenarios, displaying applications such as videos, music and games, and facilitating users to watch movies, listen to music, play games and other entertainment activities; the children's mode is suitable for scenarios used by children, displaying content suitable for children to use and operate.
本文中,将信号源和显示模式统称为显示模式,也就是说,显示模式既可以是信号源,也可以是工作模式。显示设备为基于操作系统的智能设备,通过操作系统控制不同显示模式的工作和切换。操作系统可以为Android系统,也可以为Windows系统,还可以为Android和Windows双系统。In this article, the signal source and display mode are collectively referred to as display mode, that is, the display mode can be both a signal source and an operating mode. The display device is an intelligent device based on an operating system, and the operation and switching of different display modes are controlled by the operating system. The operating system can be an Android system, a Windows system, or a dual system of Android and Windows.
通过上文描述可知,每种显示模式(信号源/模式)对应不同的应用场景,该显示设备的操作系统针对每种显示模式开发有对应的应用程序,应用程序与显示模式具有对应关系,通常情况下应用程序在对应的显示模式下能够正常工作与使用,在不对应的显示模式下可能会出现无法启动、设备资源冲突、程序报错、黑屏以及无法联网等问题。另外,一些在出厂前对显示设备进行调试的调试类应用程序,在显示设备出厂后被用户操作启动时,也可能会出现设备资源冲突、报错、黑屏等问题。还有一些基于显示模式切换过程中启动的应用程序,在切换到与之对应的显示模式后再次启动该应用程序时,也可能会出现设备资源冲突、报错、黑屏等问题。It can be seen from the above description that each display mode (signal source/mode) corresponds to a different application scenario. The operating system of the display device has developed corresponding applications for each display mode. The applications correspond to the display modes. Usually, the applications can work and be used normally in the corresponding display modes. In non-corresponding display modes, problems such as failure to start, device resource conflicts, program errors, black screens, and inability to connect to the Internet may occur. In addition, some debugging applications that debug the display device before leaving the factory may also encounter problems such as device resource conflicts, errors, and black screens when they are started by the user after the display device leaves the factory. There are also some applications that are started based on the display mode switching process. When the application is started again after switching to the corresponding display mode, problems such as device resource conflicts, errors, and black screens may also occur.
例如,HDMI1信号源和商业模式两种场景下均需要使用播放器,如果针对HDMI1信号源设计的应用程序在商业模式下被启动,会因为抢占播放器而导致黑屏。For example, a player is required in both the HDMI1 signal source and business model scenarios. If an application designed for the HDMI1 signal source is started in the business model, a black screen will be caused due to the player being preempted.
再例如,数字电视信号源和广播电视信号源均具有数字电视功能,但是两种数字电视功能存在一些差异,如果在数字电视信号源下运行广播电视信号源的应用,本来数字电视信号源已经初始化的设备资源,可能被广播电视信号源的应用程序会重新初始化,从而导致数字电视信号源的硬件状态错误。For another example, both the digital TV signal source and the broadcast TV signal source have digital TV functions, but there are some differences between the two digital TV functions. If the broadcast TV signal source application is run under the digital TV signal source, the device resources that have been initialized by the digital TV signal source may be reinitialized by the broadcast TV signal source application, resulting in a hardware status error of the digital TV signal source.
再例如,娱乐模式下有些奇艺果、云视听等应用程序是针对专网的,其它显示模式下的应用都是针对公网的,如果在针对公网的显示模式下启动针针对专网设计的应用程序时,这些应用程序即使能够运行,也会因为没有广电前端服务器的支持,无法获取数据,导致无法正常工作。For another example, in entertainment mode, some applications such as iQiyi and Cloud Video are for private networks, while applications in other display modes are for public networks. If you start applications designed for private networks in the display mode for public networks, even if these applications can run, they will not be able to obtain data and will not work properly because they do not have the support of the radio and television front-end server.
又例如,切换到商业模式实际上是启动了信发应用,切换到办公模式是启动了主启动器(Launcher)应用,切换到HDMI等信号源是启动了信号源应用,这些应用在切换显示模式的时候已经在运行了,如果继续在应用列表里启动会资源冲突报错。如在商业模式下启动信发应用,在办公模式下启动主启动器应用,在信号源模式下启动信号源应用。For example, switching to the commercial mode actually starts the Xinfa application, switching to the office mode starts the main launcher application, and switching to the signal source such as HDMI starts the signal source application. These applications are already running when the display mode is switched. If you continue to start them in the application list, a resource conflict error will be reported. For example, start the Xinfa application in the commercial mode, start the main launcher application in the office mode, and start the signal source application in the signal source mode.
通过上述描述可以看出,应用程序与显示模式具有对应关系,通常情况下应用程序在对应的显示模式下能够正常工作与使用,在不对应的显示模式下可能会出现无法启动、设备资源冲突、程序报错、黑屏以及无法联网等问题。为了避免上述问题,显示设备需要控制当前显示模式下,仅显示与该显示模式对应的应用程序,使得应用程序在对应的显示模式下正常工作与使用,即控制应用程序分组显示。It can be seen from the above description that there is a corresponding relationship between applications and display modes. Usually, applications can work and be used normally in corresponding display modes. In non-corresponding display modes, problems such as failure to start, device resource conflicts, program errors, black screens, and inability to connect to the Internet may occur. In order to avoid the above problems, the display device needs to control the current display mode and only display applications corresponding to the display mode, so that the applications can work and be used normally in the corresponding display mode, that is, control the application group display.
为了实现应用程序的分组显示,有些相关技术在显示设备出厂前内置应用分类列表,应用分类列表记载有每种显示模式下应当显示的应用程序信息,根据应用分类列表的记载控制显示设备在切换到某种显示模式的时候,只显示属于当前显示模式的应用程序。但是此种内置应用分类列表的方式仅能够对预装应用进行分组管理,无法动态管理显示设备在出厂后用户自行安装的应用程序,因此仍可能导致当前显示模式下,显示不属于该显示模式的应用程序,影响用户体验,存在很大的局限性。In order to realize the grouped display of applications, some related technologies have built-in application classification lists before the display device leaves the factory. The application classification list records the application information that should be displayed in each display mode. According to the records in the application classification list, the display device is controlled to only display the applications belonging to the current display mode when switching to a certain display mode. However, this method of built-in application classification list can only manage pre-installed applications in groups, and cannot dynamically manage the applications installed by users on the display device after leaving the factory. Therefore, it may still cause the display of applications that do not belong to the display mode in the current display mode, affecting the user experience and having great limitations.
另外,有些相关技术通过解析应用程序的信息文件进行分组管理,但是应用程序的提供商较多,无法统一信息文件中的表述字段,对信息文件进行解析也无法实现较好地分组管理,存在很大的局限性。In addition, some related technologies perform group management by parsing the information files of applications. However, there are many application providers and it is impossible to unify the expression fields in the information files. Parsing the information files also cannot achieve better group management, which has great limitations.
例如,对于Android系统而言,有些相关技术通过解析每个应用程序的AndroidManifest.xml文件进行应用的分组管理,但是由于应用程序的提供商往往较多,很难实现表述字段的统一。For example, for the Android system, some related technologies manage applications in groups by parsing the AndroidManifest.xml file of each application. However, since there are often many application providers, it is difficult to unify the expression fields.
鉴于此,本申请实施例提供了一种应用分组显示方法,在该应用分组显示方法中,设置有应用关联信息,应用关联信息根据在应用程序安装过程中,用户关于应用程序与显示模式对应关系的选择生成,用于记录应用程序与显示模式的对应信息。因此,在进行某一显示模式的显示时,可以根据应用关联信息筛选出属于该显示模式的应用程序,然后使筛选出的应用程序对用户可见,其它应用程序对用户隐藏,从而能够避免显示不属于该显示模式的应用程序的问题。另外,应用关联信息根据在应用程序安装过程中,用户关于应用程序与显示模式对应关系的选择生成,因此对预装应用程序和后装应用程序均适用,方便对应用程序的动态分组管理。In view of this, an embodiment of the present application provides an application grouping display method, in which application grouping display method is provided, and application association information is generated according to the user's selection regarding the correspondence between the application and the display mode during the application installation process, and is used to record the correspondence information between the application and the display mode. Therefore, when displaying a certain display mode, the applications belonging to the display mode can be screened out according to the application association information, and then the screened applications are made visible to the user, and other applications are hidden from the user, thereby avoiding the problem of displaying applications that do not belong to the display mode. In addition, the application association information is generated according to the user's selection regarding the correspondence between the application and the display mode during the application installation process, and therefore is applicable to both pre-installed applications and post-installed applications, facilitating dynamic grouping management of applications.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
本申请实施例提供了一种应用分组显示方法,应用于具有至少两种显示模式和至少两个应用程序的显示系统,如图1所示,该应用分组显示方法包括如下步骤:The embodiment of the present application provides an application grouping display method, which is applied to a display system having at least two display modes and at least two application programs. As shown in FIG1 , the application grouping display method includes the following steps:
步骤S100:获取目标显示模式及应用关联信息。Step S100: Acquire target display mode and application-related information.
目标显示模式则为需要显示的显示模式,可以为上述列举的显示模式中的任一种。The target display mode is the display mode that needs to be displayed, and can be any one of the display modes listed above.
应用关联信息用于记录应用程序与显示模式对应关系,应用程序可以仅对应一种显示模式,也可以对应多种显示模式,也可以不与任何显示模式对应。例如,对于用于文件管理类的应用程序,可以允许在所有显示模式中进行显示,即文件管理类的应用程序与多种显示模式对应。对于文档编辑类应用程序,可以在办公模式中进行显示,即文档编辑类应用程序仅与办公模式对应;出厂前用于系统调试的调试类应用程序,以及,基于显示模式切换过程中启动的应用程序,不在任何显示模式中显示,即该类应用程序不与任何显示模式对应。Application association information is used to record the correspondence between applications and display modes. Applications can correspond to only one display mode, multiple display modes, or no display mode. For example, for file management applications, they can be allowed to be displayed in all display modes, that is, file management applications correspond to multiple display modes. For document editing applications, they can be displayed in office mode, that is, document editing applications only correspond to office mode; debugging applications used for system debugging before leaving the factory, and applications started during the display mode switching process, are not displayed in any display mode, that is, this type of application does not correspond to any display mode.
应用关联信息在应用程序安装过程中根据用户关于应用程序与显示模式对应关系的选择生成,应用程序在安装过程中向用户提供选项菜单,该选项菜单中包含显示设备中的显示模式,图2为本申请实施例提供的一种显示模式选项菜单的示意图;用户根据安装的应用程序选择对应的0个、1个或2个以上显示模式。基于用户对显示模式的选择,生成应用关联信息。The application-related information is generated during the application installation process according to the user's selection of the correspondence between the application and the display mode. During the installation process, the application provides the user with an option menu, which includes the display mode in the display device. FIG2 is a schematic diagram of a display mode option menu provided in an embodiment of the present application; the user selects 0, 1, or more than 2 display modes corresponding to the installed application. Based on the user's selection of the display mode, the application-related information is generated.
显示设备中的应用程序包括预装应用程序和后装应用程序,预装应用程序在出厂前内置在显示设备中,以供显示设备的正常工作以及用户使用。后装应用程序则为用户为了拓展显示设备的功能自行安装的应用程序。对于预装应用程序的应用关联信息,可以在编辑完成后,在应用程序安装过程中一并存储在显示设备中;也可以在应用程序的安装过程中逐个手动选择生成应用关联信息。The applications in the display device include pre-installed applications and post-installed applications. Pre-installed applications are built into the display device before leaving the factory for the normal operation of the display device and the use of users. Post-installed applications are applications installed by users to expand the functions of the display device. The application association information of the pre-installed applications can be stored in the display device during the application installation process after editing; or the application association information can be manually selected one by one during the application installation process.
对于后装应用程序的应用关联信息,则为在应用程序安装时,根据用户选择的应用程序与显示模式的对应信息生成。The application association information of the post-installed application is generated when the application is installed based on the corresponding information between the application and the display mode selected by the user.
步骤S200:从应用关联信息中筛选出与目标显示模式对应的应用程序。Step S200: Filter out application programs corresponding to the target display mode from the application-related information.
在得到目标显示模式后,可以基于该显示模式在应用关联信息中筛选与该显示模式对应的应用程序。After the target display mode is obtained, the application program corresponding to the display mode can be filtered in the application association information based on the display mode.
步骤S300:在目标显示模式显示时,设置筛选出的对应应用程序对用户可见。Step S300: When the target display mode is displayed, set the corresponding filtered applications to be visible to the user.
在目标显示模式显示时,将步骤S200筛选出的与目标显示模式对应的所有应用程序设置为对用户可见。When the target display mode is displayed, all the applications corresponding to the target display mode filtered out in step S200 are set to be visible to the user.
需要说明的是,此处对用户可见可以是在显示设备的显示区域内直接显示,也可以在多数时间内不直接显示,而是处于隐藏状态,通过指定操作对用户可见,例如通过摁压遥控器的菜单按键弹出包含应用程序列表的菜单,用户可以对可见的应用程序进行操作。It should be noted that what is visible to the user here can be directly displayed in the display area of the display device, or it can be not directly displayed most of the time but in a hidden state and become visible to the user through specified operations, such as pressing the menu button on the remote control to pop up a menu containing a list of applications, and the user can operate the visible applications.
例如,对于办公模式、儿童模式等,对应的应用程序可以直接显示在显示设备的显示区域内。在数字电视信号源中,其主要功能用于数字电视播放,显示设备的显示区域为数字电视的播放窗口,因此其它应用程序通常处于隐藏状态,例如截图、录屏等应用程序;但是用户可以通过操作遥控器等方式调出包含应用程序列表的菜单,然后在菜单中发现有关应用程序,启动应用程序后实现指定功能。For example, for office mode, children's mode, etc., the corresponding applications can be directly displayed in the display area of the display device. In the digital TV signal source, its main function is to play digital TV, and the display area of the display device is the playback window of the digital TV, so other applications are usually hidden, such as screenshots, screen recording and other applications; however, the user can call up a menu containing a list of applications by operating the remote control, and then find the relevant application in the menu, and start the application to realize the specified function.
通过以上描述可知,在本申请实施例提供的应用分组显示方法中,在该应用分组显示方法中,设置有应用关联信息,应用关联信息在应用程序安装过程中根据用户关于应用程序与显示模式对应关系的选择生成,用于记录应用程序与显示模式的对应信息。因此,在进行某一显示模式的显示时,可以根据应用关联信息筛选出属于该显示模式的应用程序,然后使筛选出的应用程序对用户可见,其它应用程序对用户隐藏,从而能够避免显示不属于该显示模式的应用程序的问题。另外,应用关联信息根据在应用程序安装过程中,用户关于应用程序与显示模式对应关系的选择生成,因此对预装应用程序和后装应用程序均适用,方便对应用程序的动态分组管理,有利于提升用户体验。It can be known from the above description that in the application grouping display method provided in the embodiment of the present application, application association information is provided in the application grouping display method. The application association information is generated according to the user's selection of the correspondence between the application and the display mode during the application installation process, and is used to record the correspondence information between the application and the display mode. Therefore, when displaying a certain display mode, the applications belonging to the display mode can be screened out according to the application association information, and then the screened applications are made visible to the user, and other applications are hidden from the user, thereby avoiding the problem of displaying applications that do not belong to the display mode. In addition, the application association information is generated according to the user's selection of the correspondence between the application and the display mode during the application installation process, and therefore is applicable to both pre-installed applications and post-installed applications, facilitating the dynamic grouping management of applications and helping to improve user experience.
在一些实施方式中,应用关联信息包括与显示模式相关的第一信息以及与应用程序的相关的第二信息。其中,第一信息包括与显示模式对应的模式名称(sourcename)和模式身份标识号(sourceid)。In some embodiments, the application-related information includes first information related to the display mode and second information related to the application program, wherein the first information includes a mode name (sourcename) and a mode identity (sourceid) corresponding to the display mode.
表1为本申请实施例提供的显示模式ID表;Table 1 is a display mode ID table provided in an embodiment of the present application;
表1Table 1
在应用程序的安装过程中,会弹出如图2所示的显示模式选项菜单供用户选择,在该选项菜单中展示包含显示模式的选项,用户根据实际情况选择相应的显示模式。选择完成后根据选择结果即可生成包含模式名称和模式身份标识号的第一信息。During the installation of the application, a display mode option menu as shown in FIG. 2 will pop up for the user to select, in which options including display modes are displayed, and the user selects the corresponding display mode according to the actual situation. After the selection is completed, the first information including the mode name and the mode identity number can be generated according to the selection result.
例如,用户选择“办公模式”时,则第一信息包括:sourceid=1,sourcename=办公模式。For example, when the user selects "office mode", the first information includes: sourceid=1, sourcename=office mode.
与应用程序的相关的第二信息通过解析应用程序的应用安装包获得,应用程序的应用安装包中包括用于描述应用程序基本信息的文件,因此,在应用程序的安装过程中,通过解析应用程序的应用安装包可以得到第二信息,第二信息包括应用身份标识号(appid)、应用名称(appname)、应用安装包名(packagename)和版本信息(version)。The second information related to the application is obtained by parsing the application installation package of the application. The application installation package of the application includes a file for describing the basic information of the application. Therefore, during the installation process of the application, the second information can be obtained by parsing the application installation package of the application. The second information includes an application identity identification number (appid), an application name (appname), an application installation package name (packagename) and version information (version).
根据已获得的第一信息和第二信息生成一条安装记录,安装记录与应用程序每次安装过程对应,显示设备中的所有安装记录合称为应用关联信息。每条安装记录可以单独存储于显示设备的指定位置,也可以所有安装记录存储在操作系统指定的某个文件,比如XML文件、JSON文件。也就是说,应用关联信息可以为多个文件,也可以为一个文件。An installation record is generated based on the first information and the second information that have been obtained. The installation record corresponds to each installation process of the application. All installation records in the display device are collectively referred to as application-related information. Each installation record can be stored separately in a specified location of the display device, or all installation records can be stored in a file specified by the operating system, such as an XML file or a JSON file. In other words, the application-related information can be multiple files or one file.
在本实施例中,创建用于保存应用关联信息的安装信息表,在安装记录生成时,将安装记录添加至安装信息表。In this embodiment, an installation information table for storing application-related information is created, and when an installation record is generated, the installation record is added to the installation information table.
表2为本申请实施例提供的一种安装信息表的示例:Table 2 is an example of an installation information table provided in an embodiment of the present application:
表2Table 2
最后,在获得安装记录后,将该条安装记录更新至安装信息表中。Finally, after obtaining the installation record, the installation record is updated to the installation information table.
通过对安装记录和应用关联信息的描述可知,通过应用关联信息的一条记录便可以确认一个应用程序所属的显示模式,安装记录在应用程序的安装过程中生成。It can be known from the description of the installation record and the application association information that the display mode to which an application belongs can be confirmed through a record of the application association information, and the installation record is generated during the installation process of the application.
在一些应用场景中,安装记录更新至安装信息表中是指,与相同应用程序的对应的较新安装记录可以替换掉较旧的安装记录,如此在应用关联信息中,与应用程序对应的始终仅为一条安装记录。在另一些应用场景中,安装记录更新至安装信息表中是指,将每次生成的安装记录均进行存储,且不对之前的安装记录进行操作,如此在应用关联信息中,与应用程序对应的安装记录可能有多条,在进行筛选时,同一应用程序的安装记录,应选择最新或者版本号最高的安装记录。In some application scenarios, updating the installation record to the installation information table means that the newer installation record corresponding to the same application can replace the older installation record, so that in the application-related information, there is always only one installation record corresponding to the application. In other application scenarios, updating the installation record to the installation information table means that each installation record generated is stored, and the previous installation records are not operated. In this way, there may be multiple installation records corresponding to the application in the application-related information. When screening, the installation record of the same application should select the latest one or the one with the highest version number.
对于已有应用程序的版本更新,可以配置重复以上步骤生成新的安装记录,也可以配置无需重复上述步骤,继续使用已有的安装记录。For version updates of existing applications, you can configure to repeat the above steps to generate a new installation record, or you can configure to continue to use the existing installation record without repeating the above steps.
与上述实施例对应的,安装记录的生成包括:Corresponding to the above embodiment, the generation of the installation record includes:
在应用程序安装时,获取应用安装包;When installing the application, obtain the application installation package;
展示包括显示模式的选项菜单;Displays an options menu including display modes;
响应于用户对显示模式的选择,生成包含显示模式的第一信息;In response to a user's selection of a display mode, generating first information including the display mode;
解析应用安装包,获得包含应用信息的第二信息;Parsing the application installation package to obtain second information including application information;
形成包含第一信息和第二信息的安装记录。An installation record is formed including the first information and the second information.
在可能的实施方式中,步骤S200可以包括:In a possible implementation, step S200 may include:
获取目标显示模式的模式身份标识号;Get the mode identification number of the target display mode;
解析应用关联信息,筛选与模式身份标识号对应的应用程序。Parse the application association information and filter the application corresponding to the mode identity number.
根据前文的描述可知,该显示设备为基于操作系统的智能设备,其中,操作系统可以为Android系统,也可以为Windows系统,还可以为Android和Windows双系统。According to the foregoing description, the display device is a smart device based on an operating system, wherein the operating system may be an Android system, a Windows system, or a dual system of Android and Windows.
以Android系统为例,图3为相关技术中Android系统的应用程序安装流程图,如图3所示,Android系统的应用程序安装可以通过以下四种方式实现:PackageManagerService安装、应用商店安装、ADB安装和PackageInstaller.apk安装。由于ADB安装方式无法更新配置文件,因此Android系统无法通过设置配置文件的方式实现对应用程序的分组管理。Taking the Android system as an example, FIG3 is a flowchart of application installation in the Android system in the related art. As shown in FIG3, application installation in the Android system can be implemented in the following four ways: PackageManagerService installation, application store installation, ADB installation, and PackageInstaller.apk installation. Since the ADB installation method cannot update the configuration file, the Android system cannot implement group management of applications by setting the configuration file.
图4为本申请实施例提供的Android系统应用程序的安装流程图,如图4所示,在本申请实施例中,生成安装记录的过程位于应用程序实际安装之前,通过安装记录完善应用程序的安装,从而达到应用分类的目的。相应地,与该应用分组显示方法对应的应用程序的安装过程包括:获取应用安装包;生成所述安装记录;执行安装步骤。FIG4 is a flowchart of the installation of an Android system application provided in an embodiment of the present application. As shown in FIG4, in the embodiment of the present application, the process of generating an installation record is located before the actual installation of the application, and the installation of the application is improved through the installation record, thereby achieving the purpose of application classification. Accordingly, the installation process of the application corresponding to the application grouping display method includes: obtaining an application installation package; generating the installation record; and executing the installation step.
在可能的实施方式中,安装信息表存储于Android系统的数据库,并使用Android系统中的ContentProvider组件处理安装信息表。ContentProvider是Android系统中的重要组件,用于不同应用之间数据共享。ContentProvider通过URI(Uniform ResourceIdentifier,统一资源标志符)来标识要访问的数据,通过ContentResolver的增、删、改、查方法实现对共享数据的操作;还可以通过注册ContentObserver来监听数据。In a possible implementation, the installation information table is stored in the database of the Android system, and the installation information table is processed using the ContentProvider component in the Android system. ContentProvider is an important component in the Android system, used for data sharing between different applications. ContentProvider uses URI (Uniform Resource Identifier) to identify the data to be accessed, and implements operations on shared data through the add, delete, modify, and query methods of ContentResolver; it can also monitor data by registering ContentObserver.
在上述具有多种显示模式的显示设备中,每种显示模式占用不同的设备资源,但是不同显示模式之间的设备资源可能会部分相同,因此,在显示模式之间快速切换时,会导致不同显示模式下抢占设备资源而产生黑屏,导致出现不好的用户体验。In the above-mentioned display device with multiple display modes, each display mode occupies different device resources, but the device resources between different display modes may be partially the same. Therefore, when switching between display modes quickly, different display modes will occupy device resources and produce a black screen, resulting in a poor user experience.
例如,HDMI1信号源和商业模式两种场景下都需要使用播放器,HDMI1信号源和商业模式之间快速切换时会发生抢占播放器资源的问题。因此,实现应用分组还要确保资源合理分配。For example, a player is required in both HDMI1 signal source and business model scenarios. When switching between HDMI1 signal source and business model quickly, the player resources may be occupied. Therefore, the implementation of application grouping must ensure the reasonable allocation of resources.
鉴于此,在本申请实施例提供的应用分组显示方法中,还提供了一种资源管理方法,在该资源管理方法中控制同一时刻对某一个资源只允许一个应用程序操作,从而确保显示模式快速切换的时候资源互斥,保证了显示设备不会因为资源抢占产生黑屏等死机问题。In view of this, in the application grouping display method provided in the embodiment of the present application, a resource management method is also provided, in which only one application is allowed to operate on a certain resource at the same time, thereby ensuring that resources are mutually exclusive when the display mode is switched quickly, and ensuring that the display device will not have black screen or other crash problems due to resource preemption.
在可能的实施方式中,该应用分组显示方法还包括:In a possible implementation manner, the application group display method further includes:
在应用程序需要使用目标资源时,发送请求至资源管理队列;When an application needs to use a target resource, it sends a request to the resource management queue;
根据资源管理队列中排序,依次分配目标资源至应用程序。Allocate target resources to applications in sequence according to the order in the resource management queue.
采用上述方法后,每种显示模式下的应用程序不再直接使用资源,而是在需要使用目标资源时发送资源请求发送给资源管理队列,然后资源管理器进程会实时查询资源管理队列的排队情况,根据资源管理队列中对不同目标资源的申请排序,分配目标资源至相应的应用程序,确保同一时刻对某一个资源只允许一个应用程序操作,从而在实现应用分组的同时还确保了资源合理分配,避免实现抢资源的情况。After adopting the above method, the applications in each display mode no longer use resources directly, but send resource requests to the resource management queue when they need to use the target resources. Then the resource manager process will query the queue status of the resource management queue in real time, and allocate the target resources to the corresponding applications according to the application sorting of different target resources in the resource management queue, ensuring that only one application is allowed to operate on a certain resource at the same time, thereby achieving application grouping while ensuring reasonable allocation of resources and avoiding resource grabbing.
图5为本申请实施例提供的一种资源分配的场景示意图,如图5所示,在一种应用场景中,娱乐模式包括应用1至6,商业模式包括应用7至12,HDMI1信号源包括应用13至18。FIG5 is a schematic diagram of a resource allocation scenario provided in an embodiment of the present application. As shown in FIG5 , in an application scenario, the entertainment mode includes applications 1 to 6, the business mode includes applications 7 to 12, and the HDMI1 signal source includes applications 13 to 18.
在某一时刻,娱乐模式发送应用1对A资源的请求消息至资源管理队列,发送应用2对B资源的请求消息至资源管理队列;随后,商业模式发送应用9对B资源的请求消息至资源管理队列,发送应用10对C资源的请求消息至资源管理队列;随后,HDMI1信号源发送应用15对A资源的请求消息至资源管理队列,发送应用16对C资源的请求消息至资源管理队列。At a certain moment, the entertainment mode sends a request message for resource A from application 1 to the resource management queue, and sends a request message for resource B from application 2 to the resource management queue; then, the business mode sends a request message for resource B from application 9 to the resource management queue, and sends a request message for resource C from application 10 to the resource management queue; then, the HDMI1 signal source sends a request message for resource A from application 15 to the resource management queue, and sends a request message for resource C from application 16 to the resource management queue.
此时,资源管理队列根据请求顺序形成:应用1请求A资源、应用2请求B资源、应用9请求B资源、应用10请求C资源、应用15请求A资源和应用16请求C资源的队列。资源管理其根据资源管理队列中的排队情况,将A资源依次分配至娱乐模式中的应用1和HDMI1信号源中的应用15;将B资源依次分配至娱乐模式中的应用2和商业模式中的应用9;将C资源依次分配至商业模式的应用10和HDMI1信号源中的应用16。从而实现同一时刻对某一个资源只允许一个应用程序操作,在实现应用分组的同时还确保了资源合理分配,避免实现抢资源的情况。At this time, the resource management queue is formed according to the request order: application 1 requests resource A, application 2 requests resource B, application 9 requests resource B, application 10 requests resource C, application 15 requests resource A, and application 16 requests resource C. According to the queuing situation in the resource management queue, the resource management allocates resource A to application 1 in the entertainment mode and application 15 in the HDMI1 signal source in sequence; allocates resource B to application 2 in the entertainment mode and application 9 in the business mode in sequence; allocates resource C to application 10 in the business mode and application 16 in the HDMI1 signal source in sequence. In this way, only one application is allowed to operate on a certain resource at the same time, and while realizing application grouping, it also ensures reasonable allocation of resources to avoid the situation of grabbing resources.
需要说明的是,本申请实施例的方法可以由单个设备执行,例如一台计算机或服务器等。本实施例的方法也可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本申请实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成所述的方法。It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
需要说明的是,上述对本申请实施例的一些实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于上述实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。It should be noted that some embodiments of the present application are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
基于同一发明构思,与上述任意实施例方法相对应的,本申请实施例还提供了一种应用分组显示装置,应用于具有至少两种显示模式和至少两个应用程序的显示设备。Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the embodiment of the present application also provides an application grouping display device, which is applied to a display device with at least two display modes and at least two application programs.
参考图6,所述应用分组显示装置,包括:Referring to FIG6 , the application grouping display device includes:
获取模块100,被配置为获取应用关联信息及目标显示模式;The acquisition module 100 is configured to acquire application-related information and a target display mode;
筛选模块200,被配置为从所述应用关联信息中筛选出与所述目标显示模式对应的应用程序;A screening module 200 is configured to screen out application programs corresponding to the target display mode from the application association information;
显示模块300,被配置为在所述目标显示模式显示时,设置对应的所述应用程序对用户可见;The display module 300 is configured to set the corresponding application to be visible to the user when the target display mode is displayed;
其中,所述目标显示模式为任一所述显示模式,所述应用关联信息在所述应用程序安装过程中,根据用户关于所述应用程序与所述显示模式对应关系的选择生成。The target display mode is any of the display modes, and the application-related information is generated during the installation of the application according to the user's selection of the correspondence between the application and the display mode.
为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本申请实施例时可以把各模块的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above devices are described in terms of functions divided into various modules. Of course, when implementing the embodiments of the present application, the functions of each module can be implemented in the same or multiple software and/or hardware.
上述实施例的装置用于实现前述任一实施例中相应的应用分组显示方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The device of the above embodiment is used to implement the corresponding application grouping display method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
基于同一发明构思,与上述任意实施例方法相对应的,本申请实施例还提供了一种显示设备,该显示设备包括显示面板,还包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上任意一实施例所述的应用分组显示方法。Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, an embodiment of the present application also provides a display device, which includes a display panel, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the application grouping display method described in any of the above embodiments is implemented.
图7示出了本实施例所提供的一种更为具体的显示设备硬件结构示意图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。FIG7 shows a more specific schematic diagram of the hardware structure of a display device provided in this embodiment, and the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input/output interface 1030, and the communication interface 1040 are connected to each other in communication within the device through the bus 1050.
处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random AccessMemory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 1030 is used to connect the input/output module to realize information input and output. The input/output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input/output interface 1030, and the communication interface 1040).
需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
上述实施例的显示设备用于实现前述任一实施例中相应的应用分组显示方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The display device of the above embodiment is used to implement the corresponding application grouping display method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
基于同一发明构思,与上述任意实施例方法相对应的,本申请实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上任一实施例所述的应用分组显示方法。Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, an embodiment of the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the application grouping display method described in any of the above embodiments.
本实施例的计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
上述实施例的存储介质存储的计算机指令用于使所述计算机执行如上任一实施例所述的应用分组显示方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the application grouping display method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本申请实施例的范围(包括权利要求)被限于这些例子;在本申请实施例的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the embodiments of the present application (including the claims) is limited to these examples. Based on the ideas of the embodiments of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
另外,为简化说明和讨论,并且为了不会使本申请实施例难以理解,在所提供的附图中可以示出或可以不示出与集成电路(IC)芯片和其它部件的公知的电源/接地连接。此外,可以以框图的形式示出装置,以便避免使本申请实施例难以理解,并且这也考虑了以下事实,即关于这些框图装置的实施方式的细节是高度取决于将要实施本申请实施例的平台的(即,这些细节应当完全处于本领域技术人员的理解范围内)。在阐述了具体细节(例如,电路)以描述本申请实施例的示例性实施例的情况下,对本领域技术人员来说显而易见的是,可以在没有这些具体细节的情况下或者这些具体细节有变化的情况下实施本申请实施例。因此,这些描述应被认为是说明性的而不是限制性的。In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply/ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe the exemplary embodiments of the embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
尽管已经结合了本申请实施例的具体实施例对本申请实施例进行了描述,但是根据前面的描述,这些实施例的很多替换、修改和变型对本领域普通技术人员来说将是显而易见的。例如,其它存储器架构(例如,动态RAM(DRAM))可以使用所讨论的实施例。Although the embodiments of the present invention have been described in conjunction with the specific embodiments of the embodiments of the present invention, many replacements, modifications and variations of these embodiments will be apparent to those of ordinary skill in the art based on the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
本申请实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本申请实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本申请实施例的保护范围之内。The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210085311.7A CN114528058B (en) | 2022-01-21 | 2022-01-21 | Application grouping display method, device and display device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210085311.7A CN114528058B (en) | 2022-01-21 | 2022-01-21 | Application grouping display method, device and display device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114528058A CN114528058A (en) | 2022-05-24 |
| CN114528058B true CN114528058B (en) | 2024-05-28 |
Family
ID=81622605
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210085311.7A Active CN114528058B (en) | 2022-01-21 | 2022-01-21 | Application grouping display method, device and display device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114528058B (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106557669A (en) * | 2015-09-30 | 2017-04-05 | 北京奇虎科技有限公司 | A kind of authority control method and device of application program installation process |
| CN107479970A (en) * | 2017-07-31 | 2017-12-15 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
| CN109491556A (en) * | 2017-09-08 | 2019-03-19 | 天津三星通信技术研究有限公司 | Application control method and equipment in terminal |
| CN110231965A (en) * | 2019-06-19 | 2019-09-13 | 京东方科技集团股份有限公司 | A kind of cloud device, applied program processing method and electronic equipment |
| CN111669621A (en) * | 2020-04-30 | 2020-09-15 | 聚好看科技股份有限公司 | A kind of media asset data distribution method, server and display device |
| CN112379963A (en) * | 2020-11-30 | 2021-02-19 | 联想(北京)有限公司 | Remote application window control method and device and computer equipment |
| CN112764833A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | Application program management method and device and electronic equipment |
-
2022
- 2022-01-21 CN CN202210085311.7A patent/CN114528058B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106557669A (en) * | 2015-09-30 | 2017-04-05 | 北京奇虎科技有限公司 | A kind of authority control method and device of application program installation process |
| CN107479970A (en) * | 2017-07-31 | 2017-12-15 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
| CN109491556A (en) * | 2017-09-08 | 2019-03-19 | 天津三星通信技术研究有限公司 | Application control method and equipment in terminal |
| CN110231965A (en) * | 2019-06-19 | 2019-09-13 | 京东方科技集团股份有限公司 | A kind of cloud device, applied program processing method and electronic equipment |
| CN111669621A (en) * | 2020-04-30 | 2020-09-15 | 聚好看科技股份有限公司 | A kind of media asset data distribution method, server and display device |
| CN112379963A (en) * | 2020-11-30 | 2021-02-19 | 联想(北京)有限公司 | Remote application window control method and device and computer equipment |
| CN112764833A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | Application program management method and device and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114528058A (en) | 2022-05-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2016507917A (en) | Electronic device, resource display method, program, and recording medium | |
| US8938674B2 (en) | Managing media player sound output | |
| CN112817718B (en) | Dual system device and application display method and storage medium thereof | |
| US11025695B2 (en) | Techniques for modifying a rules engine in a highly-scaled computing environment | |
| CN110784753B (en) | Interactive video playing method and device, storage medium and electronic equipment | |
| CN111240777A (en) | Dynamic wallpaper generation method, device, storage medium and electronic device | |
| US20170185422A1 (en) | Method and system for generating and controlling composite user interface control | |
| WO2025152992A1 (en) | Interaction method and apparatus, and device and storage medium | |
| CN114237840A (en) | Resource interaction method, device, terminal and storage medium | |
| CN111597021B (en) | Method, device, system and related equipment for realizing application program operation | |
| CN110070592A (en) | Generation method, device and the hardware device of special efficacy packet | |
| CN114528058B (en) | Application grouping display method, device and display device | |
| CN114968158A (en) | An application screen projection method, device, electronic device and storage medium | |
| JP7473674B2 (en) | Special effects processing method and device | |
| CN112749033B (en) | Display device and system notification calling method | |
| CN106331774A (en) | Equipment connection method and device and intelligent television system | |
| US12010356B2 (en) | Method and apparatus for sending information in live broadcast room, and electronic device | |
| CN115328483A (en) | Method and device for managing service function entrance, electronic equipment and storage medium | |
| CN116737028A (en) | Short video playing method and device and electronic equipment | |
| CN112068857A (en) | A dual-system-based OTA upgrade method and system | |
| US12045532B1 (en) | System and method for content delivery across a heterogeneous multi-display environment | |
| CN113835846B (en) | Method and device for creating k8s cluster and computer-readable storage medium | |
| CN115695887B (en) | Terminal video layout matching method and device, electronic equipment and medium | |
| CN114245191B (en) | Split screen social method and related device based on window dynamic information | |
| CN111199519A (en) | Method and device for generating special effect package |
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 |