Webpage representation method, system and browser
Technical field
The present invention relates to browser field, particularly a kind of webpage representation method, system and browser.
Background technology
Browser is to show the file in web page server or archives economy, and makes user and this document interactive
A kind of software.It is used for showing at WWW or LAN etc. in interior word, image and other money
News.These words or image, can be the hyperlink connecting other network address, and user can be rapid and the most clear
Look at various information.
Use mobile browser browse comprise a large amount of picture, word content webpage (as e-commerce website,
Forum) time, due to the limited capacity of mobile device own, or the interference of irrelevant contents (advertisement), user
It is difficult to obtain preferable viewing experience.
Existing parts of traditional mobile browser is in order to improve surfing, it is proposed that some solutions.Example
Such as RSS reading model, RSS is a kind of form described and synchronize web site contents.For achieving RSS
The website of agreement, directly can get main contents by RSS, it is thus achieved that good viewing experience.But
It is that this scheme needs website to provide RSS service, for the website not providing RSS to service, for user's exhibition
Show parent page, it is impossible to promote user's viewing experience.
Summary of the invention
Be easily subject to the interference of irrelevant contents to solve existing browser, it is the most clear that user is difficult to acquisition
Look at experience, the invention provides a kind of webpage representation method, system and browser.
Embodiments of the invention provide a kind of webpage representation method, including:
Obtain network request response message, described response message include described network request header information and
Web page contents;
Described response message is resolved, determines described type of webpage;
According to described type of webpage, described web page contents is carried out corresponding modes to represent.
In above-mentioned webpage representation method, described response message is resolved, determine that described type of webpage is concrete
For:
The header information of described network request is resolved, determines the type of described webpage.
In above-mentioned webpage representation method, described response message is resolved, determine that described type of webpage is concrete
For:
Described web page contents is resolved by the script according to described webpage, determines the type of described webpage;Or
The header information of described network request is resolved, if not can determine that by described header information is resolved
Described type of webpage, then resolve described web page contents according to the script of described webpage, described to determine
The type of webpage.
In above-mentioned webpage representation method, described according to described type of webpage, described web page contents is carried out respective mode
Formula represent particularly as follows:
When described type of webpage is picture, described webpage is opened up in the way of picture wall or waterfall stream
Existing.
In above-mentioned webpage representation method, the described type according to described webpage carries out corresponding modes to described webpage
Represent particularly as follows:
When described type of webpage is news, described webpage again typesetting is represented in reading mode.
Embodiments of the invention additionally provide a kind of webpage representation system, including:
Webpage acquisition module, for obtaining the response message of network request;
Web analysis module, for resolving described response message, determines described type of webpage;
Webpage represents module, for described web page contents carries out the exhibition of corresponding modes according to described type of webpage
Existing.
In above-mentioned webpage representation system, described response message includes header information and the webpage of described network request
Content.
In above-mentioned webpage representation system, described web analysis module is specifically for the head to described network request
Information resolves, and determines the type of described webpage.
In above-mentioned webpage representation system, described web analysis module is specifically for the script pair according to described webpage
Described web page contents resolves, and determines the type of described webpage;Or the header information to described network request
Resolve, if not can determine that described type of webpage, then according to described by described header information is resolved
Described web page contents is resolved by the script of webpage, to determine the type of described webpage.
In above-mentioned webpage representation system, described web analysis module is specifically for being picture when described type of webpage
Time, described webpage is represented in the way of picture wall or waterfall stream.
In above-mentioned webpage representation system, described web analysis module is specifically for being news when described type of webpage
Time, described webpage again typesetting is represented in reading mode.
Present invention also offers a kind of browser, including described webpage representation system, described webpage representation system
System is embedded in described browser.
Having the beneficial effect that of the technique scheme of the present invention: the present invention is by entering the webpage that will represent
Row resolves, and the type of webpage determined according to parsing carries out corresponding modes to described web page contents and represents, with
Conventional webpage represents and compares, and that can improve the page represents speed so that browse more smooth, improves
The viewing experience of user.
Accompanying drawing explanation
Fig. 1 is the flow chart of the webpage representation method of an embodiment of the present invention;
Fig. 2 is the schematic diagram of the web analysis of the first embodiment of the present invention;
Fig. 3 is the schematic diagram of the web analysis of the second embodiment of the present invention;
Fig. 4 is the schematic diagram of the web analysis of the third embodiment of the present invention;
Fig. 5 is the structured flowchart of the webpage representation system of an embodiment of the present invention.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached
Figure and specific embodiment are described in detail.
It should be noted that embodiments of the invention are preferably applied to mobile device, such as, IOS operates system
The system mobile device of (IOS is the handheld equipment operating system developed by Apple), Android operation system
The mobile device of (android system is a kind of freedom based on Linux and the operating system of open source code),
Windows Phone operating system (Windows Phone is the handheld equipment operating system developed by Microsoft)
Mobile device, be of course also apply to personal computer and other Intelligent mobile equipments, the present invention is to this not
It is construed as limiting.
As it is shown in figure 1, be the flow chart of the webpage representation method of an embodiment of the present invention, including:
Step 101: obtaining the response message of network request, described response message includes described network request
Header information and web page contents;
Step 102: resolve described response message, determines described type of webpage;
Step 103: according to described type of webpage, described web page contents is carried out corresponding modes and represent.
The webpage representation method of the present invention, by resolving the webpage that will represent, determines according to parsing
Type of webpage carries out corresponding modes to described web page contents and represents, represent with conventional webpage compared with,
That can improve the page represents speed so that browse more smooth, improves the viewing experience of user.
In a step 101, for obtaining the response message of network request, wherein said response message includes institute
State header information and the web page contents of network request.When keying in a web page address in browser address bar
The abbreviation of url(UniformResourceLocator, URL) time, browser it would appear that
Network request, such as user input network address http://news.sina.com.cn/photo/, corresponding to this network address
Network request is Sina's picture hurdle.Wherein, HTTP is the abbreviation of " Hypertext Transfer Protocol ",
Being the agreement of WWW use, in browser, most contents is all transmitted by http agreement.This net
Network request includes essential information Request Line and header information HTTP headers.HTTP Headers
Being the core of HTTP request, it is containing being related to what client browser, requests for page, server etc. were correlated with
Information.Web page contents is the part of web displaying, such as the content such as picture, word.Web page contents is usually
The scripts such as editor's realization, such as ASP, JSP, ASP.NET, PHP, CGI are carried out by various language
Language.
In step 102, described response message is resolved, to determine that described type of webpage includes:
The header information of described network request is resolved, determines the type of described webpage;Or according to institute
Described web page contents is resolved by the script stating webpage, determines the type of described webpage;Or to described net
The header information of network request resolves, if not can determine that described webpage by resolving described header information
Type, then resolve described web page contents according to the script of described webpage, to determine the class of described webpage
Type.Below in conjunction with embodiment, the process of web analysis is illustrated:
As in figure 2 it is shown, be the schematic diagram of the web analysis of the first embodiment of the present invention, this embodiment is
Header information in response message is resolved, comprises the steps:
Obtain the header information HTTP Headers of network request;
According to the relevant information in header information, it is judged that the corresponding type of webpage of this network request.
In the header information of network request relevant containing being related to client browser, requests for page, server etc.
Information, to this end, the type of webpage can be determined according to header information.If cannot according to header information
Identify type of webpage, be then labeled as the uncertain webpage of type.
As it is shown on figure 3, be the schematic diagram of the web analysis of the second embodiment of the present invention, this embodiment is
Web page contents in response message is resolved, comprises the steps:
Obtain the script of web page contents;
According to the keyword in content for script, determine the type of described webpage.
The script of web page contents carries the display content of webpage, to this end, the script according to web page contents can
To determine the type of webpage.
The present embodiment is to resolve web page contents according to page script, specifically according in the script of webpage
Keyword determine type be picture, news, electricity business, forum etc..If webpage has two simultaneously
Kind or two or more types, now can determine according to the scale shared by each type, if
Which type of large percentage, it is determined that for the webpage of the type.If None-identified type of webpage, then mark
It is designated as the uncertain webpage of type.
As shown in Figure 4, for the schematic diagram of web analysis of the third embodiment of the present invention, this embodiment is
Header information in response message and web page contents are resolved simultaneously, carries out comprehensive descision, including as follows
Step:
Obtain the header information HTTP Headers of network request, determine type of webpage according to header information,
If by head information analysis not can determine that type of webpage, then according to the script of webpage to web page contents
Resolve, to determine the type of webpage.
The present embodiment considers header information and the web page contents of network request, the class of comprehensive descision webpage
Type, can improve the degree of accuracy of parsing, accurately determine the type of webpage.If use two kinds of methods still without
This type of webpage of method identification, then be labeled as the uncertain webpage of type.
In step 103, according to the type of described webpage, described webpage is carried out corresponding modes and represent, refer to
Representing of associative mode is carried out according to the type of webpage that step 102 determines.Each type of webpage is carried out
Representing of corresponding modes, generate a kind of optimal pattern and the webpage of respective type is represented.If
The uncertain webpage of type, the most conventionally represents original web page content to user.
The present invention carries out corresponding modes according to type of webpage and represents, and specifically generates various browser interface and carries out phase
Answer representing of types of web pages.Such as type of webpage is picture, then generate picture browsing interface, if news,
Then generate news browsing interface, if electricity business, then generate electricity business's browser interface, if forum is the most corresponding
Generate forum's browser interface, the like.For the corresponding browser interface of every kind of certain type of auto-building html files one,
Browsing rather than browsing in the form of a web page of respective type webpage is carried out at this browser interface.
Conventional browser is all to represent, due to browser with same web interface to the webpage of each type
Engine need to process various general HTML(Hypertext Markup Language, hypertext markup
Language) content and script so that surfing is the most smooth.And the present invention is raw according to different type of webpage
The browser interface becoming corresponding browses so that speed is more smooth, improves the viewing experience of user.
The webpage representation of the present invention is to utilize corresponding browser interface to represent, real below in conjunction with all types of webpages
Execute example to be described in detail:
When the webpage obtained comprises a large amount of image content, or body matter is several pictures and comprises
Under () keyword such as one page, it is determined that for picture/mb-type webpage.It is of course also possible to according to response message
Header information judges, and combines header information and web page contents judges.When user obtains this figure
During the response message of sheet types of web pages, then generate a picture browsing interface, web page address is passed to this figure
Sheet browser interface.The contents such as this picture browsing interface filters out other content in webpage, such as advertisement, so
After in the way of picture wall or waterfall stream all thumbnail pictures in displaying web page, and support pre-read upper (lower)
The image content of one page, shows together with the content of current page in this browser interface.User can pass through
The mode clicked on checks every pictures in detail, and is switched between picture by gesture easily.This enforcement
Example generate picture browsing interface when picture webpage is represented, exhibition in the way of picture wall or waterfall stream
All thumbnail pictures in existing network page, substantially increase the surfing of picture webpage.
Owing to picture webpage takes up room relatively big, display speed is slower.And, existing Web page picture browses
Next time, need to click on lower one page, need to process during upper nextpage switches HTML content and
Script, causes temporal delaying.The present embodiment by picture webpage in the way of picture wall or waterfall stream
Represent, be compared to traditional web page browsing mode and effectively reduce user operation, improve surfing.
When the webpage obtained comprises a large amount of word, or main contents are word, then generate a news browsing
Interface, passes to web page address this news browsing interface, enters described webpage again typesetting in reading mode
Row represents.This news browsing interface filters out other contents such as the advertisement in webpage, picture, by word segment
Content typesetting again, according to the reading habit typesetting again of user, and represents with the pattern read.Should
Reading model supports to pre-read the content of upper (lower) one page simultaneously.User can look into by the way of click in detail
See word, and switched between upper nextpage by gesture easily.
The news browsing interface of the present invention and traditional RSS reading model have some something in common, be all
It is not switched on reading website content in the case of the web site contents page.But read with traditional RSS and exist not
With, the news browsing interface of the present invention need not register the relevant agreement of RSS, can be embedded in any clear
Look on device.And, the news browsing interface of the present invention, to webpage again typesetting, has carried out simplifying and has read, mistake
Filter other content in webpage, be more suitable for browsing of news.
When the webpage obtained is electricity business's webpage, corresponding generation a kind of electricity business's browser interface, this electricity business browses boundary
The contents such as the word in webpage, picture, evaluation are made a distinction by face, mark off different regions and represent.
Such as word is positioned at the centre of viewing area, and picture is positioned at the left side of viewing area, evaluates and is positioned at viewing area
Right side so that show more methodization.The division of other schemes can certainly be carried out as required
Region.Being optimized for most consuming the contents such as the picture of resource, evaluation, optimization processes can be according to accordingly
The requirement that browses of content realizes.Illustrate as a example by a certain electricity business website below.
The address of user's input is:http://www.jd.com/, corresponding is the webpage in certain store.Due to electricity
In business's webpage, substantial amounts of picture and text mixing content, causes webpage to represent inefficiency, has influence on user to this electricity business
The navigation interest of website, thus reduce desire to purchase.The present embodiment is by contents such as word, picture, evaluations
Mark off different regions to represent, can be transversely arranged can also be longitudinal arrangement, and by picture with
The mode of picture wall or waterfall stream represents.Streaming interface (stream can be used for evaluation content part
Formula interface refers to that interface can be with scroll-up/down) represent, utilize the mode of scroll-up/down to switch over content.
Utilize above-mentioned electricity business's browser interface can improve surfing, and subregion displaying web page content, significantly carry
The interest of high user, improves user's desire to purchase.
When the webpage obtained is forum, the present embodiment generates forum's browser interface accordingly, by forum
The different pagings of same model merge, and use streaming interface to represent, utilize the side of scroll-up/down
Formula switches over content, and supports to pre-read the content of upper (lower) one page, effectively reduces the operation of user,
Promote user's viewing experience.
Owing in traditional forum, each model has multiple follow-up, some models have thousands of page the most up to ten thousand
Follow-up, common browsing mode needs ceaselessly to open each follow-up page, adds operating procedure, have influence on use
The reading interest at family.And the content of same model can be merged by forum's browser interface of the present invention, and
Represent with streaming interface, reduce user operation.
As it is shown in figure 5, be the structured flowchart of the webpage representation system of a kind of embodiment of the present invention, including:
Webpage acquisition module 100, for obtaining the response message of network request;
Web analysis module 200, for resolving described response message, determines described type of webpage;
Webpage represents module 300, for described web page contents being carried out corresponding modes according to described type of webpage
Represent.
The webpage representation system of the present invention, by resolving the webpage that will represent, determines according to parsing
Type of webpage carries out corresponding modes to described web page contents and represents, represent with conventional webpage compared with,
That can improve the page represents speed so that browse more smooth, improves the viewing experience of user.
The webpage acquisition module 100 of the present invention is for obtaining the response message of network request, wherein said response
Information includes header information and the web page contents of described network request.When keying in one in browser address bar
Url, browser is it would appear that http request, and this request includes essential information Request Line and header information
HTTP headers。
The web analysis module 200 of the present invention is specifically for solving the header information of described network request
Analysis, determines the type of described webpage;Or according to the script of described webpage, described web page contents is resolved,
Determine the type of described webpage;Or the header information of described network request is resolved, if by right
Described header information resolves and not can determine that described type of webpage, then according to the script of described webpage to described webpage
Content resolves, to determine the type of described webpage.Containing being related to client in the header information of network request
The relevant information such as end browser, requests for page, server, to this end, can determine according to header information
The type of webpage.The type of webpage can also be determined equally according to the script in web page contents.Believe according to head
Breath and web page contents carry out the determination process of type of webpage, it is also possible to draw and cannot determine type, or type
Unsharp result, for this types of web pages, is then labeled as the uncertain webpage of type.
The webpage of the present invention represents module 300 for carrying out the exhibition of corresponding modes according to different type of webpage
Existing, the pattern that each type of webpage is shown is different, generates a kind of optimal pattern to respective type
Webpage be shown.If the uncertain webpage of type, the most conventionally represent former to user
Beginning web page contents.
The present invention carries out corresponding modes according to type of webpage and represents, and specifically generates various browser interface and carries out phase
Answer representing of types of web pages.Such as type of webpage is picture, then generate picture browsing interface, if news,
Then generate news browsing interface, if electricity business, then generate electricity business's browser interface, if forum is the most corresponding
Generate forum's browser interface, by that analogy.For the corresponding browser interface of every kind of certain type of auto-building html files one,
This browser interface carry out respective type webpage browse rather than conventional browser is carried out in the form of a web page
Represent.Each type of browser interface can use the pattern that the type webpage is corresponding, such as, when described net
When page type is picture, described webpage is represented in the way of picture wall or waterfall stream, when described net
When page type is news, described webpage again typesetting is represented in reading mode.
Conventional browser is all to represent, due to browser with same web interface to the webpage of each type
Engine need to process various general HTML content and script so that surfing is the most smooth.And
The present invention generates corresponding browser interface according to different type of webpage and browses so that speed more flows
Freely, improve the viewing experience of user.
Present invention also offers a kind of browser, including described webpage representation system, described webpage representation system
System is embedded in described browser.When user utilizes this browser to carry out representing the page, for representing
Various webpages determine type, and represent with different browser interfaces according to all kinds.
Embedded in described webpage representation system in the browser of the present invention, this browser includes:
Webpage acquisition module 100, for obtaining the response message of network request;
Web analysis module 200, for resolving described response message, determines described type of webpage;
Webpage represents module 300, for described web page contents being carried out corresponding modes according to described type of webpage
Represent.
By the webpage that will represent is resolved in the browser of the present invention, the webpage determined according to parsing
Type carries out corresponding modes to described web page contents and represents.User utilizes this browser to carry out browsing webpage
Time, that can improve the page represents speed so that browse more smooth, improves the viewing experience of user.
The browser of the present invention may apply on mobile phone, it is also possible to is on PC, and other various electronics set
Standby upper.
Embodiment one:
Illustrate as a example by PC browser, can be Firefox, Apple of IE browser, Mozilla
Safari, Opera, Google Chrome, GreenBrowser browser, 360 secure browsers,
Search dog high speed browser, Tengxun TT, proud trip browser, Baidu's browser, Tencent QQ browser etc.,
Embedded in webpage representation system in this browser, browser operates in accordance with the following steps:
Step one: obtain the response message of network request;
Step 2: resolve described response message, determines described type of webpage;
Step 3: according to described type of webpage, described web page contents is carried out corresponding modes and represent.
When the webpage obtained comprises a large amount of image content, or body matter is several pictures and comprises
Under () keyword such as one page, it is determined that for picture/mb-type webpage.It is of course also possible to according to response message
Header information judges, and combines header information and web page contents judges.When user obtains this figure
During the response message of sheet types of web pages, then generate a picture browsing interface, web page address is passed to this figure
Sheet browser interface.The contents such as this picture browsing interface filters out other content in webpage, such as advertisement, so
After in the way of picture wall or waterfall stream all thumbnail pictures in displaying web page, and support pre-read upper (lower)
The image content of one page, shows that together with the content of current page, in this browser interface, user can pass through
The mode clicked on checks every pictures in detail, and is switched between picture by gesture easily.This enforcement
Example generate picture browsing interface when picture webpage is represented, exhibition in the way of picture wall or waterfall stream
All thumbnail pictures in existing network page, substantially increase the surfing of picture webpage.
When the webpage obtained comprises a large amount of word, or main contents are word, then generate a news browsing
Interface, passes to web page address this news browsing interface, enters described webpage again typesetting in reading mode
Row represents.It is of course also possible to judge according to the header information of response message, and combine header information
Judge with web page contents.This news browsing interface filters out other contents such as the advertisement in webpage, picture,
By word segment content again typesetting, and representing with the pattern read, this reading model is supported pre-simultaneously
Read the content of upper (lower) one page.User can check word by the way of click in detail, and leads to easily
Cross gesture to switch between upper nextpage.
When the webpage obtained is electricity business's webpage, can judge according to the header information of response message, also
Can be that the script of webpage judges, and combine header information and web page contents judges.Corresponding raw
Becoming a kind of electricity business's browser interface, the contents such as the word in webpage, picture, evaluation are entered by this electricity business's browser interface
Row is distinguished, and marks off different regions and represents.Such as word is positioned at the centre of viewing area, picture position
In the left side of viewing area, evaluate the right side being positioned at viewing area, so that show more methodization.Right
Being optimized in most consuming the contents such as the picture of resource, evaluation, optimization processes can wanting according to corresponding contents
Ask and realize.The division of teaching contents such as word, picture, evaluation are gone out different regions and represent by the present embodiment,
Can be transversely arranged can also be longitudinal arrangement, and picture is carried out in the way of picture wall or waterfall stream
Represent.Streaming interface can be used to represent for evaluating, in utilizing the mode of scroll-up/down to switch over
Hold.Utilize above-mentioned electricity business's browser interface can improve surfing, and the content that represents of webpage is also carried out point
Region, more conforms to browse custom, it is possible to be greatly improved the interest of user, increases desire to purchase.
When the webpage obtained is forum, can judge according to the header information of response message, it is also possible to
It is that the script of webpage judges, and combines header information and web page contents judges.The present embodiment phase
Forum's browser interface should be generated, the different pagings of model same in forum are merged, use stream
Formula interface represents, and utilizes the mode of scroll-up/down to switch over content, and support pre-reads upper (lower)
The content of one page, effectively reduces the operation of user, promotes user's viewing experience.
By that analogy, for other kinds of webpage, different browser interfaces is also generated, for different nets
Page type represents with different browser interfaces.The PC browser of the present embodiment is according to different types of net
Page represents with different browser interfaces, is not required to utilize webpage to represent, can improve representing of the page
Speed so that browse more smooth, improves the viewing experience of user.
Embodiment two:
Illustrate as a example by mobile phone browser, mobile phone browser embedded in this webpage representation system, when
When user utilizes this mobile phone browser to carry out browsing pages, operate in accordance with the following steps:
Step one: obtain the response message of network request;
Step 2: resolve described response message, determines described type of webpage;
Step 3: according to described type of webpage, described web page contents is carried out corresponding modes and represent.
The content of webpage can also be adjusted by the mobile phone browser of the present invention, according to different model mobile phone
Display content is adjusted by parameter, shows with applicable mobile phone screen.When the webpage obtained comprises a large amount of picture
Content, or body matter is several pictures and comprises the keywords such as upper (lower) one page, it is determined that for figure
Sheet types of web pages.It is of course also possible to judge according to the header information of response message, and combine head
Information and web page contents judge.When user obtains the response message of this picture/mb-type webpage, then generate
One picture browsing interface, passes to this picture browsing interface by web page address.This picture browsing interface is filtered
Fall other content in webpage, the content such as such as advertisement, then in the way of picture wall or waterfall stream, represent net
All thumbnail pictures in Ye, and support to pre-read the image content of upper (lower) one page, and in current page
Holding shows together in this browser interface, and user can check every pictures by the way of click in detail, and
Switched between picture by gesture easily.The picture browsing interface that the present embodiment generates is to picture network
When page represents, in the way of picture wall or waterfall stream, all thumbnail pictures in displaying web page, carry significantly
The high surfing of picture webpage.
When the webpage obtained comprises a large amount of word, or main contents are word, then generate a news browsing
Interface, passes to web page address this news browsing interface, enters described webpage again typesetting in reading mode
Row represents.This news browsing interface filters out other contents such as the advertisement in webpage, picture, by word segment
Content typesetting again, and represent with the pattern read, this reading model is supported to pre-read upper (lower) simultaneously
The content of one page.User can check word by the way of click in detail, and passes through gesture easily upper
Switch between nextpage.
When the webpage obtained is electricity business's webpage, corresponding generation a kind of electricity business's browser interface, this electricity business browses boundary
The contents such as the word in webpage, picture, evaluation are made a distinction by face, mark off different regions and represent.
Such as word is positioned at the centre of viewing area, and picture is positioned at the left side of viewing area, evaluates and is positioned at viewing area
Right side so that show more methodization.Carry out for most consuming the contents such as the picture of resource, evaluation
Optimizing, optimization processes and can realize according to the requirement of corresponding contents.The present embodiment by word, picture,
The division of teaching contents such as evaluation go out different regions and represent, can be transversely arranged can also be longitudinal arrangement,
And picture is represented in the way of picture wall or waterfall stream.Streaming interface can be used to enter for evaluating
Row represents, and utilizes the mode of scroll-up/down to switch over content.Above-mentioned electricity business's browser interface is utilized to improve
Surfing, and the content that webpage represents is also carried out subregion, more conforms to browse custom, it is possible to significantly
Improve the interest of user, increase desire to purchase.
When the webpage obtained is forum, the present invention generates forum's browser interface accordingly, by same in forum
The different pagings of one model merge, and use streaming interface to represent, utilize the mode of scroll-up/down
Switch over content, and support to pre-read the content of upper (lower) one page, effectively reduce the operation of user, carry
Rise user's viewing experience.
By that analogy, for other kinds of webpage, different browser interfaces is also generated, for different nets
Page type represents with different browser interfaces.The mobile phone browser of the present embodiment is according to different types of net
Page represents with different browser interfaces, is not required to utilize webpage to represent, can improve representing of the page
Speed so that browse more smooth, improves the viewing experience of user.
Application technique scheme, by the webpage that will represent is resolved, the net determined according to parsing
Page type carries out corresponding modes to described web page contents and represents, represent with conventional webpage compared with, can
With improve the page represent speed so that browse more smooth, improve the viewing experience of user.This explanation
Many functional parts described in book are all referred to as module, in order to specifically emphasize its implementation
Independence.
In the embodiment of the present invention, module can realize with software, in order to is performed by various types of processors.
For example, the executable code module of a mark can include one or more physics of computer instruction
Or logical block, for example, it can be built as object, process or function.While it is true, marked
The executable code knowing module need not be physically located together, but can include being stored in different physically
Different instructions, when combining in these command logics, it constitutes module and realizes this module
Regulation purpose.
It practice, executable code module can be individual instructions or many bar instructions, and even may be used
To be distributed on multiple different code segment, it is distributed in the middle of distinct program, and crosses over multiple memorizer and set
Back-up cloth.Similarly, operation data can be identified in module, and can be according to any suitable shape
Formula realizes and is organized in the data structure of any suitable type.Described operation data can be as single
Data set is collected, or can be distributed on diverse location and (be included in different storage device), and
Electronic signal can be only used as at least in part be present on system or network.
When module can utilize software to realize, it is contemplated that the level of existing hardware technique, it is possible to soft
The module that part realizes, in the case of not considering cost, those skilled in the art can build the hard of correspondence
Part circuit realizes the function of correspondence, and described hardware circuit includes ultra-large integrated (VLSI) of routine
Circuit or gate array and the existing quasiconductor of such as logic chip, transistor etc or other is discrete
Element.Module can also use programmable hardware device, such as field programmable gate array, programmable array
Logic, programmable logic device etc. realize.
In each method embodiment of the present invention, the sequence number of described each step can not be used for limiting the elder generation of each step
Rear order, for those of ordinary skill in the art, on the premise of not paying creative work, to respectively
The priority of step changes also within protection scope of the present invention.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art
For art personnel, on the premise of without departing from principle of the present invention, it is also possible to make some improvements and modifications,
These improvements and modifications also should be regarded as protection scope of the present invention.