CN105354292A - Page output method and apparatus - Google Patents

Page output method and apparatus Download PDF

Info

Publication number
CN105354292A
CN105354292A CN201510733561.7A CN201510733561A CN105354292A CN 105354292 A CN105354292 A CN 105354292A CN 201510733561 A CN201510733561 A CN 201510733561A CN 105354292 A CN105354292 A CN 105354292A
Authority
CN
China
Prior art keywords
node
page
child
target leaves
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510733561.7A
Other languages
Chinese (zh)
Inventor
金军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Coolpad Software Technology Co Ltd
Original Assignee
Dongguan Coolpad Software 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 Dongguan Coolpad Software Technology Co Ltd filed Critical Dongguan Coolpad Software Technology Co Ltd
Priority to CN201510733561.7A priority Critical patent/CN105354292A/en
Publication of CN105354292A publication Critical patent/CN105354292A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Abstract

The present application provides a page output method and apparatus. The method comprises: when a page browsing request is detected, acquiring node information of a DOM (Document Object Model) tree of the current requested browsing page so as to search a target leaf node that meets a first predetermined condition by using the node information; then, starting from the target leaf node, calculating a percentage of an area that a child node takes of a parent node in a branch that the target leaf node on, and selecting the child node corresponding to a maximum percentage as a target node; and then, using a position corresponding to the target node as a start output position of the current requested browsing page, and outputting the current requested browsing page, i.e., when the requested browsing page is opened, body content directly starts to be displayed from the position corresponded to the target node, therefore, a user can directly scroll to the body part when opening the requested browsing page without the need of scrolling a scroll bar of the requested browsing page, so that the user operation is reduced, the page advertisement is avoided, and good Internet experience is obtained.

Description

