CN102841900B - page processing method and device - Google Patents

page processing method and device Download PDF

Info

Publication number
CN102841900B
CN102841900B CN201110171036.2A CN201110171036A CN102841900B CN 102841900 B CN102841900 B CN 102841900B CN 201110171036 A CN201110171036 A CN 201110171036A CN 102841900 B CN102841900 B CN 102841900B
Authority
CN
China
Prior art keywords
page
current
user
body matter
new page
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.)
Active
Application number
CN201110171036.2A
Other languages
Chinese (zh)
Other versions
CN102841900A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110171036.2A priority Critical patent/CN102841900B/en
Publication of CN102841900A publication Critical patent/CN102841900A/en
Application granted granted Critical
Publication of CN102841900B publication Critical patent/CN102841900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides page processing method and device.Wherein, the method comprises: in the enable intelligent reading model function of current page; From all pages after current page and current page, extract body matter respectively, the body matter extracted from each page is combined in same new page.Adopt the present invention, can realize, by existing multiple page pool to the same page, improving reading efficiency.

Description

Page processing method and device
Technical field
The present invention relates to computer realm, particularly page processing method and device.
Background technology
At present, a lot of website not by one section of complete news or novel by a page display, but one section of complete news or novel are divided into multiple page, carry out page layout switch to read the content in each page by viewer by click next page.
Usually, be dispersed with the gibberish such as advertisement, game in each page of the viewer that website provides, these gibberish cause very large puzzlement to viewer.Further, click next page viewer and be loaded into the needs long time to next page, it reduce the reading efficiency of viewer.
Summary of the invention
The invention provides page processing method and device, to realize, by existing multiple page pool to the same page, improving reading efficiency.
Technical scheme provided by the invention comprises:
A kind of page processing method, comprising:
In the enable intelligent reading model function of current page;
From all pages after current page and current page, extract body matter respectively, the body matter extracted from each page is combined in same new page.
A kind of Page handling device, comprising:
Enable unit, in the enable intelligent reading model function of current page;
Assembled unit, for extracting body matter respectively in all pages after current page and current page, is combined in same new page by the body matter extracted from each page.
As can be seen from the above technical solutions, in the present invention, by extracting body matter respectively in all pages after current page and current page, the body matter extracted from each page is combined in same new page.Can realize by existing multiple page pool to the same page, realize the continuous page of intelligence, improve reading efficiency.
Accompanying drawing explanation
The basic flow sheet that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 a is existing ordinary pages schematic diagram;
The new page schematic diagram that Fig. 2 b provides for the embodiment of the present invention;
The schematic diagram of pointing out in the new page that Fig. 2 c provides for the embodiment of the present invention;
The new page structural representation that Fig. 2 d provides for the embodiment of the present invention;
The bookmark that Fig. 2 e provides for the embodiment of the present invention adds schematic diagram;
The structure drawing of device that Fig. 3 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
See the basic flow sheet that Fig. 1, Fig. 1 provide for the embodiment of the present invention.As shown in Figure 1, this flow process can comprise the following steps:
Step 101, in the enable intelligent reading model function of current page.
Current page in this step 101 is the existing common page.
Particularly, this step 101 is: judge whether there is the keyword corresponding with described intelligent reading model function in current page, if, then provide intelligent reading model functional switch to user, when user selects to open intelligent reading model function, determine that current page enables intelligent reading model function.Wherein, keyword is for representing that current page exists the mark of next page, is specially next chapter, next joint or lower one page etc., does not specifically limit here.
Step 102, extracts body matter respectively, the body matter extracted from each page is combined in same new page from all pages after current page and current page.
In this step 102, the body matter extracted from each page is combined in same new page be specially: according to following principle: the page number of body matter described new page extracted from the page that the page number is little is less than the page number of body matter described new page extracted from the page that the page number is large, successively the body matter extracted from each page is combined in same new page.
In addition, be save performance, extracting body matter can perform according to sequencing from all page after current page and current page in this step 102.
Based on describing above, can be during this step 102 specific implementation: extract body matter from current page, in new page, typesetting being carried out, using the current page of the body matter after typesetting as described new page to the body matter extracted; Using the next page of described current page as current page, body matter is extracted from this current page, in described new page, typesetting is carried out to the body matter extracted, and the body matter after typesetting is placed on below described current page as lower one page of current page in described new page, afterwards using lower one page of current page in described new page as current page, be back to the operation of the next page of described current page as current page, till current page does not exist next page.So, above-mentioned steps 102 can be realized.
In this step 102, from current page, and extract the class of operation of body matter seemingly in each page after current page, to illustrate from current page how the present invention extracts body matter, be specially: reject the page infos such as the page info such as CSS of this page, and text message is obtained from this page, the text message of acquisition is taken into body matter, and described body matter is pure words content.
So far, the flow process shown in Fig. 1 is completed.
For making the flow process shown in Fig. 1 clearly, lifting a specific embodiment below and being described.
Browse novel " happiness of qualifying: fate is preordained " for user, according to existing mode, this novel is divided into multiple page, if user is current browse N number of page and page_N, specifically as shown in Figure 2 a.This page shown in Fig. 2 a is the existing common page.Based on this, according to the description in above-mentioned steps 101, then judge whether this page exists the keyword corresponding with intelligent reading model function, in Fig. 2 a represent to there is this keyword, based on this, then in the page shown in Fig. 2 a, provide the intelligent reading model functional switch shown in Fig. 2 a to user.When user selects to open intelligent reading model function, determine that current page enables intelligent reading model function.Afterwards, according to the description of step 102, extract body matter by each page after the page_N page shown in Fig. 2 a and this page_N page, the body matter extracted is combined in same new page, specifically as shown in Figure 2 b from each page.In figure 2b, the body matter never extracted with the page is comprised in the not same page of new page, and the page number of every one page can distribute according to mentioned above principle: the page number of body matter described new page extracted from the page that the page number is little is less than the page number of body matter described new page extracted from the page that the page number is large.
As can be seen from Fig. 2 b, adopt method provided by the invention by existing common multiple page pools in the same page, like this, when user browses, can not need the switching carrying out the page, the continuous page of intelligence can be realized.
It should be noted that, due to the limited screen space of client, even if the existing common multiple pages of the page pool shown in Fig. 2 b, all the elements can not be shown simultaneously, but be loaded into the triggering progressively displaying contents of content by the continuation that user provides, until all the elements display is complete.
Wherein, consider application of the present invention, when receiving the triggering of the continuation loading content that user provides, corresponding prompting is provided to user according to whether continuing to be loaded into content, be specially: if receive the triggering for continuing to be loaded into content, then when there is not the content be written into, the entirely viewed prompting of content (for representing this chapter/return/prompting that run through of joint/section/section) is provided in described new page, otherwise, the prompting being loaded into content is provided in described new page, and when being loaded into unsuccessfully, described prompting is updated to and unsuccessfully points out.Wherein, the triggering continuing to be loaded into content is relevant with client, if this client is touch-screen mobile phone, then this triggering is for upwards to pull.Take client as touch-screen mobile phone be example, then when user is in the process of the new page shown in browse graph 2b, if the arrow upwards pulled in i.e. Fig. 2 c receiving that user triggers, then when there is not the content be written into, content is provided entirely by the prompting run through in the new page shown in Fig. 2 b, otherwise, the prompting being loaded into content is provided, and when being loaded into unsuccessfully, described prompting is updated to and unsuccessfully points out (this is unsuccessfully pointed out and within such as 1 second, can disappear afterwards at setting-up time), specifically see Fig. 2 c.In figure 2 c, above 3 promptings are in fact identical position, and Fig. 2 c is just in order to above three promptings that made citing clearly list file names with.
Preferably, in the present invention, the new page shown in Fig. 2 b can comprise following functions key when applying: back spacer, interpolation bookmark key, ESC Escape, specifically sees Fig. 2 d.It should be noted that, the refreshing in Fig. 2 d is unavailable.
Wherein, in the process of the new page shown in user's browse graph 2b, if receive the back spacer of user's triggering, then page when switching to enable intelligent reading model function from this new page.Such as, the enable intelligent reading model function of the page_N page shown in Fig. 2 a, then, when new page shown in user's browse graph 2b, if receive back spacer, then switch to the page shown in Fig. 2 a from this new page.
Wherein, in the process of the new page shown in user's browse graph 2b, if user browses to when the page number is the page of N in this new page trigger interpolation bookmark key, then the mark of this N page is added into bookmark.Wherein, page mark can be page head, URL address etc., does not specifically limit here.Be designated page head and URL address for page, then the mark of this N page be added into the schematic diagram of bookmark as shown in Figure 2 e.
It should be noted that, in the present invention, when subsequent user triggers the mark of above-mentioned N page in bookmark, only display has been extracted the page of N page content in new page, not showing the page number in this new page is the page of N, afterwards using this page as current page, return and perform in the operation of the enable intelligent reading model function of current page, again to realize method provided by the invention.
In addition, in the process of the new page shown in user's browse graph 2b, if user browses to when the page number is the page of M in this new page trigger ESC Escape, then switch to from new page the page being extracted content in this M page new page.
Finally, also it should be noted that, the bookmark in the present invention can comprise described bookmark and comprise: historical viewings record and browse record recently;
Wherein, described historical viewings record be used for that recording user browsed not according to the page of process of the present invention, also i.e. existing common page browsing record.And the mark of place page when browsing record recently new page triggers ESC Escape in the present invention for recording user.Specifically can see shown in Fig. 2 e.
So far, complete method provided by the invention and describe, below device provided by the invention is described.
See the structure drawing of device that Fig. 3, Fig. 3 provide for the embodiment of the present invention.As shown in Figure 3, this device comprises:
Enable unit, in the enable intelligent reading model function of current page;
Assembled unit, for extracting body matter respectively in all pages after current page and current page, is combined in same new page by the body matter extracted from each page.
Wherein, described enable unit comprises:
Whether judgment sub-unit, exist the keyword corresponding with described intelligent reading model function for judging in current page;
Process subelement, for when the judged result of described judgment sub-unit is for being, provides intelligent reading model functional switch to user, and when user selects to open intelligent reading model function, determines that current page enables intelligent reading model function;
Described keyword is for representing that current page exists the mark of next page, is specially next chapter or lower one page.
Preferably, as shown in Figure 3, this device comprises further:
Tip element, for browsing in the process of described new page user, if receive the triggering for continuing to be loaded into content, then when there is not the content be written into, the prompting that content is entirely viewed is provided in described new page, otherwise, the prompting being loaded into content is provided in described new page, and when being loaded into unsuccessfully, described prompting being updated to and unsuccessfully pointing out.
First control module, for browsing in the process of described new page user, if receive the described back spacer that user triggers in described new page, then page when switching to enable intelligent reading model function from described new page.
In the present embodiment, can comprise during described assembled unit specific implementation:
Extract subelement, for extracting body matter respectively in all pages after current page and current page;
Combination subelement, for according to following principle: the page number of body matter described new page extracted from the page that the page number is little is less than the page number of body matter described new page extracted from the page that the page number is large, is combined in the not same page of same new page by the body matter extracted successively from each page.
Preferably, as shown in Figure 3, this device comprises further:
Second control module, for browsing in the process of described new page user, if receive user receives user's triggering interpolation bookmark key when browsing to the page number and being the current page of N, is then added into bookmark by the mark of this current page; And,
When user triggers the mark of current page described in bookmark, only display has been extracted the page that this current page is identified at content in new page, afterwards using this page as current page, return and perform in the operation of the enable intelligent reading model function of current page; And,
When user browses arbitrary page of described new page, if trigger the ESC Escape of described new page, then switch to from new page the page being extracted content in this page new page.
So far, the device that completing the embodiment of the present invention provides describes.
As can be seen from the above technical solutions, in the present invention, by extracting body matter respectively in all pages after current page and current page, the body matter extracted from each page is combined in same new page.Can realize by existing multiple page pool to the same page, realize the continuous page of intelligence, without the need to carrying out page layout switch, improving reading efficiency;
Further, in the present invention, new page only comprises pure words content, obviates useless gibberish, which increases reading comfort degree.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (14)

