CN107277608A - A kind of self-defined template data adding method being applied in intelligent television system - Google Patents

A kind of self-defined template data adding method being applied in intelligent television system Download PDF

Info

Publication number
CN107277608A
CN107277608A CN201710458705.1A CN201710458705A CN107277608A CN 107277608 A CN107277608 A CN 107277608A CN 201710458705 A CN201710458705 A CN 201710458705A CN 107277608 A CN107277608 A CN 107277608A
Authority
CN
China
Prior art keywords
data
template
self
added
user
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
Application number
CN201710458705.1A
Other languages
Chinese (zh)
Inventor
张瑞奇
黄叶青
孙健
刘斌
付强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Universal Wisdom Technology Beijing Co Ltd
Original Assignee
Universal Wisdom Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Universal Wisdom Technology Beijing Co Ltd filed Critical Universal Wisdom Technology Beijing Co Ltd
Priority to CN201710458705.1A priority Critical patent/CN107277608A/en
Publication of CN107277608A publication Critical patent/CN107277608A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present embodiments relate to a kind of self-defined template data adding method being applied in intelligent television system, including:Receive self-defined template edit instruction;Data template type information is obtained according to self-defined template edit instruction, and obtains corresponding template content data to be added;For local data, template content data to be added are obtained from local data cache area, and be stored in the first buffer area;For network data, the data acquisition system of corresponding data type is inquired about according to data template type information from network data buffer area, and by the template content data storage to be added in data acquisition system in the first buffer area;The template content data to be added stored in first buffer area are shown in template content data selection interface to be added;Receive the data selection instruction of user's input;Selected one or more template content data to be added are determined according to data selection instruction, and according to its data template type information, generation self-defined template interface data is shown.

Description

