CN103455601A - Webpage processing method and device, and terminal equipment - Google Patents

Webpage processing method and device, and terminal equipment Download PDF

Info

Publication number
CN103455601A
CN103455601A CN201310395678XA CN201310395678A CN103455601A CN 103455601 A CN103455601 A CN 103455601A CN 201310395678X A CN201310395678X A CN 201310395678XA CN 201310395678 A CN201310395678 A CN 201310395678A CN 103455601 A CN103455601 A CN 103455601A
Authority
CN
China
Prior art keywords
webpage
white list
download
browser
webpage white
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
CN201310395678XA
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.)
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 CN201310395678XA priority Critical patent/CN103455601A/en
Publication of CN103455601A publication Critical patent/CN103455601A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a webpage processing method and device, and terminal equipment. The method comprises of: when a browser is started up, acquiring a webpage white list; judging whether a webpage accessed by the browser belongs to the webpage white list or not; when the webpage belongs to the webpage white list, entering a reading mode of webpage browsing, wherein the reading mode is a webpage browsing mode for extracting visible nodes serving as preview contents from the webpage and displaying the extracted preview contents.

Description

A kind of web page processing method, device and terminal device
Technical field
The present invention relates to the web technologies field, relate in particular to a kind of web page processing method, device and terminal device.
Background technology
Along with the development of mobile terminal and Internet technology, people more and more conduct interviews to network by mobile terminals such as mobile phone, panel computers.But mobile terminal is in order to reach portable purpose, screen design often smaller, so in mobile terminal, the displaying contents of screen is more limited.
Mobile terminal, can accessed web page when network is conducted interviews, and in webpage, except the text of main displaying, also comprises title, peer link, content recommendation and advertisement etc. content.Therefore, the content of mobile terminal in just need in smaller screen, demonstrating webpage.
The present inventor finds, the user is when browsing page, what the user mainly checked is the body part of webpage, and also has the contents such as advertisement for the peer link in webpage, content recommendation, skips over often not see.In addition, the screen of mobile terminal is smaller, if the contents such as advertisement occupy too much display page, the body matter of web page display will be restricted, cause the user when browsing page, may need to turn over a lot of pages downwards and just can view text, web page browsing is very inconvenient, while checking web page contents, also relatively loses time.
Summary of the invention
The embodiment of the present invention provides a kind of web page processing method, device and terminal device, for realizing that the automatic key content to user's browsing page is extracted and shows, facilitates the user to check webpage, reduces the browsing time.
A kind of web page processing method comprises the following steps:
When browser starts, obtain the webpage white list;
Whether the webpage that judges described browser access belongs to the webpage white list;
When webpage belongs to described webpage white list, the reading model of entering the Web page and browsing; Reading model is preview content for from webpage, extracting visible node, and the web page browsing pattern that extracted preview content is shown.
In the present embodiment, by the webpage white list, judge whether automatically to open reading model, facilitate the user to check webpage, reduce the browsing time.In addition, type difference due to browsing page, webpage to pure words such as books, news is opened reading model, can facilitate the user to read, but, for non-legible webpages such as picture, videos, open reading model and can not realize the processing to webpage, and can cause the waste to the terminal device processing power, affect the speed that webpage is opened.Therefore, only the webpage in the webpage white list is opened to reading model, the processing power that can save terminal device, improve the webpage opening speed, facilitates the user to check webpage, improves reading experience on user network.
Preferably, when browser starts, obtain the webpage white list and comprise: when browser starts, from server, download described webpage white list.
Preferably, downloading described webpage white list from server also comprises: the download time of described webpage white list downloaded in record; When browser starts, whether the time interval between the download time of the described webpage white list of the last download of judgement and the start-up time of this browser surpasses default time threshold; Download time interval between start-up time of download time of described webpage white list and this browser while surpassing pre-described time threshold when the last time, from server, download described webpage white list; Download time interval between start-up time of download time of described webpage white list and this browser while surpassing described time threshold when the last time, obtain the last webpage white list of downloading.
In the present embodiment, by recording the download time of webpage white list each time, judge whether again from server downloading web pages white list according to the last download time.Like this, make the user only can download white list one time within a period of time, saved network traffics.
Preferably, described webpage white list comprises: unified webpage white list and/or the user configured individualized webpage white list of server configuration.When browser starts, obtaining the webpage white list comprises: when browser starts, download described unified webpage white list from server, and/or, download user configured described individualized webpage white list corresponding to described user ID according to User Identity number ID from server; Perhaps, when browser starts, from server, download described unified webpage white list, and/or, described individualized webpage white list obtained from this locality.
In the present embodiment, the user initiatively accompanies the individualized webpage white list of putting automatic unlatching reading model, the individualized webpage white list can be uploaded onto the server, and downloads the individualized webpage white list of respective user when the unified webpage white list of Download Server configuration according to user ID.The individualized webpage white list also can be stored in this locality, automatic acquisition when browser starts.Like this, about the configuration of webpage white list, meet user's needs, more accurate to the webpage judgement of opening reading model, facilitate the user to check webpage, reduce the browsing time.In addition, the individualized webpage white list also can be stored in to this locality, the data of downloading from server still less, have been saved network traffics.
Preferably, described webpage white list comprises: default URL;
Whether the webpage that judges described browser access belongs to described webpage white list comprises:
Whether the URL that judges the webpage of described browser access belongs to described default URL.
Preferably, described webpage white list comprises: default URL keyword;
Whether the webpage that judges described browser access belongs to described webpage white list comprises:
Judge in the URL of webpage of described browser access and whether comprise at least one default URL keyword in described webpage white list.
Preferably, described webpage white list comprises: default page title keyword;
Whether the webpage that judges described browser access belongs to described webpage white list comprises:
Extract page title from the webpage of described browser access;
Judge in the page title of webpage of described browser access and whether comprise at least one default page title keyword in described webpage white list.
In the present embodiment, by polytype Rule of judgment is set in the webpage white list, can adopt various ways to judge whether the webpage for browsing is opened to reading model, and judgement is more accurate, facilitates the user to check webpage, reduces the browsing time.
Preferably, described preview content comprises the key message of webpage.
Preferably, described method also comprises:
When the webpage of described browser access is e-book, obtains the URL of institute's accessed web page and read progress msg;
According to the URL of obtained webpage, obtain the letter breath of e-book on this webpage;
By the letter of the described e-book that obtains breath with read progress msg and preserved.
In the present embodiment, the webpage of the recent visit of storing according to this locality can be known the reading progress msg of user's the last time, by obtaining the last letter breath of reading progress msg and reading electronic book nationality of user, the last letter breath of reading progress msg and reading electronic book nationality of user is stored in bookshelf, like this, when next time, the user read this e-book, can obtain rapidly and read history, in addition, pass through said method, the e-book of different web sites can be unified to safeguard, be placed on same bookshelf, save the user and searched the time, improve user's reading experience.
A kind of page processor, is characterized in that, comprising:
The white list acquisition module, for when browser starts, obtain the webpage white list;
Whether judge module, belong to described webpage white list for the webpage that judges described browser access;
The reading model processing module, for when described webpage belongs to described webpage white list, the reading model of entering the Web page and browsing; Described reading model is preview content for from described webpage, extracting visible node, and the web page browsing pattern that extracted preview content is shown.
Preferably, described white list acquisition module comprises: download submodule, for when browser starts, from server, download described webpage white list.
Preferably, described white list acquisition module also comprises: record sub module, judgement submodule and this locality obtain submodule,
Described record sub module, for recording the download time of downloading described webpage white list;
Described judgement submodule, for when browser starts, whether the time interval between the download time of the described webpage white list of the last download of judgement and the start-up time of this browser surpasses default time threshold;
Described download submodule, while for the time interval between the start-up time of the download time when the described webpage white list of the last download and this browser, surpassing pre-described time threshold, download described webpage white list from server;
Described this locality obtains submodule, while for the time interval between the start-up time of the download time when the described webpage white list of the last download and this browser, surpassing described time threshold, obtains the last webpage white list of downloading.
Preferably, described webpage white list comprises: unified webpage white list and/or the user configured individualized webpage white list of server configuration;
Described download submodule, for when browser starts, download described unified webpage white list and/or download user configured described individualized webpage white list corresponding to described user ID according to user ID from server from server.
Preferably, described webpage white list comprises: unified webpage white list and/or the user configured individualized webpage white list of server configuration;
Described download submodule, for when browser starts, download described unified webpage white list from server;
And/or described this locality obtains submodule, for obtain described individualized webpage white list from this locality.
Preferably, described webpage white list comprises: default URL;
Described judge module comprises: whether the first judgement submodule belongs to described default URL for the URL of the webpage that judges described browser access.
Preferably, described webpage white list comprises: default URL keyword;
Described judge module comprises: whether the second judgement submodule comprises at least one default URL keyword for the URL of the webpage that judges described browser access.
Preferably, described webpage white list comprises: default page title keyword;
Described judge module comprises:
Title extracts submodule, for the webpage from described browser access, extracts page title;
Whether the 3rd judgement submodule, comprise at least one default page title keyword for the page title of the webpage that judges described browser access.
Preferably, described device also comprises:
The URL acquisition module, for obtaining the URL of described browser access webpage;
The URL acquisition module, while for the webpage when described browser access, being e-book, obtaining the URL of institute's accessed web page and read progress msg;
Letter breath acquisition module, for the URL according to obtained webpage, obtain the letter breath of e-book on this webpage;
Memory module, preserved for letter breath and the reading progress msg of the described e-book by obtaining.
A kind of terminal device, it is characterized in that, terminal device includes storer, and one or more than one program, one of them or an above program are stored in storer, and are configured to carry out described one or above routine package containing for carrying out the instruction of following operation by one or above processor:
When browser starts, obtain the webpage white list;
Whether the webpage that judges described browser access belongs to described webpage white list;
When described webpage belongs to described webpage white list, the reading model of entering the Web page and browsing; Described reading model is preview content for from described webpage, extracting visible node, and the web page browsing pattern that extracted preview content is shown.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions write, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms the part of instructions, for explaining the present invention, is not construed as limiting the invention together with embodiments of the present invention.In the accompanying drawings:
The schematic flow sheet that Fig. 1 is web page processing method in the embodiment of the present invention;
Fig. 2 be in the embodiment of the present invention when browser starts from the schematic flow sheet of server downloading web pages white list;
Another schematic flow sheet that Fig. 3 is web page processing method in the embodiment of the present invention;
The structural representation that Fig. 4 is page processor in the embodiment of the present invention;
The structural representation that Fig. 5 is white list acquisition module in the embodiment of the present invention;
The structural representation that Fig. 6 is judge module in the embodiment of the present invention;
The structural representation that Fig. 7 is terminal device in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
Mobile terminal, can accessed web page when network is conducted interviews, and in webpage, except the text of main displaying, also comprises title, peer link, content recommendation and advertisement etc. content.Therefore, the content of mobile terminal in just need in smaller screen, demonstrating webpage.
The user can enter reading model by selection and carry out browsing page.Reading model is for reading the special pattern of web page contents, and from webpage, extracting visible node is preview content, and the web page browsing pattern that extracted preview content is shown.Wherein, preview content comprises in webpage the key message of removing outside advertisement, content recommendation etc., is generally in webpage the body matter that includes exercise question.But entering the reading model browsing page needs the user to click selection, can't, when user's browsing page, automatically some specific webpages be shown by reading model.
The embodiment of the present invention is for above-mentioned situation, a kind of web page processing method is provided, can be by obtaining the webpage white list, webpage in the webpage white list is extracted preview content and shown, during webpage in user's browsing page white list, automatically enter reading model, facilitate the user to check webpage, reduce the browsing time.
As shown in Figure 1, the embodiment of the present invention provides a kind of web page processing method, comprises the following steps:
Step 102, when browser starts, obtain the webpage white list;
Step 104, judge whether the webpage of browser access belongs to the webpage white list;
Step 106, when webpage belongs to the webpage white list, the reading model of entering the Web page and browsing; Reading model is preview content for from webpage, extracting visible node, and the web page browsing pattern that extracted preview content is shown.
In the present embodiment, by the webpage white list, judge whether automatically to open reading model, facilitate the user to check webpage, reduce the browsing time.In addition, type difference due to browsing page, webpage to pure words such as books, news is opened reading model, can facilitate the user to read, but, for non-legible webpages such as picture, videos, open reading model and can not realize the processing to webpage, and can cause the waste to the terminal device processing power, affect the speed that webpage is opened.Therefore, only the webpage in the webpage white list is opened to reading model, the processing power that can save terminal device, improve the webpage opening speed, facilitates the user to check webpage, improves reading experience on user network.
Preferably, the method for obtaining the webpage white list comprises: when browser starts, from server downloading web pages white list.
More preferably, for fear of when opening browser at every turn, all will be from server downloading web pages white list, the waste flow as shown in Figure 2, when browser starts, also comprises from server downloading web pages white list:
Step 202, the download time of recording the downloading web pages white list;
Step 204, when browser starts, judge whether the time interval between start-up time of download time of the last downloading web pages white list and this browser surpasses default time threshold; If so, perform step 206; If not, perform step 208;
Step 206, from server downloading web pages white list;
Step 208, obtain the last webpage white list of downloading.
In the present embodiment, by recording the download time of webpage white list each time, judge whether again from server downloading web pages white list according to the last download time.Like this, make user (as 24 hours) within a period of time only can download white list one time, saved network traffics.
Preferably, the webpage white list comprises: unified webpage white list and/or the user configured individualized webpage white list of server configuration.Step 102 comprises: when browser starts, from server, download unified webpage white list, and/or, the user configured individualized webpage white list corresponding from server download user ID according to user ID.Perhaps step 102 comprises: when browser starts, from server, download unified webpage white list, and/or, obtain the individualized webpage white list from this locality.
In the present embodiment, the user initiatively accompanies the individualized webpage white list of putting automatic unlatching reading model, the individualized webpage white list can be uploaded onto the server, and downloads the individualized webpage white list of respective user when the unified webpage white list of Download Server configuration according to user ID.The individualized webpage white list also can be stored in this locality, automatic acquisition when browser starts.Like this, about the configuration of webpage white list, meet user's needs, more accurate to the webpage judgement of opening reading model, facilitate the user to check webpage, reduce the browsing time.In addition, the individualized webpage white list also can be stored in to this locality, the data of downloading from server still less, have been saved network traffics.
Preferably, can comprise at least one in default URL(uniform resource locator) (Uniform Resource Locato, URL), URL keyword, page title keyword in the network white list.
When the webpage white list comprises default URL, step 104 comprises: whether the URL that judges the webpage of browser access belongs to default URL.
When the webpage white list comprises default URL keyword, step 104 comprises: judge in the URL of webpage of browser access whether comprise at least one default URL keyword.The URL keyword, as sina, sohu, as long as the URL of user's accessed web page has the URL of this keyword, can open reading model automatically.
When the webpage white list comprises default page title keyword, step 104 comprises: from the webpage of browser access, extract page title; Judge in the page title of webpage of browser access and whether comprise at least one default page title keyword.The page title keyword, as Sina, Sohu, as long as contain this keyword in the title of user institute accessed web page, can open reading model automatically.
In the present embodiment, by polytype Rule of judgment is set in the webpage white list, can adopt various ways to judge whether the webpage for browsing is opened to reading model, and judgement is more accurate, facilitates the user to check webpage, reduces the browsing time.
Preferably, as the user when the web page browing e-book, after entering reading model, also at the bookshelf of local maintenance user reading electronic book nationality.As shown in Figure 3, the method for the present embodiment is further comprising the steps of:
Step 302, when the webpage of browser access is e-book, obtains the URL of institute's accessed web page and read progress msg;
Step 304, according to the URL of obtained webpage, obtain the letter breath of e-book on this webpage;
Step 306, by the letter of the e-book that obtains breath with read progress msg and preserved.
Letter breath comprises the information such as the front cover picture address, title, author of e-book.This letter breath can obtain from server, can be also local storage.
In the present embodiment, can know the reading progress msg of user's the last time according to the relevant information of the e-book webpage of the last time access (as the URL information of related Sections etc.).By obtaining the last letter breath of reading progress msg and reading electronic book nationality of user, the last letter breath of reading progress msg and reading electronic book nationality of user is stored in bookshelf, like this, when next user reads this e-book, can obtain rapidly and read history, in addition, by said method, the e-book of different web sites can be unified to safeguard, be placed on same bookshelf, save the user and searched the time, improved user's reading experience.
In the present embodiment, the letter of e-book on the webpage of the URL of the webpage of recent visit and browser access breath can be stored into to local the storage in (LocalStorage) of persistence object that Html5 supports.LocalStorage is a kind of persistence technology that Html5 supports, data is existed to the data sharing that can guarantee the webpage under same domain name in LocalStorage.
Based on same inventive concept, the embodiment of the present invention also provides a kind of page processor, and as shown in Figure 4, this device comprises:
White list acquisition module 41, for when browser starts, obtain the webpage white list;
Whether judge module 42, belong to the webpage white list for the webpage that judges browser access;
Reading model processing module 43, when when webpage, belonging to the webpage white list, the reading model of entering the Web page and browsing; Reading model is preview content for from webpage, extracting visible node, and the web page browsing pattern that extracted preview content is shown.Preferably, as shown in Figure 5, white list acquisition module 41 comprises: download submodule 411, for when browser starts, from server downloading web pages white list.
Preferably, the white list acquisition module also comprises: record sub module 412, judgement submodule 413 and this locality obtain submodule 414.
Record sub module 412, for recording the download time of downloading web pages white list.
Judgement submodule 413, for when browser starts, judge that whether time interval between start-up time of download time of the last downloading web pages white list and this browser is over default time threshold.
Download submodule 411, while for the time interval between the start-up time of the download time when the last downloading web pages white list and this browser, surpassing pre-time threshold, from server downloading web pages white list.
This locality obtains submodule 414, for the time interval between the start-up time of the download time when the last downloading web pages white list and this browser, not during the overtime threshold value, obtains the last webpage white list of downloading.
Preferably, the webpage white list comprises: unified webpage white list and/or the user configured individualized webpage white list of server configuration.Download submodule 411, for when browser starts, from server, download and unify the webpage white list and/or the user configured individualized webpage white list corresponding from server download user ID according to user ID.
Preferably, the webpage white list comprises: unified webpage white list and/or the user configured individualized webpage white list of server configuration.Download submodule 411, for when browser starts, from server, download unified webpage white list.And/or this locality obtains submodule 414, for obtain the individualized webpage white list from this locality.
Preferably, the webpage white list comprises: default URL.As shown in Figure 6, judge module 42 comprises: whether the first judgement submodule 421 belongs to default URL for the URL of the webpage that judges browser access.
Preferably, the webpage white list comprises: default URL keyword.Judge module 42 comprises: whether the second judgement submodule 422 comprises at least one default URL keyword for the URL of the webpage that judges browser access.
Preferably, the webpage white list comprises: default page title keyword.Judge module 42 comprises: title extracts submodule 423, for the webpage from browser access, extracts page title; Whether the 3rd judgement submodule 424, comprise at least one default page title keyword for the page title of the webpage that judges browser access.
Preferably, as shown in Figure 4, the device of the present embodiment also comprises: URL acquisition module 44, while for the webpage when browser access, being e-book, obtaining the URL of institute's accessed web page and read progress msg.
Letter breath acquisition module 45, for the URL according to obtained webpage, obtain the letter breath of e-book on this webpage;
Memory module 46, preserved for letter breath and the reading progress msg of the described e-book by obtaining.
In the present embodiment, by the webpage white list, judge whether automatically to open reading model, facilitate the user to check webpage, reduce the browsing time.In addition, type difference due to browsing page, webpage to pure words such as books, news is opened reading model, can facilitate the user to read, but, for non-legible webpages such as picture, videos, open reading model and can not realize the processing to webpage, and can cause the waste to the terminal device processing power, affect the speed that webpage is opened.Therefore, only the webpage in the webpage white list is opened to reading model, the processing power that can save terminal device, improve the webpage opening speed, facilitates the user to check webpage, improves reading experience on user network.
Fig. 7 is a kind of terminal device structural representation that the embodiment of the present invention provides.As shown in Figure 7, the web page processing method that this terminal device can provide for implementing above-described embodiment.Wherein, this terminal device can be mobile phone, panel computer pad, Wearable mobile device (as intelligent watch) etc.Preferential:
Terminal device 300 can comprise communication unit 110, includes the storer 120 of one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include the parts such as the processor 180 of processing core more than one or one and power supply 190.It will be understood by those skilled in the art that the terminal device structure shown in Fig. 7 does not form the restriction to terminal device, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodular unit, etc. network communication equipment.Especially, when communication unit 110 is the RF circuit, after the downlink information of base station is received, transfer to one or above processor 180 processing; In addition, will relate to up data and send to base station.Usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, communication unit 110 can also be by radio communication and network and other devices communicatings.Radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by operation, thereby carries out various function application and data processing.Storer 120 can mainly comprise storage program district and storage data field, wherein, but the required application program (such as sound-playing function, image player function etc.) of storage program district storage operation system, at least one function etc.; The data (such as voice data, phone directory etc.) that the use according to terminal device 300 creates etc. can be stored in the storage data field.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of storeies 120 of input block to be provided.
Input block 130 can be used for receiving numeral or the character information of input, and generation arranges with the user and function is controlled relevant keyboard, mouse, control lever, optics or the input of trace ball signal.Preferably, input block 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect the user or near touch operation (use any applicable objects such as finger, stylus or annex such as the user on touch-sensitive surperficial 131 or near the operation touch-sensitive surperficial 131) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input block 130 can also comprise other input equipments 132.Preferably, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, control lever etc.
Display unit 140 can be used for demonstration by the information of user's input or offers user's information and the various graphical user interface of terminal device 300, and these graphical user interface can consist of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, can adopt the forms such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) to configure display panel 141.Further, touch-sensitive surperficial 131 can cover display panel 141, when touch-sensitive surperficial 131 detect thereon or near touch operation after, send processor 180 to determine the type of touch event, with preprocessor 180, according to the type of touch event, provide corresponding vision output on display panel 141.Although in Fig. 7, touch-sensitive surperficial 131 with display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by touch-sensitive surperficial 131 and display panel 141 integrated and realize the input and output function.
Terminal device 300 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Preferably, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can be regulated according to the light and shade of ambient light the brightness of display panel 141, proximity transducer can, when terminal device 300 moves in one's ear, cut out display panel 141 and/or backlight.A kind of as motion sensor; Gravity accelerometer can detect on all directions the size of the acceleration that (is generally three axles); size and the direction of gravity be can detect when static, application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as passometer, knock) of mobile phone attitude etc. can be used for identifying; As for terminal device 300 other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal device 300.Voicefrequency circuit 160 can be transferred to loudspeaker 161 by the electric signal after the voice data conversion received, and by loudspeaker 161, is converted to voice signal output; On the other hand, microphone 162 is converted to electric signal by the voice signal of collection, be converted to voice data after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, to send to such as another terminal device, or export voice data to storer 120 in order to further process through RF circuit 110.Voicefrequency circuit 160 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and terminal device 300 to be provided.
In order to realize radio communication, can dispose wireless communication unit 170 on this terminal device, this wireless communication unit 170 can be the WiFi module.WiFi belongs to the short range wireless transmission technology, terminal device 300 by wireless communication unit 170 can help that the user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for the user.Although Fig. 7 shows wireless communication unit 170, be understandable that, it does not belong to must forming of terminal device 300, fully can be as required in the scope of the essence that does not change invention and omit.
Processor 180 is control centers of terminal device 300, utilize the various piece of various interface and the whole mobile phone of connection, be stored in software program and/or the module in storer 120 by operation or execution, and call the data that are stored in storer 120, carry out various functions and the deal with data of terminal device 300, thereby mobile phone is carried out to integral monitoring.Optionally, processor 180 can comprise one or more processing cores; Preferably, processor 180 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal device 300 also comprises that the power supply 190(powered to all parts is such as battery), preferably, power supply can be connected with processor 180 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or the random component such as AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal device 300 can also comprise camera, bluetooth module etc., does not repeat them here.
Specifically in the present embodiment, the display unit of terminal device is touch-screen display, terminal device also includes storer, and one or more than one program, one of them or an above program are stored in storer, and are configured to carry out one or above routine package containing for carrying out the instruction of following operation by one or above processor:
When browser starts, obtain the webpage white list;
Whether the webpage that judges browser access belongs to described webpage white list;
When webpage belongs to described webpage white list, the reading model of entering the Web page and browsing; Reading model is preview content for from webpage, extracting visible node, and the web page browsing pattern that extracted preview content is shown.
Preferably, also comprise for carrying out the instruction of following operation: when browser starts, from server downloading web pages white list.
Preferably, also comprise for carrying out the instruction of following operation: the download time of recording the downloading web pages white list;
When browser starts, judge whether the time interval between start-up time of download time of the last downloading web pages white list and this browser surpasses default time threshold;
When the time interval between the start-up time of download time of the last downloading web pages white list and this browser surpasses pre-time threshold, from server downloading web pages white list;
Not during the overtime threshold value, obtain the last webpage white list of downloading when the time interval between the start-up time of download time of the last downloading web pages white list and this browser.
Preferably, also comprise for carrying out the instruction of following operation: when browser starts, obtain the webpage white list and comprise:
When browser starts, download unified webpage white list from server, and/or, the user configured individualized webpage white list corresponding from server download user ID according to User Identity number ID; Perhaps
When browser starts, download unified webpage white list from server, and/or, obtain the individualized webpage white list from this locality.
Preferably, also comprise for carrying out the instruction of following operation: whether the URL that judges the webpage of browser access belongs to default URL.
Preferably, also comprise for carrying out the instruction of following operation: the URL of the webpage of judgement browser access is no at least one the default URL keyword in the webpage white list that comprises.
Preferably, also comprise for carrying out the instruction of following operation: from the webpage of browser access, extract page title;
Judge in the page title of webpage of browser access and whether comprise at least one default page title keyword in the webpage white list.
Preferably, also comprise for carrying out the instruction of following operation:
When the webpage of browser access is e-book, obtains the URL of institute's accessed web page and read progress msg;
According to the URL of obtained webpage, obtain the letter breath of e-book on this webpage;
By the letter of the e-book that obtains breath with read progress msg and preserved.
The web page processing method of the embodiment of the present invention, device and terminal device, judge whether automatically to open reading model by the webpage white list, facilitates the user to check webpage, reduces the browsing time.In addition, type difference due to browsing page, webpage to pure words such as books, news is opened reading model, can facilitate the user to read, but, for non-legible webpages such as picture, videos, open reading model and can not realize the processing to webpage, and can cause the waste to the terminal device processing power, affect the speed that webpage is opened.Therefore, only the webpage in the webpage white list is opened to reading model, the processing power that can save terminal device, improve the webpage opening speed, facilitates the user to check webpage, improves reading experience on user network.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to process flow diagram and/or the block scheme of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out on computing machine or other programmable devices is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (18)

