A kind of intelligent television Pagination Display method and apparatus based on android
Technical field
The present invention relates to moving communicating field, especially a kind of intelligent television Pagination Display method and apparatus based on android for intelligent TV set.
Background technology
Along with the progress of people's the yearning to good life and expanding economy, science and technology, people are also more and more higher to the requirement of sci-tech product, for example: intelligent television has substituted gradually conventional television and come into people's life. therefore, how for user provide succinct and attractive in appearance UI, smoothness and easily user's method of operation become the significant problem that current those skilled in the art face.
There are at present following intelligent television control system and method, for example: intelligent television carries android operating system, because adapter is a container of android, its internal memory can't discharge automatically, traditional android load adapter be acquiescence be whole loadings, EMS memory occupation and container length are directly proportional; The huge data structure for having mass users information and complexity, its not tolerable of EMS memory occupation, often there will be Caton phenomenon, affects the fluency of user experience and operation; And other some dynamic loading methods, the loading just increasing progressively can make the data in adapter increasing, increases system burden.
Summary of the invention
In view of this, be necessary to carry for above-mentioned intelligent television the deficiency of android operation system technology, a kind of novel intelligent television Pagination Display method based on android be provided and realize the device of the method.
The object that the present invention is is achieved through the following technical solutions:
An intelligent television Pagination Display method based on android, it comprises the following steps:
The page adjustment information of S1, reception user input;
S2, described page manager are returned to the data number in current page number and current page according to described page adjustment information, and from buffering area, read user data and the structure thereof of page interior quantity, and described user data is sent to adapter;
The more new data success of S3, described adapter, makes UI show new page, and described adapter notifies described page manager to upgrade the page.
Before described S1, also comprise step: the initialization operation that the page manager of reception user application programs is carried out.
The initialization operation that the page manager of described user's application programs is carried out comprises: page type, current page and/or total page are set.
In described S1, user is by button and/or touch operation input page adjustment information, described page adjustment information comprise operate initiation by described user enter page up, lower one page and/or formfeed solicited message.
In described S2, described user data comprises audio frequency and/or the video data of needs management, and described data structure comprises duration, classification and/or link picture.
It is a kind of for realizing the intelligent television Pagination Display device based on android of said method that the present invention also provides, and it comprises:
Page adjustment information receiver module, it is for receiving the page adjustment information of user's input;
Page management module, it returns to the data number in current page number and current page for controlling described page manager according to described page adjustment information, and from buffering area, read user data and the structure thereof of page interior quantity, and described user data is sent to adapter;
Control module, its for control described adapter more new data make UI show new page, and control described adapter and notify described page manager to upgrade the page.
The described Pagination Display device based on android also comprises initialization module, the initialization operation that it carries out for receiving the page manager of user's application programs.
The initialization operation that the page manager of described user's application programs is carried out comprises: page type, current page and/or total page are set.
Described page adjustment information receiver module receives user by button and/or touches the page adjustment information of operation input, described page adjustment information comprise operate initiation by described user enter page up, lower one page and/or formfeed solicited message.
Described user data comprises audio frequency and/or the video data of needs management, and described data structure comprises duration, classification and/or link picture.
Compared with prior art, the present invention possesses following advantage:
Prevent that adapter data are excessive, the too complicated too much problem of EMS memory occupation causing of data structure; In the time that adapter data are excessive, the data of managing adapter by page manager, are pushed to UI layer, and the phenomenon that user UI there will not be card to pause, wait for promotes user experience.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment of the present invention one.
Embodiment
embodiment mono-:
The present embodiment provides a kind of intelligent television Pagination Display method based on android, and as shown in Figure 1, it comprises the following steps:
An intelligent television Pagination Display method based on android, it comprises the following steps:
Initialization page manager: the initialization operation that the page manager of reception user application programs is carried out; Concrete, user opens after application program, and page manager is carried out to initialization, which sets and plant the parameters such as page type, current page, total page;
Receive the page adjustment information of user's input: the page adjustment information such as page up, lower one page and/or the formfeed request that reception user causes by button and/or touch operation;
Described page manager is returned to the data number in current page number and current page according to described page adjustment information, and from buffering area, read user data and the structure thereof of a page interior quantity (the data number of current page), and described user data is sent to adapter: described user data comprises audio frequency and/or the video data of needs management, described data structure comprises duration, classification and/or link picture;
The more new data success of described adapter, makes UI show new page, and described adapter notifies described page manager to upgrade the page.
embodiment bis-:
It is a kind of for realizing the Pagination Display device based on android of said method that the present embodiment provides, and it comprises:
Initialization module, the initialization operation that it carries out for receiving the page manager of user's application programs, the initialization operation that the page manager of described user's application programs is carried out comprises: page type, current page and/or total page are set;
Page adjustment information receiver module, it is for receiving the page adjustment information of user's input, described page adjustment information receiver module receives user by button and/or touches the page adjustment information of operation input, described page adjustment information comprise operate initiation by described user enter page up, lower one page and/or formfeed solicited message;
Page management module, it returns to the data number in current page number and current page for controlling described page manager according to described page adjustment information, and from buffering area, read user data and the structure thereof of page interior quantity, and described user data is sent to adapter: described user data comprises audio frequency and/or the video data of needs management, described data structure comprises duration, classification and/or link picture;
Control module, its for control described adapter more new data make UI show new page, and control described adapter and notify described page manager to upgrade the page.