CN103258058B - Page display method and system and browser - Google Patents

Page display method and system and browser Download PDF

Info

Publication number
CN103258058B
CN103258058B CN201310218098.3A CN201310218098A CN103258058B CN 103258058 B CN103258058 B CN 103258058B CN 201310218098 A CN201310218098 A CN 201310218098A CN 103258058 B CN103258058 B CN 103258058B
Authority
CN
China
Prior art keywords
webpage
type
web page
resolved
response message
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.)
Expired - Fee Related
Application number
CN201310218098.3A
Other languages
Chinese (zh)
Other versions
CN103258058A (en
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Zhuhai Juntian Electronic Technology Co Ltd
Beijing Cheetah Mobile Technology Co Ltd
Beijing Cheetah Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Shell Internet Beijing Security Technology Co Ltd
Zhuhai Juntian Electronic Technology Co Ltd
Beijing Kingsoft Internet Science and 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 Beijing Kingsoft Internet Security Software Co Ltd, Conew Network Technology Beijing Co Ltd, Shell Internet Beijing Security Technology Co Ltd, Zhuhai Juntian Electronic Technology Co Ltd, Beijing Kingsoft Internet Science and Technology Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201310218098.3A priority Critical patent/CN103258058B/en
Publication of CN103258058A publication Critical patent/CN103258058A/en
Application granted granted Critical
Publication of CN103258058B publication Critical patent/CN103258058B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a page display method, a page display system and a browser, wherein the method comprises the following steps: acquiring response information of a network request, wherein the response information comprises header information and webpage content of the network request; analyzing the response information to determine the webpage type; and displaying the webpage content in a corresponding mode according to the webpage type. According to the webpage display method and device, the webpage to be displayed is analyzed, the webpage content is displayed in the corresponding mode according to the webpage type determined through analysis, and compared with the conventional webpage display, the webpage display speed can be increased, so that the browsing is smoother, and the browsing experience of a user is improved.

Description

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.

Claims (12)

1. a webpage representation method, it is characterised in that including:
Obtaining the response message of network request, wherein, described response message includes the head of described network request Information and web page contents;
Described response message is resolved, determines described type of webpage, if webpage has two kinds simultaneously Or two or more type of webpage, now determines according to the scale shared by each type of webpage, as The really large percentage of which kind of type of webpage, it is determined that for this type of webpage;
According to described type of webpage, described web page contents is carried out corresponding modes to represent, including: generate one The webpage of respective type is represented by the pattern being suitable for;If the uncertain webpage of type, then according to tradition Mode represents original web page content to user.
Webpage representation method the most according to claim 1, it is characterised in that to described response message Resolve, determine described type of webpage particularly as follows:
The header information of described network request is resolved, determines the type of described webpage.
Webpage representation method the most according to claim 1, it is characterised in that to described response message Resolve, determine described type of webpage particularly as follows:
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 failed by described header information is resolved Determine described type of webpage, then according to the script of described webpage, described web page contents is resolved, to determine The type of described webpage.
4. according to the webpage representation method described in Claims 2 or 3, it is characterised in that described according to institute State type of webpage described web page contents is carried out corresponding modes 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.
5. according to the webpage representation method described in Claims 2 or 3, it is characterised in that described according to institute State the type of webpage described webpage is carried out corresponding modes represent particularly as follows:
When described type of webpage is news, described webpage again typesetting is represented in reading mode.
6. a webpage representation system, it is characterised in that 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, if Webpage has two kinds or two or more type of webpage simultaneously, now according to shared by each type of webpage Scale determines, if the large percentage of which kind of type of webpage, it is determined that for this 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, including: generate a kind of applicable pattern and the webpage of respective type is represented;If type is the most true Determine webpage, the most conventionally represent original web page content to user.
Webpage representation system the most according to claim 6, it is characterised in that described response message bag Include header information and the web page contents of described network request.
Webpage representation system the most according to claim 7, it is characterised in that described web analysis mould Block, specifically for resolving the header information of described network request, determines the type of described webpage.
Webpage representation system the most according to claim 7, it is characterised in that described web analysis mould Described web page contents is resolved by block specifically for the script according to described webpage, determines the class of described webpage Type;Or the header information of described network request is resolved, if by described header information is resolved not Can determine that described type of webpage, then according to the script of described webpage, described web page contents is resolved, with really The type of fixed described webpage.
Webpage representation system the most according to claim 8 or claim 9, it is characterised in that described webpage solution Analysis module is specifically for when described type of webpage is picture, by described webpage with picture wall or waterfall stream Mode represents.
11. webpage representation systems according to claim 8 or claim 9, it is characterised in that described webpage solution Analysis module is specifically for when described type of webpage is news, entering described webpage again typesetting in reading mode Row represents.
12. 1 kinds of browsers, it is characterised in that include the page as described in any one of claim 6-11 Representing system, described webpage representation system embedment is in described browser.
CN201310218098.3A 2013-06-03 2013-06-03 Page display method and system and browser Expired - Fee Related CN103258058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310218098.3A CN103258058B (en) 2013-06-03 2013-06-03 Page display method and system and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310218098.3A CN103258058B (en) 2013-06-03 2013-06-03 Page display method and system and browser

Publications (2)

Publication Number Publication Date
CN103258058A CN103258058A (en) 2013-08-21
CN103258058B true CN103258058B (en) 2016-09-21

Family

ID=48961975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310218098.3A Expired - Fee Related CN103258058B (en) 2013-06-03 2013-06-03 Page display method and system and browser

Country Status (1)

Country Link
CN (1) CN103258058B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702216A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Intelligent terminal and method for displaying video images by same
CN106095797B (en) * 2016-05-31 2019-11-05 北京京东尚科信息技术有限公司 Data display method, display system and the client of handheld terminal
CN108268577A (en) * 2017-01-13 2018-07-10 优视科技有限公司 Atlas content carrying page generation method and device
CN108268579B (en) * 2017-01-19 2021-06-08 阿里巴巴(中国)有限公司 Method and device for displaying landing page display content
CN108959325B (en) * 2017-05-26 2021-06-29 珠海金山办公软件有限公司 Uniform resource locator display method, information display method and related products thereof
CN107590118A (en) * 2017-08-03 2018-01-16 天脉聚源(北京)传媒科技有限公司 A kind of method and device of the intelligent typesetting of news
CN109086366A (en) * 2018-07-20 2018-12-25 腾讯科技(武汉)有限公司 Recommendation news display methods, device, equipment and storage medium in browser
CN111708960A (en) * 2020-06-18 2020-09-25 北京搜狗科技发展有限公司 Webpage processing method and device and webpage processing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567530A (en) * 2011-12-31 2012-07-11 凤凰在线(北京)信息技术有限公司 Intelligent extraction system and intelligent extraction method for article type web pages
CN102968273A (en) * 2012-11-20 2013-03-13 鸿富锦精密工业(深圳)有限公司 Electronic device and page-zooming method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7721197B2 (en) * 2004-08-12 2010-05-18 Microsoft Corporation System and method of displaying content on small screen computing devices
CN102033944B (en) * 2010-12-21 2012-11-28 重庆新媒农信科技有限公司 Mobile terminal-based web page display system and method
US8972275B2 (en) * 2011-03-03 2015-03-03 Brightedge Technologies, Inc. Optimization of social media engagement
CN102929871A (en) * 2011-08-08 2013-02-13 腾讯科技(深圳)有限公司 Webpage browsing method and device and mobile terminal
CN102722563B (en) * 2012-05-31 2014-12-03 优视科技有限公司 Method and device for displaying page

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567530A (en) * 2011-12-31 2012-07-11 凤凰在线(北京)信息技术有限公司 Intelligent extraction system and intelligent extraction method for article type web pages
CN102968273A (en) * 2012-11-20 2013-03-13 鸿富锦精密工业(深圳)有限公司 Electronic device and page-zooming method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
移动终端个性化页面显示优化技术研究;史晶等;《计算机工程》;20120930;第38卷(第18期);277-281 *

Also Published As

Publication number Publication date
CN103258058A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN103258058B (en) Page display method and system and browser
CN106484383B (en) Page rendering method, device and equipment
US20180181660A1 (en) Method and system for entering search queries
WO2018133452A1 (en) Webpage rendering method and related device
US10515142B2 (en) Method and apparatus for extracting webpage information
US8869025B2 (en) Method and system for identifying advertisement in web page
US20150227276A1 (en) Method and system for providing an interactive user guide on a webpage
CN104035753A (en) Double-WebView customized page display method and system
CN103020191B (en) A kind of device and method for showing file
CN102065114A (en) Method and device for mobile terminal to access webpage
WO2014154033A1 (en) Method and apparatus for extracting web page content
US20180253504A1 (en) File display method and device
CN103246699A (en) Method and device for data access control based on browser
CN102314516A (en) Webpage processing method and mobile terminal and electronic device thereof
CN110968314B (en) Page generation method and device
CN103559097B (en) The method of interprocess communication, device and browser in a kind of browser
US10719206B1 (en) Measuring unresponsive interactions
CN108984070B (en) Method, apparatus, electronic device and readable medium for thermodynamic diagram imaging
CN109558123B (en) Method for converting webpage into electronic book, electronic equipment and storage medium
TW201525740A (en) Method and device for displaying web page and computer-readable storage medium
US10198408B1 (en) System and method for converting and importing web site content
EP2801920A1 (en) Method and apparatus for displaying web page
CN105512123B (en) Method and apparatus for creating web page characteristics image and generating Web page bookmark
US8867837B2 (en) Detecting separator lines in a web page
US20140059117A1 (en) Service provider facilitating access of diverse web-based services

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100041 room 1100A, building, No. 3 West Road, Badachu hi tech park, Beijing, Shijingshan District, China

Co-patentee after: Beijing Cheetah Network Technology Co.,Ltd.

Patentee after: Beijing Cheetah Mobile Technology Co.,Ltd.

Co-patentee after: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Co-patentee after: ZHUHAI JUNTIAN ELECTRONIC TECHNOLOGY Co.,Ltd.

Co-patentee after: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Address before: 100041 room 1100A, building, No. 3 West Road, Badachu hi tech park, Beijing, Shijingshan District, China

Co-patentee before: BEIJING KINGSOFT NETWORK TECHNOLOGY Co.,Ltd.

Patentee before: SHELL INTERNET (BEIJING) SECURITY TECHNOLOGY Co.,Ltd.

Co-patentee before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Co-patentee before: ZHUHAI JUNTIAN ELECTRONIC TECHNOLOGY Co.,Ltd.

Co-patentee before: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160921

Termination date: 20180603

CF01 Termination of patent right due to non-payment of annual fee