CN106469189A - A kind of front end assists browsing method and the device of transcoding - Google Patents

A kind of front end assists browsing method and the device of transcoding Download PDF

Info

Publication number
CN106469189A
CN106469189A CN201610772139.7A CN201610772139A CN106469189A CN 106469189 A CN106469189 A CN 106469189A CN 201610772139 A CN201610772139 A CN 201610772139A CN 106469189 A CN106469189 A CN 106469189A
Authority
CN
China
Prior art keywords
transcoding
target pages
link
unit
code tag
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
CN201610772139.7A
Other languages
Chinese (zh)
Inventor
张研
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610772139.7A priority Critical patent/CN106469189A/en
Publication of CN106469189A publication Critical patent/CN106469189A/en
Priority to PCT/CN2017/094499 priority patent/WO2018040807A1/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of front end assists browsing method and the device of transcoding.The method includes:Search for target pages according to preset keyword from mobile interchange on the net;Inquire about the transcoding rule of described target pages, this transcoding rule at least includes determining the code tag of text fragment, author information and original text link from described target pages;Linked from described target pages download text paragraph, author information and original text according to the code tag in described transcoding rule;The content that display is downloaded.Using the present invention, the acquiring way of reading content can be expanded, the renewal of reading content is ageing strong, whole target pages need not be downloaded to client it is ensured that the speed of application program and stability.

Description