A kind of page output intent and device
Technical field
The present invention relates to browser application field, more particularly relate to a kind of page output intent and device.
Background technology
Nowadays, along with the fast development of internet, conveniently user checks information by webpage, there is various browser on the market, as Baidu's browser, QQ browser, 360 browsers, InternetExplorer, Firefox, Google's browser, UC browser etc., as long as required browser is arranged on client by user, and this client is networked, just can start this browser and check required information, as shopping, brush microblogging, see video, reading articles etc., very convenient and practical.
In browser practical application, applicant finds, when user uses browser to browse in webpage process, enter a new browsing pages at every turn, be all show from the top of this browsing pages, but the top of current browsing pages is all advertising page or title block usually, need user to pull this browsing pages scroll bar just can see text downwards, reduce Consumer's Experience.
Summary of the invention
In view of this, the invention provides a kind of page output intent and device, solve existing browser export browsing pages time because all showing its page info from its top, this browsing pages scroll bar must be pulled downwards just to see its page body by user, thus reduce the technical matters of Consumer's Experience.
To achieve these goals, this application provides following technical scheme:
A kind of page output intent, described method comprises:
When page browsing request being detected, obtain the nodal information of the dom tree of current asked browsing pages;
Utilize described nodal information, search meets the first pre-conditioned target leaves node;
From described target leaves node, calculate the number percent that described target leaves node place branch child nodes accounts for his father's node region;
Child node corresponding to the largest percentage that seletion calculation obtains is destination node;
Using position corresponding to described destination node as the beginning outgoing position of described current request browsing pages, export described current asked browsing pages.
Preferably, describedly utilize described nodal information, search meets the first pre-conditioned target leaves node and comprises:
Using the root node of described dom tree as start node, search the node that in the child node of described start node, territory, occupied area is maximum;
Using node maximum for territory, described occupied area as new start node, continue to search the node that in the child node of described new start node, territory, occupied area is maximum, until the maximum node in the territory, occupied area found is leaf node, using described leaf node as target leaves node.
Preferably, described from described target leaves node, calculate the number percent that described target leaves node place branch child nodes accounts for his father's node region and comprise:
Using described target leaves node as initial child node, calculate the number percent that described initial child node accounts for his father's node region;
Using the father node of described initial child node as new initial child node, continue to calculate the number percent that described initial child node newly accounts for his father's node region, until described initial child node is newly the root node of described dom tree.
Preferably, described method also comprises:
Record all child nodes in the described target leaves node place branch calculated and account for the number percent of his father's node region.
Preferably, described method also comprises:
By the described page browsing request detected and ask browsing pages beginning outgoing position correspondence preserve.
Preferably, when page browsing request being detected, described method also comprises:
Verify currently whether store described page browsing request;
If so, obtain the beginning outgoing position corresponding with described page browsing request, and utilize the beginning outgoing position obtained, export current asked browsing pages;
If not, the nodal information step of the dom tree of current the asked browsing pages of described acquisition is performed.
A kind of page output unit, described device comprises:
First acquisition module, for when page browsing request being detected, obtains the nodal information of the dom tree of current asked browsing pages;
Search module, for utilizing described nodal information, search meets the first pre-conditioned target leaves node;
Computing module, for from described target leaves node, calculates the number percent that described target leaves node place branch child nodes accounts for his father's node region;
Select module, child node corresponding to the largest percentage obtained for seletion calculation is destination node;
Page output module, for using position corresponding to described destination node as the beginning outgoing position of described current request browsing pages, exports described current asked browsing pages.
Preferably, described search module comprises:
Search unit, for using the root node of described dom tree as start node, search the node that in the child node of described start node, territory, occupied area is maximum;
Target determination unit, for using node maximum for territory, described occupied area as new start node, continue to search the node that in the child node of described new start node, territory, occupied area is maximum, until the maximum node in the territory, occupied area found is leaf node, using described leaf node as target leaves node.
Preferably, described device also comprises:
First preserves module, accounts for the number percent of his father's node region for recording all child nodes in the described target leaves node place branch that calculates;
Second preserves module, for the corresponding preservation of the beginning outgoing position of browsing pages ask in the described page browsing request detected and institute thereof.
Preferably, described device also comprises:
Authentication module, for after described page browsing request being detected, verifies currently whether store described page browsing request;
Second acquisition module, for when the result of described authentication module is for being, obtains the beginning outgoing position corresponding with described page browsing request, and utilizes the beginning outgoing position obtained, and exports current asked browsing pages.
As can be seen here, compared with prior art, this application provides a kind of page output intent and device, when page browsing request being detected, the nodal information of the dom tree of current asked browsing pages can be obtained, to utilize this nodal information, search meets the first pre-conditioned target leaves node, afterwards, from this target leaves node, calculate the number percent that its place branch child nodes accounts for his father's node region, and the child node therefrom selecting largest percentage corresponding is destination node, now, using the beginning outgoing position of position corresponding for this destination node as current asked browsing pages, export this current asked browsing pages, namely body matter is shown when opening asked browsing pages by the direct position corresponding from this destination node, roll without the need to user the scroll bar of asked browsing pages again, just directly can be rolled to body part when opening asked browsing pages, decrease user operation, and evaded page ad, make user have good online to experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The schematic flow sheet of a kind of page output intent embodiment that Fig. 1 provides for the application;
Fig. 2 is the part run schematic diagram of another kind of page output intent embodiment provided by the invention;
Fig. 3 is the part run schematic diagram of another page output intent embodiment provided by the invention;
Fig. 4 is the structural representation of a kind of page output unit embodiment provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
This application provides a kind of page output intent and device, when page browsing request being detected, the nodal information of the dom tree of current asked browsing pages can be obtained, to utilize this nodal information, search meets the first pre-conditioned target leaves node, afterwards, from this target leaves node, calculate the number percent that its place branch child nodes accounts for his father's node region, and the child node therefrom selecting largest percentage corresponding is destination node, now, using the beginning outgoing position of position corresponding for this destination node as current asked browsing pages, export this current asked browsing pages, namely body matter is shown when opening asked browsing pages by the direct position corresponding from this destination node, roll without the need to user the scroll bar of asked browsing pages again, just directly can be rolled to body part when opening asked browsing pages, decrease user operation, and evaded page ad, make user have good online to experience.
In order to enable above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
As shown in Figure 1, be the schematic flow sheet of a kind of page output intent embodiment provided by the invention, the method can comprise the following steps:
Step S110: when page browsing request being detected, obtains the nodal information of the dom tree of current asked browsing pages.
In actual applications, user by click institute on current page pays close attention to information link or directly after input network address or input keyword click search for, generate corresponding page browsing request, corresponding server can according to the page browsing request received and the solicited message of carrying thereof, to sending page info corresponding to the client feedback of this page browsing request, thus the page making this client enter user to wish to browse.
Wherein, dom tree obtains by resolving asked browsing pages, and the application does not limit the concrete acquisition methods of dom tree.In addition, all nodes of this dom tree are all Node, and can have dissimilar for different node, particular content can refer to the description to dom tree in prior art, and this enforcement is not described in detail in this.
In the present embodiment, the nodal information obtained can comprise the relation in this dom tree between each node, and as set membership, can also comprise child node quantity that each node comprises etc., the application is not construed as limiting this, can determine according to actual needs.
Step S120: utilize described nodal information, search meets the first pre-conditioned target leaves node.
Under normal circumstances, shared by the node of the corresponding dom tree of body part of the page, regional compare is large, and it is also larger to comprise region shared by the more part corresponding node of quantity of information, therefore, the present embodiment can from the root node of dom tree, using this root node as start node, search the maximum child node in its region shared as new start node, continue to search the node that in the child node of this new start node, territory, occupied area is maximum, until the maximum node in the territory, occupied area found is leaf node, namely the node that territory, occupied area is maximum no longer comprises child node, this leaf node is satisfied first pre-conditioned target leaves node.
Wherein, above-mentioned process of searching the maximum child node in shared start node region, can be by calculating the initial father node area percentage corresponding with its child node, the child node that minimum area percentage is corresponding is selected again from all area percentage calculated, afterwards, this child node selected continues to search in this manner as new initial father node, until this child node selected no longer comprises child node, this child node namely selected is leaf node.
Certainly, also the number percent that each child node that initial father node comprises accounts for this initial father node region can be calculated, will child node corresponding to largest percentage in all number percents of obtaining of seletion calculation be now new initial father node, other processes be similar, and the application is not described in detail in this.
It should be noted that, the method about search target leaves node be not limited to above-mentioned enumerate several, as long as can be met the leaf node of the first preset requirement, the application will not enumerate at this.
Based on above-mentioned analysis, this paper is at this only for above-mentioned a kind of way of search, and specifically describe its search procedure, process flow diagram as shown in Figure 2, step S120 specifically can comprise:
Step S121: using the root node of dom tree as start node, searches the node that in the child node of this start node, territory, occupied area is maximum.
In actual applications, can search in the manner described above in the child node of start node and account for the maximum node in its region, the present embodiment does not repeat them here.
Step S122: judge whether the maximum node in this territory, occupied area of finding is leaf node, if so, performs step S124; If not, step S123 is entered.
Wherein, because leaf node is the node not comprising child node, thus, the present embodiment, by judging whether the maximum node in this territory, occupied area of finding comprises child node, judges this node whether as leaf node.
Step S123: using node maximum for this territory, occupied area as new start node, continues to search the node that in the child node of described new start node, territory, occupied area is maximum, and returns step S122.
It should be noted that, the mode of searching of this step S123 can to search mode identical with above-mentioned steps S121, also can be different, and the application is not construed as limiting this.
Step S124: using this leaf node as target leaves node.
According to the searching method shown in Fig. 2, each node due to dom tree is a node, then realizing program code corresponding to this searching method can be expressed as follows, but is not limited thereto:
Step S130: from this target leaves node, calculates the number percent that target leaves node place branch child nodes accounts for his father's node region.
Optionally, in the present embodiment practical application, as shown in Figure 3, the circular about step S130 can comprise:
Step S131: using target leaves node as initial child node, calculates the number percent that this initial child node accounts for his father's node region.
Step S132: judge that whether this initial child node is the root node of dom tree, if so, process ends; If not, step S133 is performed.
In the present embodiment practical application, because root node does not have father node, thus, this enforcement can by judging whether this initial child node has father node, judges that whether this initial child node is the root node of dom tree.
Wherein, it should be noted that, when this initial child node is the root node of dom tree, above-mentioned process ends only refers to the calculation process in end step S130, but not the page terminating the application exports flow process, in fact, when this initial child node is the root node of dom tree, step S140 will be entered.
Step S133: using the father node of this initial child node as new initial child node, continues to calculate the number percent that described initial child node newly accounts for his father's node region, and returns step S132.
According to the computing method shown in Fig. 3, the program code of the above-mentioned search target leaves node that continues, realizing program code corresponding to these computing method can be expressed as follows, but is not limited thereto:
Optionally, calculating in the branch of target leaves node place after all child nodes account for the number percent of his father's node region, these number percents calculated can be recorded, select for subsequent calls.
Step S140: child node corresponding to the largest percentage that seletion calculation obtains is destination node.
It should be noted that, the application for how accounts for the number percent of his father's node region from all child nodes calculated is selected the method for largest percentage to be not construed as limiting, can contrasting between two, contrasting contrasting the larger number percent obtained between two, finally obtaining largest percentage; Also with any one number percent for reference value, other number percents can be compared with it, then will the larger number percent that obtains be compared as new reference value, the like, thus obtaining largest percentage etc., the application will not enumerate at this.
Wherein, the number percent calculated is larger, illustrates that the quantity of information difference that adjacent position comprises is larger, can determine the starting position of page body in this way.
In addition, if what above-mentioned steps S130 calculated is the area percentage of father node and its child node in the branch of target leaves node place, so, child node corresponding to the minimum percent that seletion calculation obtains by this step S150 is destination node, concrete selection course is similar to the above, and the application is not described in detail in this.
Step S150: using position corresponding to this destination node as the beginning outgoing position of current request browsing pages, export current asked browsing pages.
In actual applications, the different nodes of dom tree correspond to the diverse location of current request browsing pages, thus, the position that the destination node that the present embodiment is obtained by above-mentioned account form is corresponding is exactly the starting position of asked browsing pages text usually, so, the present embodiment is by using position corresponding to this destination node as the beginning outgoing position of current request browsing pages, namely as the position starting most to show of asked browsing pages, thus ensure can directly show from the text position of this page when exporting current asked browsing pages, its text problem is searched without the need to roll the again scroll bar of this page of user, decrease user operation, evade page ad, make user have good online to experience.
Optionally, on the basis of above-described embodiment, after determining the destination node that current page browse request is corresponding, the application can also by this page browsing request received and ask the information such as the beginning outgoing position of browsing pages carry out correspondence preserve, so that when this receives this page browsing request, directly call its ask the beginning outgoing position of browsing pages, again obtain this destination node without the need to the method again by above-described embodiment.
Based on this, when page browsing request being detected, the page output intent that the application provides can also comprise:
Verify currently whether store this page browsing request, if so, obtain the beginning outgoing position corresponding with described page browsing request, and the beginning outgoing position that utilization obtains, export current asked browsing pages; If not, according to above-mentioned acquisition embodiment illustrated in fig. 1 ask the beginning outgoing position of browsing pages, i.e. its text position, this enforcement does not repeat them here.
As can be seen here, in this embodiment, when detecting that this client sends same page browse request, avoid double counting in the manner described above ask the text position of browsing pages, to improve page output efficiency.
As the another embodiment of the application, calculate ask the start of text of browsing pages between position, the method that the application provides can also comprise: browser is played up asked browsing pages, and concrete grammar can conventionally, and the application is not described in detail in this.
As shown in Figure 4, be the structural representation of a kind of page output unit embodiment that the application provides, this device can comprise:
First acquisition module 410, for when page browsing request being detected, obtains the nodal information of the dom tree of current asked browsing pages.
Wherein, this nodal information can comprise the position that in this dom tree, each node is corresponding, as to should page browsing request asked the position of browsing pages, the region accounted for of each node can also be comprised, and relation each other, child node quantity that each node comprises etc., the application does not do concrete restriction to this, can determine according to actual needs.
Search module 420, for utilizing described nodal information, search meets the first pre-conditioned target leaves node.
Optionally, in this practical application, this search module 420 can comprise:
Search unit 421, for using the root node of described dom tree as start node, search the node that in the child node of described start node, territory, occupied area is maximum.
Target determination unit 422, for using node maximum for territory, described occupied area as new start node, continue to search the node that in the child node of described new start node, territory, occupied area is maximum, until the maximum node in the territory, occupied area found is leaf node, using described leaf node as target leaves node.
Wherein, the process of this target determination unit determination target leaves node can refer to the description of said method embodiment corresponding part, and this enforcement does not repeat them here.
In addition, it should be noted that, mode search module 420 search being met to the target leaves node of the first preset requirement is not limited to the mode of above-described embodiment description, specifically can with reference to the description of said method embodiment corresponding part, and this enforcement will not enumerate at this.
Computing module 430, for from described target leaves node, calculates the number percent that described target leaves node place branch child nodes accounts for his father's node region.
In the present embodiment practical application, this computing module 430 can comprise:
Computing unit, for using described target leaves node as initial child node, calculate the number percent that described initial child node accounts for his father's node region;
Determining unit, for using the father node of described initial child node as new initial child node, continue to calculate described initial child node newly and account for the number percent of his father's node region, until described initial child node is newly the root node of described dom tree.
Select module 440, child node corresponding to the largest percentage obtained for seletion calculation is destination node.
Wherein, the detailed process of the present embodiment to this selection module 440 select target node is not construed as limiting, and can refer to the description of said method embodiment corresponding part, this enforcement does not repeat them here.
Page output module 450, for using position corresponding to this destination node as the beginning outgoing position of current request browsing pages, exports described current asked browsing pages.
In sum, in the present embodiment, when page browsing request being detected, the nodal information of the dom tree of current asked browsing pages can be obtained, to utilize this nodal information, search meets the first pre-conditioned target leaves node, afterwards, from this target leaves node, calculate the number percent that its place branch child nodes accounts for his father's node region, and the child node therefrom selecting largest percentage corresponding is destination node, now, using the beginning outgoing position of position corresponding for this destination node as current asked browsing pages, export this current asked browsing pages, namely body matter is shown when opening asked browsing pages by the direct position corresponding from this destination node, roll without the need to user the scroll bar of asked browsing pages again, just directly can be rolled to body part when opening asked browsing pages, decrease user operation, and evaded page ad, make user have good online to experience.
Optionally, on the basis of above-described embodiment, page output unit can also comprise:
First preserves module, accounts for the number percent of his father's node region for recording all child nodes in the described target leaves node place branch that calculates.
Second preserves module, for the corresponding preservation of the beginning outgoing position of browsing pages ask in the described page browsing request received and institute thereof.
Certainly, this second is preserved module and can also to preserve corresponding with the page browsing received request for the destination node in the dom tree of acquisition etc., and the application is not construed as limiting this, specifically can determine according to actual needs.
Based on this, this device can also comprise:
Authentication module, for after described page browsing request being detected, verifies currently whether store described page browsing request.
Wherein, when the result of this authentication module is no, namely currently do not store the page browsing request detected, directly can trigger the nodal information that above-mentioned first acquisition module 410 obtains the dom tree of current asked browsing pages.
Second acquisition module, for when the result of described authentication module is for being, obtains the beginning outgoing position corresponding with described page browsing request, and utilizes the beginning outgoing position obtained, and exports current asked browsing pages.
Visible, in this embodiment, when detecting that this client sends same page browse request, avoid double counting in the manner described above ask the text position of browsing pages, to improve page output efficiency.
In addition, as the another embodiment of the application, this device can also comprise:
Rendering module, for playing up asked browsing pages, the application plays up concrete grammar be not construed as limiting this, and can refer to existing webpage rendering intent, the present embodiment is not described in detail in this.
Finally, it should be noted that, about in the various embodiments described above, the such as relational terms of first, second grade and so on is only used for an operation or unit and another operates or cellular zone separates, and not necessarily requires or imply the relation or order that there is any this reality between these unit or operation.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it is corresponding with method disclosed in embodiment, so description is fairly simple, relevant part illustrates see method part.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a page output intent, is characterized in that, described method comprises:
When page browsing request being detected, obtain the nodal information of the dom tree of current asked browsing pages;
Utilize described nodal information, search meets the first pre-conditioned target leaves node;
From described target leaves node, calculate the number percent that described target leaves node place branch child nodes accounts for his father's node region;
Child node corresponding to the largest percentage that seletion calculation obtains is destination node;
Using position corresponding to described destination node as the beginning outgoing position of described current request browsing pages, export described current asked browsing pages.
2. method according to claim 1, is characterized in that, describedly utilizes described nodal information, and search meets the first pre-conditioned target leaves node and comprises:
Using the root node of described dom tree as start node, search the node that in the child node of described start node, territory, occupied area is maximum;
Using node maximum for territory, described occupied area as new start node, continue to search the node that in the child node of described new start node, territory, occupied area is maximum, until the maximum node in the territory, occupied area found is leaf node, using described leaf node as target leaves node.
3. method according to claim 1, is characterized in that, described from described target leaves node, calculates the number percent that described target leaves node place branch child nodes accounts for his father's node region and comprises:
Using described target leaves node as initial child node, calculate the number percent that described initial child node accounts for his father's node region;
Using the father node of described initial child node as new initial child node, continue to calculate the number percent that described initial child node newly accounts for his father's node region, until described initial child node is newly the root node of described dom tree.
4. method according to claim 1, is characterized in that, described method also comprises:
Record all child nodes in the described target leaves node place branch calculated and account for the number percent of his father's node region.
5. method according to claim 1, is characterized in that, described method also comprises:
By the described page browsing request detected and ask browsing pages beginning outgoing position correspondence preserve.
6. method according to claim 5, is characterized in that, when page browsing request being detected, described method also comprises:
Verify currently whether store described page browsing request;
If so, obtain the beginning outgoing position corresponding with described page browsing request, and utilize the beginning outgoing position obtained, export current asked browsing pages;
If not, the nodal information step of the dom tree of current the asked browsing pages of described acquisition is performed.
7. a page output unit, is characterized in that, described device comprises:
First acquisition module, for when page browsing request being detected, obtains the nodal information of the dom tree of current asked browsing pages;
Search module, for utilizing described nodal information, search meets the first pre-conditioned target leaves node;
Computing module, for from described target leaves node, calculates the number percent that described target leaves node place branch child nodes accounts for his father's node region;
Select module, child node corresponding to the largest percentage obtained for seletion calculation is destination node;
Page output module, for using position corresponding to described destination node as the beginning outgoing position of described current request browsing pages, exports described current asked browsing pages.
8. device according to claim 7, is characterized in that, described search module comprises:
Search unit, for using the root node of described dom tree as start node, search the node that in the child node of described start node, territory, occupied area is maximum;
Target determination unit, for using node maximum for territory, described occupied area as new start node, continue to search the node that in the child node of described new start node, territory, occupied area is maximum, until the maximum node in the territory, occupied area found is leaf node, using described leaf node as target leaves node.
9. device according to claim 1, is characterized in that, described device also comprises:
First preserves module, accounts for the number percent of his father's node region for recording all child nodes in the described target leaves node place branch that calculates;
Second preserves module, for the corresponding preservation of the beginning outgoing position of browsing pages ask in the described page browsing request detected and institute thereof.
10. device according to claim 9, is characterized in that, described device also comprises:
Authentication module, for after described page browsing request being detected, verifies currently whether store described page browsing request;
Second acquisition module, for when the result of described authentication module is for being, obtains the beginning outgoing position corresponding with described page browsing request, and utilizes the beginning outgoing position obtained, and exports current asked browsing pages.
CN201510733561.7A 2015-10-30 2015-10-30 Page output method and apparatus Pending CN105354292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510733561.7A CN105354292A (en) 2015-10-30 2015-10-30 Page output method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510733561.7A CN105354292A (en) 2015-10-30 2015-10-30 Page output method and apparatus

