CN101464886A - HTML label and attribute expansion method based on built-in browser - Google Patents

HTML label and attribute expansion method based on built-in browser Download PDF

Info

Publication number
CN101464886A
CN101464886A CNA2008102073586A CN200810207358A CN101464886A CN 101464886 A CN101464886 A CN 101464886A CN A2008102073586 A CNA2008102073586 A CN A2008102073586A CN 200810207358 A CN200810207358 A CN 200810207358A CN 101464886 A CN101464886 A CN 101464886A
Authority
CN
China
Prior art keywords
html
attribute
label
privately owned
built
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
CNA2008102073586A
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.)
Shanghai Digivision Technology Co., Ltd.
Shanghai Information Pipeline Co., Ltd.
Original Assignee
SHANGHAI DIGIVISION TECHNOLOGY 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 SHANGHAI DIGIVISION TECHNOLOGY Co Ltd filed Critical SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Priority to CNA2008102073586A priority Critical patent/CN101464886A/en
Publication of CN101464886A publication Critical patent/CN101464886A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an HTML label based on an embedded type browser and a method for extending attributes, which enables the embedded type browser at the terminal of a digital television to achieve a complex web page display effect and operation effect on the basis that the system memory consumption is not increased and the system performance is not reduced, and offer support to peculiar applications of the digital television. The invention adopts the technical scheme that the method comprises three processing modes: defining a private label and defining the private field of the private label; extending label attributes defined according to standard HTML specification to other HTML labels; and defining private attribute values in the attributes of the HTML label for ensuring that the specific operations can be performed in the web page. The invention can be applied to the field of digital televisions.

Description

