CN102223502A - Self-adaption webpage generating device, method and television for playing self-adaption webpage - Google Patents

Self-adaption webpage generating device, method and television for playing self-adaption webpage Download PDF

Info

Publication number
CN102223502A
CN102223502A CN201110173906XA CN201110173906A CN102223502A CN 102223502 A CN102223502 A CN 102223502A CN 201110173906X A CN201110173906X A CN 201110173906XA CN 201110173906 A CN201110173906 A CN 201110173906A CN 102223502 A CN102223502 A CN 102223502A
Authority
CN
China
Prior art keywords
page
module
television set
hardware information
file
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
CN201110173906XA
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.)
Baishitong Network TV Technology Development Co Ltd
Original Assignee
Baishitong Network TV Technology Development 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 Baishitong Network TV Technology Development Co Ltd filed Critical Baishitong Network TV Technology Development Co Ltd
Priority to CN201110173906XA priority Critical patent/CN102223502A/en
Publication of CN102223502A publication Critical patent/CN102223502A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to the field of NTV (Network Television), in particular to a self-adaption webpage generating device, a method and a television for playing a self-adaption webpage. The invention provides the self-adaption webpage generating device which comprises a webpage analyzing processing module, a terminal information module, a file selection module and a business output module. By adopting the self-adaption webpage generating device, the method and the television for playing the self-adaption webpage, disclosed by the invention, the webpage of the NTV can be friendly presented at different television terminals.

Description

