WO2017128582A1 - Method and intelligent terminal for displaying application type based on application icon - Google Patents
Method and intelligent terminal for displaying application type based on application icon Download PDFInfo
- Publication number
- WO2017128582A1 WO2017128582A1 PCT/CN2016/084868 CN2016084868W WO2017128582A1 WO 2017128582 A1 WO2017128582 A1 WO 2017128582A1 CN 2016084868 W CN2016084868 W CN 2016084868W WO 2017128582 A1 WO2017128582 A1 WO 2017128582A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- type
- audio
- piece
- determining
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
Definitions
- the present invention relates to the field of intelligent terminal technologies, and in particular, to a method and an intelligent terminal for displaying an application type based on an application icon.
- the present invention provides a method and an intelligent terminal for displaying an application type based on an application icon, the main purpose of which is to solve the technical problem that the application type cannot be displayed based on the application icon.
- the present invention provides a method for displaying an application type based on an application icon, and the method for displaying an application type based on an application icon includes:
- the application does not have a type identifier, determining an application type of the application currently opened by the smart terminal;
- the first picture currently displayed by the application and the second picture after the first preset duration are obtained;
- the type identifier or text information associated with the type identifier is displayed at an icon of the application.
- the method further comprises the steps of:
- the application is a background application, there is no need to determine the type of the application.
- the present invention provides a method for displaying an application type based on an application icon, and the method for displaying an application type based on an application icon includes:
- the type identifier or text information associated with the type identifier is displayed at an icon of the application.
- the method further comprises the steps of:
- the application detects whether the application has a type identifier when it starts; and if the application has a type identifier, the type of the application is not re-determined.
- the method further comprises the steps of:
- the application is a background application, there is no need to determine the type of the application.
- the step of determining an application type of the smart terminal currently opening the application comprises:
- the application is another type of application.
- the step of determining an application type of the smart terminal currently opening the application further includes:
- the read configuration file including the intent type is parsed to determine the application type of the application.
- the present invention further provides an intelligent terminal that displays an application type based on an application icon, and the smart terminal that displays an application type based on the application icon includes:
- a determining module configured to determine an application type of the currently open application of the smart terminal
- Adding a module configured to create a type identifier corresponding to the application type for the application
- a display module configured to: when the smart terminal displays an icon of the application, display the type identifier or text information associated with the type identifier at an icon of the application.
- the smart terminal that displays the application type based on the application icon further includes:
- a detecting module configured to detect, when the application starts, whether the application has a type identifier
- the determining module is further configured to determine an application type of the application when the application does not have a type identifier.
- the smart terminal that displays the application type based on the application icon further includes:
- a determining module configured to determine whether the application is a background application
- the determining module is further configured to determine an application type of the application when the application is not a background application.
- the determining module comprises:
- An acquiring unit configured to acquire a first screen currently displayed by the application and a second screen after being separated by a first preset duration
- a calculating unit configured to calculate a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;
- a determining unit configured to determine that the application is a video application when the difference is greater than or equal to a preset value
- a determining unit configured to determine, when the difference is less than the preset value, whether the first piece of audio and the second piece of audio output by the application are the same, wherein the first piece of audio and the second piece are The output interval of the audio is separated by a second preset duration;
- the determining unit is further configured to: if the first piece of audio and the second piece of audio are different, determine that the application is an audio application, and if the first piece of audio and the second piece of audio are the same Then, the application is determined to be another type of application.
- the determining module further includes:
- a reading unit configured to read a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type
- a parsing unit configured to parse the read configuration file including the intent type to determine an application type of the application.
- the method for displaying an application type based on an application icon and the intelligent terminal determining an application type of the application currently opened by the smart terminal, and creating a type identifier corresponding to the application type for the application, when the smart terminal displays the icon of the application, the application
- the icon displays the type identifier or the text information associated with the type identifier.
- the terminal can automatically display the application type, and the user can determine whether it is an application that is needed according to the displayed type identifier or text information.
- FIG. 1 is a flow chart of a first embodiment of a method for displaying an application type based on an application icon according to the present invention
- FIG. 2 is a detailed flowchart of an embodiment of determining an application type in a first embodiment of a method for displaying an application type based on an application icon;
- FIG. 3 is a detailed flowchart of another embodiment of determining a type of application in a first embodiment of a method for displaying an application type based on an application icon;
- FIG. 4 is a schematic diagram of functional modules of a first embodiment of an intelligent terminal based on an application icon display application type according to the present invention
- FIG. 5 is a schematic diagram of a refinement function module of a determining module in a first embodiment of an intelligent terminal based on an application icon display application type;
- FIG. 6 is a schematic diagram of a refinement function module of a determining module in a first embodiment of an intelligent terminal based on an application icon display application type;
- FIG. 7 is a schematic diagram of functional modules of a second embodiment of an intelligent terminal based on an application icon display application type according to the present invention.
- the present invention provides a method of displaying an application type based on an application icon.
- FIG. 1 it is a flowchart of a first embodiment of a method for displaying an application type based on an application icon according to the present invention.
- the method for displaying an application type based on an application icon includes:
- Step S10 Determine an application type of the application currently opened by the smart terminal.
- the method provided in this embodiment is applicable to various smart devices such as a smart TV, a smart phone, and a tablet computer.
- the application type of the currently open application is determined. There are various implementation manners for determining the application type. Two of them.
- the application type of the application is determined in the following manner:
- Step S11 acquiring a first screen currently displayed by the application and a second screen after the interval of the first preset duration
- Step S12 calculating a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;
- Step S13 when the difference is greater than or equal to a preset value, determining that the application is a video application
- Step S14 when the difference is less than the preset value, determining whether the first piece of audio and the second piece of audio output by the application are the same, wherein the first piece of audio and the second piece of audio are The output interval is a second preset duration;
- Step S15 if the first segment audio is different from the second segment audio, determining that the application is an audio application
- Step S16 If the first piece of audio and the second piece of audio are the same, determine that the application is another type of application.
- the type of the application is divided into a video application, an audio application, and other applications, and the application type is determined according to the image displayed by the application.
- the screen switching is very fast when playing the video, and the general The frame rate of the video can reach at least 25 frames, that is, at least 25 frames of pictures can be switched in one second, and the general video picture is in a changing state, compared with other non-video applications, the picture changes are compared.
- the user's picture remains basically the same, but generally there will be audio output, and the output audio is generally in the process of change.
- the first picture and the second picture displayed by the first preset duration of the current application interval are first acquired, and are stored in a preset storage space in the form of a picture, for example, acquiring. Applying the currently displayed first picture and the second picture after the first preset duration; and then calculating the primary color gain value of the preset area in the acquired first picture and the area corresponding to the preset area in the second picture The difference between the base color gain values to determine if the two pictures are the same.
- the primary color gain value of the different buffer storage pictures may be opened for different applications, and the primary color gain value may be any one of a red gain value, a blue gain value, or a green gain value. It can be set by the user as needed, preferably 10%-30% of the display area of the current picture, and the first picture and the preset area of the second picture are corresponding, that is, the area of the same position is selected to perform the difference of the primary color gain values.
- the difference may be the difference between the gain values of each pixel in the preset area, or the average primary color gain values of all the pixels in the preset area of the first picture and the second picture may be separately calculated, and then calculated.
- the difference in the average gain value In order to enhance the accuracy of the determination result, preferably, the first preset duration is 0.5-2 seconds, or the first preset duration is 1 second.
- step S11 to step S12 may be re-executed until the calculated difference is greater than or equal to the preset value, until the base color gain value calculated by the preset number of times is continuously selected. If the difference is greater than or equal to the preset value, it is determined that the current application is a video application, wherein the preset number can be set by the user.
- the current picture does not change substantially within the first preset duration, and it is determined that the current application is not a video application, and may be an audio class, a text class, a picture class, or the like. application.
- the output interval of the first piece of audio and the second piece of audio is separated by a second preset duration. If different, the current application is determined to be an audio class.
- the application if the same, determines that the current application is another type of application, and the other types of applications may be applications such as a text class or a picture class.
- step S11 to step S12 may be re-executed until the calculated difference is less than the preset value, until the preset number of times is calculated. If the difference between the obtained primary color gain values is less than the preset value, it is determined that the current application is an audio application, wherein the preset number can be set by the user.
- the application type of the application may also be determined in the following manner:
- Step S17 reading a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type
- Step S18 parsing the read configuration file including the intent type to determine an application type of the application.
- the configuration file of the opened application is read, and the application type of the application is determined by the intent type in the configuration file, wherein the intent type is an abstract description for performing an operation, and the application type of the application software can be determined by parsing the intent type.
- the information in the configuration file is different.
- the intent, category, or filter (filter type) are different. Therefore, the profile of the application can be judged according to the analysis of the configuration file. App types.
- other methods for determining an application type may be adopted, for example, determining an application type according to a function corresponding to the application interface, and counting an opening duration of each interface, corresponding to an application interface having the longest opening duration.
- the function determines the application type; and the user can divide the application into different types according to different judgment methods, and will not be enumerated here.
- Step S20 Create a type identifier corresponding to the application type for the application.
- the type identifier corresponding to the application type is created for the application.
- a storage space may be created for storing the type identifier, the type identifier corresponding to the video application is 1, and the type identifier corresponding to the audio application is 2, and the like.
- the type identifier of the class application is 3, or the type identifier of the video application is videoapp, the type identifier of the audio application is radioapp, and the type identifier of the other application is otherapp.
- the user can Need to be set up, as long as you can distinguish between different types of applications.
- Step S30 when the smart terminal displays the icon of the application, displaying the type identifier or the text information associated with the type identifier at the icon of the application.
- the smart terminal displays the icon of the application, for example, on the desktop or other interface that needs to display the application icon
- the type identifier can directly reflect the type of the application
- the type identifier can be directly displayed, and the user can also type for each type.
- the associated text information is identified and displayed at the corresponding icon, prompting the type of the application identified by the icon.
- the method for displaying an application type based on an application icon determines a type of an application that the smart terminal currently opens, and creates a type identifier corresponding to the application type for the application.
- the smart terminal displays the icon of the application
- the icon of the application The type identifier or the text information associated with the type identifier is displayed, so that the terminal can automatically display the application type after the icon display interface is opened, and the user can determine whether it is an application that is needed according to the displayed type identifier or text information.
- a first embodiment of a method for displaying an application type based on an application icon based on the present invention proposes a second embodiment of the method of the present invention for displaying an application type based on an application icon.
- the method for displaying an application type based on the application icon further includes the following steps:
- step S10 is performed.
- the application determines the application type by performing step S10.
- not every display interface of the application can reflect the function of the application. For example, some video software is not always located in the video playing, therefore, in order to enhance the accuracy of the judgment, it can be set.
- the user can trigger the type identification instruction on the interface that he thinks can reflect the current application feature, and the smart terminal detects whether the application has the type identifier when receiving the application type identification instruction. .
- the method for displaying the application type based on the application icon may further include the following steps:
- step S10 is performed.
- step S10 the step of determining whether the application is a background application may be performed.
- the user may also preset a list of applications that need to be automatically identified by the application type as needed. For example, the user can add an application that cannot determine the application type according to the application name to the above list. After the application is opened, before identifying the application type, it is first determined whether it is a preset application, and if so, the application type is identified. For those applications that can see the type of application directly by name, there is no need to display their type on the display icon to avoid too much display when there are too many icons placed on the desktop.
- the user may also set the type display mode, and the user may turn off the corresponding display mode when the user does not need to display the type identifier on the icon, so that the icon display interface is not The type identifier or text information associated with the type identifier is displayed again.
- the mode can be enabled, so that the user can directly determine the type of the application by using the type identifier displayed at the icon of the application or the text information associated with the type identifier.
- the invention also proposes an intelligent terminal for displaying an application type based on an application icon.
- FIG. 4 it is a schematic diagram of functional modules of a first embodiment of an intelligent terminal based on an application icon display application type according to the present invention.
- the smart terminal that displays the application type based on the application icon includes:
- the determining module 10 is configured to determine an application type of the smart terminal currently opening the application.
- the method provided in this embodiment is applicable to various smart devices such as a smart TV, a smart phone, and a tablet computer.
- the application type of the currently open application is determined. There are various implementation manners for determining the application type. Two of them.
- the determining module 10 may include the following units:
- the acquiring unit 11 is configured to acquire a first screen currently displayed by the application and a second screen after the first preset duration is separated;
- the calculating unit 12 is configured to calculate a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;
- the determining unit 13 is configured to determine that the application is a video application when the difference is greater than or equal to a preset value
- the determining unit 14 is configured to determine, when the difference is less than the preset value, whether the first piece of audio and the second piece of audio output by the application are the same, wherein the first piece of audio and the second part
- the output interval of the segment audio is a second preset duration
- the determining unit 13 is further configured to: if the first segment audio is different from the second segment audio, determine that the application is an audio application, and if the first segment audio and the second segment audio are the same, Then the application is determined to be other types of applications.
- the type of the application is divided into a video application, an audio application, and other applications, and the application type is determined according to the image displayed by the application.
- the screen switching is very fast when playing the video, and the general The frame rate of the video can reach at least 25 frames, that is, at least 25 frames of pictures can be switched in one second, and the general video picture is in a changing state, compared with other non-video applications, the picture changes are compared.
- the user's picture remains basically the same, but generally there will be audio output, and the output audio is generally in the process of change.
- the acquiring unit 11 when the application type is determined, the acquiring unit 11 first acquires the first screen and the second screen displayed by the first preset duration of the current application interval, and stores the image in the preset storage space in the form of a picture. For example, acquiring a first picture currently displayed by the application and a second picture after the first preset duration; and then calculating the base color gain value of the preset area in the acquired first picture and the second picture in the second picture The difference between the primary color gain values of the regions corresponding to the regions is determined to determine whether the two frames are the same.
- the primary color gain value of the different buffer storage pictures may be opened for different applications, and the primary color gain value may be any one of a red gain value, a blue gain value, or a green gain value. It can be set by the user as needed, preferably 10%-30% of the display area of the current picture, and the first picture and the preset area of the second picture are corresponding, that is, the area of the same position is selected to perform the difference of the primary color gain values.
- the difference may be the difference between the gain values of each pixel in the preset area, or the average primary color gain values of all the pixels in the preset area of the first picture and the second picture may be separately calculated, and then calculated.
- the difference in the average gain value In order to enhance the accuracy of the determination result, preferably, the first preset duration is 0.5-2 seconds, or the first preset duration is 1 second.
- the determining unit 13 determines that the current application is a video application. Further, in other embodiments, in order to enhance the accuracy of the determination, the first picture and the second picture may be re-acquired when the calculated difference is greater than or equal to the preset value, until the preset number of times is calculated. The difference between the primary color gain values is greater than or equal to the preset value, and then the current application is determined to be a video application, wherein the preset number can be set by the user.
- the current picture does not change substantially within the first preset duration, and it is determined that the current application is not a video application, and may be an audio class or a text class or a picture class.
- the determining unit 14 determines whether the first piece of audio and the second piece of audio output by the application are the same, wherein the output interval of the first piece of audio and the second piece of audio is separated by a second preset duration, and if different, the determining unit 13
- the determining that the current application is an audio application if the same, the determining unit 13 determines that the current application is another type of application, and the other types of applications may be applications such as a text class or a picture class.
- the first picture and the second picture may be re-acquired until the calculated difference is less than the preset value, until the preset number is consecutive If the difference between the primary color gain values calculated by the directory is less than the preset value, it is determined that the current application is an audio application, wherein the preset number can be set by the user.
- the determining module 10 may further include the following units:
- the reading unit 15 is configured to read a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type;
- the parsing unit 16 is configured to parse the read configuration file including the intent type to determine an application type of the application.
- the reading unit 15 reads the configuration file of the opened application, and the parsing unit 16 determines the application type of the application by using an intent type in the configuration file, wherein the intent type is an abstract description for performing an operation, and the intent type can be analyzed by Determine the application type of the application software.
- the information in the configuration file is different for different types of applications. For example, the intent, category, or filter type are different. Therefore, the configuration can be based on the application.
- the parsing of the file determines the type of application it belongs to.
- other methods for determining an application type may be adopted, for example, determining an application type according to a function corresponding to the application interface, and counting an opening duration of each interface, corresponding to an application interface having the longest opening duration.
- the function determines the application type; and the user can divide the application into different types according to different judgment methods, and will not be enumerated here.
- the adding module 20 is configured to create a type identifier corresponding to the application type for the application.
- the adding module 20 creates a type identifier corresponding to the application type for the application.
- a storage space may be created for storing the type identifier, the type identifier corresponding to the video application is 1, and the type identifier corresponding to the audio application is 2, the type identifier of the other type of application is 3, or the type identifier of the video application is videoapp, the type identifier of the audio application is radioapp, and the type identifier of the other application is otherapp, etc. Users can set as needed, as long as they can distinguish between different types of applications.
- the display module 30 is configured to display the type identifier or the text information associated with the type identifier at an icon of the application when the smart terminal displays the icon of the application.
- the display module 30 can directly display the type identifier, and the user can also Each type identifies the associated text information for display at the corresponding icon, prompting the type of the application identified by the icon.
- the smart terminal based on the application icon display application type in the embodiment determines the application type of the application currently opened by the smart terminal, and creates a type identifier corresponding to the application type for the application.
- the application is The icon displays the type identifier or the text information associated with the type identifier. In this way, after the icon display interface is opened, the terminal can automatically display the application type, and the user can determine whether it is an application that is needed according to the displayed type identifier or text information.
- the smart terminal based on the application icon display application type further includes the following modules:
- the detecting module 40 is configured to detect whether the application has a type identifier before starting the application;
- the determining module 10 is further configured to determine an application type of the application when the application does not have a type identifier.
- the application, determination module 10 determines the type of application.
- not every display interface of the application can reflect the function of the application. For example, some video software is not always located in the video playing, therefore, in order to enhance the accuracy of the judgment, it can be set.
- the user can trigger the type identification instruction on the interface that he thinks can reflect the current application feature, and the smart terminal detects whether the application has the type identifier when receiving the application type identification instruction. .
- the smart terminal based on the application icon display application type may further include the following modules:
- a determining module configured to determine whether the application is a background application
- the determining module 10 is further configured to determine an application type of the application when the application is not a background application.
- the determining module first determines whether the application is a background application, and if it is a background application, the application type is not required to be determined.
- the user may also preset a list of applications that need to be automatically identified by the application type as needed. For example, the user can add an application that cannot determine the application type according to the application name to the above list. After the application is opened, before identifying the application type, it is first determined whether it is a preset application, and if so, the application type is identified. For those applications that can see the type of application directly by name, there is no need to display their type on the display icon to avoid too much display when there are too many icons placed on the desktop.
- the user may also set the type display mode, and the user may turn off the corresponding display mode when the user does not need to display the type identifier on the icon, so that the icon display interface is not The type identifier or text information associated with the type identifier is displayed again.
- the mode can be enabled, so that the user can directly determine the type of the application by using the type identifier displayed at the icon of the application or the text information associated with the type identifier.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A method and an intelligent terminal for displaying an application type based on an application icon. The flow of the method comprises: determining the application type of an application open at present in an intelligent terminal; establishing a type identifier corresponding to the application type for the application; and when an icon of the application is displayed in the intelligent terminal, displaying the type identifier or word information associated with the type identifier at the icon of the application. The method solves the technical problem that an intelligent terminal cannot display the application type based on an application icon.
Description
技术领域Technical field
本发明涉及智能终端技术领域,尤其涉及一种基于应用图标显示应用类型的方法及智能终端。The present invention relates to the field of intelligent terminal technologies, and in particular, to a method and an intelligent terminal for displaying an application type based on an application icon.
背景技术Background technique
随着智能手机、智能电视等智能终端的发展,智能终端设备上的应用越来越多,而且应用的呈现方式主要是在桌面上以图标的方式呈现,有的应用从应用名称上无法看出应用的类型,例如根据应用名称无法判断是视频类应用、音频类应用还是杂志类应用,有时候用户为了使用方便在智能电视上安装了大量的不同类型的应用,但是没有记住各个应用的类型,而且,由于现有的智能终端不能基于应用图标显示应用类型,每次用户需要使用某一类型的应用时,无法根据图标判断应用的类型,需要开启应用后才能判断是否是自己需要的应用,导致用户开启多个应用后才能找到自己需要的应用。With the development of smart terminals such as smart phones and smart TVs, there are more and more applications on smart terminal devices, and the application presentation methods are mainly presented on the desktop as icons, and some applications cannot be seen from the application names. The type of application, for example, cannot be judged as a video application, an audio application, or a magazine application according to the application name. Sometimes a user installs a large number of different types of applications on a smart TV for convenience, but does not remember the type of each application. Moreover, since the existing smart terminal cannot display the application type based on the application icon, each time the user needs to use a certain type of application, the type of the application cannot be judged according to the icon, and the application needs to be opened to determine whether it is an application that is needed by itself. Allows users to open multiple apps to find the apps they need.
发明内容Summary of the invention
本发明提供一种基于应用图标显示应用类型的方法及智能终端,其主要目的在于解决不能基于应用图标显示应用类型的技术问题。The present invention provides a method and an intelligent terminal for displaying an application type based on an application icon, the main purpose of which is to solve the technical problem that the application type cannot be displayed based on the application icon.
为实现上述目的,本发明提供一种基于应用图标显示应用类型的方法,该基于应用图标显示应用类型的方法包括:To achieve the above object, the present invention provides a method for displaying an application type based on an application icon, and the method for displaying an application type based on an application icon includes:
应用启动时检测所述应用是否具有类型标识;Detecting whether the application has a type identifier when the application starts;
若所述应用不具有类型标识,则确定智能终端当前开启应用的应用类型;If the application does not have a type identifier, determining an application type of the application currently opened by the smart terminal;
其中,获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;The first picture currently displayed by the application and the second picture after the first preset duration are obtained;
计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;Calculating a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;
当所述差值大于或者等于预设值时,确定所述应用为视频类应用;Determining that the application is a video application when the difference is greater than or equal to a preset value;
当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;When the difference is less than the preset value, determining whether the first piece of audio and the second piece of audio output by the application are the same, wherein an output interval of the first piece of audio and the second piece of audio is Two preset durations;
若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用;If the first piece of audio is different from the second piece of audio, determining that the application is an audio application;
若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用;If the first piece of audio and the second piece of audio are the same, determining that the application is another type of application;
为所述应用创建所述应用类型对应的类型标识;及Creating a type identifier corresponding to the application type for the application; and
当所述智能终端显示所述应用的图标时,在所述应用的图标处显示所述类型标识或者与所述类型标识关联的文字信息。When the smart terminal displays an icon of the application, the type identifier or text information associated with the type identifier is displayed at an icon of the application.
优选地,该方法还包括步骤:Preferably, the method further comprises the steps of:
判断所述应用是否为后台应用;及Determining whether the application is a background application; and
若所述应用为后台应用,则无需确定该应用的类型。If the application is a background application, there is no need to determine the type of the application.
为实现上述目的,本发明提供一种基于应用图标显示应用类型的方法,该基于应用图标显示应用类型的方法包括:
To achieve the above object, the present invention provides a method for displaying an application type based on an application icon, and the method for displaying an application type based on an application icon includes:
确定智能终端当前开启应用的应用类型;Determining the application type of the application currently opened by the smart terminal;
为所述应用创建所述应用类型对应的类型标识;及Creating a type identifier corresponding to the application type for the application; and
当所述智能终端显示所述应用的图标时,在所述应用的图标处显示所述类型标识或者与所述类型标识关联的文字信息。When the smart terminal displays an icon of the application, the type identifier or text information associated with the type identifier is displayed at an icon of the application.
优选地,该方法还包括步骤:Preferably, the method further comprises the steps of:
应用启动时检测所述应用是否具有类型标识;及若所述应用具有类型标识,则不再重新确定该应用的类型。The application detects whether the application has a type identifier when it starts; and if the application has a type identifier, the type of the application is not re-determined.
优选地,该方法还包括步骤:Preferably, the method further comprises the steps of:
判断所述应用是否为后台应用;及Determining whether the application is a background application; and
若所述应用为后台应用,则无需确定该应用的类型。If the application is a background application, there is no need to determine the type of the application.
优选地,所述确定智能终端当前开启应用的应用类型的步骤包括:Preferably, the step of determining an application type of the smart terminal currently opening the application comprises:
获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;Obtaining a first picture currently displayed by the application and a second picture after the first preset duration;
计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;Calculating a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;
当所述差值大于或者等于预设值时,确定所述应用为视频类应用;Determining that the application is a video application when the difference is greater than or equal to a preset value;
当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;When the difference is less than the preset value, determining whether the first piece of audio and the second piece of audio output by the application are the same, wherein an output interval of the first piece of audio and the second piece of audio is Two preset durations;
若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用;If the first piece of audio is different from the second piece of audio, determining that the application is an audio application;
若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。If the first piece of audio and the second piece of audio are the same, it is determined that the application is another type of application.
优选地,所述确定智能终端当前开启应用的应用类型的步骤还包括:Preferably, the step of determining an application type of the smart terminal currently opening the application further includes:
读取所述智能终端当前开启应用的配置文件,其中,所述配置文件包括意图类型;Reading a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type;
对读取到的包括所述意图类型的配置文件进行解析,以确定所述应用的应用类型。The read configuration file including the intent type is parsed to determine the application type of the application.
此外,为实现上述目的,本发明还提供一种基于应用图标显示应用类型的智能终端,该基于应用图标显示应用类型的智能终端包括:In addition, in order to achieve the above object, the present invention further provides an intelligent terminal that displays an application type based on an application icon, and the smart terminal that displays an application type based on the application icon includes:
确定模块,用于确定智能终端当前开启应用的应用类型;a determining module, configured to determine an application type of the currently open application of the smart terminal;
添加模块,用于为所述应用创建所述应用类型对应的类型标识;Adding a module, configured to create a type identifier corresponding to the application type for the application;
显示模块,用于当所述智能终端显示所述应用的图标时,在所述应用的图标处显示所述类型标识或者与所述类型标识关联的文字信息。And a display module, configured to: when the smart terminal displays an icon of the application, display the type identifier or text information associated with the type identifier at an icon of the application.
优选地,所述基于应用图标显示应用类型的智能终端还包括:Preferably, the smart terminal that displays the application type based on the application icon further includes:
检测模块,用于应用启动时检测所述应用是否具有类型标识;a detecting module, configured to detect, when the application starts, whether the application has a type identifier;
所述确定模块,还用于在所述应用不具有类型标识时,确定所述应用的应用类型。The determining module is further configured to determine an application type of the application when the application does not have a type identifier.
优选地,所述基于应用图标显示应用类型的智能终端还包括:Preferably, the smart terminal that displays the application type based on the application icon further includes:
判断模块,用于判断所述应用是否为后台应用;a determining module, configured to determine whether the application is a background application;
所述确定模块,还用于当所述应用不为后台应用时,确定所述应用的应用类型。The determining module is further configured to determine an application type of the application when the application is not a background application.
优选地,所述确定模块包括:Preferably, the determining module comprises:
获取单元,用于获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;An acquiring unit, configured to acquire a first screen currently displayed by the application and a second screen after being separated by a first preset duration;
计算单元,用于计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;a calculating unit, configured to calculate a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;
确定单元,用于当所述差值大于或者等于预设值时,确定所述应用为视频类应用;a determining unit, configured to determine that the application is a video application when the difference is greater than or equal to a preset value;
判断单元,用于当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;a determining unit, configured to determine, when the difference is less than the preset value, whether the first piece of audio and the second piece of audio output by the application are the same, wherein the first piece of audio and the second piece are The output interval of the audio is separated by a second preset duration;
所述确定单元,还用于若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用,以及若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。The determining unit is further configured to: if the first piece of audio and the second piece of audio are different, determine that the application is an audio application, and if the first piece of audio and the second piece of audio are the same Then, the application is determined to be another type of application.
优选地,所述确定模块还包括:Preferably, the determining module further includes:
读取单元,用于读取所述智能终端当前开启应用的配置文件,其中,所述配置文件包括意图类型;a reading unit, configured to read a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type;
解析单元,用于对读取到的包括所述意图类型的配置文件进行解析,以确定所述应用的应用类型。And a parsing unit, configured to parse the read configuration file including the intent type to determine an application type of the application.
本发明提出的基于应用图标显示应用类型的方法及智能终端,确定智能终端当前开启应用的应用类型,并且为该应用创建应用类型对应的类型标识,当智能终端显示该应用的图标时,在应用的图标处显示类型标识或者与类型标识关联的文字信息,这样,终端在开启图标显示界面后,能够自动显示应用类型,用户可根据显示的类型标识或者文字信息判断是否是自己需要的应用。The method for displaying an application type based on an application icon and the intelligent terminal, determining an application type of the application currently opened by the smart terminal, and creating a type identifier corresponding to the application type for the application, when the smart terminal displays the icon of the application, the application The icon displays the type identifier or the text information associated with the type identifier. Thus, after the icon display interface is opened, the terminal can automatically display the application type, and the user can determine whether it is an application that is needed according to the displayed type identifier or text information.
附图说明DRAWINGS
图1为本发明基于应用图标显示应用类型的方法第一实施例的流程图;1 is a flow chart of a first embodiment of a method for displaying an application type based on an application icon according to the present invention;
图2为本发明基于应用图标显示应用类型的方法第一实施例中确定应用类型的一实施方式的细化流程图;2 is a detailed flowchart of an embodiment of determining an application type in a first embodiment of a method for displaying an application type based on an application icon;
图3为本发明基于应用图标显示应用类型的方法第一实施例中确定应用类型的另一实施方式的细化流程图;3 is a detailed flowchart of another embodiment of determining a type of application in a first embodiment of a method for displaying an application type based on an application icon;
图4为本发明基于应用图标显示应用类型的智能终端第一实施例的功能模块示意图;4 is a schematic diagram of functional modules of a first embodiment of an intelligent terminal based on an application icon display application type according to the present invention;
图5为本发明基于应用图标显示应用类型的智能终端第一实施例中确定模块的细化功能模块示意图;FIG. 5 is a schematic diagram of a refinement function module of a determining module in a first embodiment of an intelligent terminal based on an application icon display application type;
图6为本发明基于应用图标显示应用类型的智能终端第一实施例中确定模块的细化功能模块示意图;FIG. 6 is a schematic diagram of a refinement function module of a determining module in a first embodiment of an intelligent terminal based on an application icon display application type;
图7为本发明基于应用图标显示应用类型的智能终端第二实施例的功能模块示意图。FIG. 7 is a schematic diagram of functional modules of a second embodiment of an intelligent terminal based on an application icon display application type 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.
本发明提供一种基于应用图标显示应用类型的方法。The present invention provides a method of displaying an application type based on an application icon.
参照图1所示,为本发明基于应用图标显示应用类型的方法第一实施例的流程图。Referring to FIG. 1 , it is a flowchart of a first embodiment of a method for displaying an application type based on an application icon according to the present invention.
在第一实施例中,该基于应用图标显示应用类型的方法包括:In the first embodiment, the method for displaying an application type based on an application icon includes:
步骤S10,确定智能终端当前开启应用的应用类型。Step S10: Determine an application type of the application currently opened by the smart terminal.
本实施例提出的方法适用于智能电视、智能手机以及平板电脑等各种智能设备,在应用处于开启状态时,确定当前开启应用的应用类型,关于应用类型的确定有多种实施方式,以下列举其中的两种。The method provided in this embodiment is applicable to various smart devices such as a smart TV, a smart phone, and a tablet computer. When the application is in an open state, the application type of the currently open application is determined. There are various implementation manners for determining the application type. Two of them.
参照图2所示,在一实施例中,按照以下方式确定应用的应用类型:Referring to FIG. 2, in an embodiment, the application type of the application is determined in the following manner:
步骤S11,获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;Step S11, acquiring a first screen currently displayed by the application and a second screen after the interval of the first preset duration;
步骤S12,计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;Step S12, calculating a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;
步骤S13,当所述差值大于或者等于预设值时,确定所述应用为视频类应用;Step S13, when the difference is greater than or equal to a preset value, determining that the application is a video application;
步骤S14,当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;Step S14, when the difference is less than the preset value, determining whether the first piece of audio and the second piece of audio output by the application are the same, wherein the first piece of audio and the second piece of audio are The output interval is a second preset duration;
步骤S15,若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用;Step S15, if the first segment audio is different from the second segment audio, determining that the application is an audio application;
步骤S16,若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。Step S16: If the first piece of audio and the second piece of audio are the same, determine that the application is another type of application.
在本实施方式中,将应用的类型划分为视频类应用、音频类应用和其他类应用,根据应用显示的画面判断应用类型,对于视频类应用,在播放视频时画面的切换非常快,一般的视频的帧率至少能够达到25帧以上,也就是说,一秒钟至少能够切换25帧的图片,而且一般的视频画面都是处于变化状态的,相对于其他非视频类应用,其画面变化比较快,而对于音频类应用来说,用户在使用时,除了正常的界面切换之外,其画面基本上保持不变,但是一般都会有音频的输出,而且输出的音频一般处于变化中。In this embodiment, the type of the application is divided into a video application, an audio application, and other applications, and the application type is determined according to the image displayed by the application. For the video application, the screen switching is very fast when playing the video, and the general The frame rate of the video can reach at least 25 frames, that is, at least 25 frames of pictures can be switched in one second, and the general video picture is in a changing state, compared with other non-video applications, the picture changes are compared. Fast, but for audio applications, in addition to the normal interface switching, the user's picture remains basically the same, but generally there will be audio output, and the output audio is generally in the process of change.
因此本实施例中,在进行应用类型的确定时,先获取当前应用间隔第一预设时长显示的第一画面和第二画面,以图片的形式存储在预设的存储空间中,例如,获取应用当前显示的第一画面以及间隔第一预设时长后的第二画面;然后,计算获取到的第一画面中预设区域的基色增益值和第二画面中与预设区域对应的区域的基色增益值之间的差值以判断两幅画面是否相同。Therefore, in the embodiment, when the application type is determined, the first picture and the second picture displayed by the first preset duration of the current application interval are first acquired, and are stored in a preset storage space in the form of a picture, for example, acquiring. Applying the currently displayed first picture and the second picture after the first preset duration; and then calculating the primary color gain value of the preset area in the acquired first picture and the area corresponding to the preset area in the second picture The difference between the base color gain values to determine if the two pictures are the same.
需要说明的是,可以针对不同的应用开辟不同的缓存区存储画面的基色增益值,上述基色增益值可以是红色增益值、蓝色增益值或者绿色增益值中的任意一种,上述预设区域可以由用户根据需要设置,优选为当前画面的10%-30%的显示区域,且第一画面与第二画面的预设区域是对应的,即选取同一位置的区域进行基色增益值的差值计算,上述差值可以是预设区域中每一像素点的增益值的差值,也可以先分别计算第一画面和第二画面的预设区域的所有像素点的平均基色增益值,再计算平均增益值的差值。为了增强判断结果的准确性,优选地,上述第一预设时长取0.5-2秒,或者上述第一预设时长取1秒。It should be noted that the primary color gain value of the different buffer storage pictures may be opened for different applications, and the primary color gain value may be any one of a red gain value, a blue gain value, or a green gain value. It can be set by the user as needed, preferably 10%-30% of the display area of the current picture, and the first picture and the preset area of the second picture are corresponding, that is, the area of the same position is selected to perform the difference of the primary color gain values. The difference may be the difference between the gain values of each pixel in the preset area, or the average primary color gain values of all the pixels in the preset area of the first picture and the second picture may be separately calculated, and then calculated. The difference in the average gain value. In order to enhance the accuracy of the determination result, preferably, the first preset duration is 0.5-2 seconds, or the first preset duration is 1 second.
为所述差值设定预设值,当计算得到的差值大于或者等于预设值时,说明当前的画面在很短的时间内发生了变化,确定当前应用为视频类应用,进一步地,在其他的实施例中,为了增强判断的准确性,可以在计算得到的差值大于或者等于预设值时,重新执行步骤S11至步骤S12,直至连续预设数目次计算得到的基色增益值的差值都大于或者等于预设值,则确定当前应用为视频类应用,其中,预设数目可以由用户设置。Setting a preset value for the difference, when the calculated difference is greater than or equal to the preset value, indicating that the current picture changes in a short time, determining that the current application is a video application, and further, In other embodiments, in order to enhance the accuracy of the judgment, step S11 to step S12 may be re-executed until the calculated difference is greater than or equal to the preset value, until the base color gain value calculated by the preset number of times is continuously selected. If the difference is greater than or equal to the preset value, it is determined that the current application is a video application, wherein the preset number can be set by the user.
若计算得到的差值小于预设值,说明当前的画面在第一预设时长内基本没有发生变化,则确定当前应用不为视频类应用,可能是音频类或者文字类、图片类等其他类应用。此时,判断该应用输出的第一段音频和第二段音频是否相同,其中,第一段音频和第二段音频的输出间隔第二预设时长,若不同,则确定当前应用为音频类应用,若相同,则确定当前应用为其他类应用,所述其他类应用可以为文字类、图片类等应用。If the calculated difference is less than the preset value, the current picture does not change substantially within the first preset duration, and it is determined that the current application is not a video application, and may be an audio class, a text class, a picture class, or the like. application. At this time, it is determined whether the first piece of audio and the second piece of audio output by the application are the same. The output interval of the first piece of audio and the second piece of audio is separated by a second preset duration. If different, the current application is determined to be an audio class. The application, if the same, determines that the current application is another type of application, and the other types of applications may be applications such as a text class or a picture class.
同样地,在计算得到的差值小于预设值时,为了增强判断的准确性,可以在计算得到的差值小于预设值时,重新执行步骤S11至步骤S12,直至连续预设数目次计算得到的基色增益值的差值都小于预设值,则确定当前应用为音频类应用,其中,预设数目可以由用户设置。Similarly, when the calculated difference is less than the preset value, in order to enhance the accuracy of the determination, step S11 to step S12 may be re-executed until the calculated difference is less than the preset value, until the preset number of times is calculated. If the difference between the obtained primary color gain values is less than the preset value, it is determined that the current application is an audio application, wherein the preset number can be set by the user.
参照图3所示,在另一实施例中,还可以按照以下方式确定应用的应用类型:Referring to FIG. 3, in another embodiment, the application type of the application may also be determined in the following manner:
步骤S17,读取所述智能终端当前开启应用的配置文件,其中,所述配置文件包括意图类型;Step S17, reading a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type;
步骤S18,对读取到的包括所述意图类型的配置文件进行解析,以确定所述应用的应用类型。Step S18, parsing the read configuration file including the intent type to determine an application type of the application.
读取开启的应用的配置文件,通过配置文件中的intent(意图)类型判断应用的应用类型,其中,意图类型是执行某操作的一个抽象描述,通过解析意图类型可以判断应用软件的应用类型,对于不同类型的应用,其配置文件中的信息是不相同的,例如intent、category或者filter(过滤器)类型等都是不相同的,因此,可以根据对应用的配置文件的解析判断其所属的应用类型。The configuration file of the opened application is read, and the application type of the application is determined by the intent type in the configuration file, wherein the intent type is an abstract description for performing an operation, and the application type of the application software can be determined by parsing the intent type. For different types of applications, the information in the configuration file is different. For example, the intent, category, or filter (filter type) are different. Therefore, the profile of the application can be judged according to the analysis of the configuration file. App types.
在其他的实施例中,也可以采用的其他确定应用类型的方法,例如,根据应用界面对应的功能确定应用类型,可以统计应用每一界面的开启时长,根据开启时长最长的应用界面对应的功能确定应用类型;并且用户可以根据不同的判断方法将应用分为不同的类型,在此不再一一列举。In other embodiments, other methods for determining an application type may be adopted, for example, determining an application type according to a function corresponding to the application interface, and counting an opening duration of each interface, corresponding to an application interface having the longest opening duration. The function determines the application type; and the user can divide the application into different types according to different judgment methods, and will not be enumerated here.
步骤S20,为所述应用创建所述应用类型对应的类型标识。Step S20: Create a type identifier corresponding to the application type for the application.
在确定应用类型之后,为应用创建应用类型对应的类型标识,例如,可以开辟一个存储空间用于存储类型标识,视频类应用对应的类型标识为1,音频类应用对应的类型标识为2,其他类应用对应的类型标识为3等,或者,视频类应用对应的类型标识为videoapp,音频类应用对应的类型标识为radioapp,其他类应用对应的类型标识为otherapp等,关于类型标识,用户可以根据需要设置,只要能够区分不同类型的应用即可。After the application type is determined, the type identifier corresponding to the application type is created for the application. For example, a storage space may be created for storing the type identifier, the type identifier corresponding to the video application is 1, and the type identifier corresponding to the audio application is 2, and the like. The type identifier of the class application is 3, or the type identifier of the video application is videoapp, the type identifier of the audio application is radioapp, and the type identifier of the other application is otherapp. For the type identifier, the user can Need to be set up, as long as you can distinguish between different types of applications.
步骤S30,当所述智能终端显示所述应用的图标时,在所述应用的图标处显示所述类型标识或者与所述类型标识关联的文字信息。Step S30, when the smart terminal displays the icon of the application, displaying the type identifier or the text information associated with the type identifier at the icon of the application.
智能终端在显示应用的图标时,例如,在桌面上,或者其他需要显示应用图标的界面上,当类型标识能够直接体现出应用的类型时,可以直接显示类型标识,用户也可以为每一类型标识关联文字信息,用于显示在对应的图标处,提示该图标所标识的应用的类型。
When the smart terminal displays the icon of the application, for example, on the desktop or other interface that needs to display the application icon, when the type identifier can directly reflect the type of the application, the type identifier can be directly displayed, and the user can also type for each type. The associated text information is identified and displayed at the corresponding icon, prompting the type of the application identified by the icon.
本实施例提出的基于应用图标显示应用类型的方法,确定智能终端当前开启应用的应用类型,并且为该应用创建应用类型对应的类型标识,当智能终端显示该应用的图标时,在应用的图标处显示类型标识或者与类型标识关联的文字信息,这样,终端在开启图标显示界面后,能够自动显示应用类型,用户可根据显示的类型标识或者文字信息判断是否是自己需要的应用。The method for displaying an application type based on an application icon according to the embodiment determines a type of an application that the smart terminal currently opens, and creates a type identifier corresponding to the application type for the application. When the smart terminal displays the icon of the application, the icon of the application The type identifier or the text information associated with the type identifier is displayed, so that the terminal can automatically display the application type after the icon display interface is opened, and the user can determine whether it is an application that is needed according to the displayed type identifier or text information.
基于本发明基于应用图标显示应用类型的方法的第一实施例提出本发明基于应用图标显示应用类型的方法的第二实施例。在本实施例中,在步骤S10之前,该基于应用图标显示应用类型的方法还包括以下步骤:A first embodiment of a method for displaying an application type based on an application icon based on the present invention proposes a second embodiment of the method of the present invention for displaying an application type based on an application icon. In this embodiment, before step S10, the method for displaying an application type based on the application icon further includes the following steps:
在启动应用前,检测应用是否具有类型标识;Detect whether the application has a type identifier before starting the application;
如果检测到所述应用不具有类型标识,则启动所述应用并执行步骤S10。If it is detected that the application does not have a type identification, the application is launched and step S10 is performed.
为了避免重复判断,可以在执行确定智能终端当前开启应用的应用类型的步骤之前,检测该应用是否具有类型标识,若有,则说明已经确定过应用类型,无需再重复确定,若无,则启动该应用并通过执行步骤S10来确定该应用类型。此外,对于一些应用,并不是该应用的每一个显示界面都能够体现出该应用的功能,例如,一些视频软件并不总是位于视频播放中,因此,为了增强判断的准确性,可以设置用来触发的控件,用户在第一次使用该应用时,可以在自己认为能够体现当前应用特征的界面触发类型识别指令,智能终端在接收到应用类型识别指令时,检测所述应用是否具有类型标识。In order to avoid repeated judgment, it may be detected whether the application has a type identifier before the step of determining the application type of the application currently opened by the smart terminal, and if yes, the application type has been determined, and no further determination is required, and if not, the device is started. The application determines the application type by performing step S10. In addition, for some applications, not every display interface of the application can reflect the function of the application. For example, some video software is not always located in the video playing, therefore, in order to enhance the accuracy of the judgment, it can be set. To trigger the control, when the user first uses the application, the user can trigger the type identification instruction on the interface that he thinks can reflect the current application feature, and the smart terminal detects whether the application has the type identifier when receiving the application type identification instruction. .
进一步地,在其他实施例中,在步骤S10之前,该基于应用图标显示应用类型的方法还可以包括以下步骤:Further, in other embodiments, before the step S10, the method for displaying the application type based on the application icon may further include the following steps:
在应用启动后,判断所述应用是否为后台应用;After the application is started, determining whether the application is a background application;
如果所述应用不为后台应用,则执行步骤S10。If the application is not a background application, step S10 is performed.
一般地,后台应用不会在桌面上显示图标,且只在后台运行。故,对于这类应用而言,没有确定其类型并进行类型标识的必要。因而,在步骤S10之前,还可以进行上述先判断应用是否为后台应用的步骤。In general, background apps don't display icons on the desktop and only run in the background. Therefore, for such applications, there is no need to determine their type and type identification. Therefore, before the step S10, the step of determining whether the application is a background application may be performed.
更进一步地,在一些实施例中,用户还可以根据需要,预先设置需要进行应用类型自动识别的应用列表。例如,用户可以将无法根据应用名称判断应用类型的应用加入到上述列表中,在开启应用之后,进行识别应用类型之前,先判断是否为预设应用,若是,再进行应用类型的识别,这样,对于那些根据名称就能够直接看出应用类型的应用就无需在显示图标上显示其类型,以避免当桌面上放置有太多图标时,显示信息过多。Further, in some embodiments, the user may also preset a list of applications that need to be automatically identified by the application type as needed. For example, the user can add an application that cannot determine the application type according to the application name to the above list. After the application is opened, before identifying the application type, it is first determined whether it is a preset application, and if so, the application type is identified. For those applications that can see the type of application directly by name, there is no need to display their type on the display icon to avoid too much display when there are too many icons placed on the desktop.
此外,在一些实施例中,为了保持桌面等图标显示界面的简洁,用户还可以设置类型显示模式,在用户不需要在图标上显示类型标识时可以关闭对应的显示模式,以使图标显示界面不再显示类型标识或者与类型标识关联的文字信息。反之,若用户需要获取应用类型识别时,则可以开启该模式,使用户可以通过应用的图标处显示的类型标识或者与类型标识关联的文字信息直接确定所述应用的类型。In addition, in some embodiments, in order to keep the icon display interface of the desktop and the like simple, the user may also set the type display mode, and the user may turn off the corresponding display mode when the user does not need to display the type identifier on the icon, so that the icon display interface is not The type identifier or text information associated with the type identifier is displayed again. On the other hand, if the user needs to obtain the application type identification, the mode can be enabled, so that the user can directly determine the type of the application by using the type identifier displayed at the icon of the application or the text information associated with the type identifier.
本发明还提出一种基于应用图标显示应用类型的智能终端。The invention also proposes an intelligent terminal for displaying an application type based on an application icon.
参照图4所示,为本发明基于应用图标显示应用类型的智能终端第一实施例的功能模块示意图。Referring to FIG. 4, it is a schematic diagram of functional modules of a first embodiment of an intelligent terminal based on an application icon display application type according to the present invention.
在该实施例中,该基于应用图标显示应用类型的智能终端包括:In this embodiment, the smart terminal that displays the application type based on the application icon includes:
确定模块10,用于确定智能终端当前开启应用的应用类型。The determining module 10 is configured to determine an application type of the smart terminal currently opening the application.
本实施例提出的方法适用于智能电视、智能手机以及平板电脑等各种智能设备,在应用处于开启状态时,确定当前开启应用的应用类型,关于应用类型的确定有多种实施方式,以下列举其中的两种。The method provided in this embodiment is applicable to various smart devices such as a smart TV, a smart phone, and a tablet computer. When the application is in an open state, the application type of the currently open application is determined. There are various implementation manners for determining the application type. Two of them.
参照图5所示,在一实施例中,确定模块10可以包括以下单元:Referring to FIG. 5, in an embodiment, the determining module 10 may include the following units:
获取单元11,用于获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;The acquiring unit 11 is configured to acquire a first screen currently displayed by the application and a second screen after the first preset duration is separated;
计算单元12,用于计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;The calculating unit 12 is configured to calculate a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;
确定单元13,用于当所述差值大于或者等于预设值时,确定所述应用为视频类应用;The determining unit 13 is configured to determine that the application is a video application when the difference is greater than or equal to a preset value;
判断单元14,用于当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;The determining unit 14 is configured to determine, when the difference is less than the preset value, whether the first piece of audio and the second piece of audio output by the application are the same, wherein the first piece of audio and the second part The output interval of the segment audio is a second preset duration;
确定单元13,还用于若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用,以及若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。The determining unit 13 is further configured to: if the first segment audio is different from the second segment audio, determine that the application is an audio application, and if the first segment audio and the second segment audio are the same, Then the application is determined to be other types of applications.
在本实施方式中,将应用的类型划分为视频类应用、音频类应用和其他类应用,根据应用显示的画面判断应用类型,对于视频类应用,在播放视频时画面的切换非常快,一般的视频的帧率至少能够达到25帧以上,也就是说,一秒钟至少能够切换25帧的图片,而且一般的视频画面都是处于变化状态的,相对于其他非视频类应用,其画面变化比较快,而对于音频类应用来说,用户在使用时,除了正常的界面切换之外,其画面基本上保持不变,但是一般都会有音频的输出,而且输出的音频一般处于变化中。In this embodiment, the type of the application is divided into a video application, an audio application, and other applications, and the application type is determined according to the image displayed by the application. For the video application, the screen switching is very fast when playing the video, and the general The frame rate of the video can reach at least 25 frames, that is, at least 25 frames of pictures can be switched in one second, and the general video picture is in a changing state, compared with other non-video applications, the picture changes are compared. Fast, but for audio applications, in addition to the normal interface switching, the user's picture remains basically the same, but generally there will be audio output, and the output audio is generally in the process of change.
因此本实施例中,在进行应用类型的确定时,获取单元11先获取当前应用间隔第一预设时长显示的第一画面和第二画面,以图片的形式存储在预设的存储空间中,例如,获取应用当前显示的第一画面以及间隔第一预设时长后的第二画面;然后,计算单元12计算获取到的第一画面中预设区域的基色增益值和第二画面中与预设区域对应的区域的基色增益值之间的差值以判断两幅画面是否相同。Therefore, in the embodiment, when the application type is determined, the acquiring unit 11 first acquires the first screen and the second screen displayed by the first preset duration of the current application interval, and stores the image in the preset storage space in the form of a picture. For example, acquiring a first picture currently displayed by the application and a second picture after the first preset duration; and then calculating the base color gain value of the preset area in the acquired first picture and the second picture in the second picture The difference between the primary color gain values of the regions corresponding to the regions is determined to determine whether the two frames are the same.
需要说明的是,可以针对不同的应用开辟不同的缓存区存储画面的基色增益值,上述基色增益值可以是红色增益值、蓝色增益值或者绿色增益值中的任意一种,上述预设区域可以由用户根据需要设置,优选为当前画面的10%-30%的显示区域,且第一画面与第二画面的预设区域是对应的,即选取同一位置的区域进行基色增益值的差值计算,上述差值可以是预设区域中每一像素点的增益值的差值,也可以先分别计算第一画面和第二画面的预设区域的所有像素点的平均基色增益值,再计算平均增益值的差值。为了增强判断结果的准确性,优选地,上述第一预设时长取0.5-2秒,或者上述第一预设时长取1秒。It should be noted that the primary color gain value of the different buffer storage pictures may be opened for different applications, and the primary color gain value may be any one of a red gain value, a blue gain value, or a green gain value. It can be set by the user as needed, preferably 10%-30% of the display area of the current picture, and the first picture and the preset area of the second picture are corresponding, that is, the area of the same position is selected to perform the difference of the primary color gain values. The difference may be the difference between the gain values of each pixel in the preset area, or the average primary color gain values of all the pixels in the preset area of the first picture and the second picture may be separately calculated, and then calculated. The difference in the average gain value. In order to enhance the accuracy of the determination result, preferably, the first preset duration is 0.5-2 seconds, or the first preset duration is 1 second.
为所述差值设定预设值,当计算得到的差值大于或者等于预设值时,说明当前的画面在很短的时间内发生了变化,确定单元13确定当前应用为视频类应用,进一步地,在其他的实施例中,为了增强判断的准确性,可以在计算得到的差值大于或者等于预设值时,重新获取第一画面和第二画面,直至连续预设数目次计算得到的基色增益值的差值都大于或者等于预设值,则确定当前应用为视频类应用,其中,预设数目可以由用户设置。Setting a preset value for the difference, when the calculated difference is greater than or equal to the preset value, indicating that the current picture changes in a short time, the determining unit 13 determines that the current application is a video application, Further, in other embodiments, in order to enhance the accuracy of the determination, the first picture and the second picture may be re-acquired when the calculated difference is greater than or equal to the preset value, until the preset number of times is calculated. The difference between the primary color gain values is greater than or equal to the preset value, and then the current application is determined to be a video application, wherein the preset number can be set by the user.
若计算单元12计算得到的差值小于预设值,说明当前的画面在第一预设时长内基本没有发生变化,则确定当前应用不为视频类应用,可能是音频类或者文字类、图片类等其他类应用。此时,判断单元14判断该应用输出的第一段音频和第二段音频是否相同,其中,第一段音频和第二段音频的输出间隔第二预设时长,若不同,则确定单元13确定当前应用为音频类应用,若相同,则确定单元13确定当前应用为其他类应用,所述其他类应用可以为文字类、图片类等应用。If the difference calculated by the calculation unit 12 is less than the preset value, the current picture does not change substantially within the first preset duration, and it is determined that the current application is not a video application, and may be an audio class or a text class or a picture class. Other types of applications. At this time, the determining unit 14 determines whether the first piece of audio and the second piece of audio output by the application are the same, wherein the output interval of the first piece of audio and the second piece of audio is separated by a second preset duration, and if different, the determining unit 13 The determining that the current application is an audio application, if the same, the determining unit 13 determines that the current application is another type of application, and the other types of applications may be applications such as a text class or a picture class.
同样地,在计算得到的差值小于预设值时,为了增强判断的准确性,可以在计算得到的差值小于预设值时,重新获取第一画面和第二画面,直至连续预设数目次计算得到的基色增益值的差值都小于预设值,则确定当前应用为音频类应用,其中,预设数目可以由用户设置。Similarly, when the calculated difference is less than the preset value, in order to enhance the accuracy of the determination, the first picture and the second picture may be re-acquired until the calculated difference is less than the preset value, until the preset number is consecutive If the difference between the primary color gain values calculated by the directory is less than the preset value, it is determined that the current application is an audio application, wherein the preset number can be set by the user.
参照图6所示,在另一实施例中,确定模块10还可以包括以下单元:Referring to FIG. 6, in another embodiment, the determining module 10 may further include the following units:
读取单元15,用于读取所述智能终端当前开启应用的配置文件,其中,所述配置文件包括意图类型;The reading unit 15 is configured to read a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type;
解析单元16,用于对读取到的包括所述意图类型的配置文件进行解析,以确定所述应用的应用类型。The parsing unit 16 is configured to parse the read configuration file including the intent type to determine an application type of the application.
读取单元15读取开启的应用的配置文件,解析单元16通过配置文件中的intent(意图)类型判断应用的应用类型,其中,意图类型是执行某操作的一个抽象描述,通过解析意图类型可以判断应用软件的应用类型,对于不同类型的应用,其配置文件中的信息是不相同的,例如intent、category或者filter(过滤器)类型等都是不相同的,因此,可以根据对应用的配置文件的解析判断其所属的应用类型。The reading unit 15 reads the configuration file of the opened application, and the parsing unit 16 determines the application type of the application by using an intent type in the configuration file, wherein the intent type is an abstract description for performing an operation, and the intent type can be analyzed by Determine the application type of the application software. The information in the configuration file is different for different types of applications. For example, the intent, category, or filter type are different. Therefore, the configuration can be based on the application. The parsing of the file determines the type of application it belongs to.
在其他的实施例中,也可以采用的其他确定应用类型的方法,例如,根据应用界面对应的功能确定应用类型,可以统计应用每一界面的开启时长,根据开启时长最长的应用界面对应的功能确定应用类型;并且用户可以根据不同的判断方法将应用分为不同的类型,在此不再一一列举。In other embodiments, other methods for determining an application type may be adopted, for example, determining an application type according to a function corresponding to the application interface, and counting an opening duration of each interface, corresponding to an application interface having the longest opening duration. The function determines the application type; and the user can divide the application into different types according to different judgment methods, and will not be enumerated here.
添加模块20,用于为所述应用创建所述应用类型对应的类型标识。The adding module 20 is configured to create a type identifier corresponding to the application type for the application.
在确定应用类型之后,添加模块20为应用创建应用类型对应的类型标识,例如,可以开辟一个存储空间用于存储类型标识,视频类应用对应的类型标识为1,音频类应用对应的类型标识为2,其他类应用对应的类型标识为3等,或者,视频类应用对应的类型标识为videoapp,音频类应用对应的类型标识为radioapp,其他类应用对应的类型标识为otherapp等,关于类型标识,用户可以根据需要设置,只要能够区分不同类型的应用即可。After the application type is determined, the adding module 20 creates a type identifier corresponding to the application type for the application. For example, a storage space may be created for storing the type identifier, the type identifier corresponding to the video application is 1, and the type identifier corresponding to the audio application is 2, the type identifier of the other type of application is 3, or the type identifier of the video application is videoapp, the type identifier of the audio application is radioapp, and the type identifier of the other application is otherapp, etc. Users can set as needed, as long as they can distinguish between different types of applications.
显示模块30,用于当所述智能终端显示所述应用的图标时,在所述应用的图标处显示所述类型标识或者与所述类型标识关联的文字信息。The display module 30 is configured to display the type identifier or the text information associated with the type identifier at an icon of the application when the smart terminal displays the icon of the application.
智能终端在显示应用的图标时,例如,在桌面上,或者其他需要显示应用图标的界面上,当类型标识能够直接体现出应用的类型时,显示模块30可以直接显示类型标识,用户也可以为每一类型标识关联文字信息,用于显示在对应的图标处,提示该图标所标识的应用的类型。
When the smart terminal displays the icon of the application, for example, on the desktop or other interface that needs to display the application icon, when the type identifier can directly reflect the type of the application, the display module 30 can directly display the type identifier, and the user can also Each type identifies the associated text information for display at the corresponding icon, prompting the type of the application identified by the icon.
本实施例提出的基于应用图标显示应用类型的智能终端,确定智能终端当前开启应用的应用类型,并且为该应用创建应用类型对应的类型标识,当智能终端显示该应用的图标时,在应用的图标处显示类型标识或者与类型标识关联的文字信息,这样,终端在开启图标显示界面后,能够自动显示应用类型,用户可根据显示的类型标识或者文字信息判断是否是自己需要的应用。The smart terminal based on the application icon display application type in the embodiment determines the application type of the application currently opened by the smart terminal, and creates a type identifier corresponding to the application type for the application. When the smart terminal displays the icon of the application, the application is The icon displays the type identifier or the text information associated with the type identifier. In this way, after the icon display interface is opened, the terminal can automatically display the application type, and the user can determine whether it is an application that is needed according to the displayed type identifier or text information.
参照图7所示,基于本发明基于应用图标显示应用类型的智能终端的第一实施例提出本发明基于应用图标显示应用类型的智能终端的第二实施例。在本实施例中,该基于应用图标显示应用类型的智能终端还包括以下模块:Referring to FIG. 7, a second embodiment of an intelligent terminal based on an application icon display application type according to the present invention is proposed based on the first embodiment of the present invention. In this embodiment, the smart terminal based on the application icon display application type further includes the following modules:
检测模块40,用于在启动应用前,检测应用是否具有类型标识;The detecting module 40 is configured to detect whether the application has a type identifier before starting the application;
确定模块10,还用于在所述应用不具有类型标识时,确定所述应用的应用类型。The determining module 10 is further configured to determine an application type of the application when the application does not have a type identifier.
为了避免重复判断,可以在执行确定智能终端当前开启应用的应用类型的步骤之前,检测该应用是否具有类型标识,若有,则说明已经确定过应用类型,无需再重复确定,若无,则启动该应用,确定模块10确定该应用的类型。此外,对于一些应用,并不是该应用的每一个显示界面都能够体现出该应用的功能,例如,一些视频软件并不总是位于视频播放中,因此,为了增强判断的准确性,可以设置用来触发的控件,用户在第一次使用该应用时,可以在自己认为能够体现当前应用特征的界面触发类型识别指令,智能终端在接收到应用类型识别指令时,检测所述应用是否具有类型标识。In order to avoid repeated judgment, it may be detected whether the application has a type identifier before the step of determining the application type of the application currently opened by the smart terminal, and if yes, the application type has been determined, and no further determination is required, and if not, the device is started. The application, determination module 10 determines the type of application. In addition, for some applications, not every display interface of the application can reflect the function of the application. For example, some video software is not always located in the video playing, therefore, in order to enhance the accuracy of the judgment, it can be set. To trigger the control, when the user first uses the application, the user can trigger the type identification instruction on the interface that he thinks can reflect the current application feature, and the smart terminal detects whether the application has the type identifier when receiving the application type identification instruction. .
进一步地,在其他实施例中,该基于应用图标显示应用类型的智能终端还可以包括以下模块:Further, in other embodiments, the smart terminal based on the application icon display application type may further include the following modules:
判断模块,用于判断所述应用是否为后台应用;a determining module, configured to determine whether the application is a background application;
确定模块10,还用于当所述应用不为后台应用时,确定所述应用的应用类型。The determining module 10 is further configured to determine an application type of the application when the application is not a background application.
一般地,后台应用不会在桌面上显示图标,且只在后台运行。故,对于这类应用而言,没有确定其类型并进行类型标识的必要。因而,在确定智能终端当前开启应用的应用类型之前,判断模块先判断应用是否为后台应用,若为后台应用,则无需进行应用类型的判断。In general, background apps don't display icons on the desktop and only run in the background. Therefore, for such applications, there is no need to determine their type and type identification. Therefore, before determining that the application type of the application is currently enabled by the smart terminal, the determining module first determines whether the application is a background application, and if it is a background application, the application type is not required to be determined.
更进一步地,在一些实施例中,用户还可以根据需要,预先设置需要进行应用类型自动识别的应用列表。例如,用户可以将无法根据应用名称判断应用类型的应用加入到上述列表中,在开启应用之后,进行识别应用类型之前,先判断是否为预设应用,若是,再进行应用类型的识别,这样,对于那些根据名称就能够直接看出应用类型的应用就无需在显示图标上显示其类型,以避免当桌面上放置有太多图标时,显示信息过多。Further, in some embodiments, the user may also preset a list of applications that need to be automatically identified by the application type as needed. For example, the user can add an application that cannot determine the application type according to the application name to the above list. After the application is opened, before identifying the application type, it is first determined whether it is a preset application, and if so, the application type is identified. For those applications that can see the type of application directly by name, there is no need to display their type on the display icon to avoid too much display when there are too many icons placed on the desktop.
此外,在一些实施例中,为了保持桌面等图标显示界面的简洁,用户还可以设置类型显示模式,在用户不需要在图标上显示类型标识时可以关闭对应的显示模式,以使图标显示界面不再显示类型标识或者与类型标识关联的文字信息。反之,若用户需要获取应用类型识别时,则可以开启该模式,使用户可以通过应用的图标处显示的类型标识或者与类型标识关联的文字信息直接确定所述应用的类型。In addition, in some embodiments, in order to keep the icon display interface of the desktop and the like simple, the user may also set the type display mode, and the user may turn off the corresponding display mode when the user does not need to display the type identifier on the icon, so that the icon display interface is not The type identifier or text information associated with the type identifier is displayed again. On the other hand, if the user needs to obtain the application type identification, the mode can be enabled, so that the user can directly determine the type of the application by using the type identifier displayed at the icon of the application or the text information associated with the type identifier.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。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 (18)
- 一种基于应用图标显示应用类型的方法,其特征在于,所述基于应用图标显示应用类型的方法包括: A method for displaying an application type based on an application icon, wherein the method for displaying an application type based on an application icon includes:应用启动时检测所述应用是否具有类型标识;Detecting whether the application has a type identifier when the application starts;若所述应用不具有类型标识,则确定智能终端当前开启应用的应用类型;If the application does not have a type identifier, determining an application type of the application currently opened by the smart terminal;其中,获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;The first picture currently displayed by the application and the second picture after the first preset duration are obtained;计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;Calculating a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;当所述差值大于或者等于预设值时,确定所述应用为视频类应用;Determining that the application is a video application when the difference is greater than or equal to a preset value;当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;When the difference is less than the preset value, determining whether the first piece of audio and the second piece of audio output by the application are the same, wherein an output interval of the first piece of audio and the second piece of audio is Two preset durations;若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用;If the first piece of audio is different from the second piece of audio, determining that the application is an audio application;若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用;If the first piece of audio and the second piece of audio are the same, determining that the application is another type of application;为所述应用创建所述应用类型对应的类型标识;及Creating a type identifier corresponding to the application type for the application; and当所述智能终端显示所述应用的图标时,在所述应用的图标处显示所述类型标识或者与所述类型标识关联的文字信息。When the smart terminal displays an icon of the application, the type identifier or text information associated with the type identifier is displayed at an icon of the application.
- 根据权利要求1所述的基于应用图标显示应用类型的方法,其特征在于,该方法还包括步骤:The method for displaying an application type based on an application icon according to claim 1, wherein the method further comprises the steps of:判断所述应用是否为后台应用;及Determining whether the application is a background application; and若所述应用为后台应用,则无需确定该应用的类型。If the application is a background application, there is no need to determine the type of the application.
- 一种基于应用图标显示应用类型的方法,其特征在于,所述基于应用图标显示应用类型的方法包括:A method for displaying an application type based on an application icon, wherein the method for displaying an application type based on an application icon includes:确定智能终端当前开启应用的应用类型;Determining the application type of the application currently opened by the smart terminal;为所述应用创建所述应用类型对应的类型标识;及Creating a type identifier corresponding to the application type for the application; and当所述智能终端显示所述应用的图标时,在所述应用的图标处显示所述类型标识或者与所述类型标识关联的文字信息。When the smart terminal displays an icon of the application, the type identifier or text information associated with the type identifier is displayed at an icon of the application.
- 根据权利要求3所述的基于应用图标显示应用类型的方法,其特征在于,该方法还包括步骤:The method for displaying an application type based on an application icon according to claim 3, wherein the method further comprises the steps of:应用启动时检测所述应用是否具有类型标识;及若所述应用具有类型标识,则不再重新确定该应用的类型。The application detects whether the application has a type identifier when it starts; and if the application has a type identifier, the type of the application is not re-determined.
- 根据权利要求3所述的基于应用图标显示应用类型的方法,其特征在于,该方法还包括步骤:The method for displaying an application type based on an application icon according to claim 3, wherein the method further comprises the steps of:判断所述应用是否为后台应用;及Determining whether the application is a background application; and若所述应用为后台应用,则无需确定该应用的类型。If the application is a background application, there is no need to determine the type of the application.
- 根据权利要求3所述的基于应用图标显示应用类型的方法,其特征在于,所述确定智能终端当前开启应用的应用类型的步骤包括:The method for displaying an application type based on an application icon according to claim 3, wherein the step of determining an application type of the application currently opened by the smart terminal comprises:获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;Obtaining a first picture currently displayed by the application and a second picture after the first preset duration;计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;Calculating a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;当所述差值大于或者等于预设值时,确定所述应用为视频类应用;Determining that the application is a video application when the difference is greater than or equal to a preset value;当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;When the difference is less than the preset value, determining whether the first piece of audio and the second piece of audio output by the application are the same, wherein an output interval of the first piece of audio and the second piece of audio is Two preset durations;若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用;If the first piece of audio is different from the second piece of audio, determining that the application is an audio application;若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。If the first piece of audio and the second piece of audio are the same, it is determined that the application is another type of application.
- 根据权利要求3所述的基于应用图标显示应用类型的方法,其特征在于,所述确定智能终端当前开启应用的应用类型的步骤还包括:The method for displaying an application type based on an application icon according to claim 3, wherein the step of determining an application type of the application currently opened by the smart terminal further comprises:读取所述智能终端当前开启应用的配置文件,其中,所述配置文件包括意图类型;Reading a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type;对读取到的包括所述意图类型的配置文件进行解析,以确定所述应用的应用类型。The read configuration file including the intent type is parsed to determine the application type of the application.
- 根据权利要求4所述的基于应用图标显示应用类型的方法,其特征在于,所述确定智能终端当前开启应用的应用类型的步骤包括:The method for displaying an application type based on an application icon according to claim 4, wherein the step of determining an application type of the smart terminal currently opening the application comprises:获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;Obtaining a first picture currently displayed by the application and a second picture after the first preset duration;计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;Calculating a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;当所述差值大于或者等于预设值时,确定所述应用为视频类应用;Determining that the application is a video application when the difference is greater than or equal to a preset value;当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;When the difference is less than the preset value, determining whether the first piece of audio and the second piece of audio output by the application are the same, wherein an output interval of the first piece of audio and the second piece of audio is Two preset durations;若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用;If the first piece of audio is different from the second piece of audio, determining that the application is an audio application;若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。If the first piece of audio and the second piece of audio are the same, it is determined that the application is another type of application.
- 根据权利要求5所述的基于应用图标显示应用类型的方法,其特征在于,所述确定智能终端当前开启应用的应用类型的步骤包括:The method for displaying an application type based on an application icon according to claim 5, wherein the step of determining an application type of the application currently opened by the smart terminal comprises:获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;Obtaining a first picture currently displayed by the application and a second picture after the first preset duration;计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;Calculating a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;当所述差值大于或者等于预设值时,确定所述应用为视频类应用;Determining that the application is a video application when the difference is greater than or equal to a preset value;当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;When the difference is less than the preset value, determining whether the first piece of audio and the second piece of audio output by the application are the same, wherein an output interval of the first piece of audio and the second piece of audio is Two preset durations;若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用;If the first piece of audio is different from the second piece of audio, determining that the application is an audio application;若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。If the first piece of audio and the second piece of audio are the same, it is determined that the application is another type of application.
- 根据权利要求4所述的基于应用图标显示应用类型的方法,其特征在于,所述确定智能终端当前开启应用的应用类型的步骤还包括:The method for displaying an application type based on an application icon according to claim 4, wherein the step of determining an application type of the smart terminal currently opening the application further comprises:读取所述智能终端当前开启应用的配置文件,其中,所述配置文件包括意图类型;Reading a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type;对读取到的包括所述意图类型的配置文件进行解析,以确定所述应用的应用类型。The read configuration file including the intent type is parsed to determine the application type of the application.
- 一种基于应用图标显示应用类型的智能终端,其特征在于,所述基于应用图标显示应用类型的智能终端包括:An intelligent terminal that displays an application type based on an application icon, wherein the smart terminal that displays an application type based on an application icon includes:确定模块,用于确定智能终端当前开启应用的应用类型;a determining module, configured to determine an application type of the currently open application of the smart terminal;添加模块,用于为所述应用创建所述应用类型对应的类型标识;Adding a module, configured to create a type identifier corresponding to the application type for the application;显示模块,用于当所述智能终端显示所述应用的图标时,在所述应用的图标处显示所述类型标识或者与所述类型标识关联的文字信息。And a display module, configured to: when the smart terminal displays an icon of the application, display the type identifier or text information associated with the type identifier at an icon of the application.
- 根据权利要求11所述的基于应用图标显示应用类型的智能终端,其特征在于,所述基于应用图标显示应用类型的智能终端还包括:The smart terminal based on the application icon display application type according to claim 11, wherein the smart terminal that displays the application type based on the application icon further comprises:检测模块,用于应用启动时检测所述应用是否具有类型标识;a detecting module, configured to detect, when the application starts, whether the application has a type identifier;所述确定模块,还用于在所述应用不具有类型标识时,确定所述应用的应用类型。The determining module is further configured to determine an application type of the application when the application does not have a type identifier.
- 根据权利要求11所述的基于应用图标显示应用类型的智能终端,其特征在于,所述基于应用图标显示应用类型的智能终端还包括:The smart terminal based on the application icon display application type according to claim 11, wherein the smart terminal that displays the application type based on the application icon further comprises:判断模块,用于判断所述应用是否为后台应用;a determining module, configured to determine whether the application is a background application;所述确定模块,还用于当所述应用不为后台应用时,确定所述应用的应用类型。The determining module is further configured to determine an application type of the application when the application is not a background application.
- 根据权利要求11所述的基于应用图标显示应用类型的智能终端,其特征在于,所述确定模块包括:The smart terminal based on the application icon display application type according to claim 11, wherein the determining module comprises:获取单元,用于获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;An acquiring unit, configured to acquire a first screen currently displayed by the application and a second screen after being separated by a first preset duration;计算单元,用于计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;a calculating unit, configured to calculate a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;确定单元,用于当所述差值大于或者等于预设值时,确定所述应用为视频类应用;a determining unit, configured to determine that the application is a video application when the difference is greater than or equal to a preset value;判断单元,用于当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;a determining unit, configured to determine, when the difference is less than the preset value, whether the first piece of audio and the second piece of audio output by the application are the same, wherein the first piece of audio and the second piece are The output interval of the audio is separated by a second preset duration;所述确定单元,还用于若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用,以及若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。The determining unit is further configured to: if the first piece of audio and the second piece of audio are different, determine that the application is an audio application, and if the first piece of audio and the second piece of audio are the same Then, the application is determined to be another type of application.
- 根据权利要求11所述的基于应用图标显示应用类型的智能终端,其特征在于,所述确定模块还包括:The smart terminal based on the application icon display application type according to claim 11, wherein the determining module further comprises:读取单元,用于读取所述智能终端当前开启应用的配置文件,其中,所述配置文件包括意图类型;a reading unit, configured to read a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type;解析单元,用于对读取到的包括所述意图类型的配置文件进行解析,以确定所述应用的应用类型。And a parsing unit, configured to parse the read configuration file including the intent type to determine an application type of the application.
- 根据权利要求12所述的基于应用图标显示应用类型的智能终端,其特征在于,所述确定模块包括:The smart terminal based on the application icon display application type according to claim 12, wherein the determining module comprises:获取单元,用于获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;An acquiring unit, configured to acquire a first screen currently displayed by the application and a second screen after being separated by a first preset duration;计算单元,用于计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;a calculating unit, configured to calculate a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;确定单元,用于当所述差值大于或者等于预设值时,确定所述应用为视频类应用;a determining unit, configured to determine that the application is a video application when the difference is greater than or equal to a preset value;判断单元,用于当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;a determining unit, configured to determine, when the difference is less than the preset value, whether the first piece of audio and the second piece of audio output by the application are the same, wherein the first piece of audio and the second piece are The output interval of the audio is separated by a second preset duration;所述确定单元,还用于若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用,以及若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。The determining unit is further configured to: if the first piece of audio and the second piece of audio are different, determine that the application is an audio application, and if the first piece of audio and the second piece of audio are the same Then, the application is determined to be another type of application.
- 根据权利要求13所述的基于应用图标显示应用类型的智能终端,其特征在于,所述确定模块包括:The smart terminal based on the application icon display application type according to claim 13, wherein the determining module comprises:获取单元,用于获取所述应用当前显示的第一画面以及间隔第一预设时长后的第二画面;An acquiring unit, configured to acquire a first screen currently displayed by the application and a second screen after being separated by a first preset duration;计算单元,用于计算所述第一画面中预设区域的基色增益值和所述第二画面中与所述预设区域对应的区域的基色增益值的差值;a calculating unit, configured to calculate a difference between a primary color gain value of the preset area in the first picture and a primary color gain value of the area corresponding to the preset area in the second picture;确定单元,用于当所述差值大于或者等于预设值时,确定所述应用为视频类应用;a determining unit, configured to determine that the application is a video application when the difference is greater than or equal to a preset value;判断单元,用于当所述差值小于所述预设值时,判断所述应用输出的第一段音频和第二段音频是否相同,其中,所述第一段音频和所述第二段音频的输出间隔第二预设时长;a determining unit, configured to determine, when the difference is less than the preset value, whether the first piece of audio and the second piece of audio output by the application are the same, wherein the first piece of audio and the second piece are The output interval of the audio is separated by a second preset duration;所述确定单元,还用于若所述第一段音频和所述第二段音频不同,则确定所述应用为音频类应用,以及若所述第一段音频和所述第二段音频相同,则确定所述应用为其他类应用。The determining unit is further configured to: if the first piece of audio and the second piece of audio are different, determine that the application is an audio application, and if the first piece of audio and the second piece of audio are the same Then, the application is determined to be another type of application.
- 根据权利要求12所述的基于应用图标显示应用类型的智能终端,其特征在于,所述确定模块还包括:The smart terminal based on the application icon display application type according to claim 12, wherein the determining module further comprises:读取单元,用于读取所述智能终端当前开启应用的配置文件,其中,所述配置文件包括意图类型;a reading unit, configured to read a configuration file that the smart terminal currently opens an application, where the configuration file includes an intent type;解析单元,用于对读取到的包括所述意图类型的配置文件进行解析,以确定所述应用的应用类型。 And a parsing unit, configured to parse the read configuration file including the intent type to determine an application type of the application.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610050027.0 | 2016-01-25 | ||
CN201610050027.0A CN105718270A (en) | 2016-01-25 | 2016-01-25 | Method and intelligent terminal for displaying application type based on application icon |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017128582A1 true WO2017128582A1 (en) | 2017-08-03 |
Family
ID=56154113
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/084868 WO2017128582A1 (en) | 2016-01-25 | 2016-06-04 | Method and intelligent terminal for displaying application type based on application icon |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105718270A (en) |
WO (1) | WO2017128582A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106302997B (en) * | 2016-07-29 | 2020-02-21 | 联想(北京)有限公司 | Output control method, electronic equipment and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101558373A (en) * | 2005-07-15 | 2009-10-14 | 微软公司 | Indicating file type on a thumbnail preview icon |
CN102279694A (en) * | 2010-06-08 | 2011-12-14 | 联想(北京)有限公司 | Electronic device and display method of application software window thereof |
CN102946470A (en) * | 2012-10-19 | 2013-02-27 | 北京小米科技有限责任公司 | Display method and device of icon within display region of mobile terminal, and mobile terminal |
US20130215044A1 (en) * | 2012-02-17 | 2013-08-22 | Lg Electronics Inc. | Property modification of an application object |
CN105159661A (en) * | 2015-07-24 | 2015-12-16 | 小米科技有限责任公司 | Corner mark display method and apparatus for icon |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102096587A (en) * | 2011-01-25 | 2011-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Function icon display method and device for application programs, and mobile terminal |
CN102810038A (en) * | 2011-05-31 | 2012-12-05 | 宏碁股份有限公司 | Method for providing user interface for classifying icons and electronic device |
CN103513903A (en) * | 2012-06-28 | 2014-01-15 | 国基电子(上海)有限公司 | Touch electronic device and icon management method thereof |
-
2016
- 2016-01-25 CN CN201610050027.0A patent/CN105718270A/en active Pending
- 2016-06-04 WO PCT/CN2016/084868 patent/WO2017128582A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101558373A (en) * | 2005-07-15 | 2009-10-14 | 微软公司 | Indicating file type on a thumbnail preview icon |
CN102279694A (en) * | 2010-06-08 | 2011-12-14 | 联想(北京)有限公司 | Electronic device and display method of application software window thereof |
US20130215044A1 (en) * | 2012-02-17 | 2013-08-22 | Lg Electronics Inc. | Property modification of an application object |
CN102946470A (en) * | 2012-10-19 | 2013-02-27 | 北京小米科技有限责任公司 | Display method and device of icon within display region of mobile terminal, and mobile terminal |
CN105159661A (en) * | 2015-07-24 | 2015-12-16 | 小米科技有限责任公司 | Corner mark display method and apparatus for icon |
Also Published As
Publication number | Publication date |
---|---|
CN105718270A (en) | 2016-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017084302A1 (en) | Method for playing boot video of a display terminal and display terminal | |
WO2017107388A1 (en) | Hdmi version switching method and display device | |
WO2019114269A1 (en) | Method for resuming playing program, television device, and computer readable storage medium | |
WO2018166224A1 (en) | Target tracking display method and apparatus for panoramic video, and storage medium | |
WO2015142016A1 (en) | Method for controlling content playback and content playback apparatus for executing same | |
WO2018233221A1 (en) | Multi-window sound output method, television, and computer-readable storage medium | |
WO2017054592A1 (en) | Interface display method and terminal | |
WO2018120429A1 (en) | Resource update method, terminal, computer readable storage medium and resource update device | |
WO2018223607A1 (en) | Television terminal, method for converting hdr image into sdr image, and computer readable storage medium | |
WO2018032680A1 (en) | Method and system for playing audio and video | |
WO2018227887A1 (en) | Video advertisement delivery method, video advertisement generation method, device, server and readable storage medium | |
WO2017215116A1 (en) | Photographing method and system for smart television | |
WO2019041851A1 (en) | Home appliance after-sales consulting method, electronic device and computer-readable storage medium | |
WO2017121066A1 (en) | Application program display method and system | |
WO2018032679A1 (en) | Setting method and device for timed startup and shutoff of television | |
WO2019000801A1 (en) | Data synchronization method, apparatus, and device, and computer readable storage medium | |
WO2017181504A1 (en) | Method and television set for intelligently adjusting subtitle size | |
WO2017032122A1 (en) | Method and apparatus for detecting digital television set | |
WO2019165723A1 (en) | Method and system for processing audio/video, and device and storage medium | |
WO2013166796A1 (en) | Method and device for automatically identifying 3d video play mode | |
WO2018018680A1 (en) | Display method and apparatus for application prompt information | |
WO2017152527A1 (en) | Method for controlling slave device application of smart television, and smart television | |
WO2017080195A1 (en) | Audio recognition method and device | |
WO2018094812A1 (en) | Method and device for adjusting backlight brightness of liquid crystal display device screen | |
WO2019061546A1 (en) | Mobile terminal photographing method, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16887464 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 20/12/2018) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16887464 Country of ref document: EP Kind code of ref document: A1 |