A kind of front end assists browsing method and the device of transcoding
Technical field
The present invention relates to the technical field of electronic reading, assist the browsing method of transcoding more particularly, to a kind of front end And device.
Background technology
China mobile reading user has possessed certain scale.According to CNNIC statistics, 2013, China's mobile phone was read user and is reached To 3.7 hundred million, increase by 25.3% than last year.Ai Rui consulting is thought, the quickening built with the network facilities, and mobile phone is read user and will be protected The steady rapid growth that maintains an equal level is it is contemplated that by 2017, China Mobile read userbase and is up to 6.2 hundred million.Mobile terminal is different from PC end, The display interface of mobile terminal is less, and the network speed of mobile network is limited, and the processor of mobile terminal also cannot be compared with the cpu of computer, This just proposes the requirement of more harsh " accurate, convenient " to the application program of mobile terminal.
The today developing rapidly in development of Mobile Internet technology, it is increasingly convenient that people obtain information by mobile network.But with When also result in that information is lengthy and jumbled, excess the problems such as.In such a situa-tion, changed by excavating text and obtain key message and become The important means of kind Internet user's experience, raising work and reading efficiency, is the important handss of acquisition of information using crawler technology One of section.In the middle of prior art, first pass through the text fragment searching for each website, the web site contents of preset keyword will be comprised The locally downloading server of reptile, then carry out service end transcoding, finally the purification content after transcoding is sent to answering of client With being shown in program.For example, it is possible on the novel APP of client, by search key, upper and lower from home server Carry the related content of transcoding, related content is shown in the middle of Search Results.Again for example, it is possible to the news in client is read Read the related news being the theme on APP it is seen that with " amusement "/" military ", because home server is with " amusement "/" military " Capture in advance for keyword and transcoding related news, read in the middle of each column of APP so that client is illustrated in news.
But, in the middle of prior art, it is pre- that the application program of client can only download home server from home server The web site contents first storing.This will lead to problems, on the one hand, the acquiring way of resource is very single, the letter that user obtains Breath is not comprehensive.On the other hand, if home server stall or stopping update, corresponding client application also cannot be more New reading content.Further, the renewal speed of the reading content of home server storage is relatively slow obtains the most in real time it is impossible to meet user The needs of new content.These factors hinder the popularization further of mobile reading technology to a certain extent.
Content of the invention
In view of the above problems, the present invention proposes browsing method and the device that a kind of front end assists transcoding.
The browsing method that a kind of front end assists transcoding is provided in the embodiment of the present invention, including:
Search for target pages according to preset keyword from mobile interchange on the net;
Inquire about the transcoding rule of described target pages, this transcoding rule at least includes determining text from described target pages The code tag of paragraph, author information and original text link;
According to the code tag in described transcoding rule from described target pages download text paragraph, author information and original text Link;
The content that display is downloaded.
Preferably, according to default keyword before mobile interchange searches for the step of target pages on the net, including:Receive The preset keyword of user input.
Preferably, described transcoding rule also includes determining the code tag of picture from the described page, according to described transcoding The step that code tag in rule links from described target pages download text paragraph, author information and original text, also includes:
Pre-setting according to user, judges whether the picture needing to show described target pages;
When judging to be, the code tag according to picture in described transcoding rule is from described target pages download pictures.
Preferably, described transcoding rule also includes determining the code tag of plug-in unit link from the described page, according to described The step that code tag in transcoding rule links from described target pages download text paragraph, author information and original text, also wraps Include:
Pre-setting according to user, judges whether to need the plug-in unit showing described target pages to link;
When judging to be, the code tag according to picture in described transcoding rule is from described target pages download plug-in chain Connect, described plug-in unit link includes the one of which of sound link, video link and application program link.
Preferably, described transcoding rule also includes determining the code tag of hyperlink from the described page, according to described turn The step that code tag in code rule links from described target pages download text paragraph, author information and original text, also includes:
Pre-setting according to user, judges whether the hyperlink needing to show described target pages;
When judging to be, hyperlink is downloaded from described target pages according to the code tag of picture in described transcoding rule.
Preferably, before the content that display is downloaded, also include:
According to local interface layout to download content carry out typesetting, wherein, described interface layout at least include for Place the text window of described text fragment, be used for placing the title bar of described author information, be used for placing described original text link Target web link.
Preferably, when the content downloaded also includes picture, described interface layout is also included for placing described picture Picture hurdle.
Preferably, when the content downloaded also includes plug-in unit link, described interface layout is also included for placing described inserting The insert window of part link, wherein, described plug-in unit link includes wherein the one of sound link, video link and application program link Kind.
Preferably, when the content downloaded also includes hyperlink, described interface layout is also included for placing described hyperlink The navigation bar connecing.
Preferably, described interface layout also includes commenting on hurdle, after the step of content that display is downloaded, also includes:
The triggering command of receive user clicks table button on described comment hurdle, by the triggering command of described list button And its comment object of association is sent to cloud server, and/or,
The Word message that receive user inputs in list text box on described comment hurdle, by the word of this list text box The comment object of information and its association is sent to cloud server.
Preferably, described interface layout also includes commenting on hurdle, after the step of content that display is downloaded, also includes:
Obtain comment object from described cloud server;
When described comment object is associated with list button, described cloud server statistics is shown on described comment hurdle The clicked number of times of this list button;
When described comment object is associated with list text box, described cloud server storage is shown on described comment hurdle This list text box Word message.
Correspondingly, the browsing apparatus that a kind of front end assists transcoding are embodiments provided, including:
Page search unit, for searching for target pages according to preset keyword on the net from mobile interchange;
Rule query unit, for inquiring about the transcoding rule of described target pages, this transcoding rule is at least included from described The code tag of text fragment, author information and original text link is determined in target pages;
Content download unit, for according to described transcoding rule in code tag from described target pages download text section Fall, author information and original text link;
Content display unit, the content downloaded for display.
Preferably, including:The search receiving unit being connected with described page search unit, pre- for receiving user's input If keyword.
Preferably, described transcoding rule also includes determining the code tag of picture from the described page, described content is downloaded Unit, including:
Picture judging unit, for pre-setting according to user, judges whether the figure needing to show described target pages Piece;
Picture download unit, for when judging to be, the code tag according to picture in described transcoding rule is from described mesh Mark page-downloading picture.
Preferably, described transcoding rule also includes determining the code tag of plug-in unit link, described content from the described page Download unit, including:
Plug-in unit judging unit, for pre-setting according to user, judges whether to need to show inserting of described target pages Part links;
Plug-in download unit, for when judging to be, the code tag according to picture in described transcoding rule is from described mesh Mark page-downloading plug-in unit link, described plug-in unit link includes the one of which of sound link, video link and application program link.
Preferably, described transcoding rule also includes determining the code tag of hyperlink from the described page, described interior holds Carrier unit, including:
Hyperlink judging unit, for pre-setting according to user, judges whether to need to show described target pages Hyperlink;
Hyperlink download unit, for when judging to be, the code tag according to picture in described transcoding rule is from described Target pages download hyperlink.
Preferably, also include:
It is connected to the page transcoding units between described content download unit and described content display unit, according to local Interface layout carries out typesetting to the content downloaded, and wherein, described interface layout is at least included for placing described text fragment Text window, title bar, the target web link for placing described original text link for placing described author information.
Preferably, when the content downloaded also includes picture, described interface layout also includes picture hurdle, described page transcoding Unit is additionally operable to place described picture on described picture hurdle.
Preferably, when the content downloaded also includes plug-in unit link, described interface layout also includes insert window, described page Face transcoding units are additionally operable to place the link of described plug-in unit in described insert window, wherein, described plug-in unit link include sound link, Video link and the one of which of application program link.
Preferably, when the content downloaded also includes hyperlink, described interface layout also includes navigation bar, and the described page turns Code unit is additionally operable to place described hyperlink in described navigation bar.
Preferably, described interface layout also includes commenting on hurdle, also includes:
The first comment receiving unit being connected with described page transcoding units, for receive user point on described comment hurdle Hit the triggering command of list button, and first being connected with the first comment receiving unit comments on transmitting element, for will be described The comment object of the triggering command of list button and its association is sent to cloud server;And/or,
The second comment receiving unit being connected with described page transcoding units, is existed for receive user on described comment hurdle The Word message of list text box input, and the second comment transmitting element being connected with the second comment receiving unit, for inciting somebody to action The comment object of the Word message of this list text box and its association is sent to cloud server.
Preferably, described interface layout also includes commenting on hurdle, also includes:
The comment acquiring unit being connected with described page transcoding units, right for obtaining comment from described cloud server As;
The comment display unit being connected with described comment acquiring unit, for being associated with list button when described comment object When, the clicked number of times of this list button of described cloud server statistics is shown on described comment hurdle;When described comment is right The word of this list text box of described cloud server storage, during as being associated with list text box, is shown on described comment hurdle Information.
The scheme providing with respect to prior art, the present invention, searches for target according to preset keyword on the net from mobile interchange The page, is no longer limited to obtain web site contents from home server, saves the maintenance cost to home server and deposit Storage space.And home server is only analyzed and the transcoding rule that stores webpage, client application searching target pages Afterwards, inquire about the transcoding rule of described target pages to home server, this transcoding rule is at least included from described target pages Determine the code tag of text fragment, author information and original text link.Client application is further according in described transcoding rule Code tag link from described target pages download text paragraph, author information and original text, and show the content of download.Therefore This, the present invention program can expand the acquiring way of reading content, and the renewal of reading content is ageing strong, is not only restricted to locally take Business device.Further, the transcoding rule that home server excavates can assist client application rapidly to obtain in reading Hold, whole target pages need not be downloaded to client, and the group of web to target web without client application Part is analyzed excavating it is ensured that the speed of application program and stability.Certainly, if transcoding is simple in rule, client application Program also can voluntarily be excavated.Meanwhile, this programme can be adaptively adjusted font, line-spacing, divide according to the interface size of client Page generating transcoding page, in order to read.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings Figure.
Fig. 1 is the flow chart of the browsing method that a kind of front end of the present invention assists transcoding.
Fig. 2 is the target pages schematic diagram from the online search of mobile interchange for the present invention.
Fig. 3-1 is one of transcoding page schematic diagram of browsing method that a kind of front end of the present invention assists transcoding.
Fig. 3-2 is the two of the transcoding page schematic diagram of browsing method that a kind of front end of the present invention assists transcoding.
Fig. 4 is the another schematic diagram of the transcoding page of browsing method that a kind of front end of the present invention assists transcoding.
Fig. 5 is the embodiment flow chart of the browsing method that a kind of front end of the present invention assists transcoding.
Fig. 6 is the schematic diagram of the browsing apparatus that a kind of front end of the present invention assists transcoding.
Fig. 7 is the embodiment schematic diagram of the browsing apparatus that a kind of front end of the present invention assists transcoding.
Label in diagram represents respectively, A11:Text fragment, A12:Author information, A13:Original text links, A3:Picture, A4:Plug-in unit, A5:Hyperlink, B11:Text window, B12:Title bar, B13:Target web links, B2:Search column, B41:Video Insert window, B42:Application plug window, B5:Navigation bar, B10:Comment hurdle, N1:List button, N21:Article review pair As N22:Message comment object, N3:List text box.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention.
In some flow processs of the description in description and claims of this specification and above-mentioned accompanying drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be suitable according to its appearance herein Sequence, to execute or executed in parallel, sequence number such as 101,102 of operation etc., is only used for distinguishing each different operation, sequence number Itself do not represent any execution sequence.In addition, these flow processs can include more or less of operation, and these operations can To execute in order or executed in parallel.It should be noted that the description such as " first ", " second " herein, it is for distinguishing not Message together, equipment, module etc., do not represent sequencing, also not limiting " first " and " second " is different types.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
Fig. 1 is the flow chart of the browsing method that a kind of front end of the present invention assists transcoding, including:
S101:Search for target pages according to preset keyword from mobile interchange on the net;
S102:Inquire about the transcoding rule of described target pages, this transcoding rule is at least included from described target pages really Determine the code tag of text fragment, author information and original text link;
S103:According to the code tag in described transcoding rule from described target pages download text paragraph, author information With original text link;
S104:The content that display is downloaded.
Fig. 2 is the target pages schematic diagram from the online search of mobile interchange for the present invention.With reference to Fig. 1,2 couples of sides of the present invention Case is described further.As shown in Fig. 2 the webpage of currently the majority is all in response to designed by computer terminal, and computer shows Screen is more much bigger than mobile phone display screen, so, when using mobile phone open webpage, need to carry out transcoding to webpage, from being suitable to electricity The form of brain screen display is converted to and is suitable for the form that mobile phone screen shows, in order to the reading of mobile subscriber, people are by transcoding Mobile phone web pages afterwards are referred to as transcoding page.The application program of client searches for page object according to preset keyword on the net from mobile interchange Face, for example, novel APP can search for bag according to preset keyword " horror fiction "/" modern novels " etc. by mobile Internet Target pages containing " horror fiction "/" modern novels ".News APP can be searched according to preset keyword " finance and economics "/" amusement " etc. Rope target pages.Or, further, target pages are searched for according to novel title or headline.So, be no longer limited to from Obtain web site contents on home server, save the maintenance cost to home server and memory space.
Home server, for client, has powerful disposal ability, and client application takes to local The transcoding rule of target pages inquired about by business device, and home server obtains target pages and is analyzed and excavates described target pages Transcoding rule, this transcoding rule at least includes determining text fragment, author information and original text link from described target pages Code tag.Above-mentioned code tag is fed back to client application as Query Result by home server.
Client application is further according to the code tag in described transcoding rule from described target pages download text section Fall, author information and original text link, and show the content of download., the code tag of text fragment includes taking html language as a example< p>...</p>、<body>...</body>Deng the code tag of author information includes<Meta name=" author " Content=" ... "/>, original text link code tag include<a>...</a>Deng.For different web page editing language, meeting There is difference.Here does not enumerate, but all can be mined, and can be suitably used for implementation of the present invention.It should be strongly noted that this Scheme of the invention need not identify all labels of all web page editing language, because the application program of client not necessarily can be supported The reality of all labels, in addition, the label loading is more, the display speed of webpage also can be slower.Here, the present invention program's turns Code rule, in response to the needs of copyright protection, at least includes the code tag of text fragment, author information and original text link.Not pipe network What web page editing language page is using, and above-mentioned text fragment, author information and original text link it is also apparent that being indispensable.
Further, if limiting searchable website further, or transcoding rule be only defined in several conventional Code tag, for example, sets up partnership with www.china.com, phoenix net, and client application is searched for only from this two websites Target pages, then transcoding rule can be further simplified, client application need not be inquired about to home server, and only needs The transcoding rule of inquiring client terminal databases storage, further speeds up display speed.
So, the present invention program can expand the acquiring way of reading content, and the renewal of reading content is ageing strong, is not subject to It is limited to home server.Further, the transcoding rule that home server excavates can assist client application rapidly Obtain reading content, whole target pages need not be downloaded to client, and without client application to target network The web pages component of page is analyzed excavating it is ensured that the speed of application program and stability.Certainly, if transcoding is simple in rule, Client application also can voluntarily excavate.Meanwhile, this programme can be adaptively adjusted word according to the interface size of client Body, line-spacing, paging generating transcoding page, in order to read.
Fig. 3-1 is one of transcoding page schematic diagram of browsing method that a kind of front end of the present invention assists transcoding.Fig. 3-2 is this A kind of bright front end assists the two of the transcoding page schematic diagram of browsing method of transcoding.Compared with Fig. 2, Fig. 3-1 and Fig. 3-2 is to Fig. 2 News carry out transcoding after, be suitable to the transcoding page that mobile phone shows.Following embodiments, launch explanation taking news peg as a example, true On, the present invention program can be used for novel subject matter, or the transcoding of other word class subject matters is read.
Wherein in the middle of an embodiment, the present invention program, described transcoding rule also includes determination figure from the described page The code tag of piece, according to the code tag in described transcoding rule from described target pages download text paragraph, author information With the step of original text link, also include:
Pre-setting according to user, judges whether the picture needing to show described target pages;
When judging to be, the code tag according to picture in described transcoding rule is from described target pages download pictures.
As shown in Fig. 2 A3 is the picture of described target pages.Obviously, if will be loaded this on the application program of client Big figure, then need to expend more floating resources, and wait a longer time.This decision is transferred to user by the present embodiment Autonomous setting, pre-setting according to user, judge whether the picture needing to show described target pages.Described picture includes quiet State picture and cardon picture etc..When judging to be, client application is according to the code tag of picture in described transcoding rule From described target pages download pictures.When judging no, then it is not loaded with shown picture.
Wherein in the middle of an embodiment, the present invention program, described transcoding rule also includes determining from the described page and surpasses The code tag of link, according to the code tag in described transcoding rule from described target pages download text paragraph, Zuo Zhexin Breath and the step of original text link, also include:
Pre-setting according to user, judges whether the hyperlink needing to show described target pages;
When judging to be, hyperlink is downloaded from described target pages according to the code tag of picture in described transcoding rule.
As shown in Fig. 2 A5 is hyperlink.After transcoding rule conversion, it is positioned over B5 navigation bar as shown in figure 3-2 " associated recommendation " part.This part is also to respect user's needs, is loaded according to pre-setting of user, improves user's body Test.
Fig. 4 is the another schematic diagram of the transcoding page of browsing method that a kind of front end of the present invention assists transcoding.
In the middle of another embodiment, the present invention program, described transcoding rule also includes determining plug-in unit from the described page The code tag of link, according to the code tag in described transcoding rule from described target pages download text paragraph, Zuo Zhexin Breath and the step of original text link, also include:
Pre-setting according to user, judges whether to need the plug-in unit showing described target pages to link;
When judging to be, the code tag according to picture in described transcoding rule is from described target pages download plug-in chain Connect, described plug-in unit link includes the one of which of sound link, video link and application program link.
As shown in figure 4, B41 is video plug-in unit, B42 is application plug.In the same manner, also respect user need, according to Pre-setting of family is loaded, and improves Consumer's Experience.
Fig. 5 is the embodiment flow chart of the browsing method that a kind of front end of the present invention assists transcoding.Compared to Figure 1, Fig. 5 is implemented Example further includes to scan for, carry out according to interface layout the typesetting again of client according to the input keyword of user, with And add the functions such as comment hurdle.
S201:The preset keyword of receiving user's input;
S202:Search for target pages according to preset keyword from mobile interchange on the net;
S203:Inquire about the transcoding rule of described target pages, this transcoding rule is at least included from described target pages really Determine the code tag of text fragment, author information and original text link;
S204:According to the code tag in described transcoding rule from described target pages download text paragraph, author information With original text link;
S205:According to local interface layout, typesetting is carried out to the content downloaded, wherein, described interface layout at least includes For placing the text window of described text fragment, for placing the title bar of described author information, being used for placing described original text The target web link of link;
S206:The content that display is downloaded;
S207 step or S208 step or S209 step is proceeded to after S206 step;
S207:The triggering command of receive user clicks table button on described comment hurdle, touching described list button The comment object sending instructions and its associating is sent to cloud server;
S208:The Word message that receive user inputs in list text box on described comment hurdle, by this list text box Word message and its comment object of association be sent to cloud server;
S209:Obtain comment object from described cloud server;
S210 step or S211 step is proceeded to after S209 step;
S210:When described comment object is associated with list button, described comment hurdle shows described cloud server The clicked number of times of this list button of statistics;
S211:When described comment object is associated with list text box, described comment hurdle shows described cloud service The Word message of this list text box of device storage.
Elaborate below in conjunction with Fig. 2-Fig. 5.Wherein it is illustrated that in label represent respectively, A11:Text fragment, A12: Author information, A13:Original text links, A3:Picture, A4:Plug-in unit, A5:Hyperlink, B11:Text window, B12:Title bar, B13: Target web links, B2:Search column, B41:Video insert window, B42:Application plug window, B5:Navigation bar, B10:Comment By hurdle, N1:List button, N21:Article review object, N22:Message comment object, N3:List text box.
According to local interface layout to download content carry out typesetting, wherein, described interface layout at least include for Place the text window B11 of described text fragment A11, be used for placing the title bar B12 of described author information A12, being used for placing Described original text links the target web link B13 of A13.
When the content downloaded also includes picture, described interface layout also includes the picture hurdle for placing described picture.
When the content downloaded also includes plug-in unit link A4, described interface layout is also included for placing described plug-in unit link Insert window, wherein, the link of described plug-in unit includes the one of which that sound link, video link and application program link.Example As B41:Video insert window, B42:Application plug window.
When the content downloaded also includes hyperlink A5, described interface layout is also included for placing leading of described hyperlink Boat hurdle B5.
The present invention both can scan for according to the keyword of acquiescence, for example, scan for obtaining correlation according to " amusement " theme Entertainment newses.Search column B2 can also be provided, the preset keyword of receiving user's input, according to preset keyword from mobile mutual Target pages are searched on networking.Then, client application is inquired about to home server or client database, inquiry The transcoding rule of described target pages, this transcoding rule at least includes determining text fragment, Zuo Zhexin from described target pages Breath and the code tag of original text link.Further according to the code tag in described transcoding rule from described target pages download text section Fall, author information and original text link.The present invention is not that the whole web page contents of target pages are downloaded to client, but According to needed for transcoding rule selection client, necessary part is downloaded.Wherein, this transcoding rule at least includes respecting copyright Text fragment, author information and original text link three code tags.After download, in order to be adapted to the display of client, Interface layout according to local client carries out typesetting to the content downloaded, and wherein, described interface layout is at least included for putting Put the text window of described text fragment, be used for placing the title bar of described author information, for placing described original text link Target web links.Obviously, this step is the typesetting again to target web, and the chronological order of each label is not necessarily followed The layout order of target web.It is of course also possible to add the element that some client applications are provided, to meet client The demand of property.For example, add comment hurdle B10.
The content that display is downloaded, adds comment hurdle B10 in page footing part.On described comment hurdle, receive user clicks on list The triggering command of button N1, the described triggering command of list button N1 and its comment object of association are sent to cloud service Device;The Word message that receive user inputs in list text box N3 on described comment hurdle, by the word of this list text box N3 The comment object of information and its association is sent to cloud server.As illustrated, comment object include article review object N21 and Message comment object N22.It should be added that, when this programme is applied to novel APP, above-mentioned comment hurdle can be used for opening up Show the review information to certain novel.
Obtain comment object from described cloud server;When described comment object is associated with list button N1, described The clicked number of times of this list button N1 of described cloud server statistics is shown on comment hurdle;When described comment object is associated with The word letter of this list text box N3 of described cloud server storage, during list text box N3, is shown on described comment hurdle Breath.For example, in the middle of Fig. 3-2, the clicked number of times to the support matrix button of this article is 458 times, the opposition table to this article The clicked number of times of button is 43 times, is 40 inferior to the clicked number of times of the support matrix button that certain is commented on.
In sum, the acquiring way of reading content can using the present invention, be expanded, the renewal of reading content is ageing By force, whole target pages need not be downloaded to client it is ensured that the speed of application program and stability.
Fig. 6 is the schematic diagram of the browsing apparatus that a kind of front end of the present invention assists transcoding, including:
Page search unit, for searching for target pages according to preset keyword on the net from mobile interchange;
Rule query unit, for inquiring about the transcoding rule of described target pages, this transcoding rule is at least included from described The code tag of text fragment, author information and original text link is determined in target pages;
Content download unit, for according to described transcoding rule in code tag from described target pages download text section Fall, author information and original text link;
Content display unit, the content downloaded for display.
Fig. 6 is corresponding with Fig. 1, the embodiment of in figure unit with identical in method.
Wherein in the middle of an embodiment, described transcoding rule also includes determining the coding mark of picture from the described page Sign, described content download unit, including:
Picture judging unit, for pre-setting according to user, judges whether the figure needing to show described target pages Piece;
Picture download unit, for when judging to be, the code tag according to picture in described transcoding rule is from described mesh Mark page-downloading picture.
Wherein in the middle of an embodiment, described transcoding rule also includes determining the coding mark of hyperlink from the described page Sign, described content download unit, including:
Hyperlink judging unit, for pre-setting according to user, judges whether to need to show described target pages Hyperlink;
Hyperlink download unit, for when judging to be, the code tag according to picture in described transcoding rule is from described Target pages download hyperlink.
In the middle of another embodiment, described transcoding rule also includes determining the coding mark of plug-in unit link from the described page Sign, described content download unit, including:
Plug-in unit judging unit, for pre-setting according to user, judges whether to need to show inserting of described target pages Part links;
Plug-in download unit, for when judging to be, the code tag according to picture in described transcoding rule is from described mesh Mark page-downloading plug-in unit link, described plug-in unit link includes the one of which of sound link, video link and application program link.
Fig. 7 is the embodiment schematic diagram of the browsing apparatus that a kind of front end of the present invention assists transcoding.
As shown in fig. 7, this device, including:
The search receiving unit being connected with described page search unit, for the preset keyword of receiving user's input.
As shown in fig. 7, this device, also include:
It is connected to the page transcoding units between described content download unit and described content display unit, according to local Interface layout carries out typesetting to the content downloaded, and wherein, described interface layout is at least included for placing described text fragment Text window, title bar, the target web link for placing described original text link for placing described author information.
When the content downloaded also includes picture, described interface layout also includes picture hurdle, and described page transcoding units are also For placing described picture on described picture hurdle.
When the content downloaded also includes plug-in unit link, described interface layout also includes insert window, described page transcoding Unit is additionally operable to place described plug-in unit link in described insert window, and wherein, described plug-in unit link includes sound link, video link Connect the one of which with application program link.
When the content downloaded also includes hyperlink, described interface layout also includes navigation bar, described page transcoding units It is additionally operable to place described hyperlink in described navigation bar.
As shown in fig. 7, when described interface layout also includes commenting on hurdle, this device, also include:
The first comment receiving unit being connected with described page transcoding units, for receive user point on described comment hurdle Hit the triggering command of list button, and first being connected with the first comment receiving unit comments on transmitting element, for will be described The comment object of the triggering command of list button and its association is sent to cloud server;And/or,
The second comment receiving unit being connected with described page transcoding units, is existed for receive user on described comment hurdle The Word message of list text box input, and the second comment transmitting element being connected with the second comment receiving unit, for inciting somebody to action The comment object of the Word message of this list text box and its association is sent to cloud server.
As shown in fig. 7, when described interface layout also includes commenting on hurdle, this device, it is connected with described page transcoding units Comment acquiring unit, for from described cloud server obtain comment object;
The comment display unit being connected with described comment acquiring unit, for being associated with list button when described comment object When, the clicked number of times of this list button of described cloud server statistics is shown on described comment hurdle;When described comment is right The word of this list text box of described cloud server storage, during as being associated with list text box, is shown on described comment hurdle Information.
Finally, it should be added that, this device can be applicable to novel APP, and news reads APP, or other word materials The APP program of material.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
Embodiment described above only have expressed the several embodiments of the present invention, and its description is more concrete and detailed, but simultaneously Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, some deformation can also be made and improve, these broadly fall into the guarantor of the present invention Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.

