CN102789484A - Method and device for webpage information processing - Google Patents

Method and device for webpage information processing Download PDF

Info

Publication number
CN102789484A
CN102789484A CN2012102226198A CN201210222619A CN102789484A CN 102789484 A CN102789484 A CN 102789484A CN 2012102226198 A CN2012102226198 A CN 2012102226198A CN 201210222619 A CN201210222619 A CN 201210222619A CN 102789484 A CN102789484 A CN 102789484A
Authority
CN
China
Prior art keywords
target text
text information
object model
document object
user individual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102226198A
Other languages
Chinese (zh)
Other versions
CN102789484B (en
Inventor
唐曦
陈志�
李鸣
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
3600 Technology Group Co ltd
Original Assignee
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 Qizhi Software Beijing Co Ltd filed Critical Qizhi Software Beijing Co Ltd
Priority to CN201210222619.8A priority Critical patent/CN102789484B/en
Priority to CN201510432080.2A priority patent/CN104978435B/en
Publication of CN102789484A publication Critical patent/CN102789484A/en
Application granted granted Critical
Publication of CN102789484B publication Critical patent/CN102789484B/en
Active - Reinstated legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The invention provides a method and a device for webpage information processing and relates to the technical field of browsers. The method includes: analyzing a document object model tree corresponding to webpage information; searching target text information of each node in the document object model tree, and replacing the target text information with user personalized content; and rendering replaced document object models, and outputting to a corresponding webpage interview for showing. A direct rendering process of the document object model tree of the webpage information through a browser is cut off, the target text information of each node in the document object model tree is searched, the target text information is replaced with the user personalized content, and then the document object model tree is rendered. User personalized information can be shown in webpage, and the method and the device for webpage information processing can meet user personalized requirements.

Description

A kind of info web disposal route and device
Technical field
The present invention relates to the browser technology field, particularly relate to a kind of info web disposal route and device.
Background technology
Along with popularizing of internet; The internet offers many convenient of People more and more, and also for people provide various information, the user can pass through various information in the browser browse network; Also can carry out information interaction, such as microblogging through network and other users.
In the prior art, the method for obtaining information in the users from networks is browsed through webpage usually.But in the prior art; Browser is directly the various contents in the webpage to be played up, and displaying in user's web interface then is under this kind situation; Prior art can't be showed user's customized information, do not met user's individual demand in webpage.
Summary of the invention
Technical matters to be solved by this invention provides a kind of info web disposal route and device, can't user's customized information be showed in webpage to solve in the prior art, does not meet the problem of user's individual demand.
In order to address the above problem, the invention discloses a kind of info web disposal route, comprising:
Send web-page requests, the info web of download request to server;
Resolve the corresponding document object model tree of said info web;
Search the target text information of each node in the said document object model tree, said target text information is replaced with the user individual content;
DOM Document Object Model after the replacement is played up, and exported in the corresponding web interface and show.
Preferably, the said step that target text information is replaced with the user individual content comprises:
Revise mapping table according to user individual, this user individual is revised the corresponding relation that mapping table comprises target text information and individualized content, matees with said target text information;
The matching user individualized content is replaced said target text information.
Preferably, further comprise:
The user disposes said user individual and revises mapping table, changes target text information and the corresponding relation of individualized content and/or target text information, individualized content wherein.
Preferably, said individualized content comprises: personalized Word message and/or personalized photo information.
Preferably, said step of searching the target text information of each node in the said document object model tree comprises:
Begin from the root node of said DOM Document Object Model, each node of traversal DOM Document Object Model obtains the target text information in each node.
Preferably, the step played up of the DOM Document Object Model after said will the replacement comprises:
Obtain said target text information corresponding characters type in former document object model tree;
After converting said personalized Word message into said character types, play up displaying.
Preferably, the step played up of the DOM Document Object Model after said will the replacement comprises:
Obtain said target text information font size in the corresponding display structure in former document object model tree;
The dimension of picture of the font size of said personalized Word message or personalized photo information is adjusted into the font size of said target text information.
Preferably, said target text information of searching each node in the said document object model tree replaces with the user individual content with said target text information and also comprises before:
Judge whether the website information in the web-page requests is complementary with the website information of replacing in the network address storehouse;
If coupling is then carried out the said operation that target text information is replaced with the user individual content;
If do not match, then do not carry out target text information is replaced with the operation of user individual content.
Preferably, said user individual is revised mapping table and is kept at the browser side;
Then this method further comprises:
According to ID, the said user individual modification mapping table that is kept at the browser side is uploaded to the high in the clouds server stores.
Preferably, said user individual is revised mapping table and is kept at server side;
Then this method further comprises:
Login said server according to ID, the said user individual that is kept at server is revised mapping table synchronously to the browser side.
Accordingly, disclosed herein as well is a kind of info web treating apparatus, comprising:
The info web acquisition module is used for sending web-page requests, the info web of download request to server;
Parsing module is used to resolve the corresponding document object model tree of said info web;
The replacement module, the target text information that is used for searching said each node of document object model tree replaces with the user individual content with said target text information;
Rendering module is used for the DOM Document Object Model after the replacement is played up, and exports in the corresponding web interface and show.
Preferably, said replacement module comprises:
Matching module is used for revising mapping table according to user individual, and this user individual is revised the corresponding relation that mapping table comprises target text information and individualized content, matees with said target text information;
The first replacement module is used for the matching user individualized content is replaced said target text information.
Preferably, further comprise:
User configuration module is used for the user and disposes said user individual modification mapping table, changes target text information and the corresponding relation of individualized content and/or target text information, individualized content wherein.
Preferably, said individualized content comprises: personalized Word message and/or personalized photo information.
Preferably,, said replacement module comprises:
Node traversal judge module is used for beginning from the root node of said DOM Document Object Model, and each node of traversal DOM Document Object Model obtains the target text information in each node
Preferably, said rendering module comprises:
The character types acquisition module is used for obtaining said target text information in former document object model tree corresponding characters type
First plays up display module, after being used for converting said personalized Word message into said character types, plays up displaying.
Preferably, said rendering module comprises:
The character size acquisition module is used for obtaining the font size of said target text information in the corresponding display structure of former document object model tree;
Second rendering module is used for the dimension of picture of the font size of said personalized Word message or personalized photo information is adjusted into the font size of said target text information.
Preferably, also comprise before the said replacement module:
The network address judge module is used for judging whether the website information of web-page requests is complementary with the website information of replacing in the network address storehouse;
If coupling is then carried out the said operation that target text information is replaced with the user individual content;
If do not match, then do not carry out target text information is replaced with the operation of user individual content.
Preferably, said user individual is revised mapping table and is kept at the browser side;
Then also comprise:
Last transmission module is used for according to ID, the said user individual modification mapping table that is kept at the browser side is uploaded to the high in the clouds server stores.
Preferably, said user individual is revised mapping table and is kept at server side;
Then further comprise:
Synchronization module is used for logining said server according to ID, and the said user individual that is kept at server is revised mapping table synchronously to the browser side.
Compared with prior art, the present invention includes following advantage:
The present invention is through blocking the direct render process of browser to the document object model tree of info web; The target text information of each node in the locating file object model tree; Said target text information is replaced with after the user individual content; Again DOM Document Object Model (DOM, Document Object Model) tree is played up.So can user's customized information be showed in webpage, can adapt to user's individual demand.
Description of drawings
Fig. 1 is the schematic flow sheet of a kind of info web disposal route of the embodiment of the invention;
Fig. 2 is the schematic flow sheet of embodiment of the invention traversal dom tree process;
Fig. 3 is the structural representation of a kind of info web treating apparatus of the embodiment of the invention;
Fig. 4 is a kind of structural representation of replacing module embodiment one of the present invention;
Fig. 5 is a kind of structural representation of replacing module embodiment two of the present invention;
Fig. 6 is a kind of structural representation of replacing module embodiment three of the present invention;
Fig. 7 is the structural representation of a kind of rendering module embodiment one of the present invention;
Fig. 8 is the structural representation of a kind of rendering module embodiment two of the present invention;
Fig. 9 is a kind of network address judge module of the present invention embodiment one structural representation;
Figure 10 is embodiment one structural representation of uploading with synchronization module of the present invention.
Embodiment
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing and embodiment the present invention done further detailed explanation.
One of core concept of the present invention is; At browser info web is carried out in traditional processing procedure; After being about to obtain the corresponding dom tree of info web; Directly dom tree is played up in this process, the interception browser is directly to the playing up of dom tree, and the dom tree after after in dom tree, target text information being replaced with the user individual content through device of the present invention, will replacing is again played up.So can user's customized information be showed in webpage, can adapt to user's individual demand.
Introduce a kind of info web disposal route according to the invention and device in detail through embodiment below.
With reference to Fig. 1, show the schematic flow sheet of a kind of info web disposal route of the embodiment of the invention,
Specifically can comprise:
Step 110 is sent web-page requests, the info web of download request to server;
The major function of browser is that the web resource (being info web) that the user selects is shown; It need be from the server requests resource; And it is presented in the browser window, the form of resource is HTML (HTML, Hypertext Markup Language) normally.The user specifies the position of institute's request resource with URI (Uniform Resource Identifier unified resource identifier).Be that the user imports URL in browser address bar, browser then generates web-page requests based on said URL, is sent to the URL corresponding server, downloaded resources, the i.e. info web of download request.
Step 120 is resolved the corresponding document object model tree of said info web;
After browser downloads obtains info web, then resolve the corresponding dom tree of said info web, in reality, dom tree is rendered as info webs such as html document the tree construction (node tree) that has element, attribute and text.
DOM is an interface a kind of and platform and language independent, its permission program and script dynamic access and content, structure and the type of revising document.It has defined a series of object and method the node of dom tree has been carried out various random operations:
● the Document object: as the high node of tree, Document to as if inlet that entire document is operated.
● Element and Attr object: these node objects all are a part of mappings of web document, and the deciding grade and level level of node has reflected the structure of document just.
● the Text object: as the child node of Element and Attr object, the Text object representation content of text of element or attribute.The Text node no longer comprises any child node.
All nodes in the dom tree are all inherited from node object; Node object has defined some the most basic attribute and methods; Utilize these methods can realize, simultaneously, can also learn title, the value of node and judge its type according to attribute to traversal of tree.
So the present invention then based on the resolution rules of dom tree with info web, info web is a source code in the reality, resolves to dom tree.
Step 130, the target text information of searching each node in the said document object model tree replaces with the user individual content with said target text information;
After obtaining the corresponding dom tree of info web, this step searches then whether each node exists target text information in the dom tree, if exist, then said target text information is replaced with the user individual content.
And before step 110 of the present invention is carried out; Configurable its individualized content of user; Individualized content can be the corresponding relation that the user replaces needs target text information and individualized content; Such as need " aircraft " in the info web being replaced with Zhang Fei's machine picture, the user can carry out literal " aircraft " and local aircraft picture correspondingly so, and the user can constitute a user individual modification mapping table with the corresponding relation of target text information and individualized content in the present invention.
Preferably, the said step that target text information is replaced with the user individual content comprises:
Steps A 11 is revised mapping table according to user individual, and this user individual is revised the corresponding relation that mapping table comprises target text information and individualized content, matees with said target text information;
It is the aforementioned target text information that is provided with by the user and the corresponding relation of individualized content to be replaced that user individual is revised mapping table.
Wherein, said individualized content comprises: personalized Word message and/or personalized photo information.
Be personalized Word message or the personalized photo information that the user can select target text information is replaced with own demand according to demand; Such as for the target text information " girlfriend " in the info web; The user can select " girlfriend " replaced with concrete name, perhaps concrete photo.
In the present invention, when the user selects that target text information replaced with personalized Word message, can personalized Word message replaced directly be saved to personalized the modification in the mapping table and target text information correspondence position.When user's selection replaces with pictorial information with target text information; Can revise the store path that pictorial information is preserved in position corresponding with target text information in the mapping table at user individual; When replacement, the embodiment of the invention can be called picture according to the path and replace.Perhaps directly pictorial information is saved to user individual and revises the position corresponding in the mapping table with target text information.
So during the target text information of the present invention's each node in searching said document object model tree; Then revise mapping table according to user individual; This user individual is revised the corresponding relation that mapping table comprises target text information and individualized content; Mate with said target text information, if on the coupling, then change steps A 12 over to.
Steps A 12 is replaced said target text information with the matching user individualized content.
Such as for aforesaid target text information " girlfriend " by mate, and user individual to revise individualized content of " girlfriend " correspondence in the mapping table be picture A, can use picture A to replace said target text information " girlfriend " so.
Preferably, further comprise:
Steps A 13, the user disposes said user individual and revises mapping table, changes target text information and the corresponding relation of individualized content and/or target text information, individualized content wherein.
As previously mentioned; The user can dispose said user individual as required and revise mapping table; Such as the corresponding relation that remodifies target text information and individualized content, replace with photo B such as the picture A that target text information " girlfriend " is corresponding, perhaps change corresponding picture A into name.Can revise target text information to be replaced such as the user again,,, reach corresponding individualized content automobile photo such as adding target text information " automobile " such as with target text information " girlfriend " deletion.
In the present invention, preferred, said step of searching the target text information of each node in the said document object model tree comprises:
Step B11 begins from the root node of said DOM Document Object Model, and each node of traversal DOM Document Object Model obtains the target text information in each node.
Dom tree is a tree structure; In its information stores and wherein each the node; For ease of searching the target text information in the info web, then can begin to go through each node of DOM Document Object Model from the root node of dom tree so, obtain the target text information in each node.
In reality, can carry out the recurrence traversal during traversal, promptly with reference to Fig. 2, there is root node A in dom tree, and root node A exists child node A1, A2; Node A1 exists child node A11, A12; Node A11 exists child node A111, A112.During traversal, for each child node of a node, generally child node travels through from left to right; Such as the child node A2 that has selected root node A; Traveled through A2 and found that there is not child node in A2, returned root node A so, according to corresponding relation traversal child node A1 root node A and child node; Travel through the child node A12 of node A1 then, find that A12 does not have child node, return A1, from A1 traversal child node A11, by that analogy.
Be that target text information in the available personalized modification mapping table and the Word message in each node mate, if on the coupling, then get into replacement process at each node of traversal.
Step 140 is played up the DOM Document Object Model after the replacement, and is exported in the corresponding web interface and show.
After the target text information in the dom tree is replaced, again the dom tree after the replacement is played up, playing up finishes exports in the corresponding web interface again and shows.
Preferably, the step played up of the DOM Document Object Model after said will the replacement comprises:
Step C11 obtains said target text information corresponding characters type in former document object model tree;
All there is corresponding property in each node in the former dom tree, and such as the font size of character, the font of character etc. when playing up, to play up with its attribute, are showed then.This step is then obtained said target text information corresponding characters type in former document object model tree so.
Step C12, convert said personalized Word message into said character types after, play up displaying.
Such as the font of target text information " girlfriend " in dom tree is upright Yao's body, if when " girlfriend " corresponding individualized content is name, then converts said name into upright Yao's body, plays up displaying then.
Preferably, the step played up of the DOM Document Object Model after said will the replacement comprises:
Step D11 obtains said target text information font size in the corresponding display structure in former document object model tree;
The respective attributes that each node all exists in the former dom tree also comprises the font size in its corresponding display structure; Such as position, wide, the high font size in the display interface of place; So in order not change the display structure of former info web; Need the individualized content of replacement be adjusted into the size identical with former font size so, when playing up, not change the rendering result of dom tree.
The corresponding display structure of dom tree is by the control of corresponding C SS layout architecture body in reality, and present embodiment can extract corresponding font size from the position the corresponding CSS layout architecture body of target text information place node so.
Step D12 is adjusted into the dimension of picture of the font size of said personalized Word message or personalized photo information the font size of said target text information.
According to the font size of the aforementioned target text information that obtains, the dimension of picture of the font size of just said personalized Word message or personalized photo information is adjusted into the font size of said target text information.Can guarantee to play up the result and the former dom tree that obtain and play up coming to the same thing of obtaining, promptly not change the display structure of former info web.
In addition, said target text information of searching each node in the said document object model tree replaces with the user individual content with said target text information and also comprises before:
Step e 11 judges whether the website information in the web-page requests is complementary with the website information of replacing in the network address storehouse;
Step e 12 is if coupling is then carried out the said operation that target text information is replaced with the user individual content;
Step e 13 if do not match, does not then carry out target text information is replaced with the operation of user individual content.
In reality; The user possibly be chosen in explicit user individualized content in which website; The user can add the network address of these websites in the entering replacement network address storehouse so, for the URL of user's request, then network address among the URL and the network address in the replacement network address storehouse is mated so; If on the coupling, then carry out the said operation that target text information is replaced with the user individual content; If do not match, then do not carry out target text information is replaced with the operation of user individual content.
In addition, said user individual is revised mapping table and can be kept at the browser side;
The present invention can further comprise so:
Step F 11 according to ID, is uploaded to the high in the clouds server with the said user individual modification mapping table that is kept at the browser side and stores.
The time reality in, can there be a kind of account device in browser, the user is at browser login user ID, browser can carry out with the high in the clouds server alternately so.Can the said user individual modification mapping table that is kept at the browser side be uploaded to the high in the clouds server store according to ID so.
So, when the user logins with ID again, can server user individual be revised table synchronously to local from high in the clouds.
Be that said user individual modification mapping table can be kept at server side;
The present invention can further comprise so:
Step F 11 is logined said server according to ID, and the said user individual that is kept at server is revised mapping table synchronously to the browser side.
With reference to Fig. 3, it shows a kind of info web treating apparatus of the present invention, it is characterized in that, comprising:
Info web acquisition module 310 is used for sending web-page requests, the info web of download request to server;
Parsing module 320 is used to resolve the corresponding document object model tree of said info web;
Replacement module 330, the target text information that is used for searching said each node of document object model tree replaces with the user individual content with said target text information;
Rendering module 340 is used for the DOM Document Object Model after the replacement is played up, and exports in the corresponding web interface and show.
Preferably, comprise with reference to the said replacement module of Fig. 4:
Matching module 410 is used for revising mapping table according to user individual, and this user individual is revised the corresponding relation that mapping table comprises target text information and individualized content, matees with said target text information;
The first replacement module 420 is used for the matching user individualized content is replaced said target text information.
Preferably, with reference to Fig. 5, further comprise:
User configuration module 430 is used for the user and disposes said user individual modification mapping table, changes target text information and the corresponding relation of individualized content and/or target text information, individualized content wherein.
Preferably, said individualized content comprises: personalized Word message and/or personalized photo information.
Preferably, with reference to Fig. 6, said replacement module comprises:
Node traversal judge module 510 is used for beginning from the root node of said DOM Document Object Model, and each node of traversal DOM Document Object Model obtains the target text information in each node
Preferably, with reference to Fig. 7, said rendering module comprises:
Character types acquisition module 610 is used for obtaining said target text information in former document object model tree corresponding characters type
First plays up display module 620, after being used for converting said personalized Word message into said character types, plays up displaying.
Preferably, with reference to Fig. 8, said rendering module comprises:
Character size obtains mould 710, is used for obtaining the font size of said target text information in the corresponding display structure of former document object model tree;
Second rendering module 720 is used for the dimension of picture of the font size of said personalized Word message or personalized photo information is adjusted into the font size of said target text information.
Preferably, with reference to Fig. 9, also comprise before the said replacement module:
Network address is judged mould, 810, be used for judging whether the website information of web-page requests is complementary with the website information of replacing in the network address storehouse;
If mate 820, then carry out the said operation that target text information is replaced with the user individual content;
If do not match 830, then do not carry out target text information is replaced with the operation of user individual content.
Preferably, with reference to Figure 10, said user individual is revised mapping table and is kept at the browser side;
Then also comprise:
Last transmission module 910 is used for according to ID, the said user individual modification mapping table that is kept at the browser side is uploaded to the high in the clouds server stores.
Preferably, with reference to Figure 10, said user individual is revised mapping table and is kept at server side;
Then this further comprises:
Synchronization module 920 is used for logining said server according to ID, and the said user individual that is kept at server is revised mapping table synchronously to the browser side.
For aforesaid each method embodiment; For simple description; So it all is expressed as a series of combination of actions, but those skilled in the art should know that the embodiment of the invention does not receive the restriction of described sequence of movement; Because according to the embodiment of the invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the embodiment of the invention is necessary.
For device embodiment, because it is similar basically with method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
At last; Also need to prove; In this article; Relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint relation or the order that has any this reality between these entities or the operation.
Those skilled in the art should understand that embodiments of the invention can be provided as method, device or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
Method among the invention described above embodiment, device are applicable in diverse network or the client environment; For example can be implemented in the computer equipment such as PC device, perhaps can be implemented in such as in other portable electric appts such as mobile phone, mobile communication equipment, PDA(Personal Digital Assistant) or the non-portable electric appts.What therefore those skilled in the art will be clear and definite is; Protection scope of the present invention is not limited to PC and goes up the replacement function in the running browser, only is that replacement function that adopted PC to go up in the running browser is in embodiments of the present invention described from the succinct and convenient of description.
The present invention is that reference is described according to the process flow diagram and/or the block scheme of method, equipment (device) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the 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 through the processor of computing machine or other programmable data processing device produce to be used for the device of the function that is implemented 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 appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in 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 on computing machine or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computing machine or other programmable devices, carrying out is provided for being implemented in 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.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic inventive concept could of cicada, then can make other change and modification to these embodiment.So accompanying claims is intended to be interpreted as all changes and the modification that comprises preferred embodiment and fall into the scope of the invention.
More than to a kind of info web disposal route provided by the present invention and device; Carried out detailed introduction; Used concrete example among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (20)

1. an info web disposal route is characterized in that, comprising:
Send web-page requests, the info web of download request to server;
Resolve the corresponding document object model tree of said info web;
Search the target text information of each node in the said document object model tree, said target text information is replaced with the user individual content;
DOM Document Object Model after the replacement is played up, and exported in the corresponding web interface and show.
2. method according to claim 1 is characterized in that, the said step that target text information is replaced with the user individual content comprises:
Revise mapping table according to user individual, this user individual is revised the corresponding relation that mapping table comprises target text information and individualized content, matees with said target text information;
The matching user individualized content is replaced said target text information.
3. method according to claim 2 is characterized in that, further comprises:
The user disposes said user individual and revises mapping table, changes target text information and the corresponding relation of individualized content and/or target text information, individualized content wherein.
4. method according to claim 1 is characterized in that, said individualized content comprises: personalized Word message and/or personalized photo information.
5. according to the described method of arbitrary claim among the claim 1-3, it is characterized in that said step of searching the target text information of each node in the said document object model tree comprises:
Begin from the root node of said DOM Document Object Model, each node of traversal DOM Document Object Model obtains the target text information in each node.
6. method according to claim 1 is characterized in that, the step that the DOM Document Object Model after said will the replacement is played up comprises:
Obtain said target text information corresponding characters type in former document object model tree;
After converting said personalized Word message into said character types, play up displaying.
7. method according to claim 1 is characterized in that, the step that the DOM Document Object Model after said will the replacement is played up comprises:
Obtain said target text information font size in the corresponding display structure in former document object model tree;
The dimension of picture of the font size of said personalized Word message or personalized photo information is adjusted into the font size of said target text information.
8. method according to claim 1 is characterized in that, said target text information of searching each node in the said document object model tree replaces with the user individual content with said target text information and also comprises before:
Judge whether the website information in the web-page requests is complementary with the website information of replacing in the network address storehouse;
If coupling is then carried out the said operation that target text information is replaced with the user individual content;
If do not match, then do not carry out target text information is replaced with the operation of user individual content.
9. method according to claim 2 is characterized in that, said user individual is revised mapping table and is kept at the browser side;
Then this method further comprises:
According to ID, the said user individual modification mapping table that is kept at the browser side is uploaded to the high in the clouds server stores.
10. method according to claim 2 is characterized in that, said user individual is revised mapping table and is kept at server side;
Then this method further comprises:
Login said server according to ID, the said user individual that is kept at server is revised mapping table synchronously to the browser side.
11. an info web treating apparatus is characterized in that, comprising:
The info web acquisition module is used for sending web-page requests, the info web of download request to server;
Parsing module is used to resolve the corresponding document object model tree of said info web;
The replacement module, the target text information that is used for searching said each node of document object model tree replaces with the user individual content with said target text information;
Rendering module is used for the DOM Document Object Model after the replacement is played up, and exports in the corresponding web interface and show.
12. device according to claim 11 is characterized in that, said replacement module comprises:
Matching module is used for revising mapping table according to user individual, and this user individual is revised the corresponding relation that mapping table comprises target text information and individualized content, matees with said target text information;
The first replacement module is used for the matching user individualized content is replaced said target text information.
13. device according to claim 11 is characterized in that, further comprises:
User configuration module is used for the user and disposes said user individual modification mapping table, changes target text information and the corresponding relation of individualized content and/or target text information, individualized content wherein.
14., it is characterized in that said individualized content comprises according to the said device of claim 11: personalized Word message and/or personalized photo information.
15., it is characterized in that said replacement module comprises according to the described device of arbitrary claim in the claim 11 to 13:
Node traversal judge module is used for beginning from the root node of said DOM Document Object Model, and each node of traversal DOM Document Object Model obtains the target text information in each node
16. device according to claim 11 is characterized in that, said rendering module comprises:
The character types acquisition module is used for obtaining said target text information in former document object model tree corresponding characters type
First plays up display module, after being used for converting said personalized Word message into said character types, plays up displaying.
17. device according to claim 11 is characterized in that, said rendering module comprises:
The character size acquisition module is used for obtaining the font size of said target text information in the corresponding display structure of former document object model tree;
Second rendering module is used for the dimension of picture of the font size of said personalized Word message or personalized photo information is adjusted into the font size of said target text information.
18. device according to claim 11 is characterized in that, also comprises before the said replacement module:
The network address judge module is used for judging whether the website information of web-page requests is complementary with the website information of replacing in the network address storehouse;
If coupling is then carried out the said operation that target text information is replaced with the user individual content;
If do not match, then do not carry out target text information is replaced with the operation of user individual content.
19. device according to claim 12 is characterized in that, said user individual is revised mapping table and is kept at the browser side;
Then also comprise:
Last transmission module is used for according to ID, the said user individual modification mapping table that is kept at the browser side is uploaded to the high in the clouds server stores.
20. device according to claim 12 is characterized in that, said user individual is revised mapping table and is kept at server side;
Then further comprise:
Synchronization module is used for logining said server according to ID, and the said user individual that is kept at server is revised mapping table synchronously to the browser side.
CN201210222619.8A 2012-06-28 2012-06-28 A kind of Web information processing method and apparatus Active - Reinstated CN102789484B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210222619.8A CN102789484B (en) 2012-06-28 2012-06-28 A kind of Web information processing method and apparatus
CN201510432080.2A CN104978435B (en) 2012-06-28 2012-06-28 A kind of Web information processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210222619.8A CN102789484B (en) 2012-06-28 2012-06-28 A kind of Web information processing method and apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201510432080.2A Division CN104978435B (en) 2012-06-28 2012-06-28 A kind of Web information processing method and apparatus

Publications (2)

Publication Number Publication Date
CN102789484A true CN102789484A (en) 2012-11-21
CN102789484B CN102789484B (en) 2015-08-19

Family

ID=47154887

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510432080.2A Expired - Fee Related CN104978435B (en) 2012-06-28 2012-06-28 A kind of Web information processing method and apparatus
CN201210222619.8A Active - Reinstated CN102789484B (en) 2012-06-28 2012-06-28 A kind of Web information processing method and apparatus

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201510432080.2A Expired - Fee Related CN104978435B (en) 2012-06-28 2012-06-28 A kind of Web information processing method and apparatus

Country Status (1)

Country Link
CN (2) CN104978435B (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064943A (en) * 2012-12-25 2013-04-24 北京奇虎科技有限公司 Customer premises equipment
CN103150389A (en) * 2013-03-21 2013-06-12 北京奇虎科技有限公司 Method and device for processing matching setting of webpage text contents
CN103401908A (en) * 2013-07-23 2013-11-20 百度在线网络技术(北京)有限公司 Method for renaming downloaded file and cloud server
CN103605521A (en) * 2013-11-21 2014-02-26 广州爱九游信息技术有限公司 Method and device for realizing interface apposition
CN103886036A (en) * 2014-03-06 2014-06-25 百度在线网络技术(北京)有限公司 Method and device for presenting webpage
CN104021231A (en) * 2014-06-26 2014-09-03 北京奇虎科技有限公司 Method and device for displaying webpage in browser
CN104182419A (en) * 2013-05-27 2014-12-03 腾讯科技(深圳)有限公司 Method and device for processing character information in picture
CN105117469A (en) * 2015-08-28 2015-12-02 无锡天脉聚源传媒科技有限公司 Method and apparatus for personalized replacement of webpage theme
WO2016034089A1 (en) * 2014-09-03 2016-03-10 优视科技有限公司 Image rendering method and apparatus, mobile terminal and machine-readable storage medium
CN106708852A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Client long text display method and apparatus
CN106855856A (en) * 2015-12-08 2017-06-16 北京金山安全软件有限公司 Information display method and device and electronic equipment
CN107025247A (en) * 2016-02-02 2017-08-08 广州市动景计算机科技有限公司 Method, equipment, browser and the electronic equipment handled web data
CN107818108A (en) * 2016-09-13 2018-03-20 阿里巴巴集团控股有限公司 A kind of webpage rendering intent, apparatus and system
CN109769141A (en) * 2019-01-31 2019-05-17 北京字节跳动网络技术有限公司 A kind of video generation method, device, electronic equipment and storage medium
CN110334333A (en) * 2019-06-18 2019-10-15 中国平安财产保险股份有限公司 A kind of information amending method and relevant apparatus
CN110489087A (en) * 2019-07-31 2019-11-22 北京字节跳动网络技术有限公司 A kind of method, apparatus, medium and electronic equipment generating fractal structure
CN110807298A (en) * 2019-09-27 2020-02-18 北京思维造物信息科技股份有限公司 Method and system for processing marking information
CN111079057A (en) * 2019-12-05 2020-04-28 中国科学技术大学智慧城市研究院(芜湖) Data mapping and interoperation system and method based on WEB information
CN111143732A (en) * 2019-12-20 2020-05-12 贝壳技术有限公司 Webpage rendering method and device
CN111506841A (en) * 2019-01-30 2020-08-07 阿里巴巴集团控股有限公司 Webpage display method, device and equipment and readable storage medium
CN111782314A (en) * 2020-05-22 2020-10-16 北京达佳互联信息技术有限公司 Method and device for processing webpage form, electronic equipment and storage medium
CN111984891A (en) * 2020-08-07 2020-11-24 游艺星际(北京)科技有限公司 Page display method and device, electronic equipment and storage medium
CN112016014A (en) * 2020-08-18 2020-12-01 北京达佳互联信息技术有限公司 Webpage display method, webpage resource generation method, webpage display device, webpage resource generation device, electronic equipment and medium
CN112231015A (en) * 2020-10-15 2021-01-15 一汽—大众汽车有限公司 Browser-based operation guidance method, SDK plug-in and background management system
CN112558894A (en) * 2020-12-23 2021-03-26 广州鼎甲计算机科技有限公司 Canvas-based dynamic webpage printing method, system and storage medium
CN112685553A (en) * 2019-10-18 2021-04-20 小船出海教育科技(北京)有限公司 Method, device, equipment and medium for searching and replacing online document
CN112905869A (en) * 2021-03-26 2021-06-04 北京儒博科技有限公司 Adaptive training method and device for language model, storage medium and equipment
CN113051874A (en) * 2019-12-26 2021-06-29 阿里巴巴集团控股有限公司 User behavior data rendering method and device
WO2022057535A1 (en) * 2020-09-21 2022-03-24 京东方科技集团股份有限公司 Information display method and apparatus, and storage medium and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229717A (en) * 2017-05-31 2017-10-03 福建中金在线信息科技有限公司 A kind of information displaying method, device and electronic equipment
CN114329265A (en) * 2021-12-29 2022-04-12 中国人民解放军国防科技大学 Method for automatically collecting network resources

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748188A (en) * 1995-10-12 1998-05-05 Ncr Corporation Hypertext markup language (HTML) extensions for graphical reporting over an internet
CN1502080A (en) * 2001-04-12 2004-06-02 �Ҵ���˾ Active ALT tag in HTML documents to increase the accessibility to users with visual, audio impairment
CN101221572A (en) * 2008-01-25 2008-07-16 吴坤达 Web page data processing system
CN102402500A (en) * 2011-11-23 2012-04-04 上海居冠软件有限公司 Method and system for conversion of PDF (Portable Document Format) file into SWF (Shock Wave Flash) file

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748188A (en) * 1995-10-12 1998-05-05 Ncr Corporation Hypertext markup language (HTML) extensions for graphical reporting over an internet
CN1502080A (en) * 2001-04-12 2004-06-02 �Ҵ���˾ Active ALT tag in HTML documents to increase the accessibility to users with visual, audio impairment
CN101221572A (en) * 2008-01-25 2008-07-16 吴坤达 Web page data processing system
CN102402500A (en) * 2011-11-23 2012-04-04 上海居冠软件有限公司 Method and system for conversion of PDF (Portable Document Format) file into SWF (Shock Wave Flash) file

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064943B (en) * 2012-12-25 2016-11-23 北京奇虎科技有限公司 A kind of client device
CN103064943A (en) * 2012-12-25 2013-04-24 北京奇虎科技有限公司 Customer premises equipment
CN103150389A (en) * 2013-03-21 2013-06-12 北京奇虎科技有限公司 Method and device for processing matching setting of webpage text contents
CN103150389B (en) * 2013-03-21 2017-05-10 北京奇虎科技有限公司 Method and device for processing matching setting of webpage text contents
CN104182419A (en) * 2013-05-27 2014-12-03 腾讯科技(深圳)有限公司 Method and device for processing character information in picture
CN103401908A (en) * 2013-07-23 2013-11-20 百度在线网络技术(北京)有限公司 Method for renaming downloaded file and cloud server
CN103605521A (en) * 2013-11-21 2014-02-26 广州爱九游信息技术有限公司 Method and device for realizing interface apposition
CN103886036A (en) * 2014-03-06 2014-06-25 百度在线网络技术(北京)有限公司 Method and device for presenting webpage
CN104021231A (en) * 2014-06-26 2014-09-03 北京奇虎科技有限公司 Method and device for displaying webpage in browser
CN104021231B (en) * 2014-06-26 2017-07-28 北京奇虎科技有限公司 The method and apparatus that webpage is shown in browser
WO2016034089A1 (en) * 2014-09-03 2016-03-10 优视科技有限公司 Image rendering method and apparatus, mobile terminal and machine-readable storage medium
CN105117469A (en) * 2015-08-28 2015-12-02 无锡天脉聚源传媒科技有限公司 Method and apparatus for personalized replacement of webpage theme
CN106708852A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Client long text display method and apparatus
CN106855856A (en) * 2015-12-08 2017-06-16 北京金山安全软件有限公司 Information display method and device and electronic equipment
CN107025247A (en) * 2016-02-02 2017-08-08 广州市动景计算机科技有限公司 Method, equipment, browser and the electronic equipment handled web data
CN107818108A (en) * 2016-09-13 2018-03-20 阿里巴巴集团控股有限公司 A kind of webpage rendering intent, apparatus and system
CN111506841B (en) * 2019-01-30 2023-06-09 阿里巴巴集团控股有限公司 Webpage display method, device, equipment and readable storage medium
CN111506841A (en) * 2019-01-30 2020-08-07 阿里巴巴集团控股有限公司 Webpage display method, device and equipment and readable storage medium
CN109769141B (en) * 2019-01-31 2020-07-14 北京字节跳动网络技术有限公司 Video generation method and device, electronic equipment and storage medium
CN109769141A (en) * 2019-01-31 2019-05-17 北京字节跳动网络技术有限公司 A kind of video generation method, device, electronic equipment and storage medium
CN110334333A (en) * 2019-06-18 2019-10-15 中国平安财产保险股份有限公司 A kind of information amending method and relevant apparatus
CN110334333B (en) * 2019-06-18 2023-08-25 中国平安财产保险股份有限公司 Information modification method and related device
CN110489087A (en) * 2019-07-31 2019-11-22 北京字节跳动网络技术有限公司 A kind of method, apparatus, medium and electronic equipment generating fractal structure
CN110489087B (en) * 2019-07-31 2023-05-30 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for generating fractal structure
CN110807298A (en) * 2019-09-27 2020-02-18 北京思维造物信息科技股份有限公司 Method and system for processing marking information
CN110807298B (en) * 2019-09-27 2023-08-08 北京思维造物信息科技股份有限公司 Method and system for processing marking information
CN112685553A (en) * 2019-10-18 2021-04-20 小船出海教育科技(北京)有限公司 Method, device, equipment and medium for searching and replacing online document
CN111079057A (en) * 2019-12-05 2020-04-28 中国科学技术大学智慧城市研究院(芜湖) Data mapping and interoperation system and method based on WEB information
CN111143732A (en) * 2019-12-20 2020-05-12 贝壳技术有限公司 Webpage rendering method and device
CN113051874A (en) * 2019-12-26 2021-06-29 阿里巴巴集团控股有限公司 User behavior data rendering method and device
CN113051874B (en) * 2019-12-26 2023-12-26 阿里巴巴集团控股有限公司 User behavior data rendering method and device
CN111782314A (en) * 2020-05-22 2020-10-16 北京达佳互联信息技术有限公司 Method and device for processing webpage form, electronic equipment and storage medium
CN111984891A (en) * 2020-08-07 2020-11-24 游艺星际(北京)科技有限公司 Page display method and device, electronic equipment and storage medium
CN112016014A (en) * 2020-08-18 2020-12-01 北京达佳互联信息技术有限公司 Webpage display method, webpage resource generation method, webpage display device, webpage resource generation device, electronic equipment and medium
CN112016014B (en) * 2020-08-18 2023-12-26 北京达佳互联信息技术有限公司 Webpage display method, webpage resource generation device, electronic equipment and medium
WO2022057535A1 (en) * 2020-09-21 2022-03-24 京东方科技集团股份有限公司 Information display method and apparatus, and storage medium and electronic device
US11928419B2 (en) 2020-09-21 2024-03-12 Boe Technology Group Co., Ltd. Information display method and apparatus, and storage medium and electronic device
CN112231015A (en) * 2020-10-15 2021-01-15 一汽—大众汽车有限公司 Browser-based operation guidance method, SDK plug-in and background management system
CN112558894A (en) * 2020-12-23 2021-03-26 广州鼎甲计算机科技有限公司 Canvas-based dynamic webpage printing method, system and storage medium
CN112558894B (en) * 2020-12-23 2021-11-12 广州鼎甲计算机科技有限公司 Canvas-based dynamic webpage printing method, system and storage medium
CN112905869A (en) * 2021-03-26 2021-06-04 北京儒博科技有限公司 Adaptive training method and device for language model, storage medium and equipment

Also Published As

Publication number Publication date
CN104978435A (en) 2015-10-14
CN102789484B (en) 2015-08-19
CN104978435B (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN102789484B (en) A kind of Web information processing method and apparatus
JP6748071B2 (en) Web content generation method and system
Ostermaier et al. A real-time search engine for the web of things
EP3161678B1 (en) Deep links for native applications
CA2817554A1 (en) Mobile content management system
CN104714982A (en) Method and system for loading webpage
CN105956152A (en) Webpage loading method and device and electronic equipment
CN110442330A (en) List element conversion method, device, electronic equipment and storage medium
JP5309121B2 (en) Information processing method, program, information processing system
Arai et al. Module based content adaptation of composite e-learning content for delivering to mobile learners
CA2897480A1 (en) Systems and methods for semantic url handling
Maué et al. Injecting semantic annotations into (geospatial) web service descriptions
CN104980464B (en) A kind of network request processing method, network server and network system
Pastore Website development and web standards in the ubiquitous world: Where are we going
Van Woensel et al. A generic approach for on-the-fly adding of context-aware features to existing websites
Wilde Deconstructing blogs
Joshi HTML5 programming for ASP. NET developers
CN105740290A (en) System and method for searching self-adaptive networks of mobile devices
US11238220B1 (en) Dynamic user interface framework
Chaisatien et al. A Description-based Approach to Mashup of Web Applications, Web Services and Mobile Phone Applications
Osuo-Genseleke et al. A Comparative Study on Internet Generations
Soon et al. The public interface as an art-making enabler
Shaari et al. Achieving “One-Web” through customization and prioritization
CN101963987B (en) A kind of for generating web page files and loading the method and apparatus of web page files
Sonnenberg An Autonomous Framework for Mobile Web Content Adaptation and Prioritization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20121101

Owner name: BEIJING QIHU TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20121101

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100016 CHAOYANG, BEIJING TO: 100088 XICHENG, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20121101

Address after: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Applicant after: Qizhi software (Beijing) Co.,Ltd.

Address before: The 4 layer 100016 unit of Beijing city Chaoyang District Jiuxianqiao Road No. 14 Building C

Applicant before: Qizhi software (Beijing) Co.,Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150819

Termination date: 20190628

CF01 Termination of patent right due to non-payment of annual fee
RR01 Reinstatement of patent right

Former decision: termination of patent right due to unpaid annual fee

Former decision publication date: 20200623

RR01 Reinstatement of patent right
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220818

Address after: No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science and Technology Park, High-tech Zone, Binhai New District, Tianjin 300000

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.