CN108280109A - Page data filter method, device and user terminal - Google Patents

Page data filter method, device and user terminal Download PDF

Info

Publication number
CN108280109A
CN108280109A CN201710247936.8A CN201710247936A CN108280109A CN 108280109 A CN108280109 A CN 108280109A CN 201710247936 A CN201710247936 A CN 201710247936A CN 108280109 A CN108280109 A CN 108280109A
Authority
CN
China
Prior art keywords
page
resource
node
node identification
page resource
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
CN201710247936.8A
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201710247936.8A priority Critical patent/CN108280109A/en
Publication of CN108280109A publication Critical patent/CN108280109A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • 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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

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

Abstract

The embodiment of the present application provides a kind of page data filter method, device and user terminal.Wherein, method includes:Page resource is obtained, and first page is generated according to the page resource;The page resource is obtained again, and second page is generated according to the page resource;Compare all node identification informations of the first page and all node identification informations of the second page;In the first page, the corresponding node of node identification information for being only present in the first page and not appearing in the second page is removed.The embodiment of the present invention filters out in the page twice by generating the page twice to same page resource, the node corresponding to primary node identification information only occurred, realize the filtering of the data generated at random to node identification information.

Description

Page data filter method, device and user terminal
Technical field
This application involves field of computer technology, in particular to a kind of page data filter method, device and user Terminal.
Background technology
With the development of Internet technology, demand of the user to web page browsing is increasing, and page ad is often user It is unwilling to see when browsing webpage.How the problem of terminal-pair page ad carries out, is industry general concern.
Now common advertisement filter method is filtered based on certain advertisement filter rule, this advertisement filter Rule is matched to the node ID or nodal community of page info corresponding node, and specified node ID or section are filtered out after matching The node of point attribute, to achieve the purpose that filtering advertisements, such as specifically can match page by regular expression or XPath Node on face.
However as the development of technology, more and more advertisement putting persons are shielded in order to avoid advertisement, are launching advertisement When, by the way that shell script is arranged come the random node ID for generating node corresponding to advertisement, avoid advertisement by existing wide to realize Accuse filtering technique filtering.
Apply for content
In view of this, the embodiment of the present application provides a kind of page data filter method, device and user terminal, it can be right Node ID is that the data (such as advertising information) generated at random are filtered.
To achieve the above object, the embodiment of the present application provides a kind of page data filter method, the method includes:It obtains Page resource is taken, and first page is generated according to the page resource;The page resource is obtained again, and according to the page Face resource generates second page;Compare all node identification informations of the first page and all nodes of the second page Identification information;In the first page, the section for being only present in the first page and not appearing in the second page is removed The corresponding node of point identification information.
The embodiment of the present application also provides a kind of page data filter device, described device includes:First page generates mould Block generates first page for obtaining page resource, and according to the page resource;Second page generation module, for again The page resource is obtained, and second page is generated according to the page resource;Node identification comparison module, described in comparing All node identification informations of first page and all node identification informations of the second page;Node filtering module, is used for In the first page, the node identification information for being only present in the first page and not appearing in the second page is removed Corresponding node.
The embodiment of the present application also provides a kind of user terminal, the user terminal includes memory and processor, described Memory is couple to the processor, and the memory store instruction makes described when executed by the processor Processor executes following operation:Page resource is obtained, and first page is generated according to the page resource;The page is obtained again Face resource, and second page is generated according to the page resource;Compare all node identification informations and the institute of the first page State all node identification informations of second page;In the first page, removal is only present in the first page and does not go out The corresponding node of node identification information of the present second page.
Page data filter method provided by the embodiments of the present application, device and user terminal have the beneficial effect that:
Page data filter method, device and user terminal provided by the embodiments of the present application by obtaining page money twice Source, and first page and second page are generated according to the page resource got respectively.Then by the node mark of first page The node identification information for knowing information and second page is compared;According to comparison result, in first page, removal only occurs The corresponding node of node identification information of second page is not appeared in first page, due to the node mark of the node of advertisement Know what information (such as node ID) was randomly generated, therefore the page twice, obtained advertising information are generated to same page resource Node identification information be different, filter out the different node of node identification information and just realize node ID is randomly generated The effect that is filtered of advertisement.
Description of the drawings
Illustrate the technical solutions in the embodiments of the present application or in the prior art in order to clearer, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the application environment schematic diagram of the embodiment of the present application;
Fig. 2 shows the structure diagrams of user terminal provided by the embodiments of the present application;
Fig. 3 shows a kind of flow chart for page data filter method that the application first embodiment provides;
Fig. 4 shows a kind of flow chart for page data filter method that the application second embodiment provides;
Fig. 5 shows specific interactive schematic diagram corresponding with Fig. 4;
Fig. 6 shows the schematic diagram of a specific example of node identification information;
Fig. 7 shows the structure diagram for the page data filter device that the application 3rd embodiment provides;
Fig. 8 shows a kind of structure diagram of specific implementation mode of first page generation module in Fig. 7;
Fig. 9 shows the structure diagram of second page generation module corresponding with Fig. 8;
Figure 10 shows the structure diagram of another specific implementation mode of first page generation module in Fig. 7;
Figure 11 shows the structure diagram of second page generation module corresponding with Figure 10.
Specific implementation mode
The following each embodiments of the application can be applied in environment as shown in Figure 1.As shown in Figure 1, server 10 passes through Network 30 is communicatively coupled with one or more user terminals 20, with into row data communication or interaction.In the embodiment of the present application In, client is installed in user terminal 20, which can be application program, corresponding with server 10, to be use Family provides service (such as network address input by user being received, to user's displayed web page content etc.).The server 10 can be several Can also be a service according to multiple servers such as library server, instant communication server, network server, authentication server Device.The user terminal 20 can be PC (personal computer, PC), tablet computer, smart mobile phone, electronics Book reader, pocket computer on knee, vehicle-mounted computer, intelligent wearable device etc..The network 30 can be wireless network or Cable network, such as wireless network may be, but not limited to, Wi-Fi (Wireless Fidelity) network, 2G/3G/4G networks etc..
Fig. 2 shows a kind of structure diagrams for the user terminal 20 that can be applied in the embodiment of the present application.As shown in Fig. 2, The user terminal 20 includes memory 202, storage control 204, one or more (one is only shown in figure) processors 206, Peripheral Interface 208, radio-frequency module 210, audio-frequency module 212, Touch Screen 214 etc..These components pass through one or more Communication bus/signal wire 216 mutually communicates.
Memory 202 can be used for storing software program and module, such as the page data filtering side in the embodiment of the present application Method and the corresponding program instruction/module of device, processor 206 by operation be stored in software program in memory 202 and Module, to perform various functions application and data processing, such as page data filter method provided by the embodiments of the present application.
Memory 202 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.Processor 206 and other possible components are to storage The access of device 202 can carry out under the control of storage control 204.
Peripheral Interface 208 couples various input/output devices to processor 206 and memory 202.In some implementations In example, Peripheral Interface 208, processor 206 and storage control 204 can be realized in one single chip.In some other reality In example, they can be realized by independent chip respectively.
Radio-frequency module 210 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with Communication network or other equipment are communicated.
Audio-frequency module 212 provides a user audio interface, may include that one or more microphones, one or more raises Sound device and voicefrequency circuit.
Touch Screen 214 provides an output and input interface simultaneously between user terminal 20 and user.Specifically, it touches It controls screen 214 and shows that video output, the content of these videos output may include word, figure, video and its arbitrary group to user It closes.
It is appreciated that structure shown in Fig. 2 is only to illustrate, user terminal 20 may also include it is more than shown in Fig. 2 or Less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 may be used hardware, software or its Combination is realized.
First embodiment
Fig. 3 shows a kind of flow chart for page data filter method that first embodiment of the invention provides, and please refers to figure 3, the present embodiment describes the process flow of user terminal, the method includes:
Step S110 obtains page resource, and generates first page according to the page resource.
In the embodiment of the present invention, obtaining page resource can specifically be carried out by the client positioned at user terminal, the page Resource includes in the contents such as word, picture, video needed for generation Webpage, and the above-mentioned word of generation, picture, video etc. Hold program to be executed code.Page resource can specifically be obtained from server.
Client generates first page according to the page resource of acquisition, and first page can be in client end interface to user The Webpage of displaying, i.e. user can obtain content information by first page.
Step S120 obtains the page resource, and generates second page according to the page resource again.
When client obtains page resource again, specifically can again it be regained from server, it can also be by step The page resource that S110 is obtained is cached, and when in order to obtain again, directly acquires the page resource being cached, client It is limitation of the present invention that end specifically obtains page resource and should not be construed from where.
Client generates second page according to the page resource obtained again, and the generating process of second page can be on backstage It carries out, you can not have to show to user.It is appreciated that the generating mode of first page and second page can be interchanged, I.e. the generation of first page can carry out on backstage, and second page is the Webpage shown to user in client end interface.
Step S130, all node identification informations of the first page and all node marks of the second page Know information;
The content information of Webpage has section corresponding with content information respectively such as text information, pictorial information Point, each node all have respective node identification information, and node identification information can be node ID, or other can area Not in the attribute of other nodes, such as PLASS attributes.
Developer is deleted in order to avoid advertising information, when being generated often through the node corresponding to advertising information, production Raw random node identification information.If carrying out the load of page resource twice, the webpage page generated twice to same page resource In face, often the node identification information of only node corresponding to advertising information is different.By taking node identification information is node ID as an example, Details refer to Fig. 6, are the corresponding node ID of partial content information of first page on the left of Fig. 6, are second page on the right side of Fig. 6 Node ID corresponding with the content information of first page same position.As can be seen that being arrived with the eighth row on the right side of Fig. 6 on the left of Fig. 6 The node ID of 12nd row is different, therefore the corresponding content information of node that can be determined that eighth row to the 12nd row is advertising information.
Therefore, client can be by all node identification informations of first page and all node identifications of second page Information is compared, to obtain the different node of two page interior joint identification informations.
Step S140, in the first page, removal is only present in the first page and does not appear in described second The corresponding node of node identification information of the page.
Client in first page, believe by the node identification that removal is only present in first page and does not appear in second page Corresponding node is ceased, to achieve the purpose that delete content information corresponding with above-mentioned node.
Client removes the node identification letter for being only present in first page and not appearing in second page in first page Corresponding node is ceased, since first page has been showed in the interface of client, advertising information may also can be with first The appearance of the page and briefly occur a period of time, until the corresponding section of primary node identification information will only occur in client When point removal, advertising information can just disappear therewith.Since the execution time of program is shorter, therefore the time one that advertising information occurs As will not be discovered by user.
It is of course also possible to first load second page on backstage, then first page is loaded at the interface of client.Load the While one page, compare all node identification informations of first page and all node identification informations of second page, then Deletion is only present in the corresponding node of node identification information that first page does not appear in second page.Net is loaded according to the process The page page, can accomplish the appearance for avoiding advertising information.
Second embodiment
Fig. 4 shows a kind of flow chart for page data filter method that second embodiment of the invention provides, and please refers to figure 4, the present embodiment describes the process flow of user terminal, the method includes:
Step S210 obtains page resource from server.
In the present embodiment, obtaining page resource can specifically obtain from server.Specifically, user end to server Request page resource, server then can back page resource to client.
Step S220 generates first page according to the page resource.
After client receives the page resource of server return, first page is generated.At the same time, client is also being held Row following steps, i.e.,
Step S230 stores the page resource to caching resource area.
Caching resource area can be that one of client is used for data cached memory, be obtained for caching from server Page resource be acquired again with waiting for.
Step S240 obtains the page resource again from the caching resource area.
Client can obtain page resource again from caching resource area, to avoid obtaining page money again from server Source can shorten the time of loading page resource again.
Step S250 generates second page according to the page resource.
Client generates second page according to the page resource obtained from caching resource area on backstage, to obtain again The node identification information of same page resource.
Specifically, client may include webpage view component, i.e. webview components, and webview components are for showing The component of the content of Webpage or displaying application program can specifically be used for loading above-mentioned first page.
Webview components can be provided with hiding framework, such as iframe labels.Client can in hiding framework, Load second page.Since hiding framework can be hidden, the loading procedure of second page can carry out on backstage.
Client is except through webpage view component and is set to the hiding framework of webpage view component and loads respectively Outside one page and second page, can also first page and second page be loaded respectively in other way.
For example, client can specifically include the first webpage view component and the second webpage view component, pass through first Webpage view component loads first page, and second page is loaded by the second webpage view component.Wherein, pass through the second webpage The process that view component loads second page can carry out on backstage.
Client can also load same page resource twice by way of refreshing again, and client loads the same page It is limitation of the present invention that the concrete mode of resource, which should not be construed,.
Step S260, all node identification informations of the first page and all node marks of the second page Know information.
Step S270, in the first page, removal is only present in the first page and does not appear in described second The corresponding node of node identification information of the page.
Step S260 and step S270 with shown in Fig. 3 step S130 and step S140 it is identical, just do not do herein superfluous It states.
Specific to refer to Fig. 5, Fig. 5 shows that a kind of specific interactive schematic diagram corresponding with Fig. 4, user can be at user's ends The client input uniform resource locator (Uniform Resource Locator, be abbreviated as URL) at end, i.e. webpage network address. Client according to the URL received to requesting page server face resource, server then can back page resource to client.
After client receives the page resource of server return, first page is generated.At the same time, client is also being held It is about to the step of page resource is stored to caching resource area.Caching resource area can be one of client for caching number According to memory, be acquired again for caching the page resource obtained from server with waiting for.
Client can obtain page resource again from caching resource area, to avoid obtaining page money again from server Source can shorten the time of loading page resource again.
Client generates second page according to the page resource obtained from caching resource area on backstage, to obtain again The node identification information of same page resource.
After backstage generates second page, compare the node ID of first page and the node ID of second page;Then In one page, removal is only present in the corresponding node of node ID that first page does not appear in second page.
Page data filter method provided in an embodiment of the present invention to same page resource by generating the page twice, filtering Fall in the page twice, the node corresponding to primary node identification information only occurred, realizes random to node identification information The filtering of the advertisement of generation.
3rd embodiment
The embodiment of the present invention additionally provides a kind of page data filter device, and details refer to Fig. 7, which includes:
First page generation module 310 generates first page for obtaining page resource, and according to the page resource.
In the embodiment of the present invention, obtaining page resource can specifically be carried out by the client positioned at user terminal, the page Resource includes in the contents such as word, picture, video needed for generation Webpage, and the above-mentioned word of generation, picture, video etc. Hold program to be executed code.Page resource can specifically be obtained from server.
Client generates first page according to the page resource of acquisition, and first page can be in client end interface to user The Webpage of displaying, i.e. user can obtain content information by first page.
Second page generation module 320 generates for obtaining the page resource again, and according to the page resource Two pages.
When client obtains page resource again, specifically can again it be regained from server, it can also be by step The page resource that S110 is obtained is cached, and when in order to obtain again, directly acquires the page resource being cached, client It is limitation of the present invention that end specifically obtains page resource and should not be construed from where.
Client generates second page according to the page resource obtained again, and the generating process of second page can be on backstage It carries out, you can not have to show to user.It is appreciated that the generating mode of first page and second page can be interchanged, I.e. the generation of first page can carry out on backstage, and second page is the Webpage shown to user in client end interface.
Node identification comparison module 330 is used for all node identification informations and described second of the first page All node identification informations of the page.
The content information of Webpage has section corresponding with content information respectively such as text information, pictorial information Point, each node all have respective node identification information, and node identification information can be node ID, or other can area Not in the attribute of other nodes, such as PLASS attributes.
Client can be by all node identification informations of first page and all node identification informations of second page It is compared, to obtain the different node of two page interior joint identification informations.
Node filtering module 340, in the first page, removal to be only present in the first page and do not occur In the corresponding node of the node identification information of the second page.
Client in first page, believe by the node identification that removal is only present in first page and does not appear in second page Corresponding node is ceased, to achieve the purpose that delete content information corresponding with above-mentioned node.
Developer is deleted in order to avoid advertising information, when being generated often through the node corresponding to advertising information, production Raw random node identification information.Therefore, if carrying out the load of page resource twice, the net generated twice to same page resource In the page page, often the node identification information of only node corresponding to advertising information is different, therefore, in loading procedure twice, Only there is the corresponding node of primary node identification information in removal, just can achieve the purpose that filtering advertisements information.
Fig. 8 shows that a kind of structure diagram of specific implementation mode of first page generation module 310, Fig. 9 show Structure diagram corresponding to two page generation module 320 and Fig. 8.For details referring to Fig. 8, first page generation module may include One page source obtaining module 311, for obtaining page resource from server.
Webpage view load-on module 312, for loading first page according to the page resource by webpage view component Face;The webpage view component is provided with hiding framework.
Client may include webpage view component, i.e. webview components, and webview components are for displayed web page page The component of the content of face or displaying application program can specifically be used for loading above-mentioned first page.
Webview components can be provided with hiding framework, such as iframe labels.Client can in hiding framework, Load second page.Since hiding framework can be hidden, the loading procedure of second page can carry out on backstage.
For details referring to Fig. 9, second page generation module may include caching resource module 321, for providing the page Source is stored to caching resource area.
Second page source obtaining module 322, for obtaining the page resource again from the caching resource area.
Hiding framework load-on module 323, for loading second page according to the page resource by the hiding framework Face.
The mode for the loading page resource that Fig. 8 and Fig. 9 are shown jointly be it is mentioned above by webpage view component with And it is set to the hiding framework of webpage view component and loads first page and second page respectively.
Figure 10 shows that the structure diagram of another specific implementation mode of first page generation module 310, Figure 11 are shown Structure diagram corresponding to second page generation module 320 and Figure 10.Details are referring to Figure 10, first page generation module 310 May include first page source obtaining module 311, for obtaining page resource from server.
First webpage view module 313, for by the first webpage view component come according to page resource load the One page.
Details refer to Figure 11, and second page generation module 320 may include caching resource module 321, and being used for will be described Page resource is stored to caching resource area.
Second page source obtaining module 322, for obtaining the page resource again from the caching resource area.
Second webpage view module 324, for by the second webpage view component come according to page resource load the Two pages.
Client can specifically include the first webpage view component and the second webpage view component, be regarded by the first webpage Figure component loads first page, and second page is loaded by the second webpage view component.Wherein, pass through the second webpage view component Loading the process of second page can carry out on backstage.
Client can also load same page resource twice by way of refreshing again, and client loads the same page It is limitation of the present invention that the concrete mode of resource, which should not be construed,.
Page data filter method, device and user terminal provided by the embodiments of the present application by obtaining page money twice Source, and first page and second page are generated according to the page resource got respectively.Then by the node mark of first page The node identification information for knowing information and second page is compared;According to comparison result, in first page, removal only occurs The corresponding node of node identification information of second page is not appeared in first page, due to the node identification of the node of advertisement Information (such as node ID) is randomly generated, therefore generates the page twice to same page resource, obtained advertising information Node identification information is different.It is random to filter out the different node of node identification information and just realize to node identification information The effect that the advertisement of generation is filtered.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so fairly simple, the related place ginseng of description See the part explanation of embodiment of the method.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram Show the device of multiple embodiments according to the application, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each function module in each embodiment of the application can integrate to form an independent portion Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of step. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.It needs Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that the process, method, article or equipment including a series of elements includes not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, article or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described There is also other identical elements in the process, method, article or equipment of element.
The foregoing is merely the preferred embodiments of the application, are not intended to limit this application, for the skill of this field For art personnel, the application can have various modifications and variations.Within the spirit and principles of this application, any made by repair Change, equivalent replacement, improvement etc., should be included within the protection domain of the application.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.
The above, the only specific implementation mode of the application, but the protection domain of the application is not limited thereto, it is any Those familiar with the art can easily think of the change or the replacement in the technical scope that the application discloses, and should all contain It covers within the protection domain of the application.Therefore, the protection domain of the application shall be subject to the protection scope of the claim.

Claims (12)

1. a kind of page data filter method, which is characterized in that the method includes:
Page resource is obtained, and first page is generated according to the page resource;
The page resource is obtained again, and second page is generated according to the page resource;
Compare all node identification informations of the first page and all node identification informations of the second page;
In the first page, the node identification for being only present in the first page and not appearing in the second page is removed The corresponding node of information.
2. according to the method described in claim 1, it is characterized in that, the acquisition page resource is provided with the page is obtained again The step of source, including:
Page resource is obtained from server;
The page resource is stored to caching resource area;
The page resource is obtained again from the caching resource area.
3. according to the method described in claim 1, it is characterized in that, the acquisition page resource and obtaining the page again The step of resource, obtains page resource from server.
4. according to the method described in claim 1, it is characterized in that, it is described according to the page resource generate first page and The step of second page being generated according to the page resource, including:
First page is loaded according to the page resource by webpage view component;The webpage view component is provided with hiding Frame;
Second page is loaded according to the page resource by the hiding framework.
5. according to the method described in claim 1, it is characterized in that, it is described according to the page resource generate first page and The step of second page being generated according to the page resource, including:
First page is loaded according to the page resource by the first webpage view component;
Second page is loaded according to the page resource by the second webpage view component.
6. according to the method described in claim 1, it is characterized in that, the node identification information is node ID information.
7. a kind of page data filter device, is set to user terminal, which is characterized in that described device includes:
First page generation module generates first page for obtaining page resource, and according to the page resource;
Second page generation module generates second page for obtaining the page resource again, and according to the page resource;
Node identification comparison module, the institute of all node identification informations and the second page for the first page There is node identification information;
Node filtering module, in the first page, removal to be only present in the first page and do not appear in described The corresponding node of node identification information of second page.
8. device according to claim 7, which is characterized in that described device further includes:
First page source obtaining module, for obtaining page resource from server;
Caching resource module, for storing the page resource to caching resource area;
Second page source obtaining module, for obtaining the page resource again from the caching resource area.
9. device according to claim 7, which is characterized in that described device further includes:
Webpage view load-on module, for loading first page according to the page resource by webpage view component;It is described Webpage view component is provided with hiding framework;
Hiding framework load-on module, for loading second page according to the page resource by the hiding framework.
10. device according to claim 7, which is characterized in that described device further includes:
First webpage view module loads first page by the first webpage view component according to the page resource;
Second webpage view module loads second page by the second webpage view component according to the page resource.
11. device according to claim 7, which is characterized in that the node identification information is node ID information.
12. a kind of user terminal, which is characterized in that the user terminal includes memory and processor, the memory coupling To the processor, the memory store instruction makes the processor execute when executed by the processor It operates below:
Page resource is obtained, and first page is generated according to the page resource;
The page resource is obtained again, and second page is generated according to the page resource;
Compare all node identification informations of the first page and all node identification informations of the second page;
In the first page, the node identification for being only present in the first page and not appearing in the second page is removed The corresponding node of information.
CN201710247936.8A 2017-04-17 2017-04-17 Page data filter method, device and user terminal Pending CN108280109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710247936.8A CN108280109A (en) 2017-04-17 2017-04-17 Page data filter method, device and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710247936.8A CN108280109A (en) 2017-04-17 2017-04-17 Page data filter method, device and user terminal

Publications (1)

Publication Number Publication Date
CN108280109A true CN108280109A (en) 2018-07-13

Family

ID=62801223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710247936.8A Pending CN108280109A (en) 2017-04-17 2017-04-17 Page data filter method, device and user terminal

Country Status (1)

Country Link
CN (1) CN108280109A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897533A (en) * 2020-07-31 2020-11-06 平安普惠企业管理有限公司 Page output method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102486799A (en) * 2010-12-03 2012-06-06 腾讯科技(深圳)有限公司 World wide web (WWW) page processing method and device
CN104216929A (en) * 2013-07-11 2014-12-17 腾讯科技(深圳)有限公司 Method and device for intercepting page elements
CN104239369A (en) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for filtering out webpage advertisements
CN105512126A (en) * 2014-09-24 2016-04-20 腾讯科技(深圳)有限公司 Methods and devices for filtering and hiding webpage advertisement, and methods and devices for issuing filtering and hiding rules of webpage advertisement
CN105912578A (en) * 2016-03-31 2016-08-31 北京奇虎科技有限公司 Method and device for automatically filtering webpage content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102486799A (en) * 2010-12-03 2012-06-06 腾讯科技(深圳)有限公司 World wide web (WWW) page processing method and device
CN104239369A (en) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for filtering out webpage advertisements
CN104216929A (en) * 2013-07-11 2014-12-17 腾讯科技(深圳)有限公司 Method and device for intercepting page elements
CN105512126A (en) * 2014-09-24 2016-04-20 腾讯科技(深圳)有限公司 Methods and devices for filtering and hiding webpage advertisement, and methods and devices for issuing filtering and hiding rules of webpage advertisement
CN105912578A (en) * 2016-03-31 2016-08-31 北京奇虎科技有限公司 Method and device for automatically filtering webpage content

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897533A (en) * 2020-07-31 2020-11-06 平安普惠企业管理有限公司 Page output method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107295095A (en) The method and apparatus for pushing and showing advertisement
CN108280119A (en) Page generation method, device and user terminal
CN105528408A (en) Page display method and apparatus
CN105657558B (en) A kind of information providing method, methods of exhibiting, device and smart television
CN108259942B (en) Method, device and system for acquiring preview advertisement
CN105786207B (en) Data inputting method and device
CN107426328A (en) Information-pushing method and device
CN109254801A (en) Starting, configuration method, device, equipment, medium and operating system
CN107332905A (en) Information-pushing method, device and server
CN107479873A (en) A kind of APP page modules melt forwarding method, electronic equipment and storage medium
CN108804433A (en) Information-pushing method and device
CN108196902B (en) Method and apparatus for displaying open screen advertisements
CN108334516A (en) Information-pushing method and device
CN107092634A (en) The implementation method and device of page preview
US20170199912A1 (en) Behavior topic grids
CN108600780A (en) Method for pushed information
CN103686361A (en) Smart television and method and system for acquiring shared content of smart television
US20150100868A1 (en) System and method for simulating dynamic content by automatically updating a static image with applicability to a virtual business card
CN111142989B (en) Object management method, device and storage medium
CN108280109A (en) Page data filter method, device and user terminal
CN104572981A (en) Web page caching method and mobile terminal device
CN107241638A (en) The method for configuring navigation bar
CN111767492A (en) Picture loading method and device, computer equipment and storage medium
KR20150025518A (en) Apparatus and method for managing banner advertisement
CN108848158B (en) Method, device and server for recommending mobile phone game to mobile terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20200526

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio square 14 storey tower

Applicant before: Guangzhou Dongjing Computer Technology Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20180713

RJ01 Rejection of invention patent application after publication