1. a web page processing method, is characterized in that, comprising:
When browser starts, obtain the webpage white list;
Whether the webpage that judges described browser access belongs to described webpage white list;
When described webpage belongs to described webpage white list, the reading model of entering the Web page and browsing; Described reading model is preview content for from described webpage, extracting visible node, and the web page browsing pattern that extracted preview content is shown.
2. method according to claim 1, is characterized in that, when browser starts, obtains the webpage white list and comprise:
When browser starts, from server, download described webpage white list.
3. method according to claim 2, is characterized in that, when browser starts, from server, downloads described webpage white list, also comprises:
The download time of described webpage white list downloaded in record;
When browser starts, whether the time interval between the download time of the described webpage white list of the last download of judgement and the start-up time of this browser surpasses default time threshold;
Download time interval between start-up time of download time of described webpage white list and this browser while surpassing pre-described time threshold when the last time, from server, download described webpage white list;
Download time interval between start-up time of download time of described webpage white list and this browser while surpassing described time threshold when the last time, obtain the last webpage white list of downloading.
4. method according to claim 2, is characterized in that, described webpage white list comprises: unified webpage white list and/or the user configured individualized webpage white list of server configuration;
Described when browser starts, obtain the webpage white list and comprise:
When browser starts, download described unified webpage white list from server, and/or, download user configured described individualized webpage white list corresponding to described user ID according to User Identity number ID from server; Perhaps
When browser starts, download described unified webpage white list from server, and/or, obtain described individualized webpage white list from this locality.
5. method according to claim 1, is characterized in that, described webpage white list comprises: default URL;
Whether the described webpage that judges described browser access belongs to described webpage white list comprises:
Whether the URL that judges the webpage of described browser access belongs to described default URL.
6. method according to claim 1, is characterized in that, described webpage white list comprises: default URL keyword;
Whether the described webpage that judges described browser access belongs to described webpage white list comprises:
Judge in the URL of webpage of described browser access and whether comprise at least one default URL keyword in described webpage white list.
7. method according to claim 1, is characterized in that, described webpage white list comprises: default page title keyword;
Whether the described webpage that judges described browser access belongs to described webpage white list comprises:
Extract page title from the webpage of described browser access;
Judge in the page title of webpage of described browser access and whether comprise at least one default page title keyword in described webpage white list.
8. according to the described method of claim 1-7 any one, it is characterized in that, described method also comprises:
When the webpage of described browser access is e-book, obtains the URL of institute's accessed web page and read progress msg;
According to the URL of obtained webpage, obtain the letter breath of e-book on this webpage;
By the letter of the described e-book that obtains breath with read progress msg and preserved.
9. a page processor, is characterized in that, comprising:
The white list acquisition module, for when browser starts, obtain the webpage white list;
Whether judge module, belong to described webpage white list for the webpage that judges described browser access;
The reading model processing module, for when described webpage belongs to described webpage white list, the reading model of entering the Web page and browsing; Described reading model is preview content for from described webpage, extracting visible node, and the web page browsing pattern that extracted preview content is shown.
10. device according to claim 9, is characterized in that, described white list acquisition module comprises: download submodule, for when browser starts, from server, download described webpage white list.
11. device according to claim 10, is characterized in that, described white list acquisition module also comprises: record sub module, judgement submodule and this locality obtain submodule,
Described record sub module, for recording the download time of downloading described webpage white list;
Described judgement submodule, for when browser starts, whether the time interval between the download time of the described webpage white list of the last download of judgement and the start-up time of this browser surpasses default time threshold;
Described download submodule, while for the time interval between the start-up time of the download time when the described webpage white list of the last download and this browser, surpassing pre-described time threshold, download described webpage white list from server;
Described this locality obtains submodule, while for the time interval between the start-up time of the download time when the described webpage white list of the last download and this browser, surpassing described time threshold, obtains the last webpage white list of downloading.
12. device according to claim 10, is characterized in that, described webpage white list comprises: unified webpage white list and/or the user configured individualized webpage white list of server configuration;
Described download submodule, for when browser starts, download described unified webpage white list and/or download user configured described individualized webpage white list corresponding to described user ID according to user ID from server from server.
13. device according to claim 10, is characterized in that, described webpage white list comprises: unified webpage white list and/or the user configured individualized webpage white list of server configuration;
Described download submodule, for when browser starts, download described unified webpage white list from server;
And/or described this locality obtains submodule, for obtain described individualized webpage white list from this locality.
14. device according to claim 9, is characterized in that, described webpage white list comprises: default URL;
Described judge module comprises: whether the first judgement submodule belongs to described default URL for the URL of the webpage that judges described browser access.
15. device according to claim 9, is characterized in that, described webpage white list comprises: default URL keyword;
Described judge module comprises: whether the second judgement submodule comprises at least one default URL keyword for the URL of the webpage that judges described browser access.
16. device according to claim 9, is characterized in that, described webpage white list comprises: default page title keyword;
Described judge module comprises:
Title extracts submodule, for the webpage from described browser access, extracts page title;
Whether the 3rd judgement submodule, comprise at least one default page title keyword for the page title of the webpage that judges described browser access.
17. according to the described device of claim 9-16 any one, it is characterized in that, described device also comprises:
The URL acquisition module, while for the webpage when described browser access, being e-book, obtaining the URL of institute's accessed web page and read progress msg;
Letter breath acquisition module, for the URL according to obtained webpage, obtain the letter breath of e-book on this webpage;
Memory module, preserved for letter breath and the reading progress msg of the described e-book by obtaining.
A 18. terminal device, it is characterized in that, terminal device includes storer, and one or more than one program, one of them or an above program are stored in storer, and are configured to carry out described one or above routine package containing for carrying out the instruction of following operation by one or above processor:
When browser starts, obtain the webpage white list;
Whether the webpage that judges described browser access belongs to described webpage white list;
When described webpage belongs to described webpage white list, the reading model of entering the Web page and browsing; Described reading model is preview content for from described webpage, extracting visible node, and the web page browsing pattern that extracted preview content is shown.
CN201310395678XA 2013-09-03 2013-09-03 Webpage processing method and device, and terminal equipment Pending CN103455601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310395678XA CN103455601A (en) 2013-09-03 2013-09-03 Webpage processing method and device, and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310395678XA CN103455601A (en) 2013-09-03 2013-09-03 Webpage processing method and device, and terminal equipment