The television set of self adaptation page generating apparatus, method and the broadcast self adaptation page
Technical field
The present invention relates to internet television field (NTV, Network TeleVision), refer to the television set that a kind of self adaptation generates page device, method and plays the described self adaptation page especially.
Background technology
Internet television (NTV, Network TeleVision) is to be carrier with the broadband network, is form to look the audio frequency multimedia, turns to characteristic with interactive individual character, and the business of comprehensive paid service is provided for all wide-band terminal users.Internet television is to produce under digitlization and networked background, it is the product that internet technique combines with TV tech, in integrating TV and network two large propagation vections, internet television both kept television image intuitively, lively characteristicness flexibly, having had the interaction feature that the Internet obtains as required again, is comprehensive two kinds of communication media advantages and a kind of new mode of propagation that produces.
On technical pattern, internet television is based on the Internet, is transmission link with broadband ethernet (Ethernet), with DMA(Digital Media Adapter) simulated television that is connected is the TV of terminal.
At present, internet television is of a great variety, the size of each television set and resolution are all different, the professional page of one cover is for being the television set of A at resolution, these professional pages are when the television set of other resolution is showed so, then differing adapts to these television set surely, and the inventor makes improvement at this technological deficiency.
Summary of the invention
Technical problem to be solved by this invention provides a kind of television set self adaptation that can adapt to different size and generates at the apparatus and method of the professional page of described television set and the television set of playing the described self adaptation page.
On the one hand, the invention provides a kind of self adaptation page generating apparatus for solving the problems of the technologies described above, comprising: page dissection process module, end message module, file are chosen module and professional output module; Described page parsing module is set to resolve the component of the professional page that television set asks, and calls described file and choose module and generate page framework to be exported; Described end message module is set to preservation, inquiry terminal hardware information and digital finger-print information; Described file is chosen the file that module is set to choose according to the hardware information of described television set the professional page that makes up described television set request; Described professional output module is set to generate the described professional page, and exports to described television set.
On the other hand, the invention provides a kind of self adaptation page generation method for solving the problems of the technologies described above: the component of the professional page that page parsing module parsing television set is asked, and call file and choose module generation page framework to be exported;
The preservation of end message module, inquiry terminal hardware information and digital finger-print information;
Described file is chosen module is chosen the professional page that makes up described television set request according to the hardware information of described television set file;
Professional output module generates the described professional page, and exports to described television set.
On the other hand, the invention provides a kind of television set that self adaptation generates the page of playing for solving the problems of the technologies described above, comprise an access device, described access device comprises: information acquisition module, digital finger-print generation module and service access module; Described information acquisition module is set to gather the hardware information of described television set, described digital finger-print generation module is set to utilize described hardware information to generate digital finger-print, and described service access module is set to utilize described hardware information and described digital finger-print to carry out service access.
Adopt self adaptation page generating apparatus of the present invention can realize that with the television set of the method and the broadcast self adaptation page internet television Website page presents the close friend of different television set terminals.
Description of drawings
Fig. 1 is service platform of the present invention and TV set device Organization Chart.
Embodiment
For disclosing technical spirit of the present invention in detail, describe in detail for embodiment below in conjunction with accompanying drawing:
As shown in Figure 1, self adaptation page generating apparatus is positioned at the service platform end, and described access device is positioned at TV set terminal.
A kind of self adaptation page generating apparatus comprises: page dissection process module, end message module, file are chosen module and professional output module; Described page parsing module is set to resolve the component of the professional page that television set asks, and calls described file and choose module and generate page framework to be exported; Described end message module is set to preservation, inquiry terminal hardware information and digital finger-print information; Described file is chosen the file that module is set to choose according to the hardware information of described television set the professional page that makes up described television set request; Described professional output module is set to generate the described professional page, and exports to described television set.
Further, described file is chosen module and is included but not limited to: CSS (CSS) Chooser, picture Chooser and client script language (JAVASCRIPT) Chooser, described CSS Chooser is set to choose the CSS file according to the hardware information of described television set, described picture Chooser is set to choose picture file according to the hardware information of described television set, and described JAVASCRIPT Chooser is set to the hardware information JAVASCRIPT file according to described television set.
Further, described professional output module comprises business datum reading unit and JAVASCRIPT business data processing unit, described business datum reading unit is set to extract business datum from database, and exports with the formative document of extendible SGML (XML); Described JAVASCRIPT business data processing unit is set to resolve described XML data and carries out page data and fill, and generates the described professional page.
Further, described self adaptation page generating apparatus comprises page filter, described page filter is set to the service request of described television set is filtered, and qualified service request is called described end message module upgrade terminal hardware information, and the invoking page parsing processor carries out dissection process to the service request of described television set.
A kind of self adaptation page generation method,
The component of the professional page that page parsing module parsing television set is asked, and call file and choose module generation page framework to be exported;
The preservation of end message module, inquiry terminal hardware information and digital finger-print information;
Described file is chosen module is chosen the professional page that makes up described television set request according to the hardware information of described television set file;
Professional output module generates the described professional page, and exports to described television set.
Further, described file is chosen module and is included but not limited to: CSS Chooser, picture Chooser and JAVASCRIPT Chooser,
Described CSS Chooser is chosen the CSS file according to the hardware information of described television set,
Described picture Chooser is chosen picture file according to the hardware information of described television set,
Described JAVASCRIPT Chooser is according to the hardware information JAVASCRIPT file of described television set.
Further, described professional output module comprises business datum reading unit and JAVASCRIPT business data processing unit,
Described business datum reading unit extracts business datum from database, and exports with the formative document of XML;
The described XML data of described JAVASCRIPT business data processing unit resolves are also carried out page data and are filled, and generate the described professional page.
Further, comprise page filtration step, page filter filters the service request of described television set, and qualified service request is called described end message module upgrade terminal hardware information, and the invoking page parsing processor carries out dissection process to the service request of described television set.
Further, described hardware information includes but not limited to: CPU, chip, resolution and screen size information.
A kind of television set of playing the self adaptation generation page comprises an access device, and described access device comprises: information acquisition module, digital finger-print generation module and service access module; Described information acquisition module is set to gather the hardware information of described television set, described digital finger-print generation module is set to utilize described hardware information to generate digital finger-print, and described service access module is set to utilize described hardware information and described digital finger-print to carry out service access.
Further, described hardware information includes but not limited to: CPU, chip, resolution and screen size information.
Further, described digital finger-print generation module generates digital finger-print and is specially: described hardware information is organized into orderly character string, utilizes Digital Fingerprinting Technology to produce digital finger-print, described Digital Fingerprinting Technology includes but not limited to MD5.
Further, described service access includes but not limited to: open an account, authenticate, login and ingress for service solicit operation.
Embodiment:
Certain television set, its hardware information is as follows:
Chip information:
Title Manufacturer The hardware Base Serial Number Hardware stops numbering Model
MSTAR MSTAR 00M108900KTB 00M1089ZZKTZ MST5C26
Cpu information:
Model Dominant frequency The hardware Base Serial Number Hardware stops numbering The chip model
LC863316A A 00LCA10890000B 00LCA9089Z0000 MST5C26
Resolution is: 1600*1200.
Described television set comprises an access device, and described access device comprises: information acquisition module, digital finger-print generation module and service access module; Described information acquisition module is set to gather the hardware information of described television set, described digital finger-print generation module is set to utilize described hardware information to generate digital finger-print, and described service access module is set to utilize described hardware information and described digital finger-print to carry out service access.
The step that described television set is initiated access is as follows:
S101: described information acquisition module is gathered the hardware information of described television set;
S102: described digital finger-print generation module utilizes described hardware information to produce digital finger-print, when generating digital finger-print, with the hardware device information that collects character string composed as follows in order: MSTAR$MSTAR$00M108900KTC$MST5C26|$LC863316A$A$00LCA10890 000F;
Adopt the MD5 algorithm that above-mentioned orderly character is serially added close generation digital finger-print PA;
S103: described service access module is initiated service request to service platform end ingress for service " http://domain/tvportal/index ", carried terminal hardware and digital finger-print bit string when initiating request: (MSTAR$MSTAR$00M108900KTC$MST5C26|$LC863316A$A$00LCA10890 000F|$1600*1200|$PA).
Described service platform end comprises self adaptation page generating apparatus, comprising: page dissection process module, end message module, file are chosen module and professional output module; Described page parsing module is set to resolve the component of the professional page that television set asks, and calls described file and choose module and generate page framework to be exported; Described end message module is set to preservation, inquiry terminal hardware information and digital finger-print information; Described file is chosen the file that module is set to choose according to the hardware information of described television set the professional page that makes up described television set request; Described professional output module is set to generate the described professional page, and exports to described television set.
Described self adaptation page generating apparatus inserts, and described access procedure is as follows:
S201: described page filter judges that this request meets filtercondition, and judges that this request is the ingress for service request;
S202: described end message module is preserved described television set hardware and digital finger-print information;
S203: described page parsing processor carries out dissection process to service request, calls described file and chooses module generation page framework to be exported; Comprise the steps:
S2031: find first link (link) label, and the value of finding its attribute (type) is " text/css ", the value of getattr href is "/css/common/style.css ", call the CSS Chooser then and generate final CSS routing information "/css/common/style.css ", the value of attribute href is replaced with CSS routing information "/css/common/style.css ";
S2032: find second link label, and the value of finding its type for " text/css " value of getattr href is "/css/personal/index.css ", call the CSS Chooser then and generate final CSS routing information "/css/personal/index_1600_1200.css ", the value of attribute href is replaced with CSS routing information "/css/personal/index_1600_1200.css ";
S2033: find first script label, and the value of finding its type for " text/javascript " value of getattr src is "/js/common/common.js ", call the JAVASCRIPT Chooser then and generate final JAVASCRIPT routing information "/js/common/common.js ", the value of attribute src is replaced with JAVASCRIPT routing information "/js/common/common.js ";
S2034: find second script label, and the value of finding its type is " text/javascript ", the value of getattr src is "/js/personal/index.js ", call the JAVASCRIPT Chooser then and generate final JAVASCRIPT routing information "/js/personal/index_1600_1200.js ", the value of attribute src is replaced with JAVASCRIPT routing information "/js/personal/index_1600_1200.js ";
S2035: find first picture img label, the value of getattr src is "/img/log.jpg ", call the picture Chooser then and generate final picture routing information "/img/log_1600_1200.jpg ", the value of attribute src is replaced with picture routing information "/img/log_1600_1200.jpg ".
S204: professional output module is established and is generated the described professional page, and exports to described television set; Described generation step comprises:
S2041: television set is downloaded the HTML business framework page, CSS file, JAVASCRIPT file;
S2042:HTML business framework page invocation JAVASCRIPT business data processing unit obtains the XML data to the business datum reader of service platform page generating apparatus;
S2043:JAVASCRIPT business data processing unit resolves XML data are also carried out page data and are filled, and final business datum is showed television set.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. self adaptation page generating apparatus, comprising: page dissection process module, end message module, file are chosen module and professional output module; Described page parsing module is set to resolve the component of the professional page that television set asks, and calls described file and choose module and generate page framework to be exported; Described end message module is set to preservation, inquiry terminal hardware information and digital finger-print information; Described file is chosen the file that module is set to choose according to the hardware information of described television set the professional page that makes up described television set request; Described professional output module is set to generate the described professional page, and exports to described television set.
2. page generating apparatus as claimed in claim 1, it is characterized in that: described file is chosen module and is included but not limited to: CSS (CSS) Chooser, picture Chooser and client script language (JAVASCRIPT) Chooser, described CSS Chooser is set to choose the CSS file according to the hardware information of described television set, described picture Chooser is set to choose picture file according to the hardware information of described television set, and described JAVASCRIPT Chooser is set to the hardware information JAVASCRIPT file according to described television set.
3. page generating apparatus as claimed in claim 1, it is characterized in that: described professional output module comprises business datum reading unit and JAVASCRIPT business data processing unit, described business datum reading unit is set to extract business datum from database, and exports with the formative document of extendible SGML (XML); Described JAVASCRIPT business data processing unit is set to resolve described XML data and carries out page data and fill, and generates the described professional page.
4. page generating apparatus as claimed in claim 1, it is characterized in that: comprise page filter, described page filter is set to the service request of described television set is filtered, and qualified service request is called described end message module upgrade terminal hardware information, and the invoking page parsing processor carries out dissection process to the service request of described television set.
5. as the arbitrary described page generating apparatus of claim 1 ~ 4, it is characterized in that: described hardware information includes but not limited to: CPU, chip, resolution and screen size information.
6. self adaptation page generation method is characterized in that:
The component of the professional page that page parsing module parsing television set is asked, and call file and choose module generation page framework to be exported;
The preservation of end message module, inquiry terminal hardware information and digital finger-print information;
Described file is chosen module is chosen the professional page that makes up described television set request according to the hardware information of described television set file;
Professional output module generates the described professional page, and exports to described television set.
7. self adaptation page generation method as claimed in claim 6 is characterized in that: described file is chosen module and is included but not limited to: CSS Chooser, picture Chooser and JAVASCRIPT Chooser,
Described CSS Chooser is chosen the CSS file according to the hardware information of described television set,
Described picture Chooser is chosen picture file according to the hardware information of described television set,
Described JAVASCRIPT Chooser is according to the hardware information JAVASCRIPT file of described television set.
8. self adaptation page generation method as claimed in claim 6 is characterized in that: described professional output module comprises business datum reading unit and JAVASCRIPT business data processing unit,
Described business datum reading unit extracts business datum from database, and exports with the formative document of XML;
The described XML data of described JAVASCRIPT business data processing unit resolves are also carried out page data and are filled, and generate the described professional page.
9. self adaptation page generation method as claimed in claim 6, it is characterized in that: comprise page filtration step, page filter filters the service request of described television set, and qualified service request is called described end message module upgrade terminal hardware information, and the invoking page parsing processor carries out dissection process to the service request of described television set.
10. as the arbitrary described self adaptation page generation method of claim 6 ~ 9, it is characterized in that: described hardware information includes but not limited to: CPU, chip, resolution and screen size information.
11. play the television set that self adaptation generates the page for one kind, it is characterized in that: comprise an access device, described access device comprises: information acquisition module, digital finger-print generation module and service access module; Described information acquisition module is set to gather the hardware information of described television set, described digital finger-print generation module is set to utilize described hardware information to generate digital finger-print, and described service access module is set to utilize described hardware information and described digital finger-print to carry out service access.
12. broadcast self adaptation as claimed in claim 11 generates the television set of the page, it is characterized in that: described hardware information includes but not limited to: CPU, chip, resolution and screen size information.
13. broadcast self adaptation as claimed in claim 11 generates the television set of the page, it is characterized in that: described digital finger-print generation module generates digital finger-print and is specially: described hardware information is organized into orderly character string, utilize Digital Fingerprinting Technology to produce digital finger-print, described Digital Fingerprinting Technology includes but not limited to MD5.
14. broadcast self adaptation as claimed in claim 11 generates the television set of the page, it is characterized in that: described service access includes but not limited to: open an account, authenticate, login and ingress for service solicit operation.
CN201110173906XA 2011-06-24 2011-06-24 Self-adaption webpage generating device, method and television for playing self-adaption webpage Pending CN102223502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110173906XA CN102223502A (en) 2011-06-24 2011-06-24 Self-adaption webpage generating device, method and television for playing self-adaption webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110173906XA CN102223502A (en) 2011-06-24 2011-06-24 Self-adaption webpage generating device, method and television for playing self-adaption webpage