A kind of self-defined template data adding method being applied in intelligent television system
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of self-defined mould being applied in intelligent television system Plate data adding method.
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 user often more can take into account the hobby of oneself when using intelligent television, therefore right For different user, push displaying is carried out only with unified data, can not easily be experienced to user using bringing, spirit Activity is very poor, it is impossible to meet the use demand of user.
The content of the invention
It is an object of the invention to provide a kind of self-defined template data adding method being applied in intelligent television system, carry A kind of solution for supporting User Defined user interface templates content has been supplied, has been located respectively for local data and network data Reason, storage, which is arrived, carries out data return behind local particular cache region, self-defined template content is formed, so that user makes With when intelligent television by recognizing that user login information can obtain user-defined homepage template, directly to user's exhibition Show its customized attentinal contents, it is user-friendly.
To achieve the above object, add the invention provides a kind of self-defined template data being applied in intelligent television system Adding method, including:
User equipment receives self-defined template edit instruction;
Data template type information is obtained according to the self-defined template edit instruction, and according to data template type information Obtain corresponding template content data to be added;The template content data to be added have data attribute information, to basis The data attribute information determines that the template content data to be added are local data or network data;
For the template content data to be added for local data, the mould to be added is obtained from local data cache area Plate content-data, and be stored in the first buffer area;
For the template content data to be added for network data, according to the data template from network data buffer area Type information inquires about the data acquisition system of corresponding data type, and by the template content data storage to be added in the data acquisition system In the first buffer area;
The template content data to be added stored in first buffer area are selected into boundary in template content data to be added Face is shown;
Receive the data selection instruction that user is inputted by the template content data selection interface to be added;
Selected one or more template content data to be added are determined according to the data selection instruction;
According to the data template type information of selected one or more template content data to be added, generation is certainly Definition template interface data, and it is shown as self-defined template user interface.
It is preferred that, methods described also includes:
When in network data buffer area without data acquisition system with the data template type information corresponding data type When, the template content data to be added of data type corresponding with the data template type information are obtained from network side, and deposit Storage is in local data cache area.
It is preferred that, after the reception self-defined template edit instruction, methods described also includes:
Receive the template name data of self-defined template;
The template label of the self-defined template is generated according to the template name data.
It is preferred that, after the reception self-defined template edit instruction, method also includes:
User login information is inquired about according to the self-defined template edit instruction.
It is further preferred that the self-defined template interface data includes the user login information, methods described is also Including:
The self-defined template data are sent to server.
It is further 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 self-defined template data according to the user login information, and returns to the use Family equipment.
It is further preferred that methods described also includes:
Whether determine the user login information is empty;
When the user login information is space-time, login prompt information is exported, to point out user to input User logs in letter Breath;
Receive the user login information of user's input.
It is provided in an embodiment of the present invention be applied to intelligent television system in self-defined template data adding method there is provided A kind of solution for supporting User Defined user interface templates content, is handled respectively for local data and network data, Progress data return behind local particular cache region is stored, self-defined template content is formed, so that user is using By recognizing that user login information can obtain user-defined homepage template when intelligent television, directly shown to user Its customized attentinal contents, it is user-friendly.
Brief description of the drawings
Fig. 1 is a kind of self-defined template data addition side being applied in intelligent television system provided in an embodiment of the present invention The flow chart of method.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
Self-defined template data adding method provided in an embodiment of the present invention can apply in the system of intelligent television.Under User equipment described in the embodiment of face is to refer to intelligent television.
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 embodiment of the present invention propose be applied to intelligent television system in Self-defined template data adding method mainly comprise the following steps:
Step 101, user equipment receives self-defined template edit instruction;
Specifically, self-defined template edit instruction can be by being started shooting to intelligent television after homepage on the correlation that provides Service entrance carries out selection operation generation.
After this step, it is preferred that generate template name receiving module on a user interface, made by oneself to user's input The template name of adopted template, and according to the template label of the template name generation self-defined template received.So as in template number After the completion of addition, the label of the corresponding self-defined page of generation on the start homepage of intelligent television.So that user passes through this Label can easily recognize the user-defined page.
Step 102, data template type information is obtained according to self-defined template edit instruction, and according to data template type The corresponding template content data to be added of acquisition of information;
Specifically, template content data to be added have data attribute information, it can determine and treat by data attribute information It is local data or network data to add template content data.Local data is that intelligent television carries function or application wait Template content data are added, network data includes in the network-caching area and template to be added in network side server Content-data.
Template data to be added can include program data, including the cinematic data or hot topic of film that user watched Recommend cinematic data of film etc.;Character data, such as performer's title, director's title etc. can also be included;It can also wrap Include the application data bag of addible application, operable functionality controls etc..
For the ease of being better understood from, it is further detailed with reference to the realization in particular technique.
It can be showed for different data with fragment (fragment), extract the public affairs in BaseFragment, i.e. code Common method, sub- Fragment public method is defined in base class, and defining interface, allows and is covered with whole window or is suspended in it Interactive interface (Activity) on his window realizes the interface, to realize Fragment and Activity data interaction.
Step 103, for the template content data to be added for local data, obtained from local data cache area and wait to add Plus template content data, and be stored in the first buffer area;
Specifically, the storage of data can be provided with different buffer zones, such as can be by whole local datas with not Cached respectively with data type, the data that user is selected individually are cached again according to type.This step and hereinafter described Local data cache area be used for total data store region, and the first buffer area be deposited for selected data The region of storage.
In a specific technology is realized, data management class DataManager (data management module) is defined, data have Three buffer zones, total data is buffered in Map respectively with different type<type,ArrayList<BaseBean>> AllItems, the Map set Map that the with good grounds type of data selected is individually managed<type,ArrayList<BaseBean>> SelectedItemsByType, has all selected 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.
For the acquisition of local data, such as the template content data to be added of function class, definition management class (FuncManager), by the title of functional identity acquisition corresponding function, the related data such as icon.
Step 104, for the template content data to be added for network data, according to data from network data buffer area The data acquisition system of template type information inquiry corresponding data type;
Specifically, processing method in the present embodiment for network data is delayed according to whether being already present on network data Region is deposited to be handled differently.
Step 105, when having data set with data template type information corresponding data type in network data buffer area During conjunction, by the template content data storage to be added in data acquisition system in the first buffer area;
Step 106, when in network data buffer area without data with data template type information corresponding data type During set, the template content data to be added of data type corresponding with data template type information are obtained from network side, and are deposited Storage is in local data cache area.
Execution step 103 is returned again to afterwards.
Step 107, the template content data to be added stored in the first buffer area are selected in template content data to be added Interface is selected to be shown;
In concrete implementation, show data list with RecyclerView in Fragment, local data is directly shown, Network data obtains corresponding type data acquisition system List from caching, first obtains host Activity data management system DataManager, if having data in caching, shows the data in caching, if do not cached, number is transferred from backstage According to, and it is stored in caching allItems.By paging request, judge that RecyclerView slides into bottom, that is, ask lower page of data, and It is appended to behind data with existing, program data and character data are ranked up according to renewal time, realize Comparator.
So how to judge that RecyclerView slides into bottom
When judging that RecyclerView slides into bottom, not can determine that now yes/no be it is real reach bottom, obtain LastChildView bottom coordinate values, the bottom coordinate for obtaining Recyclerview subtracts bottom padding values, also It is the coordinate of display content bottommost, the current position values of this view is obtained by this lastChildView, judges LastChildView bottom values are the same with RecyclerViewBottom, judge that lastPosition is Last position, if lastChildView bottom values are the same with RecyclerViewBottom, and LastPosition is last position.In the case where two conditions are all met, then explanation is really to slide into Bottom.
Step 108, the data selection instruction that user is inputted by template content data selection interface to be added is received;
The data selection instruction, is shown by the display interface of user equipment.
Step 109, selected one or more template content data to be added are determined according to data selection instruction;
Step 110, it is raw according to the data template type information of selected one or more template content data to be added Into self-defined template interface data, and it is shown as self-defined template user interface.
Specifically, can be by the static methods startActivity defined in Activity, and incoming callback interface For returning data to caller, save with the trouble that must be serialized when transmitting data by internet.Pass through the present invention The method that embodiment is provided, it is only necessary to returned after allSelected is arranged.So as to generate self-defined template interface data.
The self-defined template data addition side provided in an embodiment of the present invention being applied in intelligent television system
Method there is provided a kind of solution for supporting User Defined user interface templates content, for local data and Network data is handled respectively, and storage, which is arrived, carries out data return behind local particular cache region, form self-defined template content, from And cause user when using intelligent television by recognizing that user login information can obtain user-defined homepage mould Plate, directly shows its customized attentinal contents to user, 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 (7)

