CN107295420A - A kind of data selecting method in self-defined template - Google Patents
A kind of data selecting method in self-defined template Download PDFInfo
- Publication number
- CN107295420A CN107295420A CN201710458719.3A CN201710458719A CN107295420A CN 107295420 A CN107295420 A CN 107295420A CN 201710458719 A CN201710458719 A CN 201710458719A CN 107295420 A CN107295420 A CN 107295420A
- Authority
- CN
- China
- Prior art keywords
- data
- template
- added
- self
- buffer area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
Abstract
The present embodiments relate to the data selecting method in a kind of self-defined template, including:Obtain the data acquisition system for choosing data buffer area;Data acquisition system includes multiple template content data to be added;Corresponding layout parameter is loaded according to the data type of template content data to be added;It is self-defined template user interface by template content data display to be added according to layout parameter;Receive the data inputted by self-defined template user interface and remove selection instruction;Selection instruction, which is removed, according to data determines selected one or more data types;According to data type ID, it is determined that choosing one or more of data buffer area template content data to be added, one or more template content data to be added are removed from the data acquisition system for choosing data buffer area;Remaining template content data to be added in data buffer area are chosen in acquisition, and load corresponding layout parameter according to the data type of remaining template content data to be added, export self-defined template user interface.
Description
Technical field
The present invention relates to the data selecting method in technical field of information processing, more particularly to a kind of self-defined template.
Background technology
Intelligent television, is to be based on net application technology, possesses open operating system and chip, possesses open application and puts down
Platform, can be achieved two-way human-computer interaction function, integrate a variety of functions such as audio-visual, amusement, data, with meet user variation with
The tv product of individual demand.
Intelligent television is in use, although be connected with network, and Internet resources can be pushed to user, such as the electricity recommended
Shadow, popular application etc..But its data display shows usually using linear placement, data exhibiting is placed directly in a view
In, view can just check different types of data.User often more can take into account oneself when using intelligent television
Hobby, therefore for different user, push displaying is carried out only with unified data, can not be to user using bringing
Easily experience, flexibility ratio is very poor, it is impossible to meet the use demand of user.How to provide the user flexible customizable
Controllable user interface so that user can carry out the displaying of homepage data according to oneself demand, be still this area and urgently solve
Certainly the problem of.
The content of the invention
Support user certainly there is provided one kind it is an object of the invention to provide the data selecting method in a kind of self-defined template
The solution of definition modification user interface templates content, is deleted for the content no longer paid close attention to, while in system cache
It is middle to carry out corresponding data record so that user can be preferably to user-defined homepage when using intelligent television
Template is updated maintenance, and flexibility is more preferably, user-friendly.
To achieve the above object, the invention provides the data selecting method in a kind of self-defined template, including:
Obtain the data acquisition system for choosing data buffer area;The data acquisition system includes multiple template content numbers to be added
According to;The template content data to be added have data ID;
Corresponding layout parameter is loaded according to the data type of the template content data to be added;
It is self-defined template user interface by the template content data display to be added according to the layout parameter;
Receive the data removal selection instruction that user is inputted by the self-defined template user interface;
Selection instruction, which is removed, according to the data determines selected one or more data types;The data type tool
There is data type ID;
According to the data type ID, it is determined that the one or more of templates to be added chosen in data buffer area
Content-data, by one or more of template content data to be added from the data acquisition system for choosing data buffer area
Remove;
Remaining template content data to be added in data buffer area are chosen described in obtaining, and remaining wait to add according to described
Plus the data type of template content data loads corresponding layout parameter, self-defined template user interface is exported.
It is preferred that, described according to the data type ID, it is determined that choose in data buffer area one or
After multiple template content data to be added, methods described also includes:
According to the data ID of one or more of template content data to be added, institute is determined in total data buffer area
State one or more initial data of one or more template content data to be added;The initial data has to represent
State whether initial data is selected as the data attribute of template content data to be added, the data attribute include choosing with it is unselected
In;
The data attribute of one or more of initial data is revised as not by choosing according to the removal selection instruction
Choose.
It is preferred that, methods described also includes:
Receive the user login information of user's input;
Self-defined template query statement is generated according to the user login information and is sent to the server;
The server obtains corresponding data acquisition system according to the user login information, and returns to user equipment, deposits
Data buffer area is chosen described in being stored in.
It is preferred that, it is described according to the layout parameter, it is self-defined template by the template content data display to be added
User interface is specially:
Data type ID is determined according to the data type of the template content data to be added;
According to the layout parameter, to different types of data ID template content data to be added in the self-defined template
User interface slitting mesh is shown.
It is preferred that, before the data acquisition system of data buffer area is chosen in the acquisition, methods described also includes:
The data acquisition system of data buffer area is chosen described in generation.
Data selecting method in self-defined template provided in an embodiment of the present invention supports User Defined there is provided one kind
The solution of user interface templates content is changed, is deleted for the content no longer paid close attention to, while entering in the system cache
The corresponding data record of row so that user can be preferably to user-defined homepage template when using intelligent television
Maintenance is updated, flexibility is more preferably, user-friendly.
Brief description of the drawings
Fig. 1 be a kind of self-defined template provided in an embodiment of the present invention in data selecting method flow chart.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
The system that data selecting method in self-defined template provided in an embodiment of the present invention can apply to intelligent television
In.User equipment described in example below be refer to intelligent television or connect with intelligent television be used for execute instruction,
The Intelligent set top box of information processing.
Below, the self-defined template data adding method flow chart with reference to shown in Fig. 1, to it is provided in an embodiment of the present invention from
Definition template data adding method is illustrated.
As shown in figure 1, the data selecting method in the self-defined template that the embodiment of the present invention is proposed mainly includes following step
Suddenly:
Step 110, the data acquisition system for choosing data buffer area is obtained;
Specifically, data acquisition system includes multiple template content data to be added;Template content data to be added have number
According to ID;
In intelligent television system, the storage of data can be provided with different buffer zones, such as can be by whole sheets
Different types of data is cached ground data respectively, and the data that user is selected individually are cached again according to type.This step and
Hereinafter described total data buffer area is to be used for the region that total data is stored, and chooses data buffer area to be to be used for
The region of the data storage of selected data to be presented.
In a specific technology is realized, the menu of switch data is realized using RecyclerView, for different
Data can be showed with fragment (fragment), extract the public method in BaseFragment, i.e. code, sub- Fragment's
Public method is defined in base class, and defining interface, allows the interactive interface for being covered with whole window or being suspended on other windows
(Activity) interface is realized, to realize Fragment and Activity data interaction.
Define data management class DataManager (data management module), data have three buffer zones, total data with
Different type is buffered in Map respectively<type,ArrayList<BaseBean>>AllItems, the data selected are with good grounds
The Map set Map that type is individually managed<type,ArrayList<BaseBean>>SelectedItemsByType, all
Select data buffer storage List<BaseBean>allSelected.
Wherein, DataManager is instantiated in Activity, Activity presence is depended on, not in singleton form
In the presence of, it is to avoid RAM leakage.It is convenient to be managed collectively in the buffer and different types of data is all inherited from BaseBean.
Further, the data acquisition system can be the data set of the data buffer storage record based on intelligent television equipment in itself
Data acquisition system in conjunction or the data buffer storage associated with user based on user.
The use of the present embodiment preferably scheme associated with user.Therefore it can be carried out by way of User logs in
The acquisition of data acquisition system.
It can specifically include:User equipment receives the user login information of user's input;Generated according to user login information
Self-defined template query statement is sent to server;Server obtains corresponding data acquisition system according to user login information, and returns
Back to user equipment, it is stored in and chooses data buffer area.
Step 120, corresponding layout parameter is loaded according to the data type of template content data to be added;
Specifically, each template content data to be added has the attribute of data type.
According to this attribute, the template content data to be added to different types of data carry out adding for different layout types
Carry, so as to be shown accordingly.
Such as in a concrete implementation, entry can be selected at different types of data interface, be added to
In allSelected set, in type loading different type layout of " selection " interface according to element in allSelected.
Step 130, it is self-defined template user interface by template content data display to be added according to layout parameter;
Thus, in self-defined template user interface, data type entry can be shown, to the data type and its
Data under type are operated.
Step 140, the data removal selection instruction that user is inputted by self-defined template user interface is received;
Specifically, can carry out clicking operation to entry, so as to be used to this from self-defined template user interface
Mesh is removed.
For backstage, interface and allSelected set all remove the entry.
Step 150, remove selection instruction according to data and determine selected one or more data types;
Wherein, data type has data type ID, and template content number to be added can be corresponded to by data type ID
According to so as to be operated to data.
Step 160, according to data type ID, it is determined that choosing one or more of data buffer area template content to be added
Data, one or more template content data to be added are removed from the data acquisition system for choosing data buffer area;
Step 170, obtain and choose remaining template content data to be added in data buffer area, and wait to add according to remaining
Plus the data type of template content data loads corresponding layout parameter, self-defined template user interface is exported.
Static methods startActivity and incoming callback interface are used for returned data defined in Activity, save
The trouble that must be serialized when transmitting data with internet.
Hereby it is achieved that the customization selection of the data of self-defined template user interface presentation so that user can be by no longer
The data of the data type needed are deleted according to entry.
Further, in step 160 according to data type ID, it is determined that choosing one or more of data buffer area to wait to add
Plus after template content data, in addition it is also necessary to chosen to being used to store in system with unselected as the complete of template content data to be added
Corresponding data carry out the modification of data attribute in the total data buffer area of portion's initial data, are revised as not being selected and are
The state of template content data to be added.So as to which in subsequent operation, user can also perform the operation chosen to it again.It has
An implementation procedure such as following step 180 and the step 190 of body.
Step 180, according to the data ID of one or more template content data to be added, in total data buffer area really
One or more initial data of fixed one or more template content data to be added;
Wherein, initial data has to represent whether initial data is selected as the data of template content data to be added
Attribute, data attribute include choose with it is unselected;
Step 190, the data attribute of one or more initial data is revised as not by choosing according to removal selection instruction
Choose.
Be achieved in the release of initial data so that user in need to such as carrying out self-defined template from now on data add when,
The data can also be chosen again.
Data selecting method in self-defined template provided in an embodiment of the present invention supports User Defined there is provided one kind
The solution of user interface templates content is changed, is deleted for the content no longer paid close attention to, while entering in the system cache
The corresponding data record of row so that user can be preferably to user-defined homepage template when using intelligent television
Maintenance is updated, flexibility is more preferably, user-friendly.
Professional should further appreciate that, each example described with reference to the embodiments described herein
Unit and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software, generally describes the composition and step of each example according to function in the above description.
These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.
Professional and technical personnel can realize described function to each specific application using distinct methods, but this realize
It is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithm
Software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only storage
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect
Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc. all should be included
Within protection scope of the present invention.
Claims (5)
1. the data selecting method in a kind of self-defined template, it is characterised in that methods described includes:
Obtain the data acquisition system for choosing data buffer area;The data acquisition system includes multiple template content data to be added;Institute
Stating template content data to be added has data ID;
Corresponding layout parameter is loaded according to the data type of the template content data to be added;
It is self-defined template user interface by the template content data display to be added according to the layout parameter;
Receive the data removal selection instruction that user is inputted by the self-defined template user interface;
Selection instruction, which is removed, according to the data determines selected one or more data types;The data type has number
According to type ID;
According to the data type ID, it is determined that the one or more of template contents to be added chosen in data buffer area
Data, one or more of template content data to be added are removed from the data acquisition system for choosing data buffer area;
Remaining template content data to be added in data buffer area are chosen described in obtaining, and according to the remaining mould to be added
The data type of plate content-data loads corresponding layout parameter, exports self-defined template user interface.
2. self-defined template data adding method according to claim 1, it is characterised in that described according to the data
Type ID, it is determined that after the one or more of template content data to be added chosen in data buffer area, the side
Method also includes:
According to the data ID of one or more of template content data to be added, described one is determined in total data buffer area
One or more initial data of individual or multiple template content data to be added;The initial data has to represent the original
Whether beginning data are selected as the data attribute of template content data to be added, the data attribute include choosing with it is unselected;
According to it is described removal selection instruction by the data attribute of one or more of initial data by choose be revised as it is unselected.
3. self-defined template data adding method according to claim 1, it is characterised in that methods described also includes:
Receive the user login information of user's input;
Self-defined template query statement is generated according to the user login information and is sent to the server;
The server obtains corresponding data acquisition system according to the user login information, and returns to user equipment, is stored in
It is described to choose data buffer area.
4. self-defined template data adding method according to claim 1, it is characterised in that described to be joined according to the layout
Number, is that self-defined template user interface is specially by the template content data display to be added:
Data type ID is determined according to the data type of the template content data to be added;
According to the layout parameter, to different types of data ID template content data to be added in the self-defined template user
Interface slitting mesh is shown.
5. data selecting method according to claim 1, it is characterised in that choose the number of data buffer area in the acquisition
Before set, methods described also includes:
The data acquisition system of data buffer area is chosen described in generation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710458719.3A CN107295420A (en) | 2017-06-16 | 2017-06-16 | A kind of data selecting method in self-defined template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710458719.3A CN107295420A (en) | 2017-06-16 | 2017-06-16 | A kind of data selecting method in self-defined template |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107295420A true CN107295420A (en) | 2017-10-24 |
Family
ID=60097058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710458719.3A Pending CN107295420A (en) | 2017-06-16 | 2017-06-16 | A kind of data selecting method in self-defined template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107295420A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020228765A1 (en) * | 2019-05-14 | 2020-11-19 | 京东方科技集团股份有限公司 | List presentation method and apparatus, computer device and computer-readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783906A (en) * | 2010-03-23 | 2010-07-21 | 烽火通信科技股份有限公司 | Electronic program guide realization method in internet protocol television product |
CN102143401A (en) * | 2011-01-13 | 2011-08-03 | 博视联(苏州)信息科技有限公司 | Personalized customization method for function menu of Internet protocol television |
CN102752656A (en) * | 2012-07-06 | 2012-10-24 | 四川长虹电器股份有限公司 | Method for customizing menus by digital TV (televesion) subscribers |
CN102883223A (en) * | 2011-07-12 | 2013-01-16 | 上海帕科软件科技有限公司 | IPTV (internet protocol television) system adopting interactive EPG (electronic program guide) distribution system |
-
2017
- 2017-06-16 CN CN201710458719.3A patent/CN107295420A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783906A (en) * | 2010-03-23 | 2010-07-21 | 烽火通信科技股份有限公司 | Electronic program guide realization method in internet protocol television product |
CN102143401A (en) * | 2011-01-13 | 2011-08-03 | 博视联(苏州)信息科技有限公司 | Personalized customization method for function menu of Internet protocol television |
CN102883223A (en) * | 2011-07-12 | 2013-01-16 | 上海帕科软件科技有限公司 | IPTV (internet protocol television) system adopting interactive EPG (electronic program guide) distribution system |
CN102752656A (en) * | 2012-07-06 | 2012-10-24 | 四川长虹电器股份有限公司 | Method for customizing menus by digital TV (televesion) subscribers |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020228765A1 (en) * | 2019-05-14 | 2020-11-19 | 京东方科技集团股份有限公司 | List presentation method and apparatus, computer device and computer-readable medium |
US11675479B2 (en) | 2019-05-14 | 2023-06-13 | Boe Technology Group Co., Ltd. | List display method and apparatus, computer device and computer-readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8010479B2 (en) | Simplifying the creation of user-defined custom elements for use in a graphical modeling application | |
CN104516738A (en) | Integrated implementing method for development and release of APP | |
CN109274731A (en) | Deployment, call method and the device of web services based on multi-tenant technology | |
CN106681971A (en) | Form data processing method and device | |
CN108173919A (en) | Big data platform builds system, method, equipment and computer-readable medium | |
CN104765939B (en) | Pickup conversion DWG form electric diagram method and devices | |
CN111538774B (en) | Data storage and display method, system, equipment and storage medium | |
US20200057797A1 (en) | Method and system of a user associating a first webpage web link and second webpage link and viewing of the contents of the webpage links by the selection of the first webpage link | |
US10262055B2 (en) | Selection of data storage settings for an application | |
CN107517312A (en) | A kind of wallpaper switching method, device and terminal device | |
CN105556534B (en) | For suggesting the electronic equipment and method of response guide when refusing | |
CN105843618A (en) | Desktop system with custom theme edition function | |
CN105847446A (en) | Network data obtaining method, device and system | |
CN103098055B (en) | Recursive navigation in mobile client relation management | |
CN108628900A (en) | A kind of method and relevant apparatus of data format acquisition | |
CN106599241A (en) | Big data visual management method for GIS software | |
CN107295420A (en) | A kind of data selecting method in self-defined template | |
CN106844763B (en) | A kind of method showed to the Internet media file formula of modifying and its device | |
CN108108392A (en) | Commodity data management method, device, computer equipment and storage medium | |
CN107408239A (en) | Carry out the framework of Mass Data Management in communication applications by multiple mailboxes | |
US9082104B2 (en) | Method and apparatus for managing system specifications | |
US20140068426A1 (en) | System and method of modifying order and structure of a template tree of a document type by merging components of the template tree | |
CN107423291A (en) | A kind of data translating method and client device | |
CN106020616A (en) | Updating method and device for desktop quick linking icons | |
CN107545062A (en) | Entrance recalls method, apparatus, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171024 |