1. a page processing method, is characterized in that, the method comprises:
In the enable intelligent reading model function of current page;
From all pages after current page and current page, extract body matter respectively, the body matter extracted from each page is combined in same new page;
Browse user in the process of described new page, if receive the interpolation bookmark key that user triggers when browsing to the page number and being the current page of N, then the mark of this current page is added into bookmark; And when user triggers the mark of current page described in bookmark, only display has been extracted the page that this current page is identified at content in new page, afterwards using this page as current page, return and perform in the operation of the enable intelligent reading model function of current page.
2. method according to claim 1, is characterized in that, describedly comprises in the enable intelligent reading model function of current page:
Judge in current page, whether to there is the keyword corresponding with described intelligent reading model function, if, then provide intelligent reading model functional switch to user, when user selects to open intelligent reading model function, determine that current page enables intelligent reading model function;
Described keyword is for representing that current page exists the mark of next page.
3. method according to claim 1, is characterized in that, the described body matter that extracts from the page comprises:
Reject the page info of this page, and obtain text message from this page;
The text message of acquisition is taken into body matter, and described body matter is pure words content.
4. method according to claim 1, is characterized in that, the method comprises further:
Browse in the process of described new page user, if receive the triggering for continuing to be loaded into content, then when there is not the content be written into, the prompting that content is entirely viewed is provided in described new page, otherwise, the prompting being loaded into content is provided in described new page, and when being loaded into unsuccessfully, described prompting being updated to and unsuccessfully pointing out.
5. method according to claim 1, is characterized in that, described new page comprises back spacer;
The method comprises further:
Browse user in the process of described new page, if receive the described back spacer that user triggers in described new page, then page when switching to enable intelligent reading model function from described new page.
6. method according to claim 1, is characterized in that, describedly the body matter extracted from each page is combined in same new page comprises:
According to following principle: the page number of body matter described new page extracted from the page that the page number is little is less than the page number of body matter described new page extracted from the page that the page number is large, is combined in the not same page of same new page by the body matter extracted successively from each page.
7. method according to claim 1, is characterized in that, described new page also comprises ESC Escape;
The method comprises further:
When user browses arbitrary page of described new page, if trigger the ESC Escape of described new page, then switch to from new page the page being extracted content in this page new page.
8. method according to claim 7, is characterized in that, described bookmark comprises: historical viewings record and browse record recently;
Described historical viewings record be used for recording user browsed not according to the page of described method process;
Describedly browse the mark of record for recording user place page when described new page triggers ESC Escape recently.
9. a Page handling device, is characterized in that, this device comprises:
Enable unit, in the enable intelligent reading model function of current page;
Assembled unit, for extracting body matter respectively in all pages after current page and current page, is combined in same new page by the body matter extracted from each page;
Second control module, for browsing in the process of described new page user, if receive the interpolation bookmark key that user triggers when browsing to the page number and being the current page of N, is then added into bookmark by the mark of this current page; And when user triggers the mark of current page described in bookmark, only display has been extracted the page that this current page is identified at content in new page, afterwards using this page as current page, return and perform in the operation of the enable intelligent reading model function of current page.
10. device according to claim 9, is characterized in that, described enable unit comprises:
Whether judgment sub-unit, exist the keyword corresponding with described intelligent reading model function for judging in current page;
Process subelement, for when the judged result of described judgment sub-unit is for being, provides intelligent reading model functional switch to user, and when user selects to open intelligent reading model function, determines that current page enables intelligent reading model function;
Described keyword is for representing that current page exists the mark of next page.
11. devices according to claim 9, is characterized in that, this device comprises further:
Tip element, for browsing in the process of described new page user, if receive the triggering for continuing to be loaded into content, then when there is not the content be written into, the prompting that content is entirely viewed is provided in described new page, otherwise, the prompting being loaded into content is provided in described new page, and when being loaded into unsuccessfully, described prompting being updated to and unsuccessfully pointing out.
12. devices according to claim 9, is characterized in that, this device comprises further:
First control module, for browsing in the process of described new page user, if receive the back spacer that user triggers in described new page, then page when switching to enable intelligent reading model function from described new page.
13. devices according to claim 9, is characterized in that, described assembled unit comprises:
Extract subelement, for extracting body matter respectively in all pages after current page and current page;
Combination subelement, for according to following principle: the page number of body matter described new page extracted from the page that the page number is little is less than the page number of body matter described new page extracted from the page that the page number is large, is combined in the not same page of same new page by the body matter extracted successively from each page.
14. devices according to claim 9, is characterized in that, this device comprises further:
Second control module, further when user browses arbitrary page of described new page, if trigger the ESC Escape of described new page, then switches to from new page the page being extracted content in this page new page.
CN201110171036.2A 2011-06-23 2011-06-23 page processing method and device Active CN102841900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110171036.2A CN102841900B (en) 2011-06-23 2011-06-23 page processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110171036.2A CN102841900B (en) 2011-06-23 2011-06-23 page processing method and device