A kind of html tag and attribute expansion method based on built-in browser
Technical field
The present invention relates to a kind of html tag and attribute expansion method, relate in particular to a kind of html tag and attribute expansion method based on built-in browser.
Background technology
In the existing Digital Television based on the valued added applications of Web, generally HTML, the CSS standards such as (CSS (cascading style sheet) are single) by standard realizes display effect of network page such as layering, the conversion of hyperlink focus color, by web page operation effects such as JavaScript realize that window is hidden, closed.
The restriction of existing standard: (1) only can't realize above-mentioned web application by the HTML standard of standard; (2) the peculiar application of Digital Television does not still have the support of HTML standard; (3) support standards such as CSS, JavaScript, DOM, will greatly improve the complexity of digital TV terminal built-in browser software, and then significantly improve the hardware and software cost of set-top box.
Summary of the invention
The objective of the invention is to address the above problem, a kind of html tag and attribute expansion method based on built-in browser is provided, make the digital TV terminal built-in browser not increasing Installed System Memory consumption, not reduce on the basis of system performance, realize complicated display effect of network page and operating effect, and distinctive application provides support to Digital Television.
Technical scheme of the present invention is: the present invention has disclosed a kind of html tag and attribute expansion method based on built-in browser, comprises three kinds of processing modes:
(1) the privately owned label of definition and define the privately owned attribute of this privately owned label;
(2) tag attributes according to standard HTML normalized definition extends to other html tags;
(3) by in the attribute of html tag, defining privately owned property value so that webpage is carried out specific operation.
Above-mentioned html tag and attribute expansion method based on built-in browser, wherein, the privately owned label of definition in the processing mode (1) and the application of privately owned attribute thereof comprise webpage embedded video request program and video playback.
Above-mentioned html tag and attribute expansion method based on built-in browser, wherein, the application that tag attributes is extended to other html tags in the processing mode (2) comprises layering demonstration, the conversion of hyperlink focus color of webpage.
Above-mentioned html tag and attribute expansion method based on built-in browser, wherein, passing through in the processing mode (3) defines privately owned property value in the attribute of html tag application comprises the effect that realizes carrying out script.
The present invention contrasts prior art following beneficial effect: method of the present invention is by to the simple extension of html tag and attribute, web page operation effect such as realize that webpage effect such as layering, the conversion of hyperlink focus color and window are hidden, closed.The present invention is less demanding to set top box embedded browser, need not to support standards such as CSS, DOM, JavaScript.The present invention is not high to the STB terminal hardware requirement, does not increase Installed System Memory consumption, does not reduce system performance.
Description of drawings
Fig. 1 be of the present invention based on built-in browser html tag and the synoptic diagram of the preferred embodiment of attribute expansion method.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 shows the preferred embodiment of html tag and the attribute expansion method based on built-in browser of the present invention.See also Fig. 1, the method for present embodiment comprises three kinds of processing modes: processing mode 10: define privately owned label and define the privately owned attribute of this privately owned label; Processing mode 20: the tag attributes of standard HTML normalized definition is extended to other html tags; Processing mode 30: by in the attribute of html tag, defining privately owned property value so that webpage is carried out specific operation.
The application of processing mode 10 comprises the peculiar application of Digital Television such as webpage embedded VOD (video request program), video playback.
For example, definition<VOD 〉,<VODPARA〉label, realize the broadcast of video-on-demand applications in the digital television application and the setting of controlled variable.It below is an example of this processing mode 10.
<html>
<head>
<title>VOD?play?example</title>
</head>
<body>
<vod?playmode=″full″>
<vodpara?name=″id″value=″0x1234″>
<vodpara?name=″freq″value=″6900000″>
<vodpara?name=″sym_rate″value=″6875″>
<vodpara?name=″qam_mode″value=″64″>
<vodpara?name=″run?time″value=″1:58:40″>
</vod>
</body>
</html>
In this example,<VOD〉label definition the pattern play of VOD, playmode is full frame operator scheme,<VODPARA〉label definition the video parameter play of VOD such as frequency, symbol rate, reproduction time etc.
The application of processing mode 20 comprises layering demonstration, the conversion of hyperlink focus color of webpage etc.It below is an example of this processing mode 20.
<html>
<head>
<title>usemap?example</title>
</head>
<body?background=″bg.jpg″usemap=″#map1″>
<table?background=″table_bg.jpg″usemap=″#map2″width=720>
<tr><td?width=200>&nbsp;</td><td?height=50>&nbsp;</td></tr>
<tr><td?wi?dth=200>&nbsp;</td>
<td?background=″td_bg.jpg″usemap=″#map3″>&nbsp;</td></tr>
</table>
<map?name=″map1″>
<area?shape=″rect″coords=″50,50,150,100″href=″#″/>
<area?shape=″rect″coords=″350,50,450,100″href=″#″/>
</map>
<map?name=″map2″>
<area?shape=″rect″coords=″50,150,150,200″href=″#″/>
<area?shape=″rect″coords=″50,250,150,300″href=″#″/>
</map>
<map?name=″map3″>
<area?shape=″rect″coords=″350,150,450,200″href=″#″/>
<area?shape=″rect″coords=″350,250,450,300″href=″#″/>
</map>
</body>
</html>
In this example, label<img〉in the usemap attribute extend to<body,<table,<td etc. in the label, make the Background that defines in these labels also can quote mapping area, realize the effect of layering mapping.The mapping area of map1, map2, map3 definition is respectively by<body 〉,<table 〉,<td〉label quotes.
It below is another example of this processing mode 20.
<html>
<head>
<title>link?color?example</title>
</head>
<body?bgcolor=#808080?text=#ffffff?link=#ff0000?vlink=#00ff00>
<table?width=720>
<tr><td?width=50>&nbsp;</td>
<td?height=50>
<a?href=″#″>text?link?1</a>
</td></tr>
<tr><td?width=50>&nbsp;</td>
<td?height=50>
<a?href=″#″l?ink=#00ff00?vlink=#80ff00>text?link?2</a>
</td></tr>
<tr><td?width=50>&nbsp;</td>
<td?height=50>
<a?href=″#″link=#000000?vlink=#808000>text?link?3</a>
</td></tr>
</table>
</body>
</html>
In this example, with label<body〉in link, vlink attribute extend to<a in the label, make each<a the literal link in the label can set the color of literal link separately, makes webpage design more flexible.The color of first link in this example is<body〉in the color value of definition, the color of second and the 3rd link is<a〉each self-defining color value in the label.
The application of processing mode 30 comprises the effect that realizes carrying out script.Be an example of this processing mode 30 below.
<html>
<head>
<title>fragment?script?example</title>
</head>
<body>
<table?width=720>
<tr><td>
<a?href=″#exit″>exit?browser</a>
</td></tr>
<tr><td>
<a?href=″#blur″>hide?browser</a>
</td></tr>
<tr><td>
<a?href=″#historyback″>history?back</a>
</td></tr>
</table>
</body>
</html>
With label<a 〉,<area in the fragment value defined of href attribute be specific sign so that it carries out the particular Web page operation, realize carrying out the effect of script.In this example, during link in user's webpage clicking, first link is carried out and is withdrawed from browser operation, and second link carried out and hidden browser operation, and historical return is carried out in the 3rd link.
The foregoing description provides to those of ordinary skills and realizes or use of the present invention; those of ordinary skills can be under the situation that does not break away from invention thought of the present invention; the foregoing description is made various modifications or variation; thereby protection scope of the present invention do not limit by the foregoing description, and should be the maximum magnitude that meets the inventive features that claims mention.