Claims (10)

1. a kind of front end assists the browsing method of transcoding it is characterised in that including:
Search for target pages according to preset keyword from mobile interchange on the net;
Inquire about the transcoding rule of described target pages, this transcoding rule at least includes determining text chunk from described target pages Fall, author information and original text link code tag;
According to the code tag in described transcoding rule from described target pages download text paragraph, author information and original text chain Connect;
The content that display is downloaded.
2. front end according to claim 1 assist transcoding browsing method it is characterised in that according to default keyword from Before mobile interchange searches for the step of target pages on the net, including:
The preset keyword of receiving user's input.
3. front end according to claim 1 assists the browsing method of transcoding it is characterised in that described transcoding rule also includes Determine the code tag of picture from the described page, downloaded from described target pages according to the code tag in described transcoding rule The step of text fragment, author information and original text link, also includes:
Pre-setting according to user, judges whether the picture needing to show described target pages;
When judging to be, the code tag according to picture in described transcoding rule is from described target pages download pictures.
4. front end according to claim 1 assists the browsing method of transcoding it is characterised in that described transcoding rule also includes Determine the code tag of plug-in unit link from the described page, according to the code tag in described transcoding rule from described target pages The step of download text paragraph, author information and original text link, also includes:
Pre-setting according to user, judges whether to need the plug-in unit showing described target pages to link;
When judging to be, linked from described target pages download plug-in according to the code tag of picture in described transcoding rule, institute State the one of which that plug-in unit link includes sound link, video link and application program link.
5. front end according to claim 1 assists the browsing method of transcoding it is characterised in that described transcoding rule also includes Determine the code tag of hyperlink from the described page, according to the code tag in described transcoding rule from described target pages The step carrying text fragment, author information and original text link, also includes:
Pre-setting according to user, judges whether the hyperlink needing to show described target pages;
When judging to be, hyperlink is downloaded from described target pages according to the code tag of picture in described transcoding rule.
6. a kind of front end assists the browsing apparatus of transcoding it is characterised in that including:
Page search unit, for searching for target pages according to preset keyword on the net from mobile interchange;
Rule query unit, for inquiring about the transcoding rule of described target pages, this transcoding rule is at least included from described target The code tag of text fragment, author information and original text link is determined in the page;
Content download unit, for according to described transcoding rule in code tag from described target pages download text paragraph, Author information and original text link;
Content display unit, the content downloaded for display.
7. front end according to claim 6 assists the browsing apparatus of transcoding it is characterised in that including:
The search receiving unit being connected with described page search unit, for the preset keyword of receiving user's input.
8. front end according to claim 6 assists the browsing apparatus of transcoding it is characterised in that described transcoding rule also includes The code tag of determination picture from the described page, described content download unit, including:
Picture judging unit, for pre-setting according to user, judges whether the picture needing to show described target pages:
Picture download unit, for when judging to be, the code tag according to picture in described transcoding rule is from described page object Face download pictures.
9. front end according to claim 6 assists the browsing apparatus of transcoding it is characterised in that described transcoding rule also includes The code tag of determination plug-in unit link from the described page, described content download unit, including:
Plug-in unit judging unit, for pre-setting according to user, judges whether to need to show the plug-in unit chain of described target pages Connect;
Plug-in download unit, for when judging to be, the code tag according to picture in described transcoding rule is from described page object Face download plug-in link, described plug-in unit link includes the one of which of sound link, video link and application program link.
10. front end according to claim 6 assists the browsing apparatus of transcoding it is characterised in that described transcoding rule is also wrapped Include from the described page determine hyperlink code tag, described content download unit, including:
Hyperlink judging unit, for pre-setting according to user, judges whether the hyperlink needing to show described target pages Connect;
Hyperlink download unit, for when judging to be, the code tag according to picture in described transcoding rule is from described target Page-downloading hyperlink.
CN201610772139.7A 2016-08-30 2016-08-30 A kind of front end assists browsing method and the device of transcoding Pending CN106469189A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610772139.7A CN106469189A (en) 2016-08-30 2016-08-30 A kind of front end assists browsing method and the device of transcoding
PCT/CN2017/094499 WO2018040807A1 (en) 2016-08-30 2017-07-26 Method and device for browsing front-end auxiliary converted data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610772139.7A CN106469189A (en) 2016-08-30 2016-08-30 A kind of front end assists browsing method and the device of transcoding