Publications (1)

Publication Number Publication Date
CN102223502A true CN102223502A (en) 2011-10-19

Family

ID=44779914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110173906XA Pending CN102223502A (en) 2011-06-24 2011-06-24 Self-adaption webpage generating device, method and television for playing self-adaption webpage

Country Status (1)

Country Link
CN (1) CN102223502A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094775A (en) * 2014-05-13 2015-11-25 腾讯科技(深圳)有限公司 Webpage generation method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188712A (en) * 2007-12-21 2008-05-28 康佳集团股份有限公司 A processing method for page self-adapted display
CN101360221A (en) * 2008-08-25 2009-02-04 中国电信股份有限公司 Network television service adaptation method, server and system
CN101526952A (en) * 2009-01-19 2009-09-09 北京跳网无限科技发展有限公司 UA adaptation technology for identifying attribute of mobile phone terminal
US20100036878A1 (en) * 2008-08-08 2010-02-11 Itovi Inc. System for Extracting Reduced Information of Multimedia Digital Content and System and Method for Displaying Multiple Content Using Reduced Information
CN101742136A (en) * 2008-11-18 2010-06-16 中兴通讯股份有限公司 Multimedia terminal-based adaptive display method
CN101778168A (en) * 2010-02-05 2010-07-14 中国电信股份有限公司 Method and system for optimization display of wed pages on browser of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188712A (en) * 2007-12-21 2008-05-28 康佳集团股份有限公司 A processing method for page self-adapted display
US20100036878A1 (en) * 2008-08-08 2010-02-11 Itovi Inc. System for Extracting Reduced Information of Multimedia Digital Content and System and Method for Displaying Multiple Content Using Reduced Information
CN101360221A (en) * 2008-08-25 2009-02-04 中国电信股份有限公司 Network television service adaptation method, server and system
CN101742136A (en) * 2008-11-18 2010-06-16 中兴通讯股份有限公司 Multimedia terminal-based adaptive display method
CN101526952A (en) * 2009-01-19 2009-09-09 北京跳网无限科技发展有限公司 UA adaptation technology for identifying attribute of mobile phone terminal
CN101778168A (en) * 2010-02-05 2010-07-14 中国电信股份有限公司 Method and system for optimization display of wed pages on browser of mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094775A (en) * 2014-05-13 2015-11-25 腾讯科技(深圳)有限公司 Webpage generation method and apparatus
CN105094775B (en) * 2014-05-13 2020-08-04 腾讯科技(深圳)有限公司 Webpage generation method and device

