CN104951445A - Webpage processing method and device - Google Patents

Webpage processing method and device Download PDF

Info

Publication number
CN104951445A
CN104951445A CN201410113842.8A CN201410113842A CN104951445A CN 104951445 A CN104951445 A CN 104951445A CN 201410113842 A CN201410113842 A CN 201410113842A CN 104951445 A CN104951445 A CN 104951445A
Authority
CN
China
Prior art keywords
node
visible node
visible
preview
webpage
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.)
Granted
Application number
CN201410113842.8A
Other languages
Chinese (zh)
Other versions
CN104951445B (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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410113842.8A priority Critical patent/CN104951445B/en
Publication of CN104951445A publication Critical patent/CN104951445A/en
Application granted granted Critical
Publication of CN104951445B publication Critical patent/CN104951445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a webpage processing method and device. The method comprises the steps that in the webpage loading process, the node types in a webpage are recognized; the nodes of non-media resource classes in the webpage are located according to the node types in the webpage; the main body content in the webpage is recognized according to the loaded nodes of the non-media resource classes; the nodes of media resource classes related to the main body content are loaded according to the main body content; the loaded main body content and the nodes of the media resource classes related to the main body content are displayed. According to the webpage processing method and device, in the loading process, only the nodes of the media resource classes related to the main body content are loaded, the visit traffic of users is saved, the visit efficiency is improved, and the satisfaction of the users for browsing webpages is improved.

Description

A kind of web page processing method and device
Technical field
The disclosure relates to web technologies field, particularly a kind of web page processing method and device.
Background technology
Along with the development of mobile terminal and Internet technology, more and more user visits network by the mobile terminal such as mobile phone, panel computer.But, when user is by mobile terminal accessing webpage, in webpage except comprising title, webpage body content, peer link, further comprises the media resource that some are larger, the such as content such as picture, screen, wherein, some picture, video may be the media resources of commercial paper, and have nothing to do with this webpage body content.
But, in prior art, when Web page loading, owing to being loaded with the media resources such as the irrelevant picture of these and webpage body content or video, not only wasting the network traffics of user, also reduce the reading experience of user.
Summary of the invention
Present disclose provides a kind of web page processing method and device, to solve prior art when Web page loading, be loaded with larger media resource, cause the technical matters that flowing of access is excessive.
In order to solve the problems of the technologies described above, present disclosure discloses following technical scheme:
Provide a kind of web page processing method on the one hand, described method comprises:
In Web page loading process, identify the node type in described webpage;
According to the node type in described webpage, the node that in Web page loading, non-media is resources-type;
The node resources-type according to loaded non-media, identifies the body matter in described webpage;
According to described body matter, load the node of the media resource class relevant to described body matter;
Described body matter after display loads and the node of the media resource class relevant to described body matter.
Preferably, the body matter in the described webpage of described identification, comprising:
Obtain the dom tree and render tree of resolving described auto-building html files;
Determine the visible node in described dom tree according to described render tree, and determine the preview value of each visible node;
The body matter in described webpage is determined according to the preview value of described each visible node.
Preferably, the described preview value determining each visible node, comprising:
The initial preview value of described each visible node is determined according to the label of described each visible node, and using the preview value of described initial preview value as described each visible node.
Preferably, described method also comprises:
When the label of described visible node is for presetting label, the content corresponding according to node visible described in web document determines additional preview value;
Described additional preview value is added with described initial preview value the preview value obtaining described visible node.
Preferably, described method also comprises:
The preview value of described visible node is added in the preview value of the father nodes at different levels of described visible node according to the proportion preset.
Preferably, the described preview value according to described each visible node determines the body matter in described webpage, comprising:
Obtain described preview and be worth two maximum visible nodes, respectively as the highest visible node and time high visible node;
According to the hierarchical relationship of the highest described visible node with time high visible node, from the highest described visible node and time high visible node, determine the visible node residing for described preview content;
Visible Node extraction residing for the described preview content determining to obtain obtains the body matter in described webpage.
Preferably, the hierarchical relationship of the highest visible node of described basis and time high visible node, from the highest described visible node and time high visible node, determine the visible node residing for described preview content, comprising:
If the highest described visible node is arbitrary grade of father node of described time high visible node, then using the highest described visible node as the visible node residing for described preview content; Or
If the highest described visible node is not arbitrary grade of father node of described high visible node, then according to the highest described visible node and time position relationship of high visible node corresponding content in webpage, determine the visible node residing for described preview content.
Preferably, state according to the highest described visible node and time position relationship of high visible node corresponding content in webpage, determine the visible node residing for described preview content, comprising:
If described position relationship is left and right and does not overlap, in the highest visible node described in then calculating respectively and time high visible node included label be the preview value of the node of default label and value, and using described and be worth large visible node as the visible node residing for described preview content;
If other position relationships except left and right and except not overlapping, then using the public father node of the highest described visible node and time high visible node as the visible node residing for described preview content.
Preferably, described according to described body matter, load the node of the media resource class relevant to described body matter, comprising:
Obtain the dom tree and render tree of resolving described auto-building html files;
The node of the media resource class relevant to described body matter is determined according to the visible node in described dom tree and render tree;
Load the node of the media resource class relevant to described body matter.
Preferably, described webpage is lower one page of current web page or current web page.
Provide a kind of page processor on the one hand, described device comprises:
First recognition unit, in Web page loading process, identifies the node type in described webpage;
First loading unit, for according to the node type in described webpage, the node that in Web page loading, non-media is resources-type;
Second recognition unit, for the node resources-type according to loaded non-media, identifies the body matter in described webpage;
Second loading unit, for according to described body matter, loads the node of the media resource class relevant to described body matter;
Display unit, for showing the node of the described body matter after loading and the media resource class relevant to described body matter.
Preferably, described recognition unit comprises:
First acquiring unit, for obtaining the dom tree and render tree of resolving described auto-building html files;
First determining unit, for determining the visible node in described dom tree according to described render tree, and determines the preview value of each visible node;
Second determining unit, for determining the body matter in described webpage according to the preview value of described each visible node.
Preferably, described first determining unit comprises:
First determines subelement, for determining the visible node in described dom tree according to described render tree:
Second determines subelement, for determining the initial preview value of described each visible node according to the label of described each visible node, and using the preview value of described initial preview value as described each visible node.
Preferably, described first determining unit also comprises:
3rd determines subelement, and for when the label of described visible node is for presetting label, the content corresponding according to node visible described in web document determines additional preview value;
4th determines subelement, for described additional preview value is added with described initial preview value the preview value obtaining described visible node.
Preferably, described first determining unit also comprises:
Add subelement, for the preview value of described visible node being added in the preview value of the father nodes at different levels of described visible node according to the proportion preset.
Preferably, described second determining unit comprises:
Second acquisition unit, is worth two maximum visible nodes for obtaining described preview, respectively as the highest visible node and time high visible node;
5th determines subelement, for the hierarchical relationship according to the highest described visible node and time high visible node, determines the visible node residing for described preview content from the highest described visible node and time high visible node;
Extraction unit, obtains the body matter in described webpage for the visible Node extraction residing for the described preview content determining to obtain.
Preferably, the described 5th determines subelement, during specifically for being arbitrary grade of father node of described time high visible node at the highest described visible node, using the highest described visible node as the visible node residing for described preview content; Or, be not arbitrary grade of father node of described high visible node at the highest described visible node, then according to the highest described visible node and time position relationship of high visible node corresponding content in webpage, determine the visible node residing for described preview content.
Preferably, described second loading unit comprises:
3rd acquiring unit, for obtaining the dom tree and render tree of resolving described auto-building html files;
3rd determining unit, for determining the node of the media resource class relevant to described body matter according to the visible node in described dom tree and render tree;
Add subelements, for loading the node of the media resource class relevant to described body matter.
Preferably, the webpage of described recognition unit identification is lower one page of current web page or current web page.
Provide a kind of page processor on the one hand, described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
In Web page loading process, identify the node type in described webpage;
According to the node type in described webpage, the node that in Web page loading, non-media is resources-type;
The node resources-type according to loaded non-media, identifies the body matter in described webpage;
According to described body matter, load the node of the media resource class relevant to described body matter;
Described body matter after display loads and the node of the media resource class relevant to described body matter.
Beneficial effects more of the present disclosure can comprise:
In the disclosure, in Web page loading process, the node that in first Web page loading, non-media is resources-type, identifies the body matter in this webpage, then, reloads the node of the media resource class relevant to described body matter; And show the node of described body matter and relevant described media resource class thereof, in loading procedure, namely filter out the node of media resource class, saved the flowing of access of user, improve access efficiency and user reads satisfaction.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in the disclosure or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only embodiments more of the present disclosure, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of a kind of web page processing method of the disclosure according to an exemplary embodiment;
Fig. 2 is the schematic diagram of open a kind of dom tree according to an exemplary embodiment;
Fig. 3 is that the structural representation of a kind of page processor of the disclosure according to an exemplary embodiment is as figure;
Fig. 4 is another structural representation of a kind of page processor of the disclosure according to an exemplary embodiment;
Fig. 5 is another structural representation of a kind of page processor of the disclosure according to an exemplary embodiment;
Fig. 6 is another structural representation of a kind of page processor of the disclosure according to an exemplary embodiment;
Fig. 7 is another structural representation of a kind of page processor of the disclosure according to an exemplary embodiment;
Fig. 8 is a kind of structure schematic diagram for page processor according to an exemplary embodiment.
Embodiment
Below in conjunction with accompanying drawing of the present disclosure, carry out clear, complete description to technical scheme of the present disclosure, obviously, described embodiment is only disclosure part embodiment, instead of whole embodiments.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of disclosure protection.
The term used in the disclosure is only for the object describing specific embodiment, and the not intended to be limiting disclosure." one ", " described " and " being somebody's turn to do " of the singulative used in disclosure and the accompanying claims book is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the disclosure, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from disclosure scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".
Refer to Fig. 1, Fig. 1 is the process flow diagram of a kind of web page processing method of the disclosure according to an exemplary embodiment; Described method comprises:
In a step 101, in Web page loading process, identify the node type in described webpage;
In this embodiment, node type in webpage, except the node of the body matter of main presentation, title node, peer link node etc. can also be comprised, these nodes are referred to as non-media resource node, certainly, also comprise some media resource nodes in webpage, such as picture category node, video class node etc.
In the present embodiment, browser, when receiving the webpage of user's access, loads this webpage, in this webpage process of loading, first identify the node type in described webpage, its concrete identifying to those skilled in the art, be know technology, do not repeated them here.
In a step 102, according to the node type in described webpage, load the node that in described webpage, non-media is resources-type;
In this step, after identifying the node type in webpage, only load the node that in described webpage, non-media is resources-type, the node of the media resource class namely in this webpage of filtered points.
That is, in the present embodiment, the node that in the webpage of loading, non-media is resources-type, is the content information of the node removing all media resource classes, is generally the body matter of the resources-type node of non-media in webpage, namely only load the body matter in this webpage.
In step 103, the node resources-type according to loaded non-media, identifies the body matter in described webpage;
Wherein, identify the body matter in described webpage, comprising:
1) the Dom tree of resolving described auto-building html files and Render tree is obtained;
User first uses the browser access webpage of mobile terminal, and when accessed web page, identify the web document of this webpage, as html document, browser can be resolved this web document, spanned file object model (Document Object Model, DOM) tree and render tree, wherein, dom tree is for describing the page info of webpage; Render tree is used for carrying out layout to the page of webpage, is specifically responsible for the information position on the screen of the mobile terminal described in dom tree.
2) determine the visible node in described Dom tree according to described render tree, and determine the preview value of each visible node;
Wherein, determine that the preview value of each visible node comprises: the initial preview value determining described each visible node according to the label of described each visible node, and using the preview value of described initial preview value as described each visible node.
Store each node obtained by resolving web document in dom tree, such as, the root node of dom tree is file (Document) object, namely to the entrance that web document operates; And for example, the class child node in dom tree is text (text) object, some content of text namely in web document.
As shown in the above, dissimilar node is possessed in dom tree, and the effect of all types of nodes in web document is also different, therefore, the content that a part of node in dom tree is corresponding can show in webpage, as represented the node of text object, represent the node etc. of img object; The content that another part node is corresponding can not show in webpage, as represented the root node of Document object.
If the content that node is corresponding can show in webpage, then using this node as visible node, namely visible node is node corresponding to the content that shows in webpage; If the content that node is corresponding can not show in webpage, then using this node as invisible node.
During page rendering, render tree is responsible for the estimation display position of visible node in the page in record dom tree, therefore, for each node in dom tree, can determine that whether this node is visible by inquiry render tree, thus determine each the visible node in dom tree.
In addition, owing to comprising various information in webpage, as title, text and link etc., therefore, for the visible node in dom tree, because its particular content characterized in web document is different.The disclosure can, according to demand during webpage again layout, be the corresponding preview value of each visible Joint Enterprise.The type of the content that described preview value can characterize according to described node, as picture, word etc. are configured, the particular content that also can characterize in webpage according to each visible node produces corresponding preview value.
Such as, again focus on display the picture in the page during layout, then relevant to picture label can configure higher preview value.And for example, again during layout, focus on display the word content in the page, then can configure higher preview value to title, label that text is relevant, or the height of preview value can be determined according to the number of word.
Wherein, the preview value of visible node can identify the possibility of this visible node corresponding content preview in webpage.Therefore, determine the preview value of corresponding visible node according to the label of each visible node after, the height of content corresponding to this visible node possibility of preview in webpage can just be got.
Wherein, determine the visible node in described dom tree according to described render tree, in the following way: detect described node and whether be present in described render tree; If described node is not present in described render tree, then described node is not visible node; If described node is present in described render tree, then described node is visible node, the following detection mode of concrete employing:
First obtain a node in dom tree, detect this node and whether be present in render tree, if this node is present in render tree, then determine that described node is visible node, otherwise, determine that this node is invisible node.
Certainly, whether detection node is present in render tree is determined whether node is visible node, just determine a kind of method of visible node, certainly can also when traveling through each node of dom tree, detect the attribute of this node in dom tree and property value thereof, determine whether this node is visible node further by this property value.Wherein, the node in dom tree possesses some attributes relevant to display, and the property value according to this generic attribute just can determine that whether this node is visible.
Wherein, determine the preview value of each visible node, comprising: determine each visible node initial preview value according to the label of each visible node, and using the preview value of initial preview value as each visible node of label.
The particular content characterized in web document due to the visible node in dom tree is different, and therefore each visible node also has different labels.
Concrete, label can be regarded as the mark of node, just configure when configuration webpage document, such as, in web document, the content of title division is <title>XXXXX-XXX-XXLEssT.LTss T.LT/title>, node in the corresponding dom tree of this content take <title> as starting point, take </title> as terminal, this node is visible node, and the label of this visible node is exactly title.
In the present embodiment, can be each tag configurations initial preview value, as the size of initial preview value, just according to the demand of layout again, can set flexibly.
Therefore, for each visible node, its label can symbolize the displaying contents in webpage, also the preview possibility of this visual tag can just be symbolized, therefore the initial preview value of each visible node can be determined according to title, and using the preview value of this initial preview value as this visible node.
Preferably, when the label of visible node is for presetting label, the content corresponding according to this visible node in web document determines additional preview value; This additional preview value is added with the initial preview value of default label the preview value obtaining this visible node.Further, the preview value of described visible node can also be added in the preview value of the father nodes at different levels of described visible node according to the proportion preset.
Although the label of visible node is identical, its particular content in webpage is different, the possibility of therefore its preview when layout again or distinct.Such as, the picture that the picture that in webpage, text is loaded into is loaded into than content recommendation is usually large, what this webpage was shown emphatically is the picture that text is loaded into, meanwhile, what user browsed that this webpage wants to check is also often the picture that text is loaded into, and therefore the preview value of the visible node that the picture of different size is corresponding can be different.
And for example, in the word content of webpage, the word of summary part is often fewer than the word of body part a lot, what this webpage was shown emphatically is body part, what user mainly checked when browsing webpage is also body part usually, and therefore the preview value of the preview value of the visible node that body part is corresponding and the visible node of summary part correspondence can have difference.
Therefore, in the present embodiment when the label of visible node is for presetting label, the content that this visible node is corresponding in webpage can be obtained, then calculates the additional preview value of this content, namely content number, size can affect the preview value of visible node.
Such as, when showing emphatically word content, the label of the visible node that the content of body part is corresponding is generally text, and the label of the visible node that the content of certain summary part is corresponding is also text.Be now the content that the visible node of text is corresponding for label, corresponding annex preview value can be all configured for the length, word, punctuation mark etc. of content, thus the visible node that label is text just the content concrete according to it can calculate corresponding additional preview value, thus distinguish the difference of the preview when layout again of the visible node of label of the same race.
Wherein, default label can set according to real needs, and during as shown emphatically word content, default label is text; Emphatically during exhibiting pictures, default label is img.
After getting the additional preview value of visible node, this additional preview value is added with the initial preview value of default label and sues for peace, thus calculate the preview value of this visible node, namely additional preview value and initial preview value with.
That is, the present embodiment can according to initial preview value corresponding to requirements set label, as the preview value of visible node corresponding to described label, thus can determine the possibility of the visible node preview of each label according to demand.Further, in order to make each tool emphasis of page layout, meet the demand of user, the additional preview value of default label can also be set, this annex preview value can be determined according to the content in the corresponding webpage of visible node, thus making the preview value of visible node more accurate, the preview contents of display etc. give top priority to what is the most important.
3) body matter in described webpage is determined according to the preview value of described each visible node.
In the disclosure, can according to the preview content in the preview value determination webpage of visible node, i.e. body matter, such as, can set the standard of a preview value, and every preview value reaches the visible node of this standard, and the content of its correspondence can be set to preview content.And for example, can only using content corresponding for visible node the highest for preview value as preview content.After getting preview content, just get layout body matter to display again.
Wherein, determine that the body matter in described webpage specifically comprises:
1) obtain preview and be worth two maximum visible nodes, respectively as the highest visible node and time high visible node;
After the preview value obtaining all visible nodes, can the preview value of all visible nodes be added up, be compared, thus acquisition preview be worth two maximum visible nodes, respectively as the highest visible node and time high visible node.
2) according to the hierarchical relationship of the highest visible node with time high visible node, from the highest visible node and time high visible node, the visible node residing for preview content is determined;
According to visible internodal hierarchical relationship, can determine what kind of hierarchical relationship the highest visible node and time high visible node have, and then according to determining the visible node performing preview in this hierarchical relationship, i.e. the residing visible node of preview content.Specifically comprise:
A) if the highest visible node is arbitrary grade of father node of time high visible node, then using the highest visible node as the visible node residing for preview content.
If determine that the highest visible node is arbitrary grade of father node of time high visible node by detecting, then illustrate that the highest visible node and time high visible node have certain incidence relation, such as, the title division of text in the corresponding webpage of the highest visible node possibility, the word content part of text in the corresponding webpage of secondary high visible node possibility, therefore can using the highest visible node as the visible node residing for preview internal memory.
The content of only showing that the visible node of execution preview is corresponding is not limited in the present embodiment, and when can be again layout webpage, displaying contents from the visible Node extraction residing for this preview content goes out.
Such as, in above-mentioned Fig. 2, the highest visible node is D, and secondary high visible node is N, then wherein D is 2 grades of father nodes of N, then visible using D as the visible node residing for preview content, show from the content that D is corresponding.
B) if the highest visible node is not arbitrary grade of father node of time high visible node, then according to the highest visible node and time position relationship of high visible node corresponding content in webpage, the visible node residing for preview content is determined.
If the highest visible node is not arbitrary grade of father node of time high visible node, then illustrate do not possess direct overlying relation between the highest visible node and secondary high visible node, now can detect the highest visible node and time position relationship of high visible node corresponding content in webpage, thus determine the visible node residing for preview content.
Wherein, comprise each visible position of node corresponding content in webpage in render tree, but the position of recording out in render tree generates before layout, during actual layout may there is difference in the position of particular content.Such as, in render tree, the visible node corresponding content in upper strata of a certain visible node is picture, the content of this visible node is just shown after placing picture, till after the position picture display of this visible node therefore stored in render tree, but during actual layout, this picture is for obtain successfully, then picture can not show, therefore the position of the content of this visible node there occurs change, and the position that also namely render records in setting is not physical location.
The present embodiment is in order to the content in layout webpage more accurately, can calculate when layout and record the position of each visible node corresponding content, and with the position relationship of the highest visible node of the position judgment now recorded with time high visible node, determine the visible node residing for preview content.Specific as follows:
If 1. position relationship is left and right and does not overlap;
Calculate in the highest visible node and time high visible node respectively, included label be the additional preview value of the node of default label and value, and using be worth large visible node as the visible node residing for preview content.
If the highest visible node and time position relationship of high visible node corresponding content in webpage are left and right and do not overlap, illustrate that these two visible node corresponding contents adhere to different piece separately in webpage, the visible node therefore can determining residing for preview content according to the number of default label corresponding content.
Concrete, due to the father node that a visible node may be some visible nodes, and the label of the visible node of a part is default label in this some visible node, therefore can be that the annex preview value of the visible node of default label is all added summation by these, as the additional preview value of this visible node, also namely will according to the additional preview value of each default label in the highest visible node and time high visible node and value, determine the visible node residing for preview content.
Such as, in hypothesis Fig. 2, the highest visible node is its preview value of D is 50, and secondary high visible node is C, and its preview value is 48.D and C does not possess set membership, and the position relationship of its corresponding content in webpage is left and right and does not overlap, then can calculate in D and C preset label additional preview value and value.
Specifically discuss for D, suppose that the label of D, J and M is default label, then preset the additional preview value of label in D with the additional preview value of the additional preview value+M of the additional preview value+J of value=D.
In order to there be the displaying of emphasis during layout webpage again, can using the visible node maximum with value of the additional preview value of default label as the visible node performing preview.
2. other position relationships except left and right and except not overlapping;
Using the public father node of the highest visible node and time high visible node as the visible node performing preview.
If the highest visible node and time position relationship of high visible node corresponding content in webpage are not left and right and do not overlap, be other position relationships, then the highest visible node and time high visible node corresponding content are all important, therefore can search the public father node of the highest visible node and time high visible node, then using this public father node as the visible node residing for preview content.
As supposed, in Fig. 2, the highest visible node is D, and secondary high visible node is E, then the position relationship of D and E corresponding content in webpage is not left and right and does not overlap, then using the visible node of the public father node B of D and E as execution preview.
Wherein, public father node refers to the total father node of several visible node, and whether as being same one-level father node, be which rank of father node, the present embodiment does not limit.
3) the visible Node extraction residing for the described preview content determining to obtain obtains the body matter in webpage.
Can using the part of the content in the visible node correspondence web document residing for preview content as preview content, visible Node extraction residing for the described preview content determining to obtain obtains described preview content, and concrete carries out preview from the content in the corresponding web document of the visible node performing preview.By this content start the starting point as preview content, then from preview content, extract the body matter that obtains in webpage.
In this step, dom tree and render tree can be obtained, and determine the visible node in dom tree, again according to concrete demand, the preview value of corresponding visible node is determined by the label of each visible node, finally determine that the preview content in webpage shows, preview content can be the key content extracted from webpage according to demand, and this key content comprises also can be called body matter.
It should be noted that, in this step, each the visible node in dom tree is determined according to render tree, specifically comprise: detect node in dom tree whether in render tree, if in render tree, then detect its property value further, thus determine whether this node is visible node, therefore can determine the visible node in dom tree accurately and rapidly.And
In this step, can according to initial preview value corresponding to requirements set label, as the preview value of visible node corresponding to described label, thus the possibility of the visible node preview of each label can be determined according to demand.Further, in order to make each tool emphasis of page layout, meet the demand of user, the additional preview value of default label can also be set, this annex preview value can be determined according to the content in the corresponding webpage of visible node, thus making the preview value of visible node more accurate, the preview contents of display etc. give top priority to what is the most important.And
In this step, it is also conceivable to the hierarchical relationship of visible node, if a certain visible node is the father node of other visible nodes when calculating preview value, then can the preview value of other visible nodes be added in the preview value of this visible node according to certain weight proportion, thus make preview value more accurate, make the preview content finally determined more accurate.
In this step, in the disclosure, when Web page loading, browser only identifies the body matter in this webpage, then, loads and media resource same relevant in this main body, and does not load (namely filtering out) media resource irrelevant with this body matter.
At step 104, according to described body matter, load the node of the media resource class relevant to described body matter;
In above-mentioned steps, after first obtaining the dom tree of resolving described auto-building html files and render tree, determine the node of the media resource class relevant to described body matter according to the visible node in described dom tree and render tree, load the node of the media resource class relevant to described body matter.
Determine a node for the media resource class relevant to described body matter according to the visible node in described dom tree and render tree, comprising:
The particular content characterized in web document due to the visible node in dom tree is different, also there is hierarchical relationship between the visible node in dom tree, wherein, the visible node in upper strata is 1 grade of father node of the visible node of its lower floor, then 1 grade of father node of the visible node in upper strata is 2 grades of father nodes of the visible node of its lower floor, the like, the n level father node of the visible node in upper strata is the n+1 level father node of the visible node of its lower floor.
That is, the visible node of dom tree has hierarchical relationship, and namely the visible node of levels has incidence relation.The visible node in upper strata and its lower floor visible node (i.e. the visible node of lower floor of the visible node in this upper strata) are two visible nodes relative to being connected.The each visible position of node corresponding content in webpage is comprised again in render tree.
So the content corresponding according to each visible node, and its incidence relation and positional information, can determine the node of the media resource class relevant to body matter, namely determine the node of the media resource class within the scope of described body matter.Wherein, the node of described media resource class can be picture node, video node etc.
In this step, identify the body matter in webpage at browser after, the node of the media resource class relevant to described body matter is determined by described dom tree and render tree, then, during the content node of described body matter and the media resource class relevant to this body matter being stored in mobile terminal is deposited, so that follow-up display.
In step 105, the described body matter after display loading and the node of the media resource class relevant to described body matter.
In the disclosure, when Web page loading, the node that the non-media in first Web page loading is resources-type, identifies the body matter in described webpage, and then loads the node of the media resource class relevant to described body matter.That is, in loading procedure, the node that in first Web page loading, non-media is resources-type, identify the body matter in this webpage, and then load the node of the media resource class relevant to body matter, save the flowing of access of user, improve access efficiency, and user browses the satisfaction of webpage.
Optionally, in another embodiment, the webpage of access can be current web page, also can be lower one page of current web page, such as, and the continued page etc. of current web page.
That is, in the above-described embodiments, when user is by browser access webpage on mobile terminal, browser is in this webpage of loading, can the body matter of first Web page loading, and then load the media resource relevant to this body matter, finally by this mobile terminal screen display described in body matter and relative media resource.When current web page has continued page, when user will browse continued page, now, browser is in the process loading continued page (or lower one page), only identify the body matter of subsequent web pages, and load the media resource relevant to the body matter of subsequent web pages, thus save the flow of user's accessed web page, improve access efficiency and user's reading experience.
Optionally, in another embodiment, when user browses webpage by the browser on mobile terminal, in browser Web page loading process, the body matter of this current web page and all media resources can be identified, and show the body matter of current web page and all media resources; And when browser loads lower one page of current web page, only identify the body matter of described lower one page, then, browser only loads the media resource relevant to the body matter of described lower one page, then the body matter of the described lower one page after loading and relative media resource is shown, thus save the flow that user accesses lower one page, improve access efficiency and user's reading experience.
Optionally, in another embodiment, browser, after loading the media resource relevant to described body matter, can also carry out typesetting again to the described body matter after loading and described media resource, obtain the pre-display content on described webpage; Then described pre-display content is shown.
Wherein, typesetting technique is again carried out for the described body matter after loading and described media resource, has been know technology for those skilled in the art, has not repeated them here.
User's accessed web page, usually the web document of this webpage is read by reading model, wherein, reading model a kind ofly to be extracted by body matter in webpage, then, reappear typesetting and be presented to user, when this webpage has continued page, when in reading model, user needs to read continued page, browser loads continued page on backstage automatically, then identify the body matter of continued page, and this body matter is presented to user.
In the disclosure, in next the webpage process loading current web page or current web page, the node that in first Web page loading, non-media is resources-type, identify the body matter of next webpage of this webpage or this webpage, then, only load the media resource relevant to described body matter, and filter the media resource irrelevant with this body matter; Save surfing flow, improve access efficiency and user's reading experience.
Based on the implementation procedure of said method, a kind of page processor of the disclosure according to an exemplary embodiment, its structural scheme of mechanism as shown in Figure 3, described device comprises: the first recognition unit 31, first loading unit 32, second recognition unit 33, second loading unit 34 and display unit 35, wherein
Described first recognition unit 31, is configured to, in Web page loading process, identify the node type in described webpage; Wherein, the webpage of described first recognition unit identification is lower one page of current web page or current web page.
Described first loading unit 32, is configured to according to the node type in described webpage, the node that in Web page loading, non-media is resources-type;
Described second recognition unit 33, is configured to the node resources-type according to loaded non-media, identifies the body matter in described webpage;
Described second loading unit 34, is configured to according to described body matter, loads the node of the media resource class relevant to described body matter;
Described display unit 35, is configured to the node showing the described body matter after loading and the media resource class relevant to described body matter.
In the disclosure, when Web page loading, browser first identifies this webpage interior joint type, the node that then in Web page loading, non-media is resources-type, and identifies the body matter in webpage, then, load the media resource relevant to this body matter, and do not load media resource irrelevant with master map content in this webpage, the such as picture video etc. of non-webpage body content, thus save user's surfing flow, improve access efficiency and user's reading experience.
Optionally, in another embodiment, this embodiment is on the basis of above-described embodiment, and described second recognition unit 33 comprises: the first acquiring unit 331, first determining unit 332 and the second determining unit 333, its structural representation as shown in Figure 4, wherein,
Described first acquiring unit 331, is configured to the dom tree and the render tree that obtain the described auto-building html files of parsing;
Described first determining unit 332, is configured to the visible node determined according to described render tree in described dom tree, and determines the preview value of each visible node;
Described second determining unit 333, is configured to the body matter determined according to the preview value of described each visible node in described webpage.
Optionally, in another embodiment, this embodiment is on the basis of above-described embodiment, and described first determining unit 332 comprises: first determines that subelement 3322 determined by subelement 3321 and second, its structural representation as shown in Figure 5, wherein,
Described first determines subelement 3321, is configured to the visible node determined according to described render tree in described dom tree:
Described second determines subelement 3322, is configured to the initial preview value determining described each visible node according to the label of described each visible node, and using the preview value of described initial preview value as described each visible node.
Optionally, in another embodiment, this embodiment is on the basis of above-described embodiment, described first determining unit also comprises: the 3rd determines that subelement determined by subelement and the 4th, wherein, described 3rd determines subelement, and be configured to when the label of described visible node is for presetting label, the content corresponding according to node visible described in web document determines additional preview value; Described 4th determines subelement, is configured to described additional preview value to be added with described initial preview value the preview value obtaining described visible node.
Optionally, in another embodiment, this embodiment is on the basis of above-described embodiment, and described first determining unit also comprises: add subelement, is configured to the preview value of described visible node to add in the preview value of the father nodes at different levels of described visible node according to the proportion preset.
Optionally, in another embodiment, this embodiment is on the basis of above-described embodiment, and described second determining unit 333 comprises: second acquisition unit 3331, and the 5th determines subelement 3332 and extraction unit 3333, and its structural representation as shown in Figure 6.Wherein,
Described second acquisition unit 3331, is configured to obtain described preview and is worth two maximum visible nodes, respectively as the highest visible node and time high visible node; Described 5th determines subelement 3332, is configured to the hierarchical relationship according to the highest described visible node and time high visible node, determines the visible node residing for described preview content from the highest described visible node and time high visible node; Described extraction unit 3333, the visible Node extraction be configured to residing for the described preview content determining to obtain obtains the body matter in described webpage.
Wherein, the described 5th determines subelement 3332, is specifically configured to when the highest described visible node is arbitrary grade of father node of described high visible node, using the highest described visible node as the visible node residing for described preview content; Or, be not arbitrary grade of father node of described high visible node at the highest described visible node, then according to the highest described visible node and time position relationship of high visible node corresponding content in webpage, determine the visible node residing for described preview content.
Optionally, in another embodiment, this embodiment is on the basis of above-described embodiment, and described second loading unit 34 comprises: the 3rd acquiring unit the 341, three determining unit 342 and add subelements 343, its structural representation as shown in Figure 7, wherein,
Described 3rd acquiring unit 341, is configured to the dom tree and the render tree that obtain the described auto-building html files of parsing; Described 3rd determining unit 342, is configured to the node determining the media resource class relevant to described body matter according to the visible node in described dom tree and render tree; Describedly add subelements 343, be configured to the node loading the media resource class relevant to described body matter.
In described device, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
Accordingly, the disclosure also provides a kind of page processor, and described device comprises: processor; For the storer of storage of processor executable instruction; Wherein, described processor is configured to: in Web page loading process, identifies the node type in described webpage; According to the node type in described webpage, the node that in Web page loading, non-media is resources-type; The node resources-type according to loaded non-media, identifies the body matter in described webpage; According to described body matter, load the node of the media resource class relevant to described body matter; Described body matter after display loads and the node of the media resource class relevant to described body matter.
In described device, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure also provides a kind of mobile terminal, described mobile terminal includes storer, and one or more than one program, one of them or more than one program are stored in storer, and be configured to perform described more than one or one routine package containing the instruction for carrying out following operation by more than one or one processor: in Web page loading process, identify the node type in described webpage; According to the node type in described webpage, the node that in Web page loading, non-media is resources-type; The node resources-type according to loaded non-media, identifies the body matter in described webpage; According to described body matter, load the node of the media resource class relevant to described body matter; Described body matter after display loads and the node of the media resource class relevant to described body matter.
Fig. 8 is another structural representation of a kind of device 800 for Web Page Processing of the disclosure according to an exemplary embodiment.Such as, device 800 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 8, device 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read-only memory (prom), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 806 is device 800 provide electric power.Power supply module 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 814 comprises one or more sensor, for providing the state estimation of various aspects for device 800.Such as, sensor module 814 can detect the opening/closing state of device 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random-access memory (ram), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of web page processing method, described method comprises: in Web page loading process, identifies the node type in described webpage; According to the node type in described webpage, the node that in Web page loading, non-media is resources-type; The node resources-type according to loaded non-media, identifies the body matter in described webpage; According to described body matter, load the node of the media resource class relevant to described body matter; Described body matter after display loads and the node of the media resource class relevant to described body matter.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present embodiment.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (20)