Publications (1)

Publication Number Publication Date
CN106469189A true CN106469189A (en) 2017-03-01

Family

ID=58230460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610772139.7A Pending CN106469189A (en) 2016-08-30 2016-08-30 A kind of front end assists browsing method and the device of transcoding

Country Status (2)

Country Link
CN (1) CN106469189A (en)
WO (1) WO2018040807A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040807A1 (en) * 2016-08-30 2018-03-08 北京奇虎科技有限公司 Method and device for browsing front-end auxiliary converted data
WO2019090735A1 (en) * 2017-11-10 2019-05-16 深圳市华阅文化传媒有限公司 Third-party webpage reading method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888395A (en) * 2009-05-13 2010-11-17 华为技术有限公司 Method for synchronizing data, widget terminal and server
CN102663126A (en) * 2012-04-23 2012-09-12 奇智软件(北京)有限公司 Method and device for displaying webpage in mobile terminal
CN104536993A (en) * 2014-12-10 2015-04-22 北京奇虎科技有限公司 Collected webpage processing method, collected webpage processing device and client-side
CN104881453A (en) * 2015-05-18 2015-09-02 百度在线网络技术(北京)有限公司 Method and device for indentifying type of webpage

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024028B (en) * 2010-11-22 2014-04-02 百度在线网络技术(北京)有限公司 Method and equipment for distinctly displaying main contents of webpage on mobile terminal
CN103327049B (en) * 2012-03-22 2016-02-24 腾讯科技(深圳)有限公司 Based on rich content delivery method and the system of browser address bar
CN104090757B (en) * 2012-05-04 2018-10-12 北京奇虎科技有限公司 For the rich media information methods of exhibiting of browser
CN106469189A (en) * 2016-08-30 2017-03-01 北京奇虎科技有限公司 A kind of front end assists browsing method and the device of transcoding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888395A (en) * 2009-05-13 2010-11-17 华为技术有限公司 Method for synchronizing data, widget terminal and server
CN102663126A (en) * 2012-04-23 2012-09-12 奇智软件(北京)有限公司 Method and device for displaying webpage in mobile terminal
CN104536993A (en) * 2014-12-10 2015-04-22 北京奇虎科技有限公司 Collected webpage processing method, collected webpage processing device and client-side
CN104881453A (en) * 2015-05-18 2015-09-02 百度在线网络技术(北京)有限公司 Method and device for indentifying type of webpage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040807A1 (en) * 2016-08-30 2018-03-08 北京奇虎科技有限公司 Method and device for browsing front-end auxiliary converted data
WO2019090735A1 (en) * 2017-11-10 2019-05-16 深圳市华阅文化传媒有限公司 Third-party webpage reading method and apparatus

