Summary of the invention
The objective of the invention is to improve the defective of mobile Internet scarcity of resources above-mentioned, realize the fusion of traditional the Internet and mobile Internet by this method and apparatus.
Another object of the present invention provides a kind of new browser, compares with existing browser, and new browser reaches by special method can browse WML, cHTML, xHTML and HTML resource, has improved efficient, workability and effect.
A further object of the present invention is to realize the renewal of browser by dynamic download, comprising: the renewal of wml interpreter, cHTML interpreter, xHTML interpreter and HTML interpreter.Make things convenient for cellphone subscriber's browser can't resemble the problem of upgrading upgrading the PC browser.
The technical scheme that the present invention addresses the above problem is as follows:
1) a kind of method that realizes mobile phone access tradition Internet resources or mobile Internet resource on mobile phone terminal comprises step:
Built-in or download this browser in mobile phone; Smart phone can download, and the mobile phone of other type is built-in by cell phone manufacturer;
This browser is default can be customized to WML interpreter and browser main frame, cHTML interpreter and browser main frame, xHTML interpreter and browser main frame, or a kind of version in HTML interpreter and four kinds of basic versions of browser main frame, also customizable for wherein any two kinds, three kinds or four kinds of interpreters and browser main frame mix multiple version, realize visit support by customization to multiple Internet resources to this browser;
From the browse request of this browser initiation to mobile Internet resource or Internet resources, when this browser is not supported this resource, default download to the remote server can the correct interpretation resource interpreter, and restart browser, make it to possess the device that can browse multiple resource;
When browser possessed the interpreter of two or more resource, user's browsing method was not have difference;
When browser when browsing, can select the more new option in the browser, upgrade its interpreter; If that the user uses is Smart phone, then can upgrade the browser main frame, new browser main frame may be different with original browser in operation, and the mobile phone of other type upgrades the browser main frame by cell phone manufacturer;
The user can be according to hobby, keep or delete dissimilar interpreters, but the browser main frame is no longer deleted when only remaining a kind of interpreter.
2) according to above-mentioned 1) described method, when view Internet or mobile Internet resource, has identical display processing method, during the described step of browsing WML, cHTML, xHTML or HTML resource to described selecteed data items, possesses the webpage convergent-divergent, watch the part, local amplify, move up and down, identical browsing method such as image zooming, when browsing traditional internet web page on the mobile phone result displayed and PC go up browser browse the display result of same page can be identical or different.
3) according to above-mentioned 1) or 2) described method, upgrade or the described step of browser is set during the interpreter of described selection is carried out default definition, and the main website of definition default access, the type of this main website is one of mobile Internet website or traditional Internet WEB website.
4). according to above-mentioned 1) or 2) described method, mobile phone is when visit mobile Internet resource or Internet resources, and the storage of network address bookmark data need be write down its URL to the described selecteed page during the described step of browser, browser is stored respectively according to its resource difference.
5). according to above-mentioned 1-4) each described method, further comprise step:
In the described step that receives described access resources, the resource of identification user capture is WML resource, cHTML, xHTML or HTML resource;
Browser is judged the interpreter that whether possesses this resource of correct interpretation in the mobile phone, if do not possess, then is connected to remote server automatically and upgrades, and restart browser program, is repositioned onto on this resource.
6). according to above-mentioned 1-5) each described method, no matter be to browse WML resource, cHTML, xHTML and HTML resource, has the identical operations method, as: on turn over, turn over down, move up and down, convergent-divergent, selection picture browsing and do not have picture browsing, select single picture browsing and image zooming or the like from the page.
7). according to above-mentioned 1-6) each described method, further comprise the step of the object that is comprised in the HTML resource being simplified processing, comprising processing to special object, the especially special processing that Frame, Javascript and Flash are carried out.
8). according to above-mentioned 1-7) each described method, comprise that further special object is handled and the step of safe handling:
A) the further step handled of special object: comprise the management, deletion, interpolation of plug-in unit etc., especially Flash plug-in unit and browse the plug-in unit of other format file; With
B) and further the step that comprises safe handling: comprise and support existing P KI system, comprise the management and the processing of digital certificate, the visit of https is provided, guarantee the behavior of browsing that high degree of safety requires, further support mobile PKI system.
9). according to above-mentioned 1-8) in each described method, comprise that further the user browses the step of the quick input network address of resource; Comprise automatic interpolation web, wap., www. .com .net .org .gov .cn conventional characters, or select to add by the user; Simultaneously, according to the difference of mobile phone, provide support interface to phonetic entry network address and handwriting input network address.
10). according to above-mentioned 1-9) described method, comprise that further visit to Internet resources provides the support of multimedia visit,, support calling automatically of the local Multimedia Program of mobile phone Smart phone, for other mobile phone, support third party's multimedia plug-in unit.
11). a kind of MPMIB (Multi-parser Mobile Internet Browser) browser, it is a kind of device of realizing mobile phone access tradition Internet resources or mobile Internet resource on mobile phone terminal, comprising:
A kind of browser, it is made up of WML interpreter, cHTML interpreter, xHTML interpreter or HTML interpreter and browser main frame, and is built-in or download this browser in mobile phone; Smart phone can download, and the mobile phone of other type is built-in by cell phone manufacturer;
This browser is default can be customized to WML interpreter and browser main frame, cHTML interpreter and browser main frame, xHTML interpreter and browser main frame, or a kind of version in HTML interpreter and four kinds of basic versions of browser main frame, also customizable for wherein any two kinds, three kinds or four kinds of interpreters and browser main frame mix multiple version, realize visit support by customization to multiple Internet resources to this browser;
From the browse request of this browser initiation to mobile Internet resource or Internet resources, when this browser is not supported this resource, default download to the remote server can the correct interpretation resource interpreter, and restart browser, make it to possess the device that can browse multiple resource;
When browser possessed the interpreter of two or more resource, user's browsing method was not have difference;
When browser when browsing, can select the more new option in the browser, upgrade its interpreter; If that the user uses is Smart phone, then can upgrade the browser main frame, new browser main frame may be different with original browser in operation, and the mobile phone of other type upgrades the browser main frame by cell phone manufacturer;
The user can be according to hobby, keep or delete dissimilar interpreters, but the browser main frame is no longer deleted when only remaining a kind of interpreter.
12). according to above-mentioned 11) described device, when view Internet or mobile Internet resource, carrying out identical demonstration handles, during the described step of browsing WML, cHTML, xHTML or HTML resource to described selecteed data items, possesses the webpage convergent-divergent, watch the part, local amplify, move up and down, identical browsing method such as image zooming, when browsing traditional internet web page on the mobile phone result displayed and PC go up browser browse the display result of same page can be identical or different.
13). according to above-mentioned 11) or 12) described device, upgrade or browser is set during the interpreter of described selection is carried out default definition, and the main website of definition default access, the type of this main website is one of mobile Internet website or traditional Internet WEB website.
14). according to above-mentioned 11 or 12 each described devices, mobile phone is when visit mobile Internet resource or Internet resources, and the network address bookmark data is stored, and browser need write down its URL to the selecteed page, and browser is stored respectively according to its resource difference.
15). according to each described device of above-mentioned 11-14, further comprise as lower unit:
The resource of identification user capture is WML resource, cHTML, xHTML or HTML resource;
Browser is judged the interpreter that whether possesses this resource of correct interpretation in the mobile phone, if do not possess, then is connected to remote server automatically and upgrades, and restart browser program, is repositioned onto on this resource.
16). according to each described device of above-mentioned 11-15, no matter be to browse WML resource, cHTML, xHTML and HTML resource, has identical operations, as: on turn over, turn over down, move up and down, convergent-divergent, selection picture browsing and do not have picture browsing, select single picture browsing and image zooming or the like from the page.
17). according to each described device of above-mentioned 11-16, further comprise the unit of the object that is comprised in the HTML resource being simplified processing, it is handled special object, especially Frame, Javascript and Flash is carried out special processing.
18). according to each described device of above-mentioned 11-17, comprise that further special object is handled and the unit of safe handling:
A) unit of further special object processing: it manages, deletes, adds plug-in unit, especially Flash plug-in unit and the plug-in unit of browsing other format file; With
B) and further the unit that comprises safe handling: it supports existing P KI system, comprises the management and the processing of digital certificate, and the visit of https is provided, and guarantees the behavior of browsing that high degree of safety requires, and further supports mobile PKI system.
19). in each described device of above-mentioned 11-18, comprise that further the user browses the unit of the quick input network address of resource; It adds web, wap., www. .com .net .org .gov .cn conventional characters automatically, or is selected to add by the user; Simultaneously, according to the difference of mobile phone, provide support interface to phonetic entry network address and handwriting input network address.
20). according to the described device of above-mentioned 11-19, further comprise the unit that the visit of Internet resources is provided the support of multimedia visit,, support calling automatically of the local Multimedia Program of mobile phone Smart phone, for other mobile phone, support third party's multimedia plug-in unit.
Embodiment
The target of MPMIB (Multi-parser Mobile Internet Browser) browser is a platform independence that provides at small screen devices such as mobile phones, the multiple interpreters browser that function is suitable, volume is light and handy; This browser both can be browsed traditional Internet resources, also can browse the mobile Internet resource.Support wap1.x, wap 2.0, wml 1.x, wml 2.0, cHTML, xHTML, HTTP1.1, HTTPS, HTML4.0, CSS 1.0.This shows that MPMIB mainly is the invention of cell phone apparatus aspect, but not only only is applied to field of mobile phones, can also adapt to the visit of the Internet or the mobile Internet of embedded device.
The MPMIB browser designs at specific the small screen cell phone apparatus.Particular display device mainly is meant the display device that is applied on the non-PC product, as: mobile phone etc.The problem that the demonstration Internet or the Mobile Internet page can run into usually on specific display device is that resolution, the size of screen is uncertain, and browsing pages will carry out the rolling of window usually.The user is mainly the cellphone subscriber, do not support the PC browser right click, double-click, open operations such as menu.More special with user's interactive device, as: numeric keypad etc.
At the characteristics of cell phone apparatus, need provide interface for special interactive device; This kind equipment has only limited persistent storage device, as: the equipment under a lot of special applications does not have large-capacity storage media; Consider that the user is the cellphone subscriber, the interface is simple, clear, easy-to-use.
At the characteristics of handset displays equipment, specifically,, solved the problem of screen flicker when rolling preferably by realizing scroll mechanism again from bottom; The interface is simple as far as possible, easy-to-use.Do not use menu, all operations all can be finished by cell phone keyboard, and for example: general PC does not provide the network address ACK button with browser, but relies on enter key.And the URL input frame is not provided on the MPMIB main screen, mainly the URL by default definition visits; Or, finish visit by the definition of network address bookmark to other URL; Simultaneously, after through the numeric keypad operation, also provide the input window of interim network address.Considering in the MPMIB applied environment does not have large-capacity storage media, and browsing histories only writes down the URL address, in having the environment of storage card, has the webpage caching function.
The MPMIB browser requirement is browsed the resource of number of different types, WML, cHTML, xHTML and HTML.
The file format of WML 1.1 is as shown in the table:
<?xml?version=″1.0″?> <!DOCTYPE?wml?PUBLIC″-//WAPFORUM//DTD?WML?1.1//EN″ ″http://www.wapforum.org/DTD/wml_1.1.xml″> <wml> <head> <meta?forua=″true″http-equiv=″Cache-Control″content=″max-age=86400″/> </head> <card?id=″expire?1?day″> <p>This?card?will?live?in?the?cache?for?a?day</p> </card> </wml> |
WML 1.3 forms are as shown in the table:
<?xml?version=″1.0″?> <!DOCTYPE?wml?PUBLIC″-//OPENWAVE.COM//DTD?WML?1.3//EN″ ″http://www.openwave.com/dtd/wml?1.3.dtd″> <wml> <head> <meta?forua=″true″http-equiv=″Cache-Control″content=″max-age=86400″/> </head> <card?id=″expire?1?day″> <p>This?card?will?live?in?the?cache?for?a?day</p> </card> </wml> |
The WML2.0 form is as shown in the table:
<?xml?version=″1.0″encoding=″ISO-8859-1″?> <!DOCTYPE?html?PUBLIC ″-//WAPFORUM//DTD?WML?2.0//EN″ ″http://www.wapforum.org/dtd/wml20.dtd″> <html xmlns=″http://www.w3.org/1999/xhtml″ xmlns:wml=″http://www.wapforum.org/2001/wml″> <head> <link?rel=″stylesheet″href=″/handheld.css″type=″text/css″media=″handheld″/> <title>World?Wide?Mobile?Internet</title> </head> <body> <head> <meta?forua=″true″http-equiv=″Cache-Control″content=″max-age=86400″/> </head> <p>This?card?will?live?in?the?cache?for?a?day</p> </body> </html> |
The form of cHTML is as shown in the table:
<!doctype?html?public″-//W3C//DTD?Compact?HTML?1.0?Draft//EN″> <html><head> <title>Compact?HTML?Document?Sample</title> <meta?http-equiv=″Content-type″content=″text/html;charset=iso-8859-1″> </head> <body> <head> </head> <p>This?card?will?live?in?the?cache?for?a?day</p> </body> </html> |
The form of xHTML is as shown in the table:
<?xml?version=″1.0″encoding=″ISO-8859-1″?> <!DOCTYPE?html?PUBLIC″-//W3C//DTD?XHTML?Basic?1.0//EN″ ″http://www.w3.org/TR/xhtml-basic/xhtml-basic?10.dtd″> <html?xmlns=″http://www.w3.org/1999/xhtml″xml:lang=″en″> <head> <meta?name=″description″content=″card″/> <meta?name=″keywords″content=″card″/> <title>World?Wide?Mobile?Internet</title> <link?href=″/screen.css″media=″screen″rel=″stylesheet″ type=″text/css″/> </head> <head> <link rel=″stylesheet″ href=″/handheld.css″ type=″text/css″ media=″handheld″/> <title>card</title> </head> <body> <p>This?card?will?live?in?the?cache?for?a?day</p> </body> </html> |
The form of HTML is as shown in the table:
<!DOCTYPE?HTML?PUBLIC″-//W3C//DTD?HTML?4.0?Transitional//EN″> <html?xmlns=″http://www.w3.org/1999/xhtml″xml:lang=″en″> <head> <meta?name=″description″content=″card″/> <meta?name=″keywords″content=″card″/> <title>World?Wide?Mobile?Internet</title> <link?href=″/screen.css″media=″screen″rel=″stylesheet″ type=″text/css″/> </head> <head> <link rel=″stylesheet″ href=″/handheld.css″ type=″text/css″ media=″handheld″/> <title>card</title> </head> <body> <p>This?card?will?live?in?the?cache?for?a?day</p> </body> </html> |
According to the similitude of WML, cHTML, xHTML and HTML, finish by different interpreters respectively, standardize under the unified XML framework, and give unified viewport disposal methods.The browser main frame judges according to the file header of the page and DTD which interpreter needs use, if this interpreter not in the mobile phone is then downloaded from remote server.
Fig. 1 represents MPMIB browser workflow.The MPMIB workflow has shown the complete respective process of MPMIB to a browse request.
Fig. 2 represents MPMIB basic structure.Can be thus the work of MPMIB be divided into two stages.During the program actual motion, come to this by progressively calling/initialization in outer the reaching.Every interpolation one deck is nested, just increases part of functions.Be written into, resolve and standardize, until WML, cHTML, xHTML and the HTML of bottom, this is the lowermost layer in the nest relation, is considered to normalized document.By outer and in when generating WML, cHTML, xHTML or HTML, previous work is finished.
What deserves to be mentioned is: from WML, cHTML, xHTML or the html document that is written into carried out preliminary structure elucidation, to carrying out Context resolution by its represented label, be the demonstration document that standardizes to the reading displayed format information again, obtain an XML entity, XML entity (it can be one closes/in the non-label of closing (Tag), label attribute or one section outer text of label) has experienced three scannings and three kinds of forms of expression: node, element and " piece " correspond respectively to three resolution phase.
Later stage work promptly shows a normalized document, then is the relation of submission from inside to outside.
MPMIB also relates to the customization of the default homepage of browser, the record of network address bookmark.URL of user customizable is as user default accessed resources object, and this URL can be the network address on traditional the Internet, also can be the network address on the mobile Internet; The user by the operation of cell phone keyboard, need not import or only import the title of network address bookmark when having access to its interested network address, can add the network address bookmark, and this browser is stored respectively according to dissimilar resources automatically.Simultaneously, the user can increase the network address bookmark, operation such as deletion, management and renewal.
Aspect ease for use, what the user need not be concerned about its use or visit is the resource of what type, when the local interpreter of MPMIB can not be supported resource that the user locatees, MPMIB downloads after the interpreter of supporting this resource automatically, MPMIB is restarted automatically, and is repositioned onto on the resource of previous user capture.
Because the development of mobile Internet increases new webpage format, MPMIB only needs to increase a kind of interpreter can realize the purpose supported.