Publications (1)

Publication Number Publication Date
CN103455601A true CN103455601A (en) 2013-12-18

Family

ID=49737964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310395678XA Pending CN103455601A (en) 2013-09-03 2013-09-03 Webpage processing method and device, and terminal equipment

Country Status (1)

Country Link
CN (1) CN103455601A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231126A (en) * 2016-09-13 2016-12-14 乐视控股(北京)有限公司 A kind of website browsing processing method and processing device
CN106527893A (en) * 2016-10-28 2017-03-22 维沃移动通信有限公司 Method for processing picture and mobile terminal
CN106991150A (en) * 2017-03-28 2017-07-28 维沃移动通信有限公司 The display methods and mobile terminal of a kind of web data
WO2017161994A1 (en) * 2016-03-23 2017-09-28 腾讯科技(深圳)有限公司 Method and device for displaying page, and computer storage medium
CN111274507A (en) * 2020-01-21 2020-06-12 腾讯科技(深圳)有限公司 Method, device and equipment for browsing webpage content and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539914A (en) * 2008-03-18 2009-09-23 韩露 Technical proposal for readable customization conversion of web pages
CN101951379A (en) * 2010-09-27 2011-01-19 苏州昂信科技有限公司 Green browser and URL long-distance filtration mechanism used thereby
WO2011075993A1 (en) * 2009-12-24 2011-06-30 腾讯科技(深圳)有限公司 Really simple syndication (rss) subscription method, device and system
CN103020156A (en) * 2012-11-23 2013-04-03 北京小米科技有限责任公司 Processing method, device and equipment for webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539914A (en) * 2008-03-18 2009-09-23 韩露 Technical proposal for readable customization conversion of web pages
WO2011075993A1 (en) * 2009-12-24 2011-06-30 腾讯科技(深圳)有限公司 Really simple syndication (rss) subscription method, device and system
CN101951379A (en) * 2010-09-27 2011-01-19 苏州昂信科技有限公司 Green browser and URL long-distance filtration mechanism used thereby
CN103020156A (en) * 2012-11-23 2013-04-03 北京小米科技有限责任公司 Processing method, device and equipment for webpage

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017161994A1 (en) * 2016-03-23 2017-09-28 腾讯科技(深圳)有限公司 Method and device for displaying page, and computer storage medium
CN107229618A (en) * 2016-03-23 2017-10-03 腾讯科技(深圳)有限公司 A kind of method and device for showing the page
CN107229618B (en) * 2016-03-23 2020-04-21 腾讯科技(深圳)有限公司 Method and device for displaying page
US10956653B2 (en) 2016-03-23 2021-03-23 Tencent Technology (Shenzhen) Company Limited Method and apparatus for displaying page and a computer storage medium
CN106231126A (en) * 2016-09-13 2016-12-14 乐视控股(北京)有限公司 A kind of website browsing processing method and processing device
CN106527893A (en) * 2016-10-28 2017-03-22 维沃移动通信有限公司 Method for processing picture and mobile terminal
CN106527893B (en) * 2016-10-28 2019-12-03 维沃移动通信有限公司 A kind of processing method and mobile terminal of picture
CN106991150A (en) * 2017-03-28 2017-07-28 维沃移动通信有限公司 The display methods and mobile terminal of a kind of web data
CN106991150B (en) * 2017-03-28 2020-03-10 维沃移动通信有限公司 Webpage data display method and mobile terminal
CN111274507A (en) * 2020-01-21 2020-06-12 腾讯科技(深圳)有限公司 Method, device and equipment for browsing webpage content and storage medium