Also Published As

Publication number Publication date
WO2018040807A1 (en) 2018-03-08

Similar Documents

Publication Publication Date Title
US9703883B2 (en) Social bookmarking of resources exposed in web pages
CN104572843B (en) The loading method and device of a kind of page
US10402479B2 (en) Method, server, browser, and system for recommending text information
CN105302811B (en) Browser page skipping method and device
JP2012529687A (en) Update notification method and browser
CN104035753A (en) Double-WebView customized page display method and system
US8825756B2 (en) Server apparatus, information processing method, information processing program, and recording medium
US8359306B2 (en) Intelligent automatic recognition toolbar search method and system
CN101963992A (en) Method and browser for increasing webpage display speed
US20130197897A1 (en) Character translation system, character translation method, and computer readable medium
CN105095441A (en) Information acquisition method and device
US8290928B1 (en) Generating sitemap where last modified time is not available to a network crawler
CN106874271A (en) A kind of method and system that PC webpages are converted to mobile terminal webpage
CN102929971A (en) Multimedia information playing method and system
CN102955850A (en) Method and device for loading sequencing website
CN102955852A (en) Method, device and equipment for webpage resource processing
CN103279275B (en) Analyze method and the portable electric device of document content
CN111562911A (en) Webpage editing method and device and storage medium
CN104915404A (en) Method and device for accessing invalid website
CN106469189A (en) A kind of front end assists browsing method and the device of transcoding
US20060085476A1 (en) Method and system to identify a previously visited universal resource locator (url) in results from a search
KR101377385B1 (en) Information processing device
CN109086304B (en) Electronic bookmark updating method, device and storage medium
CN113656737B (en) Webpage content display method and device, electronic equipment and storage medium
CN105550335A (en) Method and device for providing search abstract embedded with resource downloading information

Legal Events

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

Application publication date: 20170301

RJ01 Rejection of invention patent application after publication