Publications (1)

Publication Number Publication Date
CN105354292A true CN105354292A (en) 2016-02-24

Family

ID=55330264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510733561.7A Pending CN105354292A (en) 2015-10-30 2015-10-30 Page output method and apparatus

Country Status (1)

Country Link
CN (1) CN105354292A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562600A (en) * 2017-08-23 2018-01-09 广州阿里巴巴文学信息技术有限公司 Page detection method, apparatus, computing device and storage medium
CN110968739A (en) * 2018-09-28 2020-04-07 传线网络科技(上海)有限公司 Resource request method and device
CN112100548A (en) * 2020-11-17 2020-12-18 浙江口碑网络技术有限公司 Page positioning display method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727461A (en) * 2008-10-13 2010-06-09 中国科学院计算技术研究所 Method for extracting content of web page
US20110302486A1 (en) * 2010-06-03 2011-12-08 Beijing Ruixin Online System Technology Co., Ltd Method and apparatus for obtaining the effective contents of web page
CN102880707A (en) * 2012-09-27 2013-01-16 广州市动景计算机科技有限公司 Method and device for webpage body content recognition
CN102915361A (en) * 2012-10-18 2013-02-06 北京理工大学 Webpage text extracting method based on character distribution characteristic
CN103488743A (en) * 2013-09-22 2014-01-01 北京奇虎科技有限公司 Page element extraction method and page element extraction system
CN104484449A (en) * 2014-12-25 2015-04-01 北京国双科技有限公司 Web page text extraction method and web page text extraction device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727461A (en) * 2008-10-13 2010-06-09 中国科学院计算技术研究所 Method for extracting content of web page
US20110302486A1 (en) * 2010-06-03 2011-12-08 Beijing Ruixin Online System Technology Co., Ltd Method and apparatus for obtaining the effective contents of web page
CN102880707A (en) * 2012-09-27 2013-01-16 广州市动景计算机科技有限公司 Method and device for webpage body content recognition
CN102915361A (en) * 2012-10-18 2013-02-06 北京理工大学 Webpage text extracting method based on character distribution characteristic
CN103488743A (en) * 2013-09-22 2014-01-01 北京奇虎科技有限公司 Page element extraction method and page element extraction system
CN104484449A (en) * 2014-12-25 2015-04-01 北京国双科技有限公司 Web page text extraction method and web page text extraction device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562600A (en) * 2017-08-23 2018-01-09 广州阿里巴巴文学信息技术有限公司 Page detection method, apparatus, computing device and storage medium
CN110968739A (en) * 2018-09-28 2020-04-07 传线网络科技(上海)有限公司 Resource request method and device
CN112100548A (en) * 2020-11-17 2020-12-18 浙江口碑网络技术有限公司 Page positioning display method and device