1. a kind of self-defined template data adding method being applied in intelligent television system, it is characterised in that methods described bag Include:
User equipment receives self-defined template edit instruction;
Data template type information is obtained according to the self-defined template edit instruction, and obtained according to data template type information Corresponding template content data to be added;The template content data to be added have data attribute information, to according to described Data attribute information determines that the template content data to be added are local data or network data;
For the template content data to be added for local data, obtained from local data cache area in the template to be added Hold data, and be stored in the first buffer area;
For the template content data to be added for network data, according to the data template type from network data buffer area The data acquisition system of information inquiry corresponding data type, and by the template content data storage to be added in the data acquisition system In one buffer area;
The template content data to be added stored in first buffer area are entered in template content data selection interface to be added Row display;
Receive the data selection instruction that user is inputted by the template content data selection interface to be added;
Selected one or more template content data to be added are determined according to the data selection instruction;
According to the data template type information of selected one or more template content data to be added, generate self-defined Substrate interface data, and it is shown as self-defined template user interface.
2. self-defined template data adding method according to claim 1, it is characterised in that methods described also includes:
When in network data buffer area without the data acquisition system with the data template type information corresponding data type, from Network side obtains the template content data to be added of data type corresponding with the data template type information, and is stored in this In ground data buffer area.
3. self-defined template data adding method according to claim 1, it is characterised in that receive self-defined mould described After plate edit instruction, methods described also includes:
Receive the template name data of self-defined template;
The template label of the self-defined template is generated according to the template name data.
4. self-defined template data adding method according to claim 1, it is characterised in that receive self-defined mould described After plate edit instruction, methods described also includes:
User login information is inquired about according to the self-defined template edit instruction.
5. self-defined template data adding method according to claim 4, it is characterised in that the self-defined template interface Data include the user login information, and methods described also includes:
The self-defined template data are sent to server.
6. self-defined template data adding method according to claim 5, 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 self-defined template data according to the user login information, and returns to the user and set It is standby.
7. self-defined template data adding method according to claim 4, it is characterised in that methods described also includes:
Whether determine the user login information is empty;
When the user login information is space-time, login prompt information is exported, to point out user to input user login information;
Receive the user login information of user's input.
CN201710458705.1A 2017-06-16 2017-06-16 A kind of self-defined template data adding method being applied in intelligent television system Pending CN107277608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710458705.1A CN107277608A (en) 2017-06-16 2017-06-16 A kind of self-defined template data adding method being applied in intelligent television system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710458705.1A CN107277608A (en) 2017-06-16 2017-06-16 A kind of self-defined template data adding method being applied in intelligent television system