Claims (4)

1, a kind of html tag and attribute expansion method based on built-in browser comprise three kinds of processing modes:
(1) the privately owned label of definition and define the privately owned attribute of this privately owned label;
(2) tag attributes according to standard HTML normalized definition extends to other html tags;
(3) by in the attribute of html tag, defining privately owned property value so that webpage is carried out specific operation.
2, html tag and attribute expansion method based on built-in browser according to claim 1 is characterized in that, the privately owned label of definition in the processing mode (1) and the application of privately owned attribute thereof comprise webpage embedded video request program and video playback.
3, html tag and attribute expansion method based on built-in browser according to claim 1, it is characterized in that the application that tag attributes is extended to other html tags in the processing mode (2) comprises layering demonstration, the conversion of hyperlink focus color of webpage.
4, html tag and attribute expansion method based on built-in browser according to claim 1 is characterized in that, passing through in the processing mode (3) defines privately owned property value in the attribute of html tag application comprises the effect that realizes carrying out script.
CNA2008102073586A 2008-12-19 2008-12-19 HTML label and attribute expansion method based on built-in browser Pending CN101464886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102073586A CN101464886A (en) 2008-12-19 2008-12-19 HTML label and attribute expansion method based on built-in browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102073586A CN101464886A (en) 2008-12-19 2008-12-19 HTML label and attribute expansion method based on built-in browser

Publications (1)

Publication Number Publication Date
CN101464886A true CN101464886A (en) 2009-06-24

Family

ID=40805461

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102073586A Pending CN101464886A (en) 2008-12-19 2008-12-19 HTML label and attribute expansion method based on built-in browser

Country Status (1)