1. a web page processing method, is characterized in that, comprising:
In Web page loading process, identify the node type in described webpage;
According to the node type in described webpage, load the node that in described webpage, non-media is resources-type;
The node resources-type according to loaded non-media, identifies the body matter in described webpage;
According to described body matter, load the node of the media resource class relevant to described body matter;
Described body matter after display loads and the node of the media resource class relevant to described body matter.
2. method according to claim 1, is characterized in that, the body matter in the described webpage of described identification, comprising:
Obtain the dom tree and render tree of resolving described auto-building html files;
Determine the visible node in described dom tree according to described render tree, and determine the preview value of each visible node;
The body matter in described webpage is determined according to the preview value of described each visible node.
3. method according to claim 1, is characterized in that, the described preview value determining each visible node, comprising:
The initial preview value of described each visible node is determined according to the label of described each visible node, and using the preview value of described initial preview value as described each visible node.
4. method according to claim 3, is characterized in that, also comprises:
When the label of described visible node is for presetting label, the content corresponding according to node visible described in web document determines additional preview value;
Described additional preview value is added with described initial preview value the preview value obtaining described visible node.
5. method according to claim 4, is characterized in that, also comprises:
The preview value of described visible node is added in the preview value of the father nodes at different levels of described visible node according to the proportion preset.
6. method according to claim 2, is characterized in that, the described preview value according to described each visible node determines the body matter in described webpage, comprising:
Obtain described preview and be worth two maximum visible nodes, respectively as the highest visible node and time high visible node;
According to the hierarchical relationship of the highest described visible node with time high visible node, from the highest described visible node and time high visible node, determine the visible node residing for described preview content;
Visible Node extraction residing for the described preview content determining to obtain obtains the body matter in described webpage.
7. method according to claim 6, is characterized in that, the hierarchical relationship of the highest visible node of described basis and time high visible node, determines the visible node residing for described preview content, comprising from the highest described visible node and time high visible node:
If the highest described visible node is arbitrary grade of father node of described time high visible node, then using the highest described visible node as the visible node residing for described preview content; Or
If the highest described visible node is not arbitrary grade of father node of described high visible node, then according to the highest described visible node and time position relationship of high visible node corresponding content in webpage, determine the visible node residing for described preview content.
8. method according to claim 7, is characterized in that, the highest visible node described in described basis and time position relationship of high visible node corresponding content in webpage, determines the visible node residing for described preview content, comprising:
If described position relationship is left and right and does not overlap, in the highest visible node described in then calculating respectively and time high visible node included label be the preview value of the node of default label and value, and using described and be worth large visible node as the visible node residing for described preview content; Or
If other position relationships except left and right and except not overlapping, then using the public father node of the highest described visible node and time high visible node as the visible node residing for described preview content.
9. method according to claim 1, is characterized in that, described according to described body matter, loads the node of the media resource class relevant to described body matter, comprising:
Obtain the dom tree and render tree of resolving described auto-building html files;
The node of the media resource class relevant to described body matter is determined according to the visible node in described dom tree and render tree;
Load the node of the media resource class relevant to described body matter.
10. the method according to any one of claim 1 to 9, is characterized in that, described webpage is lower one page of current web page or current web page.
11. 1 kinds of page processor, is characterized in that, comprising:
First recognition unit, in Web page loading process, identifies the node type in described webpage;
First loading unit, for according to the node type in described webpage, the node that in Web page loading, non-media is resources-type;
Second recognition unit, for the node resources-type according to loaded non-media, identifies the body matter in described webpage;
Second loading unit, for according to described body matter, loads the node of the media resource class relevant to described body matter;
Display unit, for showing the node of the described body matter after loading and the media resource class relevant to described body matter.
12. devices according to claim 11, is characterized in that, described second recognition unit comprises:
First acquiring unit, for obtaining the dom tree and render tree of resolving described auto-building html files;
First determining unit, for determining the visible node in described dom tree according to described render tree, and determines the preview value of each visible node;
Second determining unit, for determining the body matter in described webpage according to the preview value of described each visible node.
13. devices according to claim 12, is characterized in that, described first determining unit comprises:
First determines subelement, for determining the visible node in described dom tree according to described render tree:
Second determines subelement, for determining the initial preview value of described each visible node according to the label of described each visible node, and using the preview value of described initial preview value as described each visible node.
14. devices according to claim 13, is characterized in that, described first determining unit also comprises:
3rd determines subelement, and for when the label of described visible node is for presetting label, the content corresponding according to node visible described in web document determines additional preview value;
4th determines subelement, for described additional preview value is added with described initial preview value the preview value obtaining described visible node.
15. devices according to claim 14, is characterized in that, described first determining unit also comprises:
Add subelement, for the preview value of described visible node being added in the preview value of the father nodes at different levels of described visible node according to the proportion preset.
16. devices according to claim 12, is characterized in that, described second determining unit comprises:
Second acquisition unit, is worth two maximum visible nodes for obtaining described preview, respectively as the highest visible node and time high visible node;
5th determines subelement, for the hierarchical relationship according to the highest described visible node and time high visible node, determines the visible node residing for described preview content from the highest described visible node and time high visible node;
Extraction unit, obtains the body matter in described webpage for the visible Node extraction residing for the described preview content determining to obtain.
17. devices according to claim 16, it is characterized in that, described 5th determines subelement, during specifically for being arbitrary grade of father node of described time high visible node at the highest described visible node, using the highest described visible node as the visible node residing for described preview content; Or, be not arbitrary grade of father node of described high visible node at the highest described visible node, then according to the highest described visible node and time position relationship of high visible node corresponding content in webpage, determine the visible node residing for described preview content.
18. devices according to claim 11, is characterized in that, described second loading unit comprises:
3rd acquiring unit, for obtaining the dom tree and render tree of resolving described auto-building html files;
3rd determining unit, for determining the node of the media resource class relevant to described body matter according to the visible node in described dom tree and render tree;
Add subelements, for loading the node of the media resource class relevant to described body matter.
19., according to claim 11 to the device described in 18 any one, is characterized in that, the webpage of described first recognition unit identification is lower one page of current web page or current web page.
20. 1 kinds of page processor, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
In Web page loading process, identify the node type in described webpage;
According to the node type in described webpage, the node that in Web page loading, non-media is resources-type;
The node resources-type according to loaded non-media, identifies the body matter in described webpage;
According to described body matter, load the node of the media resource class relevant to described body matter;
Described body matter after display loads and the node of the media resource class relevant to described body matter.
CN201410113842.8A 2014-03-25 2014-03-25 Webpage processing method and device Active CN104951445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410113842.8A CN104951445B (en) 2014-03-25 2014-03-25 Webpage processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410113842.8A CN104951445B (en) 2014-03-25 2014-03-25 Webpage processing method and device

