WO2017024877A1 - 电视主界面的切换方法及装置 - Google Patents
电视主界面的切换方法及装置 Download PDFInfo
- Publication number
- WO2017024877A1 WO2017024877A1 PCT/CN2016/084842 CN2016084842W WO2017024877A1 WO 2017024877 A1 WO2017024877 A1 WO 2017024877A1 CN 2016084842 W CN2016084842 W CN 2016084842W WO 2017024877 A1 WO2017024877 A1 WO 2017024877A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- main interface
- list
- default
- main
- switched
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/8173—End-user applications, e.g. Web browser, game
Definitions
- the present invention relates to the field of television technology, and in particular, to a method and an apparatus for switching a television main interface.
- the smart TV with Android operating system will enter a default main interface (Launcher) by default.
- each TV platform will also customize an initial main interface but the initial main interface cannot be uninstalled.
- the user can also directly deploy other main interfaces in the application store in the television system, or can download the main interface from other devices and install on the television to adapt to different users.
- Customized needs of the crowd such as the elderly, the main interface can be customized for some TV, recipes and other applications; such as children, the main interface can be customized for learning, stories, songs and other applications; such as young people, the main interface can be customized for some games, video and other applications .
- the switching mode of the existing main interface of the TV is relatively cumbersome.
- the user needs to find the target main interface application that needs to be switched from a large number of applications, and then switch the setting of the main interface, and at the same time, the TV generally selects through the remote control button. Therefore, it is not possible to quickly locate the target main interface application to be switched.
- the TV system does not immediately enable the main interface after the switch, but needs to be started again at the next boot, so the switching process of the entire TV main interface is cumbersome, thus affecting User experience.
- the main purpose of the present invention is to provide a method and a device for switching a main interface of a television, which aims to solve the technical problem that the switching process of the existing main interface of the television is cumbersome and cannot quickly switch the main interface, thereby affecting the user experience.
- the present invention provides a method for switching a main interface of a television, where the method for switching the main interface of the television includes:
- the configuration program that starts the main interface to be switched is configured to be configured;
- the identifier of the main interface to be switched is assigned to a preset identification parameter for marking the default main interface and the identification parameter is saved in a preset position in the television system.
- the method includes:
- the first main interface list does not exist in the television system, all the main interfaces are filtered out from all applications of the television system according to the preset main interface screening parameters, and the first main interface list is generated as a list object.
- the main interface list includes:
- the method for switching the main interface of the television further includes:
- Updating the first main interface list and the second main interface list when receiving an uninstall application instruction and the uninstall object is a non-initial main interface in the main interface and is a non-default main interface;
- the main interface of the current television system is switched to the initial main interface
- the installation application instruction When the installation application instruction is received and the installation object is the main interface, the first main interface list and the second main interface list are updated.
- the method for switching the main interface of the television further includes:
- Updating the first main interface list and the second main interface list when receiving an uninstall application instruction and the uninstall object is a non-initial main interface in the main interface and is a non-default main interface;
- the main interface of the current television system is switched to the initial main interface
- the installation application instruction When the installation application instruction is received and the installation object is the main interface, the first main interface list and the second main interface list are updated.
- the method for switching the main interface of the television further includes:
- Updating the first main interface list and the second main interface list when receiving an uninstall application instruction and the uninstall object is a non-initial main interface in the main interface and is a non-default main interface;
- the main interface of the current television system is switched to the initial main interface
- the installation application instruction When the installation application instruction is received and the installation object is the main interface, the first main interface list and the second main interface list are updated.
- the present invention further provides a method for switching a main interface of a television, where the method for switching the main interface of the television includes:
- the main interface that is the same as the identifier of the main interface to be switched is not the default main interface
- the main interface of the current television system is switched to the main interface to be switched and the main interface to be switched is set to a new default.
- Main interface When the main interface that is the same as the identifier of the main interface to be switched is not the default main interface, the main interface of the current television system is switched to the main interface to be switched and the main interface to be switched is set to a new default.
- Main interface When the main interface that is the same as the identifier of the main interface to be switched is not the default main interface, the main interface of the current television system is switched to the main interface to be switched and the main interface to be switched is set to a new default.
- the main interface that is the same as the identifier of the main interface to be switched is not the default main interface
- the main interface of the current television system is switched to the main interface to be switched and the main interface to be switched is set.
- the new default home interface includes:
- the identifier of the main interface to be switched is assigned to a preset identification parameter for marking the default main interface and the identification parameter is saved in a preset position in the television system.
- the method includes:
- the first main interface list does not exist in the television system, all the main interfaces are filtered out from all applications of the television system according to the preset main interface screening parameters, and the first main interface list is generated as a list object.
- the main interface list includes:
- the method for switching the main interface of the television further includes:
- Updating the first main interface list and the second main interface list when receiving an uninstall application instruction and the uninstall object is a non-initial main interface in the main interface and is a non-default main interface;
- the main interface of the current television system is switched to the initial main interface
- the installation application instruction When the installation application instruction is received and the installation object is the main interface, the first main interface list and the second main interface list are updated.
- the present invention further provides a switching device for a television main interface, where the switching device of the television main interface includes:
- a first acquiring module configured to obtain an identifier of the main interface to be switched from the first main interface list
- a search module configured to search, in the second main interface list, a main interface that is the same as the identifier of the main interface to be switched, according to the identifier of the main interface to be switched;
- the first determining module is configured to determine, according to the preset default main interface mark, whether the main interface that is the same as the identifier of the main interface to be switched is a default main interface, where the default main interface is the current television system.
- a first switching module configured to switch the main interface of the current television system to the main interface to be switched and to switch the main interface when the main interface that is the same as the identifier of the main interface to be switched is not the default main interface
- the interface is set to the new default home interface.
- the invention quickly selects the target main interface to be switched through the first main interface list, thereby improving the selection efficiency of the main interface to be switched and is easy to operate; and determining whether the main interface to be switched is the default main interface through the second main interface list. That is, the main interface displayed when the current television system is powered on, therefore, if it is, no switching is needed, and if not, the default main interface of the current television system is switched to the main interface to be switched, and the to-be-switched
- the main interface is set to the new default main interface, that is, after the main interface is switched, the television system will directly display the main interface to be switched without restarting, thereby improving the efficiency of the main interface switching and improving the user experience. .
- FIG. 1 is a schematic flowchart of a first embodiment of a method for switching a main interface of a television according to the present invention
- FIG. 2 is a schematic flow chart of a second embodiment of a method for switching a main interface of a television according to the present invention
- FIG. 3 is a schematic flowchart of a third embodiment of a method for switching a main interface of a television according to the present invention.
- FIG. 4 is a schematic flow chart of a fourth embodiment of a method for switching a main interface of a television according to the present invention.
- FIG. 5 is a schematic flowchart of a fifth embodiment of a method for switching a main interface of a television according to the present invention.
- FIG. 6 is a schematic diagram of functional modules of an embodiment of a switching device for a television main interface according to the present invention.
- FIG. 1 is a schematic flowchart of a first embodiment of a method for switching a main interface of a television according to the present invention.
- the method for switching the main interface of the television includes:
- Step S110 Obtain an identifier of the main interface to be switched from the first main interface list.
- the android system is preferably taken as an example for description.
- the main interface also the desktop of the TV system, is the entry program for all other applications.
- the television system preferably includes an initial main interface (provided by the manufacturer and cannot be deleted) and a plurality of users themselves. Other main interface installed.
- the main interface currently used by the television system is the default main interface, and the television system automatically loads the default by default when the television system is started without the main interface switching. Main interface. At the same time, all the main interfaces in the TV system can be used as the default main interface.
- all the main interfaces in the television system are preferably displayed in the setting application of the television system through the first main interface list, and the specific display form may be according to actual needs. Make settings.
- each main interface in the first main interface list is distinguished by a corresponding identifier, for example, the identifier may be a name applied to the main interface, a package name corresponding to the application, or may be installed in each main interface.
- the package name corresponding to the application for example, the application name: address book, corresponding package name: com.android.contacts; application name: camera, corresponding package name: com.android.camera; Application name: Camera, corresponding package name: com.android.gallery.
- each application is specifically signed by the application package name to achieve a unique difference. Therefore, in this embodiment, the identification of the main interface is preferably the package name of the application.
- the television system obtains the identifier of the main interface to be switched from the first main interface list.
- Step S120 Search, according to the identifier of the main interface to be switched, a main interface that is the same as the identifier of the main interface to be switched in the second main interface list;
- Step S130 Determine, according to the preset default main interface mark, whether the main interface that is the same as the identifier of the main interface to be switched is the default main interface, where the default main interface is the main interface used by the current television system. ;
- the second main interface list has the same list object as the first main interface, that is, the second main interface list also includes all the main interfaces in the television system, and at the same time, specifically in the second main interface list. Whether all the main interfaces are different from the default main interface, for example, through an object attribute of the main interface.
- the identifiers of the main interfaces in the second main interface list are compared one by one according to the identifier to find the identifier of the main interface to be switched.
- an object attribute parameter is set for all the main interface list objects in the second main interface list, so as to distinguish whether it is the default main interface.
- the object attribute parameter is isDefault. If the isDefault flag is true, the main interface corresponding to the object attribute parameter is the default main interface, and if the isDefault flag is false, the corresponding main interface is not corresponding.
- Step S140 When the main interface that is the same as the identifier of the main interface to be switched is not the default main interface, the main interface of the current television system is switched to the main interface to be switched and the main interface to be switched is set to be new. The default main interface.
- the main interface of the current television system is switched to the main interface to be switched.
- the main interface of the current television system is the default main interface, based on the user experience, preferably, when the main interface to be switched is the default main interface, the main interface does not need to be switched. .
- the switching of the main interface is performed immediately after the above conditions are met, and the switching of the main interface can be truly realized after the television system is restarted.
- the main interface to be switched selected by the user needs to be set as the new default main interface, that is, the main interface of the current television system has been switched and updated to be the main interface to be switched.
- the default main interface may be marked on the first main interface list, so that the first main interface list may directly determine whether the main interface to be switched selected by the user is the default main interface.
- the main interface is marked, that is, by determining whether it is the default main interface to determine whether to perform the switching operation.
- the first main interface list and the second main interface list may be preset in the factory when the television is shipped, or automatically generated each time the television system is turned on.
- the target main interface to be switched is quickly selected through the first main interface list, thereby improving the selection efficiency of the main interface to be switched and being easy to operate; and determining whether the main interface to be switched is the default main through the second main interface list.
- the interface if yes, does not need to switch, and if not, the current main interface of the current television system is switched to the main interface to be switched, and the main interface to be switched is set as the new default main interface, that is, After the main interface is switched, the TV system will directly display the main interface to be switched without restarting, thereby improving the efficiency of the main interface switching and improving the user experience.
- FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for switching a main interface of a television according to the present invention. Based on the above embodiment, in the embodiment, the foregoing step S130 includes:
- Step S1301 When the main interface that is the same as the identifier of the main interface to be switched is not the default main interface, the configuration procedure for starting the main interface to be switched is configured.
- the application specifically interacts with the user through the Activity, and the Activity is an interactive interface that is filled with the entire window or suspended on other windows.
- the Intent is responsible for describing the action, action related data and additional data of the operation in the application.
- the Android system is responsible for finding the corresponding component according to the description of the Intent, passing the Intent to the called component, and completing the component. Call, where the description of the Intent is specifically passed through the filter Intent
- the Filter implementation, and the component name ComponentName is used to open the Activity in the corresponding application.
- the configuration of the component object components in the ComponentName collection may be generated by using the list object of the first main interface list, specifically, corresponding to the package name and the class name of each list object (that is, the main interface) in the first main interface list.
- the package name and class name assigned to the ComponentName object is obtained by comparing with the component object in the ComponentName set, and the intent filter is configured to implement the main interface switching.
- the key code of the intent filter is as follows:
- IntentFilter filter new IntentFilter()
- the configured intent filter and ComponentName collection object are passed to the bottom of the system through the following methods:
- Step S1302 invoking a main interface execution program to execute a configuration program for starting the main interface to be switched to switch the main interface of the current television system to the main interface to be switched;
- the main interface application is generally started by triggering a home event. Therefore, after the configuration program for starting the main interface to be switched is configured, the home event to be switched can be started immediately after the home event is injected, that is, the main interface of the current television system is switched to the main interface to be switched.
- Step S1303 Assign the identifier of the main interface to be switched to a preset identifier parameter for marking the default main interface and save the identifier parameter in a preset position in the television system.
- the main interface that is the same as the main interface currently being used by the current television system is selected, that is, the default main interface, and this generally does not need to be switched. Therefore, after the main interface of the current television system is switched to the main interface to be switched, the identifier of the main interface to be switched needs to be assigned to the preset identification parameter for marking the default main interface, for example, the main switch to be switched.
- the package name of the interface is assigned to the identification parameter persist.sys.default_launche, and is saved in the preset location in the TV system, such as in the property directory of the data partition in the TV system. Therefore, when the next television system is started and the first and second main interface lists are generated, the value of the identification parameter is obtained from the preset location, that is, the default package name of the main interface, so that the second main interface list is Mark the default main interface.
- the configuration program of the main interface to be switched selected by the user is started, and the configuration program of the main interface to be switched is started by calling the main interface execution program, thereby the current television.
- the main interface of the system is switched to the main interface to be switched, so that the TV system can be activated immediately without restarting the TV system, thereby improving the user experience.
- FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for switching a main interface of a television according to the present invention.
- the method includes:
- Step S210 when receiving the main interface switching instruction, determining whether the first main interface list exists in the television system
- the first main interface list is preferably automatically generated each time the television system is powered on. Therefore, if the main interface switching instruction is received for the first time after the TV system is powered on, it is necessary to first determine whether the first main interface list exists in the television system. If not, the first main interface list needs to be generated according to the corresponding condition. .
- the conditions for judging whether the first main interface list exists may be specifically set according to actual needs. For example, a status indicator is set for marking the presence of the first main interface list.
- Step S220 When the first main interface list does not exist in the television system, filter the parameters according to the preset main interface, select all the main interfaces from all applications of the television system, and generate the first main interface as a list object. List.
- the first main interface list When the first main interface list does not exist in the television system, the first main interface list needs to be generated according to the corresponding condition.
- the application can filter the main interface application in the television system through the parameter Action and the parameter Category in the intent filter.
- the parameter Action is used to indicate what action is to be performed; the parameter Category is used to indicate the specific kind information about the application. Therefore, the parameters can be filtered according to the preset main interface (the filter parameter values are specifically set according to actual needs), all the main interfaces are filtered out from all the applications of the television system, and all the main interfaces are used as the first main interface list.
- the list object generates a list of the first main interface.
- all the main interfaces are screened out from all the applications of the television system, and the first main interface list is formed to be displayed to the user, thereby reducing the cumbersome steps of finding the main interface to be switched through the remote control button, thereby improving the user. Select the speed of the main interface to be switched, which improves the user experience.
- FIG. 4 is a schematic flowchart diagram of a fourth embodiment of a method for switching a main interface of a television according to the present invention.
- the method includes:
- Step S230 generating, according to the first main interface list, the second main interface list, where the first main interface list and the second main interface list have the same list object;
- Step S240 Obtain an identifier of a default main interface from the preset location in the television system according to the identifier parameter.
- Step S250 Mark the list object in the second main interface list that is the same as the identifier of the obtained default main interface, and mark the content of the mark as the mark of the default main interface.
- the value of the identifier parameter is obtained from the location where the identifier parameter is saved in the television system, that is, the default main interface identifier, and the second main interface list is
- the default main interface identifiers the same list object (ie, the main interface) and mark the contents of the mark as the default main interface mark, that is, mark the default main interface in the second main interface list.
- the same attribute of all the list objects in the second main interface list may be marked, but the default main interface and the non-default main interface respectively have different mark contents.
- the attribute parameter of the list object in the second main interface list is isDefault. If the isDefault flag is true, the main interface corresponding to the object attribute parameter is the default main interface, and if the isDefault flag is false, the corresponding main is not the default. interface.
- the list object having the same identifier as the default main interface in the first main interface list is highlighted by the identifier of the default main interface, so as to inform the user of the current default main interface, thereby Avoid user selection to the default main interface and cannot perform switching operations.
- the second main interface list is generated, and according to the preset default main interface.
- the identifier is used to mark the default main interface of the current television system in the second main interface list, so as to determine whether to perform the switching operation of the main interface according to the identifier of the default main interface and the attribute parameter mark.
- the method for switching the main interface of the television further includes:
- Updating the first main interface list and the second main interface list when receiving an uninstall application instruction and the uninstall object is a non-initial main interface in the main interface and is a non-default main interface;
- the main interface of the current television system is switched to the initial main interface
- the installation application instruction When the installation application instruction is received and the installation object is the main interface, the first main interface list and the second main interface list are updated.
- the execution order of each step is not limited, and is specifically triggered according to the corresponding trigger condition. As shown in Figure 5.
- the instruction receiver when the user deletes the main interface (the initial main interface cannot be deleted) or installs a new main interface, in order to ensure that the list objects in the first main interface list and the second main interface list are updated in time, in this embodiment, By registering the instruction receiver in the television system, when the instruction receiver receives the instruction to uninstall the application, it first determines whether the uninstalled application is the main interface; if it is not the main interface, it does not process.
- the main interface further determine whether the main interface is the initial main interface; if it is the initial main interface, the prompt cannot be deleted, if not, further determine whether it is the default main interface; if it is not the default main interface, update a first main interface list and a second main interface list, for example, deleting the unloaded main interface list object, and rearranging the order of the list objects in each list; and if the uninstalled application is the default main interface, that is, the current When the main interface of the TV system is deleted, the main interface is automatically switched to the initial main interface by default without specifying the main interface to be switched.
- the instruction receiver when the instruction receiver receives the installation application, it first determines whether the installed application is the main interface, and if not, does not process, and if so, updates the first main interface list and the second main interface list, for example, The main interface of the installation is added to each list as a new list object.
- This embodiment further improves the application scope of the method of the present invention, increases the installation and uninstall management of the main interface, satisfies the user's use requirements, and further improves the user experience.
- FIG. 6 is a schematic diagram of functional modules of an embodiment of a switching apparatus for a television main interface according to the present invention.
- the switching device of the television main interface includes:
- the first obtaining module 10 is configured to obtain, from the first main interface list, an identifier of the main interface to be switched;
- all the main interfaces in the television system are preferably displayed in the setting application of the television system through the first main interface list, and the specific display form may be according to actual needs. Make settings.
- the first obtaining module 10 obtains the identifier of the main interface to be switched from the first main interface list.
- the searching module 20 is configured to search, in the second main interface list, the main interface that is the same as the identifier of the main interface to be switched, according to the identifier of the main interface to be switched;
- the first determining module 30 is configured to determine, according to the preset default main interface mark, whether the main interface that is the same as the identifier of the main interface to be switched is a default main interface, where the default main interface is the current television system.
- the second main interface list has the same list object as the first main interface, that is, the second main interface list also includes all the main interfaces in the television system, and at the same time, specifically in the second main interface list. Whether all the main interfaces are different from the default main interface, for example, through an object attribute of the main interface.
- the searching module 20 compares the identifiers of the main interfaces in the second main interface list according to the identifier to find The main interface is the same as the identifier of the main interface to be switched.
- the first determining module 30 determines whether the main interface found in the second main interface list is the default main interface according to the preset default main interface mark. .
- an object attribute parameter is set for all the main interface list objects in the second main interface list, so as to distinguish whether it is the default main interface.
- the object attribute parameter is isDefault. If the isDefault flag is true, the main interface corresponding to the object attribute parameter is the default main interface, and if the isDefault flag is false, the corresponding main interface is not corresponding.
- the first switching module 40 is configured to switch the main interface of the current television system to the to-be-switched main interface and switch the to-be-switched when the same main interface as the main interface to be switched is not the default main interface
- the main interface is set to the new default main interface.
- the first switching module 40 switches the main interface of the current television system to the main interface to be switched.
- the main interface of the current television system is the default main interface, based on the user experience, preferably, when the main interface to be switched is the default main interface, the main interface does not need to be switched. .
- the switching of the main interface is performed immediately after the above conditions are met, and the switching of the main interface can be truly realized after the television system is restarted.
- the main interface to be switched selected by the user needs to be set as the new default main interface, that is, the main interface of the current television system has been switched and updated to be the main interface to be switched.
- the default main interface may be marked on the first main interface list, so that the first main interface list may directly determine whether the main interface to be switched selected by the user is the default main interface.
- the main interface is marked, that is, by determining whether it is the default main interface to determine whether to perform the switching operation.
- the first main interface list and the second main interface list may be preset in the factory when the television is shipped, or automatically generated each time the television system is turned on.
- the target main interface to be switched is quickly selected through the first main interface list, thereby improving the selection efficiency of the main interface to be switched and being easy to operate; and determining whether the main interface to be switched is the default main through the second main interface list.
- the interface if yes, does not need to switch, and if not, the current main interface of the current television system is switched to the main interface to be switched, and the main interface to be switched is set as the new default main interface, that is, After the main interface is switched, the TV system will directly display the main interface to be switched without restarting, thereby improving the efficiency of the main interface switching and improving the user experience.
- the television set includes a switching device for the main interface of the television.
- the television monitors the main interface switching instruction sent by the user through the touch operation through the switching device of the main interface of the television, and obtains the identifier of the main interface to be switched from the first main interface list; and at the same time, the switching device of the main interface of the television In the second main interface list, it is found and judged whether the main interface to be switched selected by the user is the default main interface; when it is not the default main interface, the television switches the main interface of the current television system through the switching device of the main interface of the television. The main interface to be switched selected for the user.
- the television screen selects the main interface from the television system through the switching device of the main interface of the television and generates a first main interface list, thereby facilitating the user to quickly proceed from the first main interface list.
- Switch the selection of the main interface In addition, the switching device of the main interface of the TV further generates a second main interface list according to the first main interface list for marking the default main interface.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
公开了一种电视主界面的切换方法,包括:从第一主界面列表中获取待切换主界面的标识;根据所述待切换主界面的标识,在第二主界面列表中查找与所述待切换主界面的标识相同的主界面;根据预设的默认的主界面的标记,判断与所述待切换主界面的标识相同的主界面是否为默认的主界面;当与所述待切换主界面的标识相同的主界面不是默认的主界面时,将当前电视***的主界面切换为所述待切换主界面且将所述待切换主界面设置为新的默认的主界面。还公开了一种电视主界面的切换装置。实现了电视***中不同主界面的简便快捷切换,方便了不同用户对于各自定制的主界面的切换需求,从而提高用户使用体验。
Description
技术领域
本发明涉及电视机技术领域,尤其涉及电视主界面的切换方法及装置。
背景技术
一般带有Android操作***的智能电视在启动之后都会默认进入一个默认的主界面(Launcher),同时,每个电视平台也都会自定义一个初始主界面但该初始主界面不能进行卸载操作。为提升用户使用体验,除上述初始主界面外,用户还可以在电视***中的应用商店直接部署其它主界面,或者也可以从其他设备上下载主界面后安装到电视上,从而适应不同的用户人群的自定义需求,比如老人,主界面可以定制一些电视、菜谱等应用;比如小孩,主界面可以定制一些学习、故事、歌曲等应用;比如年轻人,主界面可以定制一些游戏、视频等应用。
目前,现有的电视主界面的切换方式比较繁琐,比如需要用户从大量应用中找到需要切换的目标主界面应用,然后再进行主界面的切换设置,同时由于电视一般都是通过遥控按键进行选择的,因此并不能快速定位到要切换的目标主界面应用。此外,在完成主界面的切换设置以后,电视***也并不会立即启用切换后的主界面,而是需要在下次开机启动时再进行启动,因此整个电视主界面的切换过程较为繁琐,从而影响用户使用体验。
发明内容
本发明的主要目的在于提供一种电视主界面的切换方法及装置,旨在解决现有电视主界面的切换过程较为繁琐,且不能实现快速切换主界面,从而影响用户使用体验的技术问题。
为实现上述目的,本发明提供一种电视主界面的切换方法,所述电视主界面的切换方法包括:
从第一主界面列表中获取待切换主界面的标识;
根据所述待切换主界面的标识,在第二主界面列表中查找与所述待切换主界面的标识相同的主界面;
根据预设的默认的主界面的标记,判断与所述待切换主界面的标识相同的主界面是否为默认的主界面,其中,默认的主界面为当前电视***所使用的主界面;
当与所述待切换主界面的标识相同的主界面不是默认的主界面时,配置启动所述待切换主界面的配置程序;
调用主界面执行程序执行启动所述待切换主界面的配置程序以将当前电视***的主界面切换为所述待切换主界面;
将所述待切换主界面的标识赋值给预设的用于标记默认的主界面的标识参数并将所述标识参数保存在电视***中的预设位置。
优选地,所述从第一主界面列表中获取待切换主界面的标识之前包括:
当接收到主界面切换指令时,判断电视***中是否存在所述第一主界面列表;
当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表。
优选地,所述当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表之后包括:
根据所述第一主界面列表,生成所述第二主界面列表,其中,所述第一主界面列表与所述第二主界面列表具有相同的列表对象;
根据所述标识参数,从电视***中的所述预设位置获取默认的主界面的标识;
将所述第二主界面列表中与获取的默认的主界面的标识相同的列表对象进行标记并将标记的内容作为所述默认的主界面的标记。
优选地,所述电视主界面的切换方法还包括:
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;
当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
优选地,所述电视主界面的切换方法还包括:
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;
当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
优选地,所述电视主界面的切换方法还包括:
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;
当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
为实现上述目的,本发明还提供一种电视主界面的切换方法,所述电视主界面的切换方法包括:
从第一主界面列表中获取待切换主界面的标识;
根据所述待切换主界面的标识,在第二主界面列表中查找与所述待切换主界面的标识相同的主界面;
根据预设的默认的主界面的标记,判断与所述待切换主界面的标识相同的主界面是否为默认的主界面,其中,默认的主界面为当前电视***所使用的主界面;
当与所述待切换主界面的标识相同的主界面不是默认的主界面时,将当前电视***的主界面切换为所述待切换主界面且将所述待切换主界面设置为新的默认的主界面。
优选地,所述当与所述待切换主界面的标识相同的主界面不是默认的主界面时,将当前电视***的主界面切换为所述待切换主界面且将所述待切换主界面设置为新的默认的主界面包括:
配置启动所述待切换主界面的配置程序;
调用主界面执行程序执行启动所述待切换主界面的配置程序以将当前电视***的主界面切换为所述待切换主界面;
将所述待切换主界面的标识赋值给预设的用于标记默认的主界面的标识参数并将所述标识参数保存在电视***中的预设位置。
优选地,所述从第一主界面列表中获取待切换主界面的标识之前包括:
当接收到主界面切换指令时,判断电视***中是否存在所述第一主界面列表;
当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表。
优选地,所述当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表之后包括:
根据所述第一主界面列表,生成所述第二主界面列表,其中,所述第一主界面列表与所述第二主界面列表具有相同的列表对象;
根据所述标识参数,从电视***中的所述预设位置获取默认的主界面的标识;
将所述第二主界面列表中与获取的默认的主界面的标识相同的列表对象进行标记并将标记的内容作为所述默认的主界面的标记。
优选地,所述电视主界面的切换方法还包括:
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;
当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
进一步地,为实现上述目的,本发明还提供一种电视主界面的切换装置,所述电视主界面的切换装置包括:
第一获取模块,用于从第一主界面列表中获取待切换主界面的标识;
查找模块,用于根据所述待切换主界面的标识,在第二主界面列表中查找与所述待切换主界面的标识相同的主界面;
第一判断模块,用于根据预设的默认的主界面的标记,判断与所述待切换主界面的标识相同的主界面是否为默认的主界面,其中,默认的主界面为当前电视***所使用的主界面;
第一切换模块,用于当与所述待切换主界面的标识相同的主界面不是默认的主界面时,将当前电视***的主界面切换为所述待切换主界面且将所述待切换主界面设置为新的默认的主界面。
本发明通过第一主界面列表快捷选择待切换的目标主界面,从而提高了待切换主界面的选择效率且操作简便;同时通过第二主界面列表判断该待切换主界面是否为默认的主界面,也即当前电视***开机时所显示的主界面,因此,若是,则不用进行切换,而若不是,则将当前电视***的默认的主界面切换为该待切换主界面,同时将该待切换主界面设置为新的默认的主界面,也即在完成主界面切换以后,电视***将直接显示该待切换主界面而无需进行关机重启,因而提高了主界面切换的效率,提高了用户使用体验。
附图说明
图1为本发明电视主界面的切换方法第一实施例的流程示意图;
图2为本发明电视主界面的切换方法第二实施例的流程示意图;
图3为本发明电视主界面的切换方法第三实施例的流程示意图;
图4为本发明电视主界面的切换方法第四实施例的流程示意图;
图5为本发明电视主界面的切换方法第五实施例的流程示意图;
图6为本发明电视主界面的切换装置一实施例的功能模块示意图。
具体实施方式
应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。
参照图1,图1为本发明电视主界面的切换方法第一实施例的流程示意图。本实施例中,所述电视主界面的切换方法包括:
步骤S110,从第一主界面列表中获取待切换主界面的标识;
本实施例中,优选以android***为例进行说明。主界面也即电视***的桌面,是所有其他应用程序的入口程序。当电视***启动后,通过主界面,用户可以快捷启动所选择的电视节目或电视应用。由于切换具体针对于两个或多个主界面,因此,为便于对本发明进行说明,本实施例中,电视***优选包括一个初始主界面(由生产厂商提供且不能删除)以及多个由用户自行安装的其他主界面。另外,需要说明的是,本实施例中规定电视***当前正在使用的主界面为默认的主界面,且电视***在不进行主界面切换的情况下,都会在电视***启动时自动默认加载默认的主界面。同时,电视***中的所有主界面都可以作为默认的主界面。
鉴于现有电视***的操作都是通过遥控器上的按键进行控制的,如果电视***中安装的应用过多,则用户需要通过多次按键操作(比如移动操作)才能选择到待切换主界面,因此,为方便用户快速选择要切换的主界面,本实施例中优选将电视***内的所有主界面通过第一主界面列表而在电视***中的设置应用中显示,具体显示形式可根据实际需要进行设置。同时,优选在遥控器上设置有设置应用相应的快捷按键,从而不限于电视***所处的任何场景、任何页面都能通过该快捷按键调出设置应用,并在设置应用里面选择待切换主界面进行切换。
进一步需要说明的是,在第一主界面列表中各主界面之间通过相应标识进行区别,比如该标识可以为主界面应用的名称、应用程序对应的包名,或者也可以在各主界面安装到电视***上时,设置对应的区别标记等。而对于主界面应用的名称、应用程序对应的包名,例如,应用程序名称:通讯录,对应包名:com.android.contacts;应用程序名称:相机,对应包名:com.android.camera;应用程序名称:相机,对应包名:com.android.gallery。由上可以看出,尽管用户可以清楚辨认出两个不同的相机,但对于程序的执行来说,却需要实现唯一性区别。其中,在android***中,各应用程序之间具体通过在应用程序包名上进行签名以实现唯一性区别。因此,本实施例中,主界面的标识优选应用程序的包名。
当用户通过遥控器上的快捷按键而选择待切换主界面时,电视***将从第一主界面列表中获取待切换主界面的标识。
步骤S120,根据所述待切换主界面的标识,在第二主界面列表中查找与所述待切换主界面的标识相同的主界面;
步骤S130,根据预设的默认的主界面的标记,判断与所述待切换主界面的标识相同的主界面是否为默认的主界面,其中,默认的主界面为当前电视***所使用的主界面;
本实施例中,第二主界面列表与第一主界面具有相同的列表对象,也即第二主界面列表也包括有电视***中的所有主界面,同时,在第二主界面列表中具体对所有主界面是否为默认的主界面进行了区别,比如通过主界面的一个对象属性进行区别。
当从第一主界面列表中获取到待切换主界面的标识后,根据该标识,与第二主界面列表中的各主界面的标识进行一一比较,以查找出与待切换主界面的标识相同的主界面,并根据预设的默认的主界面的标记,判断从第二主界面列表中查找到的主界面是否为默认的主界面。比如,对第二主界面列表中的所有主界面列表对象设置一个对象属性参数,以用于区别是否为默认的主界面。例如,该对象属性参数为isDefault,若isDefault标记为true,则该对象属性参数所对应的主界面为默认的主界面,而若isDefault标记为false,则相应不是默认的主界面。
步骤S140,当与所述待切换主界面的标识相同的主界面不是默认的主界面时,将当前电视***的主界面切换为所述待切换主界面且将所述待切换主界面设置为新的默认的主界面。
当通过上述查找与判断,得到与待切换主界面的标识相同的主界面不是默认的主界面时,则将当前电视***主界面切换为该待切换主界面。另外,需要说明的是,由于当前电视***的主界面即为默认的主界面,因此,基于用户使用体验,优选的,当待切换主界面是默认的主界面时,不需要进行主界面的切换。需要说明的是,本实施例中,主界面的切换是在满足上述条件后立即执行切换的,而并不需要电视***重启后方能真正实现主界面的切换。此外,在完成主界面切换后,需要将用户所选择的待切换主界面设置为新的默认的主界面,也即当前电视***的主界面已经切换并更新为待切换主界面。
本实施例中,除上述方式外,也可以对第一主界面列表进行默认的主界面的标记,从而可以通过第一主界面列表直接判断用户所选择的待切换主界面是否为默认的主界面。需要说明的是,基于程序设计方面的考虑,优选通过设置第一主界面列表以用于将当前电视***内的所有主界面显示给用户;而通过第二主界面列表以用于对是否为默认的主界面进行标记,也即通过判断是否为默认的主界面以确定是否执行切换操作。需要进一步说明的是,第一主界面列表与第二主界面列表可以在电视机出厂时预先设置,或者在电视***每次开机启动时自动生成。
本实施例通过第一主界面列表快捷选择待切换的目标主界面,从而提高了待切换主界面的选择效率且操作简便;同时通过第二主界面列表判断该待切换主界面是否为默认的主界面,若是,则不用进行切换,而若不是,则将当前电视***的默认的主界面切换为该待切换主界面,同时将该待切换主界面设置为新的默认的主界面,也即在完成主界面切换以后,电视***将直接显示该待切换主界面而无需进行关机重启,因而提高了主界面切换的效率,提高了用户使用体验。
参照图2,图2为本发明电视主界面的切换方法第二实施例的流程示意图。基于上述实施例,本实施例中,上述步骤S130包括:
步骤S1301,当与所述待切换主界面的标识相同的主界面不是默认的主界面时,配置启动所述待切换主界面的配置程序;
在Android***中,可以通过配置ComponentName以及Intent的过滤器IntentFilter来实现在一个应用程序里面启动另外一个已经安装的应用程序。比如,在本发明中的电视主界面的切换应用程序中启动一个主界面的应用程序。
应用程序具体通过Activity实现与用户的交互,Activity就是布满整个窗口或者悬浮于其他窗口上的交互界面。在Android***中,Intent负责对应用中一次操作的动作、动作涉及数据、附加数据进行描述,Android***则根据此Intent的描述,负责找到对应的组件,将Intent传递给调用的组件,并完成组件的调用,其中Intent的描述具体通过过滤器Intent
Filter实现,而组件名称ComponentName则用来打开对应应用程序中的Activity。
本实施例中,ComponentName集合中组件对象components的配置可通过第一主界面列表的列表对象生成,具体为将第一主界面列表中各列表对象(也即主界面)的包名及类名对应赋值给ComponentName对象的包名及类名。另外,在设置应用里面选择待切换主界面之后,通过与ComponentName集合中的组件对象进行比较,获取待切换主界面在ComponentName集合中的位置信息index,并配置intent过滤器以实现主界面切换。
intent过滤器关键代码如下:
IntentFilter filter = new IntentFilter();
filter.addAction("android.intent.action.MAIN");
filter.addCategory("android.intent.category.HOME");
filter.addCategory("android.intent.category.DEFAULT")。
同时,再将配置好的intent过滤器、ComponentName集合对象通过以下方法传入***底层:
pm.addPreferredActivity(filter,IntentFilter.MATCH_CATEGORY_EMPTY,
components, components[index])。
步骤S1302,调用主界面执行程序执行启动所述待切换主界面的配置程序以将当前电视***的主界面切换为所述待切换主界面;
在Android***中,一般通过触发home事件来启动主界面应用。因此,在配置好启动待切换主界面的配置程序后,再注入home事件即可立即启动待切换主界面,也即实现了将当前电视***的主界面切换为待切换主界面。
步骤S1303,将所述待切换主界面的标识赋值给预设的用于标记默认的主界面的标识参数并将所述标识参数保存在电视***中的预设位置。
为避免后续用户进行主界面的切换时,选择到与当前电视***正在使用的主界面相同的主界面,也即默认的主界面,而这一般是不需要进行切换的。因此,在完成了将当前电视***的主界面切换为待切换主界面之后,还需将待切换主界面的标识赋值给预设的用于标记默认的主界面的标识参数,比如将待切换主界面的包名赋值给标识参数persist.sys.default_launche,同时保存在电视***中的预设位置,比如保存在电视***中的data分区的property目录下。从而,便于下次电视***启动,且生成第一与第二主界面列表时,通过从预设位置获取该标识参数的值,也即默认的主界面的包名,从而在第二主界面列表中标记出默认的主界面。
本实施例中,基于Android***中应用程序的启动执行机制,通过配置启动用户所选择的待切换主界面的配置程序,并调用主界面执行程序启动待切换主界面的配置程序,从而将当前电视***的主界面切换为待切换主界面,从而无需重启电视***即可立即生效,进而提高了用户使用体验。
参照图3,图3为本发明电视主界面的切换方法第三实施例的流程示意图。本实施例中,在上述步骤S110之前包括:
步骤S210,当接收到主界面切换指令时,判断电视***中是否存在所述第一主界面列表;
本实施例中,第一主界面列表优选在电视***每次开机启动时自动生成。因此,若为电视***开机后的第一次接收到主界面切换指令时,需要先判断电视***中是否存在第一主界面列表,若不存在,则需要根据相应条件,生成第一主界面列表。对于判断是否存在第一主界面列表的条件具体可以根据实际需要进行设置。例如,设置一状态标识,用于标记第一主界面列表的存在。
步骤S220,当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表。
当电视***中不存在所述第一主界面列表时,则需要根据相应条件,生成第一主界面列表。以android***为例,在android***中,应用程序可以通过intent过滤器中的参数Action、参数Category作为筛选条件,进行电视***中主界面应用的筛选。其中,参数Action用于指明要实施的动作是什么;参数Category用于指明关于处理该应用的具体种类信息。因此,可以根据预设的主界面筛选参数(筛选参数值具体根据实际需要进行设置),从电视***的所有应用程序中筛选出所有的主界面,并将所有主界面作为第一主界面列表的列表对象生成第一主界面列表。
本实施例中,通过从电视***的所有应用程序中筛选出所有的主界面,并形成第一主界面列表以显示给用户,减少了通过遥控按键查找待切换主界面的繁琐步骤,提高了用户选择待切换主界面的速度,进而提高了用户使用体验。
参照图4,图4为本发明电视主界面的切换方法第四实施例的流程示意图。本实施例中,在上述步骤S220之后包括:
步骤S230,根据所述第一主界面列表,生成所述第二主界面列表,其中,所述第一主界面列表与所述第二主界面列表具有相同的列表对象;
步骤S240,根据所述标识参数,从电视***中的所述预设位置获取默认的主界面的标识;
步骤S250,将所述第二主界面列表中与获取的默认的主界面的标识相同的列表对象进行标记并将标记的内容作为所述默认的主界面的标记。
本实施例中,为便于对默认的主界面进行标记,在生成第一主界面列表后,根据该第一主界面列表,生成具有与第一主界面列表相同的列表对象的第二主界面列表。
然后,再根据预设默认的主界面的标识参数,从电视***中保存该标识参数的位置获取该标识参数的值,也即默认的主界面的标识,并将第二主界面列表中的与默认的主界面的标识相同的列表对象(也即主界面)进行标记并将标记的内容作为所述默认的主界面的标记,也即标记出第二主界面列表中的默认的主界面。
此外,可选的,还可以对第二主界面列表中的所有列表对象的同一属性进行标记,但默认的主界面与非默认的主界面分别对应的标记内容不同。例如第二主界面列表中列表对象的属性参数为isDefault,若isDefault标记为true,则该对象属性参数所对应的主界面为默认的主界面,而若isDefault标记为false,则相应不是默认的主界面。
进一步可选的,还可以通过默认的主界面的标识,将第一主界面列表中具有与默认的主界面的标识相同的列表对象进行高亮度显示,以告知用户当前的默认的主界面,从而避免用户选择到默认的主界面而不能执行切换操作。
本实施例中,基于程序设计需要,同时也便于对默认的主界面进行标记,因此,根据所述第一主界面列表,生成所述第二主界面列表,并根据预先保存的默认的主界面的标识,对第二主界面列表中当前电视***的默认的主界面进行标记,从而根据该默认的主界面的标识及属性参数标记,以确定是否进行主界面的切换操作。
可选的,在本发明电视主界面的切换方法的一实施例中,所述电视主界面的切换方法还包括:
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;
当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;
当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
本实施例中,上述各步骤的执行顺序不限,具体根据相应的触发条件触发进行。如图5所示。
当用户对主界面(初始主界面不能删除)进行删除或者安装新的主界面时,为保证第一主界面列表及第二主界面列表中的列表对象都能得到及时更新,本实施例中,通过在电视***中注册指令接收器,当指令接收器接收到卸载应用的指令时,先判断卸载的应用是否是主界面;如果不是主界面,不做处理。如果是主界面,则进一步判断该主界面是否是初始主界面;如果是初始主界面,则提示不能删除,如果不是,则进一步判断是否为默认的主界面;如果不是默认的主界面,则更新第一主界面列表及第二主界面列表,比如,删除卸载的主界面列表对象,并重新排列各列表中,列表对象的排列顺序等;而如果卸载的应用是默认的主界面,也即当前电视***的主界面被删除时,则在不指定需要切换到的主界面的情况下,自动默认将主界面切换到初始主界面。
另外,当指令接收器接收到安装应用时,先判断该安装的应用是否是主界面,如果不是,不做处理,而如果是,则更新第一主界面列表及第二主界面列表,比如将该安装的主界面作为新的列表对象添加到各列表中。
本实施例进一步完善了本发明方法的适用范围,增加了对主界面的安装及卸载管理,满足了用户的使用需求,进而提升了用户使用体验。
参照图6,图6为本发明电视主界面的切换装置一实施例的功能模块示意图。本实施例中,所述电视主界面的切换装置包括:
第一获取模块10,用于从第一主界面列表中获取待切换主界面的标识;
鉴于现有电视***的操作都是通过遥控器上的按键进行控制的,如果电视***中安装的应用过多,则用户需要通过多次按键操作(比如移动操作)才能选择到待切换主界面,因此,为方便用户快速选择要切换的主界面,本实施例中优选将电视***内的所有主界面通过第一主界面列表而在电视***中的设置应用中显示,具体显示形式可根据实际需要进行设置。同时,优选在遥控器上设置有设置应用相应的快捷按键,从而不限于电视***所处的任何场景、任何页面都能通过该快捷按键调出设置应用,并在设置应用里面选择待切换主界面进行切换。
当用户通过遥控器上的快捷按键而选择待切换主界面时,第一获取模块10将从第一主界面列表中获取待切换主界面的标识。
查找模块20,用于根据所述待切换主界面的标识,在第二主界面列表中查找与所述待切换主界面的标识相同的主界面;
第一判断模块30,用于根据预设的默认的主界面的标记,判断与所述待切换主界面的标识相同的主界面是否为默认的主界面,其中,默认的主界面为当前电视***所使用的主界面;
本实施例中,第二主界面列表与第一主界面具有相同的列表对象,也即第二主界面列表也包括有电视***中的所有主界面,同时,在第二主界面列表中具体对所有主界面是否为默认的主界面进行了区别,比如通过主界面的一个对象属性进行区别。
当第一获取模块10从第一主界面列表中获取到待切换主界面的标识后,查找模块20根据该标识,与第二主界面列表中的各主界面的标识进行一一比较,以查找出与待切换主界面的标识相同的主界面,同时,第一判断模块30根据预设的默认的主界面的标记,判断从第二主界面列表中查找到的主界面是否为默认的主界面。比如,对第二主界面列表中的所有主界面列表对象设置一个对象属性参数,以用于区别是否为默认的主界面。例如,该对象属性参数为isDefault,若isDefault标记为true,则该对象属性参数所对应的主界面为默认的主界面,而若isDefault标记为false,则相应不是默认的主界面。
第一切换模块40,用于当与所述待切换主界面的标识相同的主界面不是默认的主界面时,将当前电视***的主界面切换为所述待切换主界面且将所述待切换主界面设置为新的默认的主界面。
当通过上述查找与判断,得到与待切换主界面的标识相同的主界面不是默认的主界面时,则第一切换模块40将当前电视***的主界面切换为该待切换主界面。另外,需要说明的是,由于当前电视***的主界面即为默认的主界面,因此,基于用户使用体验,优选的,当待切换主界面是默认的主界面时,不需要进行主界面的切换。需要说明的是,本实施例中,主界面的切换是在满足上述条件后立即执行切换的,而并不需要电视***重启后方能真正实现主界面的切换。此外,在完成主界面切换后,需要将用户所选择的待切换主界面设置为新的默认的主界面,也即当前电视***的主界面已经切换并更新为待切换主界面。
本实施例中,除上述方式外,也可以对第一主界面列表进行默认的主界面的标记,从而可以通过第一主界面列表直接判断用户所选择的待切换主界面是否为默认的主界面。需要说明的是,基于程序设计方面的考虑,优选通过设置第一主界面列表以用于将当前电视***内的所有主界面显示给用户;而通过第二主界面列表以用于对是否为默认的主界面进行标记,也即通过判断是否为默认的主界面以确定是否执行切换操作。需要进一步说明的是,第一主界面列表与第二主界面列表可以在电视机出厂时预先设置,或者在电视***每次开机启动时自动生成。
本实施例通过第一主界面列表快捷选择待切换的目标主界面,从而提高了待切换主界面的选择效率且操作简便;同时通过第二主界面列表判断该待切换主界面是否为默认的主界面,若是,则不用进行切换,而若不是,则将当前电视***的默认的主界面切换为该待切换主界面,同时将该待切换主界面设置为新的默认的主界面,也即在完成主界面切换以后,电视***将直接显示该待切换主界面而无需进行关机重启,因而提高了主界面切换的效率,提高了用户使用体验。
在本发明电视机一实施例中,电视机包括电视主界面的切换装置。
本实施例中,电视机通过电视主界面的切换装置监测用户通过触控操作发出的主界面切换指令,从第一主界面列表中获取待切换主界面的标识;同时,电视主界面的切换装置在第二主界面列表中查找并判断用户所选择的待切换主界面是否为默认的主界面;当不是默认的主界面时,电视机通过电视主界面的切换装置将当前电视***的主界面切换为用户所选择的待切换主界面。此外,为快速实现对待切换主界面的选择,电视机通过电视主界面的切换装置从电视***中筛选出主界面并生成第一主界面列表,从而方便用户从第一主界面列表中快速进行待切换主界面的选择。另外,电视主界面的切换装置还根据第一主界面列表生成第二主界面列表,以用于标记默认的主界面。
Claims (20)
- 一种电视主界面的切换方法,其特征在于,所述电视主界面的切换方法包括:从第一主界面列表中获取待切换主界面的标识;根据所述待切换主界面的标识,在第二主界面列表中查找与所述待切换主界面的标识相同的主界面;根据预设的默认的主界面的标记,判断与所述待切换主界面的标识相同的主界面是否为默认的主界面,其中,默认的主界面为当前电视***所使用的主界面;当与所述待切换主界面的标识相同的主界面不是默认的主界面时,配置启动所述待切换主界面的配置程序;调用主界面执行程序执行启动所述待切换主界面的配置程序以将当前电视***的主界面切换为所述待切换主界面;将所述待切换主界面的标识赋值给预设的用于标记默认的主界面的标识参数并将所述标识参数保存在电视***中的预设位置。
- 如权利要求1所述的电视主界面的切换方法,其特征在于,所述从第一主界面列表中获取待切换主界面的标识之前包括:当接收到主界面切换指令时,判断电视***中是否存在所述第一主界面列表;当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表。
- 如权利要求2所述的电视主界面的切换方法,其特征在于,所述当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表之后包括:根据所述第一主界面列表,生成所述第二主界面列表,其中,所述第一主界面列表与所述第二主界面列表具有相同的列表对象;根据所述标识参数,从电视***中的所述预设位置获取默认的主界面的标识;将所述第二主界面列表中与获取的默认的主界面的标识相同的列表对象进行标记并将标记的内容作为所述默认的主界面的标记。
- 如权利要求1所述的电视主界面的切换方法,其特征在于,所述电视主界面的切换方法还包括:当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
- 如权利要求2所述的电视主界面的切换方法,其特征在于,所述电视主界面的切换方法还包括:当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
- 如权利要求3所述的电视主界面的切换方法,其特征在于,所述电视主界面的切换方法还包括:当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
- 一种电视主界面的切换方法,其特征在于,所述电视主界面的切换方法包括:从第一主界面列表中获取待切换主界面的标识;根据所述待切换主界面的标识,在第二主界面列表中查找与所述待切换主界面的标识相同的主界面;根据预设的默认的主界面的标记,判断与所述待切换主界面的标识相同的主界面是否为默认的主界面,其中,默认的主界面为当前电视***所使用的主界面;当与所述待切换主界面的标识相同的主界面不是默认的主界面时,将当前电视***的主界面切换为所述待切换主界面且将所述待切换主界面设置为新的默认的主界面。
- 如权利要求7所述的电视主界面的切换方法,其特征在于,所述从第一主界面列表中获取待切换主界面的标识之前包括:当接收到主界面切换指令时,判断电视***中是否存在所述第一主界面列表;当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表。
- 如权利要求8所述的电视主界面的切换方法,其特征在于,所述当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表之后包括:根据所述第一主界面列表,生成所述第二主界面列表,其中,所述第一主界面列表与所述第二主界面列表具有相同的列表对象;根据所述标识参数,从电视***中的所述预设位置获取默认的主界面的标识;将所述第二主界面列表中与获取的默认的主界面的标识相同的列表对象进行标记并将标记的内容作为所述默认的主界面的标记。
- 如权利要求7所述的电视主界面的切换方法,其特征在于,所述电视主界面的切换方法还包括:当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
- 如权利要求8所述的电视主界面的切换方法,其特征在于,所述电视主界面的切换方法还包括:当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
- 如权利要求9所述的电视主界面的切换方法,其特征在于,所述电视主界面的切换方法还包括:当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
- 一种电视主界面的切换装置,其特征在于,所述电视主界面的切换装置包括:第一获取模块,用于从第一主界面列表中获取待切换主界面的标识;查找模块,用于根据所述待切换主界面的标识,在第二主界面列表中查找与所述待切换主界面的标识相同的主界面;第一判断模块,用于根据预设的默认的主界面的标记,判断与所述待切换主界面的标识相同的主界面是否为默认的主界面,其中,默认的主界面为当前电视***所使用的主界面;第一切换模块,用于当与所述待切换主界面的标识相同的主界面不是默认的主界面时,将当前电视***的主界面切换为所述待切换主界面且将所述待切换主界面设置为新的默认的主界面。
- 如权利要求13所述的电视主界面的切换装置,其特征在于,所述第一切换模块包括:配置单元,用于配置启动所述待切换主界面的配置程序;切换单元,用于调用主界面执行程序执行启动所述待切换主界面的配置程序以将当前电视***的主界面切换为所述待切换主界面;赋值单元,用于将所述待切换主界面的标识赋值给预设的用于标记默认的主界面的标识参数并将所述标识参数保存在电视***中的预设位置。
- 如权利要求14所述的电视主界面的切换装置,其特征在于,所述电视主界面的切换装置还包括:第二判断模块,用于当接收到主界面切换指令时,判断电视***中是否存在所述第一主界面列表;第一生成模块,用于当电视***中不存在所述第一主界面列表时,根据预设的主界面筛选参数,从电视***的所有应用中筛选出所有主界面并作为列表对象生成所述第一主界面列表。
- 如权利要求15所述的电视主界面的切换装置,其特征在于,所述电视主界面的切换装置还包括:第二生成模块,用于根据所述第一主界面列表,生成所述第二主界面列表,其中,所述第一主界面列表与所述第二主界面列表具有相同的列表对象;第二获取模块,用于根据所述标识参数,从电视***中的所述预设位置获取默认的主界面的标识;标记模块,用于将所述第二主界面列表中与获取的默认的主界面的标识相同的列表对象进行标记并将标记的内容作为所述默认的主界面的标记。
- 如权利要求13所述的电视主界面的切换装置,其特征在于,所述电视主界面的切换装置还包括:第一更新模块,用于当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;第二切换模块,用于当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;第二更新模块,用于当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
- 如权利要求14所述的电视主界面的切换装置,其特征在于,所述电视主界面的切换装置还包括:第一更新模块,用于当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;第二切换模块,用于当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;第二更新模块,用于当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
- 如权利要求15所述的电视主界面的切换装置,其特征在于,所述电视主界面的切换装置还包括:第一更新模块,用于当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;第二切换模块,用于当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;第二更新模块,用于当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
- 如权利要求16所述的电视主界面的切换装置,其特征在于,所述电视主界面的切换装置还包括:第一更新模块,用于当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为非默认的主界面时,更新所述第一主界面列表与所述第二主界面列表;第二切换模块,用于当接收到卸载应用指令且卸载对象为主界面中的非初始主界面且为默认的主界面时,将当前电视***的主界面切换为初始主界面;第二更新模块,用于当接收到安装应用指令且安装对象为主界面时,更新所述第一主界面列表与所述第二主界面列表。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510493923.XA CN105100951A (zh) | 2015-08-12 | 2015-08-12 | 电视主界面的切换方法及装置 |
CN201510493923.X | 2015-08-12 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017024877A1 true WO2017024877A1 (zh) | 2017-02-16 |
Family
ID=54580331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/084842 WO2017024877A1 (zh) | 2015-08-12 | 2016-06-03 | 电视主界面的切换方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105100951A (zh) |
WO (1) | WO2017024877A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874440A (zh) * | 2018-06-11 | 2018-11-23 | 深圳创维-Rgb电子有限公司 | 一种用户自定义多主页的方法、存储介质及*** |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100951A (zh) * | 2015-08-12 | 2015-11-25 | 深圳Tcl数字技术有限公司 | 电视主界面的切换方法及装置 |
CN106303711B (zh) * | 2016-08-09 | 2019-12-03 | 深圳Tcl数字技术有限公司 | 界面显示方法及电视*** |
CN107197344B (zh) * | 2017-05-16 | 2019-12-10 | 福建捷联电子有限公司 | 一种实现使用者自行定义遥控器快捷功能的方法 |
CN109413500B (zh) * | 2018-11-05 | 2020-12-15 | 四川长虹电器股份有限公司 | 一种定制电视机主场景的方法 |
CN113286185A (zh) * | 2021-05-13 | 2021-08-20 | 海信视像科技股份有限公司 | 一种显示设备及主页显示方法 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110167078A1 (en) * | 2010-01-05 | 2011-07-07 | Todd Benjamin | User Interfaces for Content Categorization and Retrieval |
US20120311466A1 (en) * | 2011-06-02 | 2012-12-06 | Lenovo (Singapore) Pte. Ltd. | Homepage re-assignment |
CN103019509A (zh) * | 2012-11-21 | 2013-04-03 | 东莞宇龙通信科技有限公司 | 终端和主屏幕查找方法 |
CN103561341A (zh) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | 一种智能电视桌面切换方法、装置及智能电视 |
CN103677587A (zh) * | 2013-12-11 | 2014-03-26 | Tcl集团股份有限公司 | 一种Android***中快速切换主界面的方法及*** |
CN105100951A (zh) * | 2015-08-12 | 2015-11-25 | 深圳Tcl数字技术有限公司 | 电视主界面的切换方法及装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007336094A (ja) * | 2006-06-13 | 2007-12-27 | Canon Inc | 視聴システム及びその制御方法、視聴装置及びその制御方法、並びに制御プログラム |
CN102215432A (zh) * | 2011-06-02 | 2011-10-12 | Tcl集团股份有限公司 | 一种电视机***、电视机***启动方法及装置 |
CN103607644A (zh) * | 2013-10-23 | 2014-02-26 | 四川长虹电器股份有限公司 | 一种Android电视自定义屏保程序的方法 |
CN103747353A (zh) * | 2013-11-29 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | 一种节目排列方法及装置 |
CN108008888B (zh) * | 2014-12-29 | 2021-05-04 | Oppo广东移动通信有限公司 | 一种快速切换应用程序及其界面的方法及装置 |
-
2015
- 2015-08-12 CN CN201510493923.XA patent/CN105100951A/zh active Pending
-
2016
- 2016-06-03 WO PCT/CN2016/084842 patent/WO2017024877A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110167078A1 (en) * | 2010-01-05 | 2011-07-07 | Todd Benjamin | User Interfaces for Content Categorization and Retrieval |
US20120311466A1 (en) * | 2011-06-02 | 2012-12-06 | Lenovo (Singapore) Pte. Ltd. | Homepage re-assignment |
CN103019509A (zh) * | 2012-11-21 | 2013-04-03 | 东莞宇龙通信科技有限公司 | 终端和主屏幕查找方法 |
CN103561341A (zh) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | 一种智能电视桌面切换方法、装置及智能电视 |
CN103677587A (zh) * | 2013-12-11 | 2014-03-26 | Tcl集团股份有限公司 | 一种Android***中快速切换主界面的方法及*** |
CN105100951A (zh) * | 2015-08-12 | 2015-11-25 | 深圳Tcl数字技术有限公司 | 电视主界面的切换方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874440A (zh) * | 2018-06-11 | 2018-11-23 | 深圳创维-Rgb电子有限公司 | 一种用户自定义多主页的方法、存储介质及*** |
Also Published As
Publication number | Publication date |
---|---|
CN105100951A (zh) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017024877A1 (zh) | 电视主界面的切换方法及装置 | |
WO2019051902A1 (zh) | 终端控制方法、空调器及计算机可读存储介质 | |
WO2018126888A1 (zh) | 电视功能的快捷启动设置方法及装置 | |
WO2016058258A1 (zh) | 终端远程控制方法和*** | |
WO2017121066A1 (zh) | 应用程序显示方法和*** | |
WO2019114269A1 (zh) | 一种节目续播方法、电视设备及计算机可读存储介质 | |
WO2018113187A1 (zh) | 一种显示控制方法及显示装置 | |
WO2017201943A1 (zh) | 显示屏驱动方法及装置 | |
WO2017107378A1 (zh) | 基于hls流媒体的视频数据加速下载方法及装置 | |
WO2015103864A1 (zh) | 内存管理的方法及Linux终端 | |
WO2018036057A1 (zh) | 软件后台自适应升级方法及装置 | |
WO2017206377A1 (zh) | 同步播放节目的方法和装置 | |
WO2019051909A1 (zh) | 空调器运行参数调整方法、空调器及计算机可读存储介质 | |
WO2017219485A1 (zh) | 智能电视及其控制方法 | |
WO2017036208A1 (zh) | 显示界面中的信息提取方法及*** | |
WO2017084303A1 (zh) | 电视桌面***的切换方法及切换控制*** | |
WO2017071223A1 (zh) | 电视应用的控制方法及装置 | |
WO2016187998A1 (zh) | 动态调整背光方法及装置 | |
WO2019085543A1 (zh) | 电视机***及电视机控制方法 | |
WO2018006581A1 (zh) | 智能电视的播放方法及装置 | |
WO2019051901A1 (zh) | 终端控制方法、装置及计算机可读存储介质 | |
WO2018018680A1 (zh) | 应用提示信息显示方法及装置 | |
WO2017088428A1 (zh) | 基于声波的遥控控制方法及*** | |
WO2016095256A1 (zh) | 智能电视的全局按键处理方法及其*** | |
WO2019061546A1 (zh) | 移动终端的拍照方法、装置及计算机可读存储介质 |
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: 16834502 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 06.07.2018) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16834502 Country of ref document: EP Kind code of ref document: A1 |