Country Link
CN (1) CN101464886A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788911A (en) * 2010-03-04 2010-07-28 北京惠信博思技术有限公司 Method for developing digital television application based on browser
CN101888530A (en) * 2010-06-30 2010-11-17 中山大学 Embedded browser-based HTML label and attribute expansion method
WO2012116542A1 (en) * 2011-02-28 2012-09-07 中兴通讯股份有限公司 Method and device for calling local applications by mobile terminal browser
CN102662737A (en) * 2012-03-14 2012-09-12 优视科技有限公司 Calling method and device of extension program
CN101706821B (en) * 2009-12-10 2012-12-19 中兴通讯股份有限公司 Tag-based mobile internet page design system and method
CN103678399A (en) * 2012-09-21 2014-03-26 腾讯科技(深圳)有限公司 Method and system for extending browser features
CN106126725A (en) * 2016-06-30 2016-11-16 北京小米移动软件有限公司 Page display method and device
CN109948025A (en) * 2019-03-20 2019-06-28 上海古鳌电子科技股份有限公司 A kind of data referencing recording method
CN110086814A (en) * 2019-04-30 2019-08-02 广州酷狗计算机科技有限公司 A kind of method, apparatus and storage medium of data acquisition

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706821B (en) * 2009-12-10 2012-12-19 中兴通讯股份有限公司 Tag-based mobile internet page design system and method
CN101788911A (en) * 2010-03-04 2010-07-28 北京惠信博思技术有限公司 Method for developing digital television application based on browser
CN101888530A (en) * 2010-06-30 2010-11-17 中山大学 Embedded browser-based HTML label and attribute expansion method
WO2012116542A1 (en) * 2011-02-28 2012-09-07 中兴通讯股份有限公司 Method and device for calling local applications by mobile terminal browser
CN102662737B (en) * 2012-03-14 2014-06-11 优视科技有限公司 Calling method and device of extension program
CN102662737A (en) * 2012-03-14 2012-09-12 优视科技有限公司 Calling method and device of extension program
CN103678399A (en) * 2012-09-21 2014-03-26 腾讯科技(深圳)有限公司 Method and system for extending browser features
CN103678399B (en) * 2012-09-21 2018-09-07 腾讯科技(深圳)有限公司 A kind of method and system of extension browser feature
CN106126725A (en) * 2016-06-30 2016-11-16 北京小米移动软件有限公司 Page display method and device
CN109948025A (en) * 2019-03-20 2019-06-28 上海古鳌电子科技股份有限公司 A kind of data referencing recording method
CN109948025B (en) * 2019-03-20 2023-10-20 上海古鳌电子科技股份有限公司 Data reference recording method
CN110086814A (en) * 2019-04-30 2019-08-02 广州酷狗计算机科技有限公司 A kind of method, apparatus and storage medium of data acquisition
CN110086814B (en) * 2019-04-30 2021-11-02 广州酷狗计算机科技有限公司 Data acquisition method and device and storage medium

Similar Documents

Publication Publication Date Title
CN101464886A (en) HTML label and attribute expansion method based on built-in browser
CN103546821B (en) Method and device for regulating video playing interface
CN102511048B (en) A kind of method and system comprising the video area of text for pre-service
US8161509B2 (en) Television receiver and method for providing information to the same
DE202011110780U1 (en) Multifunction display
CN102033942B (en) Mobile communication equipment terminal-based tag display management method and system
CN1870732A (en) Method for setting interface of electronic card
CN101950239A (en) Large size image display method and system
CN102436455A (en) Method and system for browsing characters as well as client browser
CN101710936A (en) IPTV printscreen realization method and device based on set-top box
CN101365079A (en) Method for overlapping and dynamically displaying background color into transparent dynamic image
CN102917273A (en) Cross-platform display application method and device
CN114073098A (en) Streaming media synchronization method and display device
CN1937779A (en) Method for improving television terminal device digital caption data processing efficiency
CN102082930B (en) A kind of method that captioned test is replaced and device
US9542370B2 (en) Method and apparatus for sharing JavaScript object in webpages
CN111246309A (en) Method for displaying channel list in display device and display device
CN101867695A (en) Digital television set top box based on browser
CN113163228B (en) Media asset playing type marking method and server
CN102761718A (en) Television program browsing method and system
CN113347413A (en) Window position detection method and display device
CN102082925B (en) A kind of fill method of subtitle template and device
CN106664299A (en) Media presentation guide method based on hyper text transport protocol media stream and related devic
CN111064982A (en) Display control method, storage medium and display device
CN106445320A (en) Method and device for manufacturing and displaying contents of electronic book

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHANGHAI INFORMATION INVESTMENT CO., LTD.

Free format text: FORMER OWNER: SHANGHAI DIGIVISON TECHNOLOGY CO., LTD.

Effective date: 20091218

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20091218

Address after: Postal code of Shanghai office, 1318 West Beijing Road, Shanghai, zip code: 200040

Applicant after: Shanghai information investment Limited by Share Ltd

Co-applicant after: Shanghai Digivision Technology Co., Ltd.

Co-applicant after: Shanghai Information Pipeline Co., Ltd.

Address before: Shanghai, 333 Guang Ji Road, zip code: 200083

Applicant before: Shanghai Digivision Technology Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090624