Publications (2)

Publication Number Publication Date
CN102841900A CN102841900A (en) 2012-12-26
CN102841900B true CN102841900B (en) 2016-01-20

Family

ID=47369273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110171036.2A Active CN102841900B (en) 2011-06-23 2011-06-23 page processing method and device

Country Status (1)

Country Link
CN (1) CN102841900B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050184B (en) * 2013-03-13 2017-08-22 阿里巴巴集团控股有限公司 Show the method and device of content of pages
CN104077273A (en) * 2013-03-27 2014-10-01 腾讯科技(深圳)有限公司 Method and device for extracting webpage contents
CN104572650A (en) * 2013-10-11 2015-04-29 中兴通讯股份有限公司 Method and device for realizing browser intelligent reading and terminal comprising device
CN104268186A (en) * 2014-09-16 2015-01-07 可牛网络技术(北京)有限公司 Method and device for displaying webpages and mobile terminal
CN108090076B (en) * 2016-11-22 2021-01-22 北京国双科技有限公司 Page character processing method and device
CN106777306A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 The update method and mobile terminal of a kind of Web page bookmark
CN110457510A (en) * 2019-07-10 2019-11-15 成都摹客科技有限公司 A kind of multimode display methods and device based on the design page

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751462A (en) * 2009-11-30 2010-06-23 华为终端有限公司 Network information storage and access methods, equipment and terminals
CN101777068A (en) * 2009-12-31 2010-07-14 优视科技有限公司 Web page pre-reading and integrally browsing system for mobile communication equipment terminals and application method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6823490B1 (en) * 1999-07-19 2004-11-23 International Business Machines Corporation Enhanced position control of web pages
US7801358B2 (en) * 2006-11-03 2010-09-21 Google Inc. Methods and systems for analyzing data in media material having layout
CN101510210B (en) * 2009-03-30 2010-12-08 腾讯科技(深圳)有限公司 Method and apparatus for controlling display popup web page

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751462A (en) * 2009-11-30 2010-06-23 华为终端有限公司 Network information storage and access methods, equipment and terminals
CN101777068A (en) * 2009-12-31 2010-07-14 优视科技有限公司 Web page pre-reading and integrally browsing system for mobile communication equipment terminals and application method thereof