Similar Documents

Publication Publication Date Title
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
CN103327189B (en) Method and device for uploading, browsing and deleting pictures
CN104978115A (en) Content display method and device
CN104104711B (en) Reading histories treating method and apparatus
CN103455582A (en) Display method of navigation page of browser and mobile terminal
CN103455603A (en) Method and device for caching webpage content and loading webpage and terminal device
CN103279574A (en) Method, device and terminal device for loading explorer pictures
CN103530115B (en) Application program display method and device and terminal equipment
CN103455571A (en) Method and device for displaying picture in webpage, and terminal
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN103313139A (en) History display method and device and electronic device
CN103513987A (en) Rendering treatment method, device and terminal device for browser web page
CN103605668A (en) Webpage bookmark storing method and device and mobile terminal
CN103699595A (en) Method and device for webpage caching of terminal browser and terminal
CN103310007B (en) Webpage changing method, device and equipment
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN103401982A (en) Information display method and device and mobile terminal
CN104077211A (en) Test method and test system for mobile terminal software
CN104954159A (en) Network information statistics method and device
CN105630846A (en) Head portrait updating method and apparatus
CN104182429A (en) Web page processing method and terminal
CN104267882A (en) Page suspension frame display method and device
CN104021129A (en) Picture group display method and terminal
CN103336838A (en) Method and device for processing webpage and terminal equipment
CN104679724A (en) Page noting method and device

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

Application publication date: 20131218

RJ01 Rejection of invention patent application after publication