Publications (1)

Publication Number Publication Date
CN107277608A true CN107277608A (en) 2017-10-20

Family

ID=60067387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710458705.1A Pending CN107277608A (en) 2017-06-16 2017-06-16 A kind of self-defined template data adding method being applied in intelligent television system

Country Status (1)

Country Link
CN (1) CN107277608A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090096892A1 (en) * 2007-10-11 2009-04-16 Premier Image Technology(China) Ltd. Camera module and method for personalizing on-screen display interface
CN102932694A (en) * 2012-11-09 2013-02-13 深圳创维-Rgb电子有限公司 Method and device of intelligent network television interface display
CN103354563A (en) * 2013-07-12 2013-10-16 未来电视有限公司 Method of customizing EPG (electronic program guide) interface based on Internet television client and apparatus thereof
CN104360798A (en) * 2014-10-29 2015-02-18 宇龙计算机通信科技(深圳)有限公司 Method and terminal for desktop arrangement
CN104951301A (en) * 2015-06-10 2015-09-30 腾讯科技(北京)有限公司 Method, device and system for processing user interface of family media playing equipment
CN105204860A (en) * 2015-09-28 2015-12-30 上海斐讯数据通信技术有限公司 Method and device for rapidly generating user-defined static Web page

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090096892A1 (en) * 2007-10-11 2009-04-16 Premier Image Technology(China) Ltd. Camera module and method for personalizing on-screen display interface
CN102932694A (en) * 2012-11-09 2013-02-13 深圳创维-Rgb电子有限公司 Method and device of intelligent network television interface display
CN103354563A (en) * 2013-07-12 2013-10-16 未来电视有限公司 Method of customizing EPG (electronic program guide) interface based on Internet television client and apparatus thereof
CN104360798A (en) * 2014-10-29 2015-02-18 宇龙计算机通信科技(深圳)有限公司 Method and terminal for desktop arrangement
CN104951301A (en) * 2015-06-10 2015-09-30 腾讯科技(北京)有限公司 Method, device and system for processing user interface of family media playing equipment
CN105204860A (en) * 2015-09-28 2015-12-30 上海斐讯数据通信技术有限公司 Method and device for rapidly generating user-defined static Web page

Similar Documents

Publication Publication Date Title
CN107918548A (en) Method, apparatus, computer equipment and the storage medium that business function is realized
US20160306803A1 (en) Group user level association method and system
CN107209905A (en) For personalized and task completion service, correspondence spends theme and sorted out
CN106603469B (en) The method and apparatus for logging in application
CN102067126B (en) Result to distributed search is monetized and prioritization
CN112700602B (en) Storage method and device of intelligent cabinet
CN104660688B (en) A kind of method and apparatus obtaining log-on message
CN106504432A (en) A kind of express delivery cabinet intelligent prompt method based on WIFI data acquisition technologys
CN103064584A (en) Method and device for pasting
CN103562908B (en) Method and computing device for realizing file access by utilizing different file hosts
CN104615787B (en) A kind of update interface display method and device
CN108021956A (en) Article control method, computer installation and computer-readable recording medium
CN103744575A (en) Method and equipment for providing input auxiliary areas of input applications
CN111538774A (en) Data storage and display method, system, equipment and storage medium
CN104484482A (en) Webpage information updating method and system of network platform
CN108287849A (en) The cross-platform page jump control method in operation side and its corresponding device
CN109348263A (en) Smart television video chases after acute processing method, system and storage medium
CN107729573A (en) Information-pushing method and device
US20140297557A1 (en) Device for providing information, method for providing information, program for providing information, and computer-readable recording medium storing program for same
CN107148022A (en) A kind of anti-loiter network based reminding method and relevant device
CN110188525A (en) Unlocked by fingerprint method and relevant device
CN110147184B (en) Navigation backspacing method and control
CN103069418B (en) Information provider unit, information providing method, program and information recording carrier
CN110119396A (en) Data managing method and Related product
US11070518B2 (en) Method and system for assigning number for routing call from electronic device

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: 20171020