Similar Documents

Publication Publication Date Title
CN104809154B (en) The method and device recommended for information
JP5855773B2 (en) Determination of search result ranking based on confidence level values associated with sellers
US20160323364A1 (en) Method and device for displaying information flows in social network, and server
US20150012519A1 (en) Recommendation search method for search engine, device and computer readable storage medium
JP2013037624A (en) Information processing system, information processing method, program, and information storage medium
CN103365904B (en) A kind of advertising message searching method and system
JP2015505109A5 (en)
CN106033415A (en) A text content recommendation method and device
CN103186666B (en) Method, device and equipment for searching based on favorites
CN102693223A (en) Search method
CN103257962B (en) information providing method and device
WO2015026750A1 (en) Presenting fixed format documents in reflowed format
WO2021129122A1 (en) Display method for book query page, electronic device and computer storage medium
US20100161618A1 (en) Method and system for providing keyword ranking using common affix
CN105677867A (en) User label generation method and device
CN104077392B (en) Reminding method and device are suggested in a kind of search
CN104090887A (en) Music search method and device
CN104899236A (en) Comment information display method, comment information display device and comment information display system
CN105354292A (en) Page output method and apparatus
CN103337028A (en) Recommendation method and device
US20160164984A1 (en) Determining Browsing Activities
US20150199357A1 (en) Selecting primary resources
US10339195B2 (en) Navigation control for network clients
US20180025359A1 (en) Customer journey optimized pre-fetching
CN101639856B (en) Webpage correlation evaluation device for detecting internet information spreading

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160224