Publications (2)

Publication Number Publication Date
CN104951445A true CN104951445A (en) 2015-09-30
CN104951445B CN104951445B (en) 2020-06-02

Family

ID=54166108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410113842.8A Active CN104951445B (en) 2014-03-25 2014-03-25 Webpage processing method and device

Country Status (1)

Country Link
CN (1) CN104951445B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404672A (en) * 2015-11-19 2016-03-16 上海携程商务有限公司 Webpage data storage and operation system and method
CN108345790A (en) * 2017-12-31 2018-07-31 广东欧珀移动通信有限公司 Malicious requests detection method, device, mobile terminal and storage medium
CN112016014A (en) * 2020-08-18 2020-12-01 北京达佳互联信息技术有限公司 Webpage display method, webpage resource generation method, webpage display device, webpage resource generation device, electronic equipment and medium
CN112346812A (en) * 2021-01-08 2021-02-09 北京小米移动软件有限公司 Page layout method and device
CN113934949A (en) * 2021-11-24 2022-01-14 掌阅科技股份有限公司 Information page display method, electronic equipment and computer storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080059912A1 (en) * 2006-09-05 2008-03-06 International Business Machines Corporation Selectable flattening hierarchical file browser
CN101436181A (en) * 2007-11-13 2009-05-20 盛乐信息技术(上海)有限公司 Method for acquiring and exhibiting general-purpose web medium
CN101963987A (en) * 2010-09-30 2011-02-02 百度在线网络技术(北京)有限公司 Methods and equipments for generating and loading web page file
CN102880707A (en) * 2012-09-27 2013-01-16 广州市动景计算机科技有限公司 Method and device for webpage body content recognition
CN102915375A (en) * 2012-11-08 2013-02-06 山东大学 Webpage loading method based on layout zoning
CN103020156A (en) * 2012-11-23 2013-04-03 北京小米科技有限责任公司 Processing method, device and equipment for webpage
CN103218357A (en) * 2012-01-18 2013-07-24 腾讯科技(深圳)有限公司 Page setting method and device
CN103235719A (en) * 2013-03-29 2013-08-07 北界创想(北京)软件有限公司 Method and device for setting WAP website
US20130282486A1 (en) * 2012-04-18 2013-10-24 Bruno Rahle Structured information about nodes on a social networking system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080059912A1 (en) * 2006-09-05 2008-03-06 International Business Machines Corporation Selectable flattening hierarchical file browser
CN101436181A (en) * 2007-11-13 2009-05-20 盛乐信息技术(上海)有限公司 Method for acquiring and exhibiting general-purpose web medium
CN101963987A (en) * 2010-09-30 2011-02-02 百度在线网络技术(北京)有限公司 Methods and equipments for generating and loading web page file
CN103218357A (en) * 2012-01-18 2013-07-24 腾讯科技(深圳)有限公司 Page setting method and device
US20130282486A1 (en) * 2012-04-18 2013-10-24 Bruno Rahle Structured information about nodes on a social networking system
CN102880707A (en) * 2012-09-27 2013-01-16 广州市动景计算机科技有限公司 Method and device for webpage body content recognition
CN102915375A (en) * 2012-11-08 2013-02-06 山东大学 Webpage loading method based on layout zoning
CN103020156A (en) * 2012-11-23 2013-04-03 北京小米科技有限责任公司 Processing method, device and equipment for webpage
CN103235719A (en) * 2013-03-29 2013-08-07 北界创想(北京)软件有限公司 Method and device for setting WAP website

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404672A (en) * 2015-11-19 2016-03-16 上海携程商务有限公司 Webpage data storage and operation system and method
CN105404672B (en) * 2015-11-19 2019-03-26 上海携程商务有限公司 The system and method for web data storage and operation
CN108345790A (en) * 2017-12-31 2018-07-31 广东欧珀移动通信有限公司 Malicious requests detection method, device, mobile terminal and storage medium
CN112016014A (en) * 2020-08-18 2020-12-01 北京达佳互联信息技术有限公司 Webpage display method, webpage resource generation method, webpage display device, webpage resource generation device, electronic equipment and medium
CN112016014B (en) * 2020-08-18 2023-12-26 北京达佳互联信息技术有限公司 Webpage display method, webpage resource generation device, electronic equipment and medium
CN112346812A (en) * 2021-01-08 2021-02-09 北京小米移动软件有限公司 Page layout method and device
CN113934949A (en) * 2021-11-24 2022-01-14 掌阅科技股份有限公司 Information page display method, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN104951445B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
JP6051338B2 (en) Page rollback control method, page rollback control device, terminal, program, and recording medium
US10739958B2 (en) Method and device for executing application using icon associated with application metadata
KR102036337B1 (en) Apparatus and method for providing additional information using caller identification
CN104239422B (en) Advertisement recognition method and device, electronic equipment
CN105138259A (en) Operation execution method and operation execution device
CN106569800A (en) Front end interface generation method and apparatus
CN107357779A (en) A kind of method and device for obtaining organization names
CN104951445A (en) Webpage processing method and device
CN104778226A (en) Webpage content item shielding method and webpage content item shielding device
CN106126632A (en) Recommend method and device
CN106202223A (en) Content collection method, device and for collecting the device of content in application program
CN105068976A (en) Ticket information exhibition method and device
CN104778405A (en) Method and device for blocking advertisements
CN105550643A (en) Medical term recognition method and device
CN104461348A (en) Method and device for selecting information
CN105138519A (en) Lexical translation method and device
CN104991910A (en) Album creation method and apparatus
CN104156488B (en) Webpage change detection method and device
CN104572848A (en) Search method and search device based on browser
CN104199915A (en) Method and device for detecting webpage changes
CN105430194A (en) Method for making calls, device and terminal
CN106503048A (en) Browser color method to set up and device
CN104780153A (en) Method and device for filtering information
CN107390974A (en) Codelookup method, apparatus and storage medium for webpage debugging
CN107229637A (en) A kind of webpage collection method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant