CN107526757B - Page graphic file display method and device - Google Patents

Page graphic file display method and device Download PDF

Info

Publication number
CN107526757B
CN107526757B CN201610894425.0A CN201610894425A CN107526757B CN 107526757 B CN107526757 B CN 107526757B CN 201610894425 A CN201610894425 A CN 201610894425A CN 107526757 B CN107526757 B CN 107526757B
Authority
CN
China
Prior art keywords
page
information
user
webpage
output engine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610894425.0A
Other languages
Chinese (zh)
Other versions
CN107526757A (en
Inventor
周彬
祁杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610894425.0A priority Critical patent/CN107526757B/en
Publication of CN107526757A publication Critical patent/CN107526757A/en
Application granted granted Critical
Publication of CN107526757B publication Critical patent/CN107526757B/en
Active 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/951Indexing; Web crawling techniques
    • 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

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a device for displaying a page graphic file. Wherein, the method comprises the following steps: the page output engine acquires user information of a first user and webpage information of a target webpage, wherein the first user requests to access the target webpage; the page output engine sends user information and webpage information to the order search engine, wherein the order search engine generates order data according to the user information and the webpage information; the page output engine receives order data from the order search engine; and the page output engine outputs the page graphic file indicated by the order data to the browser, wherein the browser displays the page graphic file. The invention solves the technical problem that the webpage advertisement is shielded.

Description

Page graphic file display method and device
Technical Field
The invention relates to the field of internet, in particular to a method and a device for displaying a page graphic file.
Background
In recent years, the internet industry has intercepted portions of page graphics files that are presented on web pages, such as advertisement interception. The existing advertisement display method is shown in fig. 1:
firstly, a user initiates access to a page; when the page output engine receives an access request, rendering a page and loading a front-end JS (JavaScript) code; the front-end JS code initiates a request for an order index engine to acquire order data generated by an order search engine; and rendering the advertisement and loading the advertisement material by the front-end JS code according to the order data, and displaying the advertisement material to the user.
An advertisement shielding method based on the existing advertisement display method is shown in fig. 2:
since the CGI (Common Gateway Interface) provided by the order indexing engine is visible to the user, ad screening software can intercept specific domain name requests, such as the two key requests in fig. 2: the request order data and the request material initiated by the front-end JS code can be cut off by advertisement shielding software, so that the front-end JS code can not normally carry out order request and advertisement rendering, and the advertisement is shielded.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for displaying a page graphic file, which are used for at least solving the technical problem that a webpage advertisement is shielded.
According to an aspect of the embodiments of the present invention, there is provided a method for displaying a page graphic file, including: the method comprises the steps that a page output engine acquires user information of a first user and webpage information of a target webpage, wherein the first user requests to access the target webpage; the page output engine sends the user information and the webpage information to an order search engine, wherein the order search engine generates order data according to the user information and the webpage information; the page output engine receives the order data from the order search engine; and the page output engine outputs the page graphic file indicated by the order data to a browser, wherein the browser displays the page graphic file.
According to another aspect of the embodiments of the present invention, there is also provided a device for displaying a page graphic file, including: the system comprises an acquisition unit, a page output engine and a display unit, wherein the acquisition unit is used for acquiring user information of a first user and webpage information of a target webpage through the page output engine, and the first user requests to access the target webpage; the sending unit is used for sending the user information and the webpage information to an order search engine through the page output engine, wherein the order search engine generates order data according to the user information and the webpage information; a receiving unit, configured to receive, by the page output engine, the order data from the order search engine; and the output unit is used for outputting the page graphic file indicated by the order data to a browser through the page output engine, wherein the browser displays the page graphic file.
In the embodiment of the invention, the page output engine is adopted to acquire the user information and the webpage information, and the user information and the webpage information are directly sent to the order search engine, the order search engine generates order data according to the user information and the webpage information and returns the order data to the page output engine, and the interaction between the page output engine and the order search engine avoids the interception caused by the interaction between the front end JS and the order search engine, so that the aim of avoiding the interception and shielding of the user information and the webpage information is fulfilled, the technical effect of showing the webpage advertisement to the user is realized, and the technical problem of shielding the webpage advertisement is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an advertisement presentation method according to the prior art;
FIG. 2 is a schematic diagram of an alternative advertisement blocking method according to the prior art;
FIG. 3 is an architecture diagram of a hardware system according to an embodiment of the invention;
FIG. 4 is a flowchart of a method for displaying a page graphic file according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an alternative method for displaying a page graphic file according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a presentation device of a page graphic file according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method that may be performed by an embodiment of the apparatus of the present application, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
According to the embodiment of the invention, the display method of the page graphic file is provided.
Optionally, in this embodiment, the method for displaying the page graphic file may be applied to a hardware environment formed by the terminal 302 and the server 304 shown in fig. 3. As shown in fig. 3, the terminal 302 is connected to the server 304 via a network including, but not limited to: the terminal 302 may be a mobile phone terminal, or may be a PC terminal, a notebook terminal, or a tablet terminal.
The main operating principles of the hardware environment system shown in fig. 3 are:
the terminal 302 is taken as a mobile phone terminal for explanation.
According to the method for displaying the page graphic file, a first user sends a page access request to a server 304 through the browser, a page output engine in the server 304 acquires the access request, acquires user information and webpage information by analyzing the access request, sends the user information and the webpage information to an order search engine, the order search engine generates order data according to the user information and the webpage information, returns the order data to the page output engine, and the page output engine integrates the order data after receiving the order data, sends the order data to the browser and displays the order data to the user through the browser.
Fig. 4 is a flowchart of a method for displaying a page graphic file according to an embodiment of the present invention, and the following describes the method for displaying a page graphic file according to the embodiment of the present invention with reference to fig. 4 specifically, as shown in fig. 4, the method for displaying a page graphic file mainly includes the following steps:
in step S402, the page output engine obtains user information of the first user and web page information of the target web page, where the first user requests to access the target web page.
The first user sends an access request to the server through the browser to request for accessing a target page, the access request comprises user information of the first user and webpage information of the target webpage, the page output engine can obtain the user information of the first user and the webpage information of the target webpage according to the access request, and the user information and the webpage information can comprise data information such as historical access information, access preference of the first user and webpage content type of the target webpage.
Step S404, the page output engine sends the user information and the webpage information to the order search engine, wherein the order search engine generates order data according to the user information and the webpage information.
After acquiring the user information of the first user and the web page information of the target web page according to the access request of the first user, the page output engine sends the user information and the web page information to an order search engine, and the order search engine searches for related content according to the user information and the web page information and generates corresponding order data, for example: the order search engine searches advertisement content close to the browsing preference of the first user according to the user information and data information such as historical access information and access preference of the first user contained in the webpage information, simultaneously searches advertisement content associated with or adapted to the content according to the type of the webpage content of the target webpage contained in the user information and the webpage information, generates corresponding order data according to the searched advertisement content, and returns the order data to the page output engine, wherein the advertisement content can be an advertisement page, a video page or an advertisement jump link and the like.
In step S406, the page output engine receives order data from the order search engine.
In step S408, the page output engine outputs the page graphic file indicated by the order data to the browser, where the browser displays the page graphic file.
And after receiving the page graphic file indicated by the order data returned by the order search engine, the page output engine outputs the page graphic file indicated by the order data to the browser, and the browser displays the page graphic file indicated by the order data to the user when displaying the target webpage. The page graphic file can be advertisement pictures, advertisement words, advertisement videos and the like, and can also be a combination of the forms.
In the embodiment of the invention, the page output engine is adopted to acquire the user information and the webpage information, and the user information and the webpage information are directly sent to the order search engine, the order search engine generates order data according to the user information and the webpage information and returns the order data to the page output engine, and the interaction between the page output engine and the order search engine avoids the interception caused by the interaction between the front end JS and the order search engine, so that the aim of avoiding the interception and shielding of the user information and the webpage information is fulfilled, the technical effect of showing the webpage advertisement to the user is realized, and the technical problem of shielding the webpage advertisement is solved.
Optionally, the web page information includes a page list structure, and the outputting, by the page output engine, the page graphic file indicated by the order data to the browser includes: integrating the page graphic file indicated by the order data according to a page list structure by the page output engine, wherein the data structure of the page graphic file indicated by the integrated order data is consistent with the page list structure; and the page output engine outputs the page graphic file indicated by the integrated order data to the browser.
The webpage information acquired by the page output browser also comprises a page list structure, and the page list structure is a configuration structure of a target webpage when the target webpage is displayed in the browser. When the page output engine outputs the page graphic file indicated by the order data to the browser, the page graphic file indicated by the order data is integrated according to a page list structure contained in the webpage information to enable the data structure of the page graphic file indicated by the order data to be consistent with the page list structure, then the page graphic file indicated by the integrated order data is output to the browser, and after the browser receives the page graphic file indicated by the order data, the page graphic file indicated by the order data is displayed to a user.
The data structure of the page graphic file indicated by the integrated order data is consistent with the page list structure of the target webpage, the data structure of the advertisement displayed on the webpage is inconsistent with the page list structure, and the interception program intercepts the advertisement according to the characteristic that the data structure of the content displayed on the webpage is inconsistent with the page list structure, so that the page graphic file indicated by the order data can be prevented from being intercepted due to the inconsistency of the data structure of the page graphic file indicated by the order data and the page list structure by integrating the page graphic file indicated by the order data.
Generally, a page list structure included in the webpage information includes a title arrangement structure and a content arrangement structure, when the page output engine integrates a page graphic file indicated by the order data, the page list structure in the webpage information is obtained, then the page graphic file indicated by the order data is adjusted according to the title arrangement structure and the content arrangement structure in the page list structure, and the page graphic file indicated by the adjusted order data is arranged according to the title arrangement structure and the content arrangement structure. That is, the integrating, by the page output engine, the page graphic file indicated by the order data according to the page list structure includes: acquiring a page list structure of a browser, wherein the page list structure comprises a title and a content arrangement structure; and adjusting the data structure of the page graphic file indicated by the order data according to the arrangement structure, wherein the page graphic file indicated by the adjusted order data is arranged according to the arrangement structure.
For example: the page list structure is an arrangement form of titles and contents, wherein the titles and the contents are both in an arrangement form embedded in a webpage, and the titles and the contents cannot contain hyperlinks. When the page graphic file indicated by the order data is output to the browser, the page output engine adjusts the page graphic file indicated by the order data according to the page list structure, such as: and adjusting the content displayed by the floating window to be displayed by adopting an embedded webpage mode, and canceling the hyperlink in the page graphic file indicated by the order data to enable the hyperlink to be common text content and the like. The following steps are repeated: and if the page list structure adopts the arrangement form of the table, the page output engine adopts the arrangement form of the table to arrange the page graphic file indicated by the order data.
The arrangement structure of the titles and the arrangement structure of the content in the page list structure are the arrangement structure adopted when the target webpage is displayed on the browser, and the advertisement content may adopt a structure different from the arrangement structure of the target webpage.
However, in the embodiment, the page graphic files indicated by the order data are arranged according to the title arrangement structure and the content arrangement structure included in the page list structure by integrating the page graphic files indicated by the order data, so that the advertisement content is not easily distinguished by the shielding tool, and therefore, the situation that the arrangement structure of the page graphic files indicated by the order data is not consistent with the page list structure of the target webpage and is intercepted by the shielding tool is avoided, and the technical effect of displaying the advertisement content is achieved.
Optionally, the acquiring, by the page output engine, the user information of the first user and the web page information of the target web page includes: the page output engine receives a page access request sent by a first user, wherein the page access request is used for requesting to access a target webpage; and the page output engine analyzes the user information and the webpage information according to the page access request.
The user information may include information reflecting the user's identity and browsing preference, and the web page information may include information such as address information and advertisement display space of a target web page to be browsed by the user. The page output engine acquires the user information and the webpage information through the browser, and further sends the user information and the webpage information to the order search engine through interactive communication between the page output engine and the order search engine. The order search engine can generate corresponding order data according to the browsing preference of the user, the advertisement display position and other information and return the order data to the page output engine.
For example: the method comprises the steps that a first user likes to browse a webpage related to an automobile through user information, the webpage with a target webpage being an electronic webpage and information of an advertisement display position can be determined through the webpage information, an order search engine generates an automobile advertisement according to the browsing preference of the first user and the information of the advertisement display position, and the automobile advertisement is sent to a page output engine.
The automobile type advertisement returned to the page output engine by the order search engine can be characters, pictures and the like required by advertisement display, can also be link addresses of advertisement materials and advertisement contents, and the order search engine acquires the advertisement materials and the advertisement contents from the advertisement material server according to the link addresses for display.
Optionally, the user information includes an IP address of the first user, cookie information of the browser, and the web page information includes presentation location information, and after the page output engine sends the user information and the web page information to the order search engine, and before the page output engine receives the order data, the method further includes: the order search engine searches target data according to the IP address of the first user, the Cookies information of the browser and the display position information, wherein the target data has an incidence relation with the IP address of the first user, the Cookies information of the browser and the display position information search target data; the order search engine returns the target data to the page output engine.
When a first user browses a webpage, a page access request aiming at a target webpage is sent through a browser, wherein the request comprises user information of the first user and webpage information of the target webpage, and the user information of the first user comprises information such as an IP address of the first user and cookies of the browser. According to the IP address and the information such as cookies of the browser, the data information such as historical access information and access preference of the first user can be obtained. After receiving the user information and the webpage information, the order search engine searches the advertisement content close to the browsing preference of the first user according to the historical access information, the access preference and other data information of the first user. The web page information of the target web page includes a display position of the web page, and the order search engine searches for advertisement content associated with or suitable for the web page content and the display position, based on information such as the content type of the target web page and the web page display position included in the web page information, after receiving the user information and the web page information. The order search engine generates corresponding order data according to the searched advertisement content, and then returns the order data to the page output engine.
For example: after receiving the first user information and the webpage information, the order search engine analyzes that the first user frequently browses electronic product websites, electronic technology forums and the like according to the IP address of the first user and the cookie information of a browser used by the first user, the webpage content of a target webpage which is requested to be accessed by the user is related to a mobile phone, the order search engine searches the advertisement content related to the electronic products, the electronic technology and particularly the mobile phone, analyzes that the advertisement content can be displayed on the target webpage in a link address and picture mode according to the display position information, allows at most five link addresses to be displayed, allows the display picture format to be a JPG format, allows the resolution of the displayed picture to be not more than 40 x 50, filters out the advertisement content which meets the conditions, and generates order data according to the finally searched advertisement content, and returning to the page output engine.
The advertisement content finally searched by the order search engine may be a video file or an audio file, the advertisement content is more, the file is larger, the order search engine can obtain a link address of the advertisement content when the advertisement content is searched out, the link address is returned to the page output engine, the page output engine can access a related server according to the link address, obtain materials required by advertisement content display, output the materials to a browser and finally display the materials to the first user.
Fig. 5 is a schematic diagram of an alternative method for displaying a page graphic file according to an embodiment of the present invention, as shown in fig. 5:
1. the browser issues a page access request to the page output engine. When a first user browses a webpage, a page access request aiming at a target webpage is sent through a browser, and the request comprises user information of the first user and webpage information of the target webpage. After receiving the access request, the page output engine analyzes the access request to obtain the user information and the webpage information.
2. And the page output engine sends the acquired user information of the first user and the webpage information of the target webpage to an order search engine. The user information includes information such as an IP address of the first user and cookies of the browser, and the web page information includes information such as content and a display position of the web page.
3. The order search engine returns order information to the page output engine. After receiving the user information and the webpage information, the order search engine can acquire data information such as historical access information and access preference of the first user according to the IP address and cookies of the browser, and searches advertisement content close to the browsing preference of the first user; and searching advertisement content associated or adapted to the webpage content and the display position according to the content type, the webpage display position and other information of the target webpage contained in the webpage information. And the order search engine generates corresponding order data according to the searched advertisement content and returns the order data to the page output engine.
4. The page output engine issues a content request to the material server. The advertisement content finally searched by the order search engine may be a video file or an audio file, the advertisement content is more, the file is larger, the order search engine can obtain a link address of the advertisement content when the advertisement content is searched out, the link address is returned to the page output engine, and the page output engine accesses a related material server according to the link address to request for obtaining content materials and advertisement materials required by advertisement content display.
5. The page output engine outputs the advertisement material and the advertisement content to the browser. And the page output engine sends the advertisement material and the content material indicated by the order data to the browser, or acquires corresponding advertisement content, advertisement material and content material according to the link in the order data, outputs the advertisement content to the browser, and finally displays the advertisement content to the user through the browser.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to an embodiment of the present invention, there is also provided a display apparatus for a graphics file, the display apparatus for a graphics file being used to implement the display method for a graphics file, the display apparatus for a graphics file being mainly used to perform the display method for a graphics file provided in the foregoing content of the embodiment of the present invention, and the display apparatus for a graphics file provided in the embodiment of the present invention is specifically described as follows:
fig. 6 is a schematic diagram of a display apparatus for a surface graphic file according to an embodiment of the present invention, and as shown in fig. 6, the display apparatus for a surface graphic file mainly includes:
an obtaining unit 601, configured to obtain, by a page output engine, user information of a first user and web page information of a target web page, where the first user requests to access the target web page;
the first user sends an access request to the server through the browser to request for accessing the target page, where the access request includes user information of the first user and web page information of the target web page, the obtaining unit 601 may obtain the user information of the first user and the web page information of the target web page according to the access request through the page output engine, and the user information and the web page information may include data information such as historical access information, access preference, and web page content type of the target web page of the first user.
The sending unit 602 is configured to send the user information and the web page information to an order search engine through a page output engine, where the order search engine generates order data according to the user information and the web page information.
After the obtaining unit 601 obtains the user information of the first user and the web page information of the target web page according to the access request of the first user, the sending unit 602 sends the user information and the web page information to an order search engine through a page output engine, and the order search engine searches for relevant content according to the user information and the web page information and generates corresponding order data, for example: the order search engine searches advertisement content close to the browsing preference of the first user according to the user information and data information such as historical access information and access preference of the first user contained in the webpage information, simultaneously searches advertisement content associated with or adapted to the content according to the type of the webpage content of the target webpage contained in the user information and the webpage information, generates corresponding order data according to the searched advertisement content, and returns the order data to the page output engine, wherein the advertisement content can be an advertisement page, a video page or an advertisement jump link and the like.
A receiving unit 603, configured to receive order data from the order search engine through the page output engine.
An output unit 604, configured to output, through the page output engine, the page graphic file indicated by the order data to a browser, where the browser displays the page graphic file.
After the receiving unit 603 receives the page graphic file indicated by the order data returned by the order search engine through the page output engine, the output unit 604 outputs the page graphic file indicated by the order data to the browser through the page output engine, and the browser displays the page graphic file indicated by the order data to the user when displaying the target webpage. The page graphic file can be advertisement pictures, advertisement words, advertisement videos and the like, and can also be a combination of the forms.
In the embodiment of the invention, the page output engine is adopted to acquire the user information and the webpage information, and the user information and the webpage information are directly sent to the order search engine, the order search engine generates order data according to the user information and the webpage information and returns the order data to the page output engine, and the interaction between the page output engine and the order search engine avoids the interception caused by the interaction between the front end JS and the order search engine, so that the aim of avoiding the interception and shielding of the user information and the webpage information is fulfilled, the technical effect of showing the webpage advertisement to the user is realized, and the technical problem of shielding the webpage advertisement is solved.
Alternatively, the web page information includes a page list structure, and the output unit 604 includes: the integration module is used for integrating the page graphic file indicated by the order data according to the page list structure through the page output engine, wherein the data structure of the page graphic file indicated by the integrated order data is consistent with the page list structure; and the output module is used for outputting the page graphic file indicated by the integrated order data to the browser through a page output engine.
The web page information acquired by the acquiring unit 601 through the page output browser further includes a page list structure, where the page list structure is an arrangement structure of the target web page when the target web page is displayed in the browser. When the output unit 604 outputs the page graphic file indicated by the order data to the browser through the page output engine, the page graphic file indicated by the order data is integrated according to a page list structure included in the web page information, so that the data structure of the page graphic file indicated by the order data is consistent with the page list structure, the integrated page graphic file indicated by the order data is output to the browser, and the page graphic file indicated by the order data is displayed to the user after the browser receives the page graphic file indicated by the order data.
The data structure of the page graphic file indicated by the integrated order data is consistent with the page list structure of the target webpage, the data structure of the advertisement displayed on the webpage is inconsistent with the page list structure, and the interception program intercepts the advertisement according to the characteristic that the data structure of the content displayed on the webpage is inconsistent with the page list structure, so that the page graphic file indicated by the order data can be prevented from being intercepted due to the inconsistency of the data structure of the page graphic file indicated by the order data and the page list structure by integrating the page graphic file indicated by the order data.
Generally, a page list structure included in the webpage information includes a title arrangement structure and a content arrangement structure, when the integration module integrates a page graphic file indicated by the order data through a page output engine, the page list structure in the webpage information is obtained, then the page graphic file indicated by the order data is adjusted according to the title arrangement structure and the content arrangement structure in the page list structure, and the page graphic file indicated by the adjusted order data is arranged according to the title arrangement structure and the content arrangement structure. Namely, the integration module includes: the acquisition submodule is used for acquiring a page list structure of the browser, wherein the page list structure comprises a title and a content arrangement structure; and the adjusting submodule is used for adjusting the data structure of the page graphic file indicated by the order data according to the arrangement structure, wherein the page graphic file indicated by the adjusted order data is arranged according to the arrangement structure.
For example: the page list structure is an arrangement form of titles and contents, wherein the titles and the contents are both in an arrangement form embedded in a webpage, and the titles and the contents cannot contain hyperlinks. When the page graphic file indicated by the order data is output to the browser, the page output engine adjusts the page graphic file indicated by the order data according to the page list structure, such as: and adjusting the content displayed by the floating window to be displayed by adopting an embedded webpage mode, and canceling the hyperlink in the page graphic file indicated by the order data to enable the hyperlink to be common text content and the like. The following steps are repeated: and if the page list structure adopts the arrangement form of the table, the page output engine adopts the arrangement form of the table to arrange the page graphic file indicated by the order data.
The arrangement structure of the titles and the arrangement structure of the content in the page list structure are the arrangement structure adopted when the target webpage is displayed on the browser, and the advertisement content may adopt a structure different from the arrangement structure of the target webpage.
However, in the embodiment, the page graphic files indicated by the order data are arranged according to the title arrangement structure and the content arrangement structure included in the page list structure by integrating the page graphic files indicated by the order data, so that the advertisement content is not easily distinguished by the shielding tool, and therefore, the situation that the arrangement structure of the page graphic files indicated by the order data is not consistent with the page list structure of the target webpage and is intercepted by the shielding tool is avoided, and the technical effect of displaying the advertisement content is achieved.
Alternatively, the acquisition unit 601 includes: the receiving module is used for receiving a page access request sent by a first user through a page output engine, wherein the page access request is used for requesting to access a target webpage; and the analysis module is used for analyzing the user information and the webpage information according to the page access request through the page output engine.
The user information may include information reflecting the user's identity and browsing preference, and the web page information may include information such as address information and advertisement display space of a target web page to be browsed by the user. The page output engine acquires the user information and the webpage information through the browser, and further sends the user information and the webpage information to the order search engine through interactive communication between the page output engine and the order search engine. The order search engine can generate corresponding order data according to the browsing preference of the user, the advertisement display position and other information and return the order data to the page output engine.
For example: the method comprises the steps that a first user likes to browse a webpage related to an automobile through user information, the webpage with a target webpage being an electronic webpage and information of an advertisement display position can be determined through the webpage information, an order search engine generates an automobile advertisement according to the browsing preference of the first user and the information of the advertisement display position, and the automobile advertisement is sent to a page output engine.
The automobile type advertisement returned to the page output engine by the order search engine can be characters, pictures and the like required by advertisement display, can also be link addresses of advertisement materials and advertisement contents, and the order search engine acquires the advertisement materials and the advertisement contents from the advertisement material server according to the link addresses for display.
Optionally, the user information includes an IP address of the first user, cookie information of the browser, and the web page information includes display location information, and the apparatus further includes: the search unit is used for searching target data according to the IP address of the first user, the Cookies information of the browser and the display position information through the order search engine after the page output engine sends the user information and the webpage information to the order search engine and before the page output engine receives the order data, wherein the target data has an incidence relation with the IP address of the first user, the Cookies information of the browser and the display position information search target data; and the returning unit is used for returning the target data to the page output engine through the order search engine.
When a first user browses a webpage, a page access request aiming at a target webpage is sent through a browser, wherein the request comprises user information of the first user and webpage information of the target webpage, and the user information of the first user comprises information such as an IP address of the first user and cookies of the browser. According to the IP address and the information such as cookies of the browser, the data information such as historical access information and access preference of the first user can be obtained. After receiving the user information and the webpage information, the order search engine searches the advertisement content close to the browsing preference of the first user according to the historical access information, the access preference and other data information of the first user. The web page information of the target web page includes a display position of the web page, and the order search engine searches for advertisement content associated with or suitable for the web page content and the display position, based on information such as the content type of the target web page and the web page display position included in the web page information, after receiving the user information and the web page information. The order search engine generates corresponding order data according to the searched advertisement content, and then returns the order data to the page output engine.
Example 3
According to an embodiment of the present invention, there is also provided a server for implementing the method for displaying a page graphic file, as shown in fig. 7, the server mainly includes a processor 701, a data interface 702, a memory 703 and a network interface 704, where:
the data interface 702 transmits data acquired by the third-party tool to the processor 701 mainly by means of data transmission.
The memory 703 is mainly used for storing user information, web page information, a page graphic file indicated by order data, and the like.
The network interface 704 is primarily used for network communication with the server, sending a page access request issued by the first user via the browser to the server, and receiving the page graphic file and associated advertising content material indicated by the order data.
The processor 701 is mainly configured to perform the following operations:
acquiring user information of a first user and webpage information of a target webpage through a page output engine, wherein the first user requests to access the target webpage; the method comprises the steps that user information and webpage information are sent to an order search engine through a page output engine, wherein the order search engine generates order data according to the user information and the webpage information; receiving order data from an order search engine through a page output engine; and outputting the page graphic file indicated by the order data to a browser through a page output engine, wherein the browser displays the page graphic file.
The processor 701 is further configured to integrate, by the page output engine, the page graphic file indicated by the order data according to the page list structure, where a data structure of the page graphic file indicated by the integrated order data is consistent with the page list structure; and outputting the page graphic file indicated by the integrated order data to the browser through a page output engine.
The processor 701 is further configured to obtain a page list structure of the browser, where the page list structure includes an arrangement structure of titles and contents; and adjusting the data structure of the page graphic file indicated by the order data according to the arrangement structure, wherein the page graphic file indicated by the adjusted order data is arranged according to the arrangement structure.
The processor 701 is further configured to receive, through the page output engine, a page access request sent by the first user, where the page access request is used to request to access the target web page; and analyzing the user information and the webpage information according to the page access request through a page output engine.
The processor 701 is further configured to search for target data according to the IP address of the first user, the cookies information of the browser, and the display position information by using an order search engine, where the target data has an association relationship with the IP address of the first user, the cookies information of the browser, and the display position information search target data; and returning the target data to the page output engine through the order search engine.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
Example 4
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium may be configured to store a program code of the method for displaying a page graphics file according to the embodiment of the present invention.
Optionally, in this embodiment, the storage medium may be located in at least one of a plurality of network devices in a network of a mobile communication network, a wide area network, a metropolitan area network, or a local area network.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s1, acquiring user information of a first user and webpage information of a target webpage, wherein the first user requests to access the target webpage;
s2, sending user information and webpage information to an order search engine, wherein the order search engine generates order data according to the user information and the webpage information;
s3, receiving order data from the order search engine;
and S4, outputting the page graphic file indicated by the order data to the browser, wherein the browser displays the page graphic file.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Optionally, in this embodiment, the processor executes, according to a program code stored in the storage medium, integration of the page graphic file indicated by the order data according to a page list structure, where a data structure of the page graphic file indicated by the integrated order data is consistent with the page list structure; and outputting the page graphic file indicated by the integrated order data to a browser.
Optionally, in this embodiment, the processor executes, according to program codes stored in the storage medium, to acquire a page list structure of the browser, where the page list structure includes an arrangement structure of titles and contents; and adjusting the data structure of the page graphic file indicated by the order data according to the arrangement structure, wherein the page graphic file indicated by the adjusted order data is arranged according to the arrangement structure.
Optionally, in this embodiment, the processor executes, according to program codes stored in the storage medium, receiving a page access request sent by a first user, where the page access request is used to request to access a target web page; and analyzing the user information and the webpage information according to the page access request.
Optionally, searching target data according to the IP address of the first user, the cookies information of the browser and the display position information, wherein the target data has an association relationship with the IP address of the first user, the cookies information of the browser and the display position information; and returning the target data to the page output engine.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for displaying a page graphic file is characterized by comprising the following steps:
the method comprises the steps that a page output engine acquires user information of a first user and webpage information of a target webpage, wherein the first user requests to access the target webpage;
the page output engine sends the user information and the webpage information to an order search engine, wherein the order search engine generates order data according to the user information and the webpage information;
the page output engine receives the order data from the order search engine;
the page output engine outputs a page graphic file indicated by the order data to a browser, wherein the browser displays the page graphic file;
the webpage information comprises a page list structure, and the page output engine outputs the page graphic file indicated by the order data to the browser, wherein the page output engine comprises: the page output engine integrates the page graphic file indicated by the order data according to the page list structure, wherein the data structure of the page graphic file indicated by the integrated order data is consistent with the page list structure; and the page output engine outputs the page graphic file indicated by the integrated order data to the browser.
2. The method of claim 1, wherein the page output engine consolidating the order data according to the page list structure comprises:
acquiring the page list structure of the browser, wherein the page list structure comprises a title and a content arrangement structure;
and adjusting the data structure of the page graphic file indicated by the order data according to the arrangement structure, wherein the page graphic file indicated by the adjusted order data is arranged according to the arrangement structure.
3. The method of claim 1, wherein the page output engine obtaining user information of the first user and web page information of the target web page comprises:
the page output engine receives a page access request sent by the first user, wherein the page access request is used for requesting to access the target webpage;
and the page output engine analyzes the user information and the webpage information according to the page access request.
4. The method of claim 3, wherein the user information comprises an IP address of the first user, cookie information of the browser, and the web page information comprises presentation location information, and wherein after the page output engine sends the user information and the web page information to an order search engine and before the page output engine receives the order data, the method further comprises:
the order search engine searches target data according to the IP address of the first user, the Cookies information of the browser and the display position information, wherein the target data has an incidence relation with the IP address of the first user, the Cookies information of the browser and the display position information search target data;
and the order search engine returns the target data to the page output engine.
5. A device for displaying a graphic page file, comprising:
the system comprises an acquisition unit, a page output engine and a display unit, wherein the acquisition unit is used for acquiring user information of a first user and webpage information of a target webpage through the page output engine, and the first user requests to access the target webpage;
the sending unit is used for sending the user information and the webpage information to an order search engine through the page output engine, wherein the order search engine generates order data according to the user information and the webpage information;
a receiving unit, configured to receive, by the page output engine, the order data from the order search engine;
the output unit is used for outputting the page graphic file indicated by the order data to a browser through the page output engine, wherein the browser displays the page graphic file;
wherein the web page information includes a page list structure, and the output unit includes: the integration module is used for integrating the page graphic file indicated by the order data according to the page list structure through the page output engine, wherein the data structure of the page graphic file indicated by the integrated order data is consistent with the page list structure; and the output module is used for outputting the page graphic file indicated by the integrated order data to the browser through the page output engine.
6. The apparatus of claim 5, wherein the integration module comprises:
the obtaining sub-module is used for obtaining the page list structure of the browser, wherein the page list structure comprises a title and a content arrangement structure;
and the adjusting submodule is used for adjusting the data structure of the order data according to the arrangement structure, wherein the adjusted order data are arranged according to the arrangement structure.
7. The apparatus of claim 5, wherein the obtaining unit comprises:
a receiving module, configured to receive, by the page output engine, a page access request sent by the first user, where the page access request is used to request to access the target web page;
and the analysis module is used for analyzing the user information and the webpage information according to the page access request through the page output engine.
8. The apparatus of claim 7, wherein the user information comprises an IP address of the first user, cookies information of the browser, and the web page information comprises presentation location information, the apparatus further comprising:
the searching unit is used for searching target data according to the IP address of the first user, the cookies information of the browser and the display position information through the order searching engine after the page output engine sends the user information and the webpage information to the order searching engine and before the page output engine receives the order data, wherein the target data have an incidence relation with the IP address of the first user, the cookies information of the browser and the display position information searching target data;
and the returning unit is used for returning the target data to the page output engine through the order search engine.
9. A server comprising a memory and a processor, wherein the memory has stored therein a computer program and the processor is arranged to execute the method of any of claims 1 to 4 by means of the computer program.
10. A storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 4.
CN201610894425.0A 2016-10-13 2016-10-13 Page graphic file display method and device Active CN107526757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610894425.0A CN107526757B (en) 2016-10-13 2016-10-13 Page graphic file display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610894425.0A CN107526757B (en) 2016-10-13 2016-10-13 Page graphic file display method and device

Publications (2)

Publication Number Publication Date
CN107526757A CN107526757A (en) 2017-12-29
CN107526757B true CN107526757B (en) 2020-04-07

Family

ID=60748504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610894425.0A Active CN107526757B (en) 2016-10-13 2016-10-13 Page graphic file display method and device

Country Status (1)

Country Link
CN (1) CN107526757B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101023419A (en) * 2004-05-14 2007-08-22 模比莱普斯有限公司 Method of providing a web page with inserted content
CN102027472A (en) * 2008-05-21 2011-04-20 国际商业机器公司 Method and system to selectively secure the display of advertisements on web browsers
CN104699789A (en) * 2015-03-16 2015-06-10 北京盛世光明软件股份有限公司 Method and system for embedding webpage
CN105808587A (en) * 2014-12-31 2016-07-27 中国电信股份有限公司 Method and system for embedding information into webpage and gateway device
CN105930512A (en) * 2016-05-12 2016-09-07 北京盛世光明软件股份有限公司 Advertisement insertion method, apparatus and system, server and client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101023419A (en) * 2004-05-14 2007-08-22 模比莱普斯有限公司 Method of providing a web page with inserted content
CN102027472A (en) * 2008-05-21 2011-04-20 国际商业机器公司 Method and system to selectively secure the display of advertisements on web browsers
CN105808587A (en) * 2014-12-31 2016-07-27 中国电信股份有限公司 Method and system for embedding information into webpage and gateway device
CN104699789A (en) * 2015-03-16 2015-06-10 北京盛世光明软件股份有限公司 Method and system for embedding webpage
CN105930512A (en) * 2016-05-12 2016-09-07 北京盛世光明软件股份有限公司 Advertisement insertion method, apparatus and system, server and client

Also Published As

Publication number Publication date
CN107526757A (en) 2017-12-29

Similar Documents

Publication Publication Date Title
EP2433258B1 (en) Protected serving of electronic content
US20190347287A1 (en) Method for screening and injection of media content based on user preferences
US10110966B2 (en) Method, device, server and client device for video processing
US20120054166A1 (en) System for displaying search engine results with images
US20060265417A1 (en) Enhanced graphical interfaces for displaying visual data
CN104426925A (en) Webpage resource obtaining method and apparatus
CN107025059B (en) Thumbnail viewing method and device
US20160063074A1 (en) Transition from first search results environment to second search results environment
CN105956136B (en) Method and device for acquiring login information
CN106254325A (en) The display packing of website authentication information and browser
US11755662B1 (en) Creating entries in at least one of a personal cache and a personal index
US9465814B2 (en) Annotating search results with images
CN111898050B (en) Method and system for automatically loading next news
CN106547769A (en) A kind of DOI display packings and device
CN104809120A (en) Information processing method and device
CN108062352B (en) Webpage page caching processing method, mobile terminal equipment and medium product
CN103455547B (en) A kind of method and device for webpage loading
US11477158B2 (en) Method and apparatus for advertisement anti-blocking
CN105450460B (en) Network operation recording method and system
CN104182229A (en) Callback display method and device and callback method and device
US9398105B2 (en) Method for providing a third party service associated with a network-accessible site using a single scripting approach
CN103685518A (en) Method, client side and system for providing image-text pages for mobile terminal
US10104196B2 (en) Method of and server for transmitting a personalized message to a user electronic device
KR20160069402A (en) Method for providing user reaction web page
US20080297521A1 (en) System and method for providing skins for a web page

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
GR01 Patent grant
GR01 Patent grant