Similar Documents

Publication Publication Date Title
US9060007B2 (en) System and methods for facilitating the synchronization of data
US20090043815A1 (en) System and method for processing downloaded data
CN104021172A (en) Advertisement filtering method and advertisement filtering device
US20110209046A1 (en) Optimizing web content display on an electronic mobile reader
CN104081393B (en) Network application content map
CN107870989A (en) webpage generating method and terminal device
CN102725729A (en) Analyzing objects from a graphical interface for standards verification
CN106980497A (en) Webpage and website performance optimization method and device
CN107679885A (en) A kind of ad data acquisition methods and device
CN105791227A (en) Resource propagating method and system
CN107315646A (en) Data flow control method and device between page assembly
CN105263590A (en) Method and system for game data collection
CN104268163B (en) A kind of realization method and system of webmaster network element configuration interface
CN107066496A (en) A kind of page access method of compatible different browsers and terminal device
CN107977678A (en) Method and apparatus for output information
CN104899212A (en) Webpage display method, server and system
CN105100291A (en) Resource address generating method, device and system
US20130097383A1 (en) Methods for providing a response and systems thereof
CN102223502A (en) Self-adaption webpage generating device, method and television for playing self-adaption webpage
CN108614844B (en) Multimedia file generation method and device
CN103885988B (en) Export method and device, the content output system of content
CN115904167A (en) Processing method and device of webpage icon, storage medium and electronic equipment
CN105955680A (en) Document printing method capable of supporting dynamic additional extended information
CN109951318A (en) The function configuration method and device of application
CN105740251A (en) Method and system for integrating different content sources in bus manner

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111019