Also Published As

Publication number Publication date
CN102841900A (en) 2012-12-26

Similar Documents

Publication Publication Date Title
CN102841900B (en) page processing method and device
CN102455857B (en) Method and system for realizing quick links in mobile terminal browser
CN101963888A (en) Electronic terminal and method thereof for controlling page scroll bar
CN103885992A (en) Method and device for controlling page display
CN104317474A (en) Window switching method and device
CN103870134B (en) A kind of method and device of information browse
CN102857629A (en) Calling-out method of mobile phone desktop search box
CN106096010B (en) Input control method and device with search engine function
CN101819500A (en) Browsing adjustment method for list line display of handheld device
CN106293359A (en) A kind of method of caller and terminal
CN102110169A (en) Mobile terminal network searching method and mobile terminal
CN102929926A (en) Word-taking search method and device based on browsed contents
CN102591950A (en) Webpage picture browsing method and device based on mobile terminal
CN101763218A (en) Input method for handheld equipment
CN103019814A (en) System and method for managing shear plate
CN102663135A (en) Method and device for implementing graphical bookmark for embedded browser, and terminal
CN106325687A (en) Method for calling program and terminal
WO2019129161A1 (en) Method and apparatus for viewing background application on mobile terminal
CN103593107A (en) Interface display method and device
CN102053792A (en) Display method of weather information and terminal
CN102937948B (en) A kind of image, text and data edit methods of mobile terminal
US9959010B1 (en) Method for displaying information, and terminal equipment
CN106897289A (en) The optimization method and device of information search
CN105630893B (en) A kind of display methods and device of group picture title
CN107562450A (en) A kind of cross-platform method for visualizing of local chronicle resource

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant