Summary of the invention
The object of the invention is to enable user under any circumstance breathe out suspension home court scape and do not affect the interactive experience of current task.
For achieving the above object, the invention provides a kind of intelligent television suspension home court scape exchange method based on Android system, comprising the steps:
System performs background program corresponding to suspension home court scape according to the selection of user, and the background program that described suspension home court scape is corresponding is a Service;
Ejection suspension homepage application hurdle and status bar also show by system on a user interface, the work state information of described status bar Dynamic Announce television system;
User adjusts corresponding button and operates the application shown in suspension homepage application hurdle, at least comprises and deletes the module shown in suspension homepage or replace.
A kind of concrete preferred version is: user adjusts corresponding button and operates the application shown in suspension homepage application hurdle,
If user uses lower key button, system will eject the whole application module of TV, and user adds the module in application hurdle and deletes according to demand;
If user uses key button, whether system selects the dialog box of secondary interface by ejecting, if user selects to be that then system display application is recommended the information of secondary interface and added focus frame, and user browses secondary interface information according to demand;
User adjusts corresponding button and operates the application shown in suspension homepage application hurdle,
If user uses left and right press key, whether ejection is selected quick key by system, if user selects no, then apply hurdle seven-piece puzzle UI module and carry out normality switching as teaching sorfwares, if user selects, then apply columns state constant, by the effect icon of a Display Realization arrow fast run above application hurdle, realize the switching rapidly of user;
User adjusts corresponding button and operates the application shown in suspension homepage application hurdle,
If user uses return key, system will exit the suspension home court scape page;
If user uses Menu key, system is by exhalation application custom block and show, and user carries out the self-defined switching of applying by upper and lower key, if user uses return key button, system will exit application custom block;
If user uses OK button, system will start application corresponding to OK button, and releases the suspension home court scape page;
If user does not carry out any operation within the time interval of setting, system will exit the suspension home court scape page automatically.
A kind of concrete time interval setting scheme is, time interval of described setting be 3 ?5 minutes.
Particularly, described user is chosen as user and uses HOME key.
Particularly, the work state information of described television system at least comprises the connection status of network state, upgrade status and USB interface.
The invention has the beneficial effects as follows: the present invention realizes suspension home court scape by adopting service and the view of Android, change intelligent television tradition UI design style, traditional UI style turns to master with functional module, the present invention is based on TV applications, the UI content of presenting to user is application hurdle and status bar, application hurdle initial condition is prefabricate and install application, and user can arbitrarily add and remove application module, and can customization application module.User can according to Application Hints information in addition, checks the recommendation list of this application and just understand the information of this application after need not starting application.What status bar showed is current selective gist, present system time, network state, equipment connection state etc.As everyone knows, it is have precedence over service that the activity of Android responds rank, therefore in order to not affect user-interaction experience efficiency, present invention employs an independent WindowManager to manage focus frame, this is because in focus frame moving process, position can cause redrawing of whole scene in continuous change and then have a strong impact on efficiency, and direct result is exactly that focus frame moves slow card and pauses.If redraw object to only have focus frame in independent WindowManager, so greatly improve the fluency of focus frame movement, improve user-interaction experience.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is described further; should be noted that; embodiment is only used to help reader to understand the technical conceive of technical scheme of the present invention better, not in order to limit the protection range of the claims in the present invention.
The present invention reaches user under any circumstance to breathe out suspension home court scape and do not affect the object of the interactive experience of current task, and propose a kind of intelligent television suspension home court scape exchange method based on Android system, the method comprises the steps:
User uses a teleswitch button to the main scene request of television system transmission exhalation suspension, background program corresponding according to the tasks carrying suspension home court scape that described button is corresponding in systems in which after system acceptance request, the background program that described suspension home court scape is corresponding is a Service;
Ejection suspension homepage application hurdle and status bar also show by system on a user interface, the work state information of described status bar Dynamic Announce television system;
User adjusts corresponding button and operates the application shown in suspension homepage application hurdle, at least comprises and deletes the module shown in suspension homepage or replace.
Embodiment
As shown in Figure 1, the idiographic flow of the intelligent television suspension home court scape exchange method based on Android system of the present invention is as described below.
After user uses HOME button exhalation suspension home court scape, ejection suspension homepage application hurdle and status bar also show by system on a user interface, status bar continues the work state information of Dynamic Announce television system, and work state information at least comprises the connection status of network state, upgrade status and USB interface.
Afterwards, user can adjust corresponding button and operate the application shown in suspension homepage application hurdle, at least comprises and deletes the module shown in suspension homepage or replace.
User adjusts corresponding button and operates the application shown in suspension homepage application hurdle:
If user uses lower key button, system will eject the whole application module of TV, and user adds the module in application hurdle and deletes according to demand; If user uses key button, whether system selects the dialog box of secondary interface by ejecting, if user selects to be that then system display application is recommended the information of secondary interface and added focus frame, and user browses secondary interface information according to demand;
If user uses left and right press key, whether ejection is selected quick key by system, if user selects no, then apply hurdle seven-piece puzzle UI module and carry out normality switching as teaching sorfwares, if user selects, then apply columns state constant, by the effect icon of a Display Realization arrow fast run above application hurdle, realize the switching rapidly of user; If user uses return key, system will exit the suspension home court scape page; If user uses Menu key, system is by exhalation application custom block and show, and user carries out the self-defined switching of applying by upper and lower key, if user uses return key button, system will exit application custom block; If user uses OK button, system will start application corresponding to OK button, and releases the suspension home court scape page; If user does not carry out any operation within the time interval of 5 minutes of setting, system will exit the suspension home court scape page automatically.
Below the status bar related in said method, the function applying hurdle and recommendation secondary interface and specific implementation thereof are described in detail.
(1) scape framework in suspension home court realizes, the view shown inside WindowManager by the service starting Android arrives suspension effect, therefore suspension home court scape is a service, and the data content of suspension home court scape is all by the RelaytiveLayout institute organization and administration inside a WindowManager.The present invention has two WindowManager, one for managing the data content of suspension homepage, one for managing focus frame system.Suspension homepage data content comprises three parts: status bar, and application hurdle, recommends secondary interface.When user breathes out suspension homepage, only can display application hurdle and status bar.
(2) realization of suspension homepage status bar and interactive mode, create a RelaytiveLayout, the inside contains conventional state information display field LinearLayoutA and application choice display field LinearLayoutB, conventional status bar needs the network of Dynamic Announce intelligent television, dormancy, usb state, upgrading, the states such as message.Dynamic interpolation and the deletion of state is realized by visible and the gone attribute arranging view inside LinearLayoutA.Application state information inside LinearLayoutB is changed by Real-time Obtaining current application icon.Status bar does not go up focus, just an information organization form.
(3) TV applications management, one of innovative point of the present invention is that homepage is no longer based on modular layout, but with the application management homepage in TV, TV applications comprises: system-level application, and this application does not need to present to user, preset application, this is applied as that producer develops or has the application of cooperation agreement with third party, can not unload, common application, this application can unload.Therefore first the present invention needs to filter out system-level application when obtaining TV and all applying, and need not manage system-level application.Preset application is divided into removable and non-removable two classes on suspension homepage, and non-removable application needs to be labeled out, and when carrying out module deletion at suspension homepage or replacing, this type of application will not respond user's request.Conveniently application management, the present invention devises two kinds of patterns for all applying, operational mode and pattern compiler, in operational mode, click application arbitrarily just can directly start, choose application in edit pattern just can add in suspension homepage module list, facilitate user to start fast, this application just can remove by anti-choosing application from suspension home page lists module.User-defined list of application can be shown in order to start shooting, need user-defined list of application to be recorded in native database.The present invention also needs management application whether to have recommendation function in addition, user can be facilitated like this when selective gist, first can check the recommendation information of application, and without the need to the information of this application could be obtained after startup application.
(4) suspension homepage secondary recommend realization and interactive mode, the application that the application that the present invention is directed to producer's research and development is cooperated with third party is proposed a kind of applying equation secondary and recommends, give should be used as one recommend interface, without the need to start this application just can show want to be presented to user information to win the concern of user.The UI of secondary interface is recommended to be divided into two kinds of patterns: acquiescence UI layout, dynamic UI layout.It is single that acquiescence UI layout is mainly used in applying recommending data form, the situation not high to UI dimensional requirement; Dynamic UI layout is mainly used in data format diversification, and information updating is situation frequently.The present invention gives tacit consent to UI and adopts horizontal screen to slide, and namely data message is filled from left to right successively, owing to being recommendation information, therefore giving tacit consent to number of posters and is no more than 20; Dynamic UI adopts the mode of resolution server topology file to realize dynamic UI and loads, and namely server arrangement file provides the size of UI layout, often opens the position of placard in layout and size information.Secondary is recommended to obtain focus, when user opens secondary interface according to arrow information on status bar, is now obtained the information of application recommendation by application management, then determines that load default UI layout still generates Dynamic Distribution in real time according to type mark.In secondary is recommended, when data acquisition is slow, response user key-press is just slow, the present invention adopts the mode first showing UI to arrive and responds user fast, when obtaining application recommendation information, first obtain the number (acquiescence UI) of recommendation information or resolve UI topology file (dynamic UI), this kind of acquisition of information speed quickly, then multithreading Asynchronous loading data are utilized, when recommending UI carries out real-time pinup picture at secondary after placard is downloaded.When user gets interested information at secondary interface, directly this application can be started at secondary interface.
(5) the focus frame management system of suspension homepage, the present invention is in order to promote Consumer's Experience, ensure fluency when focus frame switches, focus frame view is managed by independently WindowManager, it is exactly a rectangle frame that focus frame presents to user, in practical situations both, by a common picture as focus frame background, then deformation can be there is when carrying out amplifying flexible, there is the following two kinds mode can solve this problem: a focus frame picture segmentation to be become 4 limits and 4 summits, the generation of deformation can be avoided like this, another kind of mode utilizes picture that draw9path tool making suffix of Android is .9.png to reach common class effect, the present invention adopts the latter.In suspension homepage, default situations only has recommendation secondary interface can go up focus frame, so when user is when applying hurdle exhalation and recommending secondary interface, WindowManager adds focus frame view in real time, when user leaves secondary interface, WindowManager removes focus frame view.Due to the present invention's employing is global focus frame, and therefore the positional information of focus frame view is recommended placard to determine at the coordinate of video screen by secondary instead of recommends at secondary the coordinate in layout to determine.
The foregoing is only case study on implementation of the present invention, be not limited to the present invention, all do within principle of the present invention and spirit any amendment, equivalent replace and improve, be all included within protection scope of the present invention.